apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
MartynKeigher has joined #ruby-lang
swav has joined #ruby-lang
linc01n has joined #ruby-lang
sush24_ has joined #ruby-lang
rshetty has quit [Quit: Sleeping]
jimmyjjames has quit [Remote host closed the connection]
swav_ has joined #ruby-lang
x0f has quit [Ping timeout: 245 seconds]
swav_ has quit [Read error: Connection reset by peer]
swav_ has joined #ruby-lang
swav has quit [Ping timeout: 246 seconds]
fosky has quit [Ping timeout: 260 seconds]
swav_ has quit [Read error: Connection reset by peer]
x0f has joined #ruby-lang
setmeaway has joined #ruby-lang
vlad_starkov has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
x0f has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
rickhull has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 246 seconds]
x0f has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
swav has joined #ruby-lang
publicvoid has joined #ruby-lang
kgrz has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
tejas has quit [Quit: This computer has gone to sleep]
ruurd has quit [Quit: Leaving...]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
sepp2k has joined #ruby-lang
hhatch has quit [Ping timeout: 240 seconds]
joshuawscott has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
io_syl has joined #ruby-lang
joshuawscott has quit [Ping timeout: 256 seconds]
pskosinski has joined #ruby-lang
hashkey has quit [Read error: Operation timed out]
hashkey has joined #ruby-lang
hashkey is now known as Guest19056
prezJFK has quit [Remote host closed the connection]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
prezJFK has joined #ruby-lang
rwk1 has joined #ruby-lang
duph has joined #ruby-lang
roadt_ has quit [Ping timeout: 264 seconds]
prezJFK has quit [Ping timeout: 245 seconds]
rwk1 has quit [Ping timeout: 246 seconds]
thebastl has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
Guest19056 has quit [Read error: Connection timed out]
hashkey has joined #ruby-lang
hashkey is now known as Guest36448
postmodern has quit [Quit: Leaving]
Bahman has quit [Read error: Connection reset by peer]
rickhull has quit [Quit: Leaving.]
joshuawscott has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
<yorickpeterse>
morning
<gnufied>
morning
joshuawscott has quit [Ping timeout: 276 seconds]
x0f has quit [Ping timeout: 240 seconds]
publicvoid has quit [Ping timeout: 264 seconds]
symm- has joined #ruby-lang
x0f has joined #ruby-lang
vlad_starkov has joined #ruby-lang
rwk1 has joined #ruby-lang
joshuawscott has joined #ruby-lang
setmeaway has quit [Ping timeout: 264 seconds]
x0f has quit [Ping timeout: 256 seconds]
kgrz has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby-lang
x0f has joined #ruby-lang
mbj has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
io_syl_ has quit [Quit: Computer has gone to sleep.]
rshetty has joined #ruby-lang
dhruvasagar has joined #ruby-lang
duph has quit [Quit: Leaving.]
toretore has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
io_syl_ has joined #ruby-lang
roadt_ has joined #ruby-lang
kgrz has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
Squarepy has joined #ruby-lang
Guest36448 is now known as hashkey
rickruby has quit [Remote host closed the connection]
jerkbot1 has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
flip_digits has joined #ruby-lang
andrewvos has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
rickruby has quit [Remote host closed the connection]
io_syl has quit [Quit: io_syl]
io_syl has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
thepumpkin has joined #ruby-lang
io_syl has quit [Quit: io_syl]
cored has joined #ruby-lang
jstorimer has joined #ruby-lang
jstorimer has quit [Read error: Connection reset by peer]
mreq has joined #ruby-lang
mreq has quit [Ping timeout: 246 seconds]
thepumpkin has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
canton7 has joined #ruby-lang
wallerdev has joined #ruby-lang
kstuart has joined #ruby-lang
xxaM has quit [Quit: ZzZz]
havenwood has joined #ruby-lang
andrewvos has quit [Ping timeout: 240 seconds]
hashkey has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest86499
jstorimer has quit [Remote host closed the connection]
scholar01 has joined #ruby-lang
scholar01 has joined #ruby-lang
Guest86499 is now known as hashkey
<erikh>
hi
s0ber has quit [Remote host closed the connection]
s0ber has joined #ruby-lang
s0ber has quit [Remote host closed the connection]
s0ber has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
scholar01 has quit [Quit: Leaving.]
anonymuse has joined #ruby-lang
ledestin has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
jstorimer has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
jstorimer has quit [Read error: Connection reset by peer]
thepumpkin has joined #ruby-lang
hhatch has joined #ruby-lang
mreq has joined #ruby-lang
devgiant has joined #ruby-lang
<tommylommykins>
I tihnk the border between being able to do alcohol sensibly and totally under controlo does the bare male chest in all its hairy, or shaved, wonder. We have waited so long for a heatwave that perhaps we had collectively forgotten that this kind of weather leads men of all shapes and sizes to cast off their shirts. Should it be allowed?
<tommylommykins>
wow
<tommylommykins>
that was a mopnster accidental pste, sorry
<erikh>
it also was apparently written by someone with mental health issues
devgiant has quit [Quit: Leaving]
IPGlider has joined #ruby-lang
joshuawscott has joined #ruby-lang
IPGlider has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
x0f has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
ffio has joined #ruby-lang
_ffio_ has quit [Ping timeout: 258 seconds]
mreq has quit [Ping timeout: 246 seconds]
rshetty has quit [Ping timeout: 240 seconds]
joshuawscott has quit [Quit: Leaving.]
dhruvasagar has quit [Read error: Operation timed out]
pskosinski has quit [Quit: Til rivido Idisti!]
wmoxam has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
rshetty has joined #ruby-lang
dhruvasagar has joined #ruby-lang
rwk1 has joined #ruby-lang
cofin has joined #ruby-lang
mbj has joined #ruby-lang
<yorickpeterse>
tommylommykins: hahaha
<yorickpeterse>
but yes, it should be allowed to take off your shirt
vlad_starkov has quit [Remote host closed the connection]
spuk has joined #ruby-lang
x0f has quit [Ping timeout: 256 seconds]
kgrz_ has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
x0f has joined #ruby-lang
kgrz has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
stef1a has joined #ruby-lang
kgrz_ has quit [Ping timeout: 245 seconds]
<stef1a>
how do you look for duplicate struct members in an array of structs?
<stef1a>
like, if you have a struct of members :a and :b, how do you find instances of that struct with the same :a in an array?
<apeiros>
you could group the array by a
wallerdev has joined #ruby-lang
MartynKeigher has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 240 seconds]
wallerdev has quit [Client Quit]
jerkbot1 has joined #ruby-lang
mreq has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
vlad_starkov has joined #ruby-lang
MartynKeigher has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
kstuart has quit [Ping timeout: 246 seconds]
cd has joined #ruby-lang
cd is now known as Guest32558
cofin has quit [Quit: cofin]
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
wmoxam has joined #ruby-lang
wmoxam has quit [Changing host]
wmoxam has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
cmaxw_ has joined #ruby-lang
wmoxam has quit [Ping timeout: 260 seconds]
rshetty has quit [Ping timeout: 240 seconds]
joshuawscott has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
jstorimer has joined #ruby-lang
x0f has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
joshuawscott has quit [Quit: Leaving.]
GaelanAintAround is now known as Gaelan
ruurd has joined #ruby-lang
x0f has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
banister has joined #ruby-lang
Gaelan is now known as GaelanAintAround
rwk1 has joined #ruby-lang
GaelanAintAround is now known as Gaelan
Gaelan is now known as GaelanAintAround
nathanstitt has joined #ruby-lang
ezkl has quit [Quit: Quit]
<banister>
hi men
kgrz has quit [Remote host closed the connection]
GaelanAintAround is now known as Gaelan
jsaak_ has quit [Read error: Operation timed out]
tkuchiki has joined #ruby-lang
<yorickpeterse>
A while ago I recall bumping into this Gem that would make it easier to read binary files and what not without having to do all the parsing yourself, does anybody know what Gem this would be?
<yorickpeterse>
ha, already had it starred on GH too
x0f has joined #ruby-lang
zmike123 has joined #ruby-lang
gja has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 264 seconds]
rshetty has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
x0f has joined #ruby-lang
thepumpkin has joined #ruby-lang
kgrz has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
rwk1 has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
nertzy3 has joined #ruby-lang
saarinen has quit [Quit: saarinen]
elia has joined #ruby-lang
GaelanAintAround is now known as Gaelan
nertzy2 has quit [Ping timeout: 245 seconds]
gja has quit [Quit: This computer has gone to sleep]
x0f has quit [Ping timeout: 245 seconds]
Gaelan is now known as GaelanAintAround
x0f has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
havenwood has joined #ruby-lang
Rakko has joined #ruby-lang
mreq has quit [Ping timeout: 276 seconds]
io_syl has joined #ruby-lang
zz_jinie is now known as jinie
tomzx_mac has joined #ruby-lang
stef1a has quit [Ping timeout: 276 seconds]
stef1a has joined #ruby-lang
rshetty has quit [Ping timeout: 240 seconds]
flip_digits has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 245 seconds]
kstuart has joined #ruby-lang
x0f has joined #ruby-lang
cofin has joined #ruby-lang
jinie is now known as zz_jinie
cofin has quit [Client Quit]
anonymuse has quit [Remote host closed the connection]
anonymuse has joined #ruby-lang
gja has joined #ruby-lang
io_syl has quit [Quit: io_syl]
anonymuse has quit [Ping timeout: 240 seconds]
<stef1a>
how do you look for duplicate struct members in an array of structs?
<stef1a>
like, if you have a struct of members :a and :b, how do you find instances of that struct with the same :a in an array?
<badeball>
stef1a: with struct, do you mean a hash?
<badeball>
stef1a: you can for instance do my_structs.group_by { |struct| struct[:a] }. this will create groups of structs containing the same value for :a.
elia has quit [Ping timeout: 240 seconds]
flip_digits has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
<apeiros>
stef1a: how very polite of you to repeat your question and not reacting to an answer you get
<apeiros>
srsly, people skills--
x0f has quit [Ping timeout: 245 seconds]
<yorickpeterse>
it's a persistent connection
rwk1 has joined #ruby-lang
x0f has joined #ruby-lang
<apeiros>
is it appropriate to kick people for being douchebags?
rwk1 has quit [Ping timeout: 246 seconds]
flip_digits has quit [Ping timeout: 276 seconds]
<yorickpeterse>
Police violence! Police violence!
thepumpkin has joined #ruby-lang
GaelanAintAround is now known as Gaelan
symm- has joined #ruby-lang
wmoxam has joined #ruby-lang
abstr4ct has joined #ruby-lang
mistym has joined #ruby-lang
cordax has joined #ruby-lang
stef1a has quit [Remote host closed the connection]
jxie has joined #ruby-lang
waj has joined #ruby-lang
workmad3 has joined #ruby-lang
Gaelan is now known as GaelanAintAround
GaelanAintAround is now known as Gaelan
waj has left #ruby-lang [#ruby-lang]
justinmburrous has joined #ruby-lang
<abstr4ct>
trying to get cgi to put "content" in the cgi generated html body tages like <body>CONTENT</body> However, the content appears before the generated html... http://pastebin.com/0dpueJRf
gja has quit [Quit: This computer has gone to sleep]
jsaak has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
x0f has joined #ruby-lang
flip_digits has joined #ruby-lang
gja has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
cordax has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
OffTheRails has joined #ruby-lang
rshetty has joined #ruby-lang
thebastl has joined #ruby-lang
mistym has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
hahuang65 has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
<abstr4ct>
when you execute a query at mysql command the output is formatted into a ascii table. Can this be done using ruby?
bnagy has quit [Ping timeout: 240 seconds]
<apeiros>
yorickpeterse: ok, I think I'll be violently policing when he asks a third time.
vlad_starkov has joined #ruby-lang
<canton7>
abstr4ct, re the cgi, I doubt 'puts' is what you want there
<canton7>
'puts' prints the content immediately
<canton7>
I'm assuming just "CONTENT" will work there
<erikh>
imperator's been here longer than me and I've been here close to a decade now
<erikh>
so, sock -> mouth
<abstr4ct>
so i have the content i want being output at the top, however, where the number 15 is in the html, is where i want it
Gaelan is now known as GaelanAintAround
<imperator>
cgi, eh? not a clue
<imperator>
erikh, np, have a good lead i think - very hopeful it'll work out - if not, i become a rails drone probably
<erikh>
plenty of work out here for that.
<abstr4ct>
cgi a bad move? i just want simple html output
<erikh>
abstr4ct: you may wish to consider a templating system like erb or haml
<erikh>
CGI just prints the html to stdout so you could simplify a little.
NicoCH78_ has joined #ruby-lang
x0f has quit [Read error: Operation timed out]
<erikh>
depends on what you need really. if you need form processing, etc, I'd recommend sinatra.
<erikh>
... sinatrarb.com iirc
joshuawscott has joined #ruby-lang
<erikh>
but to answer your question more directly, CGI is generally considered an antipattern for web development in the ruby community.
<erikh>
or just a bad practice. pick your phrase.
Artheist has joined #ruby-lang
GaelanAintAround is now known as Gaelan
x0f has joined #ruby-lang
setmeaway has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
CaptainJet has quit []
bnagy has quit [Ping timeout: 256 seconds]
Guest32558 has quit [Quit: This computer has gone to sleep]
thebobalu has joined #ruby-lang
justinmb_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
lsegal has joined #ruby-lang
<imperator>
erikh, i think i'm more interested in elixir than erlang at this point - nicer syntax :)
prezJFK has joined #ruby-lang
<zzak>
imperator: hi
<spike|spiegel>
lol, the next hype'd up thing huh
justinmburrous has quit [Ping timeout: 240 seconds]
mbj has quit [Ping timeout: 245 seconds]
<imperator>
is it hyped?
<spike|spiegel>
erlang for a while, haskell for a while, and now this?
<imperator>
zzak, yo
<imperator>
was never into haskell myself
<zzak>
imperator is hardly the band wagon type
<banister>
spike|spiegel: you're a haskell programmer?
Gaelan is now known as GaelanAintAround
<Nilium>
I'd like to learn Erlang but I'm not really sure if there's a good way to build desktop applications and such with it
<banister>
Nilium: that's not really its sweet spot
<banister>
same as you wouldn't build a gui app with ruby (really)
<Nilium>
Definitely isn't.
<Nilium>
Well, I've built GUI stuff with Ruby
<banister>
using what framework?
<Nilium>
wxRuby, years ago
<spike|spiegel>
go to python and go gtk or qt in it :)
<banister>
i would go the websocket + coffeescript + ruby backend route
<Nilium>
It used to be nice. Then wxWidgets died. And then wxruby went unmaintained. And so on until the web devs basically claimed Ruby for themselves and made it less fun.
GaelanAintAround is now known as Gaelan
cd has joined #ruby-lang
cd is now known as Guest70793
<banister>
Nilium: hehe
<Nilium>
But I've got OpenGL and such working in Ruby now, so it's all good again.
<spike|spiegel>
python is a better ruby for anything that is not web
<Nilium>
Also 3D math that isn't hideously slow.
<Nilium>
Because math in Ruby is disturbingly slow.
<banister>
Nilium: should be a bit better now with flonums
<spike|spiegel>
haha
<banister>
flonums are only 2.0 though
relix has joined #ruby-lang
<Nilium>
4x4 matrix multiplication is around 7x worse than C in terms of performance. O_o
<Nilium>
I limited all my stuff to 2.0 and greater, but it's still pretty bad.
<banister>
Nilium: this is floating point math?
<Nilium>
Yes.
<banister>
oh ok
<sepp2k>
Nilium: Using matrix.rb or your own code?
<Nilium>
My own.
<imperator>
time to bust out ffi
<spike|spiegel>
write that in C and call it ruby
<Nilium>
I already wrote bindings for my old 3D math code, so no need for FFI