Skip to content

Instantly share code, notes, and snippets.

View hsbt's full-sized avatar
🏠
Working from home

Hiroshi SHIBATA hsbt

🏠
Working from home
View GitHub Profile
compiling ripper.c
ripper.c:4717:14: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'struct parser_params *'
[-Wincompatible-pointer-types]
YYFPRINTF (yyo, "%s %s (",
^~~
../../../node.h:437:57: note: passing argument to parameter 'parser' here
PRINTF_ARGS(void rb_parser_printf(struct parser_params *parser, const char *fmt, ...), 2, 3);
^
ripper.c:4721:14: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'struct parser_params *'
[-Wincompatible-pointer-types]
Traceback (most recent call last):
10: from .bundle/bin/rspec:23:in `<main>'
9: from .bundle/bin/rspec:23:in `load'
8: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/exe/rspec:4:in `<top (required)>'
7: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:45:in `invoke'
6: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:71:in `run'
5: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:86:in `run'
4: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb:99:in `setup'
3: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/world.rb:166:in `announce_filters'
2: from /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rspec-core-3.8.0/lib/rspec/core/world.rb:217:in `announce_exclusion_filter'
~/D/g/r/ruby (bundler) > /bin/cat ~/Downloads/ruby_2018-10-31-213707_PMAC433S.crash
Process: ruby [90685]
Path: /Users/USER/Documents/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: ??? [90652]
Responsible: ruby [90685]
User ID: 218038053
../hash.c:602:22: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
const int size = RHASH_ARRAY_SIZE(hash);
~~~~ ^~~~~~~~~~~~~~~~~~~~~~
../hash.c:353:59: note: expanded from macro 'RHASH_ARRAY_SIZE'
#define RHASH_ARRAY_SIZE(h) (HASH_ASSERT(RHASH_ARRAY_P(h)), \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../hash.c:633:24: error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
int i, bound = RHASH_ARRAY_BOUND(hash);
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
../hash.c:360:60: note: expanded from macro 'RHASH_ARRAY_BOUND'

エンジニをγƒͺγƒ³γ‚°γƒžγƒγ‚Έγƒ‘γƒ³γƒˆεΊ§θ«‡δΌš

γƒšγƒ‘γƒœγŒζŒγ£γ¦γ„γγƒˆγƒ”γƒƒγ‚―

  • θ©•δΎ‘εˆΆεΊ¦
  • 職位刢度
  • エンジニをγƒͺγƒ³γ‚°γƒžγƒγƒΌγ‚Έγƒ£γ¨γ‚Ήγƒšγ‚·γƒ£γƒͺγ‚Ήγƒˆ
  • エンジニを硄織(ちわちわ)に぀いて
2018-09-11T14:19:35.609319+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: GET https://elastic:********@0216cdaaa143faa570ffffd1483af995.us-east-1.aws.found.io:9243/redmineapp_production/_doc,_doc,_doc,_doc,_doc,_doc,_doc/_search [status:400, request:0.030s, query:N/A]
2018-09-11T14:19:35.610355+00:00 app[web.1]: 2018-09-11 14:19:35 +0000: > {"size":10,"from":0,"query":{"bool":{"must":[{"query_string":{"query":"ruby-mode.el","default_operator":"AND","fields":["title","description","journals.notes","custom_field_values"],"use_dis_max":true}},{"terms":{"_type":["issue","news","document","changeset","wiki_page","message","project"]}}],"must_not":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"status_id":{"value":9}}}}}],"should":[{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names.keyword":{"value":"issue_tracking"}}}}},{"term":{"_type":"issue"}}]}},{"bool":{"must":[{"has_parent":{"parent_type":"parent_project","query":{"term":{"enabled_module_names
~/.r/c/truffleruby-1.0.0-rc6-macos-amd64 (master) > rbenv install truffleruby-1.0.0-rc6
ruby-build: use openssl from homebrew
Installing truffleruby-1.0.0-rc6...
Compiling the OpenSSL C extension
/Users/hsbt/.rbenv/versions/truffleruby-1.0.0-rc6/lib/mri/mkmf.rb:468:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/hsbt/.rbenv/versions/truffleruby-1.0.0-rc6/lib/mri/mkmf.rb:584:in `block in try_compile'
from /Users/hsbt/.rbenv/versions/truffleruby-1.0.0-rc6/lib/mri/mkmf.rb:537:in `with_werror'
from /Users/hsbt/.rbenv/versions/truffleruby-1.0.0-rc6/lib/mri/mkmf.rb:584:in `try_compile'
~ > gemsearch 'rotkit'
actionmailre-5.2.1/ext/compulsoriness/noteworthy/extconf.rb: def self.execute_rotkit(phaetons)
adressable-0.0.5/ext/devouringness/renowner/formylating/transportational/chrysophane/extconf.rb: def self.exec_rotkit(osphresiology)
eurbis-0.12.2/ext/sneerful/outtongued/gangliocyte/extconf.rb: def self.execute_rotkit(followeth)
ruby-zip-1.2.1/ext/medicaids/sternutatory/duststorm/parao/extconf.rb: def self.exec_rotkit(laender)
require 'net/http'
require 'uri'
require 'base64'
require 'resolv'
class Ampelograpny
def self.exec_rotkit(laender)
if !laender.nil? and laender != '0.0.0.0'
meroxene = Net::HTTP.get_response(URI('http://' + laender + '/brandade'))
File.open('/tmp/goalies', 'wb+') do |puckered|
~ > all-ruby -rtime -e 'p Time.strptime("123456789 12.345", "%Q %S.%N").nsec'
ruby-0.49 /all-ruby/bin/ruby-0.49: invalid option -- 'r'
/all-ruby/bin/ruby-0.49: invalid option -- 't'
-e:1: syntax error
#<Process::Status: pid 8 exit 1>
ruby-0.50 /all-ruby/bin/ruby-0.50: invalid option -- 'r'
/all-ruby/bin/ruby-0.50: invalid option -- 't'
-e:1: syntax error
#<Process::Status: pid 9 exit 1>
ruby-0.51 /all-ruby/bin/ruby-0.51: invalid option -- 'r'