apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
richardburton has quit [Quit: Leaving.]
bungoman has quit [Read error: Connection reset by peer]
bungoman has joined #ruby-lang
mistym has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
gregmoreno has quit [Remote host closed the connection]
sedrickcz has joined #ruby-lang
slabserif has joined #ruby-lang
iliketur_ has joined #ruby-lang
iliketur_ has quit [Client Quit]
slabserif has quit [Remote host closed the connection]
sedrickcz has quit [Ping timeout: 245 seconds]
cjs226 has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
bungoman has quit [Remote host closed the connection]
Gaelan is now known as GaelanAintAround
joshuawscott has quit [Quit: Leaving.]
bungoman has joined #ruby-lang
wmoxam has joined #ruby-lang
rwk1 has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
rwk1 has quit [Remote host closed the connection]
_jpb__ has joined #ruby-lang
hogeo has joined #ruby-lang
joshuawscott has joined #ruby-lang
GaelanAintAround is now known as Gaelan
rwk1 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
JoshuaPaling has joined #ruby-lang
wmoxam has quit [Ping timeout: 264 seconds]
ssb123 has joined #ruby-lang
kek has joined #ruby-lang
wmoxam has joined #ruby-lang
thiagoborges has quit [Ping timeout: 260 seconds]
bzalasky has joined #ruby-lang
Mon_Ouie has quit [Read error: Operation timed out]
mdedetrich has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
bzalasky has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
_jpb__ has quit [Ping timeout: 245 seconds]
retro|cz has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
Kabaka has joined #ruby-lang
pr0ton has quit [Ping timeout: 245 seconds]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
hashkey has joined #ruby-lang
sedrickcz has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
pr0ton has joined #ruby-lang
hogeo has quit [Ping timeout: 276 seconds]
Gaelan is now known as GaelanAintAround
sedrickcz has quit [Ping timeout: 264 seconds]
lsegal has joined #ruby-lang
saarinen has quit [Quit: saarinen]
hahuang65 has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
gregmoreno has joined #ruby-lang
jrobeson has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
gregmoreno has quit [Ping timeout: 276 seconds]
mdedetrich has quit [Ping timeout: 276 seconds]
mdedetrich has joined #ruby-lang
arooni-mobile has joined #ruby-lang
nathanstitt has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
ruby-lang716 has joined #ruby-lang
havenwood has joined #ruby-lang
ruby-lang716 has quit [Client Quit]
mdedetrich has quit [Ping timeout: 245 seconds]
hashkey has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
mdedetrich has joined #ruby-lang
hashkey has joined #ruby-lang
Domon has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
thiagoborges has joined #ruby-lang
kek has quit [Quit: kek]
kurko_ has quit [Ping timeout: 256 seconds]
kurko_ has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
GaelanAintAround is now known as Gaelan
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
dhruvasagar has joined #ruby-lang
sedrickcz has joined #ruby-lang
GeissT has joined #ruby-lang
sedrickcz has quit [Ping timeout: 245 seconds]
mdedetrich has quit [Ping timeout: 245 seconds]
fbernier has quit [Ping timeout: 268 seconds]
mdedetrich has joined #ruby-lang
_jpb__ has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
mdedetrich has quit [Ping timeout: 260 seconds]
spuk has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
mdedetrich has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
_jpb__ has quit [Ping timeout: 256 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
ssb123 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
Nisstyre has quit [Quit: Leaving]
zz_dlu has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
Gaelan has quit [Ping timeout: 276 seconds]
jonahR has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
shinnya has quit [Ping timeout: 245 seconds]
ikrima has joined #ruby-lang
scottschecter has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 245 seconds]
zz_dlu has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
thiagoborges has quit [Remote host closed the connection]
sedrickcz has joined #ruby-lang
sedrickcz has quit [Ping timeout: 248 seconds]
scottschecter has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
moca has quit [Remote host closed the connection]
<rhizome> having a bit of google trouble with this one: how can i configure a user environment to use a non-standard ruby binary? i have an /opt/ruby2/bin (etc...) here I need to use by default.
<rhizome> hmm, a wild RUBY_HOME appears
guns has joined #ruby-lang
_jpb__ has joined #ruby-lang
GaelanAintAround is now known as Gaelan
<Boohbah> rhizome: many options including rvm, rbenv, chruby, etc.
bzalasky has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
<rhizome> rvm is a no-go on this host due to jankitude, but they do have a ruby2
robbyoconnor has quit [Ping timeout: 248 seconds]
<rhizome> i'm hoping RUBY_HOME and GEM_HOME will get me there
bzalasky has joined #ruby-lang
Gaelan is now known as GaelanAintAround
GaelanAintAround is now known as Gaelan
jsullivandigs has joined #ruby-lang
mdedetrich has quit [Ping timeout: 260 seconds]
ledestin has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
guns has quit [Quit: guns]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
mdedetrich has quit [Ping timeout: 260 seconds]
_jpb_ has quit [Ping timeout: 246 seconds]
TheMoonMaster has quit [Excess Flood]
mdedetrich has joined #ruby-lang
TheMoonMaster has joined #ruby-lang
_jpb__ has quit [Ping timeout: 246 seconds]
bzalasky has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
Randroid has joined #ruby-lang
soba has joined #ruby-lang
Randroid has quit [Client Quit]
jperry has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
sedrickcz has joined #ruby-lang
robbyoconnor has joined #ruby-lang
sedrickcz has quit [Ping timeout: 240 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
ssb123 has quit [Remote host closed the connection]
mdedetrich has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 245 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
mdedetrich has joined #ruby-lang
mistym has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Domon has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby-lang
joshuawscott has joined #ruby-lang
mdedetrich has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby-lang
mdedetrich has joined #ruby-lang
mistym has joined #ruby-lang
imperator has quit [Quit: Valete!]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
retro|cz has quit [Ping timeout: 248 seconds]
retro|cz has joined #ruby-lang
CaryInVictoria has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
CaryInVictoria has left #ruby-lang [#ruby-lang]
mbull9 has quit [Remote host closed the connection]
joshuawscott has quit [Quit: Leaving.]
joshuawscott has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 248 seconds]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
nneko001__ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
arBmind has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
retro|cz has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
iliketur_ has joined #ruby-lang
jwoods has joined #ruby-lang
hahuang65 has joined #ruby-lang
relix has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
retro|cz has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
apeiros has joined #ruby-lang
bzalasky has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 260 seconds]
mistym has quit [Remote host closed the connection]
Domon has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
arBmind has quit [Quit: Leaving.]
jperry has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bungoman has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
jwoods has quit [Ping timeout: 256 seconds]
mistym has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby-lang
mdedetrich has joined #ruby-lang
vlad_starkov has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby-lang
iliketur_ has quit [Quit: zzzzz…..]
vlad_starkov has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
<postmodern> so why does Class.new(BaseClass) end up creating two T_CLASS objects according to ObjectSpace.count_objects[:T_CLASS] ?
<Boohbah> postmodern: i don't know, but are you the author of chruby?
<postmodern> Boohbah, ah my cover has been blown
<Boohbah> hehe
<Boohbah> i was looking at it recently, thanks for making it!
<postmodern> sure thing
<postmodern> now to just get Fedora to stop installing rubypick by default
gja has quit [Quit: This computer has gone to sleep]
hhatch has joined #ruby-lang
<pipecloud> It's definitely my preferred ruby selecting tool.
<Boohbah> hmm yes, rubypick looks ugly
<pipecloud> chruby, that is.
richardburton has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
rwk1 has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
apeiros has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
Domon has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
jonahR has quit [Quit: jonahR]
Domon has joined #ruby-lang
stonerfish has joined #ruby-lang
workmad3 has joined #ruby-lang
sedrickcz has joined #ruby-lang
marr has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
dc5ala has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
vlad_sta_ has quit [Read error: Connection reset by peer]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
JohnBat26 has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
kith has quit [Quit: kith]
jxie has quit [Ping timeout: 264 seconds]
torrieri has joined #ruby-lang
kith has joined #ruby-lang
benlovell has joined #ruby-lang
jxie has joined #ruby-lang
leekiernan has joined #ruby-lang
maxmanders has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
[epitron] has joined #ruby-lang
elia has joined #ruby-lang
ledestin has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
relix has joined #ruby-lang
workmad3 has quit [Ping timeout: 276 seconds]
face has quit [Ping timeout: 264 seconds]
<yorickpeterse> morning
face has joined #ruby-lang
<ljarvis> hello
workmad3 has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
tylersmith has quit [Ping timeout: 256 seconds]
JohnBat26 has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
ebouchut has joined #ruby-lang
mbj has joined #ruby-lang
JohnBat26 has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
benlovell has joined #ruby-lang
tylersmith has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 256 seconds]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
bzalasky has joined #ruby-lang
joonty has quit [Quit: WeeChat 0.4.1]
ebouchut has quit [Quit: This computer has gone to sleep]
jordan_ has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
mbj has quit [Read error: Operation timed out]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
ikrima has quit [Quit: Computer has gone to sleep.]
arBmind has joined #ruby-lang
Senjai has quit [Read error: Operation timed out]
joonty has joined #ruby-lang
sjltaylo_ has joined #ruby-lang
brianpWins has joined #ruby-lang
ebouchut has joined #ruby-lang
esad has joined #ruby-lang
<ebouchut> Hi, I suspect this to a bug but before submitting it on the issue tracker I would like to check with you http://preview.tinyurl.com/enumerable-drop-while
torrieri has quit [Quit: Leaving...]
<ebouchut> Enumerable#drop_while (when not given a block) returns an Enumerator, calling next twice raises StopIteration the second time in 1.9.3, 2.0.0 but not in 1.8.7.
MaddinXx has joined #ruby-lang
thang has quit [Ping timeout: 240 seconds]
<ebouchut> enumerator = [1, 2, 3].drop_while
<ebouchut> enumerator.next # => 1
<ebouchut> enumerator.next # => raises StopIteration in ruby-1.9.3-p448, ruby-2.0.0-p247, rbx-2.0.0
thang has joined #ruby-lang
<ljarvis> a but in 1.8.7?
<ljarvis> bug*
<ebouchut> It works ok in 1.8.7 (but whatever now it is retired).
<ljarvis> but yeah, seems to not work as expected
<ebouchut> Ok, thanks a lot. I'm about to file a bug.
benlovell has quit [Ping timeout: 264 seconds]
ebouchut_ has joined #ruby-lang
ebouchut_ has quit [Write error: Broken pipe]
ebouchut_ has joined #ruby-lang
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
sjltaylo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
bzalasky_ has joined #ruby-lang
charliesome has joined #ruby-lang
ebouchut has joined #ruby-lang
ebouchut_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
ikrima has joined #ruby-lang
Cakey has joined #ruby-lang
bzalasky_ has quit [Remote host closed the connection]
ebouchut has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
ebouchut has joined #ruby-lang
benlovell has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
tbuehlmann has quit [Ping timeout: 250 seconds]
ebouchut has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
dc5ala has quit [Quit: Ex-Chat]
ebouchut has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 264 seconds]
VTLob has joined #ruby-lang
ebouchut has joined #ruby-lang
ebouchut has quit [Ping timeout: 260 seconds]
ebouchut has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
<yorickpeterse> Something something Friday memcached bullshit
ebouchut has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
ebouchut has joined #ruby-lang
ebouchut has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
jsullivandigs has joined #ruby-lang
JoshuaPaling has quit [Ping timeout: 240 seconds]
ebouchut has joined #ruby-lang
ebouchut has quit [Client Quit]
jsullivandigs has quit [Ping timeout: 246 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
Cakey has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
ebouchut has joined #ruby-lang
realDAB has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
<erikh> needs more fatcache
<erikh> I AM AN EMAIL MACHINE
arBmind has joined #ruby-lang
Domon has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
Domon has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
Domon has quit [Ping timeout: 260 seconds]
ebouchut has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
mdedetrich has joined #ruby-lang
postmodern has joined #ruby-lang
* ljarvis puts his email in erikh
<erikh> ok. nighty night.
benlovell has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby-lang
superdealloc has joined #ruby-lang
<superdealloc> Hi everyone.
<superdealloc> If I were to write a Data_Set_Struct(VALUE obj, void *struct) how would I go about doing it?
<Mon_Ouie> I don't think you can change the structure that is wrapped in the VALUE. However, you could use a pointer to a pointer to your structure instead.
<superdealloc> Yeah
dhruvasagar has quit [Ping timeout: 264 seconds]
<superdealloc> But `DATA_PTR(obj) = (void *)sval;` segfaults :-(
<superdealloc> and DATA_PTR(obj) is how that property is retrieved, so I thought I'd just overwrite it.
leekiernan has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Was that object created with Data_Wrap_Structure? (i.e., did it already hold a pointer?)
<superdealloc> Yeah
<superdealloc> and yeah.
<superdealloc> I'm doing an in-place operation (crop!)
<superdealloc> but the framework I'm using doesn't allow for that. Instead, to do a crop, you set a ROI and copy those pixels to another object.
<superdealloc> so I just wanted to 1) set the ROI, 2) copy the pixels, 3) set the pointer to the new object, 4) free the old one
Ch00k has joined #ruby-lang
<Ch00k> I'm trying to build 1.9.3 on Solaris 10. I gave gmake installed in /opt/csw/bin/gmake and it is in path. configure fails with "checking for if make is GNU make... ./configure: line 17238: make: command not found"
<Ch00k> can I somehow tell configure to use gmake instead of make?
<superdealloc> Ch00k: ln -s? :-S
postmodern has quit [Quit: Leaving]
ebouchut has quit [Quit: This computer has gone to sleep]
malev has joined #ruby-lang
<Ch00k> superdealloc: not an option :)
vlad_starkov has joined #ruby-lang
<superdealloc> :(
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
ryez has joined #ruby-lang
ndrst has quit [Ping timeout: 245 seconds]
leekiernan has joined #ruby-lang
<yorickpeterse> Ch00k: `make` is not available on Solaris?
<yorickpeterse> Also, it checks the actualy `make` name so either ln -s or install make
ryez_ has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
ndrst has joined #ruby-lang
<yorickpeterse> GHHHHNGNGGG AUTOSCALING
<yorickpeterse> "Deploying code? LOL NOPE GET AUTOSCALED"
realDAB has quit [Quit: realDAB]
yalue has joined #ruby-lang
ryez_ has quit [Ping timeout: 250 seconds]
thebastl has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
jvrmaia has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 241 seconds]
breakingthings has joined #ruby-lang
jsullivandigs has joined #ruby-lang
pabs has quit [Ping timeout: 240 seconds]
pabs has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
joshuairl has joined #ruby-lang
jxie has quit [Quit: leaving]
jp- has joined #ruby-lang
ssb123 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
Cakey has quit [Ping timeout: 246 seconds]
benlovell has joined #ruby-lang
esad has joined #ruby-lang
nwalls has joined #ruby-lang
<yorickpeterse> man getting Dalli to work with Elasticache is a fucking nightmare
ledestin has quit [Quit: ledestin]
<ljarvis> no u
malev has quit [Read error: Connection reset by peer]
<yorickpeterse> no seriously. So this EC2 box is allowed to connect fine but the first time you try to connect to the cluster using Dalli it fails to find the server
<yorickpeterse> then you connect with nc/telnet, works fine
<yorickpeterse> then try again with Dalli, ALSO WORKS FINE
<yorickpeterse> LIKE WTF
<yorickpeterse> well there we go, using bigger timeouts and all that shit seems to do it
<yorickpeterse> fingers crossed
MaddinXx_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
umgrossco has joined #ruby-lang
nofxx has joined #ruby-lang
hogeo has joined #ruby-lang
joshuawscott has joined #ruby-lang
kurko_ has joined #ruby-lang
<Ch00k> running configure for 1.9.3 getting this error: "checking for prefix of external symbols... ./configure: line 17001: conftest.o: command not found"
<Ch00k> what could cause that?
thebastl has joined #ruby-lang
wallerdev has joined #ruby-lang
w00x has joined #ruby-lang
kurko_ has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
wmoxam has joined #ruby-lang
vlad_sta_ has quit [Read error: Connection reset by peer]
Pupeno_ has joined #ruby-lang
bungoman has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Pupeno has quit [Ping timeout: 276 seconds]
hogeo has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
superdealloc has quit [Quit: superdealloc]
rwk1 has joined #ruby-lang
cjs226 has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby-lang
Pupeno_ has quit [Ping timeout: 246 seconds]
tomzx_mac has joined #ruby-lang
arooni-mobile has joined #ruby-lang
superdealloc has joined #ruby-lang
rmyers has joined #ruby-lang
<superdealloc> Guys, could anyone have a look at http://github.com/andremedeiros/ropencv and give me some feedback on the quality of the code that I'm producing?
arooni-mobile has quit [Client Quit]
arooni-mobile has joined #ruby-lang
<rmyers> the 'uri' library doesn't seem to escape apostrophes with the 'escape' method (should be "%27"). am i doing something wrong?
sjltaylor has joined #ruby-lang
KM|2 has joined #ruby-lang
KM has quit [Read error: Connection reset by peer]
leekiernan has quit [Ping timeout: 264 seconds]
srji has joined #ruby-lang
mbj has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby-lang
jsullivandigs has joined #ruby-lang
lfox has joined #ruby-lang
lfox has quit [Client Quit]
jsullivandigs has quit [Ping timeout: 245 seconds]
lfox has joined #ruby-lang
Ch00k has quit [Quit: Ch00k]
<yorickpeterse> superdealloc: I'll take a look at it tonight
Cakey has joined #ruby-lang
<superdealloc> Thanks, man!
probst has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
killthe|afk is now known as killtheliterate
jsullivandigs has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FarhadG has joined #ruby-lang
dhruvasagar has joined #ruby-lang
shinnya has joined #ruby-lang
wmoxam has quit [Ping timeout: 256 seconds]
leekiernan has joined #ruby-lang
poga has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cjs226 has joined #ruby-lang
pipework has joined #ruby-lang
<yorickpeterse> Friday afternoon data migrations
<yorickpeterse> what could possibly go wrong
FarhadG has quit [Ping timeout: 250 seconds]
leekiernan has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sedrickcz has quit [Remote host closed the connection]
leekiernan has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
superdealloc has quit [Quit: superdealloc]
cjs226 has quit [Quit: cjs226]
nneko001__ has quit [Quit: Konversation terminated!]
rservant has joined #ruby-lang
charliesome has joined #ruby-lang
sjltaylor has joined #ruby-lang
dhruvasagar has quit [Remote host closed the connection]
rwk1 has quit [Remote host closed the connection]
mbj has quit [Quit: leaving]
soba has quit [Ping timeout: 264 seconds]
Dernise has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danrabinowitz has quit [Quit: Peace.]
Vade101 has joined #ruby-lang
<Vade101> afternoon all, can anyone tell me how to check if a hash has a key (set as a symbol)? i tried hash.has_key? ":mySymbol" but that always returns false
<yorickpeterse> key?
<yorickpeterse> >> {:number => 10}.key?(:number)
<eval-in> yorickpeterse => true (https://eval.in/44744)
<yorickpeterse> ":mySymbol" is not a symbol
<yorickpeterse> it's a String
<yorickpeterse> >> :symbol.class
<eval-in> yorickpeterse => Symbol (https://eval.in/44745)
<yorickpeterse> >> ":symbol".class
<eval-in> yorickpeterse => String (https://eval.in/44746)
<Vade101> oh ffs ofc
<Vade101> remove the " "
<Vade101> sorry long day
<yorickpeterse> heh
vmoravec has quit [Ping timeout: 256 seconds]
Ch00k has joined #ruby-lang
charliesome has joined #ruby-lang
rippa has joined #ruby-lang
probst has quit [Quit: probst]
danrabinowitz has joined #ruby-lang
danrabinowitz has left #ruby-lang [#ruby-lang]
retro|cz has joined #ruby-lang
zavier has quit [Quit: WeeChat 0.4.0]
zavier has joined #ruby-lang
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
mmorga has joined #ruby-lang
apeiros has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
probst has joined #ruby-lang
jperry has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
jperry has joined #ruby-lang
barttenbrinke has joined #ruby-lang
kurko_ has quit [Client Quit]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Kabaka has quit [Ping timeout: 240 seconds]
Vade101 has quit [Remote host closed the connection]
arBmind1 has quit [Quit: Leaving.]
barttenbrinke has quit [Ping timeout: 264 seconds]
bzalasky has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
bzalasky has joined #ruby-lang
mbj has joined #ruby-lang
Kabaka has joined #ruby-lang
rwk1 has joined #ruby-lang
sush24 has joined #ruby-lang
mbull9 has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 264 seconds]
Cakey has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
benlovell has quit [Quit: leaving]
mistym has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 264 seconds]
lfox has quit [Quit: ZZZzzz…]
tbuehlmann has joined #ruby-lang
adambeynon has joined #ruby-lang
superdealloc has joined #ruby-lang
Dernise has quit [Quit: Leaving]
probst has quit [Quit: probst]
thebastl has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
<yfeldblum> ruby doesn't have Array#sorted?
<yfeldblum> any reason for that?
ikrima has joined #ruby-lang
MSU has joined #ruby-lang
<gnufied> it is there in enumerable
MSU has quit [Remote host closed the connection]
mmorga has quit [Ping timeout: 264 seconds]
torrieri has joined #ruby-lang
<Mon_Ouie> It isn't. [1, 2, 3].sorted? # undefined method `sorted?' for [1, 2, 3]:Array
<Mon_Ouie> You could implement it of course
<Mon_Ouie> each_cons(2).all? { |x, y| x < y }
leekiernan has quit [Ping timeout: 240 seconds]
mmorga has joined #ruby-lang
hashkey is now known as danieldaniel|gay
danieldaniel|gay is now known as hashkey
<apeiros> <=
<apeiros> Mon_Ouie: <= instead of <
* apeiros actually implemented that in the autocompletion-gem
__butch__ has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
duphus has joined #ruby-lang
<yfeldblum> it would have to be <=>
geopet has joined #ruby-lang
<apeiros> no
<apeiros> that'd make no sense
<yfeldblum> it would need to be {|x, y| (x <=> y) < 1} or something like that
<apeiros> it's either <= (sorted ascending) or >= (sorted descending)
srji_ has joined #ruby-lang
<yfeldblum> each_cons is ruby-2.0
<apeiros> uh, dude, (x <=> y) < 1 is a rather verbose way to say x <= y
<yfeldblum> apeiros, the object may respond to <=> but not to <=
<yfeldblum> apeiros, assuming a generic implementation
<rippa> yfeldblum: that's a bad object then
<rippa> you should feel bad about using it
<yfeldblum> rippa, that's simply the interface
<apeiros> each_cons is 1.8.7+ iirc
<yfeldblum> rippa, rather, that's how Array#sort works
<apeiros> yfeldblum: if the object responds to <=> and doesn't include Comparable, then it's a rather silly implementer
<apeiros> that said, Array doesn't include Comparable by default
<yfeldblum> apeiros, sorry yes it is before 2.0
<yfeldblum> apeiros, it doesn't matter; Array#sort uses <=> and one would expect Array#sorted? to mirror Array#sort exactly
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
<yfeldblum> apeiros, for a specific implementation <= is fine though
Ch00k has quit [Quit: Ch00k]
<yfeldblum> however each_cons appears to create O(n) array objects when invoked on an n-element array, right?
srji has quit [Ping timeout: 264 seconds]
<yfeldblum> if i wanted to check if a million-element array is sorted, i'd like to avoid a million allocations
poga has joined #ruby-lang
<apeiros> I think it only allocates one
<apeiros> but feel free to review the code and/or bench allocations
mmorga has quit [Remote host closed the connection]
madgen has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
iliketur_ has joined #ruby-lang
ffio has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Senjai has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
rservant_ has joined #ruby-lang
<yfeldblum> lulz
<erikh> dominikh: heh, work just linked some of your go blogging
<erikh> THOUGHT LEADER
<Mon_Ouie> I think it does create new arrays. Otherwise, each_cons(2).to_a would be an array where all the elements are the same.
hahuang65 has quit [Ping timeout: 260 seconds]
<yfeldblum> it shifts, pushes, and dups the memo array on each iteration through the source array
rservant has quit [Ping timeout: 245 seconds]
duggiefresh_ has joined #ruby-lang
rservant_ has quit [Ping timeout: 264 seconds]
<yfeldblum> which is great for each_cons, but bad for checking if an array is sorted
mistym has joined #ruby-lang
<apeiros> yfeldblum: well then, implement it using e.g. (length-1).times
mmorga has joined #ruby-lang
<apeiros> or implement it in C if it's such a performance critical part
rservant has joined #ruby-lang
lfox has joined #ruby-lang
<yfeldblum> apeiros, indeed
tkuchiki has joined #ruby-lang
Gaelan is now known as GaelanAintAround
lfox has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
vlad_starkov has quit [Read error: Connection reset by peer]
lfox has joined #ruby-lang
w00x has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
rservant has quit [Ping timeout: 264 seconds]
fbernier has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
kurko_ has joined #ruby-lang
jxie has joined #ruby-lang
Squarepy has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
maxmanders has joined #ruby-lang
poga has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poga has joined #ruby-lang
Pupeno has quit [Ping timeout: 276 seconds]
relix has joined #ruby-lang
marr has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby-lang
mbj has quit [Quit: leaving]
duphus has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
pr0ton has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
rservant has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
rservant has quit [Remote host closed the connection]
rservant has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
ssb123 has joined #ruby-lang
w00x has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
mbj has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Page closed]
brianpWins has joined #ruby-lang
hhatch has quit [Ping timeout: 248 seconds]
Cakey has joined #ruby-lang
madgen has quit [Ping timeout: 264 seconds]
mbull9 has joined #ruby-lang
wmoxam has joined #ruby-lang
thillux has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
Cakey has quit [Ping timeout: 264 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
ikrima has joined #ruby-lang
esad has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Ping timeout: 264 seconds]
thillux has quit [Read error: Operation timed out]
rservant_ has joined #ruby-lang
wmoxam has joined #ruby-lang
rservant has quit [Read error: Operation timed out]
maxmanders has quit [Quit: Computer has gone to sleep.]
rservant_ has quit [Read error: Operation timed out]
pr0ton has quit [Quit: pr0ton]
brianpWins has quit [Quit: brianpWins]
maxmanders has joined #ruby-lang
brianpWins has joined #ruby-lang
<hahuang65> Did Ruby 1.9.3 add millisecond accuracy to Time or DateTime objects or something? We've just upgraded both Mongoid and Ruby and I'm trying to figure out which one is causing 2 exact times (to the second) to be different when evaluated to floats (must be milliseconds)
<yorickpeterse> If you were to cast it to floats, yes
<yorickpeterse> >> Time.now.to_f
<eval-in> yorickpeterse => 1377283362.4767656 (https://eval.in/44757)
<yorickpeterse> >> Time.now.to_i # still the same
<eval-in> yorickpeterse => 1377283377 (https://eval.in/44758)
madgen has joined #ruby-lang
<hahuang65> yorickpeterse: yeah, but was this added in 1.9.3? 1.9.2 never seemed to have this issue... maybe just comparison was changed in 1.9.3?
thillux has joined #ruby-lang
<yorickpeterse> I think it has always been there
<yorickpeterse> yeah 1.8 has it too
<yorickpeterse> however
<yorickpeterse> 1.8 has a smaller number of decimals
<yorickpeterse> 1.8>> Time.now.to_f
<yorickpeterse> 18>> Time.now.to_f
<eval-in> yorickpeterse => 1377283529.98182 (https://eval.in/44759)
<yorickpeterse> >> Time.now.to_f
<eval-in> yorickpeterse => 1377283532.1929064 (https://eval.in/44760)
<yorickpeterse> 19>> Time.now.to_f
<eval-in> yorickpeterse => 1377283534.6367497 (https://eval.in/44761)
_jpb_ has joined #ruby-lang
<hahuang65> yorickpeterse: that's interesting. It might be Mongoid and the amount of precision it stores then.
<yorickpeterse> Hm, don't think we've ever bumped into such an issue
<yorickpeterse> and we use a mix of 1.9 and some old crap running on 1.8
<hahuang65> yorickpeterse: what we're seeing is that Mongoid documents created after our release yesterday (Monggoid 3.0.15 and Ruby 1.9.3-p448) when you do a query for greater_than on the date, with second precision, it'll show stuff for the same second. But for objects created before our release, it'll never show anything in the same second.
_jpb_ has quit [Client Quit]
<yorickpeterse> right, so the same query doesn't return shit on 1.8?
<yorickpeterse> (for stuff created after $DEPLOY_TIME)
mmorga has joined #ruby-lang
<hahuang65> yorickpeterse: not 1.8, but 1.9.2 and Mongoid 2.4.1
<hahuang65> so we're not sure which one is causing it
<yorickpeterse> also mongoid 2? Is there a reason you can't use 3 on > 1.8?
<hahuang65> yorickpeterse: yeah, mongoid3 requires 1.9.3
<hahuang65> or higher
madgen has quit [Ping timeout: 276 seconds]
<yorickpeterse> hm
<yorickpeterse> also, Mongoid 2.x on 1.8 is a giant bucket of poop anyway
<yorickpeterse> e.g. 2.2 doesn't do #delete_all due to some weird bug
vlad_starkov has quit [Remote host closed the connection]
<hahuang65> yorickpeterse: lol yeh. Mongoid 2.x in general is crap. In production, it causes 40% of the queries to be namespace queries.
maxmanders has quit [Quit: Computer has gone to sleep.]
* yxhuvud 's impression of mongo is that it doesn't matter what version it is. poop everywhere.
thillux has quit [Ping timeout: 245 seconds]
pr0ton has joined #ruby-lang
mbull9 has quit [Read error: Connection reset by peer]
mbull9 has joined #ruby-lang
dwknoxy has joined #ruby-lang
<hahuang65> yorickpeterse: maybe comparator operation in 1.9.3 for Time became more precies...
<yorickpeterse> Mongo in general is also crap
<yorickpeterse> but mongoid just makes it more hilarious
<yorickpeterse> "LETS USE NOSQL BECAUSE FUCK JOINS" "LETS USE MONGOID SO WE CAN DO JOINS IN PURE RUBY"
<yorickpeterse> JSON! WEBSCALE!
<hahuang65> lol
<hahuang65> love that webscale video about mongo
superdealloc has quit [Quit: superdealloc]
dhruvasagar has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
pr0ton has quit [Ping timeout: 240 seconds]
<yorickpeterse> uuughhh, I hate APIs that randomly poop their pants
<yorickpeterse> especially on a Friday at 21:00 when you're trying to migrate data of 500 companies
<apeiros> maybe not the wisest choice of date :-p
<yorickpeterse> yeah tell that to next monday
mbull9 has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<rue> APIs don’t fail
<yxhuvud> yorickpeterse: heh. we are implementing the data retention directive for a telco with 2M customers. Lets just say mongo doesn't fit the bill very well :)
<yxhuvud> (thankfully we realized that in time and isn't using it)
<yorickpeterse> Oh tell me about it
<yorickpeterse> I remember that one time we tried to re-index 2M reviews and it just threw all indexes out of the window
<yorickpeterse> (re-index as in, delete and re-add)
<yorickpeterse> took over an hour to run a reIndex command on all collections before the DB was back operational
<yorickpeterse> " command finished in 1526ms" YOU LIE CAPISTRANO
<yorickpeterse> LIAR
<yorickpeterse> LIAR PANTS ON FIRE
elia has quit [Quit: Computer has gone to sleep.]
<yxhuvud> at least we can do things like that without killing access, since our db is append-only so when a part is closed, then it won't be touched by the traffic flow
wallerdev has quit [Quit: wallerdev]
<yorickpeterse> our DB is read-only for our web facing stuff
<jperry> is ruby gems down right now? I'm experiencing some latency running bundle update
<yorickpeterse> but that doesn't matter if the DB itself is fucked
pr0ton has joined #ruby-lang
<yorickpeterse> jperry: nope, don't think so: http://status.rubygems.org/
esad has joined #ruby-lang
<jperry> yorickpeterse: thx, strange that it's hanging for me
ebouchut has joined #ruby-lang
leekiernan has joined #ruby-lang
<yxhuvud> we are lacking a proper session database though. I hope that problem will be solved soon.
<yorickpeterse> we use MySQL (on RDS) for that luckily
<yorickpeterse> I waaaant postgresql so bad
<yorickpeterse> but RDS doesn't do it :<
zavier has quit [Quit: WeeChat 0.4.0]
* apeiros wants pg too
<apeiros> fuck oracle
zavier has joined #ruby-lang
<yxhuvud> amen re postgres.
<yorickpeterse> eerrr wait, I think we use Memcached for user sessions
<yorickpeterse> mysql just contains some users, contracts, the boring stuff
<apeiros> didn't mysql coders show how you could do what memcached does, but quite a bit faster, with mysql?
<yorickpeterse> unsure
<yorickpeterse> Though unless you use BLACKHOLE as a storage engine I doubt MySQL is faster than Memcached
<apeiros> not sure either, since I'm not a mysql fan nor user
<apeiros> but I thought I had read something
<apeiros> BLACKHOLE synonymous for /dev/null?
elia has joined #ruby-lang
<yorickpeterse> yeah
<apeiros> heh
<apeiros> no, I think they used a "NOSQL"-type storage
<yorickpeterse> god knows why you'd want to use that other than to fuck over people on a Friday
<apeiros> april 1st?
<rue> It seems unlikely that they could optimize it better than memcached does
<yorickpeterse> In unrelated news, it's sad how sleep() is actually a proper solution for APIs pooping themselves
<apeiros> sleep? as in unistd sleep?
elia has quit [Client Quit]
<apeiros> which can only sleep at least 1s?
<whitequark> what?
<whitequark> man usleep
<yorickpeterse> no, ruby sleep()
<yorickpeterse> and yes, 1 sec is enough
<apeiros> ah, ok. ruby sleep knows floats
<yorickpeterse> >> sleep(1) # webscale
<eval-in> yorickpeterse => 1 (https://eval.in/44767)
workmad3 has joined #ruby-lang
<whitequark> >> sleep(1e10)
<eval-in> whitequark => 10000000000.000000 out of Time range (RangeError) ... (https://eval.in/44769)
pr0ton has quit [Ping timeout: 261 seconds]
<whitequark> >> sleep(1e5)
<eval-in> whitequark => (https://eval.in/44770)
<whitequark> ha.
ebouchut has quit [Quit: This computer has gone to sleep]
<yorickpeterse> AWWWW HECK YEAH
<yxhuvud> :D
<yorickpeterse> seems my sleep() is finally preventing this API from pooping itself
<yorickpeterse> Now I just need to wait....
<yorickpeterse> >> (505 * 5) / 60
<eval-in> yorickpeterse => 42 (https://eval.in/44771)
<yorickpeterse> that many minutes
<yorickpeterse> fuck me :<
wallerdev has joined #ruby-lang
<yorickpeterse> I should've tmuxed this shell
marr has joined #ruby-lang
<apeiros> whitequark: how's foundry going?
<yorickpeterse> >> (446 * 3) / 60
<eval-in> yorickpeterse => 22 (https://eval.in/44772)
<yorickpeterse> better
<yorickpeterse> that I can live with
<whitequark> apeiros: very well, I'll show something very interesting in a few days.
esad has quit [Read error: Connection reset by peer]
<apeiros> cool
ebouchut has joined #ruby-lang
wmoxam has quit [Ping timeout: 264 seconds]
<hahuang65> anyway I can strip the subseconds from a Time object?
<yorickpeterse> You'd have to explicitly state them when using Time.new
<yorickpeterse> >> Time.new(2013, 8, 23, 0, 0, 0, 0).to_f
<eval-in> yorickpeterse => 1377216000.0 (https://eval.in/44773)
<yorickpeterse> >> Time.new(2013, 8, 23, 0, 0, 0, 10).to_f
<eval-in> yorickpeterse => 1377215990.0 (https://eval.in/44774)
<yorickpeterse> hm
<yorickpeterse> >> Time.method(:initialize).parameters
<eval-in> yorickpeterse => [[:rest]] (https://eval.in/44775)
<yorickpeterse> ....
<yorickpeterse> I forgot, that's a C method
<yorickpeterse> fucking MRI
<yorickpeterse> either way, Time.new is your friend
<rue> Doesn’t just #to_i work?
<yorickpeterse> might lead to rounding issues
<yorickpeterse> hm no, seems #to_i always rounds it down
<apeiros> well, if you want explicit rounding: to_f.[round,floor,ceil]
<apeiros> and if you want a Time instance again: Time.at(time.to_i)
kurko_ has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lfox has quit [Quit: ZZZzzz…]
lfox has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kurko_ has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
MaddinXx_ has quit [Remote host closed the connection]
leekiernan has quit [Ping timeout: 245 seconds]
benanne has joined #ruby-lang
gregmoreno has joined #ruby-lang
kurko_ has joined #ruby-lang
Ch00k has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Squarepy has quit [Quit: Leaving]
iliketur_ has quit [Quit: zzzzz…..]
kurko_ has quit [Ping timeout: 256 seconds]
mbj has quit [Ping timeout: 276 seconds]
kurko_ has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
__butch__ has joined #ruby-lang
architbaweja has joined #ruby-lang
kurko_ has quit [Ping timeout: 240 seconds]
srji_ has quit [Quit: leaving]
kurko_ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
pizdets has quit [Read error: Connection reset by peer]
kurko_ has quit [Ping timeout: 260 seconds]
pizdets has joined #ruby-lang
musl has quit [Quit: WeeChat 0.4.1]
pr0ton has joined #ruby-lang
kurko_ has joined #ruby-lang
ebouchut has quit [Quit: This computer has gone to sleep]
iliketur_ has joined #ruby-lang
Ch00k has quit [Quit: Ch00k]
yfeldblum has quit [Ping timeout: 245 seconds]
pskosinski has joined #ruby-lang
kurko_ has quit [Ping timeout: 264 seconds]
glenn_ritz has joined #ruby-lang
lfox has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
ebouchut has joined #ruby-lang
madgen has joined #ruby-lang
ebouchut has quit [Client Quit]
mistym has quit [Remote host closed the connection]
vsevolod has joined #ruby-lang
vsevolod has quit [Client Quit]
vsevolod has joined #ruby-lang
Nisstyre has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 248 seconds]
pipework has quit [Remote host closed the connection]
arooni-mobile has quit [Read error: Operation timed out]
madgen has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
ebouchut has joined #ruby-lang
musl has joined #ruby-lang
ebouchut has quit [Client Quit]
glenn_ritz has quit [Remote host closed the connection]
GeissT has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
architbaweja has quit [Quit: This computer has gone to sleep]
richardburton has joined #ruby-lang
kurko_ has quit [Client Quit]
tbuehlmann has quit [Remote host closed the connection]
elia has joined #ruby-lang
arooni-mobile has joined #ruby-lang
pr0ton has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
beerdy has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
beerdy has quit [Client Quit]
anonymuse has joined #ruby-lang
verto has joined #ruby-lang
madgen has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
richardburton has joined #ruby-lang
nwalls has quit [Quit: nwalls]
MaddinXx has joined #ruby-lang
<dominikh> erikh: haha
pr0ton has joined #ruby-lang
yalue has quit [Quit: Leaving]
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<yorickpeterse> 23:10
<yorickpeterse> still at work
<yorickpeterse> at least I'm home
umgrossco has quit [Quit: Nettalk6 - www.ntalk.de]
vlad_starkov has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
brianpWins has quit [Quit: brianpWins]
vsevolod has quit [Quit: Leaving]
lfox has quit [Quit: ZZZzzz…]
vsevolod has joined #ruby-lang
mistym has joined #ruby-lang
duggiefresh_ has quit [Quit: duggiefresh_]
duggiefresh has joined #ruby-lang
vlad_starkov has joined #ruby-lang
w00x has quit [Ping timeout: 260 seconds]
duggiefresh is now known as Guest86705
jvrmaia has quit [Quit: Leaving]
ssb123 has quit [Remote host closed the connection]
s0ber_ has joined #ruby-lang
Guest86705 has quit [Client Quit]
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
brianpWins has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
ssb123 has joined #ruby-lang
lfox has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
joshuairl has quit [Quit: joshuairl]
wallerdev has quit [Quit: wallerdev]
geopet has quit [Read error: Connection reset by peer]
vsevolod has quit [Ping timeout: 248 seconds]
geopet has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
<yorickpeterse> MY MIGRATION IS FINALLY DONE
<yorickpeterse> FOR FUCKS SAKE THAT TOOK TOO LONG
<chris2> to?
<chris2> oh, db stuff
<yorickpeterse> data migration of around 500 customers
<yorickpeterse> lots of boring verification work, tweaking, re-running, etc
<chris2> i see
pr0ton has quit [Quit: pr0ton]
richardburton has quit [Quit: Leaving.]
pr0ton has joined #ruby-lang
pkrnj has joined #ruby-lang
pr0ton has quit [Client Quit]
pr0ton has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
pr0ton has quit [Client Quit]
pr0ton has joined #ruby-lang
pr0ton has quit [Client Quit]
richardburton has joined #ruby-lang
killtheliterate is now known as killthe|afk
rwk1 has joined #ruby-lang
jsullivandigs has joined #ruby-lang
pipework has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
cirenyc has joined #ruby-lang
verto has quit [Quit: Textual IRC Client: www.textualapp.com]
pr0ton has joined #ruby-lang
io_syl has quit [Quit: io_syl]
duggiefresh_ has joined #ruby-lang
madgen has quit [Ping timeout: 240 seconds]
bungoman has quit [Ping timeout: 276 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby-lang
dominikh has quit [Remote host closed the connection]
dominikh has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
duggiefresh_ has quit [Quit: duggiefresh_]
mbj has joined #ruby-lang
madgen has joined #ruby-lang
arooni-mobile has quit [Read error: Connection reset by peer]
pskosinski has quit [Quit: Til rivido Idisti!]
mmorga has quit [Read error: Operation timed out]
madgen has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
nathanstitt has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
rwk1 has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
wallerdev has joined #ruby-lang
kstuart has quit [Ping timeout: 245 seconds]
pr0ton has joined #ruby-lang
Nisstyre has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
arooni-mobile has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
__butch__ has quit [Quit: Leaving.]
mdedetrich has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 248 seconds]
elia has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Quit: I growing sleepy]
geopet has quit [Quit: geopet]
rwk1 has joined #ruby-lang
rwk1 has quit [Ping timeout: 245 seconds]
ssb123 has joined #ruby-lang
io_syl has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
_jpb_ has joined #ruby-lang
pr0ton has joined #ruby-lang
infecto has joined #ruby-lang
<infecto> what does pay look like for entry level web developers in the Bay Area?
richardburton has joined #ruby-lang
<whitequark> it's crispy and green
retro|cz has joined #ruby-lang
nathanstitt has joined #ruby-lang
<lianj> whitequark: no its not
<lianj> oh the payment. yea, maybe. but not the weather
<drbrain> if you want reliable green, try Portland, Seattle, Vancouver
MaddinXx has quit [Remote host closed the connection]
Forgetful_Lion has joined #ruby-lang
realDAB has joined #ruby-lang
rwk1 has joined #ruby-lang
realDAB has quit [Client Quit]
<pipework> Mmm, Portland.
vlad_starkov has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 264 seconds]
leekiernan has joined #ruby-lang
soypirate has joined #ruby-lang
sonicpond has left #ruby-lang [#ruby-lang]
jp- has joined #ruby-lang
x0f_ has quit [Read error: Operation timed out]
rsl has quit [Ping timeout: 240 seconds]
pipework has quit [Remote host closed the connection]