<seydar>
the ssl info apparently wasn't being read properly by thin based on the config.yml, so i had to supply the cmd line args
<seydar>
and now it's giving a different signer for the cert than before, but it's still not saying the correct one of "moxie marlinspike's fan club"
bantic has quit [Quit: bantic]
<seydar>
hm, maybe this is an ec2 problem
<seydar>
is that realistic?
justinram has quit [Remote host closed the connection]
<seydar>
nah
brianpWins has quit [Quit: brianpWins]
mistym is now known as mistym_roti
<seydar>
postmodern: self signed certificate would ask my browser for confirmation still, right
<seydar>
?
<drbrain>
unless you have trusted the certificate, yes
<postmodern>
seydar, correct
<seydar>
man, security is hard
Mon_Ouie has quit [Ping timeout: 260 seconds]
<seydar>
ok, so the ssl cert that i'm passing is doing *something*, it's just not doing the right something
<seydar>
man i just wanna be a lumberjack
taylor_e has joined #ruby-lang
gearaholic has quit [Ping timeout: 248 seconds]
S1kx has joined #ruby-lang
ryanv-raptor has quit [Quit: Leaving.]
mercwithamouth has quit [Ping timeout: 248 seconds]
KA_ has quit [Quit: KA_]
jonahR_ has joined #ruby-lang
marr has quit [Ping timeout: 276 seconds]
jonahR has quit [Ping timeout: 240 seconds]
jonahR_ is now known as jonahR
[[johnonymous]] has joined #ruby-lang
<seydar>
YOU GUIZE I GOT IT WORKING
<seydar>
quite anticlimactic: my config.yml file was serving the wrong app (it was serving ../bank instead of ./)
krohrbaugh has quit [Quit: Leaving.]
mercwithamouth has joined #ruby-lang
<seydar>
so if you alter your hosts file to redirect paypal.com to my ec2 IP address, you'll be tricked into using my gringotts bank
havenwood has quit [Ping timeout: 240 seconds]
__butch__ has quit [Quit: Leaving.]
MartynKeigher has joined #ruby-lang
srbaker has joined #ruby-lang
<badeball>
seydar: what's the ip?
mercwithamouth has quit [Ping timeout: 256 seconds]
<seydar>
badeball: well we're still kinda working on it, but feel free to take it for a spin: https://54.235.64.11/
<seydar>
you're going to need an older version of firefox though
<drbrain>
"This certificate has expired"
<seydar>
try 3.0.1.0
<seydar>
drbrain: yeah, ya gotsta take your box back in time
nertzy has quit [Quit: Leaving]
<seydar>
so basically this is a lot of work for any spectators in irc right now
gregmoreno has quit [Ping timeout: 252 seconds]
<seydar>
drbrain: the point of the exploit is to defeat the "hostname mismatch" error
mistym_roti is now known as mistym
nertzy has joined #ruby-lang
retro|cz has quit [Ping timeout: 272 seconds]
retro|cz has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
mjio has quit []
<seydar>
drbrain: what are you up to these days? where ya working?
gix has quit [Ping timeout: 252 seconds]
chendo_ has quit [Ping timeout: 252 seconds]
[[johnonymous]] has quit [Ping timeout: 252 seconds]
<drbrain>
Ruby 2.0.0 with RubyGems 2.0.0 and RDoc 4.0.0 was just released
<drbrain>
I put a bunch of work in on that
<drbrain>
I've been working at AT&T, we're building a cloud
chendo_ has joined #ruby-lang
<seydar>
wow, didn't realize you were so involved with ruby 2.0, congrats on the new release
gix has joined #ruby-lang
<drbrain>
thanks
<drbrain>
what have you been doing?
apeiros_ has joined #ruby-lang
<seydar>
skewl, getting ready for the navy, and my shell chitin
<drbrain>
navy huh?
<seydar>
i did a GC simulator last semester in ruby, which was fun, and i'd like to expand it some more this summer
retro|cz has quit [Ping timeout: 260 seconds]
<drbrain>
cool
<seydar>
yeah. i do Navy ROTC, and i'm getting ready to decide what i do in it after graduation
reppard has joined #ruby-lang
<drbrain>
sounds neat
retro|cz has joined #ruby-lang
apeiros_ has quit [Ping timeout: 248 seconds]
brianpWins has joined #ruby-lang
shirokuro11 has joined #ruby-lang
Domon has joined #ruby-lang
mercwithamouth has joined #ruby-lang
weddingcakes has joined #ruby-lang
<seydar>
drbrain: were you alive in 2009? do you remember the md5/ssl shenanigans that went down back then when dinosaurs roamed the earth?
<drbrain>
vaguely
<drbrain>
but damn, riding a triceratops to school, that was sweet
<seydar>
shit i don't think i have a legitimate question. the cert we're using was signed with md5 and the old firefox we're using isn't trusting it, presumably because of that debacle
mrsolo_ has quit [Quit: Leaving]
<seydar>
2009 i somehow went to prom with julia coulter and left early for the SATs the next day. spoiler alert: i did not do well
<drbrain>
most likely
amerine has quit [Quit: Computer has gone to sleep.]
stonerfish has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
<zzak>
thats just like instance_variable_set/get tho, right?
KA_ has quit [Quit: KA_]
KA_ has joined #ruby-lang
lsegal has joined #ruby-lang
<firefux>
zzak: don't you have to create the thread variable first with []= ?
dhruvasagar has joined #ruby-lang
<firefux>
like Thread.current[:answer_to_life] = answer;
Bosox20051 has joined #ruby-lang
<zzak>
yes, thats my understanding
amerine has joined #ruby-lang
tomzx_mac has quit [Quit: return 0;]
tomzx_mac has joined #ruby-lang
KA_ has quit [Quit: KA_]
Nisstyre has quit [Ping timeout: 276 seconds]
pr0ton has quit [Quit: pr0ton]
Nisstyre has joined #ruby-lang
Rizzle has joined #ruby-lang
bzalasky has joined #ruby-lang
retro|cz has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
justinseiter has joined #ruby-lang
wmoxam has quit [Quit: leaving]
hdm has quit [Quit: Leaving.]
robbyoconnor has joined #ruby-lang
io_syl has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
geopet has joined #ruby-lang
dhruvasagar has joined #ruby-lang
torrieri has joined #ruby-lang
Domon has quit [Remote host closed the connection]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
geopet has quit [Quit: geopet]
torrieri_ has joined #ruby-lang
torrieri has quit [Ping timeout: 244 seconds]
hagabaka has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
KA_ has joined #ruby-lang
scottschecter has quit [Quit: WeeChat 0.4.0]
swav has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
bzalasky_ has joined #ruby-lang
havenwood has joined #ruby-lang
retro|cz has quit [Ping timeout: 248 seconds]
Axsuul has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
retro|cz has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
retro|cz has quit [Ping timeout: 246 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 272 seconds]
kgrz has joined #ruby-lang
JohnBat26 has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
hagabaka has joined #ruby-lang
gregmoreno has joined #ruby-lang
mistym has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
slyphon has quit [Quit: slyphon]
krz has joined #ruby-lang
slyphon has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
wardrop has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
wardrop has joined #ruby-lang
mercwithamouth has joined #ruby-lang
S2kx has joined #ruby-lang
S1kx has quit [Ping timeout: 244 seconds]
imajes has quit [Excess Flood]
rippa has joined #ruby-lang
imajes has joined #ruby-lang
ryanf has quit [Quit: leaving]
skade has joined #ruby-lang
MSU has quit [Ping timeout: 264 seconds]
macmartine has joined #ruby-lang
retro|cz has quit [Ping timeout: 252 seconds]
nachtwandler has joined #ruby-lang
retro|cz has joined #ruby-lang
tonni has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
mjio has quit []
Qwak has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<postmodern>
anyone have a link to ruby-core's version policy?
<postmodern>
on how they are not following semver or linux kernel style versioning?
retro|cz has quit [Ping timeout: 252 seconds]
<postmodern>
trying to convince fedora that it's ok to upgrade to ruby 2.0.0
<postmodern>
that it's not a major version bump, as one would think it
<postmodern>
more of an evolutionary step from 1.9
retro|cz has joined #ruby-lang
Qwak has quit [Ping timeout: 248 seconds]
KA_ has quit [Quit: KA_]
tomzx_mac has quit [Ping timeout: 248 seconds]
<yxhuvud>
postmodern: I think they always intended to follow semver, but that 2.0 took too long and people started to use 1.9 in the interim since 1.8 is so horrible
tonni has joined #ruby-lang
<yxhuvud>
or maybe they just ended up falling in the trap where they decided on a set of features that had to be in 2.0 and ended up postponing it
macmartine has quit [Quit: Computer has gone to sleep.]
<postmodern>
yxhuvud, pretty sure they switched to an incremental style
<yxhuvud>
possible. I have seen no version policy that I remember
apeiros_ has joined #ruby-lang
nachtwandler has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 244 seconds]
heftig has quit [Ping timeout: 245 seconds]
klebervi_ has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
ryanf has joined #ruby-lang
wardrop has quit [Quit: wardrop]
rippa has quit [Read error: Connection reset by peer]
spinagon has joined #ruby-lang
setmeaway has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
techlife has quit [Ping timeout: 255 seconds]
techlife has joined #ruby-lang
justinseiter has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
<RobertBirnie>
hi
<RobertBirnie>
i'm having issues adding a hash to an array and was wondering if someone could give me a pointer.
<RobertBirnie>
i'm making a loan amortization table, and want an array of hash's, one for each month
heftig has joined #ruby-lang
<RobertBirnie>
but at the end i have a ton of hashes that are the exact same as the last month. i'm not sure how to add the hash to the array but break the link to the original hash
amerine has joined #ruby-lang
spinagon has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
datanoise has quit [Ping timeout: 246 seconds]
<ryanf>
RobertBirnie: can you put your actual code on gist.github.com ?
<ryanf>
you just need to be careful about making sure you're creating a new hash every time
<ryanf>
but it's hard to be more specific without seeing the context
mercwithamouth has quit [Ping timeout: 272 seconds]
<RobertBirnie>
i got it :)
<RobertBirnie>
sorry for asking both places
<RobertBirnie>
array << hash.dup
<RobertBirnie>
on RubyOnRails everyone seemed quite intent on another topic and i didn't want to steal the show
<RobertBirnie>
so i asked on here first
mercwithamouth has joined #ruby-lang
dr_bob has joined #ruby-lang
<UziMonkey>
RobertBirnie: right, when you push the hash to the array, you're just pushing a reference to the hash. But be careful with dup,
<UziMonkey>
but be careful with dup, if you make a hash like a = {:b=>{:c=>1}}, then b = a.dup
<UziMonkey>
a[:b][:c] will also modify b[:b][:c]
joschi has quit [Read error: Operation timed out]
<RobertBirnie>
ah, i see. yeah that'd make a mess
joschi has joined #ruby-lang
<UziMonkey>
so duping complex data structures is not good
<RobertBirnie>
yeah
vlad_starkov has joined #ruby-lang
Xzyx987X has joined #ruby-lang
kuja has quit [*.net *.split]
Bwild has quit [*.net *.split]
Xzyx987X_ has quit [*.net *.split]
ioga_wrk has quit [*.net *.split]
reactormonk has quit [*.net *.split]
joren has quit [*.net *.split]
matled has quit [*.net *.split]
djinni` has quit [*.net *.split]
ruskie has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
amateurhuman has quit [*.net *.split]
djinni` has joined #ruby-lang
matled has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
Qwak has joined #ruby-lang
<UziMonkey>
I seem to remember running into this before
<UziMonkey>
and my solution was to just serialize it with marshal or yaml and then read it back
<UziMonkey>
fantastically inefficient, but that's the Ruby way. At least it didn't take long to implement :P
nXqd has joined #ruby-lang
reactormonk has joined #ruby-lang
dzhulk has joined #ruby-lang
<badeball>
UziMonkey: was that faster than recursively doing #dup?
<UziMonkey>
I can't remember, but it depends on what's doing the serializing and how big your data structure is
<UziMonkey>
a yaml library written in C can probably crawl that structure real fast
<UziMonkey>
so it might be faster, actually...
tonni has quit [Remote host closed the connection]
kuja has joined #ruby-lang
yxhuvud has joined #ruby-lang
amateurhuman has joined #ruby-lang
Bwild has joined #ruby-lang
ruskie has joined #ruby-lang
ioga_wrk has joined #ruby-lang
joren has joined #ruby-lang
datanoise has joined #ruby-lang
MSU has joined #ruby-lang
imajes has quit [Excess Flood]
<UziMonkey>
why did I never think of this before? I configured my editor to use CMU Typewriter Text and now all my code looks like it's been formatted with TeX
imajes has joined #ruby-lang
RickHull has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
dc5ala has joined #ruby-lang
gnufied has joined #ruby-lang
tonni has joined #ruby-lang
mytrile has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
gix has quit [Quit: Client exiting]
gix has joined #ruby-lang
Sinestro has quit [Quit: Computer has gone to sleep.]
Rotonen has joined #ruby-lang
woollyams has joined #ruby-lang
skade has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 276 seconds]
faces has joined #ruby-lang
dankest has joined #ruby-lang
maxmanders has joined #ruby-lang
Bosox20051 has quit [Ping timeout: 248 seconds]
face has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby-lang
marr has joined #ruby-lang
beho has quit [Remote host closed the connection]
gix has quit [Quit: Client exiting]
RobertBirnie has quit [Quit: RobertBirnie]
gix has joined #ruby-lang
klebervirgilio has joined #ruby-lang
Qwak has quit []
iande has left #ruby-lang [#ruby-lang]
dankest has quit [Quit: Leaving...]
klebervirgilio has quit [Ping timeout: 246 seconds]
<MrWGW->
is there a built in Ruby facility analogous to at?
<MrWGW->
I need to schedule a job to occur once, 24 hours in the future
<MrWGW->
but the UNIX at(1) command looks painful to script with especially in Ruby
<mlangenberg>
Hey all, I am building a small library where I depend on another library (Faraday). Now I would like to wrap Exceptions raised by Faraday on things like timeout / HTTP 500, in my own exception. Of course while still keeping the original stack trace and exception name.
kgrz has joined #ruby-lang
<mlangenberg>
e.g MyError: "Error feting JSON", Faraday::Error::ClientError: "the server responded with status 500"
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
bin7me has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
imajes has quit [Excess Flood]
jxie has joined #ruby-lang
imajes has joined #ruby-lang
Axsuul has quit [Ping timeout: 240 seconds]
swav has quit [Ping timeout: 264 seconds]
shirokuro11 has joined #ruby-lang
shirokuro11 has quit [Ping timeout: 272 seconds]
swav has joined #ruby-lang
seoaqua has joined #ruby-lang
marr has joined #ruby-lang
chendo__ has joined #ruby-lang
chendo__ has quit [Client Quit]
<darix>
so?
io_syl has quit [Quit: Computer has gone to sleep.]
sush24 has joined #ruby-lang
shirokuro11 has joined #ruby-lang
rippa has joined #ruby-lang
Averna has quit [Quit: Leaving.]
JosephRuby has joined #ruby-lang
joseph_ has joined #ruby-lang
joseph_ has quit [Client Quit]
judofyr has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
cultureulterior_ has joined #ruby-lang
judofyr has joined #ruby-lang
vlad_starkov has joined #ruby-lang
shirokuro11 has quit [Remote host closed the connection]
shirokuro11 has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
imperator has quit [Ping timeout: 252 seconds]
mytrile has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
Gekz has quit [Ping timeout: 245 seconds]
imperator has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
<yorickpeterse>
huh, interesting
<yorickpeterse>
name = foobar(name) # second name evaluates to nil
<yorickpeterse>
Makes some sense since `name =` is detected first, still an error would've been nice
Mon_Ouie has quit [Read error: Operation timed out]
xcombelle has joined #ruby-lang
mytrile has joined #ruby-lang
<apeiros_>
I hope you mean a warning?
<apeiros_>
the `name` in foobar(name) is supposed to be a method-call?
<yorickpeterse>
Well assuming there's no method either it should be an error
<yorickpeterse>
But MRI doesn't do that at all atm :)
dzhulk has joined #ruby-lang
* yorickpeterse
laughs like a crazy professor knowing his code does
sebastiansier has joined #ruby-lang
noop has quit [Remote host closed the connection]
<apeiros_>
no, the moment a local variable is known, it exist with the value nil
<yorickpeterse>
Correct, but this is one of those cases where I'd personally say "wat"
<apeiros_>
it even has practical value: foo = proc { |x| x+foo[1] }
<apeiros_>
yorickpeterse: if you name an lvar the same as method, you already got your "wat" :-p
<yorickpeterse>
Oh in my case I was just stupid and used the variable too early
* apeiros_
goes back to figuring out how to transform a table of the form ('child_id', 'parent_id', 'metadata', 'changed_at') to ('child_id', 'previous_parent_id', 'parent_id', 'changed_at'), also eliminating all rows which are just metadata-changes…
<apeiros_>
my first approach was nice, but fails when a child node moves forth and back again
<yorickpeterse>
eh?
<yorickpeterse>
are you building a tree or something?
kith has quit [Read error: Connection reset by peer]
<apeiros_>
it's hierarchical data, but I'm not building a tree. I'm building a list of node-movements
* apeiros_
learned about `rank over partition order by` and `lag` thanks to this
schaerli has quit [Remote host closed the connection]
chendo__ has joined #ruby-lang
imajes has quit [Excess Flood]
tonni has joined #ruby-lang
imajes has joined #ruby-lang
coffeebean has joined #ruby-lang
coffeebean has left #ruby-lang [#ruby-lang]
coffeebean has joined #ruby-lang
coffeebean has left #ruby-lang [#ruby-lang]
coffeebean has joined #ruby-lang
coffeebean has left #ruby-lang [#ruby-lang]
chendo__ has quit [Ping timeout: 248 seconds]
tonni has quit [Ping timeout: 255 seconds]
rue|w has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
kgrz has quit [Quit: Computer has gone to sleep.]
gustavnils has joined #ruby-lang
carloslopes has quit [Read error: Connection reset by peer]
sush24 has joined #ruby-lang
carloslopes has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
sush24 has quit [Quit: This computer has gone to sleep]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
dzhulk has quit [Quit: Leaving.]
beho has quit [Remote host closed the connection]
Atte_Ruby has joined #ruby-lang
jacktrick has joined #ruby-lang
skade has joined #ruby-lang
slyphon has quit [Quit: slyphon]
mistym has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
sailias has joined #ruby-lang
sockmonk has joined #ruby-lang
sailias has quit [Ping timeout: 257 seconds]
dustint has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
chendo__ has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
kurko_ has joined #ruby-lang
tomzx_mac has joined #ruby-lang
riffraff has quit [Ping timeout: 276 seconds]
riffraff has joined #ruby-lang
glebm has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 264 seconds]
slyphon has joined #ruby-lang
sush24 has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
shirokuro11 has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
chendo__ has quit [Ping timeout: 244 seconds]
matled has quit [Remote host closed the connection]
glebm has joined #ruby-lang
sailias has joined #ruby-lang
jxie has joined #ruby-lang
breakingthings has joined #ruby-lang
beiter has joined #ruby-lang
postmodern has quit [Quit: Leaving]
retro|cz has joined #ruby-lang
jonahR has joined #ruby-lang
KU0N has joined #ruby-lang
kgrz has joined #ruby-lang
crazyhorse has joined #ruby-lang
<crazyhorse>
how does one downgrade rubygems?
<breakingthings>
what.
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
scampbell has joined #ruby-lang
slyphon has quit [Ping timeout: 276 seconds]
kogent has quit [Quit: kogent]
vlad_starkov has joined #ruby-lang
tonni has joined #ruby-lang
chendo__ has joined #ruby-lang
<crazyhorse>
breakingthings: worked it out
Hauleth has joined #ruby-lang
chendo__ has quit [Ping timeout: 252 seconds]
<andrewvos>
I have a rake file. This file uses `vagrant ssh -c <command>` to execute another rakefile inside the machine. This rakefile uses `nohup command &`. For some reason the first rakefile never completes. HALP
Atte_Ruby has quit [Ping timeout: 244 seconds]
<andrewvos>
I have a rake file. This file uses `vagrant ssh -c <command>` to execute another rakefile inside the machine. This other rakefile uses `nohup command &`. For some reason the first rakefile never completes. HALP
<andrewvos>
(edited)
iamjarvo has quit [Quit: Leaving.]
Atte_Ruby has joined #ruby-lang
<Hauleth>
andrewvos: Can you give us a some code?
<yorickpeterse>
andrewvos: that's probably because the Rakefile gets confused due to nohup
<judofyr>
andrewvos: is the vagrant-process still running?
joast has quit [Quit: Leaving.]
tomzx_mac has quit [Ping timeout: 252 seconds]
[[johnonymous]] has joined #ruby-lang
<andrewvos>
judofyr: Yeah it is
sebastiansier has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
agile has quit [Remote host closed the connection]
crazyhorse has quit [Ping timeout: 248 seconds]
RobertBirnie has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
shirokuro11 has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
<andrewvos>
yorickpeterse: Why would it get confused? Any workaround ideas?
<yorickpeterse>
I have no idea why it would, but it's a possibility
<yorickpeterse>
And sadly no, I don't know of any workarounds
enebo has joined #ruby-lang
<andrewvos>
yorickpeterse: Well if you don't know why it would be a problem, don't feel bad that you don't have a workaround :)
rue has quit [Remote host closed the connection]
methods has joined #ruby-lang
Atte123 has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
davidbalber|away is now known as davidbalbert
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
breakingthings has quit []
breakingthings has joined #ruby-lang
rue has joined #ruby-lang
Atte_Ruby has quit [Ping timeout: 252 seconds]
Atte123 has quit [Client Quit]
beiter has quit [Quit: beiter]
carloslopes has quit [Remote host closed the connection]
rippa has joined #ruby-lang
dhruvasagar has joined #ruby-lang
* Eising
has a strong desire to rewrite everything here one day before deadline
seoaqua has joined #ruby-lang
bantic has joined #ruby-lang
<andrewvos>
All code becomes legacy eventually, even your code.
<breakingthings>
It's not legacy if it's tested.
<Rotonen>
COBOL and APL are alive and well
shirokuro11 has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Read error: Connection reset by peer]
chendo__ has joined #ruby-lang
outoftime has joined #ruby-lang
glebm has joined #ruby-lang
glebm has quit [Client Quit]
banister_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sepp2k has joined #ruby-lang
dustint has quit [Ping timeout: 252 seconds]
chendo__ has quit [Ping timeout: 252 seconds]
Hauleth has quit [Ping timeout: 252 seconds]
tonni has quit [Remote host closed the connection]
KA_ has joined #ruby-lang
sebastiansier has joined #ruby-lang
sebastiansier has quit [Remote host closed the connection]
glebm has joined #ruby-lang
carloslopes has joined #ruby-lang
dzhulk has joined #ruby-lang
banister_ has quit [Ping timeout: 248 seconds]
srbaker has joined #ruby-lang
dustint has joined #ruby-lang
schaerli has joined #ruby-lang
slyphon has joined #ruby-lang
gnufied has joined #ruby-lang
Hauleth has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
<apeiros_>
and if you don't use it for something which is supposed to be secure:
<jaimef>
replacing some code that has nothing to do with security
<apeiros_>
don't use md5, it's not fast
<jaimef>
just needs to be compat
<injekt>
is erubis still about a billion times faster than erb? (excusing the exagheration)
<injekt>
exaggeration*
<apeiros_>
injekt: a few years ago it was supposed to be
yalue has joined #ruby-lang
<CoverSlide>
what about crc32?
<apeiros_>
no idea whether it still is
<injekt>
yeah
<apeiros_>
CoverSlide: that's fast
<jaimef>
so this is changing base to hex from bin. base 10 -> base16 ok thanks
<apeiros_>
(and not meant for secure applications)
<apeiros_>
jaimef: um, no
<CoverSlide>
naturally
forrest has joined #ruby-lang
kevinfagan has quit [Ping timeout: 245 seconds]
<zzak>
naquad: use Kernel#caller
<jaimef>
apeiros_: it packs it into binary string.
<apeiros_>
yes
<jaimef>
is there a different name for it?
tonni has quit [Read error: Connection reset by peer]
<jaimef>
apeiros_: thanks. that should work.
<jaimef>
implementing it in a different lang
<apeiros_>
I actually wondered how to properly say that
wasserspiegel has joined #ruby-lang
dzhulk has quit [Quit: Leaving.]
<apeiros_>
"it packs a hex-representation of a number into actual bytes" maybe
kristofferrr has joined #ruby-lang
<apeiros_>
because "ff" is a hex representation of the number 255, "255" is a decimal representation of the number 255, "\xff" is the value encoded in bytes. the last one… not sure whether that's said correctly…
<naquad>
zzak, thanks
solars has joined #ruby-lang
workmad3 has quit [Ping timeout: 276 seconds]
io_syl has joined #ruby-lang
Hauleth has quit [Quit: Wychodzi]
hahuang65_ has joined #ruby-lang
_protagoras271_ has quit [Remote host closed the connection]
kogent has joined #ruby-lang
dzhulk has joined #ruby-lang
jsilver has quit [Remote host closed the connection]
dpatel has quit [Quit: dpatel]
hackeron has joined #ruby-lang
jmaya has joined #ruby-lang
ottbot has quit [Ping timeout: 240 seconds]
dzhulk has quit [Quit: Leaving.]
mr_white_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
ddv has quit [Changing host]
ddv has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mistym is now known as mistym_lunch
<jaimef>
apeiros_: conver hexadecimal string to byte array?
jsilver has quit [Remote host closed the connection]
<neverminding>
I think it does. If I delete a gem's install folder manually, `gem list` will show report it until the .gemspec file is deleted as well.
io_syl has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has joined #ruby-lang
xalei has joined #ruby-lang
xalei_ has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
kuja has quit [Read error: Operation timed out]
justinseiter has joined #ruby-lang
geopet_ has joined #ruby-lang
brianpWins has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
geopet_ has quit [Read error: Connection reset by peer]
geopet__ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<neverminding>
Weird that it will list the gem but actually trying to do anything with it throws an error because the install folder is missing.
maxmanders has quit [Ping timeout: 248 seconds]
<neverminding>
But not it makes sense and I know not to manually delete a gem's folder =)
ryanf has joined #ruby-lang
bantic has joined #ruby-lang
<injekt>
eh, how does that not make sense?
maxmanders has joined #ruby-lang
swav has joined #ruby-lang
<injekt>
you shouldn't delete anything manually
jsaak has quit [Ping timeout: 255 seconds]
<injekt>
neverminding: gem remove and gem install should be fine
chendo__ has joined #ruby-lang
Bosox20051 has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
chendo__ has quit [Ping timeout: 252 seconds]
<neverminding>
It makes sense now, but for a beginner (like me) it's seems weird that the wrapper has been deleted and thus you can;t use any commands (even gem uninstall which returns a "not found" error) yet gem list still says it's there.
<injekt>
neverminding: why would you remove anything manually?
rippa has quit [Ping timeout: 240 seconds]
workmad3 has quit [Read error: Connection reset by peer]
breakingthings has joined #ruby-lang
<neverminding>
Because I'm new at this. I jacked up some rvm gemsets and was kicking the tires to better understand how ruby-gems, gemsets and bundler interact in the context of rvm. I like to dig until I understand something.
<injekt>
ah ok rvm overrides those commands anyway iirc
<mehwork>
you can uninstall by removing the gems from your Gemfile and rerunning bundle install
<injekt>
which of the many many reasons i dont use rvm
<injekt>
neverminding: if you use a package manager, you should never manually remove anything the package manager manages
shiningblue1 has joined #ruby-lang
shiningblue1 has quit [Read error: Connection reset by peer]
shiningblue has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
shiningblue has joined #ruby-lang
xalei has quit [Quit: Leaving]
<neverminding>
That was the problem that led to me start digging. The GEM_PATH/lib folders were all deleted (manually), yet running `bundler install` kept reporting it was using the gems it thought were still installed.
psyomn has quit [Quit: leaving]
sandbags has quit [Remote host closed the connection]
hackeron has quit [Read error: Connection reset by peer]
banisterfiend has quit [Remote host closed the connection]
neverminding has quit [Quit: neverminding]
chendo__ has joined #ruby-lang
woollyams has joined #ruby-lang
chendo__ has quit [Ping timeout: 252 seconds]
woollyams has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 248 seconds]
JohnBat26 has quit [Ping timeout: 252 seconds]
justinseiter has joined #ruby-lang
RobertBirnie has joined #ruby-lang
glebm has joined #ruby-lang
iamjarvo has joined #ruby-lang
jcf has joined #ruby-lang
nachtwandler has quit [Remote host closed the connection]
headius has joined #ruby-lang
mercwithamouth has joined #ruby-lang
headius has quit [Client Quit]
pr0ton has joined #ruby-lang
headius has joined #ruby-lang
hackeron_ has quit [Ping timeout: 252 seconds]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
<yorickpeterse>
what is this shit, I play vidya games for a bit and now Twitter is full of hackers drama and tweets about micro controllers and raspberry pis