<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:
<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
<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.