apeiros changed the topic of #ruby-lang to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste code on https://gist.github.com
fujimura has joined #ruby-lang
ta has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 252 seconds]
ta has quit [Ping timeout: 264 seconds]
dziemid has joined #ruby-lang
bb010g has joined #ruby-lang
yfeldblum has joined #ruby-lang
lektrik has joined #ruby-lang
bruno- has joined #ruby-lang
dziemid has quit [Remote host closed the connection]
bantic has joined #ruby-lang
centrx has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 245 seconds]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 244 seconds]
replay has quit [Ping timeout: 252 seconds]
Sirupsen has joined #ruby-lang
gr33n7007h has joined #ruby-lang
roamingdog has joined #ruby-lang
dziemid has joined #ruby-lang
dmr8 has joined #ruby-lang
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
arBmind1 has quit [Quit: Leaving.]
dziemid has quit [Ping timeout: 264 seconds]
replay has joined #ruby-lang
centrx has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
iliketurtles has quit [Ping timeout: 256 seconds]
lektrik has quit [Ping timeout: 265 seconds]
caseydriscoll has joined #ruby-lang
haraoka has joined #ruby-lang
replay has quit [Ping timeout: 264 seconds]
dorei has quit []
hahuang65 has quit [Ping timeout: 245 seconds]
lytol has joined #ruby-lang
ghostpl_ has joined #ruby-lang
lytol has quit [Ping timeout: 256 seconds]
replay has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
dziemid has joined #ruby-lang
charliesome has quit [Quit: zzz]
fujimura has joined #ruby-lang
b_hoffman has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby-lang
fujimura has quit [Ping timeout: 255 seconds]
djellemah__ has joined #ruby-lang
charliesome has joined #ruby-lang
amclain has joined #ruby-lang
djellemah_ has quit [Ping timeout: 245 seconds]
lytol has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
SylarRuby has joined #ruby-lang
cpt_yossarian has quit [Quit: And then he took off.]
cpt_yossarian has joined #ruby-lang
bruno- has joined #ruby-lang
jwaldrip has quit [Quit: Lingo: www.lingoirc.com]
dziemid has quit [Remote host closed the connection]
SylarRuby has quit [Ping timeout: 265 seconds]
hendranata_ has joined #ruby-lang
micmus has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
djbkd_ has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
kfpratt has joined #ruby-lang
chouhoulis has joined #ruby-lang
djbkd has joined #ruby-lang
shinnya has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby-lang
djbkd has quit [Client Quit]
riotjones has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
djbkd has joined #ruby-lang
spuk has joined #ruby-lang
amystephen has quit [Quit: amystephen]
roamingdog has quit []
bantic has quit [Quit: bantic]
gwendall has quit [Remote host closed the connection]
deol has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
lytol has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
iliketurtles has quit [Remote host closed the connection]
micmus has quit [Quit: Leaving]
ghostpl_ has quit [Ping timeout: 245 seconds]
ledestin has joined #ruby-lang
iliketurtles has joined #ruby-lang
dmr8 has quit [Read error: Connection reset by peer]
tmoor has quit [Quit: Leaving]
lektrik has joined #ruby-lang
fujimura has joined #ruby-lang
Blackhole has quit []
iliketurtles has quit [Quit: zzzzz…..]
mattyohe has joined #ruby-lang
hahuang65 has joined #ruby-lang
replay has quit []
Mercutio_ has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mercutio_> -bash: alias: —prompt: not found -bash: alias: inf-ruby’: not found <--- I get the following lines in OSX terminal
<Mercutio_> does anyone know how to remove them?
b_hoffman has quit [Quit: b_hoffman]
auzty has joined #ruby-lang
<Mercutio_> any help is appreciated
<rgb-one> Did you copy someones .bashrc or .bash_profile?
hahuang65 has quit [Ping timeout: 256 seconds]
<Mercutio_> No, rgb-one
<rgb-one> Mercutio_: post your .bashrc
<Mercutio_> how do i view it?
<rgb-one> Mercutio_: the period in front of the file or directory name signifies a hidden file
lytol has joined #ruby-lang
<Mercutio_> Ok
<Mercutio_> How do I view it to post it/
<Mercutio_> ?*
<rgb-one> Mercutio_: Open the systems file manager and right click
<Mercutio_> ok
<rgb-one> right click on a blank space in the file manager window
<rgb-one> Mercutio_: you should see show hidden files or something like that
<Mercutio_> so, in Finder?
<rgb-one> Mercutio_: Yes I think
<rgb-one> Mercutio_: I don't use OSX but it should be the same
<havenn> Mercutio_: cat ~/.bash{rc,_profile}
<rgb-one> or that
lytol has quit [Ping timeout: 246 seconds]
<Mercutio_> the response:
<Mercutio_> export PS1="$ " alias irb=‘irb —prompt inf-ruby’ [[ -s ~/.bashrc ]] && source ~/.bashrc
existensil has joined #ruby-lang
amystephen has joined #ruby-lang
amystephen has quit [Client Quit]
<rgb-one> Mercutio_: put two -- in front of prompt
<Mercutio_> rgb-one: ?
<Mercutio_> what will that do?
<rgb-one> edit the file and put --prompt
<Mercutio_> so that the prompt is $-- ?
<rgb-one> Mercutio_: well assuming you have irb installed that may correct the error
<Mercutio_> i edited the prompt myself - the lines were there before i edited the prompt
<rgb-one> Mercutio_: usually command line flags have double arrows in front of them not —
<rgb-one> Mercutio_: double dashes*
<Mercutio_> oh ok
<Mercutio_> how do i edit the file?
<rgb-one> what text editor comes with OSX?
<Mercutio_> TextEdit
<rgb-one> type textedit .bashrc in the terminal
<Mercutio_> command not found
<rgb-one> type nano .bashrc
iliketurtles has joined #ruby-lang
<Mercutio_> that worked, but it only says: "export PS1="$ "
gix has quit [Ping timeout: 248 seconds]
lytol has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby-lang
<rgb-one> close nano by pressing Ctrl-X
<Mercutio_> Ok
<rgb-one> the command: open -t .bash_profile should open TextEdit
dellavg_ has joined #ruby-lang
<Mercutio_> yes it did
<rgb-one> alright make the changes then save and exit
gix has joined #ruby-lang
mcclurmc has joined #ruby-lang
<rgb-one> then close and reopen the terminal
<Mercutio_> alias irb=‘irb —prompt inf-ruby’ [[ -s ~/.bashrc ]] && source ~/.bashrc
<rgb-one> replace —prompt with --prompt
riotjones has quit [Ping timeout: 256 seconds]
<Mercutio_> the error has been fixed, thank you
<rgb-one> alright np
dellavg_ has quit [Ping timeout: 264 seconds]
mcclurmc has quit [Ping timeout: 256 seconds]
Mercutio_ has quit [Quit: Page closed]
deol has joined #ruby-lang
jdecuirm has quit [Remote host closed the connection]
yxhuvud has quit [Ping timeout: 256 seconds]
<hakunin> ruby's Singleton vs object assigned to a constant, can somebody explain pros/cons?
<centrx> Singleton does prevent instantiating a different object
<centrx> if someone doesn't know that constant is defined some where
yxhuvud has joined #ruby-lang
<hakunin> centrx: hm, singleton assigned to a constant, even better :)
<hakunin> (singleton instance)
rgb-one has quit [Remote host closed the connection]
kfpratt has quit [Remote host closed the connection]
|jemc| has quit [Quit: WeeChat 1.1.1]
keltim has left #ruby-lang ["Leaving"]
kfpratt has joined #ruby-lang
Guest340 has quit [Ping timeout: 272 seconds]
ghostpl_ has joined #ruby-lang
Olipro has joined #ruby-lang
Olipro is now known as Guest62848
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
ghostpl_ has quit [Ping timeout: 246 seconds]
RickHull_ has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deol has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 256 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
kyb3r_ has joined #ruby-lang
<RickHull_> can anyone suggest a tiling WM that is or can be optimized for multiple terminal windows? I'd like to specify the char width, default 80ch, and maybe scale the font however is necessary to make it happen for a desired layout
<RickHull_> slightly off topic ;) i am hacking ruby code in emacs in several of those terminals
lytol has quit [Remote host closed the connection]
x44x45x41x4E has joined #ruby-lang
lytol has joined #ruby-lang
<RickHull_> I suppose I should just run emacs full screen, but I'm not a huge fan of how emacs does tiling, the little of it that I've played around with, hmm
duderonomy has joined #ruby-lang
centrx has quit [Remote host closed the connection]
adambeynon has quit [Ping timeout: 272 seconds]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlakey has quit [Ping timeout: 272 seconds]
benlakey has joined #ruby-lang
adambeynon has joined #ruby-lang
Sirupsen has joined #ruby-lang
bruno- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
caseydriscoll has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 256 seconds]
mattyohe has quit [Quit: Connection closed for inactivity]
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
haraoka has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby-lang
sandelius has joined #ruby-lang
Miphix has quit [Ping timeout: 264 seconds]
kfpratt has joined #ruby-lang
riotjones has quit [Ping timeout: 246 seconds]
kfpratt has quit [Ping timeout: 248 seconds]
Miphix has joined #ruby-lang
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
Miphix has quit [Client Quit]
arBmind has joined #ruby-lang
yfeldblum has joined #ruby-lang
Newbie0086 has joined #ruby-lang
riotjones has joined #ruby-lang
mberk has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1_ has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
ghostpl_ has joined #ruby-lang
fujimura_ has joined #ruby-lang
gr33n7007h has quit [Ping timeout: 264 seconds]
ta has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenn has quit [Ping timeout: 252 seconds]
ghostpl_ has quit [Ping timeout: 250 seconds]
arBmind has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
auzty has quit [Quit: Leaving]
dhjondoh has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
kerunaru has joined #ruby-lang
Newbie0086 has quit [Ping timeout: 252 seconds]
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 264 seconds]
kfpratt has joined #ruby-lang
gr33n7007h has joined #ruby-lang
kfpratt has quit [Ping timeout: 250 seconds]
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
Newbie0086 has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
Xzyx987X has quit [Ping timeout: 250 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xzyx987X has joined #ruby-lang
x44x45x41x4E has quit [Remote host closed the connection]
x44x45x41x4E has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
relix has joined #ruby-lang
Sgeo has joined #ruby-lang
spuk has quit [Ping timeout: 255 seconds]
Sgeo_ has quit [Ping timeout: 248 seconds]
fujimura has joined #ruby-lang
dhjondoh has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
fusillicode has quit [Read error: No route to host]
fusillicode has joined #ruby-lang
mberk has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 255 seconds]
fusillicode has quit [Client Quit]
fusillicode has joined #ruby-lang
tkuchiki has joined #ruby-lang
ethicalbeast has left #ruby-lang ["Leaving"]
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solars has joined #ruby-lang
TvL2386 has joined #ruby-lang
sandelius has joined #ruby-lang
Averna has quit [Quit: Leaving.]
Iskarlar has joined #ruby-lang
fusillicode has quit [Read error: Connection reset by peer]
fusillicode has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
haraoka has joined #ruby-lang
ta has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Read error: Connection reset by peer]
fujimura has quit [Remote host closed the connection]
fusillicode has joined #ruby-lang
<maloik> Not strictly ruby, but does anyone here use React in some of their projects? Looking for some quick pointers on additional plugins etc I should use
spuk has joined #ruby-lang
gwendall has joined #ruby-lang
fujimura has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
fusillicode1 has quit [Ping timeout: 252 seconds]
kfpratt has joined #ruby-lang
martinbmadsen has quit [Quit: Lost terminal]
chouhoulis has joined #ruby-lang
fusillicode has quit [Ping timeout: 244 seconds]
kfpratt has quit [Ping timeout: 256 seconds]
lytol has quit [Remote host closed the connection]
stan has joined #ruby-lang
lytol has joined #ruby-lang
chouhoulis has quit [Ping timeout: 265 seconds]
haraoka has quit [Ping timeout: 252 seconds]
RickHull_ has quit [Ping timeout: 246 seconds]
fujimura has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
jas02 has joined #ruby-lang
jas02 has quit [Client Quit]
djbkd has quit [Ping timeout: 256 seconds]
Bertg has joined #ruby-lang
Bertg has quit [Client Quit]
Bertg has joined #ruby-lang
ghostpl_ has joined #ruby-lang
[spoiler] has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
x44x45x41x4E has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 256 seconds]
caseydriscoll has joined #ruby-lang
AlexAltea has joined #ruby-lang
Newbie0086 has quit [Quit: 离开]
caseydriscoll has quit [Ping timeout: 245 seconds]
dhjondoh has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
ascarter_ has joined #ruby-lang
<yorickpeterse> morning
ta has joined #ruby-lang
ascarter has quit [Ping timeout: 264 seconds]
jas02 has joined #ruby-lang
existensil has quit [Ping timeout: 244 seconds]
skade has joined #ruby-lang
kfpratt has joined #ruby-lang
marr has joined #ruby-lang
marr has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
ethicalbeast has joined #ruby-lang
symm- has quit [Ping timeout: 265 seconds]
ethicalbeast has left #ruby-lang [#ruby-lang]
kfpratt has quit [Ping timeout: 250 seconds]
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
fusillicode has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
toertore has joined #ruby-lang
fujimura has joined #ruby-lang
fujimura has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
workmad3 has joined #ruby-lang
ghostpl_ has joined #ruby-lang
universa1 is now known as universal
ghostpl_ has quit [Ping timeout: 255 seconds]
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
universal is now known as universa1
marr has joined #ruby-lang
<ljarvis> maloik: started using it, dropped it pretty quickly
<maloik> any particular reason?
<ljarvis> it just didn't fit our need all that well, I guess. It took ~2000 more lines of code to do the same thing we wrote ourselves
<maloik> interesting
<ljarvis> i think it's good, but for the right case
<ljarvis> as with anything, i guess
ghostpl_ has joined #ruby-lang
djellemah__ has quit [Quit: Leaving]
djellemah has joined #ruby-lang
<yorickpeterse> bro, react is the new thing
<yorickpeterse> do you even react?
<maloik> I should've expected that reaction from you
<ljarvis> snap
<maloik> (cwidt?)
<yorickpeterse> badum tsh
<maloik> im evaluating it today
<ljarvis> maloik: did you enjoy the drinkup evening in Bath?
<maloik> heard some super positive things about it and I get the feeling it'd be manageable
<maloik> the drinkup after the conf?
<ljarvis> wasn't there a drinkup after the conf?
<maloik> yea
<maloik> it was okay
<maloik> super noisy tbh because it was such a big hall
<maloik> but we left fairly quickly... went to grab a bite then back to the hotel
<ljarvis> right, not the 30min beer right at the end, I just assumed lots of people went out in the evening
<maloik> oh
<ljarvis> ah
<ljarvis> yeah I pretty much had that and then left
<maloik> that's what I meant :D we stayed for like 1-2 hours after the last talk then left
<ljarvis> your "it was okay" was putting it nicely
<maloik> didn't meet up with anyone, seemd the few people we knew had left
ghostpl_ has quit [Ping timeout: 256 seconds]
<ljarvis> cramped as fuck
<maloik> yea there's that...
<ljarvis> I really enjoyed the conf though, every speaker was great
<maloik> absolutely
<maloik> they should make it smaller and turn it into 2 days
<maloik> i wouldnt mind paying extra
<maloik> (or make my company pay extra :D)
<ljarvis> yep I would have too
<maloik> but I feel like a 1day conf is too short to get to know people and hang out
<ljarvis> definitely
<ljarvis> our lunch was basically the only time I got to properly have a chat
<ljarvis> apart from with ben lovell but that was only short
<maloik> same here actually
<maloik> oh the night before as well
<ljarvis> heh, I wish I had come down the night before
<maloik> but it was one of those occasions where I chatted with people and don't even remember their name or what they do :(
<ljarvis> maybe next time. Are you going to Brighton Ruby?
<ljarvis> yeah I hate those times
<maloik> not sure, when is it?
<ljarvis> 20th July
<maloik> ah no I can't, it's the yearly "youth movement" (is that a term?) camping trip
<maloik> I go along to cook :D
<ljarvis> that sounds fun
<maloik> it's a blast
<maloik> gonna be tough this year though... last year we were 7-9 people depending on the day to cook for about 120
<maloik> this year we're losing 1 or 2 people and have to cook for 150, perhaps more
<ljarvis> wow
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> just buy 150 pizzas
<maloik> gets expensive real quickly :D
<yorickpeterse> 2,45 * 150
<yorickpeterse> only 367 Euros
<maloik> I love going out to shop... the store employees' faces are always funny
<maloik> "do you have any water left?" - *brings an extra pallet* - "yea... you're going to need one more ;)"
sandelius has quit [Read error: Connection reset by peer]
<maloik> oh you mean cheap frozen pizzas
<maloik> we're camping in a big field, we have an oven but that's not exactly suitable to prepare 150 pizzas in
<maloik> :D
<yorickpeterse> just heat it above the fire
<yorickpeterse> like they did back in ancient times
<maloik> :P
<ljarvis> what's funny is that good authentic italian pizza costs between 2 and 5 euros
<ljarvis> buying pizza back here in the uk is like 4 times that :(
<ljarvis> and it's shit
<maloik> here in ghent I know one place that you can get a pizzas with a bunch of toppings for like 5-7 euro, and it's some of the best I know
Bertg has joined #ruby-lang
jefus__ has joined #ruby-lang
<maloik> but pretty much any other place (from authentic places to kebab places that deliver pizza) will charge you like 10-18 euro
<ljarvis> yeah, the ingredients are so cheap
<ljarvis> dat markup
<maloik> btw, when you said you needed 2k lines of code for something simple
<maloik> were you using the whole Flux thing?
<ljarvis> I don't remember I didn't write it, but I don't think so
<maloik> hmm okay
<maloik> just read about that, it's basically putting together your own MVC framework it seems
<maloik> way overkill for our needs
jefus_ has quit [Ping timeout: 250 seconds]
<workmad3> maloik: well, flux and react are really aiming at the FRP paradigm, which is pretty different from MVC (one-way data flows and observable streams are very non-MVC)
kfpratt has joined #ruby-lang
ur5us has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> maloik: what problem are you trying to solve?
<yorickpeterse> I'd start with that, instead of "Is React suitable for things"
<maloik> what I meant to say in a technically incorrect way is that working with react that way basically requires you to have a fullblown frontend app
<maloik> yorickpeterse: some of our forms create objects which we want to use in another form right away... we currently have clunky ajax stuff going on, or use nested attributes
<yorickpeterse> Most JS frameworks require that you do everything their way, yes
<yorickpeterse> Which is why I hate most JS frameworks
riotjones has quit [Remote host closed the connection]
<maloik> I want to see if using a react component and actually using an api call to persist the new object, and then reload the "parent" form (also a react component) is a better flow
<yorickpeterse> There's very little for the case of "You already have an app and you just want some small dynamic bits"
<yorickpeterse> e.g. click a button here, text area pops up there
lytol has quit [Remote host closed the connection]
<yorickpeterse> No, it's instead "lol JS everything"
<ljarvis> its called jquery
<yorickpeterse> ljarvis: har har
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<maloik> well from what I've read so far, it feels like react could be used as something that's in between both solutions
<yorickpeterse> I hacked something together for an internal app where you basically bind an element to a function in JS
<maloik> and it might be what we're after
lytol has joined #ruby-lang
<yorickpeterse> Which is mainly used for doing exactly that: click a button, new form element pops up
<yorickpeterse> or some basic auto complete stuff
kfpratt has quit [Ping timeout: 252 seconds]
<yorickpeterse> I remember some JS framework (starting with a V) that I recall doing basically this
<yorickpeterse> but I can't remember the name :<
sandelius has joined #ruby-lang
<maloik> haven't read through it entirely yet, but this seems close to what we might want
<maloik> very simple usecase, allowing us to plug a tiny component into our existing rails app without having to implement some js framework or the entire flux flow if we dont want to
<yorickpeterse> I'd be vary wary of any of these bigger JS frameworks claming they're just "plug and play"
<yorickpeterse> instead of "plug and pray"
<yorickpeterse> or requiring you to adjust everything to the needs of the framework
<yorickpeterse> ugh, Coffeescript
<maloik> yea but that's the thing, reading through this post I think react might actually allow us to do that
<yorickpeterse> Well, it certainly seems to require a pile of boilerplate to do things browsers already do
ghostpl_ has joined #ruby-lang
<yorickpeterse> such as...submitting forms!
Bertg has joined #ruby-lang
<yorickpeterse> and that JSX crap is just....ugh
<yorickpeterse> Spend decades getting presentation code out of logic, and now we're putting it back in
<maloik> I don't have anything against it (right now)
* yorickpeterse shakes cane
<yorickpeterse> maloik: well, I'd ask whoever does frontend work at your place can deal with this
<yorickpeterse> since they'll probably be the ones going through the piles of code just to change a class
Forgetful_Lion has quit [Remote host closed the connection]
<maloik> there's 3 of us in the development team, we do it all
<yorickpeterse> at least separate files you can say "Oh it's in that file, it's just HTML"
<maloik> we don't have anyone doing just frontend sadly
<maloik> or design for that matter, which honestly sucks
<yorickpeterse> Really anybody that ever has to deal with it that's not a super turbo Ruby dev
<ljarvis> meh, having just a front-end developer is lol
* yorickpeterse has a guilty pleasure of being ok with frontend work from time to time
<yorickpeterse> mainly because I like ripping out JS and replacing it with slightly less crappy JS
<yorickpeterse> (can't live without jshint either)
<yorickpeterse> WARNING: TRAILING COMMA IN AN ARRAY FUCKS UP IE, FIX THAT
<yorickpeterse> ^ actually true
<yorickpeterse> [foo,] fucks up older versions of IE
<yorickpeterse> makes it thinks it's [foo, null]
<yorickpeterse> * think
<yorickpeterse> "But Yorick, what can this do?"
<yorickpeterse> > fuck up charts
<maloik> :D
<yorickpeterse> maloik: either way, I do like React's virtual DOM
<yorickpeterse> it saves having to mess with injecting elements all the time
<maloik> exactly
<apeiros> yorickpeterse: newer versions of IE no longer? hurray!
<yorickpeterse> But this just reminds me of Angular too much
<yorickpeterse> apeiros: no idea actually, I don't deal with IE nowadays
<yorickpeterse> I think we officially only support whatever we want to support
<yorickpeterse> and that changes depending on the customer's wallet
<yorickpeterse> (I think it's officially IE8 or something)
<apeiros> IE8 is also the heisenbug-IE wrt console.log
nedp has quit [Remote host closed the connection]
<apeiros> console is not defined in IE8, unless you open the dev tools, then it is defined.
<apeiros> cost me like 30min to figure…
<yorickpeterse> seriously?
<ljarvis> heh yeah
<apeiros> yes, seriously
postmodern has quit [Quit: Leaving]
<ljarvis> we got bit by that a while ago, we use coffeescript so we use console?.log everywhere
<yorickpeterse> wtf
<apeiros> since then I have a console = {log: function() {}} patch in my application.js
<apeiros> same for Date.now
<yorickpeterse> http://vuejs.org/ found it
<apeiros> actually I also patch console.dir, but that's just for funsies
<yorickpeterse> had to actually search HN for it, brrr
* apeiros off, lunch time
Miphix has joined #ruby-lang
<yorickpeterse> hmpf, seems Vue now all has these v-* attributes, blegh
<yorickpeterse> or that was already there and I forgot about it
<yorickpeterse> I guess data attributes are too cool
<yorickpeterse> err too mainstream
<ljarvis> i just add lee- attributes everywhere
<yorickpeterse> It's X- HTTP headers all over again
<yorickpeterse> X-Chunky-Bacon: wat
<ljarvis> curl -sI http://jarvo.io | grep X-
<yorickpeterse> nerd
<yorickpeterse> I just get boring Cloudfront headers for my own website
<ljarvis> im not cool enough to need cloudfront
ur5us has quit [Remote host closed the connection]
<yorickpeterse> neither am I, I'm just too lazy to run my own stuff
charliesome has quit [Quit: zzz]
<yorickpeterse> But yeah, JS frameworks have a while to go before they're suitable for those who don't want to instantly join the culy of "WRITE EVERYTHING IN JS"
<yorickpeterse> * cult
<yorickpeterse> damn it, I suck at typing today
<yorickpeterse> "today?"
pepperbreath1 has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
mberk has joined #ruby-lang
pepperbreath has joined #ruby-lang
SylarRuby has joined #ruby-lang
mberk has quit [Ping timeout: 265 seconds]
havenwood has quit [Remote host closed the connection]
hendranata_ has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
<maloik> :D
tkuchiki_ has quit [Ping timeout: 255 seconds]
ur5us has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
intinig has joined #ruby-lang
<yorickpeterse> Got an Email from some spammer telling me they're doing webdev/design and blablabla
<yorickpeterse> Lets see if asking them to design a website for my cat "Mr Mittens" gets them to bugger off
<canton7> paying on completion only, I hope? ;)
<yorickpeterse> Sent from an @gmail address, but apparently the company has over 150 "professional designers and developers"
<yorickpeterse> with over 8 years of experience
<canton7> .. with no desire to do any requirements capture...
<yorickpeterse> Hm, their domain name is available though
<yorickpeterse> maybe I should buy it, put a big "Fuck you" on it and send it to them
<yorickpeterse> "Do you want to buy your domain for 5000 Euros?"
fujimura has joined #ruby-lang
<yorickpeterse> now that I'm writing this reply I do hope the other person is human
<yorickpeterse> and doesn't hate spiders
fujimura has quit [Ping timeout: 265 seconds]
banister has joined #ruby-lang
riotjones has joined #ruby-lang
<yorickpeterse> (too lazy to share screenshots in here)
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
ghostpl_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 245 seconds]
ghostpl_ has joined #ruby-lang
symm- has joined #ruby-lang
bruno- has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
<workmad3> yorickpeterse: :D
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
auzty has joined #ruby-lang
Sirupsen has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
symm- has quit [Ping timeout: 252 seconds]
symm- has joined #ruby-lang
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
Bertg has joined #ruby-lang
auzty has quit [Quit: Leaving]
benlovell has joined #ruby-lang
gwendall has joined #ruby-lang
cornerma1 has joined #ruby-lang
cpt_yossarian has quit [Ping timeout: 250 seconds]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bertg has joined #ruby-lang
benlovell has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
benlovell has joined #ruby-lang
caseydriscoll has joined #ruby-lang
workmad3 is now known as wm3|away
jds has joined #ruby-lang
ldnunes has joined #ruby-lang
lektrik has quit [Quit: Leaving]
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlovell has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
O_o has joined #ruby-lang
O_o has left #ruby-lang [#ruby-lang]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
N___A has joined #ruby-lang
<N___A> Hi. Anyone up for helping me with a problem regarding routing? (Ruby 2.2 - Rails 4.2)
<maloik> N___A: your best bet is #rubyonrails and just asking instead of asking to ask :-)
<N___A> Thank you maloik
<N___A> I'll try there
Mellett68 has quit [Remote host closed the connection]
Mellett68 has joined #ruby-lang
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
intinig has quit [Read error: Connection reset by peer]
intinig has joined #ruby-lang
charliesome has quit [Quit: zzz]
Bertg_ has joined #ruby-lang
Bertg has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 252 seconds]
Sirupsen has joined #ruby-lang
fujimura has quit [Ping timeout: 252 seconds]
yatish27 has joined #ruby-lang
dzejrou has joined #ruby-lang
Sirupsen has quit [Client Quit]
SylarRuby has quit [Ping timeout: 248 seconds]
SylarRub_ has joined #ruby-lang
djbkd has joined #ruby-lang
benlovell has quit [Ping timeout: 255 seconds]
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
djbkd has quit [Ping timeout: 256 seconds]
sankaber has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
roamingdog has joined #ruby-lang
wm3|away is now known as workmad3
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros is now known as ruboto
ruboto is now known as apeiros
Sirupsen has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
michael_mbp has quit [Excess Flood]
davispuh has joined #ruby-lang
michael_mbp has joined #ruby-lang
skade has joined #ruby-lang
the_real_intinig has joined #ruby-lang
intinig has quit [Ping timeout: 250 seconds]
b_hoffman has joined #ruby-lang
setanta_ has joined #ruby-lang
gr33n7007h has quit [Quit: WeeChat 1.1.1]
Bertg_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caseydriscoll has quit [Remote host closed the connection]
aeze has joined #ruby-lang
Bertg has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
yatish27 has joined #ruby-lang
mcclurmc has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
gwendall has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
havenwood has joined #ruby-lang
bruno- is now known as Guest42038
marr has quit [Ping timeout: 244 seconds]
mcclurmc has quit [Remote host closed the connection]
amystephen has joined #ruby-lang
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
dorei has joined #ruby-lang
mcclurmc has joined #ruby-lang
TvL2386 has quit [Quit: Ex-Chat]
sgambino has joined #ruby-lang
chinmay_dd has joined #ruby-lang
<yorickpeterse> bah, I want to open sauce our maybe monad stuff
<yorickpeterse> but both "maybe" and "ruby-maybe" are already taken
<yorickpeterse> I guess I can always use maybe.rb
<tbuehlmann> mabbeh
<yorickpeterse> mababeh
<havenwood> maeby, les cousins dangereux
<yorickpeterse> haha
<maloik> wat?
<maloik> oh lol
<maloik> I was about to make an arrested development reference myself
<maloik> didn't catch this one
<maloik> it's been so long
jgpawletko has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
fujimura has joined #ruby-lang
whippythellama has joined #ruby-lang
fujimura has quit [Ping timeout: 265 seconds]
dagda1_ has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
agarie has joined #ruby-lang
<ljarvis> lol at the heroku pricing changes
x44x45x41x4E has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
<tbuehlmann> ljarvis, have a link?
mcclurmc has quit [Remote host closed the connection]
Guest42038 has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
stevechiagozie has joined #ruby-lang
ducklobster has joined #ruby-lang
ur5us has quit [Ping timeout: 246 seconds]
fusillicode has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby-lang
<ljarvis> tbuehlmann: ^
<tbuehlmann> thanks
fusillicode has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<yorickpeterse> maybe I'll get snarky comments about how this is really an Option type and not an actual Maybe monad
mcclurmc has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
<tbuehlmann> yorickpeterse, +15 internet points for removing the wiki link on the project
lytol has quit [Remote host closed the connection]
b_hoffman has quit [Quit: b_hoffman]
lytol has joined #ruby-lang
caseydriscoll has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
<darix> yorickpeterse: i would also disable issues and pull requests for the project ;)
yatish27 has joined #ruby-lang
<jhass> you can't disable pull requests
yatish27 has quit [Remote host closed the connection]
dorei has quit []
yatish27 has joined #ruby-lang
bruno- has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
<chris2> yes ._.
benlovell has quit [Quit: leaving]
cpt_yossarian has joined #ruby-lang
awea has joined #ruby-lang
<ljarvis> zomg i used refinements in a project
<awea> Hi there, I have to build an event log system for an app. For example I have to store each time an user do a specific action for a specific item. Any cool, consumable lib to do it ? Or I have to build my own stuff using a redis adapter ?
mcclurmc has quit [Remote host closed the connection]
<ljarvis> yardoc fills me with so much anger
SylarRub_ has quit [Remote host closed the connection]
<ljarvis> awea: I'd probably build it myself, seems quite simple. Maybe look into sidekiq if you need workers
vipaca has joined #ruby-lang
<vipaca> Is there a way to have a default value for destructured block arguments?
<awea> ljarvis: that's what I though, I have start to do some test with minuteman and btrack but nothing concluding.
<ljarvis> vipaca: destructured?
<ljarvis> what does that even mean
stef204 has joined #ruby-lang
momomomomo has joined #ruby-lang
<vipaca> I guess in c this is called comma, in functional its called destructuring. x,y = [1,2]
<yorickpeterse> tbuehlmann: eh?
<chris2> a*=0 would be nice for golfing, but a=[] has same length already :>
<yorickpeterse> We don't use them, so I disable it
<vipaca> [[1,2],[3,4]].each { |x,y| ...}
mcclurmc has joined #ruby-lang
<tbuehlmann> yorickpeterse, and that's good. I often see the wiki link leading to an empty wiki
<yorickpeterse> Ah
<vipaca> {a: [1, 2]}.each { |a, (b, c) | } <== destrictured value of hash key.
<ljarvis> vipaca: ah right, i didn't understand in the second of block arguments
<ljarvis> sense*
<ljarvis> >> proc { |a, b=1| [a, b] }.(2)
<eval-in_> ljarvis => [2, 1] (https://eval.in/307029)
<ljarvis> depends on your example exactly, though
universa1 is now known as universaL
<vipaca> yea I got that to work, but when I use parenthesis in destructure its no bueno
<vipaca> {a: [1, 2]}.each { |a, (b, c=1) | ... }
mcclurmc has quit [Remote host closed the connection]
<ljarvis> ah yeah that won't work
<vipaca> I just want to confirm that its not syntactically possible
|jemc| has joined #ruby-lang
<vipaca> to use parenthetical destructure with default value
<ljarvis> correct, it's not possible
<ljarvis> I guess you can just use ||= since c will be nil
<vipaca> ok, well my work around is to ||= on next line
<vipaca> heh
<vipaca> exactly
Iskarlar has joined #ruby-lang
<ljarvis> I'd do the same
<yorickpeterse> ljarvis: wait
<yorickpeterse> you used refinements?
<yorickpeterse> the fuck
<ljarvis> YES
<ljarvis> I refined the shit out of String
yatish27 has joined #ruby-lang
<yorickpeterse> I hope you can refine yourself out of that hell
<ljarvis> it was delicious
<ljarvis> i aint even mad
<yorickpeterse> not yet
<yorickpeterse> probably will be 6 months from now
<ljarvis> hey man future me is cool
<ljarvis> he aint even mad
<maloik> what are refinements again? theyre monkeypatches you need to include basically, right?
<yorickpeterse> Yes, local to the file they're imported into
<maloik> that doesn't even sound that bad does it?
<maloik> unless you have a 1000 line code and cant find where you defined it
<yorickpeterse> "Hm, why does this method exist here but not there. What the fuck"
<yorickpeterse> Although I mostly hate them for their implementation, the "process" behind it, and the non-issue it's trying to solve
<yorickpeterse> "oh no! People monkeypatch things! Better add refinements!"
<yorickpeterse> instead of "Stop monkeypatching global shit and then crying that it breaks things"
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mcclurmc has joined #ruby-lang
solars has quit [Ping timeout: 265 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<canton7> tbf, other languages have stuff similar to refinements. e.g. C#'s extension methods, objective-c's categories
roamingdog has quit [Remote host closed the connection]
leat has quit [Quit: leat]
stan has quit [Quit: Leaving]
<darix> canton7: c# might actually be inspired by ruby ;)
iamninja has quit [Read error: Connection reset by peer]
<canton7> it's possible :)
iamninja has joined #ruby-lang
roamingdog has joined #ruby-lang
<ljarvis> heh, they have to go into a module. So if the class has `using Foo` then you look in `Foo` for the refined class methods.. done
<ljarvis> it's not really difficult. I prefer this to having a private method on the class and calling it everywhere, which is the alternative I have right now
stan has joined #ruby-lang
chouhoulis has quit []
wicope has joined #ruby-lang
<maloik> length will be n+1 btw
<maloik> :D
<ljarvis> no
<ljarvis> :D
<ljarvis> read it again
<maloik> doh
<maloik> so much for being clever
chouhoulis has joined #ruby-lang
b_hoffman has joined #ruby-lang
jas02 has quit [Quit: jas02]
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
jas02 has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
riotjones has joined #ruby-lang
Miphix has quit [Quit: Leaving]
mcclurmc has joined #ruby-lang
jas02 has quit [Client Quit]
agarie has quit [Remote host closed the connection]
ghostpl_ has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 245 seconds]
ghostpl_ has joined #ruby-lang
rippa has joined #ruby-lang
fujimura has joined #ruby-lang
<yorickpeterse> ljarvis: that's like the worst case for refinements too
djbkd has joined #ruby-lang
<ljarvis> ...
chouhoulis has quit [Remote host closed the connection]
<yorickpeterse> SomeStringHelperThing.truncate(string) # look ma, no refinements
<ljarvis> it's like the newest ruby feature.. there are no cases
chouhoulis has joined #ruby-lang
<yorickpeterse> well yeah, that applies to various other features too
<ljarvis> ah yes lets add that 30 times in the same file
<yorickpeterse> well, using `x.truncate` would also appear 30 times in that case
<ljarvis> wait, we could provide a helper method to call it
<ljarvis> oh back to square 1
<ljarvis> yes, and it's a short method name
<yorickpeterse> SSHT.truncate(string)
<yorickpeterse> done
<ljarvis> how is that better than `truncate(string)`
<yorickpeterse> or zomg, include it into the class
* yorickpeterse is only partially being a troll here
<ljarvis> like 60%
* |jemc| went away for ~45 minutes and came back to find this refinements discussion still rolling - amusing
fujimura has quit [Ping timeout: 245 seconds]
<ljarvis> to be fair, it's been a pretty short discussion
mcclurmc has quit [Remote host closed the connection]
<yorickpeterse> it could've been shorter if we'd just include some refinements
bruno- has quit [Ping timeout: 256 seconds]
Volsus has joined #ruby-lang
djbkd has quit [Ping timeout: 250 seconds]
mcclurmc has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
roamingdog has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
<yorickpeterse> { ... } rescue { other_hash_values }
<yorickpeterse> (╯°□°)╯︵ ┻━┻
<yorickpeterse> time to put some Maybe up this bish
<yorickpeterse> ag 'rescue default_values' lib | wc -l
<yorickpeterse> 5
<yorickpeterse> :<
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nux443_ has quit [Quit: leaving]
whippythellama has quit [Quit: whippythellama]
whippythellama has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
whippythellama has quit [Client Quit]
momomomomo has joined #ruby-lang
whippythellama has joined #ruby-lang
stef204 has quit [Ping timeout: 256 seconds]
banister has quit [Read error: Connection reset by peer]
shinnya has joined #ruby-lang
banister has joined #ruby-lang
the_real_intinig is now known as intinig
deol has joined #ruby-lang
agarie has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
yatish27 has quit []
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sirupsen has joined #ruby-lang
micmus has joined #ruby-lang
marr has joined #ruby-lang
existensil has joined #ruby-lang
Miphix has joined #ruby-lang
lytol has quit [Remote host closed the connection]
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has joined #ruby-lang
the_real_intinig has joined #ruby-lang
intinig has quit [Ping timeout: 255 seconds]
symm- has quit [Ping timeout: 250 seconds]
gwendall has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
jefus__ is now known as jefus
iliketurtles has joined #ruby-lang
iamninja has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
SylarRuby has joined #ruby-lang
wallerdev has joined #ruby-lang
skade has quit [Ping timeout: 265 seconds]
tenderlove has quit [Quit: Leaving...]
caseydriscoll has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
arBmind has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
agarie_ has joined #ruby-lang
agarie has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 256 seconds]
fusillicode has joined #ruby-lang
chinmay_dd has joined #ruby-lang
centrx has joined #ruby-lang
wprice has joined #ruby-lang
wprice has quit [Client Quit]
Rayford has joined #ruby-lang
Iskarlar has joined #ruby-lang
sarkyniin has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
Volsus has quit [Ping timeout: 256 seconds]
dzejrou has quit [Read error: Connection reset by peer]
wprice has joined #ruby-lang
Rayford is now known as StephenOTT
piotrj has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
StephenOTT has quit [Client Quit]
StephenOTT has joined #ruby-lang
seank___ has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seank_ has quit [Ping timeout: 265 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fujimura has joined #ruby-lang
momomomomo has joined #ruby-lang
relix has joined #ruby-lang
nertzy has joined #ruby-lang
Iskarlar has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
fujimura has quit [Ping timeout: 244 seconds]
tockitj has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
gwendall has joined #ruby-lang
baweaver has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
tockitj has joined #ruby-lang
mberk has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
pothibo has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
djbkd has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
skade has joined #ruby-lang
stamina has joined #ruby-lang
sarkyniin has quit [Quit: Quit]
sarkyniin has joined #ruby-lang
kadoppe has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby-lang
stef204 has joined #ruby-lang
kadoppe has joined #ruby-lang
the_real_intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
caseydriscoll has joined #ruby-lang
lytol has quit [Remote host closed the connection]
chinmay_dd has quit [Quit: Leaving]
mcclurmc has joined #ruby-lang
mberk has quit [Remote host closed the connection]
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
mberk has joined #ruby-lang
mberk has quit [Remote host closed the connection]
sarahdashdashp has joined #ruby-lang
bruno- has joined #ruby-lang
dorei has joined #ruby-lang
apt-get_ has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
bruno- has quit [Ping timeout: 245 seconds]
centrx has quit [Remote host closed the connection]
lytol has joined #ruby-lang
lytol has quit [Remote host closed the connection]
lytol has joined #ruby-lang
sarkyniin has quit [Ping timeout: 264 seconds]
Bertg has joined #ruby-lang
dellavg_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 244 seconds]
intinig has quit [Ping timeout: 256 seconds]
Iskarlar has quit [Read error: Connection reset by peer]
shazaum has joined #ruby-lang
Iskarlar has joined #ruby-lang
micmus has quit [Ping timeout: 245 seconds]
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby-lang
piotrj has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
dzejrou has joined #ruby-lang
bruno- has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
caseydriscoll has quit [Remote host closed the connection]
pothibo has quit [Quit: pothibo]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chadwtaylor has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
centrx has joined #ruby-lang
intinig has joined #ruby-lang
iliketurtles has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby-lang
mberk has joined #ruby-lang
yfeldblum has joined #ruby-lang
hooker has joined #ruby-lang
StephenOTT has quit [Read error: No route to host]
iliketurtles has joined #ruby-lang
Bertg has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
StephenOTT has joined #ruby-lang
rbowlby has joined #ruby-lang
caseydriscoll has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
mberk has quit [Read error: Connection reset by peer]
StephenOTT has quit [Client Quit]
stef204 has joined #ruby-lang
Bertg has quit [Ping timeout: 256 seconds]
sarahdashdashp has quit [Quit: sarahdashdashp]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
Iskarlar_ has joined #ruby-lang
Iskarlar has quit [Ping timeout: 265 seconds]
bb010g has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
agarie_ has quit [Remote host closed the connection]
mberk has joined #ruby-lang
micmus has joined #ruby-lang
SylarRuby has quit [Remote host closed the connection]
awea has quit [Ping timeout: 265 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
dRbiG is now known as paind
momomomomo has quit [Quit: momomomomo]
fujimura has joined #ruby-lang
StephenOTT has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 244 seconds]
paind is now known as dRbiG
mberk has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby-lang
mberk has joined #ruby-lang
hahuang65 has joined #ruby-lang
agarie has joined #ruby-lang
apt-get__ has joined #ruby-lang
bantic has joined #ruby-lang
apt-get_ has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
bruno- has quit [Quit: Lost terminal]
mberk has quit [Read error: Connection reset by peer]
mberk has joined #ruby-lang
Volsus has joined #ruby-lang
stevechiagozie has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby-lang
roamingdog has joined #ruby-lang
Sirupsen has quit [Ping timeout: 250 seconds]
deol has joined #ruby-lang
baweaver has joined #ruby-lang
StephenOTT has quit [Quit: StephenOTT]
baweaver has quit [Remote host closed the connection]
deol has quit [Read error: Connection reset by peer]
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
Volsus has quit [Quit: Leaving]
mberk has quit [Read error: Connection reset by peer]
rgb-one has joined #ruby-lang
baweaver has joined #ruby-lang
Volsus has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
Missphoenix has joined #ruby-lang
<yorickpeterse> Hm, it takes 8 seconds to query 1934 XML nodes in 10 MB of XML using XPath
<yorickpeterse> looks like I have some work to do here
<yorickpeterse> clearly not webscale
<apeiros> oga?
<yorickpeterse> yes
<yorickpeterse> The xpath evaluator is, as was more or less by design, slow as a snail
<apeiros> you actually implemented xpath?
<yorickpeterse> Yeah, for a while now actually :P
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<apeiros> I'm impressed
<yorickpeterse> xpath 1.0 that is
<yorickpeterse> I'm not touching that monster of xpath 2.0
stef204 has joined #ruby-lang
caseydriscoll has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
Miphix has quit [Ping timeout: 250 seconds]
<darix> yorickpeterse: tbh xpath 2.0 support would be stellar
<darix> i had a nice fun case with xpath 1 recently
<yorickpeterse> I'd rather eat my cat than implement xpath 2.0
<darix> and you want to match checksum/@type
<darix> you would think
<darix> //checksum/@type
<darix> but no
<darix> you need
centrx has quit [Remote host closed the connection]
<darix> //*[ local-name() == "checksum" ]/@type
<darix> due to the default namespace
<yorickpeterse> euh yeah
<yorickpeterse> welcome to XML
<yorickpeterse> and XPath
<darix> xpath2:
<darix> //*:checksum/@type
x44x45x41x4E has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> oh, that should work too in Oga I believe
<yorickpeterse> lemme check
<yorickpeterse> Yeah, that works in Oga just fine
<yorickpeterse> gives back NodeSet(Attribute(name: "type" value: "sha256"), Attribute(name: "type" value: "sha256"), Attribute(name: "type" value: "sha256"))
<darix> so you could list "partial implementation of xpath 2.0"
<yorickpeterse> you can also use xmlns:checksum in Oga
<darix> with the features that actually work from it ;p
<yorickpeterse> That's unrelated to XPath actually
<yorickpeterse> well, xpath 2.0 that is
skade has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.1.1]
<yorickpeterse> heh, nokogiri treats that as an XPath syntax error
<darix> libxml does actually
<yorickpeterse> well yeah
<yorickpeterse> Not sure where I picked up the *:foo syntax again for xpath, I think that's just a happy little accident of the xpath lexer being quite permissive
<yorickpeterse> and the parser
<yorickpeterse> So yeah, no xpath 2.0 needed for that :P
skade has quit [Client Quit]
<darix> well
<darix> you can also argue that you started implementing xpath 2, so you could actually finish it.
<darix> just saying
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> Yeah, lets implement all the static typing bullshit it has
<yorickpeterse> and the support for conditionals and whatever it all added (don't remember the full list)
djbkd has joined #ruby-lang
<darix> yorickpeterse: are there releases for oga already?
martinbmadsen has joined #ruby-lang
<darix> looks like it
<darix> something to package after my shower
b_hoffman has joined #ruby-lang
SylarRuby has joined #ruby-lang
djbkd has quit [Ping timeout: 255 seconds]
<yorickpeterse> Eh yeah, there have been for a while
<yorickpeterse> latest is 0.2.3, upcoming one (in 2-3 weeks) will be 0.3
<yorickpeterse> I was going for April 1st, but it will take a bit longer
<yorickpeterse> on the other hand, the xpath performance isn't really blocking so I might as well just release 0.3 tomorrow
baweaver has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
djbkd has joined #ruby-lang
skade has joined #ruby-lang
aeze has quit [Quit: aeze]
yfeldblum has joined #ruby-lang
havenwood has quit []
ghostpl_ has quit [Ping timeout: 256 seconds]
baweaver has joined #ruby-lang
apeiros is now known as apeiros_
dellavg_ has quit [Ping timeout: 264 seconds]
jhass is now known as apeiros
apeiros is now known as jhass
apeiros_ is now known as apeiros
lytol has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
ur5us has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
havenwood has quit [Client Quit]
caseydriscoll has quit [Remote host closed the connection]
bgoliber has joined #ruby-lang
agarie has quit [Remote host closed the connection]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Voker57 has quit [Ping timeout: 256 seconds]
Voker57 has joined #ruby-lang
apeiros is now known as apeiros_
micmus has quit [Quit: Leaving]
momomomomo has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
apeiros_ is now known as apeiros
agarie has joined #ruby-lang
dagda1 has joined #ruby-lang
Respek has joined #ruby-lang
mattyohe has joined #ruby-lang
sp4rrow has quit [Quit: leaving]
ldnunes has quit [Quit: Leaving]
bgoliber has quit [Remote host closed the connection]
ascarter has joined #ruby-lang
dzejrou has quit [Quit: Leaving]
roamingdog has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
jefus_ has joined #ruby-lang
fujimura has quit [Ping timeout: 244 seconds]
apt-get__ has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
jefus has quit [Ping timeout: 246 seconds]
duderonomy has quit [Ping timeout: 256 seconds]
thebastl has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
shazaum has quit [Quit: This computer has gone to sleep]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
baweaver has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
sarahdashdashp has joined #ruby-lang
sp4rrow has joined #ruby-lang
N___A has quit [Quit: Leaving]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
mberk has joined #ruby-lang
martinbm1dsen has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby-lang
GBrawl has joined #ruby-lang
mberk has quit [Ping timeout: 244 seconds]
momomomomo has quit [Quit: momomomomo]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has joined #ruby-lang
yfeldblum has joined #ruby-lang
GBrawl has quit [Ping timeout: 252 seconds]
ArchRogem has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
lytol has quit [Ping timeout: 265 seconds]
Vivex has quit [Read error: Connection reset by peer]
iamninja has quit [Ping timeout: 264 seconds]
stevechiagozie has quit [Quit: Computer has gone to sleep.]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby-lang
mberk has joined #ruby-lang
Sirupsen has joined #ruby-lang
Respek has quit [Quit: gone to sleep. ZZZzzz…]
setanta_ has quit [Quit: Leaving]
intinig has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
mberk has quit [Ping timeout: 256 seconds]
intinig has joined #ruby-lang
Stichoza has joined #ruby-lang
<darix> yorickpeterse: [3] pry(main)> "#{Oga::VERSION} #{RUBY_VERSION}"
<darix> => "0.2.3 2.2.1"
iamninja has joined #ruby-lang
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
<darix> will be in devel:languages:ruby:extensions tomorrow
mberk has joined #ruby-lang
gix has quit [Ping timeout: 264 seconds]
intinig has quit [Ping timeout: 250 seconds]
agarie has quit [Remote host closed the connection]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
agarie has joined #ruby-lang
Volsus has quit [Quit: Leaving]
gix has joined #ruby-lang
chouhoul_ has joined #ruby-lang
mberk has quit [Read error: Connection reset by peer]
martinbm1dsen has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
mberk has joined #ruby-lang
SylarRuby has quit [Remote host closed the connection]
mcclurmc has quit [Remote host closed the connection]
sgambino has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
mcclurmc has joined #ruby-lang
mberk has quit [Read error: Connection reset by peer]
mcclurmc has quit [Remote host closed the connection]
rgb-one has quit [Ping timeout: 272 seconds]
rgb-one has joined #ruby-lang
mberk has joined #ruby-lang
kklemp has joined #ruby-lang
lytol has joined #ruby-lang
mcclurmc has joined #ruby-lang
<kklemp> Hello, all - question about best practices for naming client-side implementation demos in my Ruby (not Rails) app
<kklemp> I developed a mailing app that'll run on a server and handle forms submitted from a static website. One of our implementations is going to be Drupal. I've written a Drupal module to process the appropriate JS. I want to make a git submodule for this Drupal configuration, included in my ruby app. Plan was to put it in ~/public/ somewhere, but I don't want to have a million unnecessary subfolders. Is there a best practices for this?
<womble> Don't use unnecessary subfolders?
<kklemp> Well, that's the idea. But if I release the app, are people going to expect it to be in ~/public/demos/drupal? or ~/public/drupal? I don't have enough experience with Ruby app structures to know what standard usage is
<kklemp> This is my first Ruby app
b_hoffman has quit [Quit: b_hoffman]
whippythellama has quit [Quit: whippythellama]
agarie has quit []
hahuang61 has joined #ruby-lang
iliketur_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
kklemp has quit [Quit: Ex-Chat]
iliketurtles has quit [Ping timeout: 264 seconds]
caseydriscoll has quit [Remote host closed the connection]
mberk has quit [Read error: Connection reset by peer]
rgb-one has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
mberk has joined #ruby-lang
baweaver has joined #ruby-lang
michael_mbp has quit [Excess Flood]
riotjones has joined #ruby-lang
michael_mbp has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 244 seconds]
fujimura has joined #ruby-lang
hahuang61 has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby-lang
mberk has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
fujimura has quit [Ping timeout: 250 seconds]
mberk has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
mberk has quit [Read error: Connection reset by peer]
mberk has joined #ruby-lang
centrx has joined #ruby-lang
marr has quit []
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
djbkd has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has joined #ruby-lang
wicope has quit [Read error: Connection reset by peer]
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 245 seconds]
cornerma1 is now known as cornerman
djbkd has quit [Remote host closed the connection]