apeiros changed the topic of #ruby-lang to: RIP Jim || Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
twright has quit [Quit: Lost terminal]
yubrew has joined #ruby-lang
ascarter has quit [Ping timeout: 240 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
kitak has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
MartynKeigher has quit [Ping timeout: 240 seconds]
rwk1 has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 240 seconds]
jonathanmarvens has joined #ruby-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
enebo has quit [Quit: enebo]
psycho_one has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
enebo has joined #ruby-lang
|jemc| has joined #ruby-lang
rwk1 has quit [Ping timeout: 252 seconds]
allomov_ has quit [Remote host closed the connection]
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psycho_one has quit [Ping timeout: 252 seconds]
jonathanmarvens has quit [Remote host closed the connection]
MartynKeigher has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
Cakey has joined #ruby-lang
vpretzel has joined #ruby-lang
willmarshall has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
michaeldeol has joined #ruby-lang
vpretzel has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Client Quit]
kalehv has quit [Remote host closed the connection]
MartynKeigher has quit [Ping timeout: 252 seconds]
mehlah has joined #ruby-lang
willmarshall has quit [Client Quit]
amsi has quit [Quit: Leaving]
vpretzel has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
jgpawletko has joined #ruby-lang
jgpawletko has quit [Client Quit]
amclain has joined #ruby-lang
jmeeuwen_ has joined #ruby-lang
justinweiss has quit [Ping timeout: 252 seconds]
msch has quit [Ping timeout: 252 seconds]
whitequark has quit [Ping timeout: 252 seconds]
jmeeuwen has quit [Ping timeout: 252 seconds]
whitequark has joined #ruby-lang
jmeeuwen_ is now known as jmeeuwen
cyndis has joined #ruby-lang
cyndis_ has quit [Ping timeout: 252 seconds]
tris has quit [Quit: Leaving]
yubrew has joined #ruby-lang
msch has joined #ruby-lang
justinweiss has joined #ruby-lang
lsegal has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas_ has joined #ruby-lang
mannyt has quit [Quit: Connection closed for inactivity]
mistym has quit [Quit: Leaving]
AncientAmateur has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
cored has quit [Ping timeout: 276 seconds]
rwk1 has joined #ruby-lang
ikrima has joined #ruby-lang
jcs222 has joined #ruby-lang
rwk1 has quit [Read error: Connection reset by peer]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ssb123 has joined #ruby-lang
ikkyu has joined #ruby-lang
yxhuvud has joined #ruby-lang
ap4y has quit [Ping timeout: 255 seconds]
ssb123 has quit [Remote host closed the connection]
mistym has joined #ruby-lang
karamazov has joined #ruby-lang
sdouglas_ has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
ikkyu has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
dbussink has quit [Ping timeout: 252 seconds]
ddv has quit [Ping timeout: 245 seconds]
pixelhandler has quit [Quit: pixelhandler]
havenwood has quit [Ping timeout: 240 seconds]
nisstyre has joined #ruby-lang
dbussink has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
ddv has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
Guest29656 has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
rwk1 has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
rwk1 has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
yubrew has quit [Ping timeout: 265 seconds]
wallerdev has quit [Quit: wallerdev]
karamazov has joined #ruby-lang
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 276 seconds]
jonathanmarvens has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
ecnalyr has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
semihelix has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
wallerdev has joined #ruby-lang
psycho_one has joined #ruby-lang
yfeldblum has joined #ruby-lang
ecnalyr has quit [Ping timeout: 246 seconds]
allomov has joined #ruby-lang
psycho_one has quit [Ping timeout: 240 seconds]
allomov has quit [Ping timeout: 240 seconds]
DustinW has quit [Quit: Leaving...]
WishBoy has joined #ruby-lang
mbj has joined #ruby-lang
mbj has quit [Client Quit]
symm- has joined #ruby-lang
kalehv has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
fuhgeddaboudit has joined #ruby-lang
yubrew has joined #ruby-lang
rwk1 has joined #ruby-lang
Barrin6 has joined #ruby-lang
rwk1 has quit [Ping timeout: 276 seconds]
yubrew has quit [Ping timeout: 276 seconds]
Cakey has joined #ruby-lang
araujo has quit [Quit: Leaving]
hahuang61 has joined #ruby-lang
hahuang62 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stardiviner has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
kalehv_ has joined #ruby-lang
Coincidental has joined #ruby-lang
ColdBlooder_ has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
ColdBlooder has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
kitak_ has joined #ruby-lang
kitak has quit [Ping timeout: 240 seconds]
kalehv_ has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
saarinen has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
havenn has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
havenwood has joined #ruby-lang
tharindu has quit [Read error: Operation timed out]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
havenwood has quit [Ping timeout: 264 seconds]
instantaphex has joined #ruby-lang
Coincidental has joined #ruby-lang
yubrew has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
rwk1 has joined #ruby-lang
Dim_ has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
dik_dak has quit [Quit: Leaving]
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
Dim_ has quit [Quit: Leaving]
rwk1 has quit [Ping timeout: 252 seconds]
Dim_ has joined #ruby-lang
Dim_ has quit [Client Quit]
Dim_ has joined #ruby-lang
havenwood has joined #ruby-lang
agarie has quit [Quit: Leaving...]
D9 has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
psycho_one has joined #ruby-lang
allomov has joined #ruby-lang
psycho_one has quit [Ping timeout: 265 seconds]
allomov has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
fezziwig has joined #ruby-lang
zenspider_ has joined #ruby-lang
yubrew has quit [Ping timeout: 255 seconds]
zenspider has quit [Read error: Connection reset by peer]
eban has quit [Ping timeout: 252 seconds]
eban has joined #ruby-lang
_ht has joined #ruby-lang
Coincidental has joined #ruby-lang
thmzlt has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
karamazo_ has joined #ruby-lang
Lumio has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
karamazov has quit [Ping timeout: 240 seconds]
rwk1 has joined #ruby-lang
hahuang62 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
mistym has joined #ruby-lang
hahuang61 has joined #ruby-lang
michael_mbp has quit [Ping timeout: 255 seconds]
Coincidental has quit [Remote host closed the connection]
michael_mbp has joined #ruby-lang
hahuang61 has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
nisstyre has quit [Quit: WeeChat 0.4.3]
michael_mbp has joined #ruby-lang
Lewix has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
yubrew has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
rwk1 has quit [Remote host closed the connection]
hahuang62 has joined #ruby-lang
hahuang61 has joined #ruby-lang
kyb3r_ has joined #ruby-lang
hahuang61 has quit [Ping timeout: 264 seconds]
hahuang62 has quit [Ping timeout: 265 seconds]
apeiros has quit [Remote host closed the connection]
Splourian has joined #ruby-lang
instantaphex has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
karamazo_ has quit []
JoshuaPaling has joined #ruby-lang
postmodern has joined #ruby-lang
heftig has quit [Quit: Quitting]
Splourian has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Speed has quit [Ping timeout: 240 seconds]
CodeBunny has joined #ruby-lang
mistym has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 264 seconds]
[spoiler] has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
rwk1 has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
rwk1 has quit [Ping timeout: 252 seconds]
stevednd has quit [Ping timeout: 276 seconds]
d4rkr4i has joined #ruby-lang
stevednd has joined #ruby-lang
symm- has quit [Ping timeout: 276 seconds]
thmzlt has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
riffraff has joined #ruby-lang
psycho_one has joined #ruby-lang
thmzlt has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
rahul_j has joined #ruby-lang
allomov has joined #ruby-lang
psycho_one has quit [Ping timeout: 252 seconds]
stevednd has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby-lang
allomov has quit [Ping timeout: 276 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang62 has joined #ruby-lang
stevednd has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
hahuang62 has quit [Ping timeout: 265 seconds]
mehlah has quit [Quit: Leaving...]
ddv has quit [Changing host]
ddv has joined #ruby-lang
ur5us has joined #ruby-lang
rwk1 has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.1]
Speed has joined #ruby-lang
amclain has quit [Quit: Leaving]
robmiller has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
Hytosys has joined #ruby-lang
symm- has joined #ruby-lang
Speed has quit [Ping timeout: 264 seconds]
tbuehlmann has joined #ruby-lang
mistym has joined #ruby-lang
riffraff has quit [Quit: Leaving]
robbyoconnor has joined #ruby-lang
rwk1 has quit [Ping timeout: 252 seconds]
Lumio has joined #ruby-lang
ironhide_604 has joined #ruby-lang
solars has joined #ruby-lang
tris has joined #ruby-lang
relix has joined #ruby-lang
ironhide_604 has quit [Client Quit]
yfeldblum has quit [Read error: Connection reset by peer]
ironhide_604 has joined #ruby-lang
yfeldblum has joined #ruby-lang
d4rkr4i has quit [Quit: Leaving.]
yubrew has joined #ruby-lang
psycho_one has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
albertgrala has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
qba73 has joined #ruby-lang
albertgrala has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
michd is now known as MichD
Lumio has quit [Quit: ...]
hahuang62 has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
Cakey_ has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby-lang
hahuang62 has quit [Ping timeout: 264 seconds]
karamazov has quit [Remote host closed the connection]
ironhide_604 has quit [Quit: ironhide_604]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
ironhide_604 has joined #ruby-lang
ironhide_604 has quit [Client Quit]
ironhide_604 has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 255 seconds]
dsp____ has quit [Remote host closed the connection]
d4rkr4i has joined #ruby-lang
allomov has joined #ruby-lang
stardiviner has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby-lang
karamazov has joined #ruby-lang
adphillips has joined #ruby-lang
allomov has quit [Ping timeout: 265 seconds]
c_s_g has joined #ruby-lang
benlovell has joined #ruby-lang
jsrn has joined #ruby-lang
yubrew has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
<yorickpeterse> morning
lisberoia has joined #ruby-lang
<lisberoia> quit
lisberoia has quit [Client Quit]
<yorickpeterse> :<
yubrew has quit [Ping timeout: 255 seconds]
rahul_j has quit [Quit: rahul_j]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Cakey_ has quit [Ping timeout: 255 seconds]
skade has joined #ruby-lang
ur5us has joined #ruby-lang
yfeldblum has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby-lang
<yorickpeterse> another day, another potential aws-sdk thraedngi issue
<yorickpeterse> blegh
ikrima has quit [Ping timeout: 255 seconds]
postmodern has quit [Quit: Leaving]
hahuang62 has joined #ruby-lang
hahuang61 has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
DEac-_ has joined #ruby-lang
D9 has quit [Quit: Leaving]
karamazov has joined #ruby-lang
workmad3 has joined #ruby-lang
rahul_j has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 240 seconds]
hahuang62 has quit [Ping timeout: 252 seconds]
psycho_one has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
jsutt_ has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
ikrima has joined #ruby-lang
allomov has joined #ruby-lang
rahul_j has joined #ruby-lang
jsutt_ has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
karamazov has quit [Read error: Connection reset by peer]
skade has quit [Quit: WeeChat 0.4.3]
karamazov has joined #ruby-lang
yubrew has quit [Ping timeout: 255 seconds]
MartynKeigher has joined #ruby-lang
cnivolle has joined #ruby-lang
ur5us has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
elia has joined #ruby-lang
marr has joined #ruby-lang
alex-quiterio has joined #ruby-lang
<ljarvis> blehhaggg
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Fushi has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
CodeBunny has quit [Ping timeout: 276 seconds]
<apeiros> ljarvis: great, you're there!
* apeiros starts siege mode!
<apeiros> ljarvis: you're the author of slop, right?
sarkyniin has joined #ruby-lang
hahuang62 has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang61 has quit [Ping timeout: 252 seconds]
hahuang62 has quit [Ping timeout: 255 seconds]
* apeiros guesses that "blehhaggg" meant "I'm going to die right now" and ljarvis is now dead and can't respond :(
tkuchiki_ has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
<yorickpeterse> he is the author, yes
<apeiros> well, that question was more "introductionally" :-/
Raycaster has joined #ruby-lang
<apeiros> ljarvis: going for lunch now, so I'll just ask the real question - do you have examples of using slop for commands with subcommands with separate options?
rwk1 has joined #ruby-lang
<apeiros> ljarvis: e.g. like git with its different subcommands like commit, push, pull etc.
* apeiros off for lunch, back in ~30min
<maloik> ugh, how do you write a regexp that matches the 'DNS.1:' and 'DNS:' in something like "DNS: example.com, DNS.1: example2.com" ?
<whitequark> maloik: DNS(.\d+)?
<whitequark> err
<whitequark> maloik: DNS(.\d+)?:
tkuchiki has quit [Ping timeout: 240 seconds]
<whitequark> err again
<DefV> DNS(.\d+)?:
<whitequark> maloik: DNS(\.\d+)?:
<whitequark> now it works.
symm- has joined #ruby-lang
<maloik> oh hmm
<yorickpeterse> apeiros: each `command` block has its own options and stuff
<maloik> thanks guys
yann_ck has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Glen_ has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
rwk1 has quit [Ping timeout: 240 seconds]
dsp___ has joined #ruby-lang
<yorickpeterse> hmmm...the best therapy for frustration is ripping out dead code
Glen_ has quit [Client Quit]
<whitequark> or murder
<yorickpeterse> .. should I call the police?
yubrew has joined #ruby-lang
canton7-mac has joined #ruby-lang
<yorickpeterse> Hm, code that has been around since early 2012 and hasn't been used since
dsp___ has quit [Ping timeout: 245 seconds]
Hytosys has quit [Quit: Hytosys]
yubrew has quit [Ping timeout: 240 seconds]
<maloik> ljarvis and banisterfiend you folks coming over for arrrrcamp? :-)
bin7me has joined #ruby-lang
<yorickpeterse> oh shoot, I still need to submit my talk
havenwood has quit [Remote host closed the connection]
<yorickpeterse> and actually write it
havenwood has joined #ruby-lang
stamina has joined #ruby-lang
symm- has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
thmzlt has joined #ruby-lang
thmzlt has quit [Ping timeout: 250 seconds]
toretore has joined #ruby-lang
knu has quit [Remote host closed the connection]
metamaterial has quit [Ping timeout: 272 seconds]
<ljarvis> apeiros: as yorickpeterse says, each command block is separate and can be nested. Command stuff is somewhat naive since I don't use it much and haven't had much feedback on it, so it probably needs lots of improvements (the next major version of slop with remove them)
Cumol has joined #ruby-lang
woollyams has joined #ruby-lang
<ljarvis> maloik: unfortunately not, saving $ so I'm only going to the brighton one (because it's being paid for)
symm- has quit [Ping timeout: 240 seconds]
knu has joined #ruby-lang
<yorickpeterse> don't remove them D:
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ljarvis> i was thinking of extracting the command behaviour, but i haven't really made any concrete decisions
ur5us has quit [Remote host closed the connection]
hahuang62 has joined #ruby-lang
<apeiros> ljarvis: "the next major version of slop with[sic] remove them" - s/with/will/ ?
tkuchiki has joined #ruby-lang
<ljarvis> si
<apeiros> ljarvis: oh, so it's not a good idea if I use that?
Cumol has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
<ljarvis> apeiros: the next major version is changing a lot but I'll continue to maintain 3.x, upgrading to 4 will break probably most slop code you use, not just commands
<ljarvis> so it's fine to use it
<apeiros> any idea when next slop version will be released?
<ljarvis> 4 months ago
<ljarvis> :(
<apeiros> and you planned that when? (extrapolate likely release date :-p)
<ljarvis> probably next month
psycho_one has joined #ruby-lang
<ljarvis> late next month, not tomorrow
<apeiros> ah, heh, no, I meant when you said "I'll release that in january"
<ljarvis> ah
hahuang62 has quit [Ping timeout: 276 seconds]
<ljarvis> hold on
symm- has joined #ruby-lang
<apeiros> planning_date + (planning_date-release_date)*2 == likely_release_date ;-)
<ljarvis> oh.. you dont wanna know
<apeiros> I was just kidding, no need you dig that out ;-)
<ljarvis> that did just make me depressed though
<ljarvis> that time went quick
<apeiros> well, I guess slop accepts any array to process anyway, so I'll probably do the command split-up myself
woollyams has quit [Ping timeout: 252 seconds]
ikrima has quit [Ping timeout: 252 seconds]
dsp___ has joined #ruby-lang
<apeiros> ljarvis: I know that feeling all too well :-(
<ljarvis> if 4.0 remove commands I'll still build something to utilize them as an additional opt-in library
<apeiros> ljarvis: I think slop will only be a stepping stone for me anyway
<ljarvis> apeiros: whatcha working on?
<apeiros> ljarvis: webframework. because there aren't enough of them :)
<ljarvis> ah yes, I've been there
<apeiros> very opinionated. only supports postgres f.ex.
MartynKeigher has quit [Ping timeout: 265 seconds]
<apeiros> but the mini-orm I built outperforms AR by magnitudes
<apeiros> memory- and cpu-wise
<ljarvis> will that be separate?
psycho_one has quit [Ping timeout: 240 seconds]
<apeiros> it's modular. should not be difficult to use externally.
<apeiros> but it's by far not as powerful as AR, mind you
<ljarvis> likely release date? ;)
<apeiros> 4 years ago :D
<ljarvis> haha
<apeiros> probably around the end of the year
<apeiros> I might make parts of it public earlier
<ljarvis> I like that you weren't explicit with which year
<apeiros> rofl
<apeiros> I meant end of 2014 ;-)
<apeiros> it's mainly targeting mobile web apps. but should be easy to use for regular websites just fine.
<ljarvis> nice
<apeiros> it compiles all views and assets into a single file
dsp___ has quit [Ping timeout: 252 seconds]
<whitequark> what
<apeiros> whitequark: latency is the bigger issue for mobile apps than bandwith
retro|cz has quit [Ping timeout: 240 seconds]
<apeiros> the interactive part is designed to just serve json and avoid you having to write boilerplate
<whitequark> oh, you mean it compiles views and sends them to the client
<whitequark> that makes sense, then
<apeiros> yes. for the webapp I work on, the full file is ~300KB. all css, js, html of the whole app included.
<apeiros> oh, also some images and a webfont
<apeiros> (dynamic) content is then loaded via ajax
yubrew has joined #ruby-lang
<whitequark> have you seen ocsigen?
<apeiros> no. googling :)
<apeiros> ocaml?
<whitequark> yes
<apeiros> it seems to have different aims than I
<apeiros> "Same language and libraries for client and server parts" - that's interesting. but not something I aim for
<whitequark> it's a side effect. the great idea behind it is that you shouldn't write separate client and server logic
<whitequark> or even explicit communication
<whitequark> (it transparently uses websockets)
<apeiros> ok, also interesting, but not something I aim for either :)
<apeiros> the design I aim for is "traditional" server-client
<apeiros> but with many common issues solved and as boilerplate-less as possible.
yubrew has quit [Ping timeout: 240 seconds]
<whitequark> see also this: https://github.com/ocsigen/macaque
<whitequark> a typesafe DSL for creating SQL queries
brushbox has quit [Ping timeout: 255 seconds]
<apeiros> ah, a couple of things I will try to generate client-side code from the server-side code you write
<apeiros> e.g. persistence of models on the client
<apeiros> I will try to generate a JS migration from the ruby migration. not sure how far I'll get with that, though.
<apeiros> same for the model code
<whitequark> uhhh, sounds quite horrible
<whitequark> too fragile.
<apeiros> the idea is not that you can blindly run it and be happy
<apeiros> the idea is that you can remove the repetitive parts of having client- and serverside modelworld
brushbox has joined #ruby-lang
<whitequark> I don't think persistence of models on client can exist without some fundamental changes to the database model
<apeiros> and that synchronization, especially in a distributed system, can mostly be handled automatically and you only care about the edge-cases.
<whitequark> cache invalidation will be just too hard.
<apeiros> oh, we already have client side storage quite successfully.
<apeiros> it can exist. it works quite well. but it involves repetitive work which I want to remove.
c_s_g has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> one of the bigger troubles is if you target desktop browsers - due to the old problem of who supports what.
<apeiros> but for desktop browsers, I'd probably just leave client side storage away. that's only useful for offline use of the app anyway. and desktops are usually always-online
retro|cz has joined #ruby-lang
<whitequark> laptops aren't
<apeiros> true
skade has quit [Ping timeout: 252 seconds]
ColdBlooder_ has quit [Remote host closed the connection]
deg- has quit [Ping timeout: 240 seconds]
deg- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
psycho_one has joined #ruby-lang
TTilus has quit [Ping timeout: 250 seconds]
skade has joined #ruby-lang
sdouglas has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
TTilus has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
<apeiros> whitequark: a mockup what it might generate: https://gist.github.com/apeiros/349c53745f708e475958
<apeiros> uh, gist decided the js model goes first… ok
heftig has joined #ruby-lang
<DefV> *cringe*
sdouglas has quit [Ping timeout: 245 seconds]
<apeiros> DefV: huh? why?
<DefV> I truly dislike that kind of coupling
<apeiros> what coupling?
<DefV> rb -> js
<apeiros> DefV: so you prefer reinventing the world and write it by hand?
<DefV> jup
<apeiros> DefV: nobody stops you from that
<apeiros> the framework forces you in no way to use that.
<apeiros> but I see *zero* value in reinventing what I already have
<apeiros> it's more work for no gain
<apeiros> in the opposite IMO. you're more likely to introduce bugs and mistakes because you write everything twice.
kyb3r_ has quit [Read error: Connection reset by peer]
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 240 seconds]
rahul_j_ is now known as rahul_j
<apeiros> examples: handle enum types manually? validate yourself that you assign a valid value? handle datetime with timezone manually? (js doesn't have that, don't forget conversion from json), handle not-null manually? define all fields manually? define all models manually? lots of work - what does it gain you?
<apeiros> what I forgot to add here - write all the reader/writers and from-/to-json mappers by hand? have fun. I rather let my framework generate that for me.
rwk1 has joined #ruby-lang
<apeiros> the only thing with regards to this is whether I should map foo_bar attributes to fooBar for the js part. comes with its own hell, though.
<apeiros> +where I'm torn with regards to this is…
yubrew has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
rwk1 has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
benlovell has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 245 seconds]
<sarkyniin> hey
<sarkyniin> I'm trying to load some environment variables from a YAML file
<sarkyniin> this gives me this error:
<sarkyniin> /usr/local/lib/ruby/2.1.0/erb.rb:598:in `compile': undefined method `encoding' for #<File:config.yml> (NoMethodError)
<sarkyniin> anyone knows why?
<DefV> ERB.new expects ERB as a string
<apeiros> sarkyniin: File.read instead of File.open
<sarkyniin> oh, ok
<sarkyniin> apeiros: it does work now!
<sarkyniin> Thanks!
mikecmpbll has quit [Quit: ciao.]
rippa has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
sdouglas has joined #ruby-lang
thmzlt has joined #ruby-lang
robmiller has joined #ruby-lang
mehlah has joined #ruby-lang
simono has joined #ruby-lang
momomomomo has joined #ruby-lang
sdouglas has quit [Ping timeout: 252 seconds]
benlovell has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
herpless has joined #ruby-lang
woollyams has joined #ruby-lang
jgpawletko has joined #ruby-lang
symm- has joined #ruby-lang
sdouglas has joined #ruby-lang
dsp___ has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
sdouglas has quit [Ping timeout: 252 seconds]
alexju has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
alexju has joined #ruby-lang
yubrew has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
achiu has joined #ruby-lang
Pupeno has joined #ruby-lang
yubrew has quit [Ping timeout: 245 seconds]
rwk1 has joined #ruby-lang
face has quit [Read error: Connection reset by peer]
dsp___ has quit [Remote host closed the connection]
robmiller has quit [Read error: Connection reset by peer]
robmiller1 has joined #ruby-lang
alexju has quit [Ping timeout: 276 seconds]
face has joined #ruby-lang
robmiller1 is now known as robmiller
rwk1 has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
brushbox has quit [Quit: brushbox]
mikecmpbll has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
d4rkr4i has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
<banisterfiend> yorickpeterse ping
<banisterfiend> yorickpeterse is vakantiegeld taxed?
<yorickpeterse> banisterfiend: pong
<surrounder> banisterfiend: ja
<surrounder> flink ook
<yorickpeterse> it's part of your salary, so yes
<yorickpeterse> it's basically nothing more than a small bonus during the holidays
<yorickpeterse> You pay taxes on the resulting amount of income, including whatever bonuses there may be part of that
<surrounder> think half of my vakantiegeld is taxes
<yorickpeterse> so if $EMPLOYER suddenly gives you a bonus of 1000 Euros you'll lose ~30% of that
<yorickpeterse> depending on what your tax rate is
<yorickpeterse> As with a lot of income related things this also varies from employer to employer depending on what kind of "hacks" they have in place
<banisterfiend> yorickpeterse surrounder thx
<banisterfiend> darn
chouhoulis has joined #ruby-lang
<banisterfiend> i was hoping it wouldn't be taxed
<surrounder> hehe yeah know that feeling
<yorickpeterse> banisterfiend: welcome to .nl
<yorickpeterse> enjoy tax hell
<surrounder> first time I got vakantiegeld I was a little disappointed
<yorickpeterse> You can not make a profit here unless you suck a bunch of Ds at government level
<yorickpeterse> or work abroad
<surrounder> haha
<surrounder> so true
mforrester has joined #ruby-lang
<banisterfiend> surrounder lucky i'm getting it at all since i'm working for an american company, had to get my lawyer bro to send them an email :)
<yorickpeterse> well, or if you're like me and just don't spend anything
<banisterfiend> i don't spend that much but i have an expensive girlfriend :(
<surrounder> banisterfiend: ah that's just dandy
<banisterfiend> and i made the ridiculous decision to buy a car in a country with great transport services :)
<yorickpeterse> hahahahaha
<yorickpeterse> hahahaha
<yorickpeterse> a car
<yorickpeterse> haha
<yorickpeterse> enjoy being broke as hell
<yorickpeterse> and not being able to park it anywhere
<DefV> car == broke as hell?
<banisterfiend> i just bought a primera so it's reasonably cheap to run
<yorickpeterse> DefV: they're not exactly cheap maintenance wise
<yorickpeterse> and again, lots of taxes
<surrounder> heh I still need to get myself a driving license once
<banisterfiend> yorickpeterse japanese cars are relatively cheap
<surrounder> driving license is EUR 1500 / 2000 here
<banisterfiend> surrounder i used a clever trick to get a driver's license ;)
<DefV> same in .be
<banisterfiend> surrounder i'm a NZ citizen and have an NZ license which isn't valid here. But i'm also a UK citizen, and i can easily get a UK license from my NZ one (due to treaties). And a UK license is valid here, i can even trade it in for a dutch one if i like :)
<DefV> asstounding the nr of benelux ppl that are active inhere
<DefV> or ppl living in benelux
<surrounder> and well, don't really need it atm, I work a 5 minute walk away from where I live and when I need to be somewhere else the public transporation is good enough
<surrounder> banisterfiend: hahaha ideal
<yorickpeterse> banisterfiend: not sure if, because you're a foreigner, you're excempt from all the BS taxes
<yorickpeterse> I at some point looked into the costs of a car but I'd literally be broke
rwk1 has joined #ruby-lang
<surrounder> yeah it's not fun
<surrounder> unless you buy a crappy old car I guess
<surrounder> friend of mine bought a beat up suzuki swift 1.0 for next to nothing; those are really cheap on a monthly bases
<surrounder> eur 50 for roadtaxes / insurance or so
ssb123 has joined #ruby-lang
john_____ has joined #ruby-lang
vpretzel has joined #ruby-lang
<yorickpeterse> I'd have to pay for a fancy ass parking permit
rahul_j has joined #ruby-lang
<yorickpeterse> and I'd have to park it way out
<yorickpeterse> so I figured a 100 Euro bike with fancy tires was better
<surrounder> ah, doesn't help either
ssb123 has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
allomov has quit [Remote host closed the connection]
<yorickpeterse> then of course it got stolen
<yorickpeterse> so I had to get another one
<surrounder> bah
<surrounder> I'm glad I can walk everywhere around here
malconis has joined #ruby-lang
skade has joined #ruby-lang
|jemc| has joined #ruby-lang
dsp___ has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
psycho_one has quit [Remote host closed the connection]
|jemc| has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
|jemc| has joined #ruby-lang
john_____ has quit [Remote host closed the connection]
rwk1 has quit [Remote host closed the connection]
jperry has quit [Ping timeout: 255 seconds]
jperry has joined #ruby-lang
<gnufied> wondering, how does "fancy ass parking permit" looks
<ljarvis> lol cars
<gnufied> in here, you can park anywhere! as long as, it is not near our holy cows.
<ndrst> is still don't get why you need a car in a city with an acceptable public transport system
malconis has quit [Quit: Textual IRC Client: www.textualapp.com]
<gnufied> when I was in London, my top reason was cold
malconis has joined #ruby-lang
<ljarvis> I don't know a city with a 100% reliable transport system
<gnufied> walking from where I was staying to railway station, brr
skade has quit [Read error: Operation timed out]
<gnufied> and what with UK storm, delaying everything
<gnufied> I wished, I had car
<gnufied> :(
<ljarvis> it's sunny today
davidstump has joined #ruby-lang
<ljarvis> also driving around london is horrible anyway
<ndrst> lol driving in winter with snow in a city? -> chaos and destruction
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<ljarvis> driving in winter with snow anywhere in the uk = lol
<maloik> and by lol you mean fucking awesome and exciting right?
<maloik> that's what I think anyway :D
<gnufied> IIRC, there was no snow during UK storm. just everything stalled
<ljarvis> heh
<maloik> *weeeeeeeee see me drifting!*
<ljarvis> speaking of cars, this morning someone knocked on my door, chatted to me for a few minutes about my car and then wondered off...
<ljarvis> hope it's still there tomorrow
<gnufied> lol
<ndrst> also a car is so expensive and kills so much environment.
<ndrst> from the energy point of view a car is just luxury
<ljarvis> having a car is 100% convenience for me
<ljarvis> actually that's a lie
<gnufied> I see ljarvis full of shit. he is arguing for both sides! make up your mind, already!
rahul_j has quit [Quit: rahul_j]
<gnufied> we need black and white
<ljarvis> cars are good
<ljarvis> there's your black
<ndrst> fuck this gray stuff
<ljarvis> public transport sucks
<ljarvis> there's ya white
[spoiler] has quit [Quit: Leaving]
yubrew has joined #ruby-lang
<wmoxam> ljarvis: and cycling is better than either (for certain values of X)
tbuehlmann has quit [Ping timeout: 252 seconds]
<ljarvis> that depends on a lot of factors
<ljarvis> cycling is enjoyable in the right weather, and anywhere that is not central london
<wmoxam> ljarvis: as with any discussion of 'better'
<ljarvis> heh
<ljarvis> true :)
<wmoxam> I take all 3 modes of transportation :p
<ljarvis> so basically
<ljarvis> thry're all good
<ljarvis> and they're all fucking terrible
<wmoxam> yews
<wmoxam> yes
<wmoxam> exactly
<ljarvis> i'm glad we settled that
<wmoxam> I rode my bike today, despite the London-like weather we're having today
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby-lang
<wmoxam> ie: it's cold and rainy today :(
<ljarvis> london is very sunny today!
rsl has joined #ruby-lang
<wmoxam> that's very un-london like!
rsl has quit [Client Quit]
hahuang61 has joined #ruby-lang
rsl has joined #ruby-lang
<ljarvis> quite.
<yorickpeterse> wmoxam: wait, where are you based?
ssb123 has joined #ruby-lang
<yorickpeterse> don't tell me you're also in .nl
ssb123 has quit [Remote host closed the connection]
ddd has quit [Read error: Operation timed out]
ssb123 has joined #ruby-lang
<workmad3> wmoxam: london is normally smoggy, not rainy... you're thinking of manchester ;)
ddd has joined #ruby-lang
hahuang61 has quit [Ping timeout: 250 seconds]
yubrew has joined #ruby-lang
tbuehlmann has joined #ruby-lang
jcs222 has quit [Ping timeout: 255 seconds]
john_____ has joined #ruby-lang
jcs222 has joined #ruby-lang
rahul_j has joined #ruby-lang
ecnalyr has joined #ruby-lang
nathanstitt has joined #ruby-lang
<maloik> 100 proposals already and still 2 weeks to go for arrrrcamp
<maloik> unbelievable :-)
skade has joined #ruby-lang
<yorickpeterse> maloik: are there any objections to me wearing a pink pirate costume, if I can find one?
<maloik> I'll object if you don't
<yorickpeterse> Yessssss
alekst has joined #ruby-lang
<yorickpeterse> why are they all for women though :<
<wmoxam> yorickpeterse: I'm in Toronto
<maloik> oh god that all looks horrible on so many levels :D
<wmoxam> workmad3: lol
<yorickpeterse> wmoxam: heh
frobrob has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 252 seconds]
momomomomo has quit [Quit: momomomomo]
<yorickpeterse> eh, which one?
<yorickpeterse> That just links to the overview for me
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
AncientAmateur has joined #ruby-lang
<workmad3> yorickpeterse: dammit, they broke linking :( http://hwimages.beslist.net/beslist-images/262/XLARGE/000/000/793/793453.png
<ndrst> maloik does it make sense to still send a paper for arrrrrcamp or are you already swamped?
<yorickpeterse> workmad3: HAHAHAHA
<yorickpeterse> that's not a pirate
chouhoul_ has joined #ruby-lang
<maloik> ndrst: the more the better!
<yorickpeterse> hahaha, a pirate
<maloik> we don't decide until we close them so you still have a chance of being picked
<workmad3> yorickpeterse: I was just looking for an embarassing pink costume intended for some of male proportions :)
Mon_Ouie has quit [Ping timeout: 264 seconds]
<yorickpeterse> Hey, I really don't give a fuck about wearing pink
<yorickpeterse> But a skirt might be a bit too much for other attendees
<ndrst> yorickpeterse: there are pink bunny costumes you could wear with an eye patch
<yorickpeterse> It's Arrrrrcamp, not Draggggcamp
<ljarvis> needs more bieber
<surrounder> lol
<ndrst> maloik: hmkay. I try to come up with something then
<maloik> cool :-)
dsp____ has joined #ruby-lang
imperator has joined #ruby-lang
<workmad3> yorickpeterse: I think that particular one is embarassing for reasons other than the pink ;)
chouhoulis has quit [Ping timeout: 255 seconds]
<yorickpeterse> if I wear that I'd get thrown out for being racistprobs
<yorickpeterse> Zwarte piet only works here in .nl
<yorickpeterse> Well, Belgium too I suppose
<ljarvis> yorickpeterse: you should come to brighton ruby
<maloik> lots of drama around that though this year
<ndrst> omg zo much time left. usually I do this things the night before the deadline
<yorickpeterse> ljarvis: I still have it on my calendar
<ndrst> I would actually pay to see yorickpeterse in a pink pirate costume
<ljarvis> yorickpeterse: \o/
<yorickpeterse> and with Euruko being dead I might actually
<yorickpeterse> ndrst: I'm not a prostitute
<maloik> ndrst: then better make it good ;-)
<yorickpeterse> ndrst: but you can donate to Rails girls instead
<ljarvis> CFP for brighton ruby ended today D:
dsp___ has quit [Ping timeout: 240 seconds]
<yorickpeterse> ended or will end?
alexju has joined #ruby-lang
incon has joined #ruby-lang
<ljarvis> will end I guess, by the eod
loincloth has joined #ruby-lang
<yorickpeterse> darn
<ljarvis> gogo
<yorickpeterse> that means I have to write 3 proposals today
<yorickpeterse> :<
incon has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
<ndrst> yorickpeterse: I did already I was nr 3 or so
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
<ndrst> yorickpeterse: why 3 proposals?
<yorickpeterse> Eurucamp, Arrrrrrrrrrrrcamp and Brighton
<yorickpeterse> Eurucamp closes tomorrow
<ndrst> yeah should do one too for that one
<maloik> which reminds me, I'm probably doing baruco again this year
<yorickpeterse> Considering I don't do the same topic twice this will be hard
<maloik> anyone going there ?
<ndrst> hmmm. damn and we have the emacs berlin meetup today
<yorickpeterse> pffft, emacs
rsl has quit [Ping timeout: 246 seconds]
agarie has joined #ruby-lang
<ndrst> I don't bash vi users, I try to educate them to more (;
<banisterfiend> yorickpeterse can you translate something for me?
<ndrst> and actually I don'y care what you write your code in as long as you leave me alone
<yorickpeterse> banisterfiend: shit's breaking so not atm
<yorickpeterse> ndrst: :P
alexju has quit [Ping timeout: 255 seconds]
rsl has joined #ruby-lang
havenwood has joined #ruby-lang
dik_dak has joined #ruby-lang
<ndrst> I hate people who write code anyways
rwk1 has joined #ruby-lang
<ndrst> wait let me rephrase that: I hate people
<banisterfiend> yorickpeterse surrounder can you guys explain how they got the final value owed of euro 2957 ? there's something in touch that i think explains it but i dont undersatnd: https://dl.dropboxusercontent.com/u/26521875/pics/IMAG0263_1.jpg
<maloik> not the clearest document but it seems to simply be the cost of the loan
<DefV> wow
<banisterfiend> maloik but the loan is for 2500 how did they get a total of 2957 from it?
<DefV> 11.8%
<DefV> my car-loan is at 3% :-S
<maloik> 2500+457,04
<banisterfiend> DefV but take 11.8% of 2500 and it doesnt add to 457
SilkFox has joined #ruby-lang
<banisterfiend> maloik ya, i dont know where they got the 457 from
bin7me has quit [Quit: Leaving]
<DefV> banisterfiend: it's over 3 years
<surrounder> banisterfiend: no idea sorry
<workmad3> banisterfiend: compound interest biatch
<DefV> so you're paging the 11% per year
<DefV> paying
<yorickpeterse> banisterfiend: basically they're charging you service costs
* surrounder not good with financial stuff
<yorickpeterse> so you owe 2500 but because herp-derp-we-did-things you have to pay 460 extra
<surrounder> hehe
<yorickpeterse> That's the best description I can give
<DefV> first year 11% on 2500. 2nd year 11% on 2500 - what you payed in year 1, 3rd year 11% on 2500 - what you paid in year 2 & 3
<DefV> 2 & 1*
<banisterfiend> yorickpeterse so it's unrelated to interest?
<yorickpeterse> banisterfiend: not clear from the document
<yorickpeterse> I'd ask whoever gave you that
<maloik> DefV: unless Im misreading your sentence that still doesn't add up
<workmad3> DefV: it's not quite that
<maloik> (I probably am because I don't have the slightest idea how this works either)
<workmad3> DefV: because it's interest on the capital left to repay at the end of each year
<workmad3> DefV: or potentially interest on the capital left to repay at the start of each year... :)
<workmad3> oh wait, that's what you said...
<DefV> idd
* workmad3 fails @ reading
<workmad3> banisterfiend: what are your repayments?
rwk1 has quit [Ping timeout: 252 seconds]
<maloik> 82 euro ish
<maloik> says so on the bottom
<maloik> lowest number
<maloik> times 36 (3 years)
cored_ has joined #ruby-lang
<workmad3> I don't read that :)
tomkadwill has joined #ruby-lang
knu has quit [Remote host closed the connection]
cored has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
diegoviola has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
ikrima has joined #ruby-lang
Andromed_ has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.1]
apeiros has quit [Ping timeout: 265 seconds]
enebo has quit [Ping timeout: 252 seconds]
marr has joined #ruby-lang
enebo has joined #ruby-lang
cout is now known as P1azma
hahuang61 has joined #ruby-lang
momomomomo has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
P1azma is now known as cout
mannyt has joined #ruby-lang
Andromed_ has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
Andromed_ has joined #ruby-lang
<john_____> djfkjd
<maloik> john_____: have you tried turning it off and on again?
yfeldblum has joined #ruby-lang
<john_____> hi guys...system (psql -h localhost -p 5432 -U mouser my_db_name -c “select * from table_name order by description” -o export_filename.csv)
<john_____> i need to use ruby...it's prompting me for a password when running the script...any way to automate the password part?
<john_____> any help is appreciated
<maloik> -ppassword I suppose?
<yorickpeterse> TIL Digest is anything but thread-safe
<yorickpeterse> herp derp GIL solves that no it doesn't
Andromed_ has quit [Ping timeout: 240 seconds]
ikrima has quit [Ping timeout: 245 seconds]
vondruch has quit [Ping timeout: 264 seconds]
<john_____> i'm new to ruby ...how can i tell it to set pgpassword = 'password' when asked?
imperator has quit [Quit: Valete!]
<yorickpeterse> I believe psql always requires a prompt, not sure if there's a flag for it to set it directly
yfeldblum has quit [Ping timeout: 276 seconds]
<yorickpeterse> You'd have to use Open3 (http://www.ruby-doc.org/stdlib-2.1.1/libdoc/open3/rdoc/Open3.html) and write the password to STDIN of the psql command
<oddmunds> yorickpeterse: that's pretty neat, never knew about that
mistym has joined #ruby-lang
momomomomo has quit [Read error: Connection reset by peer]
<workmad3> yorickpeterse: there's '-w' for psql to force no password prompt
<workmad3> you can also do something like 'PGPASSWD=<password> psql ...' iirc
<yorickpeterse> workmad3: then it flat out fails I believe
knu has joined #ruby-lang
<yorickpeterse> (if it requires a password)
<workmad3> ah, it's PGPASSWORD not PGPASSWD
<igalic> Yeh, we do that in the puppetlabs postgresql module.
<workmad3> or you can set up a ~/.pgpass.conf file apparently
<john_____> there is also a ~/.pgpass file that is said to be more secure http://www.postgresql.org/docs/9.1/static/libpq-envars.html
<workmad3> john_____: yeah, that's the one
elia has joined #ruby-lang
<workmad3> means the password can't be read out by something that leaks env vars :)
<john_____> how i can tell system(sql statement) to use the file?
<workmad3> or by a ps command that shows env vars set on the command line
<workmad3> john_____: it should just happen, I believe
<john_____> my script.rb file contains only system (psql -h localhost -p 5432 -U mouser my_db_name -c “select * from table_name order by description” -o export_filename.csv)
AncientAmateur has quit [Remote host closed the connection]
<gregf_> s -lrt
<gregf_> bah sorry :/
mistym has quit [Remote host closed the connection]
<john_____> when it runs it then prompts for the password...how can i tell that prompt to use the pgpass file?
Lumio has joined #ruby-lang
|jemc| has joined #ruby-lang
AncientAmateur has joined #ruby-lang
apeiros has joined #ruby-lang
franzip has joined #ruby-lang
Lumio has quit [Client Quit]
rahul_j has quit [Quit: rahul_j]
vpretzel is now known as vpretzel|1424
chouhoul_ has quit [Remote host closed the connection]
BubonicPestilenc has joined #ruby-lang
<BubonicPestilenc> hey all
chouhoulis has joined #ruby-lang
<BubonicPestilenc> Can somebody suggest a library, that can read text from image
<BubonicPestilenc> But not as strong as OCR
<BubonicPestilenc> generally i need read text from screenshots
<ndrst> why not use OCR?
<BubonicPestilenc> that written with custom font, but i can make images of each letter and map them to real letters
mehlah has quit [Quit: Leaving...]
<BubonicPestilenc> ndrst, to have better speed? )
<apeiros> BubonicPestilenc: I think "but not as strong as OCR" is pretty much a no-go
<apeiros> I doubt anybody invested time into such a thing
<BubonicPestilenc> apeiros: sad =(
<apeiros> tesseract is an open source OCR software
<surrounder> and an amazing band from the UK
<BubonicPestilenc> apeiros: but to learn, he need original ttf/otf
toastynerd has joined #ruby-lang
skade has quit [Ping timeout: 252 seconds]
<apeiros> BubonicPestilenc: ?
<apeiros> tesseract doesn't need to learn
solars has quit [Ping timeout: 264 seconds]
<apeiros> you point it at an image and it tells you what text it finds in there
<BubonicPestilenc> apeiros: he didn't read custom font
mehlah has joined #ruby-lang
<apeiros> he?
<yorickpeterse> bro
<yorickpeterse> do you even ocr
<ljarvis> do you even bro
<yorickpeterse> not really
<apeiros> I do that line a bit lower, I do even pro
<ljarvis> bro do you even make sense
elia has quit [Quit: Computer has gone to sleep.]
rwk1 has joined #ruby-lang
<BubonicPestilenc> just ran it through: http://yadi.sk/d/L7XbRtr_NkLex and got this: http://yadi.sk/d/1CNIg3HGNkLzS
<yorickpeterse> BubonicPestilenc: but yeah, OCR is probs your best bet
<yorickpeterse> and yes, some services are shite at it
kitak_ has quit [Remote host closed the connection]
<BubonicPestilenc> tyvm
momomomomo has joined #ruby-lang
BubonicPestilenc has quit [Quit: Page closed]
elia has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
<apeiros> preprocessing the picture might help
<apeiros> I'm not sure OCR do that automatically
<apeiros> i.e., invert that pic, increase contrast
mbj has joined #ruby-lang
pskosinski has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
psycho_one has joined #ruby-lang
danijoo has quit [Quit: Leaving...]
wallerdev has quit [Quit: wallerdev]
dsp____ has quit [Remote host closed the connection]
mistym has joined #ruby-lang
dsp___ has joined #ruby-lang
ascarter has joined #ruby-lang
psycho_o_ has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
priodev has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.1]
psycho_one has quit [Ping timeout: 276 seconds]
|jemc| has joined #ruby-lang
<john_____> thanks guys for the help...was looking the url you pointed out...thanks again for the help
pskosinski has joined #ruby-lang
rwk1 has quit [Ping timeout: 246 seconds]
enkristoffer has joined #ruby-lang
mbj has quit [Quit: leaving]
stamina has quit [Ping timeout: 250 seconds]
agarie has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
hahuang62 has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 252 seconds]
th2389 has quit [Ping timeout: 245 seconds]
RobertBirnie has joined #ruby-lang
th2389 has joined #ruby-lang
hahuang62 has quit [Ping timeout: 265 seconds]
hahuang61 has quit [Ping timeout: 265 seconds]
bf4 has quit [Read error: Connection reset by peer]
bf4 has joined #ruby-lang
jsullivandigs has joined #ruby-lang
charliesome has quit [Ping timeout: 276 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
nathanstitt has quit [Quit: I growing sleepy]
ssb123 has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Leaving]
djbkd has joined #ruby-lang
ikrima has joined #ruby-lang
alexju has joined #ruby-lang
rwk1 has joined #ruby-lang
rahul_j has joined #ruby-lang
rahul_j has quit [Client Quit]
Shoffner has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby-lang
stardiviner has joined #ruby-lang
Shoffner has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
Guest85414______ has quit [Ping timeout: 252 seconds]
albertgrala has joined #ruby-lang
Guest85414______ has joined #ruby-lang
nathanstitt has joined #ruby-lang
ssb123 has joined #ruby-lang
Lewix has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
jsrn has quit [Ping timeout: 255 seconds]
rwk1 has quit [Ping timeout: 252 seconds]
amsi has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
x0f_ has quit [Ping timeout: 276 seconds]
mykoweb has joined #ruby-lang
rippa has joined #ruby-lang
x0f has joined #ruby-lang
__butch__ has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alekst has quit [Quit: Computer has gone to sleep.]
adphillips has quit []
ascarter has joined #ruby-lang
mistym has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
psycho_one has joined #ruby-lang
rofel has joined #ruby-lang
tharindu has joined #ruby-lang
bjh13 has joined #ruby-lang
ecnalyr has quit [Ping timeout: 246 seconds]
psycho_o_ has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Ping timeout: 276 seconds]
tomkadwill has quit [Remote host closed the connection]
dstynchula has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
ldnunes has joined #ruby-lang
kitak has joined #ruby-lang
canton7-mac has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
hahuang61 has joined #ruby-lang
hahuang62 has joined #ruby-lang
rwk1 has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
lolmaus has joined #ruby-lang
mykoweb has joined #ruby-lang
mikecmpbll has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
hahuang62 has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 252 seconds]
AncientAmateur has joined #ruby-lang
saarinen has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
mykoweb has quit [Ping timeout: 265 seconds]
D9 has joined #ruby-lang
D9 has quit [Read error: Connection reset by peer]
dwknoxy has joined #ruby-lang
yfeldblum has joined #ruby-lang
francisfish has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
yfeldblum has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby-lang
djbkd has joined #ruby-lang
rwk1 has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby-lang
adphillips has joined #ruby-lang
hahuang62 has joined #ruby-lang
hahuang61 has joined #ruby-lang
SilkFox has quit [Read error: Operation timed out]
ssb123_ has joined #ruby-lang
hahuang62 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 252 seconds]
ssb123_ has quit [Read error: Connection reset by peer]
ssb123_ has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
john_____ has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
enkristoffer has joined #ruby-lang
rofel has quit [Quit: Leaving...]
bf4_ has joined #ruby-lang
rue|w has joined #ruby-lang
bf4 has quit [Ping timeout: 246 seconds]
SilkFox has joined #ruby-lang
michaeldeol has joined #ruby-lang
vlad_starkov has joined #ruby-lang
john_____ has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 255 seconds]
vpretzel|1424 is now known as vpretzel|storybo
rue|w has quit [Remote host closed the connection]
rue|w has joined #ruby-lang
psycho_one has quit [Read error: Connection reset by peer]
psycho_one has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
ssb123_ has quit [Remote host closed the connection]
beef-wellington has joined #ruby-lang
tils` has joined #ruby-lang
ng-ralph has joined #ruby-lang
agarie has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
ng-ralph has left #ruby-lang [#ruby-lang]
cnivolle_ has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
SilkFox has quit [Ping timeout: 255 seconds]
agarie has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
agarie has joined #ruby-lang
cnivolle_ has joined #ruby-lang
<yorickpeterse> man, trying to find a pink pirate costume that's not 1) for women 2) super slutty is hard
<yorickpeterse> at least I found a jacket
cnivolle has quit [Ping timeout: 246 seconds]
<yorickpeterse> "Pirate costume: Black Eye" - features a black guy wearing said suite. Classy.
hahuang62 has joined #ruby-lang
<yorickpeterse> * suit
ng-ralph has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang62 has quit [Client Quit]
hahuang65 has joined #ruby-lang
cnivolle_ has quit [Ping timeout: 240 seconds]
rwk1 has joined #ruby-lang
ssb123 has joined #ruby-lang
psycho_o_ has joined #ruby-lang
relix has quit [Read error: Connection reset by peer]
AncientAmateur has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ciao.]
relix has joined #ruby-lang
psycho_one has quit [Ping timeout: 252 seconds]
enkristoffer has quit [Quit: ❤]
djbkd has quit [Remote host closed the connection]
allomov has joined #ruby-lang
banister has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has quit [Ping timeout: 240 seconds]
albertgrala has quit [Ping timeout: 250 seconds]
rwk1 has quit [Ping timeout: 265 seconds]
dstynchula has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
dstynchula has joined #ruby-lang
djbkd has joined #ruby-lang
zhul_mechanos has joined #ruby-lang
enkristoffer has joined #ruby-lang
<ljarvis> what would you call a variable that would contain either :start or :finish (it's currently start_or_finish but it's annoyingly long)
<apeiros> progress, status
<ljarvis> they represent locations
<ljarvis> otherwise that would work
zhul_mechanos has quit [Client Quit]
<|jemc|> pos?
zhul_mechanos has joined #ruby-lang
<ljarvis> hm
<eam> "they represent locations" => "location"
bin7me has joined #ruby-lang
<apeiros> position
<ljarvis> right yeah i thought that too, but it's still a bit weird
<apeiros> location
<eam> (or position, if they represent positions)
<apeiros> located_at
<ljarvis> apeiros: right, pos i presumed is what |jemc| shortened
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ljarvis> i think position is good enough
<ljarvis> thanks
<ljarvis> go team etc
<eam> p and q, the i and j of pointers
zhul_mechanos has quit [Client Quit]
<apeiros> ljarvis: I wouldn't use pos, tbh. I don't like abbreviations
<|jemc|> any ragel-ites have a pattern for starting in a machine instantiation other than "main
<|jemc|> " based on a parameter to the parser?
zhul_mechanos has joined #ruby-lang
<|jemc|> that is, if foo, start in machine bar instead of machin main
<|jemc|> where foo is a parameter, not determined from the actual bytestream
alexju has quit [Ping timeout: 276 seconds]
diegoviola has quit [Ping timeout: 250 seconds]
alexju has joined #ruby-lang
<yorickpeterse> ljarvis: the_start_or_finish_local_variable
<yorickpeterse> it should explains itself
<yorickpeterse> * explain
relix has joined #ruby-lang
<ljarvis> ah why didn't I think of that!
djbkd has quit [Remote host closed the connection]
agush has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
<agush> hey hi!
<agush> small question if anyone knows
<agush> why if i try [:q][:s]
<agush> it gives me
<agush> TypeError: no implicit conversion of Symbol into Integer
psycho_o_ has quit [Remote host closed the connection]
<toretore> agush: show more code: gist.github.com
<agush> no just like that
<agush> in irb
<agush> just that one line
<agush> [:q][:s]
<toretore> what are you expecting it to do?
<agush> what im trying to do is
<agush> in ror
<toretore> [:q] is an array with :q as its only element, [:s] is a method call to that array with :s as an argument
<agush> access the params at key :q and then at key :s
<agush> when the params are defined its just fine
<toretore> so there is more code?
<agush> but when not, it fails
<agush> mm yes
<agush> = check_box_tag "q[assignee_login_user_status_eq]", "Active", !!params[:q][:assignee_login_user_status_eq]
<agush> that last one bit is giving me trouble
<yorickpeterse> because you're trying to access an Array index using a non numerical value
<toretore> that is not the same
<yorickpeterse> [:a][:b] -> creates the array [:a], then tries to access the index :b
albertgrala has joined #ruby-lang
<yorickpeterse> which is not possible since :b is not a number
<yorickpeterse> >> [:a]
<eval-in> yorickpeterse => [:a] (https://eval.in/144657)
<yorickpeterse> >> [:a][0]
<eval-in> yorickpeterse => :a (https://eval.in/144658)
<agush> mmm okok
<yorickpeterse> >> [:a][:b]
<eval-in> yorickpeterse => no implicit conversion of Symbol into Integer (TypeError) ... (https://eval.in/144659)
<yxhuvud> 18>> [:a][:b]
<eval-in> yxhuvud => Symbol as array index (TypeError) ... (https://eval.in/144660)
d4rkr4i has quit [Ping timeout: 276 seconds]
<toretore> >>[:a][0.0]
<eval-in> toretore => :a (https://eval.in/144661)
<toretore> yuck
<yxhuvud> Hmm. when was that fixed - I am damned certain I ran into a very nasty bug in 1.8 due to that
djbkd has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
<yorickpeterse> >> {:a => 10}[:a][:b]
<eval-in> yorickpeterse => no implicit conversion of Symbol into Integer (TypeError) ... (https://eval.in/144662)
<yorickpeterse> lel
<yxhuvud> maybe it was a corner case somewhere.
<agush> thanks guys!
<agush> i was just wondering
<agush> about it
<yxhuvud> 18>> 6[:foo]
<eval-in> yxhuvud => 0 (https://eval.in/144663)
<yxhuvud> YAY!
enkristoffer has quit [Quit: ❤]
zhul_mechanos has quit [Quit: zhul_mechanos]
yfeldblu_ has joined #ruby-lang
omosoj has joined #ruby-lang
<omosoj> join #rubyonrails
<omosoj> gah
beef-wellington has quit [Ping timeout: 255 seconds]
enkristoffer has joined #ruby-lang
alexju has quit [Remote host closed the connection]
<apeiros> omosoj: now you've outed yourself. your reputation is irrevocably damaged.
<omosoj> I was planning to go troll them, I swear... :)
<apeiros> haha
ssb123 has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d4rkr4i has joined #ruby-lang
relix has joined #ruby-lang
Speed has joined #ruby-lang
havenwood has quit []
vpretzel|storybo is now known as vpretzel|hotfix
<eam> j/win 1
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoul_ has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
chouhoulis has quit [Ping timeout: 276 seconds]
psycho_one has joined #ruby-lang
rwk1 has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
cmaxw has joined #ruby-lang
achal has joined #ruby-lang
davispuh has joined #ruby-lang
DEac- has joined #ruby-lang
DEac-_ has quit [Read error: Connection reset by peer]
beef-wellington has joined #ruby-lang
Pupeno has quit [Ping timeout: 276 seconds]
rwk1 has quit [Ping timeout: 250 seconds]
hellome has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
Fushi has quit [Quit: Connection closed for inactivity]
Willox has quit [Read error: Connection reset by peer]
akahn has quit [Read error: Connection reset by peer]
akahn has joined #ruby-lang
Willox has joined #ruby-lang
vpretzel_ has joined #ruby-lang
john_____ has quit [Read error: Connection reset by peer]
chouhoul_ has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby-lang
michaeldeol has joined #ruby-lang
vpretzel|hotfix has quit [Ping timeout: 255 seconds]
* jaimef ponders what !! syntax is
<Mon_Ouie> It's just a double negation. Always evaluates to either true or false rather than just a truthy/falsey value.
vpretzel_ has quit [Quit: Adios!]
alexju has joined #ruby-lang
dsp____ has joined #ruby-lang
albertgrala has quit [Ping timeout: 245 seconds]
<workmad3> Mon_Ouie: unless someone has been playing with ! on their object
nathanstitt has quit [Quit: I growing sleepy]
vpretzel has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby-lang
dsp___ has quit [Ping timeout: 246 seconds]
dsp____ has quit [Ping timeout: 240 seconds]
<wallerdev> workmad3: always a good idea to redefine FalseClass to true in your gem
tharindu has quit [Ping timeout: 265 seconds]
<workmad3> wallerdev: I was thinking of something less destructive than that ;)
albertgrala has joined #ruby-lang
<Mon_Ouie> Let's redefine Object#! to draw a cat on $stdout whenever you use negation
<workmad3> wallerdev: just something as simple as 'def !; self; end'
<workmad3> wallerdev: and suddenly !! doesn't work as expected :D
<wallerdev> i usually never bother with !!
<workmad3> Mon_Ouie: ooh... it should put a
<wallerdev> most things dont check for false or true explicitly anyway
<katlogic> In some languages, double negatives dont cancel each other.
<eam> katlogic: I can't think of any where they do
elia has joined #ruby-lang
ssb123 has joined #ruby-lang
<wallerdev> english is one
<katlogic> Does it work with positives too?
<katlogic> (Not a native speaker)
<eam> wallerdev: double negatives don't always cancel in english
loincloth has quit [Remote host closed the connection]
<wallerdev> yeah i was just saying sometimes
<eam> "ain't never" etc
<whitequark> isn't "ain't never" more of an idiom today?
<eam> katlogic: english does have double positives which are negatives, there's an old joke around that
<katlogic> Yeah, right.
<katlogic> :)
<eam> :)
<wallerdev> and then there's sarcasm haha
Squarepy has joined #ruby-lang
Squarepy has quit [Client Quit]
<eam> so I take it back, there are a few strongly typed languages where ! is 1:1
<wallerdev> strong vs weak typing is not even a real classification :p
<whitequark> why not? has implicit conversions vs does not have
<eam> curious how ! differs from "and" and "or"
<katlogic> It's an invented construct by the strong-typing lobby! Wake up sheeple!
<whitequark> it's pretty well-cut
<wallerdev> whitequark: just read the wiki article on it haha
<workmad3> eam: well, for starters '!' is a boolean not, while 'and' is a boolean and and 'or' is a boolean or
elia has quit [Ping timeout: 255 seconds]
<workmad3> eam: so there's that difference ;)
loincloth has joined #ruby-lang
loincloth has quit [Client Quit]
<eam> workmad3: sure, I mean in terms of returning its arg if true
<whitequark> wallerdev: wiki is not always the best source.
<wallerdev> okay then what's your source?
<workmad3> eam: well, if the arg is truthy, it returns false and if the arg is falsey it returns true
tomkadwill has joined #ruby-lang
<wallerdev> it's a common argument and everyone has different definitions on what strong and weak typing are
<whitequark> wallerdev: Liskov sounds like a great one
<workmad3> eam: so not sure at what point you expect the original arg to be relevant :)
<wallerdev> and "strongly" typed languages can support implicit type conversion
<eam> wallerdev: or and and don't return true/false though
<eam> that's the interesting comparison :)
<workmad3> eam: right... but && and || don't flip a truth value
<eam> yeah
<workmad3> eam: ! does
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> !! doesn't necessarily, though :)
<workmad3> eam: !! does... but twice ;)
<eam> I'm imagining (not seriously asserting) an argument for !!x to return x
michaeldeol has joined #ruby-lang
<workmad3> eam: ! can be overridden... so !! can't be optimised away like that
<whitequark> >> !!Object.new.tap { |o| def o.!; self; end }
<eval-in> whitequark => #<Object:0x423a2338> (https://eval.in/144678)
RobertBirnie has quit [Ping timeout: 265 seconds]
Coincidental has joined #ruby-lang
<whitequark> ruby allows you to defy logic, for some reason.
<eam> workmad3: certainly an idea of a change would require a change :)
ecnalyr has joined #ruby-lang
<wallerdev> i love how flexible ruby is
<workmad3> whitequark: maybe you want to implement a non-standard logic system in ruby? :D
<whitequark> workmad3: but you can't override &&/||.
<wallerdev> just the other day i fixed a bug in vagrant by opening up a class in the middle of the config file we used lol
benlovell has joined #ruby-lang
<workmad3> whitequark: true
<whitequark> wallerdev: worked around a bug, and it will break soon.
<workmad3> whitequark: maybe in ruby 2.3? :)
<whitequark> workmad3: ugh no, it's bad enough as it is
<eam> I wish I could override %
<whitequark> eam: you can
<wallerdev> i doubt it'll break anytime soon but i appreciate the concern
<wallerdev> this is ruby we're talking about, very robust
<eam> wallerdev: sorry I mean like %w, %x
<eam> er whitequark
<eam> I want %x{} without a shell, I always have to just write my own
<whitequark> you can!
<eam> or use a gem
<eam> whitequark: how?
<eam> last I checked %x{} was in parse.y
<whitequark> >> def `(x); puts "hello, #{x}"; end; %x{world}
<eval-in> whitequark => hello, world ... (https://eval.in/144680)
<whitequark> %x sends ` to self
<eam> oh, yeah, but I also hate the backtick
<whitequark> um?
<eam> but that works?
<eam> oh I see
<whitequark> %x ≡ `
<eam> whitequark: what I really want is to define new stuff like %X
<eam> so I don't break existing code
<whitequark> you can redefine it locally
<eam> mmmm
<whitequark> as I've said, it sends ` to *self*
th2389 has quit [Ping timeout: 245 seconds]
<eam> I see
ecnalyr has quit [Ping timeout: 246 seconds]
Guest85414______ has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
akahn has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 252 seconds]
<eam> >> class Foo; def `(x); puts "hello, #{x}"; end; end; Foo.new.instance_eval("`world`") + `echo bye`
<eval-in> eam => (https://eval.in/144682)
Guest85414______ has joined #ruby-lang
<eam> nice
akahn has joined #ruby-lang
cmaxw has quit [Quit: cmaxw]
th2389 has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
alex-quiterio has quit [Quit: Leaving.]
chouhoul_ has quit [Ping timeout: 276 seconds]
momomomomo has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
sepp2k has joined #ruby-lang
dsp___ has joined #ruby-lang
momomomomo has quit [Client Quit]
momomomomo has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mforrester has quit [Remote host closed the connection]
vlad_starkov has quit []
vbatts1 has joined #ruby-lang
vbatts1 has left #ruby-lang [#ruby-lang]
amsi has quit [Ping timeout: 264 seconds]
psycho_one has quit [Remote host closed the connection]
mehlah has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
centrx has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
Pupeno has joined #ruby-lang
malconis has quit [Ping timeout: 250 seconds]
Johz has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
dm78 has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
malconis has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
imperator has joined #ruby-lang
Raycaster has quit [Ping timeout: 250 seconds]
pixelhandler has joined #ruby-lang
rofel has joined #ruby-lang
adphillips has quit [Remote host closed the connection]
adphillips has joined #ruby-lang
RobertBirnie has joined #ruby-lang
adphillips has quit [Ping timeout: 240 seconds]
RobertBi_ has joined #ruby-lang
stargrove has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 265 seconds]
yalue has quit [Read error: Connection reset by peer]
AncientAmateur has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
havenwood has joined #ruby-lang
wallerdev has joined #ruby-lang
RobertBi_ has quit [Read error: Connection reset by peer]
elia has quit [Quit: Computer has gone to sleep.]
RobertBirnie has joined #ruby-lang
metamaterial has joined #ruby-lang
ap4y has joined #ruby-lang
dsp___ has quit [Read error: Connection reset by peer]
dsp___ has joined #ruby-lang
alexju has quit [Remote host closed the connection]
Xzyx987X has joined #ruby-lang
ur5us has joined #ruby-lang
nathanstitt has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 276 seconds]
Dim_ has quit [Read error: Connection reset by peer]
Dim_ has joined #ruby-lang
zarubin has joined #ruby-lang
nisstyre has joined #ruby-lang
gnufied has quit [Ping timeout: 252 seconds]
RobertBi_ has joined #ruby-lang
cnivolle has joined #ruby-lang
imperator has quit [Ping timeout: 265 seconds]
malconis has quit [Remote host closed the connection]
mehlah_ has joined #ruby-lang
mehlah has quit [Read error: Connection reset by peer]
rwk1 has joined #ruby-lang
michaeldeol has joined #ruby-lang
alex-quiterio has joined #ruby-lang
mikecmpbll has joined #ruby-lang
malconis has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 276 seconds]
alex-quiterio has quit [Remote host closed the connection]
amsi has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
gnufied has joined #ruby-lang
rwk1 has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
albertgrala has quit [Quit: Leaving]
ColdBlooder has joined #ruby-lang
brushbox has joined #ruby-lang
IPGlider has joined #ruby-lang
pr0ton_ has joined #ruby-lang
kramsee has quit [Quit: leaving]
kramsee has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
MichD is now known as michd
kramsee has quit [Client Quit]
kramsee has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
_ht has quit [Remote host closed the connection]
elia has joined #ruby-lang
tils` has quit [Ping timeout: 240 seconds]
pr0ton_ has quit [Quit: pr0ton_]
nathanstitt has quit [Quit: I growing sleepy]
dstynchu_ has joined #ruby-lang
dstynchula has quit [Ping timeout: 245 seconds]
davidstump has quit []
rofel has quit [Quit: Leaving...]
djbkd has quit [Remote host closed the connection]
<yorickpeterse> blegh, Ragel would be so much better if the Ruby output wasn't so darn slow
IPGlider has quit []
<yorickpeterse> Even at its most basic form Ragel takes about 5 seconds to chew its way through 10MB of text
knu has quit [Remote host closed the connection]
<yorickpeterse> whereas Ruby itself in its most basic form can do that in about 500 ms
fostertheweb has joined #ruby-lang
<wallerdev> i thought ragel generated c code that could be used from ruby or something
<apeiros> wallerdev: I think it can also output plain ruby code
<wallerdev> gotcha
beef-wellington has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby-lang
<yorickpeterse> wallerdev: no
<yorickpeterse> it can output plain C, Ruby, and a bunch of others
sarkyniin has quit [Quit: Quitte]
<wallerdev> im pretty sure hpricot used ragel in C mode
<yorickpeterse> it does
knu has joined #ruby-lang
<yorickpeterse> I don't want to use C for as long as possible
<yorickpeterse> because C is an entire bucket of shit on its own
<wallerdev> :p
<wallerdev> just thought there might be simple ruby bindings for the c stuff
<wallerdev> should be more performant
<yorickpeterse> Oh I thought about using FFI and all that
<yorickpeterse> it still involves C
<yorickpeterse> and porting this lexer to C is non trivial
<wallerdev> ive only used antlr for lexing/parsing :/
symm- has joined #ruby-lang
levifig has quit []
Johz has quit [Quit: Leaving]
nofxx has quit [Ping timeout: 250 seconds]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
levifig has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
postmodern has joined #ruby-lang
nathanstitt has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bin7me has quit [Quit: Leaving]
arubincloud has joined #ruby-lang
rwk1 has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
pskosinski has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: ciao.]
dorei has joined #ruby-lang
rwk1 has quit [Ping timeout: 265 seconds]
omosoj has quit [Ping timeout: 250 seconds]
simono has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AncientAmateur has joined #ruby-lang
psycho_one has joined #ruby-lang
pskosinski has joined #ruby-lang
fostertheweb has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
davispuh has joined #ruby-lang
psycho_one has quit [Ping timeout: 276 seconds]
pskosinski has quit [Remote host closed the connection]
bjh13 has quit [Quit: leaving]
Coincidental has joined #ruby-lang
pskosinski has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
kramsee has quit [Quit: leaving]
kramsee has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
Speed has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
enebo has quit [Quit: enebo]
SilkFox has joined #ruby-lang
tomkadwill has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agush has quit [Ping timeout: 240 seconds]
MarianM has joined #ruby-lang
skade has quit [Quit: WeeChat 0.4.3]
fostertheweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomkadwill has quit [Ping timeout: 252 seconds]
AncientA_ has joined #ruby-lang
franzip has quit [Quit: ...]
Coincidental has quit [Read error: Connection reset by peer]
AncientAmateur has quit [Ping timeout: 240 seconds]
Coincidental has joined #ruby-lang
zommi has joined #ruby-lang
nofxxx has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
MarianM has left #ruby-lang [#ruby-lang]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
allomov_ has joined #ruby-lang
SilkFox has quit [Ping timeout: 246 seconds]
zommi has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
kyb3r_ has joined #ruby-lang
allomov has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
MartynKeigher has joined #ruby-lang
tris has quit [Quit: Leaving]
ecnalyr has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
ng-ralph has quit [Remote host closed the connection]
nofxxx has quit [Remote host closed the connection]
AncientA_ has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 246 seconds]
simono has joined #ruby-lang
djbkd has joined #ruby-lang
bousquet has joined #ruby-lang
allomov_ has quit [Remote host closed the connection]
amerine has quit [Ping timeout: 240 seconds]
amerine has joined #ruby-lang
mehlah_ is now known as mehlah
d4rkr4i has quit [Quit: Leaving.]
nofxxx has joined #ruby-lang
kalehv has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
nathanstitt has joined #ruby-lang
achal has quit [Quit: Connection closed for inactivity]
arubincloud has quit []
bousquet has quit []
wallerdev has quit [Quit: wallerdev]
nofxxx has quit [Remote host closed the connection]
araujo has joined #ruby-lang
araujo has quit [Changing host]
araujo has joined #ruby-lang
woollyams has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
dvarrui has joined #ruby-lang
CaptainJet has quit []
nofxxx has joined #ruby-lang
havenwood has joined #ruby-lang
dstynchu_ has quit [Ping timeout: 255 seconds]
dstynchula has joined #ruby-lang
AncientAmateur has joined #ruby-lang
mannyt has quit [Quit: Connection closed for inactivity]
havenwood has quit [Read error: Connection reset by peer]
marr has quit []
incon has joined #ruby-lang
incon has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
pr0ton_ has joined #ruby-lang
|jemc| has quit [Ping timeout: 246 seconds]
cnivolle has quit [Remote host closed the connection]
surrounder has quit [Ping timeout: 252 seconds]
nofxxx has quit [Remote host closed the connection]
surrounder has joined #ruby-lang
jcs222 has quit [Quit: leaving]
pr0ton_ has quit [Quit: pr0ton_]
saarinen has quit [Quit: saarinen]
pr0ton_ has joined #ruby-lang
SilkFox has joined #ruby-lang
omosoj has joined #ruby-lang
Speed has quit [Ping timeout: 276 seconds]
Speed has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
pr0ton_ has quit [Ping timeout: 276 seconds]
cored_ has quit [Ping timeout: 240 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
Pupeno has quit []
djbkd has joined #ruby-lang
wallerdev has joined #ruby-lang
kitak has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 240 seconds]
agarie has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
dstynchu_ has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AncientA_ has joined #ruby-lang
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
dstynchula has quit [Ping timeout: 246 seconds]
ssb123 has joined #ruby-lang
psycho_one has joined #ruby-lang
gix has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 240 seconds]
AncientA_ has quit [Remote host closed the connection]
MartynKeigher has quit [Ping timeout: 252 seconds]
psycho_one has quit [Ping timeout: 265 seconds]