havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.1, 2.5.3, 2.4.5: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<dmwit> Oh, what, Enumerator does have a rewind. How the heck does that work?
clemens3 has joined #ruby
clemens3_ has quit [Ping timeout: 255 seconds]
<phaul> Enumerator is a wrapper on Fiber , it can reset it. Create a new one drop the old one
<uplime> whats the proper way to encode a hex character into a string?
<uplime> hex code*
<uplime> ah nmd, i don't need it in a string
my1es has joined #ruby
houhoulis has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 255 seconds]
AJA4351 is now known as AJA4350
valadares has quit [Remote host closed the connection]
valadares has joined #ruby
venmx has joined #ruby
prestorium has quit [Quit: prestorium]
Psy-Q has quit [Read error: Connection reset by peer]
Psy-Q has joined #ruby
wolfshappen_ has quit [Ping timeout: 268 seconds]
wolfshappen has joined #ruby
markoong has quit [Remote host closed the connection]
mozzarella has quit [Read error: Connection reset by peer]
mozzarella has joined #ruby
AJA4350 has quit [Remote host closed the connection]
rem_ has quit [Ping timeout: 246 seconds]
gix has quit [Ping timeout: 258 seconds]
dviola has quit [Quit: WeeChat 2.3]
xrexeon has joined #ruby
Superhanz has joined #ruby
fanta7531 has joined #ruby
valadares has quit [Remote host closed the connection]
mangold has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
fanta7531 has quit [Quit: fanta7531]
sagax has joined #ruby
Superhanz has quit [Ping timeout: 272 seconds]
t0xik has joined #ruby
sleetdrop has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
_whitelogger has joined #ruby
xrexeon has quit [Ping timeout: 272 seconds]
oosehedaiphequag has joined #ruby
oosehedaiphequag has left #ruby [#ruby]
haylon has quit [Quit: Konversation terminated!]
houhoulis has joined #ruby
blackmesa has joined #ruby
teej has quit []
braincrash has quit [Quit: bye bye]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa1 has quit [Ping timeout: 250 seconds]
teej has joined #ruby
braincrash has joined #ruby
hahuang6- has quit [Read error: Connection reset by peer]
hahuang6- has joined #ruby
jcalla has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jcalla has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 255 seconds]
PaulePanter has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0xik has quit [Quit: Connection closed for inactivity]
t0xik has joined #ruby
houhoulis has quit [Remote host closed the connection]
<baweaver> Part Two of 'Exploring TracePoint' is out where we take a look at the events we can monitor on, and some of their potential uses in debugging:
Inline has quit [Quit: Leaving]
conta has joined #ruby
dionysus69 has joined #ruby
akem has quit [Ping timeout: 246 seconds]
aufi has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
wolfshappen has quit [Ping timeout: 246 seconds]
wolfshappen has joined #ruby
booboy has quit [Quit: ZNC - https://znc.in]
booboy has joined #ruby
renich has joined #ruby
cschneid has joined #ruby
nowhere_man has joined #ruby
Puffball has joined #ruby
v01d4lph4 has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.3]
clemens3_ has joined #ruby
clemens3 has quit [Ping timeout: 255 seconds]
cschneid has quit [Ping timeout: 240 seconds]
<Cork> i'm creating a class for a http api and would like to group its function. api.user.list, api.user.create, api.contact.list ... instead of api.user_list api.user_create...
<Cork> is there a sain way to do this in ruby?
<Cork> (also i would like api.user.methods to list those methods and not the contact ones and so on)
clemens3_ has quit [Ping timeout: 246 seconds]
<tbuehlmann> Cork: sure, just let api.user return an object that responds to the methods you need
<Cork> tbuehlmann: hmm opps missed to point one think out i have a class variable in api i need it to access
<Cork> would i have to copy it over?
<tbuehlmann> you could pass whatever you need
prestorium has joined #ruby
<baweaver> You'd basically have to make your own object mapper
<baweaver> There are dynamic ways to do that, sure, but you'd almost need API contracts for that.
<Cork> heh ok
<Cork> sounds like i should just stick with _ :)
<baweaver> I mean you could dynamically map things down to OpenStructs
<Cork> interesting
<Cork> didn't even know it existed
<baweaver> Though there are all types of fun issues with that.
<Cork> true
nowhere_man has quit [Ping timeout: 258 seconds]
prestorium has quit [Quit: prestorium]
renich has quit [Quit: renich]
v01d4lph4 has quit [Remote host closed the connection]
v01d4lph4 has joined #ruby
clemens3_ has joined #ruby
v01d4lph4 has quit [Remote host closed the connection]
v01d4lph4 has joined #ruby
cthulchu has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
conta has quit [Ping timeout: 257 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
conta has joined #ruby
DTZUZO_ has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
BH23 has joined #ruby
v01d4lph4 has quit [Remote host closed the connection]
v01d4lph4 has joined #ruby
cd has joined #ruby
livcd has joined #ruby
mniip has quit [Ping timeout: 633 seconds]
<livcd> hmm RubyMotion should get partially open sourced in April
BH23 has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby
lxsameer has joined #ruby
prestorium has joined #ruby
mangold has quit [Ping timeout: 255 seconds]
mangold has joined #ruby
marz_d`ghostman has joined #ruby
<marz_d`ghostman> anyone using rrd-ffi? do you know how to extract rra data?
deathwishdave has joined #ruby
venmx has joined #ruby
blackmesa has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
BH23 has joined #ruby
mniip has joined #ruby
wolfshappen has quit [Ping timeout: 258 seconds]
wolfshappen_ has joined #ruby
ams__ has joined #ruby
akem has joined #ruby
BH23 has quit [Ping timeout: 246 seconds]
drale2k_ has joined #ruby
xrexeon has joined #ruby
xrexeon has quit [Read error: Connection reset by peer]
xrexeon has joined #ruby
xrexeon has quit [Max SendQ exceeded]
xrexeon has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
BH23 has joined #ruby
alem0lars has joined #ruby
conta has quit [Ping timeout: 268 seconds]
marz_d`ghostman has quit [Quit: Page closed]
xrexeon has quit [Remote host closed the connection]
alem0lars has quit [Ping timeout: 255 seconds]
conta has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lunarkitty7 is now known as neoma
alem0lars has joined #ruby
neoma is now known as lunarkitty
lunarkitty is now known as lunarkitty7
lunarkitty7 is now known as lunarkitty
akem has quit [Ping timeout: 272 seconds]
crankharder has joined #ruby
kapil____ has joined #ruby
drale2k_ has joined #ruby
cschneid has joined #ruby
Puffball has quit [Remote host closed the connection]
t0xik has quit [Quit: Connection closed for inactivity]
donofrio has joined #ruby
Dbugger has joined #ruby
cschneid has quit [Ping timeout: 258 seconds]
AJA4350 has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
BH23 has quit [Ping timeout: 246 seconds]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BH23 has joined #ruby
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deathwishdave has joined #ruby
deathwishdave has quit [Client Quit]
lucasb has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
crankharder has quit [Ping timeout: 246 seconds]
marmotini_ has joined #ruby
blackmesa has joined #ruby
blackmesa1 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcalla has quit [Ping timeout: 245 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
nemesit|znc has quit [Ping timeout: 255 seconds]
nemesit|znc has joined #ruby
deathwishdave has joined #ruby
cow[moo] has joined #ruby
alem0lars has quit [Ping timeout: 246 seconds]
sauvin has quit [Ping timeout: 268 seconds]
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4350 has joined #ruby
hansol has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 250 seconds]
akem has joined #ruby
skryking has joined #ruby
gregf_ has joined #ruby
jcalla has joined #ruby
conta has joined #ruby
cow[moo] has quit [Quit: Textual IRC Client: www.textualapp.com]
kapil____ has quit [Quit: Connection closed for inactivity]
conta has quit [Ping timeout: 255 seconds]
cow[moo] has joined #ruby
<phaul> I made a thing https://github.com/phaul/pry-hier
<tbuehlmann> sweet
Rapture has joined #ruby
cschneid has joined #ruby
flips has quit [Quit: bbl ...]
flips has joined #ruby
rippa has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacesuitdiver has joined #ruby
spacesuitdiver has quit [Ping timeout: 245 seconds]
<al2o3-cr> &>> ObjectSpace.each_object(Numeric.singleton_class).to_a
<rubydoc> # => [Complex, Rational, Float, Integer, Numeric] (https://carc.in/#/r/6aa3)
<al2o3-cr> nice little pry addon.
<tbuehlmann> phaul, feature request: make it so I can navigate the hierarchy with arrow keys :D
awkwords has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
cschneid has quit [Ping timeout: 255 seconds]
<phaul> tbuehlmann: :)
v01d4lph4 has quit [Read error: Connection reset by peer]
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
spacesuitdiver has joined #ruby
bvdw has quit [Client Quit]
bvdw has joined #ruby
Dbugger has quit [Quit: Leaving]
conta1 has joined #ruby
marmotini_ has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
polishdub has joined #ruby
wolfshappen_ has quit [Ping timeout: 255 seconds]
conta2 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
n13z has joined #ruby
n13z has quit [Client Quit]
wolfshappen has joined #ruby
n13z has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
drale2k_ has joined #ruby
Dbugger has joined #ruby
stryek has joined #ruby
blackmesa1 has joined #ruby
conta2 has quit [Ping timeout: 246 seconds]
marmotini_ has joined #ruby
AJA4350 has joined #ruby
venmx has joined #ruby
clemens3_ has quit [Ping timeout: 255 seconds]
maryo has joined #ruby
gix has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
blackmesa1 has joined #ruby
renich has joined #ruby
Sina has joined #ruby
venmx has quit [Ping timeout: 258 seconds]
venmx has joined #ruby
aufi has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 246 seconds]
ogres has joined #ruby
orbyt_ has joined #ruby
aqd has quit [Remote host closed the connection]
aqd has joined #ruby
aqd has quit [Max SendQ exceeded]
aqd has joined #ruby
BH23 has quit [Ping timeout: 255 seconds]
marmotini_ has quit [Ping timeout: 272 seconds]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
my1es has quit [Remote host closed the connection]
\void has joined #ruby
dinfuehr has quit [Ping timeout: 258 seconds]
dinfuehr has joined #ruby
<havenwood> phaul: nice!
lxsameer has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
paraxial has quit [Ping timeout: 255 seconds]
v01d4lph4 has joined #ruby
maryo has quit [Ping timeout: 246 seconds]
maryo has joined #ruby
gix has quit [Quit: Client exiting]
mikecmpb_ has quit [Quit: inabit. zz.]
gix has joined #ruby
prestori_ has joined #ruby
clemens3_ has joined #ruby
prestorium has quit [Ping timeout: 255 seconds]
marmotini_ has joined #ruby
prestori_ has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
v01d4lph4 has quit [Ping timeout: 250 seconds]
maryo has quit [Ping timeout: 250 seconds]
dionysus70 has joined #ruby
maryo has joined #ruby
cthulchu has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Quit: bye]
phaul has joined #ruby
cthulchu has quit []
maryo has quit [Ping timeout: 250 seconds]
paraxial has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
Dbugger has quit [Quit: Connection closed for inactivity]
paraxial has quit [Ping timeout: 246 seconds]
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
paraxial has joined #ruby
clemens3_ has quit [Ping timeout: 250 seconds]
AndroidKitKat has joined #ruby
<AndroidKitKat> does ruby differentiate against single and double quotes
<AndroidKitKat> as long as we're consistent
al2o3-cr has quit [Quit: WeeChat 2.3]
AJA4350 has joined #ruby
sauvin has joined #ruby
marmotini_ has quit [Ping timeout: 246 seconds]
al2o3-cr has joined #ruby
marmotini_ has joined #ruby
oz has quit [Quit: EOF]
blackmesa1 has quit [Ping timeout: 268 seconds]
<mozzarella> AndroidKitKat: yes
marmotini has joined #ruby
marmotini_ has quit [Ping timeout: 246 seconds]
oz has joined #ruby
segy has quit [Ping timeout: 250 seconds]
blackmesa1 has joined #ruby
segy has joined #ruby
t0xik has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
blackmesa1 has joined #ruby
wilbert has joined #ruby
dionysus70 has quit [Ping timeout: 272 seconds]
marmotini has quit [Ping timeout: 250 seconds]
rippa has quit [Ping timeout: 246 seconds]
flips has quit [Read error: Connection reset by peer]
flips_ has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
flips_ is now known as flips
scrptktty has joined #ruby
troulouliou_div2 has joined #ruby
nowhere_man has joined #ruby
conta1 has quit [Quit: conta1]
<woodruffw> single quotes don't allow interpolation; double quotes do
<woodruffw> i personally use double quotes everywhere and run `rubocop` to enforce things
blackmesa1 has quit [Ping timeout: 258 seconds]
Sina has quit [Quit: Connection closed for inactivity]
blackmesa1 has joined #ruby
<havenwood> i use single quotes everywhere, unless I'm on a repo with other conventions
<havenwood> ¯\_(ツ)_/¯
johnny56_ has quit [Ping timeout: 272 seconds]
tdy has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
conta1 has joined #ruby
orbyt_ has joined #ruby
<woodruffw> yeah, i change to the repo's convention if it doesn't match mine :p
<woodruffw> consistency above all
polishdub has quit [Quit: leaving]
jobewan has joined #ruby
johnny56_ has joined #ruby
polishdub has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta1 has quit [Quit: conta1]
troulouliou_div2 has quit [Ping timeout: 246 seconds]
johnny56_ has quit [Ping timeout: 272 seconds]
fbrier has joined #ruby
duckpuppy has quit [Ping timeout: 258 seconds]
<fbrier> I installed ruby-libvirt and "gem list" shows it, but RubyMine underlines with the error "no such file to load" for the "require 'libvirt'" statement.
<fbrier> I tried adding "require 'rubygems'" preceding the require in error, but no difference.
duckpuppy has joined #ruby
cagomez has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
Demos[m] has left #ruby ["Kicked by @appservice-irc:matrix.org : removing from IRC because user idle on matrix for 30+ days"]
duckpuppy has quit [Client Quit]
duckpuppy has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Ping timeout: 250 seconds]
johnny56_ has joined #ruby
<havenwood> fbrier: Sounds like RubyMine is using a different Ruby.
<havenwood> fbrier: Do you have a .ruby-version file?
<z64> anyone around that is intimately familiar with Zlib::Inflate? our library wraps a service that provides a streaming zlib transport for websocket messages (i.e., all messages sent over a single zlib context). we buffer deflated messages with Zlib::Infate#<<, and once a byte sequence is read, we call Zlib::Inflate#inflate. this works, but we are seeing a *really* big performance hit over just reading text frames.
<havenwood> fbrier: What's the Ruby version set to in RubyMine? https://www.jetbrains.com/help/ruby/ruby-sdk-and-gems.html
<z64> these messages are really small either way.. any ideas if this can be improved?
tdy has joined #ruby
szulak_ has joined #ruby
my1es has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
wilbert has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
scrptktty has quit [Quit: Connection closed for inactivity]
wolfshappen has quit [Ping timeout: 246 seconds]
yokel has quit [Ping timeout: 245 seconds]
wolfshappen has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
yokel has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
<havenwood> z64: Is it hard to make a reproduction script that shows the slow speed? How slow?
blackmesa1 has joined #ruby
fluxAeon has quit [Ping timeout: 255 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
blackmesa1 has joined #ruby
Inline has joined #ruby
awkwords has quit [Ping timeout: 240 seconds]
awkwords_ has joined #ruby
fluxAeon has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szulak_ has quit [Quit: Textual IRC Client: www.textualapp.com]
t0xik has quit [Quit: Connection closed for inactivity]
blackmesa1 has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
blackmesa has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
polishdub has quit [Quit: leaving]
ogres has joined #ruby
renich_ has joined #ruby
renich has quit [Ping timeout: 246 seconds]
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0xik has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Read error: Connection reset by peer]
blackmesa1 has joined #ruby
dotemacs has joined #ruby
<dotemacs> On this page: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-java/ there's talk of WxRuby. But that link is dead. As is the link to FXRuby. Where is the code hosted for the website so that I can create an issue/ticket? Thanks
<havenwood> dotemacs: You can find the website repo here: https://github.com/ruby/www.ruby-lang.org
<dotemacs> Thanks
dviola has joined #ruby
awkwords_ has quit [Quit: sleepy time]
efertone is now known as yitsushi
<fbrier> havenwood: Thank you!! I had two Ruby interpreters defined. One ruby-2.2.5-p319 and the other was the Chef DK.
dotemacs has left #ruby [#ruby]
jobewan has quit [Ping timeout: 246 seconds]
lxsameer has quit [Ping timeout: 255 seconds]
venmx has joined #ruby
spacesuitdiver has joined #ruby
mangold has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
endorama has joined #ruby