<shadynastys>
is there any way to use string.include? 'string' in a ternary if statement? trying to do something like type = ('somestring'.include?'string' ? 'string' : 'notstring')
<shadynastys>
and failing
<toretore>
learn to use parens
steffkes has quit [Ping timeout: 252 seconds]
<Ox0dea>
shadynastys: Just parenthesize the argument to #include?.
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
Mr0riss0 is now known as Mr0rris0
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
Suntzu has quit [Quit: changing servers]
<pizzaops>
So I'm using RubyMine, and I have the line `Disk = OpenStruct.new`, and it's telling me "Constant name 'Foo' doesn't match regex '[A-Z][_A-Z0-9]*'". I don't see anything about those requirements in the OpenStruct docs for Ruby 2.0.0. Am I missing something?
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
jottr has quit [Ping timeout: 248 seconds]
<shadynastys>
doh Ox0dea: thankyou I was putting paren in wrong place
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
<Ox0dea>
pizzaops: Er, RubyMine is telling you that constants should be all-caps?
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
<pizzaops>
Ox0dea: only when I set them equal to an openstruct
trinaldi has quit [Quit: zzz]
<Ox0dea>
Strange.
<pizzaops>
Foo = Struct.new(:bar,:baz) doesn't throw that error.
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
<toretore>
it probably has an exception for Struct, but not OpenStruct
<Ox0dea>
You're getting an actual error?
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
segmond has joined #ruby
baweaver has joined #ruby
tubuliferous_ has quit [Ping timeout: 252 seconds]
<pizzaops>
Ox0dea: I haven't tried running the code, I'm just curious about this I guess. I'll give it a try in a sec.
ZerGabriel has joined #ruby
jottr has joined #ruby
ZerGabriel has quit [Excess Flood]
<Ox0dea>
pizzaops: I'm almost certain it's just the wailings of a draconian linter.
rikkipitt has joined #ruby
bklane has joined #ruby
<baweaver>
Is that your new nickname for me Ox0dea?
trosborn has joined #ruby
<pizzaops>
Ox0dea: if that were true wouldn't it complain about other constants?
bklane_ has quit [Ping timeout: 250 seconds]
<Ox0dea>
baweaver: <3
<Ox0dea>
pizzaops: Couldn't say. :/
<Ox0dea>
I reckon toretore might have the right of it.
Uranio has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
<pizzaops>
Ox0dea: well I was certainly misusing ostruct
<pizzaops>
I didn't realize you just did foo = OpenStruct.new(bar: 'baz'), I thought you defined a constant for it first and then instantiated new ones, like with normal structs.
<pizzaops>
so it was definitely bad style if not bad ruby
<shevy>
hmmmm
<Ox0dea>
pizzaops: `require 'ostruct'` is where the linter should've spoken up. :P
<pizzaops>
I required ostruct
jottr has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
<pizzaops>
But I think the issue is that it's saying non- . . . uh . . . "type" constants should be all caps
<pizzaops>
e.g. FOO = 'bar', not Foo = 'bar'
<pizzaops>
but if it's class Foo that's fine
bricker has quit [Ping timeout: 250 seconds]
<Ox0dea>
pizzaops: OpenStruct.new doesn't give you back a "type".
<toretore>
just turn off the damn thing
jmignault has quit [Ping timeout: 244 seconds]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
<pizzaops>
I know
<pizzaops>
That's my point Ox0dea
<pizzaops>
Anyway gotta go. Thanks as always.
Xeago has joined #ruby
<Ox0dea>
Happy to help-ish. :)
DLSteve has joined #ruby
crst has quit [Quit: Leaving...]
Liam` has joined #ruby
weemsledeux has joined #ruby
dlitvak has joined #ruby
aupadhye has joined #ruby
zenlot1 has quit [Ping timeout: 244 seconds]
zenlot1 has joined #ruby
platzhirsch has joined #ruby
thevaliantx has quit [Quit: Leaving]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
tulak has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
platzhirsch has left #ruby [#ruby]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
_djbkd has quit [Quit: My people need me...]
ZerGabriel has quit [Excess Flood]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bricker has joined #ruby
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
bklane_ has joined #ruby
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
symm-_ has quit [Ping timeout: 240 seconds]
tauebel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eregi has joined #ruby
ZerGabriel has joined #ruby
bklane has quit [Read error: Connection reset by peer]
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
scripore has quit [Quit: Leaving]
ZerGabriel has joined #ruby
rohit has joined #ruby
ZerGabriel has quit [Excess Flood]
Azure has joined #ruby
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
Mdrz_92 has joined #ruby
ZerGabriel has joined #ruby
ZerGabriel has quit [Excess Flood]
ZerGabriel has joined #ruby
Mauro_ has joined #ruby
uri_ has joined #ruby
Mdrz_92 has quit [Remote host closed the connection]
Jeremy1023 has joined #ruby
uri_ has quit [Client Quit]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<bnagy>
Dusk_: looks like openssl failing to verify google's cert
frem has quit [Quit: Connection closed for inactivity]
nerium has joined #ruby
kalopsian has joined #ruby
<bnagy>
Dusk_: this can either be a bad installation of the ruby openssl gem, which is less common now, or it could be your host root certs are bad / missing / not found by openssl
<Dusk_>
bnagy - The host root certs? I think I need to google that.
<bnagy>
Dusk_: fixing them depends on your OS, but if you google for that error with ruby in the search somewhere you'll find a million people with similar problems
<bnagy>
how did you install ruby?
dlitvak has joined #ruby
<bnagy>
oh, ew, windows, didn't even notice
<Dusk_>
I run a Windows so I'm sure that's the problem. I haven't gotten around to switching to Linux
dlitvak_ has quit [Ping timeout: 240 seconds]
<bnagy>
tbh windows should have _less_ trouble re this particular issue
<bnagy>
via rubyinstaller anyway, because they have to bundle everything
cmoneylulz has quit [Remote host closed the connection]
bklane_ has quit [Remote host closed the connection]
<Dusk_>
Alright thanks man. I need to google this shit lol
bklane has joined #ruby
<bnagy>
if you want to learn general ruby dev then you might consider a linux vm
<bnagy>
windows is not really a well supported platform
kalopsian has quit [Ping timeout: 240 seconds]
<Dusk_>
Alright, thanks man.
tulak has quit [Ping timeout: 276 seconds]
<bnagy>
(and try not to presume gender on irc ;)
<bnagy>
'luck :)
brijesh has quit [Quit: WeeChat 1.1.1]
<Dusk_>
Lol
<Dusk_>
I just meant thanks is all xD
brijesh has joined #ruby
cmoneylulz has joined #ruby
mrmargolis has joined #ruby
Gnut has quit [Ping timeout: 244 seconds]
rhg135 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
rbennacer has quit [Remote host closed the connection]
nando293921 has joined #ruby
TomPeed has joined #ruby
kalopsian has joined #ruby
baweaver has joined #ruby
uri_ has joined #ruby
rhg135 has joined #ruby
dopie has joined #ruby
rbennacer has joined #ruby
uri_ has quit [Client Quit]
uri_ has joined #ruby
FFValdivia92 has joined #ruby
D9- has quit [Quit: Quit]
Sucks has quit [Ping timeout: 244 seconds]
Yzguy has quit [Quit: Zzz...]
Sucks has joined #ruby
Mdrz_92 has joined #ruby
bklane_ has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
bklane has quit [Read error: Connection reset by peer]
D9 has joined #ruby
kies^ has joined #ruby
FFValdivia92 has quit [Max SendQ exceeded]
kalopsian has quit [Quit: leaving]
TomPeed is now known as justbleed
Mdrz_92 has quit [Client Quit]
Mauro_ has quit [Quit: Leaving]
rkazak has quit [Quit: Sleep.....ing....]
andywojo has joined #ruby
Jeremy1023 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nachoman has joined #ruby
mrmargolis has quit []
jenrzzz has joined #ruby
kmckelvi1 has quit [Quit: WeeChat 1.4]
jschoolcraft has quit [Quit: peace]
rohit has quit [Ping timeout: 276 seconds]
brijesh has quit [Quit: WeeChat 1.1.1]
bklane_ has quit [Client Quit]
uri_ has quit [Quit: --]
brijesh has joined #ruby
brijesh has quit [Client Quit]
brijesh has joined #ruby
replay has quit []
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
uri_ has joined #ruby
trosborn has joined #ruby
brijesh has quit [Client Quit]
uri_ has quit [Client Quit]
brijesh has joined #ruby
preyalone has joined #ruby
<brijesh>
quit
brijesh has quit [Client Quit]
brijesh has joined #ruby
Sucks has quit [Remote host closed the connection]
uri_ has joined #ruby
lpvb has quit [Quit: Leaving]
rbennacer has quit [Remote host closed the connection]
lpvb has joined #ruby
kirillzh has joined #ruby
kirillzh has quit [Client Quit]
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eregi has quit [Ping timeout: 240 seconds]
mjwhitta has joined #ruby
mjwhitta has quit [Client Quit]
uri_ has quit [Client Quit]
CihanKaygusuz_ has quit [Quit: Connection closed for inactivity]
kirillzh has joined #ruby
crowell has quit [Ping timeout: 244 seconds]
cmoneylulz has quit [Remote host closed the connection]
uri_ has joined #ruby
ManUtd27 has joined #ruby
brijesh has quit [Ping timeout: 252 seconds]
tauebel has joined #ruby
crowell has joined #ruby
cpruitt has quit [Quit: cpruitt]
ManUtd27 has quit [Client Quit]
uri_ has quit [Client Quit]
cmoneylulz has joined #ruby
Flakes has joined #ruby
32NAABITY has quit [Ping timeout: 250 seconds]
blackmes1 has quit [Ping timeout: 248 seconds]
cmoneylulz has quit [Remote host closed the connection]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lpvb has quit [Quit: WeeChat 1.4]
lpvb has joined #ruby
nando293921 has quit [Quit: Lost terminal]
uri_ has joined #ruby
nando293921 has joined #ruby
cyclonis has quit [Ping timeout: 248 seconds]
uglybandersnatch has joined #ruby
nolsen has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
uri_ has quit [Client Quit]
pawnbox has joined #ruby
bricker has quit [Ping timeout: 255 seconds]
cyclonis has joined #ruby
BtcBen has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
eregi has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
perrier_ has joined #ruby
perturbation has quit [Quit: Leaving]
perrier_ has quit [Remote host closed the connection]
rhg135 has quit [Quit: eventual return]
pelegreno has joined #ruby
wmdrossard has quit [Ping timeout: 240 seconds]
cholq has joined #ruby
Meow-J has joined #ruby
allcentury has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
hxegon has joined #ruby
andywojo has quit [Ping timeout: 252 seconds]
cholq has quit [Client Quit]
cholq has joined #ruby
cholq has quit [Client Quit]
cholq has joined #ruby
uglybandersnatch has quit [Ping timeout: 240 seconds]
william3 has quit [Ping timeout: 276 seconds]
pelegreno has quit [Remote host closed the connection]
cholq has quit [Client Quit]
pelegreno has joined #ruby
monque has joined #ruby
nachoman has quit []
bricker has joined #ruby
Sucks has joined #ruby
astrobunny has joined #ruby
azure32 has quit [Ping timeout: 240 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest34101 has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
baweaver has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
zast has joined #ruby
rkazak has joined #ruby
unreal_ has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
unreal has quit [Ping timeout: 248 seconds]
hxegon has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
pawnbox has quit [Remote host closed the connection]
gix has quit [Ping timeout: 244 seconds]
tomchapi_ has joined #ruby
blackmes1 has joined #ruby
braincrash has joined #ruby
nachoman has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
tomchapin has quit [Ping timeout: 250 seconds]
dlitvak has quit [Ping timeout: 244 seconds]
krzkrz has joined #ruby
gix has joined #ruby
tomchapi_ has quit [Ping timeout: 248 seconds]
haylon has quit [Quit: WeeChat 1.4]
trosborn has quit [Quit: trosborn]
_djbkd has joined #ruby
krzkrz has quit [Ping timeout: 240 seconds]
IrishGringo has joined #ruby
mattwildig has joined #ruby
hinbody has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
chipotle has quit [Quit: cheerio]
hinbody has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
mattwildig has quit [Ping timeout: 244 seconds]
tubulife- has joined #ruby
djellemah_ has joined #ruby
htmldrum has joined #ruby
<pizzaops>
Is there a way of doing this: @hardware = hardware.is_a? Wilhelm::Vms::Machine::Hardware ? hardware : raise Exception.new('hardware must be an instance of Wilhelm::Vms::Machine::Hardware')
babblebre has quit [Quit: Connection closed for inactivity]
<pizzaops>
Basically I want to raise an exception if the "hardware" value isn't an instnace of that class, but i have like 7 more params to do that for so I dont want like 7 if/elses
yfeldblum has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
<baweaver>
and it's now tested, so there you go
<baweaver>
lazy static type checking in ruby
nachoman has joined #ruby
sushii has quit [K-Lined]
kLOs has joined #ruby
rkazak has joined #ruby
stevemackinnon has quit [Remote host closed the connection]
<kLOs>
Hi, Sorry I'm somehwat of a noob when it comes to ruby. So please bear with me with these questions :)
<kLOs>
I'm using OSX as my development environment and just use Ruby Tools. I don't develop in Ruby
<kLOs>
I have noticed that often some of the tools I use break, which is I believe du to wrong ruby versions running
<kLOs>
I have noticed that I run both rbenv and rvm
nerium has quit [Quit: nerium]
<kLOs>
So from what I understand now is that it's very bad to have both running and why I probably run into the problems
<kLOs>
As a pure user of ruby apps is it ok to just remove rvm and just let rbenv handle everything?
<toretore>
yes
<kLOs>
the ability to gem install is independent of wether i'm running rvm or rbenv, right?
htmldrum has quit [Ping timeout: 255 seconds]
<toretore>
yes
<kLOs>
thanks toretore :)
<kLOs>
Sorry for being so stumped with this. It find all these ruby things very confusing. theres so much stuff going on there :)
htmldrum has joined #ruby
adgtl has joined #ruby
n00bdev has joined #ruby
howdoi has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
pawnbox has joined #ruby
darkf_ has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
darkf has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
fedexo has quit [Ping timeout: 250 seconds]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
sushii has joined #ruby
darkf_ has quit [Ping timeout: 250 seconds]
Sucks has joined #ruby
htmldrum has quit [Ping timeout: 252 seconds]
uri_ has joined #ruby
lemur has joined #ruby
htmldrum has joined #ruby
<kLOs>
Another question since I'm cleaning up anyways. bundler.io is this just for ruby developers who create gems or is it useful as a user?
<Arcaire>
Useful as a user.
<Arcaire>
Example: I installed a Ruby app yesterday that had a load of dependencies in a Gemfile. `bundle install` installed them all.
<Arcaire>
All I had to do was that one command, then everything worked.
<Arcaire>
That's actually a lie and it was a FUCKING PAIN IN THE ASS, but that was an app problem not a bundler problem. Generally it works pretty well.
kies^ has quit [Ping timeout: 244 seconds]
<Arcaire>
99% or more of Gemfiles created will be Rails apps, tbh.
darkf has joined #ruby
makenoise has quit []
lemur has quit [Ping timeout: 244 seconds]
LoneHermit has joined #ruby
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kam270 has quit [Quit: Leaving]
darkf_ has joined #ruby
william3 has joined #ruby
LoneHermit has quit [Ping timeout: 276 seconds]
darkf has quit [Ping timeout: 250 seconds]
kam270 has joined #ruby
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
devbug has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
Eiam_ has joined #ruby
kam270 has quit [Max SendQ exceeded]
Sucks has quit [Read error: Connection reset by peer]
charlemagne has quit [Remote host closed the connection]
kam270 has quit [Max SendQ exceeded]
charlemagne has joined #ruby
kam270 has joined #ruby
darkf_ has quit [Ping timeout: 250 seconds]
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
darkf_ has joined #ruby
charlemagne has quit [Remote host closed the connection]
kam270 has quit [Max SendQ exceeded]
andywojo has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
IrishGringo has quit [Ping timeout: 250 seconds]
darkf has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
andywojo has quit [Ping timeout: 244 seconds]
kLOs has quit [Quit: so long...]
Parko has quit [Quit: In a while, crocodile]
djellemah_ has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
armyriad has joined #ruby
darkf_ is now known as darkf
postmodern has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
Abrin is now known as Abrin_AWAY
Don_John has quit [Read error: Connection reset by peer]
nachoman has quit []
rbennacer has joined #ruby
saneax_AFK is now known as saneax
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nachoman has joined #ruby
akem has quit [Ping timeout: 244 seconds]
teej has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
teej has quit [Read error: Connection reset by peer]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UtkarshRay has quit [Remote host closed the connection]
kies^ has joined #ruby
coffeecupp has quit [Quit: Leaving]
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
e4xit has joined #ruby
CrazyEddy has joined #ruby
nachoman has quit []
adgtl has quit []
mattwildig has joined #ruby
last_staff has joined #ruby
nachoman has joined #ruby
mlehrer has quit [Ping timeout: 244 seconds]
CrazyEddy has quit [Quit: ...]
uri_ has quit [Quit: --]
aganov has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
mattwildig has quit [Ping timeout: 240 seconds]
sauvin has joined #ruby
htmldrum has quit [Ping timeout: 255 seconds]
x77686d has quit [Quit: x77686d]
CrazyEddy has joined #ruby
UtkarshRay has joined #ruby
htmldrum has joined #ruby
dionysus69 has joined #ruby
trosborn has joined #ruby
sauvin has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
sauvin has joined #ruby
CrazyEddy has quit [Ping timeout: 252 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tulak has joined #ruby
the_drow has joined #ruby
blackmes1 has joined #ruby
ur5us has joined #ruby
parable has joined #ruby
s1kx has quit [Quit: bai]
tulak has quit [Ping timeout: 276 seconds]
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby
terminalrecluse has joined #ruby
terminalrecluse has quit [Client Quit]
preyalone has quit [Quit: Connection closed for inactivity]
YaknotiS has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 244 seconds]
sauvin has quit [Quit: Leaving]
sauvin has joined #ruby
bronson has joined #ruby
joonty has joined #ruby
stevemackinnon has joined #ruby
y2mq37 has quit [Quit: Leaving]
htmldrum has quit [Ping timeout: 248 seconds]
htmldrum has joined #ruby
uglybandersnatch has quit [Quit: Leaving.]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
trosborn has quit [Quit: trosborn]
skade has joined #ruby
fn2187 has quit [Remote host closed the connection]
parable has quit [Ping timeout: 250 seconds]
codecop has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
joonty has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
duncannz has joined #ruby
baweaver has quit [Remote host closed the connection]
tenderlove has quit [Ping timeout: 268 seconds]
icarus has joined #ruby
stevemackinnon has quit [Ping timeout: 252 seconds]
fn2187 has joined #ruby
icarus has quit [Changing host]
icarus has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.4]
trosborn has joined #ruby
parable has joined #ruby
trosborn has quit [Client Quit]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yardenbar has joined #ruby
YaknotiS has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
joonty has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
tvw has joined #ruby
blackgoat has joined #ruby
ur5us has quit [Remote host closed the connection]
_djbkd has quit [Quit: My people need me...]
ptierno has joined #ruby
thevaliantx has joined #ruby
ptierno has left #ruby [#ruby]
eregi has quit [Ping timeout: 244 seconds]
lurch_ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
mhoungbo has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
lxsameer has joined #ruby
aufi has joined #ruby
nachoman has quit []
sandstrom has joined #ruby
mlehrer has joined #ruby
Abrin_AWAY has quit [Ping timeout: 252 seconds]
lsmola has joined #ruby
<thevaliantx>
anyone here got the "The Well-Grounded Rubyist" book? It was shipped to me almost a month ago through Amazon, should be getting it this week. How is the book for beginners?
<thevaliantx>
Did I make a mistake getting the book? I homeschool my son and right now we're learning Python, JavaScript, HTML/CSS (in that order) and my plan was to teach him Ruby next and then dip in to C programming. He's 9 years old and doing fine, given that he has to deal with his scatterbrain dad who isn't a working programmer :)
<thevaliantx>
i think Ruby is a beautiful language, but I am not sure what he and I could do with it. We are about to get into graphics programming in Python, can Ruby be easily (somewhat easily?) done with a graphics gui?
<havenwood>
thevaliantx: If you've already covered some of the foundational stuff while working on Python and JavaScript then I think the Well Grounded is a great.
andikr has joined #ruby
chipotle has quit [Quit: cheerio]
blackmes1 has quit [Ping timeout: 250 seconds]
LoneHerm_ has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
<havenwood>
thevaliantx: It does jump right into things but covers a ton of ground. Sounds like a great plan to me.
<thevaliantx>
havenwood: yes. we have done loops, functions, lists, tuples, dictionaries (the books we used did not really do much with tuples or dictionaries). We are about to get into File I/O and using tKinter, I think.
<havenwood>
thevaliantx: Nice.
<thevaliantx>
thanks havenwood :) people on other channels think i am nuts that no 9 year old should be doing this, but he's a hell of a lot smarter than i was at his age. and my biggest fear as far as his academics go and going by the things i'm interested in, is him becoming interested in programming when he's 20 something or older and realizing that he could have started much earlier.
frans3011 has joined #ruby
<thevaliantx>
has IRC died down over the years?
<havenwood>
thevaliantx: Ruby doesn't have as many GUI binding as Python. There are some fun projects though. Stuff like Gosu or Shoes4 with Ruby might be a neat way to get into some of that stuff.
<thevaliantx>
i ask that because it 'seems' to me that back in the early 2000's it was really hopping. it's like a dive bar now
<havenwood>
thevaliantx: It comes in waves.
quazimodo has quit [Ping timeout: 240 seconds]
<thevaliantx>
it just seems awfully quiet anymore. and more off-topic (like what i'm doing, lol) than it used to be, given any particular channel.
<thevaliantx>
we watched a youtube video yesterday. the speaker was talking about a language called Rust. Is it related to Ruby? We didn't watch the whole thing because it was way over our heads.
firstdayonthejob has joined #ruby
<havenwood>
thevaliantx: Nope, not related to Ruby other than there are some prominent Rubyists who are now Rustacians.
rkazak has joined #ruby
djsmentya has joined #ruby
<thevaliantx>
haha...like, really Rusty. they're now lobsters :)
DoubleMalt has joined #ruby
<thevaliantx>
might as well be in the tank at Kroger
saneax is now known as saneax_AFK
htmldrum has joined #ruby
<thevaliantx>
nice chatting with you, havenwood
thevaliantx has quit [Quit: Leaving]
aryaching has joined #ruby
skade has joined #ruby
<havenwood>
thevaliantx: It's a systems language with an interesting "ownership" model. I'd suggest Elixir or Clojure as other interesting languages to look into. Nice chatting!
mwlang has joined #ruby
G has left #ruby [#ruby]
ropeney has joined #ruby
bronson has joined #ruby
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JohnBat26 has joined #ruby
TomyLobo has quit [Ping timeout: 248 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
jas02 has joined #ruby
Xeago has joined #ruby
norc has quit [Quit: Page closed]
theunraveler has joined #ruby
htmldrum has quit [Ping timeout: 240 seconds]
eregi has joined #ruby
ur5us has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
Azulinho has quit [Ping timeout: 248 seconds]
dlitvak has joined #ruby
andywojo has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
eregi has quit [Ping timeout: 276 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
mdw has joined #ruby
bweston92 has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 244 seconds]
skade has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
andywojo has quit [Ping timeout: 240 seconds]
sandstrom has joined #ruby
theunraveler has quit []
theunraveler has joined #ruby
bronson has quit [Remote host closed the connection]
adgtl has joined #ruby
<konsolebox>
Rust has imperfect modular structure, and I avoid it. !@#$ mod.rs.
theunraveler has quit [Client Quit]
sandstrom has quit [Client Quit]
theunraveler has joined #ruby
baweaver has joined #ruby
adgtl has quit [Client Quit]
tulak has joined #ruby
trosborn has joined #ruby
ferr has joined #ruby
tulak has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
adgtl has joined #ruby
tulak has joined #ruby
mary5030_ has joined #ruby
devbug has quit [Ping timeout: 250 seconds]
theunraveler has quit []
baweaver has quit [Ping timeout: 252 seconds]
theunraveler has joined #ruby
theunraveler has quit [Remote host closed the connection]
hanmac has quit [Quit: Leaving.]
chridal_ is now known as chridal
chridal has quit [Changing host]
chridal has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
hanmac has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
adgtl has quit [Client Quit]
amclain has quit [Quit: Leaving]
mdw has quit [Quit: Sleeping Zzzzz]
solars has joined #ruby
TomyWork has joined #ruby
joonty has joined #ruby
jeanlinux has joined #ruby
djsmentya has left #ruby [#ruby]
Xeago has joined #ruby
<Cork>
is there a way to decode Encryptor strings from before the iv key was added?
<Cork>
i only get gibberish out of it
elaptics is now known as elaptics`away
rbennacer has joined #ruby
rue_ has joined #ruby
quazimodo has joined #ruby
adgtl has joined #ruby
pawnbox has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
adgtl has quit [Client Quit]
quazimodo has quit [Read error: No route to host]
jenrzzz has joined #ruby
SCHAAP137 has joined #ruby
<rue_>
Goodness, the channels finally got merged.
sandstrom has joined #ruby
nerium has joined #ruby
<ljarvis>
:)
pawnbox_ has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
mattwildig has joined #ruby
ESpiney has joined #ruby
Sembei has quit [Quit: WeeChat 1.5-dev]
eurialo has joined #ruby
charlemagne has joined #ruby
<manveru>
rue_: you're late to the party :)
pawnbox has quit [Ping timeout: 276 seconds]
trosborn has quit [Quit: trosborn]
mattwildig has quit [Ping timeout: 252 seconds]
<rue_>
manveru: Ah, what’s a few years between friends?
<manveru>
better late than never!
<manveru>
just got back to ruby recently too
<manveru>
although i've been writing only js for the last 2 weeks :(
<ljarvis>
welcome to Ruby!
<ljarvis>
where we write mostly JS
<manveru>
hehe
<manveru>
i should just use opal now
<ljarvis>
do you still write Go at work manveru?
<manveru>
not anymore :(
<Cork>
ok, found it "insecure_mode"
<manveru>
right now i'm busy pushing our company to use Nix across the board
<manveru>
and after that maybe i can sneak some Go or Elixir ini
<manveru>
*in
<ljarvis>
nice one
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 248 seconds]
firstdayonthejob has quit [Ping timeout: 240 seconds]
<manveru>
life's a constant struggle against popular choices
<adaedra>
Hello
frans3011 has quit [Quit: Leaving]
<manveru>
ohai
sandstrom has quit [Quit: My computer has gone to sleep.]
blaxter has joined #ruby
aryaching has joined #ruby
terlar has joined #ruby
silverdust has quit [Ping timeout: 260 seconds]
silverdust has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
silverdust is now known as Guest89194
blackms has quit [Remote host closed the connection]
sandstrom has joined #ruby
tulak_ has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
sandstrom has quit [Client Quit]
sandstrom has joined #ruby
blackms has joined #ruby
wmdrossard has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
stevemackinnon has joined #ruby
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
sandstrom has quit [Client Quit]
tulak has quit [Ping timeout: 244 seconds]
stevemackinnon has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
stevemackinnon has joined #ruby
tulak_ has quit [Ping timeout: 248 seconds]
zz_denym_ is now known as denym_
skade has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
eregi has joined #ruby
mark1 has joined #ruby
stevemackinnon has joined #ruby
nerium has quit [Quit: nerium]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
blaxter has quit [Ping timeout: 240 seconds]
stevemac_ has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
zenlot1 is now known as zenlot
stevemackinnon has joined #ruby
stevemac_ has quit [Read error: Connection reset by peer]
17WAADLHR has left #ruby [#ruby]
kirillzh has joined #ruby
eregi has quit [Ping timeout: 240 seconds]
stevemackinnon has quit [Read error: Connection reset by peer]
aupadhye has quit [Ping timeout: 252 seconds]
gregf_ has joined #ruby
stevemackinnon has joined #ruby
rohit has joined #ruby
andywojo has joined #ruby
futilegames has joined #ruby
thomas is now known as THOMAS
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
Puffball_ has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
Puffball has joined #ruby
trosborn has joined #ruby
<shevy>
manveru aaaah I can grab another quote from you! :)
the_drow has joined #ruby
<manveru>
i don't even wanna know what you do with all those useless quotes :P
andywojo has quit [Ping timeout: 240 seconds]
<xpt>
shevy: Don't believe him. He want to know what you do with these.
<shevy>
hah I don't know myself... I just collect!
stevemackinnon has quit [Ping timeout: 244 seconds]
mwlang has quit [Quit: mwlang]
futilegames has quit [Quit: futilegames]
bronson has joined #ruby
jud^ has joined #ruby
<xpt>
You can write them on your wall (I mean actuall wall, not that thingie on book sith faces)
<xpt>
with*
mikecmpbll has joined #ruby
<manveru>
like one of those conspiracy theorists or religious fanatics that plaster their walls with nonesense?
Gnut has joined #ruby
<xpt>
yes, except not nonsense but your quotes.
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 250 seconds]
denym_ is now known as zz_denym_
<xpt>
protip: The very first one should be "i don't even wanna know what you do with all those useless quotes :P"
Xeago has quit [Remote host closed the connection]
<canton7>
whatever happened to fastcgi? that worked pretty well and was truly universal, then it just sort of... died... and got replaced by a fragmented ecosystem again
nando293921 has quit [Ping timeout: 244 seconds]
<adaedra>
shevy: good, good.
<shevy>
this comment is cool: sub _maybe_escapeHTML {
<shevy>
# hack to work around earlier hacks
<flughafen>
hi shevy, i see you aren't taking off anywhere
<shevy>
lol
<flughafen>
you always flip me crap, but I don't see you progressing as a flughafen
Hounddog has quit [Remote host closed the connection]
<shevy>
hey as long as Berlin is not done, I can be lazy too
<shevy>
another nice quote from there... "Sometimes the snake is replaced with a newer, more shiny snake"
<flughafen>
where is that quote from
william3 has quit [Remote host closed the connection]
<shevy>
like when I complained about python 2.x and python 3.x being used in different software projects for compilation, so one may need to have both versions working, he wrote:
<shevy>
<havenwood> shevy: two snakes is too many snakes
<flughafen>
yeah, python sucks
postmodern has quit [Quit: Leaving]
f4cl3y has joined #ruby
<toretore>
text-align: justify hurts my eyes
marr has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
Hounddog has quit [Ping timeout: 240 seconds]
marr has quit [Client Quit]
william3 has quit [Ping timeout: 255 seconds]
marr has joined #ruby
william3 has joined #ruby
Hounddog has joined #ruby
n00bdev has quit []
TDJACR has quit [Ping timeout: 240 seconds]
parable has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
ur5us has quit [Remote host closed the connection]
<adaedra>
But how can you see it if your eyes are not real?
nerium has joined #ruby
duncannz has quit [Remote host closed the connection]
TDJACR has joined #ruby
Snowy has joined #ruby
eregi has joined #ruby
<ddv>
deep adaedra
blackmes1 has quit [Ping timeout: 252 seconds]
<adaedra>
ddv: if you rotate "deep" 180 degrees, only the "e"s are affected.
parable has joined #ruby
<adaedra>
dəəp
jaiks has quit [Remote host closed the connection]
<tobiasvl>
doop
<ddv>
nice
nerium has quit [Read error: Connection reset by peer]
<tobiasvl>
dqbp
jaiks has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
<ddv>
fail
nerium has joined #ruby
<Ox0dea>
SWIMS
triangles has joined #ruby
<adaedra>
not bad.
andywojo has joined #ruby
eregi has quit [Ping timeout: 252 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
neanderslob has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
<tobiasvl>
NO U
last_staff has quit [Quit: last_staff]
william3 has quit [Remote host closed the connection]
<adaedra>
∩ ON
moeabdol3 has joined #ruby
FooMunki has joined #ruby
Musashi007 has joined #ruby
andywojo has quit [Ping timeout: 240 seconds]
Guest34101 has joined #ruby
Xeago has quit [Remote host closed the connection]
neanderslob_ has quit [Ping timeout: 244 seconds]
laith has quit [Quit: Leaving.]
neanderslob has joined #ruby
dlitvak has joined #ruby
baweaver has joined #ruby
uglybandersnatch has joined #ruby
sandstrom has joined #ruby
tulak has joined #ruby
rikkipitt has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
platzhirsch has joined #ruby
tulak has quit [Remote host closed the connection]
crdpink2 has quit [Ping timeout: 250 seconds]
tulak has joined #ruby
laith has joined #ruby
charlemagne has quit [Ping timeout: 240 seconds]
laith1 has joined #ruby
charlemagne has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
laith has quit [Ping timeout: 240 seconds]
crdpink2 has joined #ruby
icarus has quit [Read error: Connection reset by peer]
icarus has joined #ruby
rbennacer has joined #ruby
xfbs has joined #ruby
evidex has joined #ruby
jottr has joined #ruby
BaroMeter has joined #ruby
charlema_ has joined #ruby
charlemagne has quit [Read error: No route to host]
chipotle has joined #ruby
uglybandersnatch has quit [Quit: Leaving.]
rbennacer has quit [Ping timeout: 248 seconds]
blackmes1 has joined #ruby
william3 has joined #ruby
sepp2k has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
ta__ has joined #ruby
pandaant has joined #ruby
victorzimmer has joined #ruby
chipotle_ has joined #ruby
wmdrossard has quit [Read error: No route to host]
mattwildig has joined #ruby
chipotle has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
dlitvak_ has joined #ruby
william3 has quit [Remote host closed the connection]
mattwildig has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
parable has quit [Ping timeout: 240 seconds]
victorzimmer has quit [Ping timeout: 240 seconds]
charlema_ has quit [Ping timeout: 244 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
uglybandersnatch has joined #ruby
parable has joined #ruby
<Garo_>
I'm scratching my head around how I should do a wrapper for a block. I have this example (depends on sinatra and puma) which is a stripped-down version on my exact use case: https://gist.github.com/garo/0478d786cb075d1c0423 What I want is to wrap around a block passed to a function so that sinatra will call my wrapper which would call the block. This almost works but it results in a "LocalJumpError - unexpected return" ...
<Garo_>
... when I use my wrapper. Any idea how I should implement this wrapper so that it would work transparently?
charlemagne has joined #ruby
n00bdev has joined #ruby
<Ox0dea>
Garo_: Procs and lambdas have different return semantics; it seems you want the latter's.
skade has joined #ruby
stevemackinnon has joined #ruby
<Garo_>
Ox0dea: hi again :) yeah, I think I do. I've been experimenting a few diffrent ways (coding by coincident) but haven't yet hit the right way :/
astrobunny has quit [Remote host closed the connection]
stevemackinnon has quit [Read error: Connection reset by peer]
charlemagne has quit [Read error: No route to host]
dlitvak has joined #ruby
stevemackinnon has joined #ruby
charlemagne has joined #ruby
<Ox0dea>
Garo_: Hey, hey. :) `return` in a lambda will return from the lambda itself, whereas `return` in a Proc will (try to) return from the surrounding method.
<Ox0dea>
In your case, there's no such method, so the interpreter has nowhere to return to and panics.
stevemackinnon has quit [Read error: Connection reset by peer]
uglybandersnatch has quit [Ping timeout: 240 seconds]
stevemackinnon has joined #ruby
uglybandersnatch has joined #ruby
saneax is now known as saneax_AFK
Xeago has quit [Remote host closed the connection]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
dlitvak_ has quit [Ping timeout: 240 seconds]
chipotle_ has quit [Ping timeout: 276 seconds]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemac_ has joined #ruby
Freeaqingme has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
eregi has joined #ruby
stevemac_ has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
lubekpl has joined #ruby
n00bdev has quit []
sandstrom has joined #ruby
sandstrom has quit [Client Quit]
auzty has quit [Quit: Leaving]
william3 has quit [Remote host closed the connection]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
stevemac_ has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
BtcBen has quit [Ping timeout: 244 seconds]
eregi has quit [Ping timeout: 252 seconds]
stevemac_ has quit [Read error: Connection reset by peer]
terlar has quit [Quit: WeeChat 1.4]
ardian has quit [Ping timeout: 276 seconds]
charlemagne has quit [Ping timeout: 248 seconds]
stevemackinnon has joined #ruby
ready has quit [Quit: Leaving]
monashko2 has joined #ruby
parable has quit [Ping timeout: 250 seconds]
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
andywojo has joined #ruby
ardian has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
uglybandersnatch has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
bronson has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
heftig has quit [Quit: heftig]
heftig has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemac_ has joined #ruby
andywojo has quit [Ping timeout: 255 seconds]
trinaldi has joined #ruby
stevemac_ has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
stevemac_ has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 252 seconds]
unpowerfulness has joined #ruby
Xeago has joined #ruby
stevemac_ has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
krzkrz has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
stevemackinnon has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
stevemackinnon has joined #ruby
rodfersou has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
binaryplease has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
jottr has joined #ruby
stevemackinnon has joined #ruby
skade has joined #ruby
skweek has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
stevemac_ has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
Kryptonical has quit [Read error: Connection reset by peer]
victorzimmer has joined #ruby
stevemac_ has quit [Read error: Connection reset by peer]
stevemackinnon has joined #ruby
icarus has quit [Read error: Connection reset by peer]
icarus has joined #ruby
joonty has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
rohit has joined #ruby
icarus has quit [Read error: Connection reset by peer]
joonty has joined #ruby
victorzimmer has quit [Ping timeout: 250 seconds]
p0p0pr37 has joined #ruby
stevemackinnon has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
icarus has joined #ruby
DexterLB has quit [Read error: Connection reset by peer]
rikkipitt has quit [Quit: Leaving...]
ropeney_ has joined #ruby
Flakes has quit [Ping timeout: 240 seconds]
ropeney_ has quit [Client Quit]
william3 has joined #ruby
victorzimmer has joined #ruby
DexterLB has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tulak has quit []
dlitvak_ has joined #ruby
BaroMeter has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 250 seconds]
ldnunes has joined #ruby
dlitvak has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ESpiney has quit [Ping timeout: 240 seconds]
icarus has quit [Read error: Connection reset by peer]
dlitvak_ has quit [Ping timeout: 255 seconds]
icarus has joined #ruby
gizmore has joined #ruby
shiver has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
shiver has joined #ruby
shiver has quit [Changing host]
shiver has joined #ruby
rohit has quit [Ping timeout: 240 seconds]
charlemagne has joined #ruby
sdothum has joined #ruby
Xeago has quit [Remote host closed the connection]
skweek has quit [Remote host closed the connection]
Macaveli has joined #ruby
skweek has joined #ruby
mattwild_ has joined #ruby
Xeago has joined #ruby
mattwildig has quit [Ping timeout: 244 seconds]
binaryplease has quit [Ping timeout: 248 seconds]
dlitvak has quit [Ping timeout: 240 seconds]
eregi has joined #ruby
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
dlitvak has joined #ruby
ElFerna has joined #ruby
eregi has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
pawnbox_ has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Dragooon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
andywojo has quit [Ping timeout: 250 seconds]
bubbys has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
bubbys has quit [Client Quit]
bubbys has joined #ruby
bubbys has left #ruby [#ruby]
bubbys has joined #ruby
Shaboum has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
sandstrom has joined #ruby
platzhirsch has left #ruby [#ruby]
aryaching has joined #ruby
blackmes1 has joined #ruby
chipotle has joined #ruby
icarus has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
icarus has joined #ruby
xfbs has quit []
dlitvak has joined #ruby
maikowblue has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
pawnbox has joined #ruby
sandstrom has joined #ruby
ilyaman has joined #ruby
ben__ has quit [Ping timeout: 244 seconds]
unpowerfulness has quit [Ping timeout: 276 seconds]
dlitvak_ has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby
<Garo_>
Ox0dea: thanks for that (sorry for the delay). So it seems that if the returns works in Sinatra then Sinatra must invode that somehow differently so that it as a surrounding method where it can return
FooMunki has quit [Quit: FooMunki]
charlemagne has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 244 seconds]
FooMunki has joined #ruby
victorzimmer has quit [Remote host closed the connection]
victorzimmer has joined #ruby
cyclonis has quit [Ping timeout: 276 seconds]
icarus has quit [Read error: Connection reset by peer]
platzhirsch has joined #ruby
icarus has joined #ruby
pawnbox has quit [Remote host closed the connection]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
kent\n has quit [Quit: No Ping reply in 180 seconds.]
ljames has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnmilton has joined #ruby
kent\n has joined #ruby
kent\n has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
sgambino has joined #ruby
jenrzzz has joined #ruby
aibot has quit [Remote host closed the connection]
kies^ has joined #ruby
Trynemjoel has joined #ruby
Kang0 has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eregi has joined #ruby
dopie has joined #ruby
sgambino has quit [Client Quit]
blandflakes has joined #ruby
aibot has joined #ruby
aibot has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
zast has joined #ruby
idefine has joined #ruby
aibot has joined #ruby
floatingpoint has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
CookieBaker has joined #ruby
<CookieBaker>
Hello folks
andywojo has joined #ruby
idefine has quit [Remote host closed the connection]
dstarh has joined #ruby
aibot has quit [Remote host closed the connection]
ziyadb has joined #ruby
jstacks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aibot has joined #ruby
<CookieBaker>
Just a quick question, I can run a ruby sinatra app by using MyArbitraryClassName.run! but I can't run it by executing the run method on a class object. I don't know what I did wrong
blackmes1 has joined #ruby
Guest34101 has joined #ruby
aibot has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
floatingpoint has quit [Client Quit]
baweaver has joined #ruby
robbyoconnor has joined #ruby
bronson has joined #ruby
platzhirsch has joined #ruby
DaniG2k has joined #ruby
jstacks has joined #ruby
jas02 has quit [Quit: jas02]
aibot has joined #ruby
andywojo has quit [Ping timeout: 244 seconds]
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
idefine has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Ping timeout: 250 seconds]
jaiks has quit [Ping timeout: 250 seconds]
dhollinger has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 252 seconds]
Guest34101 has quit [Ping timeout: 244 seconds]
jstacks has quit [Client Quit]
mattwildig has joined #ruby
idefine has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
lurch_ has quit [Remote host closed the connection]
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
pdoherty has joined #ruby
rbennacer has joined #ruby
crowell has quit [Remote host closed the connection]
ropeney has quit [Quit: Leaving]
nchambers is now known as BackupHeddwch
mostlybadfly has quit [Quit: Connection closed for inactivity]
william3 has joined #ruby
CookieBaker has quit [Quit: Leaving]
bricker has joined #ruby
<shevy>
drive-by-shooting, drive-by-asking
Sucks has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
Kang0 has quit [Ping timeout: 244 seconds]
maikowblue has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Quit: Leaving.]
Gnut has joined #ruby
contradictioned has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
jaiks has joined #ruby
dlitvak__ has joined #ruby
boboc has joined #ruby
dlitvak__ has quit [Read error: Connection reset by peer]
tjohnson has joined #ruby
nofacade has joined #ruby
dhollinger has joined #ruby
dlitvak has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
sanguisdex has joined #ruby
platzhirsch has joined #ruby
dravine has quit [Ping timeout: 248 seconds]
frozen3 has joined #ruby
dfockler has joined #ruby
dlitvak_ has quit [Ping timeout: 276 seconds]
pandaant has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
symm- has quit [Quit: Leaving...]
crowell has joined #ruby
nando293921 has joined #ruby
cdg_ has quit [Ping timeout: 250 seconds]
chouhoul_ has quit [Remote host closed the connection]
cdg has joined #ruby
Guest36813 has quit [Ping timeout: 250 seconds]
BackupHeddwch is now known as bACKUPhEDDWCH
chouhoulis has joined #ruby
Olipro_ has joined #ruby
Olipro_ is now known as Guest9146
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
sepp2k has quit [Quit: Leaving.]
dima__ has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
6A4AAAGKI is now known as nug
jeanlinu_ has joined #ruby
william3 has quit [Remote host closed the connection]
mondok has joined #ruby
dlitvak_ has quit [Ping timeout: 255 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
Xeago has quit [Ping timeout: 240 seconds]
ben__ has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
crazydiamond has joined #ruby
Abrin_AWAY has joined #ruby
jacksonmills has joined #ruby
Abrin_AWAY has left #ruby [#ruby]
aufi has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
scoot has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rcvalle has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
bACKUPhEDDWCH is now known as nchambers
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevemackinnon has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
codecop has joined #ruby
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
<scoot>
Hi, I was wondering if anybody backs up their local gems on OSX? I'm reformatting my computer but since the gems takes so long to download I want to be able to just resotre them somehow
haylon has joined #ruby
griffindy has joined #ruby
<apeiros>
scoot: if you use rvm, you can probably just copy ~/.rvm away.
mattwildig has quit [Remote host closed the connection]
<scoot>
I'm using rbenv
ljames has joined #ruby
<adaedra>
s/\.rvm/.rbenv/
stevemackinnon has quit [Ping timeout: 248 seconds]
<scoot>
i guess same thing with rbenv
<scoot>
jsut copy the entire directory ~/.rbenv and back that up correct?
nachoman has quit []
jenrzzz has joined #ruby
amclain has joined #ruby
<adaedra>
I guess so
gregf has quit [Quit: WeeChat 1.4]
<scoot>
thanks apeiros and adaedra
<apeiros>
yw
lxsameer has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
mattwildig has joined #ruby
floatingpoint has joined #ruby
griffindy has quit [Client Quit]
Guest34101 has joined #ruby
yqt has joined #ruby
Tomasso has quit [Quit: Page closed]
gregf has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
TomyLobo has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dopie has quit [Quit: Lost terminal]
eregi has quit [Ping timeout: 244 seconds]
cpup has quit [Quit: Breaking stuff]
pandaant has joined #ruby
dopie has joined #ruby
devbug has joined #ruby
terminalrecluse has joined #ruby
dopie has quit [Client Quit]
cpup has joined #ruby
shredding has quit [Ping timeout: 248 seconds]
eregi has joined #ruby
dlitvak_ has joined #ruby
idefine has quit [Remote host closed the connection]
julieeharshaw has quit [Ping timeout: 264 seconds]
Kensei has joined #ruby
BtcBen has joined #ruby
Dragooon has joined #ruby
Snowy has quit [Quit: ragequit]
<ljarvis>
obligatory chruby > rvm
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Eiam_ has joined #ruby
goodcodeguy has joined #ruby
basic` has joined #ruby
cjbottaro has joined #ruby
Kensei has left #ruby [#ruby]
william3 has quit [Remote host closed the connection]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chridal>
tristanp_: I use rbenv and I have to say that I prefer it over rvm
william3 has joined #ruby
<chridal>
I do however not understand how they both work internally, but rbenv has in general just given me a lot less grief
julieeharshaw has joined #ruby
Xiti has joined #ruby
dfinninger has joined #ruby
<ljarvis>
obligatory chruby > rbenv
<scoot>
same here. I prefer rbenv over rvm. I swithed over from rvm and rbenv and they do not play well together in your OS. It was causing me a lot of trouble to have them both installed
Hounddog has quit [Ping timeout: 250 seconds]
<chridal>
ljarvis: Reading up on that now.
Kang0 has joined #ruby
terminalrecluse has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
openstru_ has joined #ruby
Eiam_ has quit [Ping timeout: 276 seconds]
rhg331 has joined #ruby
Eiam__ has joined #ruby
Eiam__ is now known as Eiam_
nofacade has joined #ruby
aryaching has quit [Remote host closed the connection]
openstruct has quit [Read error: No route to host]
openstruct has joined #ruby
sanguisdex has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
yqt has joined #ruby
Toledo|gone has joined #ruby
last_staff has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
openstru_ has quit [Ping timeout: 250 seconds]
pandaant has quit [Remote host closed the connection]
lubekpl has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mooru has joined #ruby
millerti has joined #ruby
idefine has joined #ruby
cschnei__ has joined #ruby
allcentury has quit [Ping timeout: 255 seconds]
basic` has quit [Changing host]
basic` has joined #ruby
arlek has quit [Ping timeout: 240 seconds]
<cschnei__>
I want to label some output with "A", "B", "C" , and it's moderately complex on which ones get printed. So I want `label = "A"` then `label.succ!`. How can I set that up so the first case isn't special. I don't want to start on 'B', so I can't just blindly `puts label.succ!`
<cschnei__>
I guess I want: "don't actually increment the first time, just every following time
allcentury has joined #ruby
pdoherty has joined #ruby
platzhirsch has left #ruby [#ruby]
xfbs has joined #ruby
<apeiros>
cschnei__: label = "@"
<cschnei__>
that's "one previous from 'A'" isn't it?
<apeiros>
of course
<cschnei__>
:)
hxegon is now known as hxegon_AFK
cjbottaro has joined #ruby
nachoman has joined #ruby
icarus has quit [Read error: Connection reset by peer]
kirillzh has joined #ruby
BSaboia has joined #ruby
dfinninger has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
replay has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
rbennacer has quit [Remote host closed the connection]
icarus has joined #ruby
Xeago has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest34101 has joined #ruby
kirillzh has quit [Ping timeout: 248 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rbennacer has joined #ruby
JJM has joined #ruby
floatingpoint has joined #ruby
cjbottaro has joined #ruby
stevemackinnon has joined #ruby
yqt has quit [Ping timeout: 255 seconds]
rbennacer has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
stevemackinnon has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
rhg331 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
stevemackinnon has joined #ruby
rhg135 has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
flughafen_ has joined #ruby
devbug has quit [Ping timeout: 244 seconds]
stevemackinnon has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 250 seconds]
<tristanp_>
Once i have rvm and a ruby version installed, am i supposed to install gems through rvm in case i switch the ruby version later? like `rvm gem install rails` instead of `gem install rails`
Jeremy1023 has joined #ruby
william3 has joined #ruby
elaptics is now known as elaptics`away
alexishuard has joined #ruby
hxegon_AFK is now known as hxegon
<alexishuard>
anyone worked with jenkins, simplecov and parallel_tests ? i cannot seem to generate a complete code coverage report despite all my efforts
william3 has quit [Remote host closed the connection]
flughafen_ has quit [Ping timeout: 250 seconds]
boboc has quit []
SCHAAP137 has quit [Quit: Leaving]
flughafen_ has joined #ruby
<atmosx>
tristanp_: no
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
xxneolithicxx has joined #ruby
dfinninger has joined #ruby
<atmosx>
tristanp_: by default rvm will use all installed with that specific ruby version. If you need to isolate gems/ruby-version per project use .ruby-version
<atmosx>
tristanp_: just use 'gem install <blah>'
firstdayonthejob has joined #ruby
<tristanp_>
atmosx: ok, thanks
sepp2k has quit [Read error: Connection reset by peer]
DroidBurgundy has quit []
failshell has joined #ruby
stamina has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FooMunki has quit [Quit: FooMunki]
mooru has joined #ruby
william3 has joined #ruby
FooMunki has joined #ruby
william3 has quit [Remote host closed the connection]
BaroMeter has joined #ruby
nogic has joined #ruby
jenrzzz has joined #ruby
william3 has joined #ruby
n00bdev has joined #ruby
BaroMeter has quit [Remote host closed the connection]
skade has joined #ruby
zeroDivisible has joined #ruby
LoneHerm_ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
skade has quit [Client Quit]
trosborn has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
jeanlinu_ has joined #ruby
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 252 seconds]
Antiarc_ is now known as Antiarc
andywojo has joined #ruby
kirillzh has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
elifoster has quit [Ping timeout: 255 seconds]
joonty has joined #ruby
jeanlinux has quit [Ping timeout: 240 seconds]
dfinninger has quit [Remote host closed the connection]
A124 has joined #ruby
weemsledeux has joined #ruby
goodcodeguy has quit [Read error: Connection reset by peer]
celly has joined #ruby
nachoman has quit []
dfinninger has joined #ruby
mattwildig has joined #ruby
f4cl3y has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
andywojo has quit [Ping timeout: 255 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trosborn has quit [Quit: trosborn]
kirillzh has joined #ruby
mhoungbo has joined #ruby
joonty has quit [Ping timeout: 255 seconds]
Conflict_ has quit [Ping timeout: 240 seconds]
hxegon has quit [Ping timeout: 250 seconds]
mooru has joined #ruby
hxegon has joined #ruby
Musashi007 has joined #ruby
Xeago has quit [Remote host closed the connection]
<xapak>
Anybody ever worked with Bundler classes instead of the CLI app? I’m trying to get some gems installed to a specific directory and on my wrapper I load them later, but I’m having an issue where it seems, unless Bundler objects are destroyed, I cannot rerun the same installation method:
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
godzillaenlacasa has joined #ruby
azure32 has joined #ruby
futilegames has quit [Client Quit]
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<tristanp_>
so took the newly installed rvm and installed the latest of ruby 2.3 and then gem installed rails but the output was not happy...any calls to rails (even to check the version number) from inside a rails project result in a weird error which i couldn't find a google result for. here's what happened: https://gist.github.com/tristanpendergrass/e7e45013a8e760a60026
Jeremy1023 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fsapo has quit [Remote host closed the connection]
Guest74012 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
ElFerna has quit [Ping timeout: 252 seconds]
<tristanp_>
once again, i googled the `undefined method `split' for #<Array:0x007fb63c8af0f8> (NoMethodError)` error, which i think is the crux of the problem. but couldn't find anything so that's what i'm really looking for help on
nofacade has joined #ruby
<apeiros>
tristanp_: it's precisely what the error says
<apeiros>
there is no method split for Array.
<apeiros>
i.e. you call split on an array. and that does not exist.
Authenticator has joined #ruby
zast has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 255 seconds]
<tristanp_>
i haven't written any code, my entire input has been installed rails and then executing `gem install rails`, `rails new hello_world` and `rails -v`
<tristanp_>
sorry i meant to say install ruby ^
dlitvak_ has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
<apeiros>
did you intentionally install a prerelease of ruby?
Trynemjoel has quit [Ping timeout: 264 seconds]
dlitvak has quit [Ping timeout: 244 seconds]
<tristanp_>
no, i thought -head installed the latest stable version
<tristanp_>
you saying that makes me think i didnt though :)
<apeiros>
no, -head is the latest version in the repository
<tristanp_>
that's my problem then
kpwarr has joined #ruby
<apeiros>
it might be. at least that's the first I'd change.
<Authenticator>
I've written a CLI utility as a gem against 2.2.x+ and I want to run this on a RHEL6 machine without a modern Ruby. In the past I've downloaded and built Ruby and packaged that, then packaged the gem separately, etc. Is there a good way to do this?
ElFerna has joined #ruby
mdw has joined #ruby
<kpwarr>
is a 'begin - rescue - end' block treated differently from the begin block which executes before any other code in the file?
LoneHerm_ has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
futilegames has quit [Client Quit]
dlitvak_ has quit [Ping timeout: 248 seconds]
LoneHermit has joined #ruby
stamina has quit [Ping timeout: 248 seconds]
dopamean_ has joined #ruby
dlitvak has joined #ruby
Macaveli has joined #ruby
Musashi007 has quit [Quit: Musashi007]
norc_ has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
verde has quit [Remote host closed the connection]
Olipro has quit [Ping timeout: 250 seconds]
elifoster has joined #ruby
<riceandbeans>
question, if I have the following code, is it safe to remove the parens?
duckpuppy has quit [Ping timeout: 276 seconds]
<riceandbeans>
if (foo) or ((bar) and (baz)) ... end
<norc_>
riceandbeans: Firstly, do you know the difference between &&/and and ||/or ?
<riceandbeans>
linter at work said s/or/|| s/and/&& and take out all paren
<riceandbeans>
different operational precedence
polishdub has quit [Read error: No route to host]
<shevy>
kpwarr it will only rescue the part that you enclosed
<norc_>
riceandbeans: Basically and/or were designed for control flow and not boolean operators.
<norc_>
So the precedence is differently and they even behave somewhat differently too./
jenrzzz has joined #ruby
<norc_>
Or actually that last bit is not quite accurate.
Yithar has quit [Remote host closed the connection]
dfinninger has quit [Read error: Connection reset by peer]
polishdub has joined #ruby
dfinninger has joined #ruby
solars has joined #ruby
azure32 has quit [Ping timeout: 276 seconds]
jeanlinu_ has quit [Read error: Connection reset by peer]
<norc_>
Oh dongers. Did I hit the limit already. :S
dlitvak has joined #ruby
jxs_ has quit [Remote host closed the connection]
contradictioned has joined #ruby
nachoman has joined #ruby
contradictioned has quit [Remote host closed the connection]
Yzguy has joined #ruby
dlitvak has quit [Remote host closed the connection]
polishdub has quit [Remote host closed the connection]
mwlang has joined #ruby
dlitvak has joined #ruby
scoot has quit [Remote host closed the connection]
jeanlinux has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
baweaver has quit [Ping timeout: 250 seconds]
idefine has quit [Remote host closed the connection]
mdw has joined #ruby
atmosx has quit [Quit: This is aparting message!]
jeanlinux has quit [Remote host closed the connection]
mooru has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dravine has joined #ruby
Guest11198 is now known as ndrst
stamina has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
dfinninger has quit [Remote host closed the connection]
Domaldel has joined #ruby
contradictioned has joined #ruby
ur5us has joined #ruby
tercenya has quit []
SCHAAP137 has joined #ruby
dfockler has quit [Ping timeout: 252 seconds]
ss_much has joined #ruby
solars has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
contradictioned_ has joined #ruby
contradictioned_ has quit [Remote host closed the connection]
laith has joined #ruby
XorSec has quit [Ping timeout: 248 seconds]
Musashi007 has joined #ruby
celly has quit []
<Zarthus>
norc_: well, irb / pry won't ratelimit you
<norc_>
Zarthus: no but the bot does.
<norc_>
Oh.
solars has joined #ruby
<Zarthus>
;)
x77686d has quit [Quit: x77686d]
<shevy>
we want ruboto back!
elifoster has quit [Ping timeout: 248 seconds]
idefine has quit [Ping timeout: 240 seconds]
<adaedra>
No you don't.
Olipro has joined #ruby
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Remote host closed the connection]
<norc_>
adaedra: you mean apeiros doesn't.
<adaedra>
I'm sure he's not alone.
<shevy>
you have `derpy
synthroi_ has joined #ruby
synthroid has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
<`derpy>
No, the other way around. I have adaedra.
<shevy>
:P
jeanlinux has joined #ruby
solars has quit [Quit: WeeChat 0.4.2]
sandstrom has quit [Quit: My computer has gone to sleep.]
ferr has joined #ruby
sandstrom has joined #ruby
theRealAlexz has quit [Quit: No Ping reply in 180 seconds.]
<Zarthus>
that's not what your realname suggests!
synthroi_ has quit [Ping timeout: 255 seconds]
cajone has quit [Remote host closed the connection]
theRealAlexz has joined #ruby
theRealAlexz has quit [Changing host]
theRealAlexz has joined #ruby
synthroi_ has joined #ruby
<adaedra>
Hah, forgot about that
joonty has quit [Ping timeout: 252 seconds]
Contigi has joined #ruby
Sammitch has quit [Ping timeout: 240 seconds]
ruby-lang973 has joined #ruby
Shaboum has quit [Quit: WeeChat 1.4]
yqt has joined #ruby
treehug88 has joined #ruby
<kpwarr>
are 'begin' blocks and 'BEGIN' blocks two completely different things?
william3 has quit [Remote host closed the connection]
ruby-lang973 has quit [Ping timeout: 252 seconds]
mostlybadfly has joined #ruby
CLion has joined #ruby
<shevy>
kpwarr yeah
<manveru>
kpwarr: yes
moeabdol1 has joined #ruby
<kpwarr>
ugh, that's confusing :P
dlitvak has quit [Remote host closed the connection]
<manveru>
not if you know that BEGIN is never used :)
<shevy>
kpwarr are these theoretical questions? ;)
trosborn has joined #ruby
<manveru>
there's also END, but don't confuse it with end
<shevy>
it's like wondering why the dinosaur do not rule the earth today!
<kpwarr>
yea, just curious
jimcroft has joined #ruby
<hxegon>
If I'm building something that relies on another component that doesn't exist yet, I should use doubles for that, correct?
Ox0dea has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
<hxegon>
also, hello everyone.
jimcroft has quit [Client Quit]
<Ox0dea>
manveru: You reckon the language should have exit handlers but not entrance ones?
<manveru>
hxegon: doubles as in floats?
william3 has joined #ruby
bricker has joined #ruby
<hxegon>
manveru as in test doubles (RSpec)
nogic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<manveru>
Ox0dea: i don't like either... it's heritage from awk
<Ox0dea>
manveru: But it's how autorun works!
<Ox0dea>
Also, awk is a decent language?
<manveru>
autorun?
Xeago has joined #ruby
jimcroft has joined #ruby
<manveru>
can't say i ever used that
<shevy>
it just runs
<manveru>
anw, i'm not a big fan of most things that came from awk -> perl -> ruby
CLion has quit [Ping timeout: 240 seconds]
<manveru>
they're mostly there because perl was so big in japan, not because they're good :P
<Ox0dea>
Oh, okay.
djellemah has quit [Quit: Leaving]
blackgoat has joined #ruby
djellemah has joined #ruby
<manveru>
i have a thing for small languages in terms of syntax and even features
bricker has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
<Ox0dea>
You're in #ruby.
<manveru>
#ruby is a big place, i'm over here in the scheme and smalltalk corner
JoaoSantos has joined #ruby
<manveru>
planning to assassinate rails
<bougyman>
do it!
<JoaoSantos>
Hi.
<norc_>
Ox0dea: I was wondering about something.
<norc_>
Do you know how allocators work in Ruby?
mhoungbo has quit [Quit: Quitte]
* mikecmpbll
is writing his first c extension
<mikecmpbll>
bit of a learning curve, this.
yardenbar has joined #ruby
stevemackinnon has joined #ruby
<norc_>
mikecmpbll: We shall celebrate your first segmentation fault crash dialog from Ruby soon.
<mikecmpbll>
haha, how dare you jinx me.
<Ox0dea>
norc_: Er, I've only ever bumped into them for TypedData_MakeStruct(). :/
djbkd has joined #ruby
<Ox0dea>
The interface seems fairly intuitive?
blackmes1 has joined #ruby
stevemackinnon has quit [Read error: Connection reset by peer]
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevemackinnon has joined #ruby
<Ox0dea>
manveru: There's a Smalltalk corner? Surely those principles pervade the language?
bricker has joined #ruby
<norc_>
Ox0dea: Im still at the fiddling the class pointer topic.
jenrzzz has quit [Ping timeout: 250 seconds]
dfinninger has joined #ruby
<Ox0dea>
norc_: I assumed as much. :)
<norc_>
And Im thinking whether something was missed that could lead to crashes.
<norc_>
Heh.
jenrzzz has joined #ruby
pawnbox has joined #ruby
<shevy>
mikecmpbll I never got past the pickaxe jukebox example
<Ox0dea>
norc_: I never did figure out why copying over everything for `struct enumerator` into a C extension wasn't sufficient for the TypedData API to think I had a real `struct enumerator` on my hands. :(
<Ox0dea>
I just blindly used DATA_PTR() in the end and everything went fine.
<Ox0dea>
Which is terrifying?
<mikecmpbll>
shevy: just getting on to that!
<norc_>
Ox0dea: Oh, there is that word again. "Fine".
<mikecmpbll>
i implemented a rolling hash function in ruby and it's so damn slow. can't work out why so ima try it in C instead
<shevy>
hmmmm
baweaver has joined #ruby
<Ox0dea>
mikecmpbll: DJB's?
stevemackinnon has quit [Ping timeout: 255 seconds]
<mikecmpbll>
Ox0dea: buzhash
<Ox0dea>
Much fancier.
<norc_>
Ox0dea: The word always reminds me of the massive stack corruption we had in our application with no sensible tools available to debug it. Spent like days just trying to figure out where it happened. Guy kept saying "Everything is fine. Except its not."
pawnbox has quit [Ping timeout: 244 seconds]
nachoman has quit []
<mikecmpbll>
i don't know much about them, but buzhash is fast apparently and i had a python implementation to base it off
JoaoSantos has left #ruby [#ruby]
<mikecmpbll>
however mine ruby version can process about 4mb/s from file data, whereas the C version is like 170mb/s :[
<Ox0dea>
norc_: "Everything" here was just exposing `struct enumerator`'s fields as a Ruby Hash, for what that's worth.
<Ox0dea>
mikecmpbll: It's probably that you're holding onto much more of your sequence than is necessary to maintain the window?
baweaver has quit [Remote host closed the connection]
<norc_>
Anyhow, Im currently in the process of diving back into C++ now. :(
nofacade has joined #ruby
<Ox0dea>
I heard.
baweaver has joined #ruby
phatso727 has joined #ruby
<norc_>
If only Ruby had proper Qt bindings, or any kind of adequate Window toolkit.. :S
maikowblue has joined #ruby
<Ox0dea>
Or, well, you mentioned pure virtual base classes, so I assumed.
tercenya has joined #ruby
<norc_>
Had a fruitless rant about how much I dislike inheritance in Ruby.
<norc_>
Think I mentioned it along the way somewhere there.
yfeldblum has quit [Remote host closed the connection]
<Ox0dea>
Why should changing the name of the subsequent method have anything to do with the column on which it encounters `self`?
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
Xeago has quit [Remote host closed the connection]
jjturner has joined #ruby
<cout>
Ox0dea: I think maybe column() is the current column of the scanner rather than the parser
ElFerna has quit [Ping timeout: 255 seconds]
<Ox0dea>
cout: "Current" here referring to after the token has been processed, but yeah.
uglybandersnatch has joined #ruby
slawrence00 has joined #ruby
<Ox0dea>
It's still pretty surprising, I think. I don't get why it's emitting the on_var_ref event only after the method definition.
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
mattwild_ has quit [Ping timeout: 252 seconds]
mattwildig has joined #ruby
treehug88 has quit [Ping timeout: 255 seconds]
openstruct has quit [Remote host closed the connection]
jimcroft has joined #ruby
firstdayonthejob has joined #ruby
<jjturner>
Q: how does 42 && 23 result -> 23? Basically trying to understand this use of &&, thanks
<adaedra>
jjturner: && returns the right side if the left side is truthy.
<adaedra>
not only true/false.
<jjturner>
ok, thanks - that was a new one on me
phatso727 has quit [Quit: leaving]
x77686d has quit [Quit: x77686d]
<jjturner>
it does seem curious/antithetical to normal logical 'and' usage
pdoherty has quit [Ping timeout: 255 seconds]
<Ox0dea>
Does it?
azure32 has joined #ruby
<Ox0dea>
Ruby's boolean operators observe the same truth table as any other; they just evaluate to something with greater information density than mere `true` and `false`.
<ruby-lang363>
Ox0dea: why is it ignored? how can I get around this?
<ruby-lang363>
:(
<Ox0dea>
ruby-lang363: As you've done.
<Ox0dea>
Alternatively, use a proper HTTP client.
<Ox0dea>
Or, well, FTP, as the case may be.
<ruby-lang363>
Ox0dea: the point is that I use some program and by chance I know some ruby to fix it - but I would really love to just set an env variable and be done with it.
shiffles has quit [Remote host closed the connection]
<Ox0dea>
ruby-lang363: You have access to the environment via the ENV Hash.
elifoster has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alem0lars__ has quit [Quit: Leaving]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
rahult has joined #ruby
tomaz_b has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trinaldi has joined #ruby
m4rCsi has quit [Ping timeout: 240 seconds]
uglybandersnatc1 has joined #ruby
uglybandersnatch has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
ramortegui_ has quit [Remote host closed the connection]
phatso727 has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
LuckyABA has joined #ruby
uri_ has quit [Quit: --]
Domaldel has quit [Ping timeout: 240 seconds]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
uglybandersnatc1 has quit [Quit: Leaving.]
sphex has quit [Ping timeout: 240 seconds]
KensoDev has quit [Ping timeout: 255 seconds]
gevans has joined #ruby
nofacade has joined #ruby
m4rCsi has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
symm- has quit [Ping timeout: 240 seconds]
jjturner has quit [Quit: leaving]
sphex has joined #ruby
mdw has joined #ruby
LoneHerm_ has joined #ruby
ledestin has joined #ruby
ropeney has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
quazimodo has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
Xeago has quit [Remote host closed the connection]
<pipework>
I was gonna do one that uses a hash that never stores the env. :p
themsay has quit [Quit: AtomicIRC: The nuclear option.]
nofacade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 252 seconds]
EvilRoey has joined #ruby
timwis has joined #ruby
nachoman has joined #ruby
<timwis>
Hey guys, I've submitted a simple pull request to Jekyll but I'm a JS dev so I'm not as familiar with ruby best practices. What's the best way to write "select where there's a string match or, if it's an array, where the array contains the string" (at the moment tests are failing because `.include?` throws an error against a boolean value) https://github.com/jekyll/jekyll/pull/4555/files
LoneHerm_ has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hoylemd>
I have a string containing a bunch of html, but with other stuff around it. I'm trying to extract *just* the html portion by doing `/<html>.*<\/html>/.match(text)[0]`, but I'm not getting a match. Is there a reason the .* might be breaking it?
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgambino has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
LoneHerm_ has joined #ruby
teej has joined #ruby
<hoylemd>
ah! I need to append the `m` modifier
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
mattwildig has quit [Remote host closed the connection]
eurialo has quit [Ping timeout: 276 seconds]
Azure|dc has joined #ruby
krobzaur_ has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 255 seconds]
matt_d_ is now known as matt_d
steffkes has quit [Read error: Connection reset by peer]
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
trosborn has quit [Quit: trosborn]
jenrzzz has joined #ruby
mondok has quit [Ping timeout: 248 seconds]
duncannz has joined #ruby
steffkes has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
zenspider_ is now known as zenspider
moei has joined #ruby
steffkes has joined #ruby
stannard has quit [Remote host closed the connection]
kerunaru has joined #ruby
<martin290>
hey everyone
Dreamer3 has quit [Quit: Computer has gone to sleep.]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]