JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anonymuse has joined #ruby-lang
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
torrieri has quit [Quit: Leaving...]
amerine has joined #ruby-lang
tanema has joined #ruby-lang
<jroes>
ugh
joshuawscott has joined #ruby-lang
<jroes>
I don't understand why every ruby debugger I use seems to have confusing `next` behavior
<jroes>
if I run next, it should just execute the current line and move to the next line, equivalent to "step over", right? somehow I end up deep down in the stack somewhere in the middle of a method every time
<jroes>
always seems to be ActiveRecord association code, so maybe I shouldn't be surprised
hahuang65 has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
D9 has joined #ruby-lang
imperator has quit [Quit: Valete!]
anonymuse has quit [Remote host closed the connection]
scottschecter has joined #ruby-lang
iliketurtles has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
mootpointer has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
botorosa has joined #ruby-lang
sadwork has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
shinnya has quit [Ping timeout: 240 seconds]
jxie has quit [Quit: leaving]
jxie has joined #ruby-lang
mootpointer has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
Domon has quit [Ping timeout: 246 seconds]
rickhull has quit [Quit: Leaving.]
cads has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
krohrbaugh has quit [Quit: Leaving.]
ssb123 has quit [Remote host closed the connection]
hashkey is now known as YourMom
YourMom is now known as hashkey
tanema has quit [Remote host closed the connection]
rikai_ has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 256 seconds]
tomzx_mac_ has joined #ruby-lang
towski has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
iliketurtles has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby-lang
iliketurtles has joined #ruby-lang
mootpointer has quit [Quit: Computer has gone to sleep.]
jwoods has joined #ruby-lang
zorg24 has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Domon has joined #ruby-lang
ilyam has joined #ruby-lang
ryez has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
rickhull has joined #ruby-lang
bradsmith has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
ryez_ has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
botorosa has quit [Ping timeout: 250 seconds]
Domon has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
ryez_ has quit [Ping timeout: 250 seconds]
gja has joined #ruby-lang
mikewazowski has joined #ruby-lang
mikewazowski has quit [Client Quit]
superfred has joined #ruby-lang
Domon has joined #ruby-lang
superfred has quit [Read error: No route to host]
superfred has joined #ruby-lang
towski has quit [Remote host closed the connection]
rue has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
towski has joined #ruby-lang
Domon has joined #ruby-lang
rue has joined #ruby-lang
thmzlt has joined #ruby-lang
iliketurtles has joined #ruby-lang
Domon has quit [Ping timeout: 264 seconds]
dingus_khan has joined #ruby-lang
iliketurtles has quit [Client Quit]
axsuul has joined #ruby-lang
mistym has joined #ruby-lang
fosky has quit [Ping timeout: 276 seconds]
tanema has joined #ruby-lang
tanema has quit [Ping timeout: 276 seconds]
gja has quit [Ping timeout: 264 seconds]
ssb123 has joined #ruby-lang
bradsmith has quit [Remote host closed the connection]
tomzx_mac_ has quit [Ping timeout: 240 seconds]
jwoods has quit [Quit: Leaving.]
foobarbaz has joined #ruby-lang
arBmind has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
foobarbaz has quit [Excess Flood]
jonahR has joined #ruby-lang
vlad_starkov has joined #ruby-lang
axsuul has quit [Ping timeout: 264 seconds]
nneko001__ has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
joshuawscott has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby-lang
Domon has joined #ruby-lang
workmad3 has joined #ruby-lang
hashkey has quit [Ping timeout: 246 seconds]
joshuawscott has joined #ruby-lang
macmartine has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
<Nilium>
1) that would be using exceptions for flow control, which is bad. 2) throw can match a specific, tagged catch block (or vice versa, I guess) and is not for exception handling.
<yorickpeterse>
when thrown it will not process any child nodes
<yorickpeterse>
Do note that throw/catch bubbles up, no matter how many times you nested a `catch`
<Nilium>
I was going to say something but forgot. Anyway, read the documentation for throw and catch.
brushbox has quit [Quit: Leaving.]
brushbox has joined #ruby-lang
<yorickpeterse>
"Dudes. Summer stock in New Hampshire has been a fucking blast. We are running The Sound of Music right now and my part is easy as shit. It's a two hour show and I'm"
<yorickpeterse>
lol social media APIs
<Nilium>
O_o
<Nilium>
I feel like those two messages had nothing in common.
sjltaylor has joined #ruby-lang
<yorickpeterse>
it's from an API we're testing out
<yorickpeterse>
it's supposed to return social media stuff
<yorickpeterse>
but it just spits out random blags
<Nilium>
Ah.
<yorickpeterse>
plus these fuckers use redirect URLs instead of the actual source URLs
<Nilium>
Just ship it like that. Let users press a button and it generates their life events for them.
<yorickpeterse>
Ah, blogs are apparently considered to be social media too
<Nilium>
Just had a looking for glasses while wearing them sort of moment
<yorickpeterse>
haha, they parse Reddit too
<yorickpeterse>
and they consider it a microblog
<yorickpeterse>
riiiight
<andrewvos>
Can I return a value inside a catch?
<andrewvos>
Doesn't seem to be working
<yorickpeterse>
andrewvos: yes
<yorickpeterse>
but you have to `throw` it too
<yorickpeterse>
sec
<Nilium>
andrewvos: catch returns either the thrown value or the value of the last expression
<Nilium>
Again, see the docs
<yorickpeterse>
>> number = catch(:derp); throw :derp, 10; end; p number
<yorickpeterse>
apparently Facebook is also a microblog
<yorickpeterse>
this is going to be fun
<Nilium>
I thought it was just where people posted pictures of themselves drinking and political rants without any factual basis
<yorickpeterse>
"My story this week. Now I don't consider myself racist however working in hotels has made me feel a bit more anger towards East Indian travelers. They are the worst type of people to deal with and try and accommodate as they are never satisfied and"
<yorickpeterse>
oh boy
<andrewvos>
Umm uncaught throw
<andrewvos>
FFS
<andrewvos>
this is fucking bullshit
<yorickpeterse>
lrn2ruby
richardburton has quit [Ping timeout: 240 seconds]
relix has quit [Read error: Connection reset by peer]
brushbox has quit [Quit: Leaving.]
<andrewvos>
Why am I randomly getting uncaught throw now
<Nilium>
andrewvos: Really, _read_ _the_ _docs_
<andrewvos>
This is so fucking weird
<yorickpeterse>
andrewvos: or you know, paste some code you slacker
brushbox has joined #ruby-lang
<andrewvos>
I am too lazy
<maloik>
feeling the love <3
<maloik>
(but theyre right, paste some code, damnit! :-))
* Nilium
has a burning hatred of those who shun the documentation
<Nilium>
The docs wish only to love you and occasionally make you feel like an idiot, and yet so few people ever touch them.
<maloik>
colleague explaining why we proposed a full rewrite of an old 1.8.7 / rails 2.3 app on the phone
<maloik>
that's a call I would not like to take
<Nilium>
O_o
<andrewvos>
maloik: Why the hell wouldn't you?
<andrewvos>
maloik: I mean why the hell wouldn't you rewrite
<maloik>
because non technical people never get that stuff
<maloik>
because it's for a client ?
<Nilium>
What was the alternative?
<yorickpeterse>
do it in Go
<maloik>
the alternative is telling them we won't work on the project anymore
<Nilium>
Then do that.
<andrewvos>
yorickpeterse: I second that
<yorickpeterse>
Ok, 2 more Rollbar projects to go
<maloik>
it's not a bad project to work on
<yorickpeterse>
LERRROOOOOOY
<maloik>
(if we can rewrite it)
<maloik>
but it has to match their budget of course, we're not doing that shit for free :D
hashkey_ has joined #ruby-lang
<Nilium>
Well, charge more than you'd charge if you were already charging more than you'd think it's worth.
<yorickpeterse>
maloik: you can also use Rails 2 LTS
hashkey has quit [Killed (adams.freenode.net (Nickname regained by services))]
hashkey_ is now known as hashkey
<yorickpeterse>
lololol
Pupeno has joined #ruby-lang
<maloik>
yorickpeterse: technically, yea
<maloik>
but fuck no :-)
<yorickpeterse>
Solution for using outdated tech? ENTERPRISE SUPPORT!
hashkey has quit [Client Quit]
<Nilium>
EXTEND IT ALL THE YEARS FOR THE STUPID PEOPLE
<maloik>
also, it's a super old project which we didn't start ourselves, it has far too much ajax, and a ton of prototype still mixed in
<Nilium>
Is it docume- of course not, nevermind.
<maloik>
it has a readme file
<maloik>
"use this document to docum-" fuck that shit
<Nilium>
"it has a readme file but 600 characters in it's just 'fuck' repeated 1024 times"
<andrewvos>
Ok I got throw catch working
<andrewvos>
I used brute force to work out how it works
<andrewvos>
Instead of reading the docs
<maloik>
haha :D
* Nilium
punches andrewvos
<andrewvos>
Because I am too hungover to read the docs
toretore has joined #ruby-lang
<Nilium>
You are the worst person
* andrewvos
ducks and rips off Niliums ballsack
<Nilium>
Which one? The elbow one?
<andrewvos>
you have an elbow balsack?
joonty has quit [Quit: WeeChat 0.4.1]
<Nilium>
Hey, I don't like to mention my ballsacks.
<Nilium>
But you brought 'em up, so I need to know which one's missing now.
relix has joined #ruby-lang
retro|cz has joined #ruby-lang
gja has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
<maloik>
reminds me of hugh jackman in that one movie with the name I cant come up with
<maloik>
he had chinballs
vlad_starkov has quit [Remote host closed the connection]
* yorickpeterse
slaps andrewvos a few times
relix has quit [Client Quit]
relix has joined #ruby-lang
<andrewvos>
I need painkillers
<andrewvos>
my head hurts a lot
<yorickpeterse>
stop being a wuss
<yorickpeterse>
or get some tea ya fake brit
<andrewvos>
oh bloody ell that's a great idea
* yorickpeterse
has tea every morning
<yorickpeterse>
and afternoon
<yorickpeterse>
...and evening
<Nilium>
And in between at 10 minute intervals
<andrewvos>
Probably some posh type of tea like a prat
<yorickpeterse>
Usually an hour or 2 between a pot
<yorickpeterse>
andrewvos: at work we have fucktons of Japanese tea and all that crazy shit, but I usually only drink black tea
<yorickpeterse>
or earl grey
<Nilium>
Sounds like my relationship with coffee when I was a student
<yorickpeterse>
I can't stand coffee
<yorickpeterse>
the smell alone makes me puke
<yorickpeterse>
is too stronk
benlovell has joined #ruby-lang
<chris2>
wuss :P
<yorickpeterse>
also wow, I sent some feedback to Rollbar using their in-app form and they actually replied
<Nilium>
Would've continued that relationship but I threw away my drip coffee machine when I moved 'cause it wouldn't fit in the car.
<yorickpeterse>
that's like, the first time that ever happens
<Nilium>
I'm thinking I should probably go to the store some time and buy a new, cheapo coffee dripper
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rikai__ has joined #ruby-lang
joonty has joined #ruby-lang
sjltaylor has joined #ruby-lang
<andrewvos>
I turned on the coffee machine
<andrewvos>
I'm not drinking tea like some savage
rikai_ has quit [Ping timeout: 276 seconds]
<yorickpeterse>
"Source: Ask Reddit" lol
<yorickpeterse>
andrewvos: prepare for the UK govt to kick you out for not being british enough
<andrewvos>
:(
<maloik>
Nilium: get a mokka expres, french press, aeropress or chemex
<maloik>
all dirt cheap
<maloik>
and a bean grinder
<Nilium>
Already got a bean grinder.
<Nilium>
Wouldn't toss that out.
<maloik>
*highfives*
<maloik>
then youcan get whatever for dirt cheap and still have better coffee than your average 800 euro machine
<Nilium>
That said, I don't really care for the whole french press thing and it mostly just irritates the heck out of me.
<maloik>
because of the work ?
<Nilium>
Mostly because I have to actually do it.
<yorickpeterse>
should automate it
<maloik>
fair enough
<Nilium>
Rather than just walk away and then come back and hey coffee pot
<yorickpeterse>
gem install coffee
<maloik>
mokka express is a bit easier and less error prone
<Nilium>
And then I can just drag the coffee pot into my room.
AndChat| has joined #ruby-lang
peterc_ has joined #ruby-lang
<maloik>
the chemex is real cool too
<maloik>
and super hipster
<maloik>
I should get me one of those
<maloik>
although that's pourover so depending on how much you actually make it might be too much work as well
<Nilium>
Looks too hipster for me
GeissT has quit [Quit: MillBroChat AdIRC User]
<Nilium>
It even has wood
<maloik>
yea and leather!
<Nilium>
You know it's hipster when there's wood involved.
judofyr has joined #ruby-lang
<maloik>
I don't consider myself a hipster at all
<maloik>
but that shit is amazing
<maloik>
I recently bought a watch, it has wood as well
<judofyr>
HEY RUBBY-LANG
Domon has quit [Read error: Connection reset by peer]
<maloik>
but I dont wear watches :(
<yorickpeterse>
fak, I missed two apps
<maloik>
just bought it for when I suit up
<yorickpeterse>
HNNNGGGG
<yorickpeterse>
so close
<maloik>
which is also never
Domon has joined #ruby-lang
<Nilium>
I used to have a watch, back when I was an assistant manager at a cinema.
<Nilium>
That was the only time I ever needed one, since it was easier to keep an eye on the time while setting up the projectors.
<Nilium>
I'm looking at it and feeling really stupid
<Nilium>
I guess you have to buy their filters or something
Banistergalaxy has quit [Ping timeout: 264 seconds]
mbj has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
Domon has quit [Ping timeout: 264 seconds]
<Nilium>
Man, drip coffee machines have gotten fancy compared to the 20 year old one I used.
<Nilium>
Mine was just this white, plastic piece of crap. Looked like it might accidentally kill you if you looked at it funny.
maxmanders has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
yatish27 has joined #ruby-lang
<maloik>
Nilium: you use standard drop machine filters
<maloik>
and pour over the water
<Nilium>
Ok, so it's easy.
<maloik>
yea
<maloik>
but if you consider that easy than the mokka expres isnt much harder
<maloik>
doesnt require you to time much at all
<maloik>
I hear they might blow up if you forget them for like 2 hours
<maloik>
(mine is painted blue, the bottom is all scorched black now :D)
<maloik>
but it's not like you need to perfectly time it like with an aeropress, french press etc
<ljarvis>
moin
<maloik>
hey
<ljarvis>
wussup maloik
<chris2>
just sucks to clean
<Nilium>
Looks like moka express pots have tedious maintenance issues
<yorickpeterse>
outsource it
Mon_Ouie has joined #ruby-lang
io_syl has quit [Quit: io_syl]
<Nilium>
Also, if you forget anything heated for something like two hours, it will probably explode.
<Nilium>
It's not actually uncommon.
vlad_starkov has joined #ruby-lang
<Nilium>
Dunno, I'm thinking I'll probably still go with a regular drip machine and just continue grinding beans myself.
<Nilium>
Just need to find something that's easy to keep clean. The chemex thing has that going for it.
<maloik>
Nilium: very little maintenance
<maloik>
the part the coffee goes in I just hit on the side of the bin so the used coffee comes out
<maloik>
rinse it and done
Domon has joined #ruby-lang
<maloik>
water reservoir, rinse and done
<Nilium>
Might get a moka express just to try it.
<maloik>
top part with the brewed coffee needs a bit more rubbing, but the whole thing doesnt take longer than 2min
<maloik>
of course if you ever need to make coffee for 20 people you'll want a machine :D
<maloik>
or a bigass coffee express
<Nilium>
No, I just need something for myself.
<Nilium>
The upshot of a drip thing is I can keep it in my room and it'll heat on its own.
<Nilium>
Living with parents right now, and there's really nowhere to put anything in the kitchen as-is, and they don't want me using their coffee machine >_>
<Nilium>
Machines, I should say.
<maloik>
wait, what ?
<Nilium>
They have multiple. A drip one and a Keurig thing.
<maloik>
yea but I mean, why can't you use it ?
hogeo_ has joined #ruby-lang
<Nilium>
Because they always keep their coffee in the pot and I'd have to use different beans since they have a weird obsession with some starbucks beans that taste strange.
<maloik>
oh ok, that makes sense I suppose
<Nilium>
So that would mean some amount of time where they wouldn't want the coffee in the pot.
<Nilium>
Because we both prefer different things. I don't really have a problem with it.
<maloik>
no that makes sense
<maloik>
I was expecting something like 'you always ruin our stuff' :D
<Nilium>
Heh, no
hogeo has quit [Ping timeout: 276 seconds]
<Nilium>
Mostly torn between another drip machine or the moka at the moment. I'll just think about it for a while.
<maloik>
why not both? the moka is like 10 euro
<Nilium>
Maybe find a $5 drip machine at the store to hold me over in the meantime, since the unsafe ones are cheap.
gja has quit [Quit: This computer has gone to sleep]
brushbox has quit [Quit: Leaving.]
brushbox has joined #ruby-lang
<Nilium>
They're a little more expensive in the US, it looks like.
<Nilium>
Depending on where you get one, anyway.
<maloik>
ikea should have them
richardburton has joined #ruby-lang
<Nilium>
Hm, no ikeas within 9-ish hours of me and they don't have them online.
vlad_starkov has quit [Remote host closed the connection]
richardburton has joined #ruby-lang
<ljarvis>
2 weeks holiday is way too long
<maloik>
youre going on holiday ?
hogeo has quit [Remote host closed the connection]
<ljarvis>
maloik: na I've been off work for the last 2 weeks though
<maloik>
oh ok
richardburton has quit [Ping timeout: 264 seconds]
tmi has quit [Quit: tmi]
<yorickpeterse>
ljarvis: slacker
<maloik>
I'd go nuts too I think
<maloik>
I can't really be home by myself, at least not for that long
<maloik>
I'd end up sleeping too much, wasting time, playing games and shit
Domon has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
Domon has joined #ruby-lang
<ljarvis>
yorickpeterse: :D
<ljarvis>
heh, I work from home so I'm used to it
<ljarvis>
but I've been AFK a lot which has been nice
Domon has quit [Ping timeout: 240 seconds]
barttenbrinke has joined #ruby-lang
<maloik>
ljarvis: Id like to work from home, mostly because I'd like to try traveling for a couple months per year (specifically during winter so I can ski in the mornings)
<maloik>
but if youre on holiday you're not supposed to work, which is when I'd go nuts
<erikh>
easier to do these days than ever
<maloik>
:)
<ljarvis>
yeah I just pushed some work code and my boss emailed me like gtfo learn2holiday
<maloik>
supposedly, although I haven't figured it out yet
maxmanders has quit [Ping timeout: 264 seconds]
yatish27 has quit [Remote host closed the connection]
JoshuaPaling has joined #ruby-lang
<ljarvis>
please someone save me by giving me a good artist to start with on spotify, everything I'm listening to is utter shit
<yorickpeterse>
sec
<erikh>
ljarvis: what kind of music?
<yorickpeterse>
what genre?
<yorickpeterse>
heh
<yorickpeterse>
fuckit, here comes some weeaboo music
banisterfiend has quit [Remote host closed the connection]
jxpx777 has quit [Quit: Leaving...]
madumo has joined #ruby-lang
relix has joined #ruby-lang
sreffotsirk has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
peterc_ has quit [Remote host closed the connection]
<yorickpeterse>
Totally unrelated to Ruby but can anybody recommend a good 802.11n wifi router?
<yorickpeterse>
Preferrably something that is not Linksys
<yorickpeterse>
Because those are terrible
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sjltaylor has joined #ruby-lang
sadwork has joined #ruby-lang
minivan has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby-lang
sadwork is now known as pipework
yatish27 has joined #ruby-lang
richardburton has joined #ruby-lang
Pupeno has quit [Ping timeout: 256 seconds]
minivan has joined #ruby-lang
tanema has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
sjltaylor has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
richardburton has quit [Ping timeout: 240 seconds]
jxpx777 has joined #ruby-lang
jxpx777_ has joined #ruby-lang
brushbox has joined #ruby-lang
benlovell has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby-lang
breakingthings has joined #ruby-lang
jxpx777 has quit [Ping timeout: 264 seconds]
<andrewvos>
yorickpeterse: I just bought an airport express
<yorickpeterse>
I don't do Apple stuff
<banisterfiend>
andrewvos: any idea of the diff b/w express and airport extreme?
benlovell has joined #ruby-lang
<banisterfiend>
hmm, doesn't seem like the difference in features is worth the price
maxmanders has quit [Ping timeout: 264 seconds]
maxmanders has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
maxmanders has quit [Max SendQ exceeded]
maxmanders has joined #ruby-lang
maxmanders has quit [Max SendQ exceeded]
<andrewvos>
banisterfiend: Yeah I don't see a point in paying more
<andrewvos>
banisterfiend: I'm not going to plug a printer or anything into it
yatish27 has quit [Remote host closed the connection]
<banisterfiend>
andrewvos: btw did you get your airport to join your network, or did you replace your old accesspoint with it?
richardburton has joined #ruby-lang
<maloik>
Anyone know of good examples of control panel type apps where you can access resources nested in different number of levels? as in, access an application via it's account which in turn you access via a client
tanema has joined #ruby-lang
<banisterfiend>
its* ;)
<maloik>
while also being able to find the app just via its account bypassing the client
<maloik>
I hope that made sense oO
runeb has joined #ruby-lang
peterc has joined #ruby-lang
maxmanders has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
maxmanders has quit [Max SendQ exceeded]
maxmanders has joined #ruby-lang
ssb123 has joined #ruby-lang
richardburton has quit [Ping timeout: 260 seconds]
snk has quit [Ping timeout: 264 seconds]
snk has joined #ruby-lang
melter has quit [Read error: Connection reset by peer]
pothibo has joined #ruby-lang
Kabaka has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
adambeynon has joined #ruby-lang
sascha_d has joined #ruby-lang
Kabaka has joined #ruby-lang
face has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
<andrewvos>
banisterfiend: I just plugged it into an adsl router and it automatically turned itself into a bridge
bgant has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 260 seconds]
w00x has joined #ruby-lang
runeb has quit [Remote host closed the connection]
sjltaylor has joined #ruby-lang
<yorickpeterse>
lol, gem version 0.0.51
runeb has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
pipework has joined #ruby-lang
<yorickpeterse>
neat, Rollbar intergration with Campfire works solid
<Zackko>
no i still have no idea how to fix it lol
shinnya has joined #ruby-lang
<canton7>
yeah, but no-one on here is either
wallerdev has quit [Quit: wallerdev]
<Zackko>
all i need to do is make it spit out a .zip archive
<canton7>
@project doesn't have a method called root_ref... you're not going to get someone to dive into the gitlab code to figure out why, unless you pay them
<waxjar>
gitlab can't spit out archives?
<Zackko>
only tar.gz
<Zackko>
I NEED a .zip
corecode has joined #ruby-lang
<corecode>
hi
<darix>
Zackko: what is wrong with tar.gz?
<corecode>
is there an elegant, 1.9&2.0-compatible way to create a 'binary' encoding string?
<canton7>
Zackko, it's not that hard to convert from one to another, if you need to
<apeiros>
corecode: well, unless String.method_defined?(:b); class String; def b; dup.force_encoding(Encoding::BINARY); end; end; end
<apeiros>
now the above is 1.9 and 2.0 compatible ;-)
<Zackko>
darix: You see the line 14:"send_file file_path"? Do you think I could convert that tar.gz to a .zip easily in ruby right there then serve it?
jxpx777_ has quit [Quit: Leaving...]
runeb has joined #ruby-lang
toretore has quit [Quit: Leaving]
runeb has quit [Ping timeout: 240 seconds]
jsullivandigs has joined #ruby-lang
wallerdev has joined #ruby-lang
bradsmith has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
sirfilip has joined #ruby-lang
ledestin has quit [Quit: ledestin]
iliketurtles has joined #ruby-lang
ssb123 has joined #ruby-lang
nathanstitt has joined #ruby-lang
jxpx777 has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
bradsmith has joined #ruby-lang
joshuawscott has joined #ruby-lang
daidoji has left #ruby-lang [#ruby-lang]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maxmanders has quit [Ping timeout: 276 seconds]
thmzlt has joined #ruby-lang
maxmanders has joined #ruby-lang
tkuchiki has joined #ruby-lang
io_syl has quit [Quit: io_syl]
jxpx777 has quit [Quit: Leaving...]
tkuchiki has quit [Remote host closed the connection]
mbj has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
arBmind has quit [Quit: Leaving.]
bgant has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
hahuang65 has joined #ruby-lang
bgant has joined #ruby-lang
__butch__ has joined #ruby-lang
enebo has quit [Quit: enebo]
peterc_ has joined #ruby-lang
elia has quit [Ping timeout: 260 seconds]
peterc has quit [Read error: Operation timed out]
tonni has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
krohrbaugh has joined #ruby-lang
peterc_ has quit [Ping timeout: 246 seconds]
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krohrbaugh has quit [Client Quit]
gja has joined #ruby-lang
krohrbaugh has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
vlad_starkov has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 276 seconds]
nathanstitt has quit [Quit: I growing sleepy]
<darix>
Zackko: tbh i would just download the tar.gz convert it and serve it as static file
<darix>
instead of doing that conversion over and over
<darix>
or well ... do a patch to add zip support to gitlab
techminer has left #ruby-lang [#ruby-lang]
ssb123 has quit [Remote host closed the connection]
<Zackko>
darix: I can't dl the file and then convert it. Wordpress has full control over that and doesnt provide an api to override it. All you can do is provide wp with a "package" url to get the zip from. I can't even hook in an dl it myself during update
<darix>
*facepalm*
ssb123 has joined #ruby-lang
<darix>
then point wp to the url where you put the static zip file?!
dagobah has quit [Remote host closed the connection]
sstrickl has joined #ruby-lang
torrieri has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
torrieri has quit [Client Quit]
towski has joined #ruby-lang
Criztian has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ssb123 has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
ssb123 has joined #ruby-lang
jxpx777 has joined #ruby-lang
mistym has joined #ruby-lang
pkrnj has joined #ruby-lang
_tockitj has joined #ruby-lang
zorg24 has joined #ruby-lang
<_tockitj>
is there a way to add enumerators (chain them together) for lazy evaluation?
jxpx777 has quit [Client Quit]
jwoods has joined #ruby-lang
io_syl has joined #ruby-lang
elia has joined #ruby-lang
<banisterfiend>
_tockitj: Enumerator.new { |y| loop { y << enum1.next }; loop { y << enum2.next } } i think
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
mbj has quit [Quit: leaving]
saarinen has joined #ruby-lang
itcharlie has left #ruby-lang [#ruby-lang]
barttenbrinke has joined #ruby-lang
kgrz has joined #ruby-lang
retro|cz has quit [Ping timeout: 246 seconds]
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bgant has quit [Quit: Leaving.]
hellome has quit [Remote host closed the connection]
bgant has joined #ruby-lang
kgrz has quit [Client Quit]
krohrbaugh has joined #ruby-lang
hellome has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
efrainolivares has joined #ruby-lang
Austin__1 has joined #ruby-lang
pkrnj has quit [Read error: Operation timed out]
Austin__ has quit [Ping timeout: 240 seconds]
nneko001__ has quit [Quit: Konversation terminated!]
saarinen has quit [Quit: saarinen]
pkrnj has joined #ruby-lang
pkrnj has quit [Client Quit]
rwilcox1 has joined #ruby-lang
rwilcox has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
ooshm has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
tejas has joined #ruby-lang
tejas has joined #ruby-lang
arooni-mobile__ has quit [Read error: Operation timed out]
rwilcox has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
rwilcox1 has quit [Ping timeout: 260 seconds]
gja has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
sirfilip has quit [Quit: Leaving]
banisterfiend has joined #ruby-lang
__butch__ has quit [Read error: Connection reset by peer]
marr has joined #ruby-lang
__butch__1 has joined #ruby-lang
rwilcox1 has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
workmad3 has joined #ruby-lang
rwilcox has quit [Ping timeout: 240 seconds]
Raynes has joined #ruby-lang
Raynes has left #ruby-lang ["["Textual IRC Client: www.textualapp.com"]"]
fedesilva has joined #ruby-lang
efrainolivares has joined #ruby-lang
a7d7p has joined #ruby-lang
onewheelskyward has joined #ruby-lang
mistym_ has joined #ruby-lang
efrainolivares has quit [Client Quit]
mistym has quit [Ping timeout: 264 seconds]
mistym_ is now known as mistym
workmad3 has quit [Ping timeout: 264 seconds]
peterc has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
relix has joined #ruby-lang
Harzilein has joined #ruby-lang
Harzilein has quit [Max SendQ exceeded]
Harzilein has joined #ruby-lang
Harzilein has quit [Max SendQ exceeded]
Harzilein has joined #ruby-lang
Scader has joined #ruby-lang
tejas has quit [Quit: This computer has gone to sleep]
vlad_starkov has joined #ruby-lang
relix has quit [Read error: Operation timed out]
vlad_starkov has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
iliketurtles has quit [Quit: zzzzz…..]
cads2 has quit [Ping timeout: 264 seconds]
cads has quit [Ping timeout: 264 seconds]
_jpb__ has joined #ruby-lang
_jpb__ has quit [Client Quit]
Uranio has joined #ruby-lang
vlad_starkov has joined #ruby-lang
_jpb__ has joined #ruby-lang
D9 has joined #ruby-lang
dhsmith has joined #ruby-lang
iliketurtles has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
rippa has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
Austin__1 has quit [Quit: Leaving.]
vlad_sta_ has joined #ruby-lang
efrainolivares has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
hahuang61 has joined #ruby-lang
Austin__ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby-lang
dvk has quit [Ping timeout: 246 seconds]
workmad3 has quit [Read error: Operation timed out]
zorg24 has quit [Ping timeout: 240 seconds]
<_tockitj>
how to override instance method of an object (class instance)
<_tockitj>
o = Object.new; # how to define o.some_method programmatically within another method ?
<drbrain>
def o.some_method() end
<_tockitj>
can't use this within another method
<banisterfiend>
_tockitj: within another method you'll need to use def self.blah; end
<_tockitj>
ah, def within def works
<_tockitj>
why i thought it wont :P
<_tockitj>
nvm, thanks
<banisterfiend>
_tockitj: yeah, but unless you want to override the method on the actual class (rather than the instance) you hsould use def self.blah rather than just def blah
<drbrain>
_tockitj: in (very) old ruby it didn't work
<_tockitj>
this channel should be called #ruby-monks (:
mistym has quit [Remote host closed the connection]
joast has quit [Ping timeout: 260 seconds]
a7d7p has quit [Quit: a7d7p]
charliesome has joined #ruby-lang
iliketurtles has joined #ruby-lang
<banisterfiend>
drbrain: i wonder why they chose a def inside another method to create the method on teh class
<drbrain>
where else would it go?
<banisterfiend>
drbrain: eigenclass i guess
<banisterfiend>
class Hello; def alpha; def beta; end; end; end; h = Hello.new; h.alpha; i'd expect h.beta to exist on h.singleton_class rather than on Hello
saarinen has joined #ruby-lang
ilyam has joined #ruby-lang
Uranio has quit [Quit: while you reading this, a kitty dies]
<banisterfiend>
Yeah, i've seen it used from time to time in something like attr_accessor_with_defaults implementations, where a method redefines itself on first run
vlad_starkov has quit [Remote host closed the connection]
arooni-mobile__ has joined #ruby-lang
bgant has quit [Quit: Leaving.]
efrainolivares has quit [Quit: efrainolivares]
hahuang61 has quit [Ping timeout: 240 seconds]
bradsmith has quit [Remote host closed the connection]
mistym has joined #ruby-lang
anonymus_ has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
anonymuse has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
Voker57 has quit [Ping timeout: 260 seconds]
krohrbaugh has joined #ruby-lang
skade has quit [Client Quit]
hahuang61 has joined #ruby-lang
efrainolivares has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
bradsmith has joined #ruby-lang
scmx has joined #ruby-lang
rwilcox1 has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
Voker57 has joined #ruby-lang
scmx has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Read error: Operation timed out]
arooni-mobile__ has quit [Ping timeout: 276 seconds]
breakingthings has quit [Quit: breakingthings]
madumo has quit [Quit: madumo]
fedesilv_ has joined #ruby-lang
rdg has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Voker57 has quit [Read error: Connection reset by peer]
ssb123 has quit [Remote host closed the connection]
fedesilva has quit [Ping timeout: 264 seconds]
poga has quit [Remote host closed the connection]
Austin__ has quit [Quit: Leaving.]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arooni-mobile__ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
rdg has quit [Quit: ttfn]
charliesome has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 264 seconds]
dorei has joined #ruby-lang
enebo has quit [Quit: enebo]
yfeldblum has joined #ruby-lang
archer_ has joined #ruby-lang
archer_ is now known as Guest45066
Guest45066 has quit [Remote host closed the connection]
w00x has quit [Ping timeout: 248 seconds]
a7d7p has quit [Quit: a7d7p]
scottschecter has quit [Quit: WeeChat 0.4.0]
scottschecter has joined #ruby-lang
arooni-mobile has joined #ruby-lang
__butch__1 has quit [Quit: Leaving.]
D9 has quit [Quit: Leaving]
fedesilv_ has quit [Remote host closed the connection]
GeissT has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
fedesilva has joined #ruby-lang
s0ber has quit [Read error: Connection reset by peer]
hellome has quit [Write error: Connection reset by peer]
s0ber has joined #ruby-lang
fedesilv_ has joined #ruby-lang
fedesilva has quit [Read error: Connection reset by peer]
Kabaka has quit [Ping timeout: 240 seconds]
brushbox has joined #ruby-lang
killtheliterate is now known as killthe|wknd
iliketurtles has quit [Quit: zzzzz…..]
kurko_ has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
iliketurtles has quit [Client Quit]
tenderlove has joined #ruby-lang
Kabaka has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkrnj has quit [Quit: Computer has gone to sleep.]