apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Wolland has quit [Remote host closed the connection]
Melpaws1 has quit [Quit: Leaving.]
iamjarvo_ has joined #ruby
jenrzzz has joined #ruby
enebo has quit [Quit: enebo]
jamto11 has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 258 seconds]
<benzrf> 07:58 < wallerdev> [19:56:05] is ncurses really considered graphical
<wallerdev> ?
Wolland has joined #ruby
lw has quit [Quit: s]
iamjarvo_ has quit [Ping timeout: 276 seconds]
marcdel has quit []
dima_ has joined #ruby
Hytosys has joined #ruby
[gmi] has quit [Quit: Leaving]
combusean has quit [Ping timeout: 240 seconds]
Wolland has quit [Remote host closed the connection]
jamto11 has joined #ruby
sski has joined #ruby
Celm has joined #ruby
f0ster has quit [Ping timeout: 252 seconds]
dima_ has quit [Ping timeout: 276 seconds]
Celm has quit [Ping timeout: 258 seconds]
matcouto has joined #ruby
ccham_ has quit [Ping timeout: 240 seconds]
razrunelord has quit [Read error: Connection reset by peer]
razrunelord has joined #ruby
absolutezeroff has quit [Quit: Leaving]
BHensley has joined #ruby
rdark has quit [Quit: leaving]
linojon has joined #ruby
djbender has joined #ruby
djbender has quit [Client Quit]
s3ri0us has joined #ruby
pietr0 has quit [Quit: pietr0]
<zorak> can somebody explain me the diferences between GPL and the ruby license?
einarj has joined #ruby
<benzrf> zorak: it appears to be a BSD license
<benzrf> [i think]
<benzrf> ianal and i dont know the ruby license, but fwiw
<benzrf> bsd-style licenses are much looser
<benzrf> they are basically 'do whatever the hell you want with this as long as you give us credit'
<benzrf> not precisely, but more or less
vpretzel_gone has joined #ruby
<zorak> they are like GPL but you can close the code, no?
<zorak> (making it the oposite of GPL)
davispuh has quit [Ping timeout: 240 seconds]
jorts has quit [Quit: jorts]
havenwood has quit []
<zorak> lol
CryptoMonkey1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<zorak> CC BY
CryptoMonkey1 has left #ruby [#ruby]
maletor has quit [Quit: Computer has gone to sleep.]
shvelo has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Melpaws has joined #ruby
saarinen has joined #ruby
trhodes_ has joined #ruby
afreidah1 has joined #ruby
<wallerdev> GPL is a mess
<shevy> your room is a mess!
Melpaws has quit [Ping timeout: 250 seconds]
SilkFox has joined #ruby
<wallerdev> my apartment is a room
goleldar has quit [Remote host closed the connection]
selite has joined #ruby
<selite> Given a string {"name"=>"d"} how do I convert it to a hash?
ccham_ has joined #ruby
<wallerdev> eval
kenneth_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> selite: use a literal parsing lib
<selite> benzrf: eval does it thanks.
<benzrf> yes but its unsafe
<benzrf> and frankly IRRESPONSIBLE
<wallerdev> he didnt say its user input or something haha
<benzrf> it is best to assume it is tho
<wallerdev> if his users are typing hashes i think there are bigger issues
<selite> No, the hashes are machine generated.
<benzrf> from the client end?
grieg has quit [Ping timeout: 240 seconds]
<selite> Server.
<benzrf> kk
<selite> Then is fine?
<benzrf> still
<selite> I'm new to this.
soulcake has quit [Read error: Connection reset by peer]
<selite> And ruby is the most beautiful thing ive seen.
<wallerdev> lol
<wallerdev> eval is fine
marcdel has quit [Ping timeout: 258 seconds]
<benzrf> n-no
SilkFox has quit [Ping timeout: 252 seconds]
<benzrf> never ever use eval except for toys
soulcake has joined #ruby
<wallerdev> if you dont want to use eval, then id suggest returning a different format like json
<wallerdev> and using JSON.parse
<selite> wallerdev: That's not in my control.
<selite> OK thanks guys.
pwh has quit []
selite has quit [Quit: Page closed]
<shevy> if you can guarantee that eval() can't be abused in that context then it is ok to eval
pwh has joined #ruby
jamto11 has quit [Remote host closed the connection]
vpretzel_gone has quit [Ping timeout: 258 seconds]
marcdel has joined #ruby
kitak has joined #ruby
<benzrf> yes but guarantees are tricky
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jasonwebster has quit [Quit: Computer has gone to sleep.]
afreidah1 has quit [Ping timeout: 240 seconds]
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
stopbit has quit [Quit: Quitting.]
danshultz has quit [Remote host closed the connection]
zchrykng-work_ has quit [Quit: Leaving]
iateadonut has joined #ruby
danshultz has joined #ruby
<shevy> I guarantee that when I meet benzrf I will give him a wedgie
iateadonut has quit [Max SendQ exceeded]
marcdel has quit []
sincereness has joined #ruby
<sincereness> ello
<sincereness> if im scraping links off a page and i want mechanize to click the link and determine if there is a download button whats the best way to go about this
Doppp has quit [Ping timeout: 240 seconds]
mercwithamouth has joined #ruby
<sincereness> like whats the best way to determine if a webpage contains an element
jrhe has joined #ruby
amclain has joined #ruby
Hobogrammer has joined #ruby
Lightning has joined #ruby
Lightning has left #ruby ["Leaving"]
<wallerdev> look for buttons that have the text download on them? its more of an AI problem you're asking
<wallerdev> lots of different ways to make a download button unless you're targeting a specific site
earth has joined #ruby
danshultz has quit [Ping timeout: 250 seconds]
mrsolo has joined #ruby
lw has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
Lightning has joined #ruby
SilkFox has joined #ruby
Hobogrammer has quit [Ping timeout: 276 seconds]
absolutezeroff has joined #ruby
Lightning has left #ruby ["Leaving"]
soulcake has joined #ruby
Nukepuppy has joined #ruby
CaptainJet has quit []
<dorei> sincereness: you can use nokogiri and xpath queries
<dorei> be warned though that xpath is a little bit peculiar
<sincereness> ok so assuming I have the links I want how would I click each link and then determine if THAT resulting page contains an element
<sincereness> would i page.links.click ....
lw has quit [Client Quit]
<sincereness> in some conditional?
<dorei> well, if u actually want to emulate the "clicking" it might be better to try capybara with phantom_js (via capybara's poltegeist driver)
<shevy> poltergeist???
gregf has quit [Quit: WeeChat 0.4.3]
Solnse has quit [Ping timeout: 250 seconds]
<sincereness> adding another gem seems a little more than i want to get into
<banisterfiend> dorei this guy's a genius https://www.youtube.com/watch?v=1NcDCwAo98E
rankine has quit [Quit: leaving]
sdouglas_ has quit [Remote host closed the connection]
Solnse has joined #ruby
psyko666 has joined #ruby
matchaw has joined #ruby
matchaw_ has quit [Ping timeout: 240 seconds]
ccham_ has quit [Read error: No route to host]
sdouglas has joined #ruby
zigomir has quit [Remote host closed the connection]
<dorei> lol @ banisterfiend
iateadonut has joined #ruby
zigomir has joined #ruby
iateadonut has quit [Max SendQ exceeded]
not_satoshi_101 has joined #ruby
razrunelord has quit []
zzzak has quit []
vpretzel_gone has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
Nukepuppy has quit [Ping timeout: 276 seconds]
larissa has quit [Quit: Leaving]
Cache_Money has joined #ruby
zigomir has quit [Ping timeout: 240 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
emaxi has quit [Remote host closed the connection]
Hanmac has joined #ruby
evenix has quit [Remote host closed the connection]
pen has joined #ruby
matchaw_ has joined #ruby
Celm has joined #ruby
combusean has joined #ruby
evenix has joined #ruby
thomasxie has joined #ruby
matchaw has quit [Ping timeout: 250 seconds]
rkazak has joined #ruby
saarinen has quit [Quit: saarinen]
tjr9898_ has quit [Read error: Connection reset by peer]
Hanmac1 has quit [Ping timeout: 258 seconds]
tjr9898 has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
saarinen has joined #ruby
vpretzel_gone has quit [Ping timeout: 258 seconds]
Celm has quit [Ping timeout: 258 seconds]
thomasxie has quit [Ping timeout: 240 seconds]
evenix has quit [Ping timeout: 276 seconds]
dorei has quit []
sailias has joined #ruby
emaxi has joined #ruby
SCommette has joined #ruby
pu22l3r has joined #ruby
Wolland has joined #ruby
mrsolo has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
ukd1 has joined #ruby
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
[[genji]] has quit [Read error: Connection reset by peer]
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
Wolland has quit [Ping timeout: 240 seconds]
blackavr has quit [Quit: blackavr]
dreamchaser has left #ruby ["Textual IRC Client: www.textualapp.com"]
sdouglas has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
[[genji]] has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
wallerdev has joined #ruby
m0s^away is now known as m0s
ephemerian has quit [Quit: Leaving.]
kayloos has joined #ruby
emaxi has quit [Remote host closed the connection]
emaxi has joined #ruby
lw has joined #ruby
rmillerx has joined #ruby
rmillerx has quit [Client Quit]
rmillerx has joined #ruby
kayloos has quit [Ping timeout: 250 seconds]
emaxi has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
markisonfire is now known as holmes
mrsolo has joined #ruby
holmes is now known as markisonfire
thomasxie has joined #ruby
ddv has joined #ruby
reset has quit [Quit: Leaving...]
andy__ has joined #ruby
ghr has joined #ruby
sambao21 has joined #ruby
<wallerdev> hope you all have a great weekend
Wolland has joined #ruby
SatansDeer has joined #ruby
iateadonut has joined #ruby
george2 has joined #ruby
iateadonut has quit [Max SendQ exceeded]
linojon has quit [Quit: linojon]
ghr has quit [Ping timeout: 276 seconds]
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
<combusean> bye wallerdev
Cache_Money has quit [Quit: Cache_Money]
<combusean> mysteriously, deploys stop working ...
<bricker`LA> combusean: it's the Friday curse
mrsolo has quit [Quit: This computer has gone to sleep]
mattmcclure has quit [Quit: Connection closed for inactivity]
pu22l3r has quit [Remote host closed the connection]
rakm has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
markisonfire has quit [Quit: markisonfire]
marcdel has joined #ruby
rurban_ has quit [Ping timeout: 240 seconds]
rurban_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
<combusean> bricker`LA, it seems one of those things where i'm not sure how it worked before :P
tjr9898 has quit [Remote host closed the connection]
dima_ has joined #ruby
rmillerx has quit [Quit: rmillerx]
SatansDeer has quit [Quit: Leaving.]
<shevy> games games games
Deele has quit [Ping timeout: 255 seconds]
dima_ has quit [Ping timeout: 258 seconds]
browndawg has joined #ruby
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
iateadonut has joined #ruby
iateadonut has quit [Max SendQ exceeded]
Milly_Bays has joined #ruby
<shevy> anyone of you using apache multiviews?
iateadonut has joined #ruby
sincereness has quit [Ping timeout: 240 seconds]
iateadonut has quit [Max SendQ exceeded]
camilasan has quit [Ping timeout: 250 seconds]
iateadonut has joined #ruby
SatansDeer has joined #ruby
ukd1 has quit [Quit: Leaving...]
<snkcld> any other chruby users in here?
not_satoshi_101 has left #ruby [#ruby]
<snkcld> when i do "cd" in my zsh script, it doesnt change to the new ruby version specified
<snkcld> when i do it manually it works fine, but cding in a zsh script doesnt change the ruby version
<postmodern> snkcld, probably because zsh's preexec_functions do not work within scripts
jeregrine has quit [Quit: Connection closed for inactivity]
<snkcld> postmodern: i see
blackavr has joined #ruby
zcreative has joined #ruby
<snkcld> postmodern: so.... should i find another way to get to the specified ruby?
<postmodern> snkcld, you could try adding #!/usr/bin/zsh -l to the script
niharvey has quit [Ping timeout: 252 seconds]
<snkcld> id like for my script to work for ppl not using chruby, eg ppl using rvm, so id rather not do anything that is "ruby version manager specific"
<snkcld> ah, -l ?
<snkcld> ok
<postmodern> snkcld, this will run the script in an interactive shell, so preexec_functions should be populated
<snkcld> OH
cgore has joined #ruby
<snkcld> so my problem is that my script isnt 'interactive'
<snkcld> ok
<postmodern> snkcld, because scripts normally run in non-interactive shells that do not load any of the shells config files
radic has quit [Disconnected by services]
<snkcld> so interactive vs non-interactive means not running preexec functions, amongst other things i imagine
radic_ has joined #ruby
<snkcld> ohhhhhh
<snkcld> not even bashrc, zshrc, etc?
crystal77 has joined #ruby
<snkcld> ok i remember hearing this
<snkcld> now, what if my user isnt using zsh?
<snkcld> heck, what if there shell isnt at a specific place?
<snkcld> how can i enforce "-l"
<snkcld> or, interactive mode, rather
Milly_Bays has quit [Quit: Leaving]
<snkcld> maybe "cat myscript.sh | your-shell-of-choice"
vpretzel_gone has joined #ruby
Celm has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 258 seconds]
[[genji]] has quit []
reset has joined #ruby
<zcreative> Anybody ever done resumable uploads?
jeregrine has joined #ruby
reset has quit [Client Quit]
SatansDeer has quit [Quit: Leaving.]
<centrx> zcreative, Isn't it just some kind of HTTP header?
<zcreative> Sort of. There is a special server back end too.
ukd1 has joined #ruby
vpretzel_gone has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Celm has quit [Ping timeout: 258 seconds]
iliketurtles has joined #ruby
sepp2k has quit [Quit: Leaving.]
anshin has quit [Ping timeout: 276 seconds]
james_d_h has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
stopbit has joined #ruby
yfeldblum has joined #ruby
skkeeper has quit [Ping timeout: 265 seconds]
skkeeper has joined #ruby
nateberkopec has joined #ruby
wallerdev has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
Celm has joined #ruby
Domon has joined #ruby
einarj has joined #ruby
nisstyre has joined #ruby
SCommette has quit [Quit: SCommette]
anshin has joined #ruby
baroquebobcat has joined #ruby
sdouglas has joined #ruby
ukd1 has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
glide has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
Martxel_ has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
mrmargolis has joined #ruby
Martxel has quit [Ping timeout: 258 seconds]
glide has quit [Client Quit]
Solnse has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
cgore has quit [Remote host closed the connection]
glanzi has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 258 seconds]
Solnse has joined #ruby
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
<benzrf> whoa wtf
<benzrf> matz is mormon i did not know this o-O
yfeldblum has quit [Remote host closed the connection]
kevinfagan has quit [Ping timeout: 255 seconds]
timmow has quit [Ping timeout: 252 seconds]
SCommette has joined #ruby
jamto11 has joined #ruby
jrdnull has quit [Ping timeout: 246 seconds]
KevinSjoberg has quit [Ping timeout: 252 seconds]
<shevy> well
<shevy> the japanese are freaky
<shevy> just watch youtube pranks of japanese
browndawg has quit [Ping timeout: 240 seconds]
<shevy> they also have ninja and samurai and anime
mhenrixon has quit [Ping timeout: 252 seconds]
SCommette has quit [Client Quit]
Slavox is now known as Slavox|AFK
senayar_ has joined #ruby
vadviktor has quit [Quit: No Ping reply in 180 seconds.]
vadviktor has joined #ruby
Sirupsen has joined #ruby
<benzrf> shevy: i sent those chats to my friend who is a weeb
<benzrf> he sez:
<benzrf> 10:41 <ruukasu> what a racist
kevinfagan has joined #ruby
<shevy> where is that dude
<shevy> why is he not using ruby
<shevy> benzrf is your brother learning ruby?
KevinSjoberg has joined #ruby
<benzrf> no i am learning him a python
mhenrixon has joined #ruby
jamto11 has quit [Ping timeout: 258 seconds]
jrdnull has joined #ruby
deric_skibotn has quit [Ping timeout: 258 seconds]
browndawg has joined #ruby
davedev24 has quit []
timmow has joined #ruby
senayar has quit [Ping timeout: 250 seconds]
mr_snowf1ake has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
james_d_h has quit [Quit: Lost terminal]
freerobby has joined #ruby
coderhs has joined #ruby
pdtpatrick has joined #ruby
<shevy> :(
freerobby has quit [Read error: Connection reset by peer]
Slavox|AFK is now known as Slavox
meatherly has joined #ruby
fgo has joined #ruby
<combusean> what's wrong with python shevy?
rezzack has quit [Quit: Leaving.]
<gry> As I asked earlier I have this issue http://askubuntu.com/questions/81939/foreman-command-not-found after gem install foreman. It apparently didn't adjust my path, nor does `rbenv rehash`. How can I fix this please, I don't even know where the binaries live. Thanks.
<gry> .
meatherly has quit [Remote host closed the connection]
<shevy> combusean the indent
RyanV has joined #ruby
<shevy> combusean explicit self
<combusean> explicit self?
meatherly has joined #ruby
RyanV has quit [Client Quit]
<shevy> yeah
<shevy> you have to pass it explicitely
<combusean> oh ew
<combusean> gross
tcurdt has joined #ruby
<combusean> just googled it
<shevy> it's a question of whether your object should know about self or not
zcreative has quit [Quit: Computer has gone to sleep.]
<centrx> map(lambda x: len(str(x)), map()))SFIDSif)
<shevy> I think ruby's oop model is better than python's oop model
<combusean> i have trouble grokking 'this' and 'self' sometimes
<tcurdt> does anyone know how to pipe a string into a popen? I basically want to execute 'echo "bla" > cmd'
<combusean> i understand how ruby does self but js's this nonsense rots my brain
<tcurdt> I tried writing to stdin in the block
geggam has quit [Remote host closed the connection]
<shevy> combusean I had problems with this, but never with self
<shevy> in php I think you use this or?
<combusean> ^^
<shevy> $this->bla();
<shevy> or something
<shevy> I forgot php
<combusean> oddly, all my years of php were never object oriented
<shevy> haha
kobain has joined #ruby
SonicX has quit [Remote host closed the connection]
<combusean> except towards the end with a hacked together homegrown orm model a few jobs ago in codeigniter
<combusean> s/model//
b1nd has joined #ruby
iamjarvo has joined #ruby
meatherly has quit [Ping timeout: 250 seconds]
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
chenillen has joined #ruby
Milly_Bays has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
phoo1234567 has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
* combusean kicks passenger
<chenillen> passenger?
<chenillen> unicorn or puma is better?
<combusean> it's a mod for nginx or apache to serve ruby apps
<combusean> chenillen, yes, but this shit is old, and it's what i have to work with
braincrash has quit [Quit: bye bye]
<chenillen> that’s not cool combusean
SilkFox has quit [Ping timeout: 240 seconds]
<combusean> that's work
Spami_ has quit [Quit: This computer has gone to sleep]
<combusean> and my job
<chenillen> :-( so whats your problem? i am just in
<gry> shevy: I don't understand you (if that was to me)
Andrevan has quit [Ping timeout: 240 seconds]
<shevy> hmm?
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
tharindu has joined #ruby
<combusean> chenillen, touching tmp/restart.txt doesn't restart passenger
braincrash has joined #ruby
Spami_ has joined #ruby
vpretzel_gone has joined #ruby
tcurdt has quit [Quit: bye bye]
Rollabunna has joined #ruby
<chenillen> that’s weird. i’ve been using passenger for a while. touching works effectively for my project. the only reason i gave up it was it need a long time to first load after restarting
tharindu has quit [Client Quit]
mrmargolis has quit [Remote host closed the connection]
<combusean> yeah, chenillen whats your solution for long load time?
SilkFox has joined #ruby
<combusean> cause that's a problem with our app now
<chenillen> swtiching to unicorn combusean
<combusean> also killing connections when we deploy
<combusean> heh
<combusean> i had a feeling
baroquebobcat has joined #ruby
tharindu has joined #ruby
<combusean> what about puma?
<chenillen> this vedio cast has introduced some http://railscasts.com/episodes/373-zero-downtime-deployment
<combusean> anyone's thoughts on that?
<chenillen> puma is cool! but more threadsafe requirements
<combusean> ...
<chenillen> muti-thread server
<combusean> ahh
<chenillen> if your gems are not all threadsafed, do not use puma
<combusean> that seems like a good reason to not use puma
tjr9898_ has joined #ruby
vpretzel_gone has quit [Ping timeout: 258 seconds]
<chenillen> what’s your eviornment? rails or other frameworks?
<combusean> the deployer is sinatra
framling has joined #ruby
<combusean> other apps are rails
rkazak has quit [Quit: rkazak]
<chenillen> okay, so upgraded to rails 4.0?
<combusean> no
<combusean> this one service is written against ruby 2.0.0
<combusean> to give you an idea of how often things are changed.
<chenillen> if you are using rails 4.x, puma will be more easier to deploy
<combusean> yeah, we're not
Rollabunna has quit [Remote host closed the connection]
<combusean> have no plans to upgrade
<chenillen> go ahead,please
<combusean> "go ahead, please"?
<combusean> not sure what you meant by that
yfeldblum has joined #ruby
tjr9898 has quit [Ping timeout: 250 seconds]
<chenillen> sorry, i meant please go ahead with “ to give you an idea of how often things are changed."
<combusean> umm
alvaro_o has quit [Quit: Ex-Chat]
<combusean> rails 3.2.11 for one service
leslie1 has left #ruby [#ruby]
andy__ has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
pen has quit [Remote host closed the connection]
<chenillen> have you ever reinstalled passenger with the http plugin?
<combusean> nope
<chenillen> i think you could have a try
chenillen has quit [Quit: chenillen]
sdouglas has joined #ruby
chenillen has joined #ruby
benzrf|offline is now known as benzrf
michaeldeol has joined #ruby
fgo has quit [Remote host closed the connection]
kayloos has joined #ruby
chenillen has quit [Client Quit]
bennylope has joined #ruby
chenillen has joined #ruby
sdouglas has quit [Ping timeout: 252 seconds]
twiceaday has quit [Ping timeout: 250 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
rkazak has joined #ruby
bennylope has quit [Client Quit]
funktor has joined #ruby
m0s is now known as m0s^away
kayloos has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
Guedes0 has quit [Ping timeout: 258 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
yacks has quit [Quit: Leaving]
lw has quit [Quit: s]
pen has joined #ruby
pwh has quit []
narcan has joined #ruby
dik_dak has quit [Quit: Leaving]
benzrf is now known as benzrf|offline
SilkFox has quit [Ping timeout: 245 seconds]
dima_ has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
marcdel has quit [Ping timeout: 258 seconds]
bennylope has joined #ruby
marcdel has joined #ruby
Megtastique has quit []
baroquebobcat has joined #ruby
dima_ has quit [Ping timeout: 258 seconds]
fgo has joined #ruby
evenix has joined #ruby
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rankine has joined #ruby
fgo has quit [Client Quit]
<combusean> chenillen, i think i'm gonna test an upgrade to unicorn on this deployer server i'm working on
kitak has quit [Remote host closed the connection]
pu22l3r has joined #ruby
coderhs has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
funburn has joined #ruby
lw has joined #ruby
chenillen has quit [Quit: chenillen]
markisonfire has joined #ruby
zcreative has joined #ruby
chenillen has joined #ruby
chenillen has quit [Client Quit]
saarinen has quit [Quit: saarinen]
northfurr has joined #ruby
chenillen has joined #ruby
zcreative has quit [Ping timeout: 240 seconds]
chenillen has quit [Client Quit]
dseitz has joined #ruby
browndawg1 has joined #ruby
Celm has quit [Ping timeout: 258 seconds]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has joined #ruby
zcreative has joined #ruby
gancl has joined #ruby
pu22l3r has quit [Remote host closed the connection]
rkazak has quit [Quit: rkazak]
browndawg has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus has quit [Ping timeout: 252 seconds]
Nukepuppy has joined #ruby
robustus has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
marcdel has quit []
lw has quit [Quit: s]
coderhs has joined #ruby
jrhe has quit [Quit: Connection closed for inactivity]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
seo has joined #ruby
seo has quit [Remote host closed the connection]
fabrice31 has joined #ruby
seo has joined #ruby
seo is now known as Guest17795
Spami has quit [Quit: This computer has gone to sleep]
vpretzel_gone has joined #ruby
Nukepuppy has quit [Ping timeout: 240 seconds]
lw has joined #ruby
Guest17795 has quit [Client Quit]
BHensley has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
pontiki has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
fabrice31 has quit [Ping timeout: 252 seconds]
nemesit|znc has quit [Ping timeout: 250 seconds]
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
cj3kim_ has joined #ruby
vpretzel_gone has quit [Ping timeout: 258 seconds]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nemesit|znc has joined #ruby
BHensley has joined #ruby
marcdel has joined #ruby
iamjarvo has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby
funktor has quit [Remote host closed the connection]
mrsolo has joined #ruby
mrsolo has left #ruby [#ruby]
<pontiki> hi
yacks has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
kitak has joined #ruby
chenillen has joined #ruby
ejnahc_ has quit [Quit: Changing server]
tharindu has quit [Quit: Leaving...]
evenix has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 240 seconds]
chris_thomson has quit [Quit: Zzz...]
ejnahc has joined #ruby
cj3kim_ has quit [Ping timeout: 252 seconds]
evenix has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
tharindu has joined #ruby
rainmanjam has joined #ruby
BHensley has quit [Remote host closed the connection]
JacobHayes has joined #ruby
<combusean> grr
<combusean> why can't i just buy railscasts episodes
papercode has quit [Quit: WeeChat 0.4.3]
papercode has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
evenix has quit [Ping timeout: 245 seconds]
maxmanders has quit [Ping timeout: 250 seconds]
nari has quit [Ping timeout: 245 seconds]
Shidash has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
funktor has joined #ruby
awukelelexi has quit [Quit: Leaving]
tharindu has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby
<zorak> i have b = [:q, :w, :e, :r]
<zorak> and b[4,0]
<zorak> => []
<zorak> and b[5,0]
<zorak> => nil
<centrx> It is an oddity
<zorak> oddity?
<centrx> Think of it like array starts after the r: [:q, :w, :e, :r[]
<centrx> [0:q, 1:w, 2:e, 3:r4]
<zorak> ??
jamto11 has joined #ruby
<zorak> there are always a "ghost" element at the end of the arrays?
bricker`LA has joined #ruby
Solnse has quit [Quit: Leaving.]
pwh has joined #ruby
<Hytosys> > Additionally, an empty array is returned when the starting index for an element range is at the end of the array.
northfurr has quit [Quit: northfurr]
<centrx> It's the converse of there being -1, 0, 1 indexes
Zespre has quit [Quit: leaving]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<zorak> like an -0 element
<centrx> yes
Zespre has joined #ruby
anaeem1 has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
<zorak> and there is a logic or some proporse of this?
senayar_ has quit [Remote host closed the connection]
kenneth has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
<centrx> [0q1w2e3r4]
<centrx> if (offset < 0) { offset += RARRAY_LEN(ary); }
<centrx> if (offset < 0 || RARRAY_LEN(ary) <= offset) { return Qnil; }
<zorak> wat?
<Hytosys> that’s the simple logic that #[] takes
<centrx> that's the underlying C code that determines whether to return nil
<centrx> and what to do with offsets like -1
<Hytosys> centrx: where’s the C code that returns []?
<pontiki> combusean: you can join railscasts for $9. right now, it's just a one-time fee, all-you-can-eat, if/until Ryan decides to start making them again
chasingcakes has quit [Remote host closed the connection]
<combusean> oh, i just payed for it monthly
<combusean> within the last 5 minutes
<centrx> Hytosys, If you search for a Ruby function name one of the top results will be whitequarks MRI code searching thing
<pontiki> it says it's monthly, but if you read further, it's only being charged once
psyko666 has quit [Quit: Leaving]
<combusean> weird
<Hytosys> ah right
<Hytosys> I wonder if it’s a meaningful implementation that a blank array gets returned though… if that’s what you’re asking
<combusean> Hytosys, i'm not centrx
<Hytosys> oops thanks, I meant zorak anyway…
<combusean> oh
<combusean> haha
<Hytosys> it seems like autocomplete tabbing does more harm than good
* combusean wishes he had more pepperoncinis to eat
<Hytosys> how do you feel about pepperoni and pepperoncini pizza?
<combusean> i get supreme pizza from papa john's and eat the pepperoncini that comes with it
<pipework> Hytosys: Only if you aren't paying attention.
BHensley has joined #ruby
<Hytosys> I purposely order pepperoni and pepperoncini pizza… such a combo a flavors
<combusean> i'm one of those supreme/everything on it types of people
<combusean> the subway club cause it has all the meats
<Hytosys> I can dig it
crucify_me has joined #ruby
funburn has quit [Quit: funburn]
vpretzel_gone has joined #ruby
mjs2600 has quit [Remote host closed the connection]
<pipework> I either need to catch a cab or walk to get near any fast food that isn't Chipotle, which I don't like. So my fast food consumption is embarrassingly low. :(
<crucify_me> hi I'm in a pry session, inside an 'order' instance : [1] pry(#<Order>)> cd .. trying to cd out of the instance and it won't let me. any clues?
* combusean blinks
<Hytosys> no such thing >embarrassingly low consumption of fast food
<combusean> cd .. is a bash command crucify_me
<combusean> s/bash/shell/
<combusean> or bash
<combusean> ...
<pontiki> pipework: what sort of slow food are you eating, then?
chenillen has quit [Quit: chenillen]
<crucify_me> combusean: but its how you navigate in pry right?
<combusean> no
<combusean> run help
<combusean> there's commands like continue and next and shit like that
<combusean> or just
<combusean> help
<crucify_me> thanks k combusean
<combusean> np
<pipework> pontiki: American, because at least I can catch it that way. :(
queequeg1 has joined #ruby
<pontiki> hmmm
<pontiki> i resemble that remark
BHensley has quit [Remote host closed the connection]
gancl has quit [Ping timeout: 258 seconds]
joonty has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cya]
tjr9898_ has quit []
<crucify_me> combusean: so I can move into a new scope but can't move out of it?
queequeg1 is now known as queequeg
rkazak has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
iateadonut has left #ruby [#ruby]
Zespre has quit [Quit: leaving]
northfurr has joined #ruby
<combusean> crucify_me, try next or finish
slarv has joined #ruby
<pontiki> crucify_me: after you cd into a scope, you quit to get back up
kitak has quit [Remote host closed the connection]
funburn has joined #ruby
queequeg is now known as queequeg1
<pontiki> you can also just do cd ..
Cache_Money has joined #ruby
<crucify_me> pontiki: combusean thanks I was trying to use cd .. but it doesn't budge.
kitak has joined #ruby
<pontiki> "cd .." -- the .. is essential
<crucify_me> yeah that's what I thought was right pontiki
Zespre has joined #ruby
<pontiki> try quit then
<pontiki> hmm
<pontiki> brb
pontiki has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
Fire-Dragon-DoL has joined #ruby
slarv has quit [Client Quit]
[[genji]] has joined #ruby
slarv has joined #ruby
pontiki has joined #ruby
kitak has quit [Remote host closed the connection]
_justin has joined #ruby
crucify_me has quit [Remote host closed the connection]
<pontiki> re
funburn has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: rkazak]
funburn has joined #ruby
CaptainJet has joined #ruby
rkazak has joined #ruby
[[genji]] has quit []
sdouglas has joined #ruby
mary5030 has joined #ruby
chenillen has joined #ruby
rkazak has left #ruby [#ruby]
_justin has quit [Ping timeout: 240 seconds]
sigurding has joined #ruby
earth has quit [Quit: earth]
mynyml has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
kitak has joined #ruby
rh1n0 has joined #ruby
browndawg1 has left #ruby [#ruby]
BHensley has joined #ruby
marcdel has quit []
kayloos has joined #ruby
BHensley_ has joined #ruby
havenwood has joined #ruby
chenillen has quit [Quit: chenillen]
dima_ has joined #ruby
t_p has joined #ruby
IceDragon has quit [Read error: Connection reset by peer]
BHensley has quit [Ping timeout: 276 seconds]
kayloos has quit [Ping timeout: 245 seconds]
anaeem1 has quit [Remote host closed the connection]
Doppp has joined #ruby
jarray52 has joined #ruby
jacky has quit [Excess Flood]
dima_ has quit [Ping timeout: 240 seconds]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_justin has joined #ruby
jackyalcine has joined #ruby
pwh has quit []
funktor has quit [Remote host closed the connection]
ghr has joined #ruby
lw has quit [Quit: s]
rh1n0 has quit [Quit: Hopefully you don't see this...]
et09 has joined #ruby
<et09> i have a string which includes "\x92s"
m104 has joined #ruby
<et09> which is a '
<et09> how do i make these conversions safely and programmatically?
tectonic has joined #ruby
_justin has quit [Quit: _justin]
kitak has quit [Remote host closed the connection]
<et09> that's window-1252 encoding btw
ghr has quit [Ping timeout: 240 seconds]
funktor has joined #ruby
m104 has quit [Client Quit]
lw has joined #ruby
kitak has joined #ruby
iliketurtles has joined #ruby
<et09> answer: .force_encoding("windows-1252").encode("UTF-8")
Milly_Bays has quit [Ping timeout: 245 seconds]
Bumptious has joined #ruby
browndawg has joined #ruby
shack has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toretore has quit [Quit: Leaving]
Hobogrammer has joined #ruby
chenillen has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
shack has left #ruby [#ruby]
kitak has quit [Remote host closed the connection]
zeroXten has joined #ruby
kitak has joined #ruby
kobain has quit [Ping timeout: 276 seconds]
fabrice31 has joined #ruby
<zeroXten> hi all. I've got got 4 unit tests i need to run in slightly different contexts quite a few times. What is the correct approach to keeping it DRY? thanks
kobain has joined #ruby
<pontiki> how are the contexts defined?
<pontiki> if you can define the contexts simply enough, such as make them an array, you can just loop through the array
rhys has quit [Ping timeout: 264 seconds]
<pontiki> oh, wait, is this is rspec?
<zeroXten> pontiki: it's testing different api calls
<zeroXten> so many of them have some parameters in common
aspires has joined #ruby
kitak has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: Leaving]
SatansDeer has joined #ruby
<pontiki> i guess i'm not seeing what the issue it in that?
<zeroXten> well, i need to test an id parameter for a whole different bunch of calls (sinatra). I could copy paste the test function changing the get url slightly each time, but there must be a cleaner way
<pontiki> ultimately, it's just ruby, so you can do whatever you'd need to keep things DRY
et09 has quit [Quit: leaving]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
<zeroXten> ok, so i'll just stick the functions in a helper file
<pontiki> put the urls in an array, loop through them calling the test
<zeroXten> ahh ok.. at the moment the files are split by call.. but yeah I could do those params in a single file
<zeroXten> good idea
nari has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
markisonfire has quit [Quit: markisonfire]
MatthewsFace has joined #ruby
<pontiki> gnite all
ponga has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
<ponga> is this channel same with #ruby-lang
pen has quit [Remote host closed the connection]
<centrx> ponga, What do you mean, ponga ?
<ponga> hi centrx, i mean it literally
chenillen has quit [Quit: chenillen]
<centrx> ponga, The channels are not identical.
<centrx> ponga, They are both related to the Ruby programming language.
aspires has quit []
<ponga> ok i see
<centrx> ponga, #ruby-lang is the language referenced on the Ruby website, #ruby is usually more active
mary5030 has quit [Ping timeout: 245 seconds]
<ponga> ok
<centrx> s/the language/the channel
Bumptious has quit [Remote host closed the connection]
hedgehog has quit [Ping timeout: 240 seconds]
Bumptious has joined #ruby
FxK has quit [Quit: (I was using Polaris SE) Version: 4.2. Webpage: http://polarisse.tripod.com/. Wasted: 11 Hours 46 Minutes and 6 Seconds Online.]
bricker`LA has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eynj has quit [Quit: Leaving.]
invinceable has joined #ruby
invinceable has quit [Excess Flood]
lw has quit [Quit: s]
mrjensen has joined #ruby
nisstyre has quit [Quit: WeeChat 0.4.3]
centrx has quit [Quit: All this computer hacking is making me thirsty]
sdouglas has joined #ruby
yfeldblum has joined #ruby
kitak has joined #ruby
peretZ has quit []
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
thomasxie has quit [Remote host closed the connection]
sputnik13 has joined #ruby
marcdel has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
yacks has quit [Ping timeout: 276 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
JacobHayes has quit [Remote host closed the connection]
yfeldblum has joined #ruby
JacobHayes has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
trhodes_ has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
tjr9898 has joined #ruby
mynyml has quit [Ping timeout: 252 seconds]
Xeago has quit [Ping timeout: 250 seconds]
t_p has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
chenillen has joined #ruby
Asher has quit [Remote host closed the connection]
popl has joined #ruby
popl has joined #ruby
Asher has joined #ruby
ukd1 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sigurding has quit [Quit: sigurding]
kitak has quit [Remote host closed the connection]
thomasxie has joined #ruby
jamto11 has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
<ponga> I'm on Codecademy, if i were to use 'do' for {} , it should have 'end' as well?
pen has joined #ruby
funktor has quit []
Hanmac1 has joined #ruby
<popl> What happens when you try it?
timonv has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hanmac has quit [Ping timeout: 252 seconds]
<ponga> popl: it gives an syntax error that I can't comprehend :(
<ponga> and if i do put end, it works
havenwood has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
sigurding has joined #ruby
sputnik13 has joined #ruby
<popl> What does the syntax error say?
havenwood has quit [Ping timeout: 250 seconds]
<ponga> wait
ValicekB has quit []
<ponga> popl: (ruby):2: syntax error, unexpected $end, expecting keyword_end
<ponga> http://cl.ly/image/0k1p2u0z3G3g the whole thing captured
funburn has quit [Quit: funburn]
funburn has joined #ruby
funburn has quit [Client Quit]
<popl> Ah. Yeah, that is a little cryptic. I think it'd be better if it said something like "unexpected end of file found, expecting «end»."
<popl> but that's what it means
<popl> ponga: do and end are both keywords in ruby.
timonv has quit [Remote host closed the connection]
<popl> hence the keyword_end bit of that message.
Xeago has joined #ruby
<popl> you might also see kEND
<popl> (I think that's from older Rubys, but IANAL)
<popl> *IANALL
kitak has joined #ruby
funburn has joined #ruby
Loaft has joined #ruby
ktosiek has joined #ruby
ukd1 has quit [Remote host closed the connection]
ValicekB has joined #ruby
ukd1 has joined #ruby
Xeago_ has joined #ruby
mjs2600 has joined #ruby
bricker`LA has quit [Ping timeout: 258 seconds]
jlebrech_ has joined #ruby
sdouglas has joined #ruby
Morkel has joined #ruby
Morkel has quit [Client Quit]
jason__ has joined #ruby
ukd1 has quit [Ping timeout: 250 seconds]
relix has joined #ruby
phansch has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
mjs2600 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
shvelo has joined #ruby
sski has quit [Remote host closed the connection]
Xeago__ has joined #ruby
claymore has joined #ruby
sski has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
_justin has joined #ruby
jarray52 has left #ruby [#ruby]
shvelo has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
jason__ has quit [Remote host closed the connection]
mr_snowf1ake has quit [Ping timeout: 240 seconds]
skaflem has joined #ruby
Xeago_ has quit [Ping timeout: 276 seconds]
tjr9898_ has joined #ruby
sski has quit [Ping timeout: 240 seconds]
Xeago__ has quit [Ping timeout: 252 seconds]
tjr9898 has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
utkarsh_ has joined #ruby
marcdel has quit []
arianit has joined #ruby
ws2k33 has joined #ruby
sdouglas has joined #ruby
gancl has joined #ruby
gancl has quit [Read error: Connection reset by peer]
sigurding has quit [Quit: sigurding]
dima_ has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
dima_ has quit [Ping timeout: 240 seconds]
chenillen has quit [Quit: chenillen]
CaptainJet has quit []
timonv has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
klaut has joined #ruby
sigurding has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
shock_one has joined #ruby
kayloos has joined #ruby
anaeem1 has joined #ruby
kayloos has quit [Ping timeout: 240 seconds]
shvelo has joined #ruby
JacobHayes has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
Yayo has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
combusean has quit [Ping timeout: 258 seconds]
Loaft has quit []
Yayo has quit [Client Quit]
sski has joined #ruby
<Hanmac1> shevy: did you see THIS? http://git-man-page-generator.lokaltog.net/
sdouglas has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
BHensley_ has quit [Remote host closed the connection]
Hanmac1 is now known as Hanmac
BHensley has joined #ruby
<Hanmac> http://xkcd.com/1354/ shows how the openssl bug works
shvelo has quit [Ping timeout: 276 seconds]
sski has quit [Ping timeout: 245 seconds]
kayloos has joined #ruby
rm__ has quit [Remote host closed the connection]
rm_ has joined #ruby
havenwood has joined #ruby
Trynemjoel has quit [Quit: Trynemjoel]
fabrice31 has joined #ruby
Loaft has joined #ruby
Loaft has quit [Client Quit]
parduse has quit [Ping timeout: 276 seconds]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
Dr3amc0d3r|away has quit [Ping timeout: 258 seconds]
Trynemjoel has joined #ruby
Dr3amc0d3r|away has joined #ruby
rm_ has quit [Ping timeout: 276 seconds]
fabrice31 has quit [Ping timeout: 258 seconds]
rm_ has joined #ruby
defnix has quit [Read error: Operation timed out]
SatansDeer has quit [Ping timeout: 250 seconds]
yacks has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
thomasxie has quit [Remote host closed the connection]
crystal77 has joined #ruby
Loaft has joined #ruby
kerin has quit [Ping timeout: 240 seconds]
Deejay has joined #ruby
Deejay has quit [Client Quit]
sigurding has quit [Quit: sigurding]
rm_ has quit [Ping timeout: 252 seconds]
havenwood has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
SHyx0rmZ has joined #ruby
combusean has joined #ruby
arianit has quit [Ping timeout: 252 seconds]
zigomir has joined #ruby
funburn has quit [Quit: funburn]
fgo has joined #ruby
BHensley has quit [Remote host closed the connection]
fuhgeddaboudit has joined #ruby
ndrei has joined #ruby
combusean has quit [Ping timeout: 252 seconds]
ndngvr` has quit [Read error: Connection reset by peer]
ndngvr has joined #ruby
fgo_ has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
dyoko has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
virtualize has quit []
Loaft has quit []
ponga has quit [Ping timeout: 240 seconds]
Loaft has joined #ruby
elaptics`away is now known as elaptics
cover has joined #ruby
decoponio has joined #ruby
rm_ has joined #ruby
ponga has joined #ruby
binw has quit [Remote host closed the connection]
<ponga> can anyone help me of codecademy http://cl.ly/image/1Y1P0c1P0c41
<ponga> I don't see why i'm failing
einarj has joined #ruby
BHensley has joined #ruby
_justin has quit [Quit: _justin]
tgkokk has joined #ruby
<shock_one> ponga, print "REDACTED " with that extra space.
<banisterfiend> ponga the instructions say print REDACTED **with that extra space**
tectonic has quit []
<ponga> Thank god...
<ponga> please don't laugh at me i know im stupid
<ponga> :(
<ponga> thank shock_one and banisterfiend
einarj has quit [Ping timeout: 240 seconds]
<ponga> i was short on time, i had to disconnect soon
<ponga> bye thanks
ponga has quit [Quit: Leaving :)]
ikaros has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
chenillen has joined #ruby
anaeem1 has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
SHyx0rmZ has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
jamto11 has joined #ruby
anaeem1 has joined #ruby
BHensley has quit [Remote host closed the connection]
anaeem1 has quit [Remote host closed the connection]
dangerousdave has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
northfurr has quit [Quit: northfurr]
Wolland has quit [Remote host closed the connection]
tgkokk has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
yacks has joined #ruby
donnoc has joined #ruby
kobain has quit []
chenillen has quit [Quit: chenillen]
robbyoconnor has joined #ruby
donnoc has quit [Ping timeout: 250 seconds]
JohnBat26 has joined #ruby
etyety has joined #ruby
mikecmpbll has joined #ruby
alexju has quit [Remote host closed the connection]
ikaros has quit [Quit: Ex-Chat]
senayar has joined #ruby
mjs2600 has joined #ruby
jhass|off is now known as jhass
donnoc has joined #ruby
mjs2600 has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
dima_ has joined #ruby
Doppp has quit [Ping timeout: 250 seconds]
obs has joined #ruby
dima_ has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 252 seconds]
ndrei has quit [Ping timeout: 250 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jeregrine has quit [Quit: Connection closed for inactivity]
ndrei has joined #ruby
donnoc has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
senayar has quit [Remote host closed the connection]
browndawg has left #ruby [#ruby]
chenillen has joined #ruby
Xeago has quit [Remote host closed the connection]
AlexRussia has joined #ruby
donnoc has joined #ruby
Xeago has joined #ruby
elaptics is now known as elaptics`away
havenwood has joined #ruby
d-snp has quit [Quit: leaving]
rm_ has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
rm_ has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
Doppp has joined #ruby
Martxel_ has quit [Ping timeout: 258 seconds]
fabrice31 has joined #ruby
havenwood has quit [Remote host closed the connection]
rippa has joined #ruby
havenwood has joined #ruby
andrewlio has joined #ruby
chenillen has quit [Quit: chenillen]
winny has left #ruby ["Textual IRC Client: www.textualapp.com"]
fabrice31 has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 245 seconds]
Doppp has quit [Ping timeout: 258 seconds]
rylev has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
popl has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex88 has joined #ruby
<shock_one> join /#rubyonrails
morenoh152 has quit [Ping timeout: 258 seconds]
carraroj has quit [Ping timeout: 258 seconds]
jackneill has joined #ruby
jackneill has joined #ruby
<shock_one> In the RoR channel there are not so many people, so I'll ask here, if you don't mind. I'm experiencing a strange behavior after upgrading to rails 4.1: my string is encoded incorrectly. Look at this: https://dl.dropboxusercontent.com/u/608214/scrn/1397296181.png . Any ideas what it can be?
senayar has joined #ruby
makara has joined #ruby
<Nilium> What encoding is it and what encoding is it supposed to be?
<shock_one> I suppose it's utf-8. But there are no special characters, I belies $ is included in ascii.
<Nilium> Ok, instead of saying suppose, go see what encoding the string says it is.
<shock_one> Nope, it/s ASCII-8BIT.
makara has quit [Read error: Connection reset by peer]
<shock_one> There is another key, which is set to number 2, and it returns "\x04\bi\x06"
<Nilium> What's your Encoding.default_internal/external?
<Nilium> Former should be nil, latter should presumably be UTF-8.
<shock_one> Both UTF_8.
Nukepuppy has joined #ruby
<Nilium> Does Setting.defaults store stuff in a DB or something where it would be transcoded and end up with a different encoding upon reading?
<Nilium> I don't use Rails, so I'm just suggesting you look at where things could go wrong at this point.
twiceaday has joined #ruby
<shock_one> It stores default values in a class variable @@defaults https://github.com/huacnlee/rails-settings-cached/blob/master/lib/rails-settings/settings.rb
spider-mario has quit [Read error: Connection reset by peer]
<shock_one> Even more interesting, when I cd into this class, everything works fine. https://dl.dropboxusercontent.com/u/608214/scrn/1397297013.png
<jhass> I don't see a defaults method there
<jhass> oh, I scrolled past the cattr_accessor
lolmaus has joined #ruby
<jhass> I guess you're hitting object("...") and thus the dp
<jhass> *db
<shock_one> No, it returns nil.
<shock_one> This is craze, if I get the property manually, it works, but with this method everything breaks https://dl.dropboxusercontent.com/u/608214/scrn/1397297252.png
senayar has quit [Remote host closed the connection]
<Nilium> Guess it's time to see what the method does then.
Nukepuppy has quit [Ping timeout: 250 seconds]
<jhass> did something override self.[] ? show-method self.[]
blackmesa has quit [Ping timeout: 252 seconds]
morenoh152 has joined #ruby
<jhass> well, then it's clearly the cache messing things up
<shock_one> Yes, most likely. Thank you very much.
dyoko has quit [Ping timeout: 240 seconds]
mrjensen has quit [Remote host closed the connection]
Milly_Bays has joined #ruby
chenillen has joined #ruby
obs has quit [Remote host closed the connection]
tharindu has joined #ruby
mostlybadfly has joined #ruby
dorei has joined #ruby
browndawg has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
mercwithamouth has joined #ruby
fusillicode has joined #ruby
senayar has quit [Remote host closed the connection]
<fusillicode> hi guys :)
fusillicode has left #ruby [#ruby]
yacks has joined #ruby
rm_ has joined #ruby
postmodern has quit [Quit: Leaving]
senayar_ has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
_justin has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
mrjensen has joined #ruby
funburn has joined #ruby
Doppp has joined #ruby
Mon_Ouie has joined #ruby
JacobHayes has joined #ruby
_justin has quit [Ping timeout: 250 seconds]
jamto11 has joined #ruby
Doppp has quit [Ping timeout: 258 seconds]
m0s^away is now known as m0s
indiche has joined #ruby
Deele has joined #ruby
jasonwebster has joined #ruby
Rix has quit [Ping timeout: 252 seconds]
jamto11 has quit [Ping timeout: 250 seconds]
YamakasY has joined #ruby
Xeago has joined #ruby
indiche has quit [Quit: WeeChat 0.4.3]
obs has joined #ruby
Loaft has quit [Remote host closed the connection]
jasonwebster has quit [Ping timeout: 250 seconds]
klaut has quit [Remote host closed the connection]
rainmanjam has quit [Remote host closed the connection]
chenillen has quit [Quit: chenillen]
dima_ has joined #ruby
_justin has joined #ruby
Xeago has quit [Remote host closed the connection]
<hackeron_> hey, I'm getting the rubocop error "Use Kernel#loop with break rather than begin/end/until or begin/end/while for post-loop tests." but I don't understand the benefits? - Can someone please explain this to me? < http://pastie.org/9074893
Domon has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
Xeago has joined #ruby
evenix has joined #ruby
hackeron_ is now known as hackeron
hackeron has quit [Changing host]
hackeron has joined #ruby
Martxel has joined #ruby
dima_ has quit [Ping timeout: 240 seconds]
donnoc has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
evenix has quit [Ping timeout: 252 seconds]
Xeago has quit [Ping timeout: 252 seconds]
_justin has quit [Quit: _justin]
obs has quit [Quit: Konversation terminated!]
<shevy> Hanmac did not see that but then again I am clueless about git
<Hanmac> PS: this are fake man pages ;P
browndawg has quit [Quit: Leaving.]
dyoko has joined #ruby
Martxel has quit [Quit: Leaving]
Martxel has joined #ruby
Waheedi has joined #ruby
Speed has joined #ruby
m0s is now known as m0s^away
YamakasY has quit [Quit: The best revenge is massive success...]
tharindu has quit [Quit: Leaving...]
agjacome has joined #ruby
dut has joined #ruby
<shevy> I wouldn't be able to tell the difference
coderhs has quit [Remote host closed the connection]
Martxel has quit [Quit: Leaving]
<Hanmac> i think thats the joke on it
maximski has joined #ruby
<apeiros> hackeron: ugh, rubocop author should be spanked for that suggestion
<apeiros> break in a loop…
<apeiros> hackeron: I strongly disagree with rubocop.
<apeiros> hackeron: also, don't cross-post without stating in each channel that you are cross-posting.
Martxel has joined #ruby
fabrice31 has joined #ruby
maximski has quit [Ping timeout: 252 seconds]
arianit has joined #ruby
<Mon_Ouie> hackeron: Probably because begin … end while … does not follow the normal rule for postfix-while (since the expression is always run at least once).
arietis has joined #ruby
<apeiros> ?
<Mon_Ouie> >> begin puts true end while false
<eval-in> Mon_Ouie => true ... (https://eval.in/135759)
fabrice31 has quit [Ping timeout: 240 seconds]
<Mon_Ouie> >> puts true while false
<eval-in> Mon_Ouie => nil (https://eval.in/135760)
<apeiros> Mon_Ouie: yes. that's how `do …while` loops are supposed to work
<apeiros> ah
nuck has quit [Read error: Connection reset by peer]
<apeiros> that. yeah, IMO inline while/until is a regrettable mistake. though, so is the syntax for begin/end/while
mehlah has joined #ruby
rm_ has joined #ruby
nuck has joined #ruby
kirun has joined #ruby
<apeiros> (the functionality of begin/end/while however is not regrettable IMO)
<apeiros> and using break within the loop is just horrible.
<shevy> where is the love apeiros!
funburn has quit [Quit: funburn]
<apeiros> shevy: ask the black eyed peas
arianit has quit [Ping timeout: 250 seconds]
rm_ has quit [Ping timeout: 258 seconds]
browndawg has joined #ruby
<Hanmac> shevy the headline can be shorted to "good reasons to avoid ... java" ;P
danshultz has joined #ruby
jlebrech_ has quit [Quit: Computer has gone to sleep.]
crystal77 has quit [Quit: Computer has gone to sleep.]
sepp2k has joined #ruby
Doppp has joined #ruby
klaut has joined #ruby
phoo1234567 has joined #ruby
zachallett has joined #ruby
JacobHayes has quit [Remote host closed the connection]
Doppp has quit [Ping timeout: 245 seconds]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
tharindu has joined #ruby
zachallett has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
zachallett has joined #ruby
JacobHayes has joined #ruby
funburn has joined #ruby
danshultz has quit [Ping timeout: 252 seconds]
zachallett has quit [Remote host closed the connection]
zachallett has joined #ruby
funburn has quit [Read error: Connection reset by peer]
fgo_ has quit [Remote host closed the connection]
momomomomo has joined #ruby
funburn has joined #ruby
spider-mario has joined #ruby
jlebrech_ has joined #ruby
Xiti` has joined #ruby
yfeldblum has joined #ruby
timonv has quit [Remote host closed the connection]
cover has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 258 seconds]
jlebrech_ has quit [Max SendQ exceeded]
JacobHayes has quit [Remote host closed the connection]
zachallett has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
doodlehaus has joined #ruby
Devanon has joined #ruby
JacobHayes has joined #ruby
banister has joined #ruby
hedgehog has joined #ruby
donnoc has joined #ruby
mehlah has quit [Quit: Leaving...]
freerobby has joined #ruby
ktosiek has quit [Ping timeout: 250 seconds]
hedgehog has quit [Ping timeout: 240 seconds]
_justin has joined #ruby
tharindu has quit [Quit: Linkinus - http://linkinus.com]
funburn has quit [Quit: funburn]
blackmesa has joined #ruby
banister has quit [Ping timeout: 240 seconds]
tharindu has joined #ruby
slawrence00 has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
ndrei has quit [Quit: Lost terminal]
_justin has quit [Client Quit]
ndrei has joined #ruby
klaut has quit [Remote host closed the connection]
moritzs has joined #ruby
Hytosys has quit [Quit: Hytosys]
ndrei has quit [Ping timeout: 240 seconds]
Devanon has quit [Quit: WeeChat 0.4.3]
ndrei has joined #ruby
Devanon has joined #ruby
Devanon has quit [Client Quit]
Beoran has joined #ruby
rm_ has joined #ruby
moritzs has quit [Ping timeout: 258 seconds]
senayar has joined #ruby
Devanon has joined #ruby
cover has joined #ruby
linojon has joined #ruby
senayar_ has quit [Ping timeout: 252 seconds]
rm_ has quit [Ping timeout: 240 seconds]
shashank_rs has joined #ruby
<shevy> dumdedum
<shevy> anyone of you using prawn a lot?
Doppp has joined #ruby
nateberkopec has joined #ruby
jonno11 has joined #ruby
spacemud has quit [Ping timeout: 252 seconds]
Megtastique has joined #ruby
grieg has joined #ruby
jamto11 has joined #ruby
arianit has joined #ruby
Doppp has quit [Ping timeout: 252 seconds]
dima_ has joined #ruby
psyko666 has joined #ruby
jamto11 has quit [Ping timeout: 250 seconds]
IceDragon has joined #ruby
donnoc has quit [Quit: WeeChat 0.4.3]
lkba has joined #ruby
donnoc has joined #ruby
trhodes_ has joined #ruby
dima_ has quit [Ping timeout: 258 seconds]
Devanon has quit [Quit: WeeChat 0.4.3]
ylluminate has quit [Ping timeout: 240 seconds]
sputnik13 has joined #ruby
danshultz has joined #ruby
danshultz has quit [Remote host closed the connection]
sputnik13 has quit [Client Quit]
danshultz has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
donnoc has quit [Ping timeout: 252 seconds]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
yfeldblum has joined #ruby
spacemud has joined #ruby
naw_ has quit [Read error: Connection reset by peer]
naw has joined #ruby
elaptics`away is now known as elaptics
momomomomo has quit [Quit: momomomomo]
danshultz has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
claymore has quit [Quit: Leaving]
naw has quit [Remote host closed the connection]
naw has joined #ruby
klaut has joined #ruby
momomomomo has joined #ruby
fabrice31 has joined #ruby
sambao21 has joined #ruby
freerobby has joined #ruby
dyoko has quit [Ping timeout: 252 seconds]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
dreamchaser has joined #ruby
fabrice31 has quit [Ping timeout: 276 seconds]
lxsameer has quit [Quit: Leaving]
freerobby1 has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
shredding has joined #ruby
ktosiek has joined #ruby
cbreeze has joined #ruby
rvraghav93 has joined #ruby
sailias has joined #ruby
ponga has joined #ruby
obs has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
madb055 has joined #ruby
rm_ has joined #ruby
vpretzel_gone has quit [Remote host closed the connection]
vpretzel_gone has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
rvraghav93 has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
tjr9898 has joined #ruby
madb055 has quit [Quit: Konversation terminated!]
madb055 has joined #ruby
Doppp has joined #ruby
anaeem1_ has joined #ruby
northfurr has joined #ruby
tjr9898 has quit [Ping timeout: 245 seconds]
<ponga> one mistake on dealing with variable and it fell into infloop
<ponga> damn...
rvraghav93 has joined #ruby
enebo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
momomomomo has quit [Quit: momomomomo]
doodlehaus has quit [Remote host closed the connection]
sambao21 has joined #ruby
timonv has joined #ruby
Doppp has quit [Ping timeout: 252 seconds]
alex88 has quit [Quit: Leaving...]
momomomomo has joined #ruby
badhatter_ has quit [Ping timeout: 240 seconds]
charlies_ has joined #ruby
ferr has joined #ruby
charliesome has quit [Ping timeout: 240 seconds]
<shevy> hehe
<shevy> what was the mistake?
rm_ has joined #ruby
donnoc has joined #ruby
nouitfvf has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
hiall has quit [Quit: hiall]
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
nouitfvf has quit [Client Quit]
donnoc has quit [Ping timeout: 245 seconds]
klaut has quit [Remote host closed the connection]
etyety has quit [Ping timeout: 245 seconds]
northfurr has quit [Client Quit]
yfeldblum has joined #ruby
madb055 has quit [Quit: Konversation terminated!]
madb055 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
lolmaus has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
FxK has joined #ruby
dyoko has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
zorak has quit [Ping timeout: 276 seconds]
Dr3amc0d3r|away has quit [Changing host]
Dr3amc0d3r|away has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dr3amc0d3r|away is now known as Dr3amc0d3r
aspires has joined #ruby
klaut has joined #ruby
tjr9898 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
kerin has joined #ruby
doodlehaus has joined #ruby
gregf has joined #ruby
freerobby has joined #ruby
mjs2600 has joined #ruby
ylluminate has joined #ruby
dangerousdave has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
ponga has quit [Read error: Connection reset by peer]
vpretzel_gone has quit [Remote host closed the connection]
psyko666 has quit [Remote host closed the connection]
Morkel has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Guedes0 has joined #ruby
pierre1_ has quit [Ping timeout: 276 seconds]
zorak has joined #ruby
<Hanmac> apeiros: look at this "/* truly random sequece read from /dev/urandom. */ static unsigned char salt[8] = { 0xdb, 0x91, 0x45, 0xc3, 0x06, 0xc7, 0xcc, 0x26 }; " ;P
trhodes_ has quit [Ping timeout: 264 seconds]
toastynerd has joined #ruby
<apeiros> Hanmac: so somebody read xkcd…
mrjensen has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
linojon has quit [Quit: linojon]
ferr has quit [Ping timeout: 240 seconds]
vpretzel_gone has joined #ruby
slarv has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
sambao21 has joined #ruby
sailias has quit [Ping timeout: 252 seconds]
<crome> wut
endash_ has joined #ruby
speakingcode has joined #ruby
dima_ has joined #ruby
nateberkopec has joined #ruby
jorts has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
jeregrine has joined #ruby
bennylope has joined #ruby
dima_ has quit [Ping timeout: 240 seconds]
evenix has joined #ruby
<shevy> wutattack
ndrei has joined #ruby
Doppp has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
jamto11 has joined #ruby
nouitfvf has joined #ruby
etqqkoiflwhb has joined #ruby
ferr has joined #ruby
sambao21 has joined #ruby
Doppp has quit [Ping timeout: 258 seconds]
evenix has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
badhatter has joined #ruby
evenix has joined #ruby
vpretzel_gone has quit [Quit: Adios!]
jamto11 has quit [Ping timeout: 240 seconds]
Stalkr_ has joined #ruby
rankine_ has joined #ruby
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JBreit has joined #ruby
JBreit has left #ruby [#ruby]
evenix has quit [Ping timeout: 240 seconds]
<lagweezle> I feel like I'm missing something.
ashp has joined #ruby
<lagweezle> Is this a variant of "x = 4; // random as determined by die roll" ?
toastynerd has quit [Remote host closed the connection]
<ashp> I'm after some advice - what's the generally accepted best http/rest gem for writing a client that uses rest, as well as the best mocking framework for being able to write tests
<DouweM> lagweezle: variant of, but different, because the salt *should* stay the same, right? :/
rankine has quit [Disconnected by services]
donnoc has joined #ruby
<ashp> so far I'm leaning towards rest-client or httpclient and then trying to decide between webmock/vcr
<lagweezle> My understanding is that it should not, DouweM.
<DouweM> I guess the point is that the salt is the same for every instance of that framework, which would be stupid
<lagweezle> Ah!
<DouweM> lagweezle: this looks like an application-wide salt used on every password, which should not be rand()'d at runtime
* lagweezle snickers as he finds the bug that even includes a graphic from XKCD.
Guedes0 has quit [Ping timeout: 258 seconds]
<DouweM> lagweezle: the problem is though that it's become a framework-wide salt rather than secret and application-wide
rankine_ is now known as rankine
<lagweezle> salt = magic.that.reads.salt.from.config.file() <-- win
<lagweezle> It's been a long time since I've cared about crypto, and it definitely shows. ^^;
<DouweM> Hehe
sambao21 has quit [Quit: Computer has gone to sleep.]
<DouweM> lagweezle: well, right now it's a app-wide salt which is fine and makes dictionary attack harder, but yeah, they should probably have a salt per account
<DouweM> lagweezle: this isn't as big a misunderstanding as stated though
mehlah has quit [Quit: Leaving...]
<DouweM> from what I understand of salting, anyway
<DouweM> in the sense that the problem is that it's framework-wide and out of the open. it being fixed for every account isn't that big a deal, as long as it's secret and per-app. having a salt per account would be even better, but salt and pepper (app-wide) are often used in conjunction
donnoc has quit [Ping timeout: 252 seconds]
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
<lagweezle> And now my brain goes on a completely unrelated tangent, wondering if a photo store is open early enough to go get a new CF card for my camera at a reasonable price (hah?). Hooray for 'needing' UDMA 7 or better.
<lagweezle> DouweM: That sounds about dead on. :)
<lagweezle> ... pepper?
<DouweM> yeah, pepper is sometimes used for "per-app salt" as opposed to "per-user salt"
senayar has quit [Remote host closed the connection]
<DouweM> same principle though
<lagweezle> Cute. :)
claymore has joined #ruby
etqqkoiflwhb_ has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
fabrice31 has joined #ruby
zcreative has joined #ruby
kayloos has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 276 seconds]
eka has joined #ruby
red234324 has joined #ruby
<shevy> cooks need to understand when to use salt and when to use pepper
lioninawhat has joined #ruby
senayar has joined #ruby
<ashp> hmm, maybe faraday/webmock/vcr makes sense for this REST stuff
mehlah has joined #ruby
donnoc has joined #ruby
<lagweezle> shevy: and when to use liquid nitrogen
banister has joined #ruby
<shevy> hey don't ask me!
<shevy> ask timguither
freerobby has joined #ruby
<shevy> *timgauthier
<shevy> difficult names
<shevy> I like short names
<shevy> or funny names
<lagweezle> wombat
<shevy> like lagweasel
Dr3amc0d3r is now known as Dr3amc0d3r|away
alexju has joined #ruby
earth has joined #ruby
donnoc has quit [Ping timeout: 276 seconds]
SilkFox has joined #ruby
mr_snowf1ake has joined #ruby
kobain has joined #ruby
bricker`LA has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
donnoc has joined #ruby
<lagweezle> woo
* lagweezle sighs
LadyRainicorn has joined #ruby
<lagweezle> welp, off to go deal with dumb family decisions *rolls eyes*
lolmaus has joined #ruby
SilkFox has quit [Ping timeout: 246 seconds]
jorts has quit [Quit: jorts]
kayloos has joined #ruby
mr_snowf1ake has quit [Ping timeout: 258 seconds]
nateberkopec has quit [Quit: Leaving...]
<shevy> which one
lkba has quit [Ping timeout: 252 seconds]
<shevy> "our son must leave home today"
kobain has quit []
<shevy> "no more internetz for you for 6 months"
kobain has joined #ruby
kobain has quit [Changing host]
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
arietis has joined #ruby
klaut has quit [Remote host closed the connection]
klaut_ has joined #ruby
sambao21 has joined #ruby
pr0ggie has joined #ruby
klaut_ has quit [Read error: Connection reset by peer]
klaut has joined #ruby
jason_ has joined #ruby
_sambao21 has joined #ruby
shashank_rs has quit [Ping timeout: 252 seconds]
rkazak has joined #ruby
einarj has joined #ruby
maximski has quit []
sambao21 has quit [Ping timeout: 258 seconds]
morenoh152 has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
blackmes1 has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
arubin has joined #ruby
Doppp has joined #ruby
_sambao21 has quit [Quit: Computer has gone to sleep.]
tungd has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Doppp has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
spider-mario has joined #ruby
rkazak has quit [Quit: rkazak]
mynyml has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
tharindu is now known as tharindu|away
tharindu|away is now known as tharindu
lkba has joined #ruby
pwh has joined #ruby
arianit has quit [Ping timeout: 252 seconds]
crystal77 has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]
twiceaday has joined #ruby
<lolmaus> I'm using a gem that makes use of a config.rb file. I would like to split the config file into multiple files. I've created another file, i. e. config_foo.rb and from config.rb i did `require './config_foo`. The problem is that all gem-specific classes and methods are not available in config_foo. Why?
yfeldblum has joined #ruby
<lolmaus> It says: undefined method "configure".
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
lw has joined #ruby
etqqkoiflwhb_ has joined #ruby
sdouglas has joined #ruby
MatthewsFace has joined #ruby
toastynerd has joined #ruby
MatthewsFace has quit [Client Quit]
Doppp has joined #ruby
snuffeluffegus has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
meatherly has joined #ruby
aspires has quit []
etqqkoiflwhb_ has quit [Ping timeout: 245 seconds]
maroloccio has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
etqqkoiflwhb_ has joined #ruby
toastynerd has quit [Ping timeout: 245 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
LadyRainicorn has joined #ruby
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
Speed has quit [Ping timeout: 258 seconds]
Shidash has quit [Quit: Leaving.]
davispuh has joined #ruby
Billy2 has quit [Ping timeout: 252 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
LadyRainicorn has joined #ruby
djbender has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
LadyRainicorn has joined #ruby
madb055 has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
rainmanjam has joined #ruby
Bumptious has quit [Remote host closed the connection]
<etqqkoiflwhb_> lolmaus: can you paste the code in a gist?
Bumptious has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
jamto11 has joined #ruby
ukd1 has joined #ruby
SilkFox has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
arianit has joined #ruby
cj3kim_ has joined #ruby
pwh has quit []
havenwood has joined #ruby
dima_ has joined #ruby
morenoh152 has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
ferr has quit [Ping timeout: 250 seconds]
SilkFox has joined #ruby
BHensley has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
Rainicorn has joined #ruby
endash_ has quit [Quit: endash_]
Rainicorn has quit [Client Quit]
eynj has joined #ruby
LadyRainicorn has joined #ruby
CaptainJet has joined #ruby
Bumptious has quit [Ping timeout: 264 seconds]
arietis has joined #ruby
lw has quit [Quit: s]
dima_ has quit [Ping timeout: 258 seconds]
thomasxie has joined #ruby
aspires has joined #ruby
JonathanNeal has joined #ruby
<JonathanNeal> When working with a regex like ([A-z]([0-9]))-\2 ... would \2 match for the result of [0-9]? I’m coming from a JS background where it would.
MindfulMonk has quit [Changing host]
MindfulMonk has joined #ruby
Xiti` has quit [Quit: Leaving]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
MindfulMonk has quit [Quit: Have fun]
mynyml has quit [Quit: Leaving]
alexju has quit [Remote host closed the connection]
mrjensen has joined #ruby
amclain has joined #ruby
MindfulMonk has joined #ruby
Milly_Bays has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
momomomomo has quit [Quit: momomomomo]
northfurr has joined #ruby
LadyRainicorn has quit [Ping timeout: 240 seconds]
lw has joined #ruby
klaut has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
Vovko has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
SilkFox has quit [Ping timeout: 258 seconds]
Vovko has quit [Remote host closed the connection]
<tobiasvl> JonathanNeal: yes
<tobiasvl> >> "A9-9".match(/([A-z]([0-9]))-\2/)
<eval-in> tobiasvl => #<MatchData "A9-9" 1:"A9" 2:"9"> (https://eval.in/135801)
<JonathanNeal> Okay, thanks tobiasvl
rkazak has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
<apeiros> JonathanNeal: btw., [0-9] is better written as just \d
<tobiasvl> JonathanNeal: note that outside of the actual regex, you'd use $2 to refer to the second match (for example in the second argument to gsub)
northfurr has quit [Quit: northfurr]
northfurr has joined #ruby
cj3kim_ has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
<DouweM> apeiros: there's difference between those though, with [0-9] being more performant. But we had a convo about this a cuople of months back and I'm not sure if Ruby actually implements the difference
<apeiros> DouweM: utter nonsense :)
<DouweM> apeiros: ?
<apeiros> got a proof?
<DouweM> sure, gimme a sec
<apeiros> in any sane regex engine, \d will not be different in any way from [0-9]
<DouweM> The difference is that \d includes/should include non-Arabic numerals
chris_thomson has joined #ruby
<DouweM> while [0-9] only ever matches 10 elements
<apeiros> aaah, ok. unicode…
<DouweM> but I recall that onigurama doesn't actually include the non-Arabic numerals
<apeiros> I retract what I said. that wasn't the case all the time.
<DouweM> :)
senayar has quit [Remote host closed the connection]
morenoh152 has quit [Ping timeout: 258 seconds]
<DouweM> at least your "utter nonsense" came with a smile
<shevy> yeah
<shevy> he laughed about you
<shevy> and was thinking "god, what an idiot!"
<apeiros> that's nothing personal, though. I laugh about everybody.
<shevy> but he was not typing that!
kenopio has quit [Ping timeout: 245 seconds]
<DouweM> apeiros: to make it up to me you can look up if Oniguruma actually does make that difference :P
<shevy> DouweM how would an evil smirk look on IRC?
<apeiros> >> "٠١٢٣٤٥٦٧٨٩"[/\d/]
<eval-in> apeiros => nil (https://eval.in/135802)
<apeiros> doesn't
cj3kim_ has quit [Remote host closed the connection]
<apeiros> >> "٠١٢٣٤٥٦٧٨٩"[/\p{digit}/]
<eval-in> apeiros => "٠" (https://eval.in/135803)
<DouweM> hehe, I was actually looking at the Onig
rm_ has quit [Remote host closed the connection]
<apeiros> thank you onigiruma for doing the sane thing!
<DouweM> uruma source, didn't even think to check on the repl
<apeiros> same applies to \w vs. \p{Word}
rm_ has joined #ruby
<JonathanNeal> apeiros, tobiasvl: this is the single regex I was modifying https://gist.github.com/jonathantneal/10545378
<apeiros> btw., it's no longer oniguruma
maximski has joined #ruby
<DouweM> apeiros: yeah, I noticed, regexec.c says Onigmo
<apeiros> DouweM: so I'll reinstate what I said! UTTER NONSENSE! MUAHAHAHA *laughs away running - or other way round*
<JonathanNeal> The first one is the original, the later is my modification.
mehlah has joined #ruby
mehlah has quit [Client Quit]
veinofstars has joined #ruby
* DouweM cries
timonv has quit [Remote host closed the connection]
mehlah has joined #ruby
yvemath has joined #ruby
fabrice31 has joined #ruby
mehlah has quit [Client Quit]
yvemath is now known as Guest52707
rm_ has quit [Ping timeout: 240 seconds]
<apeiros> DouweM: but now I commented on that regex question :)
cover has quit [Remote host closed the connection]
alexju has joined #ruby
benzrf is now known as benzrf|offline
shock_one has quit [Quit: Leaving]
bennylope has joined #ruby
bennylope has quit [Client Quit]
lw has quit [Quit: s]
fabrice31 has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
anaeem___ has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
Cache_Money has joined #ruby
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<JonathanNeal> DouweM: did I make you cry?
xunil has joined #ruby
<xunil> hi
<DouweM> JonathanNeal: apeiros did
<xunil> What is the difference between a Gemfile and ' .ruby-gemset' ?
* xunil is confused.
anaeem1_ has quit [Ping timeout: 245 seconds]
doodlehaus has quit [Remote host closed the connection]
djbender has quit [Quit: djbender]
freerobby has joined #ruby
benzrf|offline is now known as benzrf
rm_ has joined #ruby
rylev has quit [Remote host closed the connection]
meatherly has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
jason_ has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
northfurr has quit [Quit: northfurr]
jason_ has joined #ruby
aspires has quit []
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
diegoviola has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
Krajsnick has joined #ruby
meatherly has joined #ruby
meatherly has quit [Remote host closed the connection]
Musashi1 has joined #ruby
meatherly has joined #ruby
yfeldblum has joined #ruby
meatherly has quit [Read error: Connection reset by peer]
ktosiek_ has joined #ruby
Honsby has joined #ruby
ktosiek has quit [Ping timeout: 276 seconds]
meatherly has joined #ruby
Krajsnick has quit [Remote host closed the connection]
<Honsby> Hi. I'm receiving this weird error when I try to assign stuff to a variable in pry.
<Honsby> "Error: Cannot open "/Users/Honsby/=" for reading."
Krajsnick has joined #ruby
<Honsby> Can't find anything on google.
<Honsby> Any ideas?
sdouglas has joined #ruby
Xiti has joined #ruby
ccham_ has joined #ruby
ferr has joined #ruby
Xeago has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
morenoh152 has joined #ruby
Honsby has quit [Client Quit]
trhodes_ has joined #ruby
Krajsnick has quit [Client Quit]
dut has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zorak> Hi, im doing the koans, and im having this problem
moritzs has joined #ruby
Honsby has joined #ruby
fuhgeddaboudit has joined #ruby
Honsby has quit [Client Quit]
<zorak> def test_changing_hashes
<zorak> hash = { :one => "uno", :two => "dos" }
<zorak> expected = { :one => __, :two => "dos" }
<zorak> assert_equal __, hash
<zorak> hash[:one] = "eins"
<zorak> # Bonus Question: Why was "expected" broken out into a variable
<zorak> # rather than used as a literal?
virtualize has joined #ruby
<zorak> end
sdouglas has quit [Ping timeout: 258 seconds]
<zorak> the answer is this
<zorak> The answers you seek...
<zorak> Expected false to equal {:one=>"eins", :two=>"dos"}
camilasan has joined #ruby
<zorak> but when i copy that i get this error
<zorak> about_hashes.rb:40: syntax error, unexpected tASSOC, expecting '}'
<zorak> assert_equal {:one=>"eins", :two=>"dos"}, hash
<zorak> about_hashes.rb:40: syntax error, unexpected ',', expecting '}'
<zorak> assert_equal {:one=>"eins", :two=>"dos"}, hash
<zorak> ^
<zorak> ^
<zorak> about_hashes.rb:40: syntax error, unexpected ',', expecting keyword_end
<zorak> assert_equal {:one=>"eins", :two=>"dos"}, hash
Stalkr_ has joined #ruby
<benzrf> zorak: it seems to think it's a block
<benzrf> try using parenthesis when you call assert_equal
<zorak> same error
<zorak> about_hashes.rb:40: syntax error, unexpected tASSOC, expecting ')'
<zorak> assert_equal (:one=>"eins", :two=>"dos"), hash
<zorak> assert_equal (:one=>"eins", :two=>"dos"), hash
<zorak> about_hashes.rb:40: syntax error, unexpected ',', expecting keyword_end
<zorak> ^
<zorak> ^
<zorak> about_hashes.rb:40: syntax error, unexpected ')', expecting keyword_end
<zorak> assert_equal (:one=>"eins", :two=>"dos"), hash
<zorak> ^
niko has joined #ruby
<DouweM> the hash still needs {}, you should just put parentheses around the assert_equal arguments
<DouweM> so assert_equal({ ... }, hash)
nouitfvf_ has joined #ruby
endash_ has joined #ruby
<diegoviola> someone never heard of pastebin apparently
<shevy> zorak don't make: foo (), make foo()
<shevy> or in your example, use more ()
ClarusCogitatio has quit [Ping timeout: 255 seconds]
<zorak> DouweM: work!
<zorak> thank you :)
pushpak has joined #ruby
ClarusCogitatio has joined #ruby
JacobHayes has quit [Remote host closed the connection]
yfeldblum has joined #ruby
nouitfvf has quit [Ping timeout: 258 seconds]
JacobHayes has joined #ruby
freerobby has quit [Quit: Leaving.]
CaptainJet has quit [Ping timeout: 276 seconds]
fuhgeddaboudit has quit [Ping timeout: 258 seconds]
rylev has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
shevy has quit [Ping timeout: 252 seconds]
rylev has quit [Remote host closed the connection]
JacobHayes has quit [Ping timeout: 258 seconds]
nouitfvf_ has quit [Read error: Connection reset by peer]
shevy has joined #ruby
nouitfvf_ has joined #ruby
evenix has joined #ruby
lw has joined #ruby
Shidash has joined #ruby
mrjensen has quit [Remote host closed the connection]
rkazak has quit [Quit: rkazak]
CaptainJet has joined #ruby
mesamoo has joined #ruby
frostbite72 has quit [Ping timeout: 264 seconds]
enebo has quit [Quit: enebo]
kerin has quit [Ping timeout: 252 seconds]
zcreative has joined #ruby
RowdyChild|Away is now known as RowdyChildren
MatthewsFace has joined #ruby
sandelius has joined #ruby
mrjensen has joined #ruby
ccham_ has quit [Remote host closed the connection]
madb055 has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
<sandelius> Hi all. I'm building a CMS using rack as a foundation. Is it possible to make ruby reload certain files on each request? What I mean is e.g plugin and themes should be able to be loaded and activated in runtime (for non programming users). The same way Drupal and WordPress does with PHP.
Shidash has quit [Ping timeout: 240 seconds]
tungd has quit [Ping timeout: 258 seconds]
elaptics is now known as elaptics`away
rm__ has joined #ruby
einarj has joined #ruby
ktosiek_ is now known as ktosiek
ferr has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
jgoss has quit [Ping timeout: 240 seconds]
rm_ has quit [Ping timeout: 276 seconds]
senayar has joined #ruby
<niko> /14/Wc
niko has left #ruby [#ruby]
edwardly_ has joined #ruby
<benzrf> sandelius: i feel like theres probably already something like that
donnoc has quit [Quit: WeeChat 0.4.3]
<sandelius> benzrf cms?
einarj has quit [Ping timeout: 252 seconds]
edwardly has quit [Ping timeout: 246 seconds]
edwardly_ is now known as edwardly
doodlehaus has joined #ruby
evenix has quit [Remote host closed the connection]
chipotle has joined #ruby
evenix has joined #ruby
emzi has joined #ruby
phutchins has joined #ruby
emzi has left #ruby [#ruby]
senayar has quit [Ping timeout: 276 seconds]
ktun has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
<benzrf> hmm
edwardly has quit [Ping timeout: 250 seconds]
funktor has joined #ruby
evenix has quit [Ping timeout: 258 seconds]
morenoh152 has quit [Ping timeout: 240 seconds]
edwardly has joined #ruby
Hanmac1 has joined #ruby
wallerdev has joined #ruby
jgoss has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Remote host closed the connection]
etqqkoiflwhb_ has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
jackyalcine is now known as jacky
mrmargolis has joined #ruby
rylev has joined #ruby
freerobby has joined #ruby
tharindu is now known as tharindu|away
arianit has quit [Quit: Leaving]
<nhmood> anyone familiar with datamapper?
crazymykl has quit [Remote host closed the connection]
shashank_rs has joined #ruby
crazymykl has joined #ruby
rylev has quit [Ping timeout: 252 seconds]
tharindu|away is now known as tharindu
ukd1 has quit [Remote host closed the connection]
morenoh152 has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
ukd1 has joined #ruby
centrx has joined #ruby
blackmes1 has quit [Quit: WeeChat 0.4.3]
ukd1 has quit [Read error: Connection reset by peer]
ukd1_ has joined #ruby
blackmesa has joined #ruby
endash_ has quit [Quit: endash_]
doodlehaus has joined #ruby
duggiefresh has joined #ruby
sdouglas has joined #ruby
locriani has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
shashank_rs has quit [Ping timeout: 252 seconds]
shashank_rs has joined #ruby
MatthewsFace has joined #ruby
flowerhack has joined #ruby
dima_ has joined #ruby
browndawg has quit [Quit: Leaving.]
MatthewsFace has quit [Client Quit]
nouitfvf_ has quit []
ahuman has quit [Remote host closed the connection]
ahuman has joined #ruby
<tobiasvl> agh. i need to parse a CSV like file format, with values delimited by , and rows delimited by \n ... except that the values are in "" and they can be multiline, so i only have a new row if i'm not inside a value
coderhs has joined #ruby
<tobiasvl> is there any easy way to parse that that i'm missing?
IceDragon has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
aspires has joined #ruby
IceDragon has joined #ruby
sdouglas has joined #ruby
brian___ has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
red234324 has quit [Quit: Leaving]
dima_ has quit [Ping timeout: 252 seconds]
<centrx> tobiasvl, Did you try it?
<centrx> with CSV
<benzrf> tobiasvl: that IS csv
dyoko has quit [Quit: Leaving.]
arietis has quit [Quit: Computer has gone to sleep.]
twiceaday has quit [Ping timeout: 252 seconds]
ukd1_ has quit [Remote host closed the connection]
<tobiasvl> good night
etqqkoiflwhb_ has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
<tobiasvl> think I'll have a beer
etqqkoiflwhb_ has joined #ruby
aspires has quit [Client Quit]
SilkFox has joined #ruby
jamto11 has joined #ruby
<shevy> haha
<shevy> that's a great reply
sepp2k has quit [Quit: Leaving.]
nisstyre has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
<tobiasvl> :(
Cache_Money has quit [Quit: Cache_Money]
<tobiasvl> :)
<tobiasvl> :V
Nukepuppy has joined #ruby
twiceaday has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
snuffeluffegus has quit [Quit: Leaving]
lw has quit [Quit: s]
klaut has joined #ruby
lolmaus has quit [Ping timeout: 258 seconds]
tonni_ has joined #ruby
tonni has quit [Ping timeout: 276 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
mrmargolis has quit []
ktosiek has quit [Ping timeout: 252 seconds]
mrmargolis has joined #ruby
Milly_Bays has joined #ruby
wiscas has quit [Quit: That's what she said]
etqqkoiflwhb__ has joined #ruby
etqqkoiflwhb_ has quit [Ping timeout: 245 seconds]
jason_ has quit [Read error: Connection reset by peer]
mrjensen has quit [Remote host closed the connection]
SolarBoom has joined #ruby
jason_ has joined #ruby
Guedes0 has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
pwh has joined #ruby
etqqkoiflwhb___ has joined #ruby
arietis has joined #ruby
jgoss has quit [Ping timeout: 252 seconds]
mrjensen has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 245 seconds]
<shevy> tobiasvl did you have your beer yet?
fabrice31 has joined #ruby
CaptainJet has quit []
emaxi has joined #ruby
Hobogrammer has joined #ruby
ukd1 has quit [Remote host closed the connection]
testcore has joined #ruby
Fire-Dragon-DoL has joined #ruby
tharindu is now known as tharindu|away
fabrice31 has quit [Ping timeout: 252 seconds]
camilo_ has joined #ruby
wiscas has joined #ruby
SolarBoom1 has joined #ruby
decoponio has quit [Quit: Leaving...]
arubin has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
funktor has quit [Remote host closed the connection]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
funktor has joined #ruby
Xeago has joined #ruby
SolarBoom has quit [Ping timeout: 276 seconds]
shredding has quit [Ping timeout: 245 seconds]
SolarBoom1 has quit [Remote host closed the connection]
emaxi has quit [Remote host closed the connection]
emaxi has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
Nukepuppy has quit [Ping timeout: 240 seconds]
randomnick_ has joined #ruby
rylev has joined #ruby
jgoss has joined #ruby
<tobiasvl> shevy: yes, thank you! it's doing wonders. now I'm importing CSV and tab delimited data like a boss
emaxi has quit [Ping timeout: 252 seconds]
<shevy> lol
<tobiasvl> please note that it's 9 PM here, and drinking on a Saturday night is far from frowned upon in my western culture.
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
camilo_ has quit [Remote host closed the connection]
rylev has quit [Ping timeout: 252 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
Emmanuel_Chanel has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
ukd1 has joined #ruby
sdouglas has joined #ruby
emaxi has joined #ruby
maximski has quit []
SolarBoom has joined #ruby
yfeldblu_ has joined #ruby
sepp2k has joined #ruby
rvraghav93 has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 276 seconds]
jorts has joined #ruby
maximski has joined #ruby
shredding has joined #ruby
MatthewsFace has joined #ruby
maximski has quit [Client Quit]
mary5030 has joined #ruby
etqqkoiflwhb____ has joined #ruby
tonni_ has quit [Remote host closed the connection]
evenix has joined #ruby
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
freerobby has quit [Quit: Leaving.]
<shevy> can't be in bavaria then
agjacome has quit [Ping timeout: 252 seconds]
etqqkoiflwhb___ has quit [Ping timeout: 245 seconds]
evenix_ has joined #ruby
MatthewsFace has quit [Ping timeout: 252 seconds]
rvraghav93 has joined #ruby
tjr9898_ has joined #ruby
MatthewsFace has joined #ruby
bluOxigen has joined #ruby
evenix has quit [Read error: Connection reset by peer]
arnis has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
ukd1 has quit [Ping timeout: 240 seconds]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evenix_ has quit [Remote host closed the connection]
evenix has joined #ruby
evenix has quit [Read error: Connection reset by peer]
evenix has joined #ruby
earth has quit [Quit: earth]
etqqkoiflwhb____ has quit [Read error: Connection reset by peer]
etqqkoiflwhb____ has joined #ruby
freerobby has joined #ruby
BHensley has quit []
eynj has quit [Read error: Connection reset by peer]
SolarBoom has quit [Remote host closed the connection]
combusean has joined #ruby
Guedes0 has quit [Ping timeout: 252 seconds]
rvraghav93_ has joined #ruby
rvraghav93 has quit [Ping timeout: 245 seconds]
tharindu|away is now known as tharindu
macuser has joined #ruby
madb055 has quit [Ping timeout: 276 seconds]
macuser is now known as Guest82608
aspires has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
bufferloss has joined #ruby
obesd has joined #ruby
marcdel has joined #ruby
aspires has quit [Client Quit]
<zorak> hi, i have this code http://pastebin.com/52UsMwdZ saved in /usr/lib/cgi-bin/ and when i open localhost/cgi-bin/simple_cgi.rb i get a 500 error
<zorak> if i try to rub the script with ruby simple_cgi.rb i dont get any error
Guest65791 has quit [Ping timeout: 245 seconds]
kayloos has quit [Remote host closed the connection]
<DouweM> Can't fault the script for wanting to be rubbed
flowerhack has quit [Remote host closed the connection]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tharindu has quit [Quit: Leaving...]
marcdel has quit [Ping timeout: 245 seconds]
evenix has quit [Remote host closed the connection]
djbender has joined #ruby
evenix has joined #ruby
mengu has joined #ruby
rvraghav93 has joined #ruby
anaeem___ has quit [Read error: Connection reset by peer]
marcdel has joined #ruby
<shevy> hahaha
<shevy> that's the funniest thing you ever wrote here DouweM
<DouweM> :D
<shevy> zorak look into apache log for the real error
rvraghav93_ has quit [Ping timeout: 276 seconds]
<shevy> and pls stop rubbing your scripts
<Rydekull> DouweM: http://xkcd.com/879/
<DouweM> Rydekull: haha I'd actually never seen that one
<shevy> poor djinni
<DouweM> Great title too: "That was definitely not in my top three wishes." "Who said anything about YOUR wishes?"
rm__ has quit [Remote host closed the connection]
<zorak> whats mean rubbing scripts?
evenix has quit [Ping timeout: 245 seconds]
arubin has joined #ruby
rm_ has joined #ruby
<DouweM> zorak: read your previous message again ;)
<shevy> zorak do you not know what rubbing means?
<shevy> <zorak> if i try to rub the script
<zorak> lol
kayloos has joined #ruby
jorts has quit [Quit: jorts]
tharindu has joined #ruby
evenix has joined #ruby
<DouweM> zorak: thanks for setting up the funniest thing I've ever said, according to one shevy
<zorak> no problem :P
<shevy> yeah
<shevy> in the future, if I find a bug in my scripts
<shevy> I'm gonna rub them good
prakriti has joined #ruby
anaeem1 has joined #ruby
<zorak> i need apache to read my rb scrips, how i do that?
rm_ has quit [Ping timeout: 252 seconds]
<zorak> already have the libapache2-ruby
<shevy> zorak my apache runs ruby .cgi just fine
<zorak> but when i try to run the simple_cgi.rb i get a 500 server error
<zorak> if a i change the name of the scrip to .cgi run fine
<shevy> I use these settings:
<shevy> Options Indexes FollowSymLinks ExecCGI Includes Multiviews
<shevy> AddHandler cgi-script .cgi .pl
<zorak> where?
<shevy> and of course
<shevy> LoadModule cgi_module modules/mod_cgi.so
<shevy> in httpd.conf
<shevy> yeah zorak
<shevy> apache by default expects .cgi file ending
<shevy> I am not sure how you can tell apache to run .rb files as .cgi files
<zorak> where is httpd.conf?
<shevy> find it on your system
<shevy> locate httpd.conf
<shevy> or
combusean has quit [Ping timeout: 258 seconds]
<shevy> find / -name httpd.conf # <-- always works even if it takes long
<shevy> I compiled from source into /usr prefix though
<shevy> you seem to run debian I bet
<zorak> this one? /usr/share/doc/libapache2-mod-ruby/examples/httpd.conf-apache2
<bufferloss> zorak, no that's an example one
<bufferloss> you want the real one
<zorak> /etc/mini-httpd.conf
<zorak> ??
<bufferloss> probably in /etc/apache2 somewhere on debian
<bufferloss> /etc/httpd on RPM
<shevy> zorak no just httpd.conf
<bufferloss> also, why are you using apache? what's wrong with just using e.g. passenger
<bufferloss> or use nginx to reverse proxy puma or something
<shevy> the more important question is... why are you using debian hahaha ;D
<bufferloss> that is a good question too
<tobiasvl> hmm, I have a pseudo-JSON file which contains some non-JSON lines I'd like to ignore. is there a way to easily do that without having to loop through the file once and throw away all invalid lines?
<zorak> i learing and the book said "use apache, install with apt-get install apache2"
<shevy> yeah that's the problem with books
<zorak> (i use aptitude)
m0s^away is now known as m0s
<bufferloss> "and the book said" <- there's your first problem
<shevy> somewhere there must be debian documentation
<bufferloss> I don't like books for anything programming related
obs has quit [Quit: Konversation terminated!]
<bufferloss> just about anything you want to learn you can learn for free and better online
<zorak> sure, like a book you download :P
<bufferloss> uhh, no
<shevy> well zorak
<shevy> you use debian
<bufferloss> like a myriad of different online tutorials
<zorak> already did codeacademy
<bufferloss> zorak, so then why are you using a "book" to "learn" from?
<shevy> but you are clueless what it does
<bufferloss> just code already
<shevy> I compiled httpd from source
<zorak> because codeacademy is just a taste of the code
<shevy> I let ruby autogenerate my httpd.conf
<shevy> so I know where the stuff all is
<bufferloss> zorak, not really, it's pretty in depth
<bufferloss> zorak, if you want to make a website, use rails or sinatra and just run them locally with the default dev servers they come with
<bufferloss> worry about deployment later
<bufferloss> zorak, you'r futzing with deployment right now, not learning ruby
tvw has quit []
mrjensen has quit [Remote host closed the connection]
<zorak> well, i already did ruby, PHP and half of python and i dont feel like i can just go programming thinks
evenix has quit [Remote host closed the connection]
<bufferloss> zorak, what you want really, is http://httpd.apache.org/docs/2.4/ check out Getting Started
<zorak> there's a lot more to learn
<zorak> im not saying that codeacademy is useless, but is very basic
<bufferloss> zorak, I think you think that there's some mysterious barrier between you and just programming, and there's not
evenix has joined #ruby
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
pu22l3r has joined #ruby
<bufferloss> anything else you need, pretty much should be available on pages like http://www.ruby-doc.org/core-2.1.0/Enumerable.html
<bufferloss> zorak, try this maybe instead of wasting time messing with apache http://guides.rubyonrails.org/getting_started.html
<zorak> you cant go to [not know anything] to [full programming] with just codeacademy
<bufferloss> the notion that you must get to "full programming" before you can do anything useful is wrong
<zorak> im doing this book (Ruby by example) and the koans
<bufferloss> also the notion that deploying ruby code in a CGI container in apache will at all help you get towards that goal of "full programming" is wrong as well
<bufferloss> that's system administration
earth has joined #ruby
jackneill has quit [Remote host closed the connection]
<bufferloss> zorak, use somethingi more up to date instead, like http://ruby.learncodethehardway.org/ maybe
<bufferloss> zorak, there's a ton of stuff available for free, listed here https://www.ruby-lang.org/en/documentation/ which is better than what you're currently trying to do
<shevy> zorak running .cgi scripts is easy with apache, but if you do not even know where your httpd.conf is then you can not modify apache's behaviour
<zorak> yes, that some problem with the book im doing is in 1.8.7 a some things work different now
evenix has quit [Ping timeout: 240 seconds]
<bufferloss> zorak, http://www.sinatrarb.com/ shows you how to write a web app in like 4 lines of code, right there on the home page
<zorak> i dont even think i have a http.conf in my sistem :-/
<bufferloss> doesn't get much simpler than that
morenoh152 has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Remote host closed the connection]
<shevy> zorak blame debian for that ;)
<bufferloss> zorak, seriously, get up to date, use something modern, ruby koans is fine, but use a better book
<bufferloss> zorak, ruby-lang.org is the official site and has tons of links to good up to date books
tharindu has quit [Ping timeout: 258 seconds]
<zorak> im already in the page 236 from 300
<bufferloss> or if your goal is to learn to make web sites specifically, stop wasting your time with "zomg full programmer" and just go learn rails from http://guides.rubyonrails.org
<zorak> thats the next step
<shevy> he has the steps to world domination well planned ahead
<bufferloss> zorak, the notion that "I can't stop eating this poop now, I'm almost done eating the whole turd!" is, well, I can't say it's wrong per se, but it's not advantagous nor particularly rational
<bufferloss> shevy, yes I see that
<shevy> lol
<shevy> DouweM, the channel is getting funnier and funnier by the minute
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<DouweM> it's a great day
<bufferloss> zorak, seriously, no one would benefit from reading a guide on programming a DEC-PDP anymore, you are not benefitting from reading an out of date ruby book, you should stop and read something else
<shevy> we have had rubbing ruby scripts the right way, now we philosophize about eating the poop before one gets to do the whole turd
<bufferloss> zorak, quit before you waste even MORE of your time
<zorak> ->end this book ->make the overtime calculator->learn rails->do some project in rails->star searching work with ruby/rails
rylev has joined #ruby
<bufferloss> zorak, change that to simply ->make the overtime calculator->learn rails->do some project in rails->star searching work with ruby/rails
<bufferloss> oh and btw that whole "start looking for work" thing ain't gonna go well when they find out you learned ruby from a book written for 1.8
ndrei has joined #ruby
ciwolsey has joined #ruby
rylev has quit [Read error: No route to host]
djbender has quit [Quit: djbender]
combusean has joined #ruby
rylev has joined #ruby
<zorak> grrrrrrr
<zorak> ok
gnutz has joined #ruby
<zorak> im gonna close the book
<zorak> and start with the calculator
<bufferloss> cool, I think you'll probably learn more by doing that actually
<bufferloss> zorak, I'll be around most of the day if you have questions on, well, stuff
<zorak> thank, im find this chat very nice
prakriti has quit [Quit: Leaving]
<combusean> same here.
<combusean> if i can be of use
<zorak> cya later, im gonna take a bath and clean the house
<zorak> thanks for your support!
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skaflem has quit [Quit: Leaving]
rylev has quit [Ping timeout: 250 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
northfurr has joined #ruby
Morkel has quit [Quit: Morkel]
dima_ has joined #ruby
nateberkopec has joined #ruby
dima_ has quit [Ping timeout: 240 seconds]
kalz has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 252 seconds]
prakriti has joined #ruby
morenoh152 has joined #ruby
cek has joined #ruby
cek has left #ruby [#ruby]
freerobby has quit [Quit: Leaving.]
scare_byte has joined #ruby
freerobby has joined #ruby
Avahey_ has joined #ruby
ndrei has joined #ruby
<shevy> I am working through my old ruby docu
kirun has quit [Quit: Client exiting]
ukd1 has joined #ruby
kalz has joined #ruby
marr has joined #ruby
etqqkoiflwhb____ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 252 seconds]
ukd1 has quit [Ping timeout: 276 seconds]
Slavox is now known as Slavox|AFK
lolmaus has joined #ruby
jamto11 has joined #ruby
yfeldblum has joined #ruby
ndrei has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
doodlehaus has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
__class__ has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<northfurr> anyone here use an octopress blog?
<northfurr> trying to preview posts before submitting them, but localhost:4000 isn’t working
Slavox|AFK is now known as Slavox
timonv has quit [Ping timeout: 258 seconds]
rkazak has joined #ruby
tcurdt has joined #ruby
rkazak has left #ruby [#ruby]
shashank_rs has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
etqqkoiflwhb____ has quit [Ping timeout: 276 seconds]
rm_ has joined #ruby
brupeb has joined #ruby
<DouweM> not working how?
etqqkoiflwhb____ has joined #ruby
slawrence00 has joined #ruby
__class__ has joined #ruby
Xeago_ has joined #ruby
obesd has quit [Ping timeout: 250 seconds]
rm_ has quit [Ping timeout: 245 seconds]
SilkFox has quit [Ping timeout: 245 seconds]
SilverKey has joined #ruby
gnutz has quit [Quit: Lost terminal]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
mostlybadfly has joined #ruby
sdouglas has quit [Ping timeout: 258 seconds]
tcurdt has quit [Quit: Computer has gone to sleep.]
sdouglas has joined #ruby
glide has joined #ruby
em0ral has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
lioninawhat has quit [Remote host closed the connection]
Cooler_ has quit [Ping timeout: 255 seconds]
earth has quit [Quit: earth]
arietis has joined #ruby
rylev has joined #ruby
trhodes_ has joined #ruby
ndrei has quit [Ping timeout: 276 seconds]
Cooler_ has joined #ruby
ndrei has joined #ruby
claymore has quit [Quit: Leaving]
shashank_rs has joined #ruby
maximski has joined #ruby
arietis has quit [Ping timeout: 250 seconds]
rylev has quit [Ping timeout: 252 seconds]
moritzs has quit [Ping timeout: 250 seconds]
ellbot has joined #ruby
ukd1 has joined #ruby
maximski has quit [Ping timeout: 245 seconds]
Nukepuppy has joined #ruby
duggiefresh has quit [Remote host closed the connection]
duggiefresh has joined #ruby
lioninawhat has joined #ruby
maximski has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
maximski has quit [Max SendQ exceeded]
ukd1 has quit [Ping timeout: 240 seconds]
Nukepuppy has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
rm_ has joined #ruby
duggiefresh has quit [Ping timeout: 276 seconds]
northfurr has quit [Quit: northfurr]
maximski has joined #ruby
atno has quit [Ping timeout: 252 seconds]
ahuman has quit [Read error: Connection reset by peer]
ahuman has joined #ruby
baweaver has joined #ruby
lagweezle has quit [Quit: leaving]
josiah14_ has joined #ruby
Hanmac has joined #ruby
<josiah14_> does anyone know of any gotchas with sending e-mail notifications from Heroku?
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<baweaver> Noted that it comes from Devise
<josiah14_> I'm using Devise and action_mailer to send confirmation e-mails to users when they sign-up, works locally but not out on the Heroku deployment
earth has joined #ruby
Slavox is now known as Slavox|AFK
Hanmac1 has quit [Ping timeout: 252 seconds]
<DouweM> josiah14_: Heroku doesn't run its own SMTP server: https://devcenter.heroku.com/articles/smtp
funktor has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
<DouweM> We use and are very happy with SendGrid
fuhgeddaboudit has joined #ruby
maximski has quit [Ping timeout: 276 seconds]
lagweezle has joined #ruby
postmodern has joined #ruby
lioninawhat has quit [Remote host closed the connection]
einarj has joined #ruby
funktor has joined #ruby
funktor has quit [Client Quit]
andy has joined #ruby
lioninawhat has joined #ruby
rvraghav93 has quit [Ping timeout: 252 seconds]
mjs2600 has quit [Ping timeout: 240 seconds]
wethu has joined #ruby
SilkFox has joined #ruby
Slavox|AFK is now known as Slavox
einarj has quit [Ping timeout: 258 seconds]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
s_e has quit [Ping timeout: 264 seconds]
camilasan has quit [Ping timeout: 252 seconds]
etqqkoiflwhb____ has quit [Quit: Computer has gone to sleep.]
SilkFox has quit [Ping timeout: 258 seconds]
evenix has joined #ruby
northfurr has joined #ruby
earth has quit [Quit: earth]
dyoko has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
morenoh152 has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
doodlehaus has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
Zesty has joined #ruby
goleldar has joined #ruby
dyoko has quit [Ping timeout: 276 seconds]
senayar has quit [Ping timeout: 245 seconds]
radar_1991 has joined #ruby
ciwolsey has quit [Read error: Connection reset by peer]
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
minion- has joined #ruby
minion- is now known as ciwolsey
morenoh152 has joined #ruby
emaxi has quit [Remote host closed the connection]
aspires has joined #ruby
emaxi has joined #ruby
<shevy> rub SendGrid
Zesty has quit [Quit: Linkinus - http://linkinus.com]
dima_ has joined #ruby
tacos1de has quit [Ping timeout: 272 seconds]
<DouweM> hihi
radar_1991 has quit [Remote host closed the connection]
Wolland has joined #ruby
emaxi has quit [Ping timeout: 240 seconds]
Wolland has quit [Client Quit]
dima_ has quit [Ping timeout: 258 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
rylev has joined #ruby
funburn has joined #ruby
chipotle has quit [Quit: cya]
tacos1de has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has quit [Remote host closed the connection]
<crome> evening
pen has quit [Remote host closed the connection]
rylev has quit [Ping timeout: 258 seconds]
northfurr has quit [Quit: northfurr]
<DouweM> what time is it in your slice of the planet?
ws2k33 has quit [Ping timeout: 256 seconds]
<crome> midnightish
anaeem1__ has joined #ruby
<crome> although Im not in my usual timezone at the moment
<DouweM> ah, we're slice-buddies then :)
<DouweM> holiday or work-related travel?
<crome> both, I spent a few times at friends working remotely
fuhgeddaboudit has quit [Remote host closed the connection]
zarkzork has joined #ruby
<DouweM> ah, all right
<crome> and getting unreasonably drunk between working sessions
<DouweM> hehe
<crome> few times, wtf. I dont make sense
<crome> I meant few days
Guest45430 has joined #ruby
chipotle has joined #ruby
<Guest45430> warning
<Guest45430> you may be watched
<Guest45430> do usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy??
Guest45430 has quit [Excess Flood]
<Guest45430> do usa&israel use the internet 2 collect informations,,can we call that spying??
<Guest45430> تحذير
<Guest45430> do they record&analyse everything we do on the internet,,can they harm you using these informations??
Guest45430 has joined #ruby
northfurr has joined #ruby
<DouweM> Guest45430: gtfo pls
<crome> DouweM: where do you live?
Guest45430 has quit [Excess Flood]
<DouweM> crome: Netherlands
Guest45430 has joined #ruby
mrmargolis has quit [Remote host closed the connection]
<crome> ah, hehe
<crome> Im in utrecht atm
<zarkzork> I wrote small article about ruby internals http://zarkzork.com/extending-ruby.html . I would love to hear some feedback.
sputnik13 has joined #ruby
<DouweM> Haha, I live in Utrecht
ukd1 has joined #ruby
anaeem1 has quit [Ping timeout: 245 seconds]
<crome> lolz
nisstyre has quit [Quit: WeeChat 0.4.3]
<DouweM> Where in this city might you be?
Guest45430 has quit [Excess Flood]
Guest45430 has joined #ruby
Guest45430 has quit [Excess Flood]
Guest45430 has joined #ruby
mjs2600 has joined #ruby
<DouweM> zarkzork: premise looks interesting, I'll check it out late
<DouweM> r
Guest45430 has quit [Excess Flood]
mrjensen has joined #ruby
<crome> biltstraat
Guest45430 has joined #ruby
Guest45430 has quit [Excess Flood]
Guest45430 has joined #ruby
davedev24 has joined #ruby
Guest45430 has quit [Excess Flood]
<shevy> Utrecht
<shevy> is that in the netherlands?
<zorak> anyone know any overtime calculator in ruby that can i check the code?
Guest45430 has joined #ruby
<DouweM> crome: all right, I'm in Rijnsweerd Zuid right now
<crome> shevy: correct
<DouweM> crome: 4 minutes from the Uithof campus :)
Guest45430 has quit [Excess Flood]
Guest45430 has joined #ruby
baroquebobcat has joined #ruby
<Guest45430> warning
<Guest45430> you may be watched
<Guest45430> do usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy??
<Guest45430> do usa&israel use the internet 2 collect informations,,can we call that spying??
<Guest45430> do they record&analyse everything we do on the internet,,can they harm you using these informations??
<Guest45430> تحذير
Guest45430 has quit [Excess Flood]
baroquebobcat has quit [Client Quit]
<crome> not too far from here then
Guest45430 has joined #ruby
testcore has quit [Quit: [BX] The best part of waking up is BitchX in your cup]
Guest45430 has quit [Excess Flood]
nbezzala has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Guest45430 has joined #ruby
<shevy> right under the water
<DouweM> crome: indeed.
<crome> I actually used to live in utrecht for a while
alexju has quit [Remote host closed the connection]
<DouweM> crome: where do you live now?
<crome> london
Guest45430 has quit [Excess Flood]
Guest45430 has joined #ruby
<DouweM> crome: Are you Dutch?
<crome> nope
Guest45430 has left #ruby [#ruby]
sputnik13 has quit [Ping timeout: 252 seconds]
ukd1 has quit [Ping timeout: 245 seconds]
<crome> Im from the asshole of the universe, also known as hungary
<DouweM> haha
Hanmac1 has joined #ruby
<DouweM> I spent a holiday in a house in Velence a couple of years back
<atmosx> I thought the asshole of the universe was Greece
<DouweM> por que no los dos
fubelly has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
<DouweM> Hanmac: you don't happen to have op rights? Guest45430 has been spamming political shit
chris_thomson has quit [Quit: Zzz...]
<DouweM> crome: you studied here or just stayed here randomly?
<crome> I worked here
<shevy> hmm I am starting webrick from an interactive ruby script
davedev24 has quit []
morenoh152 has quit [Ping timeout: 258 seconds]
<DouweM> that's the third option I guess :)
<DouweM> shevy: sure that's a good ide?
<shevy> problem is that it snatches user input away
<DouweM> *idea
<DouweM> shevy: yeah no shit
<shevy> :(
<crome> let's say I worked here randomly
brugidou has quit [Remote host closed the connection]
<crome> and I still fucking love coming back once in a while
<crome> its a brilliant city
testcore has joined #ruby
timonv has joined #ruby
Hanmac has joined #ruby
<DouweM> haha
<crome> I just didnt like actually living here ;>
<DouweM> I was born in 's-Hertogenbosch, moved here for uni 2 years ago
<DouweM> how so?
fabrice31 has joined #ruby
<crome> its a bit too small for me
Hanmac1 has quit [Ping timeout: 250 seconds]
<DouweM> compared to London I can see how that would be the case
<crome> well, london is quite extreme
<crome> I dont have a reason to be in roughly 90% of the place
<DouweM> :)
<crome> but I love the immense city centre
<crome> I can go out in totallydiferent areas every time
<DouweM> yeah, Utrecht doesn't have much of that. Allthought it's a step up from 's-Hertogenbosch
<DouweM> I'd love to live in an actual large city for at least a couple of years
<DouweM> 1 year left until I have my Bachelor's and I'll be able to go wherever I want :p
RaptorJesus has quit [Ping timeout: 250 seconds]
davispuh has quit [Ping timeout: 240 seconds]
<crome> but I totally love de gracht
<crome> and everythin around it
northfurr has quit [Quit: northfurr]
<crome> I just wish it wasnt the only central area in the city :D
<DouweM> :)
<DouweM> haha yeah
timonv has quit [Ping timeout: 252 seconds]
<DouweM> how long are you staying here for?
<crome> Im flying home tomorrow
fabrice31 has quit [Ping timeout: 258 seconds]
wethu has quit [Quit: This computer has gone to sleep]
<zorak> i need help with something
<shevy> zorak what with
<zorak> im making and overtime calculator
<shevy> seconds * minutes * hours * days
jamto11 has joined #ruby
<shevy> don't forget to rub it
<crome> shevy 4 prezident
<zorak> and one of the rules is that any hour worked between the 9pm and the 4am have 50 minutos
<crome> an hour have 60 minutes on this planet
<crome> has
InfraRuby has joined #ruby
<popl> This smells suspiciously like homework.
<DouweM> popl: it's an exercise for this stupid Ruby 1.8 book he's following
northfurr has joined #ruby
<zorak> nope, i already did it in spreadsheet
<zorak> i work in cinema
RaptorJesus has joined #ruby
<zorak> and is for me and my coworkers
<popl> zorak: So what are you trying to accomplish, and what part do you need help with/don't understand?
<crome> so in cinema a 2 hours long movie is only 100 minutes if its played between 9pm and 4am?
<shevy> well so * 50 rather than * 60
<shevy> crome yeah but you get charged for 120 minutes!
<zorak> yes, i have (i / 50) * 60
Xeago_ has quit [Remote host closed the connection]
<crome> robbery
<zorak> to transform the union time to real time
<InfraRuby> seeking collaborators for new open source (MIT license) web framework
atno has joined #ruby
<crome> InfraRuby: uh oh, a new web framework?
<shevy> completely new
<popl> zorak: don't use i for an identifier, use something more memorable
<shevy> not even started so new it is
<InfraRuby> crome: true!
<zorak> but i dont know how to write it
<crome> Im sure everyone needs a new framework!
RowdyChildren is now known as RowdyChild|Away
<shevy> zorak what do you mean, how to write it
atno has quit [Remote host closed the connection]
<shevy> zorak what exactly do you want to do?
mary5030 has quit [Remote host closed the connection]
<zorak> i have one variable in, and other variable out
<DouweM> InfraRuby: and what is going to make this framework the next big thing?
<shevy> good
<zorak> time_worked = out - in
<InfraRuby> DouweM: it's going to be the next small thing
<DouweM> :)
rhys has joined #ruby
jamto11 has quit [Ping timeout: 258 seconds]
<zorak> the problem is that if any minut between in and out is of before 4am or 9pm this minute is shorter
huhh42014 has joined #ruby
<crome> InfraRuby: I know its a stupid question and probably lots of hair splitting as well, but what is the gap it is supposed to fill?
<zorak> or idk if im overthinking this and is better start with other more normal things
radar_1991 has joined #ruby
radar_1991 has quit [Remote host closed the connection]
<zorak> like, first make a basic overtime calculator, then start adding the union rules
<InfraRuby> crome: it's for people who'd like to understand what the framework is doing
radar_1991 has joined #ruby
radar_1991 has quit [Remote host closed the connection]
m0s is now known as m0s^away
<crome> InfraRuby: good answer
<crome> I actually like it.
lioninawhat has joined #ruby
<InfraRuby> crome: the framework uses no metaprogramming and no reflection
<DouweM> InfraRuby: that's a neat mission statement
<popl> zorak: If you're following a book, surely it has suggestions about what to do?
<DouweM> InfraRuby: got ideas/a proposal for API?
<huhh42014> has quit
<InfraRuby> DouweM: it's mostly implemented
<shevy> zorak it's awful to follow a book
<DouweM> InfraRuby: link?
<shevy> go work on real problems you wish to solve with ruby
<InfraRuby> but needs more tools, code generators, etc.
<zorak> the book have some exercises, but no time management excersises
huhh42014 has left #ruby [#ruby]
ikawnoclast has quit [Ping timeout: 250 seconds]
<shevy> throw it away
<zorak> shevy: this is a real problem
<crome> InfraRuby: code generators wont really make it easy to understand how stuff works
<DouweM> zorak: The book is Ruby 1.8. It's doing you more harm than good
<zorak> i already trow away the book
<InfraRuby> DouweM: I'm pushing code now to a private repo at github to clean it up for public release
<zorak> is not for boook!
<DouweM> InfraRuby: why not public?
<shevy> zorak you need to map out precisely what you need to do, and for this, you need to have a clear picture what you really need to solve
<DouweM> InfraRuby: just clearly mark it as alpha. it's not like people will instantly start using it once the repo's public
<zorak> where can i upload a spreedsheet to pass you the link?
<InfraRuby> DouweM: not ready for public consumption..
pwh has quit []
ndrei has quit [Ping timeout: 252 seconds]
<shevy> time_worked = out - in isn't telling anyone anything really
m0s^away is now known as m0s
<InfraRuby> would cause riots in the streets
emaxi has joined #ruby
<shevy> make a screenshot zorak
<DouweM> InfraRuby: would cause our interest :)
<crome> DouweM: back to more pressing issues: how about some beers when Im around again?
momomomomo has joined #ruby
<zorak> if time_worked > 31500
<DouweM> crome: for sure. when will that be?
<zorak> hours_extras = true
Royalb15 has quit [Quit: Leaving]
<InfraRuby> DouweM: I'll add you as a collaborator?
<zorak> if hours_extra = true
<DouweM> InfraRuby: no promises on collaboration, but I'll take a look, sure :)
<popl> zorak: that will return true always
<crome> no plan yet, some time around the end of summer maybe
<Senjai> InfraRuby: Just make it public
<popl> zorak: == instead of =
<InfraRuby> DouweM: I've only just started pushing bits to the repo
<zorak> overtime = time_worked - 31500
<Senjai> InfraRuby: No point in trying to hide your history.
<popl> zorak: where's 31500 from?
<Senjai> InfraRuby: I still have my repo from learning basic ruby up
<DouweM> crome: all right. remember my name for when you're here, you can find my contact info at douwemaan.com when the time comes :)
<shevy> <zorak> if hours_extra = true
<zorak> a day in secons
<InfraRuby> Senjai: the problem is that it's basically unusable by humans at this point
<shevy> zorak do you really have to do an assignment in an if condition?
<DouweM> InfraRuby: who cares. mark it as alpha
emaxi has quit [Read error: Connection reset by peer]
<DouweM> InfraRuby: you want us to start using it, right?
emaxi has joined #ruby
<zorak> 8:45 == 31500 sec
<InfraRuby> if people tried it they'd walk away and not return..
<shevy> what the hell is 8:45
<shevy> that is not valid ruby
<zorak> 8 hours 45 minutes
nari has quit [Ping timeout: 245 seconds]
<InfraRuby> DouweM: no, you won't be able to start using it :-p
aspires has quit []
<shevy> zorak write a class that gives you back the amount of seconds
<DouweM> InfraRuby: I can promise you no-one will care about your repo if you put it up. gems need marketing like everything else
evenix has quit [Remote host closed the connection]
<shevy> and I dont know where from you have 31500
<InfraRuby> DouweM: this one needs development before marketing
<DouweM> InfraRuby: it won't cause any riots in the ruby-laid street
timonv has joined #ruby
evenix has joined #ruby
<crome> InfraRuby: in any case, keep me posted. give me a shout when the thing is available
<DouweM> InfraRuby: I'm done arguing this, put it up or no-one here is likely to contribute
<InfraRuby> I can add you as collaborators any time
<Senjai> InfraRuby: That's stupid
<InfraRuby> it's MIT license, so you can fork it, release it if you want
<InfraRuby> but that's on your reputation
<DouweM> InfraRuby: you can add me because I'm curious, but you're holding yourself back not making it public
<zorak> there is a link with the spreadsheet i did
<Senjai> InfraRuby: Theres no reason to not make it public, hacked shit is just hacked shit. We're all developers here, we hack shit together all the time for poc's
<Senjai> InfraRuby: Lol... reputation..
* crome grabs the duct tape
<benzrf> bluhg
<benzrf> bye
senayar has joined #ruby
benzrf is now known as benzrf|offline
atno has joined #ruby
radar_1991 has joined #ruby
radar_1991 has quit [Remote host closed the connection]
<shevy> zorak I dont want to click on anything to agree
RowdyChild|Away is now known as RowdyChildren
<InfraRuby> DouweM: sure, github account?
<DouweM> InfraRuby: same username
<shevy> and you need to break the problem down into problems you can manage, or at least ask specific, small questions for how to solve it
<zorak> where other part i can upload a file?
radar_1991 has joined #ruby
<zorak> easly
radar_1991 has quit [Read error: Connection reset by peer]
evenix has quit [Ping timeout: 252 seconds]
Bumptious has joined #ruby
<shevy> make a screenshot, upload to a shotter
<DouweM> zorak: put it in your dropbox, rightclick, get a link
<shevy> like http://tinypic.com/
<zorak> i dont use dropbox
radar_1991 has joined #ruby
<zorak> a screenshot of the spreedshed dont work because have code
<zorak> and a looooooooooooot of columns
<InfraRuby> DouweM: added!
cibs has quit [Ping timeout: 256 seconds]
<InfraRuby> not much there yet
W0rmDr1nk has joined #ruby
<InfraRuby> there's some things I want to rename before pushing to github
<crome> InfraRuby: me too
<InfraRuby> crome: account?
radar_1991 has quit [Remote host closed the connection]
<crome> cromega
WormDrink has quit [Ping timeout: 252 seconds]
cibs has joined #ruby
<shevy> zorak you cant even solve the problem of simplifying data from a spreadsheet
<shevy> how can you think you can program in ruby :)
radar_1991 has joined #ruby
<zorak> shevy: thats why im learning
<InfraRuby> crome: done!
radar_1991 has quit [Remote host closed the connection]
<shevy> let's learn differently
<shevy> zorak, how do you write a class in ruby?
senayar has quit [Ping timeout: 258 seconds]
<DouweM> InfraRuby: that doesn't look like a web framework, and your directory structure is a weird ;)
radar_1991 has joined #ruby
<InfraRuby> DouweM: haha, that's just part of the first gem
<zorak> class NameOfTheClass
<DouweM> InfraRuby: is there any web framework code?
<shevy> zorak good
* Senjai facepalms
tjr9898_ has quit [Read error: Connection reset by peer]
<crome> attr_reader :__x
<crome> nice!
<shevy> zorak now you wish to write a class that solves one small problem for you
<DouweM> crome: you work at HouseTrip?
tjr9898_ has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
<shevy> zorak try to identify a small but useful problem that you could solve in your given problem
<InfraRuby> DouweM: not yet
<crome> I happen to
Xeago has quit [Remote host closed the connection]
<DouweM> InfraRuby: what the hell do you want us to check out/ contribute to then? :p
<shevy> converting a string like '8:50' to n_seconds would be one
<DouweM> crome: interesting. I happen to work in the travel industry too
lioninawhat has quit [Remote host closed the connection]
<shevy> illegal immigration!
northfurr has quit [Quit: northfurr]
<InfraRuby> DouweM: lol, patience!
sdouglas has quit [Remote host closed the connection]
wethu has joined #ruby
<crome> booking.com? :)
radar_1991 has quit [Remote host closed the connection]
<DouweM> InfraRuby: I'll check back when you actually have something to show :P
grieg has quit [Ping timeout: 252 seconds]
<InfraRuby> DouweM: sure, I'll push some more every day
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> crome: hehe, nah, stinngo.com, but we run the #1 directories in Google for "amsterdam apartmant,", "amsterdam bed and breakfast" and "amsterdam houseboat" as well, and are looking to expand in that area :)
radar_1991 has joined #ruby
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<shevy> amsterdam weed
<shevy> if you place a h before the name you end up with
<shevy> hamsterdam
jschank has joined #ruby
<DouweM> shevy: even after all these years I still find that highly amusing :P
<shevy> hehe
<shevy> I never realized before
<shevy> with the word amsterdam alone
slawrence00 has joined #ruby
<shevy> but when I saw hamsterdam for the first time, I suddenly noticed that dam is like a damm
<DouweM> yes, that's the origin of the word
<shevy> a barrage!
<shevy> now I only have to figure out what amster is :P
timonv has quit [Remote host closed the connection]
sailias has joined #ruby
<shevy> well there are all similar names... Rotterdam ...
jschank has left #ruby [#ruby]
<DouweM> What I mean to say is: "Amsterdam" comes from "Amstel're dam", or "dam of Amstel", the Amstel being a river that runs through Amsterdam :)
wethu has quit [Quit: This computer has gone to sleep]
<shevy> ah
<shevy> a river
<InfraRuby> Amstel is beer
<DouweM> InfraRuby: that too :)
<shevy> tobiasvl, they have beer in amsterdam
<DouweM> what's tobiasvl got to do with this
radar_1991 has quit [Remote host closed the connection]
<shevy> let me paste what he wrote
<shevy> <tobiasvl> good night
<shevy> <tobiasvl> think I'll have a beer
<shevy> <shevy> tobiasvl did you have your beer yet?
<shevy> <tobiasvl> shevy: yes, thank you! it's doing wonders. now I'm importing CSV and tab delimited data like a boss
<shevy> DouweM beer works wonders on tobiasvl apparently
<shevy> perhaps the amstel beer will as well
<DouweM> hehe
<DouweM> I'm all out of beer, unfortunately ;(
wm3|away has quit [Ping timeout: 252 seconds]
rylev has joined #ruby
lioninawhat has joined #ruby
TripTastic has joined #ruby
<shevy> same here
gregf has quit [Quit: WeeChat 0.4.3]
<crome> DouweM: ah
rylev has quit [Ping timeout: 276 seconds]
gregf has joined #ruby
trhodes_ has joined #ruby
randomnick_ has quit [Read error: Connection reset by peer]
lioninawhat has quit [Remote host closed the connection]
lioninawhat has joined #ruby
markisonfire has joined #ruby
ukd1 has joined #ruby
BHensley has joined #ruby
bufferloss has quit [Ping timeout: 264 seconds]
maximski has joined #ruby
maximski has quit [Client Quit]
JBreit has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
mrjensen has quit []
maximski has joined #ruby
TripTastic has quit [Ping timeout: 258 seconds]
goleldar has quit [Remote host closed the connection]
RowdyChildren is now known as RowdyChild|Away
<InfraRuby> DouweM: seems wasteful.. why don't they just make more criminals?
mrmargolis has joined #ruby
<DouweM> InfraRuby: We're actually renting some of our jails to Belgium, who have too few of their own!
kayloos has quit [Remote host closed the connection]
enebo has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has quit [Ping timeout: 245 seconds]
chris_thomson has joined #ruby
shashank_rs has quit [Ping timeout: 252 seconds]
lkba has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
mercwithamouth has joined #ruby
shashank_rs has joined #ruby
senayar has joined #ruby
<shevy> hehe
<shevy> I am surprised this is allowed
<shevy> the prisoners would have to be transported to another country for that, or?
saarinen has joined #ruby
<crome> hah
ikawnoclast has joined #ruby
Shidash has joined #ruby
<Senjai> shevy: Its fantastically allowed. If they escape, its not belgiums problem its the netherlands problem.
<shevy> well that is madness
<shevy> imagine if he kills people in the netherlands
<crome> why woud they escape, they are well behaved criminals
<shevy> sparta was also mad
jottr has joined #ruby
<DouweM> According to http://news.bbc.co.uk/2/hi/8335868.stm, "No prisoners who are "an escape risk or a risk to society" will be sent to Tilburg, Dutch officials said."
<shevy> yeah you never have any guarantee for that
<crome> DouweM: Im wondering how they assess it :D
Cooler__ has joined #ruby
<shevy> crome by studying how well behaving they are
einarj has joined #ruby
<DouweM> I'm sure they can make an educated guess
<shevy> "Such a fine gentleman, he really shouldn't be in prison at all!"
Cooler_ has quit [Read error: Connection reset by peer]
<DouweM> length of sentence, nature of crime, things like that
mr_snowf1ake has joined #ruby
<shevy> lol
<DouweM> shevy: hehe
<shevy> length of sentence
<shevy> man
<crome> the nature of crome
<shevy> I am gonna fail through these tests
<DouweM> hahaha
<shevy> when I was 18, there were examinations for ability to have to go to mandatory military service. in one of the queries I noted down that I have problem with authority
<shevy> I was cross-interviewed by three idiots in a room because of that :(
noob101 has joined #ruby
* noob101 I love ruby
<DouweM> shevy: nice
<shevy> noob101 are you still not using ruby?
* noob101 hugs ruby
<noob101> I am using ruby.
<crome> :D
Geniack has joined #ruby
<noob101> Hello shevy, I remember you cause you help me understand ruby.
<shevy> you said that weeks before
<noob101> Thank you shevy, you're awesome.
<shevy> yes but I never see you do something
<shevy> zorak on the other hand is continually asking things here
<noob101> Ohhh, do something with like ruby? Well I am an adolescent. I created a game using ruby in my text editor. Does that count shevy?
<crome> in your text editor?
<DouweM> noob101: zorak rubs ruby, whereas you only hug it. what do you think that tells us about you
emaxi has quit [Remote host closed the connection]
<noob101> DouweM, I have no idea.
<crome> noone uses text editors, thats so 1970s
eka has quit [Ping timeout: 252 seconds]
emaxi has joined #ruby
<noob101> So what do you use.
<crome> speech input
<noob101> I am new to the programming world, I am only 16. Please enlighten me.
<DouweM> lol
<noob101> speech input, what is that exactly?
<DouweM> nice, fresh meat
einarj has quit [Ping timeout: 258 seconds]
<noob101> O_O, yes I am fresh meat.
<gizmore> >> [2,4.5].max
<eval-in> gizmore => 4.5 (https://eval.in/135854)
<shevy> hah DouweM
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
<crome> gizmore: suprising result, isnt it
<shevy> I was in part of a jury a few times, though it was not a "real" jury, just two citizens and two judges finding punishments
<DouweM> gizmore: I have no idea what you were expecting
<shevy> I always voted to set the guys free
Geniack_ has quit [Ping timeout: 245 seconds]
<gizmore> i wanted to impress noob101 :(
<shevy> noob101 did you upload your game as a gem?
<DouweM> shevy: were you able to convince the others 12 Angry Men style?
<shevy> DouweM nope, I actually was grilled by the lead judge
<shevy> he tried to persuade me otherwise
<DouweM> lol
<shevy> when I did not want to be persuade I felt his contempt
<noob101> shevy no
<noob101> A gem is a program right?
<shevy> but in my opinion, the judges are trying MUCH harder than the citizens to find anyone guilty
<noob101> I don't even know what that is really, I heard of it a couple of times in my programming class.
<noob101> classes*
Stalkr_ has quit [Quit: Leaving...]
lkba has joined #ruby
<shevy> afterwards I was wondering why the hell I did partake in such a system anyway given that the judge is a "professional" and has much harsher and stricter opinions (because he works with or against criminals every day, which I don't)
<shevy> noob101 a gem is a way to ditribute ruby addons
<shevy> the point is you give your game a name
saarinen has quit [Quit: saarinen]
<shevy> like noob_game
<shevy> then others can install it like:
<shevy> gem install noob_game
<shevy> which is very convenient
<DouweM> shevy: a juriy-based legal system has always seemed weird to me
glide has quit [Quit: Leaving]
<noob101> hold on you're going to fast for me
emaxi has quit [Ping timeout: 240 seconds]
<DouweM> noob101: shevy'll hold your hand
<noob101> "a gem is a way to ditribute ruby addons" please explain and break it down
<noob101> ditribute ruby addons
mary5030 has joined #ruby
<shevy> DouweM haha yeah... a few years ago they wanted to get rid of citizens being able to take part in decision making; I always thought because the judges hated how soft citizens tend to be... or perhaps a judge gets a bounty for convicted folks
george2 has quit [Remote host closed the connection]
<shevy> I dont hold your hand unless you are a girl
<shevy> but I may give you a beer
<shevy> noob101 ok, you write some ruby code
<shevy> now you want to have other people use your code
<noob101> yes sir
<shevy> so what do you have to do? you must distribute it
<shevy> rubygems is one way of doing so
<shevy> gems that are distributed that way conform to a specification
Bumptious has quit [Remote host closed the connection]
<shevy> certain things you have to define
<shevy> like "what are the dependencies"
<shevy> "will I bundle any documentation"
Bumptious has joined #ruby
<shevy> "what ruby version can be used"
<shevy> etc...
<noob101> Hmm alrighty.
chipotle has quit [Quit: cya]
<shevy> but you can omit most of that really
hedgehog has joined #ruby
<shevy> the only important thing is that you make your game available on rubygems!
<noob101> But my ruby game isn't pro yet. It looks trashy kind of, it's not worth becoming a gem.
<shevy> then give it a version
<shevy> 0.0.1
<noob101> I made it myself.
<shevy> and as you add more code to it, you can slowly update
<DouweM> noob101: want us to critique your code?
dima_ has joined #ruby
<shevy> the thing is you need to start somewhere noob101
<noob101> Critique, why sure.
<noob101> give me a sec, I will send a link of my code.
momomomomo has quit [Quit: momomomomo]
* crome gets ready for some code criticising
Cooler__ has quit [Ping timeout: 258 seconds]
<noob101> thank you everyone for being so nice to me. Other rooms are meaner to noobs. :(
<InfraRuby> noob101: names?
<DouweM> noob101: we were young once too. other channels seem to have forgotten that :p
<DouweM> I'm still young fwiw, 20yo
lw has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
lw has quit [Max SendQ exceeded]
<DouweM> we were noobs once too
<InfraRuby> I was born at a young age
<DouweM> InfraRuby: were you now
lw has joined #ruby
<shevy> I never was young
<shevy> DouweM don't worry
<shevy> DouweM you'll get older
Bumptious has quit [Ping timeout: 264 seconds]
<DouweM> I don't doubt that
Shidash has quit [Ping timeout: 240 seconds]
<noob101> Hello I am back loving ruby community. This is my 21 blackjack game, it took me a month to create.
dima_ has quit [Ping timeout: 276 seconds]
<noob101> I did it all by myself!
<DouweM> noob101: could you post it in a gist? then we can fork and easily edit it
<DouweM> noob101: and show you the end result
<noob101> Oh right sorry, I do have git. Let me use that.
<shevy> noob101 ok you need to optimize that code
<shevy> as a first step, replace most of your if checks with case/when menu
<shevy> also use gist or pastie.org
<shevy> not eval.oni
<shevy> I mean, .in
<shevy> DouweM, do you know this movie? http://www.imdb.com/title/tt0094651/
<shevy> "Amsterdamned"
<DouweM> Know it by name, never saw it
<DouweM> Not a big fan of Dutch-language movies
nateberkopec has quit [Quit: Leaving...]
<shevy> haha
<shevy> :D
<DouweM> We have a very small stock of good actors, the majority is utter crap
<DouweM> The good ones get picked up by HBO, see Carice van Houten en Michiel Huisman in Game of Thrones
marr has quit [Ping timeout: 252 seconds]
<InfraRuby> noob101: sleep would get annoying
<noob101> That is my code, is that better?
<DouweM> We've got a bunch more who do stay in the Netherlands, but they're surrounded by idiots.
<noob101> InfraRuby sorry.
<shevy> it's a thriller, funny idea, the murderer keeps on diving through the canals to find his victims
<shevy> with creepy music in the darkness; since that movie I am scared of the netherlands :P
<shevy> hah I dont even know game of thrones
<shevy> I am stuck in the age of Conan the barbarian
<shevy> right crome?
<DouweM> noob101: was thi your first endeavour at programming?
<shevy> crome: https://www.youtube.com/watch?v=9j6nyEcIk98 "Anvil of Crom"
<noob101> Quick question, I am also new to using Git,Github and Gists. How do you run a gists?
<DouweM> shevy: lol, sounds like a great movie :P
<noob101> DouweM: Yes sir
<shevy> DouweM hehe... the music is awesome, the movie is semi-semi ok
<DouweM> noob101: it's not something you can run, it's just that site you posted to
<crome> shevy: hah
<shevy> noob101 you need to use a consistent style
momomomomo has joined #ruby
<DouweM> noob101: it's backed by git, so you can easily make changes and see the difference. and when we fork (~ copy) your file, you can see any changes we make to your original
<shevy> noob101 look at line 17, you did not indent there: cpu_cards += rand(1..11)
<crome> I searched for myself alright ;)
<shevy> bah
<noob101> line 17, got it. Thanks.
<shevy> there is a god called Crom in Conan's universe!
<shevy> noob101 did you use case/when before?
<DouweM> noob101: lines 59..65, you don't actually need the if-statement. if you use `while ... end` instead of `begin ... end while`, it will work as well
<crome> its not crome ;<
<noob101> Nope, shevy. I never use case/when before.
<DouweM> noob101: and you don't need those parentheses ( and ) around `user_input != "Y"`
saarinen has joined #ruby
<DouweM> noob101: like in math, there's a set precendence, and you only need parentheses when you want to do something "special". == always binds stronger than &&
<shevy> noob101 try to use it, you will be able to eliminate some lines in your code
<DouweM> noob101: lines 67..74, you don't need `elsif ...`, just `else`, because you already know it's one of those 2 values
Hytosys has joined #ruby
<DouweM> noob101: same thing with the begin/end/while on lines 87..94. same thing with the if/elsif on lines 96..10
<DouweM> 6
chipotle has joined #ruby
<noob101> wow this is a lot of information
<DouweM> noob101: let's hope you're a quick study
rylev has joined #ruby
TripTastic has joined #ruby
<noob101> DouweM: I don't get what you said "lines 59..65, you don't actually need the if-statement. if you use `while ... end` instead of `begin ... end while`, it will work as well"
Xeago has joined #ruby
<DouweM> noob101: I've forked it and made the change
Cooler_ has joined #ruby
<noob101> yes, thanks
<DouweM> noob101: we're now combining your if-statement with the while statement, by checking the while condition statement before running lines 60..62, instead of after
<noob101> DouweM: Thanks a lot, I appreciate your time and service,
<noob101> You too shevy
JBreit has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
<DouweM> noob101: you're one of the nicest noobs I've seen here btw. channels can be unwelcoming, but noobs can be hella annoying too :P channels don't get cynical out of nowhere
robbyoconnor has joined #ruby
tectonic has joined #ruby
<DouweM> noob101: but keep this up and you'll be all right in #ruby
Hanmac1 has joined #ruby
<shevy> noob101 yes it's a lot of information but the idea is that you get it into your blood, so that you don't have to think about it anymore