<rubyQuestion>
centrx, that would give me @x = 32, and @y = 56...which are wrong
<rubyQuestion>
so initially, @x = 8 and @y = 8
elliotec has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
<centrx>
Yes
elliotec has quit [Remote host closed the connection]
<rubyQuestion>
@x = 3 * @x + @y for @x equal 8 and @y = 8 therefore making @x = 32 @y = @x + (3 + 1) * @y then it would be 32 + (3+1) * 8 which would make @y 64
vlad_starkov has quit [Ping timeout: 272 seconds]
<rubyQuestion>
wait...i think that's right actually...wow
brettweavnet has quit [Quit: Bye]
elia has quit [Quit: Computer has gone to sleep.]
arooni-mobile__ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
dorei has quit [Read error: Connection reset by peer]
VTLob has quit [Quit: VTLob]
dorei has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 0.4.3]
hahuang65 has joined #ruby-lang
jaimef has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
symm-_ is now known as symm-
lun_ has joined #ruby-lang
agrinb_ has quit [Ping timeout: 248 seconds]
agrinb_ has joined #ruby-lang
lun_ has quit [Ping timeout: 252 seconds]
jaimef has joined #ruby-lang
<rubyQuestion>
more along the same question, sorry to keep bothering...i dont understand programming, nor do i want to, but i gotta take it for my major. anyway, the same question, but second part
johnmilton has quit [Read error: Connection reset by peer]
hackjoy has quit [Remote host closed the connection]
<drbrain>
wioux: for capp, libpcap blocks then calls back, so I have to re-acquire the GVL to call ruby methods inside the callback (so I use both)
MartynKeigher has quit [Quit: Bye for now!]
MartynKeigher has joined #ruby-lang
lun_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
lun_ has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby-lang
jclrb has quit [Quit: jclrb]
agrinb_ has quit [Ping timeout: 260 seconds]
agrinb_ has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
RobertBirnie has quit [Client Quit]
kalehv has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
arooni-mobile__ has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
DannyC has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
nisstyre has joined #ruby-lang
prc has quit [Ping timeout: 272 seconds]
<pipework>
drbrain: You're a seattlerb person, I hear. Do you use hoe?
<pipework>
I'm the sort of pipe that prefers less while doing more with it, so hoe seems like an extra thing that does nice helpful things, but I don't really need it.
rivaler has joined #ruby-lang
imperator has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
Paradox has joined #ruby-lang
mistym has joined #ruby-lang
agrinb_ has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
mistym has quit [Remote host closed the connection]
bokafly has joined #ruby-lang
nathanstitt has joined #ruby-lang
vlad_starkov has joined #ruby-lang
rtl has quit [Ping timeout: 265 seconds]
bnagy has quit [Ping timeout: 265 seconds]
kalehv has quit [Read error: Connection reset by peer]
bnagy has joined #ruby-lang
oddmunds has quit [Ping timeout: 265 seconds]
rtl has joined #ruby-lang
kalehv has joined #ruby-lang
mistym has joined #ruby-lang
oddmunds has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
ratmav has joined #ruby-lang
tylersmith has joined #ruby-lang
ratmav has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
jamto11 has left #ruby-lang [#ruby-lang]
nathanstitt has quit [Quit: I growing sleepy]
tylersmith has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
lun_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
danny_anderson has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
danny_anderson has quit [Client Quit]
lun_ has quit [Ping timeout: 245 seconds]
d_anderson has joined #ruby-lang
d_anderson has quit [Client Quit]
NemesisD has joined #ruby-lang
tylersmith has joined #ruby-lang
ivanskie has joined #ruby-lang
d4rkr4i has joined #ruby-lang
vlad_starkov has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
danijoo has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Quit: I growing sleepy]
vlad_starkov has quit [Ping timeout: 245 seconds]
<NemesisD>
hey guys. i'm experiencing some weird network juju with rubygems and my machine. i'm trying to install bundler and it just times out with an Errno::ETIMEDOUT, yet i can hit the same url from my browser no problem
bzalasky has quit [Remote host closed the connection]
bokafly has quit [Quit: bokafly]
ikrima has joined #ruby-lang
Linflus has left #ruby-lang [#ruby-lang]
kiddorails has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kalehv_ has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
hahuang65 has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jmeeuwen has quit [Ping timeout: 245 seconds]
ikrima has joined #ruby-lang
lysw123 has joined #ruby-lang
NemesisD has quit [Quit: WeeChat 0.4.2]
ikrima has quit [Ping timeout: 248 seconds]
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 272 seconds]
lun_ has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
joelroa has joined #ruby-lang
joelroa has quit [Client Quit]
joelroa has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
kalehv_ has quit [Remote host closed the connection]
lysw123 has quit []
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
dik_dak has quit [Quit: Leaving]
elliotec has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
Atw has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby-lang
Atw has joined #ruby-lang
skade has joined #ruby-lang
CaptainJet has quit []
yfeldblum has joined #ruby-lang
ikrima has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby-lang
elliotec has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
matp has quit [Ping timeout: 260 seconds]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 260 seconds]
matp has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
wallerdev has quit [Quit: wallerdev]
phansch has joined #ruby-lang
kalehv has joined #ruby-lang
phansch has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
wioux has quit [Ping timeout: 248 seconds]
kalehv has quit [Ping timeout: 252 seconds]
arBmind has joined #ruby-lang
solars has joined #ruby-lang
ivanskie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nisstyre has quit [Quit: WeeChat 0.4.3]
pyk has joined #ruby-lang
wioux has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
pvb has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
toretore has joined #ruby-lang
wioux has quit [Quit: Leaving.]
wioux1 has joined #ruby-lang
|jemc| has quit [Ping timeout: 260 seconds]
amclain has quit [Quit: Leaving]
tylersmith has quit [Ping timeout: 245 seconds]
cnivolle has joined #ruby-lang
wioux has joined #ruby-lang
wioux1 has quit [Read error: Connection reset by peer]
pvb has quit [Quit: leaving]
dagobah has joined #ruby-lang
kirin` has joined #ruby-lang
pvb has joined #ruby-lang
havenwood has joined #ruby-lang
pvb has quit [Quit: Lost terminal]
cnivolle has quit [Remote host closed the connection]
mistym_ is now known as mistym
skade has quit [Quit: Computer has gone to sleep.]
centrx has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
wioux has quit [Ping timeout: 246 seconds]
jsullivandigs has joined #ruby-lang
lun_ has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
wioux has joined #ruby-lang
lun_ has quit [Ping timeout: 272 seconds]
cnivolle has joined #ruby-lang
wioux has quit [Ping timeout: 246 seconds]
wioux has joined #ruby-lang
alucardX has joined #ruby-lang
alucardX has quit [Client Quit]
tbuehlmann has joined #ruby-lang
hackjoy has joined #ruby-lang
mistym has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
imperator has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
TvL2386 has joined #ruby-lang
hackjoy has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
retro|cz has quit [Ping timeout: 272 seconds]
Locke23rus has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
marr has joined #ruby-lang
<ddfreyne>
I wonder when the #ruby vs #ruby-lang battle will end.
havenwood has joined #ruby-lang
<omegahm>
ddfreyne there's a battle?
cnivolle has quit [Remote host closed the connection]
michd is now known as MichD
<ddfreyne>
A very quiet battle.
<Nilium>
News to me. I just chat in both.
tylersmith has joined #ruby-lang
wioux has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
wioux has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
Elico has quit [Ping timeout: 256 seconds]
Elico has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
cnivolle has joined #ruby-lang
benlovell has joined #ruby-lang
mph has joined #ruby-lang
arBmind has quit [Ping timeout: 260 seconds]
skade has joined #ruby-lang
pyk has left #ruby-lang [#ruby-lang]
vlad_starkov has joined #ruby-lang
kitak_ has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
<mph>
I am hoping that someone can advise to solve an "undefined method `require_library_or_gem'" error trying to use use the activerecord-odbc-adapter
<Nilium>
Sounds like rails, try the rails room
<certainty>
i always thought that #ruby-lang is about the implementations of ruby and probably the language "standard" wheras #ruby is more about general programming problems where the language happens to be ruby
yfeldblu_ has joined #ruby-lang
imperator has quit [Ping timeout: 252 seconds]
<mph>
good point. thanks.
arBmind has joined #ruby-lang
jsrn has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby-lang
mikecmpbll has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby-lang
kiddorails has quit [Quit: Leaving.]
Pupeno has joined #ruby-lang
dragonkh has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
kirin` has quit [Ping timeout: 248 seconds]
<yorickpeterse>
morning
<wnd>
I have no intention to sound like a smart ass, but I always thought that #ruby-lang was the official channel because it's the only channel mentioned on https://www.ruby-lang.org/en/community/. In fact, I didn't even try blindly joining #ruby because I wasn't sure which network was The One for Ruby.
<Nilium>
It is the official channel.
kirin` has joined #ruby-lang
<Nilium>
Just happens that there are two rooms and they're both full of people.
<mph>
worthless
mph has left #ruby-lang [#ruby-lang]
jsullivandigs has joined #ruby-lang
rahul_j has joined #ruby-lang
<Nilium>
It's funny when people think they're entitled to an answer.
hackjoy has joined #ruby-lang
<Nilium>
Funny and sad, actually, but mostly funny.
Lewix has quit [Remote host closed the connection]
<yorickpeterse>
GUYS PLEASE HELP ME WITH "RUNTIMEERROR: SOME ERROR"
Lewix has joined #ruby-lang
<wnd>
I haven't seen that lately, but I also find it amusing when people get upset for not getting an answer on IRC
<yorickpeterse>
FUCK YOU FOLKS FOR NOT HELPING ME WITHIN 2 SECONDS
<DefV>
I hate asking questions on IRC because of that
<DefV>
I always have the need to point out "I'm not an idiot, I tried these 4 approaches first"
<Nilium>
I just use IRC as a way of letting my stupidity out at full blast
jsullivandigs has quit [Ping timeout: 252 seconds]
<Nilium>
Also to ramble about things that interest only me and my hatred of web dev
<wnd>
I think one of the best things about asking on IRC is that I sometimes figure out the answer on my own only because I'm trying to properly elaborate my question and methods I've tried to approach the problem.
Lewix has quit [Ping timeout: 260 seconds]
gnufied has quit [Ping timeout: 265 seconds]
<tbuehlmann>
typical rubber ducking
<Nilium>
I've never gotten around to posting a question on Stack Overflow precisely because explaining the problem means I find the answer
<yorickpeterse>
I use IRC as my personal blog
<yorickpeterse>
this channel greatly appreciates that
<Nilium>
Though that probably just means I'm not dealing with very difficult problems
<tbuehlmann>
no, you use IRC as your anger ball thing
<yorickpeterse>
That's the same
<Nilium>
I for one find your personal blog very erotic, yorick
<yorickpeterse>
it's pretty hard
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
Lewix has joined #ruby-lang
gnufied has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
<certainty>
i use IRC because i hope to find neo here who will free me and get me out of the matrix
<certainty>
and because i can
<yorickpeterse>
For only 499 EUR I'll get you out of the matrix
<certainty>
yorickpeterse: that's a fair price. Deal!
<yorickpeterse>
pay first
<certainty>
and just to be clear /kick and +b doesn't count as getting me out of the matrix
<yorickpeterse>
don't have +o anyway
<certainty>
yorickpeterse: i'll pay you with real money once i'm out
<Silex>
does getting ripped of 499 EUR counts as being awaken from your childish dream? :)
olivererxleben has joined #ruby-lang
<Silex>
and thus out of the "matrix"
<ruskie>
lol
<certainty>
:)
<Silex>
:)
<yorickpeterse>
certainty: this is starting to sound like some ponzi scheme
<yorickpeterse>
That is, instead of specifying every possible combination specify a wildcard of some sort (similar to a Regexp's * operator)
<whitequark>
no, there is nothing in racc.
<yorickpeterse>
bah
<whitequark>
well
<whitequark>
you can simplify that, sorta
<yorickpeterse>
basically I want a way where I can say
<yorickpeterse>
whitespace* comma whitespace*
<yorickpeterse>
or something like that
<whitequark>
a: T_DOUBLE_ARROW const | T_DOUBLE_ARROW whitespaces const; b: a | whitespaces a
<whitequark>
the + and * operators exist in Menhir, the parser generator I used in Foundry
<yorickpeterse>
does Menhir have Ruby bindings of some sort?
<yorickpeterse>
I don't really mind using something else, Racc is just the most commonly used
jsullivandigs has joined #ruby-lang
<whitequark>
Menhir generates strictly OCaml code
<yorickpeterse>
hm
<yorickpeterse>
alternatively I'd have to use kpeg but meh
<whitequark>
screw kpeg
<whitequark>
grhm
<whitequark>
if Racc wasn't so horribly written I'd extend it maybe
<yorickpeterse>
I was thinking of binding Lemon to Ruby at some point
<whitequark>
+ and * are relatively trivial
jsullivandigs has quit [Read error: Connection reset by peer]
<whitequark>
no, that won't really fly
<yorickpeterse>
how so? Shouldn't be too hard to do
<yorickpeterse>
Lemon is pretty basic code wise
<whitequark>
for some reason parser's ruby.y is written in ruby and not c
<whitequark>
you have to transfer stuff between rubyland and cland, and it sucks
jsullivandigs has joined #ruby-lang
<whitequark>
not to mention it doesn't work very well on jruby
<yorickpeterse>
I don't care too much for jruby in this case
<yorickpeterse>
it's a compiler, I don't see people using that on jruby any time soon
<whitequark>
headius will be sad :(
<yorickpeterse>
plus it uses ruby-llvm so I doubt that would work in the first place
elliotec has quit [Ping timeout: 260 seconds]
<yorickpeterse>
err wait, that uses FFI
<whitequark>
ruby-llvm works on jruby
<yorickpeterse>
I'm not a huge fan of Racc but it seems to be the least suck
<whitequark>
what do you think I was going to run rubyfoundry on, mri? :)
<whitequark>
exactly
<whitequark>
racc is a local optimum, which is not very high on... pretty much any scale, except maybe performance
yfeldblu_ has quit [Remote host closed the connection]
<yorickpeterse>
last time I looked into parslet, which was like 2 years ago, I remember it being a pita to use
<whitequark>
I can't stand peg parsers
<whitequark>
to begin, all ruby peg parsers I've seen have such absurd memory usage it is not even funny
<whitequark>
allocating an object for every character, then for every pair of characters, then ...
m__s has joined #ruby-lang
<whitequark>
and they're slow. treetop parsed a 8K file with a rather trivial grammar for about 100ms
<whitequark>
(that last part *might* have been my hands, but I think it is unlikely)
jsullivandigs has quit [Read error: Operation timed out]
<m__s>
hi, can someone help me... I want to create array that contains fields like for example array[1].name array[1].surname I have no idea how to define it :/
<m__s>
when im using array = Array.new i cant use it with array[x].name :/
<yorickpeterse>
what?
<yorickpeterse>
You have to add values to the array that respond to `name`
<m__s>
something like address book
tkuchiki has quit [Remote host closed the connection]
<yorickpeterse>
>> person = Struct.new(:name); people = [person.new('John'), person.new('Alice')]
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
elliotec has quit [Ping timeout: 260 seconds]
Silex has quit [Quit: WeeChat 0.3.8]
Silex has joined #ruby-lang
m__s has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
havenwood has joined #ruby-lang
jsilver has quit [Read error: Connection reset by peer]
jsilver has joined #ruby-lang
cnivolle_ has joined #ruby-lang
goatish_mound has joined #ruby-lang
rsl has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cnivolle has quit [Ping timeout: 246 seconds]
wallerdev has quit [Client Quit]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
fedexo has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby-lang
momomomomo has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
bffff has joined #ruby-lang
rahul_j has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
VTLob has joined #ruby-lang
<headius>
yorickpeterse: why wouldn't someone want to use a compiler on JRuby?
wallerdev has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
sam_ has joined #ruby-lang
<sam_>
hi
ledestin has quit [Ping timeout: 260 seconds]
mehlah has joined #ruby-lang
<sam_>
if you run x=y in ruby, is that like a copy or like a reference ? I get mixed up, because somethings seem to be sticky, and so things are like a one-time copy
<sam_>
after running x=y , those two variables continue to be independent and separate, right?
<ljarvis>
sam_: it's pretty easy to answer that in code
enebo has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
tap has joined #ruby-lang
<sam_>
irb(main):001:0> a = []; b = a; b = ["1"]; a => []
jim80net has joined #ruby-lang
tylersmith has joined #ruby-lang
<ljarvis>
sam_: you just reassigned b, not modified it
<sam_>
ok
<sam_>
what about this
<sam_>
a = 1; b = a; b+=1; a
<sam_>
=> 1
mnngfltg has joined #ruby-lang
<sam_>
in that case, it's incrementing b, not re-assigning it? no?
<ljarvis>
no
<canton7>
a = 1; b = a; b = b + 1; a; <= you've created an object 1, assigned it to both a and b, then created a new one that's 1 + 1 and assigned it to b
seanlinsley has quit [Quit: …]
<sam_>
I believe this behavior differs, between PHP, Perl, and bash.
<sam_>
it's slightly confusing.
<sam_>
thank you for your reply
canton7-mac has joined #ruby-lang
jsullivandigs has joined #ruby-lang
d2biG is now known as dRbiG
nathanstitt has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
toretore has quit [Quit: Leaving]
toretore has joined #ruby-lang
lupine has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 272 seconds]
lupine has joined #ruby-lang
MindfulMonk has quit [Ping timeout: 260 seconds]
imperator has joined #ruby-lang
deception has joined #ruby-lang
jmeeuwen has joined #ruby-lang
rippa has joined #ruby-lang
dorei has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
elliotec has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym has joined #ruby-lang
elliotec has quit [Ping timeout: 252 seconds]
mistym has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 248 seconds]
bzalasky has joined #ruby-lang
joonty has joined #ruby-lang
<imperator>
good morning
wallerdev has quit [Quit: wallerdev]
retro|cz has joined #ruby-lang
<cout>
imperator: what's honkin', honkie?
rue|w_ has quit [Read error: Operation timed out]
prc has quit [Ping timeout: 246 seconds]
Locke23rus has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
RobertBirnie has joined #ruby-lang
seanlinsley has quit [Quit: seanlinsley]
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
seanlinsley has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
brownies has quit [Ping timeout: 252 seconds]
elliotec has joined #ruby-lang
<pipework>
threeifbywhiskey: My alcohol consumption.
ansos has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
<threeifbywhiskey>
And was that a hash of days to volume?
ansos has quit [Client Quit]
havenwood has quit [Ping timeout: 246 seconds]
ansos has joined #ruby-lang
<threeifbywhiskey>
I suppose I should have clarified I was talking about the #reduce method. :P
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__butch__ has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
brownies has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
mistym has joined #ruby-lang
hahuang65 has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
rkmetzl has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
heftig has quit [Quit: Quitting]
yfeldblum has joined #ruby-lang
dik_dak has joined #ruby-lang
wioux has left #ruby-lang [#ruby-lang]
elliotec has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
rue_XIW has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
mehlah has joined #ruby-lang
Pupeno has joined #ruby-lang
wallerdev has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
vlad_starkov has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby-lang
sepp2k has joined #ruby-lang
francisfish has joined #ruby-lang
Pupeno has quit [Ping timeout: 248 seconds]
elliotec has joined #ruby-lang
havenwood has joined #ruby-lang
iliketurtles has joined #ruby-lang
havenwood has quit [Client Quit]
elliotec has quit [Remote host closed the connection]
brownies has quit [Ping timeout: 260 seconds]
elliotec has joined #ruby-lang
mikecmpbll has joined #ruby-lang
itsraining has quit [Ping timeout: 272 seconds]
matp has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
retro|cz has quit [Ping timeout: 246 seconds]
brownies has joined #ruby-lang
enebo has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joast has quit [Ping timeout: 272 seconds]
brianblanton has joined #ruby-lang
kiddorails has quit [Quit: Leaving.]
Cakey has quit [Ping timeout: 245 seconds]
Atw has joined #ruby-lang
elliotec has joined #ruby-lang
MichD is now known as michd
elliotec has quit [Remote host closed the connection]
brownies has quit [Ping timeout: 272 seconds]
joast has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
arBmind has quit [Ping timeout: 272 seconds]
elliotec has quit [Remote host closed the connection]
toasty has joined #ruby-lang
toasty is now known as toastynerd
brownies has joined #ruby-lang
tris has joined #ruby-lang
MouseTheLuckyDog has joined #ruby-lang
elliotec has joined #ruby-lang
<MouseTheLuckyDog>
I'm looking at some code and I see these things called breadcrumbs, is this a term for somekind of programming concept?
bin7me has quit [Quit: Leaving]
<threeifbywhiskey>
A breadcrumb is like "Home -> Inventory -> Important Items".
<threeifbywhiskey>
A little menu that lets you trace your steps backward in an interface.
<certainty>
can also be anchors during a traversal
<threeifbywhiskey>
Which is probably a more accurate answer to Mouse's question.
brownies has quit [Ping timeout: 272 seconds]
<headius>
yorickpeterse: ah
<pipework>
MouseTheLuckyDog: They're UX items.
<pipework>
Not really programming concepts.
Meths has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
jim80net has quit [Ping timeout: 260 seconds]
benoit_ has quit [Ping timeout: 264 seconds]
brownies has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
benoit_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<MouseTheLuckyDog>
I think I see is there a special way that breadcrumbs might be treated for example in MVC? What I'm seeing is that there are plugins and each plugin has a page and breadcrumbs.
vlad_starkov has quit [Read error: Connection reset by peer]
<pipework>
The same way anything is treated special in MVC.
benanne has quit [Quit: kbai]
<yorickpeterse>
headius: btw, did you ever get around testing that String#scrub thing we did for Rbx?
centrx has joined #ruby-lang
<headius>
yeah, we need to port the transcoding backend for it to work on JRuby in general
<headius>
the current transcoder we use is a two-stage via UTF-16, and it can't respond to certain types of encoding errors
saarinen has quit [Quit: saarinen]
<headius>
probably will happen for JRuby 9k, and probably will be me doing it
<yorickpeterse>
hmm
<yorickpeterse>
I'll have to harass some people to get feedback on the Rbx PR, otherwise I'll just merge it
<yorickpeterse>
Might be slow but it's better than not having it at all
elliotec has joined #ruby-lang
<headius>
yeah, you should just do it
<headius>
It should be mostly correct, which is better than having nothing
skade has joined #ruby-lang
bjh13 has quit [Quit: leaving]
vpretzel has quit [Quit: Adios!]
skade has quit [Read error: Connection reset by peer]
rue_XIW has joined #ruby-lang
brettweavnet has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
Squarepy has quit [Ping timeout: 245 seconds]
rue_XIW has quit [Ping timeout: 248 seconds]
elliotec has joined #ruby-lang
saarinen has joined #ruby-lang
<Meths>
When building different ruby versions for simultaneous installation, how is libruby-static.a supposed to be dealt with as by default it doesn't appear to be installed in a versioned directory?
imperator has quit [Quit: Leaving]
Coincidental has joined #ruby-lang
brianblanton has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
<darix>
Meths: you can pass a param to make it versioned
<darix>
Meths: we usually pass something like 19 20 21 as %{rb_binary_suffix}
wallerdev has quit [Quit: wallerdev]
<Meths>
The with-soname is described as the base name for the lib so threw me a bit. Did make me wonder why I wasn't using --enable-shared though.
<Meths>
That makes perfect sense with your example though.
wallerdev has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
<darix>
Meths: it even makes sense with shared lib
<darix>
later
benlovell has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
itsraining has joined #ruby-lang
brettweavnet has quit [Quit: Bye]
lun__ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
lun_ has quit [Ping timeout: 252 seconds]
elliotec has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
shinnya has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
dingus_khan has joined #ruby-lang
skade has joined #ruby-lang
itsraining has quit [Ping timeout: 260 seconds]
rivaler has quit [Quit: rivaler]
dingus_khan has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
<MouseTheLuckyDog>
'j #python
<MouseTheLuckyDog>
Sprry
<MouseTheLuckyDog>
Sorry
dingus_khan has joined #ruby-lang
retro|cz has joined #ruby-lang
<centrx>
Get outta here you dirty Python snake!
meise has quit [Ping timeout: 245 seconds]
<whitequark>
centrx: hey, that's not nice
<centrx>
Sorry, just kidding
riffraff has quit [Quit: Leaving]
<pipework>
MouseTheLuckyDog: No, we're sorry that you're using python! :p
<pipework>
whitequark: centrx isn't a nice person. :(
<whitequark>
yeah the whole "we hate python" thing is not friendly to new people.
<centrx>
I don't hate Python
<MouseTheLuckyDog>
pipework, ssh don't tell them in #python, but I hate it. I just got an old python project to deal with so I have to deal with it.
<pipework>
MouseTheLuckyDog: <333 three whole scoops for you.
<pipework>
or six.
<MouseTheLuckyDog>
I need them.
crankhar1er is now known as crankharder
<pipework>
MouseTheLuckyDog: They're made with alcohol, I know you'll appreciate it.
Gu_______ has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
skade has joined #ruby-lang
Gu_______ has quit [Client Quit]
tough_griff has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
mistym_ is now known as mistym
<threeifbywhiskey>
But seriously, single-expression lambdas?
dingus_khan has quit [Remote host closed the connection]
<pipework>
threeifbywhiskey: Weak lambdas are why python seems like a children's language to me.
<threeifbywhiskey>
^
tough_griff has quit [Client Quit]
<threeifbywhiskey>
Python is "prettier" JavaScript, Ruby is "uglier" Lisp.
<threeifbywhiskey>
At least, this is how the languages feel to me after a while of using both.
<whitequark>
Ruby is not Lisp by any measure
<whitequark>
I mean, there are no macros.
elliotec has joined #ruby-lang
<threeifbywhiskey>
Metaprogramming gets us a large part of the way there.
<whitequark>
I get what you're saying, but (having said similar things once) I think it's confusing and not very useful.
<threeifbywhiskey>
Macros allow you to use code to write code; is that not what we do with #define_method and the like?
<whitequark>
macros are fundamentally syntactical
<threeifbywhiskey>
Yes, fair enough.
<whitequark>
besides, you can use macros to *read* code. you can't do that in Ruby.
iliketurtles has quit [Quit: zzzzz…..]
<whitequark>
moreover... python and ruby are incredibly close in syntax, object model and target domain
<threeifbywhiskey>
On the surface, sure, that's the case.
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
<threeifbywhiskey>
But when you actually use the languages for a suitable amount of time, they at least "feel" very different.
<threeifbywhiskey>
I want to say len(dir([])) versus [].methods.size has something to do with that.
<centrx>
Yeah, Python is backwards in many things
hellome has joined #ruby-lang
<centrx>
map(fn, array), you have to define the function and then pass it in this "built-in function" map
<whitequark>
threeifbywhiskey: I would argue that differences are significant from end-user perspective but irrelevant in the language design
<threeifbywhiskey>
No, not necessarily.
<centrx>
List comprehension [x for y in z if x], backwards
<pipework>
Ruby is smalltalk more than it being a lisp.
<whitequark>
sure, Python has some bits shuffled in a different way. that's about it.
vlad_starkov has quit [Ping timeout: 252 seconds]
<pipework>
Macros are read-time things, ruby doesn't have read-time macros.
<threeifbywhiskey>
pipework: You're right, but the focus on closures everywhere really does make Ruby feel pretty Lispy for me.
<centrx>
my_class.my_new_attr = 1 suddenly creates a public instance attribute without warning
<pipework>
Doesn't lisp not have lexical scoping though? Or does it?
<pipework>
The symbol does, I guess.
<threeifbywhiskey>
That's implementation-dependent, I would think.
<threeifbywhiskey>
Aren't let bindings essentially lexical scoping?
<whitequark>
yeah, let bindings are
<whitequark>
all modern lisps (CL, scheme, etc) have lexical scoping
<threeifbywhiskey>
Clojure.
* whitequark
nods
<whitequark>
iirc, CL initially had only dynamic scoping because it was invented before stack frames, and it was believed that lexical scoping can't be fast
skade has quit [Read error: Connection reset by peer]