<joelteon>
should I use case, write different functions, or use one function and change the first argument
<joelteon>
like respond "foo" bar = ...; respond "baz" qux = ...
<prophile>
joelteon: what language is this, if you'll pardon my asking?
<prophile>
and what's the type of the attribute?
<prophile>
string here?
<prophile>
Data.Map.Map String (Foo -> IO Bar) would seem lke a way of doing it
<joelteon>
prophile: haskell
<joelteon>
why a map
<prophile>
O(log n)
<prophile>
plus, you could build it in a modular fashion
<prophile>
using simple union across maps exported by multiple modules
<joelteon>
ok, good idea
<joelteon>
defining the same function with a different constant argument is O(n)
kansface has joined #elliottcable
<ec>
joelteon: I thought that Youtube link was from you, not prophile
<ec>
so I was like … you made a Youtube video, to ask us about code-styling?
<prophile>
no, I linked a youtube video
<prophile>
to remind you how much you're not british
<ec>
british? wat?
<prophile>
the linked video is a recording of jerusalem
<prophile>
which would be the national anthem if it wasn't named after a foreign city >.>
<ec>
… wat fuk
<ec>
kansface: 'k. Sorry, multitasking all to fuck, here.
<ec>
kansface: it's an asynchronous programming language.
<prophile>
you're an asynchronous programming language
<ec>
design of my own, it's a pet-project thing.
<ec>
-spec @ kansface
<purr>
kansface: Paws' half-arsed Version 10 specification <http://ell.io/ihQzs>
<ec>
closest thing to documentation, at the moment.
<ec>
kansface: there's a proof-of-concept implementation, http://ell.io/$Paws.js, and I'm currently working on a re-implementation, when I have extra time (moving to Chicago at the moment, and busy with life stuff, though.)
<ec>
kansface: it's not like anything you've seen before. It doesn't fall easily into any of the classes of programming language you're likely familiar with (functional, procedural, or ‘object-oriented’). It's fairly Out There™.
<ec>
if you want to know more, I'd be happy to chat about it, of course. It's mah baby.
<ec>
putting in customized curtains and whatnot when I move in.
<ec>
at the size I was originally looking at (~700-800sqft), and the level of quality I demand (i.e. not a shit-hole that's a thirty minute train ride from downtown), prices were around $US 2k/mo
<ec>
I found this building in a mediocre part of town that's nonetheless *close* to the places that matter (two, three stops on the subway instead of nine, ten)
<alexgordon>
2k sounds reasonable
<ec>
nice and cheap
<ec>
was looking at 900sqft places for 2.1k
<ec>
but it got snapped up /=
<ec>
all of the units are spectacularly well done, *very* new and sharply-outfitted. nice floors, nice appliances, nice modern decor for the kitchen and baths, etc
<ec>
my choices on the pets-allowed floor are now:
<ec>
1br unit, smaller than the one I'd originally wanted, for 1.7k,
<ec>
and the 2br/2ba unit I linked, for a whopping 3.3k /=
<alexgordon>
ec: you should ask sammcd how much he pays for his studio flat ;)
<ec>
it's still “a steal,” depending on how you look at it. Similar units *not* in this shitty part of town are in the 6-7k range.
<ec>
so, idfk.
<ec>
that's a lotta fuckin' money.
<ec>
can't-support-with-whatever-shitty-Ruby-job-I-get-here-in-Chicago, I mean.
<ec>
I'd have to reorganize some of my investments to intentionally pay dividends, which I've been studiously avoiding thus far.
<ec>
which is a big hit to my planned lifestyle. /=
<sammcd>
you rang?
<sammcd>
EC moving to SF?
<alexgordon>
don't think that's in SF
<sammcd>
yeah too cehap
<sammcd>
cheap*
<alexgordon>
I should have said, you should ask sammcd what soffes pays :P
* ec
laughs
<ec>
yes, I'm familiar.
<ec>
One of the benefits of being here.
<ec>
But the pay is also lower.
<ec>
A job that'd net me 80k in SF could be negotiated for, *maybe*, 60k here.
<sammcd>
80k in SF :(
<alexgordon>
not sure you can even get 80k in SF
<sammcd>
you should be able to get a lot more in sf
<alexgordon>
this is ec
* ec
laughs
<alexgordon>
he'd have to pay THEM
<ec>
I've absolutely no experience or resume to convey.
<alexgordon>
"I rewrote all your code to be more efficient when gzipped"
<ec>
There's a relatively good chance that I'll be reduced to taking an “internship”
<alexgordon>
"Your git pulls are now 50% faster"
<ec>
and trying my absolute goddamned hardest to hold my tongue when my superiors are being incompetent idiots.
<ec>
for long enough to get a good reference.
<alexgordon>
hahahahaha
* alexgordon
pats ec
<ec>
relevant life update:
<alexgordon>
ec: pick up that can citizen!
<ec>
I'm buying a car.
<ec>
with a *loan*. (omgomgomg)
<sammcd>
:O
<alexgordon>
does it have a line to the president?
<ec>
I don't even need another car. It just turns out that it's the fastest and easiest way to game the credit system in the U.S.
<sammcd>
ec: heh yeah....
<ec>
probably going to buy a Tesla, for shits and giggles
<alexgordon>
-_-
<alexgordon>
ec why the fuck do you even work
<ec>
… which probably *also* means liquidating my other two vehicles in the area.
<ec>
alexgordon: I enjoy it? I want to make a difference? I care about things other than money? (Take your pick.)
<ec>
hell, “I want to socialize with other intelligent people on a daily basis”
<ec>
or “I want to work on projects where somebody *else* is doing all the life-ruining management shit, and I'm simply told what to do”
<ec>
or “I'm an undisciplined moron, and need a STEM job to lend structure to my intellectual-life”
<alexgordon>
how about: move to russia with whitequark, enjoy the chicks, guns and corruption
<ec>
or all of the above
<ec>
would you be surprised if I'd said I'd actually considered it?
<ec>
(actually, Africa, but samediff)
<alexgordon>
Africa... russia
* alexgordon
shrugs
<purr>
¯\(º_o)/¯
<ec>
Money can only do so much in the United States.
<joelteon>
russfrica
<ec>
it costs hundreds of millions, or even whole billions, to buy policy.
<ec>
there's places in the world where I could literally live like a king.
* ec
laughs
<ec>
in all seriousness, I enjoy the United States. for now.
<alexgordon>
ec: you should do a McAfee and move to latin america
<alexgordon>
ec: you could have everything
<alexgordon>
women, guns, alcohol, bath salts, a nice house by the beach that you can bury yourself in
<alexgordon>
ALL the anti virus software you need
<sammcd>
why does ec need a job?
<alexgordon>
sammcd: he just said, to make the rest of his life go slower