havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
inanepenguin has quit [Quit: inanepenguin]
gregf has joined #ruby
andersoldahl has joined #ruby
<slash_nick> neither of those should return true though
<slash_nick> i don't get it shevy
cdg has quit [Remote host closed the connection]
<shevy> the 42?
cdg has joined #ruby
<slash_nick> wherps. baweaver ^^
jaxxstorm has joined #ruby
<slash_nick> >> [:baweaver] === [:baweaver]
<ruboto> slash_nick # => true (https://eval.in/445929)
<shevy> tis be true
<baweaver> === isn't defined on array explicitly
<shevy> perhaps ruby tries to assume that the full input is to match
<baweaver> it's the same as ==
Oog has quit []
<baweaver> as to why in the world someone would want that: case data when %w(it's in this set) then true end
<shevy> yeah. I usually use a leading * for these cases
<eam> >> x = rand(2**31); x.object_id === x * 2 + 1
<ruboto> eam # => true (https://eval.in/445930)
<shevy> when *HELP_OPTIONS; show_help
<slash_nick> oh, nice
<slash_nick> when takes a list, so splat it baweaver
tkuchiki has joined #ruby
<baweaver> that too
<shevy> splat the beaver, spank the beaver!
lkba has joined #ruby
<slash_nick> and don't forget to thank the beaver.
cdg has quit [Ping timeout: 265 seconds]
jellyjellyrobot has joined #ruby
jellyjellyrobot has quit [Max SendQ exceeded]
lkba_ has quit [Ping timeout: 240 seconds]
jellyjellyrobot has joined #ruby
<shevy> yeah
Miron has joined #ruby
andersoldahl has quit [Quit: Goodbye everyone.]
<shevy> then we can prank the beaver
jellyjellyrobot has quit [Max SendQ exceeded]
inanepenguin has joined #ruby
andersoldahl has joined #ruby
zemmihates has joined #ruby
SenpaiSilver has quit [Ping timeout: 265 seconds]
<eam> too easy
<shevy> why don't we actually have something like the jvm on the whole OS level?
zhkirill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> shevy: we do
havenn has quit [Ping timeout: 256 seconds]
<shevy> so like people could write in ruby but it would be lightning fast
<eam> well hang on
<craysiii> dont let go..
<eam> ruby being slow isn't related to needing something like the jvm
tkuchiki has quit [Remote host closed the connection]
jellyjellyrobot has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> there is also a reason I state this right now; I just reinstalled my OS, went back to archaic slackware, but I find myself compiling stuff again
jellyjellyrobot has quit [Max SendQ exceeded]
<shevy> with ruby scripts! but it still takes some time...
calleerlandsson has joined #ruby
sulky has joined #ruby
riotjones has joined #ruby
ngscheurich has joined #ruby
andersoldahl has quit [Quit: Goodbye everyone.]
andersh has joined #ruby
Musashi007 has quit [Quit: Musashi007]
riotjones has quit [Ping timeout: 272 seconds]
sharkman has quit [Quit: Leaving]
stardiviner has joined #ruby
Guest123456666 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ZucchiniZe has joined #ruby
goobagar has joined #ruby
rushed has quit [Quit: rushed]
Jardayn has quit [Quit: Leaving]
inanepenguin has quit [Quit: inanepenguin]
shoutsid has joined #ruby
Guest123456666 has quit [Client Quit]
iateadonut has joined #ruby
solocshaw has joined #ruby
TheWhip has joined #ruby
renderf__ has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
`tim` has joined #ruby
nKulo has joined #ruby
baweaver has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
renderf__ has quit [Ping timeout: 252 seconds]
TheWhip has quit [Ping timeout: 256 seconds]
rodfersou has quit [Quit: leaving]
Guest123456666 has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
pocketprotector2 has quit [Ping timeout: 268 seconds]
hck89 has quit [Quit: Textual IRC Client: www.textualapp.com]
HAL2328_ has quit [Quit: Leaving]
hephaestus_rg has quit [Ping timeout: 265 seconds]
mattprelude has quit [Ping timeout: 240 seconds]
ducklobster has quit [Ping timeout: 252 seconds]
platzhirsch has left #ruby [#ruby]
poguez_ has quit [Quit: Connection closed for inactivity]
Seich has quit [Ping timeout: 240 seconds]
Rickmast_ has joined #ruby
lethjakman has joined #ruby
slash_nick is now known as slash_quit
Rickmasta has quit [Ping timeout: 264 seconds]
Seich has joined #ruby
willardg has joined #ruby
<shevy> slash_quit don't quit man, don't you ever quit!
<slash_quit> huge facepalm... so... i spent half an hour thinking ATT was censoring my information (forcing 404 for certain content or something)...i checked this url in chrome, firefox, lynx, on verizon, on att... nothing!
uberjar has joined #ruby
<slash_quit> shevy: http://abc.com/foo/bar-
<slash_quit> irssi doesn't make the - clickable... i was missing the -... i have to quit.
Guest123456666 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 272 seconds]
<shevy> huh
d10n-work has quit [Quit: Connection closed for inactivity]
<shevy> lol
<shevy> funny explanation though
beauby has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 255 seconds]
<slash_quit> it even 404d on a virtual private server, shevy... wtf :)
<slash_quit> meanwhile everyone else can read the article... censorship, i tell ya
Guest123456666 has joined #ruby
wookiehangover has left #ruby ["Leaving..."]
petricore has quit [Quit: Textual IRC Client: www.textualapp.com]
Limix has quit [Quit: Limix]
TheWhip has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
Rollabunna has joined #ruby
casadei has joined #ruby
TheWhip has quit [Ping timeout: 240 seconds]
SenpaiSilver has joined #ruby
_djbkd has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
andersoldahl has joined #ruby
inanepenguin has joined #ruby
slash_quit is now known as slash_nick
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor has joined #ruby
User458764 has joined #ruby
shoutsid has quit [Ping timeout: 264 seconds]
jessemcgilallen has quit [Quit: jessemcgilallen]
riotjones has joined #ruby
casadei has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 246 seconds]
User458764 has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Remote host closed the connection]
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Quit: My people need me...]
kobain has joined #ruby
imperator has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
phutchins has joined #ruby
mondayrain has joined #ruby
_djbkd has joined #ruby
trav408 has quit [Quit: WeeChat 1.2]
EllisTAA has joined #ruby
tmtwd has joined #ruby
rfi has quit [Ping timeout: 252 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rfi has joined #ruby
Limix has joined #ruby
Limix has quit [Client Quit]
blackmesa has joined #ruby
Guest123456666 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ngscheurich has quit [Ping timeout: 240 seconds]
hephaestus_rg has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
rakm has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
dstarh has joined #ruby
TheWhip has joined #ruby
hephaestus_rg has quit [Ping timeout: 255 seconds]
datanoise has joined #ruby
dorei has quit []
blowmage has quit [Ping timeout: 244 seconds]
TheWhip has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
aaeron has joined #ruby
blowmage has joined #ruby
<aaeron> How can I insert escape sequence to a string
<slash_nick> "" << "escape sequence"... what are you trying to do?
jenrzzz has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patchedmonkey has joined #ruby
nKulo has quit [Ping timeout: 256 seconds]
<aaeron> slash_nick I am trying to create this string: (echo {\\\"tenant\\\": \\\"dummytest\\\"})
<aaeron> I got it working using this: echo {\\\\\\\"tenant\\\\\\\": \\\\\\\"dummytest\\\\\\\"}
<aaeron> I dont know if there is an easier way
inanepenguin has quit [Quit: inanepenguin]
jenrzzz has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
Cyther has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 246 seconds]
billylinder has joined #ruby
devoldmx has joined #ruby
billylinder has quit [Remote host closed the connection]
hephaestus_rg has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 256 seconds]
gdd229 has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
<slash_nick> << "(echo {\\\"tenant\\\": \\\"dummytest\\\"})"
<slash_nick> wherps.
<slash_nick> >> "(echo {\\\"tenant\\\": \\\"dummytest\\\"})"
<ruboto> slash_nick # => "(echo {\\\"tenant\\\": \\\"dummytest\\\"})" (https://eval.in/445934)
ValicekB has quit [Ping timeout: 264 seconds]
casadei has joined #ruby
s00pcan has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
nateberkopec has quit [Ping timeout: 268 seconds]
PhantomS_ has joined #ruby
psy_ has joined #ruby
mondayrain has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
Pupeno has quit [Ping timeout: 240 seconds]
ICantCook has joined #ruby
PhantomSpank has quit [Ping timeout: 240 seconds]
saramic has quit []
ValicekB has joined #ruby
wildlander has joined #ruby
krz has joined #ruby
Gnomethrower has quit [Quit: Textual IRC Client: www.textualapp.com]
jun has joined #ruby
TheWhip has quit [Ping timeout: 252 seconds]
SylarRuby has joined #ruby
riotjones has joined #ruby
phutchins has quit [Ping timeout: 268 seconds]
riotjones has quit [Read error: Connection reset by peer]
imperator has quit [Quit: Leaving]
riotjones has joined #ruby
casadei has quit [Remote host closed the connection]
jamesaxl has joined #ruby
mdih has joined #ruby
craysiii has quit [Remote host closed the connection]
SylarRuby has quit [Ping timeout: 265 seconds]
riotjones has quit [Ping timeout: 250 seconds]
shoutsid has joined #ruby
jamesaxl|2 has quit [Ping timeout: 246 seconds]
fullofcaffeine has quit [Remote host closed the connection]
gdd229 has quit [Quit: WeeChat 0.4.2]
baweaver has joined #ruby
Guest123456666 has joined #ruby
bruno- has joined #ruby
<uberjar> Hi I have a question about Time..
haraoka has joined #ruby
<uberjar> in the rdocs about the method #getlocal it says: Returns a new Time object representing time in local time (using the local time zone in effect for this process). If utc_offset is given, it is used instead of the local time.
<uberjar> getlocal(utc_offset) → new_time
stardiviner has quit [Ping timeout: 250 seconds]
<uberjar> I wish to pass in that utc_offset parameter and I wanted that to basically tell ruby to pretend that the local operating system time is whatever I set that parameter to.. but apparently it's not working
amclain has quit [Quit: Leaving]
blackmesa has joined #ruby
<uberjar> Time.iso8601("2015-04-05T00:00:00").getlocal("+00:00").iso8601 => "2015-04-05T04:00:00Z"
evillution has joined #ruby
<uberjar> but it *should* return "2015-04-05T00:00:00Z" if I am understanding the documentation correctly… (my local system's time zone is Z-04:00)
shoutsid has quit [Ping timeout: 264 seconds]
fullofcaffeine has joined #ruby
<bnagy> eh?
<bnagy> the time you gave it was midnight your local (-4) and it gave back 4am at 0
<bnagy> that seems correct to me?
_djbkd has quit [Quit: My people need me...]
towski_ has quit [Remote host closed the connection]
<uberjar> well that would have been correct if I had called #getlocal() but instead I passed in a parameter to #getlocal which specified that I wanted Ruby to pretend that my system timezone is +00:00
<uberjar> therefor it should have given me midnight UTC
blackmesa has quit [Ping timeout: 240 seconds]
<bnagy> yeah, no
<bnagy> it gives you the time at the offset you specify
<bnagy> If utc_offset is given, it is used instead of the local time.
EllisTAA has quit [Quit: EllisTAA]
<uberjar> I assume that means that it will completely ignore the local time and assume offset is the new localtime
<uberjar> which would be UTC
<bnagy> it takes a time, then represents it in the offset you pass
<bnagy> which is what it has done here
maikowblue has quit [Quit: .]
<bnagy> 0 your time (-4) is 4am zulu
korolyov has quit [Ping timeout: 260 seconds]
inanepenguin has joined #ruby
bl0ndie has joined #ruby
<uberjar> is there a way to take an iso8601 timestamp which does not specify Zulu (asumes localtime) and then have Ruby process it as if my system time were UTC ?
blowmage has quit [Ping timeout: 264 seconds]
<uberjar> I basically want to output 2015-04-05T00:00:00Z from the time object even if the user specifies something ambiguous like "2015-04-05T00:00:00"
<uberjar> but I dont' want to actually change my system time to UTC
stardiviner has joined #ruby
Yzguy has joined #ruby
chipotle has joined #ruby
<bnagy> there are probably a few ways
simplyianm has joined #ruby
<bnagy> you could add your offset, or you could strftime the stamp from the user
Channel6 has joined #ruby
<uberjar> strftime the stamp to a certain length then concat Z on the end then Time.iso8604 that string ?
<uberjar> that sounds like it should work… magnificent!
ThaiWood has joined #ruby
<bnagy> imho adding your offset (or subtracting obvs) might be more reliable
simplyianm has quit [Remote host closed the connection]
<bnagy> but it's a pretty scary specification, like what happens when the user _does_ specify a zone?
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simplyianm has joined #ruby
shoutsid has joined #ruby
havenwood has joined #ruby
marienz has quit [Ping timeout: 610 seconds]
noethics has quit [Quit: Leaving]
simplyianm has quit [Remote host closed the connection]
simplyianm has joined #ruby
<uberjar> well from what I can tell it should be possible to rule out the idea that a timezone has been specified by checking to see if the length of the string is less than a certain size and the string does not contain the letter Z
<uberjar> but I agree it's pretty gnarly.. https://tools.ietf.org/html/rfc3339
zhkirill has joined #ruby
TheWhip has joined #ruby
<uberjar> I can't find a way to specify a timezone without using Z or without using more than 19 characters though
<uberjar> so I hopefully I'll be OK. thanks for the idea about adding the offset though
DmitryBochkarev has joined #ruby
<bnagy> looks like ActiveSupport has better stuff for this
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnagy> and also looks like you can set ENV['TZ'] in your ruby process to override /etc/localtime
blowmage has joined #ruby
<bnagy> which both sound closer to what I think you want
korolyov has joined #ruby
shadoi has quit [Quit: Leaving.]
shadoi has joined #ruby
<uberjar> the ENV thing sounds scarry because I dont' want to assume that this code might not be extracted one day and used in a different context where the programmer might not be aware
<uberjar> where should I look in ActiveSupport ?
marienz has joined #ruby
<uberjar> I thought I checked it out
<bnagy> check that SO answer
TheWhip has quit [Ping timeout: 268 seconds]
<bnagy> hmm... actually no, you really want the env variable, not in_time_zone I think
<bnagy> that's just a tzdata aware version of getlocal, really
<uberjar> oh interesting, he sets the ENV and then returns it back.. I wonder though is that threadsafe ?
<uberjar> and what about on JRuby
<bnagy> oh god no
<uberjar> lol
<bnagy> I wouldn't set it back, that sounds crazypants
<bnagy> but env is per process so you don't break anything else
<bnagy> it should be fine on jruby
eminencehc has quit [Remote host closed the connection]
dEPy has joined #ruby
<bnagy> very not-threadsafe
<bnagy> although on MRI you'd probably get away with it
gener1c_ has joined #ruby
<uberjar> well believe it or not I'm deploying into a Java application server (Wildfly) and I have a requirement where the application server log timestamps need to match my service's timestamps
<uberjar> so ENV is pretty much a no-go
Channel6 has quit [Read error: Connection reset by peer]
eminencehc has joined #ruby
Rollabunna has joined #ruby
<uberjar> if you happen to see something in particular in ActiveSupport that might be nicer than the string manipulation / offset math let me know I'd apprecaite it.. otherwise I'll probably end up having to hope my understanding of iso 8601 is up to par
<uberjar> (using Torquebox 4)
eminencehc has quit [Remote host closed the connection]
TheWhip has joined #ruby
gener1c has quit [Ping timeout: 264 seconds]
andersoldahl has quit [Max SendQ exceeded]
braincrash has quit [Quit: bye bye]
Guest123456666 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andersoldahl has joined #ruby
Rollabunna has quit [Ping timeout: 265 seconds]
darkf has joined #ruby
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rakm has joined #ruby
andersoldahl has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
Guest123456666 has joined #ruby
dEPy has quit [Ping timeout: 256 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<uberjar> hrmm I could monkeypatch a certain function to prefer a different environment variable ahead of ENV['TZ']
User458764 has joined #ruby
gix has quit [Ping timeout: 264 seconds]
shadoi has quit [Quit: Leaving.]
codecop has joined #ruby
SylarRuby has joined #ruby
<bnagy> :<
TheWhip has quit [Remote host closed the connection]
riotjones has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
mclee_ has quit [Ping timeout: 250 seconds]
Soda has joined #ruby
gix has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eminencehc has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
SylarRuby has quit [Ping timeout: 256 seconds]
<uberjar> as far as I can tell this shouldn't break the format https://gist.github.com/anonymous/116e03043eec4c731d29
bl0ndie has quit [Ping timeout: 265 seconds]
Alayde has quit [Ping timeout: 250 seconds]
riotjones has quit [Ping timeout: 255 seconds]
TheWhip has joined #ruby
<uberjar> maybe I'll send a variant of it as a pull request to Ruby core.. then if somebody finds a proper reason to reject it I'll at least know that it's flawed and maybe a better way will be recommended
xcesariox has joined #ruby
<uberjar> after all it seems to me at least like this should exist
cndiv has joined #ruby
<uberjar> maybe matz will agree
otacon- has joined #ruby
shoutsid has quit [Ping timeout: 272 seconds]
aaeron has quit [Quit: Leaving.]
tmillc has quit [Quit: WeeChat 1.1.1]
psy_ has quit [Ping timeout: 264 seconds]
SylarRuby has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Remote host closed the connection]
astrobun_ has joined #ruby
TheWhip has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
jenrzzz has joined #ruby
blackmesa has joined #ruby
<uberjar> I'm not going to make a big deal out of it though.. because I like to respect people's Time =^o
howdoi has joined #ruby
_djbkd has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
SylarRuby has quit []
blackmesa has quit [Ping timeout: 260 seconds]
shadoi has joined #ruby
Soda has quit [Remote host closed the connection]
bap1313 has quit [Ping timeout: 268 seconds]
leslie_ has joined #ruby
shoutsid has joined #ruby
inanepenguin has quit [Quit: inanepenguin]
jenrzzz has joined #ruby
tenderlove has quit [Quit: Leaving...]
zenguy_pc has quit [Read error: Connection reset by peer]
Guest123456666 has quit [Quit: Textual IRC Client: www.textualapp.com]
moeabdol has quit [Ping timeout: 264 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jun has quit [Remote host closed the connection]
Oka has joined #ruby
wildlander has quit [Quit: Saliendo]
devoldmx has joined #ruby
lethjakman has quit [Ping timeout: 260 seconds]
aaeron has joined #ruby
pocketprotector2 has joined #ruby
kp666 has joined #ruby
devoldmx has quit [Remote host closed the connection]
devoldmx has joined #ruby
rushed has joined #ruby
FrankD has joined #ruby
swgillespie has joined #ruby
dEPy has joined #ruby
zenguy_pc has joined #ruby
tengyokura has quit [Ping timeout: 255 seconds]
moeabdol has joined #ruby
evillution has left #ruby [#ruby]
moeabdol has quit [Client Quit]
SenpaiSilver has quit [Read error: Connection reset by peer]
SenpaiSilver has joined #ruby
moeabdol has joined #ruby
Todd has quit [Ping timeout: 272 seconds]
aaeron has quit [Quit: Leaving.]
Todd has joined #ruby
favadi has joined #ruby
EasyCo has joined #ruby
riotjones has joined #ruby
amystephen has quit [Quit: amystephen]
otacon- has quit [Ping timeout: 240 seconds]
joufflu has joined #ruby
rushed has quit [Quit: rushed]
uberjar has quit [Quit: uberjar]
Todd has quit [Ping timeout: 268 seconds]
solofounder has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
braincra- has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
braincrash has quit [Ping timeout: 246 seconds]
keen___________5 has joined #ruby
keen___________4 has quit [Ping timeout: 268 seconds]
renderf__ has joined #ruby
renderf__ has quit [Ping timeout: 252 seconds]
TheWhip has joined #ruby
blackmesa has joined #ruby
Eiam_ has joined #ruby
shoutsid has quit [Ping timeout: 264 seconds]
Yzguy has quit [Quit: Zzz...]
sami has quit [Ping timeout: 240 seconds]
astrobun_ has quit [Remote host closed the connection]
psk17_ has joined #ruby
psk17_ has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 272 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
joufflu has quit [Ping timeout: 246 seconds]
sami has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
zhkirill has quit [Quit: Textual IRC Client: www.textualapp.com]
EmeraldExplorer has quit [Quit: Connection closed for inactivity]
Gnomethrower has joined #ruby
shoutsid has joined #ruby
skade has joined #ruby
eminencehc has quit [Remote host closed the connection]
opettaja has joined #ruby
eminencehc has joined #ruby
[k- has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
eminencehc has quit [Remote host closed the connection]
eminencehc has joined #ruby
eminencehc has quit [Remote host closed the connection]
eminencehc has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
bb010g has joined #ruby
Rollabunna has joined #ruby
davedev2_ has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
Oka has quit [Quit: o/]
astrobun_ has joined #ruby
fedexo has joined #ruby
Oka has joined #ruby
roshanavand has joined #ruby
devoldmx_ has joined #ruby
segy has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 246 seconds]
Rollabunna has quit [Ping timeout: 268 seconds]
devoldmx has quit [Ping timeout: 246 seconds]
mbff has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
rushed has joined #ruby
dEPy has quit [Quit: (null)]
natevick has joined #ruby
chrissonar has joined #ruby
r0x0rZ has quit [Remote host closed the connection]
krz has joined #ruby
mbff has left #ruby ["Leaving"]
User458764 has joined #ruby
natevick has quit [Client Quit]
mclee_ has joined #ruby
jun has joined #ruby
dhjondoh has joined #ruby
riotjones has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
davedev24 has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
grenierm has joined #ruby
jun has quit [Remote host closed the connection]
agit0 has joined #ruby
eminencehc has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 240 seconds]
r0x0rZ has joined #ruby
r0x0rZ has quit [Remote host closed the connection]
eminencehc has joined #ruby
balazs_ has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
tmtwd has joined #ruby
auzty has joined #ruby
reset has joined #ruby
reset has quit [Client Quit]
psy_ has joined #ruby
eminencehc has quit [Ping timeout: 272 seconds]
sanjayu has joined #ruby
Trynemjoel has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aganov has joined #ruby
willardg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
balazs_ has quit [Ping timeout: 265 seconds]
Macaveli has joined #ruby
davedev24 has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
_djbkd has quit [Quit: My people need me...]
Macaveli has quit [Client Quit]
Rickmast_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
favadi has joined #ruby
willardg has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tagrudev has joined #ruby
mark3 has joined #ruby
opettaja has quit [Remote host closed the connection]
scottstamp has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
cndiv has quit [Quit: Be back later ...]
mar1 has joined #ruby
mar1 is now known as Guest24645
mark3 has quit [Quit: AtomicIRC: The nuclear option.]
Guest24645 has quit [Client Quit]
Oka has quit [Quit: o/]
riotjones has joined #ruby
Oka has joined #ruby
mark3 has joined #ruby
eGGsha has joined #ruby
wottam has joined #ruby
neanderslob has joined #ruby
moeabdol has quit [Ping timeout: 268 seconds]
lxsameer has joined #ruby
claw has quit [Ping timeout: 260 seconds]
ksteck has quit [Ping timeout: 272 seconds]
neanderslob__ has joined #ruby
neanderslob__ has quit [Remote host closed the connection]
<certainty> moin
Oka has quit [Quit: o/]
joonty has joined #ruby
willardg has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has joined #ruby
fedexo has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
segy has joined #ruby
amystephen has joined #ruby
User458764 has joined #ruby
arup_r has joined #ruby
joonty has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
DoubleMalt has joined #ruby
shoutsid has quit [Remote host closed the connection]
claw has joined #ruby
shoutsid has joined #ruby
amystephen has quit [Ping timeout: 246 seconds]
shoutsid has quit [Remote host closed the connection]
leslie_ has left #ruby [#ruby]
mdih has quit [Ping timeout: 264 seconds]
pharaoh2 has joined #ruby
scottstamp has joined #ruby
symm- has joined #ruby
dionysus69 has joined #ruby
karapetyan has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
fullofcaffeine has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
fullofcaffeine has joined #ruby
pocketprotector2 has quit [Ping timeout: 265 seconds]
tmtwd has quit [Ping timeout: 246 seconds]
cndiv has joined #ruby
cndiv has quit [Client Quit]
platzhirsch has joined #ruby
ta has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
yeticry has quit [Ping timeout: 256 seconds]
moeabdol has joined #ruby
yeticry has joined #ruby
blackmesa has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
_blizzy_ has joined #ruby
_djbkd has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
blackmesa has quit [Ping timeout: 252 seconds]
DoYouKnow_ has quit []
DoYouKnow_ has joined #ruby
DoYouKnow_ is now known as DoYouKnow
DoYouKnow has quit [Changing host]
DoYouKnow has joined #ruby
DoYouKnow has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
anisha has joined #ruby
hephaestus_rg has quit [Ping timeout: 260 seconds]
jas02 has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
marr has joined #ruby
IanV0rn2341 has joined #ruby
User458764 has quit [Ping timeout: 250 seconds]
ta has quit [Remote host closed the connection]
Macaveli has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
mark3 has quit [Ping timeout: 264 seconds]
mondayrain has joined #ruby
mondayrain has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
UtkarshRay has joined #ruby
TheWhip has joined #ruby
IanV0rn2341 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
TheWhip_ has joined #ruby
SCHAAP137 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
Rollabunna has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Remote host closed the connection]
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pandaant has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
_djbkd has quit [Remote host closed the connection]
Asher has joined #ruby
tkuchiki has joined #ruby
datanoise has quit [Ping timeout: 240 seconds]
nfk|laptop has joined #ruby
andikr has joined #ruby
Faduo has joined #ruby
<Faduo> hi
<Faduo> anybody here?
hephaestus_rg has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
mark3 has joined #ruby
DEA7TH has joined #ruby
fullofcaffeine has joined #ruby
sebyx07 has joined #ruby
firstdayonthejob has quit [Ping timeout: 256 seconds]
<Faduo> hi
<Faduo> nobody ?
<[k-> patience.
psy_ has quit [Quit: Leaving]
<Faduo> who are you?
<[k-> nobody of use to you
<Faduo> why?
<baweaver> we are
<baweaver> and we are not
pawnbox has joined #ruby
fullofcaffeine has quit [Ping timeout: 240 seconds]
<Faduo> why do you join the #ruby?
<baweaver> why does one not?
adac has joined #ruby
<sebyx07> Faduo: do you have a problem that is related with ruby ?
roshanavand has joined #ruby
<Faduo> yeah
<baweaver> sebyx07: aw, you're no fun
pawnbox has quit [Remote host closed the connection]
<baweaver> vague questions tend to get vague answers :P
pecpec has joined #ruby
pecpec has quit [Client Quit]
<Faduo> not, i prefer sebyx07
Trynemjoel has quit [Ping timeout: 250 seconds]
<sebyx07> baweaver: we should help ppl out, already there is a lot of talk about moving away from ruby
<Faduo> 1# encoding: utf-8 2 3a = Thread::start() do 4 i = 0 5 while true do 6 print i++ 7 end 8end 9 10a.run 11 12j = 0 13while true do 14 print j++ 15end
<baweaver> !gist
<baweaver> hm
<[k-> ?gist
<ruboto> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver> every time I mix those up
<baweaver> paste your code in there
<Faduo> yes ! sebyx07 says right
<baweaver> sebyx07: you don't honestly believe that do you?
IanV0rn2341 has joined #ruby
platzhirsch has quit [Ping timeout: 264 seconds]
<baweaver> trends come and go
<Faduo> ok gist!
<[k-> Faduo: do you like being questioned your identity? i feel we aren't to blame for your provocative question
<[k-> ?ask
<ruboto> Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
Trynemjoel has joined #ruby
<baweaver> on the note of ruby losing people / dying, it's as nonsense today as it is any other day. Languages don't die in programming
<baweaver> source: I know RPG, COBOL, and a smidge of ALGOL. All of which are still very much alive and being used in production, despite being made in the 60s and being heralded as "dead"
<baweaver> now as to whether or not I want a job in them, that's a different matter...
favadi has quit [Quit: Textual IRC Client: www.textualapp.com]
IanV0rn2341 has quit [Client Quit]
IanV0rn2341 has joined #ruby
<Faduo> Souds bad that i can't open the gist :(
<baweaver> define can't open
alienaut has joined #ruby
<[k-> i++ does not exist in Ruby
blackmesa has joined #ruby
blaxter has joined #ruby
shoutsid has joined #ruby
<baweaver> and print doesn't put a newline, making that very hard to read
<[k-> while true results in an infinite loop
<baweaver> that and `loop do` is preferred to `while true`
<baweaver> it's in a thread
<[k-> there is also one in the main thread
<baweaver> granted
dvxam has joined #ruby
<baweaver> hard to read a one-liner with line numbers
<[k-> it will probably die of a syntax error before anything else
<baweaver> Faduo: still not seeing a question out of this
<baweaver> [k-: yeah
roshanavand has quit [Remote host closed the connection]
<baweaver> we can't exactly answer something that hasn't been asked.
roshanavand has joined #ruby
darkf_ has joined #ruby
<[k-> indeed
chipotle has quit [Quit: cheerio]
platzhirsch has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darkf has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 268 seconds]
TheWhip_ has quit [Remote host closed the connection]
favadi has joined #ruby
anisha has quit [Quit: Leaving]
_blizzy_ has quit [Ping timeout: 246 seconds]
soforchunet has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
EXID123 has quit [Ping timeout: 250 seconds]
ta has joined #ruby
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver> that and thread.run is a bit pointless.
dvxam has quit [Quit: leaving]
<baweaver> Thread.start (which is new) does that already.
EXID123_ has quit [Ping timeout: 240 seconds]
skade has joined #ruby
IanV0rn2341 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> I guess there's no question then.
IanV0rn2341 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<[k-> printing will slow things down, io is slow
<[k-> we need faster IO!
<baweaver> To C!
Timba-as has joined #ruby
system64 has joined #ruby
moty66 has joined #ruby
Macaveli has joined #ruby
karapetyan has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
soforchunet has quit [Quit: Page closed]
Feyn has joined #ruby
drptbl has joined #ruby
nfk|laptop has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
it_tard has joined #ruby
it_tard has quit [Client Quit]
Log1x has quit [Ping timeout: 272 seconds]
it_tard has joined #ruby
<moty66> Hello, looking for help to find a way how to filter submethods of a list of objects, please take a look here https://paste.debian.net/314743/
senayar has joined #ruby
it_tard is now known as nfk|laptop
roshanavand has joined #ruby
giuseppesolinas_ has joined #ruby
giuseppesolinas has joined #ruby
Log1x has joined #ruby
techsethi has joined #ruby
<techsethi> Hi Folks, could someone please help me find a ruby library for TTS that can speak small sentence(s) in like a "song" melody format. For instance, I wan't it to read and
<[k-> firstly, you need to call the method containing the arrays on obj1 and obj2
roshanavand has quit [Ping timeout: 272 seconds]
<techsethi> "sing" Happy birthday <name>". I have found this library. it works fine for simple text but I want something that can kind of "sing" the sentence. https://github.com/c2h2/tts thanks much in dvance.
ndrei has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BrazenBraden has joined #ruby
<[k-> if you have a mac, i believe you can rely on the underlying tts on it
<moty66> [k-: i have to each loops, one for objects and one for mehtods which I want to get the submehtods
<moty66> [k-: but I don't know to to handle the hashes or the array for the results
roshanavand has joined #ruby
giuseppesolinas_ has quit [Quit: Leaving]
<techsethi> hi [k- I have mac but how to use the underlying tts to close to "sing" the text.
anisha has joined #ruby
joonty has joined #ruby
<[k-> >> { :a, :b, :c }
<ruboto> [k- # => /tmp/execpad-bd0ad2110e0f/source-bd0ad2110e0f:2: syntax error, unexpected ',', expecting => ...check link for more (https://eval.in/446035)
<[k-> such syntax does not exist
skade has quit [Ping timeout: 250 seconds]
alienaut has quit [Ping timeout: 255 seconds]
timonv has quit [Ping timeout: 272 seconds]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
krisquigley has joined #ruby
<[k-> you can merge an array using +
<yorickpeterse> morning
mdih has joined #ruby
<[k-> merge 2* arrays
mdih has quit [Max SendQ exceeded]
<baweaver> >> [1] + [2]
<ruboto> baweaver # => [1, 2] (https://eval.in/446039)
mdih has joined #ruby
<baweaver> >> [1].concat [2]
<ruboto> baweaver # => [1, 2] (https://eval.in/446041)
devoldmx_ has quit [Remote host closed the connection]
<[k-> and you can use map afterwards to get the value :submethod1A... out
grenierm has quit [Quit: grenierm]
alienaut has joined #ruby
IanV0rn2341 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
chthon has joined #ruby
datanoise has joined #ruby
User458764 has joined #ruby
hephaestus_rg has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
roshanavand has quit [Remote host closed the connection]
<moty66> [k-: thanks, I did like this, in the first loop i crate a @out[m] = [] and in the subloop i di @out[m].push(s)
<arup_r> [k-: o/
<[k-> o/
darkf_ is now known as darkf
<moty66> [k-: m is the method name and s is the submethod :)
hephaestus_rg has joined #ruby
User4587_ has joined #ruby
baweaver has quit [Remote host closed the connection]
<[k-> okay, now, you need to 1. have only 1 of each submethod present in the array, and 2. make sure the submethods are in alphabetical order
<[k-> &ri Array @moty66
roshanavand has joined #ruby
User458764 has quit [Ping timeout: 250 seconds]
<[k-> i want you to look through that link and tell me the methods you can use to achieve those things
sebyx07 has quit [Ping timeout: 240 seconds]
<shevy> moty66 did you use .select already
htmldrum has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
<shevy> since you will work on arrays and hashes anyway, you can select inside the {} block what you want from your datastructure
stardiviner has quit [Ping timeout: 240 seconds]
IanV0rn2341 has joined #ruby
hephaestus_rg has quit [Ping timeout: 250 seconds]
<[k-> shevy: this is a special case, s/he wants one of each submethod to appear, there is already a method for that
fullofcaffeine has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
<[k-> select involves more work, let's point him/her to the other method?
<shevy> I don't know what is a submethod
stardiviner has joined #ruby
datanoise has quit [Ping timeout: 256 seconds]
<[k-> it's just the value of the symbols s/he is using
roshanavand has joined #ruby
<[k-> :submethod1A, etc
<shevy> ah ok so symbols
hephaestus_rg has joined #ruby
dikaio has quit [Quit: ........]
roshanavand has quit [Ping timeout: 240 seconds]
jellene4eva has joined #ruby
roshanavand has joined #ruby
ndrei_ has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
favadi has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
leo19 has joined #ruby
rdark has joined #ruby
the_drow has joined #ruby
roshanavand has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
renderf__ has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
ta has joined #ruby
roshanavand has joined #ruby
yfeldblum has joined #ruby
renderf__ has quit [Ping timeout: 240 seconds]
lenwood has joined #ruby
fullofcaffeine has quit [Ping timeout: 255 seconds]
soc42 has joined #ruby
dmolina has joined #ruby
mdih has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
ndrei_ has quit [Ping timeout: 250 seconds]
TheWhip has joined #ruby
pawnbox has joined #ruby
ndrei has joined #ruby
<moty66> shevy: not really, I'll check the docs for the select method, thanks
jenrzzz has quit [Ping timeout: 264 seconds]
vdamewood has joined #ruby
arup_r has quit [Remote host closed the connection]
subscope has joined #ruby
shoutsid has quit [Ping timeout: 250 seconds]
shoutsid has joined #ruby
lxsameer has quit [Quit: Leaving]
lxsameer has joined #ruby
jenrzzz has joined #ruby
lalalaaa has joined #ruby
mdih has joined #ruby
mdih has quit [Max SendQ exceeded]
mdih has joined #ruby
mdih has quit [Max SendQ exceeded]
mdih has joined #ruby
TheWhip_ has joined #ruby
sepp2k has joined #ruby
Rollabunna has joined #ruby
jgt has joined #ruby
TheWhip has quit [Ping timeout: 255 seconds]
AnoHito_ has joined #ruby
Prawnzy has joined #ruby
howardg has joined #ruby
neanderslob has quit [Remote host closed the connection]
spider-mario has joined #ruby
<howardg> good day. lets say there's a function called "fun" whose origin I do not know, is there a way to find out to which module the function belongs at runtime?
ndrei has quit [Ping timeout: 244 seconds]
<certainty> >> method(:puts).owner
<ruboto> certainty # => Kernel (https://eval.in/446128)
<certainty> maybe
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
<howardg> pretty close, thanks very much
AnoHito has quit [Ping timeout: 255 seconds]
Rollabunna has quit [Ping timeout: 264 seconds]
<[k-> there is also the fun way, using ObjectSpace to get all known classes and querying them using respond_to?
Trynemjoel has quit [Ping timeout: 264 seconds]
jgt has quit [Ping timeout: 252 seconds]
User4587_ has quit [Ping timeout: 240 seconds]
gremax has joined #ruby
<yorickpeterse> Did somebody just suggest using ObjectSpace?
* yorickpeterse likes slapping people and randomly picks [k- to slap
<howardg> ObjectSpace looks like java unsafe :D
<howardg> actually it looks safer
blackmesa has quit [Ping timeout: 250 seconds]
alienaut has quit [Ping timeout: 250 seconds]
* apeiros thinks yorickpeterse's prng is rigged
* apeiros also thinks that's probably a good thing in this case
<certainty> xD
niemcu has joined #ruby
<[k-> it's labeled as a fun way for a reason
<[k-> you all are no fun
Gnomethrower has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty> because it's fun to see you get slapped :D
waheedi has joined #ruby
<waheedi> anyidea how to know which source list gem is using and how to update it?
<maloik> yorickpeterse: I just broke gitlab.com :( signed in via twitter for the first time, filled in email to complete my profile, 500
<waheedi> it seems its using rubygems.rubyforge.org
<maloik> can I braindump a simple issue here real quick? I might forget about it
<[k-> ?ot maloik
<ruboto> maloik, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
lenwood has quit [Ping timeout: 256 seconds]
datanoise has joined #ruby
<maloik> pssh :D I'll take it there
krisquigley has quit [Remote host closed the connection]
<yorickpeterse> maloik: lol
<maloik> oh, I did get an email and am signed in... so it's just that flow that's somehow broken
<maloik> I can create issues now I think!
<waheedi> gem sources
<waheedi> its using http://rubygems.org/
<yorickpeterse> maloik: yes please
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<waheedi> but I’m not able to install this gem https://rubygems.org/gems/amq-client/versions/1.0.2
<waheedi> did i miss anything?
blackmesa has joined #ruby
<waheedi> ERROR: Could not find a valid gem '1.0.2' (>= 0) in any repository
dmolina has quit [Read error: Connection reset by peer]
<waheedi> weird
<darix> what is your gem cmdline?
<waheedi> its working now!
<waheedi> it seems i forgot my “-v” option
lalalaaa has quit [Read error: Connection reset by peer]
<maloik> hmm my colleague is mistaken about the initial issue... :D
lalalaaa has joined #ruby
datanoise has quit [Ping timeout: 265 seconds]
arup_r has joined #ruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt has joined #ruby
matp has quit [Ping timeout: 244 seconds]
minimalism has quit [Quit: leaving]
lalalaaa has quit [Read error: Connection reset by peer]
lalalaaa has joined #ruby
beast has joined #ruby
User458764 has joined #ruby
mdih has quit [Ping timeout: 244 seconds]
Asher has quit [Quit: Leaving.]
Kendos-Kenlen has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
favadi has joined #ruby
ndrei has joined #ruby
shoutsid has quit [Ping timeout: 240 seconds]
favadi has quit [Max SendQ exceeded]
Peg-leg has joined #ruby
niemcu has quit [Ping timeout: 244 seconds]
simplyianm has quit [Remote host closed the connection]
IanV0rn2341 has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb has joined #ruby
alienaut has joined #ruby
drptbl has joined #ruby
shoutsid has joined #ruby
<shevy> fire him
<maloik> I'll start by firing myself ^^
<[k-> your face should be on fire
Peg-leg1 has joined #ruby
htmldrum has joined #ruby
Peg-leg has quit [Read error: Connection reset by peer]
solocshaw has quit [Ping timeout: 246 seconds]
matp has joined #ruby
dmolina has joined #ruby
favadi has joined #ruby
<bougyman> what are the bad things about using /remember=(?<memory>\d+)/ =~ line ?
<bougyman> I hear that it shouldn't be used, but it's ever so convenient.
<bougyman> as opposed to MatchData#captures
<jhass> for the locals?
<bougyman> yeah.
<jhass> the bad thing is that it adds locals
<jhass> do you know any other method call that does that?
<jhass> how would you like it if it's a common thing?
<bougyman> well otherwise i'd do a memory = /regex/.match(string)
<bougyman> and still make a local.
<jhass> yes. List me the ways you know to create a local variable.
<[k-> you can make it a local because you do not have any other variables named memory in the first place
krisquigley has joined #ruby
<bougyman> with the named captures trick, and by assignment.
<jhass> no, in general
Faduo has quit [Ping timeout: 246 seconds]
TheWhip_ has quit [Remote host closed the connection]
subscope has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> ah, sorry. so
<jhass> there's usually one way, assignment
<bougyman> but there's two.
<bougyman> (at least)
<jhass> everything else are special cases you have to learn extra
<jhass> and constantly check extra
<bougyman> so the only objection to it is that it's surprising?
<jhass> it's a quite big objection
<jhass> say you have FOO =~ bar
howardg has left #ruby [#ruby]
<jhass> will it create locals? which?
<bougyman> I have FOO =~ bar
troulouliou_div2 has joined #ruby
<jhass> will it conflict with other locals? which locals am I safe to use around it?
<jhass> gotta scroll to wherever that constant is defined to find out
<jhass> or ignore it and risk subtle bugs
hephaestus_rg has quit [Ping timeout: 260 seconds]
Azure has quit [Read error: Connection reset by peer]
<[k-> you have to check the jungle before you do something
Azure|dc has joined #ruby
<[k-> doing // =~ is an implicit assumption
<jhass> a big part of keeping methods small is keeping their scope small, the amount of locals you have to track
<jhass> =~ adds locals to the scope out of potentially nowhere
<[k-> scope is mad, state is mad, checking regexes to see if they had assigned a variable with the name you wanted to use is mad
krisquigley has quit [Ping timeout: 246 seconds]
<[k-> i would want this for perl
<bougyman> None of these objections are swaying me.
<[k-> code slinging mega quick
<bougyman> seeing as i'm 1: not using a variable as a regex, 2: using this in a method where the only local var is the one created from the named capture, and 3: prefer the method to be shorter rather than longer.
<[k-> I would now like to quote my teacher
<[k-> We can teach slow students, but we cannot teach stubborn students
<bougyman> isn't the // =~ more efficient by not having to create a MatchData object, too?
mprelude has joined #ruby
<[k-> yoy
<jhass> what's $~ ?
skade has quit [Quit: Computer has gone to sleep.]
<jhass> oh, MatchData object
<jhass> always there
<bougyman> jhass: something that doesn't get created til you access it, I thought.
<jhass> is that so?
<bougyman> I don't know, I was told that once upon a time in here.
<bougyman> I didn't look into the guts to verify that.
FrankD has quit [Ping timeout: 260 seconds]
Rollabunna has joined #ruby
Porfa has joined #ruby
roshanavand has quit [Remote host closed the connection]
<jhass> anyway, I dislike =~, it has a rarely useful return value, I always mistype it as ~= first and it has surprising behavior (you know it, do others reading your code?)
stamina has joined #ruby
roshanavand has joined #ruby
<jhass> it's 95% String#match and String#[] for me these days
<Porfa> hello guys.. i've ran into a problem i have no idea on how to handle this… so i have a entry in my database and I'm trying to put that into an array, the entry is a long string with product specifications.. BUT.. for instance, it's a JUG, and one of the specs is… "1,5 Liters" all of the specs are separated by commas so my .split(',') is splitting the JUG capacity :( is there a workaround on this?
User458764 has quit [Ping timeout: 256 seconds]
<bougyman> hrm.
<bougyman> binding.local_variable_set is funky
wottam has joined #ruby
dhjondoh has joined #ruby
bubbys has quit [Ping timeout: 256 seconds]
<jhass> Porfa: sounds like CSV? is it properly escaped?
<Porfa> hmmmm I'm storing the data on the DB, and i am joining it with (',') so it's my choice… can anyone suggest me another field separator? would it be too bad if i used TILDE as a field separator? or some weird character that i will never ever encounter during one of my scrappings
devoldmx has joined #ruby
<jhass> Porfa: uhm
<jhass> why don't you normalize it?
User458764 has joined #ruby
<jhass> make a table with the fields?
<jhass> or whatever
herbst has joined #ruby
<Porfa> oh i see.. so, a different table just to keep the product details, nice
<jhass> (I have no idea what JUG is btw)
favadi has quit [Ping timeout: 246 seconds]
<Porfa> JUG is a thing you put liquids in? or is it a MUG? ...
<[k-> a jug
<Porfa> i though MUG would be small JUG.
<[k-> both can be used
<Porfa> ok
<jhass> why do you capitalize it?
<jhass> makes it look like an acronym
<Porfa> because i was trying to be more… forget it, I'm just dumb i talk on IRC like i do in real life, sorry man :(
<Porfa> yeah
<jhass> you shout whenever you say jug?
Voker57 has joined #ruby
<[k-> use a non breaking space character, that'd be /fun/
Voker57 has quit [Changing host]
Voker57 has joined #ruby
<[k-> or a zero-width space, even
<TTilus> Porfa: how about you tell us what your app does
<TTilus> Porfa: and what does your db structure look like now
FrankD has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
gremax has quit [Quit: Lost terminal]
jenrzzz has quit [Ping timeout: 246 seconds]
<hectortrope> hey jhass
fullofcaffeine has joined #ruby
karapetyan has quit [Remote host closed the connection]
mark77 has joined #ruby
roshanavand has quit [Remote host closed the connection]
karapetyan has joined #ruby
<Porfa> jhass: yeah, i DO because when i say it people thing I'm drunk and try to get advantage on me
jokke- has joined #ruby
mr_blue has joined #ruby
<jhass> ...
<mr_blue> hi all
<jhass> glad I'm not in your office then :P
jokke- is now known as jokke
<Porfa> and i steal their wallets to get munnies, then i go into freelancer websites and get them to work on my rubbiez
<jhass> wait, you _are_ drunk right now, right?
<Porfa> i mean, i think i am because I'm considering using @ or even ^ as a field separator
Azure|dc has quit [Remote host closed the connection]
<[k-> too much info
fullofcaffeine has quit [Ping timeout: 240 seconds]
<[k-> why do you want to join the fields together?
<jhass> Porfa: that's the wrong approach
<[k-> to display?
<jhass> either properly normalize your data (google database normalization) or use a proper serialization (CSV, JSON, YAML)
<Porfa> because each of them will be inserted into a different field with selenium
<jhass> the former is most likely to prefer
<Porfa> ok
<Porfa> will do, thank you
karapetyan has quit [Ping timeout: 250 seconds]
PhantomS_ has quit []
bubbys has joined #ruby
ta has quit [Remote host closed the connection]
lguardiola has quit [Quit: ZNC - http://znc.in]
ndrei has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
shoutsid has quit [Ping timeout: 246 seconds]
TheWhip has joined #ruby
datanoise has joined #ruby
Motoservo has quit [Quit: Over & out.]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
Rickmasta has joined #ruby
astrobun_ has quit [Remote host closed the connection]
ndrei has joined #ruby
mr_blue has quit [Quit: leaving]
shoutsid has joined #ruby
waheedi_ has joined #ruby
datanoise has quit [Ping timeout: 255 seconds]
Peg-leg1 has quit [Quit: Leaving.]
waheedi has quit [Ping timeout: 264 seconds]
waheedi_ is now known as waheedi
subscope has joined #ruby
mark77 has quit [Ping timeout: 264 seconds]
roshanav_ has joined #ruby
karapetyan has joined #ruby
Skelz0r has quit [Ping timeout: 240 seconds]
krisquigley has joined #ruby
Azure has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
roshanavand has quit [Ping timeout: 256 seconds]
renderfu_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 250 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
nfk|laptop has quit [Read error: Connection reset by peer]
herbst has quit [Remote host closed the connection]
skade has joined #ruby
nfk|laptop has joined #ruby
karapetyan has quit [Remote host closed the connection]
renderfu_ has quit [Ping timeout: 260 seconds]
darkf_ has joined #ruby
User4587_ has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
FrankD has quit [Ping timeout: 240 seconds]
roshanav_ has quit [Read error: Connection reset by peer]
darkf has quit [Ping timeout: 246 seconds]
roshanavand has joined #ruby
ta has joined #ruby
darkxploit has quit [Ping timeout: 240 seconds]
darkf_ is now known as darkf
lalalaaa has quit [Quit: leaving]
ByronJohnson has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
blueOxigen has joined #ruby
krz has quit [Quit: WeeChat 1.2]
dionysus69 has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
Peg-leg has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdih has joined #ruby
karapetyan has joined #ruby
roshanavand has quit [Remote host closed the connection]
sdwrage has quit [Quit: This computer has gone to sleep]
jgt has quit [Ping timeout: 252 seconds]
Peg-leg has quit [Client Quit]
darkxploit has joined #ruby
jokke has quit [Ping timeout: 260 seconds]
ByronJohnson has joined #ruby
CloCkWeRX has joined #ruby
roshanavand has joined #ruby
karapetyan has quit [Remote host closed the connection]
norc has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
<norc> Why does "Module.is_a? Class" evaluate to true?
karapetyan has joined #ruby
<adaedra> Because Module is a Class
<adaedra> >> module Foo; end; Foo.class
<ruboto> adaedra # => Module (https://eval.in/446170)
jokke- has joined #ruby
fullofcaffeine has joined #ruby
<norc> And Class is also a Module...
<adaedra> `module Foo` is the same as `Foo = Module.new`
<[k-> stricter equality can be used using instance_of? i believe
<workmad3> norc: that's because Class is a subclass of Module
haraoka has quit [Remote host closed the connection]
<adaedra> &ri Class#instance_of?
<workmad3> >> Class.ancestors
krisquigley has joined #ruby
<ruboto> workmad3 # => [Class, Module, Object, Kernel, BasicObject] (https://eval.in/446171)
jellene4eva has quit []
<norc> How can Module be a class then?
<norc> Naively I would expect Module.new to fail.
<adaedra> Why?
<jhass> it's self referential at that point, yes
<jhass> &ri Module
phutchins has joined #ruby
<jhass> mmh, where was the diagram
<jhass> &ri Class
<jhass> there
<workmad3> norc: there's a couple of cycles in the dependency graph at the lowest levels in ruby, which get bootstrapped into existence in the interpreter with C
fullofcaffeine has quit [Ping timeout: 256 seconds]
Guest40271 has joined #ruby
ndrei has joined #ruby
<norc> workmad3: Alright. I was worried that I saw a circular dependency when there was none.
<norc> jhass: Oh yeah, that graph helps.
Pupeno has quit [Ping timeout: 246 seconds]
Guest40271 has quit [Client Quit]
shredding has joined #ruby
herbst has joined #ruby
rodfersou has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
shredding has quit [Client Quit]
ByronJohnson has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
ByronJohnson has joined #ruby
<[k-> they should make it clear that the arrow head ^ means inherited from
joonty has quit [Quit: joonty]
nateberkopec has joined #ruby
<[k-> i had a natural tendency to think that ^ meant inherits
giuseppesolinas has joined #ruby
rushed has quit [Quit: rushed]
Coldblackice_ has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
joonty has joined #ruby
shadoi has quit [Quit: Leaving.]
shredding has quit [Remote host closed the connection]
shoutsid has quit [Remote host closed the connection]
shredding has joined #ruby
pontiki has joined #ruby
<ljarvis> ...
<ljarvis> aren't those the same thing
DEA7TH has joined #ruby
User4587_ has quit [Ping timeout: 264 seconds]
<[k-> oh yea, i meant ... i have no idea
<pontiki> hi o/
<[k-> oh ^ means is the superclass of
bruno- has quit [Ping timeout: 246 seconds]
steeljav has joined #ruby
doddok has joined #ruby
shoutsid has joined #ruby
<workmad3> [k-: yeah, it uses an ascii representation of fairly standard UML diagrams there ;)
jgt has joined #ruby
<[k-> not everyone knows uml diagrams
cgfbee has quit [Ping timeout: 255 seconds]
<[k-> (i clearly show i don't)
<beast> Keep calm and code in Ruby
datanoise has joined #ruby
unshadow has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
cgfbee has joined #ruby
leo19 has quit [Ping timeout: 256 seconds]
joonty has quit [Quit: joonty]
waheedi has quit [Ping timeout: 252 seconds]
waheedi has joined #ruby
datanoise has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
TheTrueBrot has joined #ruby
arup_r has quit [Remote host closed the connection]
davedev24 has joined #ruby
darkxploit has quit [Ping timeout: 252 seconds]
shredding has quit [Ping timeout: 264 seconds]
TheTrueBrot has left #ruby ["Leaving"]
syath has joined #ruby
arup_r has joined #ruby
charliesome has joined #ruby
ndrei has quit [Ping timeout: 268 seconds]
arup_r has quit [Remote host closed the connection]
davedev2_ has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
Feyn has quit [Ping timeout: 264 seconds]
arup_r has joined #ruby
subscope has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
Spami has joined #ruby
Ilyes512 has joined #ruby
ldnunes has joined #ruby
darkxploit has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
JDiPierro has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
phutchins1 has joined #ruby
leo19 has joined #ruby
phutchins has quit [Read error: Connection reset by peer]
dionysus69 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
dionysus69 has joined #ruby
mdih has quit [Ping timeout: 250 seconds]
alienaut has quit [Ping timeout: 250 seconds]
_el_fer_ has joined #ruby
jokke- has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 260 seconds]
cfjk has joined #ruby
<norc> >> foo = []; def foo.bar; 1; end; foo.bar
<ruboto> norc # => 1 (https://eval.in/446179)
<norc> How does this work? Which class is bar being added to?
JDiPierro has quit [Remote host closed the connection]
<jhass> >> [].singleton_class
<ruboto> jhass # => #<Class:#<Array:0x4169c47c>> (https://eval.in/446182)
<jhass> this one
joonty has joined #ruby
<norc> Ah.
sdothum has joined #ruby
<norc> jhass: Awesome. I think I have been craving for something like this. :)
ndrei has joined #ruby
lkba has joined #ruby
jokke- has joined #ruby
<cfjk> hello. what is the best way to set instance variables dynamically? send("#{my_var}=", value)? instance_variable_set("@#{my_var}", value)? is there any other proper or correct way?
jgt has quit [Ping timeout: 240 seconds]
<jhass> the latter, the former just calls a method that may or not set an instance variable of the same name
<jhass> if you do that a lot, chances are you meant to use a hash instead
<workmad3> ^^
fullofcaffeine has joined #ruby
<cfjk> i have to add that all those variables are attr_accessor if that changes anything.
<apeiros> IMO even if you don't do it often (chances are that you want/should use a hash)
<cfjk> thank you.
rubybeginner has joined #ruby
tvw has quit [Remote host closed the connection]
<[k-> if those are attr_accessors already, use =
<jhass> [k-: why?
<apeiros> job security device through increase of abstraction
<[k-> he wants to mutate the value, no?
<apeiros> always a good move</sarcasm>
<[k-> myclass.my_already_attr_writeable = something
fullofcaffeine has quit [Ping timeout: 240 seconds]
<[k-> it is optimised in ruby and its clear and straight to the point
<jhass> so what's your argument for using the former over the latter?
<apeiros> ok, if they don't use ivar_set on self, then I'm onboard with using the accessor
cantaberry has quit []
<[k-> im not arguing for send
<apeiros> otherwise ivar_set > setter IMO
<[k-> im arguing for using the = directly
<apeiros> I guess you missed the question then
<apeiros> you know, the *dynamically* part ;-)
<jhass> [k-: how do you do that _dynamically_?
<[k-> welllllllll
skade has quit [Quit: Computer has gone to sleep.]
tk__ has joined #ruby
sirecote has quit [Quit: "Hang Up"]
<ddv> via magic
subscope has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
* apeiros hands ddv some pixie dust
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> I hear wizards sand helps with such problems too
<[k-> those are by far not the only ways tho *wink*
<apeiros> oh, sorcerer's sand
skade has joined #ruby
tvw has joined #ruby
<[k-> public_send (since attr_accessor), instance_eval, eval, etc
Trynemjoel has joined #ruby
shoutsid has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 246 seconds]
Kendos-Kenlen has quit [Quit: Konversation terminated!]
bruno- has joined #ruby
k3asd` has joined #ruby
Kendos-Kenlen has joined #ruby
apt-get has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
shoutsid has joined #ruby
shmoon_ has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
unshadow has quit [Ping timeout: 240 seconds]
jun has joined #ruby
hectortrope has quit [Remote host closed the connection]
jun has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
unshadow has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
s00pcan has joined #ruby
jun has joined #ruby
jgt has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
dhjondoh has joined #ruby
htmldrum has quit [Ping timeout: 256 seconds]
hectortrope has joined #ruby
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
Trynemjoel has joined #ruby
atmosx has joined #ruby
dhjondoh has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
jun has quit [Ping timeout: 246 seconds]
unshadow has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
krz has joined #ruby
unshadow has joined #ruby
ndrei has joined #ruby
sanjayu has quit [Ping timeout: 260 seconds]
krz has quit [Client Quit]
xcesariox has joined #ruby
hal_9000_ has joined #ruby
Ilyes512 has joined #ruby
krz has joined #ruby
bruno- has joined #ruby
codecop has quit [Remote host closed the connection]
UtkarshRay has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
renderfu_ has joined #ruby
icbm has joined #ruby
bruno- has joined #ruby
rdark has quit [Read error: Connection reset by peer]
TheWhip has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
renderfu_ has quit [Ping timeout: 244 seconds]
gusTester has joined #ruby
TheWhip has joined #ruby
TheWhip has quit [Remote host closed the connection]
<beast> Ruby Ruby Ruby...
ndrei has quit [Ping timeout: 240 seconds]
sgambino has joined #ruby
sdwrage has joined #ruby
alienaut has joined #ruby
bruno- has joined #ruby
roshanavand has quit [Remote host closed the connection]
<ddv> the song?
mwlang has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
Cyther has joined #ruby
leo19 has quit [Quit: Leaving]
apt-get has quit [Remote host closed the connection]
[k- has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
[k- has joined #ruby
evanjs has joined #ruby
bruno- has joined #ruby
roshanavand has quit [Remote host closed the connection]
dstarh has joined #ruby
<ddv> don't leave me hanging here
* adaedra cuts ddv's rope
bruno- has quit [Read error: Connection reset by peer]
<ddv> lol
karapetyan has joined #ruby
antgel has joined #ruby
UtkarshRay has joined #ruby
Voker57 has quit [Read error: Connection reset by peer]
patchedmonkey has joined #ruby
ndrei has joined #ruby
bruno- has joined #ruby
devoldmx has joined #ruby
davedev2_ has quit [Ping timeout: 246 seconds]
bruno- has quit [Read error: Connection reset by peer]
herbst has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
bruno- has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
amystephen has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
dorei has joined #ruby
arup_r_ has left #ruby [#ruby]
skweek has joined #ruby
pawnbox has quit [Remote host closed the connection]
joonty has joined #ruby
karapetyan has quit [Remote host closed the connection]
soc42 has quit [Remote host closed the connection]
Skelz0r has joined #ruby
e1senhorn has joined #ruby
bruno- has joined #ruby
greenarrow has joined #ruby
roshanavand has joined #ruby
tier has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
spcmastertim has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
umgrosscol has joined #ruby
ta has quit [Remote host closed the connection]
Voker57 has joined #ruby
Jackneill has joined #ruby
mist is now known as evilmist
bruno- has joined #ruby
`tim` has joined #ruby
krisquigley has quit [Remote host closed the connection]
blackmesa has joined #ruby
atomical has joined #ruby
freerobby has joined #ruby
krisquigley has joined #ruby
User458764 has joined #ruby
pawnbox has joined #ruby
evanjs has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
evilmist is now known as mist
Guest53 has joined #ruby
<odigity> rubydoc is down (503 error): http://www.rubydoc.info/
<pontiki> try ruby-doc.org
ericjphillips has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
chthon has quit [Ping timeout: 244 seconds]
dhjondoh has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
User458764 has quit [Ping timeout: 246 seconds]
<odigity> ruby-doc.org is doing fine, but that's fore ruby core/stdlib, not gems.
S_Walker has joined #ruby
<adaedra> odigity: can happens on some pages. Try to get to the page of the gem you want directly.
<odigity> adaedra, I tried the home page. the whole site is down.
<odigity> wait, now it's back
<adaedra> Works for me.
ndrei has quit [Remote host closed the connection]
<odigity> was down two min ago. guess it's fixed
ndrst has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
<[k-> the world temporary ended, when a gem died
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
UtkarshRay has joined #ruby
TheWhip has joined #ruby
datanoise has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
gizmore has joined #ruby
dstarh has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
newdan has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
bruno- has joined #ruby
trautwein has joined #ruby
datanoise has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
<shevy> your face ended!
bruno- has quit [Read error: Connection reset by peer]
bkulbida has joined #ruby
trautwei_ has quit [Ping timeout: 252 seconds]
techsethi has quit [Quit: techsethi]
<platzhirsch> hello madames and sirs
<platzhirsch> as it happens, I am now a Node developer
<certainty> shevy: lol, that was unexpected
<platzhirsch> Announcement complete
wottam has quit [Ping timeout: 260 seconds]
bruno- has joined #ruby
<shevy> platzhirsch damn
<certainty> you have my condolence
<platzhirsch> shevy: I know, this came unexpected
<shevy> rename pending to "nodehirsch"
<certainty> hürsch?
chthon has joined #ruby
nfk|laptop has quit [Remote host closed the connection]
blackmesa has joined #ruby
casadei has joined #ruby
jgpawletko has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
nfk|laptop has joined #ruby
<platzhirsch> yorickpeterse: can you paste your "Emoji"
<platzhirsch> I can't find it
dhjondoh has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
bruno- has joined #ruby
<[k-> —/(0>0)_\
<[k-> i think it looks like this, somewhat
devdazed has joined #ruby
<adaedra> ᕕ( ᐛ )ᕗ
pawnbox has quit [Ping timeout: 246 seconds]
Ankhers has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Ankhers has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
mike___1234 has quit [Quit: Leaving]
davispuh has joined #ruby
<platzhirsch> thanks
bruno- has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
Ankhers has quit [Client Quit]
Ankhers has joined #ruby
InternetFriend has joined #ruby
marr has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
fullofcaffeine has joined #ruby
techsethi has joined #ruby
balazs_ has joined #ruby
Ankhers has quit [Client Quit]
Ankhers has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
tk__ has quit [Quit: ばいばい]
krisquigley has quit [Ping timeout: 244 seconds]
whippythellama has joined #ruby
ponga has joined #ruby
kobain has joined #ruby
fullofcaffeine has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
tkuchiki has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
balazs_ has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
sanguisdex has joined #ruby
sanguisdex has quit [Remote host closed the connection]
ericjphillips has quit [Quit: Leaving.]
bruno- has joined #ruby
lkba has joined #ruby
CloCkWeRX has joined #ruby
wharr_ has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
tagrudev has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
sankaber has joined #ruby
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pwnd_nfsw has quit [Ping timeout: 246 seconds]
__chris has joined #ruby
naztharune has joined #ruby
balazs_ has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
DoubleMalt has quit [Ping timeout: 246 seconds]
techsethi has quit [Ping timeout: 272 seconds]
antgel has joined #ruby
TheWhip has quit [Read error: Connection reset by peer]
TheWhip has joined #ruby
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
ksteck has joined #ruby
Motoservo has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shoutsid has quit [Remote host closed the connection]
<moty66> what do you recommend to use Apache2 or nginx to deploy a rails app on a 2 core server and 2GB of ram? my app uses about 100MB of ram for each process and I expect t oget 1K users each day
pwnd_nfsw has joined #ruby
Timba-as_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Timba-as has quit [Ping timeout: 268 seconds]
shoutsid has joined #ruby
PierreRambaud has quit [Remote host closed the connection]
norc has quit [Ping timeout: 246 seconds]
<apeiros> moty66: 1k users is "low traffic". either should handle it easily.
<apeiros> (1k/d)
<moty66> yes, I don't expect to get lot of traffic
DoubleMalt has joined #ruby
<[k-> that is like a slap in the face
<[k-> poor moty66
<moty66> [k-: 1K is good enough for me :D
beauby has joined #ruby
User458764 has joined #ruby
Rodya_ has joined #ruby
axl_ has joined #ruby
Ankhers has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bruno- has joined #ruby
<moty66> so apache2 and passenger is a good idea?
Ankhers has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
p0wn3d_ has joined #ruby
chrissonar has quit [Remote host closed the connection]
tkuchiki has joined #ruby
sankaber has quit [Remote host closed the connection]
<apeiros> moty66: it works well, yes
<apeiros> [k-: I don't think that's a slap in the face
sankaber has joined #ruby
<apeiros> 1K/d is more than many sites will get
codeurge has joined #ruby
krisquigley has joined #ruby
nfk|laptop has quit [Quit: yawn]
InternetFriend has joined #ruby
<[k-> i wouldn't know, i wouldn't know
shmoon_ has quit [Quit: Connection closed for inactivity]
simplyianm has joined #ruby
Rickmasta has joined #ruby
<apeiros> your face would know
rdark has joined #ruby
<moty66> it also depend on how much each single user pay for your service
marr has joined #ruby
<[k-> your face is a joke!
<moty66> my customers pay 1024€ each day to use my app
* moty66 is kidding
evanjs has joined #ruby
niftylettuce has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
davispuh has quit [Ping timeout: 256 seconds]
jtperreault has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
based_pdev_ has quit [Read error: Connection reset by peer]
WizJin has joined #ruby
auzty has quit [Remote host closed the connection]
karapetyan has joined #ruby
victortyau has joined #ruby
based_pdev has joined #ruby
riotjones has quit [Remote host closed the connection]
ndrei has joined #ruby
decoponio has joined #ruby
skweek has quit [Remote host closed the connection]
jokke- has quit [Ping timeout: 264 seconds]
davedev24 has quit []
chthon has quit [Remote host closed the connection]
pawnbox has joined #ruby
sanguisdex has joined #ruby
patrick_star has quit [Ping timeout: 250 seconds]
darkxploit has quit [Ping timeout: 240 seconds]
davispuh has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
eminencehc has joined #ruby
David27 has joined #ruby
trautwein has quit [Ping timeout: 268 seconds]
ndrei has quit [Ping timeout: 246 seconds]
podman has joined #ruby
noethics has joined #ruby
arup_r has joined #ruby
beauby has quit [Ping timeout: 265 seconds]
atomical has quit [Read error: Connection reset by peer]
atomical_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
r00t_ has joined #ruby
ndrei has joined #ruby
<slash_nick> moty66: bitcoin trading site?
dionysus69 has quit [Ping timeout: 264 seconds]
<moty66> no, it is a speakers site, it was really kidding
<slash_nick> me too :)
KnownSyntax_ has joined #ruby
HammyJammy has joined #ruby
nertzy3 has joined #ruby
alienaut has quit [Remote host closed the connection]
tercenya_ has joined #ruby
JDiPierr_ has joined #ruby
Voker57 has quit []
bubbys has quit [Ping timeout: 240 seconds]
face has joined #ruby
doddok has quit [Ping timeout: 256 seconds]
codeurge has quit [Read error: Connection reset by peer]
JDiPierro has quit [Read error: Connection reset by peer]
faces has quit [Read error: Connection reset by peer]
Kharma has quit [Read error: Connection reset by peer]
flyinprogrammer has quit [Ping timeout: 265 seconds]
leafybasil has joined #ruby
Kharma has joined #ruby
Kharma has quit [Changing host]
Kharma has joined #ruby
Scient has quit [Ping timeout: 265 seconds]
Sigma00 has quit [Ping timeout: 265 seconds]
kurzweil has quit [Ping timeout: 265 seconds]
nitrix has quit [Ping timeout: 265 seconds]
absolutejam has quit [Ping timeout: 265 seconds]
amoeba_ has quit [Ping timeout: 265 seconds]
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
claw has quit [Remote host closed the connection]
KnownSyntax has quit [Read error: Connection reset by peer]
shortdudey123 has quit [Excess Flood]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
last_staff has quit [Quit: last_staff]
darkxploit has joined #ruby
roshanavand has joined #ruby
JammyHammy has quit [Ping timeout: 265 seconds]
nertzy2 has quit [Ping timeout: 265 seconds]
Eiam has quit [Ping timeout: 265 seconds]
Antiarc has joined #ruby
m4rCsi has joined #ruby
absolutejam has joined #ruby
shortdudey123 has joined #ruby
Sigma00 has joined #ruby
devoldmx has joined #ruby
Scient has joined #ruby
doddok has joined #ruby
kurzweil has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
tercenya has quit [Ping timeout: 265 seconds]
amoeba` has joined #ruby
claw has joined #ruby
roshanavand has quit [Remote host closed the connection]
xcesariox has joined #ruby
patrick_star has joined #ruby
<yorickpeterse> platzhirsch: ᕕ(ᐛ)ᕗ
<platzhirsch> thanks
fullofcaffeine has quit [Ping timeout: 246 seconds]
maikowblue has joined #ruby
leafybas_ has joined #ruby
tjohnson has joined #ruby
devoldmx has quit [Ping timeout: 265 seconds]
leafybasil has quit [Ping timeout: 265 seconds]
fullofcaffeine has joined #ruby
baroquebobcat has joined #ruby
Puffball has quit [Ping timeout: 265 seconds]
Puffball has joined #ruby
Guest6328 has joined #ruby
eminencehc has quit [Remote host closed the connection]
DmitryBochkarev has joined #ruby
erasmus has joined #ruby
lxsameer has quit [Quit: Leaving]
eminencehc has joined #ruby
simplyianm has quit [Remote host closed the connection]
atomical_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
atomical has joined #ruby
Pupp3tm4st3r has joined #ruby
mary5030 has joined #ruby
Rollabunna has quit [Quit: Leaving...]
CloCkWeRX has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
bubbys has joined #ruby
fedexo has joined #ruby
trautwein has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
InternetFriend has joined #ruby
Voker57 has joined #ruby
cantaberry has joined #ruby
Alayde has joined #ruby
p0wn3d_ has quit [Ping timeout: 255 seconds]
fullofcaffeine has quit [Ping timeout: 250 seconds]
p0wn3d_ has joined #ruby
rippa has joined #ruby
astrobunny has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: Leaving]
Jardayn has joined #ruby
joonty has joined #ruby
roshanavand has joined #ruby
datanoise has joined #ruby
tier_ has joined #ruby
The_Phoenix has joined #ruby
fullofcaffeine has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier has quit [Ping timeout: 244 seconds]
apt-get has joined #ruby
Pisuke has quit [Quit: WeeChat 1.4-dev]
jas02 has quit [Quit: jas02]
karapetyan has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
tynamite___ has joined #ruby
InternetFriend has joined #ruby
subscope has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has quit [Ping timeout: 268 seconds]
Pupeno_ has joined #ruby
snockerton has joined #ruby
asxbr has joined #ruby
mark3 has left #ruby ["PART ##javascript :PART #RubyOnRails :PART #debian :PART #elixir-lang :PART #git :PART #mysql :PART #nethunter :PART #zsh :PONG :barjavel.freenode.net"]
roshanavand has joined #ruby
CVTJNII has quit [Ping timeout: 272 seconds]
jokke- has joined #ruby
ndrei has joined #ruby
eGGsha has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
Pupeno__ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cfjk has quit [Remote host closed the connection]
areologist has joined #ruby
BrazenBraden has quit [Quit: Leaving]
<areologist> Anyone using the Atom editor for Ruby?
<tynamite___> I prefer sublime text. Microsoft forked Atom to make their own code editor.
Pupeno__ has quit [Remote host closed the connection]
subscope has joined #ruby
Pupeno_ has quit [Ping timeout: 250 seconds]
haylon has joined #ruby
infernix has quit [Ping timeout: 250 seconds]
Pupp3tm4st3r has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
<areologist> thx
riotjones has joined #ruby
bazbing80 has joined #ruby
areologist has quit [Quit: Leaving]
CVTJNII has joined #ruby
lenwood has joined #ruby
yardenbar has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
bl0ndie has joined #ruby
naztharune has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
TheWhip has quit [Ping timeout: 244 seconds]
ngscheurich has joined #ruby
tomchapin has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
ItSANgo has quit [Quit: Leaving...]
<bazbing80> class Awesome; def self.go; puts 'class go'; end; def go; puts 'instance go!' end; end;
The_Phoenix has quit [Read error: Connection reset by peer]
<bazbing80> I can unbind #go with Awesome.new.instance_method(:go) How can I unbind self.go?
bl0ndie has quit [Ping timeout: 256 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zamyatin has joined #ruby
<[k-> what are you trying to achieve?
erasmus has quit [Read error: Connection reset by peer]
<bazbing80> im thinking of making a mocking framework but im not sure how to store the old method in order to reinstate it.
<bazbing80> Awesome (unbound)#go()
<bazbing80> love to be able to get that unbound method for .go
s00pcan_ has joined #ruby
wallerdev has joined #ruby
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<darix> bazbing80: because we do not have enough mocking frameworks yet?
snockerton has quit [Quit: Leaving.]
<[k-> you could try accessing the singleton class of Awesome
The_Phoenix has joined #ruby
psy_ has joined #ruby
<bazbing80> darix: that's the spirit!
<bazbing80> [k-: yeah im trying that
psy_ has quit [Max SendQ exceeded]
<bazbing80> should work..
psy_ has joined #ruby
<[k-> ah, it's singleton_method
<[k-> a quick look through the docs help
<[k-> try that next time :)
nfk has joined #ruby
<[k-> >> Math.singleton_method(:sin)
<ruboto> [k- # => #<Method: Math.sin> (https://eval.in/446284)
erasmus has joined #ruby
jgt has joined #ruby
s00pcan_ has quit [Ping timeout: 250 seconds]
<gregf__> >> class Foo; def bar; puts "Bar";end;end; Foo.instance_method(:bar)
<ruboto> gregf__ # => #<UnboundMethod: Foo#bar> (https://eval.in/446285)
bayed has joined #ruby
jpfuentes2 has joined #ruby
<gregf__> [k-: that says unbound method. why does what you;ve done not show it as an unbound method?
<[k-> method will give you a bound method, instance_method will give you an unbound method
<[k-> instance_method is actually defined in Module
<gregf__> but unbind from what :|. a class is the parent of everything
<[k-> whereas singleton_method, public_method and method is defined in Object
<[k-> it is unbounded from the class Foo
<gregf__> ok, fair enough. the reason i asked it was. bazbing80 wanted an unbound class method
dfockler has joined #ruby
ItSANgo has joined #ruby
<bazbing80> yeah I'm wondering if there's a difference?
<[k-> well, your question wasn't clear then :>
bruno- has quit [Ping timeout: 260 seconds]
<[k-> there is a difference, that's why they are separate classes!
<bazbing80> I mean a class method is still "bound" to that class? If I understand the meaning of "bound"?
sheperson has joined #ruby
<sheperson> Hi
<[k-> yes, that means the context, the jungle, the bananas are located in the Method object
<[k-> everything that the method requires will be in the closure of a Method
<[k-> i dont think that holds true for UnboundMethods
<[k-> let me check
jgt has quit [Ping timeout: 256 seconds]
<bazbing80> [k-: is it possible to have an unbound class method? thanks for checking
<[k-> ah, you can also create a UnboundMethod by calling unbind on the Method object
<[k-> >> Math.singleton_method(:sin).unbind
<ruboto> [k- # => #<UnboundMethod: #<Class:Math>#sin> (https://eval.in/446292)
dravine has quit [Ping timeout: 260 seconds]
<bazbing80> ahhhhhh
<bazbing80> nice, thankyou very much let's try this out :)
<bazbing80> that was an ahh of enlightenment, not fear
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
<[k-> note that you can only bind methods to instances which are kind_of? the class
[Butch] has joined #ruby
<[k-> that means the class of the instance must be either the class of the Method, or any derived classes only
<[k-> no other instances of other classes are allowed
<bazbing80> yes I see...that should be fine
inteq has joined #ruby
dagda1 has joined #ruby
<bazbing80> oh hold on, you say bind to instances? Can't bind to uninitialized classes?
fullofca_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 250 seconds]
<[k-> i believe you can
wallerdev has quit [Quit: wallerdev]
WellSaggy has joined #ruby
<[k-> >> Math.singleton_method(:sin).unbind.bind(Math).call(67)
<ruboto> [k- # => -0.8555199789753223 (https://eval.in/446301)
jokke| has joined #ruby
rodfersou is now known as rodfersou|lunch
tkuchiki has joined #ruby
<bazbing80> [k-: seems good :) thanks again...I'll muck about in pry
<[k-> to define a method on a class, you probably need define_method
freerobby has quit [Quit: Leaving.]
tkuchiki has quit [Remote host closed the connection]
jokke| is now known as jokke
jokke- has quit [Ping timeout: 250 seconds]
renderf__ has joined #ruby
jokke has quit [Disconnected by services]
Peg-leg has joined #ruby
Peg-leg has quit [Client Quit]
tkuchiki has joined #ruby
jokke- has joined #ruby
subscope has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
treehug88 has joined #ruby
symm- has quit [Quit: Leaving...]
<WellSaggy> up yours
<WellSaggy> @
<havenwood> !kick WellSaggy Be polite.
WellSaggy was kicked from #ruby by ruboto [Be polite.]
<tynamite___> I would have ignored the troll.
Rutix has joined #ruby
Rutix has joined #ruby
agit0 has quit [Quit: This computer has gone to sleep]
<haylon> Better to kick before it just gets out of hand
roshanavand has quit [Remote host closed the connection]
<[k-> you will have to take this to #ruby-community
bb010g has quit [Quit: Connection closed for inactivity]
<adaedra> Bring what
<tynamite___> drama
<havenwood> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
aquiles has joined #ruby
nKulo has joined #ruby
G186 has joined #ruby
G186 has quit [Excess Flood]
dopie has joined #ruby
bricker has joined #ruby
G186 has joined #ruby
G186 has quit [Client Quit]
rcvalle has joined #ruby
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has joined #ruby
atomical_ has joined #ruby
joonty has quit [Quit: joonty]
Kendos-Kenlen has quit [Ping timeout: 250 seconds]
Pupeno has quit [Ping timeout: 264 seconds]
asxbr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adac has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
<jhass> it came through the first time
DmitryBochkarev has quit [Ping timeout: 250 seconds]
senayar has quit []
shoutsid has quit [Ping timeout: 256 seconds]
atomical has quit [Ping timeout: 255 seconds]
amclain has joined #ruby
salmon42 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
atomical has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ta has quit [Ping timeout: 252 seconds]
towski_ has joined #ruby
krisquigley has joined #ruby
atomical_ has quit [Ping timeout: 255 seconds]
inanepenguin has joined #ruby
snockerton has joined #ruby
InternetFriend has joined #ruby
Rodya_ has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
DmitryBochkarev has joined #ruby
freerobby has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
aquiles has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
karapetyan has joined #ruby
skweek has joined #ruby
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
Timba-as_ has quit [Quit: Be back later ...]
DexterLB has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
jokke| has joined #ruby
<arup_r> How can I refactor my method using ternary operator https://gist.github.com/aruprakshit/e194aa4f719175a6e662
<arup_r> advise please
<arup_r> it seems ugly
mary5030 has quit [Remote host closed the connection]
p0wn3d_ has quit [Ping timeout: 272 seconds]
<jhass> yes you're using ternary for control flow
pocketprotector2 has joined #ruby
<jhass> that's usually ugly
jokke| is now known as jokke
ndrei has quit [Ping timeout: 246 seconds]
zenguy_pc has quit [Ping timeout: 246 seconds]
Pupeno_ has joined #ruby
<treehug88> he means how can I refactor this code that's currently using ternary operator. I read it the other way first, too
<treehug88> use if/then
mary5030 has joined #ruby
<jhass> if/else
grenierm has joined #ruby
fullofca_ has quit [Ping timeout: 268 seconds]
fullofcaffeine has joined #ruby
<treehug88> ++
JDiPierr_ has quit [Remote host closed the connection]
Pupeno_ has quit [Read error: Connection reset by peer]
jokke- has quit [Ping timeout: 256 seconds]
Pupeno_ has joined #ruby
greenarrow has quit [Quit: Textual IRC Client: www.textualapp.com]
<arup_r> ok. No shortcut. Humm
tkuchiki has joined #ruby
Bukowski has joined #ruby
<arup_r> if exist delete..otherwise add.
<Bukowski> Hey everyone, where's the triviabot here?
mary5030 has quit [Read error: Connection reset by peer]
stan has quit [Ping timeout: 246 seconds]
Guest53 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
DexterLB has joined #ruby
Pupeno has quit [Ping timeout: 272 seconds]
Pupeno_ has quit [Read error: Connection reset by peer]
sagax has joined #ruby
<sagax> hi all
<Bukowski> Hey Sagax
Pupeno has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
RobertBirnie has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bukowski has left #ruby [#ruby]
vondruch_ has quit [Quit: Ex-Chat]
p0wn3d_ has joined #ruby
baweaver has joined #ruby
simplyianm has joined #ruby
riotjones has joined #ruby
Kendos-Kenlen has joined #ruby
dravine has joined #ruby
queequeg1 has quit [Ping timeout: 255 seconds]
gguggi has joined #ruby
DoubleMalt has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
queequeg1 has joined #ruby
pandaant has quit [Remote host closed the connection]
bubbys has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 250 seconds]
shoutsid has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
zenguy_pc has joined #ruby
fullofcaffeine has joined #ruby
<[k-> ?facts
<ruboto> I don't know anything about facts
<[k-> ?factoids
<ruboto> you can find an overview of the factoids I know about at http://ruby-community.com/ruboto/facts
tuxero has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<slash_nick> arup_r: you could `params[:asset_id].in?(session[:shared_items]) and session[:shared_items].delete(params[:asset_id]) or session[:shared_items] << params[:asset_id]`
<jhass> ugh, please don't
<[k-> such line
<[k-> why would i even read it
<[k-> >> %%params[:asset_id].in?(session[:shared_items]) and session[:shared_items].delete(params[:asset_id]) or session[:shared_items] << params[:asset_id]%.length
<ruboto> [k- # => 145 (https://eval.in/446361)
tynamite___ has left #ruby [#ruby]
<adaedra> That's awesome
Ilyes512 has joined #ruby
<adaedra> Awesomely disgusting
<[k-> oh, a burn
wallerdev has quit [Quit: wallerdev]
BTRE has quit [Quit: Leaving]
<slash_nick> "lipstick on a pig"
datanoise has quit [Ping timeout: 244 seconds]
<[k-> hue hue hue
<slash_nick> jhass: i figured if you didn't like using a ternary for control flow, you'd prefer using the control flow operators or whatever they're called
<[k-> what a nice expression
<jhass> no, I prefer if/else
<[k-> did you know that in Agda, if then else is a library function
<slash_nick> [k-: "you can paint gold wings on a piece of shit, but that won't make it fly"
aquiles has joined #ruby
<[k-> not a built in
vondruch has joined #ruby
<[k-> that is too vulgur
blackmesa has joined #ruby
<[k-> and not a nice expression
<apeiros> and/or aren't control flow
<slash_nick> [k-: i'm sorry
dagda1_ has joined #ruby
<arup_r> I went with if/else.. `? :` was a freaking code.. hehehe
<[k-> i wasn't upset
amclain_ has joined #ruby
<[k-> apeiros why are they not?
grenierm has quit [Quit: grenierm]
<[k-> what are they then?
amclain_ has quit [Read error: Connection reset by peer]
krisquigley has quit [Remote host closed the connection]
<eam> anything flies given enough kinetic energy
<slash_nick> where the hell are the documented? google finds nothing but SO and blog posts
<apeiros> they are logic/logical operators
<slash_nick> apeiros: like && and ||?
<apeiros> yes. with different precedence.
<[k-> avdi suggested to use them for control flow
<eam> apeiros: and/or can do control flow
<apeiros> I guess I disagree with avdi there.
<eam> you can write any ?: as and/or
TheWhip has joined #ruby
<apeiros> eam yes, just like ternary can.
<slash_nick> apeiros: and the other bloggers :/ i know they have different precedence (aren't aliases of each other)
<eam> and/or/not are buggy in ruby though
<apeiros> in what way? o0
<eam> >> [true and false]
dmolina has quit [Quit: Leaving.]
<ruboto> eam # => /tmp/execpad-7b322bcbbbad/source-7b322bcbbbad:2: syntax error, unexpected keyword_and, expecting ']' ...check link for more (https://eval.in/446362)
<slash_nick> eam: when you sub them in for && and ||
<eam> parser is busted
gregf has quit [Quit: WeeChat 1.3]
<apeiros> interesting
amclain has quit [Ping timeout: 265 seconds]
<slash_nick> >> [[true and true], [false and false]]
<ruboto> slash_nick # => /tmp/execpad-f0e908f646f7/source-f0e908f646f7:2: syntax error, unexpected keyword_and, expecting ']' ...check link for more (https://eval.in/446364)
eminencehc has quit [Remote host closed the connection]
<eam> apeiros: remember back when I was commenting on how absolutely ugly the ruby parser was? I was investigating fixing this
<slash_nick> eam: whelp... that is weird
blackmesa has quit [Ping timeout: 250 seconds]
ericjphillips has joined #ruby
<eam> def f(x);x;end;"f(true)!f(not true)!f((not true))!f not true!f (not true)".split(?!).map { |exp| begin; eval exp; rescue Exception; "busted: "+exp;end }
<eam> er
<eam> >> def f(x);x;end;"f(true)!f(not true)!f((not true))!f not true!f (not true)".split(?!).map { |exp| begin; eval exp; rescue Exception; "busted: "+exp;end }
<ruboto> eam # => [true, "busted: f(not true)", false, "busted: f not true", false] (https://eval.in/446366)
<slash_nick> >> { foo: true and false } rescue { foo: (true and false) }
<ruboto> slash_nick # => /tmp/execpad-3a4482455afd/source-3a4482455afd:2: syntax error, unexpected keyword_and, expecting '}' ...check link for more (https://eval.in/446367)
devoldmx has joined #ruby
<eam> "not true" invokes the same parser bug as "true and false"
<slash_nick> parens work
<eam> slash_nick: only kinda
<eam> function parens don't work
<eam> f((x)) works
<eam> f(x) doesn't
<slash_nick> >> [(true and false)]
<ruboto> slash_nick # => [false] (https://eval.in/446368)
<eam> f (x) does :)
<User458764> Hi, how do you refer to the instance in class definition?
<jhass> self
<eam> >>def f(x); x; end; f (true and false)
<ruboto> eam # => false (https://eval.in/446369)
<eam> >>def f(x); x; end; f(true and false)
<ruboto> eam # => /tmp/execpad-fe3461104202/source-fe3461104202:2: syntax error, unexpected keyword_and, expecting ')' ...check link for more (https://eval.in/446370)
<User458764> jhass like the class strange
<slash_nick> eam: onoes.
<eam> slash_nick: f (x) is parsed as f((x))
gregf has joined #ruby
<eam> ruby's parser :(
<apeiros> eam: don't really remember. but I remember whitequark's woes
<apeiros> and I have no difficulty imagining that ruby's parser is horribly complex
<eam> anyway that's why I avoid and/or/not in ruby, because I keep hitting these weird parse issues
<eam> apeiros: it's roughly 10x the size of perl's, if that gives any indication
<[k-> yea, the parser is just weird
<[k-> got caught a few times :(
jenrzzz has joined #ruby
kobain has quit [Read error: Connection reset by peer]
<apeiros> eam: heh, ouch
<workmad3> eam: how does it compare to a C++ parser? :)
<apeiros> you're coming from perl? explains why you like and/or for control flow, I guess :D
<eam> thing() or raise "omg"
devoldmx has quit [Ping timeout: 240 seconds]
<apeiros> workmad3: does C++ support trigraphs like C?
Eiam has joined #ruby
<eam> workmad3: no clue
<workmad3> apeiros: probably
<eam> to be fair no one builds with trigraph support
<workmad3> apeiros: a quick check seems to indicate 'yes', as the C++ standard has basically imported a large chunk of the C standard there
<treehug88> " In C++17, trigraphs wlil be removed but digraphs will remain."
stamina has quit [Quit: WeeChat 1.3]
ta has joined #ruby
Ilyes512 has quit [Quit: Textual IRC Client: www.textualapp.com]
<eam> I wonder if C++17 will simply not be able to include C headers with trigraphs then (I'm sure there aren't any, because everyone -Wno-trigraphs anyway)
_djbkd has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<EdwardIII> how come "people.each do |p|"? why not "people.each do p"?
<apeiros> EdwardIII: because the former is valid, the latter isn't
<eam> huh, acutally trigraphs are already disabled by default in gcc
<eam> for C
<workmad3> EdwardIII: because | is the ruby syntax for block parameters
<apeiros> or well, the latter is valid too, but then you don't get a block param.
tkuchiki has quit [Remote host closed the connection]
<EdwardIII> you know what seems weird? is that there's two of them
rakm has joined #ruby
<EdwardIII> this is my first time poking around in ruby, but i've done a lot of python/php/c# etc
jokke has quit [Disconnected by services]
hanmac has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: Leaving...]
jokke- has joined #ruby
_djbkd has quit [Ping timeout: 240 seconds]
petricore has joined #ruby
<EdwardIII> the equivalent is js would be people.each(function(p){ p.something }); right?
skade has joined #ruby
<apeiros> almost, yes
<EdwardIII> mmm almost? how does it differ?
<apeiros> the difference being that in js it's an ordinary argument, while in ruby you can only have one of the special block syntax args
last_staff has joined #ruby
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<EdwardIII> hmm
<apeiros> you can do people.custom_each(->(p) { p.something }) in ruby too, though. which would be an ordinary argument as well.
symm- has joined #ruby
null_ref has quit []
firstdayonthejob has joined #ruby
<EdwardIII> so what's the design idea behind ||?
NeverDie has quit [Quit: http://radiux.io/]
<apeiros> it delimits the arguments of the block
salmon42 has quit [Quit: salmon42]
<EdwardIII> visually?
<workmad3> EdwardIII: no, syntactically
<apeiros> syntactically. but I guess it gives a nice visual effect too.
kp666 has quit [Quit: Leaving]
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<EdwardIII> i'm just curious that's all
dagda1 has joined #ruby
<EdwardIII> like, what else could be there if not an argument? how come the parser just can't assume "everything after do but before \n means a block argument?"
eminencehc has joined #ruby
<workmad3> EdwardIII: because '[1,2].each do p "hi" end' is valid
<apeiros> the fact that the \n is not required
<EdwardIII> ahhh ok
chipotle has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
<workmad3> EdwardIII: or '.each { ... }' as well... the same || syntax for args is used for both do/end and {} blocks :)
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Trynemjoel has quit [Ping timeout: 264 seconds]
ta has quit [Remote host closed the connection]
<EdwardIII> right, got it
inanepenguin has quit [Quit: inanepenguin]
Trynemjoel has joined #ruby
<EdwardIII> workmad3: what's the p in this? [1,2].each do p "hi" end
datanoise has joined #ruby
InternetFriend has joined #ruby
kobain has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
<[k-> this is the same case in haskell, \x -> x...
<[k-> and in coffeescript x => x
<[k-> and in java 8
DmitryBochkarev has quit [Quit: Leaving]
<jhass> &ri Kernel#p
inanepenguin has joined #ruby
nonnatus has joined #ruby
<[k-> the arguments in the block are actually optional
<EdwardIII> but not like python lambda? f = lambda x: x**2 + 2*x - 5
_djbkd has joined #ruby
n008f4g_ has joined #ruby
<[k-> it is the same, : separates the x as the argument
<[k-> >> (proc do |optional_arg| 1 end).call()
<ruboto> [k- # => 1 (https://eval.in/446411)
adac has joined #ruby
<[k-> you notice that i did not supply an argument to .call()
<apeiros> >> f = lambda { |x| x**2 + 2*x - 5 }; f.call(10)
<ruboto> apeiros # => 115 (https://eval.in/446412)
<[k-> >> (lambda do |optional_arg| 1 end).call()
<ruboto> [k- # => wrong number of arguments (0 for 1) (ArgumentError) ...check link for more (https://eval.in/446413)
<[k-> this changes when you use a lambda
<EdwardIII> hmm but then i'd expect to see their names here: https://gist.github.com/EdwardIII/17291e0bb94080b555dc
<[k-> p is a method
Guest53 has joined #ruby
<[k-> you are calling it without an argument
hanmac has joined #ruby
Soda has joined #ruby
<[k-> i think that results in a newline printed or something
<[k-> and it will return nil
<EdwardIII> right
<[k-> puts will then print nil
<jhass> p(puts(p()))
gizmore has joined #ruby
tomchapin has quit [Remote host closed the connection]
<[k-> let me show you Something
<EdwardIII> hmm hang on is p() some built-in ruby thing?
<jhass> it's a method
<jhass> see the link above
<EdwardIII> ah, i didn't realise
<jhass> it's similar to puts but calling inspect on the argument and returning it instead of nil
<eam> >> p = :p; p p p p p p p p p
<ruboto> eam # => :p ...check link for more (https://eval.in/446416)
<jhass> eam: not sure if helpful at this point :p
<eam> :p
inanepenguin has quit [Quit: inanepenguin]
<EdwardIII> i think i've got it
<EdwardIII> i just wanted to understand it a bit better rather than just slavishly writing it
inanepenguin has joined #ruby
subscope has joined #ruby
pharaoh2 has joined #ruby
towski_ has quit [Ping timeout: 264 seconds]
<EdwardIII> whenever i've seen blocks being used in ruby, they use the magic $_ to handle that job, right? like my @doubles = map {$_ * 2} @numbers;
<EdwardIII> so a ruby block is kinda like that but with a proper name, not magic?
s2013 has joined #ruby
towski_ has joined #ruby
<EdwardIII> er sorry heh
<EdwardIII> whenever i've seen blocks being used in perl
the_drow has quit [Ping timeout: 246 seconds]
roshanavand has joined #ruby
leat has quit [Ping timeout: 264 seconds]
eminencehc has quit [Remote host closed the connection]
<eam> EdwardIII: yes, and more to the point it's really @_ in perl
blaxter has quit [Quit: foo]
<eam> which is the equivilent of def f(*args) in ruby
hooper has joined #ruby
hooper has quit [Max SendQ exceeded]
<EdwardIII> neat ok got it
<EdwardIII> thanks chaps
vdamewood has quit [Quit: Life beckons.]
hooper has joined #ruby
hooper has quit [Max SendQ exceeded]
hooper has joined #ruby
leat has joined #ruby
<eam> because in perl you're write map() like sub mymap(&@) { my ($func, @list) = @_; $func->($_) for @list # so $_ is set }
roshanavand has quit [Ping timeout: 240 seconds]
<eam> || is a nice way to structure the my (named args) = @_ boilerplate that perl has
darkf has quit [Quit: Leaving]
pocketprotector2 has quit [Quit: Konversation terminated!]
eminencehc has joined #ruby
<eam> (and yeah that perl example doesn't work since I did for ...)
billylinder has joined #ruby
sheperson has quit [Quit: sheperson]
Axy has joined #ruby
riotjones has joined #ruby
postmodern has joined #ruby
ladmin has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
ladmin is now known as pocketprotector[
RegulationD has quit [Remote host closed the connection]
icbm has quit [Quit: Leaving]
Trynemjoel has quit [Ping timeout: 250 seconds]
kirun has joined #ruby
Trynemjoel has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
shoutsid has quit [Ping timeout: 250 seconds]
JDiPierro has joined #ruby
zenguy_pc has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
iateadonut has quit [Quit: Leaving.]
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
null_ref has joined #ruby
tkuchiki has joined #ruby
aaeron has joined #ruby
skweek has quit [Remote host closed the connection]
sirecote has joined #ruby
UtkarshRay has quit [Quit: Leaving]
ta has joined #ruby
keypusher has joined #ruby
dopamean_ has joined #ruby
blackmesa has joined #ruby
tomphp has joined #ruby
havenwood has joined #ruby
billylinder has quit [Read error: Connection reset by peer]
ht__ has joined #ruby
shoutsid has joined #ruby
Eiam_ has joined #ruby
bruno- has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
pocketprotector[ has quit [Quit: Leaving]
Asher has joined #ruby
shoutsid has quit [Ping timeout: 240 seconds]
troulouliou_div2 has quit [Remote host closed the connection]
prefixed has joined #ruby
<prefixed> YO. what's the simplest way to check if a process exists in ruby?
sankaber has quit [Remote host closed the connection]
waheedi has quit [Quit: waheedi]
tkuchiki has quit [Remote host closed the connection]
sankaber has joined #ruby
zenguy_pc has joined #ruby
<jhass> send the 0 signal with Process.kill I guess
dravine has quit [Ping timeout: 264 seconds]
pocketprotector- has joined #ruby
Pupeno_ has joined #ruby
dravine has joined #ruby
simplyianm has quit [Remote host closed the connection]
based_pdev_ has joined #ruby
shmoon_ has joined #ruby
pocketprotector- has quit [Client Quit]
codecop has joined #ruby
<shmoon_> any of you make use of state machine ?
Pupeno has quit [Ping timeout: 244 seconds]
Eiam_ has quit [Ping timeout: 265 seconds]
<prefixed> ok. let's change that question a bit: how can i determine if a program is running in ruby?
rushed has joined #ruby
fullofcaffeine has quit [Ping timeout: 250 seconds]
Porfa has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
<slash_nick> ?
<prefixed> ? is not a valid command
Axy has quit [Ping timeout: 244 seconds]
<slash_nick> prefixed: i'm confused... you didn't really respond to the suggestion jhass gave you...
krisquigley has joined #ruby
based_pdev has quit [Ping timeout: 268 seconds]
aaeron has quit [Quit: Leaving.]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> or waitpid with WNOHANG apparently
<prefixed> how can i get a processes' pid without knowing that the process exists?
<prefixed> this sounds like a chicken / egg issue
<jhass> eh
<jhass> if you don't have the pid, how do you identify it?
<apeiros> how do you identify a process without a pid?
<prefixed> in linux?
<prefixed> pgrep
<prefixed> or ps -ef | grep "program name"
<apeiros> and you grep for what?
<slash_nick> i guess parse for a comand name
<jhass> so your question is "how can I know if any process with the given procname exists"
<prefixed> pgrep "program name"
<prefixed> sure
<jhass> it's not what you asked
RegulationD has joined #ruby
<prefixed> ok
<prefixed> good thing you know what i meant now
unclouded has quit [Ping timeout: 240 seconds]
<slash_nick> high levels of sarcasm detected...
<eam> prefixed: is it a server?
baweaver has joined #ruby
<prefixed> yes
<eam> if it's a server, I suggest using the listen socket as the selector
baweaver has quit [Remote host closed the connection]
<prefixed> I could just use pgrep, but i'd like a pure-ruby solutiuon
<eam> much more reliable than grepping the commandline
eminencehc has quit [Remote host closed the connection]
<eam> prefixed: these are all just wrappers around /proc
bigmac has quit [Ping timeout: 250 seconds]
<jhass> I'm not aware of a stdlib API that allows to list all processes
<eam> jhass: there isn't one, not specified by posix =/
<eam> the commands like ps and so on are, which is why portable code either does the implementation dirty work, or shells out
krisquigley has quit [Ping timeout: 246 seconds]
<eam> (but the formatting isn't well specified either sooo)
haylon has quit [Ping timeout: 246 seconds]
bigmac has joined #ruby
<eam> prefixed: fuser -n tcp 80 => list of pids listening on :80
aaeron has joined #ruby
<eam> if you want to do that in ruby, you'll be looking at /proc/net/tcp and /proc/*/fd/*
eminencehc has joined #ruby
pocketprotector- has joined #ruby
<eam> that's by far the most reliable way to get the pid of a server
fullofcaffeine has joined #ruby
haylon has joined #ruby
<apeiros> eam: fuser over lsof?
<eam> lsof is fine too
<prefixed> eam sorry. it's not a server. I thought you meant "are you running this code on a server"
<eam> prefixed: ah
<eam> prefixed: well, all the data you might use to select a process can be found in /proc - go hunt around and see what you can use
<prefixed> so, it sounds like check the OS and use pgrep if the environment supports it
<prefixed> wonderbar
atmosx has quit [Quit: Lost in trance]
atmosx has joined #ruby
ksteck has quit [Ping timeout: 250 seconds]
wldcordeiro has quit [Quit: Konversation terminated!]
sheperson has joined #ruby
<sheperson> Hi
blackmesa has quit [Quit: WeeChat 1.3]
eminencehc has quit [Remote host closed the connection]
<sheperson> I am writing a class which is a wrapper around an API
flyinprogrammer has joined #ruby
<sheperson> there are other methods calling my wrapper class methods
<sheperson> In the dev environment everything works fine
<sheperson> but for the test env
<sheperson> I don’t want to call the API
baweaver has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Swappticon has joined #ruby
<sheperson> Any idea about how to do this?
<eam> speaking of "no stdlib to enumerate processes" -- anyone know why `ps` used to be setuid root on FreeBSD?
<eam> (it's also the reason why you'd have to recompile userland when upgrading the kernel)
poguez_ has joined #ruby
shoutsid has joined #ruby
hephaestus_rg has joined #ruby
flyinprogrammer has left #ruby [#ruby]
tvw has quit [Read error: Connection reset by peer]
skweek has joined #ruby
weaksauce has joined #ruby
<darix> prefixed: the cleanest way is to launch the program yourself and then have the program running without daemonize. that way you can easily track it
<keypusher> prefixed: many processes will write their pid out to a file somewhere. on my servers, they are under /var/run, ymmv
<darix> and i would look at what bluepill/unicorn do for process management
freezevee has joined #ruby
<jhass> or god/monit/eye/daemontools/systemd/whatever, but ++ for a supervisor
bb010g has joined #ruby
pharaoh2 has joined #ruby
rodfersou|lunch is now known as rodfersou
<baweaver> hehe, eye has a mess of a codebase
CrazyEddy has quit [Ping timeout: 255 seconds]
<baweaver> considered contributing once but man is that thing a monster
<darix> since i got systemd i stopped using other supervisors
<jhass> ditto
<jhass> baweaver: but the least worst config DSL IMO
<baweaver> perhaps
<baweaver> I just remember it taking 3 hours to run their "unit" tests
<keypusher> sheperson: problem is often solved by mocking out the API. you could have static files in your test env that contain json similar to what the API returns, and use those in the mock
<sheperson> keypusher: Do you know of any examples?
<jhass> baweaver: sure we're talking about the same eye? https://travis-ci.org/kostya/eye
krz has quit [Remote host closed the connection]
chrisja has joined #ruby
tomchapin has joined #ruby
mprelude has quit [Ping timeout: 240 seconds]
pharaoh2 has quit [Client Quit]
<sheperson> keypusher: Like a gem or something
<baweaver> jhass: it's been a few years
prestorium has joined #ruby
eminencehc has joined #ruby
<baweaver> but still enough of an annoyance that I didn't want to go back after that.
<keypusher> sheperson: https://github.com/rspec/rspec-mocks you would use something like this i think. the basic idea is to replace certain methods of your class with stubbed/mocked out methods
<atmosx> eam: -r-xr-xr-x 1 root wheel 42264 17 Αυγ 15:47 /bin/ps <--- it's not +s
<sheperson> thanks keypusher
<keypusher> sheperson: i've done this in other languages but not personally familiar with the ruby tools for it
<atmosx> eam: if it were, it would reside in /sbin/ anyway..
ericjphillips has quit [Quit: Leaving.]
<atmosx> eam: an 'used to be'. No idea.
sepp2k has quit [Quit: Leaving.]
tomchapin has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
p0wn3d__ has joined #ruby
jackjackdripper has joined #ruby
David27 has quit [Remote host closed the connection]
p0wn3d_ has quit [Ping timeout: 264 seconds]
rushed has quit [Quit: rushed]
dmolina has joined #ruby
<eam> atmosx: it's not anymore
<eam> hasn't been since FreeBSD got a /proc ;)
<eam> it used to open up /dev/kmem and walk the kernel structures directly ...
jackjackdripper has quit [Client Quit]
<EdwardIII> hmm if i try and access a key that doesn't exist in a hash, it doesn't error?
DoubleMalt has joined #ruby
fullofcaffeine has quit [Ping timeout: 256 seconds]
jackjackdripper has joined #ruby
<EdwardIII> just returns nil, hmm
<jhass> EdwardIII: not with #[], some invocations of #fetch do
davedev24 has joined #ruby
gguggi has quit [Ping timeout: 240 seconds]
<eam> atmosx: which is why you'd have to rebuild userland -- because if those structures changed and ps wasn't aware -- a kernel upgrade could cause it to segv
<jhass> and nil is just the default, you can set it to other values, see #initialize, #default, #default_proc
fullofcaffeine has joined #ruby
bubbys has joined #ruby
baweaver has quit [Remote host closed the connection]
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
sheperson has quit [Ping timeout: 265 seconds]
<EdwardIII> this is all so flexbile, it's a bit scary heh
_aeris_ has quit [Ping timeout: 264 seconds]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest53 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_aeris_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
tomchapin has joined #ruby
mprelude has joined #ruby
p0wn3d_ has joined #ruby
mwlang has quit [Quit: mwlang]
`based_pdev` has joined #ruby
p0wn3d__ has quit [Read error: Connection reset by peer]
giuseppesolinas has joined #ruby
riotjones has joined #ruby
Guest53 has joined #ruby
tangentstorm has quit [Ping timeout: 255 seconds]
cdg has quit [Remote host closed the connection]
eminencehc has quit [Remote host closed the connection]
cdg has joined #ruby
skade has joined #ruby
eminencehc has joined #ruby
based_pdev_ has quit [Ping timeout: 260 seconds]
gizmore has quit [Ping timeout: 250 seconds]
leafybas_ has quit [Remote host closed the connection]
leafybasil has joined #ruby
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 256 seconds]
ericjphillips has joined #ruby
fullofcaffeine has quit [Ping timeout: 256 seconds]
p0wn3d__ has joined #ruby
p0wn3d_ has quit [Read error: Connection reset by peer]
naftilos76 has joined #ruby
anisha has joined #ruby
rushed has joined #ruby
sepp2k has joined #ruby
fullofcaffeine has joined #ruby
rushed has quit [Client Quit]
Macaveli has joined #ruby
Macaveli has quit [Max SendQ exceeded]
rushed has joined #ruby
User4587_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Macaveli has joined #ruby
EllisTAA has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
inanepenguin has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
s2013 has quit [Client Quit]
atomical has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
diegoviola has joined #ruby
ta has quit [Quit: Leaving...]
atomical has joined #ruby
tangentstorm has joined #ruby
InternetFriend has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
ericjphillips has quit [Quit: Leaving.]
User458764 has quit [Ping timeout: 264 seconds]
inanepenguin has joined #ruby
_el_fer_ has quit [Quit: Leaving]
gizmore has joined #ruby
devoldmx has joined #ruby
paulcsmith has joined #ruby
jamesaxl has joined #ruby
inanepenguin has quit [Client Quit]
alveric has joined #ruby
rushed has quit [Quit: rushed]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tangentstorm has quit [Ping timeout: 250 seconds]
bap1313 has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xaoz has joined #ruby
Agoldfish has joined #ruby
ta has joined #ruby
xaoz has quit [Remote host closed the connection]
pharaoh2 has joined #ruby
simplyianm has joined #ruby
dstarh has joined #ruby
nKulo has quit [Read error: Connection reset by peer]
diegoviola has quit [Quit: WeeChat 1.3]
tier_ has quit [Ping timeout: 246 seconds]
sdwrage has quit [Quit: Leaving]
SenpaiSilver has quit [Ping timeout: 244 seconds]
Agoldfish has quit [Client Quit]
jessemcgilallen has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
tier has joined #ruby
Kendos-Kenlen has quit [Quit: Konversation terminated!]
zenguy_pc has joined #ruby
jessemcgilallen has quit [Client Quit]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rushed has joined #ruby
gusTester has quit [Quit: Leaving.]
Kendos-Kenlen has joined #ruby
n008f4g_ has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 272 seconds]
__main__ has quit [Ping timeout: 250 seconds]
BlackCoyote has joined #ruby
chandlerbing has joined #ruby
dagda1_ has joined #ruby
patchedmonkey has joined #ruby
gusTester has joined #ruby
chino has joined #ruby
<prefixed> does RUBY_PLATFORM not work in some environments?
__main__ has joined #ruby
jenrzzz has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
tangentstorm has joined #ruby
mikecmpbll has joined #ruby
<shevy> you have so many fake questions prefixed
blueOxigen has quit [Ping timeout: 264 seconds]
agit0 has joined #ruby
<prefixed> this is a real question
<prefixed> It looks like it works on my platform.
<shevy> you don't have any "real" questions
<prefixed> stop
<shevy> you probably scavenge on stackoverflow for some arbitrary fake ones to ask and waste people's time
<prefixed> that'd be pretty insidious actually. nice
tuxero has quit [Ping timeout: 255 seconds]
<prefixed> look for the most downvoted questions to ask in here
SenpaiSilver has joined #ruby
<pipework> Crowdsourcing answers so you can claim the internet points? Lul.
* shevy downvotes prefixed
aquiles has quit [Ping timeout: 252 seconds]
<prefixed> pipework ?
karapetyan has quit [Remote host closed the connection]
<prefixed> anyway, so i take it you have no idea what RUBY_PLATFORM is about shevy
karapetyan has joined #ruby
<pipework> I don't understand why people think "?" is a response that's ever worth giving.
rushed has quit [Quit: rushed]
<shevy> prefixed you don't want to know, that is the problem
<prefixed> pipework it means: "your statement was unclear. please rephrase"
Kendos-Kenlen_ has joined #ruby
<pipework> prefixed: ?
<shevy> prefix: ?
<shevy> ack
<shevy> prefixed: ?
Trynemjoel has quit [Ping timeout: 264 seconds]
cornerma1 has joined #ruby
p0wn3d__ has quit [Ping timeout: 250 seconds]
<pipework> It doesn't say what was misunderstood or where the confusion is. It's a useless response.
jokke| has joined #ruby
jokke- has quit [Read error: Connection reset by peer]
fullofcaffeine has quit [Ping timeout: 240 seconds]
<pipework> I usually just ignore the person until they come up with a cogent question that's actually informing about their confusion
jokke| is now known as jokke
Trynemjoel has joined #ruby
<prefixed> shevy i think you are a bot
<apeiros> prefixed: where did this question come up for you?
DEA7TH has joined #ruby
tobyx has quit [Remote host closed the connection]
<prefixed> apeiros I'm trying to detect my OS flavor. Stackoverflow suggests all of these seemingly-overcomplicated methods. I don't understand why people don't just use RUBY_PLAYFORM
<prefixed> *RUBY_PLATFORM
<shevy> a playform
Kendos-Kenlen has quit [Ping timeout: 264 seconds]
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
<apeiros> prefixed: I'd use a gem. those usually use RUBY_PLATFORM and/or something from rbconfig
chandlerbing has quit [Quit: I'm your father...]
<prefixed> is RUBY_PLATFORM not bullet-proof? if so, why not?
<apeiros> but reinventing that yourself is prone to error. e.g. mistakes like =~ /win/ -> windows - whoops, wrong. darwin matches too.
fullofcaffeine has joined #ruby
Coldblackice_ has joined #ruby
aquiles has joined #ruby
tobyx has joined #ruby
AccordLTN has quit []
__main__ has quit [Ping timeout: 265 seconds]
Outlastsheep has quit [Ping timeout: 240 seconds]
Soda has quit [Remote host closed the connection]
__main__ has joined #ruby
ascarter_ has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
jsrn has quit [Ping timeout: 241 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
paulcsmith has joined #ruby
LoganG has quit [Quit: robots are cool]
jokke has quit [Disconnected by services]
LoganG has joined #ruby
EasyCo has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
jokke- has joined #ruby
ICantCook has quit [Ping timeout: 240 seconds]
EasyCo has joined #ruby
ICantCook has joined #ruby
<chino> it seems that class methods support `super` yet they don't support `super_method`? https://gist.github.com/chino/38cd33fba4eea9613f1e
davedev24 has quit [Ping timeout: 259 seconds]
jsrn has joined #ruby
davedev24 has joined #ruby
Guest53 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<apeiros> chino: from where should super_method come?
__main__ has quit [Read error: Connection reset by peer]
<chino> B.x calls A.x via super
<apeiros> because I don't think that's in vanilla ruby…
<jhass> apeiros: it actually is
<jhass> new in 2.2 iirc
yfeldblum has joined #ruby
<chino> yea
trautwein has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
darkxploit has quit [Quit: Leaving]
<apeiros> interesting. can't call it in an instance either.
<apeiros> that's 2.2.2
__main__ has joined #ruby
<apeiros> ah
<apeiros> because it's Method#super_method
<apeiros> chino: you have to get a Method instance first
<apeiros> class B.x; method(:x).super_method; end
<apeiros> in your code example
<jhass> method(__method__).super_method # need more methods
<apeiros> err, s/class/def/ (or just def self.x)
baweaver has quit [Ping timeout: 240 seconds]
<chino> hm... i swear i was able to use super_method before without doing that
<chino> trying to reproduce
JM_ has joined #ruby
s2013 has joined #ruby
jokke- has quit [Quit: ninja vanish]
n008f4g_ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
<chino> well thanks I guess I was doing something wrong before
Kyhz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
<jhass> now I wonder where the , in that sentence is :P
BlackCoyote has quit [Ping timeout: 264 seconds]
<ddv> everyone makes mistakes
<ddv> no problem
wottam has joined #ruby
ericjphillips has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Guest53 has joined #ruby
mahlon_ has joined #ruby
<slash_nick> prefixed: ? is not a valid command
csmb has quit [Ping timeout: 240 seconds]
xxneolithicxx has quit [Ping timeout: 240 seconds]
LiquidInsect has quit [Ping timeout: 240 seconds]
zz_barkerd427 has quit [Ping timeout: 240 seconds]
steeljav has quit [Ping timeout: 240 seconds]
bodie_ has quit [Ping timeout: 240 seconds]
umgrosscol has joined #ruby
steeljav has joined #ruby
umgrosscol has quit [Ping timeout: 240 seconds]
yosafbridge has quit [Ping timeout: 240 seconds]
mahlon has quit [Ping timeout: 240 seconds]
diegoaguilar has joined #ruby
TheWhip has quit [Ping timeout: 240 seconds]
zz_barkerd427 has joined #ruby
LiquidInsect has joined #ruby
csmb has joined #ruby
rushed has joined #ruby
xxneolithicxx has joined #ruby
yosafbridge has joined #ruby
bodie_ has joined #ruby
eminencehc has quit [Remote host closed the connection]
yqt has joined #ruby
baweaver has joined #ruby
beauby has joined #ruby
aquiles has quit [Ping timeout: 268 seconds]
p0wn3d__ has joined #ruby
niftylettuce has joined #ruby
cdg has joined #ruby
dagda1_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tahon_ has joined #ruby
doddok has quit [Ping timeout: 256 seconds]
wasamasa has left #ruby ["Bye"]
tahon_ has quit [Remote host closed the connection]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ericjphillips has quit [Quit: Leaving.]
BlackCoyote has joined #ruby
unclouded has joined #ruby
baweaver has quit [Remote host closed the connection]
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ht__ has quit [Quit: Konversation terminated!]
Pumukel has joined #ruby
krisquigley has joined #ruby
devoldmx has joined #ruby
eminencehc has joined #ruby
tier has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
baroquebobcat_ has joined #ruby
tier has joined #ruby
Kyhz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
InternetFriend has joined #ruby
hhuijhfdcghhjj has joined #ruby
baroquebobcat has quit [Ping timeout: 240 seconds]
baroquebobcat_ is now known as baroquebobcat
krisquigley has quit [Ping timeout: 260 seconds]
northfurr has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
ericjphillips has joined #ruby
platzhirsch has left #ruby [#ruby]
_djbkd has quit [Remote host closed the connection]
bap1313 has quit [Ping timeout: 246 seconds]
riotjones has joined #ruby
riotjones has quit [Read error: Connection reset by peer]
jamesaxl has quit [Ping timeout: 246 seconds]
riotjones has joined #ruby
doddok has joined #ruby
sparverius has joined #ruby
sparverius has left #ruby [#ruby]
jamesaxl|2 has joined #ruby
jamesaxl|2 is now known as jamesaxl
jenrzzz has joined #ruby
decoponio has quit [Quit: Leaving...]
RobertBirnie has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
ddtblues has joined #ruby
RobertBirnie has joined #ruby
aaeron has quit [Quit: Leaving.]
_djbkd has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
datanoise has joined #ruby
jamesaxl|2 has joined #ruby
moeabdol has quit [Client Quit]
cantaberry has quit [Read error: Connection reset by peer]
jamesaxl|3 has joined #ruby
adac has quit [Ping timeout: 272 seconds]
ddtblues has quit [Client Quit]
michaeldeol has joined #ruby
jamesaxl has quit [Ping timeout: 246 seconds]
ddtblues has joined #ruby
last_staff has quit [Quit: last_staff]
ksteck has joined #ruby
anisha has quit [Quit: Leaving]
btrs has joined #ruby
chino has quit [Ping timeout: 246 seconds]
phutchins1 has quit [Ping timeout: 240 seconds]
jamesaxl|2 has quit [Ping timeout: 246 seconds]
arthurix has joined #ruby
aaeron has joined #ruby
steeljav has quit [Quit: leaving]
aaeron has quit [Max SendQ exceeded]
aaeron has joined #ruby
wottam has joined #ruby
dstarh has quit [Read error: Connection reset by peer]
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
Kendos-Kenlen_ has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
bafbomb_ has quit [Read error: Connection reset by peer]
mordocai has joined #ruby
D-unit has joined #ruby
chouhoulis has quit [Remote host closed the connection]
wottam has quit [Client Quit]
Kendos-Kenlen_ has joined #ruby
shmoon_ has quit [Quit: Connection closed for inactivity]
D-unit has quit [Client Quit]
nettoweb has joined #ruby
<beast> I'm in love with Ruby, she's so elegant and beautiful that I never want to leave her...!!!
scottj has joined #ruby
CooloutAC has left #ruby ["Selakem Shalom, PEACE"]
hhuijhfdcghhjj has quit [Read error: Connection reset by peer]
hhuijhfdcghhjj has joined #ruby
jamesaxl|3 is now known as jamesaxl
inanepenguin has joined #ruby
moeabdol has joined #ruby
eminencehc has quit [Remote host closed the connection]
adac has joined #ruby
Contigi777 has joined #ruby
eminencehc has joined #ruby
inanepenguin has quit [Client Quit]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troulouliou_dev has joined #ruby
<shevy> beast I like your nick
<beast> 11461173985121.to_s.split(/[356]/).map(&:to_i).map(&:chr).join
solofounder has quit [Quit: solofounder]
tenderlove has joined #ruby
renderf__ has quit [Remote host closed the connection]
goldfish6744 has joined #ruby
syath has quit [Quit: WeeChat 1.2]
Oog has joined #ruby
inanepenguin has joined #ruby
Rickmasta has joined #ruby
Kyhz has joined #ruby
hhuijhfdcghhjj has quit [Read error: Connection reset by peer]
fullofcaffeine has quit [Read error: Connection reset by peer]
QORRiE has joined #ruby
Jackneill has quit [Remote host closed the connection]
Kendos-Kenlen_ has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
jamesaxl has quit [Ping timeout: 246 seconds]
fullofcaffeine has joined #ruby
eminencehc has quit [Remote host closed the connection]
havenn has joined #ruby
<shevy> yeah, ruby can be very terse
ndrei has joined #ruby
eminencehc has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
Pupeno_ has quit [Remote host closed the connection]
NeverDie has joined #ruby
doddok has quit [Ping timeout: 260 seconds]
nuck has joined #ruby
User458764 has joined #ruby
adac has quit [Ping timeout: 268 seconds]
nettoweb has joined #ruby
krisquigley has joined #ruby
Kendos-Kenlen has joined #ruby
hobodave has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
renderf__ has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
User458764 has quit [Ping timeout: 265 seconds]
skade has quit [Quit: Computer has gone to sleep.]
krisquigley has quit [Ping timeout: 240 seconds]
skade has joined #ruby
craysiii has joined #ruby
bap1313 has joined #ruby
naftilos76 has joined #ruby
Oog has quit []
<haylon> Hey everyone, what would putting a class in a class get me? I'm trying to think of a way to put an object in an object. Does that sound like a good idea, or should I look for something different?
<pipework> haylon: 'get me' in what way?
wnd has quit [Ping timeout: 260 seconds]
<haylon> could I create an object inside of an object?
<pipework> You can have usages of the `class` keyword inside a class that's also using the `class` keyword.
<haylon> I'm not sure if that's how that works
<pipework> haylon: You can always create objects in objects.
<pipework> haylon: What do you have for code?
tier has quit [Ping timeout: 265 seconds]
<haylon> Nothing yet, pseudo coding, and planning
ericjphillips has quit [Quit: Leaving.]
<pipework> haylon: Ah, well, when you get to code, we'll be here.
<haylon> Thanks for your input though pipework
<haylon> I most definitely will. I needed to rubber ducky with someone who knew what I was asking
TheWhip has joined #ruby
BlackCoyote has quit [Ping timeout: 272 seconds]
prestorium has quit [Quit: Leaving]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ddtblues has quit []
JDiPierro has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 268 seconds]
naftilos76 has quit [Quit: Αποχώρησε]
doddok has joined #ruby
shmilan has joined #ruby
noodles`` has joined #ruby
Rutix has quit []
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tangentstorm has quit [Ping timeout: 265 seconds]
freezevee has quit [Ping timeout: 256 seconds]
northfurr has quit [Quit: northfurr]
noodles`` has left #ruby [#ruby]
lenwood has joined #ruby
<BraddPitt> can anyone help me with a design decision for a gem I'm making? Not really asking about code, per se
JM_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> ?anyone
<ruboto> Just ask your question, if anyone has or can, they will respond.
<havenn> BraddPitt: I'm for it!
<treehug88> don't ask to ask
<BraddPitt> ah, right. Was making sure this was the right place. Anyways, let me explain quickly
havenn is now known as havenwood
Guest53 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asxbr has joined #ruby
BlackCoyote has joined #ruby
<BraddPitt> I'm making a gem quite similar to Hashicorps Vault. It encrypts secrets.yml, stores it in S3, and allows a client to retrieve and decrypt. I have all that down fine
<BraddPitt> my question is, in order for that to happen the user needs to supply their S3 credentials
sankaber has quit [Read error: Connection reset by peer]
renderf__ has quit []
sankaber has joined #ruby
<BraddPitt> so should I have them supply this by command line (dont like because of bash history), supply in the same secrets.yml file that gets encyrpted and uploaded (feels like security theater) or have them supply it in a 2nd secrets.yml file that never gets uploaded anywhere
mdih has joined #ruby
spcmastertim has quit [Quit: Leaving]
wnd has joined #ruby
yardenbar has quit [Ping timeout: 252 seconds]
<jhass> well, what's the point of uploading, backup or is there a retrieval story?
asxbr has quit [Ping timeout: 252 seconds]
galeido has quit [Quit: leaving]
karapetyan has joined #ruby
fullofcaffeine has quit [Ping timeout: 260 seconds]
sankaber has quit [Client Quit]
<BraddPitt> retrieval, yes
AccordLTN has joined #ruby
<darix> jhass: nobody wants backup, everyone just wants restore.
<darix> :p
<BraddPitt> the idea is you add fellow team members as an authenticated IAM user (or whitelist an IP range in AWS) so they can get the secrets.yml for the project without having to pass it around offline
<jhass> so if you put the into the file that's uploaded itself, how would that look?
haylon has quit [Quit: Leaving]
<jhass> given it wasn't downloaded yet, so it's not an update
tangentstorm has joined #ruby
dikaio has joined #ruby
<BraddPitt> what do you mean, how would it look?
ldnunes has quit [Quit: Leaving]
<jhass> you need the keys to download it, right?
<jhass> or is the S3 public?
<BraddPitt> you need the "master key" to decrypt, and valid AWS credentials for that S3 bucket
anisha has joined #ruby
<BraddPitt> that is up to the user but most likely it will be private
<dorei> it's so funny i can't resist spamming it to you xD
<BraddPitt> the more I think about it, the more I think it makes sense to have a 2nd yml file that holds master key and S3 credentials
<jhass> so, what's the UX for when doing the initial download, where do the credentials come from if they're stored in the file to be downloaded?
k3asd` has joined #ruby
<BraddPitt> no UX, it is a rake task that auto loads it into ENV hash
<goldfish6744> then why not a challenge-response authentication? That way the decryption key never needs to leave the server, and the user still can have access...
Guest53 has joined #ruby
KensoDev has joined #ruby
<jhass> UX means user experience, that's not limited to GUIs
<jhass> a CLI is a UI too
<BraddPitt> rake install or rake refresh
<BraddPitt> the latter simply updates it
Pumukel has quit [Remote host closed the connection]
galeido has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
apt-get has quit [Ping timeout: 252 seconds]
<jhass> shall I ask my question a third time?
fullofcaffeine has joined #ruby
<BraddPitt> i'm sorry, i don't intend to be vague
<BraddPitt> I'm not sure I understand what exactly you're requesting
<BraddPitt> oh
<BraddPitt> oh
<BraddPitt> shit
<BraddPitt> im an idiot
<BraddPitt> I just re-read your question
<BraddPitt> ok
<BraddPitt> well I think that solves it. There should be 2 yml files. 1 has the contents of your secrets and gets de/encrypted, the other simply has the master password for crypto and S3 credentials for the client. The latter never leaves your local machine
<BraddPitt> does this seem sane?
<jhass> sounds about right
<jhass> might even put the latter in $XDG_CONFIG_HOME
<craysiii> seems like security through obscurity
<BraddPitt> thanks jhass, sometimes it just helps to bounce an idea around and talk about it
xcesariox has joined #ruby
<pipework> I'd really consider something closer to goldfish6744, unless you like having to re-encrypt when someone is no longer allowed to access the data.
<BraddPitt> yes pipework that was the original idea (to re-encrypt)
<BraddPitt> goldfish6744 can you expand on your idea?
tomphp has joined #ruby
<pipework> A challenge-response would allow you to not have to decrypt and not expose the master key. The only thing you'd expose is the actual passphrases they've been able to access that are sent to the client.
<jhass> something that might work better for your design over S3 is to require your team members to have an openpgp key and encrypt for each
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> could even go as far and integrate over something like keybase and validate the associated github account
<pipework> When someone leaves you'll have to change the encrypted secrets, but you'd not have to change the symmetric key which the secrets are encrypted with.
Timba-as_ has joined #ruby
eminencehc has quit [Remote host closed the connection]
<BraddPitt> I'm not tied to S3 btw, I chose it because it has easy to implement envelope encryption
<pipework> https://www.meldium.com/ is a thing too.
<BraddPitt> in fact, the upload destination would (ideally) be left up to the user
dfockler has quit [Quit: Leaving]
dfockler has joined #ruby
<goldfish6744> BraddPitt, it's how my bank login ID passkey device works like, sort of. The bank, at login, sends you a challenge value (it's a max 8-digit wide number), you type that and your PIN code into the device, and with these two you get a number that's sent back to the bank. They always result in the same hash (by whatever mechanism they use) in the end, so the bank needs to only compare those two.
<jhass> but then I mean they'll have the plaintext keys on their machines anyway, you'll have to change all shared credentials if you want to truly revoke, not just prevent access to new credentials
<goldfish6744> Then it uses its own password to decrypt the stuff you need
[k- has quit [Ping timeout: 264 seconds]
<pipework> What I'm curious about but haven't explored myself is how does meldium not hand credentials for a service whose credentials are encrypted in meldium to a team member in a way that would cause you to need to change the service credentials if they leave?
lenwood has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Client exiting]
existensil has quit [Quit: WeeChat 0.4.2]
rodfersou has quit [Quit: leaving]
<jhass> I'd love to see more DNSSEC based auth schemes developed. Just list allowed public keys in your DNS, tell services the names that are allowed access, service fetches public key from there, poses challenge to client, client signs challenge, service validates
existensil has joined #ruby
eikood has joined #ruby
<jhass> revoke access? tell service a name has no longer access
<jhass> change key? just update the DNS
eminencehc has joined #ruby
arup_r has quit [Quit: Leaving]
shoutsid has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
shmilan has quit [Ping timeout: 240 seconds]
btrs has quit [Quit: Page closed]
mary5030 has joined #ruby
symm-_ has joined #ruby
[Butch] has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 260 seconds]
mary5030 has joined #ruby
<BraddPitt> jhass with my current implementation they will have the plaintext secrets.yml regardless
arthurix_ has joined #ruby
<BraddPitt> but, as most companies currently operate, this is how it is anyways
<jhass> yeah
<jhass> damn shared credentials everywhere
<jhass> kinda sad
<BraddPitt> I mean, regardless, if someone really wanted it they could just print out the ENV hash
<BraddPitt> its a hard problem to solve
<jhass> the hard problem is solved, the open stuff is building nice integrations and UX
freerobby has quit [Quit: Leaving.]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 252 seconds]
arthurix has quit [Ping timeout: 240 seconds]
newdan has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 244 seconds]
troulouliou_dev has quit [Quit: Leaving]
Voker57 has quit [Read error: Connection reset by peer]
symm-_ has quit [Ping timeout: 265 seconds]
Prawnzy has quit [Ping timeout: 268 seconds]
<pipework> jhass: That works for services that either implement that or you control, but most places just do username+password(+totp)
<jhass> that's what I mean with integrations
<pipework> Oh gotcha.
<pipework> It seems tedious to automate password resets through existing systems though.
k3asd` has quit [Ping timeout: 260 seconds]
shoutsid has joined #ruby
kache has joined #ruby
umgrosscol has quit [Ping timeout: 240 seconds]
kache has left #ruby [#ruby]
k3asd` has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
<jhass> you'd basically replace "enter password" with "enter public key" or better just derive a hostname based on the mail address to retrieve it (me@jhass.eu -> me._pka.jhass.eu TXT) during registration, the WebCryptoAPI then should make login fairly painless too, challenge -> sign challenge -> validate signature
<pipework> I mean, I get it.
<jhass> CLI tools could hook into gpg
<pipework> I've even implemented a neat enough TLS mutual auth system
diegoaguilar_ has joined #ruby
chino has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
shoutsid has quit [Remote host closed the connection]
<chino> so playing with super_method again and seeing some strange behavior? https://gist.github.com/chino/8c7f9833804305d2c498
stamina has joined #ruby
baweaver has quit [Remote host closed the connection]
diegoaguilar has quit [Quit: Leaving]
diegoaguilar_ has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
<jhass> chino: self is B, B#method(:x) gets B#x
mary5030 has joined #ruby
ericjphillips has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
fullofcaffeine has joined #ruby
bubbys has quit [Ping timeout: 260 seconds]
<chino> right but it's calling method(:x) from inside of super() call?
bubbys has joined #ruby
<jhass> super doesn't change self
gizmore has quit [Ping timeout: 256 seconds]
hephaestus_rg has quit [Ping timeout: 240 seconds]
tzl has joined #ruby
hephaestus_rg has joined #ruby
skullcrasher has quit [Quit: quit]
__chris has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby
symm- has joined #ruby
<chino> so is there no way to really properly detect if a super method is defined before you call super?
patchedmonkey has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
shoutsid has joined #ruby
<jhass> superclass.instance_methods.include?(__method__) perhaps?
ctx has joined #ruby
<drbrain> defined? super
<chino> i tried that but for example let's assume a layout like A > B > C where it's defined on an A and not B
wottam has joined #ruby
<jhass> then you want false?
<chino> like manually walking the superclass chain just felt like I was doing something wrong
skullcrasher has joined #ruby
<drbrain> chino: defined? super is the check you want, but you shouldn't care if your parent, grantparent, great-great-grandparent, etc. has an implementation you can super to
subscope has quit [Remote host closed the connection]
<chino> I agree I don't really want to care but I do want to call it if it exists
<jhass> superclass.instance_methods(false).include?(__method__) # if you care, I guess
shoutsid has quit [Remote host closed the connection]
anisha has quit [Ping timeout: 250 seconds]
<chino> oh interesting didn't even know that instance_methods has a include_super arg
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 246 seconds]
<jhass> must stuff has, methods, respond_to?
<jhass> *most
<chino> I did get this to work by crawling the superclass chain but it just felt like I shouldn't have to do that
<chino> let me try out the define? super
matp has quit [Ping timeout: 250 seconds]
shevy has quit [Quit: ""]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beast has quit [Quit: Leaving]
<drbrain> >> class A; def m() defined? super; end; end; class B < A; def m() [defined? super, super] end; end; B.new.m
<ruboto> drbrain # => ["super", nil] (https://eval.in/446549)
matp has joined #ruby
<chino> cool
matp has quit [Max SendQ exceeded]
yfeldblu_ has joined #ruby
Pupeno has joined #ruby
matp has joined #ruby
tzl has quit [Quit: leaving]
matp has quit [Max SendQ exceeded]
gizmore has joined #ruby
matp has joined #ruby
matp has quit [Max SendQ exceeded]
inteq has quit [Remote host closed the connection]
fullofcaffeine has quit [Ping timeout: 256 seconds]
matp has joined #ruby
victortyau has quit [Quit: Leaving]
ksteck has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
devoldmx has joined #ruby
hephaestus_rg has quit [Ping timeout: 260 seconds]
Swappticon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has joined #ruby
e1senhorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
balazs_ has quit [Ping timeout: 265 seconds]
jenrzzz_ has joined #ruby
minimalism has joined #ruby
tahon__ has joined #ruby
JDiPierro has joined #ruby
benlieb has quit [Quit: benlieb]
QORRiE has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
shoutsid has joined #ruby
<chino> I wonder if the Method#super_method implementation/docs makes sense given this behavior? Ruby docs say, "Returns a Method of superclass, which would be called when super is used". Which to me gave me the impression that it would only return a value if super() would actually work at that moment?
devoldmx has quit [Ping timeout: 252 seconds]
djcp has joined #ruby
Seich has quit [Ping timeout: 240 seconds]
lkba_ has joined #ruby
Timba-as_ has quit [Quit: Be back later ...]
baweaver has quit [Remote host closed the connection]
<chino> well I guess since the Method returned was B's then it did work properly it's just confusing
<dorei> chino: it says it returns a method, so i guess it does that
<dorei> hmm
<chino> ok well thanks for help
lkba has quit [Ping timeout: 250 seconds]
shoutsid has quit [Remote host closed the connection]
riotjones has joined #ruby
Azure has quit [Excess Flood]
User4587_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
xcesariox has quit [Read error: Connection reset by peer]
p0wn3d__ has quit [Ping timeout: 264 seconds]
Seich has joined #ruby
ctx has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #ruby
Pumukel has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
agent_white has joined #ruby
<jhass> chino: in relation to the given Method object. whether you obtained the "right" Method object is a distinct issue from #super_method
<chino> right
riotjones has quit [Ping timeout: 246 seconds]
<jhass> so the question is rather which Method object #method inside a super call should return
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> now #method is a normal method call itself, if it changes behavior depending on the invocation of the method it is called from, that might be equally confusing
tahon__ has quit []
prefixed has quit [Ping timeout: 250 seconds]
<jhass> say you have def x; method(:y); end; and an override for y in in the subclass and x called through super, would you not expect it to return the y of the subclass?
Guest53 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shoutsid has joined #ruby
baweaver has joined #ruby
htmldrum has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
<chino> right I agree
fullofcaffeine has quit [Ping timeout: 256 seconds]
<chino> honestly I never ever used defined? before
<jhass> s/before// for me
axl_ has quit [Quit: axl_]
<jhass> haven't decided yet if I'd use it or just rescue in your case yet
Rickmasta has joined #ruby
cdg has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
devdazed has quit [Quit: Computer has gone to sleep.]
ngscheurich has quit [Ping timeout: 240 seconds]
__chris has joined #ruby
chipotle has quit [Quit: cheerio]
<chino> rescue crossed my mind but I just felt there should be a way to check similar to block_given?
infernix has joined #ruby
neanderslob has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 41.0.1/20150929144111]]
cwong_on_irc has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cwong_on_irc> how do i do a if staetment that will be like: if file exist AND shell output returns none 0?. so like the file /path/to/file exist, AND the command output failed, do x
phutchins1 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djcp has quit [Ping timeout: 246 seconds]
pocketprotector- is now known as Al-Qaeda
benlieb has joined #ruby
Al-Qaeda is now known as pocketprotector-
shoutsid has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
michaeldeol has joined #ruby
axl_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
shoutsid has joined #ruby
datanoise has joined #ruby
axl_ has quit [Client Quit]
dopamean_ has quit [Ping timeout: 265 seconds]
_aeris_ has quit [Ping timeout: 265 seconds]
_aeris_ has joined #ruby
yfeldblum has joined #ruby
<`based_pdev`> wat
eminencehc has quit [Remote host closed the connection]
jenrzzz has joined #ruby
shoutsid has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 260 seconds]
nateberkope has joined #ruby
based_pdev_ has joined #ruby
hobodave has quit [Quit: Computer has gone to sleep.]
eminencehc has joined #ruby
mosez has quit [Ping timeout: 256 seconds]
unshadow has quit [Ping timeout: 244 seconds]
ekleog has quit [Ping timeout: 244 seconds]
mosez has joined #ruby
unshadow has joined #ruby
ekleog has joined #ruby
[Butch] has quit [Read error: Connection reset by peer]
`based_pdev` has quit [Ping timeout: 240 seconds]
SCHAAP137 has quit [Quit: Leaving]
nateberkopec has quit [Ping timeout: 250 seconds]
<havenwood> cwong_on_irc: if File.exist?(path) && !system(cmd, path)
mordocai has quit [Remote host closed the connection]
dmolina has quit [Quit: Leaving.]
davedev2_ has quit [Read error: Connection reset by peer]
dfockler has quit [Ping timeout: 252 seconds]
fedexo has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
<havenwood> cwong_on_irc: Kernel#system returns `false` for non-zero exit statuses.
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 244 seconds]
chino has quit [Quit: Page closed]
User458764 has joined #ruby
Channel6 has joined #ruby
northfurr has joined #ruby
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
davedev2_ has joined #ruby
rushed has quit [Quit: rushed]
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
teclator has joined #ruby
hephaestus_rg has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
<BraddPitt> is there any easy way for a gem to find the root of a project that it is being used in?
pharaoh2 has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
blackmesa has joined #ruby
matp has quit [Ping timeout: 264 seconds]
<drbrain> BraddPitt: no, it could parse Kernel#caller which is not an easy or reliable way to determine that
<BraddPitt> right, ok ill just have the user specify then
workmad3 has quit [Ping timeout: 250 seconds]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3asd` has quit [Ping timeout: 268 seconds]
RegulationD has quit [Remote host closed the connection]
ksteck has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BlackCoyote has quit [Ping timeout: 246 seconds]
<drbrain> if you're called from `rake`, Dir.pwd is set by default to the directory of the Rakefile
fullofcaffeine has quit [Ping timeout: 264 seconds]
s2013 has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
Lucky__ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
davedev2_ has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
DEA7TH has quit [Quit: DEA7TH]
djcp has joined #ruby
fullofcaffeine has joined #ruby
fmcgeough has joined #ruby
s2013 has quit [Ping timeout: 246 seconds]
sanjayu has joined #ruby
bkulbida has quit [Ping timeout: 264 seconds]
__chris has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
chipotle has joined #ruby
johnzorn has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
crdpink has quit [Ping timeout: 246 seconds]
<cwong_on_irc> havenwood: let me try that thanks.
crdpink has joined #ruby
inanepenguin has quit [Ping timeout: 240 seconds]
johnzorn has joined #ruby
yfeldblum has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
firstdayonthejob has quit [Ping timeout: 260 seconds]
matugm has quit [Ping timeout: 260 seconds]
fmcgeough has quit [Quit: fmcgeough]
chrisja has quit [Quit: leaving]
yfeldblu_ has joined #ruby
<BraddPitt> oh thanks drbrain didn't think about that
Channel6 has quit [Ping timeout: 250 seconds]
JDiPierro has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 246 seconds]
fullofcaffeine has quit [Ping timeout: 256 seconds]
arthurix has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
BTRE has joined #ruby
fullofcaffeine has joined #ruby
matp has joined #ruby
bkulbida has joined #ruby
Ropeney has joined #ruby
arthurix_ has quit [Ping timeout: 272 seconds]
davedev24 has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
mprelude has quit [Ping timeout: 250 seconds]
matp has quit [Ping timeout: 250 seconds]
rushed has joined #ruby
fullofcaffeine has quit [Read error: Connection reset by peer]
teclator has quit [Remote host closed the connection]
<BraddPitt> similar to how rails can do rake_tasks(&block) to load external rake tasks in a railtie, can I do something similar for a non-rails app?
diegoviola has joined #ruby
ericjphillips has quit [Quit: Leaving.]
DoubleMalt has quit [Ping timeout: 240 seconds]
Motoservo has quit [Quit: Over & out.]
noethics has quit [Remote host closed the connection]
<drbrain> BraddPitt: you can require them from anywhere
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CVTJNII has quit [Quit: Leaving]
matp has joined #ruby
fullofcaffeine has joined #ruby
pharaoh2 has joined #ruby
riotjones has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
atomical has joined #ruby
lethjakman has joined #ruby
rushed has quit [Quit: rushed]
jenrzzz has quit [Ping timeout: 264 seconds]
<BraddPitt> i mean automatically do it, as the railtie would do for rails
ksteck has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 264 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
nateberkope has quit [Quit: Leaving...]
aaeron has quit [Quit: Leaving.]
shinnya has joined #ruby
aaeron has joined #ruby
<drbrain> the user would need to trigger it somehow
<drbrain> you can run code on require, so that's an option
rcvalle has quit [Quit: rcvalle]
havenwood has quit [Ping timeout: 260 seconds]
arthurix_ has joined #ruby
alveric_ has joined #ruby
aaeron has quit [Quit: Leaving.]
nateberkopec has joined #ruby
pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
v4n has joined #ruby
arthurix has quit [Ping timeout: 256 seconds]
alveric has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
djcp has quit [Quit: WeeChat 1.0.1]
pharaoh2 has joined #ruby
rushed has joined #ruby
shoutsid has joined #ruby
paulcsmith has joined #ruby
chouhoulis has joined #ruby
workmad3 has joined #ruby
aaeron has joined #ruby
n008f4g_ has quit [Ping timeout: 255 seconds]
Kendos-Kenlen has quit [Quit: Konversation terminated!]
deg_ has joined #ruby
blackmesa has quit [Quit: WeeChat 1.3]
speakingcode has quit [Ping timeout: 250 seconds]
deg__ has quit [Ping timeout: 272 seconds]
FernandoBasso has joined #ruby
bazbing80 has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
bkulbida has quit [Ping timeout: 244 seconds]
fullofca_ has joined #ruby
fullofcaffeine has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 272 seconds]