havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Dimik has joined #ruby
rkazak has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
pdoherty has joined #ruby
Musashi007 has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 272 seconds]
arescorpio has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
pdoherty has quit [Remote host closed the connection]
TomPeed has joined #ruby
yirvineox has quit [Quit: Leaving]
Musashi007 has quit [Client Quit]
pdoherty has joined #ruby
stevemackinnon has joined #ruby
mostlybadfly has quit [Ping timeout: 240 seconds]
twodayslate has quit [Ping timeout: 250 seconds]
Cihan has quit [Read error: Connection reset by peer]
zzak__ has joined #ruby
mostlybadfly has joined #ruby
joaomdmoura__ has joined #ruby
twodayslate has joined #ruby
Heero has joined #ruby
amitchellbullard has joined #ruby
sideshowcoder has joined #ruby
lancetw has joined #ruby
jpinnix_______ has joined #ruby
Guest4184_____ has joined #ruby
nug has joined #ruby
juddey has quit [Ping timeout: 256 seconds]
kalz has quit [Ping timeout: 250 seconds]
tejasmanohar has quit [Read error: Connection reset by peer]
kent\n has joined #ruby
yirvineox has joined #ruby
spastorino has joined #ruby
pmarreck has joined #ruby
pfg has joined #ruby
Cihan has joined #ruby
gmci has quit [Read error: Connection reset by peer]
danzilio has joined #ruby
yo61 has joined #ruby
gmci has joined #ruby
rfv has joined #ruby
tejasmanohar has joined #ruby
nodejunkie has quit [Ping timeout: 265 seconds]
yirvineox-x360 has joined #ruby
ec has joined #ruby
agent_white has quit [Quit: brb]
platzhirsch has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
AdamMeghji has quit [Ping timeout: 250 seconds]
mrsolo has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
AdamMeghji has joined #ruby
kent\n has quit [Client Quit]
pfg has quit [Ping timeout: 250 seconds]
Cihan has quit [Ping timeout: 240 seconds]
gbgdev_ has joined #ruby
kalz has joined #ruby
gbgdev has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Remote host closed the connection]
DEA7TH has quit [Quit: DEA7TH]
kent\n has joined #ruby
nirix has joined #ruby
ruurd has joined #ruby
ruurd is now known as Guest48944
blackmes1 has quit [Ping timeout: 240 seconds]
fedexo has quit [Ping timeout: 260 seconds]
pfg has joined #ruby
baweaver has quit [Remote host closed the connection]
victortyau has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cihan has joined #ruby
Glenboi has left #ruby [#ruby]
jsrn has joined #ruby
lucasb has quit [Quit: leaving]
x77686d has quit [Quit: x77686d]
stannard has joined #ruby
Limix has quit [Quit: Limix]
duckpuppy has joined #ruby
stannard has quit [Ping timeout: 240 seconds]
lyoshajapan has joined #ruby
j416 has quit [Ping timeout: 250 seconds]
CloCkWeRX1 has quit [Quit: Leaving.]
CloCkWeRX has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
s00pcan has quit [Ping timeout: 240 seconds]
gbgdev_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
gbgdev has joined #ruby
Guest39786 has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
dling` has joined #ruby
snapcase has quit [Ping timeout: 250 seconds]
s00pcan has joined #ruby
ur5us has quit [Read error: No route to host]
ur5us_ has joined #ruby
j416 has joined #ruby
binaryplease has quit [Ping timeout: 272 seconds]
blackmes1 has joined #ruby
dling has quit [Ping timeout: 256 seconds]
TomPeed has joined #ruby
at46 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
C0deMaver1ck has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
C0deMaver1ck is now known as Guest17274
sivam has joined #ruby
william3 has joined #ruby
dwfait has joined #ruby
maverous has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
marius has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
houhoulis has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
atmosx has quit [Quit: Lost in trance]
dwfait has quit [Ping timeout: 245 seconds]
lyoshajapan has quit [Remote host closed the connection]
ledestin has joined #ruby
Jardayn has quit [Quit: Leaving]
sivam has quit [Quit: Leaving.]
ebit has joined #ruby
barajasfab has quit [Ping timeout: 250 seconds]
<ebit> can you use chomp to break out of a loop
ftj has joined #ruby
<Ox0dea> "I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."
<volty> today I chomped out of the bus
gbgdev has quit [Remote host closed the connection]
barhum2013 has joined #ruby
cpup has quit [Ping timeout: 264 seconds]
jgt1 has quit [Quit: WeeChat 1.3]
jgt has joined #ruby
cpup has joined #ruby
snapcase has joined #ruby
william3 has joined #ruby
<volty> ebit: probably meant — break if line.chomp.empty?
djbkd has joined #ruby
nanoz has joined #ruby
<ebit> I made this script but it's stuck in a endless loop http://pastebin.com/pC62wyJc
<ruby[bot]> ebit: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/cdca193097477d9be9a9
<ruby[bot]> ebit: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<volty> guessing what people mean is funnier than programming, sometimes :)
barhum2013 has quit [Quit: barhum2013]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barajasfab has joined #ruby
<volty> there's no loop
william3 has quit [Ping timeout: 240 seconds]
<jimeh> Indeed, there's no loop
<apeiros> line 5
<Ox0dea> There's a loop!
<apeiros> 1.upto(no) do |x| # I'd say that is a loop
<volty> yes, i was thinking about a literal endless loop
<volty> (his context & language)
<volty> «endless», sorry
<jimeh> As long as you don't give it a stupid high number like 1^100 or something, it won't loop very long
speakingcode has quit [Ping timeout: 272 seconds]
<Ox0dea> That's not necessarily true.
<Ox0dea> Also, Ruby has Float::INFINITY for using the bestest stupid-high "number".
<volty> ebit, where you get stuck ? for superuser password ?
gbgdev has joined #ruby
<ebit> I'm trying to make a script that will make how many users needed from the entered input
<Ox0dea> >> 1.upto(1) { redo } # jimeh
<ruby[bot]> Ox0dea: # => (https://eval.in/510854)
sankaber has joined #ruby
speakingcode has joined #ruby
<volty> ebit, are you running it as superuser ?
<ebit> yes as sudo
Abrin has quit [Ping timeout: 260 seconds]
<jimeh> Ox0dea: well yeah, but that's cheating... lol
<volty> so, what's the output? at least one 'created' ? or .... ?
nettoweb has joined #ruby
<jimeh> ebit: are you sure the `system` call isn't hanging waiting for user input via stdin which never comes?
ManUtd27 has joined #ruby
<volty> he has to state it better — endless loop should have created zillions of users till now :)
<jimeh> I can never remember if it's useradd or adduser that asks for user input though :P
<ebit> I run my scripts in a VM
ManUtd27 has quit [Client Quit]
jevs has joined #ruby
<volty> ebit: state better how your script behaves. no output? blocked?
jsrn has quit [Ping timeout: 240 seconds]
<ebit> Here is the error I get when I run the script http://postimg.org/image/ssl1juu63/full/
baweaver has joined #ruby
<ebit> from the term
<jimeh> >_<
jsrn has joined #ruby
fourq is now known as fourq|away
lyoshajapan has joined #ruby
<volty> ah, I see
baweaver has quit [Ping timeout: 260 seconds]
<volty> quite a large view, the term is on the right
<volty> you should full login sudo
<ebit> okay
<ebit> I think that worked
spider-mario has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
william3 has joined #ruby
agent_white has joined #ruby
tuelz1 has joined #ruby
<agent_white> Evenin' folks
CloCkWeRX has quit [Quit: Leaving.]
CloCkWeRX1 has joined #ruby
cdg has joined #ruby
tvw has quit [Ping timeout: 245 seconds]
dasboot has quit [Remote host closed the connection]
dasboot has joined #ruby
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby-lang843 has joined #ruby
gidlf has joined #ruby
minibar has joined #ruby
<minibar> hello
william3 has quit [Ping timeout: 264 seconds]
hnagamin has quit [Ping timeout: 264 seconds]
tuelz1 has quit [Ping timeout: 240 seconds]
Sucks has quit [Ping timeout: 240 seconds]
<minibar> hello
<minibar> have a problema with my bundler ruby version
<minibar> on osx
<minibar> installed ruby 2.1 and linked it with homebrew
<minibar> tried to gem install bundler but it doesn't put any executable scripts in /usr/local/bin
<minibar> any idea why?
ruby-lang843 has quit [Ping timeout: 252 seconds]
<pilne> i'm seeing "i ||= 1" in a tutorial, and I honestly have no idea what it is supposed to mean
<minibar> maybe if i is false set it to 1?
<Ox0dea> minibar: Run `brew info ruby`.
<volty> false or nil
<Ox0dea> pilne: `i ||= 1` is shorthand for `i = i || 1`.
<pilne> interesting
<pilne> tyvm
<Ox0dea> If `i` is "falsy" (`false` or `nil`), it'll take the new value of 1; otherwise, it'll keep its old value.
<minibar> I `brew install homebrew/versions/ruby21`
<Ox0dea> I guess try `brew info ruby21`, then.
<Ox0dea> Why're you using 2.1, though?
diegoviola has joined #ruby
<pilne> ty, i'm reading a tutorial on scope (something i'm a fish outta water if i don't "get" early on with a language)
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<minibar> Ox0dea I think metasploit requires it
<Ox0dea> I see.
chouhoulis has joined #ruby
<minibar> I think I understand the problem now
<minibar> By default, binaries installed by gem will be placed into:
<minibar> /usr/local/lib/ruby/gems/2.1.0/bin
Ebok has joined #ruby
<Ox0dea> That'd be the one. :)
ftj has joined #ruby
<minibar> thanks :0
<minibar> :)
<Ox0dea> Sure thing.
<jimeh> minibar: I'd suggest you use rbenv to install and manage Ruby versions, instead of Homebrew
<minibar> jimeh why is that
<volty> how do you handle ldconfig with rbenv ?
<jimeh> Let's you install and quickly switch between any number of versions of Ruby....
cmckee has joined #ruby
<jimeh> Just makes it easy :)
at46 has joined #ruby
<minibar> don't use ruby much
<volty> for me it makes it easy only for switching to a new version — from the series «Never look back»
<jimeh> And it let's you install any specific version you need, rather than only versions available as Homebrew packages...
blackmes1 has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
<jimeh> minibar: ah, fair enough, plain Homebrew might be enough for you then :)
<volty> jimeh: a case use? what kind of people needs to switch forth & back between versions ?
Rodya_ has joined #ruby
<volty> *need
<jimeh> volty: personally I need to switch depending on the client and/or project...
Rodya_ has quit [Remote host closed the connection]
<jimeh> One client is using 2.1.5, and have some issues they need to solve before moving to later versions...
dwfait has joined #ruby
Rodya_ has joined #ruby
<jimeh> While another client is using 2.2.2...
<volty> I see ... thx :)
at46 has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Remote host closed the connection]
<jimeh> And in both cases upgrades require devops work, extensive testing and shit, basically I let them do whatever they want and just use rbenv and stick a .ruby-version file in each project and the relevant version is used automatically :)
<volty> some useless code : https://eval.in/private/bcdff89f6401b9
<volty> jimeh: I'm blowing with just one version :)
blackmes1 has quit [Ping timeout: 250 seconds]
<Ox0dea> volty: This doesn't do the right thing, right?
Rodya_ has joined #ruby
<volty> true_false? yes, but would be too ugly, we are not in c++ where I can 'fake' directly
dwfait has quit [Ping timeout: 260 seconds]
speakingcode has quit [Ping timeout: 250 seconds]
<volty> Btw it's out of fun. I have great fun playing with enumerators
<Ox0dea> As do I: https://eval.in/510863
<Ox0dea> It feels like that's what you were going for.
speakingcode has joined #ruby
<volty> nah
<Ox0dea> k
<volty> I was just thinking the same. Was going to post zip. ah ah
<ebit> 7z is the best
AccordLTN has joined #ruby
duckpuppy has joined #ruby
<volty> 'ebit'.chars.zip('what'.chars).join
<volty> >> 'ebit'.chars.zip('what'.chars).join
<ruby[bot]> volty: # => "ewbhiatt" (https://eval.in/510864)
pawnbox has joined #ruby
<volty> >> 'ebit'.chars.7z('what'.chars).join
<ruby[bot]> volty: # => /tmp/execpad-820ffc396a43/source-820ffc396a43:2: no .<digit> floating literal anymore; put 0 before ...check link for more (https://eval.in/510865)
william3 has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
volty has quit [Quit: Konversation terminated!]
pawnbox has quit [Ping timeout: 240 seconds]
william3 has quit [Ping timeout: 276 seconds]
cmckee has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
yoongkang has joined #ruby
TomPeed has quit [Read error: Connection reset by peer]
zacstewart has quit [Ping timeout: 276 seconds]
diegoviola has quit [Quit: WeeChat 1.3]
davedev2_ has joined #ruby
hnagamin has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
zacstewart has joined #ruby
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
rkazak has quit [Quit: Sleep.....ing....]
rkazak has joined #ruby
Rodya_ has quit [Remote host closed the connection]
yoongkang has quit [Ping timeout: 240 seconds]
speaking2ode has joined #ruby
speaking2ode has quit [Client Quit]
sivam has joined #ruby
jcoe has joined #ruby
arooni-mobile has quit [Remote host closed the connection]
Biopandemic has quit [Ping timeout: 250 seconds]
diego1 has joined #ruby
diego1 is now known as diegoviola
baweaver has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
davedev24 has joined #ruby
Rodya_ has joined #ruby
diegoviola has quit [Client Quit]
speakingcode has joined #ruby
william3 has joined #ruby
barhum2013 has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
mjuszczak has quit [Ping timeout: 265 seconds]
duckpuppy has quit [Ping timeout: 256 seconds]
Rodya_ has quit [Remote host closed the connection]
jbrhbr has joined #ruby
baweaver has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
devbug_ has joined #ruby
ebit has quit [Quit: Leaving]
william3 has quit [Ping timeout: 250 seconds]
Dragooon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barhum2013 has quit [Client Quit]
rkazak has quit [Quit: Sleep.....ing....]
s2013 has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
zeroDivisible has quit [Quit: WeeChat 1.3]
g3funk has joined #ruby
pawnbox has joined #ruby
g3funk is now known as braidn
davedev2_ has joined #ruby
Rodya_ has quit [Read error: Connection timed out]
djbkd has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Biopandemic has joined #ruby
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
dlitvak has joined #ruby
Channel6 has joined #ruby
psy_ has joined #ruby
davedev24 has quit [Ping timeout: 250 seconds]
jorrin has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
barhum2013 has joined #ruby
nanoz] has joined #ruby
davedev2_ has quit []
stannard has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
djbkd has quit [Ping timeout: 256 seconds]
jorrin has quit [Client Quit]
nanoz has quit [Ping timeout: 256 seconds]
jorrin has joined #ruby
stannard has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
auzty has joined #ruby
barhum2013 has quit [Quit: barhum2013]
Rodya_ has joined #ruby
jcoe has quit [Ping timeout: 250 seconds]
uri_ has quit [Quit: --]
dasboot has quit [Read error: Connection reset by peer]
bahar has joined #ruby
bahar has joined #ruby
dasboot has joined #ruby
Rodya_ has quit [Remote host closed the connection]
dasboot has quit [Max SendQ exceeded]
chouhoulis has joined #ruby
dasboot has joined #ruby
Rodya_ has joined #ruby
syk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dasboot has quit [Max SendQ exceeded]
sivam has left #ruby [#ruby]
rkazak has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
at46 has joined #ruby
dasboot has joined #ruby
barhum2013 has joined #ruby
juddey has joined #ruby
dasboot has quit [Max SendQ exceeded]
arlek has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
dasboot has joined #ruby
blackmes1 has joined #ruby
barhum2013 has quit [Client Quit]
fedexo has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
Bloomer has joined #ruby
oetjenj has joined #ruby
yonatankoren has joined #ruby
newbie22 has joined #ruby
A124 has quit [Read error: Connection reset by peer]
speakingcode has quit [Quit: Reconnecting]
speakingcode has joined #ruby
dasboot has quit [Ping timeout: 240 seconds]
lyoshajapan has joined #ruby
dass has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
william3 has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
A124 has joined #ruby
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
glenny has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
ICantCook has left #ruby ["bbl"]
s00pcan has quit [Ping timeout: 265 seconds]
arlek has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
arlek has joined #ruby
cmckee has joined #ruby
s00pcan has joined #ruby
duncannz has joined #ruby
tjbiddle has joined #ruby
karapetyan has quit [Remote host closed the connection]
dass has quit [Ping timeout: 264 seconds]
juddey has quit [Ping timeout: 240 seconds]
ellistaa has joined #ruby
yoongkang has joined #ruby
duncannz has quit [Remote host closed the connection]
jbrhbr has quit [Quit: Leaving.]
duncannz has joined #ruby
<ellistaa> im using the pg gem and im trying to connect to a db i created from the command line. when i initialize this in another file where i pass in the params for the db name i get this error ‘initialize': FATAL: database "ellismarte" does not exist (PG::ConnectionBad)’ https://github.com/ellismarte/Personal-Spending-Analysis/blob/master/db/config.rb#L6 the db_name i’m passing in is personal-spending-db
uri_ has joined #ruby
<ellistaa> why would it be looking for database ‘ellismarte’ when im passing in ‘personal-spending-db’?
<ellistaa> maybe i didnt start the db?
ramfjord has quit [Ping timeout: 250 seconds]
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
hnagamin has quit [Ping timeout: 250 seconds]
yoongkang has quit [Ping timeout: 240 seconds]
zzz has joined #ruby
zzz is now known as Guest52154
nanoz] has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
pilne has quit [Quit: Quitting!]
ellistaa has quit [Quit: ellistaa]
newbie22 has quit [Quit: Leaving]
ellistaa has joined #ruby
konsolebox has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
arthropodado has joined #ruby
Rodya_ has quit [Remote host closed the connection]
houhoulis has quit [Remote host closed the connection]
arthropodado has quit [Client Quit]
dlitvak has joined #ruby
arthropodado has joined #ruby
dopamean_ has quit [Ping timeout: 245 seconds]
nerium has quit [Quit: nerium]
Rodya_ has joined #ruby
astrobun_ has joined #ruby
arthropodado has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
dopamean_ has joined #ruby
cmckee has quit [Ping timeout: 245 seconds]
cmckee has joined #ruby
tuelz1 has joined #ruby
dasboot has joined #ruby
arthropodado has joined #ruby
elifoster has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
Rodya_ has joined #ruby
iateadonut has joined #ruby
djbkd has joined #ruby
skcin7 has joined #ruby
kellenevan3 has quit [Quit: WeeChat 1.4]
Ebok has joined #ruby
unreal has quit [Ping timeout: 250 seconds]
ICantCook has joined #ruby
tuelz1 has quit [Ping timeout: 276 seconds]
cmckee has quit [Ping timeout: 256 seconds]
ellistaa has quit [Quit: ellistaa]
djbkd has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
dasboot has quit [Ping timeout: 240 seconds]
unreal has joined #ruby
ellistaa has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spags has joined #ruby
krobzaur has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
arthropodado has quit [Quit: -a- Connection Timed Out]
jorrin has quit [Quit: Leaving]
chouhoulis has joined #ruby
Puffball has quit [Read error: Connection reset by peer]
Puffball has joined #ruby
northfurr has joined #ruby
arthropodado has joined #ruby
at46 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
dwfait has joined #ruby
Sucks has joined #ruby
blackmes1 has joined #ruby
northfurr has quit [Quit: northfurr]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grill has joined #ruby
spags has quit [Remote host closed the connection]
dwfait has quit [Ping timeout: 240 seconds]
harly has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
ellistaa has quit [Quit: ellistaa]
youch has joined #ruby
djbkd has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
atomical has joined #ruby
cdg has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobun_ has quit [Remote host closed the connection]
atomical_ has joined #ruby
ellistaa has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
skcin7 has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
northfurr has joined #ruby
rkazak has joined #ruby
atomical has quit [Ping timeout: 265 seconds]
lessless has joined #ruby
<lessless> Hey folks, where can I read about role of subscription operator in the inheritance `class Create < ROM::Commands::Create[:sql]` ?
skcin7 has joined #ruby
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yqt has quit [Ping timeout: 272 seconds]
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
glenny has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
psy_ has quit [Read error: No route to host]
lyoshajapan has joined #ruby
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
SCHAAP137 has quit [Remote host closed the connection]
nbdy has joined #ruby
nbdy has quit [Client Quit]
duncannz has quit [Ping timeout: 250 seconds]
lyoshajapan has quit [Remote host closed the connection]
sgambino has joined #ruby
sgambino has quit [Client Quit]
elifoster has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
barhum2013 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Guest52154 has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
tuelz1 has joined #ruby
barhum2013 has quit [Client Quit]
Limix has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
tuelz1 has quit [Ping timeout: 240 seconds]
arlek has quit [Ping timeout: 256 seconds]
gbgdev has quit [Remote host closed the connection]
tw1sted has joined #ruby
Guest21134 has joined #ruby
djbkd has quit [Quit: My people need me...]
<Guest21134> anyone here?
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Ping timeout: 245 seconds]
<Guest21134> can anyone tell me what is the server used in RailsInstaller?
Guest21134 has quit [Client Quit]
htmldrum has joined #ruby
gix has joined #ruby
barhum2013 has joined #ruby
chouhoulis has joined #ruby
barhum2013 has quit [Client Quit]
barhum2013 has joined #ruby
barajasfab has quit [Quit: Leaving]
at46 has joined #ruby
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Limix has quit [Quit: Limix]
chouhoulis has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
at46 has joined #ruby
blackmes1 has joined #ruby
<baweaver> server used?
<baweaver> Hm, guess they left
<vegangreg> exit
<baweaver> missing a slash there
vegangreg has left #ruby ["WeeChat 1.2"]
<baweaver> there ya go
arlek has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nertzy has quit [Quit: Leaving]
william3 has joined #ruby
dlitvak_ has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 260 seconds]
barhum2013 has quit [Quit: barhum2013]
ellistaa has quit [Quit: ellistaa]
arthropododo has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 250 seconds]
lyoshajapan has joined #ruby
blackgoat has joined #ruby
dionysus69 has joined #ruby
shum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
northfurr has quit [Quit: northfurr]
rkazak has joined #ruby
CloCkWeRX1 has quit [Quit: Leaving.]
CloCkWeRX has joined #ruby
paradisaeidae has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
krz has joined #ruby
blackgoat has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
arescorpio has quit [Ping timeout: 240 seconds]
UtkarshRay has joined #ruby
speakingcode has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
ur5us_ has quit [Remote host closed the connection]
elifoster has joined #ruby
ponyofdeath has quit [Quit: WeeChat 1.4]
william3 has quit [Ping timeout: 250 seconds]
krz has quit [Ping timeout: 240 seconds]
MrSamuel has joined #ruby
BTRE has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
ur5us has joined #ruby
yirvineox_ has joined #ruby
dlitvak has joined #ruby
Xiti` has joined #ruby
<arlek> How would I use ruby to scrape a website?
<Coraline> nokogiri
dopie_ has joined #ruby
<arlek> thanks
Keltia has joined #ruby
dling has joined #ruby
youch has quit [Ping timeout: 256 seconds]
halfdan_ has joined #ruby
baweaver has joined #ruby
artmann_ has joined #ruby
pmarreck_ has joined #ruby
mic_e_ has joined #ruby
fedexo_ has joined #ruby
Meeh_ has joined #ruby
zrl_ has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
dlitvak has quit [Ping timeout: 240 seconds]
mc_fail has joined #ruby
kloeri_ has joined #ruby
matti_ has joined #ruby
hinbody_ has joined #ruby
qpls_ has joined #ruby
kaspergr1bbe has joined #ruby
Kero_ has joined #ruby
hostess_ has joined #ruby
cdg has quit [Remote host closed the connection]
frankS2_ has joined #ruby
duderono_ has joined #ruby
Bilge- has joined #ruby
sgambino has joined #ruby
duderono_ has quit [Client Quit]
denym_` has joined #ruby
BTRE has joined #ruby
omninonsense has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
DanKnox^ has joined #ruby
aef_ has joined #ruby
mahk_ has joined #ruby
thomasfedb has joined #ruby
thomasfedb has joined #ruby
twe4ked_ has joined #ruby
Biohazard_ has joined #ruby
paultreny has joined #ruby
MalcolmReynolds has joined #ruby
Billias_ has joined #ruby
FastJack_ has joined #ruby
paultreny is now known as Guest1834
ZeeNoodleyGamer has joined #ruby
Olipro_ has joined #ruby
braincra- has joined #ruby
Morrolan_ has joined #ruby
braincrash has quit [*.net *.split]
konsolebox has quit [*.net *.split]
fedexo has quit [*.net *.split]
jsrn has quit [*.net *.split]
snapcase has quit [*.net *.split]
dling` has quit [*.net *.split]
pmarreck has quit [*.net *.split]
yirvineox has quit [*.net *.split]
Guest31970 has quit [*.net *.split]
halfdan has quit [*.net *.split]
zast has quit [*.net *.split]
linduxed has quit [*.net *.split]
mc_fail_ has quit [*.net *.split]
Jamazia has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
iooner- has joined #ruby
Billias_ is now known as Billias
twe4ked_ is now known as twe4ked
matti_ is now known as matti
tylersmith has joined #ruby
crank1988_ has joined #ruby
Log1x has joined #ruby
Log1x has joined #ruby
duderono_ has joined #ruby
Miron has joined #ruby
heinrich5991 has joined #ruby
Olipro_ is now known as Olipro
iooner- is now known as iooner
jsrn has joined #ruby
pmarreck_ is now known as pmarreck
halfdan_ is now known as halfdan
gambl0re has joined #ruby
chouhoulis has joined #ruby
demophoon has joined #ruby
duderono_ has quit [Client Quit]
dionysus69 has quit [Quit: dionysus69]
zack6849 has joined #ruby
zack6849 has joined #ruby
giraffe_ has joined #ruby
giraffe_ is now known as Guest95200
frankS2_ is now known as frankS2
skade has joined #ruby
dionysus69 has joined #ruby
Voyage has joined #ruby
william3 has joined #ruby
duderonomy has joined #ruby
grill has joined #ruby
DarkBushido has joined #ruby
DarkBushido has joined #ruby
epochwolf has joined #ruby
zrl_ is now known as zrl
chouhoulis has quit [Ping timeout: 265 seconds]
skade has quit [Client Quit]
SaintAardvark has joined #ruby
stan has joined #ruby
JoL1hAHN has joined #ruby
alexherbo2 has joined #ruby
konsolebox has joined #ruby
govg has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
jpoole has joined #ruby
SilentEcho has joined #ruby
Veejay has joined #ruby
ltp has joined #ruby
kies has joined #ruby
tim_s007 has joined #ruby
skade has joined #ruby
skade has quit [Client Quit]
marcdel has joined #ruby
saneax_AFK has joined #ruby
saneax_AFK is now known as saneax
william3 has quit [Ping timeout: 250 seconds]
govg has joined #ruby
zast has joined #ruby
linduxed has joined #ruby
jokester has joined #ruby
at46 has joined #ruby
lyoshajapan has joined #ruby
uri_ has quit [Quit: --]
theRealAlexz has quit [Ping timeout: 276 seconds]
cibs has quit [Quit: leaving]
infernix has joined #ruby
sorah has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
nodejunkie has joined #ruby
theRealAlexz has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
blackmes1 has joined #ruby
Channel6 has quit [Quit: Leaving]
Voyage has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 264 seconds]
d4rkmarmota has joined #ruby
d4rkmarmota has quit [Client Quit]
d4rkmarmota has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
User458764 has joined #ruby
<MrSamuel> Coraline: Did you propose a CoC for Ruby?
chipotle has quit [Quit: cheerio]
krz has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gidlf has quit [Quit: Leaving...]
zast has quit [Remote host closed the connection]
joneshf-laptop has quit [Remote host closed the connection]
yoongkang has joined #ruby
MrSamuel has quit [Quit: MrSamuel]
agit0 has quit [Quit: zzzZZZ….]
cdg has joined #ruby
theRealAlexz has quit [Ping timeout: 245 seconds]
blackjid has joined #ruby
skarn has joined #ruby
k13nox has quit [Remote host closed the connection]
yoongkang has quit [Ping timeout: 260 seconds]
Limix has joined #ruby
juddey has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
theRealAlexz has joined #ruby
tpendragon has joined #ruby
k13nox has joined #ruby
<zacts> hi rubyists
<zacts> what is a CoC?
<zacts> what does CoC stand for?
cdg has quit [Ping timeout: 260 seconds]
joneshf-laptop has joined #ruby
govg has quit [Ping timeout: 240 seconds]
k13nox has quit [Ping timeout: 260 seconds]
LoneHerm_ has joined #ruby
blackgoat has joined #ruby
agit0 has joined #ruby
codezomb has joined #ruby
adgtl has joined #ruby
ruby-lang782 has quit [Ping timeout: 252 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
govg has joined #ruby
wireddude has quit [Ping timeout: 260 seconds]
agit0 has quit [Ping timeout: 240 seconds]
domgetter has joined #ruby
ur5us has quit [Remote host closed the connection]
PedramT has joined #ruby
djbkd has joined #ruby
dseitz has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tuelz1 has joined #ruby
anisha has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
ta_ has quit [Remote host closed the connection]
_seanc_ has quit [Quit: _seanc_]
tuelz1 has quit [Ping timeout: 264 seconds]
grill has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
nerium has joined #ruby
skade has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0/20160123151951]]
catbusters has joined #ruby
skade has quit [Read error: Connection reset by peer]
Guest95200 is now known as giraffe
chouhoulis has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
ruby[bot] has quit [Ping timeout: 240 seconds]
ruby[bot] has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claw has joined #ruby
jgt has joined #ruby
d4rkmarmota has quit [Ping timeout: 252 seconds]
e4xit has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
Ebok has joined #ruby
htmldrum has joined #ruby
ruby[bot] has quit [Client Quit]
ur5us has joined #ruby
Ebok has quit [Client Quit]
ruby[bot] has joined #ruby
solars has joined #ruby
grekko has joined #ruby
at46 has joined #ruby
govg has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
ur5us has quit [Ping timeout: 276 seconds]
toretore has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
jam_ has joined #ruby
<lyoshajapan> Im curious too lol
at46 has quit [Ping timeout: 265 seconds]
william3 has joined #ruby
darkf has joined #ruby
<nofxx> arlek, there's a nice gem that helps with the download part: ruby retriever
defendguin has joined #ruby
blackmes1 has joined #ruby
olspookishmagus has joined #ruby
Ebok has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 256 seconds]
followinfrared has joined #ruby
blackmes1 has quit [Ping timeout: 272 seconds]
bigkevmcd has joined #ruby
cibs has joined #ruby
anisha has quit [Quit: Leaving]
mhoungbo has joined #ruby
grayjedi has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
grayjedi has quit [Quit: WeeChat 1.4]
Asher has joined #ruby
blackmes1 has joined #ruby
juddey has quit [Ping timeout: 240 seconds]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
defendguin has quit [Quit: Leaving.]
Burgestrand has joined #ruby
govg has joined #ruby
moeabdol1 has joined #ruby
govg is now known as Guest83112
grayjedi has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
htmldrum has quit [Ping timeout: 265 seconds]
aganov has joined #ruby
scepticulous has joined #ruby
hnagamin has joined #ruby
moeabdol2 has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol1 has quit [Ping timeout: 260 seconds]
djbkd has quit [Quit: My people need me...]
dextertzu has joined #ruby
juddey has joined #ruby
amclain_ has quit [Quit: Leaving]
enkristoffer has joined #ruby
ta has joined #ruby
htmldrum has joined #ruby
kirillzh has joined #ruby
ta has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby
pawnbox has joined #ruby
ta_ has joined #ruby
kirillzh has quit [Remote host closed the connection]
Guest83112 has quit [Ping timeout: 264 seconds]
lsmola has joined #ruby
enkristoffer has quit [Client Quit]
enkristoffer has joined #ruby
hnagamin has quit [Quit: さようなら]
snapcase has joined #ruby
Ishido has joined #ruby
Voyage has joined #ruby
jcp has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
grayjedi has quit [Quit: WeeChat 1.4]
nerium has quit [Quit: nerium]
djbkd has joined #ruby
Guest48944 is now known as ruurd
Macaveli has joined #ruby
avenj has joined #ruby
nerium has joined #ruby
govg_ has joined #ruby
chouhoulis has joined #ruby
jbrhbr has joined #ruby
lyoshajapan has joined #ruby
juddey has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
adgtl has quit [Remote host closed the connection]
kerunaru has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
lyoshaja_ has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
htmldrum has quit [Ping timeout: 245 seconds]
blackms has joined #ruby
symm- has joined #ruby
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
einarj has joined #ruby
blaxter has joined #ruby
Limix has quit [Quit: Limix]
_joes_ has joined #ruby
htmldrum has joined #ruby
govg_ has quit [Ping timeout: 240 seconds]
at46 has joined #ruby
anisha has joined #ruby
yoongkang has joined #ruby
sandstrom has joined #ruby
codecop has joined #ruby
nodejunkie has quit [Ping timeout: 265 seconds]
sandstrom has quit [Client Quit]
lxsameer has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
elifoster has quit [Ping timeout: 264 seconds]
yoongkang has quit [Ping timeout: 256 seconds]
william3 has joined #ruby
chipotle has quit [Quit: cheerio]
adgtl has joined #ruby
govg_ has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
htmldrum has quit [Ping timeout: 250 seconds]
ddv has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
SenpaiSilver has quit [Quit: Leaving]
nofxx has quit [Ping timeout: 240 seconds]
vikas027 has joined #ruby
aupadhye has joined #ruby
DoubleMalt has joined #ruby
<arlek> wow, actually writing ruby scripts after such a long time feels so awarding
<arlek> rewarding**
<flughafen_> whats the big euro ruby conference?
moeabdol2 has quit [Ping timeout: 265 seconds]
flughafen_ is now known as flughafen
djbkd has quit [Remote host closed the connection]
sandstrom has joined #ruby
moeabdol2 has joined #ruby
djbkd has joined #ruby
ur5us has joined #ruby
htmldrum has joined #ruby
<apeiros> flughafen: euruko?
<flughafen> apeiros: ok, thanks.
PedramT has quit [Remote host closed the connection]
blackmes1 has joined #ruby
sftrabbit has joined #ruby
aufi has joined #ruby
PedramT has joined #ruby
htmldrum has quit [Ping timeout: 245 seconds]
govg_ has quit [Quit: leaving]
vondruch has joined #ruby
govg has joined #ruby
anisha has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
TomyLobo2 has joined #ruby
TomyWork has joined #ruby
blackmes1 has quit [Ping timeout: 245 seconds]
sftrabbit has quit [Quit: sftrabbit]
nettoweb has joined #ruby
enkristoffer has quit [Quit: Textual IRC Client: www.textualapp.com]
enkristoffer has joined #ruby
chipotle has joined #ruby
anisha has joined #ruby
nettoweb has quit [Client Quit]
tuelz1 has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
grekko has joined #ruby
theRealAlexz has quit [Ping timeout: 240 seconds]
htmldrum has joined #ruby
tuelz1 has quit [Ping timeout: 240 seconds]
enkristoffer has quit [Quit: ❤]
astrobun_ has joined #ruby
theRealAlexz has joined #ruby
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enkristoffer has joined #ruby
enkristoffer is now known as Guest25442
fedexo_ has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Textual IRC Client: www.textualapp.com]
Burgestrand has joined #ruby
devbug_ has quit [Read error: Connection reset by peer]
Guest25442 has quit [Client Quit]
kristoffer has joined #ruby
kristoffer has quit [Client Quit]
enkristoffer_ has joined #ruby
enkristoffer_ has left #ruby [#ruby]
chouhoulis has joined #ruby
araujo_ has quit [Quit: Leaving]
chipotle has quit [Quit: cheerio]
chouhoulis has quit [Ping timeout: 276 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enkristoffer_ has joined #ruby
htmldrum has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
at46 has joined #ruby
agent_white has quit [Quit: brb]
yoongkang has joined #ruby
htmldrum has joined #ruby
moei has joined #ruby
moei has quit [Client Quit]
moei has joined #ruby
mdw has joined #ruby
tvw has joined #ruby
anisha has quit [Quit: Leaving]
rdark has joined #ruby
anisha has joined #ruby
agent_white has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
yoongkang has quit [Ping timeout: 245 seconds]
htmldrum has quit [Ping timeout: 245 seconds]
htmldrum has joined #ruby
mark2 has joined #ruby
jbrhbr has quit [Quit: Leaving.]
PedramT has quit [Remote host closed the connection]
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
Jamazia has joined #ruby
Jamazia has quit [Max SendQ exceeded]
tomphp has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
c0m0 has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Max SendQ exceeded]
futilegames has joined #ruby
PedramT has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Max SendQ exceeded]
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
lyoshaja_ has quit [Read error: Connection reset by peer]
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
sysanthrope_ has quit [K-Lined]
ElderFain has quit [K-Lined]
rodfersou has joined #ruby
sysanthrope has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Luna_Moonfang has joined #ruby
ElderFain has joined #ruby
ddfreyne has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
joonty has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
anisha has quit [Quit: Leaving]
lyoshajapan has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
shredding has joined #ruby
Jamazia has joined #ruby
Jamazia has quit [Excess Flood]
yirvineox-x360 has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
astrobun_ has joined #ruby
f4cl3y has joined #ruby
yirvineox-x360 has joined #ruby
lyoshajapan has quit [Read error: Connection reset by peer]
sftrabbit has joined #ruby
User458764 has joined #ruby
yirvineox-x360 has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 245 seconds]
anisha has joined #ruby
lyoshajapan has joined #ruby
gbgdev has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
astrobun_ has quit [Remote host closed the connection]
marr has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
aufi2 has joined #ruby
gbgdev has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
jam_ has quit [Remote host closed the connection]
yoongkang has joined #ruby
binaryplease has joined #ruby
bluOxigen_ has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
mooru has joined #ruby
chipotle has joined #ruby
joast has joined #ruby
lyoshajapan has quit []
bluOxigen has quit [Ping timeout: 240 seconds]
aupadhye has quit [Remote host closed the connection]
lee-jon has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
yoongkang has quit []
yoongkang has joined #ruby
Xeago has quit [Remote host closed the connection]
baweaver has quit [Read error: Connection reset by peer]
Voyage has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
jgt has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
blackmes1 has joined #ruby
vifino has joined #ruby
PedramT has quit [Remote host closed the connection]
blackmes1 has quit [Read error: Connection reset by peer]
tsunamie has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
jxs_ has joined #ruby
jxs_ has quit [Remote host closed the connection]
platzhirsch has joined #ruby
CloCkWeRX has joined #ruby
dwfait has joined #ruby
at46 has joined #ruby
vikas027 has quit [Excess Flood]
ElFerna_ has joined #ruby
User458764 has joined #ruby
chipotle has quit [Quit: cheerio]
m1dnight_ has left #ruby ["WeeChat 1.4-dev"]
dwfait has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 272 seconds]
Voyage has joined #ruby
hinbody_ has quit [Ping timeout: 264 seconds]
sftrabbit has quit [Quit: sftrabbit]
at46 has quit [Ping timeout: 265 seconds]
sftrabbit has joined #ruby
yirvineox_ has quit [Read error: Connection reset by peer]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
platzhirsch has left #ruby [#ruby]
<claw> hey guys
colli5ion has joined #ruby
<claw> i need some help with regexp
codecop has quit [Remote host closed the connection]
<claw> i want to alter string like "SomeWordCombo" to "Some-Word-Combo"
william3 has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
<Burgestrand> ?code claw
<ruby[bot]> claw: We can't help you without your code, please post it to https://gist.github.com
zacstewart has quit [Ping timeout: 256 seconds]
<claw> /\w[A-Z]/ matches the regions but i need to insert
<claw> well there is no code yet Burgestrand
gbgdev has joined #ruby
gbgdev has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
htmldrum has joined #ruby
sonOfRa has quit [Quit: Bye!]
zacstewart has joined #ruby
sonOfRa has joined #ruby
<domgetter> claw: check out String#scan
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ready> s.split(/(?=[A-Z])/).join('-')
agent_white has quit [Ping timeout: 264 seconds]
<domgetter> >> "HelloWorld".scan(/[A-Z][a-z]+/)
<ruby[bot]> domgetter: # => ["Hello", "World"] (https://eval.in/511027)
dwfait has joined #ruby
vikas027 has joined #ruby
workmad3 has joined #ruby
<Burgestrand> Caution, use \p{Lu} instead of A-Z if you want it to work for non-english uppercase characters as well.
<domgetter> from there you can join("-") like in ready's example
whiteline has quit [Ping timeout: 264 seconds]
<gregf_> claw: just do a [a-z][A-Z] with gsub?
mickey_mouse has joined #ruby
Cohedrin has joined #ruby
<gregf_> >> "SomeWordCombo".gsub!(/([a-z])([A-Z])/,["\\1","\\2"].join("-")) # together with what Burgestrand said
<ruby[bot]> gregf_: # => "Some-Word-Combo" (https://eval.in/511029)
<domgetter> is there a camel-snake-kebab gem?
<gregf_> ;)
felixal has joined #ruby
<Burgestrand> >> "SomeWordCombo".gsub(/(?<!\A)(\p{Lu})/, '-\0')
<ruby[bot]> Burgestrand: # => "Some-Word-Combo" (https://eval.in/511030)
<domgetter> looks like I have a fun week ahead of me
enkristoffer_ is now known as enkristoffer
<Burgestrand> So many ways to do this with these vague specifications. :x
<gregf_> Burgestrand: that looks quite neat :)
<domgetter> Burgestrand: thanks for the \p{Lu} tip
<Burgestrand> :)
vikas027 has quit [Client Quit]
lessless has quit [Ping timeout: 240 seconds]
<domgetter> >> "HelloWorld".scan(/\p{Lu}\p{Ll}+/).join("-")
<ruby[bot]> domgetter: # => "Hello-World" (https://eval.in/511031)
Xeago has quit [Remote host closed the connection]
<Burgestrand> Actually, here is better: http://ruby-doc.org/core-2.3.0/Regexp.html
<domgetter> just for funsies:
<domgetter> >> "HelloWorld".scan(/[[:upper]][[:lower]]+/).join("-")
<ruby[bot]> domgetter: # => "ello-rl" (https://eval.in/511032)
<ljarvis> ...
<Ox0dea> Well done.
vikas027 has joined #ruby
<ljarvis> > "SomeWordCombo".gsub(/(?!^)[A-Z]/, '-\0')
<domgetter> woops
<ljarvis> >> "SomeWordCombo".gsub(/(?!^)[A-Z]/, '-\0')
<ruby[bot]> ljarvis: # => "Some-Word-Combo" (https://eval.in/511033)
<domgetter> >> "HelloWorld".scan(/[[:upper:]][[:lower:]]+/).join("-")
<ruby[bot]> domgetter: # => "Hello-World" (https://eval.in/511034)
* ljarvis is baffled by all the complexity
jxs_ has joined #ruby
jxs_ has quit [Client Quit]
pandaant has joined #ruby
jxs_ has joined #ruby
<claw> nice that works :)
skade has joined #ruby
<Burgestrand> For english as long as it's just one line!
<claw> thank you everyone
<ljarvis> i work with what i'm given
<Burgestrand> Endless possibilities!
<ljarvis> millionzz
Xeago has joined #ruby
anisha has quit [Quit: Leaving]
ldnunes has joined #ruby
nettoweb has joined #ruby
<domgetter> I never user the enter key. no problem
<Ox0dea> I tried to train myself to use ^J instead of Enter.
<kent\n> any recommendations for a low-level low-magic ORM? My last interaction with Active<ThingsHere> made me hate it and I find rails over-complicated.
<ljarvis> kent\n: sequel is good, I wouldn't consider it "low-magic", though
<ljarvis> less so than ActiveLol
Voyage has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ElFerna_ has quit [Ping timeout: 264 seconds]
<kent\n> "Lower" will have to suffice. Its not magic if its apparent how the code I write maps to the guts, even if I'm not 100% sure how it manages ;)
tsunamie has quit [*.net *.split]
joast has quit [*.net *.split]
huyderman has joined #ruby
LoneHerm_ has joined #ruby
<apeiros> kent\n: low-magic orm is an oxymoron ;-)
<Ox0dea> kent\n: http://rom-rb.org/
<Ox0dea> But apeiros is right.
jottr has joined #ruby
Coldblackice has quit [Ping timeout: 272 seconds]
tuelz1 has joined #ruby
hinbody has joined #ruby
<kent\n> You need /some/ magic. After all, its an ORM. The trick is having that magic in places where you're not terrified by things randomly going "bang", sparks, and magic smoke comming out of holes in your brain :)
stevemackinnon has quit [Remote host closed the connection]
<apeiros> yeah, I doubt that's possible.
<apeiros> any orm which tries to actually be an orm will easily reach a level of complexity where that's inevitable.
<domgetter> I implemented the List monad on Rosetta Code in Ruby, let me know what you all think: http://rosettacode.org/wiki/Monads/List_monad
htmldrum has quit [Ping timeout: 260 seconds]
dexter__ has quit [Ping timeout: 240 seconds]
<apeiros> I am writing something low-magic myself, and I wouldn't dare calling it an orm, and it already has quite a high level of complexity. I don't even want to know how much more complex it got if I'd add abstractions for all the things I decided not to.
zacstewart has quit [Ping timeout: 248 seconds]
PedramT has joined #ruby
<kent\n> If your ORM tries to hide that you have a database underneath things and forces/encourages you do do everything with pure method calls, I agree completely. But anything where you can perform an abstract query and just have the ORM turn that into objects of a class you control on the way out .. I'm not so sure.
dlitvak has joined #ruby
<kent\n> ( Though I guess we might have different interpretations on what ORM implies )
LoneHerm_ has quit [Ping timeout: 248 seconds]
anisha_ has joined #ruby
tsunamie has joined #ruby
joast has joined #ruby
lee-jon has quit [Quit: lee-jon]
tuelz1 has quit [Ping timeout: 272 seconds]
<jhass> I think you'll like sequel, you can pretty much use it both ways
<apeiros> complexity starts with "abstract query"
<apeiros> stuff like knowing which value to translate in what way
nerium has quit [Quit: nerium]
<apeiros> and sql allowing a ridiculous amount of ways to phrase a query
marr has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
<Ox0dea> Query Planner is a job description. :P
<kent\n> Yeah. Except when you're MySQL, and then the employee who's job description is "Query planner" is one of those guys who is always eating their lunch when you look.
zacstewart has joined #ruby
evidex has joined #ruby
ropeney has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.3]
lee-jon has joined #ruby
<apeiros> did I miss the joke? mysql doesn't have a query planner afaik?
<apeiros> time to refuel I guess. lunch, cya :)
<kent\n> I had a lot of battles with that thing because I learnt most of my understanding of SQL using Postgres ... and when you port Postgres code with lots of nested IN ( SUBQUERY ) queryies to mysql ... it does incredibly poorly
<kent\n> because Postgres was smart enough to rewrite those and eliminate side effect results in the sub-query that weren't needed, while mysql just created a temp table for each subquery, stuffed all the results in it, and then used that for the parent query....
<kent\n> needless to say that results in a very amusing performance issue.
<kent\n> apeiros: it does have a planner of sorts, its just really bad at optimising queries. Like the sort of bad you'd expect if somebody had a bunch of regex they applied to every query
Xeago has quit [Remote host closed the connection]
User458764 has joined #ruby
chouhoulis has joined #ruby
skade has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
tvw has quit [Remote host closed the connection]
tsunamie has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
spk has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
colli5ion has quit []
gbgdev has joined #ruby
minimalism has quit [Quit: minimalism]
al2o3-cr has quit [Ping timeout: 240 seconds]
spk has left #ruby [#ruby]
fsapo has joined #ruby
al2o3-cr has joined #ruby
spk has joined #ruby
at46 has joined #ruby
arup_r has joined #ruby
FooMunki has joined #ruby
Voyage has joined #ruby
skade has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tvw has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
domgetter has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
at46 has quit [Ping timeout: 265 seconds]
CloCkWeRX has quit [Ping timeout: 250 seconds]
braincra- has quit [Ping timeout: 264 seconds]
FooMunki has quit [Quit: FooMunki]
braincrash has joined #ruby
tsunamie has joined #ruby
william3 has joined #ruby
User458764 has joined #ruby
PedramT has joined #ruby
k13nox has joined #ruby
grekko has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
jaiks has joined #ruby
jaiks has quit [Client Quit]
platzhirsch has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
Bloomer has quit [Remote host closed the connection]
FernandoBasso has joined #ruby
darkxploit has quit [Ping timeout: 256 seconds]
zacstewart has quit [Ping timeout: 256 seconds]
CloCkWeRX has joined #ruby
<zacts> ok, so...
<zacts> for a simple Todo app
namxam has joined #ruby
zacstewart has joined #ruby
<zacts> with a Todo object. would it be better to have the Todo object write itself to a file, or would it be better to do this outside of the object?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<zacts> is it more idiomatic for objects to write themselves to files, or is it more idiomatic to do this with logic outside of an object?
<Burgestrand> It depends!
<zacts> (I don't mean object serialization, I mean just writing data)
<Zarthus> I've personally always had a #store(path) method, that means the object knows how to read itself as well.
<kent\n> I'd be asking if you're reading that from a file later.
<kent\n> and where the code to read from a file is going
<Ox0dea> Resist the urge to have something called TodoManager. :P
<zacts> hrm.. I would like to pastebin... just a sec.
<zacts> it's actually a Bookmark app.
<Zarthus> Ox0dea: any reason in particular for that?
<kent\n> Because TodoFile is a totally better name :p
<Ox0dea> Zarthus: The kingdoms of nouns and verbs do not get along overmuch.
<Zarthus> Ox0dea: right.
<Burgestrand> zacts for simple, let the object store itself.
zotherstupidguy has quit [Ping timeout: 250 seconds]
<Burgestrand> zacts it's completely OK.
<Zarthus> Ox0dea: I was curious because I had a few *Managers myself, primarily for keeping track of my loggers.
krz has quit [Ping timeout: 245 seconds]
<Burgestrand> zacts once it becomes unwieldy, you might want to think of moving it somewhere else but most of the time YAGNI.
<zacts> Burgestrand: this is a small gli command line app
awk_ is now known as aw
aw is now known as awk
<kent\n> I think it makes sense for there to be a *method* on the object to store it, but there's no requirement for the implementation details of that method to be entirely in the same class
ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<zacts> I have lots of non-DRY code in here
<zacts> I was starting to repeat myself tons
<zacts> this is my first Ruby app ever basically
<Ox0dea> Zarthus: Do your Foos tend to hold references to their FooManager?
<Burgestrand> zacts if it helps, ActiveRecord have been letting objects more or less persist themselves for years.
<kent\n> Careful, its not "Don't Repeat Yourself", people over-use that phrase and misinterpret it.
<zacts> nice
<kent\n> Like repeating something twice is fine.
<zacts> ah ok
<Zarthus> Ox0dea: no, FooManager is just a fancy word for hash with helper methods
<Burgestrand> Many people consider it an anti-pattern, but for small enough things it's OK, but not a silver bullet.
<zacts> DRYO perhaps?
<Ox0dea> Zarthus: Ah, fair enough, then; that's using the term in a different sense than I meant.
Voyage has quit [Remote host closed the connection]
<kent\n> creating a constant called "FOUR" that is used everywhere you wrote the number 4, and having a function that handles every single loop iteration in your code is "evil" ;)
<zacts> Don't Repeat Yourself too Often
CloCkWeRX has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
PedramT has joined #ruby
dmolina has joined #ruby
<kent\n> The point of DRY is to keep /knowledge/ in one place.
<zacts> the Bookmark class seems to have logic outside that I feel might be better inside
<zacts> such as writing data to a file
<zacts> but also, I wonder what else might be appropriate to put in there
dionysus69 has quit [Ping timeout: 265 seconds]
<kent\n> For instance, if you need to know "How to turn an object into a file", then you should only have *that* part once.
<zacts> ah ok
<zacts> so it's not a literal syntactical DRY, but more of a semantics DRY
chipotle has joined #ruby
<Ox0dea> Logistical DRY.
<zacts> better way to put it yeah
<kent\n> https://www.youtube.com/watch?v=T93aexpXShE # I find this a good collection of examples of how people misapplying "best practices" results in garbage.
PedramT has quit [Ping timeout: 245 seconds]
<zacts> how about parsing of arguments?
<zacts> should a list of tags be parsed outside of the object into an array?
tf_ has joined #ruby
<Ox0dea> kent\n: https://git.io/NELD
<zacts> or is it ok to pass a delimited string of tags into the object, and have the object parse it there?
tf_ is now known as Guest96203
<kent\n> I love that repository.
PedramT has joined #ruby
Guest96203 has left #ruby [#ruby]
<zacts> I'm assuming it's better to parse the args outside of an object, so that the object's interface doesn't change over time?
<kent\n> Design Patterns the Book: Intent: Here's ways of solving certain kinds of problems in useful ways. World Reaction: Lets use these like its chocolate flavoured paint and dove tail everything into these
skade has quit [Quit: Computer has gone to sleep.]
<zacts> it's better to design objects' APIs that will always work into the future, rather than changing data types
arlek has quit [Ping timeout: 256 seconds]
dlitvak has quit [Ping timeout: 250 seconds]
<zacts> like I'm inputing tags as a string into Bookmark objects, rather than an array of tags
jam_ has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darkxploit has joined #ruby
<zacts> the object is currently parsing the string into an array of tags
<zacts> I'm assuming this is a really poor design?
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kent\n> From a security perspective I'd say "probably"
Macaveli has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
<zacts> heh
<zacts> ok yeah
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
auzty has quit [Quit: Leaving]
meves has joined #ruby
jam_ has quit [Ping timeout: 240 seconds]
<kent\n> I feel you're going to want Dependency Injection here eventually. Though I can't explain why I have that feeling yet.
dagda1 has joined #ruby
<zacts> I feel I have a bit of a long road to learning Ruby ahead of me
<zacts> hehe
joast has quit [Ping timeout: 246 seconds]
<zacts> but I'm hoping that the fact I'm even concerned about these issues in the first place, means I'm not a total dummie
<zacts> even though my code is 100% naively newbie
Xeago has joined #ruby
shinnya has joined #ruby
despai has joined #ruby
<shevy> it gets better and better the more you write!
moeabdol2 has quit [Ping timeout: 256 seconds]
DEA7TH has joined #ruby
Shaboum has joined #ruby
<zacts> thanks
CloCkWeRX has joined #ruby
Voyage has joined #ruby
platzhirsch has quit [Quit: Leaving.]
<zacts> I felt like UNIX cli apps would be a good entry point for me
<zacts> and text processing stuff, eventually
<zacts> filter programs
<zacts> and then moving up from there
<Ox0dea> busybox.rb!
mauricio has joined #ruby
robbyoconnor has quit [Ping timeout: 250 seconds]
moeabdol3 has joined #ruby
lipoqil has joined #ruby
adgtl has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
joast has joined #ruby
<kent\n> /boot/kernel.rb
Kero_ is now known as Kero
<Ox0dea> Saints preserve us.
gfvcastro has joined #ruby
tsunamie has quit [Ping timeout: 246 seconds]
<zacts> lol
<kent\n> cat /proc/cpuinfo | grep "model name" # Ruby(R) Core(TM) SpecialFastCPU.rb
<zacts> next I hope to takle the Linux kernel in pure Ruby
<zacts> using a Ruby -> asm I write via the busybox app
dlitvak has quit [Ping timeout: 250 seconds]
<zacts> anyway, back to /topic from me...
<zacts> :-)
adgtl has joined #ruby
chouhoulis has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kent\n> Oh, I forgot, pervasive NIH syndrome is a PHP thing, so we don't have to write our own processor/kernel just for our $Project
anisha_ has quit [Ping timeout: 246 seconds]
shredding has quit [Ping timeout: 272 seconds]
chthon has joined #ruby
Xeago has quit [Remote host closed the connection]
moeabdol4 has joined #ruby
Abrin has joined #ruby
anisha has joined #ruby
inukshuk_ has joined #ruby
inukshuk_ has quit [Client Quit]
<shevy> zacts you could start by building up individual apps that do similar things like coreutils/busybox
zacstewart has quit [Read error: Connection reset by peer]
zacstewa_ has joined #ruby
sepp2k has joined #ruby
moeabdol3 has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
Voyage has quit [Ping timeout: 240 seconds]
rodfersou is now known as rodfersou|afk
Voyage has joined #ruby
gfvcastro has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
ElFerna_ has joined #ruby
at46 has joined #ruby
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has quit [Client Quit]
dionysus69 has joined #ruby
PedramT has joined #ruby
codecop has joined #ruby
Voyage has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
Azulinho has joined #ruby
<shevy> then! a rubinius VM running a RubyOS!
chipotle has quit [Quit: cheerio]
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has quit [Remote host closed the connection]
at46 has quit [Ping timeout: 265 seconds]
e4xit has quit [Quit: e4xit]
sandstrom has joined #ruby
PedramT has quit [Ping timeout: 264 seconds]
dlitvak_ has quit [Ping timeout: 265 seconds]
platzhirsch has joined #ruby
namxam has quit [Remote host closed the connection]
DirtyFinn has joined #ruby
william3 has joined #ruby
<manveru> shevy: but rubinius is also written in C++ :P
<shevy> yeah we have to go in intermediate steps until the end goal has been achieved
duckpuppy has joined #ruby
c355e3b has joined #ruby
<chrisseaton> this guy is working on an AOT Ruby compiler http://hokstad.com/compiler
adgtl has quit [Remote host closed the connection]
sftrabbit has quit [Quit: sftrabbit]
<shevy> cool
<shevy> "the oldest entries in the series I'm about to start posting is stuff I started writing back in early 2005"
<shevy> he is persistent :)
william3 has quit [Ping timeout: 240 seconds]
platzhirsch has left #ruby [#ruby]
moeabdol4 has quit [Quit: WeeChat 1.4]
lee-jon has quit [Quit: lee-jon]
Xeago has joined #ruby
BTRE has quit [Quit: Leaving]
Voyage has joined #ruby
sftrabbit has joined #ruby
Meow-J has joined #ruby
dlitvak_ has joined #ruby
dwfait has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 272 seconds]
dlitvak has quit [Ping timeout: 272 seconds]
LoneHerm_ has joined #ruby
BTRE has joined #ruby
stevemackinnon has joined #ruby
blackmes1 has joined #ruby
LoneHerm_ has quit [Ping timeout: 245 seconds]
aufi2 has quit [Quit: aufi2]
stannard has joined #ruby
stevemackinnon has quit [Ping timeout: 240 seconds]
ElFerna_ has quit [Quit: WeeChat 1.3]
Burgestrand has joined #ruby
ElFerna has joined #ruby
dexter__ has joined #ruby
william3 has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
pawnbox has quit [Remote host closed the connection]
adgtl has joined #ruby
tuelz1 has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
FooMunki has joined #ruby
meves has quit [Remote host closed the connection]
geekbri has joined #ruby
tuelz1 has quit [Ping timeout: 256 seconds]
pawnbox has joined #ruby
darkxploit has quit [Read error: Connection reset by peer]
geekbri has quit [Read error: Connection reset by peer]
vikas027 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joast has quit [Ping timeout: 246 seconds]
f4cl3y has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
geekbri has joined #ruby
syk has joined #ruby
platzhirsch has joined #ruby
adgtl has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
duckpuppy has joined #ruby
hinbody has quit [Ping timeout: 245 seconds]
dlitvak has joined #ruby
f4cl3y has joined #ruby
k13nox has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
f4cl3y has quit [Client Quit]
lee-jon has joined #ruby
mdw has joined #ruby
chouhoulis has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak_ has quit [Ping timeout: 265 seconds]
duckpuppy has quit [Ping timeout: 276 seconds]
rodfersou|afk is now known as rodfersou
PedramT has joined #ruby
Xeago has joined #ruby
gfvcastro has joined #ruby
sdothum has joined #ruby
<gfvcastro> Hello
pawnbox has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
k13nox has joined #ruby
Xiti` has quit [Quit: Xiti`]
Xiti has joined #ruby
Xeago has quit [Remote host closed the connection]
darkxploit has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
tuelz1 has joined #ruby
duckpuppy has joined #ruby
nertzy has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
<shevy> yo castro
Xeago has joined #ruby
at46 has joined #ruby
kloeri_ is now known as kloeri
grekko has joined #ruby
k13nox has quit [Remote host closed the connection]
anisha has quit [Quit: Leaving]
k13nox has joined #ruby
p1k has joined #ruby
<p1k> hello
Mon_Ouie has joined #ruby
<p1k> <float>.to_s.to_f should always return itself shouldn't it ?
at46 has quit [Ping timeout: 265 seconds]
<Mon_Ouie> String#to_f doesn't recognize things like NaN and Infinity so at least those numbers are exceptions
lee-jon has quit [Quit: lee-jon]
<p1k> I mean as far as regular floats, e.g. Time.now.to_f
stannard has quit [Remote host closed the connection]
namxam has joined #ruby
lee-jon has joined #ruby
blackmes1 has quit [Read error: Connection reset by peer]
<p1k> very puzzling
<Ox0dea> >> loop.find { f = rand; f.to_s.to_f != f }
<ruby[bot]> Ox0dea: # => nil (https://eval.in/511098)
<Ox0dea> Uh... that was fast.
<Ox0dea> I'm pretty sure that's an infinite loop on my machine.
Macaveli has quit [Ping timeout: 240 seconds]
namxam has quit [Ping timeout: 252 seconds]
pdoherty has joined #ruby
gagrio has joined #ruby
<p1k> hmm? that should be infinite
<Ox0dea> Seems 32 bits just isn't enough.
michael_mbp has joined #ruby
d10n-work has joined #ruby
<p1k> I'm not familiar with the loop.find syntax but those outputs don't evaluate to true in that inequality
william3 has joined #ruby
User458764 has joined #ruby
dlitvak_ has joined #ruby
namxam has joined #ruby
bluOxigen_ has left #ruby [#ruby]
<Ox0dea> As you can see, the loss of precision is being ignored, and two distinct floats are comparing true.
<Ox0dea> The output makes more sense in a 64-bit environment: https://glot.io/snippets/ebinf48si9
namxam has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 245 seconds]
william3 has quit [Ping timeout: 248 seconds]
Lochez has joined #ruby
anisha has joined #ruby
Loochez is now known as Lochez
maverous has quit [Quit: WeeChat 1.3]
blackgoat has quit [Quit: WeeChat 1.3]
Xeago has quit [Remote host closed the connection]
Macaveli has joined #ruby
hinbody has joined #ruby
yalue has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
<Ox0dea> Er, never mind, that was dumb. The precision gets lots immediately: https://eval.in/511118
El3k0n has joined #ruby
<Ox0dea> Are you sure you're not comparing two separate calls to Time.now?
Xeago has joined #ruby
JDiPierro has joined #ruby
El3k0n has quit [Client Quit]
joonty has joined #ruby
gbgdev has quit [Remote host closed the connection]
<p1k> No it shouldn't be possible in ruby, if you start with 53 bits of precision (double) there shouldn't be a way for that to change
tsunamie has joined #ruby
<p1k> but I'm using redis ordered sets (zadd) and the floats I get back are different from what I started with
despai has joined #ruby
lee-jon has quit [Quit: lee-jon]
karapetyan has joined #ruby
adgtl has joined #ruby
jam_ has joined #ruby
<p1k> but that's very puzzling, doubles in c and ruby should be interoperable
ZeeNoodleyGamer has quit [Changing host]
ZeeNoodleyGamer has joined #ruby
Bloomer has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jam___ has joined #ruby
jam_ has quit [Ping timeout: 256 seconds]
atmosx has joined #ruby
namxam has joined #ruby
stannard has joined #ruby
adgtl has quit [Ping timeout: 276 seconds]
dwfait has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
dwfait has quit [Read error: Connection reset by peer]
Anderson69s_Pi has joined #ruby
jam_ has joined #ruby
<al2o3-cr> just whipped up a quick script, is there a way of creating a KML file using Nokogiri perhaps, instead of writing to a standard file while in the loop? https://gist.github.com/96cea6c8d068d44719c7
Macaveli has joined #ruby
fourq|away is now known as fourq
Rodya_ has joined #ruby
astrobun_ has joined #ruby
glcx has joined #ruby
jam___ has quit [Ping timeout: 265 seconds]
<al2o3-cr> would nokogiri xml builder be ble to do this?
aryaching has joined #ruby
mary5030 has joined #ruby
geekbri has quit [Remote host closed the connection]
geekbri has joined #ruby
mary5030 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
mary5030 has joined #ruby
atomical has joined #ruby
stannard has quit [Remote host closed the connection]
yoongkang has quit [Remote host closed the connection]
yoongkang has joined #ruby
chouhoulis has joined #ruby
Xeago has quit [Remote host closed the connection]
lee-jon has joined #ruby
lipoqil has quit [Quit: Connection closed for inactivity]
7YUAASVRP is now known as shiver
sgambino has joined #ruby
puria has joined #ruby
S01780__ is now known as S01780
yoongkang has quit [Ping timeout: 240 seconds]
joast has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
<al2o3-cr> any ideas?
waka has joined #ruby
gagrio has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
karapetyan has quit [Remote host closed the connection]
joast has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
at46 has joined #ruby
zzz has joined #ruby
zzz is now known as Guest64225
cdg has joined #ruby
joast has joined #ruby
dlitvak has joined #ruby
joast is now known as 92AACA3RA
greynetic has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
dlitvak_ has quit [Ping timeout: 256 seconds]
geekbri has quit []
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewa_ has quit [Ping timeout: 256 seconds]
malconis has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djcp has joined #ruby
crowell_ is now known as crowell
hayden_ has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
glcx has quit [Quit: This computer has gone to sleep]
flughafen_ has joined #ruby
zacstewart has joined #ruby
malconis has quit [Remote host closed the connection]
karapetyan has joined #ruby
malconis has joined #ruby
gagrio has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
s2013 has joined #ruby
platzhirsch has joined #ruby
namxam has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
<jhass> wouldn't be too surprised if there's a gem or two that can handle KML
<jhass> https://github.com/schleyfox/ruby_kml might still function
william3 has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 250 seconds]
<al2o3-cr> jhass: will take at look at this gem as i'm getting know where with nokogiri, thanks
sankaber has joined #ruby
krobzaur has joined #ruby
tsunamie has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has quit [Ping timeout: 250 seconds]
ziyadb has joined #ruby
namxam has joined #ruby
karapetyan has joined #ruby
<ddv> al2o3-cr: easy to make with nokogiri
Toledo|gone has joined #ruby
<ddv> it's just xml right
victortyau has joined #ruby
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> ddv: i know how to make with nokogiri, just not how to apply within the loop, but looking at ruby_kml i think i may know how
<ddv> al2o3-cr: apply within the loop?
sftrabbit has quit [Quit: sftrabbit]
<al2o3-cr> write <coordinates>23.9832,-34.3434</coordinates>
ramortegui has joined #ruby
<al2o3-cr> ddv: i'mm ask again if this doesn't work, thanks anyway
sftrabbit has joined #ruby
arthropododo has joined #ruby
symm-_ has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
dopamean_ has quit [Ping timeout: 240 seconds]
mephistophocles has quit []
astrobun_ has quit [Remote host closed the connection]
dfinninger has joined #ruby
lee-jon has quit [Quit: lee-jon]
zacstewart has quit [Ping timeout: 256 seconds]
dlitvak_ has joined #ruby
namxam has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
zacstewart has joined #ruby
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
pdoherty has quit [Ping timeout: 265 seconds]
weemsledeux has joined #ruby
dlitvak has quit [Ping timeout: 276 seconds]
manus has joined #ruby
baweaver has joined #ruby
TomPeed has joined #ruby
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
Seneca has joined #ruby
darkxploit has quit [Ping timeout: 245 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has quit []
agit0 has joined #ruby
mooru has joined #ruby
treehug88 has joined #ruby
baweaver has quit [Ping timeout: 245 seconds]
mary5030 has quit [Remote host closed the connection]
DirtyFinn has quit []
Jardayn has joined #ruby
sankaber has quit [Remote host closed the connection]
Snowy has joined #ruby
sankaber has joined #ruby
newdan has joined #ruby
zerowaitstate has joined #ruby
decoponio has joined #ruby
Sucks has joined #ruby
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
aganov has quit [Remote host closed the connection]
dfinninger has quit []
meves has joined #ruby
grekko has joined #ruby
chouhoulis has joined #ruby
mikecmpbll has joined #ruby
IrishGringo has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
mfb2 has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
davedev24 has joined #ruby
TomyWork has quit [Ping timeout: 248 seconds]
TomyLobo2 has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
User458764 has joined #ruby
griffindy has joined #ruby
astrobun_ has joined #ruby
adgtl has joined #ruby
shredding has joined #ruby
Dreamer3 has joined #ruby
stannard has joined #ruby
skade has joined #ruby
raimumizu has joined #ruby
Xeago has joined #ruby
at46 has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
astrobun_ has quit [Ping timeout: 250 seconds]
zast has joined #ruby
davedev2_ has joined #ruby
stannard has quit [Ping timeout: 245 seconds]
s2013 has joined #ruby
stannard has joined #ruby
s2013 has quit [Max SendQ exceeded]
at46 has quit [Ping timeout: 265 seconds]
Brklyn has joined #ruby
frem has joined #ruby
Xeago has quit [Remote host closed the connection]
meves has quit [Remote host closed the connection]
davedev24 has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
cpup has quit [Ping timeout: 272 seconds]
stannard has quit [Ping timeout: 265 seconds]
flughafen_ has quit [Ping timeout: 252 seconds]
govg has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
cpup has joined #ruby
stannard has joined #ruby
chipotle has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
skade has joined #ruby
inukshuk_ has joined #ruby
dopamean_ has joined #ruby
PedramT has quit [Ping timeout: 248 seconds]
Biopandemic has quit [Remote host closed the connection]
TomyLobo has joined #ruby
Lochez has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
namxam has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Xeago has joined #ruby
nofacade has joined #ruby
Burgestrand has joined #ruby
wireddude has joined #ruby
duckpuppy has quit [Ping timeout: 272 seconds]
followinfrared has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
gregf has joined #ruby
william3 has joined #ruby
JDiPierro has quit [Remote host closed the connection]
karapetyan has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
karapetyan has joined #ruby
duckpuppy has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
LoneHerm_ has joined #ruby
Voyage has quit [Ping timeout: 240 seconds]
kies^ has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
lipoqil has joined #ruby
govg has joined #ruby
nodejunkie has joined #ruby
kalopsian has joined #ruby
gbgdev has joined #ruby
duckpuppy has quit [Ping timeout: 250 seconds]
ElFerna has quit [Ping timeout: 276 seconds]
Fizz has joined #ruby
jam___ has joined #ruby
puria has quit [Ping timeout: 252 seconds]
aufi has quit [Ping timeout: 272 seconds]
lxsameer has quit [Quit: Leaving]
dhollinger has joined #ruby
aegis3121 has quit [Ping timeout: 245 seconds]
aegis3121 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jam_ has quit [Ping timeout: 250 seconds]
duckpuppy has joined #ruby
sgambino has joined #ruby
nodejunkie has quit [Ping timeout: 265 seconds]
bkxd has joined #ruby
gfvcastro has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
mooru has joined #ruby
eyesnot has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofacade has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
krz has joined #ruby
dudedudeman has joined #ruby
ilzoff has joined #ruby
codecop has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
nettoweb has joined #ruby
chouhoulis has joined #ruby
ElFerna has joined #ruby
avril14th has joined #ruby
kalopsian has quit [Read error: Connection reset by peer]
<avril14th> Hello, will MRI support using multiple cores one of these days? How is it possible to have multiple sidekiq running on different ruby each with an assigned CPU?
kalopsian has joined #ruby
Guest38 has joined #ruby
Xeago has quit [Remote host closed the connection]
despai has joined #ruby
<newdan> avril14th: AFAIK Matz has plans to eventually remove the GIL (which should allow multicore) but that is very far in the future
<newdan> avril14th: JRuby does support multicore now (I think)
<avril14th> newdan: okay.
arashb has joined #ruby
PedramT has joined #ruby
meves has joined #ruby
symm-_ is now known as symm-
mfb2 has joined #ruby
<havenwood> avril14th: MRI (or rather CRuby or YARV these days) does support using multiple cores. You can use multiple processes or threads for the variety of things that don't lock the GVL.
LoneHerm_ has quit [Remote host closed the connection]
<avril14th> I got a shitload of code (not a web app) using tons of gems (and drink tons of coffee) and I'm scared that changing the interpreter will yield troubles
dudedudeman has quit [Ping timeout: 240 seconds]
<avril14th> Don't know if I should
eyesnot has quit [Quit: Textual IRC Client: www.textualapp.com]
meves has quit [Read error: Connection reset by peer]
<havenwood> avril14th: Try JRuby and see if your tests pass? It's easy to try.
meves has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
<avril14th> well, that's the thing, this code is still in bootstrap mode. tests are not that present yet
skade has joined #ruby
<avril14th> and they're freaking hard to write. all this code is probabilities and machine learning and external services and document format conversion
<avril14th> whatever, one day I'll write them
<havenwood> Ruby 3 in 2020. A bit less than four years away now! (2020 seems like it should be the distant future. :O)
<avril14th> right now I just want to find out how I can have a VM with 4 cores run my stuff
Canar has joined #ruby
astrobun_ has joined #ruby
puria has joined #ruby
Canar has quit [Remote host closed the connection]
ilzoff_ has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
<avril14th> I thought I could have like 4 ruby running 1 sidekiq each
<avril14th> just don't know how I can do that
Canar has joined #ruby
gbgdev has quit [Remote host closed the connection]
mfb2 has quit [Ping timeout: 256 seconds]
gbgdev has joined #ruby
ilzoff has quit [Quit: Ex-Chat]
ilzoff_ is now known as ilzoff
dudedudeman has joined #ruby
gbgdev has quit [Remote host closed the connection]
gbgdev has joined #ruby
at46 has joined #ruby
gbgdev has quit [Client Quit]
<newdan> avril14th: Maybe this will help https://github.com/grosser/parallel
hxegon has joined #ruby
<avril14th> newdan: that look cool, I'll inquire that, thx
<havenwood> avril14th: You might take a look at Rescue for forking rather than threading: https://github.com/resque/resque
<avril14th> havenwood: Can't do that right now
<avril14th> I have a home made gem on top of sidekiq
finisherr has joined #ruby
<avril14th> that allows both concurrent and subsequent processing (1 eorker after another)
<avril14th> not ready to port that to resque atm
<avril14th> :(
rkazak has quit [Ping timeout: 240 seconds]
astrobun_ has quit [Ping timeout: 276 seconds]
<havenwood> avril14th: Sidekiq is compatible with Resque. Mmm.
<avril14th> yes, the job pushing thing. Not sure about the rest. I don't think it would be too hard to port. but I can't do it right now
skade has quit [Read error: Connection reset by peer]
kappy has joined #ruby
<avril14th> I'd better open source my stuff
<avril14th> looks like the fastest way there lol
blackmes1 has quit [Read error: Connection reset by peer]
<newdan> Wow, Rubinius has a GVL?
skade has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> newdan: nope
<shevy> a what?
<havenwood> shevy: Global VM Lock
<shevy> oh
<havenwood> shevy: Like a Global Interpreter Lock, but for a VM
nerium has joined #ruby
<newdan> Oh I see a Rubinius blog post talking about the GVL but that's from 2011
tomchapin has joined #ruby
<havenwood> shevy: MRI had a GIL and YARV has a GVL. Pedantry! \o/
<hxegon> havenwood had or has?
IrishGringo has joined #ruby
ilzoff has quit [Quit: ilzoff]
<havenwood> hxegon: 1.8 is dead!
<newdan> hxegon: Technically MRI is not currently maintained, Ruby's implementation is now YARV
stannard has quit [Remote host closed the connection]
<shevy> matz ruby!
<newdan> hxegon: So the same problem still exists but its name changed when Ruby switched from MRI to YARV
tsunamie has joined #ruby
stannard has joined #ruby
darkxploit has joined #ruby
<havenwood> hxegon: (That's the only reason for my past tense.)
<shevy> oh... a new rubygems is out but not on https://rubygems.org/pages/download ?
<shevy> I am dumb
<shevy> "2.5.2 - February 1, 2016"
<shevy> I thought that was january haha
ElFerna has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
<shevy> hmm nope... download link does not work for me
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has joined #ruby
<havenwood> shevy: gem update --system
<newdan> shevy: Same here, trying to download the .tgz file gives me some XML
ilzoff has joined #ruby
<shevy> I am too scared to update my whole system :D
Lochez has joined #ruby
<shevy> guess it will take a while before mirrors are synced and such
Lochez has quit [Read error: Connection reset by peer]
ilzoff is now known as 6A4ABW8XQ
arashb has quit [Ping timeout: 272 seconds]
mfb2 has joined #ruby
fedexo has joined #ruby
<avril14th> ok found it. You can have capistrano run multiple sidekiq processes
<avril14th> as easy as that
jokke has quit [Quit: WeeChat 1.3]
arup_r has quit []
jokke has joined #ruby
scepticulous has quit [Ping timeout: 276 seconds]
dudedudeman has quit [Quit: dudedudeman]
dlitvak_ has quit [Remote host closed the connection]
dudedudeman has joined #ruby
william3 has joined #ruby
6A4ABW8XQ has quit [Quit: Ex-Chat]
<havenwood> avril14th: nice :)
tomchap__ has joined #ruby
<avril14th> indeed :)
slash_quit is now known as slash_join
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
VeryBewitching has joined #ruby
cschneid_ has joined #ruby
<VeryBewitching> G'day folks.
<avril14th> hi VeryBewitching
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shaboum has quit [Read error: Connection reset by peer]
krobzaur_ has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
aegis312_ has joined #ruby
tomchapin has quit [Ping timeout: 256 seconds]
dudedudeman has quit [Client Quit]
pdoherty has joined #ruby
IrishGringo has quit [Ping timeout: 264 seconds]
krobzaur has quit [Ping timeout: 240 seconds]
despai has joined #ruby
Meow-J has joined #ruby
borodin has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
<shevy> yo BeryVewitching
hobodave has joined #ruby
ElFerna has joined #ruby
aegis312_ has quit [Ping timeout: 248 seconds]
nerium has quit [Quit: nerium]
dlitvak has joined #ruby
zacstewart has quit [Ping timeout: 250 seconds]
zacstewart has joined #ruby
Anderson69s_Pi has quit [Ping timeout: 250 seconds]
tiagobarreto has joined #ruby
lee-jon has joined #ruby
dlitvak has quit [Ping timeout: 245 seconds]
<shevy> hmmm
<shevy> when you have a class that accepts a lot of commandline --switches
<shevy> is it better to store them all in individual @ivars or should these be bundled into a hash that keeps track of these values respectively?
chouhoulis has joined #ruby
jbrhbr has joined #ruby
<tubbo> i usually keep an options hash for that stuff
<tubbo> easier to handle with OptionParser
huyderman has quit [Remote host closed the connection]
skade has quit [Ping timeout: 240 seconds]
IrishGringo has joined #ruby
<mg^> I keep 'em in a hash
<shevy> ok!
cmckee has joined #ruby
babblebre has joined #ruby
aufi has joined #ruby
mark2 has left #ruby ["PART #RubyOnRails :PART #jquery :PART #reactjs :PART ##javascript :PART #elixir-lang :QUIT :Leaving."]
kalopsian has quit [Ping timeout: 252 seconds]
borodin has quit [Ping timeout: 252 seconds]
gambl0re has quit [Ping timeout: 245 seconds]
nodejunkie has joined #ruby
<al2o3-cr> jhass: ruby_kml worked, thanks
gambl0re has joined #ruby
gambl0re has quit [Changing host]
gambl0re has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
tomchapin has joined #ruby
dudedudeman has joined #ruby
govg has quit [Ping timeout: 264 seconds]
dlitvak has joined #ruby
govg has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
tomchap__ has quit [Ping timeout: 248 seconds]
Rodya_ has quit [Remote host closed the connection]
Seneca has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
El3ktra has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
Senecea has joined #ruby
yoongkang has joined #ruby
A124 has quit [Quit: '']
sftrabbit has joined #ruby
B1n4r10 has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
meves has quit [Remote host closed the connection]
blackms has quit [Quit: Leaving]
hobodave_ has joined #ruby
dionysus69 has joined #ruby
konsolebox has quit [Quit: Leaving]
yoongkang has quit [Ping timeout: 260 seconds]
hobodave has quit [Ping timeout: 252 seconds]
vlunkr has joined #ruby
UtkarshRay has quit [Quit: Leaving]
amclain has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
vlunkr has left #ruby [#ruby]
A124 has joined #ruby
dmolina has quit [Quit: Leaving.]
dmolina has joined #ruby
agent_white has joined #ruby
lee-jon has quit [Quit: lee-jon]
lee-jon has joined #ruby
blunckr has joined #ruby
Lochez has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
whiteline has joined #ruby
at46 has joined #ruby
RalfJ has quit [Remote host closed the connection]
skcin7 has joined #ruby
RalfJ has joined #ruby
<agent_white> Mornin' folks
platzhirsch has left #ruby [#ruby]
dmolina has quit [Ping timeout: 250 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<blunckr> part
blunckr has left #ruby [#ruby]
glcx has quit [Quit: Quitte]
IrishGringo has quit [Ping timeout: 250 seconds]
dhollinger has quit [Quit: WeeChat 1.4]
meves has joined #ruby
dhollinger has joined #ruby
PedramT has quit [Remote host closed the connection]
at46 has quit [Ping timeout: 265 seconds]
atmosx has quit [Quit: Lost in trance]
IrishGringo has joined #ruby
gdd229 has joined #ruby
mhoungbo has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
mondok has joined #ruby
arup_r has joined #ruby
Spami_ has quit [Quit: Leaving]
TomPeed has joined #ruby
Spami has joined #ruby
grill has joined #ruby
chouhoulis has joined #ruby
vlunkr has joined #ruby
jabreity_ has quit [Changing host]
jabreity_ has joined #ruby
jabreity_ has joined #ruby
<grill> could someone in here explain to me how I could stream stdout using popen3 without filling up its buffer?
vlunkr has quit [Client Quit]
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jabreity_ has quit [Quit: Updating details, brb]
jabreity has joined #ruby
PedramT has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
crdpink has joined #ruby
rrichardsr3 has joined #ruby
crdpink has quit [Client Quit]
crdpink has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
astrobun_ has joined #ruby
govg has quit [Ping timeout: 252 seconds]
einarj has quit [Remote host closed the connection]
mooru has quit [Read error: Connection reset by peer]
valetudo has joined #ruby
Ebok has joined #ruby
karapetyan has joined #ruby
Fizz has quit []
LoneHerm_ has joined #ruby
astrobun_ has quit [Ping timeout: 250 seconds]
psy_ has joined #ruby
sgambino has joined #ruby
jabreity has quit [Changing host]
jabreity has joined #ruby
jabreity has joined #ruby
htmldrum has joined #ruby
Eiam has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
JJM has joined #ruby
jds has joined #ruby
andikr has quit [Remote host closed the connection]
elifoster has joined #ruby
maho has joined #ruby
davedev24 has joined #ruby
maho has left #ruby [#ruby]
davedev24 has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 260 seconds]
davedev24 has joined #ruby
LoneHerm_ has quit [Ping timeout: 256 seconds]
kirillzh has joined #ruby
caliostro has joined #ruby
caliostro_ has joined #ruby
dlitvak has quit [Ping timeout: 256 seconds]
kirillzh has quit [Max SendQ exceeded]
anisha has quit [Quit: Leaving]
mrmargolis has joined #ruby
<grill> I'm running into this issue where I run rsync via popen3() and monitor stdout. however, if rsync's output is too long, the os buffer fills up and rsync hangs forever. what's going on here?
kirillzh has joined #ruby
the_drow has joined #ruby
nodejunkie has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 240 seconds]
p1k has quit [Ping timeout: 252 seconds]
duckpuppy has joined #ruby
x77686d has joined #ruby
joonty has quit [Ping timeout: 264 seconds]
gizmore has joined #ruby
<the_drow> Is there a way to declare a typed array that only accept a specific Struct type?
karapetyan has quit [Read error: Connection reset by peer]
supertylerc has quit [Ping timeout: 256 seconds]
<jhass> the_drow: how do you declare it so that it doesn't?
dlitvak has joined #ruby
<the_drow> I'm looking for a specialized array implementation to help speed up appending to https://github.com/TwP/logging/blob/master/lib/logging/appenders/buffering.rb#L39 which only accepts a LogEvent struct
rakm has joined #ruby
adgtl has quit [Remote host closed the connection]
manus has quit [Ping timeout: 252 seconds]
Mr0riss0 has joined #ruby
adgtl has joined #ruby
jbrhbr has quit [Quit: Leaving.]
coyo has joined #ruby
<the_drow> jhass: In python I would have written some binding to std::list or something similar
<the_drow> But I don't know Ruby's C API well enough
caliostro has left #ruby ["Exit-Chat"]
<grill> i take it no one in here has ever used open3?
dfockler has joined #ruby
shellie_ has joined #ruby
Musashi007 has joined #ruby
<the_drow> jhass: But that doesn't really work with Ruby yet
<gizmore> grill: i did
IrishGringo has quit [Ping timeout: 240 seconds]
namxam has quit [Remote host closed the connection]
djbkd has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
<the_drow> jhass: That is, as far as I recall you can't really bind crystal code to Ruby code yet
<jhass> ugh, I'm looking at the wrong channel :/
<the_drow> I saw an issue about it
<jhass> sorry I'm a bit beside me, just ignore me
<jhass> well you can
<jhass> by using the Ruby C API from crystal
<the_drow> Yeh but it's not "meant for it" according to one issue I saw
c0m0 has quit [Ping timeout: 260 seconds]
newdan has left #ruby [#ruby]
glcx has joined #ruby
<jhass> it runs a second GC, which can be undesirable
Macaveli has joined #ruby
<DEA7TH> how can I wait until someone writes to a fifo (Unix named pipe) and when it happens, read all of its contents into a variable?
mrsolo_ has joined #ruby
<zacts> hello
<the_drow> I'm looking for a library that already implements a C extension of a typed array
<the_drow> DEA7TH: use select to wait for the file descriptor
manus has joined #ruby
PedramT has quit [Remote host closed the connection]
iateadonut has quit [Ping timeout: 240 seconds]
Macaveli has quit [Client Quit]
momomomomo has joined #ruby
tomphp has quit [Ping timeout: 276 seconds]
<DEA7TH> the_drow: then how can I read all the contents which are currently available?
benlieb has joined #ruby
psy_ has quit [Quit: Leaving]
<grill> gizmore did you ever have to deal with stdout deadlocks?
<the_drow> IO.read maybe?
<the_drow> I'm not much of a ruby dev
kalopsian has joined #ruby
<gizmore> grill: yeah.... when git required a password... unsolved problem :(
<grill> oh
<the_drow> Google it. I think you'll find the answer
<DEA7TH> IO.read reads only n bytes, but I don't know the length in advance
crank1988_ has quit [Quit: ZNC - http://znc.in]
<benlieb> I'm trying to verify some calculations in a spec, but the floating point precision "error" is getting me. expected: "-t 10.1", got: "-t 10.100000000000001" How do I solve this?
<DEA7TH> where n is its argument
<TomyLobo> how would i handle reading binary files, modifying the binary a bit and passing them on to an HTTP PUT?
<TomyLobo> are ruby strings up to the task?
crank1988 has joined #ruby
User458764 has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.3]
adgtl has quit [Remote host closed the connection]
lipoqil has quit [Quit: Connection closed for inactivity]
rrichardsr3 has quit [Quit: He who dares .... wins.]
adgtl has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
namxam has joined #ruby
william3 has joined #ruby
joonty has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sftrabbit has joined #ruby
sftrabbit has quit [Client Quit]
namxam has quit [Client Quit]
<the_drow> DEA7TH: I don't think you can. You don't know the length of the buffer you have
<the_drow> You have to read N bytes until the buffer is empty
<DEA7TH> I'm going to use a file instead then
kalopsian has quit [Ping timeout: 240 seconds]
<DEA7TH> is it ok to use a file when I'm actually only writing from one of the processes and only reading from another? very small amounts of data
<the_drow> try it
<DEA7TH> I know it will work
segmond has joined #ruby
IrishGringo has joined #ruby
preyalone has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
<grill> could someone in here explain to me how I could stream stdout using popen3 without filling up its buffer? (ruby)
<grill> I'm running into this issue where I run rsync via popen3() and monitor stdout. however, if rsync's output is too long, the os buffer fills up and rsync hangs forever. what's going on here?
jrvlima has joined #ruby
johnnyt has joined #ruby
jam___ has quit [Remote host closed the connection]
<momomomomo> grill: $stdout.ioflush ?
momomomomo has left #ruby [#ruby]
davedev2_ has joined #ruby
jrvlima has quit [Max SendQ exceeded]
karapetyan has joined #ruby
firstdayonthejob has joined #ruby
gdd229 has quit [Quit: WeeChat 0.4.2]
<grill> here's my code. does stdout.each not clear out the os buffer on each line read? http://hastebin.com/jazutuxame.rb
ElFerna has joined #ruby
johnnyt has quit [Read error: Connection reset by peer]
aufi has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
arian0n has joined #ruby
davedev24 has quit [Ping timeout: 260 seconds]
adgtl has quit [Remote host closed the connection]
pietr0 has joined #ruby
Shaboum has joined #ruby
Musashi007 has quit [Quit: Musashi007]
glcx has quit [Quit: Quitte]
johnnyt has joined #ruby
mrsolo_ has quit [Quit: This computer has gone to sleep]
at46 has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
evidex has quit [Remote host closed the connection]
pilne has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Ping timeout: 276 seconds]
IrishGringo has joined #ruby
greynetic has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mon_Ouie> 'return true if …' <- after returning true, you're no longer reading from the buffer
greynetic has joined #ruby
akaiiro has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
sol_ has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
aegis3121 has joined #ruby
sol_ has joined #ruby
<grill> Mon_Ouie ok. so?
moss has joined #ruby
ledestin has joined #ruby
thegunbuster has joined #ruby
hobodave_ has quit [Quit: Computer has gone to sleep.]
adgtl has joined #ruby
kies^ has quit [Ping timeout: 264 seconds]
<thegunbuster> hey, I had a question. Would this gist (https://gist.github.com/vaibhav-y/e7350a01acfcf0c87707) be a valid way to simulate goto / state transfer in ruby?
<thegunbuster> My goal is to implement a binomial RNG, but most papers specify psuedo code that relies heavily on gotos
atmosx has joined #ruby
<thegunbuster> so I came up with that gist. Does anyone have any better ideas / advice / opinions? Would love to hear them as long as you're not flaming me for thinking about gotos
dseitz has quit [Remote host closed the connection]
dseitz has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
daniel_d has joined #ruby
joonty has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
dlitvak has quit [Remote host closed the connection]
PedramT has joined #ruby
<Canar> IDK if that still works in current Ruby though. :)
<thegunbuster> I read that. But I would rather not have to recompile ruby from scratch :)
last_staff has joined #ruby
<Ox0dea> `throw` and `catch`, then.
<thegunbuster> Do you think that has any specific advantages over loop { case {...} } ?
<thegunbuster> I like that idea, just wondering if it would be good for stuff like this: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.47.8407&rep=rep1&type=pdf
william3 has joined #ruby
tjohnson has joined #ruby
<thegunbuster> page 6 of that if you do open it
IrishGringo has quit [Ping timeout: 272 seconds]
<dfockler> thegunbuster: Unless you are doing some sort of multithreaded implementation, then as long as the state gets changed does it matter how it happens?
Snowy has quit [Remote host closed the connection]
arup_r has quit []
<thegunbuster> ok, good point. I didn't consider that.
daniel_d has left #ruby ["Leaving"]
<thegunbuster> I'll experiment with the throw catch system, since it seems to be safer against threads
<thegunbuster> thanks!
jbrhbr has joined #ruby
thegunbuster has left #ruby [#ruby]
jgt has quit [Ping timeout: 240 seconds]
dudedudeman has quit [Quit: dudedudeman]
ded has joined #ruby
ded has quit [Client Quit]
jason^ has joined #ruby
<caliostro_> what is the difference among rake ... and bundle exec rake ... ?
dudedudeman has joined #ruby
gfvcastro has joined #ruby
<jason^> what's a good way to post data to a web server? it doesn't have to be fancy, i just need to essentially do something like this example in curl: curl -i -XPOST 'http://localhost:8086/write?db=home'; --data-binary "ups_stats,ups=primary_stack,metric=involts value=$involts"
arian0n has quit [Quit: get trikt m8]
william3 has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<dfockler> caliostro_: bundle exec rake uses your Gemfile to determine what gems to use when running the rake commands
Snowy has quit [Remote host closed the connection]
Coldblackice has joined #ruby
<dfockler> or any command for that matter like `bundle exec whatever command`
<dfockler> any ruby command at least
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
DEA7TH has quit [Quit: DEA7TH]
<dfockler> jason^: Are you trying to use ruby to do it? Or just anything?
dudedudeman has quit [Quit: dudedudeman]
Guest64225 has quit [Quit: Leaving...]
Pintor has joined #ruby
Bloomer has quit [Remote host closed the connection]
mauricio has quit [Remote host closed the connection]
_ht has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #ruby
freezevee has joined #ruby
dome22xl has joined #ruby
sftrabbit has joined #ruby
<zerowaitstate> I discovered today that the mysql2 gem doesn't actually dispose of libmysqlcient result sets after you've finished iterating over them. there's a period of time where they hang around in C-land, during which you cannot execute another query or you get "Commands out of sync; you cna't run this command now (Mysql2::Error)." Do you guys insert busy waits to overcome this, or is there some other way of handling it?
Musashi007 has joined #ruby
tomchapin has quit [Client Quit]
<freezevee> guys I have been programming for some years, then started with Ruby/Rails and going on for the last 2-3 yrs and I've become a Rails developer for last 3 months, so I am looking for programs to get more knowledge. What could you suggest as a course, degree or anything similar? Maybe mentoring ? I am looking into Ruby/Linux/devOps
bronson has joined #ruby
<Pintor> Hi! I need some help please. My code obtains a value from a "gets.chomp", and I split that value. Depending of what says "splitvalue[0]" shows an output. It works when I put at least one word on uppercase, but if I write any value in only downcase shows error with split method, why is happening this? Can someone answer me?
binaryplease has joined #ruby
<Pintor> I put at least one word capitalized*
manus has quit [Ping timeout: 252 seconds]
<jason^> dfockler: ruby would be good
<havenwood> Pintor: Show your error.
<bronson> Pintor: can't understand... put some code on gist.github.com?
k13nox has quit [Remote host closed the connection]
<Pintor> give a minute and I can put it there
arianon has joined #ruby
<dfockler> jason^: https://www.ruby-toolbox.com/categories/http_clients Take your pick, most of them are pretty straight forward
zzz has joined #ruby
<binaryplease> I get this error when running db:migrate: http://vpaste.net/Jujoe my migraton is http://vpaste.net/85Ffn Rails 4.2.5.1 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
zzz is now known as Guest89119
arianon is now known as arian0n
<Pintor> https://gist.github.com/anonymous/3f044482d69fdd05e467 you can ignore the big Hash, skip to line 612
<Pintor> 626* my problem happens only on that "else"
B1n4r10 has quit [Ping timeout: 264 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
<bronson> Pintor: and what's the problem?
<Pintor> example
<Pintor> I write "Light Something" and shows "Luz", that's ok
k13nox has joined #ruby
<Pintor> I write 'Light something' and shows 'Luz', already ok
caliostro_ has quit [Remote host closed the connection]
<Pintor> I write 'light Something' and, again, shows 'Luz', it's ok
<Pintor> but I write 'light something' and displays error
shredding has quit [Ping timeout: 240 seconds]
spider-mario has joined #ruby
<bronson> Pintor: what error?
<Pintor> shows error if is all downcase
<bronson> I mean, what is the error message?
<Pintor> error:
<shevy> does anyone of you happen to have an example with ruby prawn to delete a .pdf page? if not that is ok, I can use pdftk but I was wondering about a pure ruby solution
<shevy> (I mean a page in said .pdf file)
varunwachaspati has joined #ruby
<Pintor> (directory):627:in '(main)': undefined method 'split' for nil:NilClass (NoMethodError)
<shevy> you got a nil there!
<Pintor> sorry my infinite ignorance, what is that?
<shevy> btw you can store with .rb end
<shevy> then you get coloured output on gist
<dfockler> shevy: https://github.com/prawnpdf/prawn/issues/886 Looks like it's an open issue
<shevy> the line seems to be: separado = buscar.split
<shevy> Pintor, the solution may be to ensure that "buscar" always has a value
<shevy> dfockler ok
<bronson> Pintor: either write 'buscar = buscar.downcase' or 'buscar.downcase!'
mdw has joined #ruby
<Pintor> hum, like this? Give me a minute to fix and upload it on gist
<bronson> see the docs on when downcase! returns nil.
psy_ has joined #ruby
lee-jon has quit [Quit: lee-jon]
hasitha has joined #ruby
<bronson> (i.e. when you use downcase!, there's no need to assign the result -- the string is changed in-place)
<Pintor> ... I feel some dork
<shevy> Pintor, don't forget to save via trailing .rb
zeroDivisible has joined #ruby
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
followinfrared has joined #ruby
<Pintor> just replaced first "buscar" to "buscar = gets.chomp.downcase"
<Ox0dea> Pintor: Lots of "bang methods" return `nil` if their operation would not modify the receiver.
<Pintor> I am starting on Ruby, hehe
<Pintor> thanks guys, and sorry for disturbing you
<zerowaitstate> dfockler: I actually tried that, and it doesn't do anything. immediately after the call to abandon_results!, mysql queries still fail
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
greynetic has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> Gello
cmckee has quit [Quit: cmckee]
<bronson> Pintor: yep, sounds like a good fix. may your other bugs be this easy.
william3 has joined #ruby
danielwzd has joined #ruby
shadoi has joined #ruby
<Ox0dea> Pintor: https://eval.in/511275
<Ox0dea> For reference.
<Pintor> thanks you so much, bronson and shevy
Senecea has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> charles bronson is in da house
zast has quit [Remote host closed the connection]
<Pintor> ohhh, I understand now haha
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
<binaryplease> I get the error "undefined method 'integer'" when running db:migrate: http://vpaste.net/Jujoe my migraton is http://vpaste.net/85Ffn Rails 4.2.5.1 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
mfb2 has quit [Remote host closed the connection]
araujo has quit [Max SendQ exceeded]
Musashi007 has quit [Quit: Musashi007]
mfb2 has joined #ruby
araujo has joined #ruby
greyneti_ has joined #ruby
adgtl_ has joined #ruby
mg^ has joined #ruby
JDiPierro has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
FernandoBasso has quit [Quit: Leaving]
yoongkang has joined #ruby
Chachi has joined #ruby
sankaber has joined #ruby
<Ox0dea> binaryplease: You've spelled it "interger".
william3 has quit [Ping timeout: 250 seconds]
kies^ has joined #ruby
<shevy> hehe
djbkd has quit [Remote host closed the connection]
<shevy> zergling
baweaver has joined #ruby
cjbischoff has joined #ruby
djbkd has joined #ruby
dudedudeman has joined #ruby
adgtl has quit [Ping timeout: 265 seconds]
akaiiro has quit [Ping timeout: 240 seconds]
mfb2 has quit [Ping timeout: 265 seconds]
<binaryplease> Ox0dea: you cant believe how long I tryed to solve this.
* binaryplease is ashamed
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
Limix has joined #ruby
Anderson69s_Deb has joined #ruby
hobodave has joined #ruby
BTRE has quit [Ping timeout: 250 seconds]
yoongkang has quit [Ping timeout: 276 seconds]
patientj has joined #ruby
<adaedra> binaryplease: that's common. Dumbest errors are usually the hardest to find.
mfb2 has joined #ruby
Torrone has joined #ruby
<binaryplease> ;qa
binaryplease has quit [Quit: WeeChat 1.3]
cmckee has joined #ruby
patientj has quit [Client Quit]
mdw has quit [Quit: Sleeping Zzzzz]
<Torrone> hello, what is it called in ruby when you assign a variable like so : variable = { 0=> "a", 1=> "b", 2 => "c" }[otherVariable]
<Pintor> Hash?
<adaedra> that seems inefficient
mg^ has quit [Quit: Leaving]
<adaedra> you create a hash (between {}) and then get a value with []
<Torrone> Pintor, it works a bilt like a puts statement
mg^ has joined #ruby
krz has quit [Read error: Connection reset by peer]
<adaedra> so if otherVariable is 1, in your example, variable will be "b"
<Torrone> but I need to figure out what I can and cannot do, I saw it in a file on the internet
<Torrone> adaedra, exactly
mg^ has left #ruby [#ruby]
<Ox0dea> It's a mapping.
krz has joined #ruby
mg^^ has joined #ruby
Voyage has joined #ruby
mg^^ is now known as mg^
lemur has joined #ruby
despai has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
LoneHermit has joined #ruby
tiagobarreto has quit [Quit: Leaving...]
finisherr has quit [Quit: finisherr]
BTRE has joined #ruby
patientj has joined #ruby
joonty has joined #ruby
cdg has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 248 seconds]
einarj has joined #ruby
Azulinho has quit [Ping timeout: 252 seconds]
benlieb has quit [Quit: benlieb]
zacstewart has quit [Ping timeout: 264 seconds]
greyneti_ has quit [*.net *.split]
tsunamie has quit [*.net *.split]
92AACA3RA has quit [*.net *.split]
pawnbox has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 250 seconds]
elifoster has quit [Ping timeout: 240 seconds]
astrobun_ has joined #ruby
cjbischoff has quit [Quit: Textual IRC Client: www.textualapp.com]
blaxter has quit [Ping timeout: 240 seconds]
einarj has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
einarj has joined #ruby
incite has joined #ruby
sol has joined #ruby
skade has joined #ruby
ta has joined #ruby
sol is now known as Guest55975
astrobun_ has quit [Ping timeout: 264 seconds]
cpup has quit [Ping timeout: 245 seconds]
danielwzd has quit [Quit: Leaving]
shadoi has quit [Quit: Leaving.]
solars has quit [Ping timeout: 240 seconds]
danielwzd has joined #ruby
aswinramakrish has joined #ruby
Eiam has joined #ruby
aswinramakrish has left #ruby [#ruby]
patientj has quit [Quit: WeeChat 0.4.2]
Burgestrand has joined #ruby
Eiam is now known as 7GHAB677B
pawnbox has joined #ruby
greyneti_ has joined #ruby
92AACA3RA has joined #ruby
dudedudeman has quit [Quit: dudedudeman]
x77686d has quit [Quit: x77686d]
Dimik has joined #ruby
B1n4r10 has joined #ruby
User458764 has joined #ruby
mdw has joined #ruby
skcin7 has joined #ruby
dudedudeman has joined #ruby
krz has quit [Ping timeout: 265 seconds]
kalopsian has joined #ruby
Pintor has quit [Quit: Good bye everybody]
Jackneill has joined #ruby
shadoi has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
codecop has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> we need to make ruby more kickass!
<Ebok> How so?
Voyage has quit [Changing host]
Voyage has joined #ruby
<shevy> by improving everything!!!
ur5us has joined #ruby
<shevy> Ebok no idea really
<Ebok> lol...
<freezevee> guys I have been programming for some years, then started with Ruby/Rails and going on for the last 2-3 yrs and I've become a Rails developer for last 3 months, so I am looking for programs to get more knowledge. What could you suggest as a course, degree or anything similar? Maybe mentoring ? I am looking into Ruby/Linux/devOps
djbkd has quit [Remote host closed the connection]
joonty has joined #ruby
djbkd has joined #ruby
kalopsian has quit [Ping timeout: 245 seconds]
<danielwzd> The ebook is free
djbkd has quit [Read error: Connection reset by peer]
sgambino_ has joined #ruby
djbkd has joined #ruby
cpup has joined #ruby
slxbn has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
cmckee has quit [Quit: cmckee]
kalopsian has joined #ruby
Jackneill has quit [Quit: Leaving]
danielwzd has quit [Quit: Leaving]
tsunamie has joined #ruby
danielwzd has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
moeabdol has joined #ruby
lemur has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
bMalum has joined #ruby
adgtl_ has quit []
renancarvalho has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
anisha has joined #ruby
htmldrum has quit [Quit: Lost terminal]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
yoongkang has joined #ruby
yeticry_ has joined #ruby
sgambino_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cmckee has joined #ruby
jam_ has joined #ruby
molgrew has joined #ruby
sgambino has joined #ruby
molgrew has left #ruby [#ruby]
tomchapin has joined #ruby
Renich has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
yoongkang has quit [Ping timeout: 240 seconds]
Guest55975 has quit [Ping timeout: 240 seconds]
tomchapin has quit [Client Quit]
freerobby has joined #ruby
freerobby has quit [Client Quit]
freerobby has joined #ruby
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fsapo has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 260 seconds]
freerobby has quit [Read error: Connection reset by peer]
jam_ has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
nofacade has quit [Ping timeout: 245 seconds]
Ebok has joined #ruby
7GHAB677B is now known as Eiam
yfeldblum has joined #ruby
tomchapin has joined #ruby
dudedudeman has quit [Quit: dudedudeman]
djbkd has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 265 seconds]
poguez_ has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 240 seconds]
grekko has joined #ruby
nerium has joined #ruby
william3 has joined #ruby
Aviio has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
<shevy> Ebok you working on anything cool?
k13nox has quit [Remote host closed the connection]
[Butch] has joined #ruby
rodfersou has quit [Quit: leaving]
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hasitha has quit [Remote host closed the connection]
k13nox has joined #ruby
ta has quit [Remote host closed the connection]
<Aviio> oh well nobody asks ME if im working on anything cool
Azulinho has joined #ruby
podman has joined #ruby
<danielwzd> Aviio are you working on anything cool?
william3 has quit [Ping timeout: 250 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aviio> danielwzd: As a matter of fact, I am! Thank's for asking, you're so kind :)
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aviio> Im working on a module for something called 'SecGen' and this module will randomly generate vulnerable web applications to help students learn web app testing techniques
ldnunes has quit [Quit: Leaving]
<danielwzd> Sounds interesting
Lucky__ has joined #ruby
sgambino has joined #ruby
ElFerna_ has joined #ruby
ElFerna has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
Voyage has quit [Ping timeout: 240 seconds]
Sucks has quit [Read error: Connection reset by peer]
mdw has quit [Quit: Sleeping Zzzzz]
pdoherty has joined #ruby
chrisrhoden has joined #ruby
zacstewa_ has joined #ruby
zacstewart has quit [Ping timeout: 272 seconds]
sandstrom has joined #ruby
s00pcan has quit [Ping timeout: 276 seconds]
lemur has joined #ruby
Mr0riss0 is now known as Mr0rris0
sormik has joined #ruby
s00pcan has joined #ruby
<sormik> !ciao
sormik has left #ruby [#ruby]
baweaver has quit [Ping timeout: 250 seconds]
lemur is now known as baweaver
ravinggenius has joined #ruby
jbrhbr has quit [Quit: Leaving.]
einarj_ has joined #ruby
einarj has quit [Read error: Connection reset by peer]
jbrhbr has joined #ruby
freerobby has quit [Quit: Leaving.]
dlitvak has joined #ruby
freerobby has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
ljames has joined #ruby
pandaant has quit [Remote host closed the connection]
chrisrhoden has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
chrisrhoden has joined #ruby
einarj has joined #ruby
Limix has quit [Quit: Limix]
einarj_ has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
robbyoconnor has quit [Client Quit]
djbkd has joined #ruby
dlitvak has quit [Ping timeout: 265 seconds]
atmosx_laptop has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yqt has joined #ruby
yoongkang has joined #ruby
hxegon is now known as hxegon_AFK
anisha has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby
anisha has joined #ruby
greyneti_ has quit [Ping timeout: 246 seconds]
chrisrhoden has quit [Remote host closed the connection]
aegis3121 has joined #ruby
arlek has joined #ruby
spooq has joined #ruby
zacstewa_ has quit [Ping timeout: 256 seconds]
joonty has joined #ruby
chipotle has quit [Quit: cheerio]
DoubleMalt has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
s00pcan_ has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
FernandoBasso has joined #ruby
serbalgi has joined #ruby
grekko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jbrhbr has quit [Quit: Leaving.]
zacstewart has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
joonty has quit [Ping timeout: 240 seconds]
baweaver has quit [Read error: Connection reset by peer]
elifoster has joined #ruby
El3ktra has joined #ruby
El3ktra has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
followinfrared has quit [Remote host closed the connection]
skade has joined #ruby
skade has quit [Client Quit]
codecop has quit [Remote host closed the connection]
meves has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
Torrone has quit [Quit: Leaving]
grekko has joined #ruby
arian0n has quit [Quit: WeeChat 1.1.1]
arianon has joined #ruby
grekko has quit [Client Quit]
baweaver has quit [Ping timeout: 260 seconds]
<grill> what is incorrect about this expression? stderr.length > 0 ? raise(Exception, stderr) : return false
mdw has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
nfk|laptop has joined #ruby
cmckee has quit [Quit: cmckee]
dionysus69 has joined #ruby
chrisrhoden has joined #ruby
<Aviio> what type is stderr ?
<grill> string
jackjackdripper has joined #ruby
<adaedra> no.
jackjackdripper has quit [Client Quit]
<adaedra> Aviio: you can ask it directly, do $stderr.class
jackjackdripper has joined #ruby
einarj_ has joined #ruby
<adaedra> oh wait, I missed a line here.
dlitvak has joined #ruby
<chrisrhoden> Aviio: if you're asking about $stderr, it's an IO
einarj has quit [Ping timeout: 240 seconds]
Ebok has joined #ruby
<adaedra> grill: well, do you have an error ?
hxegon_AFK has quit [Ping timeout: 248 seconds]
<Aviio> sorry I was answering grill's question
mdw has quit [Client Quit]
<grill> it's because the return needs to be in parenthesis
varunwachaspati has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 245 seconds]
<adaedra> you can also put the "return" at the beginning of the line, works too.
puria has quit [Ping timeout: 245 seconds]
<grill> but you can't really return a raise statement, can you?
sgambino has joined #ruby
<Ox0dea> Nope.
<adaedra> this part won't return.
<Aviio> return t/f and then raise based on that
cmckee has joined #ruby
arianon is now known as arian0n
einarj_ has quit [Read error: Connection reset by peer]
einarj has joined #ruby
arian0n has quit [Quit: WeeChat 1.1.1]
hobodave has quit [Quit: Computer has gone to sleep.]
chipotle has joined #ruby
<slash_join> or return a callable that raises or does nothing, and call the callable when returned by the method.. yuck
tomphp has joined #ruby
<Ox0dea> Yum.
meves has joined #ruby
<slash_join> yum?
Lochez has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nchambers has quit [Changing host]
nchambers has joined #ruby
agent_white has quit [Ping timeout: 250 seconds]
skade has joined #ruby
the_drow has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
agent_white has joined #ruby
Allaman has joined #ruby
Allaman has quit [Remote host closed the connection]
nettoweb has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
elifoster has quit [Ping timeout: 272 seconds]
<Ox0dea> I suppose I was being a little facetious there, but callables are generally pretty great.
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
minimalism has joined #ruby
skade has quit [Client Quit]
hobodave has joined #ruby
list has joined #ruby
list has left #ruby [#ruby]
<slash_join> you could return an instance of an exception object... raise if the return value is a kind of exception...
al2o3-cr has quit [Ping timeout: 245 seconds]
despai has joined #ruby
anisha has quit [Quit: Leaving]
B1n4r10 has joined #ruby
mfb2 has quit [Remote host closed the connection]
Kruppe has joined #ruby
mdw has joined #ruby
meves has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
puria has joined #ruby
trabulmonkee has joined #ruby
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bungoman_ has joined #ruby
finisherr has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
tvw has quit [Remote host closed the connection]
bMalum has joined #ruby
sgambino has joined #ruby
chipotle has quit [Quit: cheerio]
kirillzh has joined #ruby
sankaber has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 250 seconds]
jds has quit [Quit: Connection closed for inactivity]
kirillzh has quit [Max SendQ exceeded]
Shaboum has quit [Quit: WeeChat 1.4]
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
mfb2 has quit [Remote host closed the connection]
chipotle has joined #ruby
sankaber has joined #ruby
momomomomo has joined #ruby
dml337ira has joined #ruby
dml337ira has quit [Max SendQ exceeded]
PedramT has quit [Remote host closed the connection]
dml337ira has joined #ruby
dml337ira has quit [Max SendQ exceeded]
william3 has joined #ruby
Cohedrin has joined #ruby
Cohedrin has quit [Client Quit]
dml337ira has joined #ruby
dml337ira has quit [Max SendQ exceeded]
pdoherty has quit [Ping timeout: 264 seconds]
<aegis3121> why not just raise(Exception, stderr) if stderr.length > 0; false ?
<apeiros> ugh, never raise Exception
<apeiros> raise any subclass of it, but not Exception itself.
meves has joined #ruby
<aegis3121> I'm not advocating it; just mimicking the code given.
astrobun_ has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
pdoherty has joined #ruby
yoongkang has quit [Remote host closed the connection]
dasher00 has joined #ruby
vqrs has joined #ruby
cmckee has quit [Quit: cmckee]
aegis3121 has quit [Ping timeout: 250 seconds]
astrobun_ has quit [Ping timeout: 250 seconds]
eindoofus has joined #ruby
aegis3121 has joined #ruby
skade has joined #ruby
ldg has joined #ruby
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
despai has joined #ruby
hxegon has joined #ruby
<eindoofus> hi, how to you guys keep your minds in order during a long day of looking at code? mine feels so cluttered at the moment and i've left my desk too many times already.
<eindoofus> do*
freerobby has quit [Quit: Leaving.]
bronson has quit [Remote host closed the connection]
Chachi has joined #ruby
<Papierkorb> eindoofus: checking reddit or playing a round of 2048. I'm not really good at 2048 though.
<Aviio> eindoofus: I go grab a coffee and check up on reddit
x77686d has joined #ruby
<slash_join> eindoofus: hangman in #ruby-offtopic
meves has quit [Remote host closed the connection]
<eindoofus> concerned that reddit will get me into the "ooo, that's interesting.. let me click *insert random link here*" cycle
<eindoofus> which is very hard to leave
meves has joined #ruby
<Papierkorb> eindoofus: use a tea timer app or widget and put it on 5 minutes or something
<Aviio> eindoofus: try the pomodoro technique
<Ox0dea> Force yourself to purposely stub your toe every time you know you're not doing The Right Thing.
<eindoofus> forgot about that. what's a good time on those? 25min work / 5min break?
momomomomo has quit [Quit: momomomomo]
<Ox0dea> Stubbing your toe takes a few seconds at most.
<Aviio> traditionally its 25 / 5
ellistaa has joined #ruby
<Aviio> then a 10 min break after every 3 pomodoro's?
<Aviio> I think
moeabdol1 has joined #ruby
Darmani has joined #ruby
<Papierkorb> is that a pasta dish Aviio?
<eindoofus> cool
<Aviio> Ox0dea: toes can only take so much!
<Ox0dea> Aviio: The discipline is intended to come long before the toes can take no more.
moeabdol has quit [Ping timeout: 245 seconds]
<Ox0dea> The pinkie toe's contribution to proper balance is psychosomatic, anyway.
<Darmani> Hey kids<3
mfb2 has joined #ruby
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cmckee has joined #ruby
atmosx_laptop has quit [Quit: computer went to sleep...]
slawrence00 has joined #ruby
ellistaa has quit [Quit: ellistaa]
hobodave has quit [Quit: Computer has gone to sleep.]
momomomomo has joined #ruby
einarj has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 265 seconds]
ellistaa has joined #ruby
Renich has quit [Ping timeout: 276 seconds]
Renich has joined #ruby
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
despai has joined #ruby
finisherr has quit [Quit: finisherr]
at46 has joined #ruby
slxbn has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
last_staff1 has joined #ruby
meves has quit [Remote host closed the connection]
meves has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon is now known as hxegon_AFK
krobzaur_ has quit [Ping timeout: 250 seconds]
ogpastaling has joined #ruby
sandstrom has joined #ruby
last_staff has quit [Ping timeout: 252 seconds]
last_staff1 is now known as last_staff
<Aviio> is there a way to cast from a string in a hash to a bool?
<aegis3121> Is there a reason you really need a boolean?
hobodave has joined #ruby
tomphp has joined #ruby
<Aviio> well I just want to get a true/false value from some xml
<aegis3121> So your string is "true" ?
<Aviio> correct
<aegis3121> (or "false")
<aegis3121> I woudl say str == "true"
serbalgi has quit [Quit: Ex-Chat]
serbalgi has joined #ruby
<Ox0dea> I would use Kernel#eval. :P
Yeomra has joined #ruby
<Ox0dea> (Sorry.)
tomphp has quit [Client Quit]
<aegis3121> oh lord. or that.
astrobun_ has joined #ruby
dopie_ has quit [Quit: leaving]
mfb2 has quit [Remote host closed the connection]
tomphp has joined #ruby
dopie has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackgoat has joined #ruby
darkf has quit [Quit: Leaving]
at46 has quit [Remote host closed the connection]
mfb2 has joined #ruby
momomomomo has quit [Quit: momomomomo]
bronson has joined #ruby
hxegon_AFK has quit [Quit: BRB]
at46 has joined #ruby
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
at46_ has joined #ruby
bronson has quit [Remote host closed the connection]
freerobby has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
jbrhbr has joined #ruby
ellistaa has quit [Quit: ellistaa]
despai has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
paradisaeidae has joined #ruby
hxegon has joined #ruby
momomomomo has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
ellistaa has joined #ruby
cmckee has quit [Quit: cmckee]
hxegon is now known as hxegon_AFK
at46 has quit [Ping timeout: 265 seconds]
cmckee has joined #ruby
solars has joined #ruby
Renich has quit [Read error: Connection reset by peer]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ht_ has quit [Quit: Konversation terminated!]
<nofxx> aegis3121, if it has ML in the name do use #strip
<nofxx> ppl can't agree when it comes to whitespace
bMalum has joined #ruby
chipotle has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
puria has quit [Quit: Leaving]
stevemackinnon has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has quit [Quit: My computer has gone to sleep.]
dcunit3d has joined #ruby
hxegon_AFK has quit [Quit: BRB]
gizmore has quit [Quit: KVIrc 4.3.2 Aria http://www.kvirc.net/]
<zacts> 'lo rubyists
Aviio has quit [Read error: Connection reset by peer]
bungoman_ has quit []
<Ox0dea> Ahoy, zacts!
<apeiros> oy zacts
<shevy> zacts ready for more mischief?
arlek has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 276 seconds]
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 276 seconds]
eindoofus has quit [Quit: Leaving]
nfk|laptop has quit [Quit: yawn]
freerobby has quit [Quit: Leaving.]
ta has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
renancarvalho has quit [Quit: Leaving.]
jackjackdripper1 has joined #ruby
<Darmani> shevy<3
mdw has quit [Quit: Sleeping Zzzzz]
gfvcastro has quit [Ping timeout: 252 seconds]
jackjackdripper1 has quit [Client Quit]
jackjackdripper1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
tomphp has joined #ruby
<shevy> Darmani have you published a gem yet?
<Darmani> LOL
newbie22 has joined #ruby
mary5030 has joined #ruby
<shevy> ...
<shevy> no LOL
ledestin has joined #ruby
<Darmani> I'm sorry you must have mistaken me for Radar or Ox0dea
<shevy> you wrote a game
<Ox0dea> Darmani: Did you mean shevy?
<Darmani> war
<Darmani> wat*
<Ox0dea> WAR!
<shevy> lol
<shevy> WAR!!! TOTAL WAR
<Darmani> lol you guys are idiots
<Ox0dea> Except that's the fifth or sixth time you've done that...
<shevy> that is now the third time that you want to go to war
jbrhbr has quit [Quit: Leaving.]
pawnbox has joined #ruby
<Darmani> I'm going to manually switch the keys to the r and the t
<shevy> oh already at number six
<slash_join> Darmani: ?guys
* slash_join frowns
pdoherty has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
<Darmani> I need to practice
<Darmani> wat
<Darmani> wat
<Darmani> wat
<Darmani> there we go
<slash_join> Darmani: i mean to suggest you be inclusive when calling folks idiots
<adaedra> ^
<Darmani> oh god here we go....
<adaedra> Best solution: don't call people idiots.
jackjackdripper has quit [Ping timeout: 256 seconds]
despai has joined #ruby
jbrhbr has joined #ruby
<Darmani> thank you adaedra. I will keep that in mind.
<Darmani> shevy - What do you mean a gem?
<apeiros> ?guys slash_join
<ruby[bot]> slash_join: Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
<apeiros> ^ slash_join that's how ;-)
<shevy> Darmani package your game, then publish it on: https://rubygems.org
ogpastal_ has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
mary5030 has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 250 seconds]
<shevy> if you can't think of a name for your game, called the gem: darmani_game1
<Ox0dea> Taken.
<shevy> wat
<Darmani> Lol
B1n4r10 has quit [Ping timeout: 240 seconds]
<shevy> else Ox0dea may clog up the namespace
<Darmani> I except nothing less from him
<slash_join> hmm
<Ox0dea> Nice speling.
<Darmani> but I have to finish the game before I publish anything Q.Q
<slash_join> Ox0dea: it's like a riddle
<Darmani> Ox0dea - Lol I just noticed that xD
<shevy> nono Darmani!
<apeiros> Ox0dea will preemptively occupy darmani_game1 - 99
<shevy> that is the beauty... just publish. and when you make updates, just update to a new version
<Ox0dea> Occupy Darmani games!
<adaedra> Why stop at two numbers?
pawnbox has quit [Ping timeout: 264 seconds]
<adaedra> s/numbers/digits/
92AACA5WJ has joined #ruby
jackjackdripper1 has quit [Ping timeout: 240 seconds]
sandstrom has joined #ruby
<Darmani> shevy - Well let me see if I can do it then.
<shevy> \o/
<slash_join> apeiros: he's probably whipping up a bot to register gems any time someone sends a msg with "name" "gem" included
kirillzh has joined #ruby
yoongkang has joined #ruby
<adaedra> I wouldn't totally agree on publishing an unfinished thing tho.
<shevy> publish early, publish often
<Darmani> adaedra - wat
<shevy> let me find the adaedra snowman...
<Darmani> HA I didn't write war!
<adaedra> shevy: it's totally done and working.
ogpastaling has quit [Ping timeout: 245 seconds]
<slash_join> shevy: there's probably so many gem names taken by abandoned projects... abandoned before completion
<shevy> slash_join there are also many silly names!
<adaedra> github for development, rubygems for release sounds like a good plan for me
<shevy> "Phuby wraps PHP in a loving embrace."
kriskropd has quit [Ping timeout: 250 seconds]
<nofxx> best gem name ever is 'jesus' ... god's web interface for the manking
<shevy> lol
<nofxx> mankind*
VeryBewitching has quit [Quit: Konversation terminated!]
milt has joined #ruby
yfeldblum has joined #ruby
yoongkang has quit [Ping timeout: 248 seconds]
astrobun_ has quit [Remote host closed the connection]
meves has quit [Remote host closed the connection]
renancarvalho has joined #ruby
renancarvalho has left #ruby [#ruby]
moeabdol2 has joined #ruby
Chachi has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
Ebok has joined #ruby
moeabdol1 has quit [Ping timeout: 250 seconds]
92AACA5WJ has quit [Quit: Leaving.]
momomomomo has quit [Quit: momomomomo]
cmckee has quit [Quit: cmckee]
Ebok has quit [Client Quit]
codezomb has joined #ruby
jgt1 has joined #ruby
jackjackdripper1 has joined #ruby
cmckee has joined #ruby
stannard has quit [Remote host closed the connection]
<zacts> shevy: I'm just reading through a Ruby book on cli apps
<ellistaa> i’m trying to build a priority queue, when i run heapify on [10,9,8,11] i’m expecting => [11,10,8,9] but i’m getting [9,10,8,11] https://github.com/ellismarte/non-linear-data-structures/blob/master/heap.rb#L46
jgt has quit [Ping timeout: 240 seconds]
hxegon has joined #ruby
<shevy> zacts cool
<shevy> I never read that book, hopefully I don't miss out on important information
jackjackdripper has quit [Ping timeout: 250 seconds]
zenlot3 has joined #ruby
zenlot2 has quit [Ping timeout: 276 seconds]
polishdub has quit [Quit: Leaving]
zacstewart has quit [Ping timeout: 256 seconds]
stannard has joined #ruby
danielwzd has quit [Ping timeout: 240 seconds]
meves has joined #ruby
Domaldel has quit [Ping timeout: 240 seconds]
jackjackdripper1 has quit [Quit: Leaving.]
<zacts> so far I like it
sandstrom has quit [Quit: My computer has gone to sleep.]
jackjackdripper has joined #ruby
<zacts> it's actually full of great information on the design of cli apps
<zacts> especially from a UI usability perspective
despai has joined #ruby
<zacts> and tips on how to use Ruby for this
newbie22 has quit [Quit: Leaving]
<zacts> I'm coming from knowing a bit of Perl5 for system scripting (like from way back 2 years ago)
Ebok has joined #ruby
<zacts> and I really love Ruby2 a ton for this
zacstewart has joined #ruby
<zacts> even over Perl5 I'm starting to feel
LoneHerm_ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
freezevee has quit []
jackjackdripper1 has joined #ruby
tuelz1 has quit [Ping timeout: 264 seconds]
moeabdol3 has joined #ruby
jackjackdripper has quit [Ping timeout: 248 seconds]
moeabdol2 has quit [Ping timeout: 245 seconds]
milt has quit [Quit: Page closed]
hxegon is now known as hxegon_AFK
LoneHerm_ has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
johnnyt has quit [Ping timeout: 248 seconds]
hxegon_AFK is now known as hxegon
jackjackdripper has joined #ruby
<zacts> ^ which I'm going to use to make a mini-pandoc for my college papers
jackjackdripper has quit [Client Quit]
cmckee has quit [Quit: cmckee]
johnnyt has joined #ruby
mfb2 has quit [Remote host closed the connection]
<zacts> I want to translate outlines from Freemind in to various formats, and also integrate it with a task manager
ElFerna_ has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
<zacts> using Ruby glue code
jackjackdripper1 has quit [Ping timeout: 240 seconds]
<zacts> into a full formatted MLA research paper, for example
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
hxegon is now known as hxegon_AFK
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
dome22xl has quit [Ping timeout: 276 seconds]
Domaldel has joined #ruby
<dfockler> ellistaa: Your indexes are going into the negatives then I think current_item gets set equal to the same index it's comparing to
<ellistaa> dfockler: u nailed it thank you so much
wireddude has quit [Changing host]
wireddude has joined #ruby
<dfockler> that integer division :P
<dfockler> mixed with negative indexing haha
jackjackdripper1 has joined #ruby
stannard has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
jackjackdripper has quit [Ping timeout: 264 seconds]
hxegon_AFK is now known as hxegon
baweaver has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
marr has joined #ruby
mfb2 has quit [Remote host closed the connection]
solars has quit [Ping timeout: 276 seconds]
hxegon is now known as hxegon_AFK
ellistaa has quit [Quit: ellistaa]
victortyau has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
hxegon_AFK is now known as hxegon
persistence has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 252 seconds]
dfockler has quit [Ping timeout: 245 seconds]
mrmargolis has quit [Remote host closed the connection]
skcin7 has joined #ruby
glcx has joined #ruby
agit0 has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
renancarvalho has joined #ruby
ellistaa has joined #ruby
paradisaeidae has left #ruby [#ruby]
pawnbox has joined #ruby
mfb2 has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
hobodave has quit [Ping timeout: 250 seconds]
jam_ has joined #ruby
Yeomra has quit [Quit: WeeChat 1.3]
william3 has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Leaving.]
ellistaa has quit [Client Quit]
Xiti has quit [Quit: Xiti]
pawnbox has quit [Ping timeout: 250 seconds]
ellistaa has joined #ruby
cschneid_ has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: Leaving]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz1 has joined #ruby
lipoqil has joined #ruby
stevemackinnon has quit [Ping timeout: 240 seconds]
kalopsian has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 240 seconds]
kies^ has quit [Ping timeout: 250 seconds]
decoponio has quit [Quit: Leaving...]
CloCkWeRX has joined #ruby
johnny56_ has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
hxegon has quit [Quit: BRB]
S01780 has quit []
S01780 has joined #ruby
ESpiney_ has quit [Ping timeout: 240 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Xiti has joined #ruby
stevemackinnon has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
blackmes1 has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hxegon has joined #ruby
arthropodado has quit [Read error: Connection reset by peer]
kalopsian has joined #ruby
dopamean_ has quit [Ping timeout: 250 seconds]
arthropodado has joined #ruby
yoongkang has joined #ruby
mfb2 has quit [Remote host closed the connection]
zerowaitstate has quit [Quit: leaving]
glcx has quit [Quit: Quitte]
karapetyan has quit [Remote host closed the connection]
dhollinger has quit [Quit: WeeChat 1.4]
karapetyan has joined #ruby
moeabdol4 has joined #ruby
mfb2 has joined #ruby
hxegon has quit [Quit: BRB]
moeabdol3 has quit [Ping timeout: 240 seconds]
yoongkang has quit [Ping timeout: 260 seconds]
ropeney has joined #ruby
pawnbox has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
braincra- has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
renancarvalho1 has joined #ruby
renancarvalho has quit [Read error: Connection reset by peer]
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti> Hi
<GeorgesLeYeti> I would like to remove a substring from "<Bottom Page>" to the end of string
<GeorgesLeYeti> gsub(/<Bottom Page>(.*)/, '').strip is it correct ?
renancarvalho has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
arthropodado has quit [Quit: -a- Connection Timed Out]
ogpastal_ has quit [Remote host closed the connection]
renancarvalho1 has quit [Ping timeout: 256 seconds]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 248 seconds]
arthropodado has joined #ruby
<shevy> x = "abc <Bottom Page> yo there" # => "abc <Bottom Page> yo there"
iateadonut has joined #ruby
<shevy> x.gsub(/<Bottom Page>(.*)/, '').strip # => "abc"
ur5us has quit [Remote host closed the connection]
mfb2 has quit [Remote host closed the connection]
renancarvalho has quit [Ping timeout: 276 seconds]
firstdayonthejob has quit [Ping timeout: 240 seconds]
Azulinho has quit [Ping timeout: 272 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GeorgesLeYeti> shevy, ty
mfb2 has joined #ruby
dfockler has joined #ruby
arthropodado has quit [Ping timeout: 250 seconds]
trabulmonkee has quit [Quit: Connection closed for inactivity]
ogpastaling has joined #ruby
<shevy> the (.*) can probably become .*
mfb2 has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
weemsledeux has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> not sure how to avoid the .strip :)