jhass changed the topic of #ruby to: Please register to talk, see /msg NickServ help || Rules & more: http://ruby-community.com || Ruby 2.2.3; 2.1.7; 2.0.0-p647: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Guest74293 has joined #ruby
minimuffins has quit [Ping timeout: 255 seconds]
iateadonut has joined #ruby
banjara1 has quit [Quit: Leaving.]
Ropeney has joined #ruby
Guest61 has joined #ruby
podman has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
symm- has quit [Quit: Leaving...]
Guest61 has quit [Client Quit]
ruby-lang913 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
lipoqil has joined #ruby
Musashi007 has joined #ruby
jesterfraud has joined #ruby
juanpaucar has quit [Remote host closed the connection]
dgutierrez1287 has quit [Remote host closed the connection]
ruby-lang913 has quit [Ping timeout: 246 seconds]
mary5030 has quit [Ping timeout: 246 seconds]
yqt has quit [Ping timeout: 255 seconds]
lipoqil has quit [Ping timeout: 246 seconds]
Musashi007 has quit [Client Quit]
<Ox0dea> Mon_Ouie: I saw a non-bot speak in there once.
solocshaw has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
Porfa has quit [Quit: Porfa]
charliesome has joined #ruby
dfockler has quit [Remote host closed the connection]
tuxero has quit [Ping timeout: 240 seconds]
ruby300 has joined #ruby
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voltalio has joined #ruby
<Radar> just once? :)
nux443 has joined #ruby
dorei has quit []
<baweaver> Matz tends to be more active on Twitter
marr has quit []
Limix has quit [Quit: Limix]
arooni-mobile has joined #ruby
jeadre has quit [Remote host closed the connection]
ecnalyr has joined #ruby
millerti has joined #ruby
ruby300 has quit [Ping timeout: 246 seconds]
minimuffins has joined #ruby
jeadre has joined #ruby
Rutix has quit []
coffeejunk has quit [Ping timeout: 244 seconds]
zendrix has quit [Ping timeout: 245 seconds]
ecnalyr has quit [Ping timeout: 240 seconds]
startupality has quit [Quit: startupality]
madhatter has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
madhatter has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
minimuffins has quit [Ping timeout: 255 seconds]
mleung has quit [Quit: mleung]
christiandsg has joined #ruby
pietr0 has quit [Ping timeout: 244 seconds]
ta has joined #ruby
hyy has joined #ruby
maletor has quit []
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan has joined #ruby
arescorpio has joined #ruby
baweaver has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
christiandsg has quit [Ping timeout: 265 seconds]
bayed has quit [Quit: Connection closed for inactivity]
ta has quit [Ping timeout: 246 seconds]
baweaver has joined #ruby
bricker has quit [Quit: leaving]
chouhoulis has quit [Remote host closed the connection]
ruby458 has joined #ruby
saddad has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
hashrocket has quit [Quit: Connection closed for inactivity]
Rinzlit1 has joined #ruby
silkfox has quit [Ping timeout: 256 seconds]
hyy has quit [Ping timeout: 246 seconds]
Swappticon has joined #ruby
s00pcan has quit [Ping timeout: 246 seconds]
ruby458 has quit [Ping timeout: 246 seconds]
Feyn has joined #ruby
craysiii has quit [Remote host closed the connection]
s00pcan has joined #ruby
Torrieri has joined #ruby
hyy has joined #ruby
craysiii has joined #ruby
Limix has joined #ruby
Musashi007 has quit [Quit: Musashi007]
millerti has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
coffeejunk has joined #ruby
minimuffins has joined #ruby
sevenseacat has joined #ruby
jeadre has quit [Remote host closed the connection]
Torrieri has quit [Ping timeout: 246 seconds]
siemprefresco has joined #ruby
hyy has quit [Ping timeout: 264 seconds]
jeadre has joined #ruby
Guest74293 has quit [Quit: This computer has gone to sleep]
northfurr has joined #ruby
minimuffins has quit [Ping timeout: 255 seconds]
rubie has joined #ruby
Mia has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
rbowlby has quit [Remote host closed the connection]
rubie has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 244 seconds]
devoldmx has quit [Ping timeout: 260 seconds]
Musashi007 has joined #ruby
tkuchiki has joined #ruby
iamninja has joined #ruby
segmond has quit [Ping timeout: 244 seconds]
jackjackdripper has joined #ruby
saddad has quit [Ping timeout: 250 seconds]
Swappticon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Axy has joined #ruby
Axy has joined #ruby
hyy has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
kidoz has quit [Quit: Ухожу я от вас]
tjbiddle has joined #ruby
jeadre has quit [Remote host closed the connection]
unreal has joined #ruby
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
jeadre has joined #ruby
unreal_ has quit [Ping timeout: 260 seconds]
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
opensource_ninja has quit [Quit: opensource_ninja]
baweaver has quit [Remote host closed the connection]
NeverDie has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
ngscheurich has quit [Ping timeout: 246 seconds]
blue_deref has quit [Quit: Taking myself out of hear.]
dopamean_ has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
Averna has joined #ruby
Averna has quit [Remote host closed the connection]
saddad has joined #ruby
Averna has joined #ruby
mjuszczak has quit []
AlexAltea has quit [Read error: Connection reset by peer]
tsvenson has quit [Read error: Connection reset by peer]
tsvenson has joined #ruby
ngscheurich has joined #ruby
FernandoBasso has quit [Quit: leaving]
towski_ has quit [Remote host closed the connection]
havenwood has joined #ruby
christiandsg has joined #ruby
ta has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
Motoservo has quit [Ping timeout: 264 seconds]
opensource_ninja has joined #ruby
minimuffins has joined #ruby
eightfold has quit [Quit: eightfold]
ta has quit [Ping timeout: 256 seconds]
christiandsg has quit [Ping timeout: 265 seconds]
northfurr has quit [Quit: northfurr]
ylg has joined #ruby
j_mcnally has joined #ruby
casadei has quit [Remote host closed the connection]
jenrzzz has joined #ruby
northfurr has joined #ruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
northfurr has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
Motoservo has joined #ruby
stardiviner has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
paulcsmith has joined #ruby
ReK2 has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 240 seconds]
dented42 has joined #ruby
lipoqil has joined #ruby
darwingr has quit [Quit: bye bye]
maletor has joined #ruby
nubrew has joined #ruby
bronson has quit [Remote host closed the connection]
A124 has quit [Remote host closed the connection]
petricore has quit [Quit: Textual IRC Client: www.textualapp.com]
nubrew has left #ruby [#ruby]
lipoqil has quit [Ping timeout: 264 seconds]
Torrieri has quit [Ping timeout: 250 seconds]
poli has joined #ruby
rushed has joined #ruby
xxx has quit [Ping timeout: 256 seconds]
A124 has joined #ruby
renderful has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
laurentide has joined #ruby
chouhoulis has joined #ruby
laurentide has quit [Remote host closed the connection]
rushed has quit [Client Quit]
laurentide has joined #ruby
dimasg has joined #ruby
chouhoulis has quit [Remote host closed the connection]
xxx has joined #ruby
renderful has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
linuxboytoo has quit [Remote host closed the connection]
nettoweb has joined #ruby
linuxboytoo has joined #ruby
bigredboots has joined #ruby
chingchongpingpo has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
chingchongpingpo has quit [Quit: Page closed]
nettoweb has quit [Client Quit]
minimuffins has left #ruby [#ruby]
Swappticon has joined #ruby
minimuffins has joined #ruby
slash_nick has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Remote host closed the connection]
mesoscared has joined #ruby
Axy has quit [Read error: Connection reset by peer]
araujo has quit [Read error: Connection timed out]
saddad has quit [Ping timeout: 256 seconds]
Yzguy has quit [Quit: Zzz...]
dc has joined #ruby
vyorkin has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
slash_nick has joined #ruby
jtdowney has quit [Ping timeout: 256 seconds]
dgutierrez1287 has joined #ruby
ericwood has quit [Ping timeout: 246 seconds]
robh71 has joined #ruby
Lucky__ has quit [Ping timeout: 240 seconds]
Guest61_ has joined #ruby
jtdowney has joined #ruby
jtdowney has joined #ruby
rushed has joined #ruby
dgutierrez1287 has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
lukaszk has quit [Ping timeout: 246 seconds]
Helheim has joined #ruby
ericwood has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
starship has quit [Ping timeout: 264 seconds]
Averna has quit [Quit: Ex-Chat]
allcentury has joined #ruby
sparr has quit [Ping timeout: 245 seconds]
larissa has quit [Ping timeout: 244 seconds]
cscheib has quit [Ping timeout: 246 seconds]
chrisarcand has quit [Ping timeout: 246 seconds]
duracrisis has joined #ruby
lukaszk has joined #ruby
duracrisis is now known as Guest158
bigredboots has quit [Remote host closed the connection]
Mendenhall has joined #ruby
mordocai has joined #ruby
dopamean_ has quit [Ping timeout: 244 seconds]
allcentury has quit [Ping timeout: 240 seconds]
ta has joined #ruby
christiandsg has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
larissa has joined #ruby
sparr has joined #ruby
ylg has quit []
Musashi007 has joined #ruby
cscheib has joined #ruby
chrisarcand has joined #ruby
pjaspers has quit [Ping timeout: 264 seconds]
mleung has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ianchentw has joined #ruby
ta has quit [Ping timeout: 250 seconds]
Rinzlit1 has quit [Ping timeout: 264 seconds]
<ianchentw> hi all
jackjackdripper has quit [Quit: Leaving.]
christiandsg has quit [Ping timeout: 265 seconds]
mesoscared has quit [Ping timeout: 246 seconds]
pjaspers has joined #ruby
tmtwd has joined #ruby
nux443 has quit [Ping timeout: 244 seconds]
wprice_zzz has quit [Quit: wprice_zzz]
nux443 has joined #ruby
r1cem0n has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rushed has quit [Quit: rushed]
araujo_ has joined #ruby
mshadle has joined #ruby
Guest61_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest61 has joined #ruby
_djbkd has quit [Remote host closed the connection]
<mshadle> can you "gem install bundler" but not on the system level? so not trying to write to /var/lib/ruby
tkuchiki has joined #ruby
<nofxx> mshadle, sure
ngscheurich has quit [Ping timeout: 245 seconds]
araujo has quit [Ping timeout: 255 seconds]
<mshadle> i know how to do bundle install --path, but not how to get gem install bundler to do it ;)
<nofxx> mshadle, 'user install'
<nofxx> --user-install
<mshadle> ah yes
<nofxx> mshadle, add on ~/.gemrc , so you don't need to use it everytime
dc has quit []
<nofxx> mshadle, that file would be: gem: --user-install
uxp has quit [Remote host closed the connection]
<mshadle> and looks like it goes to ~/.gem/ruby/2.1.0/bin/bundle ?
<nofxx> mshadle, yup... make sure to add that to your $PATH
nux443 has quit [Ping timeout: 244 seconds]
Vile` has quit [Ping timeout: 256 seconds]
jeadre has quit [Remote host closed the connection]
Vile` has joined #ruby
jeadre has joined #ruby
Torrieri has joined #ruby
bronson has joined #ruby
choke has joined #ruby
<mshadle> thanks :)
mshadle has left #ruby [#ruby]
_djbkd has joined #ruby
psy_ has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
braincrash has quit [Quit: bye bye]
bronson has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
graydot has quit [Quit: graydot]
robwri32_ has joined #ruby
<robwri32_> Good Evening
charliesome has joined #ruby
Torrieri has quit [Ping timeout: 244 seconds]
dented42 has quit [Quit: Textual IRC Client: www.textualapp.com]
arescorpio has quit [Quit: Leaving.]
_djbkd has quit [Client Quit]
nux443 has joined #ruby
Exuma has joined #ruby
tubuliferous_ has joined #ruby
<robwri32_> does some one have a second to guide me a google search for an issue i'm having?
devoldmx has quit [Ping timeout: 246 seconds]
mleung has quit [Quit: mleung]
Exuma has quit [Client Quit]
iamninja has joined #ruby
braincrash has joined #ruby
howdoi has joined #ruby
<nofxx> ?ask
<ruboto> Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
<robwri32_> word, just wasn't sure anyone was here
nux443 has quit [Ping timeout: 240 seconds]
<nofxx> robwri32_, that's imprecise... we often kill each other to whom will help you first. The last one usually commits hakiri.
pawnbox has joined #ruby
<robwri32_> ok so i'm pretty new, and say i'm working through a guide/book/tutorial there is a gem file its got the decencies and all listed in it. so about 90% of these i've tried i am constantly running into build/compile errors
robh71 has quit [Ping timeout: 260 seconds]
<robwri32_> should i be trying to match versions of rails/ruby to what i'm trying to work thru?
<shevy> you should address these build errors
<robwri32_> so i keep hitting these bundle install errors then i run bundlee update
iamninja has quit [Ping timeout: 246 seconds]
<robwri32_> so i eventually have to word through those errors updating version and name to current stuff in that gem file
<nofxx> robwri32_, you realize that's totally language agnostic. Imo you should go last version everywhere/everytime.
Musashi007 has joined #ruby
<robwri32_> last or latest
<shevy> if there is a ruby gem that is a binding to some C program, then it must be compiled, which will require the prior dependencies in particular the .h files to exist
mistermo_ has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 240 seconds]
<robwri32_> @nofxx i don't think i follow what your saying.
<robwri32_> could the code i'm following be affected by me chaning versions of gems
<shevy> sure
nerdoncall has joined #ruby
nux443 has joined #ruby
<shevy> but you know that this is a pretty meta discussion as long as you don't give specific names :)
pyon has quit [Quit: Stupid Emacs.]
saddad has joined #ruby
<nofxx> robwri32_, I saying that's not ruby specific. Also, do you know how the numbering works?
jeadre has quit [Remote host closed the connection]
<robwri32_> @shevy you talking to me
<nofxx> 0.0.1 -> 0.0.1 vs 1.0.0 -> 2.0.0 for instance robwri32_
pyon has joined #ruby
<robwri32_> @nofxx yes i do
<nofxx> robwri32_, you should not have any issues if the major version doesn't change
<nofxx> if it does change, I would search for a new tutorial, or just have the changelog side by side
<robwri32_> @nofxx can i show you the link i'm working thur and maybe you can figure out if this guy is off base?
jeadre has joined #ruby
_blizzy_ has quit [Ping timeout: 250 seconds]
<nofxx> sure
<robwri32_> so i got past the bundle installs the ps postgres was a booger.
jenrzzz has quit [Ping timeout: 260 seconds]
<robwri32_> but the rails generate rspec:install failed
<nofxx> it's pretty up to date, with rspec exception. Guess the guy doesn't like the 3 syntax
<robwri32_> and it seems like a common theme
<nofxx> you can load the old syntax and use 3, dunno if the author know (or if it works)
nux443 has quit [Remote host closed the connection]
<robwri32_> its only a year old too
r0x0rZ has joined #ruby
<robwri32_> so your saying jump up the rspec verison
<nofxx> robwri32_, you'll need to post some errors
<nofxx> robwri32_, that may require massive change in spec, but as you're learning I would say
<nofxx> rm -rf spec/*
<nofxx> do the app, have fun, search for tests later
<nofxx> use rspec 3 or minitest when you do
podman has quit [Quit: Connection closed for inactivity]
<nofxx> robwri32_, those are just tests, nothing that the app needs to run
universa1 has quit [Ping timeout: 246 seconds]
exadeci has quit [Ping timeout: 246 seconds]
alxndr has quit [Ping timeout: 246 seconds]
<robwri32_> got you some error messages
davedev2_ has quit [Read error: Connection reset by peer]
ggherdov has quit [Ping timeout: 246 seconds]
frode15243 has quit [Ping timeout: 246 seconds]
zipkid has quit [Ping timeout: 246 seconds]
PhilK has quit [Ping timeout: 246 seconds]
pizzaops has quit [Ping timeout: 246 seconds]
ArchRogem has quit [Ping timeout: 246 seconds]
bf4_ has quit [Ping timeout: 246 seconds]
waxjar has quit [Ping timeout: 246 seconds]
nerdoncall has quit []
nux443 has joined #ruby
Shidash has quit [Ping timeout: 244 seconds]
bttf has quit [Ping timeout: 246 seconds]
preyalone has quit [Ping timeout: 246 seconds]
robh71 has joined #ruby
davedev24 has joined #ruby
dmoe has quit [Ping timeout: 246 seconds]
dymk has quit [Ping timeout: 246 seconds]
larissa has quit [Ping timeout: 246 seconds]
craysiii has quit [Ping timeout: 246 seconds]
cschneid has quit [Ping timeout: 246 seconds]
nullwarp has quit [Ping timeout: 246 seconds]
mjmac has quit [Ping timeout: 246 seconds]
zipkid has joined #ruby
frode15243 has joined #ruby
jackjackdripper has joined #ruby
dmoe has joined #ruby
ArchRogem has joined #ruby
bttf has joined #ruby
hyy1 has quit [Ping timeout: 246 seconds]
rehat has quit [Ping timeout: 246 seconds]
sfr^ has quit [Ping timeout: 246 seconds]
pizzaops has joined #ruby
dan_839 has quit [Ping timeout: 246 seconds]
jimeh has quit [Ping timeout: 246 seconds]
G has quit [Ping timeout: 246 seconds]
<shevy> you can publish them here https://gist.github.com/ for instance
alxndr has joined #ruby
cball has quit [Ping timeout: 246 seconds]
BLuEGoD has quit [Ping timeout: 246 seconds]
drbrain has quit [Ping timeout: 246 seconds]
hostess has quit [Ping timeout: 246 seconds]
alem0lars has quit [Ping timeout: 246 seconds]
Klumben has quit [Ping timeout: 246 seconds]
CHVNX has quit [Ping timeout: 246 seconds]
r0x0rZ has quit [Ping timeout: 245 seconds]
pyon has quit [Quit: Damn you, Emacs.]
jordanm has quit [Ping timeout: 246 seconds]
G has joined #ruby
hostess has joined #ruby
jeadre has quit [Remote host closed the connection]
PhilK has joined #ruby
Lucky__ has joined #ruby
BLuEGoD has joined #ruby
mjmac has joined #ruby
pyon has joined #ruby
larissa has joined #ruby
bf4 has joined #ruby
cschneid has joined #ruby
bf4 is now known as Guest11091
drbrain has joined #ruby
mistermo_ has quit [Ping timeout: 246 seconds]
Shidash has joined #ruby
dymk has joined #ruby
universa1 has joined #ruby
sfr^ has joined #ruby
cball has joined #ruby
jeadre has joined #ruby
nullwarp has joined #ruby
waxjar has joined #ruby
exadeci has joined #ruby
yfeldblum has quit [Remote host closed the connection]
craysiii has joined #ruby
hyy1 has joined #ruby
CHVNX has joined #ruby
bigredboots has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dimasg has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
khebbie has joined #ruby
Guest61 has quit [Quit: Textual IRC Client: www.textualapp.com]
ggherdov has joined #ruby
amystephen has quit [Quit: amystephen]
<robwri32_> ok thnks guys i've got to turn in, try again in the morning
cndiv has joined #ruby
graydot has joined #ruby
preyalone has joined #ruby
robwri32_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimeh has joined #ruby
Musashi007 has quit [Quit: Musashi007]
r1cem0n has quit [Remote host closed the connection]
Klumben has joined #ruby
khebbie has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
Mendenhall has quit [Ping timeout: 246 seconds]
psy_ has joined #ruby
ta has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darkf has joined #ruby
arian0n has quit [Ping timeout: 256 seconds]
pawnbox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arian0n has joined #ruby
Lucky__ has quit [Ping timeout: 250 seconds]
graydot has quit [Quit: graydot]
Musashi007 has joined #ruby
ta has quit [Ping timeout: 246 seconds]
Eiam_ has joined #ruby
lipoqil has joined #ruby
mistermo_ has joined #ruby
graydot has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
Lucky__ has joined #ruby
stardiviner has quit [Ping timeout: 260 seconds]
hyy has quit [Ping timeout: 252 seconds]
nux443 has quit [Ping timeout: 255 seconds]
chipotle has quit [Quit: cheerio]
hyy has joined #ruby
nux443 has joined #ruby
cndiv has quit [Quit: Quit]
pawnbox has quit [Remote host closed the connection]
baweaver has joined #ruby
bigredboots has quit [Remote host closed the connection]
lipoqil has quit [Ping timeout: 256 seconds]
jhack32 has quit [Ping timeout: 250 seconds]
hyy has quit [Ping timeout: 252 seconds]
nux443 has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
arian0n has quit [Ping timeout: 256 seconds]
nux443 has joined #ruby
kies has quit [Ping timeout: 255 seconds]
mistermo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
arian0n has joined #ruby
<Eiam_> anyone have a light weight suggestion/example for a structure to hang some basic Sequel stuff off? just like creating your database, setting up the tables, creating your models, rake tasks for creation/migrations ? I found a couple gists that were from 2011 of rake tasks, but it looks like Sequel has added a lot of that support already.
mistermocha has joined #ruby
<Eiam_> I'm just using db/database.rb for initials connections, db/migrations/001_.rb for up/downs and /models/blah.rb for my actual models
pawnbox has joined #ruby
<baweaver> Might be worthwhile to read into how Rails does it.
sdwrage_ has quit [Quit: This computer has gone to sleep]
nux443 has quit [Ping timeout: 250 seconds]
<baweaver> really depends, why do you need 'lightweight'?
pen has joined #ruby
<Eiam_> rails brings in too much magic, i want to be able to easily follow whats going on or have someone else follow it without having to know rails magic
<Eiam_> (I'm using sinatra)
<Eiam_> so lightweight = simple to follow
<baweaver> the problem is that by foregoing rails you end up reinventing half of it.
<baweaver> you can just use ActiveRecord for Sinatra.
<baweaver> That being said, reading around on ORMs in that same domain
<baweaver> not sure is Sequel has that or not.
Musashi007 has quit [Quit: Musashi007]
<baweaver> DataMapper looks to do a lot of what you're interested in, but that's not Sequel so if you're bound there...
<Eiam_> datamapper is deaddd
<baweaver> noted.
jeadre has quit [Remote host closed the connection]
<Eiam_> (last i checked they were focused on their next release, a rewrite)
oo_ has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
<Eiam_> okay well, ill just go with what i've got then, figure out some rake tasks
Torrieri has joined #ruby
<baweaver> yeah, not finding anything relevant from a cursory glance.
nux443 has joined #ruby
jeadre has joined #ruby
tmtwd has quit [Ping timeout: 252 seconds]
jeadre has quit [Remote host closed the connection]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
graydot has quit [Quit: graydot]
jeadre has joined #ruby
oo_ has joined #ruby
nux443 has quit [Ping timeout: 256 seconds]
Torrieri has quit [Ping timeout: 240 seconds]
rehat has joined #ruby
rehat has quit [Remote host closed the connection]
rehat has joined #ruby
nux443 has joined #ruby
bigredboots has joined #ruby
Musashi007 has joined #ruby
casadei has joined #ruby
allcentury has joined #ruby
mistermocha has quit [Ping timeout: 272 seconds]
Musashi007 has quit [Client Quit]
auzty has joined #ruby
lemur has joined #ruby
rbowlby has joined #ruby
nux443 has quit [Ping timeout: 264 seconds]
hubcaps has quit [Quit: Leaving.]
hubcaps has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
lemur has quit [Ping timeout: 246 seconds]
dimasg has joined #ruby
Hobbyboy has quit [Quit: I think the BNC broke.]
jackjackdripper has quit [Quit: Leaving.]
valeri_ufo has quit [Quit: ...]
bronson has joined #ruby
haasn has quit [Quit: haasn]
casadei has quit [Remote host closed the connection]
Jewry has joined #ruby
graydot has joined #ruby
yfeldblum has joined #ruby
dimasg has quit [Ping timeout: 246 seconds]
Flipez has quit [Ping timeout: 250 seconds]
rbowlby has quit []
krz has joined #ruby
Gnomethrower has joined #ruby
Gnomethrower has quit [Changing host]
Gnomethrower has joined #ruby
Gnomethrower has quit [Max SendQ exceeded]
Gnomethrower has joined #ruby
Gnomethrower has quit [Changing host]
Gnomethrower has joined #ruby
haasn has joined #ruby
Hobbyboy has joined #ruby
bigredboots has quit [Remote host closed the connection]
christiandsg has joined #ruby
ta has joined #ruby
mary5030 has joined #ruby
laurentide_ has joined #ruby
poli has quit [Ping timeout: 260 seconds]
laurentide has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 256 seconds]
Rinzlit1 has joined #ruby
Jewry has quit [Quit: Page closed]
christiandsg has quit [Ping timeout: 265 seconds]
jackjackdripper has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
d2dchat has joined #ruby
mistermocha has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
davedev24 has quit [Ping timeout: 244 seconds]
rakm has joined #ruby
krz has quit [Quit: WeeChat 1.2]
khebbie has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 265 seconds]
robh71 has quit [Ping timeout: 260 seconds]
mary5030 has quit [Remote host closed the connection]
riotjones has joined #ruby
mary5030 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
mary5030_ has joined #ruby
devoldmx has joined #ruby
sdothum has quit [Ping timeout: 245 seconds]
hubcaps has quit [Quit: Leaving.]
opensource_ninja has quit [Quit: opensource_ninja]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjbiddle has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
opensource_ninja has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
codenapper has joined #ruby
opensource_ninja has quit [Client Quit]
tkuchiki has joined #ruby
jenrzzz has joined #ruby
robh71 has joined #ruby
Vile` has quit [Read error: Connection reset by peer]
khebbie has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
Vile` has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
tkuchiki has quit [Ping timeout: 256 seconds]
Torrieri has joined #ruby
r0x0rZ has joined #ruby
khebbie has joined #ruby
weemsledeux has joined #ruby
tkuchiki has joined #ruby
iamninja has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
tjbiddle has joined #ruby
r0x0rZ has quit [Ping timeout: 245 seconds]
iamninja has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
choke has joined #ruby
Torrieri has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
Mendenhall has joined #ruby
amclain has quit [Quit: Leaving]
r0x0rZ has joined #ruby
jeadre has quit [Remote host closed the connection]
<Eiam_> alright, think i got that all sorted out
dhjondoh has joined #ruby
polysics has joined #ruby
jeadre has joined #ruby
<baweaver> Eiam_: Oh?
polysics has quit [Client Quit]
charliesome has quit [Ping timeout: 244 seconds]
Limix has joined #ruby
<baweaver> Just curious
<Eiam_> i don't normally write any models as I typically inherit existing code bases.
amystephen has joined #ruby
<baweaver> Well aren't you a model citizen?
* baweaver bows head in shame for horrid pun
dgutierrez1287 has joined #ruby
<Eiam_> =)
ecnalyr has joined #ruby
UtkarshRay has joined #ruby
<baweaver> Glad you got it figured out
Limix has quit [Client Quit]
<baweaver> I'll have to poke Sequel later
amystephen has quit [Ping timeout: 265 seconds]
ecnalyr has quit [Ping timeout: 240 seconds]
dgutierrez1287 has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
charliesome has joined #ruby
nux443 has joined #ruby
blueOxigen has quit [Ping timeout: 246 seconds]
<Eiam_> well, going to write seed.rb now to try and seed all these tables next
JoshGlzBrk has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
casadei has joined #ruby
pawnbox has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
lipoqil has joined #ruby
khebbie has quit [Remote host closed the connection]
pawnbox has joined #ruby
hyy1 has quit [Ping timeout: 245 seconds]
Eiam_ has quit [Ping timeout: 260 seconds]
anandubajith has joined #ruby
keen___________6 has joined #ruby
jas02 has joined #ruby
casadei has quit [Ping timeout: 250 seconds]
lipoqil has quit [Ping timeout: 246 seconds]
keen___________5 has quit [Ping timeout: 264 seconds]
robh71 has quit [Ping timeout: 265 seconds]
tagrudev has joined #ruby
riotjones has joined #ruby
KnownSyntax has quit [Ping timeout: 244 seconds]
ta has joined #ruby
tjbiddle has joined #ruby
christiandsg has joined #ruby
devoldmx has quit [Remote host closed the connection]
astrobun_ has joined #ruby
khebbie has joined #ruby
iamninja has joined #ruby
ta has quit [Ping timeout: 252 seconds]
christiandsg has quit [Ping timeout: 265 seconds]
d2dchat has quit [Remote host closed the connection]
mary5030_ has quit [Remote host closed the connection]
RaeCarr has joined #ruby
mary5030 has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has joined #ruby
RaeCarr has left #ruby [#ruby]
catoblepa has joined #ruby
catoblepa has joined #ruby
nux443 has quit [Ping timeout: 244 seconds]
jbb has joined #ruby
ramfjord has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
ReK2 has joined #ruby
nux443 has joined #ruby
tubuliferous_ has quit [Read error: Connection reset by peer]
Swappticon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: ciao.]
rushed has joined #ruby
krz has joined #ruby
DoubleMalt has joined #ruby
mordocai has quit [Read error: Connection reset by peer]
leat1 has quit [Remote host closed the connection]
leat1 has joined #ruby
youngbaks has joined #ruby
bayed has joined #ruby
Torrieri has joined #ruby
AlexAltea has joined #ruby
benlovell has joined #ruby
formigarafa has quit [Remote host closed the connection]
Trump2016 has joined #ruby
tvw has joined #ruby
allcentury has joined #ruby
Macaveli has joined #ruby
youngbaks has quit [Ping timeout: 260 seconds]
Torrieri has quit [Ping timeout: 240 seconds]
catoblepa has quit [Ping timeout: 246 seconds]
rubie has joined #ruby
Macaveli has quit [Client Quit]
ramfjord has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 260 seconds]
Macaveli has joined #ruby
lipoqil has joined #ruby
acke has joined #ruby
eGGsha has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
astrobun_ has quit [Remote host closed the connection]
acke has quit [Remote host closed the connection]
astrobun_ has joined #ruby
acke has joined #ruby
khebbie has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 246 seconds]
benlovell has quit [Ping timeout: 250 seconds]
casadei has joined #ruby
mytrile has joined #ruby
timonv has joined #ruby
Trump2016 has quit [Remote host closed the connection]
acke_ has joined #ruby
casadei has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
jbb has quit [Quit: leaving]
acke has quit [Ping timeout: 250 seconds]
<mytrile> Hey guys, is there a way to use specific encoding with CSV::Row.new ?
<apeiros> mytrile: I doubt it
<apeiros> the strings which make the cells will have an encoding and when you write the row to an IO, the IO's encoding will determine whether and how that is translated
<mytrile> But chinese chars looks like garbage in excel, although in regular text editor everything is fine
<mytrile> apeiros: good point :)
<apeiros> excel does not understand csv
<apeiros> it claims so but it uses its own format and it's somewhat difficult to instruct it to use a specific encoding
andikr has joined #ruby
<apeiros> and the default encoding it uses depends on things I didn't fully figure
<mytrile> yep, unfortunately clients use it and "excel sucks" does not fix the problem
tomaz_b has joined #ruby
ta has joined #ruby
<apeiros> mytrile: indeed. good luck finding where the encoding setting for csv import is. or figuring which encoding your client uses (and hope they have the same on all machines)
<mytrile> thanks for your thoughts apeiros
solocshaw has joined #ruby
<apeiros> and good luck writing a manual for your client they actually understand :)
* apeiros been there, done that, it's not pleasant
<mytrile> :)
jesterfraud has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
Konstruktionist has joined #ruby
ta has quit [Ping timeout: 260 seconds]
jesterfraud has joined #ruby
xhosae has joined #ruby
Konstruktionist has quit [Client Quit]
eightfold has joined #ruby
acke_ has quit [Remote host closed the connection]
chatterb8 has joined #ruby
bgh13 has joined #ruby
acke has joined #ruby
mistermocha has joined #ruby
stan has joined #ruby
solars has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Remote host closed the connection]
stardiviner has joined #ruby
Macaveli has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
juanpaucar has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
_blizzy_ has joined #ruby
Macaveli has joined #ruby
jesterfraud has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nux443 has quit [Ping timeout: 240 seconds]
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
freezevee has joined #ruby
juanpauc_ has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
deryl has joined #ruby
_blizzy_ has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby
juanpaucar has joined #ruby
AlphaAtom has joined #ruby
juanpauc_ has quit [Read error: Connection reset by peer]
mytrile has quit [Ping timeout: 246 seconds]
deryl is now known as ddd
nux443 has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
_blizzy_ has joined #ruby
juanpauc_ has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
_blizzy_ has quit [Max SendQ exceeded]
ecnalyr has joined #ruby
juanpaucar has joined #ruby
nux443 has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
juanpauc_ has quit [Ping timeout: 265 seconds]
juanpauc_ has joined #ruby
ecnalyr has quit [Ping timeout: 256 seconds]
ndrei has joined #ruby
lipoqil has quit [Remote host closed the connection]
juanpaucar has quit [Ping timeout: 245 seconds]
eGGsha is now known as eGGshke
juanpaucar has joined #ruby
Ox0dea has quit [Ping timeout: 240 seconds]
Torrieri has joined #ruby
elepedus has joined #ruby
ddd has quit [Quit: leaving]
juanpaucar has quit [Read error: Connection reset by peer]
jeadre has quit [Remote host closed the connection]
juanpauc_ has quit [Ping timeout: 264 seconds]
juanpaucar has joined #ruby
bronson has quit [Remote host closed the connection]
eightfold has quit [Quit: eightfold]
jeadre has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
oo_ has quit [Remote host closed the connection]
eGGshke is now known as eGGsha
juanpauc_ has joined #ruby
nux443 has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
Torrieri has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
oo_ has joined #ruby
juanpaucar has joined #ruby
araujo_ has quit [Ping timeout: 260 seconds]
hmnhf has joined #ruby
juanpauc_ has quit [Ping timeout: 255 seconds]
juanpauc_ has joined #ruby
ta has joined #ruby
livathinos has joined #ruby
juanpaucar has quit [Ping timeout: 252 seconds]
juanpauc_ has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
casadei has joined #ruby
allcentury has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
chipotle has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
juanpauc_ has joined #ruby
m3ow1504_x_io has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
casadei has quit [Ping timeout: 264 seconds]
anandubajith has quit [Quit: Connection closed for inactivity]
m3ow1504_x_io has quit [Max SendQ exceeded]
juanpaucar has quit [Ping timeout: 244 seconds]
Iskarlar has joined #ruby
m3ow1504_x_io has joined #ruby
juanpaucar has joined #ruby
nux443 has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
nux443 has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
chipotle has joined #ruby
juanpauc_ has quit [Ping timeout: 250 seconds]
JaReAx has joined #ruby
juanpauc_ has joined #ruby
pabs has quit [Ping timeout: 255 seconds]
dumdedum has joined #ruby
pabs has joined #ruby
juanpaucar has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
juanpauc_ has quit [Read error: Connection reset by peer]
hmnhf has quit [Quit: Konversation terminated!]
christiandsg has joined #ruby
juanpaucar has joined #ruby
dionysus69 has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
ghr has joined #ruby
dgutierrez1287 has joined #ruby
aganov has joined #ruby
juanpauc_ has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
platzhirsch has joined #ruby
<adaedra> hello
<apeiros> moin
<adaedra> we're still in registered-only mode?
<sevenseacat> I wonder why that switch was flipped.
christiandsg has quit [Ping timeout: 265 seconds]
juanpauc_ has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
troulouliou_div2 has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
livathinos has quit [Ping timeout: 240 seconds]
dgutierrez1287 has quit [Ping timeout: 252 seconds]
sdfgsdfg has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
sdwrage_ has joined #ruby
platzhirsch has quit [Ping timeout: 250 seconds]
juanpauc_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
ruby-lang015 has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
terlar has joined #ruby
devoldmx has joined #ruby
juanpaucar has joined #ruby
juanpauc_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
elepedus has quit [Quit: elepedus]
sheperson has joined #ruby
senayar has joined #ruby
_joes__ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
krz has quit [Ping timeout: 246 seconds]
_joes__ has joined #ruby
jeadre has quit [Remote host closed the connection]
juanpauc_ has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
xnr has quit [Quit: <3]
<apeiros> sevenseacat: trolls came back
Mendenhall has quit [Ping timeout: 250 seconds]
vdamewood has joined #ruby
<apeiros> whoopsie, wrong flag
<sevenseacat> surprise surprise.
devoldmx has quit [Ping timeout: 240 seconds]
jeadre has joined #ruby
xnr has joined #ruby
juanpaucar has joined #ruby
juanpauc_ has quit [Read error: Connection reset by peer]
craysiii has quit [Quit: Leaving.]
charliesome has joined #ruby
k3asd` has joined #ruby
juanpauc_ has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
rdark has joined #ruby
jgt has joined #ruby
juanpaucar has joined #ruby
Pumukel has joined #ruby
michael_mbp has quit [Excess Flood]
krz has joined #ruby
bweston92 has quit [Quit: Leaving]
bweston92 has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpauc_ has quit [Ping timeout: 246 seconds]
joonty has joined #ruby
juanpaucar has joined #ruby
riffraff has joined #ruby
michael_mbp has joined #ruby
DEA7TH_ has joined #ruby
juanpauc_ has joined #ruby
sdwrage_ has quit [Quit: This computer has gone to sleep]
platzhirsch has joined #ruby
JaRe_Ax has joined #ruby
juanpaucar has quit [Ping timeout: 240 seconds]
juanpaucar has joined #ruby
saddad has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
lipoqil has joined #ruby
JaReAx has quit [Ping timeout: 260 seconds]
JaRe_Ax is now known as JaReAx
m3ow1504_x has joined #ruby
m3ow1504_x has quit [Remote host closed the connection]
juanpaucar has quit [Read error: Connection reset by peer]
bronson has joined #ruby
juanpaucar has joined #ruby
juanpauc_ has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 246 seconds]
khebbie has joined #ruby
Torrieri has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
lukebyrne has joined #ruby
fedexo has quit [Ping timeout: 246 seconds]
lipoqil has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
juanpaucar has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
allcentury has joined #ruby
pawnbox has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
juanpauc_ has joined #ruby
yfeldblum has joined #ruby
Pumukel has quit [Remote host closed the connection]
juanpaucar has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
juanpauc_ has quit [Read error: Connection reset by peer]
juanpaucar has joined #ruby
Torrieri has quit [Ping timeout: 265 seconds]
Hounddog has joined #ruby
k3asd` has quit [Ping timeout: 245 seconds]
juanpaucar has quit [Read error: Connection reset by peer]
juanpauc_ has joined #ruby
leafybasil has quit [Ping timeout: 240 seconds]
juanpaucar has joined #ruby
pglombardo has joined #ruby
<lukebyrne> Hello fellow rubyists
<lukebyrne> I have a tricky recursion question I was hoping to get some help with
juanpaucar has quit [Read error: Connection reset by peer]
juanpauc_ has quit [Ping timeout: 265 seconds]
juanpaucar has joined #ruby
DEA7TH_ has quit [Quit: DEA7TH_]
codenapper has quit [Quit: Textual IRC Client: www.textualapp.com]
codenapper has joined #ruby
codenapper has quit [Client Quit]
codenapper has joined #ruby
pglombardo has quit [Ping timeout: 246 seconds]
juanpauc_ has joined #ruby
supergeek has joined #ruby
juanpaucar has quit [Read error: Connection reset by peer]
laurentide__ has joined #ruby
juanpauc_ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
juanpaucar has joined #ruby
leafybasil has joined #ruby
_joes__ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
c0m0 has joined #ruby
_joes__ has joined #ruby
laurentide_ has quit [Ping timeout: 246 seconds]
juanpauc_ has joined #ruby
<atmosx> morning
juanpaucar has quit [Read error: Connection reset by peer]
<apeiros> moin
<yorickpeterse> morning
_joes__ has quit [Read error: Connection reset by peer]
terlar has quit [Quit: WeeChat 1.3]
astrobun_ has quit [Remote host closed the connection]
<apeiros> lukebyrne: if you search this tree often, I'd probably transform it into a form which is more suitable for searching
<lukebyrne> Its only going to once for a data import
<apeiros> lukebyrne: presumably for every when in the tree then, though?
astrobun_ has joined #ruby
<lukebyrne> apeiros: yes
<lukebyrne> aperios: what would u consider a better data format?
<apeiros> {wine => [region1, region2, …], …}
<apeiros> and you can achieve that by walking the tree and successively writing out the result
eGGsha is now known as eGGshke
juanpauc_ has quit [Ping timeout: 246 seconds]
<apeiros> you know how to walk a tree?
rubie has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krz has quit [Read error: Connection reset by peer]
<lukebyrne> yeh, so u reckon flatten in
joonty has quit [Read error: Connection reset by peer]
<lukebyrne> and have some duplication
_joes__ has joined #ruby
joonty has joined #ruby
joonty has quit [Client Quit]
terlar has joined #ruby
<atmosx> there's a JS workshop at this open-space I'm in, in Athens. There ratio is 3 females for every male in the audience, which I think is kinda strange. I didn't knew women were so much into programmers (these days).
yfeldblu_ has joined #ruby
Papabear has joined #ruby
bgh13 has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has joined #ruby
mistermocha has joined #ruby
<apeiros> lukebyrne: ah, can a wine grow in multiple regions?
chatterb8 has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
eGGshke is now known as eGGsha
<lukebyrne> apeiros: no it can not, apperently regions are very stricly defined, multiple regions can grow the same verietal such as an AUstralian or New Zealand Chardonay
startupality has joined #ruby
<zenspider> lukebyrne: would you like to improve at recursion in general?
<lukebyrne> zenspider: yes I would
<zenspider> pick up a copy of the little schemer and work through it at least once
<lukebyrne> I am just looking back at this solution which someone from this irc came up with
krz has joined #ruby
<lukebyrne> thinking I can use it to flatten the hash like apeiros suggested
arup_r has joined #ruby
codecop has quit [Ping timeout: 240 seconds]
Voker57 has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
ruby-lang015 has quit [Ping timeout: 246 seconds]
stardiviner has quit [Ping timeout: 255 seconds]
flughafen has joined #ruby
<flughafen> shevy: !
supergeek has quit [Remote host closed the connection]
donske has joined #ruby
einarj has joined #ruby
codecop has joined #ruby
krz has quit [Ping timeout: 260 seconds]
nux443 has quit [Ping timeout: 240 seconds]
Gnomethrower is now known as uphoria
nux443 has joined #ruby
bruno- has joined #ruby
marr has joined #ruby
astrobun_ has quit [Remote host closed the connection]
valeri_ufo has joined #ruby
<gregf__> lukebyrne: thats only 3 levels so not sure why you would need recursion :/. can you not do it with a loop?
charliesome has joined #ruby
yashinbasement has joined #ruby
<lukebyrne> gregf__: it can go n + levels deep
<gregf__> lukebyrne: ah - ok
<apeiros> gregf__: a non-recursive solution would probably even be more complex anyway
nux443 has quit [Ping timeout: 265 seconds]
gizmore has joined #ruby
pawnbox has quit [Remote host closed the connection]
<apeiros> not quite sure how that partition_regions method is supposed to be used, though
donske has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
krz has joined #ruby
<lukebyrne> apeiros: its used to convert a json tree so that I can used the jquery chainable library
<apeiros> I see
joonty has joined #ruby
<apeiros> well, those are specifics you didn't mention
edwardly has quit [Max SendQ exceeded]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
chouhoul_ has quit [Remote host closed the connection]
<lukebyrne> apeiros: sorry the partition_regions is only there as an example
<lukebyrne> I am just trying to either flatten this hash to an array like you suggested or search it like in the gist
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> my suggestion is actually to invert it, and still have a hash. just with wine being key and region-stack being the value ;-)
jas02 has quit [Quit: jas02]
benlovell has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
Macaveli_ has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
sdfgsdfg has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
arup_r has quit [Remote host closed the connection]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
<lukebyrne> Can you just invert hashes like that?
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
Torrieri has joined #ruby
Torrieri has joined #ruby
suchness has joined #ruby
benlovell has joined #ruby
UtkarshRay has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
jas02 has joined #ruby
<apeiros> lukebyrne: I tried it. was 12 lines of non-clever code for me.
devoldmx has joined #ruby
<lukebyrne> apeiros: did it work?
<apeiros> yes. maybe I should have said "did" instead of "tried" :)
codecop has quit [Remote host closed the connection]
<lukebyrne> could u paste it in the gist?
nfk has joined #ruby
<apeiros> I can help you come up with your own solution
<lukebyrne> ok, how?
tkuchiki has quit [Remote host closed the connection]
<apeiros> start without recursion. only care about the first level. you for testing, you should add a wine on the top level (directly under australia).
<apeiros> write code which iterates only that top level, finds all wines and adds it to a result hash.
tkuchiki has joined #ruby
<apeiros> can you do that?
<lukebyrne> yeh
blackmesa has joined #ruby
nux443 has joined #ruby
Torrieri has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
misalias is now known as prosodyContexte
<apeiros> lukebyrne: ok. do that and gist it when you're done. we'll get you there step by step ;-)
JaReAx has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC]
<lukebyrne> what do you mean by ‘you for testing, you should add a wine on the top level (directly under australia)’
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
prosodyContexte is now known as prosodyContext
prosodyContext is now known as misalias
<apeiros> that "you" at the beginning is superfluous
<shevy> australia got wine?
misalias is now known as mistake
<sevenseacat> lots of it
khebbie has quit [Remote host closed the connection]
oo_ has joined #ruby
[k- has joined #ruby
charliesome has joined #ruby
mistake is now known as misaim
<apeiros> like this: '{"australia":["some", "wines"]}'
anisha has joined #ruby
<adaedra> shevy: kangaroo-flavored wine
<adaedra> :p
misaim is now known as misewmn
<sevenseacat> {australia: ["brown brothers"]} all you need.
blackmesa has quit [Ping timeout: 272 seconds]
chipotle has quit [Quit: cheerio]
<adaedra> Wrong: All you need is love.
<[k-> are koalas bears
<sevenseacat> oh is that what I'm doing wrong
<apeiros> you've got a wine named "brown brothers"? o0
<sevenseacat> yep.
<apeiros> lukebyrne: use `p` or `y`, not puts
Valeness has quit [Ping timeout: 240 seconds]
charliesome has quit [Client Quit]
<adaedra> what's `y`
<apeiros> yaml
<[k-> we have a y?
charliesome has joined #ruby
<adaedra> oooh.
<apeiros> ah, right, but needs "require 'yaml'", of course
charliesome has quit [Client Quit]
yashinbasement has quit [Quit: Leaving]
misewmn is now known as miswear
<apeiros> lukebyrne: use '{"australia":["some", "wines"]}' as json. your result now contains "australia" as key instead of the wine. we want the keys "some" and "wines" in the result
Valeness has joined #ruby
miswear is now known as miswism
<apeiros> lukebyrne: I've got to go for lunch. I'll be back in ~30min
<adaedra> bonap
<sevenseacat> bonan apetiton!
<lukebyrne> apeiros, its 6pm my time here, i have to head out as well, can I email u to see if youa re free antoher time to continue?
<apeiros> lukebyrne: I'm almost always here
<lukebyrne> ok, will log back in
* [k- notes down apeiros's lunchtime
<apeiros> sometimes it might take a while until I respond, though
livathinos has joined #ruby
* sevenseacat notes down that lukebyrne is in the same timezone as me
* apeiros senses [k- is up for mischief!
<lukebyrne> sevenseacat: perth
<lukebyrne> ?
<sevenseacat> lukebyrne: aye.
Asher has quit [Quit: Leaving.]
<lukebyrne> u go to rails meetup?
pawnbox has quit [Remote host closed the connection]
<sevenseacat> aye. have we met? :)
Asher has joined #ruby
<apeiros> heh, small world…
<lukebyrne> sevenseacat: i have only been to one, possibly we have met
charliesome has joined #ruby
elepedus has joined #ruby
<sevenseacat> cool :) come along to the next one!
arup_r has joined #ruby
christiandsg has joined #ruby
<[k-> you guys need to identify yourselves to each other
jas02 has quit [Quit: jas02]
<sevenseacat> actually i may not be able to make it to the next one, i may be off on a work trip
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> /msg lukebyrne IDENTIFY sevenseacat
DEA7TH_ has joined #ruby
lukebyrne has quit [Ping timeout: 246 seconds]
<sevenseacat> we'll see.
hyy has joined #ruby
skade has joined #ruby
joonty has quit [Read error: Connection reset by peer]
khebbie has joined #ruby
joonty has joined #ruby
christiandsg has quit [Ping timeout: 265 seconds]
nux443 has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
skade has quit [Ping timeout: 240 seconds]
m3ow1504_x_io has quit [Read error: No route to host]
m3ow1504_x_io has joined #ruby
eGGsha is now known as eGGshke
eGGshke is now known as eGGsha
mistermocha has joined #ruby
eGGsha is now known as eGGshke
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jas02 has joined #ruby
skade has joined #ruby
urd7 has joined #ruby
jgt has quit [Ping timeout: 256 seconds]
jgt has joined #ruby
Iskarlar has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
mytrile has joined #ruby
hyy has quit [Ping timeout: 245 seconds]
lipoqil has joined #ruby
hyy has joined #ruby
skade has quit [Ping timeout: 250 seconds]
Macaveli_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby
lipoqil has quit [Ping timeout: 250 seconds]
elepedus has quit [Quit: elepedus]
Macaveli has joined #ruby
brotspinne has joined #ruby
eGGshke is now known as eGGsha
dgutierrez1287 has joined #ruby
whatever has joined #ruby
Rickmasta has joined #ruby
whatever is now known as Guest95134
Guest95134 has quit [Client Quit]
dgutierrez1287 has quit [Ping timeout: 245 seconds]
<bankair> Hi folks
<bankair> I just went throught a derp-moment, and wondered if someone could explain it to me
<bankair> irb(main):017:0> array = [:x]
<bankair> => [:x]
<bankair> irb(main):018:0> hash = { array => :alice }
<bankair> => {[:x]=>:alice}
hyy has quit [Ping timeout: 264 seconds]
<bankair> irb(main):019:0> array << :y
<bankair> => [:x, :y]
<bankair> irb(main):020:0> hash[hash.keys.first]
ngw has joined #ruby
<bankair> => nil
<bankair> irb(main):021:0> hash
<bankair> => {[:x, :y]=>:alice}
<bankair> irb(main):022:0>
<bankair> how can hash[hash.keys.first] return nil ? :)
oo_ has quit [Remote host closed the connection]
Rickmasta has quit [Ping timeout: 265 seconds]
<bankair> (ruby 2.0.0)
<jhass> bankair: hash.rehash. The array was changed and so did its .hash
<jhass> or maybe avoid using arrays as hash keys ;)
abbe has quit [*.net *.split]
ytti has quit [*.net *.split]
DEA7TH_ has quit [*.net *.split]
solocshaw has quit [*.net *.split]
krz has quit [*.net *.split]
gizmore has quit [*.net *.split]
yfeldblu_ has quit [*.net *.split]
jeadre has quit [*.net *.split]
Pupeno has quit [*.net *.split]
rushed has quit [*.net *.split]
rehat has quit [*.net *.split]
iamninja has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Klumben has quit [*.net *.split]
CHVNX has quit [*.net *.split]
nullwarp has quit [*.net *.split]
larissa has quit [*.net *.split]
mjmac has quit [*.net *.split]
cschneid has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
hostess has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
Guest74353 has quit [*.net *.split]
hanmac has quit [*.net *.split]
trampi has quit [*.net *.split]
rfmind_ has quit [*.net *.split]
surs has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
Seich has quit [*.net *.split]
crdpink has quit [*.net *.split]
QKO has quit [*.net *.split]
lupine has quit [*.net *.split]
terrellt has quit [*.net *.split]
duoi has quit [*.net *.split]
bffff_ has quit [*.net *.split]
blackjid has quit [*.net *.split]
j416 has quit [*.net *.split]
cats has quit [*.net *.split]
unsymbol has quit [*.net *.split]
harryk has quit [*.net *.split]
Liam` has quit [*.net *.split]
tubulife| has quit [*.net *.split]
jalljo has quit [*.net *.split]
iooner has quit [*.net *.split]
znz_jp has quit [*.net *.split]
skarn has quit [*.net *.split]
Dwarf has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
epochwolf has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
teotwaki has quit [*.net *.split]
asi_ has quit [*.net *.split]
Zarthus has quit [*.net *.split]
elton has quit [*.net *.split]
colstrom has quit [*.net *.split]
verdoc has quit [*.net *.split]
ZeeNoodleyGamer has quit [*.net *.split]
joast has quit [*.net *.split]
v0n has quit [*.net *.split]
segy has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
jzigmund has quit [*.net *.split]
Schmidt has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
gf3 has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
lotherk has quit [*.net *.split]
zenspider has quit [*.net *.split]
demophoon has quit [*.net *.split]
skakri has quit [*.net *.split]
devn has quit [*.net *.split]
hal_9000 has quit [*.net *.split]
neurotech has quit [*.net *.split]
musl has quit [*.net *.split]
nitrix has quit [*.net *.split]
eregon has quit [*.net *.split]
julie_harshaw has quit [*.net *.split]
jidar has quit [*.net *.split]
exceion has quit [*.net *.split]
skade has quit [*.net *.split]
jgt has quit [*.net *.split]
Valeness has quit [*.net *.split]
laurentide__ has quit [*.net *.split]
stan has quit [*.net *.split]
riotjones has quit [*.net *.split]
arian0n has quit [*.net *.split]
darkf has quit [*.net *.split]
jimeh has quit [*.net *.split]
exadeci has quit [*.net *.split]
waxjar has quit [*.net *.split]
cball has quit [*.net *.split]
universa1 has quit [*.net *.split]
sfr^ has quit [*.net *.split]
Shidash has quit [*.net *.split]
dymk has quit [*.net *.split]
drbrain has quit [*.net *.split]
Guest11091 has quit [*.net *.split]
braincrash has quit [*.net *.split]
lukaszk has quit [*.net *.split]
busterarm has quit [*.net *.split]
jamesaxl|2 has quit [*.net *.split]
varesa has quit [*.net *.split]
armyriad has quit [*.net *.split]
CpuID has quit [*.net *.split]
mblagden has quit [*.net *.split]
tno has quit [*.net *.split]
PlasmaStar has quit [*.net *.split]
SenpaiSilver has quit [*.net *.split]
george2 has quit [*.net *.split]
catbusters has quit [*.net *.split]
jtirila has quit [*.net *.split]
gregf has quit [*.net *.split]
`derpy has quit [*.net *.split]
weaksauce has quit [*.net *.split]
LBRapid has quit [*.net *.split]
Nightmare has quit [*.net *.split]
axisys has quit [*.net *.split]
aspiers has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
chridal has quit [*.net *.split]
Raboo has quit [*.net *.split]
_axx has quit [*.net *.split]
chuy has quit [*.net *.split]
ironcamel has quit [*.net *.split]
Kero has quit [*.net *.split]
Platini has quit [*.net *.split]
cescalante has quit [*.net *.split]
corpsicle has quit [*.net *.split]
gavit has quit [*.net *.split]
Nowaker has quit [*.net *.split]
jsrn has quit [*.net *.split]
marienz has quit [*.net *.split]
snapcase has quit [*.net *.split]
joeyjones has quit [*.net *.split]
cout has quit [*.net *.split]
aep has quit [*.net *.split]
z3uS has quit [*.net *.split]
<bankair> thanks jhass !
oo_ has joined #ruby
ybian has quit [Quit: Leaving]
<adaedra> dat netsplit
abbe has joined #ruby
ytti has joined #ruby
jgt has joined #ruby
Valeness has joined #ruby
laurentide__ has joined #ruby
stan has joined #ruby
riotjones has joined #ruby
waxjar has joined #ruby
darkf has joined #ruby
cball has joined #ruby
jimeh has joined #ruby
arian0n has joined #ruby
exadeci has joined #ruby
Shidash has joined #ruby
sfr^ has joined #ruby
universa1 has joined #ruby
dymk has joined #ruby
drbrain has joined #ruby
Guest11091 has joined #ruby
braincrash has joined #ruby
lukaszk has joined #ruby
busterarm has joined #ruby
CpuID has joined #ruby
varesa has joined #ruby
PlasmaStar has joined #ruby
jamesaxl|2 has joined #ruby
catbusters has joined #ruby
gregf has joined #ruby
SenpaiSilver has joined #ruby
jtirila has joined #ruby
mblagden has joined #ruby
tno has joined #ruby
armyriad has joined #ruby
george2 has joined #ruby
`derpy has joined #ruby
weaksauce has joined #ruby
LBRapid has joined #ruby
Nightmare has joined #ruby
axisys has joined #ruby
aspiers has joined #ruby
_axx has joined #ruby
tobiasvl has joined #ruby
chridal has joined #ruby
Raboo has joined #ruby
gavit has joined #ruby
chuy has joined #ruby
ironcamel has joined #ruby
Kero has joined #ruby
Platini has joined #ruby
cescalante has joined #ruby
corpsicle has joined #ruby
Nowaker has joined #ruby
jsrn has joined #ruby
marienz has joined #ruby
snapcase has joined #ruby
joeyjones has joined #ruby
cout has joined #ruby
aep has joined #ruby
z3uS has joined #ruby
<adaedra> welcome back
16WAANP8U has joined #ruby
solocshaw has joined #ruby
krz has joined #ruby
gizmore has joined #ruby
yfeldblu_ has joined #ruby
jeadre has joined #ruby
Pupeno has joined #ruby
rushed has joined #ruby
iamninja has joined #ruby
rehat has joined #ruby
hostess has joined #ruby
sevenseacat has joined #ruby
lupine has joined #ruby
chrisarcand has joined #ruby
alem0lars has joined #ruby
bffff_ has joined #ruby
larissa has joined #ruby
CHVNX has joined #ruby
surs has joined #ruby
unsymbol has joined #ruby
rfmind_ has joined #ruby
Liam` has joined #ruby
jaxxstorm has joined #ruby
Schmidt has joined #ruby
NightMonkey has joined #ruby
jidar has joined #ruby
DarkBushido has joined #ruby
eregon has joined #ruby
gsingh93 has joined #ruby
nitrix has joined #ruby
demophoon has joined #ruby
exceion has joined #ruby
joast has joined #ruby
blackjid has joined #ruby
zenspider has joined #ruby
v0n has joined #ruby
Guest74353 has joined #ruby
skakri has joined #ruby
teotwaki has joined #ruby
elton has joined #ruby
Klumben has joined #ruby
cats has joined #ruby
epochwolf has joined #ruby
lotherk has joined #ruby
BLuEGoD has joined #ruby
verdoc has joined #ruby
asi_ has joined #ruby
mjmac has joined #ruby
crdpink has joined #ruby
hanmac has joined #ruby
julie_harshaw has joined #ruby
Seich has joined #ruby
wookiehangover has joined #ruby
segy has joined #ruby
devn has joined #ruby
gf3 has joined #ruby
harryk has joined #ruby
nullwarp has joined #ruby
jzigmund has joined #ruby
Zarthus has joined #ruby
j416 has joined #ruby
skarn has joined #ruby
musl has joined #ruby
terrellt has joined #ruby
cschneid has joined #ruby
znz_jp has joined #ruby
johnhamelink has joined #ruby
duoi has joined #ruby
hal_9000 has joined #ruby
jamo_ has joined #ruby
Papierkorb has joined #ruby
tubulife| has joined #ruby
jalljo has joined #ruby
colstrom has joined #ruby
QKO has joined #ruby
Dwarf has joined #ruby
ZeeNoodleyGamer has joined #ruby
iooner has joined #ruby
trampi has joined #ruby
<bankair> jhass: I suppose that in the process of memoizing something, you'd rather use hashes in keys instead of references ?
braincrash has quit [Max SendQ exceeded]
<bankair> (is comparing hashes a valid way of assuming equality ?)
SenpaiSilver has quit [Max SendQ exceeded]
laurentide__ has quit [Max SendQ exceeded]
armyriad has quit [Max SendQ exceeded]
PlasmaStar has quit [Max SendQ exceeded]
varesa has quit [Max SendQ exceeded]
16WAANP8U has quit [*.net *.split]
solocshaw has quit [*.net *.split]
krz has quit [*.net *.split]
gizmore has quit [*.net *.split]
yfeldblu_ has quit [*.net *.split]
jeadre has quit [*.net *.split]
Pupeno has quit [*.net *.split]
iamninja has quit [*.net *.split]
rushed has quit [*.net *.split]
rehat has quit [*.net *.split]
alem0lars has quit [*.net *.split]
Klumben has quit [*.net *.split]
CHVNX has quit [*.net *.split]
nullwarp has quit [*.net *.split]
larissa has quit [*.net *.split]
mjmac has quit [*.net *.split]
cschneid has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
hostess has quit [*.net *.split]
chrisarcand has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
Guest74353 has quit [*.net *.split]
hanmac has quit [*.net *.split]
trampi has quit [*.net *.split]
rfmind_ has quit [*.net *.split]
surs has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
Seich has quit [*.net *.split]
crdpink has quit [*.net *.split]
QKO has quit [*.net *.split]
lupine has quit [*.net *.split]
terrellt has quit [*.net *.split]
duoi has quit [*.net *.split]
bffff_ has quit [*.net *.split]
blackjid has quit [*.net *.split]
j416 has quit [*.net *.split]
cats has quit [*.net *.split]
unsymbol has quit [*.net *.split]
harryk has quit [*.net *.split]
Liam` has quit [*.net *.split]
tubulife| has quit [*.net *.split]
jalljo has quit [*.net *.split]
znz_jp has quit [*.net *.split]
skarn has quit [*.net *.split]
iooner has quit [*.net *.split]
Dwarf has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
epochwolf has quit [*.net *.split]
teotwaki has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
asi_ has quit [*.net *.split]
Zarthus has quit [*.net *.split]
elton has quit [*.net *.split]
colstrom has quit [*.net *.split]
verdoc has quit [*.net *.split]
ZeeNoodleyGamer has quit [*.net *.split]
joast has quit [*.net *.split]
v0n has quit [*.net *.split]
segy has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
jzigmund has quit [*.net *.split]
Schmidt has quit [*.net *.split]
jamo_ has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
gf3 has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
lotherk has quit [*.net *.split]
zenspider has quit [*.net *.split]
skakri has quit [*.net *.split]
demophoon has quit [*.net *.split]
devn has quit [*.net *.split]
hal_9000 has quit [*.net *.split]
musl has quit [*.net *.split]
nitrix has quit [*.net *.split]
eregon has quit [*.net *.split]
julie_harshaw has quit [*.net *.split]
jidar has quit [*.net *.split]
exceion has quit [*.net *.split]
SenpaiSilver has joined #ruby
neurotech has joined #ruby
PlasmaStar has joined #ruby
brotspinne has quit [Quit: Textual IRC Client: www.textualapp.com]
armyriad has joined #ruby
braincrash has joined #ruby
varesa has joined #ruby
<jhass> bankair: Hash's docs go into this to some degree, the general data structure Hash implements is the hashmap
<bankair> I'll get back to those basics
crdpink has joined #ruby
<bankair> thanks for your time
krz has joined #ruby
jidar has joined #ruby
teotwaki has joined #ruby
16WAANP8U has joined #ruby
gizmore has joined #ruby
yfeldblu_ has joined #ruby
jeadre has joined #ruby
CHVNX has joined #ruby
Klumben has joined #ruby
nullwarp has joined #ruby
sevenseacat has joined #ruby
rushed has joined #ruby
bffff_ has joined #ruby
iamninja has joined #ruby
surs has joined #ruby
gf3 has joined #ruby
jamo_ has joined #ruby
musl has joined #ruby
Guest74353 has joined #ruby
elton has joined #ruby
QKO has joined #ruby
lupine has joined #ruby
v0n has joined #ruby
hostess has joined #ruby
DarkBushido has joined #ruby
rfmind_ has joined #ruby
nitrix has joined #ruby
BLuEGoD has joined #ruby
Dwarf has joined #ruby
julie_harshaw has joined #ruby
jzigmund has joined #ruby
cats has joined #ruby
hal_9000 has joined #ruby
devn has joined #ruby
NightMonkey has joined #ruby
Seich has joined #ruby
jalljo has joined #ruby
terrellt has joined #ruby
ZeeNoodleyGamer has joined #ruby
unsymbol has joined #ruby
joast has joined #ruby
Papierkorb has joined #ruby
demophoon has joined #ruby
colstrom has joined #ruby
johnhamelink has joined #ruby
Schmidt has joined #ruby
lotherk has joined #ruby
gsingh93 has joined #ruby
j416 has joined #ruby
mjmac has joined #ruby
duoi has joined #ruby
harryk has joined #ruby
skarn has joined #ruby
wookiehangover has joined #ruby
asi_ has joined #ruby
exceion has joined #ruby
segy has joined #ruby
epochwolf has joined #ruby
Pupeno has joined #ruby
chrisarcand has joined #ruby
rehat has joined #ruby
iooner has joined #ruby
znz_jp has joined #ruby
trampi has joined #ruby
eregon has joined #ruby
larissa has joined #ruby
Liam` has joined #ruby
alem0lars has joined #ruby
hanmac has joined #ruby
cschneid has joined #ruby
skakri has joined #ruby
zenspider has joined #ruby
tubulife| has joined #ruby
verdoc has joined #ruby
blackjid has joined #ruby
Helheim has quit [Max SendQ exceeded]
Zarthus has joined #ruby
<jhass> bankair: the gist of how it works is that it keeps an array buckets and a linked list in each bucket, the bucket for the item is determined by its .hash modulo the number of available buckets
<jhass> bankair: so if the .hash changes you need to be extremely lucky for the new hash to end up in the same bucket
jackjackdripper has quit [Quit: Leaving.]
<jhass> if the candidates (the bucket) is found, the item is selected by comparing it with eql? (iirc) to the key in question
Zai00 has quit [Quit: Zai00]
laurentide has joined #ruby
Torrieri has joined #ruby
<zenspider> bankair: `ri Object.hash`
Torrieri has joined #ruby
<jhass> heh, already pointed to the docs before you joined :P
jaxxstorm has joined #ruby
<jhass> wb netsplitters btw
<zenspider> kk. I'll shut up
radgeRayden_ has joined #ruby
ngw has quit [Quit: Linkinus - http://linkinus.com]
decoponio has joined #ruby
m3ow1504_x_io has quit [Read error: Connection reset by peer]
m3ow1504_x_io has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Macaveli_ has joined #ruby
radgeRayden has quit [Ping timeout: 250 seconds]
Voker57 has quit [Read error: Connection reset by peer]
dimasg has joined #ruby
joonty has quit [Ping timeout: 264 seconds]
Torrieri has quit [Ping timeout: 260 seconds]
livathinos is now known as livathinos|away
Averna has joined #ruby
Averna has quit [Read error: Connection reset by peer]
nux443 has joined #ruby
solocshaw has joined #ruby
wald0 has joined #ruby
sevenseacat has quit [Quit: .]
ndrei has joined #ruby
Averna has joined #ruby
livathinos|away is now known as livathinos
ecnalyr has joined #ruby
sarkyniin has joined #ruby
joonty has joined #ruby
riffraff has quit [Quit: Leaving]
nettoweb has joined #ruby
urd7 has quit [Remote host closed the connection]
but3k4 has joined #ruby
ecnalyr has quit [Ping timeout: 246 seconds]
yfeldblu_ has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
rodfersou has joined #ruby
dumdedum has quit [Quit: foo]
rushed has quit [Quit: rushed]
<tsunamie> hellow there, I am a little lost about what the unit test is acatully doing under "include_recipe Method" in the following guide https://docs.chef.io/chefspec.html
<tsunamie> can someone school me what the unit tests is checking? I don't get why you would need to define both like this?
<jhass> tsunamie: that seems specific to Chef, try #chef
dhjondoh has quit [Quit: dhjondoh]
codecop has joined #ruby
elepedus has joined #ruby
<zenspider> I'm not sure I'd call that a unit test... let alone much of a test.
elepedus has quit [Client Quit]
<zenspider> tsunamie: do you understand rspec in general?
<tsunamie> zenspider, I wish to learn ow great teacher san
Gribo has joined #ruby
rodfersou has quit [Ping timeout: 272 seconds]
<tsunamie> zenspider, I am franticly googeling now on unit tests for ruby
revoohc has joined #ruby
rodfersou has joined #ruby
benlovell has quit [Ping timeout: 240 seconds]
rodfersou has quit [Client Quit]
rodfersou has joined #ruby
<zenspider> substitute the let block contents whereever the let name is used.
<zenspider> then read the expect line ... it pretty much says exactly what it is doing
<tsunamie> zenspider, Is this what you mean? http://serverspec.org/
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tsunamie> I can read this and get back to you?
<zenspider> is what, what I mean?
<tsunamie> rspec
<zenspider> I have no idea what you're asking, if anything
blue_deref has joined #ruby
mistermocha has joined #ruby
<jhass> tsunamie: what's your goal?
Mia has joined #ruby
allcentury has quit [Ping timeout: 252 seconds]
allcentury has joined #ruby
tkuchiki has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 260 seconds]
romero_ has quit [Quit: leaving]
mistermocha has quit [Ping timeout: 240 seconds]
m3ow1504_x_io has quit [Ping timeout: 240 seconds]
romero has joined #ruby
catoblepa has joined #ruby
catoblepa has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
s00pcan has quit [Ping timeout: 255 seconds]
s00pcan has joined #ruby
sdothum has joined #ruby
Macaveli_ has quit [Quit: Textual IRC Client: www.textualapp.com]
hectortrope has joined #ruby
krisquigley has quit [Remote host closed the connection]
eGGsha is now known as eGGshke
eGGshke is now known as eGGsha
wald0 has quit [Ping timeout: 240 seconds]
eGGsha is now known as eGGshke
tomaz_b has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 265 seconds]
mytrile has quit [Quit: Page closed]
eGGshke is now known as eGGsha
jgt has quit [Ping timeout: 246 seconds]
m3ow1504_x_io has joined #ruby
Macaveli has joined #ruby
wald0 has joined #ruby
hectortrope has quit [Quit: #bash]
hectortrope has joined #ruby
dimasg has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
m3ow1504_x has joined #ruby
m3ow1504_x_io has quit [Client Quit]
sarkyniin has quit [Quit: Quit]
jgt has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
hectortrope has quit [Quit: WeeChat 0.4.2]
syath has joined #ruby
Torrieri has joined #ruby
wald0 has quit [Ping timeout: 252 seconds]
but3k4 has joined #ruby
nux443 has quit [Ping timeout: 246 seconds]
rushed has joined #ruby
nux443 has joined #ruby
skade has joined #ruby
allcentury has quit [Ping timeout: 256 seconds]
Torrieri has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
skade has quit [Client Quit]
krisquigley has joined #ruby
nux443 has quit [Ping timeout: 246 seconds]
roxtrongo has joined #ruby
christiandsg has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nux443 has joined #ruby
romero has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
tsujp has joined #ruby
leslie has quit [Quit: Have you ever tried to eat a clock? It's very time consuming.]
lipoqil has joined #ruby
Macaveli has joined #ruby
christiandsg has quit [Ping timeout: 265 seconds]
wald0 has joined #ruby
sheperson has quit [Quit: sheperson]
s00pcan has quit [Ping timeout: 246 seconds]
lipoqil has quit [Ping timeout: 246 seconds]
dimasg has joined #ruby
riotjones has quit [Remote host closed the connection]
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
darkhex has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
dimasg has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
chinmay_dd has joined #ruby
millerti has joined #ruby
unver has joined #ruby
chouhoulis has joined #ruby
mistermocha has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
Averna has quit [Quit: Ex-Chat]
m3ow1504_x has joined #ruby
pawnbox has joined #ruby
nux443 has quit [Ping timeout: 264 seconds]
mistermocha has quit [Ping timeout: 265 seconds]
anker has quit [Quit: leaving]
terlar has quit [Quit: WeeChat 1.3]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
romero has joined #ruby
auzty has quit [Quit: Leaving]
dorei has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
lipoqil has joined #ruby
tsujp has quit [Quit: tsujp is snoozing]
terlar has joined #ruby
veloutin has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lipoqil has quit [Remote host closed the connection]
eGGsha is now known as eGGshke
Soda has joined #ruby
northfurr has joined #ruby
MasterPiece has joined #ruby
catoblepa has quit [Ping timeout: 250 seconds]
nux443 has joined #ruby
<apeiros> hm, ruby-toolbox lists grit on top, but last release is 3y ago. rugged seems newer.
<apeiros> any suggestions on a ruby library to handle git repositories?
<apeiros> ok, grit website is pretty clear :D "Grit is no longer maintained. Check out libgit2/rugged"
devoldmx has joined #ruby
<sevenseacat> one day I'd love to stuff around and build my own basic repo browser thing.
<apeiros> duly noted
* [k- notes first appearance of apeiros after lunch
<sevenseacat> long lunch break.
<sevenseacat> nearly 3 hours.
eGGshke is now known as eGGsha
<apeiros> jumping to conclusions ;-)
<sevenseacat> ;)
patrick_star has quit [Ping timeout: 246 seconds]
skade has joined #ruby
amystephen has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
millerti has joined #ruby
tkuchiki has joined #ruby
I has joined #ruby
<Mon_Ouie> Obviously he spent two of those three hours murdering someone and burying their body.
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<apeiros> Mon_Ouie: I'm offended.
<sevenseacat> only one person? surely thats enough time to kill a few
I is now known as Guest73740
<sevenseacat> i mean
<apeiros> Mon_Ouie: you truly think I'd only be able to kill *one* person in that much time?
[k-_ has joined #ruby
<sevenseacat> haha
dstarh has joined #ruby
mary5030 has joined #ruby
<apeiros> oh dang, but I type too slow
* apeiros bows to sevenseacat
<sevenseacat> great minds think alike ;)
casadei has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
rushed has quit [Quit: rushed]
<apeiros> word
revoohc has quit [Quit: revoohc]
atomical has joined #ruby
Xiti has joined #ruby
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
khebbie has quit [Remote host closed the connection]
dionysus69 has quit [Quit: dionysus69]
Valeness has quit [Ping timeout: 246 seconds]
Guest73740 has quit [Ping timeout: 265 seconds]
casadei has quit [Ping timeout: 240 seconds]
khebbie has joined #ruby
Torrieri has joined #ruby
charliesome has joined #ruby
jgt has joined #ruby
NeverDie has joined #ruby
<apeiros> rugged looks neat
<apeiros> o/ charliesome
<charliesome> howdy
Valeness has joined #ruby
MasterPiece has quit [Ping timeout: 255 seconds]
Kallis has joined #ruby
<[k-_> aha! fix ruboto!
<[k-_> something something race condition when something something
cantaberry has joined #ruby
tvw has quit []
wald0 has quit [Quit: Lost terminal]
<apeiros> [k-_: this full week-end is dedicated for #ruby work.
<apeiros> cross your fingers, who know, maybe I get finally stuff done :-/
<sevenseacat> \o/
zenguy_pc has joined #ruby
<apeiros> I don't want to promise anything, though. I had terrible headaches the last two days.
<[k-_> \o/
jtdoncas has joined #ruby
silkfox has joined #ruby
<[k-_> poor apeiros :(
<[k-_> the worst enemy of programmers, headaches!
* adaedra gives apeiros aspirin
Torrieri has quit [Ping timeout: 245 seconds]
<apeiros> I tried a couple of painkillers. the one which worked also numbed me. the others didn't work. so for now I stay off of painkillers :-|
<apeiros> though, maybe I should try again. that's been like a decade ago.
<yorickpeterse> man up you wuss
bigredboots has joined #ruby
tsvenson has left #ruby ["Ex-Chat"]
<yorickpeterse> http://i.imgur.com/H9Cyd.gifv basically
<yorickpeterse> ignore the 5 frames per second
<adaedra> wow
<adaedra> this
<adaedra> is
<adaedra> slow
rbennacer has quit [Remote host closed the connection]
silkfox has quit [Ping timeout: 256 seconds]
leat1 has quit [Remote host closed the connection]
leat1 has joined #ruby
Guest50 has joined #ruby
<apeiros> yorickpeterse: "be a man" - check. now how does that help? :)
<[k-_> look who's talking (if you know what i mean ( ͡° ͜ʖ ͡°) )
troulouliou_div2 has quit [Quit: Leaving]
<sevenseacat> hah
<sevenseacat> you're supposed to be impervious to pain, or something.
Guest50 has quit [Client Quit]
<apeiros> ah right.
* apeiros turns on male superpowers
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
livathinos has quit [Read error: Connection reset by peer]
<[k-_> remember apeiros: by the end of the year!
<apeiros> [k-_: I doubt I'll have to remember that myself :-D
Macaveli has joined #ruby
<sevenseacat> hehe
livathinos has joined #ruby
<apeiros> biggest difficulty will be the helpa vs. ruboto thing. but we'll find a way.
<apeiros> rest is just time.
riotjones has joined #ruby
Valeness has quit [Ping timeout: 250 seconds]
<apeiros> kaizen
<[k-_> exactly! i always forget the question when attempting the question halfway
<yorickpeterse> apeiros: by being a man the headache goes away
<[k-_> then i go out of point and zzzz
<yorickpeterse> only communists get headaches
<apeiros> are you complimenting me? :D
skade has quit [Ping timeout: 264 seconds]
saddad has joined #ruby
Macaveli has quit [Client Quit]
<adaedra> ☭
<[k-_> dat symbol
zenguy_pc has quit [Read error: Connection reset by peer]
<apeiros> why do I keep forgetting the color codes for the terminal? :-S
MasterPiece has joined #ruby
<[k-_> because you dont need it
zenguy_pc has joined #ruby
<adaedra> \e[3b;4f
Macaveli has joined #ruby
<adaedra> replace b and f
<apeiros> also I want a perceptionally closest color finder as cli tool
<apeiros> adaedra: that part I remember. also the part for 256 colors.
<apeiros> but I don't remember which number is which color :D
<adaedra> I use a map for that.
<adaedra> It's too fucked up.
<adaedra> 1 is red, 4 is blue, 3 green, 6 cyan, 2 orange, 5 purple, 7 white, iirc
Valeness has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
bigredbo_ has joined #ruby
<adaedra> Do you want rainbows in your terminal apeiros
<apeiros> 30.upto(39) do |i| puts "\e[#{i}m COLOR #{i}\e[0m" end # helped ;-)
<apeiros> adaedra: of course
livathinos has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
last_staff has joined #ruby
Vitor has joined #ruby
rippa has joined #ruby
<[k-_> red orange yellow green blue indigo violet
jhack32 has joined #ruby
<[k-_> you do not want rainbows, trust me
Meow-J has quit [Quit: Connection closed for inactivity]
failshell has joined #ruby
s00pcan has joined #ruby
bigredboots has quit [Ping timeout: 264 seconds]
Quandl has joined #ruby
<adaedra>
anisha has quit [Quit: Leaving]
mistermocha has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michael_mbp has quit [Excess Flood]
khebbie has quit [Remote host closed the connection]
mistermo_ has joined #ruby
enebo has joined #ruby
chinmay_dd has quit [Read error: Connection reset by peer]
eGGsha has quit [Quit: Textual IRC Client: www.textualapp.com]
jeff_laplante has joined #ruby
chinmay_dd has joined #ruby
fmcgeough has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
m3ow1504_x has quit [Read error: Connection reset by peer]
michael_mbp has joined #ruby
m3ow1504_x has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
tuxero has joined #ruby
michael_mbp has quit [Excess Flood]
allcentury has joined #ruby
mistermo_ has quit [Ping timeout: 265 seconds]
jeff_laplante has quit [Ping timeout: 264 seconds]
jhack32 has quit [Remote host closed the connection]
ldnunes has joined #ruby
whippythellama has joined #ruby
michael_mbp has joined #ruby
sdwrage_ has joined #ruby
malconis has joined #ruby
Vitor has quit [Remote host closed the connection]
dblessing has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
malconis has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
I has joined #ruby
malconis has joined #ruby
leat1 has joined #ruby
I is now known as Guest57022
roxtrong_ has joined #ruby
Rinzlit1 is now known as Rinzlit
roxtrongo has quit [Ping timeout: 246 seconds]
victortyau has joined #ruby
Macaveli_ has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
Voker57 has joined #ruby
MasterPiece has quit [Ping timeout: 255 seconds]
hashrocket has joined #ruby
krz has quit [Quit: WeeChat 1.2]
Hounddog has quit [Remote host closed the connection]
nettoweb has joined #ruby
centrx has joined #ruby
nofxx has joined #ruby
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
Quandl has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
fast_scooter has joined #ruby
darkhex has quit [Quit: Textual IRC Client: www.textualapp.com]
voltalio has joined #ruby
livathinos is now known as livathinos|away
casadei has joined #ruby
voltalio has quit [Max SendQ exceeded]
jhack32 has joined #ruby
kies has joined #ruby
livathinos|away is now known as livathinos
devdazed has joined #ruby
16WAANP8U has quit [Quit: 16WAANP8U]
livathinos has quit []
saddad has quit [Ping timeout: 240 seconds]
casadei has quit [Ping timeout: 250 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
havenwood has joined #ruby
lipoqil has joined #ruby
jtdoncas has joined #ruby
JoshL has joined #ruby
rbennacer has joined #ruby
paulcsmith has joined #ruby
rbennacer has quit [Remote host closed the connection]
DEA7TH_ has joined #ruby
rbennacer has joined #ruby
wprice has joined #ruby
Torrieri has joined #ruby
Torrieri has joined #ruby
rbennacer has quit [Remote host closed the connection]
davedev24 has joined #ruby
lipoqil has quit [Ping timeout: 246 seconds]
Limix has joined #ruby
dionysus69 has joined #ruby
jtdoncas has quit [Ping timeout: 264 seconds]
ejimz has quit [Ping timeout: 260 seconds]
d2dchat has joined #ruby
rbennacer has joined #ruby
sankaber has joined #ruby
donske has joined #ruby
jas02 has quit [Quit: jas02]
Feyn has quit [Quit: Leaving]
cball has quit [Quit: Leaving]
voltalio has joined #ruby
christiandsg has joined #ruby
Torrieri has quit [Ping timeout: 250 seconds]
tagrudev has quit [Remote host closed the connection]
poli has joined #ruby
casadei has joined #ruby
<shevy> hmmm
<shevy> it's getting hot again :(
freezevee has quit [Remote host closed the connection]
<apeiros> shevy: yupp :(
christiandsg has quit [Ping timeout: 265 seconds]
* [k-_ orders ice
Macaveli_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> [k-_ I need that too!
<nofxx> cold here in the south hemi! not for long =/
<nofxx> hey, star this if you're going to look for a crawler in ruby: https://github.com/joenorton/rubyretriever , glad I've found
<nofxx> not many crawlers in ruby, mostly are scrapers that dare to call'em selves crawlers
<shevy> nofxx lucky you
hinbody has joined #ruby
Pupeno has quit [Quit: Leaving...]
<nofxx> shevy, not for long... october it's hot again
gamename has joined #ruby
roxtrong_ has quit [Remote host closed the connection]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
dionysus70 is now known as dionysus69
ngscheurich has joined #ruby
chouhoulis has quit [Remote host closed the connection]
solocshaw has joined #ruby
lipoqil has joined #ruby
bigredboots has joined #ruby
based_p has joined #ruby
bigredbo_ has quit [Read error: Connection reset by peer]
bigredbo_ has joined #ruby
renderful has joined #ruby
but3k4 has joined #ruby
TheHodge has joined #ruby
cball has joined #ruby
freerobby has joined #ruby
El3ktra has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 244 seconds]
lkba has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
lipoqil has quit [Ping timeout: 240 seconds]
gregf__ has quit [Ping timeout: 246 seconds]
bigredboots has quit [Ping timeout: 256 seconds]
renderful has quit [Ping timeout: 250 seconds]
AlexAltea has quit [Ping timeout: 244 seconds]
gregf__ has joined #ruby
leat1 has quit [Remote host closed the connection]
gregf__ has quit [Client Quit]
leat1 has joined #ruby
mistermocha has joined #ruby
Kallis has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 244 seconds]
ecnalyr has joined #ruby
nux443 has quit [Ping timeout: 240 seconds]
rw_ has joined #ruby
bronson has joined #ruby
Xiti has quit [Ping timeout: 246 seconds]
livathinos has joined #ruby
Pupeno has joined #ruby
leat1 has quit [Remote host closed the connection]
denisemccoy has joined #ruby
leat1 has joined #ruby
pl1ght has quit [Read error: No route to host]
dwithers has joined #ruby
<rw_> hi
Spami has quit [Quit: This computer has gone to sleep]
<jhass> hi
AlexAltea has joined #ruby
DylanJ has quit [Quit: ggwp]
Xiti has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
nux443 has joined #ruby
Torrieri has joined #ruby
<adaedra> hi
workmad3 has joined #ruby
<havenwood> hi
m3ow1504_x has quit [Read error: Connection reset by peer]
<apeiros> laughing channel
<ljarvis> hi
<apeiros> (hihihihi)
m3ow1504_x has joined #ruby
<[k-> apeiros reporting for duty
* adaedra pokes apeiros with a stick
arup_r has quit [Remote host closed the connection]
<apeiros> o0
<sevenseacat> see? he feels no pain.
livathinos has quit []
<adaedra> tru warior
devoldmx has joined #ruby
nux443 has quit [Ping timeout: 256 seconds]
<shevy> lol
<apeiros> 0o
dopamean_ has joined #ruby
<shevy> he is totally defenceless against pokes
davedev24 has quit [Ping timeout: 246 seconds]
<adaedra> FEAR THE MIGHTY STICK.
<adaedra> This channel is de-rails-ing.
<sevenseacat> well even superman had one weakness. we've found apeiros's.
roxtrongo has joined #ruby
davedev24 has joined #ruby
<apeiros> poking is off-topic! you must move that to #ruby-offtopic!!!
<shevy> yeah he required a phone booth
<sevenseacat> haha
zenguy_pc has quit [Read error: Connection reset by peer]
zenguy_pc has joined #ruby
<apeiros> I see, friday it is.
nertzy has joined #ruby
<adaedra> ?poke apeiros
<ruboto> apeiros, I don't know anything about poke
<sevenseacat> friday night and I'm sitting here writing elixir code ._.
<apeiros> no idea why there haven't been chewbacca noises in the office yet…
<sevenseacat> <-- party animal
terlar has quit [Quit: WeeChat 1.3]
devoldmx has quit [Ping timeout: 240 seconds]
<shevy> lol
nux443 has joined #ruby
donske has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xhosae has quit [Remote host closed the connection]
<adaedra> s/party //
roxtrongo has quit [Ping timeout: 260 seconds]
chinmay_dd has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
El3ktra has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[k-> oooo burrrrn
<shevy> chewbacca noises
bigredboots has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
davedev24 has joined #ruby
casadei has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acke has quit [Remote host closed the connection]
bigredbo_ has quit [Ping timeout: 264 seconds]
uphoria is now known as gnomethrower
OrbitalKitten has joined #ruby
rubie has joined #ruby
gregf_ has joined #ruby
gnomethrower is now known as GT-gta3
tonios57 has joined #ruby
acke has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
yqt has joined #ruby
Logan_ has joined #ruby
Logan_ is now known as Guest8326
rbennacer has quit [Remote host closed the connection]
Spami has joined #ruby
i4pcbr has joined #ruby
d10n-work has joined #ruby
Legitkrillin has joined #ruby
<centrx> rubes
rw_ has quit [Quit: ircII EPIC4-2.10.5 -- Are we there yet?]
jabreity has joined #ruby
northfurr has quit [Quit: northfurr]
Swappticon has joined #ruby
[k-_ has quit [Quit: Lingo: www.lingoirc.com]
rbennacer has joined #ruby
chouhoulis has joined #ruby
freerobby has quit [Quit: Leaving.]
bigredboots has quit [Read error: Connection reset by peer]
bigredbo_ has joined #ruby
freerobby has joined #ruby
riotjones has joined #ruby
bigredbo_ has quit [Remote host closed the connection]
acke has quit [Remote host closed the connection]
j_mcnally has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iskarlar has joined #ruby
Iskarlar has quit [Client Quit]
einarj has quit [Remote host closed the connection]
Rinzlit has quit [Ping timeout: 250 seconds]
dhollinger has joined #ruby
bigredboots has joined #ruby
DCameronMauch has joined #ruby
mjuszczak has joined #ruby
riotjones has quit [Ping timeout: 244 seconds]
Iskarlar_ has joined #ruby
javascriptstuden has joined #ruby
<javascriptstuden> how can you find out what methods to use
ndrei has joined #ruby
<adaedra> javascriptstuden: by reading the documentation.
<javascriptstuden> i have an object but it's javascript
<javascriptstuden> i have a lot of properties in that object and i wanted to return the number of objects it has but people in ##javascript aren't answering my question
<javascriptstuden> var nigger = { hair: "kinky", nose: "wide", lips: "big", smell: "like shit", intelligence: "low", laziness: "high"}
<javascriptstuden> i'm coding for the site http://chimpout.com
<javascriptstuden> i might make them switch to ruby and rails
<wasamasa> javascriptstuden: you've really got nothing else to do, huh
<wasamasa> ?ops javascriptstuden
<ruboto> javascriptstuden, to call for ops use the !ops command. You can find a list of channel staff on http://ruby-community.com/pages/irc_staff
<wasamasa> !ops javascriptstuden
<ruboto> fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, workmad3, miah, Coraline, drbrain, slyphon, zenspider, rubyhacker1, Aria, ljarvis, baweaver
<javascriptstuden> i have a legitimate question
<javascriptstuden> why are you calling ops on me?
<havenwood> !mute javascriptstuden
dfockler has joined #ruby
<adaedra> because they've a legitimate ban reason.
<[k-> for discrimination.
<jhass> ?rules javascriptstuden
<ruboto> javascriptstuden, Please respect the channel rules: http://ruby-community.com/pages/user_rules
<sevenseacat> sigh.
<[k-> catnip anyone?
<wasamasa> yesss
Pumukel has quit [Ping timeout: 240 seconds]
* [k- throws catnip around
* wasamasa purrs
tkuchiki has quit [Remote host closed the connection]
javascriptstuden has left #ruby [#ruby]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jstudent has joined #ruby
<Guest8326> Who needs TV when you have IRC chat for draaama
<jstudent> i read the rules and i didn't break any of them
<jstudent> wait i broke one
acke has joined #ruby
<jstudent> i wasn't on the right channel
ndrei has quit [Ping timeout: 250 seconds]
<jstudent> for my javascript question
<jstudent> how would you do that in ruby?
pawnbox has quit [Ping timeout: 240 seconds]
<[k-> !ops mute evasion
<ruboto> fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, workmad3, miah, Coraline, drbrain, slyphon, zenspider, rubyhacker1, Aria, ljarvis, baweaver
<jhass> jstudent: read 2.10 again, respond in #ruby-banned if you want to discuss, you'll be rebanned for evasion now (also a rule)
<jhass> !mute jstudent
blackmesa has quit [Ping timeout: 272 seconds]
<wasamasa> I thought webchat people were banned?
<[k-> it was a temporary mitigation measure
umgrosscol has joined #ruby
<adaedra> If only we could simply ban stupid people.
jtdoncas has joined #ruby
pandaant has joined #ruby
astrobun_ has joined #ruby
<[k-> let's get freenode to provide a grammar rule script that checks for stupidity before sending the messages to the channel
<wasamasa> /mode +b $stupid-people
scottschecter has quit [Quit: Leaving]
tjohnson has joined #ruby
<sevenseacat> wasamasa: it was rejected by a majority of the ops.
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
* lagweezle thinks he needs t ore-read the rules.
quazimodo has joined #ruby
<quazimodo> hullo
<[k-> that's why we need to collect statistics!
<lagweezle> What about temporarily stupid people? I'm temporarily stupid on occasion, but it goes away fairly quickly.
jamesaxl|2 has quit [Ping timeout: 246 seconds]
<quazimodo> as far as i'm aware, celluloid uses 1 os thread per actor on MRI ruby, is that correct?
<[k-> your message will not reach us, so you can hide your stupidity
<adaedra> lagweezle: that's ok. Not the stupid I was aiming.
<lagweezle> woo!
<[k-> all we get to see is you solving the problem cleverly
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wasamasa> sevenseacat: oh well
jstudent has left #ruby [#ruby]
<wasamasa> lagweezle: I'd say that pretty much everyone is temporarily stupid
rooby has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
<wasamasa> lagweezle: which is different from being stupid on purpose and pestering this channel for weeks with the worst trolling ever
<rooby> if you want to return the number of properties in an object how would you do that?
<havenwood> !mute rooby
chouhoulis has joined #ruby
mistermocha has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
El3ktra has quit [Ping timeout: 250 seconds]
<[k-> this. is. not. JavaScript.
<havenwood> !ban rooby !T 1d ban evasion
rooby was kicked from #ruby by ChanServ [Banned: ban evasion]
<lagweezle> Well THERE is an interesting mental conundrum. I read "!mute rooby" as "not mute rooby," or, "don't mute rooby" due to the logic inversion.
<[k-> treat ! as a command prefix
<havenwood> lagweezle: !!mute then ;)
mjuszczak has quit []
chouhoulis has quit [Remote host closed the connection]
leat1 has quit [Remote host closed the connection]
<quazimodo> lol
<[k-> no, then the actual command would be !mute
<[k-> and not mute
<[k-> which is wrong
chouhoulis has joined #ruby
j3r0 has joined #ruby
jamesaxl|2 has joined #ruby
<Papierkorb> havenwood: but !!mute would just be true :(
g0ram has joined #ruby
leat1 has joined #ruby
<g0ram> i need help
jeadre has quit [Remote host closed the connection]
<g0ram> i have an object and i would like to return the number of properties it has... how would i do that?
<havenwood> !ban g0ram !T 1d ban evasion
g0ram was banned on #ruby by ChanServ [g0ram!*@*]
g0ram was kicked from #ruby by ChanServ [Banned: ban evasion]
Spami has quit [Quit: Leaving]
<adaedra> >_>
<[k-> he should do a Google search
<Papierkorb> now that's getting tedious. first fail, well ok, but now, really?
<[k-> how about we all ignore him for the rest of the day
<[k-> ignore everything about js
jeadre has joined #ruby
<[k-> don't feed the trolls!
americanhero1924 has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
<Kellin> random question - I was working with YAML for the first time over the last few days, and while I found my answers and got the code working, I was bothered than I couldn't find them in the manuals. stuff like YAML.load_file() is not anywere I could find on http://ruby-doc.org/stdlib-2.0.0/libdoc/yaml/rdoc/YAML.html - can someone point me at how to find those particular docs?
<americanhero1924> according to this: http://ruby-community.com/pages/user_rules ban evasion isn't agains the rules
<havenwood> !mute americanhero1924
ndrei has joined #ruby
americanhero1924 has left #ruby [#ruby]
<adaedra> [k-: so let it noise?
duggiefresh has joined #ruby
<[k-> yes, until there is someone else who needs help
amsterdame has joined #ruby
<amsterdame> so you're abusing op privileges
<havenwood> !kick amsterdame ban evasion
amsterdame was kicked from #ruby by ruboto [ban evasion]
astrobun_ has quit [Remote host closed the connection]
ehth77 has joined #ruby
<adaedra> [k-: awful.
jeadre has quit [Remote host closed the connection]
mjuszczak has joined #ruby
jamalross has joined #ruby
nux443 has quit [Ping timeout: 244 seconds]
skade has joined #ruby
<Papierkorb> Kellin: interesting obversation. Well, there's load() and dump() to deserialize and serialize data, there most interesting fact about this though is that this is convention, so e.g. JSON has the same methods for the same purpose, and so on. load_file() is new to me
DCameronMauch has quit [Quit: Leaving...]
<lagweezle> [k-: I know. It's just "reading" it led to an interesting thought pattern.
jeadre has joined #ruby
<Papierkorb> Kellin: though the docs refer to https://github.com/tenderlove/psych
rcvalle has joined #ruby
rcvalle has quit [Client Quit]
rcvalle has joined #ruby
<lagweezle> Huh. 'amsterdame' is an amusing combination of words for a name. Amsterdam, dame. I like.
<lagweezle> I may be slghtly weird today due to excruciating levels of pain and heavy use of painkillers. Woo.
<jamalross> why are the ops in this channel rogue and don't follow their own rules and make up their own rules?
leat1 has quit [Remote host closed the connection]
aganov has quit [Quit: Leaving]
<havenwood> jamalross: Feel free to discuss the rules in #ruby-community or #ruby-offtopic but not here.
<lagweezle> op: "I am the law!"
<havenwood> ?offtopic jamalross
<ruboto> jamalross, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
leat1 has joined #ruby
weemsledeux has quit [Ping timeout: 255 seconds]
Narzew has joined #ruby
<jamalross> lagweezle: lol tru dat
jamalross was kicked from #ruby by jhass [ban evasion]
[Butch] has joined #ruby
meatherly has joined #ruby
<lagweezle> I do actually mean it, though. Things not covered by the rules, but 'bad' are where the ops get to use judgement and act to keep the community (and channel) a nice place to be.
<adaedra> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<wasamasa> lagweezle: see the freenode rules
<wasamasa> lagweezle: they clearly mention that ban evasion is a reason for a permaban
<lagweezle> wasamasa: Nice!
<wasamasa> lagweezle: and that you better discuss things on #freenode
jamesaxl|2 has quit [Ping timeout: 246 seconds]
<wasamasa> what this person does is facetious
<lagweezle> Related, would a question about modeling and interactions be better suited for here, or the RoR channel?
<jhass> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<adaedra> lagweezle: depends, I guess
vdamewood has quit [Quit: Life beckons.]
pawnbox has joined #ruby
canttouchthis has joined #ruby
<Kellin> Papierkorb: not having dug into the internals, does the YAML.load() require slurping the full file into a string object to load it up?
<canttouchthis> seriously though where on the channel rules does it forbid to evade bans?
<wasamasa> freenode rules
patrick_star has joined #ruby
<wasamasa> so, stop
UtkarshRay has joined #ruby
<lagweezle> freenode rules supercede channel rules, I suspect
<havenwood> !ban canttouchthis !T 1d ban evasion
canttouchthis was banned on #ruby by ChanServ [canttouchthis!*@*]
canttouchthis was kicked from #ruby by ChanServ [Banned: ban evasion]
mjuszczak has quit []
<wasamasa> correct
<wasamasa> you're on this network, you play by its rules
<adaedra> like the US: You're tied to federal AND state rules.
<havenwood> Ruby.
<havenwood> How many days till 2.3.0?
<adaedra> too many
* Kellin is amused that this drama happens the first time he has a legit ruby question to ask. heh. My personal curse continues :op
<havenwood> ~118 days
<havenwood> Frozen literals enabled with a flag!
* havenwood shivers
petricore has joined #ruby
<havenwood> I remember back in the good ole days when Strings were mutable.
<dfockler> first frozen literals, then static typing!
<havenwood> When Regexps just compiled over and over, we'd walk up hills both ways.
shadeslayer has quit [Ping timeout: 252 seconds]
The_Phoenix has joined #ruby
umgrosscol has quit [Remote host closed the connection]
marcoecc has quit [Remote host closed the connection]
jamesaxl|2 has joined #ruby
shadeslayer has joined #ruby
<dfockler> I think frozen literals will be nice for bigger applications though
dopamean1 has joined #ruby
<jhass> sounds like crystal :P
<dfockler> can't just change state willy nilly
nux443 has joined #ruby
aKiKKim has joined #ruby
aKiKKim was kicked from #ruby by ChanServ [Banned: ban evasion]
atomical has joined #ruby
pauly_oc has joined #ruby
marcoecc has joined #ruby
gh has joined #ruby
dopamean_ has quit [Ping timeout: 240 seconds]
snockerton has joined #ruby
gh has quit [Client Quit]
nux443 has quit [Ping timeout: 240 seconds]
jxpx777 has joined #ruby
towski_ has joined #ruby
casadei has joined #ruby
ehth77 has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
marcoecc has quit [Ping timeout: 244 seconds]
lipoqil has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
dwithers has quit [Ping timeout: 252 seconds]
renderful has joined #ruby
dwithers has joined #ruby
sferik has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lipoqil has quit [Ping timeout: 246 seconds]
EllisTAA has joined #ruby
nux443 has joined #ruby
radgeRayden_ has quit [Ping timeout: 265 seconds]
hanmac has quit [Ping timeout: 244 seconds]
theery has joined #ruby
m3ow1504_x_io has joined #ruby
nanoz has joined #ruby
nux443 has quit [Ping timeout: 244 seconds]
pyon has quit [Quit: Damn you, Emacs. F...ix yourself.]
senayar has quit []
zendrix has joined #ruby
nux443 has joined #ruby
Chau has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
polpak has joined #ruby
m3ow1504_x has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bricker has joined #ruby
pyon has joined #ruby
OrbitalKitten has joined #ruby
i4pcbr has quit [Ping timeout: 245 seconds]
Lucky__ has joined #ruby
OrbitalKitten has quit [Read error: Connection reset by peer]
renanoronfle has quit [Ping timeout: 260 seconds]
stan has quit [Ping timeout: 246 seconds]
OrbitalKitten has joined #ruby
nux443 has quit [Ping timeout: 240 seconds]
dagda1 has joined #ruby
renanoronfle has joined #ruby
nux443 has joined #ruby
hanmac has joined #ruby
cschneid_ has joined #ruby
pauly_oc has quit [Quit: Textual IRC Client: www.textualapp.com]
pauly_oc has joined #ruby
meatherly has quit []
pawnbox has quit [Remote host closed the connection]
youngbaks has joined #ruby
enebo has quit [Quit: enebo]
rbennacer has quit [Remote host closed the connection]
<quazimodo> what's the lowdown on faye?
casadei has quit [Remote host closed the connection]
<shevy> it's not all bad, with the change to frozen strings there will be lots of possibilities to explore other languages :)
michaeldeol has joined #ruby
sevenseacat has quit [Quit: .]
Guest57022 has quit [Quit: This computer has gone to sleep]
<Papierkorb> Kellin: sorry, didn't see your response. Yes, it expects a string with the contents to parse, e.g. from File.read("foo.yaml")
dwithers has quit [Ping timeout: 244 seconds]
<dfockler> quazimodo: it's just a pub/sub server right?
dwithers has joined #ruby
atomical has quit [Quit: Textual IRC Client: www.textualapp.com]
araujo has joined #ruby
pawnbox has joined #ruby
Guest57022 has joined #ruby
<quazimodo> dfockler: i think so, but i'm not that certain
nux443 has quit [Ping timeout: 246 seconds]
<quazimodo> lot's of people seem to hate on eventmachine (i don't know why, i don't really use it) so the state of concurrency in ru
<quazimodo> You sonuvabitch!
<quazimodo> Don't play with my heart strings.
mleung has joined #ruby
<quazimodo> Space Dandy IS ending, though I doubt a return of CB would be announced like this. Pray for the best. No anime has engaged me like CB since it finished.
<quazimodo> akh. accidentaly copy paste (linux + trackpad + middle mouse emulation). My bad
nux443 has joined #ruby
towski_ has quit [Remote host closed the connection]
DonOtreply has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
EllisTAA has joined #ruby
codenapper has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
maletor has joined #ruby
devoldmx has joined #ruby
<darix> quazimodo: dont worry. we wont tell anyone
<dfockler> quazimodo: some people didn't like eventmachine for a number of reasons, but basically in ruby you've got celluloid or jruby/rubinius for 'real' threading
sferik has joined #ruby
<shevy> quazimodo I have not used eventmachine but I seem to remember having heard hard to debug bugs or problems
<radens> In python to get a slice of an array from the second element to the end you do: arr[1:-1]
<centrx> radens, arr[1..-1]
<shevy> radens almost same in ruby, you could try 1..-1 or perhaps 1..-2 or 2..-1 :)
<radens> thanks
GT-gta3 has quit [Quit: Textual IRC Client: www.textualapp.com]
rubie has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
fast_scooter has quit [Quit: fast_scooter]
devoldmx has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 264 seconds]
<jhass> radens: or depending on your situation .drop(1)
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 260 seconds]
AlexAltea has quit [Read error: Connection reset by peer]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
<quazimodo> So i don't actually use these frequenty at all tbh. And it occured to me that forking really isn't so bad if we were to use messaging & actors on light threads. I mean, unix forked processes are pretty cheap and we only need as many processes as we have processors (2-16 right) - that should be somewhat manageable. So the ruby concurrency 'thing' has me all confused
<quazimodo> so the state of ruby concurrency has me all confuzled
<quazimodo> I thought celluloid's goal was to handle this, although it looks like each actor gets it's own native (expensive) thread
leafybasil has quit [Remote host closed the connection]
KINGSABRI has joined #ruby
shinnya has joined #ruby
<quazimodo> And really all I really want is to have some websockets so i can continue to use ruby to model my domain challenges, because tbh I am piss pathetic at modelling problems in JS...
<shevy> that already sounds rather complicated to me what you have described so far :)
umgrosscol has joined #ruby
<havenwood> Anyone have a "Less Code" talk for RubyConf? http://rubycentral-cfp.herokuapp.com/events/rubyconf2015
northfurr has joined #ruby
troulouliou_div2 has joined #ruby
<quazimodo> shevy: in application or in concept?
fantazo has joined #ruby
eightfold has joined #ruby
<havenwood> A couple days left to submit a proposal.
zendrix has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 240 seconds]
<shevy> quazimodo I wouldn't know the first thing about it being applied to code, anything above Thread.new is outside my area
zendrix has joined #ruby
<quazimodo> heh
<quazimodo> so I thought celluloid is pretty awesome
<KINGSABRI> I need to do multiple acctoins (GETs, POSTs) request after a basci http authentication
<quazimodo> but i don't know if it's actors are light enough to have a hundred thousand of them lying around waiting for some possbile future IO (think chat webservers)
Iskarlar_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<KINGSABRI> I now how to do a basic auth but the issue how to keep cookies(including session) on hand to do father authintcated actions
bootstrappm has joined #ruby
<KINGSABRI> Any idea, plz
pen has quit [Remote host closed the connection]
<bootstrappm> ask again, I just here :)
<bootstrappm> ^ KINGSABRI
<KINGSABRI> I've to do multiple http actions (GETs and POST) but all of it are after authentication
mleung has quit [Read error: Connection reset by peer]
mleung has joined #ruby
<KINGSABRI> I need to do basic auth and keep authentication information(cookies) to do the father actions
c0m0 has quit [Ping timeout: 260 seconds]
<KINGSABRI> I need like a place holder for cookies to reuse it for farther actions
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<jhass> ?context
<ruboto> Please add more context to your question, what are you doing, why are you doing it, which libraries are involved. Post some code to gist if it clarifies your question.
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
voltalio has joined #ruby
mjuszczak has joined #ruby
jhack32 has quit [Quit: jhack32]
<bootstrappm> KINGSABRI I'd say 1. Do what jhass says and give us your real world problem. 2. Don't confuse cookies with state. You're asking how do you keep state right? (In this case how do you keep a use logged in after auth)
mustmodify has joined #ruby
mustmodify has left #ruby [#ruby]
jhack has joined #ruby
jhack has quit [Changing host]
jhack has joined #ruby
Chau has quit [Quit: Leaving]
Meow-J has joined #ruby
blue_deref has quit [Quit: Taking myself out of hear.]
bigkevmcd has quit [Quit: Outta here...]
ponga has joined #ruby
wldcordeiro has joined #ruby
jxpx777 has quit [Quit: Leaving...]
bronson has joined #ruby
mjuszczak has quit [Ping timeout: 255 seconds]
northfurr has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
AlexAltea has joined #ruby
Stumbler has quit [Ping timeout: 244 seconds]
ivanskie has joined #ruby
northfurr has joined #ruby
<miah> guh. tea isnt brewed. but i have an egg. i guess thats breakfast.
<havenwood> KINGSABRI: require 'http'; client = HTTP.basic_auth(user: 'user', pass: 'pass').headers('Cookie' => '9wq3w'); client.get('https://example.com'); client.post('https://example.com', json: { foo: 42 })
<shevy> miah you could put the egg into tea :)
enebo has joined #ruby
<darix> miah: you could have used the water from boiling the egg ;)
<darix> so
<miah> boiling egg? wtf.
<miah> i fried this =)
choke has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
<miah> my tea will be ready soon i guess.
snockerton has quit [Ping timeout: 265 seconds]
<havenwood> KINGSABRI: ^ There's some using the HTTP.rb gem to consider. Is that anything like what you're trying to do? Like others mentioned, say more!
<havenwood> some example code*
snockerton has joined #ruby
rfmind_ has quit [Ping timeout: 244 seconds]
towski_ has joined #ruby
rfmind_ has joined #ruby
jamesaxl|2 has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
johnflux has joined #ruby
<quazimodo> miah: me too, except mine's actually tea
<quazimodo> and none of that green crap
<quazimodo> mine's brown, like the well suntanned rump of a coconut beach adonis
Valeness has left #ruby [#ruby]
<johnflux> Is there any way to use a regex to match: apple,bannana so like: /(apple|bannana)+/ but then how do I specify that they are seperated with a comma?
<lagweezle> quazimodo: Brown, as in, rooibos, or an herbal, or just some form of black tea that has been properly steeped?
ghr has joined #ruby
tsou has joined #ruby
<quazimodo> lagweezle: properly steeped, ahmad earl grey
<miah> my tea is actually chai
<lagweezle> quazimodo: mmmmm
<quazimodo> miah: chai means tea.
<miah> right =)
<quazimodo> so
<quazimodo> yeha
<quazimodo> :)
<shevy> tea-tea
<lagweezle> It's all just camellia sinensis anyways... ;)
<quazimodo> shevy: ya, like naan bread. Mudafuck naan means bread
<shevy> hehe
jxpx777 has joined #ruby
<miah> chai has more than camellia though
<lagweezle> johnflux: Er, so you want <stuff> then literally "apple,bannana" then othe <stuff>, but only want to select the comma-paired fruit names?
<lagweezle> It is fascinating that green, oolong, and black tea are all the same thing, just different levels of oxidation...
pen has joined #ruby
<Kellin> Papierkorb: (so back from lunch now) - so what's the danger in slurping in a full YAML file, or is the expectation on that module that because YAML itself should not be trusted from random sources, you will know the size of the file being slurped?
B5X has joined #ruby
platzhirsch has quit [Ping timeout: 272 seconds]
<johnflux> lagweezle: right, comma-seperated fruit names
<lagweezle> johnflux: I'm not quite sure what you are asking for, in that ... Well ..
<lagweezle> johnflux: So you just want to select a pair (?) of words that are comma-joined?
<johnflux> a list
Gribo has quit [Read error: Connection reset by peer]
B5X has quit [Client Quit]
<johnflux> so: /(apple|bannana)(,apple|,bannana)+/
banjara has joined #ruby
* lagweezle ponders.
<johnflux> like that, but if there's any nicer way of writing it
<johnflux> so: /(apple|bannana)(,apple|,bannana)*/ rather
<lagweezle> Are the specific words important, or you just want whatever words there are, with one or more words, where the case of more than one word has commas between them? Or ...
<johnflux> lagweezle: specific words are important
blackmesa has quit [Ping timeout: 250 seconds]
greenbigfrog has left #ruby [#ruby]
<lagweezle> Are you after the case where you have a string with 'apple' in it, 'banana' in it, or 'apple,banana' in it, such that any of those three ocurences (sp?) are positive matches, and the specific one of those triggering the match are extracted as the matcher?
banjara has quit [Client Quit]
jamesaxl|2 has joined #ruby
<lagweezle> Related, http://rubular.com/ is awesome.
banjara has joined #ruby
<johnflux> lagweezle: sorry quick side question - how do I include one regex in another?
<suchness> johnflux: ()
<lagweezle> johnflux: Are you thinking along the lines of a recursive regex? Not sure that is actually supported. Alternatively, you can just write a more complex regex...
mary5030 has joined #ruby
<johnflux> like: regex1 = /(apple|bannana)/
timonv has joined #ruby
Iskarlar has joined #ruby
<lagweezle> So, it's dumb, but /(apple,banana|apple|banana)/ works ...
podman has joined #ruby
* lagweezle ponders.
<johnflux> regex2 = /#{regex1}(,#{regex1})*/
ghr has quit [Ping timeout: 246 seconds]
craysiii has joined #ruby
bronson has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
tsujp has joined #ruby
klaas has joined #ruby
<lagweezle> johnflux: Is it important that you actually capture the comma, or just wanting to make sure that if you capture more than one word they are paired by being comma seperated?
enebo has quit [Quit: enebo]
m3ow1504_x has joined #ruby
<johnflux> lagweezle: the latter
enebo has joined #ruby
<johnflux> I think I've solved it. This works: regex2 = /#{regex1}(,#{regex1})*/
Mendenhall has joined #ruby
<johnflux> ( I mean , I think it works. not checked yet)
<lagweezle> I don't think that will capture as you want, though.
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dreamer3 has quit [Quit: Leaving...]
platzhirsch has joined #ruby
casadei has joined #ruby
platzhirsch has left #ruby [#ruby]
jxpx777 has quit [Quit: Leaving...]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
rakm has joined #ruby
skade has joined #ruby
<lagweezle> Huh. johnflux, "/(apple),(banana)|(apple|banana)/" produces interesting results on http://rubular.com/
ndrei has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
<lagweezle> Hmm. But no, I don't *think* it is quite the results you want. :/
Dreamer3 has joined #ruby
<lagweezle> johnflux: Anyways, play around a lot on the site. It may be much simpler to do this without regex.
m3ow1504_x has joined #ruby
<havenwood> >> 'cat' =~ Regexp.union(/(this|that)/, /(that|cat)/)
<ruboto> havenwood # => 0 (https://eval.in/424379)
acke has quit [Remote host closed the connection]
dh64 has joined #ruby
Jackneill has joined #ruby
fast_scooter has joined #ruby
jgt has quit [Ping timeout: 244 seconds]
blueOxigen has joined #ruby
hinbody has quit [Quit: leaving]
XF has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
Torrieri has quit [Quit: Be back later ...]
davedev2_ has joined #ruby
leafybasil has joined #ruby
davedev24 has quit [Ping timeout: 264 seconds]
<shevy> hmm... Kernel.callcc
<shevy> "Generates a Continuation object"
<shevy> what a strange name
_djbkd has joined #ruby
jxpx777 has joined #ruby
youngbaks has quit [Quit: WeeChat 1.3]
EllisTAA has quit [Quit: EllisTAA]
devoldmx has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
unver has left #ruby [#ruby]
mistermocha has quit [Ping timeout: 246 seconds]
chinmay_dd has quit [Quit: Leaving]
rideh is now known as rideh^
Authenticator has quit [Quit: leaving]
devoldmx has quit [Ping timeout: 260 seconds]
m3ow1504_x has quit [Read error: Connection reset by peer]
Mia has quit [Write error: Connection reset by peer]
twatsicle has joined #ruby
twatsicle was kicked from #ruby by ChanServ [Banned: ban evasion]
m3ow1504_x has joined #ruby
ivanskie has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
<claw> http://paste.triple6.org/hEUM5A how can i hash a large file without consuming to much memory ?
<Mon_Ouie> claw: You can instantiate Digest::SHA2 objects and feed them chunks of your file with #<<
Mia has joined #ruby
<jhass> XF: that's just a useless part of a backtrace, the error should be above it
casadei has quit [Remote host closed the connection]
baweaver has joined #ruby
casadei has joined #ruby
lipoqil has joined #ruby
casadei has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
lampd1 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
DEA7TH_ has quit [Quit: DEA7TH_]
<claw> Mon_Ouie: http://paste.triple6.org/ZuXwSA theres als #update :)
pawnbox has quit [Remote host closed the connection]
<Mon_Ouie> You realize that you're still reading the whole file in memory here?
pawnbox has joined #ruby
baweaver has quit [Remote host closed the connection]
<claw> yeah just reconized it
baweaver has joined #ruby
krisquigley has joined #ruby
rideh^ is now known as rideh
pietr0 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
lipoqil has quit [Ping timeout: 252 seconds]
lkba has quit [Ping timeout: 272 seconds]
suchness has quit [Remote host closed the connection]
m3ow1504_x has joined #ruby
rehat_ has joined #ruby
centrx has quit [Quit: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."]
khebbie has joined #ruby
<claw> fine ? or can it be done better ?
lampd1 has joined #ruby
<Mon_Ouie> You're not closing the file, use the block form of File.open
<Mon_Ouie> File.open(file_name, "rb") { |io| do_stuff_with(io) }
krisquigley has quit [Ping timeout: 246 seconds]
m3ow1504_x has quit [Read error: Connection reset by peer]
KensoDev has joined #ruby
EllisTAA has joined #ruby
kidoz has joined #ruby
m3ow1504_x has joined #ruby
jaequery has joined #ruby
pencilcheck has joined #ruby
Torrieri has joined #ruby
platzhirsch has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
pen has quit [Ping timeout: 246 seconds]
christiandsg has joined #ruby
Mia has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
denisemccoy has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 244 seconds]
quazimodo has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
Guest57022 has quit [Quit: Leaving]
snockerton has quit [Read error: Connection reset by peer]
snockerton1 has joined #ruby
I has joined #ruby
skade has quit [Ping timeout: 252 seconds]
northfurr has quit [Quit: northfurr]
christiandsg has quit [Ping timeout: 265 seconds]
I is now known as Guest81513
northfurr has joined #ruby
darkf has quit [Quit: Leaving]
Guest81513 has left #ruby [#ruby]
ramfjord has joined #ruby
dopie has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
northfurr has quit [Client Quit]
denisemccoy has joined #ruby
AccordLTN has quit []
symm- has joined #ruby
arooni-mobile has joined #ruby
<jhass> XF: that's just a useless part of a backtrace, the error should be above it
DCameronMauch has joined #ruby
ghr has joined #ruby
skade has joined #ruby
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<XF> jhass thats the error
<jhass> nope, not all of it
DCameronMauch has quit [Client Quit]
nigg has joined #ruby
<al2o3-cr> !ops
<ruboto> fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, miah, workmad3, Coraline, drbrain, zenspider, slyphon, Aria, ljarvis, rubyhacker1, baweaver
<Aria> Yesss?
<drbrain> hello
<al2o3-cr> nigg
<Mon_Ouie> !ban nigg !T 1d Bad nick
nigg was banned on #ruby by ChanServ [nigg!*@*]
nigg was kicked from #ruby by ChanServ [Banned: Bad nick]
<Aria> Thanks
<al2o3-cr> :)
khebbie has quit [Remote host closed the connection]
platzhirsch has joined #ruby
<jhass> so what's on /home/bot/devil/lib/requests.rb:434 ?
skade has quit [Ping timeout: 250 seconds]
<Mon_Ouie> ?code XF
<ruboto> XF, We can't help you without your code, please post it to https://gist.github.com
<Mon_Ouie> (Just the one line probably won't do)
Lucky__ has quit [Ping timeout: 252 seconds]
jackjackdripper has joined #ruby
<XF> this is that line
<Mon_Ouie> ?justabot
<ruboto> I'm just a bot. You don't need to address me.
zendrix has quit [Remote host closed the connection]
<jhass> XF: $adminbot is nil (and globals are evil, avoid using them
jackjackdripper has quit [Client Quit]
snockerton1 has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
<XF> oh
Kallis has joined #ruby
Kallis has quit [Max SendQ exceeded]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Mon_Ouie> Also if you're using Cinch, as it seems to be the case, why write RAW IRC commands? Cinch most certainly has a method to send messages to a channel
snockerton has joined #ruby
platzhirsch has quit [Ping timeout: 272 seconds]
<XF> what should i replace with $adminbot?
<al2o3-cr> XF: Channel(your_channel).send(your_message)
<XF> al203-cr that script sends message on other irc
nzst has joined #ruby
<jhass> XF: at least use a CONSTANT so you get warnings if you reassign
<al2o3-cr> XF: yep it will send it to what ever channel you specify
leat1 has quit [Remote host closed the connection]
choke has quit [Quit: Textual IRC Client: www.textualapp.com]
solars has quit [Ping timeout: 260 seconds]
leat1 has joined #ruby
jeadre has quit [Remote host closed the connection]
<XF> al203-cr ik but i said my bot is connected on many ircs but that message i want my bot to post those message on my irc in my channel
pawnbox has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<al2o3-cr> XF: In ircs you networks or channels?
<al2o3-cr> *you mean
EllisTAA has quit [Quit: EllisTAA]
<XF> like people request something
jeadre has joined #ruby
<XF> and i want my bot to send that request message to other irc which i specify and the channel i specify
<al2o3-cr> XF: idk then :(
<XF> aww
skade has joined #ruby
<al2o3-cr> XF: there is also #cinch if nobody can help here :)
northfurr has joined #ruby
skade has quit [Client Quit]
_savage has joined #ruby
<_savage> Hi
Torrieri has quit [Quit: Be back later ...]
<_savage> What does this mean: Your Ruby version is 2.0.0, but your Gemfile specified 2.1.3?
XF has left #ruby [#ruby]
ghr has quit [Ping timeout: 250 seconds]
<_savage> Does this refer to the default ruby in the path?
<_savage> Bundle doesn't install this by default?
<nzst> bundle doesn't install your ruby version
<Mon_Ouie> It refers to the version that you're using to run bundler
<_savage> ah i see
<_savage> so if the Gemfile asks for 2.1.3 i need to run bundle using that version of ruby?
Limix has quit [Quit: Limix]
Lucky__ has joined #ruby
bkxd has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bokrug has joined #ruby
Swappticon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JamesToomey has joined #ruby
JamesToomey was kicked from #ruby by ChanServ [Banned: http://ruby-community.com/pages/user_rules#rule_2_10]
howdoi has quit [Quit: Connection closed for inactivity]
Mia has joined #ruby
andrewcarter has joined #ruby
<radens> What is the best way to find an element in an array and put it at the head?
chipotle has joined #ruby
<radens> I can think of a way iterating with an index, but there most be an easier approach.
s2013 has joined #ruby
<jhass> are there duplicates?
<radens> possible
<jhass> then a.unshift(a.delete(element)) it's not
Swappticon has joined #ruby
<jhass> a.unshift(a.delete_at(a.index(element))) ?
<darix> jhass: wouldnt that give a nice endless loop?
vdamewood has joined #ruby
<jhass> huh, where's a loop?
<radens> jhass: okay, what if element is a hash and I want the element which has the :isnamevar key?
<Mon_Ouie> index accepts a block
<jhass> ^
<darix> a=%w{ a a b c d d e e f } ; n=a.count('e') ; a.reject! { |e| e == 'e' } ; n.times { a.unshift 'e' } ; a
<radens> ah cool
mistermocha has joined #ruby
<jhass> uh, didn't read the requirements as putting all of them at the start, only the first match
<Mon_Ouie> ?example radens
<ruboto> radens, Please provide us with an example of valid input for your problem, the output that you're getting, and the output that you were expecting.
Guest8326 has quit [Quit: Page closed]
nobitanobi has quit [Remote host closed the connection]
ruby-lang342 has joined #ruby
EllisTAA has joined #ruby
<radens> jhass: actually just the first one will probably do.
<jhass> then index with a block should suffice
zendrix has joined #ruby
Logan__ has joined #ruby
skade has joined #ruby
zendrix has quit [Remote host closed the connection]
Logan__ is now known as Guest64617
<radens> yay, thanks jhass
Bokrug has left #ruby [#ruby]
blackmesa has joined #ruby
monk has joined #ruby
Guest64617 has quit [Client Quit]
monk is now known as Guest27289
nobitanobi has joined #ruby
_Logan_ has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
andikr has quit [Read error: Connection reset by peer]
ruby-lang342 has quit [Ping timeout: 246 seconds]
<_savage> so if the Gemfile asks for 2.1.3 i need to run bundle using that version of ruby?
mistermocha has quit [Ping timeout: 256 seconds]
j_mcnally has joined #ruby
rubie has joined #ruby
baweaver has joined #ruby
nobitanobi has quit [Ping timeout: 272 seconds]
d5sx43 has joined #ruby
jhack_ has joined #ruby
jhack_ has left #ruby [#ruby]
<jhass> yes sadly
tsujp has quit [Quit: tsujp is snoozing]
<jhass> I think patchlevel locks are not really necessary these days
* baweaver shrugs
iateadonut has quit [Quit: Leaving.]
<jhass> I tend to just edit those out and run the latest version of the minor
m3ow1504_x has quit [Remote host closed the connection]
Guest27289 has quit [Quit: Leaving]
maletor has quit []
rubie has quit [Remote host closed the connection]
kidoz has quit [Quit: Ухожу я от вас]
<miah> at work, we make our .ruby-version call '2.x.x'. our systems use rbenv, so we install the newest release of ruby as '2.x.x'. it works.
<baweaver> 1.9.2 -> 1.9.3 was the last one that would have been a real pain.
jhack_ has joined #ruby
<jhass> miah: it's just working around an rbenv anti-feature IMO
<miah> ya
jhack has quit [Quit: jhack]
leat1 has quit [Ping timeout: 250 seconds]
<miah> ive been meaning to switch the systems to chruby, i just havent yet
<jhass> it's the main reason I do not recommend rbenv actually
jhack_ has left #ruby [#ruby]
d5sx43 has quit [Remote host closed the connection]
<havenwood> chruby \o/
polpak has quit [Quit: leaving]
jhack has joined #ruby
jhack has quit [Changing host]
jhack has joined #ruby
webopsx has joined #ruby
<jhass> rvm and chruby are both fine with 2.0, 2.1, 2.2 but no rbenv has to be special
d5sx43 has joined #ruby
enebo has joined #ruby
_savage has quit [Quit: leaving]
leat1 has joined #ruby
codecop has joined #ruby
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m3ow1504_x has joined #ruby
lkba has joined #ruby
ghr has joined #ruby
dagda1 has joined #ruby
arup_r has joined #ruby
radgeRayden_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
DLSteve has joined #ruby
PaulCapestany has quit [Quit: .]
denisemccoy has quit [Remote host closed the connection]
tuxero has quit [Quit: tuxero]
pencilcheck has quit [Remote host closed the connection]
ruby-lang284 has joined #ruby
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snockerton has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 240 seconds]
_Logan_ has quit [Ping timeout: 246 seconds]
PaulCapestany has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
leat1 has quit [Remote host closed the connection]
sshuff|gone is now known as sshuff
leat1 has joined #ruby
Legitkrillin has quit [Quit: Leaving]
__Logan__ has joined #ruby
christiandsg has joined #ruby
sarkyniin has joined #ruby
toretore has joined #ruby
DEA7TH_ has joined #ruby
DEA7TH_ is now known as DEA7TH
<failshell> i want to stream the output of commands running on a shell to something viewable with with a browser. i could use sinatra. anything else you can think of?
Lucky__ has quit [Ping timeout: 250 seconds]
<baweaver> I would put it in a cronjob, aggregate the relevant data in either log files or a database, and go off of there
<baweaver> question is if you really need a stream or not
PaulCapestany has quit [Quit: .]
<baweaver> if you do, that involves a lot more work, mainly around something like Kafka or Logstash
<failshell> i do
<failshell> we already have that. that's not what i want
<baweaver> which 'that' are you referring to?
<failshell> logstash
<baweaver> what's wrong with it?
christiandsg has quit [Ping timeout: 265 seconds]
PaulCapestany has joined #ruby
<failshell> not the same use case. i need to have a browser opened and look at the job output
<failshell> logstash doesnt really fit that case
<baweaver> Kafka would work.
pietr0 has quit [Quit: pietr0]
<baweaver> though I would more suggest getting a NodeJS server on there.
ttilley has joined #ruby
ttilley has joined #ruby
HoloIRCUser6 has joined #ruby
<baweaver> it'd work better to use the websocket features there
quazimodo has joined #ruby
<baweaver> Rails / Sinatra don't exactly play nicely with streams
<baweaver> it can be done, no doubt, but you'll have less headaches just using express
<havenwood> ActionCable to the rescue!
<baweaver> Rails 5
allcentury has quit [Ping timeout: 250 seconds]
[k- has quit [Ping timeout: 264 seconds]
<baweaver> admittedly I don't have much confidence in that after ActionController Live
<baweaver> but to each their own
<wasamasa> ActionAction
<lagweezle> Hmmm.
<lagweezle> 'oauth' the gem had it's last releast Sept 4, 2012 ... this makes me wary.
<lagweezle> Is there a different OAuth v1 gem I should be using?
<dfockler> Doesn't OAuth v2 exist?
<havenwood> failshell: Considered event-stream?
<lagweezle> dfockler: Yes, but I don't *think* that JIRA is using it...
<dfockler> ah
<lagweezle> I *kind of* understand OAuth, and I'm pretty sure they are completely incompatible.
zendrix has joined #ruby
<jhass> dfockler: doesn't make oauthv1 useless. Let's keep in mind the oauth1 author had his name removed from the oauth2 rfc
<dfockler> whoa!
<dfockler> didn't know about that drama
<havenwood> failshell: ^ one example, looking for better
<lagweezle> Basically, I understand it enough to use it, but not in a way that I would yet trust it for a "secure" system. I'm working with relatively low-risk data.
<lagweezle> dfockler: Yah! It's ... kind of terrifying.
<failshell> havenwood: thanks looking at it now
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lagweezle> (that he went so far as to say he doesn't want his name on the OAuth2 RFC)
ghr has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
bronson has quit [Remote host closed the connection]
<dfockler> lagweezle: there's a jira-ruby gem
bronson has joined #ruby
s2013 has joined #ruby
Swappticon has quit [Quit: Textual IRC Client: www.textualapp.com]
arooni-mobile has quit [Ping timeout: 246 seconds]
<havenwood> failshell: relocating, but showterm is nifty: http://showterm.io
<havenwood> back in a few
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
<lagweezle> dfockler: I'm using it. It doesn't handle the OAuth handshaking and token/secret exchanges, it only, optionally, uses the access token, once acquired, as a means of authentication.
<dfockler> ah sorry for being so uninformed :P
allcentury has joined #ruby
<lagweezle> dfockler: Heh. I greatly appreciate the effort! I'm re-writing our chat bot using a very different approach (REST service with webhook triggers) vs XMPP live connection. While doing so, I'm trying to be smart... Trying.
<dfockler> at least you are trying
<baweaver> “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”
Pumukel has joined #ruby
<baweaver> - Brian Kernighan
<lagweezle> Oooooh ... 'oauth' is a CORE library ...
<wasamasa> don't kill it
septor has joined #ruby
<wasamasa> or ruby is doomed
<lagweezle> That may explain why rubygems.org doesn't list a homepage, and has a really old last update time.
<septor> ?guys
<ruboto> Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
<lagweezle> wasamasa: wha'?
<jhass> !mute septor
<baweaver> !mute septor
<jhass> oh well
<wasamasa> lagweezle: you called it a CORE library
<baweaver> there it goes
northfurr has quit [Ping timeout: 250 seconds]
<lagweezle> wasamasa: I suspect I'm missing something ...
* wasamasa stabs lagweezle into the core
<craysiii> im glad you just mute people and dont outright ban them.
kirun has joined #ruby
* lagweezle feels very dense right now. :3
voltalio has joined #ruby
<jhass> craysiii: makes you sound like one of them
<jhass> but ?ot
ghr has quit [Ping timeout: 264 seconds]
<jhack> b
<baweaver> hehe
<baweaver> ?ot craysiii
<ruboto> craysiii, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
EllisTAA_ has joined #ruby
<jhack> does colloquy automatically have sasl activateD?
HoloIRCUser6 has quit [Remote host closed the connection]
EllisTAA has quit [Ping timeout: 240 seconds]
EllisTAA_ is now known as EllisTAA
<baweaver> Most of the time you have to enable it on any client
yqt has joined #ruby
<jhack> ook
<baweaver> all else fails, look into the docs.
jhack has left #ruby [#ruby]
BlueShoesYes has joined #ruby
jhack has joined #ruby
jhack has quit [Client Quit]
Limix has joined #ruby
ReK2 has quit [Remote host closed the connection]
EllisTAA has quit [Client Quit]
Musashi007 has joined #ruby
BlueShoesYes has quit [Remote host closed the connection]
JoshL has quit []
zenguy_pc has quit [Read error: Connection reset by peer]
fast_scooter has quit [Quit: fast_scooter]
zenguy_pc has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
Limix has quit [Client Quit]
zenguy_pc has quit [Read error: Connection reset by peer]
roxtrong_ has joined #ruby
zenguy_pc has joined #ruby
TheWhiteOx has joined #ruby
zenguy_pc has quit [Read error: Connection reset by peer]
zenguy_pc has joined #ruby
__Logan__ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ruby-lang284 has quit [Quit: Page closed]
TheWhiteOx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hoggy_ has joined #ruby
casadei has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
ledestin has joined #ruby
bkxd has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
catoblepa has joined #ruby
hoggy_ has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
lipoqil has joined #ruby
quazimodo has quit [Ping timeout: 265 seconds]
DEA7TH has joined #ruby
devoldmx has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
maletor has joined #ruby
lipoqil has quit [Ping timeout: 246 seconds]
baweaver has quit [Remote host closed the connection]
mistermocha has joined #ruby
UtkarshRay has quit [Quit: Leaving]
devoldmx has quit [Ping timeout: 250 seconds]
pen has joined #ruby
bronson has quit [Remote host closed the connection]
pietr0 has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
quazimodo has joined #ruby
BlueShoesYes has joined #ruby
BlueShoesYes has left #ruby [#ruby]
Mendenhall has quit [Ping timeout: 255 seconds]
ruby-lang578 has joined #ruby
BlueShoesYes_ has joined #ruby
enebo has quit [Ping timeout: 244 seconds]
enebo has joined #ruby
workmad3 has joined #ruby
nfk has joined #ruby
sargas has joined #ruby
BlueShoesYes has joined #ruby
sargas has quit [Client Quit]
<BlueShoesYes> Finally registered! Hows it going all?
<pipework> frosty
krisquigley has joined #ruby
rbennacer has quit [Remote host closed the connection]
pen has quit [Remote host closed the connection]
BlueShoesYes_ has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
Narzew has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby
pen has joined #ruby
Blaguvest has joined #ruby
rehat_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 250 seconds]
d5sx43 has quit [Quit: Leaving...]
rubie has joined #ruby
<BlueShoesYes> So ruby has Hashes. Does it also have structs? Or are hashes just another name for a struct?
GnuYawk has quit [Read error: Connection reset by peer]
<craysiii> classes?
<jhass> it does have Struct but that's just a shortcut to creating a class with a bunch of attributes
<baweaver> >> {a: 1, b: 2} # hash
<ruboto> baweaver # => {:a=>1, :b=>2} (https://eval.in/424451)
<jhass> OpenStruct is rather slow, prefer Hash
krisquigley has quit [Ping timeout: 264 seconds]
<baweaver> >> o = OpenStruct.new(a: 1, b: 2); "#{o.a} #{o[:a]}"
<ruboto> baweaver # => uninitialized constant OpenStruct (NameError) ...check link for more (https://eval.in/424452)
Kislik has joined #ruby
<baweaver> figures
<baweaver> was it ostruct? always forget
<jhass> require "ostruct"
Kislik has left #ruby [#ruby]
denisemccoy has joined #ruby
<baweaver> >> require 'ostruct'; o = OpenStruct.new(a: 1, b: 2); "#{o.a} #{o[:a]}"
<ruboto> baweaver # => "1 1" (https://eval.in/424453)
<apeiros> yeah. sadly stdlib sometimes deviates from conventions.
<apeiros> optparse being another example.
<apeiros> and it'd be *so easy* to deprecate.
nanoz has quit [Quit: <3]
<baweaver> I rarely use them so I always forget :P
<baweaver> BlueShoesYes: but briefly, yes, they're different
dionysus69 has joined #ruby
bigredboots has quit []
pyon has quit [Read error: Connection reset by peer]
<BlueShoesYes> gotcha, I was just making sure there was some form of similarity because it sounded a lot like a c++ struct to me when it was being explained. So to be clear, use hashes until i understand more reasons to use a struct.
<jhass> OpenStruct != Struct
<jhass> quite distinct things in fact
pyon has joined #ruby
<jhass> but yeah, stick to hashes for now
sarkyniin has quit [Quit: Quit]
sshuff is now known as sshuff|gone
<Mon_Ouie> And you'd probably use a regular class more often, so you can define methods other than readers/writers to manipulate your data
<baweaver> ^
<jhass> well, Struct.new does take a block which you can define methods in
sargas has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
pyon has quit [Remote host closed the connection]
<BlueShoesYes> that makes sense. My inquiry springs from me going through RailsForZombies.
denisemccoy has quit [Ping timeout: 255 seconds]
<Mon_Ouie> Right, I mean as opposed to hashes
lipoqil has joined #ruby
pyon has joined #ruby
Dzejmskrokan has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
jxpx777 has quit [Quit: Leaving...]
umgrosscol has quit [Remote host closed the connection]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
BlueShoesYes is now known as BlueShoesYes_
failshell has quit []
Narzew has joined #ruby
jxpx777 has joined #ruby
BlueShoesYes has joined #ruby
sdwrage__ has joined #ruby
ksteck has joined #ruby
rbennacer has joined #ruby
jeadre has quit [Remote host closed the connection]
sdwrage_ has quit [Ping timeout: 265 seconds]
jeadre has joined #ruby
m3ow1504_x has quit [Read error: No route to host]
m3ow1504_x has joined #ruby
xet7_ has joined #ruby
vdamewood has quit [Quit: Life beckons.]
pen has quit [Remote host closed the connection]
xet7_ has left #ruby [#ruby]
TheWhiteOx has joined #ruby
jgt has joined #ruby
xet7bot has joined #ruby
emdub has left #ruby [#ruby]
Lucky__ has joined #ruby
anisha has quit [Quit: Leaving]
silkfox has joined #ruby
chrissonar has joined #ruby
chrissonar has quit [Client Quit]
<BlueShoesYes_> Anyone have an opinion on LearnRubyTheHardWay? I'm not terribly far into it but it seems helpful so far.
freerobby has quit [Quit: Leaving.]
bronson has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
<craysiii> it has high praises here.
denisemccoy has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
ruby-lang344 has joined #ruby
chrissonar has joined #ruby
mary5030 has joined #ruby
chrissonar has quit [Client Quit]
<baweaver> It's decent
<baweaver> though really depends on your skill level honestly.
silkfox has quit [Ping timeout: 244 seconds]
roxtrong_ has quit [Read error: Connection reset by peer]
roxtrong_ has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
<baweaver> For people who want to know the ruby way of things, Eloquent Ruby tends to win.
<baweaver> Well Grounded Rubyist tends to be a good intro
<baweaver> The Ruby Way is a broad overview of everything.
<BlueShoesYes_> Skill level noob imo. Ive made some very basic apps (calculator, string manipulation kinda stuff) and i have some very mild experience in c/c++
<baweaver> WGR and Practical Object Oriented Design in Ruby
<baweaver> LRtHW is decent
jxpx777 has quit [Quit: Leaving...]
DEA7TH has quit [Quit: DEA7TH]
tlolczyk has quit [Quit: Leaving]
ruby-lang344 has quit [Ping timeout: 246 seconds]
atomical has joined #ruby
bluish has joined #ruby
<pipework> BlueShoesYes_: I'm a fan of picking up metaprogramming ruby first, reading the first half which teaches the object model ruby uses, then going for the black book, The Well-Grounded Rubyist. After that, there's a lot of fun stuff.
pen has joined #ruby
ckinniburgh has quit [Quit: Leaving]
Novice201y has joined #ruby
mrtomme has quit [Ping timeout: 264 seconds]
<Novice201y> Hello. Is there cloud IDE for RailsCast color syntax?
mrtomme has joined #ruby
<BlueShoesYes_> pipework: woah. Book hopping huh? Is there a reason you do not like/use LRtHW
dagda1 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
<pipework> BlueShoesYes_: I just don't jive well with zed's voice as an author.
<pipework> He's perfectly fine and chummy though, if not a bit confrontational, if you don't mind that.
<pipework> Though I'm not, nor have I ever been, his intended audience.
rubie has quit [Remote host closed the connection]
dagda1 has joined #ruby
xelkarin has joined #ruby
<baweaver> It's decent, I just think other books are better honestly.
<pipework> BlueShoesYes_: The latter half of metaprogramming ruby is fun and exciting, but it's not really all that beneficial to someone learning ruby.
<BlueShoesYes_> pipework: gotcha. So far I like the whole: "Actually type and run this" approach. Which I guess you could implement in any other kind of book.
<pipework> BlueShoesYes_: Most books come with "You'll learn better by typing this out" these days, at least from online publishers.
<BlueShoesYes_> baweaver: fair enough, I'm gunna make a list of the books you and others have recommended and look em up once I'm home from work
<baweaver> Just be dead sure to not try and make everything into metaprogramming
sargas has quit [Quit: This computer has gone to sleep]
<pipework> Everything is already metaprogramming, you'll get there yourself too!
<baweaver> 9/10 times you won't need it and it'll make a huge mess. That 1/10 time though makes it worth it.
<BlueShoesYes_> pipework: what does that mean?
<pipework> BlueShoesYes_: You'll get it when you get there.
* baweaver just doesn't like cleaning up after metaprogramming messes
Soda has quit [Remote host closed the connection]
<pipework> Turtles, delegation, that kind of thing.
<BlueShoesYes_> #colormeconfused
<pipework> Is that color blue?
<BlueShoesYes_> typically
<BlueShoesYes_> hah
<baweaver> consider method_missing, it's extremely slow
opensource_ninja has joined #ruby
<baweaver> and notoriously annoying to debug on occasion
pawnbox has joined #ruby
<shevy> :)
<baweaver> but when used right, it can do some amazing things
<baweaver> just make sure it's worth the cost of traversing the entire inheritance stack to decide to get there.
last_staff has quit [Quit: g'nite]
<BlueShoesYes_> haha you guys are way over my head I need to do more learning.
<pipework> Professional bruvnors define delegates and properly implement respond_to_missing? too
denisemccoy has quit [Remote host closed the connection]
<shevy> bruvnors?
ramfjord has quit [Ping timeout: 256 seconds]
<pipework> shevy: I like to portmanbreau words together
ramfjord has joined #ruby
blueOxigen has quit [Ping timeout: 246 seconds]
based_p has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
krisquigley has joined #ruby
TheWhiteOx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
amclain has joined #ruby
voltalio has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
Limix has joined #ruby
arooni-mobile has joined #ruby
mistermocha has joined #ruby
Novice201y has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sdwrage__ has quit [Quit: This computer has gone to sleep]
sargas has joined #ruby
DEA7TH has joined #ruby
<shevy> I don't know what portmanbreau is but it sounds like tasty red wine
[Butch] has quit [Quit: Linkinus - http://linkinus.com]
D9 has joined #ruby
AccordLTN has joined #ruby
<Kellin> do you mean portmanteau?
cball has quit [Quit: Leaving]
northfurr has joined #ruby
d2dchat has quit [Remote host closed the connection]
pawnbox has joined #ruby
<pipework> Kellin: No. There was a joke.
mistermocha has quit [Ping timeout: 272 seconds]
ngscheurich has quit [Ping timeout: 252 seconds]
yeticry has quit [Read error: Connection reset by peer]
<Kellin> sure sign I should go home for the weekend, my internal joke-detector failed
voltalio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
<BlueShoesYes_> Kellin: Your Friday is showing
D9 has quit [Client Quit]
Jackneill has quit [Remote host closed the connection]
FernandoBasso has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
cball has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
danman_ has joined #ruby
danman has quit [Ping timeout: 265 seconds]
danman_ is now known as danman
danman has quit [Client Quit]
danman has joined #ruby
denisemccoy has joined #ruby
danman has quit [Client Quit]
al2o3-cr has quit [Ping timeout: 244 seconds]
sdwrage__ has joined #ruby
D9 has joined #ruby
D9 has quit [Client Quit]
D9 has joined #ruby
ttilley has quit [Quit: Linkinus - http://linkinus.com]
Rickmasta has joined #ruby
MasterPiece has quit [Quit: Leaving]
syath has quit [Quit: WeeChat 1.2]
rubie has joined #ruby
paulcsmith has joined #ruby
al2o3-cr has joined #ruby
m3ow1504_x has quit [Read error: Connection reset by peer]
victortyau has quit [Ping timeout: 240 seconds]
yeticry has quit [Ping timeout: 246 seconds]
mary5030 has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m3ow1504_x has joined #ruby
christiandsg has joined #ruby
victortyau has joined #ruby
yeticry has joined #ruby
RossBuchenwald has joined #ruby
SenpaiSilver has quit [Quit: Leaving]
SenpaiSilver has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
<jhass> !ban RossBuchenwald !T 1d bad nick
RossBuchenwald was banned on #ruby by ChanServ [RossBuchenwald!*@*]
RossBuchenwald was kicked from #ruby by ChanServ [Banned: bad nick]
arooni-mobile has quit [Ping timeout: 246 seconds]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has quit [Remote host closed the connection]
<atmosx> hello
<atmosx> lots of kb lately on ruby
bluish has quit [Quit: WeeChat 1.2]
christiandsg has quit [Ping timeout: 265 seconds]
arup_r has quit [Quit: Leaving]
<pipework> jhass: How is RossBuchenwald a bad nick?
<baweaver> ?ot pipework
<ruboto> pipework, this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
vickleton has joined #ruby
<jhass> pipework: background is in #ruby-offtopic and try wikipedia
<pipework> Ah cause all I was seeing was memorials to someone else of another name.
Torrieri has joined #ruby
Torrieri has joined #ruby
djcp has quit [Ping timeout: 244 seconds]
FernandoBasso has quit [Quit: leaving]
<pipework> I would suggest to consider the common pattern of using #ruby-ops for other things of that nature. I'd gladly join there to ask, but would rather not expose myself to the offtopic channel.
DEA7TH has joined #ruby
ldnunes has quit [Quit: Leaving]
sdwrage__ has quit [Read error: Connection reset by peer]
<pipework> s/another/the same/
northfurr has quit [Quit: northfurr]
<jhass> pipework: if you want to discuss bans please join #ruby-banned (I believe we mention that in the rules)
rbennace_ has joined #ruby
<pipework> jhass: I'm good. I was just suggesting to follow the norm, though I don't have any doubt that I will be heard in earnest about it.
arooni-mobile has joined #ruby
<atmosx> jhass: is that the real name of DPR from SR?
fmcgeough has quit [Quit: fmcgeough]
* atmosx being curious
<jhass> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
<shevy> god
rodfersou has quit [Ping timeout: 250 seconds]
<shevy> this usage of ?ot is so childish
<atmosx> god or good?
<pipework> shevy: There are new leaders in charge miaow. Best to conform.
opensource_ninja has quit [Quit: opensource_ninja]
<pipework> shevy: Can I query you, sir?
TheWhiteOx has joined #ruby
sdwrage__ has joined #ruby
<shevy> I don't know! I have to click on the tab ... :(
D9 has quit [Quit: Leaving]
rbennacer has quit [Ping timeout: 245 seconds]
DEA7TH has quit [Quit: DEA7TH]
DylanJ has joined #ruby
rbennace_ has quit [Ping timeout: 240 seconds]
<atmosx> xcha on linux
<atmosx> should work with some shortcut shevey, ctrl + 1,2,3
phillip has left #ruby ["Leaving"]
<shevy> what about 11 tabs :)
<shevy> though that reminds me, I should use an IRC client in ruby
<pipework> shevy: Weechat has ruby stuff.
Mia has quit [Quit: Leaving]
<shevy> yeah but for some reason, and I am not sure, I often mispaste in irssi and weechat like clients
AkashicLegend has joined #ruby
<AkashicLegend> which is easier for web development
<AkashicLegend> ruby on rails or django. I already know some python but 0 ruby
<jhass> ?rails AkashicLegend
<ruboto> AkashicLegend, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<shevy> you probably have to invest some time to pick up ruby first, so django may be easier
baweaver has quit [Remote host closed the connection]
<shevy> you could possibly try padrino + sinatra
<AkashicLegend> yeah but I'm a lazy guy. I don't want to spend hours trying to do something simple.
<pipework> AkashicLegend: Ease is a hard thing to quantify.
<AkashicLegend> django looks like a lot of configuration
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> indeed
<shevy> I don't know if any of these frameworks are simple really
cornerma1 has joined #ruby
JoshGlzBrk has joined #ruby
<shevy> back in the old .cgi era we didn't even know what a database was!
<jhass> but it's highly subjective, you should invest the time for http://guides.rubyonrails.org/getting_started.html and the equivalent for django and make your own decision
bruno- has joined #ruby
nettoweb has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
TheWhiteOx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
cschneid_ has quit [Remote host closed the connection]
jxpx777 has joined #ruby
<shevy> Anyone knows of any gems that does a lot of introspection? We have the ruby Method#source_location... we also have pry + method_source ... I wonder if there is any other project worth to look into in this regards
cornerman has quit [Ping timeout: 252 seconds]
cornerma1 is now known as cornerman
nettoweb has quit [Max SendQ exceeded]
Mon_Ouie has quit [Ping timeout: 245 seconds]
nzst has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoaguilar has joined #ruby
workmad3 has joined #ruby
duggiefresh has quit [Remote host closed the connection]
wldcordeiro__ has joined #ruby
wldcordeiro has quit [Read error: Connection reset by peer]
northfurr has joined #ruby
k3asd` has joined #ruby
devoldmx has joined #ruby
v4n has joined #ruby
PaulCapestany has quit [Quit: .]
Azure|dc has quit [Quit: Oops.]
sdwrage__ has quit [Quit: This computer has gone to sleep]
allcentury has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
JoshL has joined #ruby
PaulCapestany has joined #ruby
denisemccoy has quit []
devoldmx has quit [Ping timeout: 245 seconds]
Dzejmskrokan has quit []
The_Phoenix has quit [Quit: Leaving.]
Musashi007 has quit [Quit: Musashi007]
devdazed has quit [Quit: Computer has gone to sleep.]
theery has quit [Remote host closed the connection]
rehat_ has joined #ruby
siaw has joined #ruby
roxtrong_ has quit [Remote host closed the connection]
<siaw> in this ruby piece, why does the array come out as “3”, “5” and “7” even though the to_i method was applied? https://gist.github.com/siaw23/be613c1048d15393707d
centrx has joined #ruby
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> siaw: sort_by is a method used to evaluate the sort order -- it does not change the elements in the array
<pipework> siaw: It's just sorting by those values, it.. ^
PaulCapestany has quit [Quit: .]
<siaw> pipework: thank you
<siaw> eam: thanks :)
<pipework> :D
<eam> siaw: you could append a .map &:to_i
<pipework> You could also just map(&:to_i).sort as well
<siaw> eam: which won’t do any sorting :)
<eam> siaw: right. appended to the expression
<siaw> ah you mean to make each element an integer. right
<pipework> >> [1, "5", 2, "7", "3"].map(&:to_i).sort
<ruboto> pipework # => [1, 2, 3, 5, 7] (https://eval.in/424473)
Musashi007 has joined #ruby
dfockler has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
<siaw> so #sort and #sort_by are essentially the same thing?
<pipework> no
NeverDie has joined #ruby
<eam> siaw: sort {|a,b| a <=> b}
<siaw> if no, then it means the #sort in [1, "5", 2, "7", "3"].map(&:to_i).sort is only sorting just the integers
<siaw> i get it
<siaw> :)
robbyoconnor has joined #ruby
<siaw>
<eam> siaw: with sort, you have full control over the sort function - sort_by is just a way to do a simple universal translation
dagda1_ has joined #ruby
moss has quit [Read error: Connection reset by peer]
theery has joined #ruby
theery has quit [Remote host closed the connection]
baweaver has joined #ruby
codecop has quit [Quit: Išeinu]
pauly_oc has quit [Ping timeout: 255 seconds]
sdwrage__ has joined #ruby
DLSteve has quit [Ping timeout: 255 seconds]
victortyau has quit [Quit: Leaving]
dfockler has joined #ruby
BlueShoesYes_ has quit [Ping timeout: 246 seconds]
decoponio has quit [Read error: Connection reset by peer]
gamename has quit [Remote host closed the connection]
decoponio has joined #ruby
gamename has joined #ruby
BlueShoesYes has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
<siaw> ok so i’m learning about the #sort method in ruby. here i have a class. without creating the #<=> method i get an error, after creating it the error is gone and the #sort works. but i didn’t create any def sort; blah blah; end methods. how’s that? https://gist.github.com/siaw23/be613c1048d15393707d
gamename has quit [Ping timeout: 244 seconds]
stef204 has joined #ruby
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> siaw, #sort is on Array, and uses the #<=> method of the elements of the array
<centrx> >> 5 <=> 1
<ruboto> centrx # => 1 (https://eval.in/424479)
jackjackdripper has quit [Quit: Leaving.]
jxpx777 has quit [Ping timeout: 252 seconds]
<siaw> centrx: thanks. so if sort is on the array, which couldn’t it sort the items in the array that i put?
<siaw> why did i have to define #<=>?
<centrx> Because it is a class you created, you have to define the method for it, specifying in this case which attribute to compare on for the class
jackjackdripper has joined #ruby
<centrx> The class might have had more than one instance variable, for instance
<centrx> Or you may have wanted to define <=> differently
<siaw> centrx: makes sense. thank you :)
WhereIsMySpoon_ has left #ruby [#ruby]
<apeiros> siaw: while sort is on the Array, <=> has to be on the items in the array. you don't compare the array after all to sort it. you compare the contained items.
<siaw> apeiros:
kirun has quit [Quit: Client exiting]
Yzguy has joined #ruby
v4n has quit []
Billias has quit [Read error: Connection reset by peer]
linuxboy_ has joined #ruby
sumah has joined #ruby
sarkyniin has joined #ruby
sarkyniin has quit [Read error: Connection reset by peer]
Yzguy has quit [Client Quit]
RobertBirnie has joined #ruby
dhollinger has quit [Remote host closed the connection]
linuxboytoo has quit [Ping timeout: 265 seconds]
<monsieurp> coming from Perl, I would expect this code to count from 1 to 23: http://ideone.com/afrvxe
Swappticon has joined #ruby
<monsieurp> like so: http://ideone.com/pZhIug
<monsieurp> did I miss something?
dopamean1 has quit [Ping timeout: 272 seconds]
Billias has joined #ruby
<jhass> yes, idiomatic ruby. Use .each_with_index(1) do |line, i|
<monsieurp> I read English.rb and it clearly says: alias $INPUT_LINE_NUMBER $.
foxprob has joined #ruby
<monsieurp> right
andrewcarter has quit [Quit: Connection closed for inactivity]
<monsieurp> so this variable is complete bollocks then?
DLSteve has joined #ruby
<jhass> well, no. File.readlines reads the file fully, so by the time you hit .each it's 23
<jhass> You "want" File.foreach
Kallis has joined #ruby
<monsieurp> lemme see
Kallis has quit [Max SendQ exceeded]
<monsieurp> better
robbyoconnor has quit [Quit: Konversation terminated!]
<monsieurp> thanks
AkashicLegend has left #ruby [#ruby]
xelkarin has quit [Quit: WeeChat 1.1.1]
<foxprob> Is it possible to remove hex escaped bytes from a string? For example: "\x00\xc1ISO002" or "\x01eISO002"; in both cases I would like to keep only "ISO002".
<jhass> foxprob: passing them to String#delete should work fine
doublemalt_ has joined #ruby
Musashi007 has quit [Read error: No route to host]
<foxprob> jhass: the problem is that I don't know them
<jhass> what do you know about the string?
Musashi007 has joined #ruby
mjuszczak has joined #ruby
<foxprob> jhass: that it might have one or two hex escaped bytes in the beginning (but I don't know what comes after)
<jhass> note that in one of your examples the e is a plain e
<jhass> those look like ANSI escape codes
solocshaw has quit [Ping timeout: 240 seconds]
<jhass> which would make it possible to list them
<foxprob> but it isn't
workmad3 has quit [Ping timeout: 245 seconds]
SCHAAP137 has quit [Quit: Leaving]
DoubleMalt has quit [Ping timeout: 250 seconds]
<jhass> can you define what bytes (characters) are valid for the "after" part?
Rinzlit has joined #ruby
<apeiros> foxprob: "\x01" is a single character. do you mean you want to delete all control characters?
<foxprob> jhass: on those examples, the after part would be ISO
<apeiros> those are usually shown as an escape sequence
<jhass> foxprob: yes, with your examples you could just write a literal "ISO002" into your code
axyz` has joined #ruby
Narzew has quit [Ping timeout: 264 seconds]
<jhass> they're insufficient to form a general rule from, hence I'm asking
<apeiros> though, a better question would probably be: why are there control characters in your string in the first place?
jenrzzz has joined #ruby
<foxprob> jhass: interesting, thank you for pointing that
<shevy> control characters are used to control strings!
arooni-mobile has quit [Ping timeout: 244 seconds]
renanoronfle has quit [Remote host closed the connection]
<shevy> "move to the left ... shuffle to the right ... dance to the jiggly tune!"
<jhass> is there one for "make shevy use UTF-8"?
<shevy> hmm
<shevy> probably when I really need it
AlexAltea has quit [Ping timeout: 244 seconds]
<shevy> the snowman is one pro
<jhass> also all the cookies you missed out
<shevy> wait
<shevy> they were given to ruboto not me...
<jhass> no, ruboto's handing them out
<jhass> ?cookie shevy
<ruboto> shevy, here's your cookie:
<shevy> hmmm
<shevy> oh damn
jackjackdripper has quit [Quit: Leaving.]
whippythellama has quit [Quit: WeeChat 1.3]
foxprob has quit [Ping timeout: 246 seconds]
chipotle has quit [Quit: cheerio]
lipoqil has quit [Remote host closed the connection]
cschneid_ has joined #ruby
lipoqil has joined #ruby
<dfockler> How do I mock a chained callback in minitest?
<pipework> don't!
<dfockler> Testing against databases :(
<shevy> oh oh oh a minitest question, now if zenspider is awake you'd have someone who would have a lot of domain knowledge there
<pipework> shevy: He actually responded to someone in #minitest earlier saying the same thing.
DonOtreply has quit [Quit: DonOtreply]
lipoqil_ has joined #ruby
lipoqil has quit [Ping timeout: 244 seconds]
DonOtreply has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DonOtreply has quit [Client Quit]
casadei has quit [Remote host closed the connection]
<dfockler> well it'll have to wait until next week! thanks anyways :P
* apeiros sobs
<apeiros> WHY did I make so many remotes again?
dfockler has quit []
<apeiros> (git)
<jhass> dunno, for me I have hub to blame for creating them
northfurr has quit [Quit: northfurr]
<apeiros> ah well, this is an old setup where I have a repo (and thus remote) for each env instead of a shared repo for all envs :-/
willharrison has joined #ruby
Porfa has joined #ruby
<apeiros> I should change the setup to my newer one
<apeiros> and additionally an "origin" repo
baweaver has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
atomical has joined #ruby
christiandsg has joined #ruby
Alayde has quit [Ping timeout: 264 seconds]
lipoqil_ has left #ruby [#ruby]
jtdoncas has quit [Ping timeout: 245 seconds]
k3asd` has quit [Ping timeout: 244 seconds]
lipoqil has joined #ruby
juanpablo_ has quit [Quit: (null)]
juanpablo_ has joined #ruby
mistermocha has joined #ruby
yqt has quit [Ping timeout: 245 seconds]
Musashi007 has quit [Quit: Musashi007]
christiandsg has quit [Ping timeout: 265 seconds]
sankaber has joined #ruby
KensoDev has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.3]
juanpablo_ has quit [Ping timeout: 256 seconds]
dopie has quit [Quit: This computer has gone to sleep]
grenierm has joined #ruby
mistermocha has quit [Ping timeout: 265 seconds]
northfurr has joined #ruby
baweaver has joined #ruby
vickleton has quit [Remote host closed the connection]
Tratos has quit [Ping timeout: 244 seconds]
jxpx777 has joined #ruby
webopsx has quit [Ping timeout: 244 seconds]
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
z1haze has left #ruby ["Leaving"]
Tratos has joined #ruby
j_mcnally has joined #ruby
cschneid_ has quit [Remote host closed the connection]
Voker57 has quit [Read error: Connection reset by peer]
m3ow1504_x has quit [Read error: Connection reset by peer]
jxpx777 has quit [Ping timeout: 246 seconds]
m3ow1504_x has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ox0dea has joined #ruby
dseitz has quit [Read error: Connection reset by peer]
<darix> apeiros: past apeiros was thinking "how can i ruin future apeiros evening" :p
anon__ has quit [Ping timeout: 250 seconds]
s00pcan has quit [Ping timeout: 260 seconds]
felltir has joined #ruby
Musashi007 has joined #ruby
Porfa has quit [Quit: Porfa]
joneshf-laptop has quit [Ping timeout: 264 seconds]
s00pcan has joined #ruby
<shevy> via beer
freerobby has quit [Quit: Leaving.]
<shevy> does anyone here happen to use a statically compiled ruby?
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
ddrmanxbxfr has joined #ruby
<shevy> supposedly via --disable-shared --with-static-linked-ext
<shevy> I got stuck at this, strange as it is...
<shevy> Generating RDoc documentation ruby-2.2.3/.ext/x86_64-linux/enc/encdb.so: [BUG] Segmentation fault at 0x00000000000000
Vile` has quit [Ping timeout: 245 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
michael_mbp has quit [Excess Flood]
Vile` has joined #ruby
_djbkd has quit [Remote host closed the connection]
<Ox0dea> TIL RDoc can dereference null pointers.
<shevy> hmm
<shevy> I will retry via --disable-install-rdoc --disable-install-doc
anon__ has joined #ruby
<Ox0dea> But then how will you know how to use this crazy language?
sdwrage__ has quit [Quit: This computer has gone to sleep]
<felltir> TIL that =~ is defined on Object
<Ox0dea> Utter madness.
<shevy> I need a working ruby not a working docu
<ddrmanxbxfr> wow i've been having pains on arm build today :(
Limix has quit [Quit: Limix]
<ddrmanxbxfr> i've had some ruby app that works when I start it manually
<ddrmanxbxfr> but if I do STDOUT or STDERR redirection the app hangs :(
<ddrmanxbxfr> and stays at 100 % forever
<apeiros> hm, what's a common english format to write dayname + day of month + month?
<apeiros> saturday, 29th of aug.?
<apeiros> or saturday, 29/8?
<baweaver> Sat Aug 29th
<apeiros> ok, thanks
<baweaver> English \o/
<ddrmanxbxfr> Was there anything related to STDOUT or STDERR hanging in ruby 2.1 ? I'll try compiling 2.2.3 (and in a few horus test it out, ARM is so slow :( ).
<bradland> apeiros: when localizing for english, you'll have to specify US english, or everybody else :)
bb010g has quit [Quit: Connection closed for inactivity]
<bradland> Sat Aug 29th is unambiguous enough though
<apeiros> bradland: swiss english, of course!
<baweaver> bradland: there is no other english
<baweaver> bradland: only zuul
<bradland> the US is strange. we frequently put month before day
<Ox0dea> Frequently?
<apeiros> not sure whether AE or BE is more widespread in europe
<baweaver> let's not get into our measurements
<Ox0dea> baweaver: How many furlongs to a hogshead?
michael_mbp has joined #ruby
<baweaver> ~15,000 or 40 rods
[k- has joined #ruby
jgt has quit [Ping timeout: 265 seconds]
nzst has joined #ruby
j_mcnall_ has joined #ruby
<apeiros> don't ask people who've got units installed :D
luksaur has quit [Quit: youth]
<ddrmanxbxfr> it's so weird that : ruby myapp.rb works on my system but ruby myapp.rb > log_file 2>&1 makes it crash :(
j_mcnally has quit [Ping timeout: 244 seconds]
<centrx> weird
<jhass> any isatty? checks in the code?
<ddrmanxbxfr> plain and simple puts and sleep loop
<ddrmanxbxfr> that's it
<ddrmanxbxfr> and a ruby shebang at the top
<ddrmanxbxfr> runtime is ARMv7 Processor rev 5 (v7l) though not x86
Mendenhall has joined #ruby
jgt has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nzst has quit [Ping timeout: 256 seconds]
I has joined #ruby
I is now known as Guest35913
dorei has quit []
siaw has quit [Quit: siaw]
Limix has joined #ruby
rehat_ has quit [Remote host closed the connection]
<apeiros> oh, did I complain before about too many repos? turns out I actually even moved that website to a new VM already, using the newer setup with a single repo. and did not yet remove the old one >.<
mjuszczak has quit []
_djbkd has joined #ruby
EricTheAwful has joined #ruby
nerdoncall has joined #ruby
iHatesJews has joined #ruby
EricTheAwful has quit [Client Quit]
dseitz has joined #ruby
baweaver has quit [Remote host closed the connection]
iHatesJews has left #ruby [#ruby]
j3r0 has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 244 seconds]
northfurr has quit [Ping timeout: 250 seconds]
linuxboy_ has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
m3ow1504_x has quit [Read error: Connection reset by peer]
linuxboytoo has joined #ruby
Guest35913 has quit [Quit: Leaving]
northfurr has joined #ruby
m3ow1504_x has joined #ruby
dopie has joined #ruby
pietr0 has quit [Quit: pietr0]
havenwood has joined #ruby
dopamean_ has joined #ruby
[k- has quit [Quit: -a- IRC for Android 2.1.23]
devoldmx has joined #ruby
kies^ has quit [Ping timeout: 250 seconds]
linuxboytoo has quit [Ping timeout: 245 seconds]
northfurr has quit [Read error: Connection reset by peer]
sdwrage__ has joined #ruby
lipoqil_ has joined #ruby
kies has quit [Ping timeout: 246 seconds]
felltir has quit []
jamesaxl|2 has quit [Remote host closed the connection]
kies^ has joined #ruby
axyz` has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 250 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
tonios57 has quit [Quit: Textual IRC Client: www.textualapp.com]
lipoqil_ has quit [Ping timeout: 260 seconds]
pauly_oc has joined #ruby
j_mcnall_ has quit [Quit: Textual IRC Client: www.textualapp.com]
j_mcnally has joined #ruby
DLSteve has quit [Ping timeout: 255 seconds]
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
Vile` has quit [Ping timeout: 240 seconds]
johnflux has quit [Ping timeout: 260 seconds]
ylg has joined #ruby
Swappticon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
voltalio has joined #ruby
solocshaw has joined #ruby
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
voltalio has quit [Client Quit]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> Interpreters are enumerable.
B5X has joined #ruby
B5X has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
christiandsg has joined #ruby
juanpablo_ has joined #ruby
jtdoncas has joined #ruby