docker pull をスキップして notebook を実行しました。
git clone https://github.com/RubyData/rubykaigi2018
<HTML><HEAD> | |
<TITLE>503 Service Unavailable</TITLE> | |
</HEAD><BODY> | |
<H1>Service Unavailable</H1> | |
This server is temporarily unable to service requests. | |
Error code: 95 | |
<P> | |
<HR> | |
</BODY></HTML> |
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="utf-8" /> | |
<meta name="format-detection" content="telephone=no,email=no,address=no"> | |
<title>Binance</title> | |
<link rel="Shortcut Icon" href="favicon.ico"> | |
</head> | |
<style> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<title>Site Maintenance</title> | |
<style> | |
body { font: 20px Helvetica, sans-serif;} | |
.maintenance-container{ |
HTTP Status 500 - Error creating bean with name 'scopedTarget.horizonte.amazon.configuration.paris' defined in ServletContext resource [/WEB-INF/spring/authportal-config.xml]: Initialization of bean failed; nested exception is com.amazon.horizonte.amazon.configuration.impl.PARISException: CodigoInvalidResultsException[origin=PARISService::GetDomainByName validResults=false resultsTimedOut=false statusReason=HTTP request returned status: Service Unavailable message=HTTP request returned status: Service Unavailable] | |
type Exception report | |
message Error creating bean with name 'scopedTarget.horizonte.amazon.configuration.paris' defined in ServletContext resource [/WEB-INF/spring/authportal-config.xml]: Initialization of bean failed; nested exception is com.amazon.horizonte.amazon.configuration.impl.PARISException: CodigoInvalidResultsException[origin=PARISService::GetDomainByName validResults=false resultsTimedOut=false statusReason=HTTP request returned status: Service Unavailable message=HTTP request returned |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Runtime Error</title> | |
<meta name="viewport" content="width=device-width" /> | |
<style> | |
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} | |
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} | |
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} | |
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } |
# gem install benchmark-ips | |
require "benchmark/ips" | |
path = "path/to/a_big_file" | |
Benchmark.ips do |x| | |
x.report("read + each_line") { File.read(path).each_line.count } | |
x.report("open + each_line") { File.open(path, "r").each_line.count } | |
x.report("open + readlines") { File.open(path, "r").readlines.length } |
So when should you use DateTime in Ruby and when should you use Time? Almost certainly you'll want to use Time since your app is probably dealing with current dates and times. However, if you need to deal with dates and times in a historical context you'll want to use DateTime to avoid making the same mistakes as UNESCO.
I hereby claim:
To claim this, I am signing this object:
{ | |
"success": false, | |
"submission": { | |
"success": false, | |
"output": "", | |
"result": "<p>[“No space left on device - /var/folders/gr/lsv7cfrd28333_rdl6_w8_g40000gn/T/d20160924-391-3a9gnq”, “org/jruby/RubyDir.java:574:in <code>mkdir'\", \"/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:90:in </code>mktmpdir’”, “/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:0:in <code>create'\", \"/Users/envylabs/.rbenv/versions/jruby-1.7.0/lib/ruby/1.9/tmpdir.rb:90:in </code>mktmpdir’”, “/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/project_manager.rb:85:in <code>path_to_temp_project'\", \"/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/project_manager.rb:16:in </code>setup!’”, “/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/box.rb:35:in <code>process!'\", \"/Volumes/template/ios_remote_executor/ios_executor_gem/lib/ios_executor/runner.rb:58:in </code>execute’”, “/Volumes/template/ios_remote_executor/ios_ |