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
sjmikem has joined #ruby
<masterexploder> Can anyone recommend a decent guide for haml+sass? I'm fighting with html+css and it's making me bleed
jonr22 has joined #ruby
rushed has quit [Quit: rushed]
Xiti has quit [Quit: Xiti]
nepgear_ has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 240 seconds]
kt2 has quit [Quit: ...]
CpuID2 has joined #ruby
Choclo is now known as Choclo[Away]
alex88 has quit []
mikepack has quit []
dsahni has quit [Quit: AFK]
neoxquick has quit [Read error: Connection reset by peer]
werelivinginthef has joined #ruby
himsin has quit [Quit: himsin]
Rollabunna has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
Aova has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
_maes_ has quit [Ping timeout: 246 seconds]
reinaldob has joined #ruby
swgillespie has joined #ruby
sanguisdex has joined #ruby
joufflu has joined #ruby
n008f4g_ has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
iMe has joined #ruby
werelivinginthef has quit [Ping timeout: 245 seconds]
Choclo[Away] is now known as Choclo
reinaldob has quit [Remote host closed the connection]
nateberkopec has joined #ruby
zachrab has joined #ruby
davejacobs has quit [Remote host closed the connection]
snath has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
davejacobs has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
kt2 has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
CorySimmons has joined #ruby
multi_io has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
lioninawhat has joined #ruby
blackoperat has quit [Remote host closed the connection]
mmochan_ has joined #ruby
sent1nel has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
multi_io_ has quit [Ping timeout: 264 seconds]
meth has joined #ruby
kt2 has quit [Quit: ...]
snath has joined #ruby
<meth> does ruby have an official CI page where you can see status of all core tests?
pkrzywicki has quit [Ping timeout: 255 seconds]
pkrzywicki_ has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
jhebden has joined #ruby
enterprisedc_ has joined #ruby
enterprisedc has quit [Ping timeout: 264 seconds]
enterprisedc_ is now known as enterprisedc
<zachrab> going on a ruby job interview how can i properly prepare for technical portion?
sent1nel has quit [Remote host closed the connection]
kalusn has quit [Remote host closed the connection]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
tunaCanBruh has joined #ruby
iMe has quit [Ping timeout: 255 seconds]
tokik has joined #ruby
silkfox has joined #ruby
lioninawhat has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Bye!]
nii236|irssi has joined #ruby
iMe has joined #ruby
tunaCanBruh has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
paulfm has joined #ruby
yfeldblum has joined #ruby
ghr has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
meth has quit [Quit: Page closed]
piotrj has joined #ruby
zacstewart has quit [Remote host closed the connection]
hmsimha has joined #ruby
Takle has joined #ruby
<zachrab> havenwood: is that for real?
kaspertidemann has quit []
<havenwood> zachrab: no
ghr has quit [Ping timeout: 246 seconds]
<zachrab> havenwood: so how can i prepare for a technical interview?
<wallerdev> do you know ruby?
porfa has quit [Quit: porfa]
<wallerdev> and probably depends if its a rails position or not
havenwood has quit [Remote host closed the connection]
kt2 has joined #ruby
sevenseacat has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
Takle has quit [Ping timeout: 265 seconds]
7YUAABB14 has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
banister has joined #ruby
Choclo is now known as Choclo[Away]
Choclo[Away] is now known as Choclo
davedev24_ has joined #ruby
fryguy9 has joined #ruby
kt2 has quit [Quit: ...]
karmatr0n has quit [Remote host closed the connection]
fgo has joined #ruby
paulfm has quit [Quit: Goodbye]
iMe has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
ecksit has quit [Quit: Textual IRC Client: www.textualapp.com]
iMe has joined #ruby
Troy^ has joined #ruby
7YUAABB14 has quit [Remote host closed the connection]
bklane has quit [Remote host closed the connection]
reinaldob has joined #ruby
fryguy9 has quit [Quit: Leaving.]
jonr22 has quit [Ping timeout: 240 seconds]
deric_skibotn has joined #ruby
bonhoeffer has joined #ruby
bklane has joined #ruby
Channel6 has joined #ruby
bronson has quit [Remote host closed the connection]
masterexploder has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 264 seconds]
OrbitalK_ has joined #ruby
baweaver has joined #ruby
jonr22 has joined #ruby
<zachrab> wallerdev: i do know ruby
dfinninger has quit [Remote host closed the connection]
<zachrab> not a rails position
tier has joined #ruby
<wallerdev> is it sysadmin stuff?
<wallerdev> i doubt theyre gonna ask you too much about the language
jlast has joined #ruby
<wallerdev> usually they try to ask questions relevant to what you may be doing
<wallerdev> or really basic language questions
OrbitalKitten has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ciao.]
<wallerdev> only bad interviews are like how do you use this obscure ruby feature
fenzil has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
Aova has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
<zachrab> wallerdev: not systadmin just ruby dev
adriancb has joined #ruby
lioninawhat has quit [Remote host closed the connection]
piotrj has quit [Remote host closed the connection]
davejacobs has quit [Remote host closed the connection]
mroach has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
jnoob22 is now known as Harlin
lioninawhat has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<zachrab> or anyone what is the difference between setting the attribute with @ vs. self?
Aova has joined #ruby
nateberkopec has quit [Quit: Leaving...]
rbennacer has joined #ruby
iMe has quit [Ping timeout: 255 seconds]
<wallerdev> self.attribute= calls the accessor method
<wallerdev> @attribute = just sets the instance variable
zacstewart has joined #ruby
<wallerdev> self.attribute= will fail unless you define accessors
swgilles_ has joined #ruby
<zachrab> wallerdev: what happens when you set an instance variable but have no accessors?
<wallerdev> it gets set
<wallerdev> and you can only access it inside the class by referencing the instance variable with @
fabrice31 has joined #ruby
<wallerdev> you might want to just get a basic ruby book like pickaxe
lioninawhat has quit [Remote host closed the connection]
<wallerdev> itll go over all that stuff
sent1nel has joined #ruby
iMe has joined #ruby
<baweaver> I've never seen a point with getting into pedantic language features.
Spami has quit [Quit: This computer has gone to sleep]
<baweaver> really, most of the time if I have a job that insists on it I run.
<waxjar> people set instance variables with an accessor method some times in case the logic for setting that attribute changes in the future. that way you only have to alter your accessor method and the rest of your code will still work.
fenzil has joined #ruby
bklane has quit [Remote host closed the connection]
<baweaver> because it means they're trying to be clever
<wallerdev> yeah its most important in rails
<wallerdev> where they override what accessors do
<baweaver> and clever is notoriously annoying to fix.
<baweaver> that is, but I was referring to your earlier bit
<baweaver> you probably don't need to know monkeypatching, flipflops, or define_method
phutchins has joined #ruby
swgillespie has quit [Ping timeout: 240 seconds]
<baweaver> too many hyper-language specific questions should be a red flag.
rbennacer has quit [Ping timeout: 250 seconds]
<zenspider> clever is the enemy of good
swgilles_ has quit [Client Quit]
<wallerdev> clever is good for code golf :D
<zenspider> code golf is the enemy of good
<waxjar> clever is fun :D
bklane has joined #ruby
<zenspider> fun is the enemy of good
mitchellhenke has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
<waxjar> clever is zenspider
LouisRoR has quit [Ping timeout: 246 seconds]
<zenspider> damnit
<baweaver> "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian Kernighan
lioninawhat has joined #ruby
jlast has joined #ruby
<baweaver> I'd say more like 3x, but the point is still there.
<wallerdev> no need to debug anyway if youre not writing broken code right?
<wallerdev> :p
<sevenseacat> a wise man said, forgiveness is divine, but never pay full price for late pizza.
adriancb has quit [Remote host closed the connection]
swgillespie has joined #ruby
adriancb has joined #ruby
mleung has quit [Quit: mleung]
mmoretti has quit [Quit: Leaving...]
bklane has quit [Ping timeout: 264 seconds]
YamakasY has quit [Ping timeout: 246 seconds]
bklane has joined #ruby
lys has quit [Ping timeout: 245 seconds]
lioninawhat has quit [Remote host closed the connection]
baweaver has quit [Read error: Connection reset by peer]
athan has joined #ruby
leslie has joined #ruby
leslie has joined #ruby
davejacobs has joined #ruby
zachrab has quit [Remote host closed the connection]
commmmodo has joined #ruby
havenwood has joined #ruby
jenrzzz has joined #ruby
Sirupsen has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
iMe has quit [Ping timeout: 245 seconds]
shum has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
ellisTAA has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
<ellisTAA> ok i have reflected on the work i’ve been doing, and it seems that most problems fall into one of two categories. they either want me to locate some data or manipulate some data. what other major types of problems are there?
lys has joined #ruby
chf0 has joined #ruby
marr has quit [Ping timeout: 252 seconds]
adamjleonard has joined #ruby
iMe has joined #ruby
robbyoconnor has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
davejacobs has quit [Remote host closed the connection]
ghr has joined #ruby
lioninawhat has joined #ruby
Takle has joined #ruby
lioninawhat has quit [Remote host closed the connection]
mrgrieves has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
max96at is now known as max96at|off
balazs has quit [Ping timeout: 252 seconds]
chf0 has quit []
djbkd has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
MrSamuel has joined #ruby
rsty has joined #ruby
mrgrieves has joined #ruby
Yzguy has joined #ruby
pika_pika has joined #ruby
rsty has joined #ruby
adriancb_ has joined #ruby
rsty has left #ruby [#ruby]
iMe has quit [Ping timeout: 265 seconds]
adriancb_ has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
adriancb_ has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
p3ery has joined #ruby
Deele has quit [Ping timeout: 245 seconds]
iMe has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
adriancb has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
lampd1 has joined #ruby
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
robustus|Off has joined #ruby
robustus|Off is now known as robustus
arescorpio has joined #ruby
balazs has joined #ruby
Hobogrammer has joined #ruby
kt2 has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
mitchellhenke has joined #ruby
piotrj has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
kt2 has quit [Client Quit]
piotrj_ has joined #ruby
commmmodo has quit [Quit: commmmodo]
jzigmund has quit [Ping timeout: 245 seconds]
kt2 has joined #ruby
JDiPierro has joined #ruby
kt2 has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
robbyoconnor has quit [Ping timeout: 250 seconds]
silkfox has quit [Ping timeout: 245 seconds]
deric_skibotn has quit [Ping timeout: 255 seconds]
piotrj has quit [Ping timeout: 252 seconds]
lioninawhat has joined #ruby
Aova has quit [Read error: Connection reset by peer]
zacstewart has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 265 seconds]
kt2 has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n008f4g_ has joined #ruby
towski_ has quit [Remote host closed the connection]
pika_pika has quit [Ping timeout: 245 seconds]
bklane has quit [Remote host closed the connection]
amclain has joined #ruby
piotrj_ has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
Aova has joined #ruby
piotrj has joined #ruby
jhebden has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
Guest8020 is now known as larissa
triple_b has joined #ruby
piotrj_ has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
kt2 has quit [Quit: ...]
piotrj_ has quit [Read error: Connection reset by peer]
piotrj has quit [Ping timeout: 252 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 246 seconds]
tunaCanBruh has joined #ruby
iMe has joined #ruby
iliketurtles has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
piotrj has joined #ruby
lioninawhat has quit [Remote host closed the connection]
iliketurtles has quit [Client Quit]
sjmikem has quit [Quit: Leaving.]
zorak8 has quit [Ping timeout: 255 seconds]
puppetmonkey has joined #ruby
Kricir has quit [Remote host closed the connection]
piotrj has quit [Remote host closed the connection]
kt2 has joined #ruby
adamjleonard has quit [Quit: Leaving...]
Kricir has joined #ruby
claptor has joined #ruby
triple_b has quit [Read error: Connection reset by peer]
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
it0a has joined #ruby
triple_b has joined #ruby
mordocai has joined #ruby
Kricir has quit [Ping timeout: 250 seconds]
triple_b has quit [Client Quit]
ghostmoth has quit [Quit: ghostmoth]
sent1nel has quit [Remote host closed the connection]
ponga has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
ponga has quit [Remote host closed the connection]
livingstn has quit []
jaequery has joined #ruby
ponga has joined #ruby
adamjleonard has joined #ruby
mbytes has joined #ruby
zacstewart has joined #ruby
sent1nel has joined #ruby
piotrj has joined #ruby
lioninawhat has joined #ruby
Kricir has joined #ruby
zacstewart has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
davispuh has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
mbytes` has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
<mbytes`> .
thiagovsk has joined #ruby
ghr has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
iMe has joined #ruby
checkit has quit [Ping timeout: 264 seconds]
ponga has quit [Ping timeout: 245 seconds]
danjordan has joined #ruby
lioninawhat has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mbytes`> time
Guest7_ has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
<sevenseacat> 10:50am.
<mbytes`> thanks
ellisTAA has quit [Quit: ellisTAA]
<mbytes`> part
mbytes` has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<sevenseacat> awesome.
ellisTAA has joined #ruby
JDiPierro has quit [Remote host closed the connection]
karmatr0n has joined #ruby
it0a has quit [Quit: WeeChat 1.1.1]
bklane has joined #ruby
claptor has quit [Quit: this channel is bakas]
lioninawhat has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
<mozzarella> is that the only command you know?
<mozzarella> I know !seen
wallerdev has quit [Quit: wallerdev]
mbytes has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
claptor has joined #ruby
danjordan has quit [Quit: danjordan]
davedev2_ has joined #ruby
Guest7_ has quit [Max SendQ exceeded]
Ivision has joined #ruby
davedev24_ has quit [Ping timeout: 240 seconds]
jlast has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
phutchins has joined #ruby
lioninawhat has joined #ruby
freerobby has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
coderhs has joined #ruby
coderhs has quit [Client Quit]
larissa has quit [Quit: bye]
iMe has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
fabrice31 has joined #ruby
<Radar> There are many, many commands.
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bricker has joined #ruby
<Radar> Some aren't listed there as they're hardcoded into the bot.
jerematic has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
razieliyo has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
Troy^ has joined #ruby
tus has quit []
devbug_ has joined #ruby
michael_mbp has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
Aova has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 245 seconds]
az7ar_away is now known as az7ar
nateberkopec has joined #ruby
djbkd has quit [Quit: My people need me...]
Aova has joined #ruby
karmatr0n has quit [Remote host closed the connection]
Guest7 has joined #ruby
az7ar is now known as az7ar_away
larissa has joined #ruby
larissa has left #ruby [#ruby]
Guest7 has quit [Client Quit]
Guest7 has joined #ruby
devbug_ has quit [Ping timeout: 265 seconds]
nisstyre has joined #ruby
nisstyre has quit [Changing host]
piotrj has quit [Ping timeout: 252 seconds]
regnartim has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
tier has quit [Remote host closed the connection]
piotrj has joined #ruby
Megtasti_ has joined #ruby
iMe has joined #ruby
Megtastique has quit [Ping timeout: 246 seconds]
swgillespie has joined #ruby
mordocai has quit [Ping timeout: 246 seconds]
Megtastique has joined #ruby
Guest7 has quit [Quit: Textual IRC Client: www.textualapp.com]
kapil__ has joined #ruby
Vile` has quit [Ping timeout: 255 seconds]
bklane has quit [Remote host closed the connection]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Megtasti_ has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
Yzguy has joined #ruby
iliketurtles has joined #ruby
Vile` has joined #ruby
ajaiswal has joined #ruby
mordocai has joined #ruby
nateberkopec has quit [Quit: Leaving...]
ellisTAA has quit [Quit: ellisTAA]
iMe has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
agrinb has joined #ruby
iMe has joined #ruby
ponga has joined #ruby
ghr has joined #ruby
lioninawhat has joined #ruby
_maes_ has joined #ruby
mitchellhenke has joined #ruby
cibs has quit [Remote host closed the connection]
<bricker> !bricker88
<helpa> He's got the clap
<bricker> lol
<havenwood> bricker: :O
<bricker> !bricker
<helpa> <Radar> bricker is amazing. <Radar> quote me on that
greenbagels has quit [Read error: Connection reset by peer]
<bricker> aww
quazimodo has quit [Ping timeout: 252 seconds]
<bricker> okay I'll stop
riotjones has quit [Ping timeout: 256 seconds]
maximski has joined #ruby
livinded has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 246 seconds]
<agrinb> I'm looking at http://en.wikibooks.org/wiki/Algorithm_Implementation/Sorting/Quicksort#Ruby and I'm confused how to make a call to sort an array. I tried to write an initialize method, didn't work. What's the syntax to run it?
zacstewart has joined #ruby
maximski has quit [Max SendQ exceeded]
n008f4g_ has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
ponga has quit [Ping timeout: 246 seconds]
maximski has joined #ruby
mordocai has quit [Ping timeout: 256 seconds]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
<bricker> agrinb: in that code example, you'd pass an array into the QuickSort.sort! method. QuickSort.sort!([1,2,3,4,5])
yfeldblum has quit [Remote host closed the connection]
<agrinb> thanks
yfeldblum has joined #ruby
havenwood has quit [Remote host closed the connection]
ta has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<Radar> Interesting that the page doesn't include a Clojure version.
thesoup has joined #ruby
FrankenDaemon has quit [Ping timeout: 252 seconds]
iMe has quit [Ping timeout: 265 seconds]
slawrence00 has joined #ruby
bklane has joined #ruby
bklane has quit [Remote host closed the connection]
iMe has joined #ruby
razorsharph has quit [Quit: Konversation terminated!]
FrankenDaemon has joined #ruby
adriancb_ has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<chipotle> whats the best ruby on rails book that's current?
cibs has joined #ruby
freerobby has quit [Quit: Leaving.]
<sevenseacat> !r4ia
<helpa> Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Steve Klabnik, Ryan Bigg, Yehuda Katz
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Hijiri> DDD
<Hijiri> development driven development
<mozzarella> Code Driven Development is the only way to go
braincrash has joined #ruby
Aova has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
veinofstars has joined #ruby
<chipotle> how's the rails 4 way?
<veinofstars> anyone familiar with the twitter gem? i’m looking to hack its HTTP usage to always go through EM::HttpRequest
lioninawhat has quit [Remote host closed the connection]
<veinofstars> i think i need to change the adapter for faraday, but i’m not sure how to do it with just the twitter gem
<chipotle> sevenseacat: how would you say it compares?
<chipotle> i do like manning :)
DonOtreply has quit [Quit: DonOtreply]
davedev24_ has joined #ruby
<chipotle> but i had a HORRIBLE time trying to buy the MEAP of the well grounded rubyist
<sevenseacat> the two books are not aimed at the same audience
<chipotle> AMEX, chase sapphire preferred and harvard credit union cards all denied the charge
iMe has quit [Ping timeout: 246 seconds]
<chipotle> it took two weeks of fighting with the banks and the customer service rep at manning to get it figured out
<chipotle> sevenseacat: how so?
davedev2_ has quit [Ping timeout: 264 seconds]
<sevenseacat> the rails 4 way is a reference book
OrbitalK_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> rails 4 in action is a tutorial
Aova has joined #ruby
<chipotle> ok
<chipotle> so which is the best way to learn rails?
<lampd1> rails 4 zombies
<chipotle> rails 4 in action?
<sevenseacat> rails 4 in action
<lampd1> :P
tunaCanBruh has quit [Ping timeout: 252 seconds]
avahey has quit [Quit: Connection closed for inactivity]
iMe has joined #ruby
ponga has joined #ruby
Ivision_ has joined #ruby
sent1nel has joined #ruby
Ivision_ has quit [Read error: No route to host]
dimaursu16 has quit [Ping timeout: 244 seconds]
Ivision_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Ivision has quit [Ping timeout: 246 seconds]
zacstewart has quit [Remote host closed the connection]
fgo has joined #ruby
ellisTAA has joined #ruby
einarj has joined #ruby
pdoherty has joined #ruby
pdoherty has quit [Client Quit]
jhebden has joined #ruby
lys has quit [Quit: lys]
mordocai has joined #ruby
thesoup has left #ruby [#ruby]
Cache_Money has joined #ruby
Lemur has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
agent_white has joined #ruby
kyb3r_ has joined #ruby
DEA7TH has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
<agent_white> Good evenin
vozcelik has joined #ruby
iMe has joined #ruby
<bricker> veinofstars: you'd have to override some methods here: https://github.com/sferik/twitter/blob/master/lib/twitter/rest/request.rb
<bricker> and a few other places for full coverage
infinitone has quit [Remote host closed the connection]
selaruvich has quit [Ping timeout: 246 seconds]
vozcelik has quit [Read error: Connection reset by peer]
vozcelik has joined #ruby
apurcell has quit [Quit: Be back later ...]
lioninawhat has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
karmatr0n has quit []
lyuben__ has joined #ruby
Rollabun_ has joined #ruby
karmatr0n has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
flori has quit [Ping timeout: 245 seconds]
drizz has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
ereslibre_laptop has joined #ruby
drizz has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
bennyklotz has quit [Ping timeout: 256 seconds]
lyuben_ has quit [Ping timeout: 246 seconds]
vpereira has quit [Ping timeout: 250 seconds]
WhereIsMySpoon_ has quit [Ping timeout: 250 seconds]
lioninawhat has quit [Ping timeout: 245 seconds]
Lingo_ has joined #ruby
WhereIsMySpoon_ has joined #ruby
flori has joined #ruby
bennyklotz has joined #ruby
vpereira has joined #ruby
shum has quit [Remote host closed the connection]
pengin has joined #ruby
pu22l3r has joined #ruby
avrc has joined #ruby
peasoup has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
lioninawhat has joined #ruby
avrc has quit [Client Quit]
Ivision has joined #ruby
agent_white has joined #ruby
keen__________58 has joined #ruby
mozzarella has quit [Quit: WeeChat 1.0.1]
keen__________57 has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 252 seconds]
piotrj has quit [Remote host closed the connection]
Ivision has quit [Remote host closed the connection]
EasyCo has quit [Quit: Connection closed for inactivity]
piotrj has joined #ruby
Ivision_ has quit [Ping timeout: 264 seconds]
iMe has quit [Ping timeout: 264 seconds]
beevalee is now known as bevvahlee
lioninawhat has quit [Remote host closed the connection]
fabrice31 has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
iMe has joined #ruby
mordocai has quit [Ping timeout: 255 seconds]
mozzarella has joined #ruby
bronson has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Lingo_ has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 264 seconds]
pengin has quit [Ping timeout: 255 seconds]
agent_white has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
agent_white has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
arescorpio has quit [Excess Flood]
gizmore has joined #ruby
harfangk has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
einarj has quit [Remote host closed the connection]
Ivision has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
bricker has quit [Quit: leaving]
Megtastique has quit []
iMe has quit [Ping timeout: 255 seconds]
iMe has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
mudtose has joined #ruby
piotrj has quit [Remote host closed the connection]
invinceable has quit []
p3ery has quit [Quit: (null)]
chrishough has joined #ruby
tunaCanBruh has joined #ruby
helpa has quit [Remote host closed the connection]
peasoup has joined #ruby
CustosLimen has quit [Ping timeout: 244 seconds]
helpa has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
tunaCanBruh has quit [Ping timeout: 245 seconds]
Wolland has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
CustosLimen has joined #ruby
mjuszczak has joined #ruby
rkgudboy has joined #ruby
TheNet has joined #ruby
lioninawhat has joined #ruby
Deele has joined #ruby
rkgudboy has quit [Read error: Connection reset by peer]
himsin has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
dimaursu16 has joined #ruby
davedev24_ has joined #ruby
mudtose has quit [Ping timeout: 240 seconds]
iMe has joined #ruby
devbug_ has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
krz has joined #ruby
bluOxigen has joined #ruby
amystephen has quit [Quit: amystephen]
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
devbug_ has quit [Remote host closed the connection]
mudtose has joined #ruby
zachrab has joined #ruby
mbytes has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
gizmore has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Aova has quit [Read error: Connection reset by peer]
karmatr0n has quit [Remote host closed the connection]
gsd has quit [Read error: Connection reset by peer]
mudtose has quit [Ping timeout: 256 seconds]
gsd has joined #ruby
agrinb has quit [Remote host closed the connection]
regnartim has quit [Quit: Leaving]
zachrab has quit [Remote host closed the connection]
posixpascal has joined #ruby
agrinb has joined #ruby
himsin has quit [Quit: himsin]
jefus_ has joined #ruby
Channel6 has joined #ruby
iMe has quit [Ping timeout: 240 seconds]
Aova has joined #ruby
mudtose has joined #ruby
crazydiamond has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ARCADIVS has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jefus has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 265 seconds]
iMe has joined #ruby
paradisaeidae_ has joined #ruby
agent_white has joined #ruby
P1RATEZ has joined #ruby
lioninawhat has quit [Remote host closed the connection]
dimaursu16 has quit [Ping timeout: 246 seconds]
paradisaeidae has quit [Ping timeout: 264 seconds]
paradisaeidae_ is now known as paradisaeidae
zachrab has joined #ruby
zachrab has quit [Remote host closed the connection]
piotrj has joined #ruby
gizmore has joined #ruby
josephcs has joined #ruby
sent1nel has quit [Remote host closed the connection]
piotrj has quit [Remote host closed the connection]
sud0x has joined #ruby
djbkd has joined #ruby
amacou has joined #ruby
<sud0x> hey guys, I'm looking at the OpenSSL module on ruby docs, but don't see anything for connecting to a server with a specific cipher. Is this possible?
mjuszczak has quit []
sent1nel has joined #ruby
<agent_white> OpenSSL::Cipher.ciphers
zachrab has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
maximski has quit []
danjordan has joined #ruby
fgo has joined #ruby
dimaursu16 has joined #ruby
zachrab has quit [Remote host closed the connection]
kyb3r_ has quit [Quit: Leaving]
iMe has joined #ruby
mudtose has quit [Ping timeout: 264 seconds]
<sud0x> thanks agent_white
sud0x has left #ruby [#ruby]
MasterPiece has joined #ruby
az7ar_away is now known as az7ar
TheNet has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
TheNet has joined #ruby
neektza has quit [Ping timeout: 252 seconds]
peasoup has quit [Ping timeout: 244 seconds]
davedev2_ has joined #ruby
yvemath has quit [Ping timeout: 252 seconds]
dimaursu16 has quit [Ping timeout: 264 seconds]
nolic has quit [Ping timeout: 252 seconds]
rfv has quit [Ping timeout: 252 seconds]
nolic has joined #ruby
neektza has joined #ruby
kalz has quit [Ping timeout: 252 seconds]
piotrj has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
yvemath has joined #ruby
himsin has joined #ruby
wottam has joined #ruby
rfv has joined #ruby
dimaursu16 has joined #ruby
danjordan has quit [Quit: danjordan]
agrinb has joined #ruby
lxsameer has joined #ruby
agrinb_ has joined #ruby
mudtose has joined #ruby
<agent_white> ritzratzrazmatatz
sent1nel has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
lyuben__ has quit [Quit: This computer has gone to sleep]
agrinb_ has quit [Ping timeout: 245 seconds]
MasterPiece| has joined #ruby
fgo has joined #ruby
Channel6 has quit [Quit: Leaving]
armyriad has joined #ruby
MasterPiece has quit [Read error: Connection reset by peer]
iMe has joined #ruby
dc__ has joined #ruby
kalz has joined #ruby
dc_ has quit [Ping timeout: 246 seconds]
davedev24_ has joined #ruby
davedev2_ has quit [Ping timeout: 255 seconds]
tens0r has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
agent_white has joined #ruby
tens0r has quit [Changing host]
tens0r has joined #ruby
tens0r has quit [Remote host closed the connection]
tens0r has joined #ruby
Sawbones has quit []
himsin has quit [Read error: Connection reset by peer]
mudtose has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
mudtose has joined #ruby
dimaursu16 has quit [Ping timeout: 250 seconds]
shadoi has quit [Quit: Leaving.]
himsin has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 245 seconds]
peasoup has joined #ruby
iMe has joined #ruby
riotjones has joined #ruby
Aova has quit [Read error: Connection reset by peer]
hanmac1 has joined #ruby
nii236|i1ssi has joined #ruby
tagrudev has joined #ruby
RasKhadafi has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 245 seconds]
duncannz has joined #ruby
Aova has joined #ruby
CorySimmons has joined #ruby
pu22l3r has quit [Remote host closed the connection]
fabrice31 has joined #ruby
hvxgr has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
JBreit has joined #ruby
aganov has joined #ruby
quazimodo has joined #ruby
ghr has joined #ruby
apeiros__ has joined #ruby
ptrrr has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
ptrrr has quit [Client Quit]
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
last_staff has joined #ruby
iMe has quit [Ping timeout: 240 seconds]
apeiros_ has quit [Ping timeout: 265 seconds]
andikr has joined #ruby
mudtose has quit [Ping timeout: 246 seconds]
codecop has joined #ruby
iMe has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
mbytes has quit [Ping timeout: 245 seconds]
piotrj has quit [Remote host closed the connection]
apurcell has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
agent_white has joined #ruby
oo_ has joined #ruby
paradisaeidae_ has joined #ruby
paradisaeidae_ has quit [Client Quit]
lyuben_ has joined #ruby
paradisaeidae has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
hamakn has joined #ruby
harfangk has quit [Quit: This computer has gone to sleep]
apurcell has quit [Ping timeout: 252 seconds]
davedev24_ has quit [Ping timeout: 255 seconds]
Cache_Money has quit [Quit: Cache_Money]
CorySimmons has quit [Quit: Bye!]
davedev24_ has joined #ruby
apeiros__ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
tunaCanBruh has joined #ruby
adriancb_ has joined #ruby
JBreit has left #ruby ["Leaving"]
tens0r has quit [Quit: tens0r]
apeiros_ has quit [Ping timeout: 246 seconds]
fantazo has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
The_Phoenix has joined #ruby
psy_ has quit [Read error: No route to host]
tunaCanBruh has quit [Ping timeout: 252 seconds]
iMe has quit [Ping timeout: 246 seconds]
adriancb_ has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
tens0r has joined #ruby
iMe has joined #ruby
chintanparikh has joined #ruby
psy_ has joined #ruby
<chintanparikh> Anyone know why my tcp server won't work? https://gist.github.com/chintanparikh/3ea1671ab2b73e39c4af
<chintanparikh> Gets stuck on line 24
andikr has quit [Remote host closed the connection]
vdamewood has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chintanparikh> Added my client to the gist
<chintanparikh> If I remove the thread stuff it works for the first client call
hvxgr has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
RasKhadafi has joined #ruby
diegoviola has joined #ruby
<diegoviola> I'm parsing some CSV data and then importing the data to my db, I'd like to validate the data before importing, how do I go into doing that?
<diegoviola> I'm using CSV#read()
posixpascal has joined #ruby
sjmikem has joined #ruby
az7ar is now known as az7ar_away
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<chintanparikh> Looks lie something's blocking my loop
iliketurtles has quit [Quit: zzzzz…..]
zacstewart has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
sandelius has joined #ruby
veinofstars has quit [Quit: veinofstars]
iMe has quit [Ping timeout: 246 seconds]
wottam has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apurcell has joined #ruby
zacstewart has quit [Ping timeout: 246 seconds]
iMe has joined #ruby
<quazimodo> how do we do optional args?
apeiros_ has joined #ruby
bal has joined #ruby
Pupeno has joined #ruby
veinofstars has joined #ruby
veinofstars has quit [Client Quit]
wottam has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
posixpascal has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
posixpascal has joined #ruby
apurcell has quit [Ping timeout: 252 seconds]
<Igneous> Hey this might be a weird question, but is there any kind of language-agnostic database modeling toolset? I'm doing some product work with a (mostly) php project, but I'd like to do some application configuration with chef, and do a couple tiny tweaks to the db.
diegovio1 has joined #ruby
joufflu has quit [Read error: Connection reset by peer]
<Igneous> Is there such a thing? Or should I just bite the bullet and abstract away the db calls that I need to make in something like sequel
diegoviola is now known as Guest13655
himsin has quit [Read error: Connection reset by peer]
diegovio1 is now known as diegoviola
Guest13655 has quit [Ping timeout: 244 seconds]
hamakn has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
dopie has quit [Remote host closed the connection]
<quazimodo> i always just did def whateven(optional = nil)
psy_ has quit [Ping timeout: 255 seconds]
rushed has joined #ruby
himsin has joined #ruby
<Igneous> quazimodo: I want to say that ruby 2.1 has optional named parameters, so when defining a method, you can do something like (option: nil), and then define it when calling method(option: myvar)
<Igneous> that's not very legacy-friendly code, though
<Igneous> and it's still commonplace to see people using the options={} pattern
lkba has quit [Ping timeout: 245 seconds]
Aova has joined #ruby
<quazimodo> hrm
<quazimodo> i want to use a strategy pattern, but also be able to call lambdas
<quazimodo> so my strategy objects have #call method
<quazimodo> but they don't take args
<quazimodo> .call on lambda can have args
agent_white has quit [Read error: Connection reset by peer]
<quazimodo> so def call(lambda_args = nil) works in my strategy objects
<quazimodo> but it's ugly
dumdedum has joined #ruby
<quazimodo> ...
<quazimodo> maybe the context object needs to check if it's a lambda or not perhaps
agent_white has joined #ruby
hamakn_ has joined #ruby
amclain has quit [Quit: Leaving]
iMe has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
ghr has joined #ruby
<certainty> moin ruby
iMe has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
rushed has quit [Quit: rushed]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: Connection reset by peer]
AlexRussia has quit [Ping timeout: 265 seconds]
agent_white has joined #ruby
harfangk has joined #ruby
timmmaaaayyy has quit [Ping timeout: 255 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TinkerTyper has quit [Ping timeout: 252 seconds]
timmmaaaayyy has joined #ruby
hamakn_ has quit [Remote host closed the connection]
TinkerTyper has joined #ruby
greenarrow has joined #ruby
himsin has quit [Quit: himsin]
kalusn has joined #ruby
<chintanparikh> Anyone online with socket programming experience?
<chintanparikh> This is still giving me a huge headache
<agent_white> chintanparikh: Just ask your question :)
<agent_white> I only have minor experience, but maybe I could help.
CpuID2 has quit [Quit: This computer has gone to sleep]
<chintanparikh> For some reason it just hangs the second time it hits line 25 in server.rb
<chintanparikh> I assume it's waiting for more input, but I'm providing more input in client.rb (line 21)
iMe has quit [Ping timeout: 264 seconds]
bronson has quit [Remote host closed the connection]
tesuji has joined #ruby
einarj has joined #ruby
lidaaa has quit [Ping timeout: 250 seconds]
<agent_white> chintanparikh: Ahhh crap I forgot... my ISP hung up my connection except for IRC.
<agent_white> chintanparikh: Feel free to wait for others, or PM me imporant pieces of the code if you want.
<chintanparikh> agent_white: Haha okay I'll PM you! Thanks
iMe has joined #ruby
<agent_white> :P The "joys" of having no internet 'cept IRC... google-less definitely feels a tad bit nekkid.
P1RATEZ has left #ruby [#ruby]
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
agent_white has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
abuzze has joined #ruby
agent_white has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
adamjleonard has quit [Quit: Leaving...]
LouisRoR has joined #ruby
theRoUS has quit [Quit: Coyote finally caught me]
abuzze has quit [Ping timeout: 256 seconds]
andikr has joined #ruby
arup_r_ has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
Jetchisel has quit [Ping timeout: 255 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
razieliyo has joined #ruby
kalusn has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 252 seconds]
mambo has joined #ruby
jimms has joined #ruby
Xeago_ has joined #ruby
Hobogrammer has quit [Ping timeout: 252 seconds]
iMe has joined #ruby
lkba has joined #ruby
AlexRussia has joined #ruby
Xeago__ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
Xeago___ has joined #ruby
sjmikem has quit [Quit: Leaving.]
Xeago has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Ping timeout: 250 seconds]
danjordan has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Xeago__ has quit [Ping timeout: 256 seconds]
agent_white has joined #ruby
Guest123 has joined #ruby
<chintanparikh> Hey peeps, just made a SO post. Would love some eyeballs http://stackoverflow.com/questions/28449648/how-can-i-send-multiple-messages-on-a-single-tcpsocket
narph has joined #ruby
duncannz has quit [Remote host closed the connection]
rushed has joined #ruby
himsin has joined #ruby
Takle has quit [Remote host closed the connection]
siso has joined #ruby
qba73 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oleo has quit [Read error: Connection reset by peer]
harfangk has quit [Quit: This computer has gone to sleep]
oleo has joined #ruby
Pharaoh2 has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
Aova has quit [Read error: Connection reset by peer]
mbytes has joined #ruby
chintanparikh has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
livathinos has joined #ruby
antgel has joined #ruby
dagda1 has quit [Read error: Connection reset by peer]
mbytes has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Aova has joined #ruby
iMe has quit [Ping timeout: 255 seconds]
ghostpl has joined #ruby
iMe has joined #ruby
LouisRoR has quit [Ping timeout: 265 seconds]
mroach has quit [Quit: mroach]
chrishough has joined #ruby
oo_ has quit [Remote host closed the connection]
hs366 has joined #ruby
bweston92 has joined #ruby
Lemur has quit [Remote host closed the connection]
ghr has joined #ruby
Lemur has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Xeago has joined #ruby
tunaCanBruh has joined #ruby
JohnBat26 has joined #ruby
harfangk has joined #ruby
CustosL1men has joined #ruby
Lemur has quit [Ping timeout: 245 seconds]
ghr has quit [Ping timeout: 250 seconds]
Xeago___ has quit [Ping timeout: 246 seconds]
<quazimodo> hrm
<quazimodo> what's an elegant way to take a nested block of hashes and arrays, go through each element (the element in the array, or the value of the hash) and replace it
<quazimodo> so [{foo: ["bar", "baz"]}, ["zed", {who: "where"}]]
chintanparikh has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
<quazimodo> preserver that structure, but just append an a to each elem/value
<crome> chintanparikh: you don't loop in the thread block. you wait for one readline and then decide what to respond based on request_hash["request"] and then the thread ends
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
ghr has joined #ruby
<chintanparikh> crome: OH that makes a lot of sense
livathin_ has joined #ruby
<chintanparikh> crome: You're a life saver, thanks so much!
<crome> you're welcome
iMe has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
fgo has joined #ruby
<waxjar> quazimodo: is that really how your structure looks? [hash, 2-element array] ?
arup_r_ has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 264 seconds]
livathinos has quit [Ping timeout: 265 seconds]
kalusn has joined #ruby
<waxjar> ohterwise i'd say ary.each { |h| h.each_value { |v| v << "a" } }
iMe has joined #ruby
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
Jetchisel has joined #ruby
livathin_ has quit [Remote host closed the connection]
razieliyo has quit [Read error: No route to host]
bronson has joined #ruby
livathinos has joined #ruby
jgt has joined #ruby
LouisRoR has joined #ruby
mikecmpbll has joined #ruby
tens0r has quit [Ping timeout: 245 seconds]
tensor-dev has joined #ruby
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
r0bby_ has joined #ruby
marr has joined #ruby
terlar has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
agent_white has joined #ruby
r0bby_ is now known as robbyoconnor
hamakn has quit [Ping timeout: 245 seconds]
sevenseacat has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 264 seconds]
max96at|off is now known as max96at
lolmaus has quit [Quit: Konversation terminated!]
bunbury_ has joined #ruby
iMe has joined #ruby
lsmola has joined #ruby
az7ar_away is now known as az7ar
AFKGeek has joined #ruby
Zai00 has joined #ruby
jhebden has quit [Read error: No route to host]
<avril14th> morning
msgodf has joined #ruby
amundj has quit [Ping timeout: 244 seconds]
amundj_ has joined #ruby
aswen has joined #ruby
<apeiros_> moin
duncannz has joined #ruby
PierreRambaud has joined #ruby
timonv has joined #ruby
dmolina has joined #ruby
<mambo> is there any way to find out where the variable was first set in a ruby debugger? im using 2.2.x
<mambo> i mean, find out where in a code it was set on a debugger
wottam has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amacou has quit [Remote host closed the connection]
abuzze has joined #ruby
leafybasil has quit [Remote host closed the connection]
tmtwd has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
chintanparikh has quit [Ping timeout: 264 seconds]
Aova has quit [Read error: Connection reset by peer]
mbytes has joined #ruby
<diegoviola> I'm using this code here to load some CSV to my db, any ideas what I can improve? https://gist.github.com/2e762bce2b991de91753
iMe has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
olivier_bK has joined #ruby
wpp has joined #ruby
agent_white has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<olivier_bK> i dont understand why i get the error undefined methode colorize ?
rdark has joined #ruby
Aova has joined #ruby
mbytes has quit [Ping timeout: 252 seconds]
<olivier_bK> the file FileDirectory.rb and Colorize.rb are in in lib/ In other words in the same directory
Xeago_ has joined #ruby
<mambo> @diegoviola: maybe use CSV.foreach instead of CSV.read?
<apeiros_> olivier_bK: you create a class FileAttr::String, which is not the same as String
<apeiros_> and you include Color in that class, not in ::String
<olivier_bK> what
diegoviola has quit [Ping timeout: 256 seconds]
Xeago has quit [Ping timeout: 256 seconds]
druznek has joined #ruby
m8 has joined #ruby
<apeiros_> olivier_bK: do you intend on asking a sensible question or is "what" all?
<agent_white> WAT
<apeiros_> agent_white: WAT PHO. good school.
mambo has quit [Remote host closed the connection]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
Guest123 has joined #ruby
<agent_white> WAT DAT SKOO FOO?
<agent_white> Butsrsly what's that?
dANO_ has joined #ruby
<agent_white> ":D
<apeiros_> massage school in thailand
davidhq has joined #ruby
mdw has joined #ruby
TheNet has quit [Quit: Leaving...]
diegoviola has joined #ruby
<shevy> lol
<monsieurp> guys, I'm trying to figure out a way to get a list of all available modules, is there a way to accomplish such thing whilst in irb? or via a script?
<shevy> yeah via ObjectSpace I guess
<apeiros_> monsieurp: ObjectSpace.each_object
himsin has quit [Ping timeout: 252 seconds]
<apeiros_> but should use this for debugging/introspection only, not for production code.
Grumelo has joined #ruby
<monsieurp> apeiros_: which is my intention ;)
<apeiros_> ah I remember why I had that feeling that I should ignore olivier_bK.
himsin has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
<olivier_bK> apeiros, sorry the "what" is not for you i talking with another people
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros_> sure
<agent_white> olivier_bK: what
CpuID2 has quit [Quit: This computer has gone to sleep]
CpuID2 has joined #ruby
<olivier_bK> lol..
<monsieurp> apeiros_: care to elaborate on ObjectSpace.each_object use? if I do this: ObjectSpace.each_object{|v| puts v}, it outputs the entire Universe to my terminal
<apeiros_> monsieurp: use the docs, luke!
<apeiros_> monsieurp: ObjectSpace.each_object(Module)
<apeiros_> don't forget that classes are modules too. so if you don't want them, you have to exclude them manually
<monsieurp> apeiros_: ah ok, yes indeed
iMe has joined #ruby
<monsieurp> whilst in irb: help
<monsieurp> and then: ObjectSpace.each_object
<apeiros_> or outside irb: ri
peasoup has quit [Ping timeout: 250 seconds]
davidhq has joined #ruby
<apeiros_> or in the web: rdoc.info or ruby-doc.org
enterprisedc has quit [Quit: enterprisedc]
<apeiros_> docsaplenty
<monsieurp> thanks! :)
<apeiros_> or in pry with pry-doc: ? ObjectSpace.each_object
Xeago_ has quit [Remote host closed the connection]
<apeiros_> $ ObjectSpace.each_object to get its source code.
lkba has quit [Read error: Connection reset by peer]
fgo has joined #ruby
enterprisedc has joined #ruby
abuzze has quit []
psy_ has joined #ruby
rodfersou has joined #ruby
<monsieurp> apeiros_: it's not as trivial as: import math; dir(math)
<monsieurp> but hey :>
colli5ion has joined #ruby
<apeiros_> ls ObjectSpace
<apeiros_> pry, again.
colli5ion has quit [Max SendQ exceeded]
alex88 has joined #ruby
<apeiros_> so gtfo with your pythonisms :-p
_mynameis has joined #ruby
colli5ion has joined #ruby
colli5ion has quit [Max SendQ exceeded]
<monsieurp> :P
OrbitalKitten has joined #ruby
<alex88> hi guys, someone uses jasmine to test a javascript library inside a ruby gem? I'm actually trying to do that but it seems it can't catch my tests with coffeescript
veinofstars has joined #ruby
<apeiros_> in plain ruby there's plenty of introspection too. but nothing which mixes all like python's dir().
<monsieurp> I had to stick a couple of lines in my .irbrc to get completion and colours and all those fancy stuff
colli5ion has joined #ruby
<quazimodo> does CGI's html helpers escape html automatically?
colli5ion has quit [Max SendQ exceeded]
<apeiros_> monsieurp: do yourself a favor, use pry.
<monsieurp> what is pry?
<apeiros_> an irb replacement
aagdbl has joined #ruby
<monsieurp> a ruby REPL?
leafybasil has joined #ruby
Xeago has joined #ruby
colli5ion has joined #ruby
colli5ion has quit [Max SendQ exceeded]
tensor-dev has quit [Quit: tensor-dev]
leat has joined #ruby
abuzze has joined #ruby
colli5ion has joined #ruby
colli5ion has quit [Max SendQ exceeded]
agent_white has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
yfeldblum has joined #ruby
<monsieurp> ah yes indeed :)
fgo has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
colli5ion has joined #ruby
colli5ion has quit [Max SendQ exceeded]
Xeago has quit [Remote host closed the connection]
<diegoviola> any ideas if this code can be improved in some way?
Doow has joined #ruby
Timgauthier has joined #ruby
colli5ion has joined #ruby
Xeago has joined #ruby
yfeldblu_ has joined #ruby
lessless has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
schribl has joined #ruby
schribl has left #ruby ["WeeChat 1.1.1"]
schribl has joined #ruby
paradoja has joined #ruby
<ddv> diegoviola: don't use class if you don't intent to instantiate it
<ddv> +a
yfeldblum has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 256 seconds]
<ddv> diegoviola: use a module instead
CpuID2 has quit [Quit: This computer has gone to sleep]
<agent_white> classes only for shared mutable data
<agent_white> maybeh.
<agent_white> ;D
* agent_white waves at diegoviola
<diegoviola> ty
<agent_white> diegoviola: Quit following me around my channels!
<agent_white> ;)
<ddv> diegoviola: I would aso return immediately when data is empty
<diegoviola> ddv: what do you mean return immediately
iMe has joined #ruby
workmad3 has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<ddv> diegoviola: return if data.empty? or return unless data
<diegoviola> ty
<monsieurp> ddv: been picking up Ruby lately and I've been looking for such document for a while
guanophobic has joined #ruby
<monsieurp> ddv: thanks a million
agent_white has joined #ruby
<ddv> monsieurp: yeah also check out rubocop
<monsieurp> ddv: will definitely have a look :)
<diegoviola> what is module_function in that example?
schribl has left #ruby ["WeeChat 1.1.1"]
reinaldob has joined #ruby
<diegoviola> ty
davedev24_ has quit [Remote host closed the connection]
sevenseacat has joined #ruby
selaruvich has joined #ruby
<wasamasa> diegoviola: you're welcome!
iwishiwerearobot has quit [Read error: Connection reset by peer]
selu has joined #ruby
iMe has quit [Ping timeout: 250 seconds]
shellfu has quit [Remote host closed the connection]
<diegoviola> ddv: so I've just made it a module, is that better? https://gist.github.com/7cb2428f48ba4bca5ac1
iMe has joined #ruby
<diegoviola> how can you return immediately if you need to do an else as well?
<diegoviola> I don't think you can return if ... else
lolmaus has joined #ruby
_mynameis has quit [Ping timeout: 265 seconds]
jgt has quit [Ping timeout: 245 seconds]
MasterPiece| has quit [Quit: Bye!]
ajaiswal has quit [Quit: Leaving]
<ddv> diegoviola: place the code in your else clause after the return
roshanavand has joined #ruby
Pupeno has quit [Remote host closed the connection]
<diegoviola> can you give me an example please?>
ARCADIVS has quit [Quit: ARCADIVS]
reinaldob has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aova has quit [Read error: Connection reset by peer]
roshanavand has quit [Remote host closed the connection]
<diegoviola> ddv: oh nvm
<diegoviola> just did that
tunaCanBruh has joined #ruby
<ddv> diegoviola: oh sorry, you can't actually do that :)
Aova has joined #ruby
<diegoviola> ddv: what do you mean? this works: https://gist.github.com/7cdec498953884f83e9e
ajaiswal has joined #ruby
<ddv> oh that part, you don't need the else
totimkopf has joined #ruby
ldnunes has joined #ruby
abuzze has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
az7ar is now known as az7ar_away
ajaiswal has quit [Client Quit]
jenrzzz has quit [Ping timeout: 264 seconds]
_mynameis has joined #ruby
<diegoviola> ty
Takle has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
iMe has quit [Ping timeout: 246 seconds]
roshanavand has joined #ruby
dANO_ has quit []
az7ar_away is now known as az7ar
bonhoeffer has quit [Quit: bonhoeffer]
iMe has joined #ruby
mambo has joined #ruby
reinaldob has joined #ruby
psy__ has joined #ruby
max96at is now known as max96at|off
mambo has quit [Ping timeout: 244 seconds]
psy__ has quit [Max SendQ exceeded]
Takle has joined #ruby
reinaldob has quit [Remote host closed the connection]
davedev24_ has joined #ruby
fabrice31 has quit [Remote host closed the connection]
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
arup_r_ has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
iMe has joined #ruby
workmad3 has quit [Quit: Lost terminal]
arup_r has quit [Ping timeout: 245 seconds]
gfawcettpq1 has joined #ruby
greenarrow has quit [Quit: 500]
duncannz has quit [Ping timeout: 250 seconds]
greenarrow has joined #ruby
greenarrow has quit [Remote host closed the connection]
greenarrow has joined #ruby
greenbagels has joined #ruby
marr has quit [Ping timeout: 246 seconds]
goodenough has quit [Remote host closed the connection]
psy_ has quit [Read error: No route to host]
marr has joined #ruby
mkaesz has joined #ruby
<avril14th> if I pass a block to Object.new, is that block passes as singleton_class eval?
<avril14th> otherwise put, do Object.new do; end; the same as o = Object.new; class << o; end; ?
wpp has quit []
banister has joined #ruby
max96at|off is now known as max96at
<apeiros_> avril14th: I don't think anything is done with a block passed to Object.new
<avril14th> how can one know?
<apeiros_> read the docs
<avril14th> :)
hai123 has joined #ruby
<apeiros_> >> def foo; end; foo do 123 end
<eval-in__> apeiros_ => nil (https://eval.in/283220)
charliesome has joined #ruby
<apeiros_> ^ nothing happens if your method doesn't do anything with a block and you still pass one
<avril14th> yes indeed, but I don't know if Object.new does use a passed block
<avril14th> which I can't find in the docs
<ddv> avril14th: look up the class Object, does it call yield?
<apeiros_> avril14th: it does not do anything with the block.
stef204 has joined #ruby
arup_r_ has quit [Remote host closed the connection]
<avril14th> apeiros_: yes seems so
amacou has joined #ruby
<avril14th> shit, I could have saved one line out of 40K
<avril14th> :)
<avril14th> (and learn something new)
marr123 has joined #ruby
iMe has quit [Ping timeout: 265 seconds]
marr has quit [Ping timeout: 250 seconds]
marr123 is now known as marr
greenarrow is now known as strixd
iMe has joined #ruby
roshanavand has quit [Ping timeout: 245 seconds]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
DouweM has joined #ruby
peasoup has joined #ruby
CpuID2 has quit [Client Quit]
mbytes has joined #ruby
felltir has joined #ruby
_mynameis has quit [Ping timeout: 245 seconds]
peasoup has quit [Ping timeout: 245 seconds]
roshanavand has joined #ruby
mbytes has quit [Ping timeout: 256 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
<quazimodo> is there a better way to do
<quazimodo> something.map{stuff}.compact.join("") ?
workmad3 has joined #ruby
camilasan has quit [Remote host closed the connection]
Aova has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
hai123 is now known as juytr7889
rsavage has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
<gregf__> quazimodo: what does the stuff look like and what are you trying to achieve?
iwishiwerearobot has joined #ruby
_mynameis has joined #ruby
psy_ has joined #ruby
Aova has joined #ruby
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
iMe has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
dorei has joined #ruby
<felltir> something.select(&:stuff).join('') ?
lkba has joined #ruby
<felltir> assuming stuff is truthy
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ruby
chipotle has quit [Quit: cheerio]
arup_r has joined #ruby
az7ar is now known as az7ar_away
Choclo has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
porfa has joined #ruby
tvw has joined #ruby
mambo has joined #ruby
chipotle has joined #ruby
sjmikem has joined #ruby
shum has joined #ruby
Dreamer3 has quit [Ping timeout: 252 seconds]
banister has joined #ruby
einarj has joined #ruby
mambo has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
amacou has quit [Remote host closed the connection]
banister has quit [Ping timeout: 245 seconds]
Xeago has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 252 seconds]
maximski has joined #ruby
sjmikem has quit [Quit: Leaving.]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
blizzy has quit [Ping timeout: 246 seconds]
lanemeyer has quit [Ping timeout: 250 seconds]
iMe has joined #ruby
maximski has quit [Max SendQ exceeded]
roshanavand has quit [Remote host closed the connection]
maximski has joined #ruby
charliesome has quit [Quit: zzz]
bronson has joined #ruby
agent_white has quit [Quit: night]
felltir has quit []
arup_r has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 245 seconds]
<quazimodo> gregf__: 3.times.map {|i| i}.compact.join
Mon_Ouie has joined #ruby
aagdbl has quit [Quit: Connection closed for inactivity]
himsin has quit [Read error: Connection reset by peer]
totimkopf has quit [Quit: leaving]
fgo has joined #ruby
Jetchisel has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 250 seconds]
hs366 has quit [Quit: Leaving]
Pharaoh2_ has joined #ruby
dimaursu16 has joined #ruby
zarubin has joined #ruby
dimaursu16 has joined #ruby
arup_r has joined #ruby
DouweM has quit [Quit: Leaving...]
juytr7889 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mroach has joined #ruby
Jetchisel has joined #ruby
gfawcettpq1 has quit [Read error: Connection reset by peer]
zarubin has quit [Remote host closed the connection]
az7ar_away is now known as az7ar
iMe has joined #ruby
slawrence00 has joined #ruby
Pharaoh2 has quit [Ping timeout: 252 seconds]
Timgauthier is now known as timgauthier_away
veinofstars has quit [Quit: veinofstars]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
PanzerModern has joined #ruby
arup_r_ has quit [Read error: Connection reset by peer]
mkaesz has quit [Read error: Connection reset by peer]
<gregf__> quazimodo: so remove nil's from an array, transform and return a string. [1,nil,3].compact.map{ |val| val * val}.join
mkaesz has joined #ruby
jimms has quit [Remote host closed the connection]
strixd has quit [Quit: 500]
<apeiros_> >> [1, "two", nil, :four].join("")
<eval-in__> apeiros_ => "1twofour" (https://eval.in/283275)
<apeiros_> no need for compact with join
arup_r has quit [Ping timeout: 256 seconds]
<apeiros_> well, with join("")
puppetmonkey has joined #ruby
piotrj has joined #ruby
himsin has joined #ruby
blizzy has joined #ruby
dimaursu16 has quit [Ping timeout: 250 seconds]
tunaCanBruh has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codecop has quit [Remote host closed the connection]
adriancb_ has joined #ruby
n1lo has joined #ruby
AFKGeek has left #ruby ["Leaving"]
tmtwd has quit [Remote host closed the connection]
roshanavand has joined #ruby
adriancb_ has quit [Remote host closed the connection]
amacou has joined #ruby
dimaursu16 has joined #ruby
rushed has quit [Quit: rushed]
reinaldob has joined #ruby
abuzze has joined #ruby
sweeper has quit [Ping timeout: 264 seconds]
tunaCanBruh has quit [Ping timeout: 256 seconds]
strixd has joined #ruby
az7ar is now known as az7ar_away
himsin has quit [Read error: Connection reset by peer]
_mynameis has quit [Ping timeout: 250 seconds]
sweeper has joined #ruby
shum1 has quit [Remote host closed the connection]
jottr_ has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
einarj has quit [Remote host closed the connection]
shum has quit [Client Quit]
reinaldob has quit [Ping timeout: 244 seconds]
shum has joined #ruby
Aova has quit [Read error: Connection reset by peer]
vtunka has joined #ruby
iMe has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
Timgauthier has joined #ruby
jerematic has joined #ruby
lioninawhat has joined #ruby
Takle has quit [Remote host closed the connection]
shum1 has joined #ruby
Aova has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Xeago has joined #ruby
Patrezze has joined #ruby
dblessing has joined #ruby
_mynameis has joined #ruby
lolmaus has quit [Remote host closed the connection]
himsin has joined #ruby
lolmaus has joined #ruby
puppetmonkey_ has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
nateberkopec has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
puppetmonkey has quit [Ping timeout: 246 seconds]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iMe has joined #ruby
roshanavand has quit [Remote host closed the connection]
cpt_yossarian has quit [Ping timeout: 240 seconds]
mambo has joined #ruby
jimms has joined #ruby
rushed has joined #ruby
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
m8 has quit [Quit: Sto andando via]
mroach has quit [Quit: mroach]
Kruppe has quit [Ping timeout: 255 seconds]
PanzerModern has quit [Ping timeout: 245 seconds]
Troy^ has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
PanzerModern has joined #ruby
Megtastique has joined #ruby
mambo has quit [Ping timeout: 252 seconds]
danzilio has joined #ruby
pika_pika has joined #ruby
himsin has quit [Read error: Connection reset by peer]
Aova has quit [Remote host closed the connection]
lioninawhat has joined #ruby
lanemeyer has joined #ruby
siso has quit [Quit: siso]
psy_ has quit [Ping timeout: 245 seconds]
himsin has joined #ruby
sambao21 has joined #ruby
aep has quit [Ping timeout: 244 seconds]
claptor has quit [Quit: this channel is bakas]
einarj has joined #ruby
aep has joined #ruby
lioninawhat has quit [Remote host closed the connection]
Kruppe has joined #ruby
Ivision_ has joined #ruby
dumdedum has quit [Quit: foo]
einarj has quit [Remote host closed the connection]
withnale_ has joined #ruby
bronson has joined #ruby
veinofstars has joined #ruby
roshanavand has joined #ruby
Ivision has quit [Ping timeout: 250 seconds]
iMe has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Excess Flood]
iMe has joined #ruby
Abhijit has joined #ruby
livcd has quit [Changing host]
livcd has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 244 seconds]
michael_mbp has joined #ruby
wald0 has joined #ruby
jbw has quit [Ping timeout: 244 seconds]
dotix has joined #ruby
peasoup has joined #ruby
fgo has joined #ruby
shellfu has joined #ruby
d10n-work has joined #ruby
fgo has quit [Client Quit]
Kejento has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shellfu has quit [Remote host closed the connection]
joonty has joined #ruby
peasoup has quit [Ping timeout: 245 seconds]
fenak has joined #ruby
Vivex has joined #ruby
piotrj has quit [Remote host closed the connection]
apurcell has joined #ruby
brb3 has joined #ruby
Takle has joined #ruby
jimms has quit [Remote host closed the connection]
psy_ has joined #ruby
Abhijit has quit [Quit: Leaving]
psy_ has quit [Max SendQ exceeded]
Takle has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
jimms has joined #ruby
Takle has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
apurcell has quit [Ping timeout: 246 seconds]
Choclo is now known as Choclo[Away]
Vile` has quit [Quit: .]
apurcell has joined #ruby
iMe has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba_ has joined #ruby
aclearman037 has joined #ruby
_mynameis has quit [Ping timeout: 265 seconds]
Choclo[Away] is now known as Choclo
apurcell has quit [Ping timeout: 255 seconds]
piotrj has joined #ruby
shellfu has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
jbw has joined #ruby
n008f4g_ has joined #ruby
Dreamer3 has joined #ruby
raphaelss has quit [Quit: leaving]
yfeldblu_ has quit [Ping timeout: 255 seconds]
Choclo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agarie has joined #ruby
lkba_ has quit [Ping timeout: 264 seconds]
Timgauthier has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
Timgauthier has joined #ruby
mostlybadfly has joined #ruby
psy_ has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
iMe has quit [Ping timeout: 245 seconds]
psy_ has quit [Remote host closed the connection]
mun has joined #ruby
<mun> hi
<mun> does anyone know of a good way to implement in-app scripting? that is, to allow users write scripts using my naive language for defining the behaviour of my app
paulfm has joined #ruby
apurcell has joined #ruby
davedev24_ has quit [Ping timeout: 246 seconds]
silkfox has joined #ruby
iMe has joined #ruby
<ddv> mun: ruby dsl?
_mynameis has joined #ruby
ghostpl has quit [Remote host closed the connection]
davedev24_ has joined #ruby
<mun> ddv: could ruby dsl be used as some kind of a meta-language (i'm guessing that's what i'm having here?)
<shevy> mun yea
ghostpl has joined #ruby
einarj has joined #ruby
<shevy> problem is a DSL must default to some behaviour
<shevy> so for a real DSL you'd have to parse tokens
<centrx> mun, If you don't make it a Ruby DSL, you basically have to write a little grammar parser for your language that reads in a string
apurcell has quit [Ping timeout: 244 seconds]
<mun> centrx: yeah, and that's what i'm trying to avoid
EvanFreeman has joined #ruby
einarj has quit [Remote host closed the connection]
piotrj has quit [Remote host closed the connection]
arup_r has joined #ruby
zacstewart has joined #ruby
<wasamasa> mun: write a bytecode interpreter
tier has joined #ruby
<wasamasa> mun: compile the script to bytecode
<shevy> :)
apurcell has joined #ruby
<mun> wasamasa: right away!
<shevy> mun you can get away with a lot through the various *eval* methods and method_missing
piotrj has joined #ruby
diegovio1 is now known as diegoviola
maximski has quit [Ping timeout: 246 seconds]
mambo has joined #ruby
blizzy has quit [Ping timeout: 246 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv has joined #ruby
<wasamasa> mun: it's how stuff like in-game editors work
rap has joined #ruby
amystephen has joined #ruby
triple_b has joined #ruby
davidhq has joined #ruby
maximski has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
maximski has quit [Remote host closed the connection]
devdazed has joined #ruby
mambo has quit [Ping timeout: 246 seconds]
wottam has joined #ruby
<mun> interestig
triple_b has quit [Ping timeout: 245 seconds]
<wasamasa> it's also part of how ruby itself works :D
tunaCanBruh has joined #ruby
hanmac2 has joined #ruby
<shevy> wasamasa the wise man
<wasamasa> nah, I just spend too much time reading over writing
iMe has quit [Ping timeout: 252 seconds]
devdazed has quit [Client Quit]
<wasamasa> and complaining over programming
jefus_ is now known as jefus
<mun> bah, to save on work for now.. would it be a good idea to just let users write ruby that is limited to the interface i provide?
<monsieurp> apeiros_: pry = woah
<wasamasa> mun: hmm, you'd need to limit it severely
davedev2_ has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
<mun> wasamasa: for security reasons?
<wasamasa> mun: mostly
<mun> or, maybe just open a socket, and offer an API essentially
<wasamasa> that could very well be the easiest
davedev24_ has quit [Ping timeout: 265 seconds]
<mun> ask the user to make appropriate requests
<wasamasa> in fact, it has been done with files ages before
iMe has joined #ruby
<mun> files?
<wasamasa> see /proc under linux and 9plan
Timgauthier has quit [Read error: Connection reset by peer]
<mun> wasamasa: you mean, /proc communicates over sockets?
tunaCanBruh has quit [Ping timeout: 246 seconds]
<wasamasa> no, I meant /proc is a pseudo-fs
<wasamasa> it's just files you can read from and write to
Timgauthier has joined #ruby
twistedpixels is now known as zz_twistedpixels
Pupeno has joined #ruby
<wasamasa> 9plan took the idea a bit further
<workmad3> ah, procfs, harking back to the original unix philosophy of 'everything is a file'
sevenseacat has quit [Remote host closed the connection]
<workmad3> and unix sockets, which are also files...
<workmad3> files are fun :)
<wasamasa> mhh
gregf has quit [Quit: WeeChat 1.0.1]
<wasamasa> they're at the very least practical to work with
sankaber has joined #ruby
<workmad3> yeah, as long as you have decent file-system libraries in your language
<apeiros_> they're limited
* wasamasa finished writing a system monitor using these yesterday
piotrj has quit [Ping timeout: 245 seconds]
<workmad3> apeiros_: pfft, only if you want to do fun stuff like real-time graphics or a lot of networking... :P
veinofstars has quit [Quit: veinofstars]
<apeiros_> or basically anything where random access BLOB doesn't cut it :-)
* wasamasa would like to do real-time sound
piotrj has joined #ruby
Takle has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 244 seconds]
banister has joined #ruby
<workmad3> apeiros_: in their defence, the original unix beards didn't have fancy things like graphical displays or complicated networks... files were a very good fit for everything they tended to deal with... and they're surprisingly good for interacting with a lot of stuff even now, just there are some cases where they're not :)
<apeiros_> oh, don't get me wrong
rubytor has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: Leaving]
<apeiros_> files are a useful abstraction for many things
* wasamasa is sad about the lack of /dev/dsp on modern linux systems
<shevy> everything is an object!
<workmad3> wasamasa: I'm waiting to be able to connect my MBP up to my smoke alarm via bluetooth and get a /dev/geiger
<shevy> everything is a file
<wasamasa> piping into `play` is close enough for quick and dirty audio hacking
JDiPierro has joined #ruby
<shevy> apeiros wrote alle meine entlein
<workmad3> shevy: objects are files and files are objects!
<apeiros_> and entlein are files
<shevy> lol
einarj has joined #ruby
<centrx> urbit
JDiPierro has quit [Remote host closed the connection]
* wasamasa is not sure what to think of it
* workmad3 wonders if entlein is anything to do with ents
jzigmund has joined #ruby
enebo has joined #ruby
totimkopf has joined #ruby
<shevy> workmad3 it's german for cute little duckies
JDiPierro has joined #ruby
<workmad3> oh man, now my mind is wondering how many ents you'd need to turn into paper in order to be able to print off some textual representation of the CGI animations of ents from LOTR...
einarj has quit [Remote host closed the connection]
<totimkopf> why do I need to use class_variable_set/class_variable_get with class method singletons? I thought def self.foo would be the same as def Klass.foo?
zenith_ has joined #ruby
apurcell has joined #ruby
guardian has joined #ruby
<guardian> hello, I have a beginner question
allcentury has joined #ruby
<guardian> echo "puts "hello" > b
<guardian> echo "load 'b'" > a.rb
<guardian> executing ruby a.rb outputs "hello"
piotrj has quit [Ping timeout: 256 seconds]
<guardian> so far so good, but if I do echo "require_relative 'b'" > a.rb then I get an error
it0a has joined #ruby
<guardian> ./a.rb:1:in `require_relative': cannot load such file
<guardian> is it because require_relative expects a file that ends with .rb ?
rodfersou has quit [Read error: Connection reset by peer]
<apeiros_> guardian: actually load does
<apeiros_> I'm surprised your first example works
<totimkopf> require doesn't need the file extension
<workmad3> guardian: require (and require_relative) add on .rb if no extension is present
<crome> it requires a file that is there, though
rodfersou has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<guardian> yeah my point, it seems to add the extension prior to testing whether the file exists
<apeiros_> guardian: ah, but your file should be named .rb
Kricir has quit [Remote host closed the connection]
<apeiros_> load needs the filename as it is. that's why your first example worked. because you called your file 'b'. but with require/require_relative, while you do require_relative 'b', the file's name must still be b.rb
tunaCanBruh has joined #ruby
lioninawhat has joined #ruby
<bhaak> entlein good also be "little ent"
<apeiros_> require/require_relative can load other file types than just .rb
<guardian> yeah well so the exact need is: a Vagrantfile loads another Vagrantfile
<guardian> in which case "load" is good enough and works
x77686d has joined #ruby
apurcell has quit [Ping timeout: 252 seconds]
iMe has quit [Ping timeout: 264 seconds]
<guardian> thanks for caring
roshanavand has quit [Ping timeout: 264 seconds]
gregf has joined #ruby
davedev24_ has joined #ruby
iMe has joined #ruby
cphrmky has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
davedev2_ has quit [Ping timeout: 265 seconds]
tvw has quit [Ping timeout: 264 seconds]
dimaursu16 has quit [Ping timeout: 250 seconds]
n008f4g_ has joined #ruby
balazs has joined #ruby
antgel has quit [Ping timeout: 256 seconds]
<mun> wasamasa: hi again
dumdedum has joined #ruby
agrinb has joined #ruby
adriancb_ has joined #ruby
jerius has joined #ruby
<mun> wasamasa: with my 'meta language' question earlier, rather than asking the user to load their own scripts in order to talk to my API, would it be a good idea to somehow sandbox some space in my app to load ruby code?
Xiti has joined #ruby
<mun> then the question would be, what's a good way to make a sandbox within an app?
josephcs has quit [Quit: (null)]
Channel6 has joined #ruby
piotrj has joined #ruby
LouisRoR has quit [Ping timeout: 246 seconds]
balazs has quit [Ping timeout: 252 seconds]
himsin has quit [Quit: himsin]
julian-delphiki has quit [Read error: Connection reset by peer]
Ivision_ has quit [Read error: Connection reset by peer]
Ivision has joined #ruby
josephndenton has joined #ruby
devdazed has joined #ruby
Takle has joined #ruby
yfeldblum has joined #ruby
agarie has quit [Remote host closed the connection]
dimaursu16 has joined #ruby
harfangk has quit [Quit: This computer has gone to sleep]
<shevy> so many questions
bronson has joined #ruby
JDiPierro has quit [Remote host closed the connection]
<matti> shevy: So little time.
<ponga> hi shevy!
<shevy> hey ponga
arup_r has quit []
<shevy> you are still using ruby?
yfeldblum has quit [Ping timeout: 250 seconds]
<matti> Ruby?!
<matti> We all switched to Emerald.
<matti> shevy: You missed the memo.
<ponga> shevy: on C# at the moment
LouisRoR has joined #ruby
<ponga> onto Unity game engine these days
dsahni has joined #ruby
werelivinginthef has joined #ruby
balazs has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 246 seconds]
mrfoto has joined #ruby
* hanmac1 is writing C code because he C-an ;P
masterexploder has joined #ruby
<crome> I'm into go these days
iMe has joined #ruby
krz has joined #ruby
<hanmac1> the next language after go will be called "went" ;P
einarj has joined #ruby
JDiPierro has joined #ruby
athan has quit [Quit: No Ping reply in 180 seconds.]
<matti> For me it would be anything I can put my hands on.
<matti> Today, Python :)
druznek has quit [Quit: Leaving]
Channel6 has quit [Remote host closed the connection]
haylon has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zacstewart has quit [Remote host closed the connection]
El3k0n has joined #ruby
athan has joined #ruby
krzkrz has joined #ruby
<ddv> matti: no point in python when you know ruby
<shevy> but it has better docs!
<hanmac1> imo ruby is pythons evil twin sister ;P
zenith_ has quit [Ping timeout: 265 seconds]
<centrx> Ruby docs are better
<centrx> Python isn't even really object-oriented
<centrx> But at least it's not...
narph has joined #ruby
<centrx> PHP!
juanpablo_ has joined #ruby
<balazs> Is there a safe way to use backticks where no shell interpolation happens ?
krz has quit [Ping timeout: 256 seconds]
<diegoviola> what do you mean python isn't object-oriented/
<diegoviola> ?
maximski has joined #ruby
<shevy> balazs you can redefine the method, just as any other method
rubytor has joined #ruby
mambo has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
cocotton has joined #ruby
<centrx> diegoviola, e.g. "“Private” instance variables that cannot be accessed except from inside an object don’t exist in Python."
harfangk has joined #ruby
<centrx> diegoviola, e.g. to do mapping, you have to define a function fn and then do map(fn, my_array) instead of just my_array.map { fn } as in Ruby
<balazs> shevy: I guess my question is whether somebody already implemented it
Kricir has joined #ruby
<centrx> balazs, Are you looking for 'exec' or 'system' perhaps?
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has joined #ruby
<balazs> centrx: I want to capture the output
mambo has quit [Ping timeout: 256 seconds]
zacstewart has joined #ruby
ismaelga has joined #ruby
pu22l3r has joined #ruby
sjmikem has joined #ruby
karmatr0n has joined #ruby
karmatr0n has quit [Remote host closed the connection]
phutchins has joined #ruby
Blue_Ice_ has quit [Ping timeout: 276 seconds]
<matti> ddv: I am using the snake for SaltStack
<matti> ddv: Only.
Blue_Ice has joined #ruby
Blue_Ice has joined #ruby
<ddv> matti: ah ok saltstack is nice
peasoup has joined #ruby
<matti> Yeah, enjoying it so far.
chinmay_dd has joined #ruby
El3k0n has quit [Remote host closed the connection]
GPH|work has joined #ruby
<diegoviola> centrx: why is that
<diegoviola> centrx: and why do they say then that "everything is an object in python"
<diegoviola> if that's not the case
psy_ has joined #ruby
agrinb has quit [Remote host closed the connection]
psy_ has quit [Max SendQ exceeded]
agrinb has joined #ruby
iMe has quit [Ping timeout: 252 seconds]
psy_ has joined #ruby
peasoup has quit [Ping timeout: 240 seconds]
mkaesz has quit [Remote host closed the connection]
<centrx> diegoviola, That sounds like a very loose definition of "object"
<centrx> diegoviola, C is not object-oriented, but you could call a C struct an "object"
iMe has joined #ruby
Number2 has quit [Quit: leaving]
<centrx> diegoviola, "Everything in Python is an object, and almost everything has attributes and methods." - yet the standard definition of an object is it is has attributes and/or methods/behaviors
masterexploder has left #ruby ["Leaving"]
<centrx> So this Dive into Python doc for example, is saying "Everything is an object" yet "Not everything has attributes and methods"
<centrx> Typical Python propaganda
einarj has quit [Remote host closed the connection]
peasoup has joined #ruby
<ponga> centrx: everything is/can be an object' sounds more like ruby to me
<centrx> yeah Everything is an object is Ruby propaganda, but it's true!
agrinb_ has joined #ruby
<centrx> Python: "In Python, the definition is looser; some objects have neither attributes nor methods, and not all objects are subclassable. But everything is an object in the sense that it can be assigned to a variable or passed as an argument to a function."
agrinb has quit [Ping timeout: 245 seconds]
<centrx> So Python's Everything is an Object means "everything can be assigned to a variable or passed as an argument to a function
<ponga> hi centrx do you have knowledge of C#
<workmad3> centrx: apart from blocks... and local variables... and a few other bits :)
<workmad3> centrx: so python took 'rvar == object'? :)
<ponga> i tried to do something like 'array[3..6]' in C# but it looked like i can't do X..Y in C#
<ponga> is it true?
<workmad3> *rval
<centrx> So Python value == object. Python: numbers in mathematics are objects because they can be assigned to a variable and passed as argument to functions
sjmikem has quit [Quit: Leaving.]
<centrx> ponga, I haven't used C# in many years
<workmad3> centrx: oh wow, C is an OO language, according to python!
<workmad3> centrx: or at least according to whoever wrote that BS :)
athan has quit [Ping timeout: 246 seconds]
<centrx> It's outrageous
<ponga> can anyone answer my inquiry please
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
<guardian> so far I've been coding ruby on mac, with homebrew's ruby. Now that I'm transitioning to Debian, should I install the bundler package with apt-get or should I do "sudo gem install bundler" ?
<workmad3> ponga: any reason you're asking about C# syntax in #ruby?
<ddv> guardian: install a version manager, like rbenv/rvm/chruby
Yzguy has joined #ruby
<ponga> workmad3: because its based on my ruby exprience?
reinaldob has joined #ruby
<ponga> n..n syntax
<workmad3> ponga: here's a suggestion... when learning the syntax for a new language, forget about the syntax for other languages
<ponga> :(
fryguy9 has joined #ruby
jlast has joined #ruby
<workmad3> ponga: syntax is specific to a language... there may be crossover, but there's no way to infer what the crossover is going to be
<guardian> ddv: why? I don't feel the need for a ruby version manager
<ponga> workmad3: i believed it was quite universal
rubytor has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Remote host closed the connection]
<diegoviola> centrx: what are your thoughts about this: "everything is not an object" idea of rubinius? http://rubini.us/2014/11/14/rubinius-3-0-part-5-the-language/
<workmad3> ponga: then you believed wrong
<ddv> guardian: because debian's ruby is always outdated and lagging behind
<ponga> to have this .. and ... for number range
<ponga> ok
fabrice31 has joined #ruby
<workmad3> ponga: many languages don't even have range literals
<ddv> guardian: there are valid reason to deviate from a package manager, this is one of them
DonOtreply has joined #ruby
<workmad3> ponga: and I can think of probably 3 different 'reasonable' syntaxes just off the top of my headD
<workmad3> s/D//
<workmad3> and syntax choices don't have to be reasonable
<ponga> workmad3: i don't understand, what do you mean
tagrudev has quit [Remote host closed the connection]
<workmad3> (and I've also not given it much thought :) )
<ponga> 3 reasonable alternatives?
<centrx> I think something is rotten in the state of Rubinius
<diegoviola> centrx: I think one of their goals is to change the language
reinaldob has quit [Ping timeout: 250 seconds]
fabrice31_ has joined #ruby
nuke_ has joined #ruby
<apeiros_> aaaaaaaaaaaaaah!
<apeiros_> why do I trust my coworkers?!?
karmatr0n has joined #ruby
<apeiros_> found the source of the connection pool leak - somebody indeed added a Thread.new do …AR stuff… end
<centrx> Yeah the Rubinius blog post where he said basically "Ruby is dead", and then the tantrum about RubySpec...
<nuke_> what does this syntax mean?(i havent used ruby) "config.vm.provision :shell,path: "boot.sh""
<apeiros_> and of course didn't remember when I asked around. no idea why I didn't spot it in my initial search for Thread.new
<diegoviola> wth?
himsin has joined #ruby
<centrx> nuke_, config.vm.provision(:shell, { path: "boot.sh" })
<workmad3> ponga: yeah... 3 ways I'd say were reasonable other than '..' to have syntax for range literals in a hypothetical language
Patrezze has quit [Quit: Saindo]
<centrx> nuke_, that's the more explicit version, it's a method (function), first argument is a Symbol, second argument is a Hash
allenn has joined #ruby
<diegoviola> centrx: they like to think ruby is dead because people switch to other languages and ruby doesn't perform as well as other langs
fabrice31 has quit [Ping timeout: 246 seconds]
<workmad3> centrx: if it's 2.0, then 'path:' could be a real keyword argument, not an implicit hash ;)
<centrx> oh boy
<workmad3> but yeah... it's a method call
agrinb_ has quit [Remote host closed the connection]
<centrx> diegoviola, Ruby is much faster now, performance is comparable to other dynamic languages e.g. Python
<ponga> what's this again, ruby is not fast argument?
<ponga> ruby is dang fast now
<shevy> it'll take years until people realize this centrx
agrinb has joined #ruby
<ponga> can't agree more shevy
<ponga> ruby may not be 'fast' but niether is 'slow'
<diegoviola> rubinius doesn't think that ruby is fast
<ponga> well at least to me
<workmad3> tbh, my answer to people who state that hasn't changed - "Ruby isn't fast" - "I don't give a fuck, it's nice to work with and I can produce results very quickly"
<diegoviola> but rubinius is also not very fast
<Timgauthier> workmad3 lol yup thats more important
agarie has joined #ruby
<Timgauthier> node might be the shit, but its fucking javascript...
<ponga> workmad3: sounds 'reasonable'
<ponga> lol
LouisRoR has quit []
<ponga> that my life's value is more important
<ponga> wellbeing and all
<ineb> i think its too vaque to say, that ruby 'is fast' now and wasnt fast back then.
<ineb> i guess you mean the implementation of ruby
<ineb> *default implementation
<workmad3> ineb: ruby has implementations? I thought I still had to manually calculate the VM on paper!!!
LouisRoR has joined #ruby
<ponga> MRI 2.2.0 was pretty fast to me?
<ponga> isn't it everyone?
<ineb> workmad3: you dont have to
<diegoviola> rbx keeps saying that MRI has a GIL and that rbx doesn't have it
<diegoviola> rbx == rubinius
<diegoviola> that you can't do concurrency on MRI, etc
doodlehaus has joined #ruby
<centrx> ponga, 1.8 was quite slow
<workmad3> ineb: oh man... what do I do with my latest order of 5000 reams of A4...
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rubytor has joined #ruby
<ddv> people are acting like they are the next facebook or twitter and need the performance of C
<ineb> workmad3: stack them to put your monitors on equal high
<ponga> well im on C# at the moment
agrinb has quit [Ping timeout: 245 seconds]
<ponga> and C# is pretty alrighty to me
karmatr0n has quit []
<ponga> compared to Java or C++
rbennacer has joined #ruby
<ddv> C# is good language
<ponga> those horrible exprience...
<ddv> +a
<ponga> C# feels good to me too
<workmad3> ddv: which is pretty amusing, seeing as FB is on a highly customised PHP implementation, and twitter is using a JVM stack :)
<gregf__> ponga: c++ syntax is quite similar to C#. no?
<diegoviola> C# is not an option if you use mac or linux, don't get me started on mono
OrbitalKitten has joined #ruby
<dorei> didnt ms opensourced .net recently?
<ponga> gregf__: but the books i read for C# and Java nearly killed my hair roots
<ponga> i mean
<ponga> C++ and java
<Timgauthier> whats GIL, and MRI?
<Timgauthier> python?
<workmad3> ponga: did you make the mistake of reading 'Thinking in C++' and 'Thinking in Java'?
<diegoviola> gil == global interpreter lock
<diegoviola> mri == matz ruby interpreter
Yzguy has quit [Quit: I'm sleeping, go away.]
<Timgauthier> ok
<ddv> mri stands for magnetic resonance imaging
<Timgauthier> thank you diegoviola
<Timgauthier> ddv
dfinninger has joined #ruby
freerobby has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<centrx> Java causes brain damage
paulfm_ has joined #ruby
<Timgauthier> haha
<Timgauthier> yes
pu22l3r_ has joined #ruby
<ddv> java has some great libs though, and the jvm is nice
freerobby has quit [Client Quit]
<Timgauthier> YOU SPEAKETH OF THE EVILEST OF EVIL
hamakn has joined #ruby
ghostpl has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
freerobby has joined #ruby
ghostpl has joined #ruby
paulfm has quit [Ping timeout: 264 seconds]
_mynameis has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Ping timeout: 250 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 250 seconds]
hanmac1 has quit [Quit: Leaving.]
olivier_bK has quit [Ping timeout: 240 seconds]
allcentury has quit [Ping timeout: 252 seconds]
<diegoviola> jvm is nice? what?
axl_ has joined #ruby
Takle has quit [Remote host closed the connection]
iMe has joined #ruby
allcentury has joined #ruby
<ponga> centrx: im not sure whether java causes brain damage but my pal who professes on java says it makes him love his hair :P
cpt_yossarian has joined #ruby
davidhq has quit [Ping timeout: 244 seconds]
<diegoviola> how can you write java and still have hair?
<ponga> i mean *lose
<ponga> diegoviola: typo
<ponga> lol
thiagovsk has joined #ruby
peasoup has quit [Ping timeout: 255 seconds]
seal has joined #ruby
<diegoviola> that makes more sense
Xeago has joined #ruby
systemd0wn has quit [Remote host closed the connection]
<ponga> ironically, yes
Yzguy has joined #ruby
* avril14th looks at his hair...looks at his regexs parsing regexs that fail because "\w" is not the same as '\w'...
Xeago has quit [Remote host closed the connection]
<Timgauthier> haha
<Timgauthier> wow
cocotton_ has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
li0ninawhat has joined #ruby
<ponga> altho i comprehend the joke only partially i still feel empathy
<workmad3> avril14th: just write a regexp to parse the difference
Takle has joined #ruby
<Timgauthier> is that really DRY, or AGILE?
<Timgauthier> or sane
mitchellhenke has quit [Quit: Textual IRC Client: www.textualapp.com]
cocotton has quit [Ping timeout: 246 seconds]
Pharaoh2 has joined #ruby
<workmad3> Timgauthier: none of the above, which makes it perfect!
* workmad3 laughs insanely
<Timgauthier> am i in ##php again?
havenwood has joined #ruby
sent1nel has joined #ruby
davidhq has joined #ruby
_mynameis has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
jobewan has joined #ruby
pontiki has joined #ruby
<ericwood> I could use some help getting this gem working again if anyone wants to help!
tiwillia has quit [Remote host closed the connection]
mambo has joined #ruby
olivier_bK has joined #ruby
tiwillia has joined #ruby
lmickh has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tesuji has quit [Ping timeout: 245 seconds]
kalusn has quit [Remote host closed the connection]
paradoja has quit [Read error: Connection reset by peer]
mmoretti has joined #ruby
tier has quit [Remote host closed the connection]
momomomomo has joined #ruby
_mynameis has quit [Ping timeout: 245 seconds]
C1ph3r_ has joined #ruby
<ddv> ericwood: lol the code is a mess
bweston92 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ericwood> ddv: it uses APIs I know nothing about and syscalls. I'm scared :(
dotix has quit [Ping timeout: 252 seconds]
mambo has quit [Ping timeout: 250 seconds]
hamakn has quit [Remote host closed the connection]
bigkevmcd has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 245 seconds]
snath has quit [Ping timeout: 264 seconds]
lampd1 has quit []
bigkevmcd has joined #ruby
paulfm_ has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
paulfm has joined #ruby
apeiros_ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
bal has quit [Quit: bal]
crueber has joined #ruby
stunder has joined #ruby
iMe has quit [Ping timeout: 244 seconds]
tier has joined #ruby
ferr has joined #ruby
C1ph3r_ has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
joonty has quit [Quit: joonty]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
C1ph3r__ has joined #ruby
agarie has quit [Remote host closed the connection]
C1ph3r__ has quit [Client Quit]
joonty has joined #ruby
apurcell has joined #ruby
paradoja has joined #ruby
C1ph3r_ has joined #ruby
jnylen has quit [Quit: Studitiem]
apeiros_ has quit [Ping timeout: 265 seconds]
iMe has joined #ruby
jamiejackson has joined #ruby
<jamiejackson> hi folks. how do i find out when a method was introduced to a core class? i got a Ruby app dumped on me, and it's complaining about File.path not existing (dumping the methods confirms it).
peasoup has joined #ruby
pdoherty has joined #ruby
apurcell has quit [Ping timeout: 252 seconds]
rubytor has quit [Ping timeout: 252 seconds]
Yzguy has quit [Quit: I'm sleeping, go away.]
livathinos has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
bronson has joined #ruby
kalusn has joined #ruby
C1ph3r_ is now known as C1ph3r
<diegoviola> why would the rubinius people keep saying that ruby is dead, etc?
sambao21 has joined #ruby
MaciejCzyzewski has joined #ruby
<brixen> diegoviola: no one said Ruby is dead
<brixen> why do people keep saying that?
<ericwood> diegoviola: if anyone says "XYZ is dead" they're usually wrong. Don't listen to them.
<diegoviola> no idea
cocotton_ has quit [Remote host closed the connection]
<brixen> people are leaving Ruby and many companies are migrating from Ruby to other languages or platforms
<brixen> link to the companies that are writing about how using Ruby is so much better than X
cocotton has joined #ruby
<diegoviola> JS seems to be the most hyped programming language at the moment, or is it Rust now?
mbeasley has quit [Quit: WeeChat 0.4.2]
_mynameis has joined #ruby
mbeasley has joined #ruby
<workmad3> diegoviola: it's go!
<brixen> Scala!
<brixen> Java 8!
<workmad3> diegoviola: or maybe swift
<brixen> Clojure!
<ponga> but scala is good
<diegoviola> rofl
<brixen> yes, Swift!
<ponga> and swift has too small community
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> hey wait, people don't have much expectation on swift anyway don't they
<diegoviola> brixen: I really like some of the ideas behind Rubinius, I'm all for competition and actually improving performance
<ponga> its just apple scripting lang
<workmad3> ponga: we're talking abut most hyped... small community doesn't stop hype, especially when that hype can be generated by apple on a massive scale :P
<ponga> hm
<ponga> then i'd say JS
<ericwood> just ignore hype and do whatever you want
<ericwood> seriously, just stop listening to people about this stuff
<ericwood> the hypetrain is usually wrong, and you'll eventually burn out keeping track of trends
<ponga> well im using whatever lang i want to use
Kricir has joined #ruby
<ponga> it doesn't seem to be a big deal to me anyway
Kricir has quit [Remote host closed the connection]
<diegoviola> brixen: but I'm not sure about Rubinius X and changing the core language, will RBX always stay comaptible with the Ruby language itself?
<ponga> its less of a deal than considering what car brand to buy
<diegoviola> or with MRI version of the language
<ponga> :P
bronson has quit [Ping timeout: 245 seconds]
<brixen> diegoviola: there is no specification of Ruby, so anything that Rubinius does is basically Ruby
<brixen> if your Ruby code runs on Rubinius, it must be Ruby
<centrx> What if it runs on Rubinius but on MRI
<centrx> Or vice-versa
<centrx> Which is it
<brixen> who knows
<brixen> could be a bug in MRI
<ponga> but that sounds like an ideology
<Timgauthier> hype would be a good language name ;)
<Timgauthier> oh i'm just writing some hype
<brixen> there's no specification, so how would you know?
<ponga> MRI is a standard de facto innit?
<Timgauthier> I built this app with hype
<ericwood> better name than facebook's "hack"
<centrx> You're saying Rubinius is the spec-by-implementation, but MRI is not
<brixen> centrx: I don't know what you mean
<diegoviola> isn't the standard MRI? or wasn't that what MRI developers said basically?
<brixen> could someone point me to a specification for Ruby?
lyuben_ has quit [Quit: This computer has gone to sleep]
peasoup has quit [Ping timeout: 240 seconds]
<brixen> something like ecmascript?
<ponga> but wait
<centrx> "if your Ruby code runs on Rubinius, it must be Ruby" -> "if your Ruby code runs on MRI, it must be Ruby"
<ericwood> Matz is the standard
<diegoviola> isn't MRI the "specification"?
<ponga> i think any ruby user would look at swift and love it too
<brixen> diegoviola: has MRI ever had a bug in it's lifetime?
agarie has joined #ruby
<ponga> i liked swift's style and syntax
<brixen> s/it's/its/
<ponga> very much , actually
<centrx> Has there never been a typo in a spec?
<brixen> basically, what MRI does one day may change the next day
OrbitalKitten has joined #ruby
<ericwood> tl;dr no formal ruby spec, everyone jsut tries to make it like MRI
nfk has joined #ruby
<brixen> tl;dr, if you Ruby code runs, who cares?
<brixen> s/you/your/
<ericwood> those are my thoughts
<brixen> loltypos
<diegoviola> lols
_mynameis has quit [Ping timeout: 240 seconds]
<diegoviola> like perl does have a specification...
kobain has joined #ruby
<Timgauthier> i think it is most important that whatver executes the ruby does so with the same code in the same way, so that your code can remain completely agnostic
kobain has quit [Max SendQ exceeded]
<workmad3> brixen: MRI can be taken as the 'reference implementation' that defines the ruby language, seeing as it doesn't have a formal spec outside of what the language creator puts out there in the form of MRI
iwishiwerearobot has quit [Quit: Be back later ...]
<centrx> Specs aren't provable either, you can't compile your code with a spec
jobewan has quit [Quit: Leaving]
<workmad3> brixen: and if you have a 'ruby interpreter' that does things differently to MRI (in ways that aren't acknowledged by the ruby core team as bugs) then arguably, you don't have a ruby interpreter ;)
jobewan has joined #ruby
<workmad3> what 'does things differently' means is open to a fair bit of community interpretation though
danjordan has quit [Remote host closed the connection]
rubytor has joined #ruby
OrbitalKitten has quit [Read error: Connection reset by peer]
joonty has quit [Quit: joonty]
MasterPiece has joined #ruby
<ponga> speaking of swift, i want swift to completely replace obj-c
<brixen> workmad3: what you have done is highlighted that this question of "what is Ruby" is mostly meaningless
joonty has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
<brixen> if your code runs, that's all you care about
<workmad3> brixen: people who write gems that they want to make available to multiple different interpreters care about it
yfeldblum has joined #ruby
<brixen> that doesn't change anything that I've said
sudog has quit [Ping timeout: 245 seconds]
<brixen> unless, by gems, you mean something other than running code
sudog has joined #ruby
<brixen> also, there are gems, like the syck gem, that expect 'struct RObject' to exist
ellisTAA has joined #ruby
<brixen> that basically will no run on anything besides MRI, ever
<brixen> so, is that Ruby?
<workmad3> yes
peasoup has joined #ruby
<brixen> work_op: please do write an implementation following MRI's ISO spec and run non-trivial Ruby code with it
<brixen> I'll give you $100 if you do that
<diegoviola> lols
<diegoviola> is it any better for the pypy/python folks?
<brixen> workmad3: if you expect struct RObject, you should stick to MRI, and the rest of this is a moot argument
<diegoviola> better/easier
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<diegoviola> I doubt it
<work_op> lol i can see that you're only here to flame people, i'll stick to making $ instead
aganov has quit [Quit: Leaving]
<diegoviola> brixen: so would you argue that there really is no ruby since there's no formal spec?
<centrx> Ruby does not exist!
<centrx> I like this one
grzywacz has joined #ruby
grzywacz has joined #ruby
<diegoviola> so all there is is code that might or might not run in mri/rbx?
seal has quit [Quit: Ex-Chat]
<workmad3> brixen: MRI == reference, if it works with that then it can be counted as 'works with ruby'... if it was something that only worked on jruby or rbx then it doesn't count as 'works with ruby' because jruby and rbx aren't the reference implementation from the language creator
<centrx> Ruby + RBX extensions
chrishough has joined #ruby
<workmad3> brixen: and if something doesn't work with a different implementation, then that implementation can be counted as not adhering to the ruby reference implementation in some way, and therefore deviates from ruby in that respect
<brixen> workmad3: if that's the definition that works for you, cool
<brixen> I have zero interest in convincing you otherwise
<ponga> omg why is this argument continuing
<ponga> im sure our life is worth more than this
<brixen> my position is that what you're saying is a meaningless definition because it's not actionable
<work_op> workmad3, i could agree with that
<ponga> go and have bacon
<workmad3> brixen: how is it not actionable?
yfeldblum has quit [Ping timeout: 246 seconds]
_mynameis has joined #ruby
<work_op> ruby is ruby, altruby is maybe ruby
<shevy> ruby is there: bugs.ruby-lang.org/projects/ruby-trunk and there: ftp://ftp.ruby-lang.org/pub/ruby/
<momomomomo> most ruby’s are attempts at implementing ruby
<momomomomo> er rubies
iMe has quit [Ping timeout: 252 seconds]
amacou has quit [Remote host closed the connection]
<centrx> Maintaining a spec creates a lot of over-head, and it's really only useful for creating compilers for the language
krzkrz has quit [Quit: WeeChat 1.0.1]
enebo has quit [Quit: enebo]
<avril14th> in regex, is [abc] the same as [[a][b][c]] ?
<centrx> And what language are you creating the compiler for? Something like MRI
lmickh has joined #ruby
<centrx> You didn't make a whole new language, you made a compiler for Ruby
<shevy> avril14th hmm
<shevy> avril14th my natural feeling would say yes! but I don't know... let's test
peasoup has quit [Ping timeout: 245 seconds]
mrfoto has quit []
<shevy> avril14th ok rubular.com seems to think they are the same, so I guess they are indeed. so there would be no reason to use the longer [][][] variant
<avril14th> shevy: true, but my regexs are generated, so extra [] could be inserted and I want to know if that's a problem :)
mikepack has joined #ruby
Yzguy has joined #ruby
<shevy> I see
Yzguy has quit [Max SendQ exceeded]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
DouweM has quit [Read error: Connection reset by peer]
joonty has quit [Quit: joonty]
reinaldob has joined #ruby
totimkopf has quit [Ping timeout: 256 seconds]
iMe has joined #ruby
apeiros_ has joined #ruby
CustosL1men has quit [Ping timeout: 252 seconds]
aclearman037 has joined #ruby
posixpascal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
totimkopf has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
paulfm has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
fumk has quit [Ping timeout: 255 seconds]
peasoup has joined #ruby
<j416> I'm lost
last_staff has quit [Quit: last_staff]
<j416> I want to use this to throttle just one url or one controller
<j416> when I just 'use' it as specified in its readme, it'll affect everything
<j416> what to do?
<avril14th> yes, it's a rack thing so it operated before hitting your app, on every request
<j416> avril14th: I've a sinatra app, and I have a "main" app that does use on a bunch of other smaller ones that I call controllers
fumk has joined #ruby
MasterPiece has quit [Read error: Connection reset by peer]
<j416> I want to use that thing only on one "controller"
<centrx> brixen, I heard there's a spec written in Japanese Braille, this might count
<j416> I wonder if maybe it's not possible
MasterPiece has joined #ruby
<j416> centrx: wtf
<avril14th> j416: look if you can tweak that to match only certain urls
davidhq_ has joined #ruby
dumdedum has quit [Quit: foo]
<centrx> j416, Hi, is everything okay?
<avril14th> j416: also check https://github.com/Sinbadsoft/rack-defense if they have that option
<j416> avril14th: on the rack level, there's nothing that can be done to limit it in scope?
<j416> avril14th: nice, checking, thanks
<j416> centrx: just reacted on your comment, :P
<avril14th> j416: I think you have access to the called url
tunaCanBruh has quit [Ping timeout: 265 seconds]
<centrx> j416, oh I thought you were pissed because I "interrupted" you
<avril14th> so you can filter the thing to trigger only on certain urls
<j416> centrx: no no, not at all :)
<j416> hm
davidhq_ has quit [Max SendQ exceeded]
ellisTAA has quit [Quit: ellisTAA]
<j416> avril14th: rack-defense looks nice, though
<j416> avril14th: have you used it?
terlar has quit [Quit: WeeChat 1.1.1]
<avril14th> j416: I know the author
<j416> cool
<j416> I will check it out
terlar has joined #ruby
<avril14th> j416: I wanted to hire him as a CTO but he couldn't wait
peasoup has quit [Ping timeout: 250 seconds]
li0ninawhat has quit [Read error: Connection reset by peer]
<j416> heh
<j416> nice
<avril14th> very solid guy
davidhq has quit [Ping timeout: 245 seconds]
<j416> I'll look into this, awesome!
lioninawhat has joined #ruby
<j416> I gtg, some company event thing spoiling my work time aaaggh
<j416> thanks.
<avril14th> j416: I see in the example that you can filter dependong on the url
mudtose has joined #ruby
<avril14th> so there you go
<j416> avril14th: yeah found it :)
<j416> awesome, thanks!
karmatr0n has joined #ruby
<j416> avril14th++
<avril14th> no pb
<j416> g diff
ellisTAA has joined #ruby
davidhq has joined #ruby
<avril14th> man, promoting gems IS a job
<avril14th> :)
<j416> bah wrong window
<j416> :D
<j416> alright, gtg laters o/
li0ninawhat has joined #ruby
qba73 has quit [Remote host closed the connection]
piotrj has quit [Ping timeout: 252 seconds]
snath has joined #ruby
rippa has joined #ruby
piotrj has joined #ruby
lxsameer has joined #ruby
MaciejCzyzewski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qba73 has joined #ruby
lioninawhat has quit [Ping timeout: 265 seconds]
neoice has left #ruby [#ruby]
mudtose has quit [Ping timeout: 245 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
banister has joined #ruby
nb_bez___ has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
workmad3 has quit [Ping timeout: 256 seconds]
DouweM has joined #ruby
enebo has joined #ruby
blandflakes has joined #ruby
pu22l3r_ has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
mudtose has joined #ruby
timonv has quit [Ping timeout: 250 seconds]
peasoup has joined #ruby
iMe has quit [Ping timeout: 246 seconds]
joonty has joined #ruby
Doow has quit [Quit: Leaving]
sambao21 has joined #ruby
terlar has joined #ruby
ptrrr has joined #ruby
MasterPiece has quit [Quit: Bye!]
baroquebobcat has joined #ruby
puppetmonkey_ has quit [Ping timeout: 264 seconds]
mambo has joined #ruby
mambo has quit [Remote host closed the connection]
mambo has joined #ruby
iMe has joined #ruby
mjuszczak has joined #ruby
allenn has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
tjohnson has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
mambo has quit [Remote host closed the connection]
sent1nel has joined #ruby
Timgauthier is now known as timgauthier_away
reinaldob has quit [Remote host closed the connection]
RasKhadafi has quit [Ping timeout: 255 seconds]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mambo has joined #ruby
pu22l3r has joined #ruby
piotrj_ has joined #ruby
strixd has quit [Quit: 500]
danzilio has quit [Quit: Baiii!]
sent1nel has quit [Remote host closed the connection]
_mynameis has quit [Quit: Leaving]
mitchellhenke has joined #ruby
_mynameis has joined #ruby
maximski has quit []
riotjones has quit [Remote host closed the connection]
piotrj has quit [Read error: Connection reset by peer]
Timgauthier has joined #ruby
MasterPiece has joined #ruby
cphrmky has joined #ruby
sent1nel has joined #ruby
mambo has quit [Ping timeout: 264 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
Rarikon has quit [Read error: Connection reset by peer]
piotrj has joined #ruby
deric_skibotn has joined #ruby
ghostpl has quit [Remote host closed the connection]
C1ph3r has quit [Remote host closed the connection]
mudtose has quit [Ping timeout: 264 seconds]
sent1nel has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
veinofstars has joined #ruby
dsahni has left #ruby ["Leaving"]
qba73 has quit [Remote host closed the connection]
MasterPiece has quit [Max SendQ exceeded]
kalusn has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
MasterPiece has joined #ruby
byprdct has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
piotrj_ has quit [Ping timeout: 250 seconds]
ferr has quit [Remote host closed the connection]
zorak8 has joined #ruby
enebo has quit [Quit: enebo]
nux443 has joined #ruby
hamakn has joined #ruby
spider-mario has joined #ruby
zacstewart has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
bronson has joined #ruby
Lemur has joined #ruby
timonv has joined #ruby
mudtose has joined #ruby
qba73 has joined #ruby
veinofstars has quit [Client Quit]
zacstewart has joined #ruby
havenwood has joined #ruby
kalusn has joined #ruby
reinaldob has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
hamakn has quit [Ping timeout: 246 seconds]
puppetmonkey has joined #ruby
lkba has joined #ruby
rbennacer has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
gfawcettpq1 has joined #ruby
Jake232 has joined #ruby
Lemur has quit [Remote host closed the connection]
piotrj has quit []
rushed has quit [Quit: rushed]
iMe has quit [Ping timeout: 240 seconds]
Lemur has joined #ruby
gfawcettpq1 has quit [Client Quit]
bronson has joined #ruby
n1lo has quit [Quit: Leaving]
Jackneill has joined #ruby
reinaldob has quit [Remote host closed the connection]
hmsimha has quit [Ping timeout: 252 seconds]
gfawcettpq1 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
rbennacer has joined #ruby
iMe has joined #ruby
li0ninawhat has quit [Ping timeout: 265 seconds]
mudtose has quit [Ping timeout: 250 seconds]
deol has joined #ruby
mudtose has joined #ruby
lioninawhat has joined #ruby
msgodf has quit [Ping timeout: 245 seconds]
Lemur has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
bricker has joined #ruby
Xoro has joined #ruby
RasKhadafi has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
mkaesz has joined #ruby
tunaCanBruh has joined #ruby
zorak8 has quit [Ping timeout: 256 seconds]
Xoro has quit [Client Quit]
DouweM has quit [Quit: Leaving...]
Xoro has joined #ruby
ki0 has quit [Ping timeout: 245 seconds]
agarie has quit [Remote host closed the connection]
Xoro has quit [Client Quit]
jimms has quit [Remote host closed the connection]
alex88 has quit []
Xoro has joined #ruby
paradoja has quit [Ping timeout: 245 seconds]
<jamiejackson> i'm a ruby noob, could you tell me how i'd make this function available within an existing module? http://stackoverflow.com/a/13579195
Takle has quit [Remote host closed the connection]
qba73 has quit []
<shevy> jamiejackson do you know how to define a method in a module
<jamiejackson> shevy, i think so
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> good. then you add that method to your module, and if you include NameOfModule in your class, that method is available in your class as well
mkaesz has quit [Ping timeout: 245 seconds]
zacstewart has quit [Remote host closed the connection]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pdoherty has quit [Ping timeout: 245 seconds]
mudtose has quit [Ping timeout: 246 seconds]
gfawcettpq1 has quit [Remote host closed the connection]
agarie has joined #ruby
<jamiejackson> brb. meeting
hmsimha has joined #ruby
zacstewart has joined #ruby
veinofstars has joined #ruby
iliketurtles has joined #ruby
shakar has joined #ruby
ismaelga has quit [Remote host closed the connection]
rushed has joined #ruby
kalusn has quit [Remote host closed the connection]
wottam has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
et09 has joined #ruby
<et09> i have 0 and 20 as min and max
<et09> how do i make -3 0, and 50 20
Xoro has quit [Quit: Leaving]
wottam has quit [Client Quit]
<apeiros_> if val < min; min; elsif val > max; max; else val; end
<et09> bleh ok
<et09> gues that's fine
<shakar> Hello! I'm having two confusions over regex in ruby (maybe all regex, but definitely ruby regex). First confusion: when trying to catch the beginning of email history, I wanted to use the expression "On .* at \d\d?:\d\d (AM|PM), .* <.*@.*> wrote:", but that only seems to match when I remove the closing angled bracket. Why's that? Second confusion: Once I have a working regex for that, how can I turn it into a match-everything-before-that regex? Thanks for any
<shakar> help!
Kruppe has quit [Ping timeout: 255 seconds]
<et09> ...wrap it in parentheses?
<et09> everything before it
Xoro has joined #ruby
Xoro has quit [Max SendQ exceeded]
<havenwood> shakar: Show an example test string and the regular expression you have so far: http://rubular.com/
Kruppe has joined #ruby
<shakar> et09: I have that string in parentheses along with a bunch of OR ("|") patterns
Xoro has joined #ruby
cphrmky has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
Takle has joined #ruby
jefus_ has joined #ruby
mleung has joined #ruby
<shakar> havenwood: I've been using rubular to test. line one is the regex that only works when I remove the closing bracket: http://pastebin.com/vWwABus7
iMe has quit [Ping timeout: 264 seconds]
tunaCanBruh has quit [Ping timeout: 256 seconds]
tunaCanBruh has joined #ruby
<apeiros_> shakar: you can share your rubular example directly
x77686d has quit [Quit: x77686d]
<havenwood> shakar: You can link to Rubular examples: http://rubular.com/r/dx9jeFoD2V
psy_ has quit [Ping timeout: 245 seconds]
tier_ has joined #ruby
Number2 has joined #ruby
iMe has joined #ruby
blizzy has joined #ruby
Soda has joined #ruby
reinaldob has joined #ruby
jefus has quit [Ping timeout: 264 seconds]
Soda has quit [Max SendQ exceeded]
<havenwood> shakar: Check out the "positive lookahead" assertion in the docs: http://www.ruby-doc.org/core-2.2.0/Regexp.html#class-Regexp-label-Anchors
mikecmpbll has joined #ruby
adamjleonard has joined #ruby
jimms has joined #ruby
Soda has joined #ruby
davedev24_ has joined #ruby
kalusn has joined #ruby
MasterPiece has quit [Quit: Bye!]
lioninawhat has quit [Ping timeout: 246 seconds]
<apeiros_> shakar: you're missing a ","
<apeiros_> after the >
claw has joined #ruby
mago0 has joined #ruby
reinaldob has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 265 seconds]
lsmola has quit [Ping timeout: 246 seconds]
tier has quit [Ping timeout: 250 seconds]
<apeiros_> generally if you can, avoid .*
zachrab has joined #ruby
claw___ has quit [Ping timeout: 246 seconds]
<shakar> havenwood: thanks, that looks super relevant, but didn't work as I expected: http://rubular.com/r/r6iawXAes2
<apeiros_> use something like [^>] or \w+
fryguy9 has quit [Quit: Leaving.]
<shakar> apeiros_: thanks, that comma destroys confusion 1!
<shakar> apeiros_: thanks, I'll see about reducing those
colli5ion has quit []
Xiti has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
aclearman037 has quit [Quit: I'm out!]
harfangk has quit [Quit: 전 이만 갑니다.]
<shakar> havenwood: is anything obvious to you about my (mis)use of the positive lookahead assertion?
dcarmich has joined #ruby
zachrab has quit [Ping timeout: 240 seconds]
apurcell has joined #ruby
FooMunki_ has joined #ruby
MasterPiece has joined #ruby
kalusn has quit [Remote host closed the connection]
MasterPiece| has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
sent1nel has joined #ruby
grzywacz has quit [Ping timeout: 256 seconds]
<havenwood> shakar: I've shown a few things for you to consider: http://rubular.com/r/rpH3Zygszb
apurcell has quit [Ping timeout: 264 seconds]
<havenwood> shakar: Not the `m` following the regex to make dot match newlines.
<havenwood> Note*
MasterPiece has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
peasoup has quit [Ping timeout: 245 seconds]
dfinninger has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Lucky___ has joined #ruby
mambo has joined #ruby
cphrmky has joined #ruby
peasoup has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Remote host closed the connection]
jamiejackson has quit [Ping timeout: 246 seconds]
DouweM has quit [Ping timeout: 255 seconds]
rubytor_ has joined #ruby
sjmikem has joined #ruby
riotjones has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
Soda has quit [Read error: Connection timed out]
einarj has joined #ruby
mkaesz has joined #ruby
mambo has quit [Ping timeout: 250 seconds]
shum has quit [Quit: WeeChat 1.1.1]
zacstewart has quit [Remote host closed the connection]
veinofstars has quit [Quit: veinofstars]
shum has joined #ruby
<shakar> thanks havenwood. I think I've got what I want now, and the 'm' was key
Asher has quit [Quit: Leaving.]
veinofstars has joined #ruby
einarj has quit [Read error: Connection reset by peer]
riotjones has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
zachrab has joined #ruby
iwishiwerearobot has joined #ruby
apurcell has joined #ruby
kyle__ has joined #ruby
rubytor_ has quit [Ping timeout: 246 seconds]
ellisTAA has joined #ruby
jamiejackson has joined #ruby
<jamiejackson> shevy, i think this pseudocode will demonstrate my various areas of ignorance: https://gist.github.com/jamiejackson/00449f3dc418cdf1b408 <= can you point out how to make that work?
iMe has quit [Ping timeout: 250 seconds]
rubytor has joined #ruby
rdark has quit [Quit: leaving]
zacstewart has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
apurcell has quit [Client Quit]
<kyle__> I was playing with some unicode, and tried to print out the poop char by typing puts "\u1f4a9". IT appears to be truncating after the 4th hex char though, giving me Ὂ9
iwishiwerearobot has quit [Ping timeout: 244 seconds]
<kyle__> Is there an alternate way of encoding unicode by hex?
iMe has joined #ruby
Zai00 has quit [Quit: Zai00]
zacstewart has quit [Remote host closed the connection]
zacstewart has joined #ruby
mleung has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
yfeldblum has joined #ruby
puppetmonkey has quit [Quit: puppetmonkey]
livingstn has joined #ruby
jgrevich has joined #ruby
<apeiros_> kyle__: \u with hex is defined as \uHHHH. you need \u{HHHHH}
<kyle__> apeiros_: Ahhh! Thank you.
larissa has joined #ruby
agrinb has joined #ruby
mleung has joined #ruby
agarie has quit [Remote host closed the connection]
razieliyo has joined #ruby
<kyle__> Works perfectly!
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
yekta has joined #ruby
dmolina has quit [Quit: Leaving.]
ismaelga has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
diegoviola has quit [Ping timeout: 256 seconds]
tmtwd has joined #ruby
mkaesz has quit [Ping timeout: 264 seconds]
ghostmoth has joined #ruby
ki0 has joined #ruby
<ellisTAA> if one is a web developer, specifically, RoR, is one considered a programmer?
<ellisTAA> can building a website be just as difficult as building software?
ki0 has quit [Read error: No route to host]
einarj has quit [Remote host closed the connection]
PanzerModern has quit [Ping timeout: 245 seconds]
JDiPierro has quit [Remote host closed the connection]
PanzerModern has joined #ruby
<shevy> jamiejackson this is a class method
<shevy> jamiejackson you can only use it through: CwoImport.pull()
<shevy> puts 1.alph
<shevy> here you call a method called .alph() on 1
<shevy> this won't work
<shevy> because 1 does not have alph
<shevy> >> 1.alph()
<eval-in__> shevy => undefined method `alph' for 1:Fixnum (NoMethodError) ... (https://eval.in/283491)
fryguy9 has joined #ruby
m8 has joined #ruby
agrinb has quit [Remote host closed the connection]
klmlfl has joined #ruby
freerobby has quit [Quit: Leaving.]
eytanfb has joined #ruby
puppetmonkey has joined #ruby
lioninawhat has joined #ruby
victormeyer has joined #ruby
victormeyer is now known as pudge
<pudge> part
freerobby has joined #ruby
pudge has left #ruby [#ruby]
agarie has joined #ruby
pudgereyem has joined #ruby
maximski has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
fantazo has quit [Quit: Verlassend]
mjuszczak has quit []
kobain has joined #ruby
diegoviola has joined #ruby
leafybasil has quit [Remote host closed the connection]
danman has joined #ruby
freds25th has joined #ruby
nux443 has quit [Ping timeout: 256 seconds]
iMe has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
AdNauseaum has quit [Remote host closed the connection]
towski_ has joined #ruby
shakar has left #ruby ["Konversation terminated!"]
sandelius has quit [Max SendQ exceeded]
reinaldob has joined #ruby
mbytes has joined #ruby
cjim has joined #ruby
iMe has joined #ruby
pu22l3r has quit [Ping timeout: 255 seconds]
ghostpl has joined #ruby
mjuszczak has joined #ruby
mbytes has quit [Remote host closed the connection]
sigurding has joined #ruby
reinaldob has quit [Remote host closed the connection]
mbytes has joined #ruby
kalusn has joined #ruby
kalusn has quit [Remote host closed the connection]
nepgear has joined #ruby
aphprentice_ has joined #ruby
JDiPierro has joined #ruby
Ivision has quit [Ping timeout: 264 seconds]
selaruvich has quit [Ping timeout: 244 seconds]
sambao21 has joined #ruby
baweaver has joined #ruby
goodenough has joined #ruby
dopie has joined #ruby
athan has joined #ruby
seal has joined #ruby
pu22l3r has joined #ruby
stunder has quit [Remote host closed the connection]
jherbst has joined #ruby
davejacobs has joined #ruby
dfinninger has joined #ruby
vtunka has quit [Quit: Leaving]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
tunaCanBruh has joined #ruby
withnale_ has quit [Ping timeout: 246 seconds]
tus has joined #ruby
ixti has joined #ruby
danman has left #ruby [#ruby]
ixti has quit [Client Quit]
ixti has joined #ruby
leafybasil has joined #ruby
ponga has quit [Quit: Leaving...]
marr has quit [Read error: Connection reset by peer]
livinded has joined #ruby
freds25th has quit [Remote host closed the connection]
agrinb has joined #ruby
Wolland has quit []
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulfm has quit [Quit: Zzzzz...]
duncannz has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
iMe has quit [Ping timeout: 245 seconds]
Hijiri has joined #ruby
MasterPiece| has quit [Remote host closed the connection]
agarie has quit [Ping timeout: 252 seconds]
<jamiejackson> i got it shevy, thanks
fenak has quit [Ping timeout: 264 seconds]
<shevy> jamiejackson you can also add both class and instance methods too, btw
mambo has joined #ruby
<shevy> that way, you can include your module
<shevy> AND you can also use it standalone
mambo has quit [Remote host closed the connection]
<shevy> when you have a standalone method, it is often best to put it into a module anyway
sambao21 has joined #ruby
mambo has joined #ruby
<shevy> that way it will get namespaced, and you can decide on your own when (and if) you wish to include it
fenak has joined #ruby
Fire-Dragon-DoL has joined #ruby
iMe has joined #ruby
MasterPiece| has joined #ruby
gsd has joined #ruby
naftilos76 has joined #ruby
LBRapid has quit [Ping timeout: 245 seconds]
LBRapid has joined #ruby
LouisRoR has quit [Ping timeout: 255 seconds]
geekbri has joined #ruby
mambo has quit [Ping timeout: 245 seconds]
Fire-Dragon-DoL has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
rubytor has quit [Ping timeout: 245 seconds]
zacstewart has quit [Remote host closed the connection]
askatasuna has joined #ruby
zacstewart has joined #ruby
Takle has joined #ruby
mjuszczak has quit []
jefus_ is now known as jefus
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorak8 has joined #ruby
D[__] is now known as Adarn
eytanfb has quit [Remote host closed the connection]
mjuszczak has joined #ruby
lioninawhat has quit [Ping timeout: 246 seconds]
mjuszczak has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
bricker has quit [Quit: Lost terminal]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has quit [Ping timeout: 250 seconds]
pudgereyem has left #ruby ["WeeChat 1.0.1"]
lioninawhat has joined #ruby
TripTastic has joined #ruby
sent1nel has quit [Remote host closed the connection]
nb_bez___ has quit [Quit: Connection closed for inactivity]
Fire-Dragon-DoL has left #ruby [#ruby]
Fire-Dragon-DoL has joined #ruby
rbennacer has quit [Remote host closed the connection]
oleo has quit [Quit: Verlassend]
reinaldob has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
dmolina has joined #ruby
lioninawhat has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
rap has quit [Read error: Connection reset by peer]
lioninawhat has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
rfi has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
naftilos76 has quit [Remote host closed the connection]
rbennacer has joined #ruby
freds25th has joined #ruby
rfi has joined #ruby
tmtwd has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
iMe has quit [Ping timeout: 240 seconds]
gsd has quit [Ping timeout: 244 seconds]
TripTastic is now known as JBreit
seal has quit [Quit: Ex-Chat]
Timgauthier is now known as timgauthier_away
roshanavand has joined #ruby
Harlin has quit [Quit: Leaving]
freds25th has quit [Client Quit]
zacstewart has quit [Remote host closed the connection]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gsd has joined #ruby
mloveless has joined #ruby
iMe has joined #ruby
Rollabun_ has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
Rollabunna has joined #ruby
riotjones has joined #ruby
aswen has joined #ruby
sent1nel has joined #ruby
nepgear has quit [Quit: WeeChat 1.1.1]
ismaelga has quit [Remote host closed the connection]
zyxelthrone has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
uptownhr has joined #ruby
bMalum has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hemanth1 has joined #ruby
baroquebobcat has joined #ruby
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
dimaursu16 has quit [Ping timeout: 252 seconds]
amacou has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
lolmaus has joined #ruby
enebo has joined #ruby
iliketurtles has joined #ruby
klmlfl has quit [Ping timeout: 244 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyuben_ has joined #ruby
iliketurtles has quit [Read error: Connection reset by peer]
chinmay_dd has quit [Quit: Connection closed for inactivity]
Asher has joined #ruby
amacou has quit [Ping timeout: 250 seconds]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
BLuEGoD has quit [Remote host closed the connection]
yvemath has quit [Remote host closed the connection]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
ptrrr has quit [Quit: ptrrr]
fabrice31 has joined #ruby
lidaaa has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
crueber has quit [Read error: Connection reset by peer]
crueber has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
chrishough has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
joshbamboo1 has quit [Read error: Connection reset by peer]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
n008f4g_ has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
momomomomo has quit [Quit: momomomomo]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
zachrab has quit [Remote host closed the connection]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
BLuEGoD has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
fabrice31 has quit [Ping timeout: 252 seconds]
dfinninger has quit [Remote host closed the connection]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
WildBamboo-Josh has joined #ruby
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
LouisRoR has joined #ruby
iMe has quit [Ping timeout: 250 seconds]
LouisRoR has quit [Excess Flood]
Takle has joined #ruby
siso has joined #ruby
adamjleonard has quit [Quit: Leaving...]
jottr_ has quit [Ping timeout: 264 seconds]
LouisRoR has joined #ruby
LouisRoR has quit [Excess Flood]
deol has joined #ruby
LouisRoR has joined #ruby
kirun has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
pdoherty has joined #ruby
iMe has joined #ruby
iliketurtles has joined #ruby
garethrees has joined #ruby
mary5030 has joined #ruby
peasoup has quit [Quit: WeeChat 1.0.1]
Jake232 has joined #ruby
mjuszczak has joined #ruby
momomomomo has joined #ruby
cocotton has quit [Quit: Leaving...]
adamjleonard has joined #ruby
shadoi has joined #ruby
frem_ has joined #ruby
siso has quit [Quit: siso]
ghr has quit [Ping timeout: 265 seconds]
yvemath has joined #ruby
sent1nel has quit [Remote host closed the connection]
baweaver has joined #ruby
shadoi has quit [Client Quit]
kaspertidemann has joined #ruby
marr has joined #ruby
mjuszczak has quit [Client Quit]
sigurding has quit [Quit: sigurding]
Choclo has joined #ruby
iwishiwerearobot has joined #ruby
rodfersou has quit [Quit: leaving]
mjuszczak has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
sambao21 has quit [Quit: Computer has gone to sleep.]
shadoi has joined #ruby
lioninawhat has joined #ruby
blueOxigen has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
jgt has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
JBreit has left #ruby ["Leaving"]
zacstewart has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
pkrzywicki__ has joined #ruby
mambo has joined #ruby
pkrzywicki_ has quit [Ping timeout: 250 seconds]
pu22l3r has quit [Read error: Connection reset by peer]
iwishiwerearobot has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
ghr has joined #ruby
pdoherty_ has joined #ruby
garethrees has quit [Read error: Connection reset by peer]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
Soda has joined #ruby
mambo has quit [Ping timeout: 246 seconds]
totimkopf has quit [Ping timeout: 255 seconds]
zachrab has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
iMe has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
lessless has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lkba_ has joined #ruby
himsin has quit [Quit: himsin]
sambao21 has joined #ruby
_mynameis has quit [Quit: Leaving]
chattsm has joined #ruby
zacstewart has joined #ruby
ellisTAA has left #ruby [#ruby]
avahey has joined #ruby
rushed has quit [Quit: rushed]
lkba has quit [Ping timeout: 252 seconds]
iMe has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdoherty has quit [Quit: Leaving]
pdoherty_ has quit [Quit: Leaving]
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dimaursu16 has joined #ruby
veinofstars is now known as veinoft0fu
patrick99e99 has joined #ruby
rushed has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
li0ninawhat has joined #ruby
ldnunes has quit [Quit: Leaving]
shum has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
davedev24_ has quit [Ping timeout: 246 seconds]
zz_twistedpixels is now known as twistedpixels
<atmosx> ηελλο
veinoft0fu has left #ruby [#ruby]
systemd0wn has joined #ruby
davedev24_ has joined #ruby
last_staff has joined #ruby
DouweM has joined #ruby
revoohc has joined #ruby
chattsm has quit [Quit: chattsm]
Choclo is now known as Choclo[Away]
kt2 has quit [Quit: ...]
oleo has joined #ruby
bMalum has quit [Quit: bMalum]
digital-ghost has joined #ruby
DouweM has quit [Read error: Connection reset by peer]
<shevy> hey atmosx
<shevy> still in greece?
<atmosx> hey shevy, yes
<shevy> :)
<atmosx> How's Vienna?
<shevy> quite cold
aclearman037 has joined #ruby
<atmosx> yes, here it's cold too
<shevy> right now it is 2.9°C in central vienna; usually -3 compared to central, in the outer areas, so about 0°C; 2 days ago, it was -3.0°C in central vienna + snow
<atmosx> I can't go snowboarding because of an intervention I had... I need to rest.
<shevy> the snow melted to a large degree today though
corvinm has joined #ruby
<shevy> aha
patric100e99 has joined #ruby
mistergibson has joined #ruby
rushed has quit [Quit: rushed]
rails941 has joined #ruby
<rails941> hola
StDiluted has joined #ruby
<rails941> the last answer doesn't work
<StDiluted> having some strong_params woes, anyone willing to assist? (ruby noob, more or less, here)
baweaver has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
helpa has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
helpa has joined #ruby
monod has joined #ruby
haylon has left #ruby [#ruby]
iMe has quit [Ping timeout: 252 seconds]
kt2 has joined #ruby
<havenwood> StDiluted: #RubyOnRails is the best place for Rails questions.
shellox has quit [Ping timeout: 246 seconds]
kt2 has quit [Max SendQ exceeded]
iMe has joined #ruby
kt2 has joined #ruby
zachrab has quit [Ping timeout: 256 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
SOLDIERz has joined #ruby
yfeldblum has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
TheNet has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sirupsen has joined #ruby
pdoherty has joined #ruby
baweaver has joined #ruby
shellox has joined #ruby
sambao21 has joined #ruby
iamjarvo has joined #ruby
bricker has joined #ruby
havenwood has quit []
davedev24_ has quit [Ping timeout: 265 seconds]
sent1nel has joined #ruby
lanemeyer has quit [Ping timeout: 245 seconds]
neoxquick has joined #ruby
russt has joined #ruby
davedev24_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
rsavage has quit [Quit: Konversation terminated!]
sent1nel has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
davejacobs has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
davejacobs has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
athan has quit [Ping timeout: 264 seconds]
marx has joined #ruby
rmoriz has quit [Quit: ZNC - http://znc.in]
bMalum has joined #ruby
iliketurtles has joined #ruby
sjmikem has quit [Ping timeout: 240 seconds]
Asher has quit [Quit: Leaving.]
tunaCanBruh has joined #ruby
davejacobs has quit [Ping timeout: 246 seconds]
Choclo[Away] is now known as Choclo
davedev24_ has quit []
ZoanthusR has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
oleo is now known as Guest49940
oleo__ has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
bronson has quit [Remote host closed the connection]
bMalum has quit [Client Quit]
bronson has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
ghr has quit []
wallerdev has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Guest49940 has quit [Ping timeout: 246 seconds]
fryguy9 has quit [Quit: Leaving.]
mary5030 has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
Rollabunna has quit [Remote host closed the connection]
x77686d has joined #ruby
sevvie has joined #ruby
dopie has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 252 seconds]
shum has quit [Client Quit]
sevvie has quit [Read error: Connection reset by peer]
shum has joined #ruby
ian_mac has joined #ruby
shum has quit [Client Quit]
iMe has quit [Ping timeout: 245 seconds]
shum has joined #ruby
mjuszczak has quit []
shum has quit [Client Quit]
adriancb_ is now known as adriancb
zachrab has joined #ruby
shum has joined #ruby
Kruppe has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
CpuID2 has quit [Quit: This computer has gone to sleep]
iMe has joined #ruby
zachrab has quit [Remote host closed the connection]
mambo has joined #ruby
zachrab has joined #ruby
shosti has joined #ruby
baweaver has joined #ruby
Kruppe has joined #ruby
wldcordeiro_ has quit [Quit: Leaving]
<marx> Let's say I have multiple methods wrapped in a .each loop, does anyone know how I can make the first method break out of the loop early (if a condition is met)? I'm getting 'invalid break' when I try to issue break from inside the method
li0ninawhat has quit [Ping timeout: 255 seconds]
lioninawhat has joined #ruby
mambo has quit [Ping timeout: 240 seconds]
railer has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
sent1nel has joined #ruby
davejacobs has joined #ruby
<shadoi> you can only break out of a loop in the loop itself.
baroquebobcat has joined #ruby
<shadoi> inside another method you're not local
ghr has joined #ruby
afex has joined #ruby
<marx> I suspected as much
<shadoi> so break on the return of the method
<shadoi> if you're method is doing too much to do that it may be time to refactor the method :)
thiagovsk has quit [Quit: Connection closed for inactivity]
jxpx777 has joined #ruby
<yxhuvud> well, throw and catch would work I guess.
kyle__ has quit [Quit: leaving]
<shadoi> can of worms ;)
dc__ has quit [Remote host closed the connection]
<shadoi> In my experience throw/catch are the BEST things to use if you're trying to make a huge mess.
<yxhuvud> tbh, I've never seen it used.
Grumelo has quit [Remote host closed the connection]
rushed has joined #ruby
kaspertidemann has quit []
<shadoi> The only time I'd use it is for nested loops in the same location
ptrrr has joined #ruby
<ian_mac> nah, throw/catch doesn't make a huge mess. It just conceals messes so you overlook the place that is actually causing the problem. Like you don't notice that your engine is slowly leaking oil because you're quickly cleaning it up and wiping away the evidence. So you never think to check the oil level.
<shadoi> which I rarely do
EasyCo has joined #ruby
<shadoi> ian_mac: well, of course, throw/catch is just an innocent part of the language, but using it blindly leads to big messes.
<shadoi> sort of like goto :)
<shadoi> and… nice car metaphor.
ismaelga has joined #ruby
<shadoi> (not me)
<guardian> hello, when using bundler, is there a way to achieve such a thing in a gemfile? "install therubyracer only if node isn't availble"
ZoanthusR has quit [Quit: Leaving...]
Pumukel has joined #ruby
<guardian> tried to ask on #bundler but it's silent there
ismaelga has quit [Remote host closed the connection]
ghr has quit [Read error: Connection reset by peer]
<shadoi> Not really
<guardian> ok
<shadoi> you'd have to make a nasty hack to trick bundler into parsing some logic
dc__ has joined #ruby
<shadoi> you can use if statements
<shadoi> go wild
ghr has joined #ruby
<shadoi> lol
<guardian> yeah... I wish requiring execjs did all that for me
<shadoi> guardian: might be best to use something like this: http://bundler.io/v1.2/man/bundle-config.1.html
<shadoi> have a separate config it picks
<shadoi> hmm.. I used something that picked whatever was available
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<guardian> I mean, I wish having gem 'execjs' did that automagically
<shadoi> but I don't know what priority it gave to node vs rubyracer
<shadoi> guardian: check out middleman, it's what I was using
rushed has quit [Quit: rushed]
askatasuna has left #ruby ["WeeChat 1.1.1"]
<guardian> will do
<shadoi> oh I guess they dropped it and just use rubyracer or rubyrhino
<ian_mac> btw does it make sense for `grep '^[ \t]*nameserver' /etc/resolv.conf | awk '{print $2}'`.each do |line| to work on 1.8.7 but not on 1.9.3?
<shevy> do you guys have this problem - a long text, and you want to re-fit the whole text to, let's say, 30 characters per line. but only add newlines after a word or so
<shadoi> ian_mac: try each_line
<waxjar> yeah, though i go for 80 usually
goodenough has quit [Remote host closed the connection]
<shadoi> lots of word wrap examples aorund
<shadoi> around*
<ian_mac> shadoi: thanks, that worked. will it still work in 1.8.7? I guess one way to find otu.
<shevy> shadoi cool, let me think
cajone has quit [Read error: Connection reset by peer]
cajone has joined #ruby
<StDiluted> ok, thanks havenwood
CpuID2 has joined #ruby
CpuID2 has joined #ruby
fabrice31 has joined #ruby
<shadoi> ian_mac: apidock.com has a handy version timeline for methods, etc.
StDiluted has left #ruby [#ruby]
TheNet has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
momomomomo has quit [Quit: momomomomo]
bMalum has joined #ruby
CpuID2 has quit [Client Quit]
<ian_mac> I should probably write a test or something so I can verify that both the new and old do what they are supposed to (if only I new exactly what they were supposed to do)
<ian_mac> but thanks shadoi
afex has quit [Ping timeout: 244 seconds]
<shadoi> 1.8.7 took *args, but 1.9.1+ tanks a single arg I guess
bronson has quit [Remote host closed the connection]
<shevy> I found another regex too
iMe has quit [Ping timeout: 240 seconds]
<shevy> /(\s+|$)/
<shevy> what does the | mean? it makes it optional?
<shadoi> or
<shadoi> so… whitespace OR end of line
<shevy> ah ok
<shevy> thanks
<shadoi> rubular.com is awesome for that stuff
cajone has quit [Remote host closed the connection]
dopie has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
TheNet has joined #ruby
iMe has joined #ruby
<ian_mac> I see. thanks shadoi for your help, and sorry for probably seemingly silly questions - I'm very unfamiliar with Ruby
<shadoi> there are no silly questions
bogdanteleaga has joined #ruby
Soliah has quit [Quit: Soliah]
cajone has joined #ruby
<shevy> :)
deric_skibotn has quit [Ping timeout: 244 seconds]
<shevy> I got a silly question
digital-ghost has quit []
<shevy> ian_mac are you on a mac?
pu22l3r_ has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
davedev24_ has joined #ruby
<ian_mac> I am, but my nick was ian_mac long before I was.
<ian_mac> if that's what you're getting at.
greenbagels has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
chrishough has joined #ruby
geekbri has quit []
<shevy> hehe
last_staff has quit [Remote host closed the connection]
Troy^ has joined #ruby
Choclo is now known as Choclo[Away]
fenak has quit [Quit: leaving]
mago0 has quit [Quit: WeeChat 1.0.1]
Zai00 has joined #ruby
w1zeman1_ has joined #ruby
DEA7TH has quit [Ping timeout: 245 seconds]
EvanFreeman has quit [Remote host closed the connection]
speaking1ode has joined #ruby
TheNet has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Xiti has joined #ruby
w1zeman1_ has quit [Client Quit]
goodenough has joined #ruby
Megtastique has quit []
nobitanobi has joined #ruby
TheNet has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
<ian_mac> ah, so if I'm reading http://apidock.com/ruby/String/each correctly, it would basically do what each_line does?
<ian_mac> if you don't supply it with any arguments
tunaCanBruh has quit [Ping timeout: 264 seconds]
livinded has quit [Quit: leaving]
iwishiwerearobot has joined #ruby
eytanfb has joined #ruby
chrisja has joined #ruby
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<weaksauce> ian_mac this is a better documentation source than apidoc
graydot has joined #ruby
<weaksauce> but yeah they seem to be aliases of each other.
Choclo[Away] is now known as Choclo
<ian_mac> well String::each seems to be deprecated
<shadoi> except that ruby-doc.org search blows, and it lacks many of the nice features apidock has. ;)
iwishiwerearobot has quit [Ping timeout: 240 seconds]
zenith_ has joined #ruby
<weaksauce> ah. you are operating on a string. I am used to each line being used for files
speaking1ode is now known as speakingcode-wor
cjim has quit [Quit: (null)]
bMalum has quit [Quit: bMalum]
sambao21 has joined #ruby
cjim has joined #ruby
tunaCanBruh has joined #ruby
<Cope> I'm trying to use the 'pattern-match' gem from https://github.com/k-tsj/pattern-match; but I'm obviously missing something, as: http://hastebin.com/meboxusipo.coffee
<Cope> any ideas what I'm doing wrong?
<ian_mac> well, TBH, weaksauce, I'm not sure how some of this code really worked properly, except that we only came across edge cases
<ian_mac> [<% @zeromq_address.join('", "').each do |val| %>"<%= val %>"<% end -%>]
<ian_mac> that, for example, I changed to ["<%= @zeromq_address.join('", "') %>"]
<ian_mac> because I think that was closer to the actual intent
JDiPierro has quit [Remote host closed the connection]
cjim_ has joined #ruby
cjim has quit [Read error: Connection reset by peer]
<TheNet> anyone have any experience with vedeu?
andikr has quit [Remote host closed the connection]
aclearman037 has quit [Quit: I'm out!]
pika_pika has quit [Ping timeout: 245 seconds]
<weaksauce> ian_mac I can't imagine that each code ever working
<weaksauce> unless join returns an array in some awful overloaded world
<weaksauce> it's very nature join returns the elements in an array as a string joined together by the default value or what you specify
zenith_ has quit [Ping timeout: 246 seconds]
<ian_mac> well, it did, because zeromq_address would typically be an array of one string. So the join would convert the array into the single string, and each used to iterate through the one value and take the whole thing once because there were no line breaks. Thus you end up with, for example, ["tcp://*:5555"]
lanemeyer has joined #ruby
Choclo is now known as Choclo[Away]
<ian_mac> so the each was String.each which was essentially becoming a noop, so I guess it worked.
<weaksauce> >> [1,2].join(", "). each do |x| puts x end
<eval-in__> weaksauce => undefined method `each' for "1, 2":String (NoMethodError) ... (https://eval.in/283599)
<weaksauce> I don't see that working
jottr_ has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
<weaksauce> what version of ruby?
<ian_mac> it works in Ruby 1.8.7 but not in the current version
<shadoi> ugh… Just use a good zeromq connection library. ;)
<weaksauce> ah.
<weaksauce> yeah, that's why
<ian_mac> shadoi: well, this is a Puppet template and it's generating a config file for Logstash
<shadoi> I see
mambo has joined #ruby
Pupeno has quit [Remote host closed the connection]
<ian_mac> which, is written in Ruby, so I guess underneath it all that's what it's doing.
kt2 has quit [Quit: ...]
afex has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
bMalum has joined #ruby
<ian_mac> ok, well thanks for your help all. I think I've got everything straightened away and fixed up. Enjoy your evening!
iMe has joined #ruby
kalusn has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<Cope> so, looks like Module#using won't work in pry
tier_ has quit [Ping timeout: 252 seconds]
monod has quit [Quit: Sto andando via]
kirun has quit [Quit: Client exiting]
lioninawhat has quit [Ping timeout: 246 seconds]
afex has quit [Client Quit]
<shadoi> What's Module#using?
yekta has quit [Quit: yekta]
mambo has quit [Ping timeout: 256 seconds]
<shadoi> sounds like an awful mokey patch
dc__ has quit [Read error: Connection reset by peer]
dc__ has joined #ruby
Choclo[Away] is now known as Choclo
lioninawhat has joined #ruby
<shevy> good question
revoohc has quit [Quit: revoohc]
<shevy> isn't that the new namespaced-failsafe use to monkey patch?
athan has joined #ruby
<shadoi> oh wow, new in 2.2 I guess
<shadoi> refinements
<shadoi> I didn't think they were enabled by default?
baweaver has quit [Remote host closed the connection]
DadoCe has joined #ruby
blueOxigen has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
deric_skibotn has joined #ruby
brb3 has quit [Quit: <.<]
blackmesa has joined #ruby
<shadoi> guess I haven't been keeping up with the new releases very well
pietr0 has joined #ruby
deric_skibotn_ has joined #ruby
crueber has quit [Quit: Leaving.]
blackmesa has quit [Client Quit]
Lewix has joined #ruby
Lewix has joined #ruby
crueber has joined #ruby
<shevy> not sure, last I heard was that they were in testing mode
<shevy> I don't like the syntax so I did not use them, I feel it is way too cumbersome
Pupeno has joined #ruby
Pupeno has joined #ruby
<shevy> actually I am also still on 2.1.5 so I could not even test it really I guess haha
<Cope> serves me right for picking a gem written by a core dev
<shevy> haha!
dc__ has quit [Read error: Connection reset by peer]
kt2 has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jobewan has quit [Quit: Leaving]
rbennacer has quit [Ping timeout: 264 seconds]
dc__ has joined #ruby
<Cope> basically i want to emulate the pattern-matching feature of ocaml
ismaelga has joined #ruby
Igneous has quit [Ping timeout: 246 seconds]
deric_skibotn has quit [Ping timeout: 265 seconds]
<shadoi> Refinements sound cool to me, but the performance hit seems like it would be massive
deric_skibotn_ is now known as deric_skibotn
<shadoi> I'll have to do some new benchmarks
<TheNet> is it possible to "force get" what a user has typed so far before they hit enter?
<shadoi> you can read each char
Troy^ has joined #ruby
Igneous has joined #ruby
Hijiri has joined #ruby
<shadoi> IO::getc
charliesome has joined #ruby
Igneous is now known as Guest18495
<shadoi> IO#getc rather
alvaro_o has joined #ruby
<eam> really tired of garbage collected languages today
<shadoi> Write some go :)
<Cope> shadoi: isn'tit lexically bound?
<shadoi> Cope: refinements?
<eam> do I send a patch to perpetuate a stupid hack in MRI/jruby? Or do I try to convince everyone to switch languages
<Cope> ie so function dispatch is still static
<mozzarella> shadoi: I've got bad news for you
<eam> shadoi: go is gc, just as bad
<Cope> so shouldn't be tooo slow
<eam> rust OTOH
postmodern has joined #ruby
<shadoi> eam: really? once it's compiled?
<eam> shadoi: yes
<shadoi> hah.. didn't realize.
Choclo is now known as Choclo[Away]
<shadoi> I wish Rust was a bit more popular
<shadoi> it looks really interesting
* Cope looks at rust
<eam> go is seriously just java-lite with "do it unixy" instead of "do it with asinine x-platform abstractions"
<shadoi> needs way more libs though
max96at is now known as max96at|off
<Cope> eam: OH
bMalum has quit [Quit: bMalum]
<shadoi> Cope: I'm basing my assumptions on some early criticism of refinements: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/33487
baroquebobcat has quit [Quit: baroquebobcat]
<shadoi> may no longer apply
mbytes has quit [Remote host closed the connection]
pengin has joined #ruby
<marx> thanks for the advice shadoi, I used a return value from the method like you said and that allowed me to prematurely exit the loop when needed
baroquebobcat has joined #ruby
einarj has joined #ruby
paradisaeidae has joined #ruby
dc__ has quit [Ping timeout: 244 seconds]
it0a has quit [Quit: WeeChat 1.1.1]
rmoriz has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
werelivinginthef has joined #ruby
Alina-malina has joined #ruby
dc__ has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zachrab has joined #ruby
bronson has joined #ruby
sent1nel has quit [Remote host closed the connection]
athan has quit [Read error: Connection reset by peer]
pengin has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
Troy^ has joined #ruby
pengin has joined #ruby
cjim_ has quit [Quit: (null)]
Papasean has joined #ruby
freerobby has quit [Quit: Leaving.]
adamjleonard has quit [Quit: Leaving...]
josephndenton has quit [Ping timeout: 245 seconds]
puppetmonkey has quit [Quit: puppetmonkey]
bronson has quit [Ping timeout: 245 seconds]
rails941 has quit [Ping timeout: 246 seconds]
Soda has quit [Remote host closed the connection]
sent1nel has joined #ruby
cjim_ has joined #ruby
squar1sm has quit [Ping timeout: 246 seconds]
Troy^ has quit [Client Quit]
buhman has quit [Quit: But I spoke hastily. We must not be hasty.]
pengin has quit [Ping timeout: 250 seconds]
wldcordeiro_ has joined #ruby
cpt_yossarian has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
penguinpowernz has joined #ruby
<penguinpowernz> anyone know how to find what line an error is from JSON::ParserError?
aswen has quit [Ping timeout: 245 seconds]
<penguinpowernz> it just dumps the whole JSON string...
<wallerdev> id probably just copy and paste it into a json formatter
<wallerdev> those will usually tell you
yekta has joined #ruby
<penguinpowernz> yea i did that
jottr_ has quit [Ping timeout: 246 seconds]
<penguinpowernz> ahh.. jsonlint.com
<penguinpowernz> it says it's mint
<penguinpowernz> so does the jsonlint npm package
<penguinpowernz> :(
<penguinpowernz> only ruby don't like it
<penguinpowernz> very weird
DonOtreply has quit [Quit: DonOtreply]
swgillespie has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
avahey has quit [Quit: Connection closed for inactivity]
jxpx777 has quit [Quit: Leaving...]
tunaCanBruh has quit [Ping timeout: 265 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
<quazimodo> morning
Pupeno_ has joined #ruby
Troy^ has joined #ruby
cjim_ has quit [Quit: (null)]
<TheNet> shadoi: do you have an example of how that would work?
ghr has quit [Ping timeout: 245 seconds]
Troy^ has quit [Client Quit]
blandflakes is now known as blandflakes_away
<shadoi> TheNet: what? not sure of the context
Pupeno has quit [Ping timeout: 250 seconds]
stunder has joined #ruby
<TheNet> shadoi: I have one thread prompting the user for input, I have another thread that want's to get that input before the user hits enter
<TheNet> wnats*
<TheNet> *wants
Troy^ has joined #ruby
<shadoi> ah.. well if it were me I'd be using celluloid with notifications
<shadoi> so I could notify another actor of the input
<shadoi> without using that, I guess you'd need to put the input into a Queue and pop it on activity in the other thread
Hijiri has quit [Ping timeout: 252 seconds]
ZoanthusR has joined #ruby
kith has joined #ruby
DonOtreply has joined #ruby
Troy^ has quit [Client Quit]
m8 has quit [Quit: Sto andando via]
tunaCanBruh has joined #ruby
<penguinpowernz> shadoi: possible to use faye and subscribe a user input channel?
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FooMunki_ has joined #ruby
Troy^ has joined #ruby
baweaver has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 245 seconds]
<shadoi> possible, I've never used Faye
dling has quit []
iMe has quit [Ping timeout: 250 seconds]
<penguinpowernz> it's pretty cool eh...
ZoanthusR has quit [Ping timeout: 252 seconds]
<penguinpowernz> you would have to run a faye server on rack though
<penguinpowernz> or node...
<penguinpowernz> in one thread you listen on /user_input channel
jhebden has joined #ruby
jerius has quit []
<penguinpowernz> on the other you publish to that channel wit hthe user input when they put it in
Takle has quit [Remote host closed the connection]
badhatter has quit [Read error: Connection reset by peer]
<penguinpowernz> a few extra dependencies namely eventmachine
badhatter has joined #ruby
badhatter has joined #ruby
<shadoi> Celluloid has nice websockets support via Reel
<shadoi> I'd definitely check it out as a lower level solution.
dfinninger has quit [Remote host closed the connection]
iMe has joined #ruby
Troy^ has quit [Client Quit]
<penguinpowernz> i think i have read that celluloid is better than eventmachine....?
Takle has joined #ruby
<shadoi> It's different
DadoCe has quit [Remote host closed the connection]
<shadoi> It's an implementation of the Actor pattern
<penguinpowernz> oh ok
<penguinpowernz> apples vs oranges
<shadoi> used to solve similar problems but in different ways
DadoCe has joined #ruby
<penguinpowernz> yep
<shadoi> the actor pattern gives you a lot more sanity
baroquebobcat has quit [Quit: baroquebobcat]
<penguinpowernz> lol, snity is good
_maes_ has quit [Ping timeout: 256 seconds]
<shadoi> for example RubyDNS just re-implemented using celluloid, moved away from eventmachine
<penguinpowernz> HA snitty!
Hijiri has joined #ruby
<penguinpowernz> (slang for female genitalia here)
cphrmky has quit [Read error: Connection reset by peer]
<shadoi> lol
kt2 has quit [Quit: ...]
<penguinpowernz> ooo i'll have to check that out, use rubyDNS in one of my projects
mambo has joined #ruby
kt2 has joined #ruby
bronson has joined #ruby
livingstn has quit []
jenrzzz has joined #ruby
Jetchisel has joined #ruby
Pupeno has joined #ruby
DadoCe has quit [Ping timeout: 250 seconds]
<TheNet> I'm getting a little desperate trying to find an answer to this stack overflow question. If anyone has a solution I would really appreciate it. http://stackoverflow.com/questions/28435883/ruby-puts-overwrites-gets-chomp-prompt
baroquebobcat has joined #ruby
dling has joined #ruby
li0ninawhat has joined #ruby
Pupeno_ has quit [Ping timeout: 245 seconds]
mambo has quit [Ping timeout: 250 seconds]
avahey has joined #ruby
lioninawhat has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 245 seconds]
Lingo__ has joined #ruby
einarj has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
hiyosi has joined #ruby
et09 has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
enebo has quit [Quit: enebo]
GPH|work has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
jimms has quit []
<penguinpowernz> TheNet: does that LOG message get sent when you push enter at the prompt?
<penguinpowernz> i have the same problem in a shell, when a backgrounded app logs stuff
<TheNet> penguinpowernz: really just a puts "LOG: message"
<penguinpowernz> usually just [enter][enter][enter] is my workaround :/
timonv has quit [Ping timeout: 264 seconds]
michael_mbp has joined #ruby
fantazo has joined #ruby
<TheNet> penguinpowernz: yeah, it happens but I'd like to try and avoid it in my app
<TheNet> penguinpowernz: enter enter enter?
<penguinpowernz> yea like just pushing enter to get a fresh prompt
<penguinpowernz> but if it's outputting all the time it's firckin annoying
<wallerdev> you need to use something like curses
pdoherty has quit [Quit: Leaving]
<wallerdev> if you want to have a comandlline app that works like that
yekta has quit [Quit: yekta]
devdazed has quit [Quit: Computer has gone to sleep.]
<penguinpowernz> did you try messing around with hte \r character TheNet?
<TheNet> wallerdev: I tried to use curses but the documentation was a little too much for me and I couldn't find a tutorial
<TheNet> penguinpowernz: doesn't that just send the cursor to the beginning of the line?
<penguinpowernz> yea, but could play with it to make your own log method that automatically redraws the prompt
<wallerdev> i dont think you're gonna get something that works well without using it
<penguinpowernz> but user entry could be lost...
tunaCanBruh has joined #ruby
PanzerModern has quit [Ping timeout: 245 seconds]
<penguinpowernz> Vedeu *looks* promising at first glance tho
doodlehaus has quit [Ping timeout: 265 seconds]
li0ninawhat has quit [Remote host closed the connection]
<TheNet> penguinpowernz: it looks good but there's almost no documentation
<TheNet> penguinpowernz: plus I had an issues with borders not working
<shadoi> TheNet: https://github.com/genki/ruby-terminfo, use tputs
PanzerModern has joined #ruby
jlast_ has joined #ruby
<shadoi> lets you move the cursor around, etc.
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
russt has quit [Ping timeout: 245 seconds]
Pupeno has quit [Remote host closed the connection]
<TheNet> shadoi: I can already do that with escape sequences
fabrice31 has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
Choclo[Away] is now known as Choclo
<TheNet> shadoi: my problem is that "\n" doesn't create a new line, it moves one line down
russt has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
Pupeno has joined #ruby
ghr has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
mjuszczak has joined #ruby
puppetmonkey has joined #ruby
lampd1 has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
DonOtreply has quit [Quit: DonOtreply]
<penguinpowernz> hmmm
<shadoi> clear the screen?
<shadoi> I guess I'd need to see it it action to understand
fabrice31 has quit [Ping timeout: 245 seconds]
<shadoi> print in \r instead of \n or puts
russt has quit [Client Quit]
Takle has quit [Remote host closed the connection]
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
<shadoi> and then STDOUT.flush
<penguinpowernz> public code TheNet?
mjuszczak has quit [Client Quit]
Choclo has quit [Ping timeout: 255 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
<shadoi> looks like the command-t gem handles this stuff also
ghr has quit [Ping timeout: 252 seconds]
<shadoi> nevermind, that's part of a vim plugin :)
mjuszczak has joined #ruby
charliesome has joined #ruby
baweaver has joined #ruby
shosti has quit [Remote host closed the connection]
shosti has joined #ruby
iMe has quit [Ping timeout: 250 seconds]
dorei has quit []
jhebden has quit [Ping timeout: 244 seconds]
Papasean has quit [Remote host closed the connection]
paradisaeidae has quit [Ping timeout: 252 seconds]
Pupeno_ has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
iMe has joined #ruby
Sirupsen has joined #ruby
djbkd has quit [Remote host closed the connection]
icarus has joined #ruby
crueber has quit [Quit: Leaving.]
stunder has quit [Quit: Leaving]
mary5030 has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
jhebden has joined #ruby
paradisaeidae has joined #ruby
ellisTAA has joined #ruby
iwishiwerearobot has joined #ruby
hmsimha has joined #ruby
<ellisTAA> i can’t seem to solve this problem: anyone mind taking a shot at it https://gist.github.com/ellisTAA/3804611ce232f594907d
goodenough has quit [Remote host closed the connection]
Pupeno_ has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
zyxelthrone has joined #ruby
reinaldob has quit []
maximski has quit []
reinaldob has joined #ruby
Pupeno has quit [Remote host closed the connection]
iwishiwerearobot has quit [Ping timeout: 240 seconds]
Guest75588 is now known as Dai-chan
dc__ has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
MasterPiece| is now known as MasterPiece
dc___ has joined #ruby
postmodern has quit [Quit: Leaving]
CpuID2 has joined #ruby
CpuID2 has joined #ruby
<penguinpowernz> hmm tricky TheNet... i'm not sure...
dibblego has joined #ruby
dibblego has left #ruby ["λ"]
CpuID2 has quit [Client Quit]
jgt has quit [Ping timeout: 252 seconds]
<penguinpowernz> haven't done much work wiht threads
zachrab has quit [Remote host closed the connection]
<bricker> ellisTAA: something like array.each_with_index { |e1, i1| array.each_with_index { |e2, i2| return [i1, i2] if e1+e2 == 0 } }
<bricker> not great
zachrab has joined #ruby
Lingo__ has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Read error: Connection reset by peer]
juanpablo_ has joined #ruby
tunaCanBruh has quit [Ping timeout: 244 seconds]
axl_ has quit [Quit: axl_]
<ellisTAA> bricker: thanks. yeah my code doesn’t look good either, but i like that you used with index ...
Lingo__ has joined #ruby
shosti has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
snath has quit [Ping timeout: 245 seconds]
Lingo__ has quit [Read error: Connection reset by peer]
adriancb has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 240 seconds]
chrisja has quit [Quit: leaving]
Lingo__ has joined #ruby
postmodern has joined #ruby
charliesome has joined #ruby
iMe has joined #ruby
Hijiri has quit [Ping timeout: 245 seconds]
slyv has joined #ruby
Lewix has joined #ruby
Lewix has joined #ruby
adamjleonard has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zai00 has quit [Quit: Zai00]
scripore has joined #ruby
snath has joined #ruby
C0deMaver1ck has joined #ruby
athan has joined #ruby
zachrab has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LouisRoR has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby