devyn changed the topic of #elliottcable to: yorickpeterse is undergroin
<devyn> man whoever has that order manipulation bot is making a killing
<devyn> they're controlling the market quite impressively
<ELLIOTTCABLE> they Lyft EVERYWHERE in this show
<ELLIOTTCABLE> it's mofuckin adorable
<ELLIOTTCABLE> devyn: what?
<devyn> litecoin trading
<devyn> battle of the two bots with way too much money?
<devyn> lol
<purr> lol
<devyn> whitequark: ↑
<whitequark> devyn: seems so
<ELLIOTTCABLE> devyn: what?
<ELLIOTTCABLE> I don't know what those numbers mean.
<devyn> orders: price(USD), amount(LTC), something, something
<devyn> not sure what the last two numbers are actually
<devyn> oh, the last two numbers are just rounded versions
<devyn> I guess
<devyn> they're 'gbids' or something
<devyn> lol
<purr> lol
<devyn> also whoever disabled bitcoinwisdom appears to have decided to abstain from use of any element except for <div>
<devyn> they have <div class="table">
<devyn> and <div class="row">
<devyn> o_o
<devyn> oh, and they use <span> for cells
<devyn> lol
irclogger_com has quit [Ping timeout: 250 seconds]
<whitequark> lol irclogger
<purr> lol
<devyn> sorry irclogger
irclogger_com has joined #elliottcable
<whitequark> irclogger.com is so horrible
Sgeo has joined #elliottcable
<whitequark> that's artemy lebedev, head of the (self-proclaimed) #1 design studio in russia
<whitequark> his arrogance almost exceeds that of Dijkstra
<joelteon> heh
<joelteon> edgy
<whitequark> (self-proclaimed) tbh his studio is really good.
<whitequark> but, probably not #1 for a couple of years.
<whitequark> definitely in top10
<devyn> song: Housou Hasami Cutter Knife Dosu Kiri
<devyn> wtf
<devyn> lol
<purr> lol
<whitequark> devyn: I guess that makes about the same amount of sense in japanese?
<devyn> "Packing Scissors Cutter Knife Dagger Cut"
<ELLIOTTCABLE> stop using japanese
<ELLIOTTCABLE> you are a bad person
<devyn> says the person who just bought japanese knives
<ELLIOTTCABLE> no, japanese *things* are great. You know, real stuff, with history ≥200 years back.
<ELLIOTTCABLE> it's only everything from the last couple centuries that is a bag of annoying crap.
<ELLIOTTCABLE> it's their super-culture I disdain, not their sub-culture.
<whitequark> super-culture ?
<devyn> and you have no idea what kind of stuff I actually like
<devyn> seriously
<whitequark> ec just has a knee-jerk reaction for japan
<devyn> pretty much
<devyn> he doesn't like anything to do with anime/kawaii/moe culture
<devyn> guess what? neither do I
<whitequark> so-called anime culture is pointless navel-gazing, mostly
* whitequark shrugs
<purr> ¯\(º_o)/¯
<ELLIOTTCABLE> you still watch anime. it's all terrible.
* ELLIOTTCABLE :P
<whitequark> ELLIOTTCABLE: um, I don't think you understand what I mean
<devyn> the last time I watched anime was this summer, and it was a very, very mainstream series
<ELLIOTTCABLE> realistically, though:
<whitequark> anime is fine. it's an artistic tool. anime culture, however--a culture built around a mere tool--is pointless.
<devyn> it's just a style of cartoon. plenty don't even encourage the stupid culture
<whitequark> it's like a person saying he's a "C# programmer", to make a more tech-inclined analogy
<ELLIOTTCABLE> of course there's exceptions to every rule. Sure, 99.99999% of people whom I've ever seen speak psuedo-japanese (what do you even *call* it when you type sounds from another language, in a latin character-set, when the language isn't even in that set!?) are fucking terrible people. Nonetheless I *understand* that there may exist people who spend the time to
<ELLIOTTCABLE> learn the Japanese language, and learn about modern Japanese culture, without actually being horrible wastes of space.
<ELLIOTTCABLE> theoretically, of course, you could be one of them.
<ELLIOTTCABLE> I'm not *that* dense. (Just close.)
<devyn> I am one of them. it's just more convenient to write things in romaji with people who can't read Japanese
<ELLIOTTCABLE> but forgive me if it's very difficult to divorce you, and your possible single-exception-ever-ness, from the *idiocy* I see surrounding anybody else typing Noshu Feeka Bonku-dai shit on the Internet.
<whitequark> ... I've completely lost you, ec
<whitequark> why does romaji even such a big deal for you?
<whitequark> *is
<ELLIOTTCABLE> oh, it's not, I just didn't know what to call it.
<ELLIOTTCABLE> now I do. *shrug*.
<purr> ¯\(º_o)/¯
<ELLIOTTCABLE> it's … almost identical to, say, the aura around MLP.
<devyn> it's standardized, by the Japanese government
<whitequark> I could write, right now, in kana and kanji
<whitequark> because there's an input method which automatically converts between former and later
<ELLIOTTCABLE> theoretically, sure, there's somebody somewhere who studies the show academically, and *isn't* a complete fucktard.
<whitequark> and I know about zero japanese
<whitequark> but what's the point?
<ELLIOTTCABLE> but that doesn't mean I'm not going to *react* as if a person is a fucktard, when they start talking about Ponyland, or whatever it's called, in my presence.
<devyn> well, not that automatically, heh
<whitequark> devyn: well sure, you need to disambiguate
<whitequark> it requires about this: . much of graphical memory
<ELLIOTTCABLE> anyway, the fact that I'm an unenlightened jackass isn't news. On to more important things.
<ELLIOTTCABLE> Anybody seen the Goldee device? I'm so fuckin' excited.
<devyn> ELLIOTTCABLE: look, honestly, I'm about as annoyed by that sort of thing as you are, and I totally get it
<whitequark> oh god yet another fucking wifi lightbulb
<ELLIOTTCABLE> er, no
<devyn> lol
<purr> lol
<whitequark> ok, lightbulb controller.
<ELLIOTTCABLE> it's “finally something to *make those yet-another-fucking-wifi-lightbulbs* **useful**”
* ELLIOTTCABLE grins
<whitequark> lightbulb thing.
<ELLIOTTCABLE> yeah, I've got the lightbulbs, they're silly and difficult to use IRL. But this takes all of that infrastructure that's building up around lighting, and suddenly makes it applicable to the real world.
<ELLIOTTCABLE> well, the rich-real-world. damned things are filthy expensive. don't know how they expect to make a viable business out of that.
<devyn> http://lifx.co/ these?
<ELLIOTTCABLE> BUT. NOT MY PROBLEM. THEY'RE SO COOL.
<ELLIOTTCABLE> devyn: I actually dislike *his* lights (the lifx)
<ELLIOTTCABLE> his only do colours. You'd have you live your entire life in a coloured haze, so to speak.
<ELLIOTTCABLE> The only “whites” you can get, are from mediocre software mixing of R, G, and B LEDs.
<devyn> well, that's probably why I'd mix them with white lights
<ELLIOTTCABLE> the Phillips Hues have some sort of natural-light rated LEDs *specifically* for producing a range of (cool to warm) natural white light
<devyn> why I'd probably*
<ELLIOTTCABLE> at least, the bulbs and down lights do
<whitequark> ELLIOTTCABLE: you and your lightbulbs: http://xkcd.com/1095/
<ELLIOTTCABLE> Hue's other accent lights, light-strips, and shit only do colours
<ELLIOTTCABLE> I love that XKCD. :D
<whitequark> ELLIOTTCABLE: I would guess Hue has blue/UV LEDs and phosphor coating
<whitequark> kinda like the usual gas discharge lamps, except the whole gas discharge thing
<devyn> haha "human subcultures are nested fractally. there's no bottom."
<devyn> musical genres come to mind
<devyn> "postmodern ultra-funk triphop glitch"
<devyn> I'm sure it's been used
<whitequark> talking about art, there's a russian joke
<whitequark> do you know the difference between a performance and an installation? performance: you ring the doorbell, take a shit, and run away. installation: you take a shit, ring the doorbell, and run away.
<whitequark> summarizing way more modern art than it should, in three sentences.
<devyn> an installation? think that might be a mistranslation. but haha
<whitequark> hmmm
<whitequark> I thought it was a borrowed word from english
<whitequark> ok, no idea how to translate it, then
<joelteon> what's the russian word?
<devyn> whitequark: oh, a prank?
<devyn> шалость?
<whitequark> devyn: no
<whitequark> it's инсталляция in russian
<devyn> huh, that is installation
<whitequark> (transliterated, basically)
<devyn> weird
<whitequark> well
<devyn> well basically
<devyn> installashia
<devyn> kinda
<devyn> lol
<joelteon> huh
<whitequark> what it means is: you go on an exhibit, and there's a space with several strange things, and you have no idea what it means
<joelteon> that is installation
<whitequark> but it's supposedly art
<devyn> joelteon: I know
<joelteon> oh
<devyn> interesting
<joelteon> whoops
<whitequark> that's "инсталляция".
<joelteon> oh, it's an art joke
<joelteon> it's a "modern art is meaningless" joke?
<joelteon> or is it contemporary art? i get those mixed up
<whitequark> the word is used seriously, otherwise yes
<whitequark> plus it's not really so much of a joke
<whitequark> I mean, a friend recently visited a modern art exhibit. there were lots of pictures of shitting penises.
<purr> lol
<devyn> found it
<whitequark> devyn: told ya
<devyn> I hadn't ever heard of it
<whitequark> ELLIOTTCABLE: honestly though, why are you annoyed even by, say, MLP fanbase?
<ELLIOTTCABLE> I'm honestly not. Just rationalizing my helping of devyn-trolling for the day.
<devyn> why don't you just go troll Navarr :)
<whitequark> or /dev/null
<whitequark> that would be awesome
<ELLIOTTCABLE> someday, we're going to discover that a giant government conspiracy has been recording all data sent to /dev/null for *decades*.
<whitequark> ELLIOTTCABLE: in past tense, that would make an awesome The Onion headline
<devyn> Snowden leak: NSA put backdoor in Linux /dev/null
<ELLIOTTCABLE> … and subsequently also find that there's this one guy who's been writing mind-blowing poetry and depositing it on /dev/null, who will thereafter be worshipped as a god for centuries.
<whitequark> and that would nicely finish the last paragraph.
<whitequark> ELLIOTTCABLE for The Onion staff!
<whitequark> let's all donate $1 for his election fundraiser!
<whitequark> (or is it BTC 1?)
<devyn> lol there's a big difference
<purr> lol
<whitequark> devyn: that's just 3 sigma, it's not statistically significant :]
<ELLIOTTCABLE> your mom is three sigma
<devyn> sure, when converting AU to meters
<whitequark> ... that's one data point
<ELLIOTTCABLE> just GO, bob
<ELLIOTTCABLE> anybody here watch ReGenesis?
<devyn> no, but I did watch ReBoot when I was little
<devyn> I don't think I ever saw this movie lol
<purr> lol
<devyn> daemon rising, lol
<whitequark> ELLIOTTCABLE: hm, that's either really good or really horrible
<whitequark> I should watch it
<ELLIOTTCABLE> it's … mediocre. but I enjoyed it.
<whitequark> ah, then nope.
<devyn> "Her name is a reference to services running on Unix systems in the background as well as the Greek word "daemon"."
<devyn> " In her final scene she reveals that The Word is "Cron" ("I am not an entity, I am a time. My time is now. The Word is Cron.")"
<ELLIOTTCABLE> what the FUCK is this shit
<ELLIOTTCABLE> (ReBoot)
<devyn> an old Vancouver series
<whitequark> devyn: wow
<whitequark> so THAT is how it was called
<whitequark> I caught a glimpse of this when I was, I think, 11
<whitequark> about five minutes
<whitequark> on russian TV of course
<devyn> but hey, I mean, a show designed to teach kids tech jargon
<devyn> what's not to like
<devyn> "The defacto army consisted of the CPU police force for Mainframe with a weapon named "The Hardware", a large cannon designed to close a gate to the Web via a blast of energy."
<devyn> hahahaha
<whitequark> devyn: stahp
<ELLIOTTCABLE> misfits <3
<ELLIOTTCABLE> devyn: lolwat
<purr> lolwat
<devyn> ah I made a stupid buy because it was 33.1 not 32.1 >_<
<whitequark> oh, BTC is 912 again. nice.
<devyn> yep, some "crash" eh?
<whitequark> yeah
<devyn> it has "crashed" like 3 times recently
<devyn> lol
<purr> lol
<ELLIOTTCABLE> it's a volatile currency. what do you expect?
* ELLIOTTCABLE grins
<devyn> I know
<devyn> I appreciate that
<whitequark> I expect exactly this
<devyn> because I can potentially make money off of stupid people
<devyn> unless I'm stupid myself
<devyn> which I just was, short-term :p
alexgordon has quit [Ping timeout: 264 seconds]
<ELLIOTTCABLE> confused, 32 vs 33 lost you money? how much do you have *invested*?
* whitequark has not lost anything, but not really gained anything either
<whitequark> I *know* I can't do it by hand.
<ELLIOTTCABLE> I've gained a ton; and I expect to gain more
<ELLIOTTCABLE> tybtc
<devyn> whitequark: yeah well, I just misread the ticker price. how's that for human error? :p
<whitequark> so, either I have a bot which I know how it works, which is provably profitable (to some degree), or
<whitequark> I'm not doing it at all.
* ELLIOTTCABLE nods
<ELLIOTTCABLE> “I'm runnin' m'cock, up a turtle's ass … and you don'want me to *hurt* 'im.”
<ELLIOTTCABLE> Misfioitttss
<devyn> wow there are some really, really stupid orders going in
<devyn> people buying huge amounts when it's relatively high... oh wait
<devyn> lol
<purr> lol
<whitequark> devyn: shut up and code <3
<devyn> right.
<whitequark> I know it's fascinating to watch
<whitequark> not unlike an aquarium.
<devyn> pretty much
<whitequark> "if that bettyfish swims left, SELL SELL SELL"
<whitequark> *cough*
<devyn> lol I bet my bird could predict the market better than I can
<whitequark> not sure about birds, but there was a study where they used a plasmodium to find a set of optimal connections for tokyo's public transit network
<whitequark> so, yes, you could probably retrofit some simple organism to use as a market indicator
<whitequark> that would be amazingly cool and incredibly useless
<whitequark> we should find a biologist.
<ELLIOTTCABLE> googled that, got http://plasmodb.org/plasmo/
<ELLIOTTCABLE> There's a “My Favourites” tab.
<ELLIOTTCABLE> Presumably, for your favourite plasmodia.
<whitequark> ELLIOTTCABLE: um, what's so strange about it?
irclogger_com has quit [Ping timeout: 248 seconds]
<ELLIOTTCABLE> fractal communities and all that.
<ELLIOTTCABLE> was hoping there'd be a forum under the community tab.
<ELLIOTTCABLE> love finding other peoples' arguments.
<whitequark> I don't think you get it
<ELLIOTTCABLE> hm?
<ELLIOTTCABLE> oh, it's one of a set of similar sites
<whitequark> well, it's a scientific resource
<ELLIOTTCABLE> that makes it much less hilarious
<ELLIOTTCABLE> oh, I get that.
<whitequark> funded by some entity from EU
<ELLIOTTCABLE> it was that there was *just that one site* for *such a specific thing*, and it has a *twitter account in the sidebar for news*.
<whitequark> you generally work on same set of organisms for years.
<whitequark> specific?!
<ELLIOTTCABLE> like, it seems like a video-game enthusiast website or something.
<ELLIOTTCABLE> ah, it's open-source
irclogger_com has joined #elliottcable
<whitequark> yeah
<devyn> lol at first I was like "what is this doing on the garry's mod wiki"
<purr> lol
<ELLIOTTCABLE> devyn: LOL
<devyn> how many goddamn domains do they need
<devyn> oh wait
<ELLIOTTCABLE> that's exactly what I was thinking
<devyn> never mind.
<ELLIOTTCABLE> but it turns out it's open-source
<ELLIOTTCABLE> yeah, see
<devyn> yeah
<ELLIOTTCABLE> my reaction isn't *that* strange, devyn had it too :D
<whitequark> meh
<ELLIOTTCABLE> bedrom
<devyn> ELLIOTTCABLE: implying I'm not strange
<ELLIOTTCABLE> penis
<ELLIOTTCABLE> penises are great
<ELLIOTTCABLE> big, and hard, and great
<devyn> I thought you were "straight" now
<whitequark> we all know ec likes penises
<whitequark> ec can never be straight. ec can only be shrewd.
<whitequark> like a duck's penis.
<devyn> ec is like a duck's penis?
<ELLIOTTCABLE> I'm straight? since when?
<whitequark> (you should google that)
<ELLIOTTCABLE> I'd never date a guy, that hasn't changed
<ELLIOTTCABLE> we're all such ugly motherfuckers
<devyn> I don't know, you said something like that once
<devyn> probably misremembering
<ELLIOTTCABLE> well, except maybe the Handsome Bar-man from misfits
<ELLIOTTCABLE> ducks have shrewd penises?
<devyn> they're all twisty and rapey
<devyn> *sigh*
* devyn googles duck penis
<whitequark> ELLIOTTCABLE: it's the same length as a duck and looks like a corkscrew
<whitequark> and duck's vagina looks like an inverse corkscrew, except it also has dead-end diverticules
<ELLIOTTCABLE> wat
<ELLIOTTCABLE> is that, like, torn off
<ELLIOTTCABLE> jesus
<whitequark> this one is not torn off
alextgordon has joined #elliottcable
<alextgordon> GAH
<ELLIOTTCABLE> is that a chicken penis …
<alextgordon> I wish I knew more statistics
<whitequark> ELLIOTTCABLE: no, duck's
<alextgordon> trying to do bilingual sentence alignment of harry potter
<alextgordon> fucking difficult
<ELLIOTTCABLE> what the FUCK whitequark
<ELLIOTTCABLE> how do you know these things
<whitequark> hahahahahaha
<alextgordon> ELLIOTTCABLE: russian
<ELLIOTTCABLE> god damnit
<alextgordon> ...what are we talking about?
<ELLIOTTCABLE> I just saw a duck cum.
* alextgordon quickly disables media embedding
<ELLIOTTCABLE> like
<ELLIOTTCABLE> in slow-motion
<alextgordon> oh right, textual. no need!
<ELLIOTTCABLE> high-definition
<ELLIOTTCABLE> media embedding? who the fuck does that?
<alextgordon> ELLIOTTCABLE:err, irccloud?
<ELLIOTTCABLE> what?
<ELLIOTTCABLE> irccloud embeds media? mine doesn't. since when?
<alextgordon> there's an option for it
<whitequark> ELLIOTTCABLE: I've accidentally found out about this several years ago
<ELLIOTTCABLE> omfg that's … what …
<whitequark> I immediately showed all my friends, the reactions will be hilarious
<whitequark> *have been
<whitequark> so
<alextgordon> this is some serious knuth shit, guys
<alextgordon> reminds me of knuth's line breaking algorithm
<ELLIOTTCABLE> knuth shit?
<whitequark> alextgordon means he's got a complicated algorithm on his hands.
<alextgordon> bilingual sentence alignment!
<devyn> hahaha conservatives
<whitequark> "among other things"
<whitequark> ugh burn
<whitequark> ah, Fox News.
Sgeo_ has joined #elliottcable
<alextgordon> wait, actually not a bad idea. I can count full stops
<whitequark> >full stops
<whitequark> you're so british
<alextgordon> periods, you dirty yanks
<devyn> your mom came to a full stop when she saw my dick
* whitequark sighs
<devyn> and whitequark is not a yank, he's a ruskie
<alextgordon> why do you name your punctuation after a woman's menstrual cycle?
<alextgordon> I have a similar question for whoever named the "colon"
<devyn> haha
<whitequark> hahaha
Sgeo has quit [Ping timeout: 240 seconds]
<whitequark> ELLIOTTCABLE: "explosive eversion"
<whitequark> not "erection"
<alextgordon> but yeah, if you have a translation, the one thing that doesn't change is the sentence structure (except for interjections)
<whitequark> eversion is the opposite of inversion.
<devyn> alextgordon: what?
<devyn> alextgordon: sentence structure absolutely can change between languages
<alextgordon> devyn: for a professional translation?
<devyn> ok, backtrack, what do you mean?
<alextgordon> if you have two books, one in english and one translated into french. You wouldn't expect the translator to add/remove sentences
<whitequark> alextgordon: of course you would
<alextgordon> except for like interjections that are idiomatic
<alextgordon> whitequark: I dunno, would you?
<devyn> translators can take a lot of creative liberty
<whitequark> ^
<whitequark> and should
<whitequark> if the translation must be any good.
<alextgordon> I'm not convinced
<whitequark> honestly the translations where you don't notice it's a translation significantly differ
<alextgordon> they definitely can't add/remove paragraphs
<devyn> most likely
<devyn> yes
<devyn> I wouldn't say "definitely can't"
<devyn> but, it's not likely
<whitequark> alextgordon: I've read a really good translation of Alice in Wonderland
<whitequark> to russian
<alextgordon> russian is pretty idiomatic, I would assume
<whitequark> and by really good I mean you wouldn't even suspect it's a translation if not for a completely foreign culture
<whitequark> well, yes
<whitequark> but english in Alice is pretty idiomatic too
<whitequark> :3
<alextgordon> I'd think the more idiomatic a language, the more liberty a translator has to take
<ELLIOTTCABLE> vil: android? or wp? really? ಠ_ಠ
<vil> hi
<purr> vil: hi!
<alextgordon> if you're translating between say... german and I dunno, swedish? it would be more direct
<vil> there's no android phone that I'm willing to commit to for the length of a contract, no
<alextgordon> also I feel like older books are harder to translate
<vil> the lumia 1020 is fucking gorgeous, though
<alextgordon> anyway, I'll try it and see
<alextgordon> HMM
<alextgordon> maybe it'll be easier to merge paragraphs than split them
<alextgordon> actually it will DEFINITELY be easier
<alextgordon> there's only N-1 ways to merge N paragraphs
<whitequark> #alexgordon-writing-something
<devyn> vil: eh, not really a big fan of WP. I flashed my S4 with Android 4.4 recently and I'm loving it
<alextgordon> #alexgordon-talking-to-himself
<whitequark> yes
<whitequark> you should team up with yorickpeterse
<whitequark> he does that for months on #ruby-lang
<alextgordon> elliott does it all the time
<alextgordon> then again, it's ontopic
<whitequark> idk elliott's silent for ages
<alextgordon> but sometimes he just spams the whole screen with *thoughts*, you know?
<alextgordon> I'd hate to see ELLIOTTCABLE orgasm
<whitequark> no
<alextgordon> probably duck cum
<alextgordon> duck cum EVERYWHERE
<whitequark> alextgordon: "I'd hate to see ELLIOTTCABLE orgasm" wat.
<purr> beep.
<whitequark> -wat
<purr> whitequark: what the ever loving fuck are you saying
<alextgordon> -wat
<purr> alextgordon: what the ever loving fuck are you saying
<alextgordon> :(
<whitequark> -wat @ purr
<purr> purr: what the ever loving fuck are you saying
<alextgordon> ok so, first things first, split into chapters, since there's no way a translator is adding new chapters
<alextgordon> then split into paragraphs
<whitequark> there can be auxiliary chapters
<ELLIOTTCABLE> -what
<purr> <alexgordon> Euler's artistic penis?
<whitequark> prefaces, appendices, etc
<whitequark> -what
<purr> <elliottcable> After a round of wild sex, elliottcable pedants heavily, trying to regain his breath.
<alextgordon> true but I can human those out
<alextgordon> ok so then compute merge points so that we have an equal number of paragraphs for each language
<ELLIOTTCABLE> wat
<vil> oh hey alextgordon you grew a t and I didn't even notice
<alextgordon> so if there's N and M paragraphs in each language, then there's N-1 and M-1 merge points, so something like (N-1)(M-1) ways to combine? probably less
<alextgordon> vil: it's textual, can't get rid of it
<whitequark> alextgordon does this: www.youtube.com/watch?v=ef-HQniRhtk
<vil> I have a feeling I know what that is
<alextgordon> not clicking in case it's duck orgasm
<vil> and I'm not clicking it
<vil> ^
<whitequark> no, it's a part of an it crowd episode
<whitequark> sfw
<alextgordon> oh in that case...
<alextgordon> whitequark: haha if it's part of an IT Crowd episode I definitely won't be able to watch it, since channel 4 blocks all that shit
<alextgordon> damn you reverse geoblocking!
<alextgordon> can't watch southpark online because I'm not american
<whitequark> just pirate it
<alextgordon> can't watch channel 4 on youtube because I'm not not british
<vil> bahaha
<alextgordon> whitequark: yeah... or 4od
<whitequark> Error: The files lib/finance/exchange.cmi and lib/finance/exchange.cmi make inconsistent assumptions over interface Exchange
<whitequark> -wat @ ocaml
<purr> ocaml: what the ever loving fuck are you saying
<whitequark> seriously how can an interface file conflict with itself
<whitequark> is it drunk
<alextgordon> maybe if you give the compiler more vodka it'll forget about it
<alextgordon> hmmm so the first paragraph pair must always match
<alextgordon> so take the first merge point and determine whether it's a better match than unmerged
<alextgordon> then just... repeat?
<alextgordon> should be done in N + M time
<alextgordon> easy!
<ELLIOTTCABLE> <@purr> ocaml: what the ever loving fuck are you saying
<ELLIOTTCABLE> well-played, whitequark. well-played.
<ELLIOTTCABLE> alextgordon: what, and why, are you doing?
<alextgordon> ELLIOTTCABLE: I'm trying to match up paragraphs between two language versions of harry potter
<ELLIOTTCABLE> why
<alextgordon> because harry potter is more fun for learning languages
<alextgordon> I feel like, instead of wasting my time watching shitty TV, I could try and make my way through harry potter in another language
<alextgordon> did you ever see that thing where they teach you an alphabet "in a vacuum"? they start by replacing one letter, then gradually move up
<alextgordon> well I'm trying a more sophisticated version of that
<whitequark> by the way
<whitequark> did you know that nyoro~n is valid ocaml syntax?
<whitequark> ... nevermind
<whitequark> too obscure
<devyn> I got it
<whitequark> someone mentioned it on #ocaml
<whitequark> it was really unexpected
<alextgordon> damn can't fin the alphabet thing now
<alextgordon> *find
<devyn> alextgordon: "damn can't fin the alphabet thing now" wat.
<purr> beep.
<alextgordon> ?
<devyn> -what
<devyn> -start
<devyn> -what
<whitequark> -what
<devyn> o.O
<devyn> -wat
<vil> I think she's rate limited lately
<devyn> process.exit()
<devyn> >_>
<vil> -purr
<purr> <dxgriffiths> Variadic declare, it's like 'fire photon torpedoes'.
<purr> <incomprehensibly> flatworms absorb the knowledge of other flatworms when they eat them
<purr> <prophile> to be honest i think it's all downhill after kidney cracker
<purr> devyn: what the ever loving fuck are you saying
purr has quit [Write error: Broken pipe]
<devyn> lol
<vil> welp
purr has joined #elliottcable
<devyn> hahahaha that last one
* vil boops purr on the nose
* purr r
<devyn> "devyn: what the ever loving fuck are you saying"
<devyn> purr is magic
* devyn hugs purr
* purr rr
<alextgordon> okaaaay I think I've finished the algorithm
<alextgordon> if I combine punctuation and word cross-translation correlation, it should give pretty good results
* alextgordon is just making stuff up now
<ELLIOTTCABLE> alextgordon: LOL'D
<purr> LOL
<ELLIOTTCABLE> I love you guys.
<ELLIOTTCABLE> Merry fuckin' Christmas, #ELLIOTTCABLE.
<alextgordon> <3
<ELLIOTTCABLE> Oh. Note.
<alextgordon> what are we getting micah for christmas?
<ELLIOTTCABLE> iPhone 5
<ELLIOTTCABLE> so:
<ELLIOTTCABLE> I'm throwing a party on New Years' Eve.
<alextgordon> ah
<alextgordon> oh
<ELLIOTTCABLE> Y'all're all invited, if you can RSVP fast enough, and find a way to Chicago.
<ELLIOTTCABLE> you can't be weird, though, there'll be *real* people there.
<vil> erg, I wish
<alextgordon> shit
<alextgordon> I'm weird
<vil> ^
<alextgordon> ELLIOTTCABLE: I dunno, it's a bit of a long way to go for a new years eve party!
<devyn> alextgordon: you are weird
<ELLIOTTCABLE> lol
<alextgordon> tell me something I don't know!
<alextgordon> found that the other day
<alextgordon> not sure why one bottle is circled
<vil> probably because it's soap
<whitequark> wow that's a lot of booze indeed
<devyn> lots of it is expensive booze o.o
<alextgordon> ELLIOTTCABLE: even the RUSSIAN thinks it's a lot of booze. I rest my case.
<vil> :D
<devyn> hehe
<ELLIOTTCABLE> … ‘soap’
<devyn> to be fair, I don't think whitequark drinks that much
* whitequark doesn't drink at all
<devyn> there you go
<ELLIOTTCABLE> not even scotch!?
<whitequark> nothing
<ELLIOTTCABLE> but scotch isn't drinking! it's sustenance!
<whitequark> hahahah
<devyn> ELLIOTTCABLE: I wholeheartedly agree
<vil> ELLIOTTCABLE: soap, fabric softener, same thing
<ELLIOTTCABLE> elliottbooze.png
<ELLIOTTCABLE> dying.
<ELLIOTTCABLE> wtf downey
<ELLIOTTCABLE> but really, alextgordon
<devyn> GIMME SOME 'A DAT SHIT
<whitequark> ec's party... $2k to spend one day in chicago
yorick has quit [Remote host closed the connection]
<whitequark> fucking airlines
<whitequark> why are they so fucking expensive
<ELLIOTTCABLE> lol whitequark :D
<purr> lol
<ELLIOTTCABLE> is it really just 2k for a round-trip? I'm actually surprised.
<devyn> lol it would probably cost me like half that to get there, and I'm nowhere near that far away
<whitequark> last time I checked
<whitequark> well, lemme recheck
<devyn> a United flight from Vancouver to Chicago is $1,057 round trip
<devyn> >_>
<whitequark> argh what the fuck, internet broke
<devyn> ah last minute is cheaper but I bet that would be impossible to get for New Years'
<devyn> New Year's*
<devyn> blagh
<whitequark> $1979 cheapest
<whitequark> so my ballpark estimate was quite precise
<devyn> I'm on the same freaking continent and it's half that
<devyn> wtf whitequark
<devyn> that site
<devyn> is slow
<devyn> and awful
<devyn> like seriously if you need a splash screen for your website
<devyn> you are doing something wrong
<vil> oh my glob this is ridiculous
<whitequark> "glob" ?
<vil> that's a thing I'm doing now
<whitequark> devyn: I guess they're asking hundreds of external APIs
<devyn> *.*, and then there was light
<whitequark> ooooh there's an amazing webcomic, mostly about jesus, in russian
<devyn> lol
<purr> lol
<whitequark> no it's really amazing. hilarious, but not hateful
<vil> devyn: haha
<whitequark> however, even if I started translating it, I would just give up on about half of it
<whitequark> partly because it simply cannot be translated
* alextgordon can't imagine the process for a russian getting a visa in the US
<whitequark> partly because I'm not that good with words in either russian or english
<alextgordon> do you have to prove you're not snowden?
<whitequark> alextgordon: tourist visa? that's done in like two days
<whitequark> according to the embassy website
<alextgordon> I'm surprised
<whitequark> and there's no way in hell I'm getting anything except a tourist visa to US
<alextgordon> no way it's 2 days if you want to come to the UK :P
<alextgordon> UK border are nazis
<whitequark> ... or UK
<alextgordon> no way
<devyn> lol inb4 US and UK are police states
<alextgordon> don't believe it :P
<whitequark> I won't go as far
<whitequark> but I won't want to live there either
<whitequark> I've recently estimated things a bit
<devyn> come to canada, where our prime minister has a war on science
<whitequark> by US standards, I receive just about minimal wage
<whitequark> and average wage for a russian my age *in Moscow* would be about 1/4-1/5th of that
<alextgordon> hehe it's funny, whenever I arrive back at heathrow, they always ask you questions to check you're not a foreigner out to steal jorbs
<alextgordon> so I put on my strongest london accent
<alextgordon> always seems to speed things up
<whitequark> you are a jorb
<devyn> whitequark: wow, because I make like 40% more than US minimum wage
<devyn> but shit's expensive here
<whitequark> devyn: also, I mean after taxes
<devyn> wait you're comparing US minimum wage before taxes to yours after taxes?
<devyn> that doesn't make sense
<alextgordon> but man, the germans are SO much nicer than the brits
<whitequark> devyn: well, lemme recheck
<whitequark> what's US minimum wage before taxes, yearly?
<alextgordon> arrive at germany: looks at passport for 5 seconds, hands passport back
<whitequark> or more like, I think poverty level was $40?
<whitequark> *$40k?
<alextgordon> arrive in UK: looks at passport for half a minute, asks where WHAT THE FUCK YOU WERE DOING, etc
<devyn> whitequark: well, there are states in the US with minimum wage below the federal minimum, and then some with none
<devyn> so
<alextgordon> how does that work
<devyn> states get quite a lot of autonomy in the US
<alextgordon> how can you have a minimum wage below the federal minimum?
<alextgordon> what's the point of a federal minimum if states can override it?
<whitequark> devyn: well what's teh average number
<vil> murica
<whitequark> or something
<vil> whitequark: $7.40/hr
<devyn> federal minimum is like recommended or something
<whitequark> vil: what's that /yr ?
<whitequark> also is it before or after taxes?
<vil> dunno, how many hours per week you want?
<vil> before
<whitequark> well
<whitequark> 40 ?
<alextgordon> devyn: and yet, any state with a drinking age below 21 would get their highways funding cut
<alextgordon> stupid priorities
<devyn> alextgordon: lol, and war on drugs
<purr> lol
<devyn> CONSERVATISM, yay
<devyn> I realize I'm conflating social conservatives with economic conservatives
<alextgordon> right now everybody seems to be a social conservative
<vil> whitequark: $15392
<whitequark> okay no, that's considerably lower
<devyn> alextgordon: the UK seems to have lots of social conservatives too, just, a different type
<alextgordon> devyn: different values
<whitequark> I think poverty level was $40k
<devyn> Canada actually shouldn't have that many, but, elections are kind of broken
<whitequark> but wasn't that for a typical household? that would explain it
<alextgordon> devyn: like, there's no religion, so there's none of the religious objections for things
<alextgordon> more "this is the way we've always done it" than "this is what the bible says"
<devyn> alextgordon: religion in western canada and eastern canada is an entirely different thing. in the west, there are so many different religions that people just don't talk about religion because you're unlikely to find much common ground
<vil> I would much prefer that type
<devyn> in the east
<devyn> it's a bit different
<devyn> a lot more christian
<devyn> and then of course, the middle of Canada has lots of rednecks
<devyn> thankfully they're quite tiny population-wise
<devyn> because it's so goddamn cold in those parts in the winter
<devyn> as in, "regularly gets down to -40 C, possibly including windchill, possibly not"
<alextgordon> I've only been to canada for one day, but it was nice!
<alextgordon> pretty much half way between UK and US
<vil> same
<devyn> where you were in Canada makes a big, big difference
<vil> and I was young
<devyn> where were you
<devyn> lol
<purr> lol
<vil> don't remember once
<vil> *much
<alextgordon> devyn: BC
<vil> I was in Sault Ste. Marie
<devyn> yeah, BC is fantastic
* devyn is biased
<devyn> but
<vil> I remember a very large traffic sign and the air museum
<devyn> very heterogeneous population
<alextgordon> you mean homogenous?
<alextgordon> geneous
<devyn> hetero
<alextgordon> looked pretty white to me!
<alextgordon> I'd hate to see alberta :P
<devyn> lol? where?
<devyn> you can't have been in the south-west
<devyn> Vancouver and surrounding districts are like
<alextgordon> no I was in the south west
<alextgordon> I dunno maybe I was just used to america at that point
<alextgordon> san francisco is properly diverse
<devyn> I live in Richmond, where people of Chinese descent are basically the second majority
<devyn> and Surrey has a lot, a lot of people from India
<alextgordon> LOL
<purr> LOL
<alextgordon> richmond and surrey xD
<devyn> shutup :p
* alextgordon lives next to richmond, london
<alextgordon> which is in surrey
<devyn> lol they cut off Richmond
<devyn> it's that yellow bit in the middle of the left side
<alextgordon> pretty much like london then
<devyn> "The 2006 census showed that nearly 41.7% of the population were of visible minority origin"
<alextgordon> shit ton of chinese, and lots of south asians
<devyn> not sure how you call it a visible minority when it's 41.7%
<devyn> but
<devyn> lol
<vil> basically diversity in the U.P. of Michigan consists of Finnish people
<devyn> haha
<alextgordon> vil: just linus then?
<vil> Michigan Tech is probably the only place around with any noticable concentration of other races
<vil> there are literally like five black people in my hometown
<vil> lots of Native American actually
<vil> but that's all
<vil> alextgordon: haha
<whitequark> devyn: new EventSource("http://localhost:5555/exchange/BTC-e/pair/BTC/USD/trades/live").onmessage = function(e) { console.log(e.data); }
<whitequark> do it nao
<whitequark> the whole REST endpoint is ten lines of ocaml
<devyn> it doesn't push out all that frequently?
<devyn> oh
<devyn> never mind
<devyn> lag
<devyn> lol
<purr> lol
<devyn> you rock whitequark, this will motivate me to actually do something :D
<devyn> so far I've just been doing some design shit
<whitequark> \o/
<alextgordon> still trying to find that font thing
<alextgordon> my google fu is failing me
<alextgordon> I know it was on HN
<devyn> man, while I was designing, a huge drop happened; I could have made tons on that :(
<whitequark> devyn: forget about this, a bot would be way more efficient :p
<devyn> true, and, in general, trading manually has lost me like, 90% of what I gained at one point
<devyn> lol
<purr> lol
<devyn> purely due to missed opportunities
<devyn> mostly because I was sleeping
<alextgordon> drop?
<devyn> also sometimes just things I genuinely didn't see coming
<devyn> like FTC going from 0.000123 to 0.000046
<devyn> lol
<alextgordon> oh lol
<whitequark> "completely useless coin dropping in price"
<whitequark> definitely didn't see that coming
<alextgordon> I don't trust FTC because of all the double spends it had
<devyn> it's not completely useless. it has an ebay.
<devyn> :D
<whitequark> btw did I say ten lines?
<whitequark> how about five?
<whitequark> Web_server.route server "/exchange/%[^/]/pair/%[^/]/%[^/]/trades/live%!"
<whitequark> let trades = Lwt_stream.clone pair.Exchange.trade_stream in
<whitequark> Web_server.respond_events (Lwt_stream.map Exchange_j.string_of_trade trades))
<whitequark> (fun name lft rgt ?body request ->
<whitequark> let pair = Exchange.pair_by_name exchanges name (lft, rgt) in
<whitequark> <3 symbolic computation
<purr> Let it be known that whitequark hearts symbolic computation.
<alextgordon> there should be a word for "when you can't find something and spend hours googling for it"
<alextgordon> google drought?
eligrey has quit [Quit: Leaving]
<whitequark> yes
* alextgordon should give up
<alextgordon> so fucking annoying
<alextgordon> I know it was posted to HN
<alextgordon> but I can't find it at all
<alextgordon> searched my bookmarks too
<whitequark> 10 is period in seconds
<whitequark> oh I should update the server version
<devyn> whitequark: that rocks
<devyn> ok so this *does* support multiple exchanges at once, then?
<Navarr> Devyn, don't send people to troll me. Do not appreciate it
<devyn> Navarr: troll troll troll :)
<whitequark> devyn: why not?
<devyn> <3
<Navarr> :3
<devyn> whitequark: no, just that I should edit my design slightly
<Navarr> devyn: and now I learn irc cloud has double tap names
<whitequark> shit, data corruption
<whitequark> I need to make that homegrown format of mine more robust
<devyn> aaaaand whitequark spends an hour adding journaling
<whitequark> no, it's basically already journaled
<whitequark> what I need is to ensure that SIGTERM never quits the program between DB write and index write
<whitequark> that's considerably easier
<whitequark> you just need a mutex per database and take them all on sigterm
<devyn> and what about a system crash
<whitequark> well
<whitequark> or I may restore it from the info I already have ><
<devyn> just add a flag to the index
<devyn> to make it atomic
<whitequark> nah that would add more race conditions
<whitequark> I'll just truncate the database to the size stored in index
<whitequark> that's what I do to manually restore
<whitequark> at worst you lose one record, it's ok
<whitequark> (because I fsync it)
<devyn> write to index first with flag=0, write to json, write to index again with flag=1
<devyn> …
<devyn> how does that make a race condition
<whitequark> I don't write full entires to index
<whitequark> and otherwise journal rollback is what I've suggested above
<devyn> ok
<whitequark> nevermind about race conditions, it wasn't true
<whitequark> it's nice to have a database which you can restore with wc -l, head and sed :]
<whitequark> ARGH
<whitequark> how do I specify SO_REUSEADDR in cohttp :/
<whitequark> hm, it's already there
<devyn> whitequark: how can I get a stream of all tickers
<devyn> for the top bar
<whitequark> devyn: currently there's no way
<whitequark> can't you just instantiate an eventsource for each ?
<devyn> yeah, I can do that
<whitequark> wat... HTTP server (sic) doesn't work if I try to daemonize
<ELLIOTTCABLE> devyn: woah what the fuck, United is 1k to YVR!?
<ELLIOTTCABLE> whitequark: accurate*
<whitequark> ELLIOTTCABLE: accurate what?
<whitequark> lol @ graph
<purr> lol
<whitequark> it's basically a straight line
<devyn> haha
<ELLIOTTCABLE> whitequark: whats event source thing
<whitequark> basically, http/1.1 server pushes you chunks and browser presents it as events.
<whitequark> that's about it
<ELLIOTTCABLE> FTC?
<whitequark> feathercoin
<devyn> don't see any reason it wouldn't work with HTTP/1.0 either
<whitequark> devyn: it requires transfer-encoding: chunked
<whitequark> oh, right, http/1.0 also has that
<whitequark> ELLIOTTCABLE: some ebay clone decided it wants its own cryptocurrency
<whitequark> then btc-e added it and now it's wildly speculated
<ELLIOTTCABLE> whitequark: accurate ≠ precise
<devyn> > the number of contributions Devyn made to repositories mainly written in Ruby, C, Haskell, JavaScript, and Assembly.
<devyn> I feel like that says quite a bit about me
<whitequark> ELLIOTTCABLE: it is
<whitequark> I mean, I know what you're saying
<whitequark> but these terms are not specific enough even when used in the statistical context
<whitequark> so the relevant ISO standard recommends to not make the whole accurate/precise distinction
<whitequark> ELLIOTTCABLE: fun fact: in russian, accurate and precise is one word.
<ELLIOTTCABLE> there's an ISO standard for that? o_O
<whitequark> of course
<ELLIOTTCABLE> so the terms accurate and precise are too imprecise to be of separate use?
<whitequark> yep.
<devyn> I'm sure it comes up often enough to warrant an ISO standardization
<whitequark> According to ISO 5725-1,[3] the terms trueness and precision are used to describe the accuracy of a measurement. Trueness refers to the closeness of the mean of the measurement results to the actual (true) value and precision refers to the closeness of agreement within individual results. Therefore, according to the ISO standard, the term "accuracy" refers to both trueness and precision.
<devyn> whitequark: can you add a request rate control option? I don't like testing while knowing that I'm making a zillion requests to BTC-e when I don't really need to be
<whitequark> devyn: $ make forward
<whitequark> that forwards the server on othalan locally
<whitequark> or, hm, is that not good enough?
<devyn> not good enough, because I need to serve my in dev static files
<whitequark> right
<ELLIOTTCABLE> point is, you said precise, and your comment was infinitely precise, but finitely accurate. ;P
<whitequark> ok I'll do
<whitequark> ELLIOTTCABLE: WHERE did I say precise?!
<devyn> thanks <3
<ELLIOTTCABLE> maybe I missed. idk. can't be arced to look.
<whitequark> oh, ballpark estimate
<whitequark> right
<whitequark> do you have a highlight on "precise"? lol
<purr> lol
<ELLIOTTCABLE> girlfriend brought me hot chocolate. love you all. bbl. <3
<devyn> haha bye ELLIOTTCABLE
<ELLIOTTCABLE> maybe ;)
<whitequark> LOL
<ELLIOTTCABLE> … or maybe I'm just here more often than any of you think.
<whitequark> devyn: trader.d.byte -slow
<alextgordon> ELLIOTTCABLE: have fun with your hot... chocolate
<whitequark> also, seems I need to plug a memory leak >_<
alextgordon has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<whitequark> should've written "hot girlfriend brought me hot chocolate"
<whitequark> or more like
<whitequark> let x = hot in x girlfriend brought me x chocolate
<whitequark> I... may have wrote a tad too much ML :3
<whitequark> ok, plugged one memory leak
<devyn> hot ELLIOTTCABLE brought me hot girlfriend
* devyn crosses fingers
<whitequark> devyn: ok tell me
<whitequark> this from about 1:30 http://pleer.com/tracks/835561rHmg
<whitequark> and this from start http://pleer.com/tracks/4471601PhP8
<whitequark> is the same thing
<whitequark> yes or no ?
<ELLIOTTCABLE> devyn: you think I'm hot?! I'm so flattered.
<devyn> lol
<purr> lol
<devyn> whitequark: you've got RUR pairs configured, but I'd suggest against that; RUR pairs are 0.5% fee instead of the 0.2% fee that is normal
<devyn> idk why
<devyn> oh ok
<whitequark> afaik only USD/RUR is 0.5%
<devyn> idk where I read that then
<devyn> ahhhh
<devyn> yeah
<devyn> why does BTC-e even have USD/RUR
<devyn> lol
<purr> lol
<whitequark> because for me, putting USD to BTC-e is a gigantic pain in the ass
<whitequark> (putting RUR there is a regular pain in the ass).
* devyn shrugs
<purr> ¯\(º_o)/¯
<devyn> but there are also BTC/RUR pairs
<whitequark> I mean, turns out I need some documents to justify USD transfer to my bank
<devyn> etc.
<whitequark> and it's $5K/day max, and there are other limits
<whitequark> whereas for RUR I can move way more than that without anyone batting an eyelid
<devyn> whitequark: https://btc-e.com/api/2/btc_rur/fee anyway, it ain't much, but it updates
sharkbot has quit [Read error: Connection reset by peer]
<whitequark> wat?
sharkbot has joined #elliottcable
<devyn> crap
<whitequark> always 0.2 for me
<devyn> wrong URL
<devyn> there lol
<whitequark> oh god that font is horrible
<devyn> it kind of is, but I wanted something condensed
<whitequark> hmmm
<whitequark> ok so
<whitequark> deploy this!
<whitequark> $ make deploy
<devyn> don't worry, just about everything but the ticker will be monospace
<devyn> (Inconsolata)
<devyn> I just felt that monospace was way too wide
<whitequark> oh, already
<whitequark> no, that's older version
<whitequark> hm
<devyn> yeah I haven't committed yet
<devyn> hold on
<devyn> whitequark: ssh: Could not resolve hostname othalan.whitequark.org: Name or service not known
<devyn> um.
<devyn> well that's weird
<whitequark> that's weird, I have two secondary NS's on linode
<devyn> and when I dig it it's fine
<whitequark> hm
<devyn> oh works now
<devyn> one weird thing happened...
<devyn> Permission denied (publickey).
<devyn> fatal: Could not read from remote repository.
<devyn> and the repository exists.
<devyn> Please make sure you have the correct access rights
<whitequark> you need to enable agent forwarding
<whitequark> I don't keep keys with github access on that machine
<devyn> ok, well, set ForwardAgent yes and it still doesn't work
<whitequark> how did you set it?
<devyn> in ssh_config
<whitequark> .ssh/config ?
<whitequark> on your machine ?
<devyn> no, globally
<whitequark> oh
<whitequark> never tried that
<whitequark> I just have Host othalan.whitequark.org
<whitequark> User trader
<whitequark> ForwardAgent yes
<devyn> I don't run ssh-agent; is that necessary for this?
<whitequark> well, duh
<devyn> lol :p
<purr> lol
<devyn> it worked!
<devyn> :d
<devyn> :D*
<cuttle> ELLIOTTCABLE: hi :>
<whitequark> hm why doesn't it update?
<devyn> I shall check
<cuttle> devyn: hi
<cuttle> whitequark: hi
<devyn> hi cuttle
<devyn> whitequark: curl'ing gives me nothing as well
<whitequark> devyn: I think I understand
<whitequark> it may not flush the cache
<devyn> whitequark: running my own instance produces the same result now
<devyn> oh, now it updated
<devyn> nvm
<whitequark> devyn: yeah, I guess it's cache :/
<whitequark> er
<whitequark> buffer
<devyn> whitequark: as in, byte-wise?
<devyn> or some other buffer
<whitequark> devyn: the network buffer inside lwt
<devyn> yeah
<whitequark> and possibly OS buffer as well
<whitequark> but most likely it's the lwt one
<devyn> OS buffer is easy to flush
<devyn> :p
<devyn> but yeah this definitely isn't updating nearly as fast as it should be
<whitequark> devyn: Lwt buffer is just as easy
<whitequark> IF
<whitequark> you can get a hold of a handle
<whitequark> and you can't, it seems
<whitequark> devyn: okay I'll fix this... somehow
<devyn> yeah I'm looking into it too
<devyn> you might end up having to contribute a patch to cohttp haha
<whitequark> already created an issue
<whitequark> now looking at ways to fix
<devyn> buffer size is hardcoded
<whitequark> that's not the buffer size you're looking for
<devyn> no?
<devyn> whitequark: ok so how come it wasn't buffering like this before
<whitequark> I dunno man
<devyn> and I don't see a buffer size at line 82 there
<devyn> o_O
<whitequark> there's no buffer size
<whitequark> it's the default there
<whitequark> which is still huge
<devyn> ohh
<whitequark> devyn: oh wait
<whitequark> I think I just broke something else entirely
<whitequark> yes I did.
<whitequark> ok lol
<purr> lol
<devyn> :p
<whitequark> if I replace my Weak_seq implementation with a strong one
<whitequark> it works
<whitequark> it's way too weak ?
<devyn> lol
<devyn> yeah... I mean, I wasn't really getting most updates at all
<devyn> where even with a buffer
<devyn> it should fill up
<devyn> and then dump
<devyn> eventually
<whitequark> yep
<whitequark> um
<whitequark> this is a bug in OCaml docs
<whitequark> or maybe nooot...
<whitequark> hm
<whitequark> no, I just can't figure out weak values.
<devyn> why is it even necessary?
<devyn> (/desired)
<whitequark> I have a thing called Lwt_stream_mux
<whitequark> it allows to attach as many listeners as you want to a single stream
<whitequark> but the thing is, streams have internal buffers
<whitequark> so if something stops listening to stream but I keep pushing stuff there, (and unless I stop explicitly I will keep pushing),
<whitequark> that buffer will grow and grow.
<whitequark> ok, so I need to attach a finalizer to the stream itself, which will remove the push function instead.
<whitequark> sigh.
<devyn> ah, ok, I'll just temporarily revert and continue then I guess
<whitequark> I think I've fixed it
<whitequark> wait a minute
<whitequark> yep I did
<whitequark> should work now
<devyn> did you deploy it?
<whitequark> yes
<whitequark> and it works on server, too
<devyn> yeah, ok
<whitequark> btw, why do you request ticker stream if you're interested in spot price?
<whitequark> because trade stream can be too fat ?
<devyn> oh I thought ticker price was just closing price?
<whitequark> um
<whitequark> data: {"timestamp":1386658625000,"period":1000,"opening":908.5839999999999,"closing":908.5839999999999,"high":908.5839999999999,"low":908.5839999999999,"average":908.5839999999999,"volume":0.01}
<devyn> yeah, and I'm grabbing the closing price there
<devyn> of the period
<whitequark> ah, got what you're saying
<whitequark> well, I guess it's fine
<whitequark> lemme give you an endpoint to grab the last price
<whitequark> so it doesn't start with -
<devyn> that would be good
<devyn> once I implement the order stream I should probably just grab the most recent price, eh?
<whitequark> trade*
<whitequark> that's what I was saying earlier :p
<devyn> mmhm
<devyn> I know
<devyn> but I wanted something up quickly
<devyn> :p
<whitequark> oh
<whitequark> heh
<whitequark> I guess it's fine for now
<devyn> where's the order stream?
<whitequark> /pair/BTC/USD/trades/live
<devyn> er, yeah, trade stream
<devyn> lol
<purr> lol
<devyn> keep saying order
* devyn headdesks
whitequark has quit [Ping timeout: 246 seconds]
whitequark has joined #elliottcable
<whitequark> devyn: meanwhile I'll implement trade history endpoint
<whitequark> and most importantly ticker history, that'll require caching
<devyn> you'll need ticker history for all kinds of scripts anyway, as well as StochRSI
<devyn> well
<devyn> no, not for StochRSI
<devyn> unless it needs to be recalculated
<devyn> but
<devyn> yeah like we said, just the most recent rsdata needs to be stored
<whitequark> at the very least I'd need it for candle graph
<devyn> definitely
<whitequark> also was there a transition animation in the ticker?
<whitequark> I kinda liked it
<devyn> there's no transition in the ticker
<devyn> I can do that though
<whitequark> hm, I definitely seen it
<whitequark> am I hallucinating
<devyn> bitcoinwisdom has transitions in the trade box and order box
<devyn> but, I don't have any
<whitequark> bitcoinwisdom does
<whitequark> the same effect would be fine
<whitequark> I think it's one of standard ones
<devyn> oh I don't usually use any libraries to do transitions, because I haven't found any that I like that are CSS3-based
<devyn> there's no transition on the ticker... there are on open orders and recent trades though whitequark
<whitequark> I am definitely hallucinating
<whitequark> well, whatever
<devyn> lol
<purr> lol
<whitequark> I've hallucinated two different transition effects
<whitequark> one just hightlights it with yellow
<devyn> yellow?
<devyn> dude, you sure you're okay? lol
<whitequark> another, way cooler, did a weird thing with digits
<whitequark> meh too lazy to describe it
<whitequark> just implement the highlighting thing if it looks fine :p
<devyn> well, I mean, I can do pretty well any transition you want
<whitequark> well
<whitequark> like this clock
<whitequark> I think you'd curse myself while implementing that :p
<devyn> ah, that would be cool, and totally possible but a little complicated :p
<whitequark> duh!
<whitequark> so, highlighting is totally fine :p
<whitequark> I've probably seen it on some other exchange
<devyn> maybe not as complicated as you think though...
<devyn> anyway.
<devyn> I can make the whole thing slide up or down and change green/red
<devyn> the whole number I mean
<whitequark> let's try it
<devyn> ok
<whitequark> sounds nice
<devyn> hmm, logically, if the value went up, should the value slide up from the bottom or down from the top?
<whitequark> try both and use whatever doesn't make you cringe
<devyn> haha
<whitequark> ooooh
<whitequark> I was *not* hallucinating.
<whitequark> switch from a tab for ten minutes or so, then switch back
<whitequark> it rapidly updates the ticker
<whitequark> with all the values it has accumulated in the meantime
<whitequark> resulting in a neat effect.
<devyn> lol I still can't see it
<purr> lol
<devyn> but, if you say so
<whitequark> I think it requires very particular rate changes to be visible
<whitequark> and maybe browser-specific
<devyn> browser-specific is unlikely
<devyn> chrome and firefox support more or less the same featureset
<devyn> and no one develops with anything else in mind primarily
<devyn> :p
<whitequark> can you attest they handle updates/events on a hidden tab in exact same way?
<devyn> they both fire events when a window (tab) is/isn't focused
<devyn> and this would have to be custom
<devyn> so
<devyn> whitequark: are you talking about the large ticker between the bets and bids?
<devyn> er, asks*
<devyn> I liked the b- consonance
<devyn> lol
<purr> lol
<whitequark> hm, you pushed that already? I'm on the old revision still
<devyn> the transition? no
<devyn> lol
<devyn> talking about bitcoinwisdom
<devyn> wait
<whitequark> no, I'm talking about your code lol
<devyn> are you saying what *I* did is
<whitequark> the transition in it
<devyn> whaaaat
<devyn> that doesn't make any sense
<whitequark> hahahaha
<devyn> lol ok
<devyn> maybe firefox just delays the events until it's focused again?
* devyn shrugs
<purr> ¯\(º_o)/¯
<whitequark> I'm using chrome
<devyn> oh
<devyn> ...kay
<whitequark> and yes, that's how it looks like
<devyn> I'm using chromium on linux...
<whitequark> 31.0
<devyn> 31.0 too
<whitequark> holy fuck chrome is 31 already
<whitequark> I remember chrome 7
<devyn> well that's what happens when they push "major" versions out so frequently
<devyn> and Firefox went to that version model too
<devyn> heh
<devyn> whitequark: it is still being buffered quite a bit, so I hope you left that ticket open
<whitequark> devyn: I did
<whitequark> what the fuck
<whitequark> I think I do not know how fds work
<whitequark> which is... surprising
<whitequark> After a successful return from one of these system calls, the old and new file descriptors may be used interchangeably. They refer to the same open file description (see open(2)) and thus share file offset and file status flags; for example, if the file offset is modified by using lseek(2) on one of the descriptors, the offset is also changed for the other.
<whitequark> fuck.
<whitequark> I thought it was equivalent to reopening file.
<whitequark> OF COURSE nothing work
<devyn> ok they fade now but they don't move lol o_O
<purr> lol
fwg has joined #elliottcable
<whitequark> amazing
<whitequark> it took just 22 seconds for ocaml to read, parse, serialize, and write back ~20MB of JSON
<whitequark> and this is in bytecode
<whitequark> 12 seconds for native code
<whitequark> mind you it's a JSON parser/serializer implemented in OCaml
<whitequark> if it was ruby
<whitequark> I'd still wait after a few hours
<devyn> that's exaggerating a little bit :p
<whitequark> actually, no
<whitequark> the speed of parsing (well, mainly, lexing) ruby code in ruby is about 200kchars/s
<devyn> ruby's parser is complex as hell
<whitequark> dude, I wrote that fucking parser
<whitequark> I know how complex exactly it is
<devyn> :p
<whitequark> and no, what takes most time isn't the complexity in parser
<whitequark> it's mainly logical complexity, not computational
<devyn> anyway, this is working now; I'm just tweaking it
<whitequark> what takes most time is goddamn array access
<whitequark> and string comparison
<whitequark> well, ok, 100 seconds
<whitequark> 10 times slower than ocaml
<whitequark> er, 20 times slower--that doesn't count serializing
<whitequark> I almost finished history endpoint
<devyn> yep. this is beautiful.
<whitequark> what?
<devyn> the ticker effect :p
<whitequark> which you made?
<devyn> pushing it
<devyn> whitequark: it's up
<devyn> ah, oops, there's a bug
<whitequark> ooooh amazing
<whitequark> <3
<devyn> fixed.
<devyn> it is
<devyn> very neat
<whitequark> devyn: ok, what do you need next from me?
<devyn> well I'm just going to switch over to the order stream
<whitequark> ah ok
<devyn> as before, a way to fetch history would be nice
<whitequark> I'm wrapping my mind around binary search I have here
<devyn> mmhm
<whitequark> so you won't need to give it specific valid keys
<whitequark> but just a timestamp range
<devyn> definitely better :p
<devyn> whitequark: ok, I switched to the orders stream
<devyn> er
<devyn> trade stream
<devyn> lololol
<purr> lololol
<devyn> whitequark: also, congrats, you are quicker than bitcoinwisdom
<whitequark> devyn: unsurprisingly
<devyn> significantly
<whitequark> fuck, I can't write a binary search
<devyn> well I just wrote a fucking awful Date -> "HH:MM:SS" function
<devyn> :p
<devyn> fucking JS and its lack of strftime
<whitequark> no you don't get it
<whitequark> I'm trying to write a binary search for a hour
<whitequark> and I cannot
<whitequark> I wrote... half of binary search
<whitequark> "find me nearest greater or equal element"
<whitequark> I can't write "find me nearest lesser or equal emenent"
<devyn> why?
<whitequark> idk, it doesn't work
<whitequark> ok, should have used a piece of paper
<devyn> yeah, that always helps :)
<devyn> Fatal error: exception Invalid_argument("equal: functional value")
<devyn> Raised by primitive operation at file "extList.ml", line 443, characters 6-11
<devyn> Called from file "extList.ml", line 451, characters 1-13
<devyn> Called from file "lib/util/lwt_stream_mux.ml", line 20, characters 11-32
<whitequark> huh!
<whitequark> oh, cool
<whitequark> will fix it with next push
<whitequark> aaaand done
<whitequark> er, no
<whitequark> done.
<whitequark> devyn: hooray!
<whitequark> I've finished one of the history endpoints
<devyn> whitequark: ^____^
<devyn> I have a trade log
<whitequark> /exchange/BTC-e/pair/BTC/USD/trades/history?start=timestamp&finish=timestamp
<whitequark> if start/finish are not specified, assumed begin/end of history
<whitequark> oh and all timestamps are in milliseconds
<whitequark> I'll also fix the ticker endpoint to have period in milliseconds too
<whitequark> for consistency
<whitequark> finished
<whitequark> devyn: ok I'll brb, get something to drink. after that: I'll make you caching ticker history endpoint
<devyn> kk
<whitequark> holy fuck it's winter
<devyn> haha
<whitequark> devyn: chrome *definitely* delays some events
<whitequark> I just switched to that tab and all numbers switched immediately at the same time
<whitequark> I've *not* hallucinated that.
<devyn> huh
<devyn> weird
<whitequark> yet again. it's trivial to reproduce
<devyn> ok I'll just wait a while
<devyn> nope, pretty much instant for me
<devyn> like
<devyn> the transitions all occur
<devyn> but simultaneously
<whitequark> yep, that's how it's here
<devyn> ok, I don't think it's delaying events
<devyn> just transitions
<devyn> but idk
<whitequark> but back when you did not have a transition, it had that weird effect!
<devyn> yeah...
<whitequark> it's now a question of self-identity to me lol
<purr> lol
<whitequark> :p
<devyn> well, anyway
<devyn> you can now select a pair to view
<devyn> and it will show the trade log
<devyn> haven't pushed yet
<devyn> hold on
<whitequark> (you've found out that you can just `make deploy', and it'll check that it compiles and pushes automatically, right?)
<whitequark> (I'm pretty fond of that, it's capistrano in like 20 lines of Makefile)
<whitequark> (actually, it's more clever than capistrano)
<devyn> whitequark: deploy'd
<devyn> it stores the pair you had open last time in localStorage
<whitequark> oooh this is neat
<whitequark> ok, the ticker history endpoint is ready
<whitequark> hang on, I'll push
<whitequark> done
<whitequark> let ticker = Ticker.stream ~period trades in
<whitequark> er
<whitequark> devyn: ^
<devyn> awesome
<devyn> thank youuuu
<devyn> god I love the json viewer chrome extension
<whitequark> it doesn't cache yet though
<whitequark> the problem is that my binary index can only ever insert at end
<whitequark> so I'd have to run the job from the very start for every new period
<devyn> awesome
<devyn> I added the 'bright' digits from bitcoinwisdom
<devyn> oh btw, all of the colors are configurable in public/stylesheets/sass/_colors.scss (you need to recompile the CSS file though)
<whitequark> ah nice
<whitequark> I'm ok with the current scheme though
<devyn> I think much like code, dark is best for this
* whitequark nods
<devyn> so I think for now I'll just pull the most recent 60 seconds on initialization
<whitequark> sounds fine
<whitequark> oh, btw
<whitequark> I can make you a pipe with precise server time
<whitequark> so you could determine clock skew between server and client
<whitequark> devyn: should I?
<devyn> I don't see how that's useful to me right now...?
<whitequark> mmm well, "last 60 seconds" is relative :p
<whitequark> though for now we can assume the client runs ntpd
<whitequark> so probably not worth complexity
<devyn> ah, yes, that's true, but I don't think I need to be that precise
* whitequark nods
<devyn> hell I could just overshoot it a bit intentionally
<whitequark> nah, no need for that
<whitequark> if it'll become an issue we
<whitequark> 'll fix it everywhere
<devyn> whitequark: maybe a simpler solution would be to allow me to specify 'now' as the end
<devyn> oh
<whitequark> devyn: omit "finish" :p
<devyn> but start
<devyn> mmhm
<whitequark> I think start=localtime.now - 60s is OK
<devyn> would you mind interpreting negative times as relative?
<whitequark> I think I would
<devyn> yeah it's kind of ugly
<whitequark> I'm generally avoiding non-absolute timestamps everywhere
<whitequark> except the very last step
<whitequark> because I want most computations to be pure
<devyn> I mean just on the frontend though
<whitequark> frontend of backend? :p
<devyn> :p
<devyn> web endpoint.
* whitequark glares at top
<whitequark> it eats 10m of RAM, *at most* :p
<whitequark> I could probably run it on my router
<devyn> lol
<purr> lol
<devyn> I've devolved to just watching the numbers go by
<devyn> so
<devyn> I think I should sleep
<whitequark> o/
<devyn> 'night whitequark
<whitequark> good night.
<whitequark> devyn: lol https://github.com/vbmithr/breakbot
<purr> lol
<whitequark> ocaml too
<whitequark> devyn: http://realtimebitcoin.info/ has the effect I was talking about
<whitequark> try changing currencies
Sgeo_ has quit [Read error: Connection reset by peer]
alexgord_ has joined #elliottcable
<whitequark> (not that it's important)
niggler has quit [Ping timeout: 246 seconds]
<yorickpeterse> So I got some Email from some person who's looking for another dev for their new hip startup
<yorickpeterse> The only company info is the name and some logo
<yorickpeterse> and the concept is nothing new
<yorickpeterse> but at least it's not automated
<yorickpeterse> I think
gkatsev has quit [Ping timeout: 246 seconds]
gkatsev has joined #elliottcable
yorick has joined #elliottcable
alexgord_ has quit [Quit: Textual IRC Client: www.textualapp.com]
niggler has joined #elliottcable
alexgord_ has joined #elliottcable
eligrey has joined #elliottcable
<joelteon> I found a PDF viewer written in javascript
<joelteon> what will I use it for? nothing
<joelteon> but it's cool
<jesusabdullah> isn't firefox's pdf viewer in pure js now?
<jesusabdullah> they were talking about it anyway!
<joelteon> maybe it's the one that mozilla made
fwg has quit [Ping timeout: 240 seconds]
fwg has joined #elliottcable
<jesusabdullah> probably joelteon
fwg has quit [Ping timeout: 246 seconds]