jkprg_ has quit [Read error: Connection reset by peer]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby-lang
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
Rakko has joined #ruby-lang
<Rakko>
Is there a way to get the text of a regexp pattern that lies within a capture group? For example, for the regexp /(foo).*/ I would like to get the string 'foo'
seanstickle has joined #ruby-lang
<Rakko>
I'm sure I could do it if I implemented a regexp parser, but I'd really rather not :)
m3nd3s_ has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
FluffyCode has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
Sambalero has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
m3nd3s has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
<lianj>
Rakko: "foobar".match(/(foo).*/).captures
m3nd3s has quit [Ping timeout: 252 seconds]
kingCrawlerx has quit [Quit: Computer has gone to sleep]
esad has quit [Quit: Computer has gone to sleep.]
esad has joined #ruby-lang
<Rakko>
lianj: ah, I knew someone would answer like that. But I want the "source" text in the Regexp definition itself -- NOT what it matches in a string.
<dominikh>
write a regexp parser
<Rakko>
That is, independent of any string.
<Rakko>
LOL... thanks
S1kx has quit [Read error: Connection reset by peer]
<dominikh>
well, it boils down to that. or hooking into one.
<Rakko>
figures
<lianj>
i dont get it :D
<dominikh>
lianj: he wants the regexp source of the capture group in the regexp
<dominikh>
if it is /(.+?)foo/, he wants ".+*"
<Rakko>
.+? rather
<Rakko>
actually I don't care that much about cases that use wildcards
<Rakko>
ooh, I know. I'll just generate random strings to match against it, until I find one
<dominikh>
yesyes, excuse my typo :P
<dominikh>
you could write a regexp that matches your regexp.
<dominikh>
enjoy.
<lianj>
great idea
<banisterfiend>
Rakko: i dont know if it's relevant, but there's a project that generates strings which satisfy a given regex
<Rakko>
Yo dawg! I heard you like regexps
<dominikh>
banisterfiend: way more amazing are projects that generate regexps that match a set of strings :)
t80972 has quit [Remote host closed the connection]
t64168 has joined #ruby-lang
workmad3 has joined #ruby-lang
Hakon has quit [Ping timeout: 260 seconds]
qwerxy has quit [Quit: offski]
judofyr has joined #ruby-lang
kaiwren has joined #ruby-lang
runeb has joined #ruby-lang
chendo_ has quit [Ping timeout: 240 seconds]
mojacc has joined #ruby-lang
chendo_ has joined #ruby-lang
toretore has joined #ruby-lang
mojacc has quit [Remote host closed the connection]
zz_chrismcg is now known as chrismcg
chendo_ has quit [Ping timeout: 240 seconds]
t64168 has quit [Remote host closed the connection]
t72690 has joined #ruby-lang
chendo_ has joined #ruby-lang
rolfb has joined #ruby-lang
<dreamhawk>
whats the meaning if #{ } containers? I dont understand it :)
<banisterfiend>
dreamhawk: interpolation
<banisterfiend>
x = 10
<banisterfiend>
puts "hello your fave number is #{x}"
<judofyr>
dreamhawk: run the Ruby code, insert the result in the string
<judofyr>
dreamhawk: "1 + 1 = #{1 + 1}"
<dreamhawk>
banisterfiend: so basically (to translate from PHP), "Your fav-number is ". $foo ." !"; -> "Your fav-number is #{foo}" ?
<banisterfiend>
dreamhawk: im not a PHP programmer
<judofyr>
dreamhawk: yes
<dreamhawk>
judofyr: ty
achamian has quit [Read error: Connection reset by peer]
<judofyr>
dreamhawk: you can do the same in Ruby too: "Your fav-number is " + (foo.to_s) + "!"
<judofyr>
you just have to be explicit about the typing
<judofyr>
which makes interpolation more useful
<dreamhawk>
Ok :)
<judofyr>
dreamhawk: doesn't "Your fav-number is $foo" also work in PHP?
achamian has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<rue>
banisterfiend: Are too, don’t lie
<dreamhawk>
judofyr: well, it did... But i don't code PHP like that :). I prefer . " " .
<banisterfiend>
rue: u r
<judofyr>
dreamhawk: in Ruby, interpolation is consider a good practice. #{} is not that common elsewhere, so it's rarely a problem anyway
<dreamhawk>
judofyr: the only problem with #{} that i have, is that i always press the wrong buttons , like £{} or #[} or something... rather disturbing ;D
chendo_ has quit [Ping timeout: 244 seconds]
<rue>
dreamhawk: Aww, some EU key layout?
<rue>
All EU keyboards suck…
heftig has quit [Ping timeout: 240 seconds]
<judofyr>
yeah, I really need to learn US keyboard
<judofyr>
\ is like three keypresses…
<judofyr>
same for { and }
<judofyr>
( ) [ ] are all two :(
chendo_ has joined #ruby-lang
<rue>
\ is one, but it’s awkwardly placed on the left… {} you do need shift for
<Mon_Ouie>
All those you cited are two here (alt gr + something)
<judofyr>
only one for æ, ø, å
<judofyr>
\o/
<judofyr>
very useful when programming…
<judofyr>
def æ; end
<rue>
Admittedly, some Finnish sentences are pretty bad when I have to do cmd-u-{a,o} for ä, ö…
<judofyr>
we have one key for ¨
<judofyr>
so ä is just two presses
<rue>
And by cmd I mean alt
<judofyr>
even though we never actually use ¨ in Norwegian
<rue>
Norwegia is weird like that
<dreamhawk>
rue: sv-latin1 :)
<dreamhawk>
judofyr: yeah, i've learnt the basic us-keyboardsettings.. well, atleast so i can change keyboard that match my own in linux ^^
t72690 has quit [Remote host closed the connection]
t21795 has joined #ruby-lang
tenderlove has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Ping timeout: 245 seconds]
perryh is now known as perryh_away
kaiwren has quit [Quit: kaiwren]
wallerdev has quit [Quit: wallerdev]
diegoviola has joined #ruby-lang
fish_ has joined #ruby-lang
<chris2>
i use capslock as special character modifier, and us else
judofyr has quit [Read error: Connection reset by peer]
<fish_>
I've wrote a little tcp2irc 'proxy'. this takes a string from the tcp connection and sends it to irc
judofyr has joined #ruby-lang
<fish_>
via eventmachine
<fish_>
but I'm not sure how to handle connection errors: when the reactor sends data and the connection dies, the data is lost. I like to reconnect and resent that data
<diegoviola>
what's the difference with executing a rake task from your code in order to process a background job versus using something like resque for background processing? I understand that resque uses fork() to fork a child process and rake will create a new process, but what's the difference?
<fish_>
I thought about saving the last message in a instance variable
nazty has joined #ruby-lang
<fish_>
but then I still need to figure out whether the message got send or not. on connection error em calls unbind() but I don't know if that happened before or after reactor tried to send the message
t21795 has quit [Remote host closed the connection]
t36891 has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
cantonic has joined #ruby-lang
dan|el has joined #ruby-lang
nazty has quit [Ping timeout: 240 seconds]
eyda|mon has quit [Ping timeout: 268 seconds]
apeiros_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Hakon has joined #ruby-lang
S1kx has joined #ruby-lang
burgestrand has joined #ruby-lang
kaiwren has joined #ruby-lang
Guedes has joined #ruby-lang
Guedes has joined #ruby-lang
dRbiG has quit [Ping timeout: 240 seconds]
kaiwren has quit [Read error: Connection reset by peer]
kaiwren_ has joined #ruby-lang
dRbiG has joined #ruby-lang
deryl has joined #ruby-lang
stardiviner has joined #ruby-lang
stardiviner has quit [Client Quit]
heftig has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
t36891 has quit [Remote host closed the connection]
t16815 has joined #ruby-lang
Axsuul has quit [Ping timeout: 244 seconds]
Jake232 has joined #ruby-lang
laszlokorte has joined #ruby-lang
laszlokorte has quit [Client Quit]
laszlokorte has joined #ruby-lang
d3vic3 has joined #ruby-lang
dRbiG has quit [Ping timeout: 245 seconds]
dRbiG has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
heftig has quit [Read error: Connection reset by peer]
tbuehlmann has joined #ruby-lang
heftig has joined #ruby-lang
dan|el has quit [Ping timeout: 248 seconds]
jaylevitt has joined #ruby-lang
rohit has joined #ruby-lang
Jay_Levitt has quit [Ping timeout: 265 seconds]
laszlokorte has quit [Read error: Connection reset by peer]
laszlokorte has joined #ruby-lang
dan|el has joined #ruby-lang
yats has quit [Read error: Connection reset by peer]
yats has joined #ruby-lang
sepp2k1 has quit [Quit: Leaving.]
yats has quit [Read error: Connection reset by peer]
yats has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
mwjcomputing has joined #ruby-lang
dhruvasagar has quit [Remote host closed the connection]
laszlokorte has quit [Remote host closed the connection]
laszlokorte has joined #ruby-lang
woollyams has joined #ruby-lang
<erikh>
anyone around?
<bnagy>
why? You want to know if you can burgle our houses?
<bnagy>
I'm onto you erikh
<erikh>
haha
<erikh>
bnagy: mind looking over an algo for me?
<bnagy>
sure
<erikh>
I've already sent it off, it's a programming challenge
<yorickpeterse>
I'd say the biggest problem here is reading the file itself
<yorickpeterse>
At least in this particular example
<erikh>
yeah it's not fast
<yorickpeterse>
Is there a chance for artist names containing a comma?
<yorickpeterse>
If not you could just read the file byte by byte and create a new artist when you find a ,
<bnagy>
it's certainly confusing, to me :/
<yorickpeterse>
It will require some more code but it should lower down the memory usage from reading the file significantly
<erikh>
nah, it's normalized
<judofyr>
erikh: I don't quite get what the code at 39-46. iterating and pushing to the same array make my head hurt…
<erikh>
it just cycles the list
<erikh>
circular linked list style
<bnagy>
yeah me too - pushing and shifting with an until empty loop
<erikh>
nah, the empty case is for lines with only one band
dhruvasagar has joined #ruby-lang
<judofyr>
erikh: something like [1, 2, 3, 4].combination(2).to_a ?
<bnagy>
so we're looking for bands that are associated with other bands?
<erikh>
correct
<injekt>
erikh: are you trying to optimize it?
<erikh>
injekt: nah, I've already sent it off.
<injekt>
kk
<bnagy>
and all bands on one line are associated with each other
<erikh>
I'm mostly asking for the sake of having my head checked
<erikh>
I have another predictive solution now, but it's not mine
<bnagy>
I like judofyr's way :/
<bnagy>
it would be super readable - I dunno if it's significantly lower order than yours
<erikh>
i'm really not looking for readability tweaks
<erikh>
I just took a full index approach
<erikh>
I'd like to know of other apporaches I guess.
<bnagy>
ok well it's naively a graph
<erikh>
eh, sort of
lcdhoffman has joined #ruby-lang
<erikh>
it's a compound index
<bnagy>
directed I guess
<bnagy>
no definitely
<bnagy>
like if Beatles is a node, then all the edges from Beatles to another band are one of your pairs
<erikh>
ah, gotcha
<erikh>
this kind of shit I am really weak on
<bnagy>
so if I needed to do tricky stuff I'd represent it as a graph
<erikh>
which is why I'm asking at all. if this were "hey, I need you to asynchronously manage 3000 socket connections" I'd be all, "hell yeah!"
<bnagy>
but that would only be for second order I think
<judofyr>
bnagy: well, he's actually already representing it as a graph
<erikh>
I thought about doing it as a heap
<bnagy>
judofyr: implictly, yeah
<judofyr>
" graph is an ordered pair G = (V, E) comprising a set V of vertices or nodes together with a set E of edges or lines, which are 2-element subsets of V"
<judofyr>
common is just E
achiu has quit [Ping timeout: 246 seconds]
<bnagy>
wait is it directed? is Beatles->Stones same as Stones->Beatles?
cantonic has joined #ruby-lang
<erikh>
yes
<erikh>
that's kind of why I boggled
<bnagy>
yes, cause you sorted them when you made those keys
<bnagy>
ok
<bnagy>
so it's not directed
<erikh>
you can treat inner_common as a Set with no difference in functionality
<bnagy>
which is even more simple
Criztian has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
<bnagy>
but I can't find any huge benefit to any graph stuff for this simple exercise
<bnagy>
we're just looking at first order associations
<bnagy>
what do you mean by predictive?
<erikh>
yeah, so something I left out is that predictive approaches are ok if you can specify the accuracy
<erikh>
e.g., not calculating the entire data set.
<judofyr>
ah, like, bloom filters?
<erikh>
maybe?
<erikh>
like I said, ENOCOMPUTERSCIENCE
stayarrr has joined #ruby-lang
<erikh>
I kind of stuck to what I knew
<erikh>
this is a database problem and you solve this in a database by creating an index
<erikh>
so that's what I did more or less
jxie has quit [Quit: leaving]
<rue>
Kabloom filters
<bnagy>
I dunno if bloom filters are exactly right here
<bnagy>
but I may have graphs on the brain
Criztian has quit [Ping timeout: 244 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
<erikh>
anyhow, brb. thanks for looking at it.
JoshWines has quit [Ping timeout: 276 seconds]
kaiwren has joined #ruby-lang
kaiwren_ has quit [Ping timeout: 240 seconds]
achiu has joined #ruby-lang
mahlon has quit [Read error: No route to host]
dan|el has quit [Ping timeout: 240 seconds]
ged has quit [Read error: Connection reset by peer]
ged_ has joined #ruby-lang
mahlon has joined #ruby-lang
jaylevitt has quit [Quit: jaylevitt]
JoshWines has joined #ruby-lang
m3nd3s has joined #ruby-lang
JoshWines has quit [Ping timeout: 245 seconds]
laszlokorte_ has joined #ruby-lang
rohit has quit [Quit: Leaving]
laszlokorte has quit [Ping timeout: 260 seconds]
esad has joined #ruby-lang
m3nd3s has quit [Read error: Connection timed out]
dejongge has joined #ruby-lang
carloslopes has joined #ruby-lang
JoshWines has joined #ruby-lang
t16815 has quit [Remote host closed the connection]
t53646 has joined #ruby-lang
d-snp has joined #ruby-lang
bryanl has quit [Ping timeout: 265 seconds]
codewrangler has joined #ruby-lang
JoshWines has quit [Quit: Leaving]
lcdhoffman has quit [Quit: lcdhoffman]
andrewhl has joined #ruby-lang
Jay_Levitt has joined #ruby-lang
sockmonk has joined #ruby-lang
bryanl has joined #ruby-lang
dhruvasagar has quit [Quit: leaving]
dhruvasagar has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
lcdhoffman has joined #ruby-lang
achamian has quit [Remote host closed the connection]
mahlon_ has joined #ruby-lang
MrWGW has quit [Ping timeout: 240 seconds]
ged__ has joined #ruby-lang
ged_ has quit [Read error: Connection reset by peer]
tenderlove has quit [Remote host closed the connection]
Jake232 has quit [Read error: Connection reset by peer]
jtoy has quit [Quit: jtoy]
<abstr4ct>
got this pathing that i feed into nokogiri and it works great except the data is smashed together without a space... anyone got a suggestion on how to interject a space? EastVillageM = '//b[text()="Monday:"]/following::div[1] | //b[text()="Monday:"]/following::div[2]'
<abstr4ct>
its the Pipe where i think i need it
banisterfiend has quit [Read error: Connection reset by peer]
qpingu has joined #ruby-lang
banisterfiend has joined #ruby-lang
wallerdev has joined #ruby-lang
elux has joined #ruby-lang
mwjcomputing has quit [Quit: Leaving]
<rue>
Think there was a switch for preserving whitespace
Jake232 has joined #ruby-lang
<rue>
Or maybe you just want grouping?
banisterfiend has quit [Read error: Connection reset by peer]
<rue>
That’s a good point, it’s a little more descriptive than a straight def
<hakunin>
apeiros_: kind of, except the source of uploads is my own server that generates pngs and streams them to my self-written buffer which then outputs the io object which is either stringio or file
<apeiros_>
hakunin: module WithOriginalFilename; attr_accessor :original_filename; end; …elsewhere in your code… def foo; io.extend WithOriginalFilename; io.original_filename = 'foo'; io; end
<apeiros_>
hakunin: exactly the usecase where I did that myself :)
<apeiros_>
that and data generators
<rue>
^ Self-documenting is good
laszlokorte has quit [Quit: laszlokorte]
naz has quit [Read error: Connection reset by peer]
dous has quit [Ping timeout: 276 seconds]
<hakunin>
apeiros_: looks perfect
akira989 has quit [Remote host closed the connection]
<hakunin>
(if we were hypothetically to geek out on aesthetics)
jtoy has quit [Quit: jtoy]
erics has joined #ruby-lang
dfr|mac has joined #ruby-lang
<hakunin>
i guess the extend makes it easier to introspect down the line
<hakunin>
but def looks very clear/readable at that exact point
rmcauley has left #ruby-lang [#ruby-lang]
LiquidRain has joined #ruby-lang
<apeiros_>
if you want aesthetics you could go with a module OriginalFilename, and have an add_to class method on it which takes 2 args, the object to extend and the new original filename
IPGlider has joined #ruby-lang
<LiquidRain>
hey folks; having trouble with regexes. I want multi-line *and* ignore case but Ruby doesn't seem happy with that if the string I'm trying to match isn't multiline.
<apeiros_>
also why do you use Regexp.new? that's so ugly…
kuja has quit [Ping timeout: 244 seconds]
<LiquidRain>
that's a very long explanation I won't bother the channel with. :) and the bug I'd file then is that the Regexp docs don't have an example with the right "|"
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
hynkle has quit [Ping timeout: 252 seconds]
wpaulson has quit [Ping timeout: 272 seconds]
wpaulson_ is now known as wpaulson
<apeiros_>
drbrain: shouldn't that be #=> /dog/ix ?
<drbrain>
shit
<apeiros_>
and: thanks for improving the docs! :)
<drbrain>
I put a mental note in to fix that and it fell out
<apeiros_>
hehe, yeah, I know those
tenderlove has quit [Ping timeout: 245 seconds]
cantonic has quit [Quit: cantonic]
<drbrain>
ok, fixed
rippa has quit [Ping timeout: 246 seconds]
tndrbt has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
JustinCampbell has joined #ruby-lang
publicvoid has joined #ruby-lang
coryf has quit [Remote host closed the connection]
<abstr4ct>
alright i cant figure out why this xpath doesnt work on this page. but works great everywhere else.. http://www.oxfordraleigh.com/index.php/specials '//*[text()="Monday"]/following::span[2]'
laszlokorte has joined #ruby-lang
headius has joined #ruby-lang
<apeiros_>
*sob*, when will people learn that "doesn't work" is *USELESS* as a problem description
anjen has quit [Quit: anjen]
cirenyc has quit [Quit: Leaving...]
laszlokorte has quit [Client Quit]
<abstr4ct>
ahh
elux has quit [Quit: Bye!]
<abstr4ct>
sorry went afk for a second.. let me explain better
ivanoats_ has joined #ruby-lang
cirenyc has joined #ruby-lang
cirenyc has quit [Client Quit]
<abstr4ct>
iam trying to use the first part to search for the string monday, then use pathing from there on...
<abstr4ct>
and it has worked great for me on other sites, but it is not allowing me to capture the actual content for monday...
postmodern has joined #ruby-lang
<abstr4ct>
i am not stuck on this concept, ill take any other ideas..
<erikh>
this is how I typically bootstrap a chef server with chef-solo
<drbrain>
I mostly need "use X, Y and Z, it'll save you tons of time"
<erikh>
right
<erikh>
knife-solo is where I'd start
<erikh>
you don't need to use the script above but just be aware of what it does and how it works, etc.
<drbrain>
oh yeah, this looks great
<drbrain>
what's line 9-23 about?
<erikh>
ah, so that repo is a bootstrap for chef-enabled OS X machines
<erikh>
since i can't distribute the xcode distribution, it needs to be dropped in
<drbrain>
with apt-get?
<erikh>
the server runs on linux
cirwin has left #ruby-lang [#ruby-lang]
<erikh>
the clients are os x
<erikh>
the cookbooks in that repo actually build out a nginx server and place that file in the proper spot
<drbrain>
oh! s-s-h, not s-h
<erikh>
which the clients then fetch during their build
<erikh>
:)
<erikh>
oh, a note about that script
<erikh>
that little hack with the admin line in sudoers breaks, like kernel panics, certain versions of ubuntu
<erikh>
anything modern should be fine though
<erikh>
I think I saw it on 10.04
<erikh>
(repeatedly)
jtoy has joined #ruby-lang
<drbrain>
ok
<erikh>
the problem with chef-solo is that it's hard to update your boxes
<erikh>
first run is easy, but if you need to make any changes it gets infinitely more complicated
llakey has quit [Quit: leaving]
<drbrain>
I don't think I care since they're cloud nodes
<erikh>
ok, that's a fine requirement
<erikh>
just as long as you're aware of it
<ivanoats_>
erikh: drbrain: this is cool. I am working on figuring out chef a bit more too. thanks. drbrain if you want to hack on it together in person we could meet up
<drbrain>
I'll delete them down at the end of the run
<drbrain>
ivanoats_: how about Tuesday?
<erikh>
yeah, lots of people get on just fine with chef-solo
dous has quit [Ping timeout: 276 seconds]
<erikh>
man, I want to help :(
<drbrain>
ivanoats_: I'm going to give my knee a try tomorrow
<ivanoats_>
yeah - maybe late afternoon? I have an event tonight so want to see kids tomorrow night
<ivanoats_>
knee? what happened?
<drbrain>
ivanoats_: sure, at Vivace
<ivanoats_>
cool!
<drbrain>
I almost rolled my ankle, I thought everything was fine
<erikh>
ow
tndrbt has quit [Quit: tndrbt]
<drbrain>
the next day it got stiff, then on Friday I stepped off my bottom stair to put my shoes on and it went "pop"
<drbrain>
I got about 75 feet towards the bus before I gave up and scheduled a doctor's appointment
<drbrain>
turns out something inside is just irritated, not damaged
<drbrain>
so I've got powerful NSAIDs to take for two weeks while it heals
<ivanoats_>
ouch.
<drbrain>
I'm not supposed to go up and down stairs so much… but I have a 3 story house :/
<drbrain>
I stayed home today, I'm going to give tomorrow a try
hynkle has quit [Ping timeout: 246 seconds]
t4nkd has joined #ruby-lang
llakey has joined #ruby-lang
hynkle has joined #ruby-lang
chrismcg is now known as zz_chrismcg
hynkle has quit [Client Quit]
gsav has joined #ruby-lang
<ivanoats_>
What is the best way of storing data that a gem needs. I'm working on a gem that will store the US Export Control list (about 25,000 records in a CSV), and let you know if a technology is safe to export.
<ivanoats_>
so far I've seen storing a file in the users' home directory
<ivanoats_>
PStore maybe
<zenspider>
25k csv records isn't much. why not csv?
<erikh>
hm
<zenspider>
if you need something faster but simple, use marshal
<erikh>
it's not that much memory either
<erikh>
yeah, I was heading in that direction
t9202 has quit [Remote host closed the connection]
<erikh>
no need to keep the csv around if you're just going to import it on require or w/e
<ivanoats_>
csv's fine.. yes, i would like it in memory most of the time, but also available when the (rails) sever starts up again
t72227 has joined #ruby-lang
<ivanoats_>
there's no other common well known place to store gem info right?
mjbamford has joined #ruby-lang
<erikh>
well, it's less about the gem at this point and more about the code
<erikh>
IMO of course.
<zenspider>
you can put it in the root of your rails app, or in a data dir of your rails dir... or home. if rails specific, I'd leave it in the rails dir
<drbrain>
erikh: yeah, knife-solo looks perfect
<erikh>
if you're goign to have a static, unchanging data set, no sense importing it on each load
<erikh>
err rather, converting
<ivanoats_>
k, gonna work on the code a bit more then. I'm trying to 'gemify' it so it's useful for other people… maybe spree etc..
<erikh>
drbrain: cool. matschaffer is in #ruby-pro if you still haunt there
<erikh>
pretty nice and friendly fellow.
<ivanoats_>
export.gov updates it about every few weeks i think
Criztian has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
dejongge has joined #ruby-lang
lsegal has joined #ruby-lang
sockmonk has quit [Ping timeout: 246 seconds]
achamian has joined #ruby-lang
Criztian has quit [Ping timeout: 252 seconds]
woollyams has quit [Quit: Computer has gone to sleep.]
akira989_ has joined #ruby-lang
dous has joined #ruby-lang
butchanton has quit [Quit: Leaving.]
<zenspider>
steveklabnik: hah!
akira989 has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 244 seconds]
dous has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
lcdhoffman_ has quit [Quit: lcdhoffman_]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
<zenspider>
damn it is a good day... AND not too hot. yay yay yay
<steveklabnik>
berlin was so damn hot today
<zenspider>
oh. reminds me that we need to go down to derberliner ... om nom nom
<zenspider>
steveklabnik: you'll be in madison soon, yes?!? that's a lot of timezones
s0ber_ has joined #ruby-lang
s0ber has quit [Read error: Operation timed out]
s0ber_ is now known as s0ber
cantonic has joined #ruby-lang
krz has joined #ruby-lang
jtoy has quit [Quit: jtoy]
banisterfiend has quit [Read error: Connection reset by peer]
x0F has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
x0F has joined #ruby-lang
sol has joined #ruby-lang
<steveklabnik>
dude you have no idea
sol is now known as Guest69639
<steveklabnik>
so the lease on my house ran out july 31
<steveklabnik>
but steel city ruby was the 3rd
mistym has quit [Remote host closed the connection]
<steveklabnik>
so i crashed on freind's couches with everything i owned: a backpack and a suitcase. (i have half a shelf of books at my mom's house too)
stardiviner has joined #ruby-lang
t47735 has quit [Remote host closed the connection]
<steveklabnik>
then i left sunday the 5th at 10am to go to sfo. crashed on someone's couch. monday morning, went to the russian consulate to get my visa app in
t53084 has joined #ruby-lang
<steveklabnik>
'we need your passport' 'how long?' 'one week' 'okay, i'll pick it up'
<steveklabnik>
took the train from oakland to LA.
<steveklabnik>
one week later, train up to sf, picked up my passport, flew back to LAX later that day, went home, slept 6 hours, went back to LAX, then to germany
<drbrain>
damn
<steveklabnik>
i had a 13 hour layover in schipol
<steveklabnik>
so i called up josh-k
<steveklabnik>
and am crashing at his place tonight
<steveklabnik>
plane to LAX leaves at 10am
<steveklabnik>
then yes, madison on friday
<steveklabnik>
heh
<steveklabnik>
september is moscow, chicago, helsinki, aaaaand ghent?
m3nd3s has quit [Remote host closed the connection]
<steveklabnik>
october is Malmo, argentina
<zenspider>
steveklabnik: jesus dude
<zenspider>
I'd die
<steveklabnik>
this month is one year on the conf circut
<steveklabnik>
:)
<steveklabnik>
it is tiring
<steveklabnik>
for sure
<steveklabnik>
but fun
dfr|mac has quit [Remote host closed the connection]