apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
meinside has joined #ruby
RoryHughes has quit [Ping timeout: 272 seconds]
hrs has joined #ruby
snath has quit [Ping timeout: 256 seconds]
x1337807x has quit [Ping timeout: 264 seconds]
th3m4ri0 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RoryHughes has joined #ruby
charliesome has joined #ruby
gattie_ has quit [Quit: Leaving...]
hrs has quit [Client Quit]
devoldmx_ has quit [Read error: Connection timed out]
nfk has quit [Quit: yawn]
chrishough has joined #ruby
shime has joined #ruby
momomomomo has quit [Quit: momomomomo]
adriancb has joined #ruby
MrBigNum has joined #ruby
Hijiri has joined #ruby
adriancb has quit [Remote host closed the connection]
prometh has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
th3m4ri0 has quit [Read error: Connection reset by peer]
prometh has left #ruby [#ruby]
snath has joined #ruby
goshdarnyou has joined #ruby
wallerdev has quit [Quit: wallerdev]
michaeldeol has joined #ruby
hellome has joined #ruby
wallerdev has joined #ruby
bricker_ has joined #ruby
hellome has quit [Read error: Connection reset by peer]
mjuszczak has quit []
hellome has joined #ruby
mjuszczak has joined #ruby
djbkd has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 265 seconds]
bricker has quit [Ping timeout: 245 seconds]
QKO has quit [Remote host closed the connection]
djbkd has joined #ruby
x1337807x has joined #ruby
adriancb has joined #ruby
x1337807x has quit [Max SendQ exceeded]
hasrb has quit [Remote host closed the connection]
ghr has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
zarubin_ has joined #ruby
baweaver has joined #ruby
x1337807x has joined #ruby
drag00n has joined #ruby
Kabaka has joined #ruby
conniemj_ has quit [Quit: (null)]
geggam has quit [Ping timeout: 252 seconds]
gregf_ has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
mary5030_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
zarubin_ has quit [Ping timeout: 256 seconds]
beef-wellington has joined #ruby
siaw has joined #ruby
jkline has joined #ruby
russt has quit [Quit: russt]
Techguy305 has quit [Ping timeout: 244 seconds]
mary5030 has quit [Ping timeout: 265 seconds]
mjuszczak has quit []
crdpink2 has joined #ruby
<jkline> I’m using YAML.dump(configured_apps), configured_apps is a de-normalized data structure, it contains repeated arrays.
Kabaka has quit [Remote host closed the connection]
<jkline> Therefore my output contains *70276528361380 to reference that array
baroquebobcat has quit [Quit: baroquebobcat]
<jkline> What is the way for me to disable that feature of YAML?
<jkline> I think these are called YAML References
crdpink has quit [Ping timeout: 252 seconds]
mjuszczak has joined #ruby
x1337807x has quit [Ping timeout: 244 seconds]
<uptownhr> how do you call a static method from another static method inside the same class
<uptownhr> i’ve tried self., no luck
Kabaka has joined #ruby
th3m4ri0 has joined #ruby
NivenHuH has quit [Read error: Connection reset by peer]
<wallerdev> are you sure you tried that?
oo_ has joined #ruby
<wallerdev> >> class Cool; def self.okay; self.why; end; def self.why; 5; end end
<eval-in> wallerdev => :why (https://eval.in/241541)
zorak_ has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
<wallerdev> oops
<wallerdev> >> class Cool; def self.okay; self.why; end; def self.why; 5; end end; Cool.okay
<eval-in> wallerdev => 5 (https://eval.in/241542)
<jkline> Or, they are called aliases
Tricon has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
siaw has quit [Quit: siaw]
synaptik has quit [Ping timeout: 264 seconds]
jordanm has joined #ruby
nateberkopec has quit [Quit: Leaving...]
brocktimus has quit [Ping timeout: 264 seconds]
uptownhr has quit [Quit: uptownhr]
musl has joined #ruby
pengin has quit [Remote host closed the connection]
mjuszczak has quit []
pengin has joined #ruby
SparkMasterTape has joined #ruby
keen__________31 has quit [Read error: Connection reset by peer]
lampd1 has joined #ruby
Sawbones_ has joined #ruby
th3m4ri0 has quit [Ping timeout: 264 seconds]
SparkMasterTape has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
keen__________31 has joined #ruby
aef has quit [Remote host closed the connection]
lampd1_ has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
pengin has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
lampd1_ has joined #ruby
charliesome has quit [Quit: zzz]
th3m4ri0 has joined #ruby
lampd1 has quit [Ping timeout: 244 seconds]
sdrew has joined #ruby
sevenseacat has joined #ruby
QKO has joined #ruby
sdrew has quit [Client Quit]
bronson has quit [Remote host closed the connection]
lampd1 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gregf_ has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
pwnz0r has quit [Remote host closed the connection]
lampd1_ has quit [Ping timeout: 256 seconds]
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
russt has joined #ruby
bricker_ is now known as bricker
shime has quit [Remote host closed the connection]
daynaskully has quit [Quit: quit]
siaw has joined #ruby
uptownhr has joined #ruby
fryguy9 has quit [Quit: Leaving.]
pietr0 has quit [Quit: pietr0]
phutchins has joined #ruby
lampd1 has quit [Ping timeout: 256 seconds]
<siaw> learning everyday about rails and ruby. can someone please help me whit what these mean? https://gist.github.com/siaw23/153b50d01efe9319bbf0#file-terminal-txt-L3-L5
<siaw> hy those — and +++ and @@-1 +1@@. what do they mean?
<ponga> la la la
bronson has joined #ruby
th3m4ri0 has quit [Ping timeout: 256 seconds]
MartynKeigher has joined #ruby
<wallerdev> those are part of a diff
<wallerdev> oh nvm i didnt look
lampd1 has joined #ruby
<wallerdev> lol
StevenNunez has joined #ruby
th3m4ri0_ has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
th3m4ri0_ has quit [Client Quit]
constantlurking has quit [Ping timeout: 246 seconds]
fivetwentysix has quit [Quit: fivetwentysix]
<wallerdev> or maybe it is a weird diff format
<wallerdev> not sure
brlkid has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<wallerdev> like its saying the line starting with the minus is the expected, and the line starting with the + was the actual result, and you had one line of each so -1 and +1
<wallerdev> just a random guess
Aswebb_ has quit []
x77686d has quit [Quit: x77686d]
hasrb has joined #ruby
x77686d has joined #ruby
charliesome has joined #ruby
unreal has joined #ruby
radic has quit [Ping timeout: 245 seconds]
<siaw> wallerdev: hmmmm ok. i don’t really know that’s why i’m here :)
nateberkopec has joined #ruby
davedev24_ has joined #ruby
ponga has quit [Remote host closed the connection]
radic has joined #ruby
ponga has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
davedev2_ has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: ciao.]
StevenNunez has quit [Quit: Leaving...]
ItSANgo has quit [Quit: Leaving...]
mjuszczak has quit []
lampd1_ has joined #ruby
checkit has quit [Ping timeout: 264 seconds]
lampd1 has quit [Ping timeout: 265 seconds]
vdamewood has joined #ruby
jkline has quit [Quit: jkline]
jherbst has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
gtrak has quit [Ping timeout: 245 seconds]
pwnz0r has joined #ruby
davedev2_ has joined #ruby
kbarry has quit [Ping timeout: 256 seconds]
gregf_ has quit [Ping timeout: 255 seconds]
davedev24_ has quit [Ping timeout: 264 seconds]
ItSANgo has joined #ruby
uptownhr has quit [Quit: uptownhr]
rbennacer has joined #ruby
x77686d has quit [Quit: x77686d]
vdamewood has quit [Quit: Computer has gone to sleep.]
pwnz0r has quit [Ping timeout: 256 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby
pdoherty has joined #ruby
jkline has joined #ruby
thumpba has joined #ruby
uptownhr has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
gregf_ has joined #ruby
hasrb has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
<bricker> siaw: yeah it's just a diff between what you expected, and what you got
thumpba has quit [Remote host closed the connection]
uptownhr has quit [Client Quit]
<bricker> rspec outputs diffs similar to that too
rbennacer has quit [Ping timeout: 265 seconds]
emmesswhy has quit [Quit: Leaving]
thumpba_ has quit [Ping timeout: 244 seconds]
tziom has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
ghr has joined #ruby
hasrb has joined #ruby
agrinb_ has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
hasrb has quit [Remote host closed the connection]
hasrb has joined #ruby
kl__ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tziom has joined #ruby
Kabaka has quit [Read error: Connection reset by peer]
QKO has quit [Changing host]
QKO has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
Parker0 has joined #ruby
fivetwentysix has joined #ruby
vdamewood has joined #ruby
vdamewood has quit [Client Quit]
davasaurous has quit [Remote host closed the connection]
fivetwentysix has quit [Client Quit]
hasrb has quit [Remote host closed the connection]
gregf_ has quit [Ping timeout: 256 seconds]
kl__ has quit [Ping timeout: 252 seconds]
hasrb has joined #ruby
uptownhr has joined #ruby
bklane has quit []
_maes_ has quit [Ping timeout: 245 seconds]
kasperti_ has quit []
revw has joined #ruby
ARCADIVS has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
adriancb has quit [Remote host closed the connection]
hasrb has quit [Ping timeout: 244 seconds]
digifiv5e has joined #ruby
agent_white has joined #ruby
digifiv5e is now known as Guest95706
mjuszczak has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
robustus has joined #ruby
hmsimha has joined #ruby
siaw has quit [Quit: siaw]
gregf_ has joined #ruby
hasrb has joined #ruby
hasrb has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
lampd1 has joined #ruby
lampd1_ has quit [Ping timeout: 244 seconds]
eladmeidar has joined #ruby
gregf_ has quit [Ping timeout: 245 seconds]
phoo1234567 has quit [Quit: Leaving]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
VBlizzard has joined #ruby
adriancb has joined #ruby
jordanm has quit [Ping timeout: 265 seconds]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mleung has quit [Quit: mleung]
marr has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
vdamewood has joined #ruby
uptownhr has quit [Quit: uptownhr]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minasmazar_ has quit [Quit: Konversation terminated!]
testcore has quit [Ping timeout: 250 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellome has quit [Remote host closed the connection]
djbkd has joined #ruby
hellome has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has quit [Ping timeout: 256 seconds]
rkalfane has joined #ruby
conniemj_ has joined #ruby
jkline has joined #ruby
russt has quit [Quit: russt]
gsd has joined #ruby
kiyote23 has joined #ruby
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 264 seconds]
cyberarm has quit [Quit: Leaving]
baweaver has joined #ruby
eka has joined #ruby
lampd1 has quit [Remote host closed the connection]
russt has joined #ruby
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
roolo has joined #ruby
kiyote23 has quit [Ping timeout: 264 seconds]
icebourg has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
lampd1 has joined #ruby
roolo has quit [Ping timeout: 244 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
swartwulf has quit [Excess Flood]
stunder has quit [Quit: Leaving]
swartwulf has joined #ruby
claptor has joined #ruby
gregf_ has joined #ruby
russt has quit [Quit: russt]
Dopagod has quit [Read error: Connection reset by peer]
Dopagod has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
lampd1 has quit [Ping timeout: 265 seconds]
<diegoviola> is the rubinius drama over already?
DadoCe has joined #ruby
<pipework> Don't stir.
yfeldblu_ has joined #ruby
aef has joined #ruby
DadoCe_ has joined #ruby
DadoCe has quit [Read error: Connection reset by peer]
JStoker has quit [Read error: Connection reset by peer]
hasrb has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
tokik has joined #ruby
studiotate has joined #ruby
hmsimha has joined #ruby
odin22 has quit []
zarubin_ has joined #ruby
ghr has joined #ruby
lampd1 has joined #ruby
coderhs has quit [Read error: Connection reset by peer]
hsps_ has joined #ruby
windowlicker has quit [Quit: Lost terminal]
bricker has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
hasrb has quit [Remote host closed the connection]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
zarubin_ has quit [Ping timeout: 265 seconds]
ghr has quit [Ping timeout: 264 seconds]
hrs has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has quit []
davasaurous has joined #ruby
davasaurous has quit [Remote host closed the connection]
hrs has left #ruby [#ruby]
davasaurous has joined #ruby
Hijiri has quit [Ping timeout: 245 seconds]
mjuszczak has joined #ruby
towski_ has quit [Remote host closed the connection]
JStoker has joined #ruby
DadoCe_ has quit [Remote host closed the connection]
mjuszczak has quit [Client Quit]
aef has quit [Remote host closed the connection]
aef has joined #ruby
Hijiri has joined #ruby
aef has quit [Remote host closed the connection]
amclain has joined #ruby
dllama has quit [Read error: Connection reset by peer]
hmsimha has quit [Ping timeout: 252 seconds]
dllama has joined #ruby
mjuszczak has joined #ruby
gsd has quit [Read error: Connection reset by peer]
jkline has quit [Quit: jkline]
beef-wellington has quit [Ping timeout: 265 seconds]
SpikeMaster has joined #ruby
DadoCe has joined #ruby
sondr3 has quit [Quit: Ich bin ein sleep.]
mloveless has quit []
deric_skibotn has quit [Ping timeout: 240 seconds]
dc_ has quit [Remote host closed the connection]
slash_nick has quit [Remote host closed the connection]
dc_ has joined #ruby
TheNet has quit [Quit: Leaving...]
davasaurous has quit [Remote host closed the connection]
devoldmx_ has joined #ruby
nrcpts has joined #ruby
pwnz0r has joined #ruby
hmsimha has joined #ruby
djbkd has quit [Quit: My people need me...]
dc_ has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
n008f4g_ has quit [Ping timeout: 245 seconds]
icebourg has quit [Ping timeout: 252 seconds]
maximski has joined #ruby
mahtennek has joined #ruby
maximski has quit [Max SendQ exceeded]
PanPan has joined #ruby
maximski has joined #ruby
arup_r has joined #ruby
mjuszczak has joined #ruby
elfuego has quit [Quit: elfuego]
hashpuppy has quit [Quit: Textual IRC Client: www.textualapp.com]
icebourg has joined #ruby
devoldmx_ has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
Musashi007 has joined #ruby
kiyote23 has joined #ruby
devoldmx has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
adriancb has quit [Remote host closed the connection]
mjuszczak has quit []
agent_white has quit [Ping timeout: 264 seconds]
i8igmac has quit [Read error: Connection reset by peer]
pwnz0r has quit [Remote host closed the connection]
i8igmac has joined #ruby
zz_Mongey is now known as Mongey
agent_white has joined #ruby
kapil__ has joined #ruby
blaedj has joined #ruby
blaedj has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
russt has joined #ruby
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
kiyote23 has quit [Remote host closed the connection]
lysw123 has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
evanjs has joined #ruby
devoldmx_ has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
_5kg has quit [Ping timeout: 240 seconds]
dc_ has joined #ruby
crazymykl has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lysw123_ has joined #ruby
russt has quit [Quit: russt]
wallerdev has joined #ruby
mjuszczak has joined #ruby
hornairs has quit [Quit: hornairs]
agrinb_ has quit [Remote host closed the connection]
lysw123 has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
hasrb has joined #ruby
Mongey is now known as zz_Mongey
<agent_white> Evenin'
x77686d has joined #ruby
mitt3ns has joined #ruby
duncannz has joined #ruby
mitt3ns has left #ruby [#ruby]
bradland_ has joined #ruby
pdoherty has joined #ruby
bradland_ has left #ruby [#ruby]
jefus_ has joined #ruby
agrinb has quit [Ping timeout: 255 seconds]
sdwrage has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
russt has joined #ruby
davedev24_ has joined #ruby
russt has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
ghr has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
zz_Mongey is now known as Mongey
jefus has quit [Ping timeout: 264 seconds]
parduse has quit []
bradland has quit [Quit: bradland]
hasrb has quit []
lysw123_ has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 252 seconds]
parduse has joined #ruby
bradland has joined #ruby
ajaiswal has joined #ruby
duncannz has quit [Remote host closed the connection]
davedev2_ has joined #ruby
krz has joined #ruby
zacstewart has quit [Quit: leaving]
davedev24_ has quit [Ping timeout: 265 seconds]
bradland is now known as bradleyland
tchebb has quit [Ping timeout: 264 seconds]
lysw123 has joined #ruby
bradleyland is now known as bradland
tchebb has joined #ruby
agrinb has joined #ruby
QKO has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
agent_white has quit [Read error: Connection reset by peer]
mjuszczak has quit []
maximski has quit []
hmsimha has quit [Ping timeout: 252 seconds]
parabolize has joined #ruby
mahtennek has quit [Remote host closed the connection]
agent_white has joined #ruby
jaequery has joined #ruby
hsps_ has quit [Ping timeout: 245 seconds]
mjuszczak has joined #ruby
davasaurous has joined #ruby
hamakn has joined #ruby
Mongey is now known as zz_Mongey
hmsimha has joined #ruby
agrinb has quit [Remote host closed the connection]
x1337807x has joined #ruby
bradland has joined #ruby
bradland has quit [Changing host]
Hijiri has quit [Ping timeout: 264 seconds]
davasaurous has quit [Ping timeout: 245 seconds]
metadave has joined #ruby
aef has joined #ruby
mjuszczak has quit []
SaulOfTarsus is now known as speakingcode
kiyote23 has joined #ruby
agrinb has joined #ruby
metadave has quit [Client Quit]
LudicrousMango has joined #ruby
kiyote23 has quit [Remote host closed the connection]
hephaestus_rg has joined #ruby
mjuszczak has joined #ruby
mahtennek has joined #ruby
Pharaoh2 has joined #ruby
doritostains has quit [Quit: WeeChat 1.0.1]
yfeldblum has joined #ruby
scripore has joined #ruby
Fretta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
radic has quit [Ping timeout: 245 seconds]
hmsimha has quit [Quit: Leaving]
oo_ has joined #ruby
radic has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
krz has quit [Quit: WeeChat 1.0.1]
josephndenton has quit [Ping timeout: 264 seconds]
ivanskie has joined #ruby
bradland has quit [Quit: leaving]
bradland has joined #ruby
bronson has quit [Remote host closed the connection]
bradland has quit [Client Quit]
mjuszczak has quit []
bradland has joined #ruby
duncannz has joined #ruby
duncannz has quit [Remote host closed the connection]
_5kg has joined #ruby
mahtennek has quit [Remote host closed the connection]
<jaequery> how can i get a BigDecimal number to show up as human readable context?
<bradland> jaequery: call .to_s(10) on it
<bradland> the argument is the base
<jaequery> hmm, and then how do i convert it bacto big decimal?
<bradland> and is optional (default is 10)
mjuszczak has joined #ruby
<bradland> calling to_s won't alter the receiver
<bradland> it will return a string with the number formatted for base 10
<bradland> so you should only use that to_s method when displaying the number
DadoCe has quit [Remote host closed the connection]
AlexRussia has joined #ruby
braincrash has quit [Quit: bye bye]
<jaequery> hm i just wish when i interpret the hash into json, it converts all BigDecimal to use to_s for me, is there a way to do that?
MrBigNum has quit []
bradland has quit [Quit: leaving]
mahtennek has joined #ruby
bradland has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
<bradland> jaequery: sry, had to change up IRC clients
mahtennek has quit [Client Quit]
<bradland> when you build the hash, build it with strings instead of bignum values
<jaequery> but i dont wanna re-build by hand, just want to convert my hash to json, but at the time make all BigDecimals readable
bradland has quit [Client Quit]
bradland has joined #ruby
bradland has joined #ruby
bradland has quit [Changing host]
carvantes has joined #ruby
braincrash has joined #ruby
<jaequery> so i just wanna be more efficient w/ the process
<bradland> where is the hash coming from?
<bradland> what i’m suggesting is that you not build it with bignum to begin with
devoldmx has joined #ruby
<jaequery> weird
<bradland> what’s weird?
<jaequery> a = {:amount => BigDecimal.new(500)}
<jaequery> >> a[:amount].to_s
<jaequery> => "0.15E3"
<eval-in> jaequery => undefined local variable or method `a' for main:Object (NameError) ... (https://eval.in/241562)
<bradland> >> a = {:amount => BigDecimal.new(500)};a[:amount].to_s
<eval-in> bradland => uninitialized constant BigDecimal (NameError) ... (https://eval.in/241563)
<bradland> derp, BigDecimal, not bignum
<jaequery> confused
devoldmx_ has joined #ruby
<bradland> i thought you said bignum earlier
<bradland> sorry
kp666 has joined #ruby
<bradland> >> require 'bigdecimal';a = {:amount => BigDecimal.new(500)};a[:amount].to_s(10)
<eval-in> bradland => "0.5E3" (https://eval.in/241564)
mikepack has quit [Remote host closed the connection]
zorak_ has quit [Ping timeout: 240 seconds]
<bradland> jaequery: have a look at the to_s method for BigDecimal http://www.ruby-doc.org/stdlib-2.2.0/libdoc/bigdecimal/rdoc/BigDecimal.html#method-i-to_s
devoldmx has quit [Ping timeout: 256 seconds]
<jaequery> i dont know which one im supposed to use
<bradland> which one what? argument to BigDecimal#to_s?
<jaequery> there is 'engineering notation', 'conventional floating poitn'
<jaequery> isn't floats something i want to avoid?
zarubin_ has joined #ruby
devdazed has joined #ruby
<bradland> Float is a datatype
<bradland> floating point notation is when you write a number like 0.0005
maximski has joined #ruby
ghr has joined #ruby
kiyote23 has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
<bradland> so, when you’re dealing with numbers, the datatype you use internally should represent the full precision of the number required for your calculations
<jaequery> so they have, .to_s('5F'), .to_s('+8F'), .to_s('F')
<jaequery> i just dealing with currency
<jaequery> which one is right one for this case?
<jaequery> USD btw
zz_Mongey is now known as Mongey
<bradland> that’s called a format string
<bradland> it tells to_s how you want the number formated
<bradland> how many decimal places do you want?
Joufflu has joined #ruby
blackgoat has quit [Quit: restart]
mjuszczak has quit []
<jaequery> 2
<bradland> .to_s(‘F’) should do what you want
<jaequery> that gives me , for 150.50, it returns 150.5
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<bradland> you can use BigDecimal.truncate(n) to truncate the decimal places
charliesome has quit [Quit: zzz]
<bradland> if you end up with large fractional numbers
<jaequery> but are you sure i should convert to float? im reading thats dangerous
bashusr has quit [Read error: Connection reset by peer]
zarubin_ has quit [Ping timeout: 256 seconds]
<bradland> you’re not converting to float
<bradland> to_s returns a string
mjuszczak has joined #ruby
<bradland> you’re missing something fundamental here
<bradland> >> BigDecimal.new(“150.5”)
kiyote23 has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 264 seconds]
<bradland> do you understand what types are?
blackgoat has joined #ruby
<bradland> so, say you have a variable, and you store a BigDecimal value in it
<bradland> my_number = BigDecimal.new(“150.5”)
bashusr has joined #ruby
anaeem1 has joined #ruby
<bradland> my_number is of the class BigDecimal
<jaequery> yea i know
<bradland> ok, so when you call my_number.to_s(‘F’), what happens?
<bradland> my_number doesn’t change
<jaequery> so if i want all the instances of BigDecimal in my json hash to be of string, wht's the best way to do this? is there a built-in method or do i need to iterate recursively on my own?
mjuszczak has quit [Client Quit]
Mongey is now known as zz_Mongey
<bradland> you don’t understand what’s happening
mjuszczak has joined #ruby
centrx has quit [Ping timeout: 240 seconds]
mjuszczak has quit [Max SendQ exceeded]
<bradland> i can’t take you any further, becase you’re stuck on the idea that my_number is changing when you call to_s on it
<bradland> and you’re worried about floats
Channel6 has joined #ruby
<bradland> that means you don’t understand what happens when you call to_s
<jaequery> i never said that
<jaequery> i know what you are saying
<bradland> >> require 'bigdecimal';a = BigDecimal.new("150.5");p a.to_s(‘F’);p a
mjuszczak has joined #ruby
<jaequery> ...
<bradland> well, eval isn’t working
<jaequery> dont worry i know what you mean , yea to_s or to_i etc dont do in-line replacements , i knew that a long time ago
Musashi007 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
<jaequery> i mjust saying i have a ruby hash, that converted to json hash, but i want all BigDecimals to be a string format, trying to see whats the most optimized / efficient way to do this
scripore has quit [Quit: Leaving]
bashusr has quit [Changing host]
bashusr has joined #ruby
<jaequery> do i need to createa my own method that iterates each node one at a time? or is there some, ruby/rails conversion method to accomodate?
adriancb has joined #ruby
<bradland> i don’ t think there’s a rails method for this particular task
<bradland> i think you’re going to have to iterate the hash and convert them
<jaequery> for a task this common, im a little surprised, as if im the only one dealing with currency store or something
<bradland> i’m looking at some code in our codebase
Hijiri has joined #ruby
<jaequery> id have expected if anything, JSON.generate would perform this behaviour for me
<jaequery> but it doesnt
<jaequery> perhas im missing a flag or something?
<bradland> looks like there is something in Rails 4
gsd has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icebourg has quit []
carvantes has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
maximski has quit []
zz_Mongey is now known as Mongey
agent_white has quit [Quit: brb]
Parker0 has joined #ruby
bashusr has joined #ruby
evanjs has quit [Remote host closed the connection]
<jaequery> anything similar for sinatra?
Mongey is now known as zz_Mongey
<bradland> looking to see what this thing looks like inside
<bradland> some active support stuff is easy to just rip out
<bradland> i did the same with some number formatters
Cache_Money has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
<bradland> looks like they’re pulling it out and putting it in a gem: https://github.com/rails/activesupport-json_encoder
<jaequery> gotcha
ivanskie has joined #ruby
davasaurous has joined #ruby
<bradland> good luck extracting that :)
Sawbones_ has joined #ruby
carvantes has joined #ruby
centrx has joined #ruby
bradland has quit [Quit: bradland]
LudicrousMango has quit []
bashusr has quit [Read error: Connection reset by peer]
siaw has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<jaequery> cool, thanks brad
<jaequery> i'll look into it
bashusr has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sawbones_ has quit [Client Quit]
davasaurous has quit [Ping timeout: 244 seconds]
Parker0 has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Ping timeout: 244 seconds]
devoldmx has joined #ruby
sinequanon has joined #ruby
zz_Mongey is now known as Mongey
jordanm has joined #ruby
agrinb has quit [Remote host closed the connection]
ponga has joined #ruby
dllama has left #ruby [#ruby]
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
agrinb has joined #ruby
oleo__ has joined #ruby
oleo is now known as Guest86754
devoldmx has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
Guest86754 has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
Deele has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
bashusr has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
bashusr has joined #ruby
Xiti` has joined #ruby
govg has joined #ruby
Guest90 has joined #ruby
Mongey is now known as zz_Mongey
Loaft has quit [Read error: Connection reset by peer]
porfa has joined #ruby
<porfa> yellow! is it possible (and how/where) to edit sinatra config so i can change the default port from 4567 to 9999 ?
Spami has joined #ruby
<porfa> (for everytime sinatra is called, for all users)
kyb3r_ has joined #ruby
sinequanon has quit []
Xiti has quit [Ping timeout: 264 seconds]
Spami has quit [Client Quit]
bashusr has quit [Read error: Connection reset by peer]
bronson has joined #ruby
arup_r_ has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
siaw has quit [Quit: siaw]
bashusr has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 240 seconds]
hornairs has joined #ruby
MasterPiece has joined #ruby
Morkel has joined #ruby
Guest90 has quit [Quit: Textual IRC Client: www.textualapp.com]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Spami has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
pdoherty has joined #ruby
<centrx> porfa, Do you think it is impossible?
bashusr has quit [Read error: Connection reset by peer]
zz_Mongey is now known as Mongey
davasaurous has joined #ruby
<porfa> haha nothing is impossible! port9999 was just an eexample
bashusr has joined #ruby
<porfa> but i alredy found anotherway around what i needed, i’ll just route the ports or something, this app is for inside the corp only, not outsite! it’s done :p
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
Megtastique has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
ghr has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
astrobun_ has joined #ruby
lxsameer has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
bashusr has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
crdpink2 has quit [Quit: q term]
crdpink2 has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
crdpink2 has quit [Client Quit]
crdpink has joined #ruby
tectonic has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<AlexRussia> I'd update ruby, how to I can install all gems from old version to new?
adriancb has quit [Remote host closed the connection]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
shellfu_afk has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
Xiti` has quit [Quit: Xiti`]
oo_ has quit [Remote host closed the connection]
bashusr has joined #ruby
Xiti has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Xiti has quit [Client Quit]
nanoyak has joined #ruby
Xiti has joined #ruby
jordanm has quit [Ping timeout: 256 seconds]
devoldmx has quit [Remote host closed the connection]
maestrojed has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoyak has quit [Client Quit]
jordanm has joined #ruby
jordanm has quit [Changing host]
jordanm has joined #ruby
shellfu_afk has joined #ruby
MartynKeigher has quit [Quit: Leaving]
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
bashusr has joined #ruby
Mongey is now known as zz_Mongey
agrinb has joined #ruby
Tricon has joined #ruby
nrcpts has quit [Quit: (null)]
Pharaoh2 has joined #ruby
zz_Mongey is now known as Mongey
sigurding has quit [Quit: sigurding]
lemur has joined #ruby
Pharaoh2 has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 1.1]
dionysus69 has joined #ruby
TomyWork has joined #ruby
commmmodo has quit [Quit: commmmodo]
parduse has quit []
maestrojed has left #ruby ["Textual IRC Client: www.textualapp.com"]
elcontrastador has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
Pharaoh2 has joined #ruby
ghostlines has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashusr has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
oleo__ has quit [Quit: Verlassend]
ghostlines has quit [Client Quit]
parduse has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nanoyak has quit [Client Quit]
bashusr has joined #ruby
chrishough has joined #ruby
kiyote23 has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 245 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszczak has quit []
Mongey is now known as zz_Mongey
oo_ has joined #ruby
checkit has joined #ruby
ivanskie has joined #ruby
revw has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
bronson has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
roolo has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
roolo has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
davasaurous has quit [Ping timeout: 255 seconds]
josephcs has joined #ruby
commmmodo has joined #ruby
tus has quit []
Megtastique has quit []
tobago has joined #ruby
echooo has quit [Ping timeout: 265 seconds]
dc_ has quit [Remote host closed the connection]
apeiros__ has joined #ruby
work_op has quit [Quit: Page closed]
apeiros has quit [Read error: Connection reset by peer]
nrcpts has joined #ruby
nrcpts has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
nrcpts has joined #ruby
uptownhr has joined #ruby
Tricon has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
Nogbit has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
mjuszczak has quit []
ghr has joined #ruby
_maes_ has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
<arup_r_> >> puts sprintf("%d", 0b111)
<eval-in> arup_r_ => 7 ... (https://eval.in/241594)
parduse has quit []
<arup_r_> works.. But why then not the below ?
<arup_r_> sprintf("%d", 111B)
<arup_r_> >> puts sprintf("%d", 111B)
<eval-in> arup_r_ => /tmp/execpad-f00cf6ba494a/source-f00cf6ba494a:2: syntax error, unexpected tCONSTANT, expecting ')' ... (https://eval.in/241595)
<arup_r_> http://en.wikipedia.org/wiki/Computer_number_format#Octal_and_hex_number_display is telling When typing numbers formatting characters is used to describe the number system, for example 000_0000B or 0b000_00000 for binary...
mjuszczak has joined #ruby
parduse has joined #ruby
jenrzzz has joined #ruby
apeiros__ has quit [Remote host closed the connection]
apeiros has joined #ruby
hephaestus_rg has quit [Ping timeout: 240 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
Channel6 has quit [Quit: Leaving]
devoldmx has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
nanoyak has joined #ruby
Tricon has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
zz_Mongey is now known as Mongey
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
ptrrr has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
tectonic has quit []
seapy has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
Mia has quit [Read error: Connection reset by peer]
rbrs has joined #ruby
<arup_r_> Ruby doesn't support B version.. It seems
mgorbach has quit [Ping timeout: 264 seconds]
^wald0 has quit [Quit: ^wald0]
St_Marx has joined #ruby
seapy has quit [Ping timeout: 245 seconds]
hvxgr has quit [Ping timeout: 265 seconds]
hornairs has quit [Quit: hornairs]
sandelius has joined #ruby
MasterPiece has quit [Ping timeout: 252 seconds]
MasterPiece has joined #ruby
Soda has joined #ruby
sdwrage has quit [Quit: Leaving]
seapy_ has joined #ruby
uptownhr has quit [Quit: uptownhr]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
bashusr has joined #ruby
agrinb has joined #ruby
Lap64 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
mgorbach has joined #ruby
Tricon has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
avahey91 has quit [Quit: Connection closed for inactivity]
agrinb has quit [Ping timeout: 240 seconds]
seapy_ has quit [Ping timeout: 240 seconds]
bashusr has joined #ruby
apeiros has joined #ruby
bronson has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
conniemj_ has quit [Quit: (null)]
dc_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
uptownhr has joined #ruby
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bronson has quit [Ping timeout: 256 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashusr has joined #ruby
Tricon has joined #ruby
QKO has joined #ruby
ferr has joined #ruby
wallerdev has quit [Quit: wallerdev]
agent_white has joined #ruby
hvxgr has joined #ruby
pdoherty has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
uptownhr has quit [Quit: uptownhr]
noop has joined #ruby
commmmodo has quit [Quit: commmmodo]
<Sou|cutter> look to the pickaxe
<Sou|cutter> random wikipedia pages that aren't about ruby are unlikely sources of ruby truth
pdoherty has quit [Ping timeout: 252 seconds]
Macaveli has joined #ruby
<arup_r_> Sou|cutter: We trust Wikipedia.. But here is one exception that
<arup_r_> 's it. :)
<sevenseacat> lol
ghr has joined #ruby
bashusr has joined #ruby
Macaveli has quit [Client Quit]
kwd has joined #ruby
aganov has joined #ruby
agent_white has quit [Quit: leaving]
codecop has joined #ruby
agent_white has joined #ruby
mitt3ns has joined #ruby
mitt3ns has left #ruby [#ruby]
zwer_g has joined #ruby
_Andres has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
jordanm has quit [Ping timeout: 240 seconds]
zwer has quit [Ping timeout: 250 seconds]
Macaveli has joined #ruby
ptrrr has joined #ruby
astrobun_ has quit [Remote host closed the connection]
<shevy> when should people use .dup?
<shevy> so far it seems the only real use case is usually because of ARGV
ptrrr has quit [Client Quit]
<ddv> if you want to duplicate
bashusr has joined #ruby
<agent_white> Money.dup !!!
<sevenseacat> ddv: seems like a fair assumption.
* agent_white jumps in money-pool
<ddv> :)
<epitron> shevy: dup is useful for mutable datatypes
krz has joined #ruby
<epitron> arrays and hashes, for example
<shevy> hmm
<epitron> i use it in my "Hash#map_keys" and "Hash#map_values" methods
devoldmx has joined #ruby
<epitron> and "Object#with(fields)"
<epitron> sometimes people use it with String, because they're using mutating operations on it
<epitron> i find those silly :)
<epitron> i always treat strings as immutable
renier has quit [Ping timeout: 240 seconds]
<epitron> it saves having to think as much
renier has joined #ruby
krz has quit [Client Quit]
krz has joined #ruby
shime has joined #ruby
oo_ has quit [Remote host closed the connection]
<epitron> also, with ARGV, i usually use partition
bashusr has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
<epitron> opts, args = ARGV.partition { |arg| arg[/^-\w/] }
bluenemo has joined #ruby
<epitron> (if i'm being lazy and i don't wanna look up the documentation for optparse or slop)
devoldmx has quit [Ping timeout: 256 seconds]
amclain has quit [Quit: Leaving]
defrang has joined #ruby
Aova has joined #ruby
<apeiros> that looks like some quite broken opt parsing
defrang has quit [Client Quit]
oo_ has joined #ruby
user_ has joined #ruby
<epitron> it's quite simple actually
andikr has joined #ruby
<epitron> it assumes that you can't smash multiple options into a single argument though
<apeiros> yes, it's one of those "to every complex problem, there's a solution which is easy, simple and wrong" :-p
<user_> is there a better way to do this: echo "puts \"Hello, World!"\" | ruby
<epitron> For every complex problem there is a solution which is straightforward, simple, and wrong.
<epitron> -- H. L. Mencken
user_ is now known as Success
<apeiros> user_: ruby -e 'puts "Hello World!"
bashusr has joined #ruby
<apeiros> the missing ' is left as an exercise to the reader
<sevenseacat> hehe
lolmaus has quit [Quit: Konversation terminated!]
<epitron> apeiros: but look at how little boilerplate it takes: https://github.com/epitron/scripts/blob/master/rsync-dirs :)
<Success> @apeiros thanks
bashusr has quit [Read error: Connection reset by peer]
ndrei has quit [Remote host closed the connection]
<epitron> it also passes through unrecognized arguments to rsync
charliesome has quit [Quit: zzz]
<Success> one other thing, when I run "gem install rails
<Success> it doesn't appear to be doing anything just kinda stops input meh, is it slow or am I doing something wrong?
ndrei has joined #ruby
<sevenseacat> its thinking.
astrobun_ has joined #ruby
<apeiros> or waiting for your internet
Joufflu has quit [Read error: Connection reset by peer]
<sevenseacat> or both.
<apeiros> it might also be gaining self awareness, which often takes a bit of time.
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
anarang has joined #ruby
ponga has quit [Remote host closed the connection]
<sevenseacat> computer says "brb building skynet"
bigkevmcd has quit [Quit: Outta here...]
ponga has joined #ruby
bashusr has joined #ruby
Xeago has joined #ruby
<apeiros> oh boy… there's no way to get the keys in Thread? (created by Thread#[]=)
bashusr has quit [Read error: Connection reset by peer]
<shevy> keys?
<shevy> perhaps they forgot it
ponga has quit [Read error: No route to host]
ponga has joined #ruby
<apeiros> odd, why did ls not list .keys…?
<apeiros> ah, because it uses columns…
kamilc__ has joined #ruby
<apeiros> yupp, Thread#keys it is. thank you shevy :)
jenrzzz has quit [Ping timeout: 245 seconds]
<jaequery> when im iterating nested hash, for example: hash.each do |k,v| ... is it possible to update the value of the hash to a new value in place?
iamninja has joined #ruby
<shevy> haha I was just guessing randomly
<jaequery> something like , v = 'new value'
<jaequery> right now i have to do, hash[k] = 'new value'
<shevy> jaequery I guess you can use .update
<epitron> apeiros: there, i fixed it for you: https://github.com/epitron/scripts/blob/master/rsync-dirs
<shevy> though I think it was not encouraged to do so while live-iterating
<jaequery> but this gets hard when i am doing recursive nested hash
<shevy> jaequery you could always write a method and call that to modify your hash
jenrzzz has joined #ruby
arrubin has quit [Quit: Connection closed for inactivity]
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> then in your method you can concern it with the update part; and in your .each part you can simply focus on getting the key you wish to modify
lmickh has quit [Remote host closed the connection]
agrinb has joined #ruby
bronson has joined #ruby
Dopagod has quit [Remote host closed the connection]
tesuji has joined #ruby
n008f4g_ has joined #ruby
<apeiros> epitron: I don't think I'd consider this a fix ;-)
noop has quit [Ping timeout: 244 seconds]
<epitron> what's wrong now, your highness?
anarang has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
<porfa> can anyone help me out on scrapping the link that belongs to the image of the lady in a chair? www.pouparbem.com/apex/f?p=210:1 ( the url is funky for those who are not familiar with APEX websites) the selecter i have is “imgOferta” but i don’t know how to grab links from href’s or how to select hrefs.. only text’s at the moment...
lmickh has joined #ruby
wolf4ood has joined #ruby
<porfa> not the link to the image, sorry, the link to that product, what i am looking for is “ http://www.pouparbem.com/os.php?oferta=4278
<jaequery> .update doesn't exists for BigDecimal
apurcell has quit [Quit: Be back later ...]
bronson has quit [Ping timeout: 252 seconds]
<sevenseacat> why do people use paste sites with shitty ads all over them
carvantes has quit [Quit: WeeChat 0.3.7]
bigkevmcd has joined #ruby
<jaequery> basically what im trying to do, im looping through my hash, and if it finds a BigDecimal, convert it to human readable by doing, to_s('f')
mengu has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 256 seconds]
<apeiros> because they don't care about supporting websites they like and just use ad-block
<apeiros> inconsiderate IMO :-|
* sevenseacat adds another one to the block list
<jaequery> FWIW, i dont see any adds on it
<epitron> apeiros: how would you fix this script?
parduse has quit []
last_staff has joined #ruby
<jaequery> oh i had ublock running
LouisRoR has joined #ruby
<jaequery> anywy
<jaequery> can someone help me, im dying here
<jaequery> ;/
mengu__ has joined #ruby
parduse has joined #ruby
bluenemo has quit [Remote host closed the connection]
<jaequery> is there like no in-place update for values inside hashes?
<jaequery> i wish i can just do , v.update!('new value')
agent_white has quit [Read error: Connection reset by peer]
<epitron> jaequery: i have a nice method for that -- Hash#map_values
sigurding has joined #ruby
<jaequery> i can do, hash[k] = 'new value', but that only goes one level deep, nots ure how i can get that to work in a recursive nested hash
bashusr has quit [Read error: Connection reset by peer]
amundj has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<epitron> hmm!
_5kg has quit [Ping timeout: 252 seconds]
<epitron> i think your observation just solved a problem i was having
<epitron> i as having trouble figuring out what my map_recursively method should do if it was given arrays and hashes nested in each other
<epitron> +*was
<jaequery> ook
<jaequery> :P
anarang has joined #ruby
noop has joined #ruby
<jaequery> im lookin at your map_values, but im still not sure how i can apply for my needs. you think you can help me?
<epitron> uh, it does what you're trying to do
<epitron> it transformas all the values in a hash
<epitron> hash.map_values { |v| v.to_s('f') }
<jaequery> i dont want it to transform all though
<epitron> so put an if statement
<jaequery> ok ill give it a spin
<epitron> hash.map_values { |v| v.is_a? BigDecimal ? v.to_s('f') : v }
<epitron> that might need parens
<jaequery> is it map_values! i want? or map_values
<epitron> i'm guessing the second one
<epitron> otherwise you'll destroy the original hash
<jaequery> k
Soda has quit [Remote host closed the connection]
bashusr has joined #ruby
aswen has joined #ruby
<epitron> i just need to change the semantics, so that if it's a hash, it does "map_values" instead of "map"
<apeiros> epitron: I'd use a proper option parser
<epitron> and then have a special map_recursively on the hash
* epitron pokes apeiros in theeye
<jaequery> hm, got no implicit conversion of String into Integer
<epitron> show code
agent_white has joined #ruby
<epitron> (gist plz)
ndrei has quit [Ping timeout: 264 seconds]
anarang_ has joined #ruby
sigurding has quit [Quit: sigurding]
Success has quit [Ping timeout: 240 seconds]
alex88 has joined #ruby
nuck has joined #ruby
<jaequery> let me provide a hash
<TomyWork> hi
noop has quit [Ping timeout: 252 seconds]
anarang has quit [Ping timeout: 245 seconds]
<apeiros> jaequery: map_values returns a *new* hash with the values mapped
elaptics is now known as elaptics`away
lemur has quit [Remote host closed the connection]
noop has joined #ruby
<apeiros> you throw that mapped hash away and instead return the original (unmapped) hash
<jaequery> oh
<TomyWork> # {'foo' => {'bar' => 1, 'baz' => 2}}.each do |foo, bar, baz| puts bar end
<jaequery> lol
lemur has joined #ruby
oo_ has quit [Remote host closed the connection]
<apeiros> jaequery: also you map all values which are *not* BD to nil
<TomyWork> This gives me {"bar"=>1, "baz"=>2}. Is there a deconstructing iterator or something like that?
<jaequery> ok how about this
<TomyWork> i would liek to have 1 and 2 in variables, without assigning them each
<TomyWork> like*
<jaequery> looks like it worked
xrlabs has quit [Remote host closed the connection]
<jaequery> this is great stuff! thanks!
terlar has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink2 has joined #ruby
ghr has joined #ruby
crdpink has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
lemur has quit [Ping timeout: 265 seconds]
funkpuppet has joined #ruby
p0wn3d_m1 has quit [Quit: WeeChat 0.4.3]
<porfa> can anyone help me out on scrapping the link that belongs to a product? the website is “http://www.pouparbem.com/mirror_main.php" and im looking for a method to get the link from the lady in the chair ( what im looking for is http://www.pouparbem.com/os.php?oferta=4278 from http://www.pouparbem.com/mirror_main.php )
lysw123 has quit [Quit: Textual IRC Client: www.textualapp.com]
<porfa> i don’t know how to use css selectors to ask to an href :(
<porfa> my scraping has been based on text only
RandyT has quit [Ping timeout: 245 seconds]
shellfu_afk has quit [Ping timeout: 244 seconds]
livathinos has joined #ruby
<TomyWork> the clean way would be to ask for an API
ghr has quit [Ping timeout: 265 seconds]
Pharaoh2 has joined #ruby
bashusr has joined #ruby
RandyT has joined #ruby
adriancb has joined #ruby
defrang has joined #ruby
ponga has quit [Quit: Leaving...]
<jaequery> hm, hash_map_values dont seem to do recursive ?
rbrs has quit [Remote host closed the connection]
oo_ has joined #ruby
<apeiros> jaequery: no, it does not. and that's good.
adriancb has quit [Ping timeout: 255 seconds]
<jaequery> damn its just that i have a deep nested hash
lampd1_ has joined #ruby
swistak35 has quit [Ping timeout: 240 seconds]
TheNumb has quit [Ping timeout: 264 seconds]
<jaequery> and im returning it back in JSON, but all the BigDecimals comes back out as strange notation
<jaequery> im just using JSON.generate
<jaequery> is there some other JSON generator that auto converts BigDecimals to it's correct readable format?
nanoyak has joined #ruby
<jaequery> feels like it's a bug in JSON module
lampd1 has quit [Ping timeout: 244 seconds]
<avril14th> jaequery: now it's a print
<jaequery> huh?
<avril14th> if you want to read it, or return float, just do .to_f on them
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 244 seconds]
Soda has joined #ruby
<jaequery> yea but i have a big json multi-level hash
<jaequery> i dont wanna go in and individually update the value
nanoyak has quit [Client Quit]
wolf4ood has quit [Quit: (null)]
kl__ has joined #ruby
<jaequery> its amazing to me that when BigDecimal goes through JSON.generate, the values are retained as BigDecimal as "scientific notation string" in the JSON output
<apeiros> jaequery: it's not so difficult to write a recursive method yourself
pwnz0r has joined #ruby
einarj has joined #ruby
<apeiros> jaequery: it's only amazing to you because you don't understand the ramifications
einarj has quit [Remote host closed the connection]
<jaequery> i tried but i could not figure out how to do inline replacement within the loop
<avril14th> jaequery: or much better, try to figure out what JSON.generate calls on bigdecimal to print its value and override the method just before printing
einarj has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> jaequery: bigdecimals are use to retain precision. json floats lose that. so it's generally a bad idea to perform that conversion.
Pharaoh2 has joined #ruby
<jaequery> its fine inside a hash
<jaequery> but when it's inside a json output?
LouisRoR has quit [Ping timeout: 245 seconds]
<jaequery> plus, it is converted to 'string' at that point, as '1ef2323'
<jaequery> which is useless at the receiver's end
<avril14th> :)
<apeiros> jaequery: oh dear
<apeiros> jaequery: read what I wrote above.
<apeiros> json floats lose precision. which is pointless at the receiver's end.
<apeiros> and json offers no other datatype.
<apeiros> so please, stop bickering about things you don't understand, without at least *trying* to understand the reasons.
<jaequery> yea i read through that many times
<jaequery> i been googling all day
<jaequery> lol
<jaequery> but i dont know what else to do, all i wanna do is return back total_amount and other currency values back to the user
<apeiros> seriously, I hate that attitude. "Oh it doesn't do what I expected it to do. Let me complain about it without even *bothering* to understand why it does what it does."
kl__ has quit [Ping timeout: 264 seconds]
bashusr has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
<pwnz0r> hey guys, ive been working on a very simple problem, and cant seem to figure out why im getting it wrong. any help would be great. refer to the gist to see the problem. https://gist.github.com/mbaptist23/ca49cd40abc227e8a101
<apeiros> >> 0.1 + 0.2 == 0.3
<eval-in> apeiros => false (https://eval.in/241643)
Pharaoh2 has quit [Client Quit]
<apeiros> jaequery: try the above in a javascript console. that's the reason why converting BD to float is a bad idea.
dangerousdave has joined #ruby
<sevenseacat> people use decimals because they dont want the imprecision of floats
<jaequery> apeiros: okay
msgodf has joined #ruby
St_Marx has quit [Ping timeout: 250 seconds]
<jaequery> then in my json output, am i supposed to leave it as that amount: '1e32f23' ?
<apeiros> jaequery: it *entirely* depends on your situation
<apeiros> there are no silver bullets.
<jaequery> ive never seen any API's return me that type of value ;p
<jaequery> im curious how others are handling this situation
<apeiros> they handle them situationally
<sevenseacat> depends what its needed for
<jaequery> im just returning, total_amount
<jaequery> like price of item
<jaequery> 2 decimal points
<sevenseacat> I'm amazed this conversation has gone on for this long
parduse has quit []
dangerousdave has quit [Read error: Connection reset by peer]
* apeiros sobs
Pharaoh2 has joined #ruby
<crome> the show must go on!
<pwnz0r> lol dont cry
<sevenseacat> its been nearly 5 hours
<apeiros> jaequery: look, if you want floats, write a recursive method to convert BD to floats.
St_Marx has joined #ruby
<apeiros> it's like what, 5 lines?
bashusr has joined #ruby
<avril14th> 0_o
sk87 has joined #ruby
<jaequery> you just said float is bad ...
<apeiros> you've been told about the potential downsides
<avril14th> ahah
<apeiros> the decision is yours to make what makes sense in your situation
<apeiros> (and no "I just return total_amount" does not say *the least* about your situation)
CustosL1men has quit [Ping timeout: 244 seconds]
_5kg has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
<jaequery> aperos: ok then just answer me, how would you return it if you were to create an api that returns a json with total_amount?
parduse has joined #ruby
<jaequery> would you just leave it as '1eef2fef' value?
<sevenseacat> lol
<jaequery> im tired too i dont wanna drag this, for me and your sakes
<apeiros> I told you before already. I'm done.
josephndenton has joined #ruby
<jaequery> ok
<jaequery> well, thanks for your help
<ddv> apeiros is done with you, jaequery
Soda has quit [Remote host closed the connection]
<jaequery> yea
yfeldblum has joined #ruby
<jaequery> i just kinda lost right now , its almost to the point i might wanna just convert from BigDecimal to Int
agent_white has quit [Read error: Connection reset by peer]
<jaequery> didnt realize there was this sort of issue
<jaequery> :/
<sevenseacat> i think you're making it a much bigger issue than it actually is
kl__ has joined #ruby
<jaequery> yea probably
agrinb has joined #ruby
bronson has joined #ruby
agent_white has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
<jaequery> oh well ...
wpp has joined #ruby
<jaequery> hopefully i might better unstadntd this tomorrow
last_staff has quit [Quit: last_staff]
yfeldblum has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
LouisRoR has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fpoytk has joined #ruby
<pwnz0r> anyone wanna take 5 mins and help a noob out with indexing into a hash? https://gist.github.com/mbaptist23/ca49cd40abc227e8a101
<pwnz0r> literally one line of code
antgel has joined #ruby
agrinb has quit [Ping timeout: 244 seconds]
<DefV> pwnz0r: why are you creating a hash?
<sevenseacat> its one wtf line of code
arup_r_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 255 seconds]
<DefV> Why not just use Array#index
<DefV> ?
<sevenseacat> like what is that trying to do
kl__ has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
<pwnz0r> im using a hash becuase the array may be very large in size
lolmaus has joined #ruby
<pwnz0r> hashes use order 1 lookup
<pwnz0r> arrays use order n
<pwnz0r> im trying to return the index of the value in an array
<DefV> wow
<DefV> already micro-optimizing :-)
crdpink has quit [Excess Flood]
<pwnz0r> just having fun with ruby :P
<pwnz0r> but failing haha
<DefV> pwnz0r: I'm sure looping the array is already order n
crdpink has joined #ruby
<sevenseacat> step 1 of having fun with ruby is writing readable code
<DefV> so array.index will be faster
<pwnz0r> o ic when i convert the array to a dict you mean
Morkel has quit [Quit: Morkel]
bashusr has quit [Read error: Connection reset by peer]
<pwnz0r> good point
Pharaoh2 has joined #ruby
<sevenseacat> ruby doesnt have "dict"s
x77686d has quit [Quit: x77686d]
<pwnz0r> the hash excuse me
<pwnz0r> it seems the problem is with indexing in anyhow. if i index in with the literal "4" i get the correct value, but if i use array[0] which contains "4", i get nil
unshadow has joined #ruby
<pwnz0r> is there a reason this might happen that i am over looking]
<DefV> array[0] is probably "4\n", no?
jheg has joined #ruby
<DefV> do a "p array[0]"
<DefV> it'll show that
<pwnz0r> ya it mus tbe
<pwnz0r> i need to strip off the newline from ARGF it seems
<DefV> String#chomp 'll do that for you
<sevenseacat> must be, without trying it
<pwnz0r> lol im about to try
jheg has quit [Client Quit]
<pwnz0r> ya works like a charm
<pwnz0r> it did have a newline
<pwnz0r> thanks for the help
emmesswhy has quit [Quit: This computer has gone to sleep]
bashusr has joined #ruby
chthon has joined #ruby
sondr3 has joined #ruby
roolo has joined #ruby
<DefV> pwnz0r: but in the future, try to write more coder-friendly code
<pwnz0r> like dont chain functions like that?
grn has joined #ruby
<DefV> you can chain functions but yours is just an unreadable mess :-)
<pwnz0r> i see what you mean. its not too bad, but ill make it more self documentiing
<DefV> also, never, ever, call a variable "array"
mikecmpbll has joined #ruby
<grn> I need to check whether a particular method on a module was called in a test. How can I accomplish that? Let's say that I'm interested in a call like Email.send.
<sevenseacat> yes, it is too bad
<grn> I want to accomplish that in minitest, without rr, mocha, rspec, etc.
olivier_bK has joined #ruby
ghr has joined #ruby
Photism has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
jheg has joined #ruby
joshbamboo2 has joined #ruby
<grn> I tried to redefine the method in a test case by opening the module but I don't know how to record the arguments it received because I cannot access variables in the outside scope.
<apeiros> grn: well, then you reinvent mocking. the basic way is: in setup: backup = Email.method(:send); def Email.send(*); …record the call…; end -- and in teardown you undo the redef
<apeiros> see how mocha/rr do it? could use define_method and the captured context.
<pwnz0r> DefV: right that makes sense it might clash with the array class. thanks for the tips
joonty has joined #ruby
joshbamboo1 has quit [Ping timeout: 256 seconds]
<grn> apeiros: I realise that but I don't want to pull in dependencies. I've been using rr but it's no longer maintained. I'll take a look at mocha. Thanks!
elfuego has joined #ruby
AFKGeek has joined #ruby
pdoherty has joined #ruby
CustosL1men has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
sevenseacat has quit [Remote host closed the connection]
sk87 has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
<DefV> pwnz0r: it's not that it clashes with the array class, it's the issue that "array" is non-descriptive of the contents of said array
<DefV> arguments would be a better name
pdoherty has quit [Ping timeout: 256 seconds]
AlSquire has joined #ruby
<pwnz0r> ya i changed it to inputs.
_5kg has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<pwnz0r> its guess the thing about ruby is that it makes it easy to smash stuff onto one line, which is not a best practive. its not about lines of code its about readability si what the message im getting is. and i agree with you guys
bluenemo has joined #ruby
devoldmx has joined #ruby
<pwnz0r> i guess*
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
ndrei has joined #ruby
elfuego has quit [Quit: elfuego]
wpp has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
arup_r has joined #ruby
Xeago has quit [Remote host closed the connection]
kyb3r_ has quit [Read error: Connection reset by peer]
lampd1_ has quit []
devoldmx has quit [Ping timeout: 252 seconds]
hmsimha has joined #ruby
bashusr has joined #ruby
jlebrech has joined #ruby
<jlebrech> is there a gem to detect the platform used in an archive?
bluOxigen has quit []
grn has quit []
Pupeno_ has quit [Remote host closed the connection]
<mikecmpbll> jlebrech: what do you mean platform?
amundj has quit [Quit: Textual IRC Client: www.textualapp.com]
<jlebrech> mikecmpbll: ruby, python, java, etc
<mikecmpbll> ok, what do you mean archive? ;d
Xeago has joined #ruby
<jlebrech> mikecmpbll: or even django, rails, sinatra
Pupeno has joined #ruby
<jlebrech> mikecmpbll: a zipped up directory
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<ddv> is there a gem to wipe my ass, jlebrech?
<jlebrech> ddv lol
<ddv> the answer is no
<jlebrech> well heroku do it when you push, so thought someone might have done the same
<apeiros> jlebrech: github has something open sourced which detects the language of a project
<apeiros> not sure how the called it. linguist I believe?
<jlebrech> apeiros: thanks i'll have a look
marr has joined #ruby
dc_ has quit [Remote host closed the connection]
<mikecmpbll> not sure how an archive has anything to do with a programming language
antgel has quit [Ping timeout: 240 seconds]
<mikecmpbll> you've confused me ;)
<jlebrech> mikecmpbll: don't worry i was adding two functions togather
<apeiros> mikecmpbll: code tarball e.g.
<apeiros> but yes, I found his description quite vague too
last_staff has joined #ruby
<mikecmpbll> oh, literally a project in an archive
<mikecmpbll> gotcha.
antgel has joined #ruby
ferr has joined #ruby
<mikecmpbll> so, i've noticed some devs use format strings for interpolation more often than regular string interpolation, any reason for this or just style preference?
<mikecmpbll> i.e. "some %s with %s." % ["string", "interpolation"]
<apeiros> with the given example I find interpolation better
<apeiros> but e.g. with `Template = "A very loooooong string template"` + `Template % variables` I like sprintf style as it makes code shorter and more readable.
SOLDIERz has joined #ruby
fantazo has joined #ruby
<mikecmpbll> example of usage here
<mikecmpbll> 17,21,23 etc
_ixti_ has joined #ruby
<apeiros> yeah, I wouldn't do those that way. but afaik mislav frequents #rails, no? just ask him? :)
<mikecmpbll> never seen him in there.
ixti has quit [Ping timeout: 245 seconds]
elaptics`away is now known as elaptics
tesuji has quit [Ping timeout: 264 seconds]
unshadow has quit [Quit: leaving]
claudiuinberlin has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
<ddv> mikecmpbll: ugly code
<ddv> it's a mess
<mikecmpbll> ddv: what is? :)
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<ddv> mikecmpbll: the file you linked
<mikecmpbll> why
unshadow has joined #ruby
<mikecmpbll> it's a good script anyways, i just linked as practical example of the format strings
<mikecmpbll> don't see owt else wrong with it particularly.
sondr3 has quit [Quit: Ich bin ein sleep.]
dionysus69 has quit [Ping timeout: 264 seconds]
troulouliou_dev has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
Pharaoh2 has quit [Ping timeout: 245 seconds]
rbrs has joined #ruby
<ddv> using double quotes when not needed, multiple puts statements
agrinb has joined #ruby
<mikecmpbll> i don't consider either of those problems, but mmk :)
nrcpts has quit [Quit: (null)]
mfaeh has joined #ruby
Pharaoh2 has joined #ruby
psy_ has quit [Read error: No route to host]
dseitz has joined #ruby
<ddv> mikecmpbll: if !verify should be unless, using lambda { totally not needed there
arup_r_ has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
<mikecmpbll> ddv: how is lambda unnecessary?
last_staff has quit [Quit: last_staff]
<mikecmpbll> and there's semantic arguments for if !something, in this case i think either works linguistically.
arup_r has quit [Ping timeout: 265 seconds]
<elaptics> I must be missing something, what's the issue with double quotes? Where aren't they needed?
<mikecmpbll> elaptics: i guess what he's saying is that if you can use a single quote, you should?
mengu__ has quit [Remote host closed the connection]
<elaptics> I'd argue that you shouldn't use single quotes, only doubles
wolf4ood has joined #ruby
shime has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
dionysus69 has joined #ruby
conniemj_ has joined #ruby
<ddv> line 63, 65
<ddv> elaptics: only use double quotes when you need to do interpolation or when you need to escape single quoets
last_staff has joined #ruby
<elaptics> ddv: why? why not just always use double quotes then when you later decide you need to interpolate you're not having to change the quote marks to suit. Less incidental change in your vcs diffs
<mikecmpbll> +1
_5kg has joined #ruby
<ddv> I dissagree
<elaptics> we can agree to disagree, but I'm interested in knowing why you disagree
conniemj_ has quit [Ping timeout: 245 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
bal has joined #ruby
rodfersou has joined #ruby
<cHarNe2> thums up for double-qoutes
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackgoat has quit [Quit: WeeChat 0.3.8]
arup_r has joined #ruby
blackgoat has joined #ruby
<cHarNe2> https://github.com/styleguide/ruby: Use double-quoted strings. Interpolation and escaped characters will always work without a delimiter change, and ' is a lot more common than " in string literals.
<mikecmpbll> boom ..
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<mikecmpbll> personally, i use a kind of random approach, i'm an anarchist.
nrcpts has joined #ruby
<mikecmpbll> psh, standards.
<cHarNe2> mikecmpbll: me to, put "hello world!'
mfaeh has quit [Remote host closed the connection]
<mikecmpbll> :d
arup_r_ has quit [Ping timeout: 264 seconds]
nrsk has joined #ruby
C1V0 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kl__ has joined #ruby
Alina-malina has quit [Quit: byebye]
nfk has joined #ruby
pwnz0r has quit [Remote host closed the connection]
troulouliou_dev has quit [Read error: Connection reset by peer]
wpp has joined #ruby
<ddv> I already knew that was in the style guide, but I disagree with it because you don't need to interpolate most of the time
leafybasil has joined #ruby
<apeiros> hm
<apeiros> I wonder whether that's true for my code
<apeiros> (I have no idea)
Alina-malina has joined #ruby
oo_ has quit [Remote host closed the connection]
g-nom3 has joined #ruby
workmad3 has joined #ruby
troulouliou_dev has joined #ruby
zwer_g is now known as zwer
michael_lee has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2 has joined #ruby
Xeago has quit [Remote host closed the connection]
oo_ has joined #ruby
<mozzarella> I use ' unless I need interpolation
<apeiros> I've started to use " regardeless
<mozzarella> sometimes I even use ' and + or ' and <<, if it fits
DLSteve has joined #ruby
Oberon4278 has joined #ruby
ldnunes has joined #ruby
bal has quit [Ping timeout: 265 seconds]
<ddv> the style guide used to say the opposite
<mikecmpbll> i use " when the string is sentence-like, and ' for string tokens and stuff. no idea why :d
<Oberon4278> So, I'm just learning Ruby, and I've come across the thing where you can chain calls together, i.e. string.length.next.
<mikecmpbll> puts "Setup completed." if Setting.find_by(name: 'setup_complete')
<mikecmpbll> for instance :p
<Oberon4278> It reminds me of what I've seen in a JavaScript library whose name I can't remember, where you can chain together calls in a similar way.
<mikecmpbll> Oberon4278: underscore perhaps?
sevenseacat has joined #ruby
<Oberon4278> Are these both the same thing in different languages, or are they different things?
ndrei has quit [Ping timeout: 256 seconds]
<apeiros> all in all I find " vs ' almost completely irrelevant :)
<mikecmpbll> Oberon4278: it's just that the method returns `self`
<Oberon4278> mikecmpbll: No, the JS library is not called underscore, if that's what you meant.
<mikecmpbll> Oberon4278: okidokes, just a guess.
<Oberon4278> It's a really common one, I just forget its name.
<apeiros> Obfuscate: you can chain methods in javascript just fine without the help of a library
<mozzarella> maybe jquery?
<Oberon4278> That's the one.
<apeiros> *Oberon4278
<Oberon4278> Ah, I thought it was only available in jquery for some reason.
<apeiros> I think only php managed to not be able to do chaining (php 5 fixed that)
<Oberon4278> Anyway, this ability, is it the same basic thing in both languages? Or is there some critical difference I should be aware of?
fandi has joined #ruby
<Oberon4278> Well, C doesn't do it, as far as I know ;)
<mikecmpbll> >> class Foo; def test; puts "bar"; self; end; end; Foo.new.bar.bar.bar.bar
<eval-in> mikecmpbll => undefined method `bar' for #<Foo:0x40f27f20> (NoMethodError) ... (https://eval.in/241687)
<mikecmpbll> oops
<mikecmpbll> you get the idea :D
<apeiros> Oberon4278: depends on your definition. yes, you can chain in C too.
<ddv> apeiros: it's very important
yfeldblum has joined #ruby
<Oberon4278> apeiros: How?
kl__ has quit [Ping timeout: 244 seconds]
<apeiros> Oberon4278: nested structs, function pointers, …
* apeiros afk
<Oberon4278> That's... not really the same thing though. I mean yes, you can do it, but the language doesn't support it natively in that you can't write... crap I can't think today.
<dseitz> chain through expression evaluation... last(second(first()))
<Oberon4278> Yes, I suppose you could do that.
kl__ has joined #ruby
<dseitz> Or you could pass fp's around which there are a few idioms that are nice, and others that are kinda eh
<Oberon4278> C has function pointers?
<cHarNe2> Oberon4278: not sure what the anwser you are looking for it, but ruby is an objective language. And threats thing like things you can do things with.
<dseitz> yeah
<Oberon4278> I had no idea. That's pretty cool. Then again I shouldn't be surprised, I'm not very good with C.
<cHarNe2> wtf did i type? that makes no sense, im sorry
<dseitz> 4 am logic!
<mikecmpbll> i read it twice, made less sense the second time.
sandelius has joined #ruby
sandelius has quit [Client Quit]
<Oberon4278> cHarNe2: I'm just wondering if the func1.func2.func3 thing is the same as what I'd seen before in JavaScript, and it appears that it is.
<workmad3> cHarNe2: I'm almost tempted to print that off and study it to master zen!
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
ferr has quit [Ping timeout: 255 seconds]
<workmad3> Oberon4278: if what you saw in JS was func1().func2().func3(), then yes
<Oberon4278> Well, no not exactly, but close enough.
yfeldblum has quit [Ping timeout: 252 seconds]
<workmad3> Oberon4278: func1.func2.func3 would be a bit different in JS, in that you'd be accessing attributes on the function object... in ruby func1.func2.func3 would call func1, then call func2 on the result of that, and finally call func3 on the result of the func2 call
elaptics is now known as elaptics`away
<Oberon4278> ahh okay, so it is a bit different
aswen has quit [Ping timeout: 245 seconds]
<Oberon4278> Ruby's version makes more intuitive sense
agjacome has joined #ruby
giuseppesolinas has joined #ruby
<cHarNe2> Oberon4278: ruby is magic :)
<dseitz> In object-oriented languages it's more common to return a value that can be manipulated by passing a message to that, repeating the process... chaining.... the parens are a optional in Ruby which makes it interesting
<workmad3> ruby's version also makes it much more difficult to have a clean syntax for passing around first-class methods/functions :)
arup_r has quit [Ping timeout: 244 seconds]
<Oberon4278> I think I picked a bad day for learning Ruby.
elaptics`away is now known as elaptics
<cHarNe2> it's always a good day to learn ruby :)
<dseitz> Maybe a good day!
<mikecmpbll> ruby tuesday ..
<dseitz> haha
<mikecmpbll> surely the best day.
<Oberon4278> Actually, no... I picked a bad set of life habits
<Oberon4278> and indulged in them repeatedly
<mikecmpbll> put down the crack pipe.
<Oberon4278> and then decided, "I'm sick of doing those things, I'm going to be productive. I'll learn Ruby!"
nrcpts has quit [Quit: (null)]
<workmad3> mikecmpbll: he could have worse life habits... such as coding in PHP
<Oberon4278> I actually had my first encounter with crack last year!
<mikecmpbll> :'D
<dseitz> that one you may keep to yourself in an interview hahaha
<Oberon4278> A friend of mine called me up and said, "Oberon, I need to move now. Please come help."
<Oberon4278> So I went to help him move, and when we got to his place he said "You can't come in. I'll bring stuff to the door, you carry it to the car."
<mikecmpbll> this has taken a curious turn.
<Oberon4278> Later he explained that his roommate regularly smoked crack.
<Oberon4278> And was in fact smoking it when we arrived to help him move.
<dseitz> ah
bal has joined #ruby
<Oberon4278> Which was why he had to move immediately, and why we couldn't go in when we arrived.
<g-nom3> hey all, i've been trying to do some rather complicated csv parsing using bash scripts but have finally decided it time to engage a more enriched tool for the job and am now trying to decide between using perl, python, or ruby to achieve this end. before i go into great detail i wonder if someone can show me a ruby example of how i might parse a csv and wrap quotation marks around each field value of the csv so as to present each value a
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dseitz> Glad you helped. Definitely want to get yourself as far away from something like that.
<Oberon4278> Indeed.
<kaspergrubbe> I would also begin smoking crack if I had to parse csv files using bash like g-nom3
<mikecmpbll> g-nom3: file = File.read('path/to/csv'); csv = CSV.parse(file)
<g-nom3> hahah i've been up for three days trying to sort it and beginning to wonder if i should take it up in order to keep my edge hahah
<Oberon4278> Dude. No.
<workmad3> mikecmpbll: you missed 'require "csv"' :P
Afal has joined #ruby
<Oberon4278> Adderall is cheaper, more widely available, and has much less social stigma attached to it.
<mikecmpbll> -____-
<g-nom3> mikecmpbll: thank you so that reads the csv and parses to new file is that correct? but how to wrap each field in ""?
<mikecmpbll> g-nom3: it reads it in to memory, as an array or whatever.
<cHarNe2> way better to learn ruby then starting to smoke crack imo
<mikecmpbll> g-nom3: why do you want to wrap each field with ""?
<workmad3> mikecmpbll: also, "CSV.foreach("path/to/file") do |csv_row| <process here> end" ;)
<g-nom3> because each field contains characters i'd imagine would be interpreted as meta
<mikecmpbll> plenty of ways to skin that particular cat.
Afal has left #ruby [#ruby]
<mikecmpbll> g-nom3: not sure what you mean.
<workmad3> g-nom3: mikecmpbll's example loads the CSV file into a ruby construct that lets you read it in
agrinb has joined #ruby
<Oberon4278> g-nom3: I hate to be That Guy, but at this point might it be helpful to take a step back and explain the larger problem you're trying to solve, rather than this particular facet of it?
<sevenseacat> never any shame in being That Guy.
<g-nom3> ok ... sorry forgive me i'm entering new territory here for me. allow me to explain better
<sevenseacat> or Girl.
<g-nom3> and Oberon4278 completely fair enough too
<mikecmpbll> or Transgender or No gender
<mikecmpbll> whatever they call themselves colloquially.
ponga has joined #ruby
<workmad3> g-nom3: it doesn't write it out again... if you want to write CSV, you can do 'CSV.open("path/to/output", "wb") do |csv|; csv << ["header 1", "header 2", "header 3"]; csv << ["row", "of", "data"]; ... end'
<sevenseacat> mikecmpbll: fair point
<Oberon4278> I'm a trans-spheroid geometer-kin, you cis shitlord!
<mikecmpbll> :'(
<workmad3> and the CSV library will take care of quoting when necessary (you can also configure it to always quote... I'd suggest spending some time on the CSV manpage http://ruby-doc.org/stdlib-2.1.5/libdoc/csv/rdoc/CSV.html )
<dseitz> Isn't there a :force_quote option for CSV?
<mikecmpbll> yus.
<dseitz> so you could just parse and re-write the CSV with that and be done... theory 1
<mikecmpbll> but if the csv needed quotes to be well formatted in the first place you wouldn't be able to parse it? :)
rdark has joined #ruby
<mikecmpbll> so it's not really clear what he's tryin to do.
<g-nom3> thanks workmad3. ruby has nice syntax by the looks. here goes with my explanation of what i'm trying to achieve. give me a sec to write it up and pastebin some data
<Oberon4278> While he's doing that - does Ruby have native support for Unicode?
mengu has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
<Oberon4278> actually, forget I asked that. I'll just look it up when I need it.
Spami has quit [Quit: This computer has gone to sleep]
<dseitz> default for source is going to be UTF-8
<dseitz> but that can be changed as well; there is support for a lot of encodings
JBreit has joined #ruby
<mikecmpbll> it was kinda a mess before 1.9 iirc, but better now.
<mikecmpbll> (ruby encoding in general)
<dseitz> http://ruby-doc.org/core-2.1.1/Encoding.html covers the basics... [yes my link is now old hehe]
antgel has quit [Ping timeout: 265 seconds]
nyaa has joined #ruby
fantazo has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
<Oberon4278> danke
tokik has quit [Ping timeout: 245 seconds]
kl__ has quit [Ping timeout: 264 seconds]
MasterPiece has quit [Quit: Leaving]
aswen has joined #ruby
unshadow has quit [Quit: leaving]
DaniG2k has joined #ruby
Spami has joined #ruby
antgel has joined #ruby
ferr has joined #ruby
timonv^ has joined #ruby
last_staff has quit [Quit: last_staff]
lkba has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
<shevy> Oberon4278 germany?
hmsimha has joined #ruby
Akuma has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
pdoherty has joined #ruby
<Oberon4278> shevy: No, I just say "danke" sometimes. I don't know why.
<shevy> heheeh
<Oberon4278> I don't even speak German.
eka has joined #ruby
<Oberon4278> I also say "tack" (Swedish) occasionally.
<Oberon4278> Probably because I dated a Swedish girl for a few years.
thiagovsk__ has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
kl__ has joined #ruby
<shevy> what happened to her
maximski has joined #ruby
<dseitz> She got danked
<kaspergrubbe> Oberon4278: Tack or Tak (danish) is closely related to the word "Ta" http://www.oxforddictionaries.com/definition/english/ta
iamninja has quit [Quit: ZZZzzz…]
<kaspergrubbe> So you might even be able to use it on english :-)
fandi has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<Oberon4278> We broke up because I wanted kids and she didn't.
<Oberon4278> Which, let me tell you, is the worst reason to break up ever.
tkuchiki has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
<Oberon4278> I'm really curious what happened to g-nom3
<shevy> eh completely understandable. different goals
<shevy> more understandable than why you use the word danke, too :)
<Oberon4278> Well, yes, but it's awful to go through it.
<Oberon4278> It's like... here's this wonderful woman, and we love each other and are perfectly happy together.
<g-nom3> sorry bout the delay.. cut paste etc... here is an example containing a few lines of the dataset with headers http://pastebin.com/2PcJwQgu there are some encoding issues as it is an excel spreadsheet which i think is using wingding directional arrows. i wish to parse this data into a new csv like so: http://pastebin.com/FzFUxAa6
<Oberon4278> And the only reason we're breaking up is because, in several years, one of us will probably resent the other because we have | don't have kids.
shime has joined #ruby
rocco88 has joined #ruby
<g-nom3> so i'm going to have to explain the re-mapping of columns
<Oberon4278> g-nom3 I'm pretty sure that Ruby can parse Excel files directly
ajaiswal has quit [Quit: Leaving]
<shevy> g-nom3 did you try with the ruby cvs module yet? you can even use different delimiters rather than |
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<Oberon4278> if that would help
<g-nom3> ok cool thats handy to know Oberon4278 thanks
<shevy> there are indeed gems for excel files too
<shevy> but that just looks like a .cvs file
<shevy> with , as delimiter
<wasamasa> *csv
<g-nom3> shevy: not yet. this will be my first venture down the ruby path
<shevy> wasamasa haha
<wasamasa> the c in csv stands for comma
tkuchiki has quit [Ping timeout: 264 seconds]
timonv^ has quit [Remote host closed the connection]
<wasamasa> if anything, derivations from that norm should be mentioned
<shevy> so now we know it does not stand for copy value separated file
Pharaoh2 has joined #ruby
<workmad3> you can specify the delimiter with the ruby CSV library though, which makes it a passable TSV parser too :)
<g-nom3> i'm a designer frontend dev cutting my teeth on some real scripting here.. its new territory
Pharaoh2 has quit [Client Quit]
<g-nom3> shevy i just saved as .csv for ease of pastebin
<shevy> you just have to think in little baby steps g-nom3
<shevy> first, get a handle on your file
<shevy> require 'csv'
<shevy> data = CSV.read('dataset.csv')
<shevy> test this right in irb actually
<Oberon4278> g-nom3: Are you saying that this is your first foray into actual programming? As in, you're learning how to program with this task?
<g-nom3> this one step of what i need to do but i have some fairly complicated bash scripts to do the rest.. well at least i hope they work at the end of this
giuseppesolinas has joined #ruby
<wasamasa> g-nom3: good luck, dealing with CSV can be a tiresome task
danjordan has joined #ruby
<wasamasa> g-nom3: perhaps an import into a database you're familiar with might be a better option
leafybasil has quit []
leafybasil has joined #ruby
<Oberon4278> Also, I'm still curious what the larger goal is. You've got this Excel spreadsheet, and you need to get the data from there to... what, exactly?
<g-nom3> Oberon4278: actual programming i guess yea. i work with bash scripting, and some javascript. great with markup and css/sass too but i normally leave the real thinking to experts haha
<shevy> g-nom3 once you know how to "think" in ruby, it'll be simple
<shevy> I have to re-learn bash/shell scripting for an exam; I asked the prof if I could use ruby instead, he said no :(
giuseppesolinas has quit [Client Quit]
DLSteve has quit [Read error: Connection reset by peer]
<Oberon4278> That kinda blows, and is (probably) a good example of why I don't like academic computer learning.
<wasamasa> g-nom3: source: own experiences with excel data I had to turn into a proper database
<g-nom3> what i'm trying to do is dynamically create signage based on csv input. this is one small step. the next step is to then expand the rows based on the quantity value, then perform a number of sorts, then batch and output a number of new csv's based on the 'template' value. then data merge with indesign templates
giuseppesolinas has joined #ruby
C1V0 has quit [Ping timeout: 264 seconds]
<Oberon4278> Okay, so I'm confused on one thing. Is the original source of this data a CSV file, or is the original source an Excel file that you're saving as CSV to make it easier?
<g-nom3> wasamasa: thats a good point and may be the best strategy perhaps
<wasamasa> g-nom3: well, not necessarily
L8 has joined #ruby
<Oberon4278> Because if it's always going to come from Excel, there may be a better way to do it than by saving as a CSV. I mean, maybe not depending on other things, but maybe.
<wasamasa> g-nom3: as for my case, I'm still iterating over the CSV data, turn it into ruby data, then do the database magic
agjacome has quit [Quit: leaving]
C1V0 has joined #ruby
<wasamasa> Oberon4278: well, csv is at least structured
giuseppesolinas has quit [Client Quit]
<Oberon4278> Also... can I pick your brain sometime on merging with InDesign templates?
<Oberon4278> There's a project I've put on hold that involves doing that. I think. Maybe.
<g-nom3> i just like csv because i don't do microsoft and at least i can read csv into emacs
<wasamasa> well, you can
<L8> I'm hard of understanding the concept of code inside class, that is not in a method (or some scope) like class XXX #do_some_stuff# end
<wasamasa> then emacs locks up on the long lines :P
<g-nom3> absolutely oberon
<L8> when does the code executed?
<L8> is it executes once?
<wasamasa> it's kind of a shame, I always view it outside emacs
<g-nom3> wasamasa: never happened for me yet
<Oberon4278> g-nom3: Well, I'm still on the "Ruby has a gem to handle spreadsheets" thing.
<g-nom3> anyone familiar with bash too? i'll share some of the later code so as to fill in more of the picture
<wasamasa> g-nom3: consider yourself lucky then
<Oberon4278> Although given the paucity of documentation here, I think maybe going the CSV route may be better: https://rubygems.org/gems/spreadsheet
<wasamasa> g-nom3: maybe your csv doesn't have long lines or something like that
<g-nom3> wasamasa: yea typically only work with < 20k
lkba_ has joined #ruby
<workmad3> L8: it's executed when the file is loaded
<wasamasa> g-nom3: I'd generally discourage from doing anything complicated with shell scripting
<L8> so what's the point of it
<wasamasa> g-nom3: and instead write ruby
lkba has quit [Ping timeout: 255 seconds]
<L8> seems easier not to wrap the code in any class
<wasamasa> g-nom3: or whatever else you're familiar with
Pharaoh2 has joined #ruby
<g-nom3> wasamasa: absolutely but i've failed to put the time into actually learning to program :-(
<workmad3> L8: it's executed in the context of the class
<g-nom3> that changes from this point forth however
<workmad3> L8: i.e. 'self' inside there is the class
<L8> gotcha
<workmad3> L8: which means you can do things like call class methods directly
<workmad3> L8: you know... ones like 'attr_accessor' ;)
<Oberon4278> g-nom3: It's well worth the time and effort, assuming this project has a flexible timeline.
DLSteve has joined #ruby
<g-nom3> Oberon4278: without doubt. unfortunately i have a matter of days to make something work ... print deadlines and all .
<Oberon4278> Ahh, I see.
claudiuinberlin has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
<Oberon4278> I was assuming that you're getting this sort of thing regularly
n1lo has joined #ruby
postmodern has quit [Quit: Leaving]
last_staff has joined #ruby
<g-nom3> Oberon4278: yes i do but always different spreadsheets, formats, data, etc. i'd love to be able to get some scripts working so that i can provide the customer with the proper template to use in order to prevent having to perform too much custom manipulation
<Oberon4278> So apparently there's a :force_quotes option on the csv class (I'm looking at http://ruby-doc.org/stdlib-1.9.2/libdoc/csv/rdoc/CSV.html )
<g-nom3> rather than just work with what they provide
<Oberon4278> that makes sense
<workmad3> g-nom3: I'd love to have customers that would use something like that... :P
nrsk has quit [Ping timeout: 252 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms has joined #ruby
fantazo has joined #ruby
<Oberon4278> So, just a thought - you could eventually build up a set of sanity checks that you can run a new spreadsheet through, and then make it available to your customers via web interface
<Oberon4278> via a web*
<shevy> g-nom3 yes, that task is simple; don't worry, just keep on continuing with ruby there, you'll write better and better code the more you write and re-use these scripts
greenbagels has quit [Read error: Connection reset by peer]
lkba has joined #ruby
giuseppesolinas has joined #ruby
phutchins has joined #ruby
<shevy> g-nom3 ruby is a good glue language
<Oberon4278> and then tell them, hey, I can turn around your work a lot faster if you upload your spreadsheet to this place and it comes back all green
<g-nom3> workmad3: i firmly believe its all about training them. you have to prove the value however. that can be difficult at times
Pharaoh2 has joined #ruby
<Oberon4278> it's fine if it doesn't, I can and will do it, but just be aware that it'll take longer, bla bla bla
<g-nom3> Oberon4278: that will be the next phase i think. incorporate it into the website. makes total sense.
nfk has quit [Quit: yawn]
<Oberon4278> yeah
decoponio has joined #ruby
<Oberon4278> you're making me nostalgic for the time I worked at a printing company
<g-nom3> shevy: i'm glad to hear it. i liked what i saw with perl, but i always here horror stories too
claudiuinberlin has quit [Quit: Leaving.]
<g-nom3> ruby is at least very readable from what i've seen
<ddv> depends on the person
<g-nom3> and i use a lot of gems anyway: compass, sass etc
lkba_ has quit [Ping timeout: 252 seconds]
<Oberon4278> I know a guy who once dropped acid and then sat down and programmed in Perl for about six hours straight.
<Oberon4278> When he woke up the next day the code worked perfectly, but he was never able to figure out how or why.
<g-nom3> Oberon4278: did he also write perl? hahah
gfawcettpq1 has joined #ruby
tvw has joined #ruby
<ddv> what do perl and ruby have in common?
<Oberon4278> Yeah he'd been writing Perl professionally for a good long while.
ndrei has joined #ruby
<Oberon4278> ddv: They're both Turing-equivalent languages.
<shevy> g-nom3 ruby and perl are very similar in philosophy; for the most part though, ruby is cleaner and shorter than perl. and its OOP model is also more elegant
<ddv> both were developed by relgious zealots :/
<workmad3> Oberon4278: I know an awesome study that found out that perl is as easy to code in (for newcomers) as a completely randomly generated programming language :D
phutchins has quit [Client Quit]
<shevy> only part where perl can be shorter is like when you use lots of // and <> and whatnot
<Oberon4278> They're both descended from C.
SOLDIERz has joined #ruby
<g-nom3> Oberon4278: well i'm not sure i should try that.. haha.. no matter how tempting it sounds
* Oberon4278 tries to think of other true but unhelpful responses.
<g-nom3> hahaha
<workmad3> ruby takes a lot less from C than other 'C-style' languages
<Oberon4278> But it's not a descendant of Lisp or COBOL or M.
<Oberon4278> Actually wait... I don't know about COBOL.
<workmad3> it's more a descendent of smalltalk
<Oberon4278> Isn't Smalltalk a Lisp?
<workmad3> in terms of syntax style, anyway
<workmad3> no
<g-nom3> i like lisp
<g-nom3> but thats another story
<Oberon4278> Huh, I always thought it was. TIL.
<g-nom3> ok.. i'm convinced now.. ruby is for me. first steps?
<Oberon4278> Oh, I'm thinking of Scheme.
<Oberon4278> g-nom3: Do you have it installed?
<workmad3> I met someone the other day who worked on LISP machines though... and on simula (the first OO language)
<g-nom3> yes indeed
<ddv> you can make big money with COBOL
<shevy> man
<shevy> quit living in the past
<workmad3> ddv: sure... if you have a decade of experience with it :)
<Oberon4278> You can also make big money with M.
<kl__> M?
<shevy> what is M
MasterPiece has joined #ruby
<Oberon4278> It's a programming language widely used in medical database software, including (and especially) Cache, the primary product of InterSystems.
<ddv> nobody uses Oberon4278
<ddv> +it
<Oberon4278> I think it's called M because it was invented at Mass General Hospital.
<Oberon4278> Umm.... that's not true. I personally know a lot of people who use it, albeit in a more modern form.
<ddv> and why do hospitals invent programming languages, don't they have better things to do
<workmad3> ok... so RMS is made up entirely of programming languages... TIL
<Oberon4278> It was invented way back in 1966.
<g-nom3> ddv: that made me chuckle! :-)
phutchins has joined #ruby
<Oberon4278> Anyway, if you're good at it, hospitals will hire you to do things, and since millions of dollars are on the line (and occasionally people's lives) they pay well.
<ddv> g-nom3: hehe
<shevy> ddv nobody uses Oberon4278? is that an operating system?
rocco88 has quit [Read error: Connection reset by peer]
<ddv> no wonder it took that long for universal healthcare in the US
qba73 has joined #ruby
<Oberon4278> What country do you live in, ddv?
<shevy> they should use ruby
<ddv> Oberon4278: Why?
<Oberon4278> So I can tell you that your nation's health care system uses a product that is based on a database that uses M ;)
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<arup_r_> shevy: shevy: :)
<Oberon4278> Disclosure: Until last October I worked for a very large, multinational vendor of a medical database product that was based, way back when, on M. Nearly every nation on earth has a substantial portion of their health care industry built on their products.
<Oberon4278> Sweden's *entire* health care network uses it.
<ddv> Oberon4278: Netherlands
<Oberon4278> Ohhh, I don't know about them.
<workmad3> hehe
agrinb has joined #ruby
<sevenseacat> lol
Xeago has joined #ruby
<Oberon4278> Looks like NICTIZ uses Ensemble, so yes, you do.
<arup_r_> sevenseacat: has "lol"problem.. hehehehe
<Oberon4278> Which means every time you go to the doctor, ddv, a substantial portion of your health care records are being accessed by code that was, sometime in the dim and distant past, written by someone who worked at Mass General Hospital, and / or the US Veterans Affairs ;)
<ddv> Oberon4278: I wouldn't be surprised if the NSA can access my healthcare records
<shevy> arup_r_ it's an aussie lolcat after all
<arup_r_> hehehe
<Oberon4278> I certainly hope they can't, ddv. We do a pretty damn good of providing secure encryption options for our customers. Well.. "our" in the past tense :'(
<ddv> Oberon4278: well Google, Facebook, Apple and Microsoft said the same thing
ponga has quit [Read error: No route to host]
panga has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
<Oberon4278> Yes, but consider what those companies have in common
<Oberon4278> They're all US-based companies, with servers on US soil
<workmad3> Oberon4278: do you know if your secure encryption options are based on NIST recommendations for curves or random-number generators?
<g-nom3> http://maidsafe.net/ the future of internet
<Oberon4278> and they store your data here in the US
<workmad3> (if you're not sure, chances are they are)
Lap64 has quit [Quit: Leaving]
<Oberon4278> workmad3: They are
<workmad3> Oberon4278: then they're likely backdoored by the NSA :P
ChoiKyuSang has joined #ruby
<ddv> Oberon4278: this is why you shouldn't host anything in the US
<Oberon4278> workmad3: This is not my area of expertise, but okay :P
<Oberon4278> ddv: I agree. But your nation's health care services are in the Netherlands, and your data (I would hope) is hosted in their own servers, which they secure themselves.
davedev2_ has quit [Remote host closed the connection]
<ddv> Oberon4278: what point are you trying to make here?
<Oberon4278> So as long as the encryption protocols themselves are not backdoored by the NSA, then it's safe.
<Oberon4278> That your healthcare data is not necessarily accessible to the NSA?
nuck has quit [Quit: Computer has gone to sleep.]
<workmad3> Oberon4278: that was basically the main thrust of the snowden leaks (and it was suspected for a longer time beforehand) - the leaks revealed that the NSA put a lot of effort into getting NIST to select a specific set of curve values and choose a specific RNG recommendation through secret selection mechanisms
<Oberon4278> Ahh. I didn't know that.
<workmad3> Oberon4278: and then the NSA paid companies like RSA to use those recommendations and keep it a secret that they were paid to do so...
<ddv> well I don't really care, and the NSA doesn't care either (probably) but still it's pretty ridiculous
<workmad3> Oberon4278: a backdoored curve or backdoored RNG == a backdoored encryption algorithm
<Oberon4278> Well... what I can tell you is that the people in charge of providing data security for our (past tense :'( ) customers include PhDs in computer science and mathematics from MIT.
* Oberon4278 nods.
<workmad3> Oberon4278: the security of them is built on the assumption that they have decent randomness and that certain tasks are 'hard' :)
<ddv> Oberon4278: so you are actually okay with all of this?
<Oberon4278> But if the backdoor is now known, they would have changed their recommendation. Which doesn't help in the past, and doesn't defend against potential future backdoors, but still. They're good at their job :)
<Oberon4278> ddv: I'm confused about what you're asking if I'm okay with.
<ddv> Oberon4278: Your government spying on everyone without precedent
<Oberon4278> No, not at all.
<workmad3> Oberon4278: the end-result of the snowden leaks is basically that NIST have lost all credibility in security matters amongst professional paranoids :)
<Oberon4278> But I sort of view the US government as a force of nature. It doesn't make sense to get mad at a hurricane or snowstorm - they just happen, and I deal with the realities of the situation without wasting emotion or ethical judgment on the cause.
<ddv> I see like sticking your head into the sand
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3> yeah... the important thing isn't to get mad at the US government... it's to shore up your walls now that you know there were cleverly plastered-over holes in them :)
<Oberon4278> I dislike the connotation in the analogy, but sure.
panga has quit [Remote host closed the connection]
<Oberon4278> I mean, what do you want me to do?
govg has quit [Ping timeout: 256 seconds]
<workmad3> (I have absolutely no way to influence the US government at all... getting mad at them is fruitless...)
<ddv> Oberon4278: You voted republican?
ponga has joined #ruby
ferr has quit [Ping timeout: 265 seconds]
<Oberon4278> I'm not sure why you would assume that, and how I vote is not your business, but as it happens no.
<ddv> it is my business
<ddv> the NSA needs to know
<Oberon4278> No, it's really not.
<workmad3> ddv: just because the leaks occured under a democratic government doesn't mean that they started under one... both parties are probably equally culpable :)
<workmad3> err... that was poorly phrased, but I think you get my point at least :)
<Oberon4278> One's voting is (in the US) considered to be a private matter.
<ddv> Oberon4278: so you do value privacy
Pharaoh2 has joined #ruby
<Oberon4278> e.e
<Oberon4278> Yes, of course I do.
<Oberon4278> And I donate money to the EFF every month.
<ddv> workmad3: me u understand
C1V0 has quit []
<Oberon4278> To be honest, I find this examination of my character offputting and presumptuous.
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
nyaa has quit [Ping timeout: 255 seconds]
<workmad3> Oberon4278: welcome to the latest installment of 'politics on IRC' - the topic that's guaranteed to come across in the most god-awful fashion in a text-only medium :)
iamjarvo has joined #ruby
<Oberon4278> I should be more careful about avoiding the subject :)
<workmad3> Oberon4278: heh :) tbh, yes :P
davedev24_ has joined #ruby
<workmad3> Oberon4278: if a topic contains the potential to offend you, it's up to you to not engage in it :P
ponga has quit [Ping timeout: 256 seconds]
<Oberon4278> ddv: We probably agree on most matters related to the US government, regardless of whether I show the proper amount of outrage when discussing the realities of encryption.
<ddv> Oberon4278: it's people like you that don't give a shit about anything that is the problem
<Oberon4278> Well, I wasn't aware that I was going to come under personal scrutiny just for talking about encryption.
<ddv> Oberon4278: :)
<Oberon4278> See? He assumes I don't care. I have no idea why he would draw that conclusion, but now suddenly I'm at fault for the world's ills.
<workmad3> Oberon4278: blame the US government... the snowden leaks turned encryption into a political subject ;)
<ddv> also I forgot that I was in #ruby
<workmad3> Oberon4278: and if you don't blame them... ddv will come after you! ;)
<Oberon4278> tbh, encryption has been a political subject for a long time before Snowden came onto the scene
<Oberon4278> ddv: Are you familiar with the EFF? i.e. Electronic Frontier Foundation?
<workmad3> Oberon4278: I know... I'm being somewhat facetious to lighten the mood :P
maximski has quit []
<Oberon4278> I appreciate it!
banister has joined #ruby
<workmad3> Oberon4278: if you want screwed up though - the UK government (tory party) wants to put in place a law that makes it illegal to use services that they can't snoop on...
rbrs has quit [Quit: rbrs]
<Oberon4278> How many seats does the Tory party have?
<Oberon4278> (out of how many total)
<workmad3> they're currently the in-power government
<Oberon4278> Well that's marvelous.
<workmad3> (although it's a coalition with the lib-dems atm)
<workmad3> the plans for this would be after the election this year
max96at|off is now known as max96at
<workmad3> so here's hoping they don't get into power again! although the current runner up is UKIP
<workmad3> I really should start looking for a different country to live in...
<Oberon4278> ddv: In case you're not - the EFF regularly fights legal battles, and organizes social activity, to protect privacy and digital rights in the US. And, as I said earlier, I have an automatic monthly donation set up for them. So I am, in fact, doing something about it.
<Oberon4278> I recommend Sweden, workmad3
nateberkopec has quit [Quit: Leaving...]
<ddv> Oberon4278: wait a minute, that same Sweden that wanted to extradite Assange due to a BS reason
fandi has joined #ruby
nateberkopec has joined #ruby
<ddv> sorry workmad3 but you know it's true
ponga has joined #ruby
<workmad3> ddv: heh :)
<Oberon4278> ddv: But a big problem with American politics (and this is really my main political axe) is that political campaigns are so expensive that politicians must spend the majority of their time raising funds for their next election. This causes money to be the primary force in Washington, rather than the good of the people.
<ddv> Sweden was pressurized by US gov to extradite Assange
<ddv> pressured?
<Oberon4278> Pressured.
<workmad3> ddv: yeah... not pressurized :)
<ddv> haha
<ddv> anyways
<Oberon4278> So the most important issue in US politics is campaign finance reform.
<Oberon4278> As it impacts every other political issue at the most basic level.
elfuego has joined #ruby
<apeiros> too bad they just recently made it worse
<Oberon4278> pressurized is a state - i.e. a container can be pressurized or depressurized
<apeiros> by increasing the amount a single person can donate
<Oberon4278> oh god that's horrible
<Oberon4278> how much is it now?
<apeiros> no idea
<Oberon4278> fuck
<ddv> Oberon4278: I know
<Oberon4278> Now I have to write to what's her name and give her more money.
<apeiros> I decided I find US politics too terrible to bear, so I mostly stopped following it.
<Oberon4278> All I ask, apeiros, is that any time US politics comes up, you give campaign finance reform a plug.
<Oberon4278> Because it is absolutely the #1 killer of everything good right now.
rdark has quit [Ping timeout: 264 seconds]
sheepman has quit [Read error: No route to host]
JBreit has quit [Ping timeout: 264 seconds]
CustosL1men has quit [Ping timeout: 244 seconds]
Stoge88 has joined #ruby
rdark has joined #ruby
elfuego has quit [Client Quit]
ferr has joined #ruby
zwer has quit [Ping timeout: 250 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
St1gma has quit [Ping timeout: 250 seconds]
zwer has joined #ruby
speakingcode has quit [Read error: Connection reset by peer]
Fusl has quit [Ping timeout: 250 seconds]
sheepman has joined #ruby
<jheg> does an array method exist that allows you to get the index number of an element?
<workmad3> jheg: index
jlebrech has quit [Remote host closed the connection]
<tobiasvl> note that index gives you the first index, in case of multiple identical values
<apeiros> surprise!
speakingcode has joined #ruby
yfeldblum has joined #ruby
<jheg> I seem to be missing something as this returns an error …
ishikawa has quit [Ping timeout: 250 seconds]
<avril14th> jheg: maps returns nil
<avril14th> so you map your array to an array of nils
<avril14th> *puts returns nil sorry
zwer has quit [Ping timeout: 250 seconds]
<workmad3> jheg: also, map.with_index do |song, idx|
<jheg> ah thanks guys
<workmad3> jheg: and a final thing - it should be 'my_playlist.index(song)'
<workmad3> jheg: not the string "song"
DLSteve has quit [Read error: Connection reset by peer]
DLSteve has joined #ruby
shiru has joined #ruby
<workmad3> jheg: I suspect that the array doesn't contain the string "song", just several songs ;)
adriancb has joined #ruby
<jheg> yep you’re right :)
DrCode has quit [Ping timeout: 250 seconds]
<jheg> misread the documentation
yfeldblum has quit [Ping timeout: 240 seconds]
uxp has quit [Ping timeout: 245 seconds]
zwer has joined #ruby
xenomorph is now known as {xenomorph}
<jheg> workmad3: where is the with_index being called from?
shiru has quit [Ping timeout: 245 seconds]
<jheg> I added an each method to my Playlist class and included Enumerable but can see with_index in the docs for Enumerable
{xenomorph} is now known as xenomorph
<shevy> is __FILE__ a constant?
<workmad3> >> %w(a b c d).map.with_index{|char, idx| "#{idx}: #{char}"}
<eval-in> workmad3 => ["0: a", "1: b", "2: c", "3: d"] (https://eval.in/241705)
<workmad3> jheg: I'd suggest you implement .each with enumerators nowadays
<avril14th> >> %(a b c d).map.method(:each_index).source_location
<eval-in> avril14th => undefined method `map' for "a b c d":String (NoMethodError) ... (https://eval.in/241706)
<jheg> Does that mean open the Enumerable module and define it there?
<avril14th> >> %w(a b c d).map.method(:with_index).source_location
<workmad3> jheg: no
<eval-in> avril14th => nil (https://eval.in/241707)
<avril14th> hmm
xenomorph is now known as {xenomorph}
<workmad3> avril14th: it'll be in core ruby, so native code
<avril14th> right
<workmad3> avril14th: .source_location doesn't work then :)
deconfigured has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
<avril14th> true, just forgot for a sec
<avril14th> I type "hmmms" too fast :)
oo_ has quit [Remote host closed the connection]
<workmad3> shevy: __FILE__ is special
oo_ has joined #ruby
<shevy> !!!
dionysus69 has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
vt102 has joined #ruby
<shevy> >> __FILE__.class
<eval-in> shevy => String (https://eval.in/241708)
JohnBat26 has joined #ruby
jimms has quit [Remote host closed the connection]
<workmad3> shevy: __FILE__ will be the file that it's in... __LINE__ will be the line that you're on...
<workmad3> >> "#{__FILE__}:#{__LINE__}"
<eval-in> workmad3 => "/tmp/execpad-9af3a0be3f28/source-9af3a0be3f28:2" (https://eval.in/241709)
bronson has joined #ruby
bayed has joined #ruby
arup_r_ has quit [Remote host closed the connection]
agent_wh1te has joined #ruby
agent_white has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
CustosL1men has joined #ruby
metadave has joined #ruby
L8 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Oberon4278> g-nom3: So, about those InDesign templates... got a second for a PM?
metadave has quit [Client Quit]
arup_r has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
metadave has joined #ruby
jimms has joined #ruby
<shevy> off topic
<shevy> optimizing .png files seems much more efficient than optimizing .jpg files
<apeiros> they're efficient at different things
anaeem1 has quit [Remote host closed the connection]
tesuji has joined #ruby
<apeiros> large areas of the same color -> png. photos and similar -> jpeg
<apeiros> also, jpeg is lossy, png is not
<workmad3> and png has native support for an alpha channel...
marr123 has joined #ruby
marr has quit [Ping timeout: 244 seconds]
marr123 is now known as marr
<apeiros> yopp, often quite important too
shazaum has joined #ruby
kp666 has quit [Remote host closed the connection]
agrinb has joined #ruby
keen__________32 has joined #ruby
shvelo has joined #ruby
spyderman4g63 has joined #ruby
keen__________31 has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 244 seconds]
spyderma_ has joined #ruby
<shvelo> hey shevy
<shevy> hey shvelo
aclearman037 has joined #ruby
<shvelo> what's new here :D
<shevy> now we only have to grab shlevy from #nixos and the three brothers are once again united
agrinb has quit [Ping timeout: 256 seconds]
<ddv> lol whut
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spyderman4g63 has quit [Ping timeout: 264 seconds]
rdark has quit [Quit: leaving]
rdark has joined #ruby
xMopxShell has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
kiyote23 has joined #ruby
mengu has quit [Remote host closed the connection]
workmad3 is now known as wm3|away
claptor has quit [Quit: this channel is bakas]
ndrei has joined #ruby
Pharaoh2 has quit [Client Quit]
kiyote23 has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Ping timeout: 245 seconds]
kl__ has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
weaksauce has joined #ruby
ponga has quit [Remote host closed the connection]
doodlehaus has joined #ruby
ponga has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pdoherty has joined #ruby
josephcs has quit [Ping timeout: 265 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
ndrei has quit [Ping timeout: 256 seconds]
banister has joined #ruby
doodlehaus has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
ndrei has joined #ruby
jefus_ is now known as jefus
ferr has quit [Ping timeout: 252 seconds]
jack_rabbit has joined #ruby
ponga has joined #ruby
ferr has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
DadoCe has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
rdark has quit [Ping timeout: 264 seconds]
brb3 has joined #ruby
Pharaoh2 has joined #ruby
rdark has joined #ruby
Pharaoh2 has quit [Client Quit]
nfk has joined #ruby
Morkel has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
funkpuppet has quit [Quit: funkpuppet]
xrlabs has joined #ruby
nateberkopec has quit [Quit: Leaving...]
commmmodo has joined #ruby
jack_rabbit has quit [Ping timeout: 255 seconds]
DLSteve has quit [Read error: Connection reset by peer]
bluenemo has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
DLSteve has joined #ruby
martinrame has joined #ruby
codecop has quit [Read error: Connection reset by peer]
<martinrame> hi, I'm trying to upgrade redmine from svn, but I'm getting some Ruby errors while "bundle update" on Ubuntu 12.04. Can you take a look? http://pastebin.com/CFFmMCxP
zarubin has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
commmmodo has quit [Ping timeout: 264 seconds]
CustosL1men has quit [Ping timeout: 265 seconds]
codecop has joined #ruby
pico-pete has quit [Read error: Connection reset by peer]
pico-pete has joined #ruby
qpls_ has quit [Ping timeout: 240 seconds]
xlii has quit [Ping timeout: 245 seconds]
clauswitt has quit [Ping timeout: 245 seconds]
antgel has quit [Ping timeout: 264 seconds]
cHarNe2 has quit [Ping timeout: 245 seconds]
paulfm has quit [Read error: Connection reset by peer]
joonty has quit [Quit: joonty]
paulfm has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
spacemud has quit [Ping timeout: 256 seconds]
krz has quit [Quit: WeeChat 1.0.1]
pipework has quit [Ping timeout: 256 seconds]
antgel has joined #ruby
apurcell has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cHarNe2 has joined #ruby
tkuchiki has joined #ruby
shazaum has quit [Ping timeout: 264 seconds]
<apeiros> martinrame: might be sufficient to explicitly install mysql-2.8.1 manually
<apeiros> i.e., gem install mysql -v 2.8.1 -- --with-mysql-config=/usr/bin/mysql_config
WillAmes has joined #ruby
jack_rabbit has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
tkuchiki_ has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
spacemud has joined #ruby
clauswitt has joined #ruby
xlii has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
commmmodo has joined #ruby
qpls has joined #ruby
elfuego has joined #ruby
<martinrame> apeiros: I was able to install mysql 2.8.1 using "sudo gem install ... ", I cant using only "gem install.." (without sudo), but then I got the same error.
Akuma has quit [Quit: So long sukkas!]
<apeiros> martinrame: huh? installing 2.9.1 worked without sudo but 2.8.1 only with sudo? that sounds odd…
<apeiros> you should usually not mix sudo/non-sudo installs
<martinrame> apeiros: typo, 2.8.1 in both cases.
<apeiros> martinrame: I think your pastebin is not a typo…
<apeiros> and there you succeed to install 2.9.1 without sudo
<martinrame> apeiros: mmm, let me check
suy|BNC is now known as disperso
Flcn has joined #ruby
<martinrame> apeiros: can you help me uninstall ruby and bunldes, then reinstall it again?
heftig has quit [Remote host closed the connection]
soulcake has joined #ruby
<apeiros> not really having that much time, sorry.
delianides has joined #ruby
bradland has joined #ruby
<apeiros> generally it should just be `gem uninstall GEMNAME`, with sudo if you installed it with sudo
heftig has joined #ruby
<martinrame> apeiros: I found I have two rubies. One in /usr/bin and another installed by rvm.
<apeiros> martinrame: preferably don't touch the /usr/bin ruby and gems
n1lo has quit [Ping timeout: 264 seconds]
<martinrame> apeiros: but it's 1.8.7
dblessing has joined #ruby
lsmola has joined #ruby
<apeiros> that's why you use the rvm ruby. and there you install stuff too.
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<martinrame> apeiros: ok, so everything will be without sudo from now on.
<apeiros> yes, with rvm ruby, don't use sudo
nateberkopec has joined #ruby
bradland has quit [Client Quit]
terlar has quit [Ping timeout: 255 seconds]
DadoCe has quit [Remote host closed the connection]
tkuchiki_ has quit [Remote host closed the connection]
tier has joined #ruby
adriancb has quit [Remote host closed the connection]
soulcake has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby
<martinrame> Well, starting again. Please help me http://pastebin.com/Xn9tmr69
rbrs has joined #ruby
puppeh has joined #ruby
bradland has joined #ruby
<puppeh> anybody knows where I can find the definition of the AND operator in ruby's source? ("&&")
ki0 has joined #ruby
kl__ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<bradland> puppeh: not sure where it is in the source, but AND operator and the && operator are probably different pieces of code
jerematic has joined #ruby
ferr has quit [Ping timeout: 252 seconds]
chthon has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
tkuchiki has quit [Ping timeout: 244 seconds]
soulcake has joined #ruby
giuseppesolinas has joined #ruby
khem_ has left #ruby [#ruby]
agrinb has joined #ruby
<shevy> puppeh keyword_and
anaeem1 has joined #ruby
jack_rabbit has quit [Ping timeout: 255 seconds]
<shevy> %token <val>
<shevy> %*/
<shevy> parse.y
evanjs has joined #ruby
<shevy> %token tANDOP"&&"
anaeem1 has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
<shevy> this is the main function:
<shevy> static int parser_yylex(struct parser_params *parser)
diegoviola has joined #ruby
last_staff has quit [Quit: last_staff]
JDiPierro has joined #ruby
govg has joined #ruby
<shevy> that function has like almost 1300 lines
<shevy> :)
lolmaus has joined #ruby
<martinrame> apeiros: Looks like I can't install 2.8.1 but 2.9.1 installs successfully?, is there a way to fix this?
agrinb has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
arup_r has quit [Remote host closed the connection]
sambao21 has joined #ruby
cantonic has joined #ruby
n1lo has joined #ruby
DaniG2k has quit [Ping timeout: 265 seconds]
DaniG2k has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
terlar has joined #ruby
jherbst has joined #ruby
zemlya has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
<bradland> martinrame: it’s likely that whatever build errors are occurring for you with 2.8.1 were fixed by a release after 2.8.1.
giuseppesolinas has joined #ruby
livingstn has joined #ruby
<bradland> it may be possible to backport the fix to the prior release, but you’d have to drill down to the exact error, identify the fix in the newer version, then backporti t.
<martinrame> bradland: I have successfully installed 2.9.1, but "bundle update" keeps giving me the error related to 2.8.1, is there a way to force bundle update to use 2.9.1?
joonty has joined #ruby
<bradland> it depends on why 2.8.1 is being selected
<bradland> can you post the gemfile?
<bradland> sry, Gemfile
<bradland> and Gemfile.lock
MasterPiece has quit [Ping timeout: 256 seconds]
<martinrame> bradland: Gemfile: http://pastebin.com/3i5KZ6Yk
<martinrame> bradland: Gemfile.lock: http://pastebin.com/r5RTRH2K
<bradland> line 53 specifies "~> 2.8.1"
<bradland> of Gemfile
chthon has joined #ruby
<bradland> who authored the Gemfile?
Xeago_ has joined #ruby
<martinrame> bradland: it's from Redmine.
<bradland> aaaah
<bradland> ok
giuseppesolinas has quit [Client Quit]
<martinrame> bradland: wait, I changed 2.8.1 to 2.9.1 in the Gemfile and it's building.
TomyWork has quit [Ping timeout: 264 seconds]
<bradland> in your database.yaml, change the adapter to mysql2 intead of mysql
nrsk has joined #ruby
<bradland> mysql2 is a newer mysql adapter gem, and should be compatible with Redmine, because they’re specifying it in the Gemfile
<bradland> it’s faster too
rdark has quit [Quit: leaving]
giuseppesolinas has joined #ruby
rdark has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
tvw has quit [Read error: Connection reset by peer]
<bradland> see the code on lines 43 through 73? that code looks for your database.yml file and tries to intelligently select a mysql adapter most appropriate for your database.yml configuration and ruby interpreter. it sniffs around to see if you’re running mri or jruby.
<bradland> newer versions of Redmine don’t even include the mysql gem for MRI. how old is your Redmine install?
<bradland> this is the latest version of the Gemfile for Redmine: http://www.redmine.org/projects/redmine/repository/entry/trunk/Gemfile
yfeldblum has joined #ruby
<martinrame> bradland: I have the latest 2.4 branch, it's 2.4.7
puppeh has left #ruby ["Leaving..."]
<martinrame> bradland: from svn.
jmhmccr is now known as bluehavana
<bradland> ah, i see. it looks like they maintain these older releases.
<wm3|away> the 2.4.7 Gemfile should do the same
<wm3|away> (just looked @ it)
wm3|away is now known as workmad3
<bradland> so, change “mysql” to “mysql2” in your database.yml, and try bundle install
<martinrame> bradland: it compiled successfully. Let's try to run it, then I'll change database.yml
nrsk has quit [Ping timeout: 252 seconds]
<bradland> what compiled successfully?
<bradland> mysql or mysql2?
<workmad3> mysql2 is the recommended adapter for rails nowaday
<workmad3> *nowadays
<martinrame> bradland: bundle update
<bradland> oh martin
<bradland> you’ve created a mess :)
<bradland> bundle update is not what you want
<bradland> bundle update will go through and update all your gems
<bradland> you need bundle install
<martinrame> bradland: but that's what the step-by-step guide says: http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade
dionysus69 has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
<bradland> i don’t understand that at all
whoisjake has joined #ruby
<workmad3> bradland: they don't store a Gemfile.lock in the repo
<workmad3> bradland: so an update from the repo won't include updated gems in the lockfile
<bradland> workmad3: why does their guide recommend `bundle update`?
<bradland> that’s insane
<aep> does a class have an initialiazation method? like def self.initialize or something?
<bradland> well, not insane, but why bother specifying gem versions at all if you’re going to tell users to `bundle update`
<workmad3> aep: 'def initialize'
kamilc__ has quit [Read error: Connection reset by peer]
<workmad3> bradland: because they can't store the lockfile
<aep> workmad3: no not for the instance, for the class
<ddv> aep: and what do you think a class is?
<shevy> aep only if you define it
kaichanvong has quit [Quit: _]
jerius has joined #ruby
<workmad3> aep: closest you could do is that... but in the class Class ;)
doodlehaus has joined #ruby
<workmad3> aep: and you wouldn't get control over which class it was an initialize method for
<aep> i'll just try class << self \n def initialize
<aep> oh
<workmad3> aep: by the time you're running that, the class instance is already created
<bradland> workmad3: yeah, but why bother specifying gem versions in your Gemfile if you’re just going to instruct users to run `bundle update`?
<shevy> >> class Foo; class << self; def initialize; end; end; end; Foo.initialize
<eval-in> shevy => nil (https://eval.in/241754)
<workmad3> bradland: ok, think about it... you check out and run 'bundle install', that generates a Gemfile.lock for your current setup
<aep> might be what i want, thanks
<martinrame> bradland: Redmine runs through passenger from apache. And now I'm getting an error saying it uses /usr/bin/ruby1.8
<bradland> workmad3: ah, yeah. i see
<workmad3> bradland: then you pull down an update, which has new versions in the Gemfile... but they don't release a new Gemfile.lock... ;)
<martinrame> bradland: how can I tell it should use ruby 2.2.0 installed by rvm ?
<bradland> where is your passenger config loaded?
<martinrame> bradland: I don't know...
<bradland> well, that’s a problem lol
<bradland> did you install passenger?
<workmad3> bradland: btw, I don't particularly agree with them doing that... but I can see why they say to do it :)
josephndenton has joined #ruby
max96at is now known as max96at|off
<bradland> yeah, we check in our gemfile lock so that we know what the hell is going to be in the environment
<bradland> :)
<bradland> martinrame: what version of passenger?
<martinrame> bradland: no, this initially was a bundled virtual machine. Then I installed the svn version and keep updating it since a couple of years.
<bradland> i can help you find the config
<martinrame> bradland: this is the first time I get those errors.
paulfm has quit [Remote host closed the connection]
<bradland> no problem, we can find it
<workmad3> bradland: yeah... and for most projects that's fine... for redmine, they couldn't do that without including a bunch of stuff most people won't need in the Gemfile (and have an entire section on then customising the Gemfile...)
MasterPiece has joined #ruby
jimms has quit [Read error: No route to host]
bluOxigen has joined #ruby
paulfm has joined #ruby
<bradland> martinrame: run this in a shell: gem list | grep passenger
fmcgeough has joined #ruby
<martinrame> bradland: empty
Vile` has quit [Ping timeout: 240 seconds]
<bradland> iiiiiinteresting
<martinrame> bradland: aparently passenger is running from the root version of ruby, not from the rvm one.
<workmad3> ^^ I was about to mention that
commmmodo has quit [Quit: commmmodo]
paulfm has quit [Read error: Connection reset by peer]
<bradland> yeah, you can specify that through a passenger config directive: PassengerRuby
<workmad3> martinrame: I'd suggest installing passenger into your RVM ruby, recompiling the apache module using that version and configure it again
<bradland> but we need to find the location of the passenger config
DaniG2k has quit [Ping timeout: 255 seconds]
<bradland> oh, was RVM installed after passenger?
<bradland> sry, i’m late to this party. seems this has been going on for a while.
paulfm has joined #ruby
<martinrame> bradland: yeah, rvm was installed after.
<bradland> yeah, you’re going to need to do what martinrame suggests
<workmad3> bradland: even if it wasn't, I wouldn't trust a passenger compiled against 1.8 to be particularly sane running with ruby 1.9 or 2.x :)
jimms has joined #ruby
<ddv> I would run from 2.2.x
<bradland> i assumed that passenger was installed after RVM
<martinrame> bradland: yeah, rvm was installed after.
<workmad3> ddv: I'm getting there with my stuff :)
bronson has joined #ruby
<ddv> noice
revw has joined #ruby
<martinrame> I found it: /etc/apache2/mods-enabled/passenger.conf
kaichanvong has joined #ruby
MasterPiece has quit [Client Quit]
<martinrame> ...and of course it points to ruby 1.8
<bradland> yep, needs to be rebuilt
MasterPiece has joined #ruby
<martinrame> bradland: look: o
DLSteve has quit [Read error: Connection reset by peer]
<workmad3> martinrame: as I said... install newest passenger into your RVM ruby (whatever version it is), recompile the apache module for passenger and then update the config in that file to whatever that says :)
<martinrame> bradland: sorry: http://pastebin.com/XiinpdXJ
<martinrame> workmad3: should I "gem install passenger"?
DLSteve has joined #ruby
nrsk has joined #ruby
chthon has quit [Quit: Ex-Chat]
iamjarvo has joined #ruby
devdazed has joined #ruby
chthon has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
mrmargolis has joined #ruby
athan has joined #ruby
enebo has joined #ruby
adriancb has joined #ruby
iamjarvo has joined #ruby
fantazo has quit [Quit: Verlassend]
krz has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
pdoherty has joined #ruby
JDiPierro has quit [Remote host closed the connection]
lobsterminator has joined #ruby
_maes_ has joined #ruby
bronson has joined #ruby
jmcharnes has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
Vile` has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
iamjarvo has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
zwer has quit [Read error: Connection reset by peer]
jusmyth has joined #ruby
MasterPiece has joined #ruby
max96at|off is now known as max96at
ishikawa has joined #ruby
RandyT has quit [Ping timeout: 252 seconds]
jusmyth has left #ruby [#ruby]
zwer has joined #ruby
lolmaus has quit [Remote host closed the connection]
paulfm has joined #ruby
RandyT has joined #ruby
lolmaus has joined #ruby
Fusl has joined #ruby
it0a has joined #ruby
red_horned_rihno has joined #ruby
St_Marx has joined #ruby
adriancb has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
shazaum has joined #ruby
<bradland> martinrame: yes, you’ll need to `gem install passenger`
<aep> any idea how to make this giant switch case prettier with some dsl? http://npaste.de/p/JX
beef-wellington has joined #ruby
zwer_s has joined #ruby
<martinrame> bradland: installed, now I'm trying to figure out where is mod_passenger.c
shazaum has joined #ruby
shazaum has quit [Changing host]
<martinrame> bradland: I've changed passener.conf pointing to the new gem and to ruby 2.2.0, and restarted apache. The result was the shared library wasn't loaded.
<workmad3> martinrame: tbh, just follow the passenger guide: https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#installation
<bradland> martinrame: two commands will help you out
<bradland> passenger-install-apache2-module --snippet
zwer has quit []
<bradland> that will give you the full snippet for passenger configuration
<martinrame> bradland: great!
<workmad3> bradland: he should also run it to compile the module :P
<bradland> martinrame: have you run passenger-install-apache2-module yet?
<bradland> or just the gem install?
<martinrame> bradland: both
<bradland> k, then once you update the config, it should work
DrCode has joined #ruby
<martinrame> bradland: shouldn't I copy mod_passenger.so to /usr/lib or something?
<bradland> no
JDiPierro has joined #ruby
<bradland> all the components involved have configuration directives that allow you to specify the location of libraries
hornairs has joined #ruby
<bradland> you want to avoid manually moving anything around, so that your build is fairly standard
<bradland> so you can get help later :)
<martinrame> bradland: modified passenger.conf but the mod isn't loaded...
<bradland> rubygems and the passenger-install script will move any items to appropriate locations
<bradland> restart apache?
DadoCe has joined #ruby
Rollabunna has quit [Remote host closed the connection]
<martinrame> bradland: of course I restarted it.
Rollabunna has joined #ruby
<bradland> ok, just checking! :)
<bradland> do you get any errors when restarting apache?
ndrei has quit [Ping timeout: 264 seconds]
<martinrame> bradland: yes, I'm posting it.
<martinrame> bradland: here's the relevant part: http://pastebin.com/vvumxkV1
<jhass> aep: no, you show too little (and not even valid code)
oleo has joined #ruby
<shevy> aep does ruby have switch?
anaeem1 has joined #ruby
tus has joined #ruby
shellfu_afk has joined #ruby
<bradland> martinrame: this is bizzare. did the `gem install passenger` and `passenger-install-apache2-module` execute cleanly? no errors?
shellfu_afk is now known as shellfu
<martinrame> bradland: removing --snippet from passenger-install... will help.
<martinrame> bradland: I need apache-dev headers
DaniG2k has joined #ruby
<bradland> ok, so you haven’t run `passenger-install-apache2-module` yet?
DadoCe has quit [Ping timeout: 244 seconds]
<bradland> sorry, i see. when you said you’d run it, you meant you’d run the snippet command.
<martinrame> bradland: I did, but adding --snippet
<martinrame> bradland: now I'm running it
Porpado has joined #ruby
Porpado has quit [Client Quit]
Porpado has joined #ruby
<waxjar> aep looks like you want a Hash
zwer_s has quit [Remote host closed the connection]
zwer_s has joined #ruby
n008f4g_ has quit [Ping timeout: 255 seconds]
hornairs has quit [Quit: hornairs]
evanjs has quit [Remote host closed the connection]
apurcell has joined #ruby
<aep> waxjar: yes, but prettier
<aep> like, i want to hide the hash syntax behind a dsl
<waxjar> what do you gain?
<aep> readable code
<kaspergrubbe> obfuscation
zB0hs has joined #ruby
<jhass> an item in your DSL collection book
<jhass> don't you have one of those?
<gregf_> aep: use a hash
<aep> basically all i want is "class A; my_thing A {}; end;" to evaluate to "class A; @my_thing[A] = {}; end; " i guess
iamninja has joined #ruby
* jhass slowly backs off
<waxjar> aep, what are you actually trying to do? the pseudo-code doesn't make sense to me.
<gregf_> something like: class Foo; KEYS = {foo: 1, bar: 2, baz: 3,}; def get_key(key); KEYS[key.to_sym] || KEYS[:foo];end;end;f = Foo.new; %w{nil bar}.each { |val| p f.get_key(val) }
ddd has quit [Quit: reboot time]
apurcell has quit [Ping timeout: 255 seconds]
sevenseacat has quit [Ping timeout: 264 seconds]
<jhass> aep: usually it helps if you just stop making stuff up and show your real code
<aep> nah that's way too big :D i can make the pastebin thing valid code if that helps
<bradland> code’s too bit for the internets
<aep> a bit more context would be: it's a mapping from a model like class with accessors to a string based hash
zwer_s is now known as zwer
<jhass> point is that the "making stuff up" process is usually loosing the important information, especially if you're unclear about what you actually want to achieve
Macaveli has quit [Ping timeout: 264 seconds]
<aep> like, one user of the class would expect Car.color_for("steering wheel") or something, and someone has to write the logic behind that
<gregf_> aep: whats your problem statement? you can surely paste some valid code rather than make us figure it all out?
<aep> yeah sure
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
snath has quit [Ping timeout: 264 seconds]
hamakn has quit [Remote host closed the connection]
cassianoleal has joined #ruby
arup_r has joined #ruby
jefus_ has joined #ruby
DLSteve has quit [Quit: Textual IRC Client: www.textualapp.com]
iamninja has quit [Quit: ZZZzzz…]
<martinrame> bradland: Installed mod_passenger and got a new error, turns out I needed to change the mysql adapter to mysql2, then restarted apache and IT RUNS!!!!. Thank you for all your help.
<bradland> “turns out I needed to change the mysql adapter to mysql2” that sounds familiar :)
<bradland> glad to hear it worked out
govg has quit [Ping timeout: 264 seconds]
jefus has quit [Ping timeout: 245 seconds]
<martinrame> bradland: too fast :(
<bradland> hahaha, sorry laugh :)
<martinrame> bradland: At least I can browse some Redmine pages.
<aep> waxjar: jhass http://npaste.de/p/bKy
zwer has quit [Remote host closed the connection]
shellfu is now known as shellfu_coffee
zwer_x has joined #ruby
evanjs has joined #ruby
DaniG2k has quit [Ping timeout: 264 seconds]
<bradland> martinrame: so it sounds like you’re getting Redmine app errors now, which is progress at least
<waxjar> aep: thanks, that's a lot clearer :)
<jhass> aep: sorry, too made up for me, hf waxjar
tobago has quit [Remote host closed the connection]
<martinrame> bradland: yes, looks like soomething that wasn't updated.
<bradland> were there any database migrations?
<waxjar> aep: i'd suggest just using regular old methods
kl__ has quit [Ping timeout: 240 seconds]
<aep> waxjar: would work if the key wasnt irregular. could contain spaces
shredding has joined #ruby
kl__ has joined #ruby
<waxjar> where are these keys coming from?
DaniG2k has joined #ruby
<jhass> aep: guess you could just def self.map_property(key, &block); @property_map[key] = block; end;
<aep> they're from a totally different system that isnt in ruby. i'm basically rewriting all the mapping code in something readable.
<jhass> but I'm not saying that's not just replacing one mess with another in your real code
ursooperduper has joined #ruby
shellfu_coffee is now known as shellfu
Kricir has joined #ruby
<aep> jhass: actually that's all i want. i dont know why i thought its so complicated oO
<bradland> i think you should just use Hashie
* bradland ducks
gdrooid has joined #ruby
<aep> i'd just use functions, if they were regular names :P
<bradland> (do not use hashie, btw)
<aep> the semantics really _is_ regular functions
<jhass> where was that nice blog that ranted all about hashie? :P
<gregf_> aep: in short you call a method with a key and based on the key you call a block? <== looks like a factory?
<aep> gregf_: yes!
<aep> pretty much that.
<gregf_> aep: thats what you;re doing uh? o_O
<martinrame> bradland: looks like redmine needs ruby 2.0.0, I was using 2.2.0
<bradland> redmine 2.4 probably needs 2.0
<bradland> what does 2.6 support?
<aep> jhass: oh yeah, self isnt the instance in a class method of course
<martinrame> bradland: I don't know. Maybe I should try upgrade to 2.5 or 2.6
<jhass> aep: you can instance_eval the block while calling
<bradland> martinrame: if you’re going through the trouble of upgrading, i’d go as recent as possible
<bradland> are you working with your production box?
<aep> jhass: wouldnt instance_eval _execute_ the block instead of assigning it to the hash?
<jhass> aep: _while calling_
<aep> hmm. how does that work?
ki0 has quit []
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<martinrame> bradland: yes, I'm running on production box, but don't worry, I have a backup
giuseppesolinas has joined #ruby
<bradland> whew
Guest95706 has quit [Changing host]
Guest95706 has joined #ruby
Guest95706 is now known as daynaskully
<waxjar> aep instead of proc.call(*args) you do instance_exec(*args, &proc)
<bradland> when i do major upgrades like this, i’ll usually spin up an entirely new VM, run my build scripts, then migrate the data
giuseppesolinas has quit [Remote host closed the connection]
<bradland> “run my build scripts” is the part where I do exactly what you’re doing: fight gremlins
ursooperduper has left #ruby ["Textual IRC Client: www.textualapp.com"]
mikepack has joined #ruby
<aep> waxjar: cool, i'm going to read about that
freerobby has joined #ruby
kwd has quit [Quit: kwd]
ctp has quit [Quit: ZNC - http://znc.in]
treehug88 has joined #ruby
ecstaticpessimst has joined #ruby
fryguy9 has joined #ruby
shredding has quit [Quit: shredding]
tesuji has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
treehug88 has quit [Client Quit]
shredding has joined #ruby
lxsameer has quit [Quit: Leaving]
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
shazaum_ has joined #ruby
treehug88 has joined #ruby
kl__ has quit [Ping timeout: 252 seconds]
<ecstaticpessimst> Anyone have any experience with the pry error "ERROR: Pry started inside Pry.
<ecstaticpessimst> "
freerobby has quit [Quit: Leaving.]
zwer_x_b has joined #ruby
zwer_x has quit [Remote host closed the connection]
<ecstaticpessimst> I but a binding.pry inside of a function and when I call that from a pry console it spits that error, any suggestions?
kl__ has joined #ruby
shazaum has quit [Ping timeout: 244 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
zwer_x_b has quit [Remote host closed the connection]
zwer_x_b has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
rfish2 has joined #ruby
govg has joined #ruby
Soda has joined #ruby
Ankhers has joined #ruby
gtrak has joined #ruby
<martinrame> bradland: hmm, upgraded to redmine 2.5 then to 2.6 and the error persists. Googling I found I should downgrade to ruby 2.0.0
<rfish2> r18n.esl.generic.account = "Hello"
<rfish2> pp r18n.esl.generic.account
<aep> waxjar, jhass: instance_exec was the key to it. thanks!
<bradland> martinrame: bleh. that sucks, but you do what you gotta do.
<bradland> Redmineis a big project.
<workmad3> ecstaticpessimst: err... it's pretty self-explanatory :P
<martinrame> bradland: but using rvm is not a big deal.
<bradland> right
<bradland> you’ll need to reinstall passenger again
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
<bradland> `gem install passenger` to install the gem, then `passenger-install-apache2-module` to install the module, then `passenger-install-apache2-module —snippet` to get the config
spider-mario has joined #ruby
ndrei has joined #ruby
<martinrame> bradland: ok, thanks for the tip
mjuszczak has joined #ruby
rbennacer has joined #ruby
<rfish2> for some reason r18n.esl.generic.account is not showing hello and is showing a different value
<rfish2> how come r18n.esl.generic.account is not setting?
tectonic has joined #ruby
<bradland> jhass: hashie considered harmful blog post: http://www.schneems.com/2014/12/15/hashie-considered-harmful.html
dionysus69 has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
<rfish2> anyone know why?
kaspertidemann has joined #ruby
<jhass> bradland: yeah, that one :)
zwer_x_b is now known as zwer
DaniG2k has quit [Ping timeout: 245 seconds]
<ecstaticpessimst> workmad3: Alright fair enough, but I swear Ive called a function from pry which had binding.pry inside of it and then it stopped at the breakpoint
jaequery has joined #ruby
<ecstaticpessimst> is there another way I could stop at the breakpoint?
micah has joined #ruby
soulcake has quit [Quit: Quack.]
byprdct has joined #ruby
<micah> is there a more 'ruby' preferred way of doing this: if ( e.response.code == 500 or e.response.code == 422 )… ?
bal has quit [Quit: bal]
bal has joined #ruby
<apeiros> I suspect that code is broken anyway due to `or`'s precedence
jaequery has quit [Client Quit]
<rfish2> any can help me with simple ruby problem?
<apeiros> [500, 422].include?(code)
MasterPiece has quit [Quit: Leaving]
<apeiros> rfish2: nobody knows
soulcake has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<rfish2> r18n.esl.generic.account = "Hello"
<rfish2> pp r18n.esl.generic.account
<rfish2> account not printing as "Hello"
uptownhr has joined #ruby
bal has quit [Client Quit]
ponga has quit [Quit: Leaving...]
rippa has joined #ruby
Soda has quit [Remote host closed the connection]
n80 has joined #ruby
aganov has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 255 seconds]
<scpike> micah: use || for logical or (https://github.com/bbatsov/ruby-style-guide#no-and-or-or). Sometimes I do it like `[500, 422].include?(e.response.code)`.
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
checkit has quit [Quit: (null)]
<apeiros> rfish2: what does it print then?
<rfish2> "Account"
<rfish2> which is what the value was before
<apeiros> rfish2: funny. you'll not get around looking at the source of those methods then
nuck has joined #ruby
n80 has left #ruby [#ruby]
<rfish2> I'm using some i18n library to load the values
n80 has joined #ruby
bMalum has joined #ruby
<rfish2> but now I have to load custom values from an external source and replace them
<bradland> rfish2: i have installed the r18n-core gem to try and test out some of this code, but i don’t know how to use this library.
bMalum has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<bradland> can you gist some basic code to stub this out?
noop has quit [Ping timeout: 255 seconds]
aclearma_ has joined #ruby
<micah> scpike: so if ( e.response.code == 500 || e.response.code == 422 )… i was hoping to avoid the repetition of the e.response code, but I confess the [500, 422].include?(e.response.code) way I do not like
<bradland> as in, how is the variable r18n initialized?
kapil__ has quit [Quit: Connection closed for inactivity]
xMopxShell has joined #ruby
dfinninger has joined #ruby
<rfish2> module R18n
<rfish2> # Useful aliases. Set I18n object before use them:
<rfish2> # R18n.set('en')
<rfish2> #
<rfish2> #
<rfish2> # t.ok #=> "OK"
<rfish2> # l Time.now, :human #=> "now"
<rfish2> # r18n.locale.code #=> "en"
<rfish2> module Helpers
<rfish2> # Get current I18n object.
<rfish2> def r18n
<rfish2> R18n.get
<rfish2> end
<rfish2> alias i18n r18n
<bradland> rfish2: please do not paste to the channel
<bradland> use http://gist.github.com
<rfish2> sorry
<scpike> micah: depends on context, but I wouldn't do the "include" trick for just two options. You could make a "request_failed?" function, and you can also use case statements to check two values at once like `when 500, 422`
aclearman037 has quit [Ping timeout: 256 seconds]
elfuego_ has joined #ruby
DaniG2k has joined #ruby
Gue______ has joined #ruby
Stoge88 has joined #ruby
wpp has quit []
rbennacer has quit [Remote host closed the connection]
<micah> scpike: like this https://paste.antagonismo.org/paste/zRkJUiP2#-nh/vJ18OGabo5XW7lrcT8a+O8lzch8XIetr9wrLUVr ?
elfuego has quit [Ping timeout: 252 seconds]
elfuego_ is now known as elfuego
Flcn has quit [Quit: Lingo: www.lingoirc.com]
<scpike> micah: you've got some other syntax / indentation errors but the case statement looks good to me. I recommend trying out rubocop (https://github.com/bbatsov/rubocop) and just doing what it suggests until you have good reasons not to.
russt has joined #ruby
stunder has joined #ruby
arup_r_ has joined #ruby
<micah> scpike: hm, i think emacs is making those indentations not right... but what is the syntax error there?
yfeldblum has joined #ruby
* micah checks out rubocop
Olipro has joined #ruby
DaniG2k has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
arrubin has joined #ruby
DaniG2k has joined #ruby
klmlfl has joined #ruby
hornairs has joined #ruby
<bradland> rfish2: i don’t see anything on this gem’s homepage that would indicate you can assign values as you have suggested
hamakn has joined #ruby
<bradland> `r18n.esl.generic.account = “Hello”` doesn’t appear to be valid usage of this API
<scpike> micah: I don't see where response is defined, but probably I just don't know the context. I think you're on the right path.
gr33n7007h has joined #ruby
shellfu is now known as shellfu_drives
yfeldblum has quit [Ping timeout: 244 seconds]
Spami has quit [Ping timeout: 264 seconds]
rocco88 has joined #ruby
<rfish2> damn
<bradland> rfish2: you define your translations in yaml files, rather than explicitly setting them in your code
<bradland> so my question would be, why do you need to assign the value like that, rather than setting it in the yml file
livathin_ has joined #ruby
DrShoggoth has joined #ruby
<rocco88> Hi guys, to find memory leaks of an Rails App rbtrace is still the best choice?
snath has joined #ruby
<rfish2> because I need to substitute arbitrary translations from settings based on the session
<rfish2> they have default translations
<rfish2> and then the user puts in his own
<workmad3> rfish2: if that's in rails then no... the default I18n backend can't be used like that
<workmad3> rfish2: I'd suggest taking a look at something like globalize3
ta has quit [Remote host closed the connection]
livathinos has quit [Ping timeout: 264 seconds]
<workmad3> rfish2: even if all you do with it is take a look at how they implement an I18n backend and create your own ;)
livathin_ has quit [Ping timeout: 244 seconds]
jordanm has joined #ruby
<bhaak> isn't there a DB backend for I18n?
pandaant has quit [Remote host closed the connection]
PanzerModern has joined #ruby
kenneth has joined #ruby
<workmad3> bhaak: there may be... not sure if it can provide per-user translations either though :)
<workmad3> but it's worth investigating
red_horned_rihno has quit [Ping timeout: 252 seconds]
einarj has quit [Read error: Connection reset by peer]
<rfish2> how does pp r18n.esl.generic.account
<bradland> rocco88: there’s rbtrace, but i think if your leak is in C code, you’ll have to use valgrind
<bhaak> I think this should be possible, if you configure the default translation as a fallback translation
einarj has joined #ruby
<rfish2> how come I can't override that in some way?
icebourg has joined #ruby
mikepack_ has joined #ruby
giuseppesolinas has joined #ruby
<bhaak> rfish2: you can. I once did override it so it threw an exception when encountering an unknown translation but that would be monkey patching in its internal parts. better would be using the framework's backend mechanism to use a different storage provider
ta has joined #ruby
Pumukel has joined #ruby
DadoCe has joined #ruby
<bradland> rocco88: rbtrace looks like it’s more useful for identifying tracing back to what is the offending caller once you’ve identified the portion of your code that is bloating your memory usage.
tectonic has quit []
<rfish2> so there is no easy way of doing this?
<bhaak> ah, there it is
<bhaak> rfish2: look into I18n::Backend::ActiveRecord
<bradland> rocco88: what version of ruby are you running? newer versions have a very different GC, so the strategies/tools for profiling memory usage are different.
rkalfane has joined #ruby
anarang_ has quit [Quit: Leaving]
Zai00 has joined #ruby
devoldmx has joined #ruby
freerobby has joined #ruby
<rocco88> bradland: 2.1.5, I've used rbtrace in the past but a more friendly tool would be much appreciated
<bradland> rocco88: have a look at memory_profiler https://github.com/SamSaffron/memory_profiler
Spami has joined #ruby
tier_ has joined #ruby
Gue______ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> it’s old, but worth a read through
DadoCe has quit [Ping timeout: 265 seconds]
<rocco88> bradland: Great tranks... I will be very helpful
odin22 has joined #ruby
chrishough has joined #ruby
devoldmx_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
dseitz has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
tier has quit [Ping timeout: 264 seconds]
shvelo has joined #ruby
adriancb has quit [Ping timeout: 255 seconds]
adriancb has joined #ruby
freerobby has quit [Quit: Leaving.]
mikepack_ has quit []
teddyp1cker has joined #ruby
kbarry has joined #ruby
gattie has joined #ruby
whoisjake has quit []
x77686d has joined #ruby
sargas has joined #ruby
sambao21 has joined #ruby
govg has quit [Ping timeout: 264 seconds]
jusmyth has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jusmyth has left #ruby [#ruby]
Spami has quit [Ping timeout: 255 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spyderma_ has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
elfuego has quit [Ping timeout: 245 seconds]
jobewan has joined #ruby
freerobby has joined #ruby
whoisjake has joined #ruby
arup_r has quit [Quit: Leaving.]
n1lo has quit [Ping timeout: 244 seconds]
Zackio has quit [Quit: ZNC - http://znc.in]
russt has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
Zackio has joined #ruby
mengu has quit [Remote host closed the connection]
devoldmx_ has quit [Ping timeout: 245 seconds]
qba73 has quit []
elfuego has joined #ruby
baroquebobcat has joined #ruby
studiotate has joined #ruby
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
agent_wh1te has quit [Quit: meh]
russt has joined #ruby
Oberon4278 is now known as Oberon_Showering
bMalum has joined #ruby
jordanm has quit [Ping timeout: 265 seconds]
bMalum has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
lobsterminator has left #ruby [#ruby]
jimms has quit [Remote host closed the connection]
govg has joined #ruby
jordanm has joined #ruby
russt has quit [Read error: Connection reset by peer]
apurcell has joined #ruby
dblessing has joined #ruby
evanjs has quit [Remote host closed the connection]
Grumelo has joined #ruby
jefus_ is now known as jefus
joonty has quit [Quit: joonty]
GaryOak_ has joined #ruby
vozcelik has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has quit [Quit: Leaving.]
oleo has quit [Ping timeout: 255 seconds]
vozcelik has joined #ruby
apeiros has quit [Remote host closed the connection]
Flcn has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
uptownhr has quit [Quit: uptownhr]
teddyp1cker has quit []
gsd has joined #ruby
pietr0 has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
uptownhr has joined #ruby
geggam__ has joined #ruby
michaeldeol has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nuck has quit [Quit: Computer has gone to sleep.]
hamakn has quit [Remote host closed the connection]
lemur has joined #ruby
conniemj_ has joined #ruby
sambao21 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
PanzerModern has quit [Remote host closed the connection]
anaeem1 has joined #ruby
gattie has quit [Quit: Leaving...]
lolmaus has quit [Quit: Konversation terminated!]
DaniG2k has quit [Quit: leaving]
wallerdev has joined #ruby
havenwood has joined #ruby
nuck has joined #ruby
Macaveli has joined #ruby
shredding has quit [Quit: shredding]
<Cat_1> Just had truthiness of an array bite me in the ass
ta has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
lemur has quit [Remote host closed the connection]
pdoherty has quit [Remote host closed the connection]
lemur has joined #ruby
hornairs has quit [Quit: hornairs]
nanoyak has joined #ruby
anaeem1 has quit [Ping timeout: 256 seconds]
ta has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has quit [Ping timeout: 240 seconds]
nanoyak has quit [Read error: Connection reset by peer]
nux443 has joined #ruby
jaequery has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
jaequery has quit [Client Quit]
spyderman4g63 has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
arup_r has quit [Quit: Leaving.]
Spami has joined #ruby
bronson has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
antgel has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maximski has joined #ruby
chrishough has joined #ruby
rbennacer has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
jaequery has joined #ruby
andikr has quit [Remote host closed the connection]
alex88 has quit []
maximski has joined #ruby
Megtastique has joined #ruby
bricker has joined #ruby
Pharaoh2 has joined #ruby
devdazed has quit [Ping timeout: 244 seconds]
geggam__ is now known as geggam
olivier_bK has quit [Ping timeout: 252 seconds]
jaequery has quit [Client Quit]
brb3 has quit [Quit: ZZZzzz…]
Spami has quit [Ping timeout: 256 seconds]
deric_skibotn has joined #ruby
russt has joined #ruby
anaeem1 has quit [Ping timeout: 264 seconds]
maximski has quit [Client Quit]
marcoamorales has quit [Quit: WeeChat 0.4.3]
maletor has joined #ruby
<GaryOak_> Cat_1: you got truthered
brb3 has joined #ruby
<Cat_1> there was a truth commission
<Cat_1> who knew that [false, false, false] was true
<nateberkopec> pretty much anything is true, except false and nil
<havenwood> Cat_1: everything but `false` and `nil` is truthy
<nateberkopec> jinx
<Cat_1> I have learned that today :)
<Cat_1> the hard way
marcoamorales has joined #ruby
<nateberkopec> the best way
<Cat_1> I corrected it by using .include?
devdazed has joined #ruby
<GaryOak_> Cat_1: you could do .empty?
<Cat_1> Nah, different containers are all reporting different values
<nateberkopec> Cat_1: alternatively, consider calling ".all?" on the array.
tercenya has quit []
<havenwood> Cat_1: Do you want to know if any is true or if all are true?
DadoCe has joined #ruby
Oberon_Showering is now known as Oberon4278
<nateberkopec> http://ruby-doc.org/core-2.2.0/Enumerable.html know it, use it, love it.
<havenwood> >> [false, false].any?
<eval-in> havenwood => false (https://eval.in/241857)
<nateberkopec> >>
<eval-in> nateberkopec => nil (https://eval.in/241858)
n008f4g_ has joined #ruby
<nateberkopec> neat
<nateberkopec> >> [true, false].any?
<eval-in> nateberkopec => true (https://eval.in/241859)
<GaryOak_> yeah any is pretty cool! didn't know about that
anaeem1 has joined #ruby
conniemj__ has joined #ruby
<nateberkopec> using Enumerable to its full extent was a major level-up for me as a rubyist
AlexRussia has quit [Ping timeout: 256 seconds]
<GaryOak_> it's one of the main data objects people interact with, that and hashes, so I guess it's good to get acquainted
noop has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
<ericwood> ruby is all about dem hashes yep yep
kenneth has joined #ruby
<nateberkopec> ruby is all about them primitives
<ericwood> and I HIGHLY recommend reading through the enumerable docs and getting an idea for what it offers
_maes_ has joined #ruby
kaspertidemann has quit []
livathinos has joined #ruby
conniemj_ has quit [Ping timeout: 264 seconds]
JDiPierro has quit [Remote host closed the connection]
pengin_ has joined #ruby
kl__ has quit [Ping timeout: 240 seconds]
mleung has joined #ruby
pdoherty has joined #ruby
mleung has quit [Client Quit]
leafybasil has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
mikecmpbll has quit [Ping timeout: 244 seconds]
checkit has joined #ruby
mleung has joined #ruby
hvxgr has quit [Quit: leaving]
Senjai`work has joined #ruby
Senjai`work has joined #ruby
Senjai`work has quit [Changing host]
kl__ has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
jimms has joined #ruby
davidhq has joined #ruby
rkalfane has joined #ruby
rbennacer has quit [Remote host closed the connection]
unreal has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 264 seconds]
terlar has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
<BLuEGoD> how do I exit the app after raising a rollback exception? something like rescue => e\ raise ActiveRecord::Rollback\ exit 1\ end #exit 1 is unreacheable I understand?
<kaspergrubbe> hello
mikepack_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
msgodf has quit [Remote host closed the connection]
beef-wellington has quit [Ping timeout: 245 seconds]
geggam has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
ecstaticpessimst has quit [Ping timeout: 245 seconds]
hornairs has joined #ruby
gsd has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Remote host closed the connection]
treehug88 has quit []
Rollabunna has joined #ruby
ecstaticpessimst has joined #ruby
athan has quit [Ping timeout: 244 seconds]
apurcell has joined #ruby
athan has joined #ruby
beef-wellington has joined #ruby
rbennacer has joined #ruby
einarj has quit [Remote host closed the connection]
geggam has joined #ruby
uxp has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
mikepack_ has quit [Read error: Connection timed out]
gsd has joined #ruby
mikepack has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
cocotton has joined #ruby
francisfish has quit [Remote host closed the connection]
DivineEntity has quit [Ping timeout: 255 seconds]
francisfish has joined #ruby
DivineEntity has joined #ruby
chthon has quit [Ping timeout: 264 seconds]
JDiPierro has joined #ruby
yfeldblum has joined #ruby
gr33n7007h has quit [Ping timeout: 265 seconds]
livathinos has quit []
treehug88 has joined #ruby
LouisRoR has quit [Ping timeout: 252 seconds]
louism2wash has joined #ruby
<louism2wash> hey guys, is a 'class method' inside a module referred to as a 'module method?'
francisfish has quit [Ping timeout: 244 seconds]
roolo has quit [Remote host closed the connection]
browndawg has joined #ruby
roolo has joined #ruby
kl__ has quit [Ping timeout: 244 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
claudiuinberlin has quit [Quit: Leaving.]
gr33n7007h has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
<GaryOak_> louism2wash: it's just a method
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
buttholecactus is now known as speakingcode-wor
wallerdev has joined #ruby
kaspertidemann has joined #ruby
roolo has quit [Ping timeout: 265 seconds]
nuck has quit [Quit: Computer has gone to sleep.]
<jhass> louism2wash: the best ruby term is singleton method, which are methods that exist on an objects singleton class
<GaryOak_> it also depends how you use the module, whether it's included in a class or not
evanjs has joined #ruby
zB0hs has quit [Read error: Connection reset by peer]
kl__ has joined #ruby
mrmargolis has quit [Remote host closed the connection]
<scpike> I want to run a raw sql query against a postgres DB (e.g. `select 1 as x, 'foo' as y`) and iterate over the results. I tried using ActiveRecord::Base.connection, but there's no typecasting so all the values are strings. Is there a good library to run raw postgres sql and get strings / floats / ints based on what was in the query?
<jhass> scpike: try Sequel
cocotton_ has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
cocotton has quit [Read error: Connection reset by peer]
cocotton has joined #ruby
ptrrr has joined #ruby
<scpike> jhass: nice! Sequel did the right thing
ecstaticpessimst has quit [Ping timeout: 256 seconds]
diegovio1 has joined #ruby
hamakn has joined #ruby
mikepack_ has joined #ruby
diegovio1 is now known as diegoviola
x1337807x has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
BillSussman has joined #ruby
bronson has joined #ruby
lukaszk1 has joined #ruby
claymore has joined #ruby
jkline has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
jimms has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
TheNumb has joined #ruby
m8 has joined #ruby
mleung has quit [Quit: mleung]
lukaszk1 has left #ruby [#ruby]
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
mleung has joined #ruby
dfinninger has quit [Remote host closed the connection]
jaequery has joined #ruby
checkit has quit [Ping timeout: 264 seconds]
BigRonnieRon has joined #ruby
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
defrang has quit [Quit: defrang]
rastro has joined #ruby
lmickh has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
komanda31 has joined #ruby
thisirs has joined #ruby
pushpak has joined #ruby
<komanda31> i have never used ruby before, this project seems to do what i need, how do i set it up? https://github.com/DanKnox/tmp_mail
uxp has quit [Quit: Changing server]
TheNumb has quit [Quit: ZNC - http://znc.in]
klmlfl has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
TheNumb has joined #ruby
x1337807x has quit [Ping timeout: 265 seconds]
uxp has joined #ruby
<bradland> komanda31: what is your operating system?
<bradland> or rather, under what operating system do you wish to run this application?
<komanda31> bradland: osx
<komanda31> brew installed
Pharaoh2 has joined #ruby
<bradland> you have xcode installed?
<bradland> i presume, since you brew already
uptownhr has joined #ruby
<komanda31> y, including command line stuff
Pharaoh2 has quit [Max SendQ exceeded]
<bradland> ok, you won’t want to use the system ruby
<bradland> i’d recommend a ruby manager
<bradland> there are three mainstream ones: chruby, RVM, and rbenv
Pharaoh2 has joined #ruby
<bradland> personally, I use RVM
x1337807x has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
<bradland> a ruby manager makes it much easier to install and isolate separate ruby versions to their own environment
<bradland> even if you only need one version of ruby, they make life much easier
<komanda31> uhu
AlexRussia has quit [Ping timeout: 256 seconds]
uxp has quit [Client Quit]
lolmaus has joined #ruby
<rastro> day 2 of trying to setup rbenv. right now, running 'ruby -v' runs the system ruby (old) rather than the ~/.rbenv one, even though 'which ruby' shows the path prefers the rbenv ones. Any ideas?
uxp has joined #ruby
nyaa has joined #ruby
<ericwood> just use chruby with a .ruby-version file in the dirs that matter
anaeem1_ has joined #ruby
shime has quit [Ping timeout: 244 seconds]
thisirs has quit [Remote host closed the connection]
thisirs has joined #ruby
<komanda31> wait it takes multiple days just to setup a coding enviorment in ruby?
<komanda31> i think my soul just got cancer
msmith_ has joined #ruby
<ericwood> ummm it really doesn't
baweaver has joined #ruby
dumdedum has quit [Quit: foo]
<ericwood> ruby-install VERSION ~/.rubies
<ericwood> chruby VERSION
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> you're done
<bradland> no offenst to rastro, but everone i’ve helped had some kind of environment issue
<rastro> komanda31: trying to setup everything to make about 3 line code change to kibana. following about three different READMEs to get everything installed, etc.
<shvelo> I just use system-wide Ruby distribution, couldn't care less about all the version managers
thisirs has quit [Client Quit]
Urocyon is now known as sfiggins
<shvelo> installation*
<bradland> on servers, I recommend system-wide
sdrew has joined #ruby
<rastro> system ruby is older than what kibana developers recommend, and they point you down the rbenv hole.
Megtastique has quit []
<bradland> install to one of the standard locations (/opt, /usr/local)
<bradland> system-wide ruby is not the same as distribution package installed ruby
kirun has joined #ruby
<rastro> bradland: no offense taken; i'd love it to be an env issue. PATH seems right, so... ?
michael_lee has quit [Quit: Ex-Chat]
<shvelo> btw ruby-build is so weird, why can't it fetch recipes from an online source.
mjuszczak has quit []
<shvelo> ubuntu includes ruby-build but it's useless since it doesn't have 2.0.0
ndrei has joined #ruby
<komanda31> from what i briefly read ruby is a great tool to create DSL's right? that seems intresting & worth learning about, any great tutorials on that? other parts where ruby shines & i should learn it additionally to php/python/c
<ericwood> I kinda prefer just using ruby-install over ruby-build
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexherbo2 has joined #ruby
conniemj__ has quit [Quit: (null)]
thumpba has joined #ruby
elaptics is now known as elaptics`away
odin22 has quit [Ping timeout: 256 seconds]
<rastro> kibana wants ruby-build, which seems to be installed now (rbenv has an 'install' option, finally).
mikepack_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
<elfuego> I’m a newbie to ruby. Can someone tell me a tool that be used to debug a ruby script.
djbkd has joined #ruby
<j416> hmm
ta has quit [Ping timeout: 265 seconds]
<j416> elfuego: keyboard
B1n4r10 has joined #ruby
thisirs has joined #ruby
<elfuego> j416: can you elaborate on this tool
<j416> sure um
<j416> it's like a board
<j416> it has a lot of buttons, most of them have letters printed on them
n80 has quit [Quit: n80]
<bradland> elfuego: have a look at the pry gem
<j416> you press the buttons to produce input to make the computer do what you want
iamjarvo has joined #ruby
<ericwood> pry is fantastic
nuck has joined #ruby
<j416> pry is nice
<j416> hah same sentence pattern on the same second
<ericwood> inserting binding.pry into my code for breakpoints changed the way I debug drastically
<j416> yeah
<j416> I use binding.pry all the time
djbkd has quit [Remote host closed the connection]
<rastro> bradland: so if 'which ruby' says '~/.rbenv/shims/ruby' and ~/.rbenv/versions only contains 1.9.3, and 'ruby -v' returns 'ruby 1.8.7', does that give you any ideas?
<bradland> rastro: sry, on a phone call, but i’ll try to circle back
conniemj__ has joined #ruby
<rastro> bradland: thanks - appreciate it!
<shvelo> pry is awesome
<j416> elfuego: here's some info on that https://github.com/pry/pry/wiki/Runtime-invocation
rkalfane has quit [Read error: Connection reset by peer]
rkalfane has joined #ruby
ta has joined #ruby
leafybasil has joined #ruby
dfinninger has joined #ruby
bronson has joined #ruby
govg has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheNumb has quit [Quit: ZNC - http://znc.in]
TheNumb has joined #ruby
Pharaoh2 has joined #ruby
AlexRussia has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
leafybasil has quit [Ping timeout: 265 seconds]
cphrmky has joined #ruby
evanjs has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
conniemj__ has quit [Quit: (null)]
evanjs has joined #ruby
metadave_ has joined #ruby
x1337807x has joined #ruby
hornairs has quit [Quit: hornairs]
apeiros has joined #ruby
sargas has quit [Quit: Leaving]
baweaver has quit [Remote host closed the connection]
conniemj__ has joined #ruby
chrishough has joined #ruby
metadave has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 264 seconds]
kl__ has quit [Ping timeout: 265 seconds]
Trieste has quit [Ping timeout: 265 seconds]
anaeem1 has joined #ruby
<bradland> rastro: are you working on a server, or your dev environment?
<rastro> bradland: it's a vagrant centos box.
studiotate has quit [Quit: Computer has gone to sleep.]
wolf4ood has quit [Quit: (null)]
lmickh has joined #ruby
cocotton has quit [Read error: Connection reset by peer]
<rastro> bradland: hopefully using it to build kibana.
<bradland> rastro: ok, and is this the only ruby app that will run on the VM?
cocotton has joined #ruby
<bradland> because, in my experience, you can drop a whole pile of this shit on the floor and just use ruby-build directyl to install to /usr/local, and save your future self a lot of headache
<rastro> as far as i know
<bradland> ruby switchers in server environments have always been a huge pain in my ass
djbkd has joined #ruby
<bradland> ok, i would *strongly* recommend ditching rbenv entirely, and working with ruby-build, which is what rbenv uses to build rubies
BillSussman has quit [Read error: Connection reset by peer]
<rastro> installing in . directories seems like a total hack, but...
<bradland> make sure you have all your distro package dependencies installed
anaeem1 has quit [Remote host closed the connection]
<bradland> build-tools, readline, mysql and dev headers, and use something like `ruby-build 2.2.0 /usr/local`
<rastro> bradland: is there a doc you can point me to for this?
anaeem1 has joined #ruby
<bradland> rastro: not in totality
<bradland> that’s the conundrum of system administration
<bradland> there are a hundred ways to skin a cat
^wald0 has joined #ruby
s1ck has joined #ruby
<bradland> i can only share what works for me. there are other opinions, and I certainly acknowledge their validity, but the best guidance I can provide is relative to what I know works for me.
<rastro> bradland: i'm more than willing to skin it your way!
<rastro> any skinned cat in a storm.
<bradland> hahaha :)
<bradland> the reason installing to /usr/local works so well is because most distros treat that as a standard installation location
<s1ck> Hi! I think I have a problem. It's a customer of mine. He wants me to link sensor output values like temperature to data from his production planning database
fpoytk has quit [Remote host closed the connection]
<s1ck> but that database is ingres
<s1ck> and not very popular/common
<bradland> so it’s on the PATH and LD_LIBRARY_PATH
<rastro> bradland: do i need to remove rbenv first?
<bradland> yep
<bradland> drop that ~/.rbenv dir and remove the shim from your profile
cocotton has quit [Ping timeout: 245 seconds]
<s1ck> so is there any chance i can get to the data? there is some kind of active record adapter for ingres but it doesnt seem maintained
<rastro> bradland: ok, i'll go do that and try the ruby-build command from earlier.
sambao21 has joined #ruby
<bradland> then create a VM snapshot so you can rollback and try again when this breaks because something is missing, haha
baweaver has joined #ruby
x77686d has quit [Quit: x77686d]
BillSussman has joined #ruby
klmlfl has joined #ruby
_maes_ has quit [Ping timeout: 245 seconds]
<bradland> komanda31: have you started down the path toward a working ruby dev environment yet?
{xenomorph} is now known as xenomorph
anaeem1 has quit [Ping timeout: 245 seconds]
Trieste has joined #ruby
tubuliferous has joined #ruby
bronson has quit [Remote host closed the connection]
<rastro> bradland: sorry, where does ruby-build come from?
<bradland> there are two install methods listed on the Github page: https://github.com/sstephenson/ruby-build
<bradland> you want the standalone program
<bradland> make note of the sudo requirement if you’re running as a regular user
<bradland> likewise for `ruby-build 2.2.0 /usr/local`. you will likely need sudo to write to /usr/local
ghr has joined #ruby
josephnd1nton has joined #ruby
jenrzzz has joined #ruby
<rastro> bradland: thanks. trying.
<bradland> coolio
QKO has quit [Remote host closed the connection]
windowlicker has joined #ruby
<rastro> ruby-build installed.
<bradland> easy peasy
<bradland> now, make a VM snapshot
<rastro> question: kibana wants 1.9.3; should i respect that, or just jump in with 2.2.0?
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> i’d go with their recommendation
<rastro> ok.
<bradland> before you run the install
<bradland> have you installed build-tools, etc?
<bradland> also readline and mysql with dev packages
browndawg has quit [Quit: Leaving.]
tskogberg has joined #ruby
<bradland> ruby will build without those things present, but it won’t do some magic that i don’t understand, and which will make you sad later
last_staff has joined #ruby
<rastro> bradland: i don't believe i've explicitly done those steps, no.
<bradland> ok, sec
terlar has joined #ruby
<bradland> lemme get you the package list i use
defrang has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<bradland> this is my package list from debian: bison zlib1g-dev libssl-dev libreadline6-dev libncurses5-dev file libyaml-dev libxslt1-dev libxml2-dev
doodlehaus has quit [Remote host closed the connection]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
<bradland> bison is actually part of build-essential, which i’d recommend
<bradland> i also have autoconf buried in another package, but i’m not certain it is required
vozcelik has quit [Quit: Textual IRC Client: www.textualapp.com]
Flcn has quit [Quit: Be back later ...]
cantonic has quit [Ping timeout: 255 seconds]
n1lo has joined #ruby
<rastro> bradland: those are all system packages (via 'yum'?)
jimms has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
QKO has joined #ruby
<bradland> rastro: well, those are my system packages via apt, because i use debian, but you’ll want the centos equivalents.
<rastro> thanks; just double-checking.
<bradland> any reason you went centos? i only ask because most of the mainstream support material i see is for ubuntu/debian.
Fire-Dragon-DoL has joined #ruby
jkline has quit [Quit: jkline]
Fire-Dragon-DoL has quit [Max SendQ exceeded]
rdark has quit [Quit: leaving]
bronson has joined #ruby
delianides has quit [Remote host closed the connection]
<bradland> i have my preferences, of course, but they’re often trumped by what i can find more documentation for.
<rastro> bradland: it's a pre-existing condition :)
<bradland> haha, k, cool. as long as you’re famliar with it, that’s what counts.
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
josephnd1nton has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has joined #ruby
xenomorph is now known as {xenomorph}
ejnahc has quit [Ping timeout: 244 seconds]
iamjarvo has joined #ruby
ejnahc has joined #ruby
JBreit has joined #ruby
ta has joined #ruby
giuseppesolinas has joined #ruby
cocotton has joined #ruby
michagogo has joined #ruby
Photism has joined #ruby
<michagogo> How can you iterate through all possible shufflings of an array?
JBreit has quit [Read error: Connection reset by peer]
uptownhr has quit [Quit: uptownhr]
agrinb has joined #ruby
<michagogo> e.g. if I have [1,2,3,4,5] and I want to perform some operation on [1,2,3,4,5],[1,2,3,5,4],[4,1,3,2,5], etc
kiyote23 has joined #ruby
delianides has joined #ruby
ecstaticpessimst has joined #ruby
ta has quit [Ping timeout: 244 seconds]
<fmcgeough> michagogo: permutation?
<michagogo> fmcgeough: yes, that
<fmcgeough> a = [1,2,3]
<fmcgeough> a.permutation.to_a
CustosLimen has quit [Ping timeout: 252 seconds]
<wallerdev> a.to_a.to_a
nanoyak has quit [Read error: Connection reset by peer]
<michagogo> fmcgeough: thanks!
TheNumb has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
^wald0 has quit [Remote host closed the connection]
Grumelo has quit []
emmesswhy has joined #ruby
<michagogo> fmcgeough: I see that returns an enumerator
<michagogo> That means I can use .each, right?
<bradland> not if you call to_a on it
<michagogo> bradland: I mean if I don't
odin22 has joined #ruby
<bradland> yeah, you get an Enumerator
^wald0 has joined #ruby
<bradland> which you can iterate with each
TheNumb has joined #ruby
<michagogo> Great
<michagogo> Thanks!
michagogo has left #ruby [#ruby]
<bradland> you bet. fwiw, i would avoid the to_a call if you can
CustosLimen has joined #ruby
^wald0_ has joined #ruby
^wald0_ has quit [Client Quit]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Deele has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
JBreit has joined #ruby
<Moter8> Hey, I'm trying to begin learning ruby and doing these codecademy intros.
<Moter8> But that gives me some dumb errors; Anyway, I wanted to use some local IDE.
<bradland> dumb errors?
<Moter8> I heard Rubymine is nice so I downloaded the trial, but I don't know what ruby interpreter I should install?
<bradland> your code doesn’t, by chance, rescue Exception does it?
<nateberkopec> >> $???::?$
<Moter8> the code runs properly. Takes "Test" as input and outputs Tezt.
<eval-in> nateberkopec => "$" (https://eval.in/241884)
<nateberkopec> lol
<rastro> bradland: still hunting down these packages :)
<bradland> fun times :)
^wald0 has quit [Ping timeout: 245 seconds]
<yxhuvud> >> "test".downcase! # @moter8
<eval-in> yxhuvud => nil (https://eval.in/241887)
jheg has joined #ruby
<wallerdev> downcase! returns nil if the string is lowercase
jheg has quit [Client Quit]
<nateberkopec> >> "Test".downcase!
<eval-in> nateberkopec => "test" (https://eval.in/241888)
<nateberkopec> TIL
<elfuego> can someone shed some light on this piece of code ${__UUID()} i’m not sure what its doing exactly. I know this is little information but...
<bradland> Moter8: Ok, so, a couple of things. The error in that screenshot is missing a line number, which is going to make it hard to debug, but that’ snot a Ruby issue; it looks like a problem with the editor you’re using.
<wallerdev> ! methods are dumb haha
<Moter8> hm, it explicitely tells me to use .downcase!
Tricon has quit [Ping timeout: 255 seconds]
<Moter8> bradland, it's codecademy's.
<Moter8> That's why I wanted to use a local IDE
<wallerdev> maybe it was telling you to use downcase but was trying to yell at you in the process
reinaldob has quit [Remote host closed the connection]
<bradland> I’d skip the IDE and maybe use a regular text editor and run your files in a shell
<bradland> What OS are you on?
<Moter8> Windows.
<bradland> Rubymine is fantastic, but it’s HUGE. You’ll spend as much time figuring it out as you will learning Ruby.
Deele has joined #ruby
<wallerdev> IDEs tend to not be too useful for dynamically typed languages
jheg has joined #ruby
<wallerdev> they're better for static typed languages like C or C#
<Moter8> >>make sure to include !, else ruby will create a copy of the variable and modify that one instead of the original string
<eval-in> Moter8 => /tmp/execpad-b1fb0c7e9f8e/source-b1fb0c7e9f8e:2: syntax error, unexpected ',' ... (https://eval.in/241889)
<bradland> Sry, I can’t offer a lot of good advice for a Windows dev environment.
<Moter8> :/
<wallerdev> yeah ! for chaining methods together is a bad idea
Pharaoh2 has joined #ruby
<wallerdev> just do datos_userario = gets.chomp.downcase or do datos_usario = gets.chomp; datos_userario.downcase!
<bradland> given the assignment being done, i would prefer the former
antgel has joined #ruby
<bradland> datos_userario = gets.chomp.downcase
<bradland> there’s no need for the ! there, because you’re getting the return value
conniemj__ has quit [Quit: (null)]
<wallerdev> honestly id just say to never use ! methods lol
<wallerdev> theyre confusing im not sure why it suggests them
duncannz has joined #ruby
<Moter8> alright, thanks. I will try Rubyinstaller.
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hornairs has joined #ruby
Akuma has joined #ruby
conniemj__ has joined #ruby
reinaldob has joined #ruby
<bradland> Moter8: I would get a basic text editor like Notepad++, not Rubymine.
<bradland> Like I said, I love Rubymine, but it’ll get in your way more than it will help at this point.
conniemj__ has quit [Client Quit]
<bradland> Sublime Text 2 comes in a Windows flavor as well: http://www.sublimetext.com/2
<bradland> even better
<Moter8> bradland, I prefer to use atom. FOSS.
<bradland> by all means, rock atom :)
<Moter8> thanks, I will use that instead then.
dcarmich has joined #ruby
conniemj__ has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
conniemj__ has quit [Client Quit]
rpag has joined #ruby
<wallerdev> yeah i used sublime when im stuck with windows
aswen has joined #ruby
komanda31 is now known as Komanda
<wallerdev> windows command line is awful though, i could see someone using an IDE just to avoid that haha
<wallerdev> literally the worst commandline in existance and hasnt been updated since windows 98 :(
chrishough has joined #ruby
<bradland> VirtualBox to the rescue!
vdamewood has joined #ruby
<wallerdev> lol
sambao21 has quit [Quit: Computer has gone to sleep.]
swistak35 has joined #ruby
<wallerdev> windows commandline is so bad that the programs written for it check the size of your terminal window and manually cut off lines and wrap them at whatever the current size of your window is. which means you can only select things in a rectangular pattern and if you resize things to read them they just stay cut off :(
towski_ has joined #ruby
baweaver has joined #ruby
reinaldob has quit [Ping timeout: 244 seconds]
<Moter8> gotta restart to get into arch though
<Moter8> ugh, and the vm wont work
<bradland> you dual boot arch?
evanjs has quit [Remote host closed the connection]
<Moter8> yes/used to
uptownhr has joined #ruby
<bradland> so why won’t VM work?
io_syl has joined #ruby
<Moter8> xome X11 crap :/
<Moter8> (too offtopic for here)
<bradland> ok, so here’s my crazy work around for dev VMs on Windows
x77686d has joined #ruby
jobewan has quit [Quit: Leaving]
<bradland> install server version of ubuntu
<bradland> install dropbox client under your user
t0rc has joined #ruby
mloveless has joined #ruby
<bradland> put all your dev files inside dropbox, and they’ll appear on your VM without you having to fight with SCP, ntp, etc
<Moter8> syncthing*
<Moter8> :D
<bradland> whatever floats your boat
<bradland> when i have to work on windows, i do my editing under windows, and run the VM strickly as a command line
<bradland> and shell in with putty
<Cat_1> dropbox?
sambao21 has joined #ruby
<Cat_1> why not just configure SSH on your VM and use an SCP client like one of the Putty ones?
<bradland> why not just not use windows at all?
t0rc has left #ruby [#ruby]
duncannz has quit [Read error: Connection reset by peer]
ta has joined #ruby
uptownhr has quit [Client Quit]
<bradland> *I’m* fine using SCP. some of the people for whom I’ve set up that Dropbox based scenario are not.
<bradland> but i still needed them to be able to run some ruby scripts at a command line
uptownhr has joined #ruby
iamjarvo has joined #ruby
<bradland> it’s actually kind of an amazingly cool setup
<bradland> we run a shared VM on the network in the office, and the relevant users have a putty shortcut on their desktop
<bradland> i write ruby scripts and put them on the path in the VM
bronson has quit [Remote host closed the connection]
josephnd1nton has joined #ruby
<bradland> users drop the files they need in to Dropbox, then use the putty link to log in and run the utilities i write
noop has quit [Ping timeout: 264 seconds]
livingstn has quit []
noop has joined #ruby
uptownhr has quit [Client Quit]
ta has quit [Ping timeout: 245 seconds]
kbarry has quit [Read error: Connection reset by peer]
thisirs has quit [Remote host closed the connection]
hrs has joined #ruby
hephaestus_rg has joined #ruby
<scpike> bradland: that's a cool setup - we do something similar. How do you handle scripts with different gem dependencies? We're using one giant Gemfile with everything "require: false".
yfeldblum has joined #ruby
<bradland> scpike: fortunately, i haven’t run in to any gem dep conflicts. it’s mostly for munging/extracting data from files we receive from third-parties, so it’s almost entirely core and stdlib stuff.
<bradland> like text reports from accounting systems that we want reformatted to something that can be imported to excel
jmcharnes has joined #ruby
<bradland> in 1999, they would have been perl scripts :)
baweaver has quit [Remote host closed the connection]
Megtastique has joined #ruby
ecstaticpessimst has quit [Ping timeout: 256 seconds]
rbrs has quit [Quit: rbrs]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
rodfersou has quit [Quit: leaving]
mrmargolis has joined #ruby
avahey91 has joined #ruby
ta has joined #ruby
hvxgr has joined #ruby
dorei has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
delianides has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
hvxgr has quit [Client Quit]
Pharaoh2 has quit [Max SendQ exceeded]
delianides has joined #ruby
mrmargolis has quit [Ping timeout: 256 seconds]
Pharaoh2 has joined #ruby
ta has quit [Ping timeout: 240 seconds]
<bradland> errrr, this is interesting. how do I get the time zone of a parsed date under 2.2?
Pharaoh2 has quit [Max SendQ exceeded]
Aswebb_ has joined #ruby
speakingcode-wor is now known as buttcactus
<bradland> under 2.1.x, i get what I expect from Time#zone after parsing a date: https://eval.in/241901
<bradland> under 2.2, I get nil: https://eval.in/241900
Pharaoh2 has joined #ruby
Pupeno has quit [Remote host closed the connection]
timonv has joined #ruby
mrmargolis has joined #ruby
Pupeno has joined #ruby
<bradland> zone works after calling localtime or utc
Pupeno has quit [Changing host]
Pupeno has joined #ruby
doodlehaus has joined #ruby
<bradland> or probably any method that changes the zone, but it looks like Time#zone isn’t being properly updated when parsing the date.
<arrubin> bradland: I do not know whether something is being done to fix it.
<bradland> this guys issue is different
<bradland> oh
<bradland> wait, so same issue, but presenting differently
<bradland> WTF?
michaeldeol has joined #ruby
<bradland> this is going to take a careful read
sambao21 has quit [Quit: Computer has gone to sleep.]
delianides has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
sambao21 has joined #ruby
uptownhr has joined #ruby
cocotton has quit [Remote host closed the connection]
gizmore has joined #ruby
patronus has quit [Remote host closed the connection]
patronus has joined #ruby
<bradland> man, i’m fresh out of fucks to give on this one
Xeago_ has quit [Remote host closed the connection]
<bradland> .utc everywhere and call it a day!
timonv has quit [Client Quit]
cocotton has joined #ruby
timonv has joined #ruby
testcore has joined #ruby
uptownhr has quit [Client Quit]
delianides has joined #ruby
timonv has quit [Client Quit]
jenrzzz has quit [Ping timeout: 255 seconds]
LouisRoR has joined #ruby
Pupeno has quit [Remote host closed the connection]
kl__ has joined #ruby
Pupeno has joined #ruby
<bradland> i actually prefer the behavior of *not* altering the TZ after import, but i wonder why Time.zone is nil?
ghr has quit [Ping timeout: 245 seconds]
<bradland> er, after parse, not import
timonv has joined #ruby
rbrs has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
goshdarnyou has quit [Quit: Connection closed for inactivity]
studiotate has joined #ruby
jenrzzz has joined #ruby
wallerdev has quit [Quit: wallerdev]
baweaver has joined #ruby
timonv has quit [Client Quit]
hvxgr has joined #ruby
noop has quit [Ping timeout: 245 seconds]
nullsign has left #ruby ["Textual IRC Client: www.textualapp.com"]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has quit [Quit: Leaving]
chrishough has joined #ruby
chrishough has quit [Client Quit]
timonv has joined #ruby
kavita has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<Moter8> So far, ruby seems kinda similar to C
<Moter8> read: i havent really done much in either
<bradland> it has been said that ruby is just a wrapper for C
<bradland> but then, what isn’t?
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
<Moter8> java :p
<bradland> but personally, i can’t see how anyone feels that they’re similar
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdrew has quit [Ping timeout: 244 seconds]
<arrubin> Ruby seems like a more OO version of Perl.
<arrubin> Which is a wrapper for awk, sed, and C.
<arrubin> Well, wrapper for C with pseudo implementations of sed and awk.
<rastro> bradland: i'm back! :)
<bradland> wb!
jgt has joined #ruby
<rastro> bradland: looks like i have the system upgraded and all those juicy packages installed. thanks.
<bradland> sweet. how did the ruby-build go?
kavita has quit [Client Quit]
<mostlybadfly> arrubin: rubyburgers.co we need a Chicago branch
<jgt> hey
emirozer has joined #ruby
<rastro> bradland: now, to install 1.9.3, am i after the latest "p" value, so 1.9.3-p551 ?
<jgt> how can I run expressions in this room?
<bradland> rastro: yep, p551 is what you want
shazaum_ has quit [Quit: Leaving]
<rastro> bradland: thanks. trying.
djbkd has quit [Remote host closed the connection]
<bradland> jgt: you can prepend your msg with >>
<shvelo> >>1+1
<eval-in> shvelo => 2 (https://eval.in/241902)
<arrubin> mostlybadfly: I know of developer meetups that focus on alcohol.
<jgt> >> [nil, ""].none? {|w| w.to_s.empty?}
<eval-in> jgt => false (https://eval.in/241903)
<shvelo> >>binding
<eval-in> shvelo => #<Binding:0x40530328> (https://eval.in/241904)
<mostlybadfly> arrubin: code and cans?
<jgt> >> [nil, ""].none? {|w| w.to_s.size > 1}
<eval-in> jgt => true (https://eval.in/241905)
d10n-work has joined #ruby
<mostlybadfly> Yes but burgers
<jgt> why are the results of those two expressions different?
<mostlybadfly> And there will be beer at most of these burger places
<jgt> >> [nil, ""].none? {|w| w.to_s.size > 0}
<eval-in> jgt => true (https://eval.in/241906)
<arrubin> mostlybadfly: There might be burgers at the beer places! =P
pushpak has quit [Quit: Linkinus - http://linkinus.com]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<Moter8> Do most people actually use { } for loops or rather do / end?
Kricir has quit []
<shvelo> I wonder what happens if I do this
<shvelo> >>while true do Thread.new { while true do print 1 end } end
<eval-in> shvelo => (https://eval.in/241907)
<arrubin> Moter8: There is a general rule that most people follow.
<arrubin> Moter8: {} for one-line bodies, do/end for multi-line bodies.
josephnd1nton has quit [Ping timeout: 245 seconds]
<Moter8> Ah i see
oqiwejr has joined #ruby
<mostlybadfly> Lol arrubin true
<Moter8> arrubin, Is there some kinda of code guidelines that most use?
michaeldeol has joined #ruby
<Moter8> follow*
<oqiwejr> anyone have experience with Fiddle::Win32Types that wants to give me a hand?
<arrubin> Moter8: There are a few popular ones.
<arrubin> Moter8: You can use Rubocop on your code.
<arrubin> Moter8: That is probably the most popular option.
iamninja has joined #ruby
<arrubin> Moter8: This is somewhat popular: https://github.com/thoughtbot/guides/tree/master/style
DadoCe has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<epitron> ugh.. recursive mapping for hashes is so ugly
<epitron> i need a new language abstraction for this
<epitron> like, when you're transforming a hash, you probably don't ever want to change the keys... BUT, you may need to KNOW ABOUT which key the value is associated with
pengin_ has quit [Remote host closed the connection]
<epitron> BUT maybe you DO want to change the keys sometimes
<epitron> so not only is the block argument ambiguous, but so is the return value
pengin has joined #ruby
aef has quit [Read error: Connection reset by peer]
<epitron> argument could be value, could be key,value, could be key, return value could be the value, could be the key, could be key,value
rpag has quit [Quit: Leaving]
nyaa has quit [Ping timeout: 245 seconds]
conniemj has joined #ruby
<bradland> jgt: have a look at the return values of the block for each element
<bradland> >> [nil, ""].map {|w| w.to_s.empty?}
<eval-in> bradland => [true, true] (https://eval.in/241909)
<bradland> >> [nil, ""].map {|w| w.to_s.size > 1}
<eval-in> bradland => [false, false] (https://eval.in/241910)
defrang has quit [Ping timeout: 265 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
baweaver has quit [Remote host closed the connection]
<jgt> I shouldn’t code late at night
<epitron> you know what.. i need to actually figure out the situations in which map recursively needs to be used. it's been so long since i started writing this method, that i've totally forgotten why i ever needed it :)
defrang has joined #ruby
ChoiKyuSang has quit [Ping timeout: 245 seconds]
DadoCe has quit [Ping timeout: 264 seconds]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<rastro> bradland: ruby -v reports 1.9.3p551. Now I can move on to step 3! Thanks for your help!
<bradland> booya! glad that worked for you.
sambao21 has joined #ruby
jespada has quit [Ping timeout: 244 seconds]
paulfm has quit [Quit: Zzzzz...]
pengin has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
PumpkinPants has joined #ruby
metadave_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oqiwejr is now known as bitflipping
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
icebourg has quit [Ping timeout: 244 seconds]
PumpkinPants has left #ruby [#ruby]
n1lo has quit [Quit: Leaving]
<Moter8> bradland, http://i.imgur.com/EOsokTi.png another vm issue :/
<bradland> i don’t run a GUI on my VMs.
yfeldblum has quit [Ping timeout: 244 seconds]
icebourg has joined #ruby
<bradland> for that very reason.
<bradland> well, i have Parallels, and it runs Desktop Ubuntu just fine, but I never use it.
<Moter8> well, until yesterday I had 2 monitor and I could enable 2 monitor for the vm and everything worked...
hrs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hvxgr has quit [Quit: leaving]
hvxgr has joined #ruby
Porpado has quit [Quit: Porpado]
davidbug has joined #ruby
allcentury has joined #ruby
Porpado has joined #ruby
<bitflipping> anyone have experience with Fiddle::WINDOWS returning false under msys2 in 64-bit windows?
ecstaticpessimst has joined #ruby
hrs has joined #ruby
stunder has quit [Quit: Leaving]
decoponio has quit [Quit: Leaving...]
geggam has quit [Ping timeout: 252 seconds]
paulfm has joined #ruby
rbrs has quit [Quit: rbrs]
mleung has quit [Quit: mleung]
bluOxigen has quit [Ping timeout: 245 seconds]
jespada has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
lesnik_ has joined #ruby
<lesnik_> Hi guys
<jhass> hi
<apeiros> hi guy(?)
<epitron> sup
<jhass> sdown
emmesswhy has joined #ruby
<Senjai`work> jhass: nope.jpg
Senjai`work is now known as Senjai
paulfm has quit [Ping timeout: 264 seconds]
emmesswhy has quit [Client Quit]
<jhass> yessir.png
amdbcg has joined #ruby
<amdbcg> hello
<jhass> hi
bronson has joined #ruby
djbkd has joined #ruby
gfawcettpq1 has quit [Ping timeout: 244 seconds]
certainty has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roger_rabbit has quit [Ping timeout: 255 seconds]
martinrame has quit [Quit: leaving]
nanoyak has joined #ruby
<amdbcg> I've got a "now what?" issue - I'm just gonna provide details for a bit - helps to map these things out.
<amdbcg> I'd like to create a ruby on rails solution, but the host only allows for php, so the next best thing is a ruby generator for scaffolding the php.
bronson has quit [Ping timeout: 240 seconds]
bitflipping has left #ruby [#ruby]
<lesnik_> I have a simple script which print some shapes on the screen. Let's say I have a function called draw_something() and it does the job. Now my taks is to write tests for it. The problem is this function doesn't return anything, it just prints some chars. I don't know how can I test what this function prints. Any ideas?
x77686d_ has joined #ruby
<apeiros> amdbcg: change the host. or just rent a VM.
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x77686d has quit [Ping timeout: 244 seconds]
x77686d_ is now known as x77686d
<gizmore> lesnik_: do screenshots :P
<apeiros> you can have one for 5$/month
<lesnik_> gizmore: :D
<amdbcg> apeiros: that's an easy solution yes... I've considered that, but I'm kindof hellbent on getting a form completed by the end of the week.
robpike has joined #ruby
<amdbcg> I'm taking in a CSV file created from an excel spreadsheet that has all the column names for the db, all the labels, and successfully generated an HTML form from that CSV file using ruby
Morkel has quit [Quit: Morkel]
<amdbcg> (dropdowns, radio buttons, the whole shebang)
<robpike> RubyJews of New York represent!
<jhass> lesnik_: sounds like it does via normal printing to stdout? you can do something like $stdout = StringIO.new and then examine the things it has written
<amdbcg> I'm using a naming convention of table_columnName for the db, so the cells all get to the right tables, SQL generated and parsed.
<amdbcg> Ideally I'd like it to go form -> form.php -> db
<amdbcg> but it could also go ruby -> create_tables() -> db
spyderma_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<lesnik_> jhass: thanks, that's a good start
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<amdbcg> I guess I'll just post in #php for the rest of this - that's what I'm needing mostly.
<amdbcg> how does one connect to a mysql database in ruby?
spyderman4g63 has quit [Ping timeout: 240 seconds]
n80 has joined #ruby
ecstaticpessimst has quit [Ping timeout: 244 seconds]
uptownhr has joined #ruby
mengu has quit [Remote host closed the connection]
davidhq has joined #ruby
patrick99e99 has joined #ruby
maximski has joined #ruby
uptownhr has quit [Client Quit]
maximski has quit [Max SendQ exceeded]
uptownhr has joined #ruby
rocco88 has quit []
antgel has quit [Ping timeout: 244 seconds]
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
maximski has joined #ruby
certainty has joined #ruby
uptownhr has quit [Client Quit]
maximski has quit [Max SendQ exceeded]
kl__ has quit [Ping timeout: 264 seconds]
tumaru has joined #ruby
borkdude has quit [Ping timeout: 244 seconds]
<bradland> most use some sort of ORM though
maximski has joined #ruby
<bradland> like Sequel or ActiveRecord
<bradland> and now i have to go say seven hail mary’s, just for using those in the same sentence
maximski has quit [Max SendQ exceeded]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
maximski has joined #ruby
ghr has joined #ruby
maximski has quit [Max SendQ exceeded]
uptownhr has joined #ruby
sambao21 has joined #ruby
borkdude has joined #ruby
uptownhr has quit [Client Quit]
maximski has joined #ruby
BillSussman has quit [Quit: Leaving]
tallgirltaadaa_ has joined #ruby
tallgirltaadaa_ has quit [Client Quit]
twisted` has joined #ruby
twisted` has left #ruby [#ruby]
phutchins has quit [Ping timeout: 244 seconds]
<lesnik_> jhass: when i create an instance of io = StringIO, and then my tested function uses print "Something", will io be updated somehow?
<jhass> if you assign it to $stdout, yes
<jhass> did you check StringIO's docs?
maximski has quit [Client Quit]
ghr has quit [Ping timeout: 245 seconds]
freezey has joined #ruby
<jhass> btw you can restore $stdout afterwards (and should asap) with $stdout = STDOUT
havenwood has quit []
giuseppesolinas has joined #ruby
conniemj has quit [Quit: (null)]
<jhass> so best write a nice wrapper, like def capture_stdout; $stdout = StringIO.new; yield; output = $stdout.string; $stdout = STDOUT; output; end;
<freezey> if you are doing a count like (1..50).each do |n| puts "10.11.3.#{n}" end and you want the number in section 3 to go up everytime 50 hits and loop back through
<freezey> how would you go about doing that?
cocotton_ has joined #ruby
tchebb has quit [Read error: Connection reset by peer]
B1n4r10 has joined #ruby
tchebb has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
giuseppesolinas has quit [Client Quit]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostlines has joined #ruby
drizz has quit [Remote host closed the connection]
ghostlines has quit [Max SendQ exceeded]
ghostlines has joined #ruby
<lesnik_> jhass: thanks for your great help
hmsimha has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
conniemj has joined #ruby
postmodern has joined #ruby
cocotton has quit [Ping timeout: 244 seconds]
<allcentury> hi all - I have a method that needs to dynamically generate a obj via a string. Here's an example: name = "Person", │ beauby_
<allcentury> │ | API::name.new(params) -- how can I do that?y
<allcentury> whoops
<allcentury> hi all - I have a method that needs to dynamically generate a obj via a string. Here's an example: name = "Person", API::name.new(params) -- how can I do that?
baweaver has joined #ruby
<jhass> allcentury: use Object#public_send
<jhass> and please don't call methods with :: :)
<allcentury> jhass: any reason to use that over const_get ?
<jhass> oh, you want to fetch the constant
<allcentury> it should look like API::Person.new at the end
<jhass> misunderstood you there
<jhass> so, yeah, you know the solution already, just const_get
sdrew has joined #ruby
conniemj_ has joined #ruby
<allcentury> ok cool
<apeiros> funny, looks similar to what I do ATM
conniemj_ has quit [Read error: Connection reset by peer]
conniemj_ has joined #ruby
Tricon has joined #ruby
<waxjar> \o/ netsplits
uptownhr has joined #ruby
<shvelo> and I shall split this net in the name of Cthulhu
drizz has joined #ruby
* shvelo bangs his stick on the ground
kostitas has joined #ruby
pengin has joined #ruby
ta has joined #ruby
n80 has quit [Quit: n80]
camilasan has quit [Remote host closed the connection]
conniemj has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
happyface has joined #ruby
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conniemj_ has quit [Read error: Connection reset by peer]
conniemj_ has joined #ruby
uptownhr has quit [Client Quit]
timonv has quit [Ping timeout: 256 seconds]
camilasan has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
n80 has joined #ruby
wallerdev has quit [*.net *.split]
pengin has quit [*.net *.split]
cocotton_ has quit [*.net *.split]
certainty has quit [*.net *.split]
davidhq has quit [*.net *.split]
amdbcg has quit [*.net *.split]
mrmargolis has quit [*.net *.split]
dorei has quit [*.net *.split]
klmlfl has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
tier_ has quit [*.net *.split]
tus has quit [*.net *.split]
jerematic has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
Mia has quit [*.net *.split]
_5kg has quit [*.net *.split]
psy_ has quit [*.net *.split]
crazymykl has quit [*.net *.split]
swartwulf has quit [*.net *.split]
VBlizzard has quit [*.net *.split]
tziom has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
blizzy has quit [*.net *.split]
fumduq has quit [*.net *.split]
jakesyl_insomnia has quit [*.net *.split]
dling has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Asher has quit [*.net *.split]
scpike has quit [*.net *.split]
cvtsx has quit [*.net *.split]
weeb1e has quit [*.net *.split]
kke has quit [*.net *.split]
Sgeo has quit [*.net *.split]
mosez has quit [*.net *.split]
hfp has quit [*.net *.split]
Drakevr has quit [*.net *.split]
nevans has quit [*.net *.split]
MatthewsFace has quit [*.net *.split]
dualbus has quit [*.net *.split]
Cope has quit [*.net *.split]
dazeddev has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
Morrolan has quit [*.net *.split]
retornam has quit [*.net *.split]
chuck has quit [*.net *.split]
rcs has quit [*.net *.split]
phreakocious has quit [*.net *.split]
cescalante has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
sivoais has quit [*.net *.split]
Davey has quit [*.net *.split]
jayne has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
_whitelogger has joined #ruby
metadave has joined #ruby
lesnik_ has quit [*.net *.split]
defrang has quit [*.net *.split]
TheNumb has quit [*.net *.split]
kiyote23 has quit [*.net *.split]
lmickh has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
nuck has quit [*.net *.split]
uxp has quit [*.net *.split]
rastro has quit [*.net *.split]
bricker has quit [*.net *.split]
oleo has quit [*.net *.split]
pietr0 has quit [*.net *.split]
louism2wash has quit [*.net *.split]
Vile` has quit [*.net *.split]
qpls has quit [*.net *.split]
clauswitt has quit [*.net *.split]
banister has quit [*.net *.split]
vt102 has quit [*.net *.split]
parduse has quit [*.net *.split]
renier has quit [*.net *.split]
robustus has quit [*.net *.split]
buttcactus has quit [*.net *.split]
haasn has quit [*.net *.split]
Junaos has quit [*.net *.split]
Darryl__ has quit [*.net *.split]
shelling__ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
gregf has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
kedare has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
fearoffish has quit [*.net *.split]
Eiam has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
bdamos has quit [*.net *.split]
tzero has quit [*.net *.split]
deepy has quit [*.net *.split]
mame1 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
St_Marx has quit [Max SendQ exceeded]
neersighted has joined #ruby
bascht has quit [Max SendQ exceeded]
Platini has quit [Max SendQ exceeded]
icedp has quit [Excess Flood]
shortdudey123 has quit [Excess Flood]
yokel has joined #ruby
fumk has quit [Excess Flood]
mengu has joined #ruby
mengu has joined #ruby
cocotton_ has quit [Remote host closed the connection]
shortdudey123 has joined #ruby
bascht has joined #ruby
Alina-malina has joined #ruby
swartwulf has joined #ruby
fandi has joined #ruby
baweaver has quit [Remote host closed the connection]
jidar has joined #ruby
whoojemaflip has joined #ruby
elektronaut has joined #ruby
lesnik_ has joined #ruby
defrang has joined #ruby
TheNumb has joined #ruby
kiyote23 has joined #ruby
lmickh has joined #ruby
AlexRussia has joined #ruby
nuck has joined #ruby
uxp has joined #ruby
rastro has joined #ruby
louism2wash has joined #ruby
bricker has joined #ruby
oleo has joined #ruby
pietr0 has joined #ruby
Vile` has joined #ruby
qpls has joined #ruby
clauswitt has joined #ruby
banister has joined #ruby
vt102 has joined #ruby
renier has joined #ruby
robustus has joined #ruby
buttcactus has joined #ruby
haasn has joined #ruby
Junaos has joined #ruby
Darryl__ has joined #ruby
shelling__ has joined #ruby
ltd_ has joined #ruby
gregf has joined #ruby
FaresKAlaboud has joined #ruby
julieeharshaw has joined #ruby
kedare has joined #ruby
whowantstolivefo has joined #ruby
fearoffish has joined #ruby
Eiam has joined #ruby
PierreRambaud has joined #ruby
bdamos has joined #ruby
tzero has joined #ruby
deepy has joined #ruby
mame1 has joined #ruby
KillerFox has joined #ruby
avahey91 has joined #ruby
uptownhr has joined #ruby
icedp has joined #ruby
icedp has quit [Changing host]
icedp has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
jakesyl_insomnia has joined #ruby
jerematic has joined #ruby
Platini has joined #ruby
skarn has joined #ruby
Darryl__ has quit [Max SendQ exceeded]
Vile` has quit [Max SendQ exceeded]
bdamos has quit [Max SendQ exceeded]
droidburgundy has joined #ruby
charliesome has joined #ruby
freezey has quit [*.net *.split]
allcentury has quit [*.net *.split]
msmith_ has quit [*.net *.split]
swistak35 has quit [*.net *.split]
vdamewood has quit [*.net *.split]
jheg has quit [*.net *.split]
QKO has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
lolmaus has quit [*.net *.split]
shvelo has quit [*.net *.split]
spider-mario has quit [*.net *.split]
shellfu_drives has quit [*.net *.split]
xlii has quit [*.net *.split]
pico-pete has quit [*.net *.split]
xrlabs has quit [*.net *.split]
Oberon4278 has quit [*.net *.split]
bashusr has quit [*.net *.split]
gregf_ has quit [*.net *.split]
sarlalian has quit [*.net *.split]
yeticry has quit [*.net *.split]
malcolmva has quit [*.net *.split]
claw__ has quit [*.net *.split]
hgl has quit [*.net *.split]
noname001 has quit [*.net *.split]
YamakasY has quit [*.net *.split]
kstuart has quit [*.net *.split]
hackeron has quit [*.net *.split]
troyready has quit [*.net *.split]
ukd1 has quit [*.net *.split]
Guest48003 has quit [*.net *.split]
ccooke has quit [*.net *.split]
pl1ght has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
dopie has quit [*.net *.split]
gkra has quit [*.net *.split]
Riking has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
clamstar has quit [*.net *.split]
jsaak has quit [*.net *.split]
waxjar has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
crazysim has quit [*.net *.split]
jasonmit has quit [*.net *.split]
palantir_ has quit [*.net *.split]
trampi has quit [*.net *.split]
SHyx0rmZ has quit [*.net *.split]
jerrett has quit [*.net *.split]
sptq has quit [*.net *.split]
hasB4K has quit [*.net *.split]
KramerC has quit [*.net *.split]
javawizard has quit [*.net *.split]
FDj_ has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
ozzloy has quit [*.net *.split]
DrForr has quit [*.net *.split]
crodas has quit [*.net *.split]
zeusmns has quit [*.net *.split]
papercode has quit [*.net *.split]
cout has quit [*.net *.split]
WhereIsMySpoon_ has quit [*.net *.split]
FrankenDaemon has quit [*.net *.split]
prasselpikachu has quit [*.net *.split]
mahlon has quit [*.net *.split]
thoraxe has quit [*.net *.split]
angryzor has quit [*.net *.split]
preller has quit [*.net *.split]
synfin has quit [*.net *.split]
jmaister has quit [*.net *.split]
Kovensky has quit [*.net *.split]
finges has quit [*.net *.split]
Muz has quit [*.net *.split]
FifthWall has quit [*.net *.split]
pizzaops has quit [*.net *.split]
ahuman has quit [*.net *.split]
xybre has quit [*.net *.split]
sweeper has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
Scient has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
n88 has quit [*.net *.split]
wmoxam has quit [*.net *.split]
cocotton has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
St_Marx has joined #ruby
parduse has joined #ruby
jimeh has joined #ruby
benlakey_ has joined #ruby
pmarreck has joined #ruby
fumk has joined #ruby
mleung has joined #ruby
sumark has quit [Ping timeout: 245 seconds]
Darryl__ has joined #ruby
bdamos has joined #ruby
jkline has joined #ruby
freezey has joined #ruby
allcentury has joined #ruby
msmith_ has joined #ruby
swistak35 has joined #ruby
QKO has joined #ruby
malcolmva has joined #ruby
sarlalian has joined #ruby
YamakasY has joined #ruby
pico-pete has joined #ruby
lolmaus has joined #ruby
vdamewood has joined #ruby
pl1ght has joined #ruby
hgl has joined #ruby
Oberon4278 has joined #ruby
kstuart has joined #ruby
xlii has joined #ruby
Guest48003 has joined #ruby
alexherbo2 has joined #ruby
troyready has joined #ruby
noname001 has joined #ruby
jerrett has joined #ruby
claw__ has joined #ruby
jsaak has joined #ruby
chrisseaton has joined #ruby
gregf_ has joined #ruby
javawizard has joined #ruby
crodas has joined #ruby
Dr3amc0d3r|away has joined #ruby
xrlabs has joined #ruby
crazysim has joined #ruby
spider-mario has joined #ruby
ozzloy has joined #ruby
FDj_ has joined #ruby
hackeron has joined #ruby
angryzor has joined #ruby
shellfu_drives has joined #ruby
ccooke has joined #ruby
TheMoonMaster has joined #ruby
synfin has joined #ruby
WhereIsMySpoon_ has joined #ruby
trampi has joined #ruby
SHyx0rmZ has joined #ruby
prasselpikachu has joined #ruby
sweeper has joined #ruby
ukd1 has joined #ruby
Riking has joined #ruby
Scient has joined #ruby
IceyEC_ has joined #ruby
mahlon has joined #ruby
jheg has joined #ruby
jasonmit has joined #ruby
wmoxam has joined #ruby
hasB4K has joined #ruby
Muz has joined #ruby
sjohnsen has joined #ruby
KramerC has joined #ruby
finges has joined #ruby
DrForr has joined #ruby
sptq has joined #ruby
papercode has joined #ruby
Kovensky has joined #ruby
yeticry has joined #ruby
waxjar has joined #ruby
xybre has joined #ruby
pizzaops has joined #ruby
jmaister has joined #ruby
FifthWall has joined #ruby
dopie has joined #ruby
preller has joined #ruby
gkra has joined #ruby
shvelo has joined #ruby
thoraxe has joined #ruby
cout has joined #ruby
scottymeuk has joined #ruby
clamstar has joined #ruby
n88 has joined #ruby
okinomo_ has joined #ruby
zeusmns has joined #ruby
palantir_ has joined #ruby
FrankenDaemon has joined #ruby
bashusr has joined #ruby
ahuman has joined #ruby
sumark has joined #ruby
DrCode has joined #ruby
Crazy_Atheist has joined #ruby
buttcactus is now known as speakingcode-wor
Vile` has joined #ruby
noname001 has quit [Max SendQ exceeded]
andrewstewart has joined #ruby
lolmaus has quit [Max SendQ exceeded]
soulcake has quit [*.net *.split]
Gotbadger has quit [*.net *.split]
atom3 has quit [*.net *.split]
Caius has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
livingstn has joined #ruby
noname001 has joined #ruby
soulcake has joined #ruby
Gotbadger has joined #ruby
atom3 has joined #ruby
Caius has joined #ruby
peckermanzzz has joined #ruby
lamasnik has joined #ruby
lolmaus has joined #ruby
<Moter8> So I got my VM working again. What should a total newb use as interpreter or ruby manager? RVM?
noname001 has quit [*.net *.split]
jkline has quit [*.net *.split]
jakesyl_insomnia has quit [*.net *.split]
ta has quit [*.net *.split]
kostitas has quit [*.net *.split]
x77686d has quit [*.net *.split]
jmcharnes has quit [*.net *.split]
towski_ has quit [*.net *.split]
JBreit has quit [*.net *.split]
agrinb has quit [*.net *.split]
thumpba has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
rbennacer has quit [*.net *.split]
unreal has quit [*.net *.split]
aclearma_ has quit [*.net *.split]
gdrooid has quit [*.net *.split]
cassianoleal has quit [*.net *.split]
revw has quit [*.net *.split]
davedev24_ has quit [*.net *.split]
i8igmac has quit [*.net *.split]
musicmatze has quit [*.net *.split]
pusewicz has quit [*.net *.split]
bluehavana has quit [*.net *.split]
MiracleBlue_ has quit [*.net *.split]
yo61 has quit [*.net *.split]
iceden has quit [*.net *.split]
pjaspers has quit [*.net *.split]
Evan has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
philwantsfish has quit [*.net *.split]
iwishiwerearobot has quit [*.net *.split]
surs has quit [*.net *.split]
fella6s has quit [*.net *.split]
Tarential has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
soahccc has quit [*.net *.split]
genta has quit [*.net *.split]
sindork has quit [*.net *.split]
iamayam has quit [*.net *.split]
xtsee has quit [*.net *.split]
yasu has quit [*.net *.split]
BeLucid_ has quit [*.net *.split]
neoice has quit [*.net *.split]
idoru has quit [*.net *.split]
MyMind has quit [*.net *.split]
__main__ has quit [*.net *.split]
kt2 has quit [*.net *.split]
Spleeze has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
dickoff has quit [*.net *.split]
<Moter8> (On Linux that is)
neoice has joined #ruby
RowdyChildren has joined #ruby
genta has joined #ruby
JBreit has joined #ruby
noname001 has joined #ruby
aclearma_ has joined #ruby
i8igmac has joined #ruby
musicmatze has joined #ruby
towski_ has joined #ruby
connor_goodwolf has joined #ruby
cassianoleal has joined #ruby
agrinb has joined #ruby
rbennacer has joined #ruby
pjaspers has joined #ruby
Spleeze has joined #ruby
iceden has joined #ruby
pusewicz has joined #ruby
davedev24_ has joined #ruby
BeLucid_ has joined #ruby
dickoff has joined #ruby
iwishiwerearobot has joined #ruby
unreal has joined #ruby
idoru has joined #ruby
MiracleBlue_ has joined #ruby
DivineEntity has joined #ruby
yo61 has joined #ruby
fella6s has joined #ruby
__main__ has joined #ruby
surs has joined #ruby
cjk101010 has joined #ruby
sindork has joined #ruby
soahccc has joined #ruby
kt2 has joined #ruby
Tarential has joined #ruby
jmcharnes has joined #ruby
gdrooid has joined #ruby
bluehavana has joined #ruby
xtsee has joined #ruby
yasu has joined #ruby
Evan has joined #ruby
ta has joined #ruby
philwantsfish has joined #ruby
revw has joined #ruby
iamayam has joined #ruby
thumpba has joined #ruby
kostitas has joined #ruby
MyMind has joined #ruby
x77686d has joined #ruby
unreal has quit [Max SendQ exceeded]
thumpba has quit [Max SendQ exceeded]
arrubin has joined #ruby
RDash has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
erichmenge has quit [*.net *.split]
wasamasa has quit [*.net *.split]
jhass has quit [*.net *.split]
Affix has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
jakesyl_insomnia has joined #ruby
jakesyl_insomnia has quit [Max SendQ exceeded]
MyMind has quit [Max SendQ exceeded]
RDash has joined #ruby
sonOfRa has joined #ruby
erichmenge has joined #ruby
nanashiRei has joined #ruby
wasamasa has joined #ruby
jhass has joined #ruby
Affix has joined #ruby
DarthGandalf has joined #ruby
unreal has joined #ruby
jaequery has joined #ruby
DarthGandalf has quit [Max SendQ exceeded]
erichmenge has quit [Max SendQ exceeded]
jaequery has quit [Max SendQ exceeded]
mnemon has quit [*.net *.split]
bl4ckdu5t has quit [*.net *.split]
michaeldeol has quit [*.net *.split]
tchebb has quit [*.net *.split]
B1n4r10 has quit [*.net *.split]
LouisRoR has quit [*.net *.split]
patronus has quit [*.net *.split]
Akuma has quit [*.net *.split]
s1ck has quit [*.net *.split]
kaspertidemann has quit [*.net *.split]
athan has quit [*.net *.split]
apurcell has quit [*.net *.split]
adriancb has quit [*.net *.split]
snath has quit [*.net *.split]
jherbst has quit [*.net *.split]
WillAmes has quit [*.net *.split]
marr has quit [*.net *.split]
sheepman has quit [*.net *.split]
radic has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
dimaursu16 has quit [*.net *.split]
Heero has quit [*.net *.split]
spastorino has quit [*.net *.split]
urtokk has quit [*.net *.split]
phreax has quit [*.net *.split]
brandon_ has quit [*.net *.split]
jzigmund has quit [*.net *.split]
dfedde has quit [*.net *.split]
gomix has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
peterhu has quit [*.net *.split]
mattp_ has quit [*.net *.split]
aboudreault has quit [*.net *.split]
eam has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Takumo has quit [*.net *.split]
Roa has quit [*.net *.split]
dylannorthrup has quit [*.net *.split]
Nowaker has quit [*.net *.split]
Rylee has quit [*.net *.split]
rgs has quit [*.net *.split]
mroth has quit [*.net *.split]
jpinnix____ has quit [*.net *.split]
keelerm has quit [*.net *.split]
bhaak has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
_5moufl has quit [*.net *.split]
aob_ has quit [*.net *.split]
rikai has quit [*.net *.split]
theRoUS has quit [*.net *.split]
mr_rich102 has quit [*.net *.split]
mosheee has quit [*.net *.split]
j416 has quit [*.net *.split]
shinnya has quit [*.net *.split]
byaruhaf has quit [*.net *.split]
lorn has quit [*.net *.split]
Prawnzy_ has quit [*.net *.split]
pibby has quit [*.net *.split]
adam12 has quit [*.net *.split]
adeponte has quit [*.net *.split]
davidcelis has quit [*.net *.split]
machty has quit [*.net *.split]
bahar has quit [*.net *.split]
jeekl has quit [*.net *.split]
oz has quit [*.net *.split]
parus has quit [*.net *.split]
lamasnik has quit [*.net *.split]
mleung has quit [*.net *.split]
Platini has quit [*.net *.split]
camilasan has quit [*.net *.split]
hvxgr has quit [*.net *.split]
Pupeno has quit [*.net *.split]
gizmore has quit [*.net *.split]
hornairs has quit [*.net *.split]
odin22 has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
maletor has quit [*.net *.split]
nux443 has quit [*.net *.split]
Zackio has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
gtrak has quit [*.net *.split]
fryguy9 has quit [*.net *.split]
it0a has quit [*.net *.split]
jerius has quit [*.net *.split]
blackgoat has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
PanPan has quit [*.net *.split]
alekst_ has quit [*.net *.split]
mesamoo has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
grumpycat has quit [*.net *.split]
diegok has quit [*.net *.split]
contradictioned has quit [*.net *.split]
cpt_yossarian has quit [*.net *.split]
mist has quit [*.net *.split]
linduxed has quit [*.net *.split]
p8952 has quit [*.net *.split]
brandon__ has quit [*.net *.split]
BTRE has quit [*.net *.split]
kotk has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
zonetti has quit [*.net *.split]
nitrix has quit [*.net *.split]
Cat_1 has quit [*.net *.split]
Tamae has quit [*.net *.split]
hanmac has quit [*.net *.split]
wang has quit [*.net *.split]
madhatter has quit [*.net *.split]
willgorman has quit [*.net *.split]
jamo_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
mbr has quit [*.net *.split]
crome has quit [*.net *.split]
jxport has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
klap has quit [*.net *.split]
Esya has quit [*.net *.split]
marienz has quit [*.net *.split]
RDash has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
wasamasa has quit [*.net *.split]
jhass has quit [*.net *.split]
Affix has quit [*.net *.split]
noname001 has quit [*.net *.split]
ta has quit [*.net *.split]
kostitas has quit [*.net *.split]
x77686d has quit [*.net *.split]
jmcharnes has quit [*.net *.split]
towski_ has quit [*.net *.split]
JBreit has quit [*.net *.split]
agrinb has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
rbennacer has quit [*.net *.split]
aclearma_ has quit [*.net *.split]
gdrooid has quit [*.net *.split]
cassianoleal has quit [*.net *.split]
revw has quit [*.net *.split]
davedev24_ has quit [*.net *.split]
i8igmac has quit [*.net *.split]
musicmatze has quit [*.net *.split]
pusewicz has quit [*.net *.split]
bluehavana has quit [*.net *.split]
MiracleBlue_ has quit [*.net *.split]
yo61 has quit [*.net *.split]
iceden has quit [*.net *.split]
pjaspers has quit [*.net *.split]
Evan has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
philwantsfish has quit [*.net *.split]
iwishiwerearobot has quit [*.net *.split]
surs has quit [*.net *.split]
fella6s has quit [*.net *.split]
Tarential has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
soahccc has quit [*.net *.split]
genta has quit [*.net *.split]
iamayam has quit [*.net *.split]
xtsee has quit [*.net *.split]
sindork has quit [*.net *.split]
yasu has quit [*.net *.split]
BeLucid_ has quit [*.net *.split]
neoice has quit [*.net *.split]
idoru has quit [*.net *.split]
__main__ has quit [*.net *.split]
kt2 has quit [*.net *.split]
Spleeze has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
dickoff has quit [*.net *.split]
soulcake has quit [*.net *.split]
Gotbadger has quit [*.net *.split]
atom3 has quit [*.net *.split]
Caius has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
lolmaus has quit [*.net *.split]
livingstn has quit [*.net *.split]
freezey has quit [*.net *.split]
allcentury has quit [*.net *.split]
msmith_ has quit [*.net *.split]
swistak35 has quit [*.net *.split]
vdamewood has quit [*.net *.split]
jheg has quit [*.net *.split]
QKO has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
shvelo has quit [*.net *.split]
spider-mario has quit [*.net *.split]
shellfu_drives has quit [*.net *.split]
xlii has quit [*.net *.split]
pico-pete has quit [*.net *.split]
xrlabs has quit [*.net *.split]
Oberon4278 has quit [*.net *.split]
bashusr has quit [*.net *.split]
gregf_ has quit [*.net *.split]
sarlalian has quit [*.net *.split]
yeticry has quit [*.net *.split]
malcolmva has quit [*.net *.split]
claw__ has quit [*.net *.split]
hgl has quit [*.net *.split]
YamakasY has quit [*.net *.split]
kstuart has quit [*.net *.split]
hackeron has quit [*.net *.split]
troyready has quit [*.net *.split]
ukd1 has quit [*.net *.split]
Guest48003 has quit [*.net *.split]
ccooke has quit [*.net *.split]
pl1ght has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
dopie has quit [*.net *.split]
gkra has quit [*.net *.split]
Riking has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
clamstar has quit [*.net *.split]
jsaak has quit [*.net *.split]
waxjar has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
crazysim has quit [*.net *.split]
jasonmit has quit [*.net *.split]
palantir_ has quit [*.net *.split]
trampi has quit [*.net *.split]
SHyx0rmZ has quit [*.net *.split]
jerrett has quit [*.net *.split]
sptq has quit [*.net *.split]
hasB4K has quit [*.net *.split]
KramerC has quit [*.net *.split]
javawizard has quit [*.net *.split]
FDj_ has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
ozzloy has quit [*.net *.split]
DrForr has quit [*.net *.split]
crodas has quit [*.net *.split]
zeusmns has quit [*.net *.split]
papercode has quit [*.net *.split]
cout has quit [*.net *.split]
WhereIsMySpoon_ has quit [*.net *.split]
FrankenDaemon has quit [*.net *.split]
prasselpikachu has quit [*.net *.split]
mahlon has quit [*.net *.split]
thoraxe has quit [*.net *.split]
angryzor has quit [*.net *.split]
preller has quit [*.net *.split]
synfin has quit [*.net *.split]
jmaister has quit [*.net *.split]
Kovensky has quit [*.net *.split]
finges has quit [*.net *.split]
Muz has quit [*.net *.split]
FifthWall has quit [*.net *.split]
pizzaops has quit [*.net *.split]
ahuman has quit [*.net *.split]
xybre has quit [*.net *.split]
sweeper has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
Scient has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
n88 has quit [*.net *.split]
wmoxam has quit [*.net *.split]
lesnik_ has quit [*.net *.split]
defrang has quit [*.net *.split]
TheNumb has quit [*.net *.split]
kiyote23 has quit [*.net *.split]
lmickh has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
nuck has quit [*.net *.split]
uxp has quit [*.net *.split]
rastro has quit [*.net *.split]
bricker has quit [*.net *.split]
oleo has quit [*.net *.split]
pietr0 has quit [*.net *.split]
louism2wash has quit [*.net *.split]
qpls has quit [*.net *.split]
clauswitt has quit [*.net *.split]
banister has quit [*.net *.split]
vt102 has quit [*.net *.split]
renier has quit [*.net *.split]
robustus has quit [*.net *.split]
speakingcode-wor has quit [*.net *.split]
haasn has quit [*.net *.split]
Junaos has quit [*.net *.split]
shelling__ has quit [*.net *.split]
ltd_ has quit [*.net *.split]
gregf has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
kedare has quit [*.net *.split]
whowantstolivefo has quit [*.net *.split]
fearoffish has quit [*.net *.split]
Eiam has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
tzero has quit [*.net *.split]
deepy has quit [*.net *.split]
mame1 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
snapcase has quit [*.net *.split]
St_Marx has quit [*.net *.split]
DrCode has quit [*.net *.split]
iamninja has quit [*.net *.split]
testcore has quit [*.net *.split]
zwer has quit [*.net *.split]
Ankhers has quit [*.net *.split]
Fusl has quit [*.net *.split]
ishikawa has quit [*.net *.split]
tomaw has quit [*.net *.split]
unreal has quit [*.net *.split]
cocotton has quit [*.net *.split]
fandi has quit [*.net *.split]
wallerdev has quit [*.net *.split]
pengin has quit [*.net *.split]
certainty has quit [*.net *.split]
davidhq has quit [*.net *.split]
amdbcg has quit [*.net *.split]
mrmargolis has quit [*.net *.split]
dorei has quit [*.net *.split]
klmlfl has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
tus has quit [*.net *.split]
Mia has quit [*.net *.split]
_5kg has quit [*.net *.split]
psy_ has quit [*.net *.split]
crazymykl has quit [*.net *.split]
VBlizzard has quit [*.net *.split]
tziom has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
blizzy has quit [*.net *.split]
fumduq has quit [*.net *.split]
dling has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Asher has quit [*.net *.split]
scpike has quit [*.net *.split]
cvtsx has quit [*.net *.split]
weeb1e has quit [*.net *.split]
kke has quit [*.net *.split]
Sgeo has quit [*.net *.split]
mosez has quit [*.net *.split]
hfp has quit [*.net *.split]
Drakevr has quit [*.net *.split]
nevans has quit [*.net *.split]
MatthewsFace has quit [*.net *.split]
Cope has quit [*.net *.split]
dazeddev has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
Morrolan has quit [*.net *.split]
retornam has quit [*.net *.split]
chuck has quit [*.net *.split]
rcs has quit [*.net *.split]
phreakocious has quit [*.net *.split]
cescalante has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
Davey has quit [*.net *.split]
jayne has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
TTilus has quit [*.net *.split]
maxmanders_ has quit [*.net *.split]
jriese has quit [*.net *.split]
nomadic has quit [*.net *.split]
kith has quit [*.net *.split]
sente has quit [*.net *.split]
shaman42 has quit [*.net *.split]
chihhsin has quit [*.net *.split]
camt has quit [*.net *.split]
jerematic has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
metadave has quit [*.net *.split]
hmsimha has quit [*.net *.split]
jespada has quit [*.net *.split]
jgt has quit [*.net *.split]
delianides has quit [*.net *.split]
mloveless has quit [*.net *.split]
dcarmich has quit [*.net *.split]
io_syl has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
dfinninger has quit [*.net *.split]
kirun has quit [*.net *.split]
Rollabunna has quit [*.net *.split]
russt has quit [*.net *.split]
dblessing has quit [*.net *.split]
jordanm has quit [*.net *.split]
arup_r_ has quit [*.net *.split]
RandyT has quit [*.net *.split]
eka has quit [*.net *.split]
daynaskully has quit [*.net *.split]
electrical has quit [*.net *.split]
dukedave has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
go|dfish has quit [*.net *.split]
avril14th has quit [*.net *.split]
rfish2 has quit [*.net *.split]
gremax has quit [*.net *.split]
Azure has quit [*.net *.split]
lele has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
charliesome has quit [*.net *.split]
cibs has quit [*.net *.split]
minecoins has quit [*.net *.split]
pontiki has quit [*.net *.split]
sumark has quit [*.net *.split]
Vile` has quit [*.net *.split]
fumk has quit [*.net *.split]
bdamos has quit [*.net *.split]
bascht has quit [*.net *.split]
mengu has quit [*.net *.split]
jidar has quit [*.net *.split]
drizz has quit [*.net *.split]
sambao21 has quit [*.net *.split]
nanoyak has quit [*.net *.split]
Porpado has quit [*.net *.split]
icebourg has quit [*.net *.split]
freerobby has quit [*.net *.split]
doodlehaus has quit [*.net *.split]
davidbug has quit [*.net *.split]
Photism has quit [*.net *.split]
ejnahc has quit [*.net *.split]
windowlicker has quit [*.net *.split]
apeiros has quit [*.net *.split]
govg has quit [*.net *.split]
treehug88 has quit [*.net *.split]
beef-wellington has quit [*.net *.split]
whoisjake has quit [*.net *.split]
DrShoggoth has quit [*.net *.split]
byprdct has quit [*.net *.split]
jefus has quit [*.net *.split]
enebo has quit [*.net *.split]
spacemud has quit [*.net *.split]
mgorbach has quit [*.net *.split]
elcontrastador has quit [*.net *.split]
porfa has quit [*.net *.split]
nickjj has quit [*.net *.split]
whatasunnyday has quit [*.net *.split]
edwardly has quit [*.net *.split]
hostess has quit [*.net *.split]
M-Technic has quit [*.net *.split]
kies has quit [*.net *.split]
socash has quit [*.net *.split]
tenseiten has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
devyn has quit [*.net *.split]
susmus has quit [*.net *.split]
tekk has quit [*.net *.split]
jbw has quit [*.net *.split]
krisleech has quit [*.net *.split]
ghormoon has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
lynxman has quit [*.net *.split]
callumacrae has quit [*.net *.split]
cbetta has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
Juanchito has quit [*.net *.split]
cstrahan_ has quit [*.net *.split]
Ikri has quit [*.net *.split]
jrdnull has quit [*.net *.split]
zalmoxes has quit [*.net *.split]
Afforess has quit [*.net *.split]
sfiggins has quit [*.net *.split]
LRgraham has quit [*.net *.split]
clocKwize has quit [*.net *.split]
matti has quit [*.net *.split]
codehotter has quit [*.net *.split]
Karunamon has quit [*.net *.split]
pygospa has quit [*.net *.split]
hdrv has quit [*.net *.split]
bankair has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
ereslibre_laptop has quit [*.net *.split]
cephalostrum_ has quit [*.net *.split]
mburns has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
emdub_ has quit [*.net *.split]
Rennex has quit [*.net *.split]
bier has quit [*.net *.split]
ob has quit [*.net *.split]
irk has quit [*.net *.split]
Kamilion has quit [*.net *.split]
zumbi has quit [*.net *.split]
ptierno has quit [*.net *.split]
rtl has quit [*.net *.split]
three18ti has quit [*.net *.split]
cherwin has quit [*.net *.split]
danshultz has quit [*.net *.split]
jtperreault has quit [*.net *.split]
stylus has quit [*.net *.split]
mumblerit has quit [*.net *.split]
faulkner has quit [*.net *.split]
ged has quit [*.net *.split]
drakhu has quit [*.net *.split]
mjulian has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
dualbus has quit [*.net *.split]
n80 has quit [*.net *.split]
tumaru has quit [*.net *.split]
spyderma_ has quit [*.net *.split]
hrs has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
diegoviola has quit [*.net *.split]
gsd has quit [*.net *.split]
Senjai has quit [*.net *.split]
kenneth has quit [*.net *.split]
GaryOak_ has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
bradland has quit [*.net *.split]
lsmola has quit [*.net *.split]
weaksauce has quit [*.net *.split]
_ixti_ has quit [*.net *.split]
Aova has quit [*.net *.split]
ramblinpeck_ has quit [*.net *.split]
daxroc has quit [*.net *.split]
jblancett has quit [*.net *.split]
drkush has quit [*.net *.split]
intersect has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
zemlya has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
jarjar_prime has quit [*.net *.split]
slick has quit [*.net *.split]
micah has quit [*.net *.split]
hfp_work has quit [*.net *.split]
dayid has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
bri has quit [*.net *.split]
cnj has quit [*.net *.split]
KC9YDN has quit [*.net *.split]
Kruppe has quit [*.net *.split]
spectre256 has quit [*.net *.split]
roqo has quit [*.net *.split]
slash_nick has quit [*.net *.split]
patrick99e99 has quit [*.net *.split]
yfeldblu_ has quit [*.net *.split]
d10n-work has quit [*.net *.split]
emirozer has quit [*.net *.split]
Aswebb_ has quit [*.net *.split]
Megtastique has quit [*.net *.split]
jimms has quit [*.net *.split]
Trieste has quit [*.net *.split]
x1337807x has quit [*.net *.split]
ptrrr has quit [*.net *.split]
JDiPierro has quit [*.net *.split]
pdoherty has quit [*.net *.split]
marcoamorales has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
Pumukel has quit [*.net *.split]
mary5030 has quit [*.net *.split]
codecop has quit [*.net *.split]
bayed has quit [*.net *.split]
thiagovsk__ has quit [*.net *.split]
crdpink has quit [*.net *.split]
Xiti has quit [*.net *.split]
Hijiri has quit [*.net *.split]
braincrash has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
RTG` has quit [*.net *.split]
Su7 has quit [*.net *.split]
Dwarf has quit [*.net *.split]
ckrailo__ has quit [*.net *.split]
rfv has quit [*.net *.split]
drPoggs has quit [*.net *.split]
unclouded has quit [*.net *.split]
caveat- has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
TDJACR has quit [*.net *.split]
ElderFain has quit [*.net *.split]
yvemath has quit [*.net *.split]
GGMethos has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
disperso has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
Guest96425 has quit [*.net *.split]
LBRapid has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
leslie has quit [*.net *.split]
Seich has quit [*.net *.split]
mattjbarlow has quit [*.net *.split]
Ridley5 has quit [*.net *.split]
PhilK has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
eregon has quit [*.net *.split]
crantron has quit [*.net *.split]
jfran_ has quit [*.net *.split]
j2p2 has quit [*.net *.split]
frogsy has quit [*.net *.split]
F__i__L has quit [*.net *.split]
Moter8 has quit [*.net *.split]
oddraisin has quit [*.net *.split]
hendricius has quit [*.net *.split]
marahin has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Mongey has quit [*.net *.split]
joe_dirte has quit [*.net *.split]
JimmyNeutron has quit [*.net *.split]
nkts has quit [*.net *.split]
deavid has quit [*.net *.split]
kevr has quit [*.net *.split]
bauruine has quit [*.net *.split]
majoh has quit [*.net *.split]
vieq has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
gtc has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
epitron has quit [*.net *.split]
cn28h has quit [*.net *.split]
mclee has quit [*.net *.split]
kenichi has quit [*.net *.split]
timmow has quit [*.net *.split]
kevinfagan has quit [*.net *.split]
dredozubov has quit [*.net *.split]
aarwine has quit [*.net *.split]
_br_ has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
_chs_ has quit [*.net *.split]
Meeh has quit [*.net *.split]
virtualize has quit [*.net *.split]
ryotarai has quit [*.net *.split]
gf3 has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
zenspider has quit [*.net *.split]
jokke has quit [*.net *.split]
axisys has quit [*.net *.split]
ruisantos has quit [*.net *.split]
nisstyre has quit [*.net *.split]
yeltzooo9 has quit [*.net *.split]
bmn has quit [*.net *.split]
programmerq has quit [*.net *.split]
matled has quit [*.net *.split]
Xnfu has quit [*.net *.split]
Brando753 has quit [*.net *.split]
BaNzoune1 has quit [*.net *.split]
Anarch has quit [*.net *.split]
mozzarella has quit [*.net *.split]
genpaku has quit [*.net *.split]
Adran has quit [*.net *.split]
max96at has quit [*.net *.split]
ponyofde1th has quit [*.net *.split]
canton7 has quit [*.net *.split]
sirecote has quit [*.net *.split]
Pro| has quit [*.net *.split]
Nanuq has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Synthead has quit [*.net *.split]
troter__ has quit [*.net *.split]
scottyob has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
jxf has quit [*.net *.split]
culturelabs has quit [*.net *.split]
frankS2 has quit [*.net *.split]
kyote has quit [*.net *.split]
skmp_ has quit [*.net *.split]
adambeynon has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
featheryahn_ has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
aspiers has quit [*.net *.split]
Biohazard has quit [*.net *.split]
kapowaz_ has quit [*.net *.split]
psmolen has quit [*.net *.split]
jalcine has quit [*.net *.split]
vjt has quit [*.net *.split]
sfr^ has quit [*.net *.split]
ips|malc has quit [*.net *.split]
tmoore_ has quit [*.net *.split]
AdamMeghji has quit [*.net *.split]
sparr has quit [*.net *.split]
jrunning_ has quit [*.net *.split]
im0b has quit [*.net *.split]
drag00n has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
zrl has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
BombStrike has quit [*.net *.split]
TrafficMan has quit [*.net *.split]
eythorium has quit [*.net *.split]
monsieurp has quit [*.net *.split]
gilmour has quit [*.net *.split]
juni0r has quit [*.net *.split]
tekacs has quit [*.net *.split]
Fraeon has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
erichmenge has joined #ruby
Cork has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
lepht has quit [*.net *.split]
ohcibi has quit [*.net *.split]
bkutil_ has quit [*.net *.split]
IceDragon has quit [*.net *.split]
skyjumper has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
DefV has quit [*.net *.split]
{xenomorph} has quit [*.net *.split]
Igneous has quit [*.net *.split]
zz_Haiiro has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
ujjain has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
tris has quit [*.net *.split]
galeido has quit [*.net *.split]
asuka has quit [*.net *.split]
l3kn has quit [*.net *.split]
kloeri has quit [*.net *.split]
nug has quit [*.net *.split]
lupine has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
zly has quit [*.net *.split]
tacotaco_ has quit [*.net *.split]
shtirlic has quit [*.net *.split]
lpaste has quit [*.net *.split]
danoo_ has quit [*.net *.split]
heyimwill has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Nightmare has quit [*.net *.split]
blackjid has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
ght has quit [*.net *.split]
adamholt has quit [*.net *.split]
ddv has quit [*.net *.split]
parduse has quit [*.net *.split]
uptownhr has quit [*.net *.split]
hephaestus_rg has quit [*.net *.split]
aswen has quit [*.net *.split]
tubuliferous has quit [*.net *.split]
ndrei has quit [*.net *.split]
m8 has quit [*.net *.split]
claymore has quit [*.net *.split]
brb3 has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
josephndenton has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
keen__________32 has quit [*.net *.split]
speakingcode has quit [*.net *.split]
rkjaer_ has quit [*.net *.split]
hellschreiber has quit [*.net *.split]
maZtah has quit [*.net *.split]
callenb___ has quit [*.net *.split]
mbeasley has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
okic has quit [*.net *.split]
destructure has quit [*.net *.split]
Xoro has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
helpa has quit [*.net *.split]
v0n has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
eval-in has quit [*.net *.split]
pozican has quit [*.net *.split]
akkad has quit [*.net *.split]
atomi has quit [*.net *.split]
jouty has quit [*.net *.split]
Patteh has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
napcae has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
chishiki has quit [*.net *.split]
majeure has quit [*.net *.split]
headius has quit [*.net *.split]
thomas has quit [*.net *.split]
uber has quit [*.net *.split]
zacts has quit [*.net *.split]
Blue_Ice_ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
miah has quit [*.net *.split]
nerdman_ has quit [*.net *.split]
ericwood has quit [*.net *.split]
segv has quit [*.net *.split]
dandrade has quit [*.net *.split]
wlanboy has quit [*.net *.split]
wldcordeiro_ has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
anekos has quit [*.net *.split]
ReinH has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
snzmn has quit [*.net *.split]
ph8 has quit [*.net *.split]
7JTABSAPZ has quit [*.net *.split]
magicien_ has quit [*.net *.split]
suy has quit [*.net *.split]
Liothen has quit [*.net *.split]
Schmidt has quit [*.net *.split]
Bish has quit [*.net *.split]
Jamo has quit [*.net *.split]
rigel has quit [*.net *.split]
Koshian has quit [*.net *.split]
rfi has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
DylanJ has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
Radar has quit [*.net *.split]
inspectah_stack has quit [*.net *.split]
fold has quit [*.net *.split]
lsone has quit [*.net *.split]
railis has quit [*.net *.split]
joeyjones has quit [*.net *.split]
David_Miller has quit [*.net *.split]
philtr has quit [*.net *.split]
robpike has quit [*.net *.split]
icedp has quit [Excess Flood]
Nahra has quit [Max SendQ exceeded]
ggherdov has quit [Max SendQ exceeded]
swartwulf has quit [Excess Flood]
epochwolf has quit [Excess Flood]
elfuego has quit [Quit: elfuego]
Nahra has joined #ruby
icedp has joined #ruby
epochwolf has joined #ruby
whichoneami has quit [Read error: Network is unreachable]
pmarreck has quit [Read error: Connection timed out]
charles81 has joined #ruby
whichoneami has joined #ruby
rkornmeyer has joined #ruby
OliverTynes has joined #ruby
pmarreck has joined #ruby
vcoinminer has quit [Ping timeout: 254 seconds]
Obfuscate has quit [Quit: Obfuscate]
uptownhr has joined #ruby
swartwulf has joined #ruby
jakesyl_insomnia has joined #ruby
Olipro has joined #ruby
mnemon has joined #ruby
Affix has joined #ruby
RowdyChildren has joined #ruby
razieliyo has joined #ruby
thumpba has joined #ruby
bluehavana has joined #ruby
sweeper has joined #ruby
aclearma_ has joined #ruby
zeusmns has joined #ruby
Junaos has joined #ruby
bricker has joined #ruby
soahccc has joined #ruby
LRgraham has joined #ruby
dopie has joined #ruby
tekk has joined #ruby
snapcase has joined #ruby
agrinb has joined #ruby
crazymykl has joined #ruby
jordanm has joined #ruby
Gotbadger has joined #ruby
waxjar has joined #ruby
javawizard has joined #ruby
fella6s has joined #ruby
cstrahan_ has joined #ruby
hostess has joined #ruby
n80 has joined #ruby
FifthWall has joined #ruby
jrdnull has joined #ruby
jriese has joined #ruby
kke has joined #ruby
iceden has joined #ruby
codehotter has joined #ruby
Photism has joined #ruby
mary5030 has joined #ruby
max96at has joined #ruby
nisstyre has joined #ruby
featheryahn_ has joined #ruby
gizmore has joined #ruby
sente has joined #ruby
snzmn has joined #ruby
l3kn has joined #ruby
ged has joined #ruby
jamo_ has joined #ruby
cn28h has joined #ruby
pontiki has joined #ruby
timmow has joined #ruby
Liothen has joined #ruby
axisys has joined #ruby
tiagonobre_ has joined #ruby
pozican has joined #ruby
chrishough has joined #ruby
jakesyl_insomnia has joined #ruby
jakesyl_insomnia has quit [Changing host]
towski_ has joined #ruby
<apeiros> seanmarcia: freeze only prohibits mutation of the frozen object. objects referenced by it are not frozen.
Obfuscate has joined #ruby
jeregrine has quit [Max SendQ exceeded]
yokel has quit [Max SendQ exceeded]
Nahra has quit [Max SendQ exceeded]
Crazy_Atheist has quit [Max SendQ exceeded]
ZucchiniZe has quit [Max SendQ exceeded]
JStoker has quit [Max SendQ exceeded]
KnownSyntax has quit [Max SendQ exceeded]
ikanobori has quit [Max SendQ exceeded]
Darryl__ has quit [Max SendQ exceeded]
skarn has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
kalz has quit [Max SendQ exceeded]
eam_ has joined #ruby
MissionCritical has joined #ruby
byaruhaf_ has joined #ruby
LouisRoR1 has joined #ruby
<seanmarcia> interesting, thanks
kasperti_ has joined #ruby
exadeci has quit [Changing host]
exadeci has joined #ruby
whoojemaflip has quit [Changing host]
whoojemaflip has joined #ruby
avahey91 has joined #ruby
avahey91 has quit [Changing host]
icedp has quit [Changing host]
icedp has joined #ruby
droidburgundy has quit [Changing host]
droidburgundy has joined #ruby
benlakey_ has joined #ruby
benlakey_ has quit [Changing host]
epochwolf has quit [Changing host]
epochwolf has joined #ruby
bl4ckdu5t has joined #ruby
andrewstewart has quit [Changing host]
andrewstewart has joined #ruby
arrubin has quit [Changing host]
arrubin has joined #ruby
whichoneami has quit [Changing host]
whichoneami has joined #ruby
pmarreck has quit [Changing host]
pmarreck has joined #ruby
charles81 has joined #ruby
charles81 has quit [Changing host]
rkornmeyer has quit [Changing host]
rkornmeyer has joined #ruby
OliverTynes has joined #ruby
OliverTynes has quit [Changing host]
Nahra has joined #ruby
Akuma0n3 has joined #ruby
cphrmky has joined #ruby
yokel has joined #ruby
mattp__ has joined #ruby
JStoker has joined #ruby
cphrmky has quit [Changing host]
cphrmky has joined #ruby
KnownSyntax has joined #ruby
moshee has joined #ruby
ItSANg___ has joined #ruby
tchebb_ has joined #ruby
patronus_ has joined #ruby
max96at is now known as max96at|off
skarn has joined #ruby
mary5030 has quit [*.net *.split]
cn28h has quit [*.net *.split]
timmow has quit [*.net *.split]
axisys has quit [*.net *.split]
nisstyre has quit [*.net *.split]
max96at|off has quit [*.net *.split]
casual_ has quit [Max SendQ exceeded]
machty has joined #ruby
Darryl__ has joined #ruby
ggherdov has joined #ruby
ikanobori_ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
Prawnzy has joined #ruby
Crazy_Atheist has joined #ruby
Doc_X has joined #ruby
slash_nick has joined #ruby
patrick99e99 has joined #ruby
yfeldblu_ has joined #ruby
d10n-work has joined #ruby
emirozer has joined #ruby
Hijiri has joined #ruby
RTG` has joined #ruby
wookiehangover has joined #ruby
thiagovsk__ has joined #ruby
frogsy has joined #ruby
jaxxstorm has joined #ruby
codecop has joined #ruby
Mongey has joined #ruby
oddraisin has joined #ruby
marahin has joined #ruby
Ridley5 has joined #ruby
gtc has joined #ruby
x1337807x has joined #ruby
j2p2 has joined #ruby
crdpink has joined #ruby
timmow has joined #ruby
Sp4rKy has joined #ruby
pdoherty has joined #ruby
baroquebobcat has joined #ruby
gf3 has joined #ruby
yvemath has joined #ruby
ryotarai has joined #ruby
Moter8 has joined #ruby
jfran_ has joined #ruby
kenichi has joined #ruby
ptrrr has joined #ruby
ruisantos has joined #ruby
aarwine has joined #ruby
bmn has joined #ruby
amitchellbullard has joined #ruby
rfv has joined #ruby
majoh has joined #ruby
mary5030 has joined #ruby
marcoamorales has joined #ruby
jokke has joined #ruby
epitron has joined #ruby
ponyofde1th has joined #ruby
caveat- has joined #ruby
nkts has joined #ruby
kevr has joined #ruby
mclee has joined #ruby
crantron has joined #ruby
ckrailo__ has joined #ruby
bennyklotz has joined #ruby
Xiti has joined #ruby
JimmyNeutron has joined #ruby
mattjbarlow has joined #ruby
ElderFain has joined #ruby
yeltzooo9 has joined #ruby
_chs_ has joined #ruby
canton7 has joined #ruby
virtualize has joined #ruby
JDiPierro has joined #ruby
matled has joined #ruby
drPoggs has joined #ruby
dhruvasagar has joined #ruby
axisys has joined #ruby
deavid has joined #ruby
vieq has joined #ruby
Su7 has joined #ruby
Aswebb_ has joined #ruby
braincrash has joined #ruby
bayed has joined #ruby
joe_dirte has joined #ruby
hendricius has joined #ruby
unclouded has joined #ruby
lifenoodles has joined #ruby
Meeh has joined #ruby
BaNzoune1 has joined #ruby
LBRapid has joined #ruby
Guest96425 has joined #ruby
leslie has joined #ruby
max96at|off has joined #ruby
sirecote has joined #ruby
F__i__L has joined #ruby
cn28h has joined #ruby
_br_ has joined #ruby
TinkerTyper has joined #ruby
eregon has joined #ruby
dredozubov has joined #ruby
kevinfagan has joined #ruby
SegFaultAX has joined #ruby
Pro| has joined #ruby
Xnfu has joined #ruby
zenspider has joined #ruby
mostlybadfly has joined #ruby
21WAAY82Q has joined #ruby
Seich has joined #ruby
mozzarella has joined #ruby
Anarch has joined #ruby
programmerq has joined #ruby
PhilK has joined #ruby
genpaku has joined #ruby
Pumukel has joined #ruby
Takumo has joined #ruby
Brando753 has joined #ruby
lorn_ has joined #ruby
Klumben has joined #ruby
kalz has joined #ruby
RoryHughes has joined #ruby
TinkerTyper has quit [Max SendQ exceeded]
axisys has quit [Max SendQ exceeded]
majoh has quit [Max SendQ exceeded]
SegFaultAX has quit [Max SendQ exceeded]
caveat- has quit [Max SendQ exceeded]
genpaku has quit [Max SendQ exceeded]
uptownhr has quit [Client Quit]
featheryahn_ has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
l3kn has quit [*.net *.split]
thejoecarroll_ has joined #ruby
Trieste has joined #ruby
parus_ has joined #ruby
majoh has joined #ruby
phrozen77 has joined #ruby
tris has joined #ruby
frankS2 has joined #ruby
tessi_zz has joined #ruby
heyimwill has joined #ruby
{xenomorph} has joined #ruby
ujjain has joined #ruby
bkutil_ has joined #ruby
blackjid has joined #ruby
Nanuq has joined #ruby
jalcine has joined #ruby
vjt has joined #ruby
Cork has joined #ruby
kapowaz_ has joined #ruby
lepht has joined #ruby
Fraeon has joined #ruby
Guest85414______ has joined #ruby
tekacs has joined #ruby
skyjumper has joined #ruby
twohlix_ has joined #ruby
AdamMeghji has joined #ruby
ohcibi has joined #ruby
drag00n has joined #ruby
tmoore_ has joined #ruby
BLuEGoD has joined #ruby
monsieurp has joined #ruby
sparr has joined #ruby
RealMarc has joined #ruby
yosafbridge has joined #ruby
im0b has joined #ruby
galeido has joined #ruby
lpaste has joined #ruby
juni0r has joined #ruby
alem0lars has joined #ruby
kloeri has joined #ruby
IceDragon has joined #ruby
troter__ has joined #ruby
tacotaco_ has joined #ruby
Biohazard has joined #ruby
JaTochNietDan has joined #ruby
Synthead has joined #ruby
ips|malc has joined #ruby
nug has joined #ruby
psmolen has joined #ruby
lupine has joined #ruby
zrl has joined #ruby
ght has joined #ruby
zly has joined #ruby
wjimenez5271 has joined #ruby
ddv has joined #ruby
adambeynon has joined #ruby
BackEndCoder has joined #ruby
zz_Haiiro has joined #ruby
TrafficMan has joined #ruby
jrunning_ has joined #ruby
gilmour has joined #ruby
thesheff17 has joined #ruby
Trynemjoel has joined #ruby
shtirlic has joined #ruby
danoo_ has joined #ruby
Nightmare has joined #ruby
BombStrike has joined #ruby
justinmcp_ has joined #ruby
kyote has joined #ruby
adamholt has joined #ruby
l3kn has joined #ruby
skmp_ has joined #ruby
scottyob has joined #ruby
eythorium has joined #ruby
tiagonobre_ has joined #ruby
Igneous has joined #ruby
twistedpixels has joined #ruby
featheryahn_ has joined #ruby
sfr^ has joined #ruby
asuka has joined #ruby
aspiers has joined #ruby
culturelabs has joined #ruby
jxf has joined #ruby
DefV has joined #ruby
RoryHughes has quit [Excess Flood]
Klumben has quit [Excess Flood]
jeregrine has joined #ruby
Trieste has quit [Changing host]
Trieste has joined #ruby
theRoUS` has joined #ruby
genpaku has joined #ruby
axisys has joined #ruby
Olipro has quit [Max SendQ exceeded]
zrl has quit [Max SendQ exceeded]
Cork has quit [Max SendQ exceeded]
genpaku has quit [*.net *.split]
Prawnzy has quit [*.net *.split]
patronus_ has quit [*.net *.split]
mattp__ has quit [*.net *.split]
pozican has quit [*.net *.split]
snzmn has quit [*.net *.split]
Liothen has quit [*.net *.split]
mib_mib has joined #ruby
TinkerTyper has joined #ruby
GGMethos has joined #ruby
RoryHughes has joined #ruby
caveat- has joined #ruby
marr123 has joined #ruby
bahar_ has joined #ruby
nwkr has joined #ruby
theRoUS` has quit [Changing host]
theRoUS` has joined #ruby
mib_mib has quit [Changing host]
mib_mib has joined #ruby
SegFaultAX has joined #ruby
jherbst_ has joined #ruby
tchebb has joined #ruby
B1n4r10 has joined #ruby
LouisRoR has joined #ruby
patronus has joined #ruby
Akuma has joined #ruby
eam has joined #ruby
jherbst has joined #ruby
snath has joined #ruby
peterhu has joined #ruby
gomix has joined #ruby
sn0wb1rd has joined #ruby
jpinnix____ has joined #ruby
byaruhaf has joined #ruby
adeponte has joined #ruby
Rylee has joined #ruby
mr_rich102 has joined #ruby
s1ck has joined #ruby
bahar has joined #ruby
parus has joined #ruby
davidcelis has joined #ruby
ItSANgo has joined #ruby
jeekl has joined #ruby
aob_ has joined #ruby
adriancb has joined #ruby
lorn has joined #ruby
radic has joined #ruby
Gadgetoid has joined #ruby
kiki_lamb has joined #ruby
brandon_ has joined #ruby
theRoUS has joined #ruby
keelerm has joined #ruby
dimaursu16 has joined #ruby
thejoecarroll has joined #ruby
pibby has joined #ruby
bhaak has joined #ruby
jzigmund has joined #ruby
sheepman has joined #ruby
Nowaker has joined #ruby
rgs has joined #ruby
mattp_ has joined #ruby
athan has joined #ruby
Heero has joined #ruby
dylannorthrup has joined #ruby
adam12 has joined #ruby
Prawnzy_ has joined #ruby
Roa has joined #ruby
mosheee has joined #ruby
mroth has joined #ruby
spastorino has joined #ruby
dfedde has joined #ruby
phreax has joined #ruby
marr has joined #ruby
WillAmes has joined #ruby
urtokk has joined #ruby
oz has joined #ruby
_5moufl has joined #ruby
j416 has joined #ruby
kaspertidemann has joined #ruby
apurcell has joined #ruby
shinnya has joined #ruby
rikai has joined #ruby
s1ck has quit [Quit: Leaving]
alexherbo2 has joined #ruby
Zai00 has joined #ruby
byaruhaf has quit [Max SendQ exceeded]
eam has quit [Max SendQ exceeded]
Akuma has quit [Max SendQ exceeded]
parus has quit [Max SendQ exceeded]
Prawnzy_ has quit [Max SendQ exceeded]
shinnya has quit [Max SendQ exceeded]
marr has quit [Max SendQ exceeded]
lorn has quit [Max SendQ exceeded]
kaspertidemann has quit [Max SendQ exceeded]
ItSANgo has quit [Max SendQ exceeded]
thejoecarroll has quit [Max SendQ exceeded]
Rylee has quit [Max SendQ exceeded]
mattp_ has quit [Max SendQ exceeded]
adam12 has quit [Max SendQ exceeded]
jpinnix____ has quit [Ping timeout: 263 seconds]
mosheee has quit [Ping timeout: 263 seconds]
rikai has quit [Max SendQ exceeded]
LouisRoR has quit [Remote host closed the connection]
j416 has quit [Max SendQ exceeded]
WillAmes has quit [Max SendQ exceeded]
tchebb has quit [Max SendQ exceeded]
patronus has quit [Max SendQ exceeded]
B1n4r10 has quit [Max SendQ exceeded]
Heero has quit [Ping timeout: 245 seconds]
jherbst has quit [Max SendQ exceeded]
dylannorthrup has quit [Ping timeout: 244 seconds]
bhaak has quit [Ping timeout: 244 seconds]
alexherbo2 has quit [Ping timeout: 245 seconds]
theRoUS has quit [Ping timeout: 245 seconds]
bahar has quit [Ping timeout: 245 seconds]
Nowaker has quit [Ping timeout: 245 seconds]
keelerm has quit [Ping timeout: 245 seconds]
tchebb_ is now known as tchebb
helpa has joined #ruby
bahar_ is now known as bahar
j416 has joined #ruby
nisstyre has joined #ruby
jenrzzz has joined #ruby
rikai has joined #ruby
Klumben has joined #ruby
aboudreault has joined #ruby
casual_ has joined #ruby
Adran has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Heero has joined #ruby
shinnya has joined #ruby
ZucchiniZe has joined #ruby
Rylee has joined #ruby
bauruine has joined #ruby
emirozer has quit [Remote host closed the connection]
mib_mib has quit [*.net *.split]
DadoCe has joined #ruby
sivoais has joined #ruby
mib_mib has joined #ruby
robpike has joined #ruby
patronus has joined #ruby
jpinnix____ has joined #ruby
jpinnix____ has quit [Changing host]
jpinnix____ has joined #ruby
iamjarvo has joined #ruby
sdrew has joined #ruby
Olipro has joined #ruby
hrs has joined #ruby
workmad3 has joined #ruby
aclearma_ has quit [Quit: I'm out!]
pdoherty has quit [Remote host closed the connection]
tjbiddle has joined #ruby
saltsa has quit [Ping timeout: 244 seconds]
aswen has joined #ruby
Schmidt has joined #ruby
NightMonkey has joined #ruby
josephndenton has joined #ruby
ReinH has joined #ruby
headius has joined #ruby
Cork has joined #ruby
rkjaer_ has joined #ruby
rigel has joined #ruby
jouty has joined #ruby
tubuliferous has joined #ruby
Prawnzy has joined #ruby
elaptics`away has joined #ruby
jaredrhine has joined #ruby
magicien_ has joined #ruby
akkad has joined #ruby
brb3 has joined #ruby
hephaestus_rg has joined #ruby
David_Miller has joined #ruby
vcoinminer has joined #ruby
Dreamer3 has joined #ruby
Apocalypse has joined #ruby
m8 has joined #ruby
uber has joined #ruby
genpaku has joined #ruby
railis has joined #ruby
rfi has joined #ruby
PaulePanter has joined #ruby
anekos has joined #ruby
dandrade has joined #ruby
suy has joined #ruby
avelldiroll has joined #ruby
zacts has joined #ruby
pozican has joined #ruby
Dwarf has joined #ruby
joeyjones has joined #ruby
djbkd has quit [Remote host closed the connection]
uptownhr has joined #ruby
alexherbo2 has joined #ruby
ValicekB has joined #ruby
Guest96425 has quit [Changing host]
Guest96425 has joined #ruby
Guest96425 is now known as blindsight
djbkd has joined #ruby
avelldiroll has quit [Excess Flood]
JDiPierro has quit [Remote host closed the connection]
sambao21 has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
roolo has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
Crazy_Atheist has quit [Ping timeout: 264 seconds]
sambao21 has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
rikai has quit [*.net *.split]
thejoecarroll_ has quit [*.net *.split]
chrishough has quit [*.net *.split]
gizmore has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Prawnzy has quit [*.net *.split]
hephaestus_rg has quit [*.net *.split]
aswen has quit [*.net *.split]
tubuliferous has quit [*.net *.split]
m8 has quit [*.net *.split]
brb3 has quit [*.net *.split]
josephndenton has quit [*.net *.split]
rkjaer_ has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
pozican has quit [*.net *.split]
akkad has quit [*.net *.split]
jouty has quit [*.net *.split]
headius has quit [*.net *.split]
uber has quit [*.net *.split]
zacts has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
dandrade has quit [*.net *.split]
anekos has quit [*.net *.split]
ReinH has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
magicien_ has quit [*.net *.split]
suy has quit [*.net *.split]
Schmidt has quit [*.net *.split]
rigel has quit [*.net *.split]
rfi has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
railis has quit [*.net *.split]
joeyjones has quit [*.net *.split]
David_Miller has quit [*.net *.split]
mib_mib has quit [*.net *.split]
robpike has quit [*.net *.split]
Nanuq has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Synthead has quit [*.net *.split]
troter__ has quit [*.net *.split]
scottyob has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
jxf has quit [*.net *.split]
culturelabs has quit [*.net *.split]
frankS2 has quit [*.net *.split]
kyote has quit [*.net *.split]
skmp_ has quit [*.net *.split]
featheryahn_ has quit [*.net *.split]
adambeynon has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
aspiers has quit [*.net *.split]
Biohazard has quit [*.net *.split]
kapowaz_ has quit [*.net *.split]
psmolen has quit [*.net *.split]
vjt has quit [*.net *.split]
jalcine has quit [*.net *.split]
sfr^ has quit [*.net *.split]
ips|malc has quit [*.net *.split]
tmoore_ has quit [*.net *.split]
AdamMeghji has quit [*.net *.split]
sparr has quit [*.net *.split]
jrunning_ has quit [*.net *.split]
im0b has quit [*.net *.split]
drag00n has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
BombStrike has quit [*.net *.split]
TrafficMan has quit [*.net *.split]
eythorium has quit [*.net *.split]
monsieurp has quit [*.net *.split]
gilmour has quit [*.net *.split]
juni0r has quit [*.net *.split]
tekacs has quit [*.net *.split]
Fraeon has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
lepht has quit [*.net *.split]
ohcibi has quit [*.net *.split]
bkutil_ has quit [*.net *.split]
IceDragon has quit [*.net *.split]
skyjumper has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
DefV has quit [*.net *.split]
{xenomorph} has quit [*.net *.split]
Igneous has quit [*.net *.split]
zz_Haiiro has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
ujjain has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
tris has quit [*.net *.split]
galeido has quit [*.net *.split]
asuka has quit [*.net *.split]
l3kn has quit [*.net *.split]
kloeri has quit [*.net *.split]
nug has quit [*.net *.split]
lupine has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
zly has quit [*.net *.split]
tacotaco_ has quit [*.net *.split]
shtirlic has quit [*.net *.split]
lpaste has quit [*.net *.split]
danoo_ has quit [*.net *.split]
heyimwill has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Nightmare has quit [*.net *.split]
blackjid has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
ght has quit [*.net *.split]
adamholt has quit [*.net *.split]
ddv has quit [*.net *.split]
Cork has quit [*.net *.split]
majoh has quit [*.net *.split]
slash_nick has quit [*.net *.split]
patrick99e99 has quit [*.net *.split]
yfeldblu_ has quit [*.net *.split]
d10n-work has quit [*.net *.split]
Aswebb_ has quit [*.net *.split]
x1337807x has quit [*.net *.split]
ptrrr has quit [*.net *.split]
marcoamorales has quit [*.net *.split]
baroquebobcat has quit [*.net *.split]
Pumukel has quit [*.net *.split]
mary5030 has quit [*.net *.split]
codecop has quit [*.net *.split]
bayed has quit [*.net *.split]
thiagovsk__ has quit [*.net *.split]
crdpink has quit [*.net *.split]
Xiti has quit [*.net *.split]
Hijiri has quit [*.net *.split]
braincrash has quit [*.net *.split]
RTG` has quit [*.net *.split]
Su7 has quit [*.net *.split]
ckrailo__ has quit [*.net *.split]
rfv has quit [*.net *.split]
drPoggs has quit [*.net *.split]
unclouded has quit [*.net *.split]
ElderFain has quit [*.net *.split]
yvemath has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
21WAAY82Q has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
blindsight has quit [*.net *.split]
LBRapid has quit [*.net *.split]
leslie has quit [*.net *.split]
mattjbarlow has quit [*.net *.split]
Seich has quit [*.net *.split]
Ridley5 has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
PhilK has quit [*.net *.split]
eregon has quit [*.net *.split]
crantron has quit [*.net *.split]
jfran_ has quit [*.net *.split]
j2p2 has quit [*.net *.split]
frogsy has quit [*.net *.split]
F__i__L has quit [*.net *.split]
Moter8 has quit [*.net *.split]
oddraisin has quit [*.net *.split]
hendricius has quit [*.net *.split]
marahin has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Mongey has quit [*.net *.split]
joe_dirte has quit [*.net *.split]
JimmyNeutron has quit [*.net *.split]
nkts has quit [*.net *.split]
deavid has quit [*.net *.split]
kevr has quit [*.net *.split]
vieq has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
gtc has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
epitron has quit [*.net *.split]
cn28h has quit [*.net *.split]
mclee has quit [*.net *.split]
kenichi has quit [*.net *.split]
timmow has quit [*.net *.split]
kevinfagan has quit [*.net *.split]
dredozubov has quit [*.net *.split]
aarwine has quit [*.net *.split]
_br_ has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
_chs_ has quit [*.net *.split]
Meeh has quit [*.net *.split]
virtualize has quit [*.net *.split]
ryotarai has quit [*.net *.split]
gf3 has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
zenspider has quit [*.net *.split]
jokke has quit [*.net *.split]
ruisantos has quit [*.net *.split]
yeltzooo9 has quit [*.net *.split]
bmn has quit [*.net *.split]
programmerq has quit [*.net *.split]
matled has quit [*.net *.split]
Xnfu has quit [*.net *.split]
BaNzoune1 has quit [*.net *.split]
Anarch has quit [*.net *.split]
mozzarella has quit [*.net *.split]
max96at|off has quit [*.net *.split]
ponyofde1th has quit [*.net *.split]
canton7 has quit [*.net *.split]
sirecote has quit [*.net *.split]
Pro| has quit [*.net *.split]
Adran has quit [*.net *.split]
j416 has quit [*.net *.split]
shinnya has quit [*.net *.split]
ValicekB has quit [*.net *.split]
Zai00 has quit [*.net *.split]
athan has quit [*.net *.split]
apurcell has quit [*.net *.split]
adriancb has quit [*.net *.split]
snath has quit [*.net *.split]
sheepman has quit [*.net *.split]
radic has quit [*.net *.split]
dimaursu16 has quit [*.net *.split]
spastorino has quit [*.net *.split]
urtokk has quit [*.net *.split]
phreax has quit [*.net *.split]
brandon_ has quit [*.net *.split]
jzigmund has quit [*.net *.split]
dfedde has quit [*.net *.split]
gomix has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
peterhu has quit [*.net *.split]
Roa has quit [*.net *.split]
rgs has quit [*.net *.split]
mroth has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
_5moufl has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
aob_ has quit [*.net *.split]
mr_rich102 has quit [*.net *.split]
pibby has quit [*.net *.split]
adeponte has quit [*.net *.split]
davidcelis has quit [*.net *.split]
jeekl has quit [*.net *.split]
oz has quit [*.net *.split]
Olipro has quit [*.net *.split]
bl4ckdu5t has quit [*.net *.split]
mnemon has quit [*.net *.split]
Affix has quit [*.net *.split]
sdrew has quit [*.net *.split]
nwkr has quit [*.net *.split]
theRoUS` has quit [*.net *.split]
ItSANg___ has quit [*.net *.split]
cphrmky has quit [*.net *.split]
JStoker has quit [*.net *.split]
eam_ has quit [*.net *.split]
agrinb has quit [*.net *.split]
bluehavana has quit [*.net *.split]
iceden has quit [*.net *.split]
fella6s has quit [*.net *.split]
soahccc has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
Gotbadger has quit [*.net *.split]
hrs has quit [*.net *.split]
jherbst_ has quit [*.net *.split]
marr123 has quit [*.net *.split]
tchebb has quit [*.net *.split]
Akuma0n3 has quit [*.net *.split]
LouisRoR1 has quit [*.net *.split]
dopie has quit [*.net *.split]
waxjar has quit [*.net *.split]
javawizard has quit [*.net *.split]
zeusmns has quit [*.net *.split]
FifthWall has quit [*.net *.split]
sweeper has quit [*.net *.split]
bricker has quit [*.net *.split]
Junaos has quit [*.net *.split]
snapcase has quit [*.net *.split]
Brando753 has quit [*.net *.split]
djbkd has quit [*.net *.split]
bahar has quit [*.net *.split]
yokel has quit [*.net *.split]
towski_ has quit [*.net *.split]
razieliyo has quit [*.net *.split]
thumpba has quit [*.net *.split]
crazymykl has quit [*.net *.split]
kke has quit [*.net *.split]
jriese has quit [*.net *.split]
sente has quit [*.net *.split]
roolo has quit [*.net *.split]
uptownhr has quit [*.net *.split]
workmad3 has quit [*.net *.split]
patronus has quit [*.net *.split]
sivoais has quit [*.net *.split]
Rylee has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
parus_ has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
aboudreault has quit [*.net *.split]
jordanm has quit [*.net *.split]
pontiki has quit [*.net *.split]
helpa has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
axisys has quit [*.net *.split]
Doc_X has quit [*.net *.split]
Takumo has quit [*.net *.split]
kasperti_ has quit [*.net *.split]
byaruhaf_ has quit [*.net *.split]
jakesyl_insomnia has quit [*.net *.split]
Photism has quit [*.net *.split]
hostess has quit [*.net *.split]
tekk has quit [*.net *.split]
cstrahan_ has quit [*.net *.split]
jrdnull has quit [*.net *.split]
LRgraham has quit [*.net *.split]
codehotter has quit [*.net *.split]
ged has quit [*.net *.split]
tjbiddle has quit [*.net *.split]
nisstyre has quit [*.net *.split]
swartwulf has quit [*.net *.split]
n80 has quit [*.net *.split]
epochwolf has quit [Excess Flood]
SirFunk has quit [Excess Flood]
OliverTynes has quit [Ping timeout: 334 seconds]
whichoneami has quit [Ping timeout: 334 seconds]
CMAXW_ has quit [Ping timeout: 334 seconds]
ballPointPenguin has quit [Ping timeout: 334 seconds]
paulfm has joined #ruby
CMAXW_ has joined #ruby
sleepee has joined #ruby
epochwolf has joined #ruby
whichoneami has joined #ruby
OliverTynes has joined #ruby
robbyoconnor has joined #ruby
SirFunk has joined #ruby
cocotton has joined #ruby
MissionCritical has joined #ruby
mloveless has joined #ruby
booly-yam has joined #ruby
David_Miller has joined #ruby
snzmn has joined #ruby
lsone has joined #ruby
eval-in has joined #ruby
mib_mib has joined #ruby
jeekl has joined #ruby
wlanboy has joined #ruby
codecop has joined #ruby
chishiki has joined #ruby
Blue_Ice_ has joined #ruby
Fraeon has joined #ruby
JStoker has joined #ruby
hrs has joined #ruby
cjk101010 has joined #ruby
n88 has joined #ruby
pjaspers has joined #ruby
gkra has joined #ruby
urtokk has joined #ruby
RDash has joined #ruby
speakingcode has joined #ruby
finges has joined #ruby
akkad has joined #ruby
Ridley5 has joined #ruby
JimmyNeutron has joined #ruby
Spleeze has joined #ruby
MiracleBlue_ has joined #ruby
cHarNe2 has joined #ruby
theRoUS` has joined #ruby
culturelabs has joined #ruby
tessi_zz has joined #ruby
ndrei has joined #ruby
patrick99e99 has joined #ruby
claw__ has joined #ruby
micah has joined #ruby
ukd1 has joined #ruby
emdub_ has joined #ruby
vlad_starkov has joined #ruby
lele has joined #ruby
apeiros_ has joined #ruby
jonathanwallace has joined #ruby
jgt has joined #ruby
bjeanes_ has joined #ruby
gr33n7007h has joined #ruby
dfinninger has joined #ruby
hornairs has joined #ruby
gremax has joined #ruby
Esya has joined #ruby
clocKwize has joined #ruby
MuffinPimp has joined #ruby
stonecolddevin has joined #ruby
bankair has joined #ruby
metadave has joined #ruby
minecoins has joined #ruby
dcarmich has joined #ruby
three18ti has joined #ruby
devyn has joined #ruby
daynaskully has joined #ruby
Drakevr has joined #ruby
vdamewood has joined #ruby
jxport has joined #ruby
Aova has joined #ruby
kiyote23 has joined #ruby
cescalante has joined #ruby
Cat_1 has joined #ruby
dukedave has joined #ruby
hvxgr has joined #ruby
cpt_yossarian has joined #ruby
mist has joined #ruby
marienz has joined #ruby
hanmac has joined #ruby
AlyssaDaemon has joined #ruby
Dwarf has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
Nahra has quit [Max SendQ exceeded]
robbyoconnor has quit [Write error: Broken pipe]
ggherdov has quit [Max SendQ exceeded]
sleepee has quit [Max SendQ exceeded]
caveat- has quit [Max SendQ exceeded]
Heero has quit [Ping timeout: 250 seconds]
arrubin has quit [Ping timeout: 250 seconds]
avahey91 has quit [Ping timeout: 250 seconds]
uptownhr has joined #ruby
sdrew has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
CMAXW_ has joined #ruby
whichoneami has joined #ruby
CMAXW_ has quit [Changing host]
OliverTynes has joined #ruby
whichoneami has quit [Changing host]
OliverTynes has quit [Changing host]
kalz has quit [Max SendQ exceeded]
skarn has quit [Max SendQ exceeded]
Crazy_Atheist has joined #ruby
sivoais has joined #ruby
pdoherty has joined #ruby
Nahra has joined #ruby
epochwolf has quit [Changing host]
epochwolf has joined #ruby
sleepee has joined #ruby
rotor` has quit [Remote host closed the connection]
voodoofish430 has joined #ruby
caveat- has joined #ruby
ghr has joined #ruby
skarn has joined #ruby
Klumben has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rotor` has joined #ruby
cphrmky has joined #ruby
arrubin has joined #ruby
hrs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest37905 has joined #ruby
cocotton has quit [Ping timeout: 244 seconds]
rpag has joined #ruby
kalz has joined #ruby
Porpado has joined #ruby
nanoyak has joined #ruby
sleepee has quit [Max SendQ exceeded]
elfuego has joined #ruby
ValicekB has joined #ruby
sleepee has joined #ruby
codecop has quit [Remote host closed the connection]
avahey91 has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
Heero has joined #ruby
djbkd has joined #ruby
ggherdov has joined #ruby
zorak_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whichoneami is now known as djbender
BLuEGoD has joined #ruby
michaeldeol has joined #ruby
bronson has joined #ruby
mikepack has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
MissionCritical has joined #ruby
paulfm has quit [Quit: Goodbye]
josephndenton has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
porfa has joined #ruby
hrs has joined #ruby
Olipro has joined #ruby
Dwarf has joined #ruby
powersurge has joined #ruby
kl__ has joined #ruby
keelerm has joined #ruby
mloveless has quit [Remote host closed the connection]
djbkd has joined #ruby
hrs has quit [Client Quit]
leafybasil has joined #ruby
jheg has joined #ruby
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aef has joined #ruby
freezey has joined #ruby
rpag has quit [Quit: Leaving]
Quintasan has joined #ruby
evanjs has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skj3gg has joined #ruby
<skyjumper> quiet in here today
<diegoviola> we need more rubinius drama
<Dreamer3> a way to make ruby stop outputing by GC envs each time i run it?
<Dreamer3> 2.1.5
<Dreamer3> or maybe that's a flog "feature"?
<skyjumper> question regarding "casting" to boolean (!!expression) - someone on a forum said they'd "fire on the stop" any dev caught doing that
<skyjumper> er.. "fire on the spot"
<skyjumper> why is that such a high crime?
<apeiros> they didn't give a reason?
<Dreamer3> rofl
<Dreamer3> i do that for nil
<Dreamer3> to get false
<powersurge> anyone in here ever use the swagger-docs gem in conjunction with swagger-ui_rails?
<Dreamer3> fastest way to turn value nil into boolean i thought
<skyjumper> yeah, i can see it being convenient in edge cases
<apeiros> Dreamer3: since ! has become a method, I'd doubt that
russt has joined #ruby
<skyjumper> just want to know why it should be punishable by death
<powersurge> I'm having an issue where both the docs as well as the live api are using the base_path config option from the initializer and as a result I cannot get them both to work
<powersurge> only one or the other... very frustrating
<apeiros> I use ternary now if I don't want to leak internal state
<skyjumper> is there a betterw ay?
<apeiros> makes me a little sad
<apeiros> skyjumper: if they didn't give a reason on why it is bad, they're probably dogmatic zealots.
<skyjumper> apeiros: aha, that's what i suspected
<apeiros> and in that case, it doesn't really matter. either work elsewhere or follow orders without asking.
<powersurge> to be fair it is an incidental feature and there's probably a cleaner way
<powersurge> not really fireable though
<apeiros> and the "fire on the spot" part actually pushes the chances for that quite high.
<skyjumper> apeiros: or it's just internet hyperbole
<skyjumper> still, ternary is the better way?
<powersurge> nah people don't exagerate on the internet
<powersurge> don't be silly
<apeiros> if you want to avoid methods being called.
elfuego has quit [Quit: elfuego]
<apeiros> but: define "better".
<apeiros> varying mileages, yadda yadda…
<skyjumper> that's why i asked. what's the real violation?
<apeiros> remember that all values in ruby have truthiness. you only need something like !! or ? true : false if you want to avoid leaking internals.
phutchins has joined #ruby
<apeiros> cf. String#=~. it returns nil/Int
<skyjumper> and !! looks a lot cleaner, seems like it should be the ideal choice
mloveless has joined #ruby
<apeiros> but I've seen people arguing to even leak internals. that again is something which I consider a bad choice.
<skyjumper> arguing for leaking internals?
Killerkeksdose has joined #ruby
mjuszczak has joined #ruby
agrinb has joined #ruby
<apeiros> yes
<apeiros> as in "don't convert to boolean, just return the value, it's truthy already"
<skyjumper> seems dangerous
<apeiros> I agree.
<apeiros> people tend to see what a method does, not read its docs.
<apeiros> and then they rely on that behavior
<apeiros> and with mutable values, there's even more at stake.
mjuszczak has quit [Client Quit]
yvemath has joined #ruby
Porpado has left #ruby [#ruby]
daynaskully has quit [Quit: quit]
agrinb has quit [Ping timeout: 245 seconds]
fandi has joined #ruby
_Andres has quit [Quit: jazz]
<epitron> a good rule of thumb: always return the answer or nil, unless the method ends in a ?, in which case, always return true/false
momomomomo has joined #ruby
<apeiros> the inverse is usually true too: if your method returns true/false, it should have a name ending in ?. if it doesn't, it shouldn't.
* apeiros off, gn8
momomomomo has quit [Client Quit]
apeiros has joined #ruby
ecstaticpessimst has joined #ruby
miah has joined #ruby
fandi has quit [Ping timeout: 264 seconds]
JDiPierro has joined #ruby
bronson has quit [Remote host closed the connection]
shazaum has joined #ruby
charliesome has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
jerematic has joined #ruby
<Dreamer3> hmmm
<Dreamer3> so why is rbenv adding -w now
JDiPierro has quit [Remote host closed the connection]
<Dreamer3> that seems to add a bunch of GC info i don't need
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
jerematic has quit [Remote host closed the connection]
bronson has joined #ruby
devoldmx_ has joined #ruby
<bradland> rbenv adds -w?
iamjarvo has joined #ruby
baweaver has joined #ruby
powersurge has quit [Quit: WeeChat 0.4.3]
<bradland> Dreamer3: are you sure rbenv is adding -w?
jerematic has joined #ruby
<Dreamer3> it's in my shims
<bradland> ugh, that sucks
<bradland> maybe they’re doing that to punish people who use warn() lol
iamjarvo has quit [Client Quit]
IrishGringo has joined #ruby
poetazus has joined #ruby
sambao21 has joined #ruby
echevemaster has joined #ruby
commmmodo has joined #ruby
bl4ckdu5t has joined #ruby
bl4ckdu5t is now known as Guest54271
ghr has joined #ruby
n80 has joined #ruby
mary5030 has joined #ruby
odin22 has joined #ruby
pdoherty has quit [Remote host closed the connection]
<Dreamer3> .rbenv/versions/2.1.5/bin/flog
<Dreamer3> what builds these?
yfeldblum has joined #ruby
omnipotent1 has joined #ruby
<omnipotent1> I'm trying to set and array and then print it
<omnipotent1> set :var ['test']; puts var.inspect
DadoCe has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
rocco88 has joined #ruby
<Cat_1> >> var=['test']; puts var.inspect
<eval-in> Cat_1 => ["test"] ... (https://eval.in/242041)
uptownhr has quit [Quit: uptownhr]
<wallerdev> looks like hes using some DSL lol
mary5030 has quit [Ping timeout: 264 seconds]
<bradland> omnipotent1: set is not a keyword in ruby. it must be implemented by some library you’re using
<omnipotent1> oh, I'm using capistrano
<wallerdev> called it
<wallerdev> lol
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
escapement has joined #ruby
dfinninger has quit [Remote host closed the connection]
<Dreamer3> no it's rubygems doing it
<wallerdev> you're missing a comma after :var
agrinb has joined #ruby
<omnipotent1> just a typo
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
<omnipotent1> it's right in the codd
<omnipotent1> code
<wallerdev> well i think using set is for internal capistrano variables
DadoCe has quit [Ping timeout: 245 seconds]
<wallerdev> not sure how you access those if you can
<wallerdev> but it doesnt create ruby local variables
uptownhr has joined #ruby
maletor has joined #ruby
maletor has quit [Changing host]
maletor has joined #ruby
elfuego has joined #ruby
jack_rabbit has joined #ruby
kstuart has joined #ruby
St_Marx has joined #ruby
towski_ has joined #ruby
n80 has quit [Quit: n80]
C1V0 has joined #ruby
<Cat_1> oooh Globals
<Cat_1> booo
<wallerdev> looks more like it creates methods for the symbol you pick that are accessible inside task blocks
n80 has joined #ruby
nfk has quit [Quit: yawn]
jeregrine has quit []
baweaver has joined #ruby
rocco88 has quit []
davasaurous has joined #ruby
Musashi007 has joined #ruby
unstable has joined #ruby
shazaum has quit [Quit: Leaving]
ecstaticpessimst has quit [Ping timeout: 256 seconds]
jimeh has quit [Ping timeout: 244 seconds]
etdev has quit [Ping timeout: 244 seconds]
etdev has joined #ruby
digifiv5e has joined #ruby
diegovio1 has joined #ruby
digifiv5e is now known as Guest65453
fandi has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jimeh has joined #ruby
jerematic has quit [Remote host closed the connection]
Musashi007 has quit [Client Quit]
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
kl__ has quit [Ping timeout: 256 seconds]
amdbcg has joined #ruby
charliesome has quit [Quit: zzz]
n80 has quit [Quit: n80]
<unstable> I'm iterating over some json in ruby, and then it writes to a file. How can I make sure it always writes in an alphabetical way? eg, in python I can do sort_keys=True in json.dumps
escapement has quit [Read error: Connection reset by peer]
<bradland> yeah, i’m pretty sure wallerdev is right. set :symbol foo adds methods.
rkornmeyer has quit [Read error: Connection reset by peer]
iRockZ has quit [Remote host closed the connection]
<omnipotent1> ok, thanks guys
culturelabs has quit [Read error: Connection reset by peer]
dukedave has quit [Read error: Connection reset by peer]
KnownSyntax has quit [Read error: Connection reset by peer]
happyface has quit [Remote host closed the connection]
Vile` has joined #ruby
Akuma has joined #ruby
veduardo has joined #ruby
<wallerdev> unstable: i dont think there's anything built in for that
TheNet has joined #ruby
Zai00 has joined #ruby
Musashi007 has joined #ruby
fandi has quit [Excess Flood]
Zai00 has quit [Client Quit]
fandi has joined #ruby
zorak_ has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
<terrellt> unstable: I expect you'll have to sort your hash and then print that.
freezey has quit []
<unstable> terrellt: What is a good way to sort my hash?
<g-nom3> ruby nooby here... what is the correct way to parse a csv containing headers on first row ["column 1 has spaces", "column 2 has spaces", "column 3 has spaces"] into a new csv where "column 1 has spaces" is now named "index", "column 2 has spaces" is now named "owner", and "column 3 has spaces" is now named "location"?
<wallerdev> >> {'a' => 2, 'c' => 4, 'b' => 8}.sort_by { |k, v| k }
<eval-in> wallerdev => [["a", 2], ["b", 8], ["c", 4]] (https://eval.in/242047)
<wallerdev> then convert back to hash
fandi has quit [Excess Flood]
ta has joined #ruby
<wallerdev> and do it recursively
n80 has joined #ruby
<terrellt> >> Hash[{'a' => 2, 'c' => 4, 'b' => 8}.sort]
<wallerdev> but yeah seems pretty much pointless, doesnt matter what order the keys are in json
<eval-in> terrellt => {"a"=>2, "b"=>8, "c"=>4} (https://eval.in/242048)
jfran has joined #ruby
n1ftyn8 has quit [Remote host closed the connection]
djbender has quit [Remote host closed the connection]
OliverTynes has quit [Remote host closed the connection]
alol has quit [Remote host closed the connection]
charles81 has quit [Remote host closed the connection]
MiracleBlue_ has quit [Remote host closed the connection]
bjeanes_ has quit [Remote host closed the connection]
Darryl__ has quit [Remote host closed the connection]
ZucchiniZe has quit [Remote host closed the connection]
casual_ has quit [Remote host closed the connection]
vcoinminer has quit [Remote host closed the connection]
veduardo has quit [Quit: WeeChat 0.4.2]
veduardo has joined #ruby
<g-nom3> ^^ anyone left?
<skyjumper> yeah what happened
athan has joined #ruby
ta has quit [Ping timeout: 244 seconds]
<wallerdev> netsplit
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
randiman has joined #ruby
evanjs has joined #ruby
evanjs has quit [Remote host closed the connection]
kl__ has joined #ruby
<g-nom3> so anyone able to point me in the right direction here?
charliesome has joined #ruby
<wallerdev> probably just use any csv parsing library
DrCode has joined #ruby
devoldmx_ has quit [Read error: Connection reset by peer]
<wallerdev> and edit the header cells with whatever methods it provides
<wallerdev> keep in mind csv is not the most well specced out format, people often times make up their own rules for it
devoldmx_ has joined #ruby
<wallerdev> if possible try to get the output in something like json
<bradland> g-nom3: the Ruby CSV StdLib is pretty solid: http://www.ruby-doc.org/stdlib-2.2.0/libdoc/csv/rdoc/CSV.html
<g-nom3> thanks guys. i'm working my way through that doc... just taking a while to sink in i guess
chrishough has joined #ruby
davasaurous has quit [Ping timeout: 244 seconds]
studiotate has joined #ruby
<bradland> also, it’s not real clear there, but try passing a second argument to open CSV.open(filepath, headers: true) { |row| p row }
odin22 has quit [Read error: Connection reset by peer]
CrazyM4n_ has joined #ruby
veduardo has quit [Quit: WeeChat 0.4.2]
<bradland> when {headers: true} is passed in, each row will be a hash instead of an array
<g-nom3> thanks bradland. i did manage to get that far thankfully. hey because i'm a noob i'm gonna have some silly questions.. like this.. what is the p row you have in that block there
<bradland> with the header as the key
veduardo has joined #ruby
CrazyM4n has joined #ruby
<bradland> p is the same as calling `puts my_obj.inspect`
veduardo has quit [Client Quit]
<g-nom3> ah ok thanks
veduardo has joined #ruby
sdrew has joined #ruby
veduardo has quit [Client Quit]
jheg has quit [Quit: jheg]
veduardo has joined #ruby
<workmad3> bradland: it also returns the object... which makes it very useful for adding into things inline (puts just returns nil) :)
<workmad3> e.g. 'some_method(arg1, p(arg2), arg3)' <-- see what arg2 is without adding an extra line
veduardo has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
<bradland> nice
<bradland> never thought to use it in the arg list
veduardo has joined #ruby
<bradland> that’ll be a handy one for debugging the slop i write all the time lol
Soda has joined #ruby
veduardo has quit [Client Quit]
baweaver has quit [Remote host closed the connection]