jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
timanema has joined #ruby
Kallis has joined #ruby
aep-shoutlet has quit [Quit: Connection closed for inactivity]
jmignault has joined #ruby
Alina-malina has quit [Ping timeout: 260 seconds]
timanema has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 244 seconds]
Rodya_ has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
jmignault has quit [Ping timeout: 240 seconds]
brian has joined #ruby
Alina-malina has joined #ruby
brian is now known as Guest6630
Guest48 has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has joined #ruby
mdw_ has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
diablerouge has joined #ruby
Rickmasta has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
<shevy> neo__ start a ruby learning site!
spiette has quit [Quit: :qa!]
ta__ has joined #ruby
bkxd has joined #ruby
mattwashere has joined #ruby
finisherr has quit [Quit: finisherr]
ta_ has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
mdw_ has quit [Ping timeout: 244 seconds]
mdw has joined #ruby
smathy is now known as smathy_afk
<ICantCook> I'm trying to duplicate/clone a string using a=p.dup or a=p.clone
<ICantCook> and getting this error:
<ICantCook> /usr/local/lib/ruby/2.1.0/json/common.rb:155:in `encode': "\xE2" on US-ASCII (Encoding::InvalidByteSequenceError)
timanema has joined #ruby
<toretore> that's not where that error comes from
<toretore> gist your code
sdwrage has quit [Quit: This computer has gone to sleep]
<ICantCook> toretore: Ah, you're right. It's from elsewhere, where I'm parsing json
saneax is now known as saneax_AFK
bkxd has quit [Ping timeout: 246 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<ICantCook> got tricked because the data is always changing, and I happened too get this error after I added a string duplication
<ICantCook> is there a way to parse json which sometimes contains UTF8 characters?
frem_ has quit [Quit: Connection closed for inactivity]
jetpackjoe has quit [Ping timeout: 260 seconds]
<toretore> json always uses utf8, that's not the problem
mdw has quit [Ping timeout: 246 seconds]
timanema has quit [Ping timeout: 272 seconds]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattwashere has quit [Remote host closed the connection]
mdw has joined #ruby
Rickmasta has quit [Ping timeout: 252 seconds]
glcx has quit [Quit: Quitte]
Rickmasta has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #ruby
allcentury has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
kfrer has joined #ruby
djbkd has joined #ruby
aryaching_ has quit [Ping timeout: 252 seconds]
nettoweb has quit [Excess Flood]
vdamewood has quit [Quit: Life beckons.]
nettoweb has joined #ruby
bruce_lee has quit [Remote host closed the connection]
aryaching has joined #ruby
mistermocha has joined #ruby
Rickmasta has quit [Ping timeout: 246 seconds]
agent_white has quit [Quit: bai]
djbkd has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
FooMunki has quit [Quit: FooMunki]
blandflakes has joined #ruby
sdwrage has joined #ruby
Rickmasta has joined #ruby
memorasus has quit [Quit: memorasus]
blandflakes has quit [Client Quit]
memorasus has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
arlek has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Ping timeout: 240 seconds]
ramfjord has quit [Quit: leaving]
Rickmasta has joined #ruby
kfrer has quit [Quit: kfrer]
hahuang65 has joined #ruby
arlek has joined #ruby
hahuang61 has quit [Quit: WeeChat 1.5]
aryaching has quit [Ping timeout: 252 seconds]
RegulationD has quit [Remote host closed the connection]
c0mrad3 has quit [Quit: Connection closed for inactivity]
ponga has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<Radar> ICantCook: Small reproduciable example please.
moeabdol has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
<ICantCook> Radar: I haven't been able to get one. Sometimes it works, other times it fails
hahuang65 has quit [Quit: WeeChat 1.5]
hahuang65 has joined #ruby
AcidCrash0x00 has joined #ruby
jnoob22 has quit [Ping timeout: 258 seconds]
xaxisx has joined #ruby
freerobby has joined #ruby
AcidCrash has quit [Ping timeout: 246 seconds]
SCHAAP137 has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
neo__ has quit [Remote host closed the connection]
moeabdol has joined #ruby
neo_ has joined #ruby
arlek has quit [Ping timeout: 260 seconds]
weaksauce has joined #ruby
Nahra` has quit [Remote host closed the connection]
swills has joined #ruby
diablerouge has left #ruby ["Leaving"]
moeabdol has quit [Ping timeout: 246 seconds]
sdwrage has quit [Quit: Leaving]
Rickmasta has quit [Ping timeout: 272 seconds]
davedev24 has joined #ruby
Yzguy has joined #ruby
neo_ has quit [Ping timeout: 264 seconds]
mistermocha has quit [Remote host closed the connection]
Nahra has joined #ruby
`tim` has joined #ruby
Rickmasta has joined #ruby
jnoob22 has joined #ruby
Nawn has joined #ruby
mistermocha has joined #ruby
xall has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
ta__ has quit [Ping timeout: 264 seconds]
cooldavid has joined #ruby
<cooldavid> hi
<havenwood> cooldavid: hi
Nawn has quit [Remote host closed the connection]
<cooldavid> I want to connect to an HTTP API and listen for some events, parse the received events... and so on, but I want to keep the stream open (no polling) and reconnect to the stream if the connection is killed, the part I'm not sure how to handle is hwo to keep the connection open
<cooldavid> how*
ta_ has joined #ruby
arlek has joined #ruby
<cooldavid> any recommendations?
darkman738 has joined #ruby
wixad_ has quit [Quit: Leaving]
<darkman738> Hi all
GodFather has quit [Remote host closed the connection]
<havenwood> cooldavid: Consider using one of Ruby's HTTP libraries that support keep-alive, like the gems http, mechanize, httpclient, em-http-request, curb, typhoeus or net-http-persistent.
<havenwood> darkman738: hi
cdg has quit [Remote host closed the connection]
<darkman738> Perhaps someone can give me some guidance for a n00b.
SCHAAP137 has quit [Quit: Leaving]
<havenwood> cooldavid: ^ that's one very nice option, but all of those I listed support keep-alive and are solid gems
d0nn1e has quit [Ping timeout: 240 seconds]
<nerium> Does anyone know if there’s a selectorgadget gem for ruby?
Rickmasta has quit [Ping timeout: 272 seconds]
<havenwood> darkman738: ask away
<cooldavid> havenwood: thanks, I'll look into those, I appreciate it
<havenwood> cooldavid: you're welcome
<cooldavid> perfect, thanks
rkazak has quit [Quit: Sleep.....ing....]
d0nn1e has joined #ruby
cooldavid has quit [Quit: leaving]
<darkman738> I've got a hash that I'm working with that contains keys which are a label for my drop down, which is referenced on submission to get its corresponding value. The hurdle I'm trying to work around is that I'd like the visable forms to change on selection based on the value of the selected key, but I don't want to expose the actual values to the view.
<Radar> darkman738: Is this a Rails app?
<darkman738> Yes
<darkman738> Sorry, should have mentioned
<Radar> darkman738: I have an example for that: https://github.com/radar/selector
<Radar> darkman738: Please ask Rails questions over in #rubyonrails next time.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<darkman738> Thanks, was trying to figure out the channel
pawnbox has joined #ruby
SilverKey has joined #ruby
moei has quit [Quit: Leaving...]
tds5016 has quit [Quit: Page closed]
lukebyrne has joined #ruby
xaxisx has quit [Ping timeout: 252 seconds]
xaxisx_ has joined #ruby
pawnbox has quit [Ping timeout: 258 seconds]
SilverKey has quit [Client Quit]
swills has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
lukebyrne has quit [Quit: lukebyrne]
gusrub has quit [Quit: Leaving]
jaguarmagenta has joined #ruby
jhack has quit [Quit: jhack]
Spami has quit [Quit: This computer has gone to sleep]
darkman738 has quit [Remote host closed the connection]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
darkman738 has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
jaguarmagenta has quit [Ping timeout: 244 seconds]
mistermocha has quit [Remote host closed the connection]
rkazak has joined #ruby
darkman738 has quit [Remote host closed the connection]
mistermocha has joined #ruby
karmatr0n has joined #ruby
swills has joined #ruby
dcunit3d has quit [Ping timeout: 258 seconds]
mattwashere has joined #ruby
crystal77 has joined #ruby
snath has joined #ruby
mistermocha has quit [Remote host closed the connection]
Spami has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Ping timeout: 258 seconds]
jackjackdripper has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burjn9x has joined #ruby
<burjn9x> hi everybody.. could you pls guide me how to learn ruby language best?
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
mattwashere has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has joined #ruby
memorasus has quit [Ping timeout: 252 seconds]
neo_ has joined #ruby
<shevy> burjn9x first programming language or do you know another one already
aryaching has joined #ruby
Yzguy has quit [Quit: Cya]
memorasus has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
jackjackdripper1 has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 260 seconds]
jackjackdripper2 has joined #ruby
neo_ has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
postmodern has quit [Quit: Leaving]
xall has joined #ruby
jackjackdripper1 has quit [Ping timeout: 260 seconds]
Spami has quit [Quit: This computer has gone to sleep]
jackjackdripper has joined #ruby
jackjackdripper2 has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
safe has joined #ruby
timanema has joined #ruby
roamingdog has joined #ruby
snsei has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.5]
timanema has quit [Ping timeout: 246 seconds]
quakephil has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
xaxisx_ has quit [Quit: Leaving]
xall has quit [Ping timeout: 258 seconds]
xall has joined #ruby
enterprisey has joined #ruby
willian has joined #ruby
crystal77 has quit [Read error: Connection reset by peer]
skweek has joined #ruby
xall has quit [Read error: Connection reset by peer]
<burjn9x> hi shevy. thanks you. currently i know about java language.
edwardly has quit [Ping timeout: 240 seconds]
memorasus has quit [Ping timeout: 252 seconds]
ornerymoose has joined #ruby
ornerymoose has quit [Read error: Connection reset by peer]
ornerymoose has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nankyokusei has joined #ruby
crystal77 has joined #ruby
tristanp has joined #ruby
crystal77 has quit [Client Quit]
tristanp_ has quit [Ping timeout: 258 seconds]
ta_ has quit [Ping timeout: 260 seconds]
ta__ has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
Guest6630 has quit [Ping timeout: 252 seconds]
jetpackjoe has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
<Radar> ?twgr burjn9x:
<ruby[bot]> Radar: I don't see no burjn9x:, whom should I tell about twgr?
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Radar> ?twgr burjn9x
<ruby[bot]> burjn9x: The Well Grounded Rubyist: https://www.manning.com/books/the-well-grounded-rubyist-second-edition - A great book for learning Ruby.
neo_ has joined #ruby
<burjn9x> Radar. i am just new member. so what 's twgr?
<Radar> burjn9x: look at what ruby[bot] sent you
<burjn9x> ruby[bot]. Thank you so much.
braincras has quit [Quit: bye bye]
nettoweb has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has joined #ruby
safe has quit [Quit: Leaving]
nettoweb has quit [Ping timeout: 272 seconds]
davedev24 has quit []
jetpackj1 has joined #ruby
jetpackjoe has quit [Ping timeout: 260 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
maloik has quit [Remote host closed the connection]
k3rn31 has joined #ruby
maloik has joined #ruby
jud has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
xlegoman has joined #ruby
crystal77 has joined #ruby
willian has quit [Remote host closed the connection]
braincras has joined #ruby
gix has quit [Ping timeout: 258 seconds]
brian has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
brian is now known as Guest93838
mattwashere has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
xall has joined #ruby
northfurr has joined #ruby
mikecmpbll has joined #ruby
gix has joined #ruby
northfurr has quit [Client Quit]
rkazak has joined #ruby
pawnbox has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 240 seconds]
specialblend_ has joined #ruby
rkazak has quit [Client Quit]
jaguarmagenta has joined #ruby
globalall0c has quit [Ping timeout: 272 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
bklane has joined #ruby
Guest93838 has quit [Ping timeout: 272 seconds]
arescorpio has joined #ruby
hk238 has joined #ruby
dezull has joined #ruby
diegoaguilar has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
<specialblend_> hey do you think it’s a good idea to use a DRB daemon to connect to an MQTT broker to publish to a topic, since it’ll just maintain 1 long connection vs connecting each time an event from the server happens and pushing to a topic.
xall has quit [Ping timeout: 272 seconds]
tmtwd has joined #ruby
sambio has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Dimik1 has joined #ruby
northfurr has joined #ruby
ebbflowgo has left #ruby [#ruby]
ta__ has quit [Ping timeout: 258 seconds]
ta_ has joined #ruby
guardianJ has joined #ruby
northfurr has quit [Read error: Connection reset by peer]
jetpackj1 has quit [Quit: WeeChat 1.5]
bkxd has joined #ruby
Ropeney has joined #ruby
Dimik1 has quit [Ping timeout: 260 seconds]
dezull has quit [Quit: Leaving]
Rodya_ has quit [Quit: Leaving...]
bkxd has quit [Ping timeout: 264 seconds]
moeabdol has joined #ruby
yardenbar has joined #ruby
guardianJ has quit [Remote host closed the connection]
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
zapata has quit [Quit: WeeChat 1.5]
moeabdol has quit [Ping timeout: 240 seconds]
kp666 has quit [Ping timeout: 244 seconds]
jord-n has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
snath has quit [Ping timeout: 276 seconds]
Azure has quit [Remote host closed the connection]
User458764 has joined #ruby
djbkd has joined #ruby
guardianJ has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
neo_ has quit [Remote host closed the connection]
brian_ has joined #ruby
neo_ has joined #ruby
ornerymoose_ has joined #ruby
ornerymoose has quit [Ping timeout: 252 seconds]
ornerymoose_ is now known as ornerymoose
eljimmy has quit [Quit: This computer has gone to sleep]
jordanm has quit [Remote host closed the connection]
northfurr has joined #ruby
jordanm has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
quazimodo has joined #ruby
<quazimodo> so
guardianJ has quit [Remote host closed the connection]
<quazimodo> there's this ruby project that's like a shell, but instead of benig 1 line it's a text editor buffer
<quazimodo> it can do crazy stuff like change db records, etc
<quazimodo> buti .. i can *not* remember it's name
snath has joined #ruby
yardenbar has quit [Ping timeout: 272 seconds]
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
Hyuk has joined #ruby
k3rn31 has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
moei has joined #ruby
jetpackjoe has joined #ruby
Es0teric has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
nullfxn has joined #ruby
mikecmpbll has joined #ruby
pawnbox has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
ta_ has quit [Ping timeout: 264 seconds]
yaewa has joined #ruby
ta_ has joined #ruby
mistermocha has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
moei has quit [Ping timeout: 260 seconds]
mistermo_ has joined #ruby
timanema has joined #ruby
kp666 has joined #ruby
nankyokusei has joined #ruby
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
xall has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 250 seconds]
mistermo_ has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jordanm has quit [Remote host closed the connection]
timanema has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
kareeoleez has joined #ruby
jordanm has joined #ruby
neo_ has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
brian_ has quit [Ping timeout: 276 seconds]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
the_drow has joined #ruby
saneax_AFK is now known as saneax
terminalrecluse has joined #ruby
specialblend_ has quit [Quit: specialblend_]
xall has quit [Ping timeout: 258 seconds]
jnoob22 has quit [Quit: Leaving]
User458764 has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
User458764 has quit [Client Quit]
urbanmonk has joined #ruby
soLucien has joined #ruby
lightt has joined #ruby
<soLucien> hello guys ! Does anyone know how i can refer to a windows path (C:\something\somewhere) using rfc3986_parser.rb ?
<soLucien> lib/ruby/2.2.0/uri/rfc3986_parser.rb
pawnbox has joined #ruby
nettoweb has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
nullfxn has quit [Quit: leaving]
<Radar> soLucien: Why do you want to do that? Do you really want a file:/// path?
lightt has quit [Read error: Connection reset by peer]
<soLucien> it seems so
<soLucien> i mean Vagrant tries to interpret it using
<soLucien> this class
<soLucien> so i need to refer to it as something that can be parsed using that
kareeoleez has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
northfurr has quit [Quit: northfurr]
kareeoleez has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
lukebyrne has joined #ruby
neo_ has quit [Remote host closed the connection]
kareeoleez has quit [Ping timeout: 260 seconds]
neo_ has joined #ruby
brian has joined #ruby
brian is now known as Guest80017
arlek has quit [Ping timeout: 260 seconds]
neo_ has quit [Ping timeout: 250 seconds]
ta__ has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
tmtwd has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Remote host closed the connection]
kareeoleez has joined #ruby
jordanm has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
jordanm has joined #ruby
kareeoleez has joined #ruby
sauvin has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
phrozen77 has joined #ruby
kareeoleez has quit [Remote host closed the connection]
phrozen77 has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
jordanm has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
ag4ve_ has joined #ruby
djbkd has joined #ruby
jordanm has joined #ruby
kareeoleez has joined #ruby
yardenbar has joined #ruby
jordanm has quit [Remote host closed the connection]
Akuma has quit [Ping timeout: 252 seconds]
jordanm has joined #ruby
cyphase has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
Niham has joined #ruby
cyphase has joined #ruby
cyphase has quit [Max SendQ exceeded]
cyphase has joined #ruby
moeabdol has joined #ruby
lukebyrne has quit [Quit: lukebyrne]
aeterne has quit [Read error: Connection reset by peer]
Es0teric has quit [Quit: Computer has gone to sleep.]
tmtwd has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
lukebyrne has joined #ruby
karmatr0n has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
aufi has joined #ruby
UserInNeed has quit [Ping timeout: 244 seconds]
zacstewart has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
bkxd has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
UserInNeed has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
jetpackjoe has quit [Quit: WeeChat 1.5]
Madplatypus is now known as WhiteRabbit
WhiteRabbit is now known as Madplatypus
sandelius has joined #ruby
mattwashere has joined #ruby
neo_ has joined #ruby
RegulationD has joined #ruby
beatdown has quit [Quit: ZNC 1.6.1 - http://znc.in]
atmosx_alt is now known as atmosx
neo_ has quit [Ping timeout: 244 seconds]
bklane has quit [Remote host closed the connection]
f4cl3y has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
f4cl3y has quit [Remote host closed the connection]
strigon33 has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
strigonLeader has quit [Ping timeout: 244 seconds]
arescorpio has quit [Quit: Leaving.]
Omen has joined #ruby
Omen is now known as Guest67129
TomyLobo has joined #ruby
pawnbox has joined #ruby
last_staff has joined #ruby
lightt has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
UserInNeed has quit [Ping timeout: 260 seconds]
Sucks has joined #ruby
zacstewart has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
kareeole_ has joined #ruby
Sucks has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
Sucks has joined #ruby
fenre has joined #ruby
Dimik has joined #ruby
kareeol__ has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patrick_star has joined #ruby
LoneHerm_ has joined #ruby
kareeol__ is now known as kareeoleez_
exchgr has quit [Ping timeout: 258 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
speakingcode has joined #ruby
ta_ has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
Sucks has quit [Client Quit]
kareeoleez has quit [Ping timeout: 260 seconds]
Sucks has joined #ruby
yfeldblum has joined #ruby
emilkarl has joined #ruby
kareeole_ has quit [Ping timeout: 272 seconds]
fenre has quit []
ag4ve_ has quit [Read error: Connection reset by peer]
Niham has joined #ruby
fenre has joined #ruby
vuoto has joined #ruby
vqrs has quit [Ping timeout: 244 seconds]
jordanm has quit [Remote host closed the connection]
agit0 has joined #ruby
jordanm has joined #ruby
craigp has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
vqrs has joined #ruby
moeabdol has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
Guest80017 has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
craigp has quit [Ping timeout: 260 seconds]
conta has joined #ruby
lightt has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
TvL2386 has quit [Remote host closed the connection]
ur5us has joined #ruby
d0lph1n98 has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
binaryplease1 has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
nettoweb has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
Hyuk has joined #ruby
roamingdog has joined #ruby
dionysus69 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Axy has joined #ruby
timanema has joined #ruby
AnoHito_ has joined #ruby
yfeldblum has joined #ruby
nankyokusei has joined #ruby
Tempesta_ has joined #ruby
Radar_ has joined #ruby
tonini_ has joined #ruby
aryaching has quit [Remote host closed the connection]
nettoweb has quit [Ping timeout: 260 seconds]
Bloodshot_ has joined #ruby
andikr has joined #ruby
aryaching has joined #ruby
firstdayonthejob has quit [Ping timeout: 276 seconds]
p0p0pr37_ has joined #ruby
PaulePan1er has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
timanema has quit [Ping timeout: 244 seconds]
[ace]_ has joined #ruby
binaryplease1 is now known as binaryplease
kallisti6 has joined #ruby
chrisarc1nd has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
uxp_ has joined #ruby
DefV_ has joined #ruby
pontiki_ has joined #ruby
Skelz0r has joined #ruby
shadeslayer_ has joined #ruby
ledestin_ has joined #ruby
conta has quit [Quit: conta]
KrzaQ- has joined #ruby
yossarian has joined #ruby
yossarian has quit [Excess Flood]
ptx0_ has joined #ruby
scottschecter_ has joined #ruby
Sthebig_ has joined #ruby
Sthebig_ has quit [Changing host]
Sthebig_ has joined #ruby
_mak has joined #ruby
Guest42010 has joined #ruby
bodie__ has joined #ruby
jpterry_ has joined #ruby
hays has joined #ruby
havenn has joined #ruby
havenn has joined #ruby
Ankhers_ has joined #ruby
blaxter has joined #ruby
DanKnox_ has joined #ruby
valeri_uF0 has joined #ruby
vqrs_ has joined #ruby
canton7_ has joined #ruby
IcyDragon has joined #ruby
jordanm has quit [Remote host closed the connection]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
jordanm has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
blaxter has quit [Client Quit]
x0f_ has joined #ruby
samuelkadolph_ has joined #ruby
Es0teric has joined #ruby
RedDwarf has joined #ruby
aryaching has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
blaxter has joined #ruby
AustinIncognito has joined #ruby
conta has joined #ruby
joevandy1 has joined #ruby
chihhsin_ has joined #ruby
tolland_ has joined #ruby
amclain has quit [Quit: Leaving]
SirFunk_ has joined #ruby
Radar has quit [Disconnected by services]
Radar_ is now known as Radar
kareeoleez_ is now known as kareeoleez
Radar has quit [Changing host]
Radar has joined #ruby
Emmanuel_Chanel_ has joined #ruby
RegulationD has joined #ruby
rapha_ has joined #ruby
Silex^^ has joined #ruby
tenc has joined #ruby
vqrs has quit [*.net *.split]
ledestin has quit [*.net *.split]
p0p0pr37 has quit [*.net *.split]
AustinMatherne has quit [*.net *.split]
hays_ has quit [*.net *.split]
Mia has quit [*.net *.split]
AnoHito has quit [*.net *.split]
Ishido has quit [*.net *.split]
ifsp has quit [*.net *.split]
pontiki has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
spudowiar has quit [*.net *.split]
jpterry has quit [*.net *.split]
Ankhers has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
Tempesta has quit [*.net *.split]
scottschecter has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
rapha has quit [*.net *.split]
bodie_ has quit [*.net *.split]
e4xit has quit [*.net *.split]
erlend has quit [*.net *.split]
johnDoe111 has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
mikeiniowa has quit [*.net *.split]
Silex has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
IceDragon has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
DefV has quit [*.net *.split]
Skelz0r_ has quit [*.net *.split]
havenwood has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
Bloodshot has quit [*.net *.split]
Zackio has quit [*.net *.split]
uxp has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
kallisti5 has quit [*.net *.split]
tonini has quit [*.net *.split]
SirFunk has quit [*.net *.split]
woodruffw has quit [*.net *.split]
chihhsin has quit [*.net *.split]
tolland has quit [*.net *.split]
[ace] has quit [*.net *.split]
Sthebig has quit [*.net *.split]
x0f has quit [*.net *.split]
ptx0 has quit [*.net *.split]
DanKnox has quit [*.net *.split]
canton7 has quit [*.net *.split]
joevandyk has quit [*.net *.split]
canton7_ is now known as canton7
samuelkadolph_ is now known as samuelkadolph
jpterry_ is now known as jpterry
bodie__ is now known as bodie_
Sthebig_ is now known as Sthebig
havenn is now known as havenwood
valeri_uF0 is now known as valeri_ufo
p0p0pr37_ is now known as p0p0pr37
ur5us has joined #ruby
spudowiar1 has joined #ruby
Ishido has joined #ruby
tonini_ is now known as tonini
RegulationD has quit [Ping timeout: 264 seconds]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
Hounddog has joined #ruby
mikecmpbll has joined #ruby
pandaant has joined #ruby
tmtwd has joined #ruby
Guest95150 has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
mgbowman has joined #ruby
mgbowman has left #ruby [#ruby]
codecop has joined #ruby
nettoweb has quit [Ping timeout: 244 seconds]
karmatr0n has quit [Ping timeout: 250 seconds]
xall has joined #ruby
Macaveli has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
jaruga___ has joined #ruby
futilegames has joined #ruby
bigkevmcd has joined #ruby
e4xit has joined #ruby
johnDoe111 has joined #ruby
neanderslob has quit [Ping timeout: 250 seconds]
wjimenez5271 has joined #ruby
roamingdog has quit [Remote host closed the connection]
neanderslob has joined #ruby
solars has joined #ruby
emilkarl has joined #ruby
Tristan-Speccy has joined #ruby
Tristan-Speccy is now known as Guest3885
biberu has joined #ruby
zacstewart has joined #ruby
roamingdog has joined #ruby
ensyde has joined #ruby
larsss has left #ruby [#ruby]
madgen has joined #ruby
exchgr has joined #ruby
Guest67129 has quit [Ping timeout: 260 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
rkazak has quit [Quit: Sleep.....ing....]
futilegames has quit [Quit: futilegames]
zacstewart has quit [Ping timeout: 272 seconds]
yet_one has joined #ruby
<yet_one> Hello! I'm trying to compile subtle wm with rake, but it fails since no ruby/config.h is exists in /usr/include/ruby-2.3.0/ on ubuntu 16, in git repo it doesn't exist too but line is still exist. Where is a problem?
ta_ has joined #ruby
haxrbyte has joined #ruby
joonty has joined #ruby
Silthias1 has joined #ruby
fenre has quit [Remote host closed the connection]
<yet_one> oh, I've got it
pLaToOn has joined #ruby
<yet_one> config.h was placed by package in separate directory /usr/include/x86_64-linux-gnu/ruby-2.3.0/ruby/
Silthias has quit [Ping timeout: 260 seconds]
ag4ve has joined #ruby
n1x-nz has joined #ruby
Silthias1 has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Remote host closed the connection]
craigp has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
lukebyrne has quit [Quit: lukebyrne]
yfeldblum has quit [Ping timeout: 250 seconds]
djbkd has quit [Quit: My people need me...]
ksmutthu has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
Silthias has joined #ruby
ksmutthu_ has joined #ruby
TomyWork has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
haxrbyte has quit [Remote host closed the connection]
ksmutthu has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
xall has quit [Ping timeout: 258 seconds]
PaulePan1er is now known as PaulePanter
multi_io has quit [Ping timeout: 244 seconds]
tmtwd has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
kedare has joined #ruby
Es0teric has joined #ruby
multi_io has joined #ruby
antgel has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
skade has joined #ruby
ngw has joined #ruby
guardianJ has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
lxsameer has joined #ruby
ksmutthu has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
ksmutthu_ has quit [Ping timeout: 244 seconds]
guardianJ has quit [Remote host closed the connection]
Gasher has joined #ruby
RegulationD has joined #ruby
djbkd has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmtwd has quit [Ping timeout: 260 seconds]
DTZUBDUB has joined #ruby
Charles_CV has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
yet_one has quit [Quit: Page closed]
yfeldblum has joined #ruby
wigust has joined #ruby
wigust has quit [Remote host closed the connection]
Xeago_ has joined #ruby
mikecmpbll has joined #ruby
KrzaQ- is now known as KrzaQ
johnDoe111 has quit [Ping timeout: 240 seconds]
ocbtec has joined #ruby
emilkarl has joined #ruby
lessless has joined #ruby
madgen has quit [Ping timeout: 276 seconds]
User458764 has joined #ruby
Snowy has joined #ruby
LACampbell has joined #ruby
djbkd has quit [Remote host closed the connection]
madgen has joined #ruby
pawnbox_ has joined #ruby
zacstewart has joined #ruby
karmatr0n has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
<LACampbell> is there a way to force re-evaluation of required files?
<LACampbell> like if I load a.rb, which requires b.rb
<LACampbell> inside IRB, I mean.
Nahra has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has quit [Ping timeout: 244 seconds]
karmatr0n has quit [Ping timeout: 264 seconds]
mrgrieves has joined #ruby
<jhass> use load instead of require
<jhass> beware, strange things will happen
YaknotiS has quit [Quit: Leaving]
<LACampbell> jhass, such as?
<LACampbell> I am basically using one huge file at the minute, just so I can realod it easily in irb and test stuff out
<jhass> already defined constants, old code not completely vanishing etc
LACampbell has left #ruby ["Ex-Chat"]
LACampbell has joined #ruby
fenre has joined #ruby
<LACampbell> jhass, ah right.
<jhass> it's not "replace code" but load version A and B at the same time
quakephil has joined #ruby
<LACampbell> maybe I should just start irb everytime I make new changes
<jhass> ;)
strigon33 has quit [Ping timeout: 240 seconds]
<jhass> or just get pry, call binding.pry somewhere in your stuff and run it normally
pawnbox_ has quit [Remote host closed the connection]
<LACampbell> pry seems pretty convoluted. I think I'll just restart irb, seems the cleanest way
<LACampbell> it starts up fast anyway
dionysus69 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
<jhass> basic usage is just the same as irb
<jhass> pick up its features as you go
<jhass> I promise in a week you forgot irb exists
bigkevmcd has joined #ruby
<LACampbell> thanks for the tip. I have a lot on my plate as it is, but I'll keep it in mind.
kfrer has joined #ruby
harfangk has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
LoneHerm_ has joined #ruby
Didac has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
timanema has joined #ruby
joonty has joined #ruby
nankyokusei has joined #ruby
madgen has quit [Ping timeout: 252 seconds]
Sucks has quit [Ping timeout: 264 seconds]
LoneHerm_ has quit [Ping timeout: 244 seconds]
Didac has joined #ruby
nhhc has joined #ruby
timanema has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mattwashere has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
LACampbell has left #ruby ["Ex-Chat"]
Bish has quit [Read error: Connection reset by peer]
Bish has joined #ruby
troulouliou_div2 has joined #ruby
mattwashere has quit [Ping timeout: 252 seconds]
Nahra has joined #ruby
roamingdog has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 272 seconds]
LACampbell has joined #ruby
<LACampbell> is there a way to do something like "gensym" in ruby? ie genearate a unique symbol or string
c0mrad3 has joined #ruby
symm- has joined #ruby
edwinvdgraaf has joined #ruby
RegulationD has joined #ruby
Silthias has left #ruby [#ruby]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
pawnbox has joined #ruby
koooge has quit [Quit: Leaving...]
harfangk has quit [Quit: harfangk]
timanema has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
<jhass> what do you need it for?
<jhass> unique in what scope?
Silthias has joined #ruby
LACampbell_ has joined #ruby
timanema has quit [Ping timeout: 258 seconds]
strigonLeader has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
LACampbell has quit [Ping timeout: 244 seconds]
Silthias has quit [Client Quit]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
YaknotiS has joined #ruby
edwinvdg_ has joined #ruby
zacstewart has joined #ruby
n1x-nz has quit [Ping timeout: 264 seconds]
kfrer has quit [Quit: kfrer]
nofxx has quit [Ping timeout: 258 seconds]
LACampbell_ has quit [Ping timeout: 264 seconds]
edwinvdgraaf has quit [Ping timeout: 276 seconds]
jmignault has joined #ruby
workmad3 has joined #ruby
kp666 has quit [Ping timeout: 276 seconds]
etehtsea has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
edwinvdg_ has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
neo__ has joined #ruby
jmignault has quit [Ping timeout: 250 seconds]
timanema has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has joined #ruby
duncannz has quit [Remote host closed the connection]
marr has joined #ruby
neo__ has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
timanema has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
LACampbell_ has joined #ruby
Silthias has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
edwinvdg_ has joined #ruby
fenre has quit [Remote host closed the connection]
LACampbell_ has quit [Read error: Connection reset by peer]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
edwinvdgraaf has quit [Ping timeout: 246 seconds]
madgen has joined #ruby
Xeago_ has quit [Remote host closed the connection]
aryaching has joined #ruby
LoneHermit has joined #ruby
ur5us has quit [Remote host closed the connection]
tvw has quit []
etehtsea has quit [Ping timeout: 272 seconds]
tvw has joined #ruby
timanema has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
Oclair has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
n1x-nz has joined #ruby
timanema has quit [Ping timeout: 258 seconds]
kedare has quit [Quit: Leaving]
<adaedra> Hi
bkxd has joined #ruby
mdw has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
flughafen_ has quit [Quit: WeeChat 1.3]
bigkevmcd has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
brahmana has joined #ruby
moei has quit [Quit: Leaving...]
<brahmana> Hi all...
bkxd has quit [Ping timeout: 258 seconds]
<brahmana> Are the variables declared in irb outside of any function global variables?
<shevy> brahmana a global variable has leading $
<brahmana> They are not accessible inside a function defined on the irb
mradmacher has joined #ruby
jaruga___ has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
<brahmana> shevy: Ok, so the scope of the variable defined on irb console without the $ is not available inside a method is it?
yfeldblum has quit [Ping timeout: 250 seconds]
<shevy> local variables defined outside are not available inside a method
RegulationD has joined #ruby
<brahmana> shevy: Got it. Thanks.
<shevy> @ivars would often be used for that
<brahmana> You mean @ivars in the scope of irb console?
RegulationD has quit [Ping timeout: 240 seconds]
fenre has joined #ruby
quazimodo has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
minimalism has quit [Quit: minimalism]
Tempesta_ is now known as Tempesta
Tempesta has quit [Changing host]
Tempesta has joined #ruby
n1x-nz has quit [Quit: Computer says no]
johnmilton has quit [Remote host closed the connection]
ag4ve has quit [Ping timeout: 240 seconds]
k3rn31 has joined #ruby
SilverKey has joined #ruby
Niham has joined #ruby
zacstewart has joined #ruby
<shevy> brahmana irb is about 99% like ruby code
skade has quit [Quit: Computer has gone to sleep.]
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<brahmana> shevy: Ok. What I did not understand was how would @ivars or $gvars make a difference in the case of irb?
DoubleMalt has quit [Ping timeout: 272 seconds]
<brahmana> Both would be available across all the methods defined on irb right? Effectively making @ivars also global
zacstewart has quit [Ping timeout: 264 seconds]
<shevy> you keep on mentioning irb as if it would be hugely different from ruby itself
<shevy> @ivars still have a scope; if you define them like in module Foo; @foo = 42; end, this will be different from @foo toplevel - https://banisterfiend.wordpress.com/2010/11/23/what-is-the-ruby-top-level/
hk238 has joined #ruby
allcentury has joined #ruby
hiddenloop has left #ruby [#ruby]
sepp2k has joined #ruby
emilkarl has joined #ruby
millerti has joined #ruby
SilverKey has quit [Quit: Halted.]
ensyde has quit [Ping timeout: 260 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
A124 has quit [Quit: '']
emilkarl_ has joined #ruby
emilkarl has quit [Ping timeout: 244 seconds]
A124 has joined #ruby
brahmana has quit [Ping timeout: 250 seconds]
Xeago_ has joined #ruby
Azure has joined #ruby
symm- has quit [Ping timeout: 258 seconds]
rodfersou has joined #ruby
sebstrax has joined #ruby
LoneHermit has joined #ruby
nankyokusei has joined #ruby
roamingdog has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
Xeago_ has quit [Ping timeout: 260 seconds]
ferr1 has joined #ruby
moei has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
madgen has quit [Ping timeout: 252 seconds]
ksmutthu has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
edwinvdg_ has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
ksmutthu has joined #ruby
madgen has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
snebel has joined #ruby
ensyde has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
rbr has quit [Ping timeout: 244 seconds]
edwinvdg_ has quit [Ping timeout: 250 seconds]
roamingdog has quit [Remote host closed the connection]
mdw has joined #ruby
d0lph1n98 has quit [Ping timeout: 244 seconds]
<snebel> Anybody running ruby scripts using RVM with gemsets and using chef to install?
RegulationD has joined #ruby
mello has quit [Remote host closed the connection]
skade has joined #ruby
<snebel> I'm struggling to make it works since the rvm cd wrapper creates the gemsets when cding but with chef is not working
<snebel> I can workaround on different ways but I'd like to find and elgant and common solutions
<snebel> if there is one..
madgen has quit [Ping timeout: 244 seconds]
<jhass> I guess the two common solutions are rvm do and rvm wrappers
Bish has quit [Ping timeout: 244 seconds]
Bish has joined #ruby
burjn9x has quit [Ping timeout: 250 seconds]
mdw has quit [Ping timeout: 260 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
sdothum has joined #ruby
chip_ has joined #ruby
dcunit3d has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
nettoweb has joined #ruby
ksmutthu has quit [Ping timeout: 260 seconds]
jord-n has joined #ruby
karmatr0n has joined #ruby
ag4ve has joined #ruby
AlexJakeGreen has joined #ruby
Xeago_ has joined #ruby
mistermocha has joined #ruby
bruce_lee has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
karmatr0n has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
<snebel> ok thanks I'll take a look to them :-)
jmignault has joined #ruby
mdw has joined #ruby
ensyde has quit [Ping timeout: 246 seconds]
mdw has quit [Max SendQ exceeded]
zacstewart has joined #ruby
mdw has joined #ruby
Tricon has quit [Quit: Lost terminal]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 244 seconds]
joonty has quit [Quit: This computer has gone to sleep]
ensyde has joined #ruby
Miron has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
millerti has joined #ruby
Hyuk has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
zacstewart has quit [Ping timeout: 250 seconds]
mello has joined #ruby
sulky has quit [Ping timeout: 252 seconds]
jinie has joined #ruby
symm- has joined #ruby
Xeago_ has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
jottr has quit [Ping timeout: 258 seconds]
johnmilton has joined #ruby
Xeago_ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
jaguarmagenta has joined #ruby
fenre has quit [Remote host closed the connection]
k3rn31 has joined #ruby
hanmac has quit [Ping timeout: 260 seconds]
Ankhers_ is now known as Ankhers
jaguarmagenta has quit [Ping timeout: 244 seconds]
millerti has joined #ruby
ensyde__ has joined #ruby
haxrbyte has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
haxrbyte has joined #ruby
ldnunes has joined #ruby
rann has joined #ruby
skade has joined #ruby
ensyde has quit [Ping timeout: 276 seconds]
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby
mdw has quit [Ping timeout: 246 seconds]
Tricon has joined #ruby
timanema has joined #ruby
iwmrby has joined #ruby
hanmac has joined #ruby
madgen has joined #ruby
joonty has joined #ruby
edwinvdgraaf has joined #ruby
<guardian> hello
<guardian> how to reuse tests in 2 different contexts with rspec?
d0lph1n98 has joined #ruby
pawnbox has quit [Remote host closed the connection]
<guardian> I have context1 and context2, I have the same describe block in each context, only contexts initialization differ
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timanema has quit [Ping timeout: 250 seconds]
rkoller has joined #ruby
gnufied has joined #ruby
bkxd has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
<hanmac> guardian: hm you might use shared_examples, that what i did in my binding for different constructor options
ensyde__ has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
bob_f_ is now known as bob_f
aryaching has joined #ruby
synthroid has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
RegulationD has joined #ruby
pLaToOn has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 272 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
freerobby has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
infra-red has joined #ruby
rann has quit [Remote host closed the connection]
edwinvdgraaf has quit [Read error: Connection reset by peer]
Snowy has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
moeabdol has quit [Ping timeout: 264 seconds]
Snowy has joined #ruby
sergio_101 has joined #ruby
aryaching has quit [Remote host closed the connection]
diegoviola has joined #ruby
rann has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
Macaveli has quit [Ping timeout: 260 seconds]
Niham has joined #ruby
zacstewart has joined #ruby
Miron has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
bmurt has joined #ruby
sulky_ has joined #ruby
rann has quit [Remote host closed the connection]
iwmrby has quit [Quit: WeeChat 1.5]
<guardian> thanky ou
zacstewart has quit [Ping timeout: 244 seconds]
rann has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ornerymoose has joined #ruby
lessless has joined #ruby
rann has quit [Remote host closed the connection]
rann has joined #ruby
agit0 has joined #ruby
ornerymoose_ has joined #ruby
futilegames has joined #ruby
ornerymoose has quit [Ping timeout: 260 seconds]
ornerymoose_ is now known as ornerymoose
vuoto has joined #ruby
<guardian> I have another noob question: I want to debug a test on a project that's not mine. For that purpose I add require 'pry-bybug'; binding.pry in the spec file I want to debug
d0lph1n98 has quit [Ping timeout: 252 seconds]
<guardian> how can I make bundler exec rspec know about the pry-byebug gem without modifying the project's Gemfile
<guardian> is this even possible?
swills has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
flopsec has quit [Ping timeout: 244 seconds]
Satyajit has quit [Quit: https://fnordserver.eu]
Vile` has quit [Ping timeout: 240 seconds]
aupadhye is now known as aupadhye|brb
jmignault has quit [Ping timeout: 252 seconds]
CJKinni has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
futilegames has quit [Quit: futilegames]
davedev24 has joined #ruby
alxgsv has quit [Quit: https://fnordserver.eu]
Guest17809 has quit [Quit: https://fnordserver.eu]
<jhass> it's not
<jhass> the whole point of bundler is that it's not
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
malconis has joined #ruby
pawnbox has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vedu has joined #ruby
<guardian> ok
davedev24 has quit [Read error: Connection reset by peer]
rbr has joined #ruby
davedev24 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
<vedu> Hello. I have an array of hashes. How can I get an array of values of particular key in the hashes? Something like `@array.map(&[:key])`?
solocshaw has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
polysics has joined #ruby
<pontiki_> wished that worked
ujjain has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
nankyokusei has joined #ruby
<lupine> oh god
<lupine> my first thought was "create a function returning a function and use currying"
<lupine> whyyyyyyyyyyyyyyyyyyyy scheme, whyyyyyyyy?
<jhass> @array.map(&.[:key])
<jhass> ah no, that's Crystal :P
fenre has joined #ruby
<pontiki_> @array.select{|item| item[:key]}
<jhass> map, not select
<pontiki_> maybe
<pontiki_> depends if they want nils or not
shadeslayer_ has quit [Ping timeout: 272 seconds]
<vedu> pontiki_: yeah that would work. I guess there's no shorthand for it
<lupine> is it still true that &:foo is a large performance penalty?
CloCkWeRX has left #ruby [#ruby]
Bish has quit [Remote host closed the connection]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
infra-red has quit []
nankyokusei has quit [Ping timeout: 260 seconds]
kloeri_ has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 260 seconds]
shadeslayer has joined #ruby
Satyajit has joined #ruby
chip_ has quit [Ping timeout: 246 seconds]
mattwashere has joined #ruby
<apeiros> lupine: no, in the opposite
<lupine> oh good
<apeiros> with current rubies, &:foo should be faster
joonty has quit [Quit: This computer has gone to sleep]
<lupine> me really needs to get up to date with modern rubies
<lupine> I managed "our" transition from 1.8 -> 1.9 and am in the middle of managing a transition to 2.1
<apeiros> mhm
<apeiros> 2.1? not 2.3?
<lupine> 2.1 :D
<apeiros> poor you
kloeri has joined #ruby
<lupine> current ruby in debian jessie, innit
<apeiros> lacking another lot of optimizations
<lupine> yeah. the new job is more interested in tracking current ruby
neo__ has joined #ruby
<apeiros> 2.4 will bring even more, like [1,2].max not creating an array
timanema has joined #ruby
<lupine> the current job is much more interested in getting security updates via debian
Snowy has quit [Remote host closed the connection]
mattwashere has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
Niham has joined #ruby
flopsec has joined #ruby
aupadhye|brb has quit [Quit: Leaving]
Snowy has joined #ruby
eljimador has quit [Ping timeout: 244 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
alxgsv has joined #ruby
zel has joined #ruby
Snowy has quit [Remote host closed the connection]
d0lph1n98 has joined #ruby
zel is now known as Guest3849
User458764 has joined #ruby
ponga has quit []
pLaToOn has joined #ruby
<pLaToOn> moin
RegulationD has joined #ruby
last_staff has quit [Quit: last_staff]
Asher has quit [Quit: Leaving.]
deuterium has joined #ruby
Asher has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
`tim` has joined #ruby
Satyajit is now known as alberti
aegis3121 has joined #ruby
sergio_101 has quit [Quit: Textual IRC Client: www.textualapp.com]
sergio_101 has joined #ruby
Vile` has joined #ruby
ChiefAlexander has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
swills has joined #ruby
neo__ has quit [Remote host closed the connection]
neo__ has joined #ruby
karmatr0n has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
diegoviola has quit [Quit: WeeChat 1.5]
tvw has quit []
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arlek has joined #ruby
zacstewart has joined #ruby
neo__ has quit [Ping timeout: 250 seconds]
change has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pLaToOn has quit [Read error: Connection reset by peer]
`tim` has joined #ruby
<change> 怎么从weechat里面推出去
vuoto_ has joined #ruby
<change> Yes??
aryaching has joined #ruby
<change> How do I leave
zacstewart has quit [Ping timeout: 240 seconds]
Guest57341 is now known as olspookishmagus
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
change has left #ruby ["WeeChat 1.0.1"]
andikr has quit [Remote host closed the connection]
`tim` has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 240 seconds]
insanedreamer_ has joined #ruby
insanedreamer has quit [Ping timeout: 240 seconds]
insanedreamer_ is now known as insanedreamer
emilkarl_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
<jokke> anyone have the problem with guard and libnotify that icons are _huge_
snebel has quit [Quit: Leaving]
<jokke> ?
<jokke> i'm using dunst as a notification daemon
jaguarmagenta has quit [Ping timeout: 244 seconds]
Xeago_ has quit [Remote host closed the connection]
User458764 has joined #ruby
pandaant has quit [Remote host closed the connection]
mattwashere has joined #ruby
allcentury has joined #ruby
Xeago_ has joined #ruby
mikecmpb_ has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
jaiks has joined #ruby
jxs_ has joined #ruby
vuoto has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
vuoto has joined #ruby
harfangk has joined #ruby
<jokke> it's umm
Guest21 has joined #ruby
<jokke> very
<jokke> noticable! :)
mikecmpbll has quit [Ping timeout: 260 seconds]
eljimmy has joined #ruby
<adaedra> That's a bug of your notification daemon, I'd say.
vuoto has quit [Remote host closed the connection]
soLucien has quit [Ping timeout: 258 seconds]
LoneHerm_ has joined #ruby
vuoto has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
CJKinni has quit [Read error: Connection reset by peer]
timanema has quit [Ping timeout: 244 seconds]
mradmacher has quit [Quit: WeeChat 0.4.2]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bunzz has joined #ruby
mattwashere has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
diegoviola has joined #ruby
insanedreamer has quit [Read error: Connection reset by peer]
ta_ has quit [Remote host closed the connection]
romistrub has quit [Ping timeout: 250 seconds]
braincras has quit [Ping timeout: 264 seconds]
CJKinni has joined #ruby
pawnbox has quit [Remote host closed the connection]
hk238 has joined #ruby
insanedreamer has joined #ruby
insanedreamer has quit [Client Quit]
ehuuwj has joined #ruby
jmignault has joined #ruby
kfpratt has quit []
braincrash has joined #ruby
symm- has joined #ruby
kfpratt has joined #ruby
k3rn31 has joined #ruby
f3ttX] has joined #ruby
hutch34 has joined #ruby
jordanm has quit [Quit: Konversation terminated!]
jordanm has joined #ruby
timanema has joined #ruby
RegulationD has joined #ruby
Lord_of_Life has quit [Excess Flood]
Guest21 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has quit [Ping timeout: 244 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
diegoaguilar has quit [Quit: Leaving]
Lord_of_Life has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
Guest21 has joined #ruby
Guest21 has quit [Client Quit]
spiette has joined #ruby
bmurt has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
<bunzz> i'm trying to figure out what i need to do in order to access the variable bgcolor from within this statement block. can someone help me? https://gist.github.com/anonymous/cd16dab4864640d6dbb9be8bff6ab54e
cdg has quit [Remote host closed the connection]
<bunzz> it returns nil currently
cdg has joined #ruby
timanema has quit [Ping timeout: 260 seconds]
<jhass> you're doing it correctly, are you sure it's not passed as nil?
<jhass> or that there's a method of the same name in the context the block is evaluated?
<bunzz> this is the error that im getting "TypeError - argument must be color name or pixel (NilClass given):"
<bunzz> app.rb:99:in `background_color='
<bunzz> let me double check
pawnbox has joined #ruby
<jhass> bunzz: def build_canvas (
<jhass> get rid of the space
<jhass> (or the parens)
<bunzz> baah, you're right, i was passing nil, lol
braincrash has joined #ruby
cdg has quit [Ping timeout: 264 seconds]
<bunzz> didnt noticed that space, ill remove it
<bunzz> thanks for the help
aganov has quit [Remote host closed the connection]
ptx0_ has quit [Quit: Changing server]
ptx0 has joined #ruby
ptx0 is now known as Guest23135
pawnbox has quit [Ping timeout: 244 seconds]
Snowy has joined #ruby
cdg has joined #ruby
Snowy has quit [Remote host closed the connection]
zacstewart has joined #ruby
aupadhye has joined #ruby
timanema has joined #ruby
cdg_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
jaruga___ has quit [Quit: jaruga___]
jaruga____ has joined #ruby
jaruga____ is now known as jaruga___
cdg has quit [Ping timeout: 250 seconds]
aupadhye has quit [Ping timeout: 244 seconds]
zacstewart has quit [Ping timeout: 252 seconds]
polysics has quit []
fenre has quit [Remote host closed the connection]
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
snath has quit [Ping timeout: 276 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
edwinvdg_ has joined #ruby
headius_ is now known as headius
Snowy has joined #ruby
flashpoint9 has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
vuoto_ has joined #ruby
ChiefAlexander has joined #ruby
bkxd has joined #ruby
aupadhye has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Xeago_ has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 272 seconds]
nankyokusei has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
snath has joined #ruby
<dsimon> is there a good ruby linter that checks against implicit "self"?
pandaant has joined #ruby
<dsimon> maybe i'm not googling the right term, but linters i've looked at so far don't seem to check for that
ferr1 has quit [Quit: WeeChat 1.5]
flashpoint9 has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
pawnbox has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
dcunit3d has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
aeterne has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
urbanmonk has quit [Quit: urbanmonk]
JakFrist has joined #ruby
SilverKey has joined #ruby
<dsimon> actually, hm
JakFrist has left #ruby [#ruby]
<dsimon> now i'm noticing that implicit self is actually behaving differently from explicit self re: private methods :-\
ChiefAlexander has quit [Remote host closed the connection]
anisha_ has joined #ruby
<jhass> it is
<jhass> rubocop should support it though
DoubleMalt has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
zacstewart has joined #ruby
Jamo has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
anisha has quit [Ping timeout: 252 seconds]
davedev24 has quit [Remote host closed the connection]
<dsimon> thank you
<dsimon> what i was originally looking for was actually the opposite of that check
<dsimon> that is, i wanted to make sure that self method calls wouldn't be confused with local variables
<dsimon> however it seems that adding the "self" there affects behavior, so that idea's out
tfitts has joined #ruby
<jhass> you shouldn't be, partly for the technical reasons you already discovered, but it's also against the more common style in the community ;)
Xeago_ has quit [Remote host closed the connection]
<dsimon> should i be using empty parens for calls then instead?
<jhass> no
<dsimon> i hardly ever see that in ruby either
fenre has joined #ruby
pawnbox has joined #ruby
<jhass> basically if your issue is that you have so many lines and/or locals in a method and so many methods in a class that it becomes a problem to see on first sight, then your methods and/or class is too big, does too many things and should be split up
madgen has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
SilverKey has quit [Quit: Halted.]
saneax is now known as saneax_AFK
rkazak has joined #ruby
pandaant has quit [Remote host closed the connection]
<jhass> foo = self.foo is a legit usecase, though even there most people prefer to do a_foo = foo or foo = compute_foo or similar
joonty has joined #ruby
jordanm has quit [Ping timeout: 250 seconds]
aegis3121 has quit [Ping timeout: 258 seconds]
Xeago_ has joined #ruby
pandaant has joined #ruby
aegis3121 has joined #ruby
Jamo has joined #ruby
madgen has joined #ruby
rkazak has quit [Ping timeout: 246 seconds]
Xeago_ has quit [Remote host closed the connection]
RegulationD has joined #ruby
SilverKey has joined #ruby
GodFather has joined #ruby
kaspergr1bbe has joined #ruby
neanderslob has quit [Ping timeout: 264 seconds]
ocbtec_ has joined #ruby
<dsimon> hm, i see
<dsimon> the main issue is with assignments in particular, esp with things like ActiveRecord that might have automagic "x=" methods
<dsimon> though i guess even the check i proposed wouldn't detect that, cause it's kind of the inverse problem
programmerq has quit [Ping timeout: 244 seconds]
flopsec has quit [Ping timeout: 244 seconds]
rkoller has quit [Ping timeout: 244 seconds]
ocbtec has quit [Ping timeout: 244 seconds]
TomyWork has quit [Ping timeout: 244 seconds]
SirFunk_ has quit [Ping timeout: 244 seconds]
sauvin has quit [Ping timeout: 244 seconds]
diegoaguilar has joined #ruby
Karunamon|2 has joined #ruby
Plas has joined #ruby
mayamai has joined #ruby
electrostat has quit [Ping timeout: 244 seconds]
cevett has quit [Ping timeout: 244 seconds]
PlasmaStar has quit [Ping timeout: 244 seconds]
KnownSy0 has quit [Ping timeout: 244 seconds]
iamayam has quit [Ping timeout: 244 seconds]
Karunamon has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Ping timeout: 244 seconds]
Nilium has quit [Ping timeout: 244 seconds]
gsingh93 has quit [Ping timeout: 244 seconds]
blingrang has quit [Ping timeout: 244 seconds]
FastJack has quit [Ping timeout: 244 seconds]
kbni has quit [Ping timeout: 244 seconds]
Junaos has quit [Ping timeout: 244 seconds]
Nilium_ has joined #ruby
SirFunk has joined #ruby
kbni_ has joined #ruby
FastJack has joined #ruby
kaspergr1bbe is now known as kaspergrubbe
electrostat has joined #ruby
blingrang has joined #ruby
TomyWork has joined #ruby
Nilium_ is now known as Nilium
gsingh93 has joined #ruby
Junaos has joined #ruby
rkoller has joined #ruby
sauvin has joined #ruby
programmerq has joined #ruby
<jhass> self.foo= is an entirely common and legit usecase too, yes
cevett has joined #ruby
KnownSy0 has joined #ruby
flopsec has joined #ruby
agent_white has joined #ruby
selu has joined #ruby
Plas is now known as PlasmaStar
enterprisey has joined #ruby
<agent_white> Mornin'
nerium has quit [Quit: nerium]
yardenbar has quit [Ping timeout: 272 seconds]
<jhass> agent_white: is that a script btw? :P
RegulationD has quit [Ping timeout: 276 seconds]
<agent_white> jhass: Unfortunately not, I just go through each channel and copy-pasta ;P
hutch34 has quit [Ping timeout: 244 seconds]
<agent_white> But... I really should just script it haha.
rahc has quit [Quit: leaving]
KCmetro has joined #ruby
darkxploit has joined #ruby
selu has quit [Client Quit]
AlexJakeGreen has quit [Remote host closed the connection]
aufi has quit [Ping timeout: 276 seconds]
mattwashere has joined #ruby
diegoaguilar has quit [Ping timeout: 244 seconds]
<pontiki_> no, don't script your greeting, please
memorasus has joined #ruby
<pontiki_> keep it human at least
Xeago_ has joined #ruby
fenre has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
craigp has quit [Ping timeout: 260 seconds]
agit0 has quit [Quit: zzzZZZ….]
roamingdog has joined #ruby
codecop has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
dionysus69 has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
TomyWork has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
Ishido has quit [Ping timeout: 260 seconds]
roamingdog has quit [Ping timeout: 252 seconds]
jxs_ has quit [Remote host closed the connection]
conta has quit [Ping timeout: 244 seconds]
SilverKey has joined #ruby
neo__ has joined #ruby
mattwashere has quit [Remote host closed the connection]
ftj has joined #ruby
nettoweb has joined #ruby
ItSANg___ has quit [Quit: Leaving...]
mattwashere has joined #ruby
spiette has quit [Ping timeout: 260 seconds]
mib_0ye has joined #ruby
mattwashere has quit [Remote host closed the connection]
nettoweb has quit [Client Quit]
Xeago_ has joined #ruby
<agent_white> Okey doke!
Xeago_ has quit [Remote host closed the connection]
mattwashere has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
toretore has joined #ruby
nettoweb has joined #ruby
mib_0ye has quit [Quit: HydraIRC -> http://www.hydrairc.com <-]
jaguarmagenta has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
Snowy has quit [Remote host closed the connection]
fenre has joined #ruby
symm- has quit [Read error: Connection reset by peer]
bougyman has quit [Ping timeout: 244 seconds]
Ishido has joined #ruby
weckl has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
Guest23135 has quit [Quit: Changing server]
hxegon_afk is now known as hxegon
ptx0 has joined #ruby
ptx0 has quit [Changing host]
ptx0 has joined #ruby
bougyman has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
scottschecter_ is now known as scottschecter
bougyman is now known as Guest65069
vuoto has joined #ruby
cdg_ has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
polishdub has joined #ruby
hutch34 has joined #ruby
KCmetro has quit [Remote host closed the connection]
jetpackjoe has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
<shevy> dsimon mostly people tend to be lazy in ruby because the ruby parser allows them to be lazy
Xeago_ has joined #ruby
<shevy> like: def foo bar, bla, ble
KCmetro has joined #ruby
VeryBewitching has joined #ruby
roamingdog has joined #ruby
KCmetro has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
synthroid has joined #ruby
symm- has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
bklane has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpb_ has quit [Ping timeout: 276 seconds]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
timanema has quit [Ping timeout: 244 seconds]
darkxploit has quit [Ping timeout: 244 seconds]
fmcgeough has joined #ruby
davedev24 has joined #ruby
neo___ has joined #ruby
TomyLobo has joined #ruby
kfpratt has quit []
aegis3121 has quit [Ping timeout: 244 seconds]
neo__ has quit [Ping timeout: 240 seconds]
yatindra_rao has joined #ruby
hdlbrkr has joined #ruby
phoo1234567 has joined #ruby
Snowy has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
amclain has joined #ruby
dcunit3d has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
anisha_ has quit [Ping timeout: 272 seconds]
neo___ has quit []
neo__ has joined #ruby
ChiefAlexander has joined #ruby
[ace]_ is now known as [ace]
anisha_ has joined #ruby
quazimodo has quit [Ping timeout: 258 seconds]
RegulationD has joined #ruby
mrgrieves has quit [Ping timeout: 276 seconds]
SCHAAP137 has joined #ruby
Snowy has quit [Remote host closed the connection]
harfangk has quit [Quit: harfangk]
antgel has quit [Ping timeout: 244 seconds]
spudowiar1 is now known as spudowiar
RegulationD has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
[Butch] has joined #ruby
k3rn31 has joined #ruby
davedev24 has joined #ruby
harfangk has joined #ruby
rodfersou is now known as rodfersou|lunch
ag4ve has quit [Ping timeout: 264 seconds]
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha_ has quit [Quit: Leaving]
ChiefAlexander has quit [Remote host closed the connection]
harfangk has quit [Client Quit]
senayar has quit []
neo__ has quit [Remote host closed the connection]
memorasus has quit [Remote host closed the connection]
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
neo__ has joined #ruby
<guardian> isn't that bizarre FileTest.size? returns nil when a file has zero size?
Xiti has joined #ruby
aryaching has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
alberti has quit [Quit: https://fnordserver.eu]
Charles_CV has quit [Quit: Leaving]
flopsec has quit [Quit: https://fnordserver.eu]
jetpackjoe has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
ag4ve has joined #ruby
bklane has quit [Remote host closed the connection]
the_drow has joined #ruby
NightMonkey has quit [Ping timeout: 260 seconds]
vuoto has quit [Remote host closed the connection]
deuterium has quit [Read error: Connection reset by peer]
vuoto has joined #ruby
timanema has joined #ruby
quazimodo has joined #ruby
sepp2k1 has joined #ruby
adam12 has quit [Ping timeout: 246 seconds]
sepp2k has quit [Ping timeout: 244 seconds]
Guest3849 has quit [Quit: https://fnordserver.eu]
alxgsv has quit [Quit: https://fnordserver.eu]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
adam| has joined #ruby
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
norc has joined #ruby
vuoto has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
roamingdog has joined #ruby
<ljarvis> >> require "tempfile"; FileTest.size Tempfile.new.path
<ruby[bot]> ljarvis: # => (https://eval.in/593700)
NightMonkey has joined #ruby
rkazak has joined #ruby
the_drow has joined #ruby
<ljarvis> returns 0 for me
timanema has quit [Ping timeout: 276 seconds]
<ljarvis> (doesn't work on eval bot because of FS access)
neo__ has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
neo__ has joined #ruby
vuoto has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
vuoto has joined #ruby
dionysus69 has joined #ruby
<norc> >> Process.send(:SIGBUS, $$)
<ruby[bot]> norc: # => undefined method `SIGBUS' for Process:Module (NoMethodError) ...check link for more (https://eval.in/593701)
Madplatypus has joined #ruby
Hounddog has quit [Read error: Connection reset by peer]
<norc> >> Process.kill(:SIGBUS, $$)
<ruby[bot]> norc: # => (https://eval.in/593702)
ksmutthu has joined #ruby
dRbiG has joined #ruby
dcunit3d has quit [Read error: Connection reset by peer]
aryaching has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
mattwashere has joined #ruby
ChiefAlexander has joined #ruby
aryaching has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
Guest65069 has quit [Changing host]
Guest65069 has joined #ruby
Guest65069 is now known as bougyman
polishdub has quit [Quit: Leaving]
neo__ has quit [Ping timeout: 246 seconds]
hdlbrkr has quit [Quit: leaving]
the_drow has quit [Read error: Connection reset by peer]
<dRbiG> hey, google failed me on this... anyone knows of any library that would map timezone codes e.g. CET, EET, PST etc. into tzinfo Country/Place identifiers?
shinnya has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
xall has joined #ruby
django_1 has joined #ruby
dionysus69 has joined #ruby
wrkrcoop has joined #ruby
smathy has joined #ruby
<jhass> bet the tzinfo gem can do it :P
<dRbiG> pleaseee point me in the right direction...
<norc> Well the tzinfo gem has the information in a file.
<norc> At the very least its extractable.
the_drow has joined #ruby
fenre has quit [Remote host closed the connection]
<dRbiG> hmm, at least extractable
the_drow has quit [Max SendQ exceeded]
the_drow has joined #ruby
bkxd has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
rubirc_ has quit [Ping timeout: 260 seconds]
rubirc has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
solocshaw has joined #ruby
django_1 has quit [Remote host closed the connection]
the_drow has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
vuoto_ has joined #ruby
<dRbiG> heh, stop coding in ruby for 9 months and your whole setup no longer works :)
nankyokusei has joined #ruby
timanema has joined #ruby
<norc> dRbiG, your filesystem sucks if the ruby code changed while you stopped doing anything to it. :p
<shevy> don't stop!
banister has joined #ruby
nullfxn has joined #ruby
LoneHerm_ has joined #ruby
<dRbiG> well, rebuilding
freerobby1 has joined #ruby
<dRbiG> ehh
<dRbiG> make: *** [uncommon.mk:189: build-ext] Error 2
<dRbiG> and all I wanted was... :)
chosen1 has joined #ruby
<dRbiG> make[2]: *** [Makefile:294: ossl_ssl.o] Error 1
<dRbiG> ehh, ssl, why doesn't it even surprise me
<jhass> mmh, TZInfo::Timezone.all_country_zones.select {|zone| zone.current_period.abbreviation == :CET }.map(&:name) is the best I have so far :/
madgen has joined #ruby
rann has quit [Remote host closed the connection]
<dRbiG> jhass: damn, that's great, thank you
the_drow has quit [Read error: Connection reset by peer]
<dRbiG> I haven't got anywhere yet... first I need working ruby :)
<jhass> dRbiG: note it's call time dependent
Rutix has quit []
rubirc has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
<jhass> for example the example above won't return Europe/Berlin currently because it has CEST
pontiki_ has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
nankyokusei has quit [Ping timeout: 244 seconds]
<jhass> but I can't find a reverse mapping :/
<dRbiG> yeah yeah, once I see what I have I'll think how to best map it
the_drow has joined #ruby
<wrkrcoop> i want to detemrine whether two strings are inside an array of strings
<wrkrcoop> is the only and best way to do that with .any?
safetypin has joined #ruby
<wrkrcoop> [1,2,3,4,5] && [1,2].any?
<jhass> wrkrcoop: another way is (["first", "second"] - array).empty? or array.include?("first") && array.include?("second")
<jhass> your code doesn't even do it
<jhass> I would tend to my second example while it's just two
<dRbiG> or build a helper if you anticipate more strings
LoneHerm_ has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
timanema has quit [Ping timeout: 260 seconds]
<wrkrcoop> jhass: sorry ([1,2,3,4,5] & [1,2]).any?
<jhass> ["first", "second"].all? {|s| array.include?(s) }
<jhass> many ways
<wrkrcoop> got it
<dRbiG> yup
<dRbiG> or make a hash instead of a list...
<wrkrcoop> dRbiG: yeah i thought about building one
<dRbiG> hmm, there is also Set in ruby afair
<wrkrcoop> dRbiG: also thought about using a hash … i think the data coming in json so transforming it would probably not be the fastest
<dRbiG> well, such questions have no best answer without whole context, and be glad whenever you can conclude you actually do have *whole* context :D
the_drow has joined #ruby
the_drow has quit [Max SendQ exceeded]
mradmacher has joined #ruby
tomchapin has joined #ruby
<dRbiG> also for json parsing and performance switching to streaming parsers is awesome, if your use case is comparible
mistermocha has joined #ruby
the_drow has joined #ruby
<dRbiG> compatible*
the_drow has quit [Max SendQ exceeded]
roamingdog has quit [Remote host closed the connection]
the_drow has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
the_drow has quit [Max SendQ exceeded]
freerobby has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
roamingdog has joined #ruby
timanema has joined #ruby
KCmetro has joined #ruby
freerobby1 has quit [Ping timeout: 244 seconds]
aegis3121 has joined #ruby
centrx has joined #ruby
ahammond has left #ruby ["Textual IRC Client: www.textualapp.com"]
SilverKey has quit [Quit: Halted.]
roamingdog has quit [Ping timeout: 244 seconds]
yatindra_rao has quit [Quit: Leaving]
RegulationD has joined #ruby
<dRbiG> 2.3.1 compiles fine
<dRbiG> well, time to bump up ruby ver then!
enterprisey has joined #ruby
open_coder has joined #ruby
firstdayonthejob has joined #ruby
<open_coder> django vs rails
whathappens has joined #ruby
ta_ has joined #ruby
<dRbiG> open_coder: ?
blaxter has quit [Quit: foo]
solocshaw1 has joined #ruby
JakFrist has joined #ruby
neo__ has joined #ruby
Snowy has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
adam| is now known as adam12
vuoto_ has joined #ruby
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<jhass> dRbiG: TZInfo::Timezone.all_country_zone_identifiers.select {|zone| TZInfo::Timezone.get(zone).transitions_up_to(Time.now.utc).any? {|transition| transition.offset.abbreviation == :CET } }
<jhass> ugh
RegulationD has quit [Ping timeout: 244 seconds]
<dRbiG> jhass: just got my setup running again :D
Xeago_ has joined #ruby
<jhass> open_coder: Servlets, clearly
<dRbiG> jhass: my usecase is for making https://github.com/drbig/catabot/blob/master/plugins/clock.rb actually useful
moeabdol has quit [Ping timeout: 244 seconds]
<dRbiG> handling Country/Proper Place is easy (though still case-sensitive, which sucks)
<jhass> huh
<dRbiG> but most real use cases are `time in CET`
<jhass> well get should take that just fine
<dRbiG> plus I'd like to add conversions e.g. `time from 10:00 CEST to PST` etc.
neo__ has quit [Ping timeout: 244 seconds]
<dRbiG> i.e. you usually gather (someones) timezone, doesn't really matter which country that is
<jhass> TZInfo::Timezone.get("CET").now
<jhass> => 2016-06-22 19:17:44 UTC
<dRbiG> ...
<dRbiG> jhass: see, context :D
<dRbiG> haha, that even handles dst...
rubirc has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<dRbiG> jhass: and I've been looking over docs on-and-off for some time and was "wtf there's nothing about timezone codes?"...
<jhass> it's a bit odd that you have to ignore Time#zone afterwards, but yeah
diegoaguilar has joined #ruby
d5sx43 has joined #ruby
pLaToOn has joined #ruby
memorasus has joined #ruby
<dRbiG> well, date and time sucks irl anyway
<dRbiG> jhass: big thanks :)
<jhass> yw, was a fun dive anyway
rcvalle has joined #ruby
jmignault has quit [Ping timeout: 244 seconds]
safetypin has quit [Quit: ZZZzzz…]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jmignault has joined #ruby
solocshaw has quit [Quit: solocshaw]
solocshaw1 is now known as solocshaw
firstdayonthejob has quit [Quit: WeeChat 1.5]
djbkd has joined #ruby
SilverKey has joined #ruby
firstdayonthejob has joined #ruby
safetypin has joined #ruby
SilverKey has quit [Client Quit]
solocshaw1 has joined #ruby
KCmetro has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
arlek has quit [Ping timeout: 240 seconds]
rodfersou|lunch is now known as rodfersou
mattwashere has joined #ruby
azwieg103 has left #ruby [#ruby]
zel has joined #ruby
roundabout22 has quit [Quit: WeeChat 0.4.2]
alxgsv has joined #ruby
zel is now known as Guest97177
<dRbiG> ehh also I'm an idiot, oh well
d5sx43 has quit [Quit: Leaving...]
hahuang65 has joined #ruby
craigp has joined #ruby
JakFrist has joined #ruby
jaguarmagenta has joined #ruby
spiette has joined #ruby
codecop has joined #ruby
flopsec has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 252 seconds]
d0nn1e has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
d0nn1e has joined #ruby
User458764 has joined #ruby
Dimik has joined #ruby
craigp has quit [Ping timeout: 264 seconds]
Ishido has quit [Remote host closed the connection]
SilverKey has joined #ruby
KCmetro has joined #ruby
<shevy> that is ok
<shevy> you are a human being, not a skynet 3.0 clone
arlek has joined #ruby
Ishido has joined #ruby
Yxhuvud has quit [Ping timeout: 260 seconds]
davedev24 has quit []
d0lph1n98 has quit [Ping timeout: 258 seconds]
LoneHermit has joined #ruby
spider-mario has joined #ruby
neo__ has joined #ruby
ta_ has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 244 seconds]
<dRbiG> shevy: I suck at UI design, I wrote the thing and was why `time in CET` doesn't work... well `time CET` works as it should
RegulationD has joined #ruby
<hxegon> I don't know. dRbiG, you should take this test to be sure: http://realhumanbeing.net/
craigp has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<jhass> ah great, a captcha solver
<dRbiG> hxegon: what if it comes out I'm a robot?
<jhass> wonder what crawler is behind it
moei has quit [Quit: Leaving...]
<dRbiG> also, saving captcahs should be paid for :P
<jhass> dRbiG: it is, get a Amazon mTurk account :P
LoneHermit has quit [Ping timeout: 260 seconds]
<dRbiG> jhass: I know :D
SilverKey has quit [Quit: Halted.]
Yxhuvud has joined #ruby
neo__ has quit [Ping timeout: 240 seconds]
sapslaj has joined #ruby
neo__ has joined #ruby
jetpackjoe has joined #ruby
<shevy> dRbiG UI design is very very difficult, I mean to get it right and usable and pretty at the same time. I tend to just try to make the UI simple, and not get into the way, the rest is for people with more design skills
K1SWR has left #ruby ["Leaving"]
<shevy> my ream was once to have an agnostic GUI for ruby... like, Button.new ... and it would be a TK button... or a gtk button... or wxwidgets... or qt button
yardenbar has joined #ruby
coyo has joined #ruby
<shevy> then later I thought... "hey why only GUIs... let's include the www too into that!"
macsteps has joined #ruby
<dRbiG> also why timezones are freked: `Time.parse('22:00 PST')` OK! TZInfo::Timezone.get('PST') haha NO!
<dRbiG> lemme see...
roamingdog has joined #ruby
<dRbiG> `Time.parse('now PST')` uuff, doesn't work
<dRbiG> otherwise I might be angry-sad ;)
<dRbiG> shevy: best thing for my sole projects is I design some UI, come back to it month later and be "wtf was I thinking? was I even?" :D
SilverKey has joined #ruby
f3ttX] has quit [Remote host closed the connection]
<shevy> yeah
<shevy> that is why I document what I did usually!
hutch34 has quit [Ping timeout: 250 seconds]
moei has joined #ruby
nerium has joined #ruby
hutch34 has joined #ruby
roamingdog has quit [Ping timeout: 272 seconds]
karmatr0_ has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
pLaToOn has quit [Read error: Connection reset by peer]
ricer2 has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
ehuuwj has quit [Remote host closed the connection]
dionysus69 has joined #ruby
djbkd has quit [Remote host closed the connection]
davedev24 has joined #ruby
solocshaw1 has quit [Ping timeout: 250 seconds]
jetpackjoe has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
cdg has joined #ruby
nankyokusei has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
SCHAAP137 has quit [Quit: Exiting...]
safetypin has quit [Quit: ZZZzzz…]
dstarh has joined #ruby
zapata has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
Satyajit has joined #ruby
ta_ has joined #ruby
zacts has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
mostlybadfly has joined #ruby
jord-n has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby
sandelius has joined #ruby
nankyokusei has joined #ruby
<kallisti6> What does the return of an assignment function do?
brian_ has joined #ruby
nhhc has quit [Quit: Leaving]
<kallisti6> ex: using assignment function to set a value on a rest service. I'd like to update the local attr if the rest was successful, otherwise leave it alone
CJKinni` has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<jhass> iirc it's ignored
nankyokusei has quit [Ping timeout: 240 seconds]
<jhass> the value of an assignment always is its right hand sight
gix has quit [Ping timeout: 260 seconds]
safetypin has joined #ruby
CJKinni has quit [Ping timeout: 246 seconds]
macsteps has quit [Remote host closed the connection]
gix has joined #ruby
<kallisti6> jhass: gotcha. Just wanted to make sure my final (@blah = value) if result == 200 was correct :-)
<kallisti6> yay wrapping a REST api like a rails activerecord object
<lupine> I would avoid relying on the return value of the = methods personally
<kallisti6> I'm not :-) Just wanted to make sure I shouldn't of been
yfeldblum has joined #ruby
ged has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
ruby-lang575 has joined #ruby
<norc> kallisti6, I think it's a design thing. Perhaps you need to transmit a large object across the network as part of a POST request - at that point you may not want the object transmitted back again.
<ruby-lang575> hey all. we're experiencing pretty consistent (but intermittent) segfaults on ruby 2.3.0 after upgrading from 2.2.5. the segfaults appear to be primarily in rspec but in different places all the time; nothing consistent with a specific library, etc. I can't find any evidence of any 2.3.1 known segfaults but...
duderonomy has joined #ruby
* ruby-lang575
bkxd has joined #ruby
ruby-lang575 is now known as skwp
<norc> skwp, what native extensions are you running?
<norc> skwp, or actually - just gist the segfault screen. ;-)
<havenwood> skwp: can you bump to 2.3.1 and see if you still have any issues?
_djbkd has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
N1njturt1e has joined #ruby
maucar has joined #ruby
<dRbiG> heh, unsolvable problem? -> handle case-sensitivity for TZInfo::Timezone
zacts has joined #ruby
<dRbiG> i.e. US/Pacific, but Europe/Helsinki
<dRbiG> i.e. I can't just &:capitalize parts between '/'
<skwp> the segfaults are all over the place. i'm going to collect a few
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<skwp> @havenwood we're on 2.3.1
<havenwood> dRbiG: what's the holdup with capitalizing? what doesn't work?
GodFather has quit [Ping timeout: 246 seconds]
<skwp> norc: lots of native extensions, which makes this fun to debug
<havenwood> skwp: ah, gotcha - i misunderstood
<havenwood> dRbiG: i don't quite follow, have an example?
bkxd has quit [Ping timeout: 272 seconds]
<dRbiG> havenwood: user types in US/pacific -> we need US/Pacific, not Us/Pacific
<norc> skwp, gist a seg fault screen then.
<havenwood> dRbiG: ahh
<dRbiG> I was thinking getting all TZInfo::Timezone's and downcasing them
<dRbiG> do they even include the code ones though
roamingdog has quit [Remote host closed the connection]
<skwp> norc: yep i'm putting together a buch of examples
<norc> Great. :)
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dRbiG> they do, problem solved
hutch34_ has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
<skwp> norc: https://gist.github.com/skwp/1550735ebb1f372be9e1297006adaa23 here are 2 examples. both seem to be during init of a class in this case, but that is also not consistent
KCmetro has quit [Remote host closed the connection]
<skwp> i'm trying to hunt down a few more examples of the segfautls
Oclair has quit [Quit: Bye Bye]
<skwp> is it normal to see the GC at the top of the stacktrace? maybe there's a GC level issue here
<norc> Yes.
<norc> Well it is a memory issue.
<norc> skwp, I think the only way you can sensibly debug this is if you rebuild ruby and attach a memory debugger like valgrind.
<skwp> yeah that sounds like a ton of fun :)
<skwp> the problem is the segs are not consistently reproducible
_0xd has joined #ruby
<skwp> one thing that's interesting is that we can repro this both on debian and osx
<skwp> but not consistently
kfpratt has joined #ruby
KCmetro has joined #ruby
<norc> havenwood, what do you think looking at the C stacktrace?
<skwp> GC being at the top of the stack definitely sounds like it's a memory problem
korben has joined #ruby
kirun has joined #ruby
<korben> qq; So there's lots of info on how to read CSV's in a memory efficient way; however, I can't find any info on how to write CSV's in a memory efficient way. Does anyone have any resources/tips?
devbug has joined #ruby
N1njturt1e has quit []
<skwp> korben: if you're writing to a file you only need to have that one line in memory at a time. is that not efficient enough?
<korben> skwp: I wasn't sure if it was going to put the whole file in memory when I did CSV.open(). It's not doing that then?
<havenwood> >> require 'rubygems/text'; module TZInfo::Timezone::Finder; extend Gem::Text; def self.call zone; TZInfo::Timezone.all.min_by { |tz| levenshtein_distance tz.name, zone.to_s } end end; TZInfo::Timezone::Finder.call('usa/pacific').name
<havenwood> dRbiG: Unsure if it's at all what your'e wanting, but that's ^ something.
<ruby[bot]> havenwood: # => uninitialized constant TZInfo (NameError) ...check link for more (https://eval.in/593763)
aegis3121 has quit [Ping timeout: 250 seconds]
<havenwood> #=> "US/Pacific"
<skwp> https://redmine.ruby-lang.org/issues/11930 this bug report seems to indicate there was a 2.3.0 issue with gc_mark_ptr ...
<havenwood> norc: looking now
<skwp> havenwood: thanks for the eyes on the segfaults
jackjackdripper has joined #ruby
<dRbiG> havenwood: oh my noooo
Dimik1 has joined #ruby
User458764 has joined #ruby
<havenwood> dRbiG: ;-)
<dRbiG> havenwood: as in overkill :D
<skwp> >> puts "test"
rbennacer has joined #ruby
vuoto_ has joined #ruby
<rbennacer> hey guys
flashpoint9 has joined #ruby
<havenwood> rbennacer: hi
kimegede has joined #ruby
<dRbiG> havenwood: hehe, actually user-wise that's definitely *better*
<rbennacer> has anyone of you played with ratyrate rating gem?
<rbennacer> i am having some weird issues with it
KCmetro has quit [Quit: Leaving...]
<dRbiG> havenwood: still overkill though :)
<rbennacer> when i try to rate with the same user multiple times it is throwing an error
vuoto has quit [Read error: Connection reset by peer]
<rbennacer> sharing the code in a second
<norc> havenwood, from what I can tell is that this particular line triggers the segmentation fault https://github.com/ruby/ruby/blob/v2_3_1/gc.c#L688
<norc> (The pointer seems to have been smashed, leading to a page fault)
ta_ has quit [Remote host closed the connection]
atom_enger has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
kyle has joined #ruby
atom_enger has quit [Client Quit]
atom_enger_ has joined #ruby
kyle is now known as Guest1615
<ruby[bot]> rbennacer: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/6b680397fc9cdf843506b43e6ec039b9
<ruby[bot]> rbennacer: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<rbennacer> this is really weird, is it the gem or is it me?
jetpackjoe has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
<skwp> I added another segfault to my gist https://gist.github.com/skwp/1550735ebb1f372be9e1297006adaa23
<skwp> the only consistent thing is that they are all around gc_mark_ptr, so maybe there is something up with the GC
<skwp> is there any likelihood that a native extension we're using could be the culprit if it looks like the gc is involved?
<norc> skwp, well its always the same line of code in the gc.c:1067 triggering this.
<skwp> i'm a little out of my depths here
<adam12> rbennacer: Not knowing the API for `rate`, it's likely the gem.
<norc> skwp, some stress test creating objects might be able to more reliably produce the crash.
<norc> skwp, no its not about the GC.
<norc> or its impossible to tell.
<rbennacer> adam12: any gem you recommend for rating
<skwp> ok we'll try to do an object creation stress test
mtkd has joined #ruby
<adam12> rbennacer: I normally just roll my own - but if this is Rails related, you should ask over in #rubyonrails.
<norc> skwp, can you attach the loaded features from the sigsegv screen?
isberg has joined #ruby
vuoto_ has quit [Remote host closed the connection]
<norc> skwp, logically this function is the problem: heap_get_freeobj_from_next_freepage
nerium has quit [Quit: nerium]
vuoto has joined #ruby
<skwp> yeah standby
chip_ has joined #ruby
SilverKey has quit [Quit: Halted.]
<skwp> loaded features is gigantic
<skwp> norc: any advice on writing a stress test? i wrote something that instantiates a giant hash in a tight loop but it eats memory and probalby never lets the gc run
aegis3121 has joined #ruby
Gasher has quit [Quit: Leaving]
<norc> skwp, no because Im not exactly sure whats broken. From the call path the ruby object heap is screwed up somehow.
<norc> skwp, you don't want to leak the memory. create objects and lose the references
_0xd has quit [Quit: Changing server]
<skwp> norc: gotcha
apawl has joined #ruby
cyphase has quit [Quit: cyphase.com]
geoff___ has joined #ruby
<norc> skwp, and get started by compiling ruby yourself.
howdoi has quit [Quit: Connection closed for inactivity]
moeabdol has joined #ruby
cyphase has joined #ruby
agit0 has joined #ruby
enterprisey has quit [Remote host closed the connection]
nankyokusei has joined #ruby
<apawl> I have a weird ruby versioning issue
<apawl> I'm using 2.1.2, but when I try to install a few gems, I'm getting the following:
<apawl> ancient_ruby.h:7: error: ‘struct RString’ has no member named ‘len’
<skwp> stepping away for a bit, thanks for your help norc and havenwood
<apawl> Actually, let me take a step back
<norc> skwp, sure. But you will have to use a memory debugger yourself in all likelihood.
johnmilton has quit [Quit: Namaste]
<apawl> I'm on an old version of CentOS. I want to make sure I have the correct ruby-devel files (2.1.2). Where would I get these from?
<norc> apawl, what gem are you trying to install?
judofyr has joined #ruby
Guest1615 has quit [Ping timeout: 250 seconds]
<apawl> unicorn
<norc> apawl, and please gist the entire error message
<apawl> Sure, one moment please
nankyokusei has quit [Ping timeout: 260 seconds]
yardenbar has joined #ruby
spiette has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby
spiette has joined #ruby
judofyr has quit [Client Quit]
wrkrcoop has joined #ruby
judofyr has joined #ruby
<dRbiG> done :)
<norc> apawl, though from the looks of it the build process is not using the correct ruby header.
<dRbiG> also my ruby code sucks :S
chip_ has quit [Ping timeout: 258 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
<apawl> Yeah, sorry that's what I meant by ruby-devel
jackjackdripper1 has joined #ruby
<apawl> I want to manually try installing the 2.1.2 headers
neo__ has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
isberg has quit [Quit: Textual IRC Client: www.textualapp.com]
<apawl> (also, that's not unicorn, but same error)
<norc> apawl, how is your Ruby installed?
Guest82 has joined #ruby
roamingdog has joined #ruby
judofyr has quit [Client Quit]
neo__ has joined #ruby
flashpoint9 has joined #ruby
<apawl> norc: pulling a file off of S3
<apawl> norc: using a heroku buildpack
* norc steps backwards
flashpoint9 has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
<apawl> yeah, yeah..
terminal_ has joined #ruby
arlek_ has joined #ruby
<norc> Would you prefer I pretended I had experience with heroku?
<apawl> Haha forget the heroku part
Guest82 has quit [Client Quit]
terminalrecluse has quit [Ping timeout: 244 seconds]
<apawl> Imagine I'm just trying to install the headers for 2.1.2
<apawl> (trying manually at the moment)
isberg has joined #ruby
<norc> apawl, it just never occured to me to install ruby by unpacking a prepackaged directory from someone
<isberg> Does Ruby have a constant for max and min integers? I.e Integer::MAX ?
<jhass> isberg: it automatically updates to BigInt which is only limited by your available memory
<norc> isberg, yes.
SilverKey has joined #ruby
<isberg> jhass How about max?
timanema has quit [Ping timeout: 276 seconds]
<jhass> ?
neo__ has quit [Ping timeout: 272 seconds]
<norc> isberg, assuming you are on a regular PC, you can probably get as high as 2^47-1 or around that ballpark.
ruby-lang437 has joined #ruby
<norc> (as in that amount of memory to represent your number)
arlek has quit [Ping timeout: 240 seconds]
<isberg> Sorry for the confusion. I'm need the maximum possible value for comparison
jaguarmagenta has joined #ruby
<jhass> there's no practical one
<isberg> I used Int = 1/0.0
<isberg> Before
<jhass> that's just Float:Infinity
<norc> Which will rightfully give you Infinity.
<jhass> so a float
<isberg> Guess I can use it again, but was hoping for something else
Dimik1 has quit []
<jhass> ?xy isberg
<ruby[bot]> isberg: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<jhass> isberg: if you want Infinity just use Float::INFINITY
<isberg> jhass Float::INFINITY is what Im looking for
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> note it's a float
<jhass> not an integer
lightt has joined #ruby
<isberg> Yeah, doesn't matter. Just need it for comp.
sauvin has quit [Ping timeout: 240 seconds]
roamingdog has quit [Remote host closed the connection]
<jhass> comparison to what though?
<isberg> jhass Life. Thanks for your help.
<jhass> most comparisons to it will always be true or false
roamingdog has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
<jhass> unless you happen to divide something by 0.0 by accident
sauvin has joined #ruby
open_coder has quit [Quit: Leaving]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
<dRbiG> anyone here doing lot of python _after_ being comfortable with ruby?
jmignault has quit [Ping timeout: 252 seconds]
ornerymoose has quit [Quit: ornerymoose]
roamingdog has quit [Remote host closed the connection]
lightt has quit [Read error: Connection reset by peer]
<brian_> Is there a go to sound library that developers use for something like an accept/reject sound?
roamingdog has joined #ruby
djbkd has joined #ruby
jmignault has joined #ruby
timanema has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
Emmanuel_Chanel_ is now known as Emmanuel_Chanel
gnufied has quit [Ping timeout: 250 seconds]
whathappens has quit [Remote host closed the connection]
<shevy> wat
whathappens has joined #ruby
fabianfrz1 has joined #ruby
kimegede has quit [Quit: Linkinus - http://linkinus.com]
nullfxn has quit [Ping timeout: 240 seconds]
wrkrcoop has quit [Quit: wrkrcoop]
neo__ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
fabianfrz1 has quit [Quit: Konversation terminated!]
norc has quit [Read error: Connection reset by peer]
skwp has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
karmatr0_ has quit [Ping timeout: 244 seconds]
sshbio has joined #ruby
weckl has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
whathappens has quit [Remote host closed the connection]
diegoaguilar has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
<smathy> brian_, no.
mistermocha has joined #ruby
arajakul has joined #ruby
arlek_ has quit [Ping timeout: 240 seconds]
<arajakul> how does one search for a regex in a file, and output that found regex into a new file?
<smathy> With regex of course.
<iszak_> that is so meta
codecop has quit [Remote host closed the connection]
Coldblackice has joined #ruby
SilverKey has joined #ruby
<arajakul> I have the regex, but i'm havin trouble outputting the regex into a new file, it outputs the whole line that it matched
<arajakul> rather then the regex itself
<jhass> ?code
<ruby[bot]> We can't help you without your code, please post it to https://gist.github.com
yardenbar has quit [Remote host closed the connection]
64MAAHT69 has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
64MAAHT69 is now known as KINGSABRI
eljimmy has joined #ruby
sshbio has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sshbio has joined #ruby
macsteps has joined #ruby
eljimmy has quit [Client Quit]
mistermocha has quit [Ping timeout: 240 seconds]
SilverKey has quit [Quit: Halted.]
blackgoat has joined #ruby
tomchapin has joined #ruby
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
ta_ has joined #ruby
ag4ve has quit [Ping timeout: 240 seconds]
AcidCrash has joined #ruby
pawnbox has quit [Remote host closed the connection]
brian_ has quit [Ping timeout: 276 seconds]
AcidCrash0x00 has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
pawnbox has joined #ruby
SilverKey has joined #ruby
Tricon has quit [Quit: Lost terminal]
rodfersou has quit [Quit: leaving]
arajakul has quit [Ping timeout: 250 seconds]
Yeomra has joined #ruby
maucar has quit [Quit: Leaving]
swills has quit [Ping timeout: 244 seconds]
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
sshbio has quit [Quit: sshbio]
rodfersou has joined #ruby
choke has joined #ruby
nachoman has joined #ruby
bkxd has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
ruby-lang437 has quit [Quit: Page closed]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
mistermocha has joined #ruby
synthroid has quit []
bkxd has quit [Ping timeout: 250 seconds]
brian has joined #ruby
mattwashere has quit [Remote host closed the connection]
ag4ve has joined #ruby
brian is now known as Guest16899
atom_enger_ has quit [Ping timeout: 250 seconds]
mattwashere has joined #ruby
majuscul1 is now known as majuscule
fmcgeough has quit [Quit: fmcgeough]
LoneHerm_ has joined #ruby
vuoto has quit [Quit: Lost terminal]
whathappens has joined #ruby
skweek has quit [Remote host closed the connection]
VeryBewitching has quit [Quit: Konversation terminated!]
reaVer has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 240 seconds]
johnmilton has joined #ruby
skweek has joined #ruby
dnewkerk has joined #ruby
jmignault has quit [Ping timeout: 258 seconds]
ChiefAlexander has joined #ruby
gnufied has joined #ruby
reaVer has joined #ruby
bradland has quit [Quit: Lost terminal]
bradland has joined #ruby
kareeoleez has quit [Remote host closed the connection]
workmad3 has joined #ruby
bradland has quit [Client Quit]
bradland has joined #ruby
<bradland> looking for a hand with some regex. https://eval.in/593828
johnmilton has quit [Ping timeout: 252 seconds]
<bradland> i'm using lograge with the lines tem for formatting the payload, but some of my log entries are appended with this ellipse, which the Lines parser chokes on.
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bradland> i can always gsub that '...' off after the fact but that adds quite a bit of time to file processing when handling lots of lines.
<bradland> so i'd prefer to simply ignore it in my regex capture.
jetpackjoe has quit [Ping timeout: 252 seconds]
<shevy> I would fine tune the regex at rubular.com
<bradland> i would kind of like it to be in its own capture group so that i can do some analysis on when it's showing up.
<bradland> that's kind of its own problem.
<bradland> yeah, shevy i've been heads down over at rubular for a while.
workmad3 has quit [Ping timeout: 264 seconds]
diegoaguilar has joined #ruby
nettoweb has joined #ruby
<atmosx> bradland: I would suggest asking the great fellas at #regex
<bradland> atmosx: not a bad idea
<atmosx> just give the language too
<atmosx> let them know you're in ruby
nettoweb has quit [Max SendQ exceeded]
<bradland> gotcha
kareeoleez has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mradmacher has quit [Quit: WeeChat 0.4.2]
madgen has quit [Ping timeout: 264 seconds]
solars has quit [Ping timeout: 240 seconds]
<shevy> atmosx! have you been drowned with work?
<atmosx> shevy: kinda
<atmosx> shevy: Now I'm ok, I work about 9 hours, but the first month I was at 14 hours on avg, then at 10 on avg, now I'm almost 8. But I like it so much, if it wasn't for my wife I'd be stuck there.
<atmosx> the only bad thing is that I don't have time for my hobby projects
johnmilton has joined #ruby
<atmosx> I'm reading Kermingham's and Ritchie's book about C, it's easy so far (nothing really new except statically typed things). How are you doing?
blackmesa has joined #ruby
<jhass> bradland: make payload non-greedy and ellipse optional, ()?, and perhaps non-capturing, (?:), ?
mistermocha has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<bradland> jhass: turns out making payload non-greedy works, but it requires more steps than simply making the ellipse group optional like so https://regex101.com/r/vP0uI1/1
mistermocha has joined #ruby
<bradland> was going to make it non-capturing, but i need to debug this behavior anyway
<bradland> so i can easily find out which requests are appending the ellipse if it's in a group
ta__ has joined #ruby
<jhass> bradland: if you keep payload greedy it'll eat the ellipse with its group being optional
<bradland> just noticed that very thing
<bradland> heh
<shevy> atmosx yeah I have noticed your lack of time simply by you not writing much at all for months! :-) I dunno, I just "bide by my time mostly"... during the coming summer I will probably work at some analytical chemistry institute that does something related to ... analytical characteristication of rhinoviruses ... I did not fully understand it, but they actually co-operate with the old group I was at for some
<shevy> months in 2014
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
hutch34_ has quit [Ping timeout: 244 seconds]
TomyLobo has quit [Ping timeout: 260 seconds]
neo___ has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Es0teric has joined #ruby
ksmutthu has quit [Read error: Connection reset by peer]
jaiks has quit [Ping timeout: 240 seconds]
<atmosx> I see
<atmosx> do you actually enjoy working there?
ChiefAlexander has quit [Quit: Leaving...]
neo__ has quit [Ping timeout: 260 seconds]
Hobogrammer has joined #ruby
pawnbox has joined #ruby
ksmutthu has joined #ruby
neo___ has quit [Ping timeout: 260 seconds]
<shevy> atmosx dunno, would be better if I'd had my own group :P
johnmilton has quit [Ping timeout: 276 seconds]
djbkd has quit [Remote host closed the connection]
<atmosx> You'll get there! :-)
solars has joined #ruby
mdw has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
mdw has quit [Max SendQ exceeded]
pawnbox has quit [Ping timeout: 244 seconds]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
xlegoman has quit [Read error: Connection reset by peer]
aupadhye has quit [Quit: Leaving]
djbkd has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
ur5us has joined #ruby
jaguarmagenta has joined #ruby
lightt has joined #ruby
mdw has quit [Max SendQ exceeded]
geoff___ has quit [Ping timeout: 250 seconds]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
last_staff has quit [Quit: last_staff]
lightt has quit [Remote host closed the connection]
nachoman has quit []
minimalism has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
lightt has joined #ruby
lightt has quit [Read error: Connection reset by peer]
n_blownapart has joined #ruby
kirun has quit [Quit: Client exiting]
CJKinni` has quit [Remote host closed the connection]
GodFather has joined #ruby
Tricon has joined #ruby
bkxd has joined #ruby
johnmilton has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
jmignault has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
macsteps has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 258 seconds]
macsteps has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
mistermocha has quit [Remote host closed the connection]
xall has quit [Ping timeout: 264 seconds]
jmignault has quit [Ping timeout: 244 seconds]
timanema has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
macsteps has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
davedev24 has quit []
isberg has quit [Quit: I'm out]
isberg has joined #ruby
macsteps has joined #ruby
jetpackjoe has joined #ruby
centrx has quit [Quit: centrx]
pilne has joined #ruby
apawl has quit [Quit: Page closed]
<al2o3-cr> sup!
jetpackjoe has quit [Client Quit]
mdw has joined #ruby
Gasher has joined #ruby
mdw has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 250 seconds]
safetypin has quit [Ping timeout: 260 seconds]
Sashimi has quit [Quit: Textual IRC Client: www.textualapp.com]
bradland has quit [Quit: bradland]
Spami has joined #ruby
vpassapera has joined #ruby
workmad3 has joined #ruby
macsteps has quit [Remote host closed the connection]
<vpassapera> Hello all. Have a quick question. Let's say I have a yaml file with the following.... hostname_aliases: - "Val1" - "Val2"
macsteps has joined #ruby
globalall0c has joined #ruby
<vpassapera> i read that file in ruby and i want to modify each value, e.g. aliases.each { |k, v| aliases[k] = v.... }
<vpassapera> The problem is that since there is no key set i get nil....but how do I iterate and change the values of that hash without keys?
<vpassapera> i want to change the value of each one
<jhass> it's not a "hash without keys"
<jhass> it's a plain array
<jhass> .map
<vpassapera> K
<vpassapera> Got it
<vpassapera> thank you.
<jhass> yw
Sashimi has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
malconis has joined #ruby
macsteps has quit [Ping timeout: 276 seconds]
sneakers has joined #ruby
ag4ve has quit [Ping timeout: 244 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
rbennacer has quit [Remote host closed the connection]
mistermocha has joined #ruby
rbennacer has joined #ruby
nankyokusei has joined #ruby
pharaoh2 has joined #ruby
rodfersou has quit [Quit: leaving]
macsteps has joined #ruby
whathappens has quit [Remote host closed the connection]
jmignault has joined #ruby
wrkrcoop has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
malconis has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 250 seconds]
macsteps has joined #ruby
<wrkrcoop> i need to build an endpoint for an API that can receive multiple ids for a resouce, i was thinking i would separate ids by ;, this seems ok, but convention is to just use post right? is using ; to separate IDs sticking to standards?
<jhass> I wouldn't know which standard
<wrkrcoop> jhass: restful
<jhass> restful doesn't specify any such thing
madgen has joined #ruby
<wrkrcoop> jhass: what do u think about separating ids with colons in a get request?
<jhass> for query params or formdata, it's ?id[]=1&id[]=2&id[]=3 is probably
<jhass> s/is probably//
<jhass> I think your design requirement of "multiple ids" is probably ill-advised
<wrkrcoop> jhass: are you saying i should just use post and put the IDs in the body?
<jhass> no
<lupine> ISTR the array form is a bit non-standard at the best of times
<jhass> I'm saying depending on your actual problem there are probably superior alternatives
<jhass> lupine: still the most common one, no?
<lupine> sure, but you can expect third-party support to be patchy
<jhass> opposed to say id=1&id=2 or id=1,2
<lupine> I'd generally avoid setting the same key multiple times in a querystring myself
macsteps has quit [Ping timeout: 240 seconds]
<lupine> which pushes on towards the ids=1,2,3 sort of thing
<jhass> well your standard rails form uses that encoding
<lupine> yeah. bless rails
<jhass> I think PHP decodes that by default too
<wrkrcoop> jhass: what would be superior alternatives?
jmignault has quit [Ping timeout: 246 seconds]
whathappens has joined #ruby
<wrkrcoop> get and post seem to be my only options
snath has quit [Ping timeout: 250 seconds]
<jhass> wrkrcoop: it's highly contextual
<jhass> you provided zero real context so far
symm- has quit [Ping timeout: 240 seconds]
caudill has joined #ruby
<wrkrcoop> jhass: i need to allow someone to make a request for up to 10 ids
<jhass> not any kind of context I'm looking for
<jhass> what's your route, how does your data look like, how does your response look like, how does the requester get those ids in the first place
<jhass> what's your resource in the first place
quazimodo has quit [Ping timeout: 258 seconds]
<wrkrcoop> jhass: route is something like /resouce/id response is json, requester gets the ids from some database or something
<jhass> what's the target audience (language / client library wise)
<jhass> ?fake
<ruby[bot]> Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
zenlot6 has joined #ruby
<wrkrcoop> internal teams are going to be hitting the API to get account info for each account associated with the id
caudill has quit [Remote host closed the connection]
<jhass> you're not answering any of the questions
spider-mario has quit [Remote host closed the connection]
<jhass> just wiggling around them
sauvin has quit [Read error: Connection reset by peer]
zenlot has quit [Ping timeout: 260 seconds]
<wrkrcoop> internal team hits API, they request multiple IDs, currently the API endpoint only supports 1 id, i need to change it to accept many, i said lets build a new API for that, they said no just modify the existing one
<wrkrcoop> currently the route is just /resource/id=123
<jhass> I give up
<wrkrcoop> im confused nvm
sauvin has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
biberu has quit [Read error: Connection reset by peer]
dhk has joined #ruby
User458764 has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<jhass> wrkrcoop: well, since you stay vague rather than a recommendation here's what the RESTful way would be. Returning a list of instances of a resource happens over a GET on the resource name, say GET /posts. Filtering typically happens by query params, so with a GET /posts?id[]=1&id[]=2 Rails would give you params[:id] #=> [1, 2] in your index action. In the wild something like GET /posts/search?id[]=1&id[]=2 can
<jhass> be observed too
<wrkrcoop> jhass: whats with the []
<jhass> see above
<wrkrcoop> if a param has that does it mean there are more?
<jhass> it's formdata convention for arrays
<wrkrcoop> oh
<wrkrcoop> jhass: thanks for the help
<jhass> note I'm neither recommending nor denying that as a solution to your actual problem, as I still know nothing about your real requirements
<al2o3-cr> 22
<wrkrcoop> jhass: this would not be ‘bakwards compatible’ correct? since most ppl using the api are just passing in /id=1 now they’d have to pass in /id[]=1
<al2o3-cr> 2
<jhass> wrkrcoop: no.
roamingdog has quit [Ping timeout: 244 seconds]
Sucks has quit [Read error: Connection reset by peer]
<jhass> the path is another part of the URI than the query param is
solars has quit [Ping timeout: 244 seconds]
mikeiniowa has joined #ruby
<wrkrcoop> jhass: but ill have to check if they’re just passing in 1 or an array of ids ...
<jhass> wrkrcoop: I won't help you with your actual problem since you don't provide any real context
<wrkrcoop> jhass: for next time, what do u mean by context?
<wrkrcoop> i know what context means
macsteps has joined #ruby
<jhass> not "I have some route that does some things" but "I currently have an API endpoint GET /posts that returns an array of {"id": 1, "content": "foo"} when requested. I want to allow to filter the results by id"
<wrkrcoop> got it. will work on it
<jhass> "users of my endpoint use Ruby with the rest-client gem as HTTP client"
mdw has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
bklane has joined #ruby
mdw has joined #ruby
RegulationD has quit [Remote host closed the connection]
mdw has quit [Max SendQ exceeded]
phoo1234567 has quit [Quit: Gotta go]
mdw has joined #ruby
Gasher^ has joined #ruby
Box-Jellyfish has joined #ruby
Gasher has quit [Ping timeout: 260 seconds]
<Box-Jellyfish> I've never programmed before, should I start with Ruby or Python?
firstdayonthejob has quit [Ping timeout: 276 seconds]
xall has joined #ruby
<jhass> Ruby obviously
<jhass> now ask #python and receive "Python obviously" as answer
<jhass> it makes no real difference if we're honest
<Box-Jellyfish> jhass: Yeah, that's right
mtkd has quit [Ping timeout: 250 seconds]
<Box-Jellyfish> jhass: But I cannot decide
<jhass> good, I decide for you. Pick Ruby
<Box-Jellyfish> jhass: It's pretty hard to decide
solars has joined #ruby
<Box-Jellyfish> jhass: But I need some good reasons
blackmesa has quit [Ping timeout: 240 seconds]
<jhass> there are none
<Box-Jellyfish> jhass: GaFY
<jhass> http://tryruby.org/ mmh, does that 500 for everybody currently or just me?
<Box-Jellyfish> jhass: Go and Fuck Yourself
mtkd has joined #ruby
<jhass> excuse me?
<Box-Jellyfish> jhass: Why you have to be such a bitch?
<adam12> jhass: 500 here.
<adam12> jhass: it was up earlier today tho
<Box-Jellyfish> jhass: Some am gonna say this one more time, GaFY!
<jhass> Box-Jellyfish: with that attitude you're not welcome in our community, try your luck #python then
<jhass> !rude Box-Jellyfish
<adam12> heh
mattwashere has quit [Remote host closed the connection]
agent_white has quit [Quit: bbl]
Box-Jellyfish has left #ruby [#ruby]
<havenwood> "We're sorry, but something went wrong."
snath has joined #ruby
n_blownapart has quit [Remote host closed the connection]
bruce_lee has quit [Remote host closed the connection]
n_blownapart has joined #ruby
blackmesa has joined #ruby
jsaak has quit [Ping timeout: 240 seconds]
cb` has joined #ruby
jetpackjoe has joined #ruby
Rickmasta has joined #ruby
bklane has quit [Remote host closed the connection]
diegoaguilar has quit [Remote host closed the connection]
bklane has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
macsteps has quit [Remote host closed the connection]
n_blownapart has quit [Ping timeout: 276 seconds]
bklane has quit [Ping timeout: 250 seconds]
lightt has joined #ruby
<jhass> mh, I'm bored, anybody logs #python / #python-unregisted? wonder if they managed to get themselves banned there too
karmatr0n has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
aryaching has quit [Ping timeout: 258 seconds]
aryaching has joined #ruby
xall has quit [Ping timeout: 244 seconds]
xall has joined #ruby
devbug has quit [Quit: ZZZzzz…]
diegoaguilar has quit [Read error: Connection reset by peer]
mdw has quit [Ping timeout: 272 seconds]
millerti has joined #ruby
millerti has quit [Client Quit]
diegoaguilar has joined #ruby
macsteps has joined #ruby
jmignault has joined #ruby
lightt has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
David27 has joined #ruby
dcunit3d has quit [Ping timeout: 264 seconds]
jmignault has quit [Ping timeout: 244 seconds]
lightt has joined #ruby
jetpackjoe has quit [Ping timeout: 272 seconds]
cdg has quit [Remote host closed the connection]
quazimodo has joined #ruby
wrkrcoop has joined #ruby
sauvin has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
jaguarmagenta has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
KnownSy0 has quit [Quit: Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is]
nankyokusei has joined #ruby
markfletcher has joined #ruby
n_blownapart has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
sauvin has joined #ruby
solocshaw1 has joined #ruby
mattwashere has joined #ruby
macsteps has quit [Remote host closed the connection]
elifoster has joined #ruby
mistermocha has joined #ruby
solocshaw has quit [Ping timeout: 252 seconds]
solocshaw1 is now known as solocshaw
jaguarmagenta has quit [Ping timeout: 272 seconds]
koooge has joined #ruby
n_blownapart has joined #ruby
choke has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 276 seconds]
GodFather has quit [Ping timeout: 246 seconds]
karmatr0n has joined #ruby
sesquipedalian has quit [Quit: WeeChat 1.5]
bkxd has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
choke has joined #ruby
mattwashere has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
lightt has quit [Quit: exit()]
allcentury has joined #ruby
dcunit3d has joined #ruby
marr has quit [Ping timeout: 276 seconds]
<ICantCook> toretore, Radar: Regarding that json parsing error yesterday, I solved it by running .force_encoding('iso-8859-1').encode('utf-8') on the string I was trying to parse. Working perfectly now.
mistermocha has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 276 seconds]
dhk has quit [Quit: Leaving]
RegulationD has joined #ruby
wnd has quit [Read error: Connection reset by peer]
wnd has joined #ruby
n_blownapart has quit [Ping timeout: 260 seconds]
Guest89011 has quit [Changing host]
Guest89011 has joined #ruby
Guest89011 is now known as nuck
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
shiver has quit [Read error: Connection reset by peer]