apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
soosfarm has joined #ruby
PhilK has joined #ruby
<soosfarm> hey, just so I understand this correctly, custom_spec = { 'customization_spec' => Hash.new } declares a new hash inside a hash, right?
<baweaver> yes, but really just use {}
<baweaver> no need to use the object syntax unless you need something specific from the initializer.
pengin has quit [Ping timeout: 245 seconds]
<soosfarm> thanks
Caelum has quit [Remote host closed the connection]
<baweaver> like default key / value bits
deol has joined #ruby
<baweaver> also, tend towards symbol keys
<baweaver> {customization_spec: {}}
<baweaver> v2.2 adds a nifty bit though: {'customization_spec': {}}
GaryOak_ has joined #ruby
psyprus has joined #ruby
quazimodo has joined #ruby
skj3gg has joined #ruby
mistermocha has joined #ruby
bklane has joined #ruby
Takle has quit [Remote host closed the connection]
lkba_ has joined #ruby
TDJACR has joined #ruby
zachrab has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
CpuID2 has quit [Quit: This computer has gone to sleep]
Sawbones has joined #ruby
smathieu has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
Aova has quit [Read error: Connection reset by peer]
swgillespie has quit [Ping timeout: 246 seconds]
Sawbones has quit [Remote host closed the connection]
davispuh has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
Hijiri has joined #ruby
Rollabunna has quit [Remote host closed the connection]
pwnz0r has joined #ruby
lzx has joined #ruby
Rollabunna has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
Aova has joined #ruby
culturelabs has joined #ruby
amitchellbullard has joined #ruby
livinded has joined #ruby
p3ery has joined #ruby
mikecmpbll has quit [Quit: ciao.]
pkrzywicki has quit [Ping timeout: 252 seconds]
koding123 has joined #ruby
<koding123> #j #python
multi_io_ has joined #ruby
zrl has joined #ruby
adamjleonard has joined #ruby
<koding123> heck
<livinded> I'm building rack middleware that intercepts requests and does some transformations to GET and POST data. For multipart data I can read the request, modify it, but how do I turn into back into raw multipart data with the boundaries. Rack::Multipart.build_multipart returns me a hash?
bronson has quit [Ping timeout: 252 seconds]
<DogHackit> If I want to change variable value to a string if that variable is nil, how do I run that check? I know I am missing something because "if variable.nil?" always runs the following line
fryguy9 has quit [Read error: Connection reset by peer]
rakm has joined #ruby
fryguy9 has joined #ruby
<crome> DogHackit: it should work
jrunning_ has joined #ruby
pwnz0r has quit [Remote host closed the connection]
Mon_Ouie has quit [Remote host closed the connection]
<deepu> can someone please tell me how I can achieve this? http://pastie.org/private/rtbnsio8evh5xhq64ngaa
tunaCanBruh has joined #ruby
jimms has quit [Remote host closed the connection]
<DogHackit> crome: what I am doing is changing nil to "--". That will work, but then I can not alter the value after in the object. it stays "--". If I remove the if check I can update the value
multi_io has quit [Ping timeout: 250 seconds]
p3ery has quit [Ping timeout: 265 seconds]
ballPointPenguin has joined #ruby
addisaden has joined #ruby
<crome> DogHackit: example, example, example
Musashi007 has quit [Quit: Musashi007]
pwnz0r has joined #ruby
<DogHackit> sorry, was working on that
addisaden2 has quit [Ping timeout: 255 seconds]
mroach has joined #ruby
max96at is now known as max96at|off
<DogHackit> crome, if I add the if to "to_s" it has the functionality I just described
p3ery has joined #ruby
p3ery has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
startupality has quit [Quit: startupality]
p3ery has joined #ruby
einarj has quit [Remote host closed the connection]
lzx has quit []
bonhoeffer has joined #ruby
wallerdev has joined #ruby
spastorino has joined #ruby
crueber has quit [Quit: Leaving.]
addisaden has quit [Client Quit]
tunaCanBruh has quit [Ping timeout: 250 seconds]
graydot has joined #ruby
<crome> you still have a weird way of concatenating the result string
pwnz0r has quit [Remote host closed the connection]
<DogHackit> yeah, I know. It was the only way I could wrap my head around it
<DogHackit> It is gross and PHP like.
<Timgauthier> mmm php
<DogHackit> was waiting for that...
<DogHackit> ;)
baweaver has quit [Remote host closed the connection]
<crome> DogHackit: find an easy way in a comment in the gist
<crome> if I understood your problem correctly
<crome> this way you can updated @points_received any time and to_s will give you an updated string
<crome> update*
jerematic has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Timgauthier has quit [Quit: sleeeeeeep]
yfeldblum has quit [Remote host closed the connection]
<DogHackit> Thanks! Let me work with that for a bit
yfeldblum has joined #ruby
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
j4d has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
j4d_ has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DogHackit> the or work. why not the if?
fryguy9 has quit [Quit: Leaving.]
ramblinpeck_ has joined #ruby
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
dkphenom has joined #ruby
j4d_ has quit [Client Quit]
j4d has quit [Client Quit]
<crome> I have no idea without knowing what code you were trying to run exactly
jfarmer has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
troter___ has joined #ruby
<jfarmer> I'm writing a gem and want to include static data files in the gem that will be read from (but never modified) at run-time. After reading through the docs, it appears that using the gem's "datadir" is the right way to go. Once I include a gem (e.g., require "waffles"), Gem.datadir("waffles") will return the full path to the gem's datadir (as I expect).
mistermocha has quit [Ping timeout: 255 seconds]
<jfarmer> My question is this: how do you use Gem.datadir _inside_ the gem code itself?
<jfarmer> Even if I say 'require "my_gem"' inside my gem, Gem.datadir("my_gem") is returning nil.
lioninawhat has joined #ruby
marr has quit [Ping timeout: 264 seconds]
tmtwd has quit [Remote host closed the connection]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Quit: zzz]
cajone has quit [Ping timeout: 245 seconds]
skj3gg has quit [Quit: ZZZzzz…]
AdamMeghji_ has joined #ruby
odin22 has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
sevenseacat has joined #ruby
jack_rabbit has joined #ruby
vvivv has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
_2_angelolaluv88 has joined #ruby
B1n4r10 has joined #ruby
B1n4r10 has quit [Remote host closed the connection]
<_2_angelolaluv88> hey room
commmmodo has quit [Quit: commmmodo]
_2_angelolaluv88 has quit [Remote host closed the connection]
kalusn has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
Troy^ has joined #ruby
deepu has quit [Quit: Page closed]
devyn has quit [Ping timeout: 264 seconds]
sargas has quit [Quit: Leaving]
jfarmer has quit [Quit: Textual IRC Client: www.textualapp.com]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shazaum has quit [Quit: This computer has gone to sleep]
Kricir has quit [Remote host closed the connection]
Troy^ has quit [Client Quit]
Kricir has joined #ruby
dfinninger has joined #ruby
krz has joined #ruby
Troy^ has joined #ruby
bruno- has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Kricir has quit [Ping timeout: 252 seconds]
commmmodo has joined #ruby
commmmodo has quit [Client Quit]
apeiros has joined #ruby
krz has quit [Ping timeout: 244 seconds]
F__i__L has quit [Ping timeout: 265 seconds]
cajone has joined #ruby
joufflu has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
commmmodo has joined #ruby
fryguy9 has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
charliesome has quit [Quit: zzz]
BigRonnieRon has joined #ruby
charliesome has joined #ruby
lele has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
tvw has quit []
tjohnson has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
adamjleonard has quit [Quit: Leaving...]
Aova has quit [Read error: Connection reset by peer]
bruno- has quit [Quit: leaving]
_mtr has joined #ruby
hmsimha has joined #ruby
lele has joined #ruby
kaspertidemann has quit []
kobain has joined #ruby
Aova has joined #ruby
puppetmonkey has joined #ruby
tokik has joined #ruby
CpuID2 has joined #ruby
_mtr has quit [Ping timeout: 246 seconds]
fabrice31 has joined #ruby
selaruvich has joined #ruby
DarthGandalf has quit [Ping timeout: 246 seconds]
jsaak has quit [Ping timeout: 246 seconds]
jsaak has joined #ruby
tunaCanBruh has joined #ruby
<crome> hey
<crome> oh.
Sawbones has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
<koding123> O.o
einarj has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
lioninawhat has quit [Remote host closed the connection]
GaryOak_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
avelldiroll has quit [Ping timeout: 265 seconds]
Sawbones has joined #ruby
Kricir has joined #ruby
wldcordeiro_ has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
Sawbones has quit [Remote host closed the connection]
avelldiroll has joined #ruby
wldcordeiro_ has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
einarj has quit [Ping timeout: 252 seconds]
bricker has quit [Quit: leaving]
icbm has joined #ruby
<DogHackit> How would I initialize a class object from the line of a file?
<DogHackit> I need each line to be 2 arguments, not 1.
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
yfeldblum has joined #ruby
havenwood has joined #ruby
shum has quit [Client Quit]
shum has joined #ruby
hvxgr has quit [Ping timeout: 256 seconds]
TheNet has joined #ruby
atomi has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Quit: axl_]
DadoCe has joined #ruby
hvxgr has joined #ruby
orangerobot has joined #ruby
omosoj has joined #ruby
zachrab has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
adriancb has joined #ruby
cjim has joined #ruby
ForkingPaths has joined #ruby
g-nom3 has joined #ruby
g-nom3 has quit [Max SendQ exceeded]
riotjones has joined #ruby
<orangerobot> hi there. is there any reason why I can't call a method that expects a single argument and a block without parentheses?? please look sat this pastie: http://pastie.org/9933347
Choclo has joined #ruby
smathieu has quit []
tkuchiki has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
Choclo is now known as Choclo[Away]
silkfox has quit [Ping timeout: 252 seconds]
Choclo[Away] is now known as Choclo
bklane has quit [Remote host closed the connection]
bronson has joined #ruby
uptownhr has quit [Quit: uptownhr]
nii236|irssi is now known as nii236
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Vile` has quit [Ping timeout: 255 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
JDiPierro has joined #ruby
vdamewood has joined #ruby
djbkd has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
tier has quit [Remote host closed the connection]
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TheNet> hey is it ok to ask for refactoring help here?
shum has quit [Quit: WeeChat 1.1.1]
checkit has quit [Ping timeout: 255 seconds]
shum has joined #ruby
beneggett has joined #ruby
JDiPierro has quit [Remote host closed the connection]
rubytor has quit [Remote host closed the connection]
Asher has quit [Read error: Connection reset by peer]
<epitron> orangerobot: yeah, that's a parsing issue. you can do this instead --
Vile` has joined #ruby
<epitron> >> [1,2,3].reduce 0 do |a,b| a+b end
<eval-in__> epitron => 6 (https://eval.in/282108)
<wallerdev> that lack of parens bugs me haha
<epitron> orangerobot: i think the issue is that hashes and blocks both use {} :)
<epitron> wallerdev: yeppp
<epitron> or maybe it thinks you're trying to pass a block to 'foo'
<orangerobot> epitron: yeah but i want to keep things simple since it's a DSL frontend
<epitron> you're going to have to use parens around your arg, or do/end
djbkd has quit [Quit: My people need me...]
<orangerobot> I'll do something else, i'll pass it as a regular argument (proc encapsulated in an object)
<epitron> stop 'foo', proc { } ?
<orangerobot> yeah but I use something else
<epitron> hmmm
<orangerobot> stop 'foo', expr { true }
<epitron> can you show the DSL?
<epitron> ahh
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> that looks decent
<orangerobot> i created expr so that it's easier for users
<orangerobot> they will have some math background so it's easier on them
larsam has joined #ruby
<orangerobot> i though about using the lambda greek latter as well
<epitron> you can use stabby lambdas
<orangerobot> but it wold create all sorts of utf8 difficulties
<epitron> stop 'foo', -> { true }
postmodern has joined #ruby
fenzil has joined #ruby
<wallerdev> stabby blocks
Rollabunna has quit [Remote host closed the connection]
<orangerobot> yeah but i think stabby lambdas are not good for readability
<epitron> >> -> {}
<eval-in__> epitron => #<Proc:0x40660068@/tmp/execpad-561ff0f15bea/source-561ff0f15bea:2 (lambda)> (https://eval.in/282109)
<epitron> lambda bro!
gr33n7007h has quit [Ping timeout: 245 seconds]
lioninawhat has joined #ruby
lioninawhat has quit [Remote host closed the connection]
<epitron> orangerobot: ok! :)
<orangerobot> epitron thanks for helping out
<epitron> np
Rollabunna has joined #ruby
lioninawhat has joined #ruby
nii236 has quit [Quit: leaving]
nii236|irssi has joined #ruby
adamjleonard has joined #ruby
nii236|irssi is now known as nii236
DadoCe has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_mtr has joined #ruby
DadoCe has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
baroquebobcat has joined #ruby
hmsimha has joined #ruby
snath has joined #ruby
robustus has joined #ruby
Kricir has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
Kricir has joined #ruby
dfinninger has joined #ruby
DadoCe has quit [Ping timeout: 246 seconds]
koding123 has quit [Quit: Leaving]
<DogHackit> What am I missing about passing variables to classes to create class objects? https://gist.github.com/anonymous/73a619be826ecbc6b9c5
BigRonnieRon has left #ruby ["Textual IRC Client: www.textualapp.com"]
<wallerdev> lines = [] will always give you an array of one item
<wallerdev> so you're passing 1 parameter, and your Grade initialize method expects two arguments
dfinninger has quit [Ping timeout: 245 seconds]
shum has quit [Quit: WeeChat 1.1.1]
Kricir has quit [Ping timeout: 252 seconds]
fryguy9 has joined #ruby
<DogHackit> ah. How do get the 2 pieces of data on each line to be seen as 2 arguments, not 1?
shum has joined #ruby
Hijiri has quit [Quit: zyxwvut]
mistermocha has joined #ruby
arescorpio has quit [Excess Flood]
<DogHackit> each line consists of 'data,#'
<wallerdev> you probably want to do lines = line.split(',')
Aova has quit [Read error: Connection reset by peer]
<wallerdev> which will split a line on commas into an array
lzx has joined #ruby
<wallerdev> >> "one,two,three".split(',')
<eval-in__> wallerdev => ["one", "two", "three"] (https://eval.in/282114)
<wallerdev> gsub just replaces things
fryguy9 has quit [Client Quit]
<wallerdev> so you end up with a single array with one item ["one two three"]
amclain has joined #ruby
<DogHackit> so I split first then gsub that to lose the ,
<wallerdev> nope, split removes the comma
vozcelik has joined #ruby
triple_b has joined #ruby
<DogHackit> AH
<wallerdev> >> "one,two,three".split(',')[0]
<eval-in__> wallerdev => "one" (https://eval.in/282115)
<wallerdev> see the first item has no comma, its just the item
<DogHackit> gotcha
<wallerdev> if you wanted to use gsub you could replace the commas with spaces, then split on spaces, but thatd be kinda pointless
<wallerdev> lol
<work_op> just gotta say, I've been using the seeing_is_believing plugin for atom these past few days, its changed the way i write ruby. i'll never go back
<work_op> just putting that out there
<wallerdev> what does it do
<sevenseacat> oh thats cool
<work_op> yeah
devyn has joined #ruby
swgillespie has joined #ruby
<wallerdev> haha i was working on something like this at my last job :o
yfeldblum has quit [Remote host closed the connection]
<sevenseacat> its like what avdi uses in his screencasts
<work_op> i love it, it takes away the cost of the context switch of breaking away from editor to terminal
<work_op> the mental cost, i mean
<wallerdev> yeah
<wallerdev> pretty cool
yfeldblum has joined #ruby
Aova has joined #ruby
<wallerdev> not sure how well itd work on larger projects though
<blizzy> that atom plugin seems
<blizzy> laggy.
davidhq has joined #ruby
Soda has joined #ruby
<wallerdev> i could see it as a nice replacement for irb tho :p
hamakn has joined #ruby
<wallerdev> im still stuck on textmate as my fav editor
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
jhebden has quit [Read error: No route to host]
lioninawhat has quit [Read error: Connection reset by peer]
<DogHackit> you mean you guys don't use VI? maybe that is one of my many problems...
<wallerdev> i know my way around vim and even more so around emacs
<wallerdev> but i still prefer textmate in the end since it works like all the other mac apps
<weaksauce> DogHackit vim for life
hamakn_ has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
<weaksauce> macvim wallerdev
hamakn has joined #ruby
<wallerdev> ive tried it
<wallerdev> its not the same at all, its still vim lol
<DogHackit> yeha weaksauce!
<wallerdev> also emacs is better to learn for a mac user since every textbox on a mac supports emacs shortcuts
<weaksauce> I guess you don't get vim them
<wallerdev> ctrl+a to go to beginning of line etc
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<weaksauce> yeah that's not a great reason to commit to a text editor though
hamakn has quit [Read error: Connection reset by peer]
<weaksauce> and you can enable vi mode if you really want to
<DogHackit> that is closer to the terminal
<wallerdev> meh, and every vim mode in a program that has it is missing features
<weaksauce> I mean for the command line
hamakn has joined #ruby
<wallerdev> ALSO
<weaksauce> emacs is just the default for the command line
<wallerdev> i spend much more time thinking about code to write vs writing/editing code
<wallerdev> so in the end it doesnt even matter that much haha
<DogHackit> vim is more like regexp with ^$
<weaksauce> vim is a language.
baweaver has quit [Remote host closed the connection]
<weaksauce> emacs is programable
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
<weaksauce> in the end the easy rememberability of vim won me out
adriancb has quit [Read error: Connection reset by peer]
fryguy9 has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<weaksauce> ci" is literally change inside the current double quotes
<weaksauce> etc
hamakn has joined #ruby
<wallerdev> what OS are you on
<weaksauce> mac
<weaksauce> yosemite
adriancb has joined #ruby
<wallerdev> and you use macvim?
<weaksauce> yep
hamakn has quit [Read error: Connection reset by peer]
<wallerdev> i found it a piece of crap when i tried it haha
fryguy9 has quit [Client Quit]
hamakn has joined #ruby
<weaksauce> copy and paste work like you expect the keyboard shortcuts work like you expect
<weaksauce> not sure what you are looking for
JDiPierro has joined #ruby
<weaksauce> at the end of the day you still need to know vim or else you are using an inconvenient notepad
<weaksauce> or at least are willing to learn it
hamakn has quit [Read error: Connection reset by peer]
<wallerdev> i know enough vim to get around in it
<wallerdev> just dont prefer it at all
hamakn has joined #ruby
ellisTAA has joined #ruby
<wallerdev> and dont enjoy the need to use diffferent commands for editing text in and outside of when i can use an editor
einarj has joined #ruby
<weaksauce> the first answer there highlights the power
<wallerdev> text area on a website or in any other app? have to use actual mac shortcuts or EMACS SHORTCUTS haha
<ellisTAA> i’m going back to learn about regexs. is there a difference between /a/ =~ “football”; and “football” =~ /a/
<wallerdev> one doesnt work
<weaksauce> how much time do you actually spend editing text areas on a website?
Kricir has joined #ruby
mantas322 has joined #ruby
<wallerdev> plenty
<weaksauce> and if you do why wouldn't you just open up vim
<weaksauce> there are plugins for that
<wallerdev> why would i open up vim just to write a forum post haha
<mantas322> Hi guys, I have a a noobie question I would appreciate some help on.
lys has joined #ruby
<wallerdev> theres plugins for browsers that are missing vim features os you have to remember which ones work and which dont
<wallerdev> but theres not plugins for other apps
<mantas322> say I have a string kinda like csv, and I would like to turn all numeric values which arnt 0 into 1's
<weaksauce> no wallerdev plugins to open up the current editing context in vim
<mantas322> so
<DogHackit> Now that I am using split, I am going blank lines along with legit ones. Does \n become a new item as well?
alyosha has quit [Quit: Leaving...]
<wallerdev> an OS level plugin? i dont know what youre talking about
<mantas322> "0, 12, 43, 0 , 0 ,0" I want equal to "0,1,1,0,0,0"
lys has quit [Client Quit]
<wallerdev> maybe link me
Sid05 has joined #ruby
<mantas322> Can anyone help me with a regular expression to do this?
lys has joined #ruby
<wallerdev> im typing in a text field write now for IRC and i can use regular mac shortcuts and some emacs shortcuts
<wallerdev> but no vim shortcuts
<wallerdev> right* lol
Kricir has quit [Remote host closed the connection]
<ellisTAA> mantas322: have you thought about splitting iit and mapping it? if item isnt == 0 set it to 1?
<wallerdev> anyway i used vim for like ~4 months at a job a few years back, gave up on it and learned emacs
<mantas322> I thought about it
beneggett has joined #ruby
<wallerdev> eventually gave up on eamcs but at least what i learned in emacs is useful in everyday editing
<mantas322> but what i really could use is a quick and dirty regex
<wallerdev> vim is only useful if im sshing somewhere and emacs isnt installed haha
<mantas322> I'm doing some basic datatransformation and want to take a short cut
kapil__ has joined #ruby
Kricir has joined #ruby
<ellisTAA> post a gist and maybe someone else can help you, that’s all i got, i’m also a noob
<weaksauce> that's one that should do it
<weaksauce> I don't use it because I just copy and paste long things into vim if I really need to edit
<mantas322> whilst I look for alternatives, im quietly hoping someone will paste in a regex of my dreams.
einarj has quit [Ping timeout: 264 seconds]
<wallerdev> thats a firefox addon??
<weaksauce> yes
<wallerdev> how is that going to change the fact that there are more text fields than browser ones
<wallerdev> like my irc client text field
kt2 has joined #ruby
<wallerdev> that i am typing in right now
fryguy9 has joined #ruby
<weaksauce> the emacs binding in those are pretty easily learned and are a seriously small subset of actual emacs
iliketurtles has quit [Quit: zzzzz…..]
<wallerdev> theyre more useful than the vim ones that dont work at all haha
<wallerdev> anyway brb dinner
tmtwd has joined #ruby
<weaksauce> idgaf either way but that's a dumb argument for choosing an editor that you will use day in and day out to code in
Kricir has quit [Ping timeout: 245 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cjim has quit [Quit: (null)]
graydot has quit [Quit: graydot]
Choclo is now known as Choclo[Away]
aqpw has joined #ruby
<DogHackit> If I grades = Grade.new(*line.split(',')) why would I get blank like between each line?
JoshGlzBrk has joined #ruby
<DogHackit> Blank lines that is?
<sevenseacat> blank lines where?
puppetmonkey has joined #ruby
<wallerdev> also everytime you edit code on someone else's computer
<wallerdev> cant use vim!
<wallerdev> i have plenty of arguments against it haha
<DogHackit> if I puts grades, or an array of grades
<mantas322> okay here's what i got so far
<wallerdev> also vim doesnt always have the best IDE features, when i used it emacs js-mode was 1000x better than anything vim had
<mantas322> new_str = mainstring.gsub(/\d+/, '1')
Soda has quit [Remote host closed the connection]
<mantas322> now how can I do (Unless 0 do not replace)
tmtwd has quit [Ping timeout: 250 seconds]
adriancb has quit [Ping timeout: 245 seconds]
<mantas322> lol i got a great idea!
Choclo[Away] is now known as Choclo
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> change it to /0/ ?
<wallerdev> lol
adriancb has joined #ruby
Megtastique has joined #ruby
<mantas322> no
<mantas322> that's not what i ment
graydot has joined #ruby
<mantas322> I ment replace all number unless they are 0 to 1
<mantas322> here's how i did it
<mantas322> new_str = mainstring.gsub(/0/, 'zero') new_str = new_str.gsub(/\d+/, '1') new_str = new_str.gsub(/zero/, '0')
<mantas322> ghetto
<mantas322> but did the job
<mantas322> thanks for listening guys!
<weaksauce> wallerdev use what you want to but those are weak argument in my head
<wallerdev> .gsub(/[1-9]/, '1')
<weaksauce> use the right tool for the right job
omosoj has quit [Quit: Lost terminal]
bonhoeffer_ has joined #ruby
<mantas322> well where was that answer 2 minutes ago
<weaksauce> that won't work
<mantas322> >:O
mantas322 has quit [Quit: Page closed]
ZoanthusR has joined #ruby
<wallerdev> hm?
<wallerdev> yeah i gave vim and emacs a try, not for me :)
bonhoeffer has quit [Ping timeout: 240 seconds]
bonhoeffer_ is now known as bonhoeffer
<wallerdev> also gave sublime text a try, also not for me haha
mistermocha has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<weaksauce> .gsub(/[1-9]+/, "1").gsub(/1+/, "1").gsub(/0+/, "0") might get you closer to a solution
invinceable has joined #ruby
<wallerdev> although i guess i tried vim back in 2008 and havent tried it again since
<wallerdev> maybe a lot has changed
<weaksauce> did you read the article I linked?
<wallerdev> nope
<weaksauce> if you use it like a basic text editor well it's just going to be inconvenient
<weaksauce> just like any other powerful text editors
krz has joined #ruby
<DogHackit> https://gist.github.com/anonymous/0eed7b2d750a8ed410cb any idea where the blank lines are coming from?
totimkopf has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
neektza has joined #ruby
<wallerdev> did you define to_s
<wallerdev> and if so do you output a newline in it
<DogHackit> In Grade, yes
gmcintire has joined #ruby
<wallerdev> if so that's where your extra newline comes from lol
<DogHackit> no new lines
commmmodo has quit [Quit: commmmodo]
buhman has joined #ruby
<wallerdev> youll have to post more code then
<wallerdev> oh i know
<buhman> is there a name the vertical bar syntax inside blocks?
<wallerdev> the variable "line" has a newline at the end of it
<wallerdev> you should use chomp
krz has quit [Ping timeout: 245 seconds]
<icbm> buhman: Block parameters?
poguez_ has joined #ruby
zachrab has joined #ruby
wldcordeiro has joined #ruby
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
<buhman> icbm: sgtm
<buhman> :D
robbyoconnor has joined #ruby
JDiPierro has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
g-nom3 has joined #ruby
jefus has quit [Ping timeout: 252 seconds]
g-nom3 has quit [Max SendQ exceeded]
zachrab has quit [Ping timeout: 246 seconds]
jefus has joined #ruby
<TheNet> is it bad practice to use send() like this? http://stackoverflow.com/a/28423218/4548639
ellisTAA has left #ruby [#ruby]
graydot has quit [Quit: graydot]
Sid05 has quit [Quit: Sid05]
<sevenseacat> i wouldnt do it
livinded has quit [Ping timeout: 264 seconds]
<DogHackit> wallerdev, what exactly am I chomping? line.chomp('\n').split(',') doesn't do it
towski_ has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> are you sure?
<wallerdev> i was pretty sure that was the answer
<wallerdev> try doing a "p line"
<wallerdev> and itll show you the actual content of the string
Ivision has joined #ruby
bklane has joined #ruby
bklane has quit [Remote host closed the connection]
beneggett has joined #ruby
mudtose has joined #ruby
<DogHackit> Yeah, \n is there, and not being chomped. It is there before and after the chomp
Sid05 has joined #ruby
wldcordeiro has quit [Ping timeout: 245 seconds]
athan has quit [Quit: No Ping reply in 180 seconds.]
<havenwood> >> "\n".chomp '\n'
<eval-in__> havenwood => "\n" (https://eval.in/282150)
<havenwood> DogHackit: ^
uptownhr has joined #ruby
<havenwood> DogHackit: versus:
beneggett has quit [Client Quit]
<havenwood> >> "\n".chomp
<eval-in__> havenwood => "" (https://eval.in/282151)
<havenwood> >> "\n".chomp "\n"
<eval-in__> havenwood => "" (https://eval.in/282152)
athan has joined #ruby
<wallerdev> oh yeah
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
<wallerdev> didnt even notice
chenillen has joined #ruby
<havenwood> >> $/ == ?\n
<eval-in__> havenwood => true (https://eval.in/282153)
icbm has quit [Quit: Leaving]
<havenwood> >> ?\n == '\n'
<eval-in__> havenwood => false (https://eval.in/282155)
<havenwood> >> ?\n == "\n"
<eval-in__> havenwood => true (https://eval.in/282156)
Cache_Money has joined #ruby
shum has quit [Client Quit]
Mia has quit [Read error: Connection reset by peer]
JBlazeCoder21 has joined #ruby
shum has joined #ruby
commmmodo has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
xp_prg has quit [Quit: This computer has gone to sleep]
JBlazeCoder21 has quit [Client Quit]
lzx has quit [Remote host closed the connection]
JBlazeCoder21 has joined #ruby
jefus has quit [Ping timeout: 246 seconds]
jefus has joined #ruby
fabrice31 has joined #ruby
<TheNet> is it possible to get the line of code that calls a method (inside the method)?
jefus has quit [Max SendQ exceeded]
tus has quit []
KnownSyntax has joined #ruby
uptownhr has quit [Quit: uptownhr]
<wallerdev> caller[0]
<wallerdev> >> def i_am_awesome; caller[0]; end; i_am_awesome
<eval-in__> wallerdev => "/tmp/execpad-21ec50919736/source-21ec50919736:2:in `<main>'" (https://eval.in/282158)
<wallerdev> line 2!
<aqpw> is a programming language just optimized assembly syntax?
Aova has quit [Read error: Connection reset by peer]
<wallerdev> it eventually becomes machine code when it runs if thats what youre asking
<wallerdev> its more about abstracting concepts to make it easier to write code
<wallerdev> not so much about optimizing asm
iliketurtles has joined #ruby
tunaCanBruh has joined #ruby
ellisTAA has joined #ruby
fryguy9 has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
fryguy9 has quit [Client Quit]
<ellisTAA> why do some potatos write .gsub(/\s+/,””) to replace whitespaces in a string instead of .gsub(/\s/,””)?
malcolmva has quit [Ping timeout: 250 seconds]
<wallerdev> cuz they potatoes
wallerdev has quit [Quit: wallerdev]
Diegao has joined #ruby
IrishGringo has joined #ruby
swgillespie has joined #ruby
<aqpw> ellisTAA: are you sour cream? because your comment was pretty sour
<Diegao> I'm implementing a search with searchkiq, but i'm trying to figure out how to build my url to access something like city.name=new york
<sevenseacat> i like potatoes.
Aova has joined #ruby
<havenwood> TheNet: check out: public_method(__method__).source_location
wookiehangover has quit [Ping timeout: 245 seconds]
<ellisTAA> aqpw: sour?
<havenwood> sevenseacat: agreed
<ellisTAA> i love potatos
tunaCanBruh has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
ponga has joined #ruby
<ellisTAA> but seriously what does the + do?
rbennacer has joined #ruby
uptownhr has joined #ruby
lzx has joined #ruby
<Diegao> *searchkik
<sevenseacat> ellisTAA: http://rubular.com
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TheNet> havenwood: that gives you where the method is defined, right? I want to get the line and file where the method was _called_ while inside the method
bronson has quit [Ping timeout: 264 seconds]
uptownhr has quit [Quit: uptownhr]
wookiehangover has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
ajaiswal has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit [Remote host closed the connection]
IrishGringo has joined #ruby
postmodern has quit [Quit: Leaving]
duncannz has joined #ruby
malcolmva has joined #ruby
ponga has joined #ruby
greensoup has quit [Ping timeout: 244 seconds]
riotjones has joined #ruby
shellfu is now known as shellfu_afk
davedev24_ has quit [Ping timeout: 240 seconds]
davedev24_ has joined #ruby
chenillen has quit [Quit: chenillen]
jerematic has joined #ruby
chenillen has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jerematic has quit [Read error: Connection reset by peer]
uptownhr has joined #ruby
DogHackit has quit [Quit: Konversation terminated!]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 264 seconds]
aqpw has quit [Quit: Page closed]
phreakocious has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
rbennacer has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
mistermocha has joined #ruby
Ivision has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
psyprus has quit [Ping timeout: 245 seconds]
phreakocious has joined #ruby
freerobby has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shum has quit [Quit: WeeChat 1.1.1]
uptownhr has quit [Quit: uptownhr]
davedev24_ has quit [Ping timeout: 246 seconds]
C1V0 has joined #ruby
AlexRussia has joined #ruby
uptownhr has joined #ruby
einarj has joined #ruby
davedev24_ has joined #ruby
<havenwood> TheNet: Ah, the method calling the method, gotcha.
<havenwood> TheNet: Check out Kernel#caller: http://www.ruby-doc.org/core-2.2.0/Kernel.html#method-i-caller
<work_op> i love how rubyists wont have a editor flame war, they just fizzle out and wander back to ruby documentation. its glorious
nickjj has quit [Read error: Connection reset by peer]
nickjj_ has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
<sevenseacat> we're pretty awesome.
lzx has quit [Remote host closed the connection]
<havenwood> TheNet: _, line = caller(1, 1).to_a.first.split(':'); Integer(line)
deol has joined #ruby
<havenwood> TheNet: The String it produces isn't real pretty: caller(1..1)
mudtose has quit [Read error: Connection reset by peer]
zapho53 has joined #ruby
zapho53 has left #ruby [#ruby]
lzx has joined #ruby
iliketurtles has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
uptownhr has quit [Quit: uptownhr]
xp_prg has joined #ruby
dc_ has quit [Remote host closed the connection]
dc_ has joined #ruby
IrishGringo has joined #ruby
jaequery has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
checkit has joined #ruby
psyprus has joined #ruby
dc_ has quit [Ping timeout: 265 seconds]
braincrash has quit [Quit: bye bye]
uptownhr has joined #ruby
phreakocious has quit [Read error: Connection timed out]
phreakocious has joined #ruby
uptownhr has quit [Client Quit]
Ivision has joined #ruby
slawrence00 has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
livathinos has joined #ruby
Sid05 has quit [Quit: Sid05]
Sid05 has joined #ruby
psy__ has joined #ruby
tmtwd has joined #ruby
lioninawhat has quit [Remote host closed the connection]
work__op has joined #ruby
braincrash has joined #ruby
Aova has quit [Read error: Connection reset by peer]
amystephen has quit [Quit: amystephen]
xcesariox has joined #ruby
work_op has quit [Ping timeout: 245 seconds]
chenillen has quit [Quit: chenillen]
_mtr has quit [Ping timeout: 264 seconds]
livathinos has quit [Client Quit]
<ellisTAA> sometimes ill see code that starts with <%
<ellisTAA> what does that mean?
djbkd has joined #ruby
phreakocious has quit [Ping timeout: 245 seconds]
adriancb has quit [Remote host closed the connection]
<sevenseacat> theyre ERB opening tags
<ellisTAA> sevenseacat: ahh i see ty
<ellisTAA> i’m not at that level yet, still a a chicken
maximski has joined #ruby
thatslifeson has joined #ruby
phreakocious has joined #ruby
Aova has joined #ruby
apurcell has quit [Quit: Be back later ...]
pietr0 has joined #ruby
Diegao has quit [Quit: Ex-Chat]
greensoup has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
Affix has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Ping timeout: 265 seconds]
davedev24_ has joined #ruby
havenwood has quit [Remote host closed the connection]
<agent_white> evenin'
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
krz has joined #ruby
wldcordeiro has joined #ruby
mistermocha has quit [Remote host closed the connection]
lzx has quit [Remote host closed the connection]
badhatter has joined #ruby
mistermocha has joined #ruby
markfletcher has left #ruby [#ruby]
g-nom3 has joined #ruby
g-nom3 has quit [Max SendQ exceeded]
lzx has joined #ruby
piotrj has joined #ruby
himsin has joined #ruby
mistermocha has quit [Remote host closed the connection]
Lemur has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
icarus has joined #ruby
yfeldblu_ has joined #ruby
<ellisTAA> can someone explain why some methods include an &block in the parameters. e.g. def duplicate(&block)
lioninawhat has joined #ruby
<ellisTAA> what does the &block do
oo_ has quit [Remote host closed the connection]
kt2 has quit [Quit: ...]
Channel6 has joined #ruby
<sevenseacat> nothing, until you call it
iliketurtles has quit [Quit: zzzzz…..]
kt2 has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<ellisTAA> what does that mean call it? i didnt read about calling in my ruby book
C1V0 has quit []
chenillen has joined #ruby
lzx has quit [Remote host closed the connection]
maximski has quit []
Musashi007 has joined #ruby
alderamin has joined #ruby
harfangk has joined #ruby
uptownhr has joined #ruby
silkfox has joined #ruby
<ellisTAA> why do we yield to blocks? either way the block is getting executed?
tunaCanBruh has joined #ruby
Megtastique has quit []
<alderamin> If I have a class Engine and a class Car, the Car class will have an attribute for an Engine object, but it seems inappropriate to call that attribute 'engine'. What's a good naming convention for the attribute?
Sid05 has quit [Quit: Sid05]
lioninawhat has quit [Remote host closed the connection]
<Radar> alderamin: Why is it inappropriate?
Lemur has quit [Read error: Connection reset by peer]
ellisTAA has quit [Quit: ellisTAA]
chenillen has quit [Quit: chenillen]
deol has joined #ruby
Lemur has joined #ruby
<alderamin> Radar: Doesn't that seem confusing?
postmodern has joined #ruby
<Radar> alderamin: Why?
<Radar> Confusing with what?
uptownhr has quit [Client Quit]
<sevenseacat> seems appropriate to me that an engine attribute would give you an Engine object.
krz has quit [Ping timeout: 246 seconds]
tmtwd has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 264 seconds]
silkfox has quit [Ping timeout: 250 seconds]
<alderamin> Maybe it's just late. Is the Ruby Style Guide generally accepted?
orangerobot has quit [Quit: Page closed]
<Radar> Which Ruby Style Guide?
jenrzzz has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
chenillen has joined #ruby
<sevenseacat> asking the hard-hitting questions
oo_ has joined #ruby
bronson has joined #ruby
<Radar> alderamin: Do you have a link to this style guide?
iliketurtles has joined #ruby
ghostmoth has joined #ruby
M-Technic has quit [Quit: Reconnecting]
<Radar> Ok, now let's get back to why you think it's confusing.
toothe has joined #ruby
M-Technic has joined #ruby
<Radar> From a quick skim of the guide it looks like how I woudl code.
tjohnson has quit [Quit: Connection closed for inactivity]
<toothe> I am trying to run this step (https://www.railstutorial.org/book/toy_app#sec-a_user_tour) but am getting this error "Illegal key size: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE
M-Technic has quit [Client Quit]
<sevenseacat> most of it is pretty straightforward and common practice.
<TheNet> alderamin: could just be me but for the most part I've found that "ruby style guides" tend to all agree with eachother
<toothe> I downloaded what I thought was the Java Cryptographic Extension, but it didn't seem to fix the bug.
M-Technic has joined #ruby
<TheNet> ruby seems to have pretty hard set conventions
<alderamin> Radar: If I'm defining class behavior in my Engine class file, then defining methods to be performed on an engine attribute in the Car class file, that seems to be a big difference separated only by a capital letter.
redblue2 has joined #ruby
<Radar> alderamin: !code
<helpa> alderamin: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
<toothe> yeah, brand new to ruby and this guide is failing me
<redblue2> How does ruby know when it is blocked on io and to let another thread run?
<toothe> I'm getting some kind of Java error.
<toothe> "Illegal key size: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE
<redblue2> Specifically - MRI
<redblue2> toothe: Are you trying to run JRuby?
<toothe> redblue2: I think so, I"m totally new to this.
<toothe> I'm not even 100% certain I installed ruby correctly.
<Radar> toothe: What does "ruby -v" show you?
bronson has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
<toothe> well first off, I keep having to do `source ~/.profile` to get it in my path, but its: jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13 +jit [linux-amd64]
<Radar> toothe: Why are you using jruby?
<toothe> because that's what Google said.
<Radar> Usually people choose to use that version of Ruby because they want interop with Java.
<toothe> no...
<Radar> toothe: What does `which ruby` tell you?
kyb3r_ has joined #ruby
<toothe> its in my /home/farhan/.rvm/rubies/jruby-1.7.19/bin/ruby
<Radar> Ok, RVM.
<toothe> i have to end up fixing the $PATH variable by doing `source ~/.profile`
<Radar> rvm uninstall jruby
Sawbones has joined #ruby
kenneth has joined #ruby
<kenneth> hey all
<Radar> "rvm install ruby-2.2" I think is the command you're after.
<Radar> I've not used RVM in a while.
<TheNet> actually what's the reason for indenting case and when on the same level?
<toothe> done.
<toothe> see, that's the thing
<Radar> toothe: What OS?
<toothe> one person says "use rvm" one person says "no, use the source"
<toothe> its so confusing....
<toothe> Radar: Ubuntu.
<Radar> toothe: Yeah, there's a bit of debate.
<sevenseacat> i like things.
<Radar> toothe: I've found chruby + ruby-install to be great: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
<Radar> That's my blog post that people follow to set it up.
<Radar> RVM can be a pain in the ass, as you're finding out now.
<kenneth> i'm trying to run `bundle install` in a docker container running under a new user. it fails building a custom extension and it seems to be because it generates a runs `"DESTDIR=" make install-so`
<kenneth> where is that DESTDIR coming from? i can't seem to debug it
<toothe> lasjdflajsflkajsdf
lzx has joined #ruby
<TheNet> Radar: hey do you have a similar blog post on deployment?
<Radar> TheNet: Nope.
quazimodo has joined #ruby
fabrice31 has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<Radar> toothe: Yeah, it's pretty frustrating. What I'd recommend you do is "rvm implode" and then install Ruby using the guide that I just linked you to. A ton of people use it and install Ruby just fine with it.
<Radar> Then it should be smooth sailing after that.
<toothe> Radar: What's the latest version of ruby that ruby-install will DL?
<toothe> i believe your guide says to install 2.2.0, but I'm not certain that's the latest version
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<alderamin> TheNet, Radar: Thanks. I'll just go with 'Engine' class and 'engine' attribute. If it doesn't work, I can always refactor this small project.
<Radar> toothe: The latest post on https://www.ruby-lang.org/en/ is for Ruby 2.2.
pietr0 has quit [Quit: pietr0]
fabrice31 has quit [Ping timeout: 252 seconds]
lioninawhat has joined #ruby
lys has quit [Quit: lys]
Hijiri has joined #ruby
ghostmoth has quit [Ping timeout: 265 seconds]
_mtr has joined #ruby
<TheNet> can someone tell me the reasoning for this? https://github.com/bbatsov/ruby-style-guide#method-parens
pietr0 has joined #ruby
<sevenseacat> the parens add noise in the first example, and increase clarity in the second
<sevenseacat> IMO
<TheNet> I understand the first one but (IMO) they still add noise in the second example
<toothe> Radar: I think that worked.
<toothe> How do I install rails now?
Aova has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
<sevenseacat> gem install rails
<Radar> toothe: Just to check: What's `ruby -v` and `which ruby` show?
<toothe> just a sec
<ebbflowgo> how could i clean this up? https://gist.github.com/ebbflowgo/ac72913ee8ea441cf241
<ebbflowgo> using media 4 times in a method seems to be a lot
<ebbflowgo> @media*
Cache_Money has quit [Quit: Cache_Money]
<toothe> okay, I think i installed rails...
<toothe> but when I do `rails server`, I seem to get errors...
<toothe> activerecord-jdbc-adapter is for use with JRuby only
<sevenseacat> youre using the old app you generated with jruby arent you
adriancb has joined #ruby
krz has joined #ruby
_mtr has quit [Ping timeout: 264 seconds]
<toothe> i guess so...
fawefeawfewa has joined #ruby
<toothe> not sure how to fix this.
<fawefeawfewa> Is there any online sit to format and beautify and colorize ruby code?
<sevenseacat> easiest thing to do would just be to create a new app
zyxelthrone has quit [Quit: WeeChat 1.1.1]
lzx has quit []
Aova has joined #ruby
<toothe> when I typ ein `rails` it says 'bad interpreter: no such file or directory"
<toothe> but I have ruby - 2.2.0 instaled
chenillen has quit [Quit: chenillen]
d10n-work has quit [Quit: Connection closed for inactivity]
iliketurtles has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
adriancb has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toothe> wtf
blasius has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
sent1nel has joined #ruby
<sevenseacat> did you restart your terminal after removing rvm?
enterprisedc has quit [Quit: enterprisedc]
enterprisedc has joined #ruby
ghostmoth has joined #ruby
JoshGlzBrk has joined #ruby
lioninawhat has quit [Remote host closed the connection]
kenneth has joined #ruby
redblue2 has quit [Quit: Page closed]
ellisTAA has joined #ruby
kenneth has quit [Client Quit]
fafa_ has quit [Ping timeout: 246 seconds]
mudtose has joined #ruby
ellisTAA has quit [Client Quit]
apurcell has joined #ruby
vdamewood has joined #ruby
einarj has joined #ruby
kenneth has joined #ruby
astrobunny has joined #ruby
mistermocha has quit [Remote host closed the connection]
apurcell has quit [Ping timeout: 245 seconds]
kenneth has quit [Client Quit]
chenillen has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
kenneth has joined #ruby
freerobby has quit [Quit: Leaving.]
Ivision has quit [Read error: Connection reset by peer]
Ivision has joined #ruby
<toothe> when I try to run 'rails server', it says "Could not find a JavaScript runtime"
<toothe> what the hell???
selaruvich has quit [Ping timeout: 246 seconds]
piotrj has quit [Remote host closed the connection]
<sevenseacat> did you visit the link it gives you?
<toothe> did you give me the ryanbiggs one?
gccostabr has quit [Quit: ZZZzzz…]
piotrj has joined #ruby
<toothe> ahh, i missed the last step about nodejs
<sevenseacat> no, the link in the error message.
uptownhr has joined #ruby
<toothe> okay, it works now..
willgorman|away has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
gccostabr has joined #ruby
<toothe> sevenseacat: sometimes, I get 3 guides that take different approaches
invinceable has quit []
arup_r_ has joined #ruby
<toothe> so...there is a lack of standardization...
<sevenseacat> whats that got to do with 'i got an error message that told me how to fix it, what the hell???'
apurcell has joined #ruby
dc_ has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
gccostabr has quit [Ping timeout: 256 seconds]
piotrj has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
apurcell has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
chenillen has quit [Quit: chenillen]
chenillen has joined #ruby
Musashi007 has quit [Quit: Musashi007]
amclain has quit [Quit: Leaving]
chenillen_ has joined #ruby
krz has quit [Ping timeout: 245 seconds]
amystephen has joined #ruby
chenillen has quit [Ping timeout: 244 seconds]
chenillen_ is now known as chenillen
kapil__ has quit [Quit: Connection closed for inactivity]
Musashi007 has joined #ruby
mikepack has quit [Remote host closed the connection]
psy_ has quit [Remote host closed the connection]
psy__ has quit [Remote host closed the connection]
RTG` has quit [Ping timeout: 264 seconds]
amystephen has quit [Ping timeout: 264 seconds]
user083 has quit [Ping timeout: 256 seconds]
toothe has quit [Quit: leaving]
CpuID2 has quit [Quit: This computer has gone to sleep]
<arup_r_> shevy: you around ?
RTG` has joined #ruby
Musashi007 has quit [Quit: Musashi007]
willgorm- has joined #ruby
Musashi007 has joined #ruby
Aova has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
Channel6 has quit [Quit: Leaving]
adriancb has joined #ruby
Aova has joined #ruby
arup_r_ has quit []
arup_r has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
willgorm- has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
JBreit has joined #ruby
apurcell has joined #ruby
kapil__ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
riotjones has quit [Ping timeout: 245 seconds]
apurcell has quit [Ping timeout: 252 seconds]
krz has joined #ruby
mudtose has quit [Quit: Leaving]
mudtose has joined #ruby
tunaCanBruh has joined #ruby
The_Phoenix has joined #ruby
Morkel has joined #ruby
willgorm- has joined #ruby
fantazo has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shadoi has quit [Quit: Leaving.]
tunaCanBruh has quit [Ping timeout: 255 seconds]
avahey has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
redsoup has joined #ruby
greensoup has quit [Read error: No route to host]
rbennacer has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tagrudev has joined #ruby
hvxgr has quit [Ping timeout: 255 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
jack_rabbit has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davedev24_ has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
ponga has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
blasius has quit []
fabrice31 has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
work__op is now known as work_op
work_op has quit [Changing host]
work_op has joined #ruby
towski_ has joined #ruby
jack_rabbit has joined #ruby
towski_ has quit [Remote host closed the connection]
slawrence00 has joined #ruby
marcdel has joined #ruby
<certainty> moin
ptrrr has joined #ruby
swgillespie has joined #ruby
riotjones has joined #ruby
<arup_r> certainty: moin
<certainty> o/
<fawefeawfewa> Does anyone know a relatively simple algorithm to predict the future values of a function with 1 value per second? If it was going up, it'll continue going up at the same rate... If it's going up in a senoidal way it'll continue doing the same... etc...? Bonus point if I can get a open source free for commercial use library that implements that thing...
<arup_r> I know how to create Ruby object lazily by the way :-) I taught myself last night
DonOtreply has joined #ruby
readacted has joined #ruby
_mtr has joined #ruby
codecop has joined #ruby
JBlazeCoder21 has quit []
Akagi201 has quit [Remote host closed the connection]
last_staff has joined #ruby
apeiros_ has quit [Remote host closed the connection]
Akagi201 has joined #ruby
apeiros_ has joined #ruby
lyuben_ has quit [Quit: This computer has gone to sleep]
hmsimha has quit [Ping timeout: 252 seconds]
_mtr has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Rollabunna has quit [Ping timeout: 246 seconds]
kenneth__ has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
lkba_ has quit [Read error: Connection reset by peer]
lkba has joined #ruby
athan has quit [Ping timeout: 255 seconds]
andikr has joined #ruby
kenneth has quit [Ping timeout: 240 seconds]
lidaaa has quit [Ping timeout: 244 seconds]
kenneth has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
<certainty> arup_r: how do you mean?
<arup_r> Ohh!
<arup_r> apeiros: ^^
kenneth__ has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
<certainty> arup_r: ah ok i see. did you have a usecase for that?
Aova has quit [Read error: Connection reset by peer]
<arup_r> yes... I do
<arup_r> that's why I was wondering
<certainty> arup_r: well i could see a typical case where you'd have some object that you want to map over collection where one argument is fixed. that way you can partially apply the first argument and get the second from the collection
CpuID2 has joined #ruby
CpuID2 has joined #ruby
hvxgr has joined #ruby
<certainty> pretty common in other languages. sometimes i wish i could do that easily in ruby too, but i usually resort to a custom class-level constructor
<arup_r> My class need 3 pennies to give a instance of it.. But I can't give it that many in one place.. So I took that strategy to meet my need..
<arup_r> This is a nice experience through a situation I had yesterday...
<arup_r> Nice learning too
LetErikTry has quit [Quit: sleep]
<certainty> i can imagine
pietr0 has quit [Quit: pietr0]
Sawbones has quit [Remote host closed the connection]
bal has joined #ruby
regnartim has quit [Ping timeout: 245 seconds]
<arup_r> certainty: I can delay the Ruby object creation...
DonOtreply has quit [Quit: DonOtreply]
<arup_r> Its awesome...
Aova has joined #ruby
<arup_r> But it is only possible 2.2.0 as far as I can see
<agent_white> Ooo...
<certainty> arup_r: yes. afair there was only Proc#curry before
puppetmonkey has quit [Read error: Connection reset by peer]
puppetmonkey has joined #ruby
<certainty> latest ruby5 podcast links to an article about new methods in ruby 2.2. I'm glad about Kernel#itself
<arup_r> >> 1.method(:+).to_proc
<eval-in__> arup_r => #<Proc:0x4151822c (lambda)> (https://eval.in/282308)
<arup_r> Ahh! I got my answer
davidhq has joined #ruby
Akagi201_ has joined #ruby
<arup_r> I can do it below 2.2.0 also
<arup_r> certainty: thanks for the pointer
<arup_r> certainty: link please
<arup_r> ok
<arup_r> ruby5 podcast you regularly do follow ?
<arup_r> certainty:
<certainty> arup_r: more or less yeah
<arup_r> How it is? What do they discuss? I more or less RR
<certainty> the content is usually good
<arup_r> follow
<agent_white> I just recently got into rubyrogues. Good stuff :D
<certainty> it's a short podcast about what's hot in rubyland
psy_ has joined #ruby
<arup_r> ok
<certainty> linking to details
Akagi201 has quit [Ping timeout: 265 seconds]
<certainty> agent_white: yeah that's good as well
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
RasKhadafi has joined #ruby
einarj has joined #ruby
Macaveli has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
iliketurtles has joined #ruby
<agent_white> certainty: What're your favorites? :)
<certainty> agent_white: podcasts?
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ has joined #ruby
DouweM has joined #ruby
<agent_white> certainty: Yup!
<certainty> agent_white: that's about it. i only regularily follow ruby5 and occasionally ruby-rogues. casts have to be pretty condensed for me
goodenough has joined #ruby
<sevenseacat> ruby rogues is far too long for me to pay attention to
<certainty> *nod*
JBreit has left #ruby ["Leaving"]
JoshGlzBrk has joined #ruby
einarj has quit [Ping timeout: 244 seconds]
dkphenom has quit [Ping timeout: 252 seconds]
harfangk has quit [Quit: This computer has gone to sleep]
psy_ has quit [Quit: Leaving]
<certainty> ²mux omc_structlog
<certainty> um
<sevenseacat> dafuq <_<
stoffus has joined #ruby
stoffus has quit [Client Quit]
<agent_white> Ahhh good deal, I'll check it out!
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
stoffus has joined #ruby
<agent_white> I've enjoyed ruby rogues... found Avdi Grimm and James Gray through them. Funny and smart dudes :P
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Morkel has quit [Quit: Morkel]
<sevenseacat> avdi grimm is an awesome dude
TheNet has quit [Quit: Leaving...]
<certainty> yeah the ruby jesus
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
djbkd has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
DouweM has quit [Quit: Leaving...]
davidhq has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
fart_box has joined #ruby
ladisman69 has joined #ruby
harfangk has joined #ruby
himsin has quit [Quit: himsin]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
lyuben_ has joined #ruby
razieliyo has joined #ruby
Guest123 has joined #ruby
fart_box has quit [Quit: WeeChat 0.4.2]
<agent_white> :D pontiki told me that his ruby tapas are well worth it... very tempted to give it a go.
ptrrr has quit [Quit: ptrrr]
<certainty> avdi is also an emacs guru, which is onether good thing
<certainty> another, even
LouisRoR has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
ponga has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
jaequery has joined #ruby
kenneth has quit [Quit: Bye.]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
red_horned_rihno has joined #ruby
terlar has joined #ruby
Soliah has quit [Quit: Soliah]
charliesome has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
red_horned_rihno has quit [Max SendQ exceeded]
LouisRoR has quit [Ping timeout: 250 seconds]
red_horned_rihno has joined #ruby
CpuID2 has quit [Read error: Connection reset by peer]
red_horned_rihno has quit [Max SendQ exceeded]
CpuID2 has joined #ruby
red_horned_rihno has joined #ruby
commmmodo has quit [Quit: commmmodo]
Rollabunna has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
icarus has quit [Quit: leaving]
redsoup has quit [Ping timeout: 250 seconds]
PaulCapestany has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
Xeago has joined #ruby
jenrzzz has joined #ruby
PaulCapestany has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
<ladisman69> Emacs sucks
Asher has joined #ruby
<ladisman69> I have sex with vim every night
<ladisman69> I am the cuck mastdr
<sevenseacat> o.O
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
<certainty> ladisman69: alright :) and yeah emacs sucks in some regards
<certainty> aaaaand here i go feed the troll
<ladisman69> CUCK 40
<ladisman69> FEED MOISTURE
dumdedum has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
DouweM has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
red_horned_rihno has quit [Quit: Leaving]
* apeiros_ is tempted
<sevenseacat> tempted to feed moisture?
<apeiros_> to grease their exit
<ladisman69> I will cick ypu
<ladisman69> Cuck you
<apeiros_> yeah, I think so
ladisman69 was kicked from #ruby by apeiros_ [ladisman69]
ladisman69 has joined #ruby
<ladisman69> Lelelelele
<ladisman69> I can autojoin
<ladisman69> Lelele
<ladisman69> Cuck
ladisman69 was banned on #ruby by apeiros_ [*!*@117.201.150.117]
ladisman69 was kicked from #ruby by apeiros_ [ladisman69]
<certainty> not if you're banned
<sevenseacat> :D
<sevenseacat> lelelele
<sevenseacat> cuck. <_<
djbkd has joined #ruby
<certainty> haha
<apeiros_> they're gone the way of the cuck
ghr has joined #ruby
<certainty> cuck norris?
<apeiros_> lelele
stoffus has quit [Ping timeout: 244 seconds]
<sevenseacat> lol
PaulCapestany has quit [Read error: Connection reset by peer]
Aova has quit [Read error: Connection reset by peer]
PaulCapestany has joined #ruby
mudtose has quit [Remote host closed the connection]
mroach has quit [Quit: mroach]
piotrj has joined #ruby
oleo__ has joined #ruby
atomi has quit [Quit: Lost terminal]
jgt has joined #ruby
* apeiros_ goes back to figure out how teh F rails' connection pool works
ghr has quit [Ping timeout: 265 seconds]
djbkd has quit [Ping timeout: 256 seconds]
JohnBat26 has joined #ruby
oleo is now known as Guest52430
Aova has joined #ruby
chenillen has quit [Quit: chenillen]
matcouto has joined #ruby
ki0 has joined #ruby
Guest52430 has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
stoffus has joined #ruby
amundj has joined #ruby
siso has joined #ruby
tunaCanBruh has joined #ruby
diegoviola has joined #ruby
einarj has joined #ruby
ponga has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
marr has joined #ruby
selaruvich has joined #ruby
Jackneill has quit [Remote host closed the connection]
joufflu has quit [Read error: Connection reset by peer]
marcdel has quit []
einarj has quit [Ping timeout: 264 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DouweM has joined #ruby
<avril14th> morning
workmad3 has quit [Ping timeout: 256 seconds]
Lemur has quit [Remote host closed the connection]
<apeiros_> moin
Lemur has joined #ruby
dumdedum has quit [Read error: Connection reset by peer]
scottyob has quit [Quit: ZNC - http://znc.in]
oo_ has joined #ruby
dumdedum has joined #ruby
<certainty> moin moin
adamjleonard has quit [Quit: Leaving...]
greenarrow has joined #ruby
Lemur has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
<arup_r> hehehe....
AlexRussia has joined #ruby
atomi has joined #ruby
psy_ has joined #ruby
sandelius has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
ki0 has quit [Remote host closed the connection]
_mtr has joined #ruby
ki0 has joined #ruby
Takle has joined #ruby
Alina-malina has joined #ruby
dumdedum has quit [Quit: foo]
m8 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
chenillen has joined #ruby
mattwildig has joined #ruby
mattwildig has quit [Client Quit]
kalusn has joined #ruby
dumdedum has joined #ruby
_mtr has quit [Ping timeout: 265 seconds]
CustosL1men has joined #ruby
piotrj has quit [Remote host closed the connection]
shredding has joined #ruby
ta has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
Spami has joined #ruby
redsoup has joined #ruby
joonty has joined #ruby
joonty has quit [Client Quit]
duncannz has quit [Ping timeout: 250 seconds]
Takle has quit [Remote host closed the connection]
msgodf has joined #ruby
blackmesa has joined #ruby
redsoup has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 264 seconds]
piotrj has quit []
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
alex88 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
arup_r has quit [Remote host closed the connection]
LouisRoR has joined #ruby
Affix has joined #ruby
josephcs has joined #ruby
totimkopf has quit [Ping timeout: 245 seconds]
mikepack has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
sevenseacat has quit [Remote host closed the connection]
ghr has joined #ruby
duncannz has joined #ruby
Aova has quit [Read error: Connection reset by peer]
lsmola has quit [Ping timeout: 250 seconds]
Morkel has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
YamakasY has quit [Quit: Don't leave life when you exit IRC]
Xeago_ has joined #ruby
Aova has joined #ruby
nii236 has quit [Quit: leaving]
kaspergrubbe has joined #ruby
kaspergrubbe is now known as Guest94487
ValicekB has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Guest94487 is now known as kaspergrubbe__
oo_ has quit [Remote host closed the connection]
Takle has joined #ruby
Xeago has quit [Ping timeout: 256 seconds]
Takle_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
oo_ has joined #ruby
jgt has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
einarj has joined #ruby
DouweM has quit [Quit: Leaving...]
AFKGeek has joined #ruby
Takle_ has quit [Remote host closed the connection]
ValicekB has joined #ruby
puppetmonkey has quit [Ping timeout: 250 seconds]
tvw has joined #ruby
chrishough has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 255 seconds]
ywbjux has joined #ruby
lolmaus has joined #ruby
arup_r has joined #ruby
jgt has joined #ruby
Deithrian has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
CustosLimen has quit [Ping timeout: 245 seconds]
speakingcode has joined #ruby
Takle has joined #ruby
jenrzzz has joined #ruby
ValicekB has quit [Ping timeout: 246 seconds]
shredding has quit [Quit: shredding]
dmolina has joined #ruby
arup_r has quit [Remote host closed the connection]
puppetmonkey has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
hs366 has joined #ruby
wldcordeiro has quit [Ping timeout: 245 seconds]
CustosLimen has joined #ruby
ValicekB has joined #ruby
glen3_4 has joined #ruby
glen3_4 has quit [Quit: glen3_4]
arup_r has joined #ruby
oddraisin has quit [Ping timeout: 245 seconds]
mroach has joined #ruby
glen3_4 has joined #ruby
piotrj has joined #ruby
glen3_4 has left #ruby [#ruby]
nii236|irssi has joined #ruby
workmad3 has joined #ruby
rodfersou has joined #ruby
adriancb has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
DaniG2k has joined #ruby
<last_staff> anybody knows how vagrantfiles work, in terms of (re)encoding powershell?
piotrj has quit [Remote host closed the connection]
mdw has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
withnale__ has quit [Quit: Be back later ...]
Timgauthier has joined #ruby
lsmola has joined #ruby
max96at|off is now known as max96at
druznek has joined #ruby
livathinos has joined #ruby
timonv has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
duncannz has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
Guest15 has joined #ruby
tokik has quit [Ping timeout: 246 seconds]
bollullera has joined #ruby
arup_r has quit []
arup_r has joined #ruby
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
mroach has quit [Quit: mroach]
ValicekB has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
p3ery has quit [Quit: (null)]
RDash has quit [Ping timeout: 276 seconds]
piotrj_ has joined #ruby
Grumelo has joined #ruby
Takle has quit [Remote host closed the connection]
redsoup has joined #ruby
kedare has quit [Ping timeout: 265 seconds]
riotjones has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
piotrj has quit [Ping timeout: 252 seconds]
ghostpl has joined #ruby
Aova has quit [Read error: Connection reset by peer]
josephcs has quit [Quit: (null)]
redsoup has quit [Ping timeout: 246 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
piotrj_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
arup_r_ has joined #ruby
bronson has joined #ruby
harfangk has quit [Quit: This computer has gone to sleep]
jgt has quit [Read error: Connection reset by peer]
Xeago has quit [Read error: Connection reset by peer]
arup_r has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
Aova has joined #ruby
mroach has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
arup_r_ has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 252 seconds]
djbkd has quit [Ping timeout: 245 seconds]
selu has joined #ruby
hanmac1 has joined #ruby
ValicekB has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
bjornar has joined #ruby
piotrj has joined #ruby
riotjones has joined #ruby
goodenough has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 246 seconds]
arup_r has joined #ruby
RDash has joined #ruby
leafybasil has joined #ruby
RDash has quit [Changing host]
RDash has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
The_Phoenix has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 240 seconds]
leafybasil has joined #ruby
Xeago has joined #ruby
arup_r_ has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* arup_r_ shaking the bash shell to see what is inside it.
flori has joined #ruby
ValicekB has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
deepy has quit [Quit: ZNC - http://znc.in]
SolarSailor has joined #ruby
arup_r has quit [Ping timeout: 244 seconds]
mroach has quit [Quit: mroach]
arup_r_ has quit [Client Quit]
arup_r has joined #ruby
withnale__ has joined #ruby
_mtr has joined #ruby
withnale__ has quit [Remote host closed the connection]
deepy has joined #ruby
mroach has joined #ruby
withnale__ has joined #ruby
Stalkr_ has joined #ruby
blackmesa has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
RDash has quit [Ping timeout: 272 seconds]
ldnunes has joined #ruby
chenillen has quit [Quit: chenillen]
nii236|irssi has quit [Quit: leaving]
_mtr has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
<platzhirsch> \o/
fantazo has quit [Quit: Verlassend]
agent_white has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
RDash has joined #ruby
agent_white has joined #ruby
stoffus has quit [Ping timeout: 252 seconds]
RDash has quit [Changing host]
RDash has joined #ruby
stoffus has joined #ruby
OrbitalKitten has joined #ruby
ValicekB has joined #ruby
dling has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
The_Phoenix has joined #ruby
jgt has joined #ruby
rkgudboy has joined #ruby
AlexRussia has quit [Ping timeout: 264 seconds]
stoffus has quit [Ping timeout: 245 seconds]
Timgauthier has quit [Read error: Connection reset by peer]
Takle has joined #ruby
Timgauthier has joined #ruby
RDash has quit [Ping timeout: 246 seconds]
agent_white has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
agent_white has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agent_white has quit [Read error: Connection reset by peer]
RDash has joined #ruby
piotrj has quit [Remote host closed the connection]
agent_white has joined #ruby
posixpascal has joined #ruby
paolooo has joined #ruby
maximski has joined #ruby
josephcs has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Choclo has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
chenillen has joined #ruby
agent_white has joined #ruby
nfk has joined #ruby
gfawcettpq1 has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
reinaldob has joined #ruby
DouweM has joined #ruby
harfangk has joined #ruby
flori has quit [Quit: leaving]
Ivision_ has joined #ruby
CustosL1men has quit [Quit: Leaving]
chenillen has quit [Client Quit]
CustosL1men has joined #ruby
flori has joined #ruby
rylev has joined #ruby
rdark has joined #ruby
Ivision has quit [Ping timeout: 255 seconds]
hmsimha has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Takle has joined #ruby
thebastl has joined #ruby
agent_white has joined #ruby
flori has quit [Client Quit]
rkgudboy has quit [Read error: Connection reset by peer]
flori has joined #ruby
yfeldblum has quit [Remote host closed the connection]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexherbo2 has joined #ruby
RDash has quit [Changing host]
RDash has joined #ruby
charliesome has quit [Quit: zzz]
Number2_ has joined #ruby
Troy^ has joined #ruby
Aova has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
ValicekB has quit [Ping timeout: 244 seconds]
mdw has quit [Ping timeout: 245 seconds]
mostlybadfly has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Guest15 has quit [Read error: Connection reset by peer]
Aova has joined #ruby
rkgudboy has joined #ruby
roshanavand has joined #ruby
jimms has joined #ruby
<arup_r> platzhirsch: What does it means? \o/
mroach has quit [Quit: mroach]
<workmad3> arup_r: it means 'happy happy joy joy'
agent_white has quit [Read error: Connection reset by peer]
<arup_r> Aw... I know \m/ this only
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
flori has quit [Quit: leaving]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ValicekB has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<platzhirsch> oui
<platzhirsch> hello everyone :)
agent_white has joined #ruby
relix has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jack_rabbit has joined #ruby
agent_white has joined #ruby
MasterPiece has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<workmad3> arup_r: \m/ is 'happy cthulhu'
mroach has joined #ruby
<arup_r> no.. workmad3: it is Yo!
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<workmad3> arup_r: looks like a happy cthulhu to me :P
<arup_r> :p
agent_white has joined #ruby
ValicekB has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
harfangk has quit [Quit: This computer has gone to sleep]
flori has joined #ruby
stef204 has joined #ruby
flori has quit [Client Quit]
antgel has joined #ruby
<certainty> call-with-cthulhu is real procedure used in CHICKEN. at least it was
<wasamasa> wat
rylev has quit [Remote host closed the connection]
<certainty> wasamasa: yeah
<wasamasa> do I need to register chickenhorrors.com now?
<workmad3> certainty: if you use call-with-cthulhu is the resulting call a call-of-cthulhu? :)
<certainty> wasamasa: hehe have a look at the sources. i can't recall which file it was though
<workmad3> certainty: also, what advantage does invoking the great old ones power provide to method invocation?
stef204 has quit [Client Quit]
* wasamasa looks
fabrice31 has quit [Remote host closed the connection]
<certainty> workmad3: i don't know. i don't dare to use that procedure
<wasamasa> certainty: it's still there
Soda has joined #ruby
<wasamasa> (define ##sys#call-with-cthulhu (##core#primitive "C_call_with_cthulhu"))
<certainty> wasamasa: alright
<certainty> i think it might be related to continuations but idk
<wasamasa> it is
<certainty> my memory is not so rusty as it seems
ajaiswal has quit [Quit: Leaving]
agent_white has quit [Read error: Connection reset by peer]
<certainty> alright it's to create black holes
agent_white has joined #ruby
flori has joined #ruby
flori has quit [Client Quit]
flori has joined #ruby
Xeago_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
bluOxigen has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 244 seconds]
agent_white has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
DouweM has quit [Quit: Leaving...]
piotrj has joined #ruby
sigurding has quit [Quit: sigurding]
redsoup has joined #ruby
bluOxigen has joined #ruby
jack_rabbit has quit [Ping timeout: 252 seconds]
holsee_ has joined #ruby
maximski has quit [Ping timeout: 250 seconds]
rkgudboy has quit [Ping timeout: 244 seconds]
ponga has quit [Remote host closed the connection]
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr^ has joined #ruby
penzur has joined #ruby
deepy has quit [Changing host]
deepy has joined #ruby
rkgudboy has joined #ruby
oo__ has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
redsoup has quit [Ping timeout: 264 seconds]
maximski has quit [Max SendQ exceeded]
n1lo has joined #ruby
jack_rabbit has joined #ruby
piotrj has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
agent_white has joined #ruby
vvivv has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
OrbitalKitten has joined #ruby
kaspergrubbe__ is now known as kaspergrubbe
roshanavand has joined #ruby
Stalkr_ has joined #ruby
Stalkr^ has quit [Read error: Connection reset by peer]
claw__ has quit [Ping timeout: 245 seconds]
claw___ has joined #ruby
nfk has quit [Quit: yawn]
paradoja has joined #ruby
davidhq has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
tunaCanBruh has joined #ruby
User458764 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Stalkr_ has quit [Read error: Connection reset by peer]
<User458764> Hi, I installed RVM and I am asking which ruby do I install?
Stalkr_ has joined #ruby
<User458764> *asking myself
mroach has quit [Quit: mroach]
ValicekB has joined #ruby
<wasamasa> 2.1.2
<User458764> wasamasa thanks
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
lanemeyer has quit [Ping timeout: 256 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest123 has joined #ruby
jack_rabbit has quit [Ping timeout: 244 seconds]
badhatter has joined #ruby
badhatter has joined #ruby
lioninawhat has joined #ruby
psy_ has quit [Read error: No route to host]
cmckee has joined #ruby
rdark has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 252 seconds]
lioninawhat has quit [Remote host closed the connection]
<shevy> User458764 2.1.5 !
agent_white has quit [Read error: Connection reset by peer]
<User458764> shevy erf too late :(
agent_white has joined #ruby
<ddv> 2.2.0
Aova has quit [Read error: Connection reset by peer]
unclouded has quit [Ping timeout: 272 seconds]
<ddv> User458764: 2.2.0
sigurding has joined #ruby
xcesariox has quit [Ping timeout: 246 seconds]
redsoup has joined #ruby
rdark has joined #ruby
Aova has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
agent_white has joined #ruby
lioninawhat has joined #ruby
redsoup has quit [Ping timeout: 246 seconds]
bonhoeffer has quit [Client Quit]
qba73 has joined #ruby
riotjone_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
kp666 has joined #ruby
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
User458764 has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
oleo__ is now known as oleo
_mtr has joined #ruby
puppetmonkey has quit [Read error: Connection reset by peer]
shum has joined #ruby
Xeago has joined #ruby
puppetmonkey has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
ebbflowgo has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
arup_r_ has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
rylev has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
sandelius has joined #ruby
oo__ has quit [Ping timeout: 250 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
_mtr has quit [Ping timeout: 245 seconds]
relix has joined #ruby
Xeago has quit [Ping timeout: 246 seconds]
thebastl_ has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
ponga has joined #ruby
The_Phoenix has joined #ruby
thebastl has quit [Ping timeout: 264 seconds]
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
rylev has quit [Ping timeout: 256 seconds]
kedare has joined #ruby
bjornar has quit [Ping timeout: 265 seconds]
lioninawhat has quit [Remote host closed the connection]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago_ has quit [Ping timeout: 245 seconds]
bjornar has joined #ruby
iamjarvo has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
qba73 has quit [Remote host closed the connection]
agent_white has joined #ruby
qba73 has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
<michael_mbp> hey all
<michael_mbp> going a bit mad here
<michael_mbp> l = ["\x1F", "\x8B"]
<michael_mbp> but l.include?("\x1F") && l.include?("\x8B" => false
rdark_ has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
<canton7> >> l = ["\x1F", "\x8B"]; l.include?("\x1F") && l.include?("\x8B")
<eval-in__> canton7 => true (https://eval.in/282503)
Spami has joined #ruby
rylev has joined #ruby
rdark has quit [Ping timeout: 265 seconds]
psyprus has quit [Read error: Connection reset by peer]
unclouded has joined #ruby
jonr22 has joined #ruby
psyprus has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
<Xeago> huh?
<hanmac1> huhu shevy
<michael_mbp> huh
<michael_mbp> it' working in irb
<michael_mbp> but not in my env... wow
<michael_mbp> brb
<michael_mbp> content = "\x1F\x8B\b\x00\x00\x00\x00"
<michael_mbp> StringIO.open(content,'r') { |io| l = []; 2.times { l << io.getc }; l.include?("\x1F") && l.include?("\x8B") }
<michael_mbp> that works fine.
<michael_mbp> ^^ is in irb.
<michael_mbp> now, in my environment it gets fun
<michael_mbp> [69] pry(#<SelectFeeds::Products>)> StringIO.open(content,'r') { |io| l = []; 2.times { l << io.getc }; l.include?("\x1F") && l.include?("\x8B") }
<michael_mbp> => false
<michael_mbp> LOL!!!
iMe has joined #ruby
Guest14510 is now known as kennym
AFKGeek has quit [Ping timeout: 245 seconds]
<michael_mbp> simply, reading first two chars from an IO stream
kennym has quit [Changing host]
kennym has joined #ruby
maximski has quit []
rylev_ has joined #ruby
<shevy> hanmac1 yeah
oo_ has quit [Remote host closed the connection]
<hanmac1> michael_mbp: hm do you use rails or something like that? what is your os, and your default encoding?
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
greenarrow has quit [Quit: 500]
blackmesa has quit [Ping timeout: 246 seconds]
Ivision_ has quit [Read error: Connection reset by peer]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ivision has joined #ruby
<tagrudev> correction: sunday = why did I do that on Saturday
rylev has quit [Ping timeout: 245 seconds]
rkgudboy has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
<michael_mbp> hanmac1: yup Rails
<michael_mbp> 4.1.8
<hanmac1> michael_mbp: try #rubyonrails ... sounds like an encoding problem to me
<michael_mbp> content.encoding
<michael_mbp> => #<Encoding:ASCII-8BIT>
<michael_mbp> ahhh
fantazo has joined #ruby
<michael_mbp> that should be UTF8... ?
_bart has joined #ruby
cpt_yossarian has quit [Ping timeout: 245 seconds]
jcromartie has joined #ruby
Timgauthier is now known as timgauthier_away
totimkopf has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jcromartie has left #ruby [#ruby]
platzhirsch has left #ruby [#ruby]
yfeldblum has joined #ruby
<michael_mbp> ah got it
Mon_Ouie has quit [Ping timeout: 250 seconds]
agent_white has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
agent_white has joined #ruby
<michael_mbp> hanmac1: thankSS!!
<michael_mbp> StringIO.open(content,'r') { |io| l = []; 2.times { l << io.getc }; l.include?("\x1F".force_encoding(Encoding::ASCII_8BIT)) && l.include?("\x8B".force_encoding(Encoding::ASCII_8BIT)) }
<michael_mbp> => true
Ivision has quit [Ping timeout: 264 seconds]
m8 has quit [Quit: Sto andando via]
Stalkr_ has quit [Quit: Leaving...]
Ivision has joined #ruby
workmad3 is now known as wm3|away
pika_pika has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
rubytor has joined #ruby
siso has quit [Quit: siso]
Timgauthier has joined #ruby
lanemeyer has joined #ruby
mistermocha has joined #ruby
blackmesa has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
User458764 has joined #ruby
BTRE has joined #ruby
agent_white has joined #ruby
aclearman037 has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
mistermocha has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
<apeiros_> michael_mbp: if you use ruby 2.1+, you can use String#b instead of .force_encoding(Encoding::ASCII_8BIT)
totimkopf has quit [Quit: leaving]
lioninawhat has joined #ruby
ELLIOTTCABLE is now known as ec
JDiPierro has joined #ruby
Aova has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lioninawhat has quit [Remote host closed the connection]
brb3 has joined #ruby
DaniG2k has quit [Ping timeout: 245 seconds]
jerematic has quit [Remote host closed the connection]
mroach has joined #ruby
kobain has joined #ruby
ec is now known as ELLIOTTCABLE
xjiujiu has joined #ruby
cmckee has quit [Quit: cmckee]
Aova has joined #ruby
TinkerTyper has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
TinkerTyper has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
IrishGringo has joined #ruby
agent_white has joined #ruby
fabrice31 has quit [Remote host closed the connection]
penzur has quit [Quit: Leaving]
fabrice31 has joined #ruby
readacted has quit [Quit: leaving]
slawrence00 has joined #ruby
regnartim has joined #ruby
jnoob22 has joined #ruby
<jnoob22> I'm trying to use the Archive module here -> http://www.ruby-doc.org/gems/docs/a/archive-tar-0.9.0/Archive/Tar.html but require 'archive' doesn't appear to work... any ideas what I should use here to import it?
silkfox has joined #ruby
thebastl_ has quit [Read error: Connection reset by peer]
thebastl has joined #ruby
tkuchiki has joined #ruby
<jnoob22> nm ... looks like require 'archive' is correct but something is munged up... Could not open library 'libarchive.so': libarchive.so: cannot open shared object file: No such file or directory
iMe has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
kappy has joined #ruby
pasv_ has quit [Ping timeout: 256 seconds]
greenarrow has joined #ruby
iMe has joined #ruby
porfa has joined #ruby
Stalkr_ has joined #ruby
livingstn has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
paulfm has joined #ruby
pandaant has joined #ruby
Ivision_ has joined #ruby
Ivision has quit [Read error: Connection reset by peer]
IrishGringo has quit [Read error: Connection reset by peer]
astrobunny has quit [Remote host closed the connection]
IrishGringo has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Originerd has joined #ruby
agent_white has joined #ruby
phutchins has joined #ruby
<Originerd> Hi, guys
<Originerd> I have a question about guard
Choclo is now known as Choclo[Away]
AlexRussia has joined #ruby
<Originerd> I’m using Mac OS X 10.10 Yosemite
Choclo[Away] is now known as Choclo
<Originerd> I tried to use ‘terminal-notifier-guard’
jcromartie has joined #ruby
piotrj has joined #ruby
<Originerd> So I added it to Gemfile and I executed guard, but it doesn’t work.
dumdedum has quit [Quit: foo]
<Originerd> How do I set it? Could anyone help me?
dblessing has joined #ruby
nickjj_ is now known as nickjj
<centrx> "doesn't work"
mdw has joined #ruby
triple_b has joined #ruby
<Originerd> doesn’t work on Yosemite?
iMe has quit [Ping timeout: 264 seconds]
triple_b has quit [Client Quit]
jerematic has joined #ruby
<Originerd> Is there any alternative?
triple_b has joined #ruby
<centrx> Originerd, How does it not work? That's very vague
railsForDaiz has joined #ruby
<centrx> Originerd, Your computer calls the FBI and shuts down?
lxsameer_ has joined #ruby
<Originerd> Oh… guard is working normally
<Originerd> But there is no notify
tunaCanBruh has joined #ruby
iMe has joined #ruby
allcentury has joined #ruby
triple_b_ has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
zyxelthrone has joined #ruby
agent_white has joined #ruby
zacstewart has quit [Remote host closed the connection]
amundj has quit [Ping timeout: 252 seconds]
arup_r_ has quit []
apurcell has joined #ruby
triple_b has quit [Ping timeout: 246 seconds]
sankaber has joined #ruby
amundj has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
ikeike443 has quit [Quit: Leaving...]
Guest15 has joined #ruby
bollullera has quit [Quit: ¡Hasta luego!]
bronson has joined #ruby
zacstewart has joined #ruby
Takle has quit [Remote host closed the connection]
shredding has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
lxsameer_ has quit [Quit: Leaving]
apurcell has quit [Ping timeout: 252 seconds]
_mtr has joined #ruby
harfangk has joined #ruby
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
koding123 has joined #ruby
yfeldblum has joined #ruby
last_staff has quit [Quit: last_staff]
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
wm3|away is now known as workmad3
tus has joined #ruby
athan has joined #ruby
gccostabr has joined #ruby
puppetmonkey has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
_mtr has quit [Ping timeout: 252 seconds]
jefus has joined #ruby
AdNauseaum has quit [Ping timeout: 246 seconds]
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 245 seconds]
tier has joined #ruby
hamakn has quit [Remote host closed the connection]
<jnoob22> Hi... getting this error when i try to do: sudo gem install libarchive -> http://pastebin.com/M1z791wg any ideas? I'm on Ubuntu 14.04
roshanavand has quit [Ping timeout: 245 seconds]
vasilakisfil has joined #ruby
shum1 has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
redsoup has joined #ruby
abuzze_ has joined #ruby
abuzze__ has joined #ruby
tier_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
iMe has quit [Ping timeout: 250 seconds]
fryguy9 has joined #ruby
tkuchiki has joined #ruby
<centrx> jnoob22, You probably need some build tools or header/-dev libraries installed to build this gem
<ddv> jnoob22: looks weird, 1.9.1 is also pretty old
<ddv> jnoob22: and I would use a version manager also
Stalkr_ has joined #ruby
<apeiros_> given all those warnings it looks more like incompatible versions
alderamin has quit []
kp666 has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
<centrx> jnoob22, Also would recommend using ruby2.0 package in Ubuntu 14.04, that is the newest version there
<jnoob22> thanks guys. I'm using the standard packages from Ubuntu
abuzze has quit [Ping timeout: 245 seconds]
<apeiros_> and given that libarchive's last release is ~5y old…
<apeiros_> ok, more like 4y, still
<jnoob22> ah... any other module to use for 'tar'?
tier has quit [Ping timeout: 246 seconds]
mdw has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
abuzze_ has quit [Ping timeout: 245 seconds]
<jnoob22> gem seems to be working when i try to install rails... so it must not be broken but it is 1.9.3 (i know it mentions 1.9.1)
agent_white has quit [Read error: Connection reset by peer]
Originerd has left #ruby [#ruby]
Takle has joined #ruby
agent_white has joined #ruby
<centrx> jnoob22, Yes, the directories are called 1.9.1 but the real version is 1.9.3
koding123 has quit [Quit: Leaving]
<centrx> jnoob22, Still that is quite old
DaniG2k has joined #ruby
<jnoob22> thanks for the advice
Aova has quit [Read error: Connection reset by peer]
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has joined #ruby
<greenarrow> is it possible to order an array into a sequence like so https://gist.github.com/anonymous/c8c90776defcba33e65c
Aova has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
zenith_ has joined #ruby
rylev_ has quit [Read error: Connection reset by peer]
jerius has joined #ruby
rylev has joined #ruby
fabrice31_ has joined #ruby
atomical has joined #ruby
<ddv> greenarrow: call #sort on it? or am I missing something?
djbkd has joined #ruby
<thatslifeson> sort won't work there, it just has to be manually sorted
<ddv> oh
Jackneill has joined #ruby
<greenarrow> manually?
enebo has joined #ruby
yeticry has quit [Ping timeout: 244 seconds]
<centrx> Why are you using a computer at all then
<thatslifeson> not sure if joke or serious
fabrice31 has quit [Ping timeout: 245 seconds]
iMe has joined #ruby
<thatslifeson> and yes, you have to write the sort method manually
gccostabr has quit [Quit: ZZZzzz…]
yeticry has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
freerobby has quit [Client Quit]
greenarr_ has joined #ruby
<centrx> oh I see
<centrx> I take it greenarrow knows thatslifeson ?
<thatslifeson> how to write the method? i'm not sure
aclearman037 has joined #ruby
rubytor has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> that ordering isn't something most sort algorithms can deal with, seeing as it can't have strict ordering applied... NewsArticle > Event > Tweet > NewsArticle...
<jnoob22> Hmm. I try: rvm use 2.2.0 but I get: RVM is not a function, selecting rubies with 'rvm use ...' will not work.
krz has quit [Quit: WeeChat 1.0.1]
avahey has joined #ruby
wottam has joined #ruby
paolooo has quit [Quit: Page closed]
<thatslifeson> just use the <=> operator, compare both elements on its sides
<thatslifeson> and then sort as is
greenarrow has quit [Ping timeout: 252 seconds]
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
IrishGringo has quit [Read error: Connection reset by peer]
<greenarr_> hmm
greenarr_ is now known as greenarrow
devdazed has joined #ruby
<centrx> What is the actual rule for the sort
IrishGringo has joined #ruby
<jnoob22> nm .... had to do /bin/bash --login .. weird.
Deele has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<workmad3> thatslifeson: <=> doesn't seem possible there, as NewsArticle <=> Event could be 1 or -1... NewsArticle <=> NewsArticle could be 0 or -1...
agent_white has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> more likely what you need to do is duplicate the source array, then construct the sorted array by looking for the next NewsArticle, then the next Event, then the next Tweet, popping each used item out until the source is empty
josephndenton has joined #ruby
freerobby has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
allcentury has joined #ruby
puppetmonkey has joined #ruby
atomical has quit [Ping timeout: 245 seconds]
tesuji has quit [Ping timeout: 244 seconds]
MasterPiece has quit [Quit: Leaving]
agent_white has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
agent_white has joined #ruby
atomical has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
tokik has joined #ruby
User458764 has joined #ruby
Guest15 has joined #ruby
werelivinginthef has joined #ruby
haylon has joined #ruby
voronika has joined #ruby
<voronika> /j #rails
<greenarrow> thanks workmad3
Takle has quit [Remote host closed the connection]
allcentury has joined #ruby
fryguy9 has quit [Quit: Leaving.]
lmickh has joined #ruby
raphaelss has quit [Quit: leaving]
frogsy has quit []
sambao21 has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
piotrj has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
yekta has joined #ruby
thebastl_ has joined #ruby
nateberkopec has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
it0a has joined #ruby
fryguy9 has joined #ruby
thebastl has quit [Ping timeout: 255 seconds]
byprdct has joined #ruby
dc_ has quit [Remote host closed the connection]
shum1 has joined #ruby
Choclo has joined #ruby
hamakn has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fryguy9 has quit [Client Quit]
krz has joined #ruby
Choclo is now known as Choclo[Away]
agent_white has quit [Read error: Connection reset by peer]
Choclo[Away] is now known as Choclo
agent_white has joined #ruby
Channel6 has joined #ruby
Takle has joined #ruby
atourino has joined #ruby
bronson has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
abuzze__ has quit [Ping timeout: 245 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
mitchellhenke has joined #ruby
posixpascal has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
amystephen has joined #ruby
mistermocha has joined #ruby
iMe has joined #ruby
zapata has quit [Quit: leaving]
IrishGringo has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 246 seconds]
mistermo_ has joined #ruby
shellfu_afk is now known as shellfu
zyxelthrone has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
<hs366> hi, can i get some hint on this code plz pastebin.com/K3hrSf2R
agent_white has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
josephcs has quit [Quit: (null)]
<centrx> hs366, Hint #1: Needs better formatting so it is more readable
<hs366> centrx, sorry about that i'll do next time
<ddv> #2: Don't use pastebin
dumdedum has joined #ruby
<hs366> ddv, any alternative ?
<centrx> hs366, "c[:ExposedPorts].each" expects the value of c[:ExposedPorts] to be an Enumerable (like an Array)
<hs366> gist yah]
mistermocha has quit [Ping timeout: 245 seconds]
railsForDaiz has quit [Quit: Textual IRC Client: www.textualapp.com]
<ddv> gist it yes
<hs366> ok
<gregf__> greenarrow: data = ["NewsArticle", "NewsArticle", "NewsArticle", "NewsArticle", "Event", "Event", "Tweet", "Tweet", "Event"]; a = [ "NewsArticle", "Event", "Tweet"].inject([]) { |d, t| d << data.grep(t)};sorted = []; (a[0].size > a[1].size ? ( a[1].size > a[2].size ? a[2].size : a[1].size ) : a[0].size > a[2].size ? a[2].size : a[0].size ).times { sorted << [a[0].pop, a[1].pop, a[2].pop] }; p sorted.flatten
rbennacer has joined #ruby
<greenarrow> holy
<hs366> centrx, can you explain e little bit more plz
rbennacer has quit [Remote host closed the connection]
<greenarrow> gregf__ now the question is which one is faster :D yours or workmad3 's solution
<gregf__> greenarrow: well, i wrote it just for a change ;)
<greenarrow> an annoying problem it is
<centrx> >> "22/tcp".each { |x| p x }
<eval-in__> centrx => undefined method `each' for "22/tcp":String (NoMethodError) ... (https://eval.in/282597)
<gregf__> you can do it all in 1 loop with some clever logic. but yeah, workmad3's solution is prolly faster
The_Phoenix has quit [Read error: Connection reset by peer]
<hs366> i c,
hamakn has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
sambao21 has quit [Quit: Computer has gone to sleep.]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
<hs366> centrx, i'll try it , thx!!
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
sambao21 has joined #ruby
The_Phoenix has joined #ruby
<gregf__> greenarrow: workmad3's solution is the one loop one ;)
checkit has quit [Quit: (null)]
fryguy9 has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<greenarrow> gregf__ yeh thanks
The_Phoenix has joined #ruby
Kricir has joined #ruby
rbennacer has joined #ruby
<gregf__> greenarrow: is that data from a queue?
alderamin has joined #ruby
redsoup has quit [Ping timeout: 244 seconds]
Guest15 has quit [Quit: Textual IRC Client: www.textualapp.com]
zorak8 has joined #ruby
Aova has quit [Read error: Connection reset by peer]
hs366 has quit [Quit: Leaving]
terlar has quit [Ping timeout: 245 seconds]
rylev has quit []
jerius_ has joined #ruby
trufflesnout has quit [Quit: Leaving...]
<apeiros_> greenarrow: alternatively: split your array up into news, events and tweets array. sort those arrays. then do news.zip(events, tweets)
terlar has joined #ruby
Aova has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
jerius has quit [Ping timeout: 250 seconds]
Dreamer3 has quit [Ping timeout: 264 seconds]
agent_white has quit [Read error: Connection reset by peer]
GPH|work has joined #ruby
piotrj_ has joined #ruby
piotrj has quit [Read error: No route to host]
agent_white has joined #ruby
iMe has joined #ruby
piotrj has joined #ruby
Dreamer3 has joined #ruby
olivier_bK has joined #ruby
thebastl_ has quit [Quit: Leaving...]
zenith_ has quit [Read error: Connection reset by peer]
<olivier_bK> i have a methode that return path
<olivier_bK> how can i add this return to Dir ?
<olivier_bK> example
Macaveli has quit [Ping timeout: 244 seconds]
<olivier_bK> Dir[valueReturnByMethode, '/*' ]
antgel has quit [Ping timeout: 252 seconds]
piotrj_ has quit [Ping timeout: 245 seconds]
zenith_ has joined #ruby
abilon has joined #ruby
abilon has quit [Client Quit]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
yekta has quit [Quit: yekta]
tagrudev has quit [Remote host closed the connection]
<canton7> you know how to interpolate strings, right?
vtunka has joined #ruby
leafybasil has quit [Remote host closed the connection]
<canton7> create a new string out of two existing strings?
Takle has quit [Remote host closed the connection]
<hanmac1> olivier_bK: also File.join
zacstewart has quit [Remote host closed the connection]
leafybasil has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mistermo_ has quit [Ping timeout: 255 seconds]
colli5ion has joined #ruby
mdw has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<michael_mbp> apeiros_: ah thanks
tier_ has quit [Ping timeout: 264 seconds]
<michael_mbp> cheers for the heads up
mitchellhenke has quit [Ping timeout: 265 seconds]
fmcgeough has joined #ruby
mistermocha has joined #ruby
ghostpl has quit [Remote host closed the connection]
antgel has joined #ruby
davedev24_ has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
mitchellhenke has joined #ruby
sent1nel has quit [Remote host closed the connection]
Gonzih has quit [Ping timeout: 250 seconds]
pierre1_ has joined #ruby
<greenarrow> gregf__ apeiros_ thanks guys it's all good now :)
crueber has joined #ruby
mistermocha has quit [Remote host closed the connection]
davispuh has joined #ruby
jlast has joined #ruby
tunaCanBruh has joined #ruby
momomomomo has joined #ruby
JDiPierro has joined #ruby
mroach has quit [Quit: mroach]
Takle has joined #ruby
JDiPierro has quit [Remote host closed the connection]
JDiPierro has joined #ruby
iMe has quit [Ping timeout: 240 seconds]
Choclo has quit [Ping timeout: 252 seconds]
apurcell has joined #ruby
jcromartie has joined #ruby
<thatslifeson> true workmad3, good thinking
DonOtreply has joined #ruby
Choclo has joined #ruby
ismael_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
YamakasY has joined #ruby
shredding has quit [Quit: shredding]
sambao21 has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
iMe has joined #ruby
zacstewart has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
<YamakasY> hi guys, in this gsub in an each I can escape a dot but when I see a *. in that same gsub could I replace it with a .*.\
<YamakasY> dt.gsub( "\." ,"\\.")}.each do
mbeasley has joined #ruby
hanmac1 has quit [Remote host closed the connection]
DadoCe has joined #ruby
psy_ has joined #ruby
apurcell has quit [Ping timeout: 246 seconds]
IrishGringo has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
<canton7> ..are you asking something? confused
<YamakasY> me ?
<ddv> YamakasY: who else?
<YamakasY> yes that was aquestion but I didn't do the questionmark as it could confuse the code :)
tier has joined #ruby
<YamakasY> ddv: a bot / ;P
Sawbones has joined #ruby
<ddv> :)
snath has quit [Ping timeout: 252 seconds]
<canton7> still not sure what the question is I'm afraid :P
DadoCe has quit [Ping timeout: 256 seconds]
<canton7> it looks like you're playing with regex, but you're not using regex...
<YamakasY> erm I am ?
<canton7> ".." is not regex
EvanFreeman has joined #ruby
TheNet has joined #ruby
<canton7> >> "hello.world".gsub(".", "X")
<eval-in__> canton7 => "helloXworld" (https://eval.in/282625)
<canton7> >> "hello.world".gsub(/./, "X")
<eval-in__> canton7 => "XXXXXXXXXXX" (https://eval.in/282626)
<centrx> String object vs Regexp object
yfeldblum has quit [Ping timeout: 265 seconds]
danman has joined #ruby
jimms has quit [Read error: No route to host]
Takle has joined #ruby
EvanFree_ has joined #ruby
Takle has quit [Remote host closed the connection]
jimms has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
Apocalypse has quit [Remote host closed the connection]
commmmodo has joined #ruby
EvanFreeman has quit [Ping timeout: 244 seconds]
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
gsd has joined #ruby
IrishGringo has joined #ruby
pdoherty has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
Gonzih has joined #ruby
Sawbones has quit [Ping timeout: 245 seconds]
ghostpl has joined #ruby
bal has quit [Quit: bal]
<diegoviola> convention over configuration is a good thing, I miss that when not working with rails
<diegoviola> am I just lazy?
<diegoviola> hrm
<thatslifeson> nope
xjiujiu has quit [Ping timeout: 252 seconds]
ywbjux has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
GaryOak_ has joined #ruby
mary5030 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
<thatslifeson> just means you like CoC
iMe has quit [Ping timeout: 252 seconds]
<thatslifeson> lol
<thatslifeson> I bet you are writing something in Django
<workmad3> thatslifeson: you know you're low when you laugh at your own penis jokes :P
<thatslifeson> hahahahahaha
zacstewart has quit [Remote host closed the connection]
<TheNet> What's the best way to pass data between threads? Ideally I want something that work similarly to how sockets (TCP) work.
<TheNet> *works
Morkel has joined #ruby
rap has joined #ruby
iMe has joined #ruby
<thatslifeson> require 'thread' @ TheNet
freerobby has joined #ruby
<diegoviola> CoC?
<thatslifeson> Convention over Config
byprdct has quit [Ping timeout: 244 seconds]
IrishGringo has joined #ruby
apeiros_ has quit [Ping timeout: 245 seconds]
willgorm- is now known as willgorman|away
<diegoviola> I've started with a small roda/sinatra script and then it quickly grow into controllers, models and views, etc
<thatslifeson> @ TheNet, not sure if thats the best way, but I would use 'thread'
<diegoviola> so I might as well just use rails, no?
<thatslifeson> sure, i mean, you are in a Ruby room -- go for rails, it really depends on what you are doing though
DonOtreply has quit [Quit: DonOtreply]
<workmad3> thatslifeson: saying 'use threads' doesn't really answer the question 'how do I pass data between threads' :P
havenwood has joined #ruby
<TheNet> thatslifeson: I'm guessing you mean this? https://github.com/meh/ruby-thread
<thatslifeson> Haha, yeah its a pretty bad answer, but I meant: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/thread/rdoc/Queue.html
<workmad3> thatslifeson: heh :) yeah, a queue is a better answer ;)
<thatslifeson> being lazy today
rbennacer has quit [Remote host closed the connection]
zacstewart has joined #ruby
<workmad3> TheNet: how to safely share mutable data between threads is probably one of the most discussed topics around threads btw
<workmad3> TheNet: lots of discussions about different mechanisms out there on googles
Timgauthier has quit [Read error: Connection reset by peer]
<TheNet> workmad3: I tried the googles but it rejected me :(
<TheNet> workmad3: I actually honestly didn't find that much myself
Timgauthier has joined #ruby
<workmad3> TheNet: if you want something socket-like though, thatslifeson's suggestion of a queue is probably the way to go
amundj has quit [Ping timeout: 255 seconds]
<workmad3> push data in one end of the queue, it pops out the other next time that thread can check it
bronson has joined #ruby
<TheNet> alright I'll give it a shot
<TheNet> thatslifeson, workmad3: thanks!
<workmad3> and you can usually do sensible things, like make the .push block if the queue is full, and the .pop block if the queue is empty (which handles client starvation and server over-production aspects in a lot of cases)
tubbo has joined #ruby
tubbo has left #ruby ["WeeChat 1.1.1"]
Aova has quit [Read error: Connection reset by peer]
kapil__ has quit [Quit: Connection closed for inactivity]
momomomomo has quit [Quit: momomomomo]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
railsForDaiz has joined #ruby
amundj has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
deuterium has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
odin22 has joined #ruby
redsoup has joined #ruby
gsd has joined #ruby
psyprus has quit [Changing host]
psyprus has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
<YamakasY> canton7: yeah true, sorry was away
<YamakasY> be back in 20 min aain
Aova has joined #ruby
danzilio has joined #ruby
hamakn has joined #ruby
mistermocha has joined #ruby
x77686d has joined #ruby
abuzze has joined #ruby
sent1nel has joined #ruby
xjiujiu has joined #ruby
totimkopf has joined #ruby
zenith_ has joined #ruby
pglombardo has joined #ruby
snath has joined #ruby
timonv has joined #ruby
mistermocha has quit [Client Quit]
sent1nel has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 252 seconds]
olivier_bK has quit [Read error: Connection reset by peer]
nfk has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
pu22l3r has joined #ruby
Zai00_ has joined #ruby
fedalto has joined #ruby
Zai00 has quit [Ping timeout: 245 seconds]
Zai00_ is now known as Zai00
redsoup has quit [Read error: No route to host]
redsoup has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nepgear has joined #ruby
nepgear has quit [Client Quit]
sent1nel has joined #ruby
zyxelthrone has joined #ruby
davidhq has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
dblessing has joined #ruby
<alderamin> Is there a common implementation of a bag/multiset in ruby? I can't find one in stdlib docs.
davidhq has quit [Client Quit]
Timgauthier has joined #ruby
karmatr0n has joined #ruby
<alderamin> Oh, nevermind.
towski_ has joined #ruby
towski_ has quit [Remote host closed the connection]
chrishough has joined #ruby
momomomomo has joined #ruby
shredding has joined #ruby
iMe has quit [Ping timeout: 244 seconds]
railsForDaiz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
riotjone_ has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
_maes_ has joined #ruby
<TheNet> is it possible to overwrite more than just the last line in ruby/delete lines?
tier has quit [Remote host closed the connection]
<TheNet> I'm talking about terminal output (\r)
iMe has joined #ruby
tier has joined #ruby
sigurding has quit [Quit: sigurding]
jottr has quit [Ping timeout: 240 seconds]
idiocrash has quit [Ping timeout: 265 seconds]
IrishGringo has quit [Ping timeout: 265 seconds]
zachrab has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
zachrab has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
odin22 has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
mikepack has joined #ruby
spider-mario has joined #ruby
vvivv has quit [Ping timeout: 255 seconds]
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
sambao21 has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
Megtastique has joined #ruby
rushed has joined #ruby
aclearman037 has joined #ruby
davedev24_ has quit [Ping timeout: 250 seconds]
Timgauthier is now known as timgauthier_away
fantazo has quit [Quit: Verlassend]
harfangk has quit [Quit: This computer has gone to sleep]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv has quit [Ping timeout: 245 seconds]
vasilakisfil has quit [Quit: Konversation terminated!]
DonOtreply has joined #ruby
<eam> won't work on a teletype
danzilio has quit [Read error: Connection reset by peer]
mengu has quit []
willgorman|away is now known as willgorm-
cocotton has joined #ruby
TheKruex has joined #ruby
danzilio has joined #ruby
rap has quit [Remote host closed the connection]
danzilio has quit [Max SendQ exceeded]
<YamakasY> canton7: ok back :)
danzilio has joined #ruby
<TheNet> is it possible to disabled the prompt box/disabled user input?
Channel6 has quit [Quit: Leaving]
iMe has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
iMe has joined #ruby
bean has quit [Read error: Connection reset by peer]
bean_ has joined #ruby
bean_ is now known as Guest67238
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Choclo_ has joined #ruby
Hobogrammer has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adamjleonard has joined #ruby
Choclo_ is now known as Choclo[Away]
DEA7TH has quit [Quit: No Ping reply in 180 seconds.]
hesco has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
paulfm has quit [Quit: Zzzzz...]
harfangk has joined #ruby
<eam> TheNet: what do you mean?
DEA7TH has joined #ruby
Takle has quit [Remote host closed the connection]
preller_ has quit [Ping timeout: 272 seconds]
<TheNet> remove the little _ prompt you get when running a ruby script
ghostmoth has joined #ruby
Choclo has quit [Ping timeout: 256 seconds]
TheKruex has quit [Ping timeout: 246 seconds]
<TheNet> but still be able to puts to the console
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenith_ has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
zenith_ has joined #ruby
<eam> ruby doesn't make a prompt. You want to change your terminal's cursor?
dfinninger has joined #ruby
rbennacer has joined #ruby
aclearman037 has quit [Quit: I'm out!]
zacstewart has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
lightstalker has joined #ruby
<TheNet> eam: really what I want to do is hide the text the user types when they hit enter
<eam> TheNet: stty -echo
sambao21 has quit [Quit: Computer has gone to sleep.]
yago has joined #ruby
msgodf has quit [Ping timeout: 252 seconds]
<TheNet> eam: can you clarify?
abuzze has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 244 seconds]
mdw has quit [Ping timeout: 246 seconds]
<eam> ruby -e'begin; system "stty -echo"; x = gets; puts "got #{x}"; ensure system "stty echo"; end'
momomomomo has quit [Quit: momomomomo]
<eam> if you want to turn off the echoing of typed characters to the terminal display, you want stty -echo
antgel has joined #ruby
paulfm has joined #ruby
<eam> there's probably a gem that lets you do the ioctl / TCSETS directly but this is probably fine for your purposes
hamakn has quit [Remote host closed the connection]
<eam> ANSI sequences will let you do colors, move the cursor, or change the cursor http://en.wikipedia.org/wiki/ANSI_escape_code
<eam> if you want to do a lot of this, consider using something on top of ncurses
yago has quit [Remote host closed the connection]
xjiujiu has quit [Read error: Connection reset by peer]
<TheNet> eam: thanks, that worked. however now it hides the users's input while they're typing it
<TheNet> I just want to hide it when they hit enter
xjiujiu has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
<eam> you want it to display while they're typing, then clear it when enter is pressed?
Sawbones has quit [Remote host closed the connection]
<TheNet> yep
mmoretti has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<workmad3> curses
paulfm has joined #ruby
<eam> yeah, you want ncurses
tunaCanBruh has joined #ruby
agent_white has joined #ruby
Sawbones has joined #ruby
timonv has joined #ruby
<eam> and you should realize that whatever approach you take will not always work
apeiros_ has joined #ruby
<eam> terminals are a mess
iMe has quit [Ping timeout: 256 seconds]
<TheNet> ^ colors :(
<eam> yeah
<TheNet> it looks pretty overkill for me
blackmesa has quit [Quit: WeeChat 1.1]
<TheNet> is there an ANSI code that says "delete and close line"? \e[K just erases the line
michael_mbp has quit [Excess Flood]
paradoja has quit [Ping timeout: 245 seconds]
Xeago_ has joined #ruby
chrishough has joined #ruby
iMe has joined #ruby
dopie has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
Sawbones has quit [Ping timeout: 256 seconds]
tunaCanBruh has quit [Ping timeout: 250 seconds]
hmsimha has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
jottr has joined #ruby
TheKruex has joined #ruby
michael_mbp has joined #ruby
_bart has quit [Quit: Page closed]
tokik has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 265 seconds]
Xeago has quit [Ping timeout: 256 seconds]
cphrmky has joined #ruby
d10n-work has joined #ruby
Tamae has quit [Ping timeout: 245 seconds]
goodenough has joined #ruby
piotrj has quit [Remote host closed the connection]
bricker has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
hesco has joined #ruby
danjordan has quit [Quit: danjordan]
Aova has joined #ruby
piotrj has joined #ruby
AdNauseaum has joined #ruby
vtunka has quit [Quit: Leaving]
CustosL1men has quit [Ping timeout: 264 seconds]
danjordan has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
paulfm has quit [Read error: Connection reset by peer]
mikepack has quit [Read error: Connection reset by peer]
sent1nel has quit [Remote host closed the connection]
paulfm has joined #ruby
mikepack has joined #ruby
sambao21 has joined #ruby
sent1nel has joined #ruby
rbennacer has quit [Remote host closed the connection]
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 255 seconds]
Sawbones has joined #ruby
kalusn has quit [Remote host closed the connection]
Xeago_ has quit [Ping timeout: 252 seconds]
dc_ has joined #ruby
piotrj has quit [Remote host closed the connection]
RasKhadafi has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
sent1nel has quit [Ping timeout: 245 seconds]
harfangk has quit [Quit: This computer has gone to sleep]
himsin has joined #ruby
mleung has joined #ruby
rubytor has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
danjordan has quit [Quit: danjordan]
sambao21 has quit [Quit: Computer has gone to sleep.]
Zai00 has quit [Quit: Zai00]
apurcell has joined #ruby
alex88 has quit []
peasoup has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
redsoup has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
arup_r has joined #ruby
dling has joined #ruby
mikepac__ has joined #ruby
greenarrow has quit [Quit: 500]
swgillespie has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
momomomomo has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
swgillespie has quit [Client Quit]
riotjones has joined #ruby
TheNet has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
mikepack_ has quit [Ping timeout: 264 seconds]
davidhq has joined #ruby
yfeldblum has joined #ruby
zacstewart has joined #ruby
TheNet has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
qba73 has quit []
apurcell has quit [Ping timeout: 252 seconds]
paulfm has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
agent_white has joined #ruby
pushpak has joined #ruby
lsmola has quit [Ping timeout: 252 seconds]
iMe has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
paulfm has joined #ruby
sent1nel has quit [Remote host closed the connection]
roshanavand has joined #ruby
shadoi has joined #ruby
rubytor has quit [Ping timeout: 246 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 265 seconds]
ebbflowgo has joined #ruby
Sawbones has quit [Remote host closed the connection]
TheNet has quit [Read error: Connection reset by peer]
jefus_ has joined #ruby
mrsolo has joined #ruby
TheNet has joined #ruby
checkit has joined #ruby
momomomomo_ has joined #ruby
DaniG2k has quit [Quit: leaving]
TheNet has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo_ is now known as momomomomo
TheNet has joined #ruby
terlar has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
deol has joined #ruby
Lemur has joined #ruby
pengin has joined #ruby
jefus has quit [Ping timeout: 250 seconds]
gccostabr has joined #ruby
raphaelss has joined #ruby
peasoup has quit [Ping timeout: 264 seconds]
wldcordeiro has joined #ruby
mikepac__ is now known as mikepack
ghostpl has quit [Remote host closed the connection]
paulfm has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
leafybasil has quit [Remote host closed the connection]
mleung has quit [Ping timeout: 245 seconds]
fryguy9 has quit [Quit: Leaving.]
thatslifeson has quit [Remote host closed the connection]
<YamakasY> anyone around ?
TheNet has quit [Quit: Leaving...]
balazs has joined #ruby
ellisTAA has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<ellisTAA> can someone explain this: <=>; to me, e.g. a = [1,2,3] a.sort {|a,b| a<=>b}
<balazs> heya. Is there a safe way to use backticks where no shell interpolation happens ?
tjohnson has joined #ruby
jaequery has joined #ruby
gccostab_ has joined #ruby
<apeiros> ellisTAA: <=> is a normal method.
mleung has joined #ruby
<centrx> ellisTAA, It's called the spaceship operator
<apeiros> it compares two values and returns whether it's smaller, equal or bigger.
livathinos has joined #ruby
x77686d has quit [Ping timeout: 245 seconds]
<ellisTAA> apeiros, but it doesn’t return the words smaller, bigger it returns the value so how does that work? how does it know what order to return them to me?
livathin_ has joined #ruby
RasKhadafi has joined #ruby
sent1nel has joined #ruby
DEA7TH has quit [Ping timeout: 252 seconds]
knutmithut has joined #ruby
<eam> ellisTAA: it returns 1, 0 or -1
druznek has quit [Ping timeout: 245 seconds]
<ellisTAA> apeiros: in the case with sort it returns the array but in an order determined by <=>
gccostabr has quit [Ping timeout: 265 seconds]
Grumelo has quit [Read error: Connection reset by peer]
<apeiros> ellisTAA: which is what sort would use by default anyway
<YamakasY> ok, replacing *.foo into .*.\foo where foo also can be blabla.foo
<apeiros> ellisTAA: also methods have method documentation
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> >> [9 <=> 8, 9 <=> 9, 8 <=> 9]
<eval-in__> eam => [1, 0, -1] (https://eval.in/282716)
pasv_ has joined #ruby
commmmodo has quit [Quit: commmmodo]
momomomomo has quit [Quit: momomomomo]
<eam> the sort() method calls its block repeatedly to compare two individual elements
<ellisTAA> apeiros: ty
jimms has quit [Remote host closed the connection]
<knutmithut> hey guys, i'm having trouble with SerialPort. I use it to send and receive binary data, but after some time it stops working. Even though the opend port does not get closed, it stops sending. And ideas about what's happening? Here is my code and some basic usage/output:
peasoup has joined #ruby
daveomcd has quit [Ping timeout: 245 seconds]
sent1nel has quit [Remote host closed the connection]
commmmodo has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
livathinos has quit [Ping timeout: 265 seconds]
daveomcd has joined #ruby
Lemur has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
TheKruex has quit [Ping timeout: 245 seconds]
mitchellhenke has joined #ruby
Lemur has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
uptownhr has joined #ruby
uptownhr has quit [Client Quit]
peasoup has quit [Ping timeout: 245 seconds]
towski_ has joined #ruby
wallerdev has joined #ruby
mitchellhenke has quit [Read error: Connection reset by peer]
sjmikem has joined #ruby
mitchellhenke has joined #ruby
withnale__ has quit [Ping timeout: 240 seconds]
adamjleonard has quit [Quit: Leaving...]
jimms has joined #ruby
mitchell_ has joined #ruby
dopie has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Lemur has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
agent_white has joined #ruby
pengin has quit [Remote host closed the connection]
xjiujiu has quit [Read error: Connection reset by peer]
iMe has quit [Ping timeout: 265 seconds]
cphrmky has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
pengin has joined #ruby
<eam> knutmithut: well, where is it stopping?
<knutmithut> when the received array is empty
<havenwood> ellisTAA: Here's a rock-paper-scissors example of Comparable: https://gist.github.com/havenwood/8e6a3bfd53854634f298
<eam> knutmithut: I mean, can you describe the problem? What is occuring and what do you think shouldn't be occuring?
<ellisTAA> havenwood: ty
iMe has joined #ruby
hmsimha has joined #ruby
adamjleonard has joined #ruby
mitchellhenke has quit [Ping timeout: 255 seconds]
rubytor has joined #ruby
peasoup has joined #ruby
ptrrr has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
pengin has quit [Ping timeout: 240 seconds]
agent_white has quit [Quit: bbl]
maximski has joined #ruby
<YamakasY> erm anyone ? do I need to chain ?
<knutmithut> eam: i'm sending these commands to a board which will set relays and another one that has an amplifier for a scale. both send 4 bytes in return, if the command was accepted. it works fine, until i start playing around with the scale, so the return value of the amplifier gets altered. then i receive once just 7 bytes (1 from the amplifier gets lost) and in the next iteration the serialport does not send anymore (checked with an
<knutmithut> oszilloscope).
maximski has quit [Max SendQ exceeded]
dorei has joined #ruby
chrishough has joined #ruby
<knutmithut> and it just works again, if i create a new SerialPort object (or restart the console)
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
Aova has quit [Read error: Connection reset by peer]
lolmaus has quit [Quit: Konversation terminated!]
<knutmithut> is there maybe one byte of the 255 that influences the serialport in any way?
abuzze has joined #ruby
rippa has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
<eam> knutmithut: yes, serial ports have a line protocol
tunaCanBruh has quit [Ping timeout: 250 seconds]
<knutmithut> even if an error occurs and a byte cannot be read, the next time the loop runs it should work again
<eam> it's been a long time since I've fooled with this but you could absolutely be setting a state
maximski has joined #ruby
arup_r has joined #ruby
maximski has quit [Max SendQ exceeded]
<eam> knutmithut: for example (sorry, somewhat unrelated) I uncovered a bug with syslog once where logging would hang when attempting to print to the console
maximski has joined #ruby
<knutmithut> do you know how? because i need to be able to send and read all 256 bytes
shredding has joined #ruby
* YamakasY is lost
<eam> because a buggy DRAC would unset CLOCAL and block open() on DCD
ismael_ has quit [Remote host closed the connection]
<eam> knutmithut: read up on how serial ports work, I'm happy to help however I can but I'd have to RTFM for a bit myself
sent1nel has joined #ruby
<eam> knutmithut: you might look at what the gem is doing under the hood
abuzze has quit [Ping timeout: 252 seconds]
apurcell has joined #ruby
<eam> there may be some ioctls involved
mikecmpbll has joined #ruby
<knutmithut> yeah i'm currently trying to figure that out, hoped someone knew an answer somewhat faster than reading a lot of code :)
Aova has joined #ruby
<knutmithut> i can't even figure out which byte is problematic
shum1 has quit [Ping timeout: 250 seconds]
<eam> knutmithut: what serial device are you working on? try stty -F /dev/whatever
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zachrab has joined #ruby
<eam> knutmithut: or use strace to pull out any interaction with the serial device and see what actually is going on
JoshGlzBrk has joined #ruby
jefus_ is now known as jefus
himsin has quit [Ping timeout: 240 seconds]
<eam> this reminds me, I should get my pi running
<knutmithut> ttySAC0, it's a odroid U3
rubytor has quit [Quit: No Ping reply in 180 seconds.]
<YamakasY> anyone good at regex ?
blackoperat has joined #ruby
<eam> knutmithut: well, inspect its state while working / not working
rubytor has joined #ruby
<eam> YamakasY: don't ask to ask, just ask
<knutmithut> ok, I'll do it :)
<YamakasY> eam: I did
<YamakasY> ok, replacing *.foo into .*.\foo where foo also can be blabla.foo
IrishGringo has joined #ruby
chinmay_dd has joined #ruby
himsin has joined #ruby
<YamakasY> so I need to escape the dot and place a dot in front of a * when it's there
shredding has quit [Quit: shredding]
<eam> I don't understand the problem, sorry. Could you restate it with more detail?
dmolina has quit [Ping timeout: 264 seconds]
livathin_ has quit []
<YamakasY> ok, I can have foo.domain.tld where I need to escape all the dots, but I can also have *.domain.tld where I need to escape the dots and place a dot in front of the *
zachrab has quit [Ping timeout: 256 seconds]
iMe has quit [Ping timeout: 250 seconds]
ki0 has quit [Ping timeout: 250 seconds]
LouisRoR has quit [Ping timeout: 246 seconds]
<eam> do you want the dot in front of the * escaped?
colli5ion has quit []
IrishGringo has quit [Ping timeout: 245 seconds]
jgt has quit [Ping timeout: 256 seconds]
iMe has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<YamakasY> eam: that is OK
<YamakasY> escaping is never a problem
<YamakasY> sorry I made a mess in the kitchen :D
alderamin has quit [Ping timeout: 252 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
m8 has joined #ruby
<YamakasY> eam: do I need some | ?
ponga has quit [Quit: Leaving...]
zacstewart has quit [Remote host closed the connection]
jgt has joined #ruby
<ellisTAA> when i run this and pass “aabbb” into it it returns [‘a’, 2]; instead of [‘b’, 3] … anyone know why
<YamakasY> eam: ping me or I won't see you :)
bklane has joined #ruby
fantazo has joined #ruby
zacstewart has joined #ruby
mitchell_ has quit [Quit: Computer has gone to sleep.]
puppetmonkey has joined #ruby
jottr has joined #ruby
mitchellhenke has joined #ruby
Pupeno has joined #ruby
andikr has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
zenith_ has joined #ruby
Choclo[Away] has quit [Quit: Meh... Gone!]
<havenwood> Less than two weeks until 1.9.3 EOL. 1.9 is dead, long live 2.2!
diegoviola has quit [Read error: Connection reset by peer]
peterhu_ has quit [Quit: leaving]
livinded has joined #ruby
<havenwood> alekst_: what's "this"?
<havenwood> alekst_: sorry, misstell
<havenwood> ellisTAA: ^
<ellisTAA> oops forgot to include link https://gist.github.com/anonymous/65ae37181eec3a3b2765
<livinded> Is there a way to use Rack::Multipart to parse multipart payloads and actually load files into a Rack::Multipart::UploadedFile rather than just returning the params hash so I can use Rack::Multipart.build_multipart with it?
<YamakasY> eam: ping ?
fantazo has quit [Ping timeout: 246 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
maximski has quit []
EvanFree_ has quit [Remote host closed the connection]
fantazo has joined #ruby
shredding has joined #ruby
iMe has quit [Ping timeout: 265 seconds]
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<knutmithut> eam: seems to work when i set the tty to raw mode with 'sudo stty raw -F /dev/ttySAC0'
bklane has quit [Remote host closed the connection]
JoshGlzBrk has quit [Client Quit]
Xeago has joined #ruby
zacstewart has joined #ruby
russt has joined #ruby
OrbitalKitten has joined #ruby
triple_b has joined #ruby
c_nick has joined #ruby
iMe has joined #ruby
<c_nick> what is the difference of green threads and normal threads
momomomomo has joined #ruby
bklane has joined #ruby
adamjleonard has quit [Quit: Leaving...]
segv has quit [Ping timeout: 255 seconds]
lidaaa has joined #ruby
adamjleonard has joined #ruby
<havenwood> c_nick: Green threads are made by the green team, of course!
<eam> YamakasY: sorry. so, something like this?
<eam> >> "foo.bar\.baz".gsub(/([^.])\./, '\1\.')
<eval-in__> eam => "foo\\.bar\\.baz" (https://eval.in/282737)
<c_nick> yeah I referring to their source 'G'oogle
<eam> knutmithut: aha, that would make sense, perhaps you're inadvertantly changing a line setting somehow
blackmesa has joined #ruby
<eam> knutmithut: if you strace -eioctl your ruby script you should be able to see what it's doing with those
<havenwood> c_nick: Maybe think of a green thread a pseudo thread that exists only inside the VM.
<YamakasY> eam: ok, but whan if there is a * instead of foo
dfinninger has quit [Remote host closed the connection]
<eam> YamakasY: you want to backslash escape * as well? turn "*" into "\*" ?
IrishGringo has joined #ruby
<havenwood> c_nick: So not like Ruby's native threads.
<c_nick> havenwood, hmm yeah vm threads without relying on native OS Threads
dfinninger has joined #ruby
fryguy9 has joined #ruby
lyuben_ has quit [Quit: This computer has gone to sleep]
<YamakasY> eam: no that should be replaces as .*.\bar.baz
<c_nick> havenwood, any significant advantage / disadvantage of using them ?
<eam> with \bar backslashed?
segv has joined #ruby
<YamakasY> eam: needs escaping ?
<eam> YamakasY: I don't understand the rules, but you can run gsub() multiple times. just modify the expression
<eam> you can change it to work however you like
<havenwood> c_nick: If you map your green thread to an os thread, one to one, the system can schedule them for you.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<YamakasY> eam: ok, but how ? chain ?
blackmesa has quit [Client Quit]
<eam> YamakasY: sure
segv has quit [Excess Flood]
<havenwood> c_nick: If it's just green threads, mapping to a single os thread, then there's only one os thread.
<YamakasY> eam: mhh I'm not sure there
lyuben_ has joined #ruby
jenrzzz has joined #ruby
<eam> YamakasY: when in doubt, break your work into smaller pieces
yfeldblum has joined #ruby
bronson has joined #ruby
<YamakasY> eam: but that would be a gsub in a gsub, issue ?
dfinninger has quit [Ping timeout: 244 seconds]
<c_nick> hmm
peasoup has quit [Ping timeout: 256 seconds]
<eam> YamakasY: new_string = your_string.gsub(); new_string = new_string.gsub; # repeat
Ivision has joined #ruby
rdark_ has quit [Read error: Connection reset by peer]
<eam> YamakasY: you can print it out in between
segv has joined #ruby
bronson_ has joined #ruby
graydot has joined #ruby
yago has joined #ruby
bronson has quit [Read error: Connection reset by peer]
<YamakasY> eam: ah that is indeed an idea, but where todo an each ?
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
<c_nick> havenwood, so when i do a green thread and access I/O it will block all the other threads too in that process
dc_ has quit [Remote host closed the connection]
<c_nick> or implement a synchronization / mutex etc
Choclo has joined #ruby
Ivision_ has quit [Ping timeout: 265 seconds]
raphaelss has quit [Ping timeout: 252 seconds]
pipework has joined #ruby
yago_ has joined #ruby
sambao21 has joined #ruby
zenith_ has quit [Ping timeout: 246 seconds]
<havenwood> c_nick: well, back in the 1.8 days of green threads... my understanding is that the green thread doing IO would release the global vm lock and let other green threads use the os thread.
abuzze has joined #ruby
<havenwood> c_nick: what brought up green threads?
kaspertidemann has joined #ruby
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
selu has joined #ruby
<c_nick> havenwood, Got it in my project. So in all interest of threads when should one go in for Green / non green
<c_nick> ! class project. Work Project
<havenwood> c_nick: Ruby 1.9+ is native threads. Ruby 1.8- is green threads.
graydot has quit [Quit: graydot]
OrbitalKitten has joined #ruby
<havenwood> c_nick: MRI, JRuby and Rubinius all use native threads, the latter two have even removed the global vm lock (GVL).
yago has quit [Ping timeout: 256 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
<havenwood> c_nick: Ruby 1.8 is dead, so native threads! :)
<havenwood> c_nick: Ruby 3.0 should see the removal of the GVL for MRI.
<c_nick> hmm. yeah
narph has joined #ruby
drkyro has joined #ruby
OrbitalKitten has quit [Client Quit]
jenrzzz has quit [Ping timeout: 245 seconds]
mrsolo has left #ruby ["Leaving"]
Deithrian has quit [Read error: Connection reset by peer]
IrishGringo has quit [Read error: Connection reset by peer]
slushie|| has joined #ruby
baweaver has joined #ruby
<YamakasY> eam: this was my idea dt.gsub( /\./ ,"\\.").gsub(/\*/, "\.*")}.each
<slushie||> does anyone know if GC in mri 2.1 is thread-safe?
momomomomo has quit [Quit: momomomomo]
systemd0wn has joined #ruby
Aova has joined #ruby
pandaant has quit [Remote host closed the connection]
drkyro has quit [Client Quit]
kroder has joined #ruby
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
<slushie||> if i have a pool of threads and i need to run garbage collection manually, should i run it from within the pooled threads or from the main thread?
iMe has quit [Ping timeout: 245 seconds]
kroder has quit [Remote host closed the connection]
IrishGringo has joined #ruby
<eam> YamakasY: seems fine
raphaelss has joined #ruby
<c_nick> havenwood, nice link :)
<c_nick> thanks
iMe has joined #ruby
selu has joined #ruby
c_nick has quit [Quit: Ex-Chat]
djbkd has joined #ruby
selu has quit [Client Quit]
tvw has quit []
OrbitalKitten has joined #ruby
cocotton_ has joined #ruby
riotjones has joined #ruby
<YamakasY> eam: but doesn't replace a *.domain in \.*.\domain
sambao21 has quit [Quit: Computer has gone to sleep.]
DonOtreply has quit [Quit: DonOtreply]
cocotton has quit [Ping timeout: 256 seconds]
kirun has joined #ruby
ismael_ has joined #ruby
fryguy9 has quit [Quit: Leaving.]
lucyinthesky has joined #ruby
lucyinthesky has left #ruby ["Leaving"]
riotjones has quit [Ping timeout: 264 seconds]
avahey has joined #ruby
DonOtreply has joined #ruby
lolmaus has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
peasoup has joined #ruby
fryguy9 has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
jenrzzz has joined #ruby
chrishough has joined #ruby
pygospa has quit [Ping timeout: 245 seconds]
danzilio has quit [Quit: My computer has fallen asleep!]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
athan has quit [Ping timeout: 246 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
blackoperat has quit [Ping timeout: 245 seconds]
fenzil has joined #ruby
dfinninger has joined #ruby
pygospa has joined #ruby
<ellisTAA> hello. i’m working on a problem that is frustrating me. i feel like i’m writing a lot of code for this problem. can anyone recommend a way that would reduce the code? i can’t think of dealing with it any other way
<havenwood> YamakasY: sub(/\A\*/, '.*').gsub(/\./ ,'\\.')
danzilio has joined #ruby
<havenwood> YamakasY: there's only one start of the String, so #sub instead of #gsub
nateberkope has joined #ruby
fedalto has quit [Quit: leaving]
nateberkopec has quit [Read error: Connection reset by peer]
wldcordeiro has quit [Ping timeout: 265 seconds]
<havenwood> ellisTAA: use `string.chars` in place of `string.split("")`
jenrzzz has quit [Ping timeout: 246 seconds]
Ivision has quit [Ping timeout: 252 seconds]
<havenwood> ellisTAA: it doesn't seem you quite understand #map yet
<ellisTAA> havenwood: why nto?
<ellisTAA> not
alex88 has joined #ruby
wldcordeiro has joined #ruby
<ellisTAA> my understanding of map is that it applies some code to every element of an array
<ellisTAA> and returns a new array
zachrab has joined #ruby
<havenwood> instead of `new_array = array.map ...` you're disregarding the #map return value and treating it like an #each, building your own Array manually.
randiman has joined #ruby
jenrzzz has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
roshanavand has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
<alex88> hi guys, maybe I'm just tired, but why https://gist.github.com/alex88/a94417e569ef91d47cc4 says it can't find mime-types 2.1 when the version is there?
Kruppe has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
<ellisTAA> havenwood: ok so if i’m not going to use the array that map would give me i should use each?
pdoherty has joined #ruby
<havenwood> ellisTAA: You should meditate on the difference between #each and #map and why you'd use one versus the other.
jimms has quit [Remote host closed the connection]
<ellisTAA> havenwood: word, ill do that. you mentioned using .chars is that because it is just shorter than writing .split("")
paulfm has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
<havenwood> ellisTAA: a method is simpler than a method with an argument. use the simplest thing.
ki0 has joined #ruby
Kruppe has joined #ruby
blackmesa has joined #ruby
<havenwood> ellisTAA: A hint, you'll not use #each for it's return value but you will use #map for its return value.
shum1 has joined #ruby
<havenwood> ellisTAA: Practice in irb and see if you can't get some enlightenment regarding #each and #map. It's important.
deric_skibotn has joined #ruby
<ellisTAA> havenwood: so use each when i dont need the new array and use map when i want to return a new array, yeah?
davedev2_ has joined #ruby
<YamakasY> havenwood: okay, so gsub is globally
<havenwood> YamakasY: repeated
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<alex88> ok I had to install mime-types manually
<YamakasY> havenwood: uhm, is that documented somewhere ?
Choclo is now known as Choclo[Away]
iliketurtles has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
<YamakasY> havenwood: mhh I places it in the wrong part of my code, not in some if ;)
<YamakasY> works
Takle has joined #ruby
postmodern has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
leat has quit [Remote host closed the connection]
<havenwood> YamakasY: Documented in the docs ^.
blackoperat has joined #ruby
blackoperat has quit [Remote host closed the connection]
aswen has joined #ruby
leat has joined #ruby
<havenwood> ellisTAA: #each repeatedly executes the block for each iteration (presumably for the side-effects). #map repeatedly executes the block and appends the return value for each iteration to a new Array.
iamjarvo has joined #ruby
Sawbones has joined #ruby
<YamakasY> havenwood: thanks
<havenwood> YamakasY: you're welcome
roshanavand has quit [Ping timeout: 240 seconds]
siso has joined #ruby
deuterium has quit [Quit: zzZZZzzz..]
<havenwood> ellisTAA: So #each for side-effect and #map for its return value, a new Array.
<wallerdev> or you can just always use map
<wallerdev> less to type right?
<wallerdev> lol
<ellisTAA> havenwood: ty
pu22l3r has quit []
<havenwood> ellisTAA: yw
<ellisTAA> anyone have time to solve this: https://gist.github.com/ellisTAA/738c7f089a77351f5178
pu22l3r has joined #ruby
<ellisTAA> i feel like my code is long and ugly, i’m looking for a way to reduce it
<havenwood> ellisTAA: consider using #map for its return value
<wallerdev> havenwood: :D
leat has quit [Ping timeout: 256 seconds]
OrbitalKitten has joined #ruby
<havenwood> "`e=="#{e}"` is shorter than `e.is_a? String`" >.>
fabrice31 has joined #ruby
OrbitalKitten has quit [Client Quit]
preller_ has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
paulfm has quit [Quit: Zzzzz...]
<shevy> so ugly!
siso has quit [Quit: siso]
reinaldob has quit [Remote host closed the connection]
<shevy> I also have to note down
<shevy> you did not add spaces around ==
<shevy> :)
bluOxigen has quit [Ping timeout: 264 seconds]
<shevy> btw
<shevy> why is it not object.is? Foo ?
<havenwood> shevy: for instance, class or global variables can shave off another two chars: @e=="#@e"
baweaver has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
tunaCanBruh has joined #ruby
danzilio has quit [Quit: My computer has fallen asleep!]
krz has quit [Quit: WeeChat 1.0.1]
rushed has quit [Quit: rushed]
tier has quit [Ping timeout: 246 seconds]
yago_ has quit [Remote host closed the connection]
leat has joined #ruby
danzilio has joined #ruby
pkrzywicki has joined #ruby
<shevy> hehe
<shevy> you are a minimalist
Takle has quit [Remote host closed the connection]
<havenwood> ellisTAA: A Regexp solution, just for the heck of it: gsub(/(?<!\A)[1 3 5 7 9](?!\z)/) { |n| "-#{n}-" }
exhacker has joined #ruby
Sawbones has quit [Remote host closed the connection]
gsd has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
rodfersou has quit [Quit: leaving]
<ellisTAA> havenwood: that will solve my problem?
<ellisTAA> here’s my final product: https://gist.github.com/ellisTAA/738c7f089a77351f5178 :\
<havenwood> >> '123456'.gsub(/(?<!\A)[1 3 5 7 9](?!\z)/) { |n| "-#{n}-" }
<eval-in__> havenwood => "12-3-4-5-6" (https://eval.in/282773)
Kricir has quit [Remote host closed the connection]
EvanFreeman has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
<havenwood> ellisTAA: You can just ask a Fixnum if it's odd, like: 3.odd? #=> true
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ellisTAA> havenwood: oh yeah …
<exhacker> I know this is very basic but could you tell me why this if statment won't work? https://gist.github.com/anonymous/6933028cc36556a2a6fc
<centrx> exhacker, should be "elsif"
sambao21 has joined #ruby
<exhacker> centrx: arg!! Thanks!
dagda1 has quit [Ping timeout: 264 seconds]
<havenwood> >> "1" == 1
<eval-in__> havenwood => false (https://eval.in/282774)
<havenwood> exhacker: also ^
Pupeno has quit [Remote host closed the connection]
<exhacker> havenwood: Thank you too
<centrx> exhacker, Also you may want to look into the 'case' statement for that sort of multi-conditional
totimkopf has quit [Ping timeout: 250 seconds]
<exhacker> centrx: oh, ok, I will
dc_ has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<bronson_> Is it possible to call a module like a method?
dagda1 has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
bronson_ is now known as bronson
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblum has quit [Ping timeout: 245 seconds]
<bronson> Something like My::Config(12)? Because there's only one config, My::Config.new(12) doesn't make a lot of sense.
<havenwood> ellisTAA: Now try to use #map instead of #each. So drop `new_array = []` and all the `new _array <<`s and do: new_array = array.map do |x| ...
gfawcettpq1 has quit [Ping timeout: 244 seconds]
<centrx> bronson, No, but what are you trying to do?
<centrx> bronson, It is possible to have a method named Config, that would be a method on My, but that is somewhat unusual
<bronson> centrx: It's kinda complex but I'll try to describe.
<pipework> I'm a fan of My::config
<centrx> bronson, You may be looking for "Singleton", but if there's only one Config, why are you passing the number 12?
<pipework> Which is really just My.config for the popular kids these days.
chrishough has joined #ruby
<bronson> pipework: hm, that sounds promising.
jottr has joined #ruby
athan has joined #ruby
chrishough has quit [Remote host closed the connection]
cocotton_ has quit [Remote host closed the connection]
<bronson> The problem is with my Geolocal gem... It generates code to geolocate IP addresses.
Aova has quit [Read error: Connection reset by peer]
<havenwood> pipework: module Nokogiri; class << self; alias_method :html, :HTML end end
<havenwood> pipework: :)
<pipework> bronson: Configuration patterns are fun. I usually have MyNamespace::Configuration, which is a class that holds all the config data. Then I have MyNameSpace::Configuration::DSL that yields self to a block for DSL goodness. and then I hook it together with a MyNamespace::configuration method that gets a new instance of Configuration, passes the block into that, which Configuration then gets a new instance of DSL and passes the block and then
<pipework> sets the Configuration instance that results from that as the response of MyNamespace.configuration
<pipework> havenwood: IKR :*
<bronson> To use it, do this: require 'geolocal'; Geolocal.configure { |c| c.countries = {us:'US'} }. Then you run a rake task to generate the code.
<bronson> For simplicity, the code it generates is in the Geolocal namespace too: require 'geolocal'; Geolocal.in_us?(request.ip)
<pipework> That way DSL can expose only the interface you want, your configuration class can have other methods and fun things that can't be called from the DSL, and you store an instance of that configuration on the namespace as a class method.
IrishGringo has quit [Ping timeout: 245 seconds]
<bronson> PROBLEM IS, now I have two geolocal.rb files: the one that supplies the config, and the one for the generated code.
centrx has quit [Quit: Shutting down, Please wait...]
<bronson> Sometimes Ruby manages to load them in the wrong order, then *boom*
<bronson> So I need to rename on of them to resolve the ambiguity, but it would be nice to have autoload still make sense.
ldnunes has quit [Quit: Leaving]
<bronson> Was thinking: require 'geolocal/config'; Geolocal::Config do { ... }
<pipework> bronson: IMO, I don't really like depending on autoloading. I use autoload for code reloading, but I just require dependencies of things.
Rarikon has quit [Read error: Connection reset by peer]
<bronson> pipework: true, I tend to do the same. still need to come up with different filenames tho.
Aova has joined #ruby
<bronson> require 'geolocal/config'; Geolocal::Config.config do { ... } just looks weird.
Rarikon has joined #ruby
<pipework> bronson: If you get stumped on that, I hear SecureRandom.uuid is a great way to get names for new files. :p
<pipework> bronson: Usually I just do Geolocal.config {|c| }
<bronson> guaranteed unique! kinda ugly in a require statement though.
wallerdev has quit [Quit: wallerdev]
<pipework> If you pass a block to #config, it yields to the configuration, if you don't, it just returns it. Both return it, one just uses the block.
<bronson> pipework: that's what I'm doing now: require 'geolocal'; Geolocal.config { ... }
fantazo has quit [Quit: Verlassend]
phutchins has quit [Ping timeout: 252 seconds]
<pipework> Then it's your choice to do an additive yield or start with a new config, or start with an empty one not based off defaults.
<bronson> But I need to change the require 'geolocal' to be different but still similar.
<pipework> bronson: Why? I'm not familiar with what's up. You're adding your own configuration stuff to this existing gem?
<bronson> require 'geolocal_2'; Geolocal.config {... }
<bronson> pipework: it's because the generated code is most important. require 'geolocal'; Geolocal.in_us?(ipaddr)
oleo has quit [Read error: Connection reset by peer]
Jackneill has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
werelivinginthef has quit [Read error: Connection reset by peer]
<pipework> 'geolocal-bronson/config' or 'bronson-geolocal/config' or 'geolocal-config'
<bronson> But, once I've generated the geolocal.rb that defines in_us?, that file hides the config.
oleo has joined #ruby
<pipework> The dash signifies a namespace or extension of something.
werelivinginthef has joined #ruby
<bronson> Ideally I'd chain requires, so require 'geolocal' would require the generated code, then the generated code would require the config.
iMe has quit [Ping timeout: 264 seconds]
<pipework> Seems reasonable.
djbkd has quit [Remote host closed the connection]
<bronson> Seems brittle... and I've never seen anyone else chain requires like that.
<pipework> bronson: What do you mean? Why not make geolocal-config require geolocal?
<bronson> Yea, maybe geolocal-config.rb is the way to go.
iMe has joined #ruby
<pipework> Then you just require 'geolocal-config' and you're set.
<pipework> It stands to reason that an extension would require the thing it is extending.
<bronson> I'm looking for a pretty solution, but maybe I just need to look for the least ugly one.
sandelius has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
infinitone has joined #ruby
tvw has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tier has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
cphrmky has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
redblue1 has joined #ruby
danjordan has joined #ruby
pierre1_ has quit [Quit: Leaving]
jottr_ has joined #ruby
jottr has quit [Read error: Connection reset by peer]
invinceable has joined #ruby
rushed has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
ki0 has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
last_staff has joined #ruby
LouisRoR has joined #ruby
az7ar has joined #ruby
dc__ has joined #ruby
yfeldblum has joined #ruby
dc_ has quit [Read error: Connection reset by peer]
abuzze has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
djbkd has joined #ruby
danjordan has quit [Quit: danjordan]
diegoviola has joined #ruby
F__i__L has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
graydot has joined #ruby
momomomomo has joined #ruby
posixpascal has joined #ruby
ghostpl has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 264 seconds]
jottr_ has joined #ruby
rushed has quit [Quit: rushed]
ellisTAA has joined #ruby
Akagi201 has joined #ruby
iMe has joined #ruby
jcromartie has quit [Ping timeout: 250 seconds]
iliketurtles has joined #ruby
Choclo[Away] is now known as Choclo
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
ghostpl has quit [Ping timeout: 255 seconds]
Akagi201_ has quit [Ping timeout: 246 seconds]
blackoperat has joined #ruby
Kricir has joined #ruby
n008f4g_ has joined #ruby
wallerdev has joined #ruby
aqabiz has joined #ruby
EvanFree_ has joined #ruby
Xeago_ has joined #ruby
Takle has joined #ruby
koding123 has joined #ruby
Takle has quit [Remote host closed the connection]
danzilio has quit [Quit: My computer has fallen asleep!]
JoshGlzBrk has joined #ruby
EvanFreeman has quit [Ping timeout: 244 seconds]
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
zarubin has joined #ruby
leat has quit [Ping timeout: 265 seconds]
aqabiz has quit [Client Quit]
danzilio has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
markfletcher has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
sambao21 has joined #ruby
willgorm- is now known as willgorman|away
rushed has joined #ruby
aqabiz has joined #ruby
koding123 has quit [Ping timeout: 246 seconds]
iliketurtles has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
Hijiri has quit [Quit: aaa]
jenrzzz has quit [Ping timeout: 256 seconds]
yago has joined #ruby
tvw has quit []
iMe has quit [Ping timeout: 246 seconds]
leslie has quit [Quit: Have you ever tried to eat a clock? It's very time consuming.]
leslie has joined #ruby
leslie is now known as Guest63769
Aova has quit [Read error: Connection reset by peer]
Xeago_ has quit [Remote host closed the connection]
Guest63769 has quit [Client Quit]
robbyoconnor has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
reprazent has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
nfk has quit [Quit: yawn]
lyuben_ has joined #ruby
adamjleonard has quit [Quit: Leaving...]
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aova has joined #ruby
baweaver has joined #ruby
ukd1 has quit [Quit: leaving]
CpuID2 has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Quit: WeeChat 1.1]
mitchellhenke has joined #ruby
athan has quit [Ping timeout: 246 seconds]
pygospa has quit [Quit: leaving]
iliketurtles has quit [Quit: zzzzz…..]
<exhacker> when I do a = system("something") it returns TRUE even if the command ended with an error message. is there a way to make a = the error message?
cocotton has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mitchellhenke has quit [Client Quit]
lanemeyer has quit [Ping timeout: 246 seconds]
<crome> exhacker: take a look at open3
rushed has quit [Quit: rushed]
fmcgeough has quit [Quit: fmcgeough]
tomengland has quit [Ping timeout: 250 seconds]
<exhacker> crome: OK i will, thanks for the tip
pygospa has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
tomengland has joined #ruby
cocotton has quit [Remote host closed the connection]
adamjleonard has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam> exhacker: $? is the return value
frem_ has joined #ruby
<shadoi> exhacker: Shell is also useful
chinmay_dd has quit [Quit: Connection closed for inactivity]
<eam> open3 can get you the stderr, but $? is all you need if you want the exit code
paradoja has joined #ruby
<crome> eam: he made it pretty clear he wanted the error
aswen has joined #ruby
EasyCo has joined #ruby
randiman has quit [Quit: (null)]
shredding has quit [Quit: shredding]
chrishough has joined #ruby
last_staff has quit [Quit: last_staff]
<exhacker> eam: ah, I didn't understand that definition when I read it, thank you
<exhacker> shadoi: Thanks
brb3 has quit [Quit: ZZZzzz…]
paulfm has quit [Quit: Zzzzz...]
<exhacker> eam: oh the return value not the error, yea i needed the error
* crome shuts up
<eam> crome: can't be sure until I ask :)
<eam> open3 is good advice
<exhacker> it's still good to know. i'm coming from R to Ruby and every single thing is different.
<crome> from R, whoa
<eam> yeah that is not a typical progression
<exhacker> lol yea, i'm a CS guy trapped in a statisticians' body. ruby gets me closer to real programming :)
<crome> exhacker: the common ground is pretty much the "R" :)
Takle has joined #ruby
<exhacker> crome: lol
Spami has joined #ruby
<crome> I think what ruby gets you the closest to is plumbing
RAKNUS has joined #ruby
<exhacker> crome: what do u mean?
ItSANgo has quit [Quit: Leaving...]
<crome> don't worry about it just yet, just make sure you have enough duct tape
<exhacker> lol
shredding has joined #ruby
<RAKNUS> hi people..someone can help me please? in italian maybe
<exhacker> you can't do much except analysis in R, so I figured this way I can use Rails and build apps around my analytical code
<crome> ruby is an awesome language that coindidentally makes it just a bit too easy to do horrible, horrible things
athan has joined #ruby
<crome> it has a peculiar learning curve
pygospa has quit [Quit: leaving]
<exhacker> crome: haha. should be interesting...
jenrzzz has joined #ruby
baroquebobcat has joined #ruby
<RAKNUS> no italians here?
<exhacker> RAKNUS: Qual è la tua domanda? Non so di Ruby, ma io traduco ...
<RAKNUS> exhacker...ciao....vorrei provare a ricordare
<crome> rails is an (mostly) awesome framework that, being on top of ruby, makes it waaaay to easy go about developing apps with the complete lack of sensible design or sustainable practices
<crome> good luck, it's a wonderful world!
zarubin has quit [Remote host closed the connection]
<exhacker> RANKUS: Ciao
totimkopf has joined #ruby
<exhacker> crome: thanks
<RAKNUS> ciao exhacker...puoi aiutarmi?
cphrmky has joined #ruby
brb3 has joined #ruby
cphrmky has left #ruby [#ruby]
cphrmky has joined #ruby
<exhacker> RANKUS: Non ho visto la tua domanda Ruby. Si può chiedere di nuovo?
totimkopf has quit [Client Quit]
regnartim has quit [Quit: Leaving]
<crome> exhacker: joke aside, have fun learning ruby and rails, it is actually fun
Mon_Ouie has joined #ruby
tvw has joined #ruby
OrbitalKitten has joined #ruby
<exhacker> crome: i did the codecademy.com module on it, but after 10 hours of that i still can't really do much yet
<exhacker> it helped tho i guess
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crome> most people have absolutely no idea how rails works after having spent years with it
<crome> so you are on the right track
<exhacker> groovy
avahey has quit [Quit: Connection closed for inactivity]
RAKNUS has left #ruby [#ruby]
commmmodo has quit [Quit: commmmodo]
mitchellhenke has joined #ruby
athan has quit [Ping timeout: 246 seconds]
<exhacker> well that guy rankus asked twice in italian if we could help him and twice i asked what his question was so that i could translate it, then he left
athan has joined #ruby
reinaldob has joined #ruby
<crome> sounds like most italians on ircnet
<exhacker> heh
fabrice31 has joined #ruby
yago has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
yago has joined #ruby
retnuh has joined #ruby
avahey has joined #ruby
retnuh has left #ruby [#ruby]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
reinaldob has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
tunaCanBruh has joined #ruby
vdamewood has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
atomi has quit [Quit: upgrading docker]
codecop has quit [Remote host closed the connection]
abuzze has joined #ruby
gccostab_ has quit [Quit: ZZZzzz…]
nateberkope has quit [Quit: Linkinus - http://linkinus.com]
nateberkopec has joined #ruby
jenrzzz has joined #ruby
bklane has quit [Remote host closed the connection]
exhacker has quit [Quit: Page closed]
nateberkopec has quit [Client Quit]
bklane has joined #ruby
nateberkopec has joined #ruby
nateberkopec has quit [Client Quit]
Troy^ has joined #ruby
neoxquick has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
atomi has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
<shevy> ciao crome
tensor-india has joined #ruby
<crome> hey shevy
<shevy> tutti frutti
maximski has joined #ruby
<crome> pizza ferrari
yago has quit [Remote host closed the connection]
zarubin has joined #ruby
julian-delphiki has joined #ruby
Guest67238 has quit [Read error: Connection reset by peer]
tensor-india has quit [Changing host]
tensor-india has joined #ruby
razorsharph has joined #ruby
russt has quit [Quit: russt]
russt has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Quit: This computer has gone to sleep]
JDiPierro has quit [Remote host closed the connection]
pglombardo has quit []
bklane has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
baweaver has quit [Remote host closed the connection]
russt_ has joined #ruby
russt_ has quit [Client Quit]
knutmithut has quit [Quit: Verlassend]
blackmesa has joined #ruby
russt has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby
zarubin has quit [Remote host closed the connection]
bklane has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
decoponio has joined #ruby
bklane has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 250 seconds]
pu22l3r has quit [Ping timeout: 256 seconds]
bklane has joined #ruby
baweaver has quit [Remote host closed the connection]
jottr_ has joined #ruby
baweaver has joined #ruby
danzilio has quit [Quit: Baiii!]
djbkd has joined #ruby
tier has quit [Remote host closed the connection]
tensor-india is now known as tensor-dev
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> lamborghini stracciatella
iliketurtles has joined #ruby
posixpascal has quit [Read error: Connection reset by peer]
zachrab has quit [Remote host closed the connection]
AdNauseaum has quit [Changing host]
AdNauseaum has joined #ruby
haylon has quit [Quit: Page closed]
posixpascal has joined #ruby
zachrab has joined #ruby
programmerq has quit [Changing host]
programmerq has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
blackoperat has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
sjmikem has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
Aova has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
goodenough has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 250 seconds]
zachrab has quit [Ping timeout: 265 seconds]
zachrab has joined #ruby
silkfox has quit [Ping timeout: 252 seconds]
aswen has quit [Ping timeout: 245 seconds]
jerius_ has quit []
adamjleonard has quit [Quit: Leaving...]
Jetchisel has joined #ruby
rbennacer has quit [Remote host closed the connection]
Aova has joined #ruby
brb3 has quit [Quit: <.<]
triple_b has quit [Ping timeout: 244 seconds]
DonOtreply has quit [Quit: DonOtreply]
antgel has joined #ruby
pygospa has joined #ruby
<soosfarm> hey, if I clone a gem from github and then install all the dependencies with bundle install —path vendor/bundle
<soosfarm> what environment variable should I set for the gem to be able to find all the libs?
redblue1 has quit [Quit: Page closed]
tensor-dev is now known as aqabiz
spider-mario has quit [Remote host closed the connection]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lanemeyer has joined #ruby
Axy has joined #ruby
freerobby has quit [Quit: Leaving.]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
EvanFree_ has quit [Remote host closed the connection]
vdamewood has quit [Quit: Computer has gone to sleep.]
Mia has quit [Ping timeout: 250 seconds]
aqabiz is now known as tensor-dev
freerobby has joined #ruby
swgillespie has joined #ruby
josephndenton has quit [Ping timeout: 250 seconds]
rushed has joined #ruby
tensor-dev has quit [Quit: tensor-dev]
tensor-dev has joined #ruby
n1lo has quit [Quit: Leaving]
zachrab has quit [Remote host closed the connection]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
tensor-dev has quit [Remote host closed the connection]
tensor-dev has joined #ruby
<havenwood> soosfarm: --path is a remembered option, so when you prefix `bundle exec` to a command it will look to that location
maximski has quit []
ItSANgo has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
az7ar is now known as az7ar_away
<soosfarm> hm, okay, doesn’t seem to do that though, if I do RUBYLIB=<pathtospecific-gem-inside-vendor-bundle>/lib and execute the script it works
davedev24_ has joined #ruby
<havenwood> soosfarm: and `bundle exec` prefixed to the script doesn't work?
<soosfarm> oh god
jgt has quit [Ping timeout: 245 seconds]
<soosfarm> i didn’t know that :(
<soosfarm> of course it works perfectly, thanks
Soliah has joined #ruby
<havenwood> soosfarm: that's how you run in the context of the bundle :)
<soosfarm> oh, makes sense
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LouisRoR has quit [Ping timeout: 252 seconds]
josephndenton has joined #ruby
posixpascal has quit [Ping timeout: 252 seconds]
posixpanda has joined #ruby
LouisRoR has joined #ruby
pdoherty has joined #ruby
tensor-dev is now known as tensor
rushed has quit [Quit: rushed]
shum has quit [Quit: WeeChat 1.1.1]
DonOtreply has joined #ruby
ki0 has quit [Remote host closed the connection]
shum has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
kirun has quit [Quit: Client exiting]
OrbitalKitten has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
josephndenton has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
it0a has quit [Ping timeout: 245 seconds]
pygospa has quit [Quit: leaving]
pygospa has joined #ruby
Astrologos_ has joined #ruby
gccostabr has joined #ruby
mjuszczak has joined #ruby
gccostabr has quit [Client Quit]
<mjuszczak> I'm trying to use Net::HTTP to fetch a URL and read the headers. Unfortunately having a bit of trouble. Are there examples anywhere? So far I have: http = Net::HTTP.new('localhost', '8080') ... how would I then find a header value?
<ellisTAA> anyone know any easier way to get find out if a number is prime? https://gist.github.com/ellisTAA/738c7f089a77351f5178
dorei has quit [Ping timeout: 240 seconds]
Astrologos_ has quit [Client Quit]
dorei has joined #ruby
CpuID2 has joined #ruby
newline1 has joined #ruby
stunder has joined #ruby
DadoCe has joined #ruby
danman has quit [Quit: danman]
Sawbones has joined #ruby
<ellisTAA> senjai: haha thanks
paradisaeidae has joined #ruby
hmsimha has joined #ruby
<Senjai> yw
pdoherty has quit [Ping timeout: 245 seconds]
<Senjai> I answered because it looks like you put in the work to try. But if you didn't I'd ask you to google it, because I know that'd be the first result :P
<Senjai> ellisTAA:
<ellisTAA> yeah that code took me a while to write
jgt has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Troy^ has joined #ruby
charliesome has quit [Quit: zzz]
philwantsfish has quit []
GPH|work has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
kt2 has quit [Read error: Connection reset by peer]
zacstewart has quit [Remote host closed the connection]
kt2 has joined #ruby
baroquebobcat has joined #ruby
zacstewart has joined #ruby
ValicekB has quit [Ping timeout: 246 seconds]
newline1 has quit [Quit: Leaving.]
susmus has quit [Ping timeout: 272 seconds]
ismael_ has quit []
devdazed has quit [Quit: Computer has gone to sleep.]
ismael_ has joined #ruby
susmus has joined #ruby
kt2 has quit [Max SendQ exceeded]
ismael_ has quit [Client Quit]
puppetmonkey has quit [Quit: puppetmonkey]
werelivinginthef has quit [Remote host closed the connection]
ismael_ has joined #ruby
kt2 has joined #ruby
Axy is now known as Mia
yago has joined #ruby
VBlizzard has joined #ruby
newline1 has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
Sawbones has quit [Read error: No route to host]
Sawbones has joined #ruby
badhatter has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Sawbones has quit [Client Quit]
bronson has quit [Remote host closed the connection]
shum has joined #ruby
dc__ has quit [Remote host closed the connection]
blizzy has quit [Ping timeout: 245 seconds]
VBlizzard is now known as blizzy
<Senjai> ellisTAA: I recommend asking yourself "Do I need to be doing this?"
<Senjai> quite often
<Senjai> It's the fastest way of getting better IMO
<ellisTAA> senjai: that code was part of an assignment, but ty
<Senjai> Ah
RowdyChildren has quit [Ping timeout: 264 seconds]
Guest29161 has quit [Ping timeout: 256 seconds]
jgt has quit [Ping timeout: 246 seconds]
<Senjai> Typically, if it sounds like something else someone would normally have to do, odds are they've done it and its open source somewhere
fryguy9 has quit [Quit: Leaving.]
blackmesa has quit [Quit: WeeChat 1.1]
ValicekB has joined #ruby
pengin has joined #ruby
markfletcher has left #ruby [#ruby]
charliesome has joined #ruby
wjimenez5271_ has quit [Ping timeout: 256 seconds]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
BTRE has quit [Ping timeout: 256 seconds]
allcentury has quit [Ping timeout: 264 seconds]
kith has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
<Senjai> If its for an assignment
<Senjai> you could reverse engineer Prime.prime?
iMe has quit [Ping timeout: 246 seconds]
tensor has quit [Quit: tensor]
RowdyChildren has joined #ruby
tensor-dev has joined #ruby
wjimenez5271 has joined #ruby
Evan_ has joined #ruby
BTRE has joined #ruby
iMe has joined #ruby
rubytor has joined #ruby
yago has quit [Remote host closed the connection]
vasilakisfil has joined #ruby
mjuszczak has quit []
fryguy9 has joined #ruby
stunder has quit [Quit: Leaving]
ismael2 has joined #ruby
fgo has joined #ruby
Aova has quit [Read error: Connection reset by peer]
narph has quit [Quit: Connection closed for inactivity]
fryguy9 has quit [Client Quit]
tensor-dev is now known as tensord
tarwich has joined #ruby
tarwich has left #ruby ["undefined"]
F__i__L has quit [Ping timeout: 265 seconds]
Choclo has joined #ruby
pengin has quit [Remote host closed the connection]
goodenough has joined #ruby
ismael2 has quit [Quit: Leaving.]
pengin has joined #ruby
tensord is now known as aqz
baweaver has quit [Remote host closed the connection]
bronson has joined #ruby
fenzil has quit [Ping timeout: 255 seconds]
Aova has joined #ruby
aqz is now known as tens0r
Hijiri has quit [Read error: Connection reset by peer]
Pupeno has quit [Remote host closed the connection]
Hijiri has joined #ruby
pengin has quit [Ping timeout: 245 seconds]
ismael_ has quit []
ismaelga has joined #ruby
tens0r has quit [Quit: tens0r]
charliesome has quit [Quit: zzz]
antgel has quit [Ping timeout: 245 seconds]
dc_ has joined #ruby
enebo has quit [Quit: enebo]
paradoja has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
Sid05 has joined #ruby
Apocalypse has joined #ruby
davejacobs has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
jottr_ has quit [Read error: Connection reset by peer]
m8 has quit [Quit: Sto andando via]
Sid05 has quit [Client Quit]
jottr_ has joined #ruby
lkba has joined #ruby
fabrice31 has joined #ruby
momomomomo has quit [Quit: momomomomo]
baweaver has joined #ruby
iliketurtles has quit [Remote host closed the connection]
iMe has joined #ruby
crueber has quit [Quit: Leaving.]
iliketurtles has joined #ruby
kt2 has quit [Quit: ...]
kt2 has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
jottr_ has quit [Ping timeout: 264 seconds]
Sid05 has joined #ruby
kt2 has quit [Client Quit]
fabrice31 has quit [Ping timeout: 244 seconds]
newline1 has left #ruby [#ruby]
tunaCanBruh has joined #ruby
kt2 has joined #ruby
allcentury has joined #ruby
kalusn has joined #ruby
blackoperat has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
xp_prg has quit [Ping timeout: 250 seconds]
fenzil has joined #ruby
athan has quit [Ping timeout: 246 seconds]
danjordan has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
ki0 has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
rsty has joined #ruby
rsty1 has quit [Read error: Connection reset by peer]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
dorei has quit []
Moneyxxl has joined #ruby
ki0 has quit [Ping timeout: 245 seconds]
davejacobs has quit []
vdamewood has joined #ruby
Moneyxxl has left #ruby [#ruby]
davejacobs has joined #ruby
rushed has joined #ruby
jottr_ has joined #ruby
nateberkopec has joined #ruby
frem_ is now known as frem
deric_skibotn has quit [Ping timeout: 250 seconds]
ellisTAA has joined #ruby
ellisTAA has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
ecksit has joined #ruby
ForkingPaths has joined #ruby
apeiros_ has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Ping timeout: 252 seconds]
ForkingPaths has quit [Max SendQ exceeded]
jlast has quit [Remote host closed the connection]
danjordan has quit [Quit: danjordan]
Vile` has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ptrrr has quit [Quit: ptrrr]
Vile` has joined #ruby
bogdanteleaga has joined #ruby
rsty has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
Sid05 has left #ruby [#ruby]
phutchins has joined #ruby
einarj has quit [Remote host closed the connection]
posixpanda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 240 seconds]
reinaldob has joined #ruby
sanguisdex has quit [Ping timeout: 255 seconds]
iMe has quit [Ping timeout: 245 seconds]
skj3gg has joined #ruby
dsahni has joined #ruby
kalusn has quit [Remote host closed the connection]
rfi has quit [Ping timeout: 245 seconds]
iMe has joined #ruby
rfi has joined #ruby
lys has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
nepgear_ has joined #ruby
kalusn has joined #ruby
swgillespie has quit [Quit: Textual IRC Client: www.textualapp.com]
rubytor has joined #ruby
zyxelthrone has quit [Ping timeout: 245 seconds]
bogdanteleaga has left #ruby ["Leaving"]
phutchins has quit [Ping timeout: 252 seconds]
Hijiri has quit [Ping timeout: 244 seconds]
reinaldob has quit [Remote host closed the connection]
masterexploder has joined #ruby