Xzyx987X has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
Xzyx987X has joined #ruby-lang
beawesomeinstead has quit [Read error: Operation timed out]
tdy has quit [Read error: Operation timed out]
dbussink has quit [Read error: Operation timed out]
tdy has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
beawesomeinstead has joined #ruby-lang
dbussink has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
Soilent has quit [Read error: Connection reset by peer]
zmike1234 has joined #ruby-lang
Soilent has joined #ruby-lang
JasonA has joined #ruby-lang
mitchty has quit [Ping timeout: 240 seconds]
Y_Ichiro has quit [Quit: No Ping reply in 180 seconds.]
priodev has quit [Ping timeout: 240 seconds]
Y_Ichiro has joined #ruby-lang
linc01n has quit [Ping timeout: 240 seconds]
zmike123 has quit [Ping timeout: 240 seconds]
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
andrewvos has quit [Ping timeout: 240 seconds]
priodev has joined #ruby-lang
linc01n has joined #ruby-lang
mitchty has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
retro|cz has joined #ruby-lang
pskosinski has joined #ruby-lang
kstuart has joined #ruby-lang
djdeluxe76 has joined #ruby-lang
LauraE has joined #ruby-lang
scottschulthess has joined #ruby-lang
shinnya has joined #ruby-lang
sascha_d has joined #ruby-lang
Cakey has joined #ruby-lang
djdeluxe76 is now known as djdee
symm- has joined #ruby-lang
LauraE has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 240 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
benlovell has joined #ruby-lang
adambeynon has joined #ruby-lang
nathanstitt has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
mbj has joined #ruby-lang
pskosinski has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
apeiros has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
rikai has quit [Ping timeout: 264 seconds]
yhsgw has joined #ruby-lang
rikai has joined #ruby-lang
io_syl has quit [Quit: io_syl]
neo has joined #ruby-lang
neo is now known as Guest37735
Guest37735 has quit [Client Quit]
coffeejunk has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
Cakey has quit [Ping timeout: 245 seconds]
coffeejunk has joined #ruby-lang
Cakey has joined #ruby-lang
coffeejunk has quit [Ping timeout: 264 seconds]
Cakey has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
kstuart has quit [Ping timeout: 264 seconds]
singpolyma has quit [Ping timeout: 245 seconds]
coffeejunk has joined #ruby-lang
singpolyma has joined #ruby-lang
bzalasky has joined #ruby-lang
Fraibert has quit []
ssb123 has joined #ruby-lang
saarinen has joined #ruby-lang
_helloworld_ has joined #ruby-lang
cads has joined #ruby-lang
yhsgw has left #ruby-lang [#ruby-lang]
Nisstyre has joined #ruby-lang
sush24 has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
andrewvos has joined #ruby-lang
<andrewvos>
why have you changed you name ljarvis?
<andrewvos>
Heh, twitter added zenspider to my "people I have met" list. Pretty sure I haven't met zenspider
<andrewvos>
Although it is right next to the ruby-lang list
saarinen has quit [Quit: saarinen]
bzalasky has joined #ruby-lang
hashkey_ is now known as hashkey
bzalasky has quit [Remote host closed the connection]
relix has joined #ruby-lang
scmx has joined #ruby-lang
Voker57 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby-lang
<hagabaka>
I have a list of numbers which are between 0 and 31, and they are actually "digits" of a base 32 number, so each number should be expanded into 5 bits of a bit string. Then I want to be able to find values from bit x to bit y from that bit string. What is a library that could help me do that easily?
<ljarvis>
andrewvos: because inkjet is no longer
duphus has quit [Quit: Leaving.]
scmx has quit [Ping timeout: 264 seconds]
<apeiros>
ljarvis: whaaaat?!?
kstuart has joined #ruby-lang
<apeiros>
hagabaka: should be easy enough to do in core ruby
<andrewvos>
ljarvis: Why is this?
<andrewvos>
Man I started writing a blog post "Go for Rubyists". Basically I wanted to write down all the things that you might need to know going from ruby to go
<andrewvos>
I am seriously not cut out for writing
<andrewvos>
And also, there's so much stuff I would have to write
<andrewvos>
And I'm not sure it's even a useful thing to do
<andrewvos>
Like, the tour of Go is enough really
scmx has joined #ruby-lang
<ljarvis>
apeiros: srsly
<ljarvis>
andrewvos: it's been a long time coming but actually had time to move things around this week
chimkan has joined #ruby-lang
arooni-mobile has joined #ruby-lang
c0m3 has joined #ruby-lang
pskosinski has joined #ruby-lang
<andrewvos>
What, like /nick ljarvis was such hard work :)
_jpb__ has joined #ruby-lang
<andrewvos>
But it's cool now you remind me of the computer in Iron Man
ssb123 has quit [Remote host closed the connection]
cads has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
c0m3 has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
<banisterfiend>
.
ssb123 has joined #ruby-lang
<ljarvis>
andrewvos: no, but github.com/injekt
gja has joined #ruby-lang
gja has quit [Client Quit]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
scmx has quit [Ping timeout: 268 seconds]
benlovell has quit [Ping timeout: 245 seconds]
<andrewvos>
oh cool
<andrewvos>
Your projects have been redirected :)
jsullivandigs has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
io_syl has joined #ruby-lang
hashkey_ has joined #ruby-lang
hashkey is now known as Guest38031
Guest38031 has quit [Killed (hubbard.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
dbcclarke has joined #ruby-lang
<dbcclarke>
Hey Can someone help me with inserting a jgPLOT on my page in my ruby on rails app?
<apeiros>
dbcclarke: rails is #rubyonrails
<dbcclarke>
I can't connect to that for some reason
<apeiros>
you probably have to be registered
<apeiros>
(on freenode)
<yorickpeterse>
apeiros: same applies for this channel
<apeiros>
orly?
<apeiros>
dinnaeknodad
<apeiros>
well, I can connect to #rubyonrails :)
jxie has joined #ruby-lang
bzalasky has joined #ruby-lang
hashkey has quit [Read error: Connection reset by peer]
hashkey has joined #ruby-lang
benlovell has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
hashkey is now known as Guest11690
jsullivandigs has joined #ruby-lang
<dbcclarke>
ya im registered
<dbcclarke>
Anyways do you know anything about jqPLOTTING?
Guest11690 is now known as hashkey
<apeiros>
dbcclarke: "for some reason" - seems you're banned
<apeiros>
|>> #RubyOnRails *!*@*98.224.223.37
<dbcclarke>
apieros: Why is that? I just emailed support@freenode.net
<banisterfiend>
dbcclarke: maybe you annoywed someone on #rubyonrails, they're reasonably ban-happy iirc
<apeiros>
my nick ain't apieros. and I wouldn't know. I wasn't there at that time.
<banisterfiend>
so is #haskell, i'm banned there for asking too many times what a monad was ;)
vlad_starkov has joined #ruby-lang
<dbcclarke>
banisterfiend: haha
<dbcclarke>
Ok so what is the best channel to ask about a jqplot?
pskosinski has quit [Quit: Til rivido Idisti!]
<ljarvis>
andrewvos: yeah, weird it does the projects but not the username
scmx has joined #ruby-lang
barttenbrinke has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 256 seconds]
malev has quit [Remote host closed the connection]
barttenbrinke has quit [Ping timeout: 276 seconds]
saarinen has joined #ruby-lang
torrieri has joined #ruby-lang
benlovell has joined #ruby-lang
<dbcclarke>
banisterfiend: How does a person go about becoming unbanned?
<banisterfiend>
dbcclarke: msg an op, i think radar is one
<banisterfiend>
dont know of any others, sorry
_helloworld_ has quit [Remote host closed the connection]
<dbcclarke>
thanks
dbcclarke has quit [Quit: Page closed]
dhruvasagar has quit [Ping timeout: 264 seconds]
torrieri has quit [Quit: Leaving...]
x0f has quit [Ping timeout: 276 seconds]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
x0f has joined #ruby-lang
Sanjay has joined #ruby-lang
thmzlt has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
jsullivandigs has joined #ruby-lang
x0f has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
x0f has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
LnL has joined #ruby-lang
LnL is now known as Guest70284
Guest70284 has left #ruby-lang [#ruby-lang]
arooni-mobile has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
Guest70284 has joined #ruby-lang
<xuser>
why does some kernel methods have capitals letters? ;)
r0bby_ has quit [Read error: No route to host]
<whitequark>
type conversion
r0bby_ has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
ssb123 has quit [Remote host closed the connection]
<yorickpeterse>
tbh I never got why you have to use Integer() in some cases opposed to #to_i (design wise)
sergiocampama has joined #ruby-lang
<whitequark>
>> Integer("fuck")
<eval-in>
whitequark => invalid value for Integer(): "fuck" (ArgumentError) ... (https://eval.in/40435)
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malev has joined #ruby-lang
hahuang61 has joined #ruby-lang
amerine has joined #ruby-lang
charliesome has joined #ruby-lang
zmike1234 has quit [Quit: ~]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
henrikhodne has joined #ruby-lang
Cakey has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
arooni-mobile has joined #ruby-lang
vlad_starkov has joined #ruby-lang
kurko_ has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
ffio has joined #ruby-lang
torrieri has joined #ruby-lang
Senjai has joined #ruby-lang
enebo has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
save has joined #ruby-lang
Sanjay_ has joined #ruby-lang
Sanjay has quit [Ping timeout: 245 seconds]
save has quit [Client Quit]
nneko001__ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
netShadow has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<yorickpeterse>
whitequark: so I had this idea just now
<yorickpeterse>
whitequark: I want to write a language that generates LLVM IR, then use Emscripten to generate JS from it
<yorickpeterse>
then run that
<yorickpeterse>
Yak shaving all the way
malev has quit [Ping timeout: 240 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
Cakey has quit [Ping timeout: 245 seconds]
nneko001__ has quit [Quit: Konversation terminated!]
joshuawscott has joined #ruby-lang
rikai_ has joined #ruby-lang
thmzlt has joined #ruby-lang
rikai has quit [Ping timeout: 264 seconds]
rsl has quit [Ping timeout: 276 seconds]
_jpb__ has joined #ruby-lang
rsl has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
malev has joined #ruby-lang
_jpb__ has quit [Ping timeout: 240 seconds]
Andrevan has joined #ruby-lang
_jpb__ has joined #ruby-lang
namelesshero2222 has joined #ruby-lang
scottschulthess has quit [Quit: scottschulthess]
pr0ton has joined #ruby-lang
_jpb__ has quit [Ping timeout: 276 seconds]
scottschulthess has joined #ruby-lang
pr0ton has quit [Ping timeout: 245 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malev has quit [Ping timeout: 276 seconds]
Sanjay_ has quit [Remote host closed the connection]
LauraE has joined #ruby-lang
rikai has joined #ruby-lang
enebo has quit [Quit: enebo]
toretore has quit [Read error: Connection reset by peer]
toretore has joined #ruby-lang
rikai_ has quit [Ping timeout: 245 seconds]
malev has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
relix has joined #ruby-lang
LauraE has left #ruby-lang [#ruby-lang]
futile has joined #ruby-lang
<futile>
[crossposting from ##ruby]
<futile>
why doesn't this show the exception until after the program exits fully?
<futile>
t = Thread.new {loop{}}
<futile>
at_exit {t.join}
<futile>
1 / 0
<erikh>
t.join will raise any exception raised by the thread
<erikh>
ri Thread#join
<futile>
the exception is happening on the main thread
elia has quit [Quit: Computer has gone to sleep.]
<futile>
should i end the program with the mainthread.join?
<futile>
hmm
<erikh>
where is the exception?
<erikh>
I don't see it in that code
<futile>
1 / 0
<erikh>
oh.
<apeiros>
futile: you're like the only person in ##ruby
<erikh>
heh
<futile>
oops.
kstuart has quit [Ping timeout: 268 seconds]
<erikh>
apeiros: is #ruby the official channel now?
<apeiros>
erikh: I wouldn't know. last I checked, ruby-lang.org mentioned #ruby-lang
<apeiros>
but that was about 5y ago
<apeiros>
but #ruby has out-grown #ruby-lang quite a bit
<futile>
better question: how can i make exceptions on the main thread show up (or catch them) after an at_exit handler has joined a background thread?
<erikh>
ah
<erikh>
I can't replicate your failure case
<erikh>
I still get the exception
<erikh>
oh
<futile>
before you ctr--c?
<futile>
*ctorl-c
<futile>
er you know what i mean
<erikh>
yep I see both exceptions
<futile>
what do you mean both exceptions? there's only one, its on the main thrad.
<futile>
erikh: the background thread loops forever. the foreground thread throws exception. but it doesnt show up until you ctrl-c the app
<erikh>
yes, because the at_exit joins the loop
<futile>
i dont get it
<futile>
oh.
<erikh>
so, as you can see, you get the Interrupt exception which is not rescued, and the divide by zero exception
<futile>
so i have to catch the exceptions inside the loop?
<erikh>
t.join raises any exceptions raised in the thread.
<futile>
hmm.
<erikh>
ri Thread.join or Thread.value
_jpb__ has joined #ruby-lang
cored has quit [Ping timeout: 276 seconds]
Olipro has quit [Ping timeout: 260 seconds]
<futile>
erikh: so then on a more practical level, modifying your test case, how do you get exceptions on the main thread to show up before doing ctrl-c?
znouza_ has quit [Quit: Lost terminal]
<erikh>
don't put them in at_exit
<futile>
ok.
<erikh>
like, avoid at_exit like the plague
<futile>
ah
<erikh>
you should in general -- unless you're doing super emergency shit-hit-the-fan cleanup it's a code smell
Olipro has joined #ruby-lang
<futile>
erikh: thanks that fixes the problem
<futile>
:)
scottschulthess has quit [Quit: scottschulthess]
<erikh>
cool beans man
<erikh>
enjoy
<futile>
u2
_jpb__ has quit [Ping timeout: 240 seconds]
<apeiros>
erikh: so what are you up to nowadays?
<erikh>
apeiros: working like a dog
<erikh>
you?
<apeiros>
I've never seen a dog work :D
mistym has quit [Remote host closed the connection]
<erikh>
haa
<apeiros>
crazy lot of work for the last 3 weeks too. been (and still are) enjoying a 4 day week-end atm, though.
<erikh>
yeah, I had to do that last week
<erikh>
finally begged for some relief
MaddinXx_ has quit [Remote host closed the connection]
<erikh>
our ops team is down to one here -- I'll refrain from talking about it further than that, but let's just say there's a lot on my plate
<apeiros>
:-/
<apeiros>
we have once again a set deadline without business actually knowing what they want
<apeiros>
it's awesome
<erikh>
ugh. I hate that.
<erikh>
this is one of those niceties about being in ops
<apeiros>
and the deadline is in like 6 weeks and we work with 4 partner companies in this one.
<erikh>
your customers are effectively the devs and technical management
<apeiros>
I mean, if it was only *us*, okay…
<erikh>
oh my
<apeiros>
(even then not okay, but at least somewhat manageable)
<erikh>
yeah, you.. are in a pile
<apeiros>
funny thing is - all the problems I've isolated so far have NOT been of a technical nature
<apeiros>
only processes and "what do you want?"
<erikh>
have you raised any concerns with management?
<apeiros>
NB: business has been working on this for ~1.5y. they're still reworking the most basic things…
<erikh>
'cause, 6 weeks sounds short for just about anything
<apeiros>
sure
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby-lang
joooooo has quit [Quit: Leaving]
JasonA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Voker57 has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
benlovell has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
futile has left #ruby-lang [#ruby-lang]
arooni-mobile has quit [Remote host closed the connection]
eoinkelly has joined #ruby-lang
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby-lang
namelesshero2222 has left #ruby-lang [#ruby-lang]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
amerine has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
Nisstyre-laptop is now known as Nisstyre
kurko_ has joined #ruby-lang
eoinkelly has quit [Quit: eoinkelly]
apeiros_ has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
arBmind has quit [Quit: Leaving.]
iliketurtles has quit [Quit: zzzzz…..]
<henrikhodne>
When submitting a doc change to Ruby, can I just put "trunk" or something for `ruby -v`?
<henrikhodne>
Or do I have to compile it and figure out what the output actually is?
vlad_starkov has quit [Remote host closed the connection]
scottschulthess has joined #ruby-lang
thmzlt has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
jbsan has quit [Quit: JB.. OUT!]
jbsan has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
Voker57 has quit [Remote host closed the connection]
Nss has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
Cakey has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 268 seconds]
toretore has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
Cakey has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
toretore has joined #ruby-lang
Sanjay has joined #ruby-lang
yfeldblum has joined #ruby-lang
rickruby has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
eoinkelly has joined #ruby-lang
djdee has quit [Read error: Connection reset by peer]