<jrobeson>
which means the same for firefox also i imagine
<jrobeson>
and i was hoping for web notifications with libnotify there for real
kgrz has quit [Remote host closed the connection]
sevvie has joined #ruby-lang
<yorickpeterse>
yup
<yorickpeterse>
"hurrdurrr doesn't work on every platform, fix it yourself"
sevvie has quit [Ping timeout: 252 seconds]
<jrobeson>
:(
julweber has joined #ruby-lang
julweber has quit [Client Quit]
julweber has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
<yorickpeterse>
well, guess it's back to Mutt
<yorickpeterse>
(lol I'd rather eat my shoe)
ecnalyr has joined #ruby-lang
<gnufied>
ok
jxie has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
loincloth has joined #ruby-lang
<yorickpeterse>
I wouldn't mind it if it would at least look the same or would be in the same position but you can't change any of that by the looks of it
<jrobeson>
and i thought i had it bad with skype's ugly notifications
<yorickpeterse>
jrobeson: what's probably the most annoying is that the new notification stuff looks super out of place
<yorickpeterse>
Skype is terrible on Linux
<yorickpeterse>
in every way, not just notifications
<yorickpeterse>
in unrelated news, does anybody know if MySQL likes it when you wrap 320k UPDATE queries in a transaction?
<yorickpeterse>
or ActiveRecord for that matter
loincloth has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
Coincide_ has quit [Remote host closed the connection]
toretore has joined #ruby-lang
Domon has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Domon has joined #ruby-lang
<ndrst>
is mysql transaction safe?
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
<gnufied>
it should
<gnufied>
although each update implicitly locks the row
<gnufied>
so you are probably locking lot of rows
<gnufied>
and not sure if it bulk update or posts.each {|post| post.update() } kind of deal
<gnufied>
if someone is doing later you are obviously fucked
Domon has quit [Ping timeout: 252 seconds]
retro|cz has quit [Ping timeout: 264 seconds]
skmp has joined #ruby-lang
sevvie has joined #ruby-lang
Domon has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
mbj has joined #ruby-lang
sniffingcats has joined #ruby-lang
sevvie has quit [Ping timeout: 276 seconds]
arope28 has joined #ruby-lang
minivan has joined #ruby-lang
julweber has quit [Remote host closed the connection]
ruby-lang796 has joined #ruby-lang
bastilian has joined #ruby-lang
Pupeno has quit [Ping timeout: 260 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
ruby-lang796 has quit [Ping timeout: 250 seconds]
Domon has quit [Ping timeout: 248 seconds]
julweber has joined #ruby-lang
jiuweigui has joined #ruby-lang
<ecnalyr>
What is this operator called in Ruby: << ? When I try to look it up, I get "bitwise binary left shift operator" but that does not match up with how I actually use the operator. (I use it to put whatever is to the right of the operator into the object that is to the left of the operator) Is it called an 'assignment' operator? If so, I am assuming it is short for "<<=" how does Ruby know I want to use assignment over b
<ecnalyr>
itwise?
vlad_starkov has quit [Remote host closed the connection]
<gnufied>
<< is a method. its meaning depends on receiever
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
pretty clever though
<bf4>
yes?
<yorickpeterse>
"To check it I modified the Makefile to run Sprockets and performed simple benchmark. I ran both versions in the clean environment 50 times and took an average. "
<yorickpeterse>
Only 50 times?
<yorickpeterse>
Ugh
<yorickpeterse>
that's like....no benchmark
tubbo has quit [Ping timeout: 276 seconds]
<yorickpeterse>
"Comments in CoffeeScript files don't work either, because they are treated as directives for the preprocessor and are reported as errors. At Arkency we rarely use comments in the code - we believe that the code should be always readable without needing additional explanation in the comment. It isn't an issue if you do the same."
<yorickpeterse>
HAHAHA
<yorickpeterse>
There's the moneyshot
<hakunin>
naquad: have you looked at sunzi?
<yorickpeterse>
I wonder if Rails would be as popular if it had 0 comments
<yorickpeterse>
(hint: no)
bf4 is now known as jebus
jebus is now known as im_jebus
<naquad>
hakunin, didn't see it, but it looks like it doesn't fit. i need a "clumzy ruby dsl"
banisterfiend has quit [Quit: Computer has gone to sleep.]
<hakunin>
naquad: ah, this is just bash scripts. for dsl, take a look at sprinkle
<naquad>
hakunin, seen that, it is declarative and that doesn't fit
<hakunin>
naquad: then you could actually do fine with net-ssh, i used it directly and it's not bad
<naquad>
hakunin, it is bad. interface is too low-level. atm doing wrapper
cschneid has quit [Ping timeout: 259 seconds]
<hakunin>
naquad: if all you need is wrapped ssh commands, haven't seen stuff like that, so you're probably doing the right thing
schaerli has joined #ruby-lang
<hakunin>
Is it possible to create hash with default and some values in a single step? So I can just SOME_CONST = … (hash with default block and values)
<hakunin>
i guess it is if i will lookup a second hash inside my block that is in another const
<naquad>
Hash.new(0).update(...) ?
iliketurtles has quit [Quit: zzzzz…..]
julweber has quit [Remote host closed the connection]
<naquad>
hakunin, ^^
<hakunin>
naquad: need block, so Hash.new{ … }.update(…)
<hakunin>
naquad: seems fine
<naquad>
well yeah
<hakunin>
thx
<naquad>
yw
bastilian has joined #ruby-lang
cschneid has joined #ruby-lang
postmodern has joined #ruby-lang
skade has joined #ruby-lang
vlad_starkov has joined #ruby-lang
banisterfiend has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
sevvie has joined #ruby-lang
banisterfiend has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
scampbell has joined #ruby-lang
banisterfiend has joined #ruby-lang
banisterfiend has quit [Client Quit]
gix has quit [Read error: Connection reset by peer]
gix has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
im_jebus has quit [Ping timeout: 256 seconds]
nneko001__ has quit [Quit: Konversation terminated!]
Nisstyre-laptop has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
cstrahan has quit [Read error: Connection reset by peer]
cstrahan has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Kabaka has joined #ruby-lang
benlovell has joined #ruby-lang
tylersmith has quit [Read error: Connection reset by peer]
fragamus has joined #ruby-lang
tylersmith has joined #ruby-lang
imperator2 has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
skade has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
Guest36090 has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
alekst has quit [Quit: Leaving...]
fcahoon has joined #ruby-lang
Bosox20051 has quit [Remote host closed the connection]
fcahoon has quit [Client Quit]
<ljarvis>
I think your run method is 45 lines too long
<imperator2>
man the Dir.glob method prototype is screwy
vbatts|work has joined #ruby-lang
ecnalyr has joined #ruby-lang
tubbo has joined #ruby-lang
tdm00 has quit [Quit: Make like a banana and split!]
Teddy2steper has quit [Remote host closed the connection]
MaddinXx has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
havenwood has joined #ruby-lang
im_jebus has joined #ruby-lang
zmike123 has quit [Quit: ~]
headius has quit [Ping timeout: 276 seconds]
havenwood has quit [Ping timeout: 248 seconds]
havenn has joined #ruby-lang
kazuuu has quit [Remote host closed the connection]
kazuuu has joined #ruby-lang
havenn has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
kazuuu has joined #ruby-lang
eugenejen has quit [Read error: Operation timed out]
solars has joined #ruby-lang
tubbo has quit [Remote host closed the connection]
tubbo has joined #ruby-lang
iliketurtles has joined #ruby-lang
eugenejen has joined #ruby-lang
kazuuu has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 245 seconds]
stamina has quit [Ping timeout: 240 seconds]
<maloik>
back up and running with Mavericks
<maloik>
mostly \o
<maloik>
and switched to vim a second time, this time without installing sublime at all
<maloik>
eager to see what happens
ddfreyne has quit [Ping timeout: 248 seconds]
<maloik>
(my prediction: I'll crash and burn)
elia has joined #ruby-lang
julweber has joined #ruby-lang
ddfreyne has joined #ruby-lang
sevvie has quit [Ping timeout: 276 seconds]
julweber has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hashkey has quit [Quit: Leaving]
<naquad>
ljarvis, it is quiet complex indeed, but i didn't make up anything better. refactoring it to couple of separate methods won't change much
flip_digits has quit [Remote host closed the connection]
<erikh>
use what you're most productive in
<erikh>
there's no penis points for using vim
<erikh>
and anyone that says otherwise probably isn't very good at their job
ecnalyr has quit [Remote host closed the connection]
sevvie has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
<rue>
You were cheated…
<erikh>
(I am most productive in vim.)
<rue>
What? I got 8 penis points and 7 vagina points for using vim
<erikh>
rue: you can redeem those on hacker news I hear
minivan has joined #ruby-lang
<erikh>
.... but I also used emacs for a long time too.
<naquad>
problem of vim is that you can't escape from it after you've used to it :(
<erikh>
naquad: indeed
<rue>
I should actually learn to use it one of these days
<rue>
Just recently have I started really utilizing quickfix, for example…
<erikh>
not sure what quickfix is
<rue>
Elucidation!
bzalasky_ has quit [Remote host closed the connection]
<erikh>
ah, doing stock work?
<erikh>
raggi was doing some of that a few years ago
pellenation has joined #ruby-lang
<erikh>
high traffic bidder stuff
<rue>
erikh: No, Vim quickfix. Do e.g. :Ggrep foobar and then :cope
<erikh>
hmm
imperator2 has quit [Ping timeout: 246 seconds]
MaddinXx has quit [Remote host closed the connection]
<rue>
Or more usefully, :Ggrep '<<<<<'
<erikh>
oh
<erikh>
OH
Cakey has quit [Ping timeout: 264 seconds]
<erikh>
the line oriented thing that pops up when I do ack/make/etc
<erikh>
that thing
richardburton has quit [Quit: Leaving.]
workmad3 has joined #ruby-lang
bzalasky has joined #ruby-lang
<naquad>
is there some kind of lazy evaluator in standard library?
<naquad>
kind of LazyEval.new { some_value } and when this object is getting method call block is evaluated (once), but not before
<erikh>
Enumerator::Lazy IIRC
<erikh>
but .. that's for enumerators of course
<erikh>
otherwise you can probably just do it with a lambda
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
<naquad>
i would unless i would have Delegator :)
retro|cz has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
<rue>
erikh: Yep, if you’re scripted for that
richardburton has joined #ruby-lang
stamina has joined #ruby-lang
<ljarvis>
erikh> there's no penis points for using vim
<ljarvis>
lie
<yorickpeterse>
there's not?
<yorickpeterse>
My life has been a lie
<yorickpeterse>
I thought Vim would make my code look "sexy" and get me mad reps at the gym
thepumpkin has quit [Ping timeout: 260 seconds]
thepumpkin has joined #ruby-lang
tubbo has quit [Ping timeout: 276 seconds]
tubbo has joined #ruby-lang
tharindu has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby-lang
Boohbah has quit [Ping timeout: 240 seconds]
<erikh>
rue: yeah, never used it by hand
Coincidental has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
kurko_ has quit [Ping timeout: 264 seconds]
kurko_ has joined #ruby-lang
<imperator>
erikh, do you even vim bro?
banisterfiend has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
<erikh>
I do
<erikh>
bro
metus_violarium has quit [Quit: Konversation terminated!]
skade has quit [Quit: Computer has gone to sleep.]
<erikh>
rue: thanks for the lernin', sir
<erikh>
I will use this for great justic
<erikh>
e
vbatts|work has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
jonahR has quit [Quit: jonahR]
<maloik>
ljarvis: gotten a reply yet ?
havenwood has quit [Read error: Connection reset by peer]
solars has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby-lang
NemesisD has joined #ruby-lang
minivan has quit [Ping timeout: 248 seconds]
<NemesisD>
hey guys. i've been tasked with writing a daemon that sits on a rabbitmq queue and acts on messages
tsou has joined #ruby-lang
<NemesisD>
is it reasonable just to have one process that shuts down cleanly via signals and then monitor it with a process monitor or should it fork a child process to run the main loop and have the parent supervise/restart the child process
<erikh>
well
<erikh>
can you use runit?
<erikh>
if so, I'd recommend staying in the foreground
<erikh>
and let ruby handle the standard signals
<erikh>
unless you need to do cleanup
<NemesisD>
erikh: yeah thats what i meant. closing the rabbitmq connection is preferable
<erikh>
at_exit { }
<erikh>
I think it's documented on Kernel
<NemesisD>
sure, i can do that
<erikh>
so, runit can supervise foreground processes
richardburton has joined #ruby-lang
<erikh>
it's very good at doing so
<erikh>
if you want to invest the time to set that up, I strongly recommend that route for the simplest approach
<apeiros>
I'm never sure whether I should read r-unit or run-it
<erikh>
heh
<erikh>
runit hasn't been around... for a long time now
<apeiros>
I hate those "punch a couple of words together with no discernible boundaries"
<erikh>
it was the precursor to test-unit IIRC
<apeiros>
test-unit? I only know tunit
<NemesisD>
runit's documentation is not terribly friendly
<erikh>
apeiros: heh
nofxx has joined #ruby-lang
<yxhuvud>
apeiros: it is a standard feature of the language to clobber words together here in sweden. It usually works very well (ie words like ombudsman and smörgåsbord), but there are a few funny examples of words that end up their own antiform, depending on which way you parse it
<yorickpeterse>
there's some minor differences if you look carefullyt
<yorickpeterse>
* carefully
znz_jp has joined #ruby-lang
<andrewvos>
hehe
<andrewvos>
slight
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
Coincidental has quit [Ping timeout: 245 seconds]
<yorickpeterse>
btw most themes won't even look close to what gvim/macvim would show
<yorickpeterse>
since it's pretty darn hard to get them to work nicely in the terminal
<yorickpeterse>
I just spent a shitload of time on it and used some app to convert colours
vlad_starkov has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
<andrewvos>
cs-approx?
<yorickpeterse>
eh?
ruby-lang602 has quit [Ping timeout: 250 seconds]
<andrewvos>
It's a vim plugin that approximates the colours
<yorickpeterse>
oh, no
<yorickpeterse>
I used some web app
anonymuse has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
benlovell has joined #ruby-lang
CoreData has quit [Quit: CoreData]
yfeldblum has quit [Ping timeout: 248 seconds]
<yorickpeterse>
off to bed, toodles
Darkchaos2 has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 248 seconds]
<erikh>
vim-gnome is best
<erikh>
or vim-full
<andrewvos>
erikh: What's the difference?
<erikh>
moar
<andrewvos>
I mean, between vim and those
<erikh>
moar stuff
<andrewvos>
oh ok heh
<erikh>
oh and graphical support
<andrewvos>
I want it to run in gnome-terminal though
<erikh>
oh, then vim-nox
<andrewvos>
Ah ok
<erikh>
as you already mentioned
<andrewvos>
kk
<andrewvos>
Thanks
<andrewvos>
God I hope this dropbox install doesn't fail me
<erikh>
it was good the last time I tried it
<erikh>
which was about a month ago
yfeldblum has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
kurko_ has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
hashkey has joined #ruby-lang
im_jebus has joined #ruby-lang
<andrewvos>
sweet
<erikh>
you'll run the installer which pulls down a deb which installs that deb and restarts nautilus
<erikh>
IIRC
<andrewvos>
For DB?
<erikh>
then a silly little icon will appear just like on your mac
<erikh>
yes
<andrewvos>
yeah
workmad3 is now known as wm3|zzz
<andrewvos>
Problem is I'm copying the files myself
<andrewvos>
Using a flash drive
<erikh>
then stop doing tht
<andrewvos>
why?
kurko_ has joined #ruby-lang
<andrewvos>
apparently that works
<erikh>
ok
<erikh>
then keep doing that
<andrewvos>
hehe
pabs has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 264 seconds]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 276 seconds]
toretore has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
skade has quit [Quit: Computer has gone to sleep.]
bantic has quit [Quit: bantic]
robbyoconnor has quit [Ping timeout: 240 seconds]
jxie has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
jxie has joined #ruby-lang
<naquad>
https://gist.github.com/6678265 - is it very bad? trying to make a dsl. actual method (distro :name do ... end) will be linked to Distro.create
headius has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
x0f has joined #ruby-lang
<andrewvos>
man bundler is slwo
<andrewvos>
(yes I installed pre)
x0f_ has quit [Ping timeout: 240 seconds]
cstrahan has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
hashkey has quit [Read error: Connection reset by peer]
Guest11162 has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
cads has quit [Ping timeout: 252 seconds]
hhatch has quit [Ping timeout: 245 seconds]
tylersmith has quit [Remote host closed the connection]
julweber has joined #ruby-lang
bastilian has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby-lang
hashkey has joined #ruby-lang
Guest11162 has quit [Quit: Leaving]
lfox has quit [Quit: ZZZzzz…]
tylersmith has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby-lang
a1ph4g33k has quit [Quit: Leaving]
arope28 has joined #ruby-lang
CoreData has joined #ruby-lang
<andrewvos>
The hell how do you install themes in gnome terminal arGHGHGGHGGGG