apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
rwk1 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
znz_jp has quit [Ping timeout: 264 seconds]
Bosox20051 has joined #ruby-lang
znz_jp has joined #ruby-lang
kurko_ has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
anonymus_ has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby-lang
sevvie has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
mistym has quit [Quit: Leaving]
mbj has quit [Ping timeout: 240 seconds]
kek has quit [Remote host closed the connection]
nertzy has joined #ruby-lang
TheIronWolf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brianpWins has quit [Quit: brianpWins]
nertzy has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nertzy has joined #ruby-lang
<zenspider> graph version 2.6.0 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/09/graph-version-2-6-0-has-been-released.html
saarinen has joined #ruby-lang
jperry_ has joined #ruby-lang
TheIronWolf has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
adaoraul has joined #ruby-lang
mistym has joined #ruby-lang
eugenejen has quit [Quit: eugenejen]
mdedetrich has quit [Quit: Computer has gone to sleep.]
JoshuaPaling has joined #ruby-lang
kek has joined #ruby-lang
charliesome has joined #ruby-lang
pkrnj has joined #ruby-lang
bastilian has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
bastilian has joined #ruby-lang
kurko_ has joined #ruby-lang
kek has quit [Ping timeout: 245 seconds]
jperry_ has quit [Quit: jperry_]
cored has quit [Ping timeout: 245 seconds]
mdedetrich has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
mdedetri_ has joined #ruby-lang
mdedetrich has quit [Ping timeout: 245 seconds]
lele has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
tkuchiki has joined #ruby-lang
jxie_ has joined #ruby-lang
richardburton has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
lele has joined #ruby-lang
jp- has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
jsaak has quit [Ping timeout: 260 seconds]
mdedetri_ has quit [Quit: Computer has gone to sleep.]
GeissT has joined #ruby-lang
richardburton has quit [Ping timeout: 268 seconds]
bzalasky has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
znz_jp has quit [Ping timeout: 260 seconds]
znz_jp has joined #ruby-lang
nathanstitt has joined #ruby-lang
mdedetrich has joined #ruby-lang
vlad_starkov has joined #ruby-lang
deception has joined #ruby-lang
richardburton has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
mootpointer has joined #ruby-lang
richardburton has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby-lang
wmoxam has quit [Client Quit]
havenwood has joined #ruby-lang
Wardrop has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
<zzakh> drbrain: do you have eta on rdoc 4.1? id like to do a review before you release
charliesome has joined #ruby-lang
zzakh is now known as zzak
seanlerner has joined #ruby-lang
billybobjoe has joined #ruby-lang
charliesome has quit [Ping timeout: 260 seconds]
<billybobjoe> i'm getting the following response from webrick... ERROR WEBrick::HTTPStatus::LengthRequired
<billybobjoe> can't figure out what's causing it. i have the content-length header set
dik_dak has joined #ruby-lang
Wardrop has quit [Quit: Wardrop]
<billybobjoe> i've googled but haven't been able to find anything
seanlerner has quit [Remote host closed the connection]
<billybobjoe> nm, figured it out thx
billybobjoe has left #ruby-lang [#ruby-lang]
adaoraul has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mdedetrich has quit [Ping timeout: 264 seconds]
sevvie has quit [Ping timeout: 260 seconds]
lfox has joined #ruby-lang
Bosox20051 has quit [Ping timeout: 248 seconds]
kek has joined #ruby-lang
kek has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
shinnya has joined #ruby-lang
TheIronWolf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nisstyre-laptop has joined #ruby-lang
kek has quit [Ping timeout: 268 seconds]
n8nl has quit [Ping timeout: 245 seconds]
Wardrop has joined #ruby-lang
kek has joined #ruby-lang
fifthofwry has quit [Remote host closed the connection]
rwk1 has quit [Read error: Connection reset by peer]
rwk1 has joined #ruby-lang
mdedetrich has joined #ruby-lang
mistym has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
Wardrop has quit [Quit: Wardrop]
rwk1 has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
richardburton has joined #ruby-lang
Bosox20051 has joined #ruby-lang
io_syl has quit []
tkuchiki has quit [Remote host closed the connection]
nneko001__ has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
sevvie has joined #ruby-lang
richardburton has quit [Ping timeout: 268 seconds]
kek has joined #ruby-lang
havenwood has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
kek has quit [Ping timeout: 248 seconds]
knu has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
gix has joined #ruby-lang
ryez has quit [Quit: Page closed]
soba has joined #ruby-lang
TheIronWolf has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby-lang
kek has joined #ruby-lang
kek has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
rwk1 has joined #ruby-lang
Wardrop has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
kek has quit [Ping timeout: 240 seconds]
kek has joined #ruby-lang
nignaztic has quit [Ping timeout: 260 seconds]
xcesariox has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Coincidental has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
saarinen has joined #ruby-lang
kek has quit [Ping timeout: 268 seconds]
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
xcesariox has quit [Ping timeout: 264 seconds]
xcesariox has joined #ruby-lang
kek has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 268 seconds]
lfox has quit [Quit: ZZZzzz…]
postmodern has quit [Quit: Leaving]
kek has quit [Ping timeout: 260 seconds]
xcesariox has quit [Ping timeout: 264 seconds]
deception_ has joined #ruby-lang
machuga is now known as machuga|away
TheIronWolf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 248 seconds]
vxxr has quit [Quit: leaving]
richardburton has joined #ruby-lang
bzalasky has joined #ruby-lang
deception_ has quit [Quit: Goodbye]
deception has quit [Quit: Goodbye]
richardburton has quit [Ping timeout: 262 seconds]
kek has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
kek_ has joined #ruby-lang
setmeaway has joined #ruby-lang
kek has quit [Ping timeout: 268 seconds]
havenwood has quit [Ping timeout: 268 seconds]
kek_ has quit [Ping timeout: 245 seconds]
kek has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
<Wardrop> Hey guys, I'm looking for a license like the MIT license, but which also requires the source code be made available with any redistribution, and where the rights of the license cannot be changed.
<Wardrop> Any suggestions?
ScaredWeems has left #ruby-lang [#ruby-lang]
weems has joined #ruby-lang
nofxx has quit [Ping timeout: 256 seconds]
Nisstyre-laptop has joined #ruby-lang
<jrobeson> Wardrop, and you don't want to use the GPL because?
kek_ has joined #ruby-lang
kek has quit [Ping timeout: 248 seconds]
nofxx has joined #ruby-lang
<jrobeson> although the GPL isn't well liked in the ruby community due to such restrictions
saarinen has quit [Quit: saarinen]
TheIronWolf has joined #ruby-lang
kek_ has quit [Ping timeout: 240 seconds]
Guest69242 has quit [Ping timeout: 264 seconds]
imperator has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
gix has joined #ruby-lang
kek has joined #ruby-lang
havenwood has joined #ruby-lang
jsullivandigs has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
mdedetrich has quit [Ping timeout: 260 seconds]
pothibo has quit [Quit: pothibo]
kek has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
kek_ has joined #ruby-lang
kek has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
richardburton has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
kek_ has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
pothibo has joined #ruby-lang
kek has quit [Ping timeout: 268 seconds]
postmodern has joined #ruby-lang
kek has joined #ruby-lang
pothibo has quit [Quit: pothibo]
kek has quit [Ping timeout: 264 seconds]
sevvie has quit [Ping timeout: 240 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Coincidental has joined #ruby-lang
schaerli has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
kek has joined #ruby-lang
Teddy2steper has joined #ruby-lang
knu has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
kek has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
kek has joined #ruby-lang
bondar has quit [Ping timeout: 248 seconds]
arBmind has joined #ruby-lang
kek has quit [Ping timeout: 248 seconds]
saarinen has quit [Quit: saarinen]
kek has joined #ruby-lang
vlad_starkov has joined #ruby-lang
lsegal has joined #ruby-lang
tharindu has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
gix has quit [Quit: Client exiting]
vlad_starkov has quit [Remote host closed the connection]
kek has joined #ruby-lang
apeiros has joined #ruby-lang
brianpWins has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
tomzx_mac has quit [Ping timeout: 240 seconds]
kek has joined #ruby-lang
kek has quit [Read error: Connection reset by peer]
kek has joined #ruby-lang
kek has quit [Ping timeout: 240 seconds]
schaerli has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
<Wardrop> jrobeson: Just seems excessively verbose. I just want a modified MIT-style license, which doesn't permit removing rights of the original license, and which requires original and any modified source code to be made available with any redistribution.
<jrobeson> that is the GPL
<jrobeson> i doubt anybody has spent lawyer money to replicate what the GPL is
<jrobeson> err what the GPL already does
<Wardrop> I basically just want to prevent people from commercialising the software, and I figure forcing them to make their source code available would mostly achieve that. It's nota personal concern, but it's software I developed as an employee, and these are basic the conditions my employer wants to put on the code.
<jrobeson> you could include the creative commons GPL simplified language deed
<Wardrop> Maybe GPL is the best option
<jrobeson> it's also possible you want to use the AGPL if it's server software
<jrobeson> or networked software rather
GarethAdams has quit [Ping timeout: 245 seconds]
<Wardrop> It's a server-side Ruby web applications
<Wardrop> application* no plural
<jrobeson> then the AGPL would be best
<jrobeson> one of the GPL loopholes is keeping all your customizations local and thus not counting as distribution
<jrobeson> of course.. none of this is tested in court ..
<Wardrop> jrobseon: Yeah I don't mind
<jrobeson> but that is why people use the AGPL
<jrobeson> over the GPL
<jrobeson> Wardrop, you should consider the creativecommons GPL deed and linking to that
<jrobeson> or maybe they don't do the deeds anymore..
<Wardrop> I mean personally, if someone wants to sell what is available for free, and people are gullible enough to fall for it, I don't really care. If someone makes significant modifications that people are willing to pay for, then I also don't care whether he keeps his source private or not.
flip_digits has joined #ruby-lang
Wardrop has left #ruby-lang [#ruby-lang]
daws has joined #ruby-lang
daws has quit [Client Quit]
daws has joined #ruby-lang
daws has quit [Client Quit]
GarethAdams has joined #ruby-lang
daws has joined #ruby-lang
<jrobeson> that's lame .. the deeds are gone
<jrobeson> :(
minivan has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
saarinen has joined #ruby-lang
TheIronWolf has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
daws has left #ruby-lang [#ruby-lang]
daws23 has joined #ruby-lang
tharindu has quit [Remote host closed the connection]
richardburton has left #ruby-lang [#ruby-lang]
yxhuvud has joined #ruby-lang
tharindu has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
mdedetrich has joined #ruby-lang
tonni has quit [Remote host closed the connection]
rhizome has joined #ruby-lang
<rhizome> howdyhi. getting this, am i an idiot? There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-1.8.26.tgz' or 'rubygems-1.8.26.tgz', it's not possible to validate it.
<rhizome> nm, finding #rubygems
rhizome has left #ruby-lang ["whee"]
hhatch has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
workmad3 has joined #ruby-lang
lele has left #ruby-lang ["Leaving"]
tonni has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
daws23 has quit [Remote host closed the connection]
tonni has quit [Read error: Connection reset by peer]
lele has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
FastJack has quit [Ping timeout: 245 seconds]
<erikh> it's signed
<erikh> or should be, at least
<erikh> drbrain is pretty diligent about things like that.
nofxx has quit [Ping timeout: 245 seconds]
JohnBat26 has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
hogeo has joined #ruby-lang
tonni has joined #ruby-lang
mistym has quit [Remote host closed the connection]
tonni has quit [Read error: Connection reset by peer]
jsaak has joined #ruby-lang
mytrile_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Bosox20051 has quit [Read error: Connection reset by peer]
Bosox20051 has joined #ruby-lang
h_kon has joined #ruby-lang
tonni has joined #ruby-lang
pkrnj has joined #ruby-lang
workmad3 has quit [Ping timeout: 268 seconds]
dc5ala has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
rwk1 has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby-lang
h_kon has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
setmeaway has quit [Quit: Leaving]
io_syl has quit []
<erikh> git commit -a
Coincidental has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
h_kon has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
weems is now known as weemszzzzzzzzz
FastJack has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has joined #ruby-lang
tonni has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
relix has joined #ruby-lang
tonni has quit [Remote host closed the connection]
richardburton has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mitchty has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby-lang
mitchty has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 250 seconds]
richardburton1 has joined #ruby-lang
richardburton has quit [Read error: Connection reset by peer]
<maloik> Anyone happen to know anything about cocktails? :D
elia has joined #ruby-lang
ecnalyr_ has joined #ruby-lang
ecnalyr has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
richardburton1 has quit [Ping timeout: 240 seconds]
tonni has joined #ruby-lang
richardburton has joined #ruby-lang
arBmind has joined #ruby-lang
ecnalyr_ has quit [Ping timeout: 245 seconds]
mdedetrich has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
flip_digits has joined #ruby-lang
flip_digits has quit [Read error: Connection reset by peer]
flip_digits has joined #ruby-lang
<yorickpeterse> monring
<yorickpeterse> * morning
<yorickpeterse> maloik: I know how to drink them
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
mootpointer has quit [Quit: ENOCAFFEINE.]
<yorickpeterse> "Sent from a mobile device" is this the new "Sent from my iPhone while taking a shit" thing?
<maloik> yorickpeterse: but drinking is easy :(
kek has joined #ruby-lang
flip_digits has quit [Ping timeout: 240 seconds]
<ndrst> ,pom
<ndrst> moin
<ndrst> shift to left by one key
kek has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
benlovell has quit [Ping timeout: 245 seconds]
<ndrst> why would you make a rubygem and then it has sh code in it?
<yorickpeterse> https://github.com/oguzbilgic/garaj why would you use this?
<yorickpeterse> Are file managers too mainstream these days?
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
jerrytgarcia has joined #ruby-lang
<ndrst> lol.
jerrytgarcia has quit [Client Quit]
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
<_rgn> maybe it's not a serious project
<yorickpeterse> _rgn: probably, but I wouldn't be surprised if people were to start using it seriously
<ndrst> weel with 17 stars..
<ndrst> i don't trust projects with 6 commits though
skade has joined #ruby-lang
<ndrst> especially with this commit messages
dik_dak has quit [Quit: Leaving]
jerrytgarcia has joined #ruby-lang
postmodern has joined #ruby-lang
KTMBoi88 has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
<maloik> Arrrr, talk like a pirate day is definately the best day of the year
gix has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Bosox20051 has quit [Ping timeout: 248 seconds]
<maloik> ndrst: isn't it just easier to distribute that way ?
saarinen has quit [Quit: saarinen]
<yorickpeterse> wait that's today?
<maloik> sure is
<yorickpeterse> god damn it, I should've bought a hat
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<maloik> we've got plenty :D
<maloik> and swords
<yorickpeterse> :<
<yorickpeterse> take pictuar
<maloik> we did even better
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> wat
<yorickpeterse> that is better though
flip_digits has joined #ruby-lang
<yorickpeterse> co-worker linked http://thingsorganizedneatly.tumblr.com/ to me, I think my OCD is a bit too obvious
minivan has quit [Ping timeout: 240 seconds]
<maloik> have to admit i like those pictures
<yorickpeterse> They are too fake
* yorickpeterse just re-aligned his phone to his wallet
relix has joined #ruby-lang
<yorickpeterse> damn it
<DefV> most of that isn't really organized neatly
relix has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 260 seconds]
relix has joined #ruby-lang
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
richardburton has quit [Quit: Leaving.]
<ndrst> maloik: feels wrong for me
jerrytgarcia has joined #ruby-lang
<maloik> I see what you're getting at, but using an option parser and doing everything in ruby to then execute the same open command is kinda silly as well
tbuehlmann has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
Pupeno has joined #ruby-lang
<yorickpeterse> hihi, abusing TCPSocket to see if a server is up and running
<ndrst> yorickpeterse: why?
<matti> yorickpeterse: ;]
<yorickpeterse> ndrst: so basically I'm doing a rolling reboot in an AWS autoscaling group. I however in those cases don't want to reboot everything at once
<yorickpeterse> thus I need to somehow verify if a server is back up
<yorickpeterse> Amazon only changes the server status if you actually shut it down, a reboot is still considered as "running"
yfeldblum has joined #ruby-lang
stamina has joined #ruby-lang
<yorickpeterse> So what I instead intend to do is to check if SSH is available and bail out after a few seconds (then repeat that until it's back up)
<ndrst> ah. amazon.
<ndrst> okay that makes sense then (;
mdedetrich has quit [Quit: Computer has gone to sleep.]
kek has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
scottschecter has quit [Ping timeout: 240 seconds]
Pupeno_ has joined #ruby-lang
<yorickpeterse> > domain jobdeals.us
<yorickpeterse> > registered in Romania
<yorickpeterse> looks legit
<yorickpeterse> ooooh a Gmail address
<yorickpeterse> Assuming these whois details are even correct
Pupeno has quit [Ping timeout: 264 seconds]
<yorickpeterse> wohoo, I haz rolling reboot
ohsix has quit [Ping timeout: 245 seconds]
mytrile_ has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
yawnster has joined #ruby-lang
ohsix has joined #ruby-lang
yawnster has quit [Client Quit]
alatchford has joined #ruby-lang
<alatchford> Hi all, I'm new to ruby but interested in using it. I would like to use it for a commercial project though, is there a way of packaging up ruby without including the source code. (I'm presuming this is possible using gems, I've done similar in python with eggs). Any advice would be appreciated :)
<darix> there are tools like ruby2exe and friends
<darix> though ... all your .rb files can be extracted out of those
<maloik> alatchford: Sirportly does that. I'm not entirely sure how, but you may be able to find some info on their site/blog or what not
<maloik> they offer a self hosted solution where the source is compiled or something, but you can still run rails console or add your own modules
<alatchford> cheers guys, I'll start the google hunt :)
scottschecter has joined #ruby-lang
<lupine> if you're interested in keeping the code secret, ruby is not really for you. neither is python, java, or a host of other managed languages
benlovell has joined #ruby-lang
vlad_starkov has joined #ruby-lang
KTMBoi88 has quit [Read error: No route to host]
<alatchford> it's a fairly niche application so we've shipped pyc's in eggs in python for a number of years without too many problems, but we're looking at repurposing Redmine for a new product so would be good to at least have some obfuscation
<lupine> um
<lupine> redmine is GPLv2-licensed
KTMBoi88 has joined #ruby-lang
<lupine> it's OK to hold copyright in contempt until you start selling things
<yorickpeterse> why do you need obfuscation?
<yorickpeterse> Even with compiled and optimized C you can still reverse engineer it
<yorickpeterse> You're probably better off setting up a proper licensing model
<lupine> well, it's a much tougher job than doing the same with obfuscated ruby
<lupine> time-to-add-one-new-feature is probably an order of magnitude or two higher
<darix> alatchford: every time you sell it ... people can ask for the source code.
<darix> alatchford: at least if you want to honor the license
<darix> and your modifications/addons probably need to be GPL 2 aswell
<lupine> it's a shame redmine isn't agpl, really
bastilian has quit [Quit: Linkinus - http://linkinus.com]
<darix> lupine: ;)
<alatchford> hmm, that's not the way I've understood it. I understand the core is GPLv2 and any patches I apply to the core are but surely any plugins I develop are okay correct?
* lupine learns about chiliproject
<lupine> alatchford, no
<darix> lupine: chili is dead
<lupine> that's a shame
<lupine> although it had a release in march
<darix> lupine: yes still on rails 2.3 if i recall correctly
<darix> while redmine is on 3.x
dc5ala has quit [Quit: Ex-Chat]
<lupine> not on 4.0? it must be dead
<lupine> ;)
<lupine> alatchford, licensing is hard. but a plugin to a gpl2 rails app, designed for that rails app, is going to need to be gpl2 itself
<darix> alatchford: your license need to be at least as permissive as GPL 2
<lupine> although IANAL, I am pretty confident about that
<alatchford> hmm then how do things like easy redmine work?
<darix> lupine: it can also be BSD 2 or MIT
<alatchford> they just give out their code?
<lupine> for the rails bit
<lupine> not the redmine bit
<darix> lupine: naw. you can have more permissive licenses with GPL2 apps
<darix> just not things that add more restrictions
<lupine> oh, sorry, I see what you mean
<lupine> yes
<darix> e.g. BSD 4c would not work
<lupine> alatchford, sure, why wouldn't they?
sjltaylor has joined #ruby-lang
<alatchford> to somewhat prevent the spread of imitators
<lupine> no, you've lost me
_dumfries has joined #ruby-lang
<darix> alatchford: that is always the danger of opensource
<alatchford> so i'm presuming they have a licensing model
<lupine> any bumpkin can come and look at what your application does and clean-room-implement the same thing
<alatchford> true
<alatchford> but it's a load easier if you have the code
<lupine> the code is a reasonably small part of the service - or should be
<yorickpeterse> A plugin isn't required to be GPL since it's considered linking against Redmine
dumfries has joined #ruby-lang
<yorickpeterse> You're not making modifications of Redmine itself
<alatchford> that's what I thought yorickpeterse
<alatchford> that's like saying anything to runs on top of linux can't be commercial
<yorickpeterse> if you modify an existing plugin however you have to follow said plugin's license
<alatchford> yes
<lupine> well, I did say IANAL ;)
* alatchford goes to google IANAL
<lupine> heh, careful with that one
<darix> yorickpeterse: GPL considers "running in the same memory space"
<darix> which your plugin will do
<yorickpeterse> I Am Not A Lawyer
<alatchford> ta
<alatchford> yeah lupine, thanks for the advice
jsullivandigs has quit [Remote host closed the connection]
<yorickpeterse> darix: GPLv2 or GPLv3? I'm pretty sure it mentioned "linking against" at some point
stfn_ has joined #ruby-lang
<darix> yorickpeterse: i have that fun regularly at work :)
jsullivandigs has joined #ruby-lang
<jrobeson> well for big gpl projects like drupal or wordpress
<darix> you cant imagine how much fun it was to when it was clear that gpl 2 and 3 are not compatible
<yorickpeterse> Ah, the GNU lesser license allows linking
<jrobeson> they do consider it linking
<yorickpeterse> "This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License."
<jrobeson> however.. not for the js/css assets
<darix> jrobeson: correct
<darix> there was some "fun" not long ago about that
<lupine> licensing is hard
<darix> lupine: amen to that.
<alatchford> yeah I agree
<jrobeson> so.. that's how people sell themes for wordpress
<yorickpeterse> ^ shit like that is why I stay away from the GPL
<lupine> the last thing I did was unlicense
<lupine> a bunch of stuff for work is GPL, though
<jrobeson> it just depends on your goals
<darix> lupine: you cant have unlicenses/non copyrighted stuff
<jrobeson> do you want freedom for the developer.. or freedom for the user
<darix> at most you can make it public domain
<lupine> that's jurisdiction-dependent
<lupine> as is that
<jrobeson> that's the difference
<lupine> public-domain isn't really a thing in .uk
<lupine> hence the unlicense
<jrobeson> not sure why one wouldn't just use MIT
<jrobeson> for that usecase
<yorickpeterse> public-domain doesn't even exist everywhere
<yorickpeterse> jrobeson: MIT doesn't cover copyrights I believe
toretore has joined #ruby-lang
<darix> alatchford: to answer your queston ... they offer service. which is their business. not so much redmine itself.
<jrobeson> huh?
<lupine> MIT doesn't make it public-domain in jurisdictions where public-domain exists
<jrobeson> the license only works because of copyright
<yorickpeterse> jrobeson: errrr i meant patents
<jrobeson> i mean.. one can't really do public domain .. that's just it
<jrobeson> in some places
<lupine> unlicense does
<jrobeson> well one could use the apache 2 license
<yorickpeterse> Either way, the Apache license basically adds a mountain pile of extra stuff to deal with patents and all the other stuff that's broken anyway
* yorickpeterse prefers the MIT because he can actually read it
<yorickpeterse> also because I don't give a darn about people using my stuff for proprietary projects, I'd actually be honored
<jrobeson> i have heard of unlicense , but i didn't know if if had actually been gone over by lawyers
<alatchford> darix thanks :)
jsullivandigs has quit [Ping timeout: 245 seconds]
<lupine> well, if you're a company making money with code and that code helps to bootstrap another company, it's useful to be able to remain at feature parity with them
<lupine> which is, I think, work's justification for gpl on the projects we have open
<yorickpeterse> You don't stay on parity by restricting them, you do it by kicking their ass
<darix> so ideally you want affero lgpl of course ;)
* yorickpeterse says that while we're basically doing the former pretty soon
<lupine> feature parity, not general parity
<lupine> but I care about these things much less than I used to
<alatchford> just spoke with my boss and apparently this isn't a concern for him because the redmine piece isn't a huge part of the deal so we're going to open source the plugins we write now instead :)
<alatchford> everybody wins!
<yorickpeterse> I prefer "Oh you copied our stuff? Well good for you, we improved it. Fuck you too" over "You can't copy our stuff"
<yorickpeterse> The former is much more fun :)
<yorickpeterse> either way, back to rebooting servers
<jrobeson> i must admit was suprised that the MIT way has generally worked just as well
<jrobeson> i didn't expect that back in 2000
<yorickpeterse> We have some projects here that apparently "rock" and "use the MIT license"
<alatchford> yeah we're going through the whole copyright process with one of our core products at the moment, going to get messy over the next few months
* yorickpeterse hates auto generated READMEs
<lupine> it's better to get over the messiness earlier, rather than later
<lupine> look at some of the busybox court cases :D
<jrobeson> i'm glad i don't have to "go over it later"
fosky has joined #ruby-lang
<alatchford> yeah
vlad_starkov has quit [Remote host closed the connection]
<darix> alatchford: +1
<alatchford> cheers for the advice guys
runeb has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lupine> another victory for richard stallman :p
adambeynon has joined #ruby-lang
<jrobeson> stallman is a strange dude..
<yorickpeterse> don't get me started, he makes sense in some regards but he's a total nutter
<jrobeson> i do think the world is better with him in it than not though
<jrobeson> even though i don't like him as a person
<jrobeson> he changed my life
relix has joined #ruby-lang
<jrobeson> not directly.. but GNU certainly has..
<yorickpeterse> IT'S GNU/LINUX!!!1111
<yorickpeterse> ugh
alatchford has quit [Ping timeout: 250 seconds]
<jrobeson> it's not really worth getting worked up about imo
<jrobeson> i'm sure you (like everybody else) have something just as annoying about yourself
<lupine> well, he's spent a long time getting worked up about things that nobody else saw as a problem at the time
<jrobeson> at least not worth it unless you acctually have to interact with him :)
<yorickpeterse> jrobeson: more than I can count on 100 fingers
<jrobeson> because that is annoying
runeb has quit [Remote host closed the connection]
<jrobeson> we hosted him at a non software conference back in 2006.
<ljarvis> whuzzah
<jrobeson> on #ruby
<jrobeson> <mva> can anybody advice me, how can I fix 'invalid multibyte escape: /^\xFF\xFE/' error to "when /^\xFE\xFF/" condition? [in vpim gem, actually. It seems, it is incompatible with ruby20]
<jrobeson> <hoelzro> looks like someone set up you the BOM
<yorickpeterse> you just got BOMified
schaerli has joined #ruby-lang
<yorickpeterse> *queue CSI tune*
<jrobeson> i chuckled.. haven't seen an all your base joke in awhile
mytrile_ has joined #ruby-lang
<yorickpeterse> Hm, I see a lunch table with my name on it
<yorickpeterse> brb
ecnalyr has joined #ruby-lang
bastilian has joined #ruby-lang
machuga|away is now known as machuga
schaerli has quit [Read error: Connection timed out]
schaerli has joined #ruby-lang
runeb has joined #ruby-lang
stfn_ has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
tkuchiki has quit [Remote host closed the connection]
stfn_ has joined #ruby-lang
stfn_ has quit [Max SendQ exceeded]
stfn_ has joined #ruby-lang
stfn_ has quit [Max SendQ exceeded]
stfn_ has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 250 seconds]
runeb has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
gr33n7007h has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
stfn_ has quit [Quit: Textual IRC Client: www.textualapp.com]
luckafrance has joined #ruby-lang
GeissT has quit [Ping timeout: 248 seconds]
luckafrance has quit []
tharindu_ has joined #ruby-lang
tharindu has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
ldnunes has joined #ruby-lang
n8nl has joined #ruby-lang
arBmind has quit [Ping timeout: 260 seconds]
soba has quit [Ping timeout: 248 seconds]
jp- has quit [Ping timeout: 248 seconds]
postmodern has quit [Quit: Leaving]
tbuehlmann has joined #ruby-lang
cored has joined #ruby-lang
banister`gym has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
io_syl has joined #ruby-lang
io_syl has quit [Client Quit]
runeb has joined #ruby-lang
nertzy has joined #ruby-lang
Darkchaos has joined #ruby-lang
<Darkchaos> cookie = {} def http_get(url) if (cookie != nil) then
<Darkchaos> error: cookie undefined local variable or method
banisterfiend has quit [Quit: Computer has gone to sleep.]
flip_digits has quit [Ping timeout: 240 seconds]
n8nl has quit [Remote host closed the connection]
jxie_ has quit [Quit: leaving]
schaerli has quit [Remote host closed the connection]
rwk1 has quit [Remote host closed the connection]
kek has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
<tbuehlmann> Darkchaos, you don't have access to that local variable inside the method
kek has joined #ruby-lang
<Darkchaos> define cookies as global=
rwk1 has joined #ruby-lang
yalue has joined #ruby-lang
arBmind has joined #ruby-lang
benlovell has quit [Ping timeout: 248 seconds]
jp- has joined #ruby-lang
benlovell has joined #ruby-lang
kek has quit [Ping timeout: 245 seconds]
arBmind1 has joined #ruby-lang
breakingthings has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
arBmind has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
pothibo has joined #ruby-lang
pothibo has quit [Client Quit]
<yorickpeterse> yay planning
<yorickpeterse> my entire next week is already planned and the week hasn't started yet
rue_XIW has quit [Remote host closed the connection]
Darkchaos has quit [Ping timeout: 250 seconds]
kek has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
riffraff has joined #ruby-lang
io_syl has joined #ruby-lang
arBmind has joined #ruby-lang
kek has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
arBmind1 has quit [Ping timeout: 248 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kith has quit [Quit: kith]
kirin` has quit [Quit: Lost terminal]
tonni has quit [Remote host closed the connection]
kith has joined #ruby-lang
rwk1_ has joined #ruby-lang
Boohbah has quit [Quit: Lost terminal]
kstuart has quit [Quit: kstuart]
FiXato has quit [Quit: Quit my IRC client. I'll probably be back soon after a restart of it.]
rwk1 has quit [Ping timeout: 260 seconds]
yorickpeterse has quit [Quit: The NSA took my baby]
yorickpeterse has joined #ruby-lang
FiXato has joined #ruby-lang
tkuchiki has joined #ruby-lang
tomzx_mac has joined #ruby-lang
flip_digits has joined #ruby-lang
benlovell has joined #ruby-lang
io_syl has quit []
flip_digits has quit [Ping timeout: 248 seconds]
jiuweigui has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 268 seconds]
<ledestin> https://gist.github.com/ledestin/6623382 can someone explain lambda usage here?
pothibo has joined #ruby-lang
<ledestin> arg references what?
<whitequark> that's some horrible code
<ledestin> haha
<lupine> the value of args.first will be getting put into the block-local variable arg - assuming that syntax works
<whitequark> also what lupine said
<lupine> I've never seen lambdas combined with case statements before, and I can't say I care for it
<ledestin> lupine: hmm, wasn't it $_?
kurko_ has joined #ruby-lang
<lupine> ?
<tbuehlmann> I had no fun reading that case switch
<lupine> ruby is only beautiful when you don't take a machete to its face
<ledestin> lupine: I think if you call gets, its result will get into $_
<ledestin> lupine: and maybe some other cases
<lupine> I don't see how that relates to the code you posted
<ledestin> lupine: I just wonder if $_ and arg are realted
<lupine> from the code snippet you posted, no
<ledestin> lupine: thanks, never heard of arg
<lupine> ...
<ledestin> so which oss project has good code quality? I'd like to read it. I don't see anything wrong with that case.
<ledestin> though I don't understand the need for lambda there
benlovell has quit [Ping timeout: 248 seconds]
<ledestin> why there are lambdas there?
banisterfiend has joined #ruby-lang
eugenejen has joined #ruby-lang
malev has joined #ruby-lang
banisterfiend has quit [Client Quit]
<ledestin> ok, it's not 'arg', it's that somehow args.first gets into lambda
Darkchaos has joined #ruby-lang
<Darkchaos> Ok guys, is there an easy way to send the cached cookies with an http get? (with built in methods, no mechanize)
banisterfiend has joined #ruby-lang
benlovell has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
jsullivandigs has joined #ruby-lang
kstuart has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mytrile_ has quit [Remote host closed the connection]
minivan has joined #ruby-lang
Mephisto4 has joined #ruby-lang
schaerli has joined #ruby-lang
benlovell has quit [Ping timeout: 268 seconds]
wmoxam has joined #ruby-lang
mytrile_ has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
kek has joined #ruby-lang
hogeo has joined #ruby-lang
<darix> Darkchaos: set the cookies header?
<Darkchaos> yes
<darix> or just use the http-cookie
<darix> that is library used by mechanize
<darix> Darkchaos: what is your problem with mechanize?
<Darkchaos> I want to do it all just from ruby without some gems
<darix> Darkchaos: why?
<Darkchaos> to keep things simple
<darix> Darkchaos: reinventing the wheel is not keeping things simple
utaA has joined #ruby-lang
nathanstitt has joined #ruby-lang
<Darkchaos> but requiring many gems is not cool either
<Darkchaos> but Ill give it a try
<darix> Darkchaos: keeping the numbers low is always good yes
adambeynon has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
flip_digits has joined #ruby-lang
dhruvasagar has joined #ruby-lang
lfox has joined #ruby-lang
benlovell has joined #ruby-lang
flip_digits has quit [Ping timeout: 240 seconds]
tomzx_mac has quit [Ping timeout: 268 seconds]
Caius has quit [*.net *.split]
phracker has quit [*.net *.split]
kvs has quit [*.net *.split]
oddmunds has quit [*.net *.split]
igalic has quit [*.net *.split]
wasnotrice has quit [*.net *.split]
igalic has joined #ruby-lang
oddmunds has joined #ruby-lang
momomomomo has joined #ruby-lang
wasnotrice has joined #ruby-lang
alexju has joined #ruby-lang
loincloth has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kvs has joined #ruby-lang
utaA has quit [Remote host closed the connection]
deception has joined #ruby-lang
VTLob has joined #ruby-lang
<andrewvos> Hmm, :vmap <c-c> "+y
<andrewvos> Any reason why this isn't a good idea?
Caius has joined #ruby-lang
benlovell has quit [Ping timeout: 253 seconds]
tonni has joined #ruby-lang
bantic has joined #ruby-lang
<maloik> wif it does what I think it does, it's probably got something to do with OS-wide copy pasting and vim buffers
<maloik> s/wif/if
benlovell has joined #ruby-lang
<maloik> kinda wish I knew vim-fu :-(
<andrewvos> It makes CTRL+C copy the selection to the OS clipboard
<maloik> oh..
<yorickpeterse> scale all the things
<yorickpeterse> which should hopefully only take around 10 minutes per server
uta has joined #ruby-lang
flip_digits has joined #ruby-lang
kvs has quit [Ping timeout: 243 seconds]
<Darkchaos> simply gem install mechanize?
kvs has joined #ruby-lang
kstuart1 has joined #ruby-lang
havenwood has joined #ruby-lang
hogeo_ has joined #ruby-lang
benlovell has quit [Ping timeout: 248 seconds]
kstuart has quit [Ping timeout: 240 seconds]
hogeo has quit [Ping timeout: 248 seconds]
mdedetrich has joined #ruby-lang
headius has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
mytrile_ has quit [Remote host closed the connection]
rwk1_ has quit [Remote host closed the connection]
hogeo_ has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
headius has quit [Quit: headius]
sevvie has joined #ruby-lang
headius has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
nofxx has joined #ruby-lang
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
malev has quit [Quit: Leaving]
jsullivandigs has quit [Ping timeout: 245 seconds]
sr78ger has joined #ruby-lang
sr78ger has quit [Max SendQ exceeded]
sr78ger has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mistym has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
flip_digits has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
igalic has quit [Changing host]
igalic has joined #ruby-lang
sevvie has quit [Ping timeout: 264 seconds]
<ljarvis> wat
sevvie has joined #ruby-lang
<ljarvis> Darkchaos: yes gem install mechanize and require mechanize in your code
bzalasky has joined #ruby-lang
C0C0 has left #ruby-lang [#ruby-lang]
<ljarvis> Darkchaos: also 'keep things simple' will only happen if you use external libraries. That's the whole intention
dhruvasagar has quit [Ping timeout: 268 seconds]
Darkchaos is now known as Darkchaos2
Mephisto4 has left #ruby-lang [#ruby-lang]
Darkchaos has joined #ruby-lang
<Darkchaos> ljarvis: Problem is "/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)"
<Darkchaos> Failed to build native gem extention
runeb has quit [Remote host closed the connection]
<yorickpeterse> ugh, I've really come to dislike the stop sentence "Maybe we should use X, this looks too complicated"
mistym has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
<yorickpeterse> IT HAS 1) A LOOP 2) USES TCPSOCKET TO CONNECT 3) CALLS #REBOOT
<yorickpeterse> BIG WHOOP
* yorickpeterse grumbles
<yorickpeterse> now to add data for 19K companies
<yorickpeterse> yaya
<yorickpeterse> - a
<Darkchaos> ljarvis: I know I need ruby-dev but on mac-os I don't know why?
tonni has joined #ruby-lang
<yorickpeterse> oi, does File#lines read the entire file at once or line by line?
<yorickpeterse> I think there also was IO#read_lines or something
momomomomo has quit [Quit: momomomomo]
<andrewvos> Is there a geoip gem that wraps the maxmind geoip country lite db?
<andrewvos> Without having to download it like some savage
<yorickpeterse> andrewvos: install the CLI tool, wrap that, done
<andrewvos> What cli tool?
<yorickpeterse> there's a geoip tool which does that
<yorickpeterse> comes with the DBs and shit
<yorickpeterse> It's simply called "geoip" on Arse Linux
<andrewvos> This is herok we're talking about
<andrewvos> heroku
<andrewvos> Can't just go throwing dependencies around
<yorickpeterse> oh
<yorickpeterse> well
<yorickpeterse> download the DB then
<yorickpeterse> lel
<yorickpeterse> Ship it yourself somehow, that would be the only option
<yorickpeterse> I don't think they have a web API
<yorickpeterse> ah they do, but it costs money
<cout> holy moly
<cout> calling nil.to_json is crazy slow
<darix> andrewvos: https://github.com/cjheath/geoip - was too obvious?
rippa has joined #ruby-lang
alexju has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby-lang
* andrewvos adds a
<andrewvos> bloody hell
* andrewvos tries again
* andrewvos adds a 5mb csv file to project
<andrewvos> darix: Yeah I saw that, but I want something that doesn't require I download a csv from a location that could possibly change etc. etc.
alexju has joined #ruby-lang
<darix> andrewvos: use the dat file
<darix> 2nd that location hasnt changed in *years*
<andrewvos> darix: Yep
jaimef has quit [Excess Flood]
<darix> our update cronjob for the dat file is really old
jaimef has joined #ruby-lang
ledestin has quit [Ping timeout: 264 seconds]
<andrewvos> Oh ok
sevvie has quit [Ping timeout: 268 seconds]
<andrewvos> So you have this in production?
<darix> the datfile yes
Nisstyre-laptop has joined #ruby-lang
<darix> not the ruby lib
<andrewvos> Ok
flip_digits has joined #ruby-lang
<darix> andrewvos: http://mirrorbrain.org/
runeb has joined #ruby-lang
tonni has quit [Ping timeout: 240 seconds]
<andrewvos> darix: Very cool
Nisstyre-laptop has quit [Max SendQ exceeded]
<darix> i had an early prototype of it in ruby
Nisstyre-laptop has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<andrewvos> Hmm, how do I only load the file once in rails
mmorga has joined #ruby-lang
<darix> andrewvos: huh?
sevvie has joined #ruby-lang
<darix> >> def x(s) ; s ; end ; '/' + x ('aaa') + '/'
<eval-in> darix => /tmp/execpad-4974fc05acf9/source-4974fc05acf9:2: syntax error, unexpected ( arg, expecting keyword_do or '{' or '(' ... (https://eval.in/49349)
<darix> >> def x(s) ; s ; end ; '/' + x('aaa') + '/'
<eval-in> darix => "/aaa/" (https://eval.in/49350)
flip_digits has quit [Ping timeout: 256 seconds]
<darix> why does the first one not work
<darix> ?
<ddfreyne> whitequark: ping
<whitequark> darix: because ruby parsing is insane
<whitequark> ddfreyne: pong
<ddfreyne> darix: There's your answer :D
<whitequark> I mean, I can explain the reason in great detail, but it's not going to help you very much
<canton7> you can get all sorts of ambiguitie if you leave a space between the method name and the opening bracket. looks like you hit one
<canton7> *ambiguities
<darix> whitequark: we just wondere if it is treated as ('/' + x) ('aaa') + '/' ?
<whitequark> no
<whitequark> it's not parsed at all, as you can see
<darix> ok
<whitequark> there is no valid parse tree to be derived from tPLUS (any operator actually) tIDENTIFIER tLPAREN_ARG
<whitequark> tLPAREN_ARG exists to disambiguate "x (1) do" as "x(1) do"
rockpapergoat has joined #ruby-lang
havenwood has joined #ruby-lang
wallerdev has joined #ruby-lang
<yorickpeterse> So I have to compare 19K companies with around 320K other rows
<yorickpeterse> using pattern matching
<yorickpeterse> YAY
pothibo has quit [Quit: pothibo]
<workmad3> yorickpeterse: you weren't doing anything else on your machine this week, right? :P
<yorickpeterse> Nah
<yorickpeterse> Even better, this is in Ruby 1.8
<yorickpeterse> meanwhile my co-worker is hammering Tmux's rendering system by display huge quantities of XML live
<yorickpeterse> I wonder what the CPU usage of that server would be
<yorickpeterse> oh shit, he's running it locally
<yorickpeterse> ha, that explains the sound of the Macbook's fans
Darkchaos2 has quit [Quit: Page closed]
deception has quit [Quit: Goodbye]
agile has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
jxie has joined #ruby-lang
runeb has quit [Remote host closed the connection]
<yorickpeterse> 19K QUERIES, GO!@
<yorickpeterse> (poor RDS)
Oak has joined #ruby-lang
seanlerner has joined #ruby-lang
Squarepy has joined #ruby-lang
flip_digits has joined #ruby-lang
dhruvasagar has joined #ruby-lang
agile has joined #ruby-lang
JohnBat26 has quit [Read error: Operation timed out]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
mmorga has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
schaerli has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 260 seconds]
Squarepy has quit [Ping timeout: 245 seconds]
Teddy2steper has joined #ruby-lang
Oak has quit [Quit: Leaving]
rockpapergoat has quit [Remote host closed the connection]
Teddy2st_ has joined #ruby-lang
tbuehlmann has quit [Quit: Page closed]
kuja has quit [Ping timeout: 248 seconds]
mmorga has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
Teddy2steper has quit [Ping timeout: 264 seconds]
lfox has quit [Quit: ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
<yorickpeterse> ok fuck this, takes too long
<yorickpeterse> WONTFIX
Squarepy has joined #ruby-lang
mistym has quit [Remote host closed the connection]
minivan has quit [Ping timeout: 263 seconds]
<onewheelskyward> wontfix++
hexreel has joined #ruby-lang
kuja has joined #ruby-lang
Teddy2st_ has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
brianpWins has quit [Ping timeout: 240 seconds]
<andrewvos> yorickpeterse: Use go
Nisstyre-laptop has quit [Ping timeout: 264 seconds]
runeb has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
lfox has joined #ruby-lang
<yorickpeterse> yeah and hadoop
<yorickpeterse> big data etc
mistym has joined #ruby-lang
dmitrykorotkov_ has joined #ruby-lang
Teddy2steper has joined #ruby-lang
iliketurtles has joined #ruby-lang
enebo has joined #ruby-lang
dmitrykorotkov has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Client Quit]
runeb has quit [Ping timeout: 256 seconds]
Teddy2steper has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
<andrewvos> Srsly
<andrewvos> use go
kstuart1 has quit [Quit: kstuart1]
minivan has joined #ruby-lang
snarfmason has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
bantic has quit [Quit: bantic]
kstuart has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
lfox has quit []
skade has quit [Quit: Computer has gone to sleep.]
lfox has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
brianpWins has joined #ruby-lang
mmorga has joined #ruby-lang
<erikh> ^^^^
dhruvasagar has quit [Ping timeout: 260 seconds]
<onewheelskyward> Can go connect to postgres yet?
Teddy2steper has joined #ruby-lang
<havenwood> onewheelskyward: https://github.com/bmizerany/pq
<mistym> onewheelskyward: go makes people look like they have awful grammar.
iliketurtles has joined #ruby-lang
kek has quit [Remote host closed the connection]
<onewheelskyward> nice
<onewheelskyward> mistym How so?
<mistym> "Can go connect to postgres yet" looks like "go" is a verb in a weird position
<havenwood> onewheelskyward: PG in Go brought to you by creator of Sinatra, heh.
<onewheelskyward> lol, nice
<onewheelskyward> I like me some sinatra. Speaking of grammar.
<ndrst> nom grammar
apeiros has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
Teddy2steper has quit [Remote host closed the connection]
alekst has joined #ruby-lang
iliketurtles has joined #ruby-lang
nisstyre has quit [Ping timeout: 245 seconds]
Teddy2steper has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
yalue has quit [Quit: Leaving]
jaimef has joined #ruby-lang
fragamus has joined #ruby-lang
minivan has quit [Read error: Connection reset by peer]
mmorga has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 260 seconds]
Kabaka has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
alexju has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
tbuehlmann has joined #ruby-lang
yalue has joined #ruby-lang
saarinen has quit [Quit: saarinen]
KTMBoi88 has quit [Quit: Leaving]
nneko001__ has quit [Quit: Konversation terminated!]
pellis has joined #ruby-lang
<pellis> i'm looking for libraries that makes a well structured use of Thor as CLI tool, with good test coverage so i can learn from.. anyone has a recommendation?
uta has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
Teddy2steper has joined #ruby-lang
io_syl has joined #ruby-lang
alexju has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
<maloik> Anyone want to pair with me for a little while? trying to solve a problem for storing app-wide settings, and in specific the opening hours in this case
<maloik> have a feeling im overthinking this
mmorga has joined #ruby-lang
Pupeno_ has quit [Ping timeout: 248 seconds]
Squarepy_ has joined #ruby-lang
Squarepy has quit [Ping timeout: 260 seconds]
elia has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
sr78ger has quit [Ping timeout: 268 seconds]
Teddy2steper has joined #ruby-lang
alekst has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
tubbo has joined #ruby-lang
SiliconDon has joined #ruby-lang
workmad3 has joined #ruby-lang
briangonzalez has joined #ruby-lang
bantic has joined #ruby-lang
nofxx has joined #ruby-lang
<yorickpeterse> go nuts, there's an entire channel here
schaerli has joined #ruby-lang
mbj has joined #ruby-lang
SiliconDon has quit [Ping timeout: 256 seconds]
kek_ has joined #ruby-lang
saarinen has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
hhatch has quit [Ping timeout: 264 seconds]
kek_ has quit [Ping timeout: 245 seconds]
tdm00 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
minivan has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
<erikh> #go-nuts
arooni-mobile has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
<kith> i wish there was as much docs for ruby as is for perl
a1ph4g33k has joined #ruby-lang
flip_digits has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
<erikh> ruby 2.0's got nice docs
<erikh> but yeah, perl's got a much better documentation culture
<yorickpeterse> docs are a code smell
<yorickpeterse> so is whitespace
Coincidental has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
Teddy2steper has quit [Remote host closed the connection]
minivan has quit [Ping timeout: 261 seconds]
tbuehlmann has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
ecnalyr has joined #ruby-lang
<a1ph4g33k> yorickpeterse, define ... code smell ( good or bad ? )
<yorickpeterse> it's terrible
<yorickpeterse> docs are for newbies
<a1ph4g33k> You'd rather not have documents or whitespace ?
D9 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<a1ph4g33k> docs are for anybody that isn't familiar with your libraries ... or are only a user and not going to be digging into your source.
<yorickpeterse> code explains itself when you look at it
vlad_starkov has quit [Remote host closed the connection]
<mistym> Code should be like latin, all clumped together without whitespace and let the parser decide what's syntactically important
<yorickpeterse> mistym: yeah exactly, writing docs is manual work you don't get paid for anyway
<yorickpeterse> the language should solve that for you
<mistym> deffoo(bar){putsbazputsbin} - totally readable
Pupeno has quit [Ping timeout: 248 seconds]
uta has joined #ruby-lang
<yorickpeterse> you can solve that by using a good IDE
<yorickpeterse> e.g. Lighttable or Emacs
<a1ph4g33k> ... so do you go through and take all of your source and convert '\n' to ';' ?
vlad_starkov has joined #ruby-lang
stamina has quit [Ping timeout: 268 seconds]
<yorickpeterse> No my IDE does that for me
<a1ph4g33k> glad that works for you.
<yorickpeterse> Actually it doesn't work just for me but also for my startup
<yorickpeterse> Therefor I'm pretty sure it works for everybody
<Darkchaos> If I want to get a form having no name in mechanize. How to? page.form('nil') or page.form(nil) does not work
ecnalyr has quit [Ping timeout: 245 seconds]
mistym has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
<yorickpeterse> a1ph4g33k: it's also worth mentioning that I'm messing with ya
RickHull1 has joined #ruby-lang
<erikh> yorick's kind of an asshat.
<yorickpeterse> kind of
<yorickpeterse> I wanted to make a joke about my "startup" providing Hadoop as a service but meh
pothibo has joined #ruby-lang
Teddy2steper has joined #ruby-lang
ecnalyr has joined #ruby-lang
<a1ph4g33k> yorickpeterse, glad to hear it ... wasn't really coming up with a good way to respond ... I care a lot about what my source includes & the documentation provided.
<a1ph4g33k> but ... to each his/her own.
postmodern has joined #ruby-lang
mmorga has joined #ruby-lang
mistym is now known as mistym_lunch
ledestin has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
nneko001__ has joined #ruby-lang
alexju has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
<yorickpeterse> a1ph4g33k: http://yorickpeterse.com/articles/contributing-to-my-code/ I wrote this, go figure how bad I am
<a1ph4g33k> light table looks interesting, but it's disappointing that it seems to only support Python, Clojure, & JS ...
<yorickpeterse> I'm a Vim user btw
<yorickpeterse> and I don't really see the point of lighttable so far
<a1ph4g33k> *phew* ... feeling much better.
<a1ph4g33k> yorickpeterse, ;)
<yorickpeterse> I actually tend to judge people by their dotfiles
* yorickpeterse needs help
* matti jumps in fire for yorickpeterse
<matti> I shall rescue the puppy!
adambeynon has joined #ruby-lang
<yorickpeterse> HOLD ME!
* yorickpeterse feints
<ledestin> yorickpeterse: Ruby uses curly braces
* matti catches yorickpeterse in the very last moment.
<yorickpeterse> ledestin: wat
<yorickpeterse> you *can* use it for single line stuff, that's fine
<yorickpeterse> but fuck stuff like
<matti> { } { } { }
<yorickpeterse> bla.each { |a|
<ledestin> yorickpeterse: each {}
<a1ph4g33k> which ones ?
<matti> There.
<yorickpeterse> }
<a1ph4g33k> yorickpeterse, which dotfiles ?
<matti> Curtly braces on #ruby
<matti> ;]
<yorickpeterse> a1ph4g33k: dotfiles in general. If I meet new people (e.g. job interviews) I usually look at their dotfiles for some reason
<yorickpeterse> "This person's .vimrc is bad, must be an ass"
<yorickpeterse> we have so far not hired an actual ass
<yorickpeterse> (the animal)
<a1ph4g33k> heh.
vlad_sta_ has quit [Ping timeout: 256 seconds]
<yorickpeterse> heh, I can already see the look on my bosses' faces
<yorickpeterse> "Yeah this is bob, he specializes in eating your t-shirt"
malev has joined #ruby-lang
<matti> bob!
<matti> He ate my socks too.
<yorickpeterse> that's because you didn't write any tests
<matti> :(
workmad3 has joined #ruby-lang
<matti> yorickpeterse: I write tests. I have test.rb with TODO: Write tests inside.
<yorickpeterse> pending 'Write some real tests'
mbj has joined #ruby-lang
<matti> I also tested to write(2) works and that file system works and that kernel works.
<matti> And other thinga.
<matti> By writing the test.rb
<matti> Isn't that enoug?
<matti> :(
briangonzalez has left #ruby-lang [#ruby-lang]
briangonzalez has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<yorickpeterse> did you write an integration test for when the power in a data centre on the other side of the planet fails?
<matti> Yes.
<matti> Its remotely executed from Saturn.
<matti> I even bought moon.io domain for that reason.
kek has joined #ruby-lang
<matti> Like titan.moon.io
<matti> ;]
<yorickpeterse> lies, that doesn't resolve (tital.moon.io)
<matti> tital?
<matti> ;s
<yorickpeterse> errr titan
<yorickpeterse> and moon.io points to http://about.me/kwilczynski
<matti> I know.
<matti> Its me.
<a1ph4g33k> yorickpeterse, https://github.com/a1ph4g33k/dotfiles
<yorickpeterse> I have no idea how to pronounce that name
<yorickpeterse> oh
<yorickpeterse> heh
<matti> I was too lazy to do anything with it.
<yorickpeterse> github.com/matti then who
<yorickpeterse> * who's that
<a1ph4g33k> feedback appreciated ;)
Teddy2steper has quit [Remote host closed the connection]
<yorickpeterse> a1ph4g33k: hahaha you're terrible
<yorickpeterse> "2 minutes ago"
<a1ph4g33k> ?
<matti> yorickpeterse: No idea who's that.
<matti> yorickpeterse: I mean, github.com/matti
<yorickpeterse> a1ph4g33k: quickly comitting it :P
<yorickpeterse> matti: heh
<a1ph4g33k> I had them on GitHub but in a private repo ... and saw a few files that shouldn't have been out there ... like my xchat config .. since it had my NickServ identify stuff & such in it.
<matti> I use Bitbucket more nowadays.
<yorickpeterse> https://github.com/a1ph4g33k/dotfiles/blob/master/.Xdefaults well this guy knows Xorg configs, you're hired!
<matti> <3 free private repos.
<yorickpeterse> grrr Xorg.conf
<matti> I know /etc/hosts!
<matti> Hire me.
<matti> 8)
<yorickpeterse> I forgot I added that
mmorga_ has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
<yorickpeterse> a1ph4g33k: yeah this looks allright
workmad3 has quit [Read error: Operation timed out]
* a1ph4g33k nods ... 'thanks.'
<yorickpeterse> OH FOR FUCKS SAKE, Linux 3.11 didn't fix my Wifi bullshit
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<matti> 3.11 For Workgroups
<matti> ;]
workmad3 has joined #ruby-lang
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
sevvie has quit [Ping timeout: 245 seconds]
runeb has joined #ruby-lang
Squarepy_ has quit [Quit: Leaving]
stamina has joined #ruby-lang
<yorickpeterse> whitequark: ping
<matti> Hmm...
<matti> Silly, but.
<RickHull1> yorickpeterse: fixed in Linux XP
<matti> Can I call '>' or '>=' by symbol?
<matti> rickhull1: He needs Enterprise Endition for that.
<RickHull1> just wait for the next millenium
<matti> ;]
<RickHull1> matti: i know minitest supports things like foo.must_be(:>, 2)
<onewheelskyward> That version had a wonderful vista.
<RickHull1> matti: something like that
<matti> Let me see.
<yorickpeterse> I'm stoked for Linux 8
<imperator> what are talking about?
<imperator> ^we^
<yorickpeterse> >> def >(other); end; send(:>)
<eval-in> yorickpeterse => wrong number of arguments (0 for 1) (ArgumentError) ... (https://eval.in/49376)
briangonzalez has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> >> def >(other); end; >.()
<eval-in> yorickpeterse => /tmp/execpad-7f9e1ffabc52/source-7f9e1ffabc52:2: syntax error, unexpected '>', expecting keyword_end ... (https://eval.in/49377)
<yorickpeterse> heh
<yorickpeterse> lame
<matti> Ruby I love you
<matti> [5] pry(main)> 1.send(:>, 0)
<matti> => true
<matti> ;]
<yorickpeterse> yeah well it's just a method
<yorickpeterse> though with some syntax diabetes on top of it
<matti> Yeah
<matti> We need "Angry Swedish Chef" operator
<matti> -> >=|
<matti> ;]
<matti> Or >=!
<matti> ;p
<RickHull1> he's angry because he took a hashrocket to the face
<yorickpeterse> def borkborkbork; __method__.to_s * 10000; end; borkborkbork
<yorickpeterse> err fail
<yorickpeterse> >> def borkborkbork; __method__.to_s * 10000; end; borkborkbork
* yorickpeterse waits
<yorickpeterse> >> def borkborkbork; __method__.to_s * 100; end; borkborkbork
<eval-in> yorickpeterse => "borkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkbork ... (https://eval.in/49378)
<yorickpeterse> >> def borkborkbork; __method__.to_s * 1000; end; borkborkbork
<eval-in> yorickpeterse => "borkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkborkbork ... (https://eval.in/49379)
<yorickpeterse> well
nneko001__ has quit [Quit: Konversation terminated!]
<yorickpeterse> :<
yorickpeterse was kicked from #ruby-lang by apeiros [no spamming :-p]
yorickpeterse has joined #ruby-lang
<yorickpeterse> well
<yorickpeterse> that only took 2,5 years
tharindu_ has quit [Ping timeout: 248 seconds]
<apeiros> yeah, was too occupied with my wife's iphone
<yorickpeterse> iOS7?
<apeiros> yes
<yorickpeterse> heh
<apeiros> sticking with iOS 6 myself for another few days
yalue has quit [Quit: Leaving]
<onewheelskyward> What only took 2.5 years?
<onewheelskyward> I'd go back to 6 if I could.
<apeiros> me kicking him
<onewheelskyward> oh lol
<apeiros> onewheelskyward: restore from an old backup?
<onewheelskyward> iCloud.
<onewheelskyward> unfortunately.
<onewheelskyward> The day to day is fine and I like the camera upgrades.
<apeiros> what's bad about iOS7?
<yorickpeterse> yup, never kicked before
fcahoon has joined #ruby-lang
<yorickpeterse> only 34 registered kicks in my logs, that's not too bad
<onewheelskyward> But things like the white backgrounds and pencil fonts on the timer make it troublesome to use in low light.
<onewheelskyward> The photo sharing in-phone requires a lot more tapping.
<onewheelskyward> Overall it's a nice upgrade. But there are niggles.
<apeiros> mhm
<apeiros> I'm not looking forward to the new animations
<onewheelskyward> I haven't had a control center since I jailbroke 1.2, that's a nice addition
<onewheelskyward> oh yeah those suck
<onewheelskyward> it ignores swipes while they're running
<apeiros> animations are nice. but anything >0.001s is too long :)
<onewheelskyward> so the whole phone feels a lot slower.
<onewheelskyward> Instant access to the flashlight is handy. And it stays on if you lock the phone.
<apeiros> ah, right. I do look forward to the new control panel.
<onewheelskyward> The notification center is useless
<apeiros> setting up hot-spot is a pain in iOS6. disabling it is even worse.
<onewheelskyward> It warns me about traffic occasionally. I ride a bike.
<apeiros> clearly your fault. why don't you ride a car like normal people?
<onewheelskyward> lol
<apeiros> (I ride a bike too)
<onewheelskyward> I almost do every so often, depending on how close they cut the right turns. :)
<apeiros> ah, well, I take it off-road
<onewheelskyward> Can't speak to apple maps as I stopped using them after too many wrong turns in the early ios6 days.
<onewheelskyward> load map. Ask for directions to a local park. Get directions to a park 1700 miles away.
<a1ph4g33k> apeiros, downloading it now ... 5 minute download isn't bad.
tonni has joined #ruby-lang
mistym_lunch is now known as mistym
schaerli has quit [Remote host closed the connection]
<whitequark> yorickpeterse: pong
bastilian has quit [Quit: Linkinus - http://linkinus.com]
<yorickpeterse> whitequark: So with Ragel and Unicode, can you not do `any - asci` instead of `any - datrange`?
<yorickpeterse> Initial testing shows it's the same
<yorickpeterse> as in, same results
headius has quit [Quit: headius]
<whitequark> what's asci ?
<RickHull1> a typo
<whitequark> wat
<RickHull1> ?
<whitequark> a typo ?
<RickHull1> i assumed ascii when talking about unicode
* whitequark sighs
bastilian has joined #ruby-lang
<yorickpeterse> whitequark: the built-in Ragel machine
<whitequark> it's some predefined ragel rule I guess
<whitequark> but which one?
<RickHull1> heh, not my convo, my b
<yorickpeterse> errr
<yorickpeterse> ascii
<yorickpeterse> from the manual:
<yorickpeterse> { ascii { Ascii characters. 0..127
<yorickpeterse> wat
<yorickpeterse> dat paste
<whitequark> 0..127
<yorickpeterse> those { should be -
<whitequark> I guess that works just as well
<whitequark> isn't it exactly same range?
<whitequark> I think I used 0..0x7f
<yorickpeterse> whitequark: using `any - ascii` so far lexes Korean and some other gibberish just fine
<yorickpeterse> yeah
<yorickpeterse> 0x00..0x7f
elia has joined #ruby-lang
<whitequark> well yes, that's why I wrote that -_-
workmad3 has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby-lang
<Darkchaos> why is if (/<font size="4" color="gold" id="c_coins">\d*<\/font>/.match(text) == nil) false, but return /<font size="4" color="gold" id="c_coins">\d*<\/font>/.match(text)[1] == nil
<yorickpeterse> whitequark: while we're at it, do you know of an easy way to make Ragel barf on unknown input (= input it has no rules for)? The manual is pretty abstract about error handling in general
boxfactory has joined #ruby-lang
<yorickpeterse> where easy is != 100 lines of code basically
<Darkchaos> nevermind, stupid transmission error from rubular to that
<Darkchaos> missing () :(
elia has quit [Quit: Computer has gone to sleep.]
<Darkchaos> >> test
<eval-in> Darkchaos => wrong number of arguments (0 for 2..3) (ArgumentError) ... (https://eval.in/49387)
<Darkchaos> >> def a() return "abc" end puts "This #{a()} tests"
<eval-in> Darkchaos => /tmp/execpad-4985f0067a26/source-4985f0067a26:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/49388)
<Darkchaos> >> def a() return "abc" end puts "This #{a()} tests" end
<eval-in> Darkchaos => /tmp/execpad-4ad046d20b80/source-4ad046d20b80:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/49389)
boxfactory has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Darkchaos> >> def a() return "abc" end puts "This #{a} tests" end
<eval-in> Darkchaos => /tmp/execpad-05d2076b4819/source-05d2076b4819:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/49390)
<apeiros> Darkchaos: the bot is for demonstration purposes only.
<Darkchaos> How can I do that? calling methods from #{} and what am I doing wrong?
cads has joined #ruby-lang
<apeiros> Darkchaos: just the way you tried, but without broken syntax
<apeiros> >> def a; "weee"; end; "this interpolates, #{a}"
<eval-in> apeiros => "this interpolates, weee" (https://eval.in/49391)
<Darkchaos> ah so I need ; using one-liners, I guess
<Darkchaos> and passing parameters to a? #{a(1337)}
<apeiros> yes, ; is treated the same as a newline
<apeiros> Darkchaos: yes. within #{}, you can use any proper ruby code
<Darkchaos> great
<apeiros> even strings again: "foo #{"bar #{"baz"} quuz"} wooz" # <-- valid
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
elia has joined #ruby-lang
kek has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
ged_ is now known as ged
robbyoconnor has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
r0bby_ has joined #ruby-lang
sevvie has joined #ruby-lang
robbyoconnor has quit [Client Quit]
mmorga_ has quit [Remote host closed the connection]
mistym has quit [Quit: Leaving]
r0bby_ has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
mistym has joined #ruby-lang
D9 has quit [Ping timeout: 248 seconds]
Teddy2steper has joined #ruby-lang
nofxx has quit [Ping timeout: 256 seconds]
arope28 has joined #ruby-lang
mistym_ has joined #ruby-lang
cads has quit [Ping timeout: 260 seconds]
arope28 has quit [Client Quit]
mistym has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
jonahR has joined #ruby-lang
mbj has quit [Ping timeout: 245 seconds]
mistym_ has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
babinho has quit [Quit: leaving]
Teddy2steper has joined #ruby-lang
hahuang65 has quit [Ping timeout: 245 seconds]
nofxx has joined #ruby-lang
faramir has quit [Remote host closed the connection]
tdm00 has quit [Quit: Make like a banana and split!]
cads has joined #ruby-lang
<andrewvos> You know I just had an epiphany
ldnunes has quit [Quit: Leaving]
<andrewvos> It's all the American people on twitter that make it a whiny depressing place to be
<andrewvos> (programmers)
<onewheelskyward> http://www.epiphanyinc.net/ ?
<onewheelskyward> haha lol
hahuang65 has joined #ruby-lang
<andrewvos> There's always some argument that would look silly even in high school
tdm00 has joined #ruby-lang
<onewheelskyward> Has that every stopped anyone from doing anything?
tdm00 has quit [Client Quit]
<andrewvos> I, uh, what?
<andrewvos> I'm not sure what your question is
<onewheelskyward> That an argument would look silly even in high school?
agile has quit [Ping timeout: 245 seconds]
<onewheelskyward> The devolution of arguments into a hormone-induced rage seems to be the best practice.
<andrewvos> Well I mean the type of shit they generally complain about is so pathetic that even in high school I would probably want to not associate myself with those sort of people.
<onewheelskyward> Oh yeah, agreed
<andrewvos> Yes exactly
<andrewvos> And tonight I realised, after looking at some tweets, that it's mostly the american people I follow
<onewheelskyward> Drop 'em
<onewheelskyward> That's what I do.
<andrewvos> I will, but first I need to work out what area in particular they're from
<onewheelskyward> Plot that.
<andrewvos> haha
<onewheelskyward> I'm curious if it's centered in major cities.
<andrewvos> Yeah me too
<andrewvos> I would like to just say "california douchebags" but some people from there are pretty damn cool
<andrewvos> (for example)
breakingthings has quit []
arBmind has joined #ruby-lang
bfleischer has joined #ruby-lang
<onewheelskyward> ha
<onewheelskyward> I lived there for a while. It takes all kinds.
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<tubbo> if you're already a douchebag, most of california is unfortunately an enabler of that behavior
<andrewvos> heh
sevvie has quit [Ping timeout: 256 seconds]
bantic has quit [Quit: bantic]
iliketurtles has quit [Quit: zzzzz…..]
elia has joined #ruby-lang
agile has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
fcahoon has quit [Quit: Leaving]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
pothibo has quit [Quit: pothibo]
sevvie has joined #ruby-lang
Boohbah has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
loincloth has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lfox has quit [Quit: ZZZzzz…]
jbsan has quit [Quit: jbsan]
ggherdov has joined #ruby-lang
<ggherdov> hello. What's the difference between this channel and #ruby?
jbsan has joined #ruby-lang
Teddy2steper has quit [Remote host closed the connection]
<onewheelskyward> About 5 characters.
mistym has left #ruby-lang [#ruby-lang]
Oloryn_lt2 has quit [Quit: Leaving.]
mistym has joined #ruby-lang
retro|cz has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<mistym> ggherdov: This is the official channel.
fuhgeddaboudit has quit [Client Quit]
<drbrain> ggherdov: ↑
pothibo has joined #ruby-lang
<ggherdov> ok
Teddy2steper has joined #ruby-lang
tubbo has quit [Ping timeout: 276 seconds]
jiuweigui has quit [Quit: Gone...]
apeiros has joined #ruby-lang
Boohbah has quit [Quit: Lost terminal]
<Darkchaos> Anyone here having issues with using the default "twitter" gem?
<Darkchaos> I am getting net/http.rb:762:in `initialize': execution expired (Twitter::Error::ClientError) for Twitter.follow() however Twitter.update() works well!
<nofxx> hehe on our Address class:
<nofxx> field :number, type: String # least surprise fail
<Darkchaos> lol, now it works
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
<Darkchaos> another one. I have result = mainframe.search("div.follow"), May I use result.join(mainframe.search("div.follow2")) ? Or how would that syntax be
apeiros has quit [Remote host closed the connection]
<darix> Darkchaos: if you want to consume twitter
<darix> Darkchaos: why not just use the api?
<darix> o.O
dmitrykorotkov_ has quit [Ping timeout: 240 seconds]
<Darkchaos> You mean parsing all by hand?
apeiros has joined #ruby-lang
<darix> naw
corecode has joined #ruby-lang
<corecode> suggestions how to implement a DSL with ruby?
<Darkchaos> yeah, parsing json, that gem does that for me
<darix> corecode: just use ruby itself?
<Darkchaos> however It messes up mechanize somehow
<darix> what are you trying to do there exactly?
<corecode> darix: define usb descriptors
<darix> the question was for Darkchaos but well
<darix> what are usb descriptors?
<corecode> some data structure
pothibo has quit [Quit: pothibo]
<corecode> that's besides the point
<Darkchaos> Well I am simply trying to like people on twitter, I get using mechanize. However as soon as I am using Twitter.follow() I Get connection resets on mechanize
<darix> corecode: and what will you be doing with those descriptors?
<corecode> generate C
<darix> corecode: FFI then maybe?
<corecode> wat?
<corecode> no, generate C code
<darix> isnt that what ffi does in the end?:p
<darix> anyway
<corecode> i don't think you understand what i'm saying
<darix> corecode: very likely. it is late here^^
dmitrykorotkov has joined #ruby-lang
<corecode> same
<corecode> in any case, i have some sort of hierarchical language that i want to implement
<drbrain> corecode: your DSL will define USB device descriptors that are converted into C code?
<drbrain> I would make it look like C-ish code
<corecode> like: device :foo { vendorId 1234; productId 1; config { ... } }
<corecode> drbrain: yea
Coincidental has quit [Remote host closed the connection]
<darix> Darkchaos: uhm ... that you are getting connection resets is weird
<corecode> how do i eval these blocks?
soypirate has joined #ruby-lang
Darkchaos has quit [Ping timeout: 264 seconds]
soypirate has quit [Remote host closed the connection]
runeb has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby-lang
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
<drbrain> corecode: instance_eval is what you want to use
<drbrain> corecode: in a context that defines vendorId, productId, etc
a1ph4g33k has quit [Quit: Leaving]
sevvie has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
<nofxx> can I get the path to a gem ?
<nofxx> I mean, full path... "foo" will get me to lib/ I want to lib/../spec
Teddy2steper has quit [Remote host closed the connection]
lfox has joined #ruby-lang
sevvie has joined #ruby-lang
<corecode> drbrain: yea, i found that as well
<drbrain> nofxx: what do you want?
<drbrain> the specification? the path where files live?
<nofxx> drbrain: found something Gem.loaded_specs['my_gem'].full_gem_path
<drbrain> .gem_dir ?
thepumpkin has joined #ruby-lang
<nofxx> yeah, the path but in a bundle frindly way
<corecode> drbrain: now i need a meta dsl to define dsl language elements :)
fosky has quit [Remote host closed the connection]
<drbrain> corecode: if you don't need to intermix it with ruby code, there's ragel, racc, kpeg, ...
Boohbah has joined #ruby-lang
<drbrain> but then you have a language
<corecode> too much complication
<banisterfiend> ayone know what language this is in the top-right? http://tinyurl.com/p3d3435
tomzx_mac has joined #ruby-lang
richardburton has joined #ruby-lang
weemszzzzzzzzz is now known as weems
kurko__ has joined #ruby-lang
tkuchiki has joined #ruby-lang
x0f_ has quit [Read error: Operation timed out]
<drbrain> corecode: probably less than you think
vlad_starkov has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 248 seconds]
kurko__ is now known as kurko_
<banisterfiend> darix that's pretty sweet
vlad_starkov has joined #ruby-lang
Coincidental has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
x0f has joined #ruby-lang
rwk1 has joined #ruby-lang
Bosox20051 has joined #ruby-lang
__butch__ has quit [Remote host closed the connection]
jarib has quit [Ping timeout: 245 seconds]
<imperator> yarr
<imperator> there, my pirate talking quota has been met
jarib has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
uta has quit [Remote host closed the connection]
flip_digits has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
runeb has joined #ruby-lang
GeissT has joined #ruby-lang