dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
sreffotsirk has quit [Quit: ❤]
<wnd>
I suppose there is a good reason why singleton methods of a module are not available in a class that includes that module (as in module Foo; def self.xyzzy; 42; end; end; class Bar; include Foo; end; Foo.xyzzy => undefined method)
<judofyr>
wnd: because a module is just a container of methods
AndChat| has quit [Ping timeout: 264 seconds]
<judofyr>
wnd: and you can apply a module in different ways: e.g. using #extend
<judofyr>
wnd: it would be odd if #included included the modules' singleton methods, but #extend ignored them
<Nilium>
If you wanted to include the singleton methods, you'd probably have to do something like `include the_module.singleton_class`
* Nilium
was trying to think of a good explanation for that but decided it's 2am and easier to just think about.
torrieri has quit [Quit: Leaving...]
tommyblue has quit [Quit: Coyote finally caught me]
tommyblue has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sascha_d has quit [Quit: obai]
Bwild has quit [Read error: Operation timed out]
kuja has quit [Ping timeout: 264 seconds]
Bwild has joined #ruby-lang
scmx has joined #ruby-lang
kuja has joined #ruby-lang
MaddinXx has joined #ruby-lang
yatish27 has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
mootpointer has quit [Ping timeout: 256 seconds]
<andrewvos>
Anyone parsed large XML files with nokogiri? 2 or more gb?
<andrewvos>
Is it possible?
<yorickpeterse>
Use the SAX API
<yorickpeterse>
Using the DOM API it's not really going to work
<joonty>
it reads it chunk by chunk, with a callback style api
<joonty>
instead of parsing the entire thing up front
<yorickpeterse>
it's an efficient way of shooting yourself in the foot
<andrewvos>
I like to shoot myself slowly
<andrewvos>
With a glass of wine, in the bath
<andrewvos>
And a multigigabyte xml file
fosky has quit [Ping timeout: 264 seconds]
<yorickpeterse>
andrewvos: then you should use rexml
* yorickpeterse
runs
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
poga has joined #ruby-lang
Oloryn_lt2 has quit [Ping timeout: 264 seconds]
<joonty>
yorickpeterse: i like to use regular expressions to parse my xml#
* joonty
is smitten by the god of common sense
<yorickpeterse>
actually
<yorickpeterse>
that's probably faster than Nokogiri's DOM API :P
<yorickpeterse>
HAHAH, apparently this network provider used WPA for our Wifi
<yorickpeterse>
idiots
<andrewvos>
haha nice
postmodern has quit [Quit: Leaving]
<andrewvos>
yorickpeterse: I have a router with WPS on it. It can't be disabled.
<yorickpeterse>
also why the fuck did they force it to 802.11g
<yorickpeterse>
THAT MAKES NO SENSE
<yorickpeterse>
and forcing it to channel 6, the most commonly used Wifi channel on the fucking planet
* yorickpeterse
grumbles
<yorickpeterse>
at least I can change this now
realDAB has joined #ruby-lang
Pupeno_ has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
meise has quit [Read error: Connection reset by peer]
meise has joined #ruby-lang
Pupeno has quit [Read error: Operation timed out]
joevandyk has quit [Read error: Operation timed out]
arBmind has joined #ruby-lang
maxmanders has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
joevandyk has joined #ruby-lang
maxmanders has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
<erikh>
sax is pretty much the only way to get non-abysmal performance out of large feeds
<erikh>
DOM is all LOLOBJECTS and them oomkiller says "no more silliness"
vlad_starkov has quit [Ping timeout: 248 seconds]
scmx has quit [Ping timeout: 276 seconds]
<erikh>
what am I doing awake
hashbangchris has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
jbsan has quit [Ping timeout: 248 seconds]
<andrewvos>
talking about xml parsers on the internet
dhruvasagar has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby-lang
kstuart has quit [Quit: kstuart]
kstuart has joined #ruby-lang
<yorickpeterse>
System Time 2009/01/17 03:30:15
<yorickpeterse>
LOLOLOL
<yorickpeterse>
Stupid router
banister_ has joined #ruby-lang
realDAB has quit [Quit: realDAB]
Asher has quit [Ping timeout: 264 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<erikh>
andrewvos: astute
<andrewvos>
erikh: That's my middle name
sreffotsirk has quit [Quit: ❤]
skade has joined #ruby-lang
realDAB has joined #ruby-lang
Dernise has quit [Quit: Leaving]
<maloik>
mystery redirect solved
<maloik>
pesky htaccess.... wtf :/
realDAB has quit [Client Quit]
Domon has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
realDAB has joined #ruby-lang
<yorickpeterse>
> Apache
realDAB has quit [Client Quit]
cored has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
malev has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<maloik>
We just published the arrrrcamp talks, for those who are interested <3 http://arrrrcamp.be/talks
tanema has joined #ruby-lang
spyzer has joined #ruby-lang
mytrile has joined #ruby-lang
<spyzer>
hey guys I am looking at mongomapper I am new to ruby and rails, just today I jumped from scala to RoR which I have had some experience but not complete Scala is too much and I love the terseness of ruby hecne the jump
<spyzer>
I don't understand what is the colon they have used in their home page
<whitequark>
drbrain: so you have a talk at railsclub in moscow too \o/
<spyzer>
yes actually i have done that as well as a coursera course it is just i have been out of touch completely for almost a year
<spyzer>
I just do not understand that representation key: name, String
benlovell has joined #ruby-lang
<spyzer>
if anyone can throw some light on that completely forgotten :(
<spyzer>
I know class variables and accessors and @ symbol
<spyzer>
but not this verison
<spyzer>
*version
<canton7>
spyzer, 'key' is a method, taking two arguments. They pass ':key' as the first, and 'String' is the second. ':key' is a symbol - like a string, but two instances with the same value share the same object id
<canton7>
(making them good for keying stuff, but not so good for generating lots of)
kstuart has quit [Read error: Connection reset by peer]
kstuart has joined #ruby-lang
<whitequark>
symbols are more or less immutable strings
<whitequark>
that's why they're so good as hash keys
jvrmaia has joined #ruby-lang
arBmind1 has joined #ruby-lang
<spyzer>
thanks what is a good json library which people use with rails?
arBmind has quit [Ping timeout: 264 seconds]
<maloik>
uhm, json :-)
dhruvasagar has joined #ruby-lang
<spyzer>
maloik: ok I mean in terms of speed and all I was asking since I don;t know
ledestin has quit [Quit: ledestin]
<yorickpeterse>
The JSON library that comes with stdlib is fine for most cases
<spyzer>
so how do people usually serialize to/from json an object do they override to_json or is there some automatic conversion available
<spyzer>
sorry i am asking everyting eher
<spyzer>
here
<spyzer>
but actually I am in a bit of shit and have to hurry a lot
<spyzer>
that's why
<maloik>
you can do a number of things... since you're asking about rails, I suppose you need to generate json views for an api
<maloik>
in which case RABL could be very helpful
<yorickpeterse>
ugh, 7 more apps to migrate to Rollbar
<maloik>
but a simple render json: @object could do the trick as well
<Nilium>
IF you set at least a few things on fire, rails will just do it for you. It will sense the sacrifices.
<yorickpeterse>
already did 10, hnnnggg
<maloik>
Nilium: I prefer to just gem install all-the-things
<maloik>
yorickpeterse: coming from what ?
skade has joined #ruby-lang
<yorickpeterse>
Airbrake
<yorickpeterse>
The error reporting app that doesn't report errors
<maloik>
Like actually airbrake or errbit ?
<maloik>
we use errbit and are quite happy with it, although I cant say I really looked into rollbar
<yorickpeterse>
maloik: the interface is pretty decent and it works pretty well code wise
jxpx777 has quit [Quit: Leaving...]
<yorickpeterse>
Plus you can customize quite a bit (e.g. custom rate limits), the plans are also pretty generous considering the price
<spyzer>
maloik: suppose I was looking into extending a module so things like those are also there on rubymonk or should I try using rubykoans instead?
anonymuse has joined #ruby-lang
<maloik>
I don't get the question
<yorickpeterse>
spyzer: I recommend you first take some time to actually learn Ruby
_helloworld_ has joined #ruby-lang
spyzer has quit [Ping timeout: 250 seconds]
tdy has quit [Ping timeout: 264 seconds]
sjltaylor has joined #ruby-lang
northelks has joined #ruby-lang
northelks has quit [Quit: Leaving]
northelks has joined #ruby-lang
northelks has quit [Client Quit]
northelks has joined #ruby-lang
northelks has quit [Client Quit]
richardburton1 has joined #ruby-lang
enebo has joined #ruby-lang
enebo has quit [Client Quit]
richardburton1 has quit [Quit: Leaving.]
Squarepy has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
<andrewvos>
ddfreyne: I've never really been there other than just clicking on links to clips. How do I soundcloud?
<andrewvos>
judofyr: Which album?
<ddfreyne>
andrewvos: You find interesting bands, following them, see who they follow, follow those too. See what they repost and like, and follow those.
<judofyr>
andrewvos: Formage a Trois
<ddfreyne>
andrewvos: And eventually you'll get 5 new tracks every day!
<judofyr>
Fromage*
<maloik>
check out 'feistodon' if you can find that (mastodon covering feist and vice versa), or desert sessions (specifically the track with pj harvey)
<andrewvos>
judofyr: Might be a bit slow for my mood
<andrewvos>
maloik: I like Mastodon
<judofyr>
andrewvos: yeah
<andrewvos>
maloik: Can't find it on spotify
<maloik>
theres 1 track, the one mastodon did
<maloik>
but I like feist's version even better
raphaelivan has joined #ruby-lang
<maloik>
used to be on soundcloud but they removed it :
<maloik>
:(
<ddfreyne>
:(
<ddfreyne>
Rightsholder said "nope" and it had to go, I guess!
ssb123 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
mucker has joined #ruby-lang
<andrewvos>
maloik: I can only find some pop singer called Feist?
banister has joined #ruby-lang
GeissT has quit [Quit: MillBroChat AdIRC User]
<maloik>
andrewvos: chances are it's her... it's nothing like mastodon
<maloik>
but apparently they liked eachother and covered a song of one another
ssb123 has quit [Remote host closed the connection]
x0f_ has quit [Ping timeout: 260 seconds]
x0f has joined #ruby-lang
dhruvasagar has joined #ruby-lang
moogs has joined #ruby-lang
w00x has joined #ruby-lang
moogs has quit [Remote host closed the connection]
moogs has joined #ruby-lang
wallerdev has joined #ruby-lang
brushbox has joined #ruby-lang
brushbox has quit [Ping timeout: 256 seconds]
<andrewvos>
ahhh ok
rmyers has left #ruby-lang [#ruby-lang]
sascha_d has joined #ruby-lang
flip_digits has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
bgant has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minivan has quit [Ping timeout: 264 seconds]
ssb123_ has joined #ruby-lang
brushbox has joined #ruby-lang
grumpwork has joined #ruby-lang
tanema has quit [Remote host closed the connection]
banister has quit [Remote host closed the connection]
hashbangchris has quit [Quit: mt]
dabradley has quit [Quit: WeeChat 0.3.8]
atmosx has joined #ruby-lang
dabradley has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
atmosx has quit [Client Quit]
maxmanders has joined #ruby-lang
brushbox has quit [Ping timeout: 260 seconds]
sjltaylor has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
skade has quit [Quit: Computer has gone to sleep.]
jsullivandigs has joined #ruby-lang
mucker has quit [Quit: leaving]
yatish27 has quit [Remote host closed the connection]
bradsmith has joined #ruby-lang
futile has joined #ruby-lang
<futile>
Hello.
<futile>
Is it normal that exceptions which are raised on a background thread are silently ignored?
<judofyr>
futile: yes
minivan has joined #ruby-lang
<futile>
Let me move my begin/rescue/end closer to the exception, maybe that will help.
<judofyr>
futile: you can use `Thread.abort_on_exception = true` to not ignore them
<judofyr>
futile: but only use that in development
raphaelivan has left #ruby-lang [#ruby-lang]
rondale_sc has quit [Ping timeout: 276 seconds]
<yorickpeterse>
hnnnggg, 4 more apps to migrate to Rollbar
dhruvasagar has quit [Read error: Connection reset by peer]
<yorickpeterse>
haven't written a single line of actual code today
skade has joined #ruby-lang
cads has joined #ruby-lang
<judofyr>
yorickpeterse: how's Rollbar?
<maloik>
is the process that slow? :o
<yorickpeterse>
judofyr: pretty sweet
<yorickpeterse>
maloik: it requires a lot of boring manual verification work
dhruvasagar has joined #ruby-lang
<yorickpeterse>
1. Add rollbar project 2. Configure notifications and all that (no custom default settings :<) 3. Replace Airbrake in app X with Rollbar 4. Test locally 5. Update deployment setup so that it notifies Rollbar 6. Deploy 7. Check if everything worked
<yorickpeterse>
8. repeat
<yorickpeterse>
In between I also had to deal with broken services
<yorickpeterse>
and I accidently one application along the process
<yorickpeterse>
oh and I had a call with some folks of a service that we use, and some other stuff in between
<maloik>
hmm yea okay I can imagine that takes forever :D
<yorickpeterse>
The code being pretty bad in a lot of cases doesn't make things easier either
enebo has joined #ruby-lang
<maloik>
what do you do? service business ?
<futile>
judofyr: thanks, I'll use that
x0f_ has joined #ruby-lang
mistym has joined #ruby-lang
<judofyr>
futile: in production (or in a gem), you shouldn't set it or depend on it being true
barttenbrinke has quit [Ping timeout: 264 seconds]
peterc_ has quit [Ping timeout: 256 seconds]
apeiros has joined #ruby-lang
bradsmith has joined #ruby-lang
m10n has joined #ruby-lang
thmzlt has joined #ruby-lang
efrainolivares has quit [Quit: efrainolivares]
ilyam has joined #ruby-lang
_jpb__ has quit [Ping timeout: 276 seconds]
hashkey has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
io_syl has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
Pupeno_ has quit [Ping timeout: 246 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
ldnunes has quit [Quit: Leaving]
krohrbaugh has joined #ruby-lang
imperator has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 246 seconds]
mbj has joined #ruby-lang
_helloworld_ has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
pkrnj has joined #ruby-lang
towski has joined #ruby-lang
_helloworld_ has quit [Ping timeout: 256 seconds]
apeiros has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
siberia has joined #ruby-lang
efrainolivares has joined #ruby-lang
zorg24 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Soilent has quit [Ping timeout: 264 seconds]
efrainolivares has quit [Client Quit]
w1zeman1p has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
Asher has quit [Ping timeout: 248 seconds]
brushbox has joined #ruby-lang
ldnunes has joined #ruby-lang
rickhull has quit [Quit: Leaving.]
richardburton has joined #ruby-lang
runeb has joined #ruby-lang
brushbox has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
AndChat| has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
bradsmith has quit [Remote host closed the connection]
bradsmith has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
runeb has quit [Ping timeout: 246 seconds]
flip_digits has joined #ruby-lang
iliketurtles has joined #ruby-lang
heftig_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
heftig_ has quit [Changing host]
heftig_ has joined #ruby-lang
brianpWins has joined #ruby-lang
heftig_ is now known as heftig-irssi
heftig-irssi has quit [Quit: leaving]
siberia has quit [Quit: siberia]
futile has left #ruby-lang [#ruby-lang]
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 248 seconds]
arBmind1 has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
danrabinowitz has joined #ruby-lang
thmzlt has joined #ruby-lang
skade has joined #ruby-lang
postmodern has joined #ruby-lang
rondale_sc has quit [Ping timeout: 240 seconds]
jxpx777 has joined #ruby-lang
saarinen has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
ilyam has quit [Quit: ilyam]
workmad3 has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
benanne has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
torrieri has joined #ruby-lang
brianpWins has joined #ruby-lang
elia has joined #ruby-lang
madumo has joined #ruby-lang
hahuang65 has joined #ruby-lang
workmad3 has quit [Ping timeout: 248 seconds]
Voker57 has quit []
ilyam has joined #ruby-lang
futile has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
gja has joined #ruby-lang
havenwood has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
arBmind has joined #ruby-lang
peterc has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<futile>
[crosspost from #ruby]
<futile>
Got a Ruby challenge for anyone interested:
<futile>
Write idiomatic code that does two things. Given an input string, give a list of all lines ending in \n, with the \n included. If the last line does not end with \n, give that separately. Perform some user-defined action on each line from the first step, omitting any final line not ending with \n.
siberia has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
gja has quit [Quit: This computer has gone to sleep]
m10n has quit [Quit: leaving]
skade has joined #ruby-lang
maxmanders has joined #ruby-lang
m10n has joined #ruby-lang
ssb123_ has quit [Remote host closed the connection]
<imperator>
sounds like homework
workmad3 has joined #ruby-lang
<futile>
imperator: I'm writing a blog post comparing languages, and while I could do it myself, I want to see "how the Pros do it"
* yorickpeterse
is grumpy after reading a PHP rant
<yorickpeterse>
because it reminds me of when I still wrote PHP
retro|cz has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby-lang
<whitequark>
slash is nice
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
mbj has quit [Ping timeout: 260 seconds]
phracker has joined #ruby-lang
futile has left #ruby-lang [#ruby-lang]
<yorickpeterse>
Go eat a lego
havenwood has joined #ruby-lang
<yorickpeterse>
that reminds me, I *still* have MyFirstProgrammingLanguage to write
zorg24 has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
peterc has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
maxmanders has quit [Ping timeout: 276 seconds]
maxmanders has joined #ruby-lang
<yorickpeterse>
whitequark: oi, you have any good papers/articles to read on about VMs/compilers? Preferrably something my non academic brain can digest on a Friday
tdm00 has quit [Quit: Computer has gotten very, very sleepy.]
<whitequark>
yorickpeterse: hmmm
<whitequark>
it's a wide topic
<whitequark>
something in particular?
workmad3 has quit [Ping timeout: 264 seconds]
peterc has joined #ruby-lang
jonahR has quit [Quit: jonahR]
<yorickpeterse>
all of it
rikai_ has quit [Ping timeout: 260 seconds]
<yorickpeterse>
:>
siberia has quit [Quit: siberia]
<yorickpeterse>
Can't think of a specific topic, though I think a general overview of language VMs would be nice
<whitequark>
well, google it
<whitequark>
I think there was a book, Architecture of Open-Source Software
<whitequark>
there are several chapters on the topic you're interested in. PyPy, LLVM, Riak/Erlang, CLR/DLR
<whitequark>
GHC, also.
<yorickpeterse>
ooooh
<yorickpeterse>
I need dis. ta
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
richardburton has quit [Read error: Connection reset by peer]
richardburton1 has joined #ruby-lang
grumpwork is now known as sadwork
peterc has quit [Remote host closed the connection]
peterc has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Uranio has quit [Quit: while you reading this, a kitty dies]
vlad_starkov has joined #ruby-lang
dlJax has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
jonahR has joined #ruby-lang
dlJax has left #ruby-lang [#ruby-lang]
brushbox has joined #ruby-lang
minivan has joined #ruby-lang
mistym has quit [Remote host closed the connection]
brushbox has quit [Ping timeout: 248 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Quit: WeeChat 0.4.1]
dhsmith has quit [Remote host closed the connection]
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
richardburton1 has quit [Quit: Leaving.]
torrieri has quit [Quit: Leaving...]
zorg24 has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
saarinen has joined #ruby-lang
rikai_ has joined #ruby-lang
<cored>
hi
<cored>
I'm trying to retrieve all the numbers thats multiplies each item in an array, [1,2,3,4,5] -> starting with [1] against all of them, then after generating that array I want to go with 2 and keep forward from there
<cored>
I tried with drop_while and also a map, I did the algorithm with while's but I want to do it with an iterator
lele has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby-lang
siberia has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
__butch__ has quit [Quit: Leaving.]
cube526 has joined #ruby-lang
ooshm has joined #ruby-lang
tylersmith has quit [Ping timeout: 260 seconds]
__butch__ has joined #ruby-lang
tdm00 has joined #ruby-lang
peterc has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
cube526 has quit [Quit: Bye]
sadwork has quit [Remote host closed the connection]
__butch__ has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
brushbox has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
cored has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Quit: I growing sleepy]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brushbox has quit [Ping timeout: 248 seconds]
Oloryn_lt2 has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
workmad3 has joined #ruby-lang
<ryanf>
can't you just do two maps and a flatten? (or a flat_map and a map)
itcharlie has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
hellome has quit [Read error: Connection reset by peer]
<erikh>
there's a matrix type IIRC
<erikh>
but I can't seem to recall it now
mistym has joined #ruby-lang
setmeaway has joined #ruby-lang
mbj has joined #ruby-lang
hellome has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
nathanstitt has joined #ruby-lang
iliketurtles has joined #ruby-lang
sjltaylor has joined #ruby-lang
tdm00 has quit [Quit: Make like a banana and split!]
__butch__ has quit [Quit: Leaving.]
workmad3 has quit [Read error: Operation timed out]
mbj_ has joined #ruby-lang
__butch__ has joined #ruby-lang
mbj_ has quit [Client Quit]
MaddinXx has quit [Remote host closed the connection]
zorg24 has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
kurko_ has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Read error: Operation timed out]
bgant has quit [Quit: Leaving.]
jxie has quit [Ping timeout: 260 seconds]
jxie has joined #ruby-lang
rikai_ has quit [Read error: Connection reset by peer]
lele has joined #ruby-lang
jonahR_ has joined #ruby-lang
jonahR_ has quit [Client Quit]
jonahR has quit [Ping timeout: 256 seconds]
peterc has joined #ruby-lang
torrieri has joined #ruby-lang
lsegal has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
minivan has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
w00x has quit [Read error: Operation timed out]
brushbox has joined #ruby-lang
saarinen has quit [Quit: saarinen]
tdy has joined #ruby-lang
anonymuse has joined #ruby-lang
rdg has joined #ruby-lang
hellome has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
dhruvasagar has joined #ruby-lang
thmzlt has joined #ruby-lang
guns has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend>
hi men
<drbrain>
banisterfiend:
hellome has joined #ruby-lang
poga has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ssb123 has quit [Remote host closed the connection]
rdg has quit [Quit: ttfn]
anonymuse has quit [Remote host closed the connection]
Oloryn_lt2 has joined #ruby-lang
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anonymuse has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
sjltaylor has joined #ruby-lang
ssb123 has joined #ruby-lang
havenn has joined #ruby-lang
sjltaylor has quit [Client Quit]
thmzlt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sergiocampama has joined #ruby-lang
tanema has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
sergiocampama_ has joined #ruby-lang
sergiocampama_ has quit [Client Quit]
sergiocampama has quit [Client Quit]
sergiocampama_ has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
sergiocampama_ has quit [Client Quit]
havenn has quit [Ping timeout: 240 seconds]
sergiocampama has joined #ruby-lang
solars has quit [Read error: Operation timed out]
cored has joined #ruby-lang
cored has joined #ruby-lang
_jpb__ has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
<zenspider>
rawr
skade has quit [Quit: Computer has gone to sleep.]
elia has quit [Quit: Computer has gone to sleep.]
cored has quit [Ping timeout: 240 seconds]
pothibo has joined #ruby-lang
_jpb__ has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
pothibo has quit [Client Quit]
thmzlt has joined #ruby-lang
pothibo has joined #ruby-lang
zorg24 has joined #ruby-lang
_jpb_ has quit [Quit: leaving]
_jpb_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cads has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
killtheliterate is now known as killthe|afk
richardburton has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
wallerdev has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
tomzx_mac has joined #ruby-lang
pothibo has quit [Quit: pothibo]
nathanstitt has quit [Quit: I growing sleepy]
rikai_ has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
postmodern has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby-lang
<cored>
weird question regarding Ruby
<cored>
does Ruby supports macros?
<zenspider>
no
<zenspider>
not in any normal, built-in sense of the word
krohrbaugh has joined #ruby-lang
<banisterfiend>
cored: but we can do some pretty sweet faking with blocks
<cored>
banisterfiend: well, I misunderstood then
<cored>
I thought that sending a lambda and then calling in another time was some sort of a macro I was thinking it was the same as recording something
<zenspider>
I'm not sure I'd call throwing closures around the same thing as macros
<cored>
and using it later
<cored>
zenspider: gotcha
<zenspider>
creating a lambda creates a closure... which IS a "recording" of the current scope / stack state.
elia has quit [Quit: Computer has gone to sleep.]
anonymuse has quit [Remote host closed the connection]