devyn changed the topic of #elliottcable to: yorickpeterse is undergroin
Sgeo has joined #elliottcable
<ELLIOTTCABLE>
cuttle: wat
<devyn>
cuttle: wat.
<purr>
beep.
<ELLIOTTCABLE>
oh
<ELLIOTTCABLE>
the album, because the internet
<ELLIOTTCABLE>
*so* underwhelmed
<ELLIOTTCABLE>
I stopped trying three songs in.
<ELLIOTTCABLE>
cuttle: tell me which ones are awesome that I should skip to? because I can't wade through the crap. /=
<ELLIOTTCABLE>
back to more Savant.
<dnyy>
ELLIOTTCABLE: i thought crawl was cool
<dnyy>
the rest i was mostly whatever about
<dnyy>
even crawl was so/so, but the beat was nice
<dnyy>
i don't like his voice enough to like him without a nice beat carrying it
* devyn
♪ 東京事変 - 恐るべき大人達
<cuttle>
ELLIOTTCABLE: crap? :<
<cuttle>
ELLIOTTCABLE: ok favorite tracks:
* cuttle
lists track listing
<cuttle>
just kidding
<cuttle>
ok
<cuttle>
telegraph ave is great
<cuttle>
3005
<cuttle>
the party
<cuttle>
flight of the navigator takes a little patience but is beautiful
<cuttle>
pink toes is great
<devyn>
whitequark: uhhhh serious problem: SSE has max n. connections (same as HTTP); the two connections for each of the five pairs means 10 connections, which is > limit
<cuttle>
and the last two are great
<cuttle>
though i mean it's like a Concept Album to listen through
<cuttle>
but i guess if it's not your thing
<cuttle>
at least try those
<devyn>
whitequark: need a mux'd stream with all pairs
<whitequark>
devyn: oh
<whitequark>
I see
<whitequark>
one sec, I'll read backlog
* whitequark
just woke up
<devyn>
kk
<devyn>
:p
<cuttle>
god i just want to have a fucking audio synthesis library
<cuttle>
that can install with gem
<whitequark>
ok done
<cuttle>
why does every fucking gem have problems
<cuttle>
zmq has problems
<cuttle>
scruby has problems
<whitequark>
alexgord_: getting laid algorithmically is my speciality?
<whitequark>
not quite sure how you got that idea
<whitequark>
devyn: okay, I'll make you a muxed stream
<devyn>
awesome
<whitequark>
though now there's the question of the API
<cuttle>
ELLIOTTCABLE: though tbh the moment i first listened i knew it would be an album i loved that most other people didn't love the same way
<devyn>
whitequark: I suggest using the event: field for the type of data and putting exchange/pair information into an additional line of data (first line)
alexgord_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<devyn>
that way you don't have to touch the JSON, if that's a concern
<whitequark>
devyn: how about making it a true multiplexed stream?
<whitequark>
event: contains substream ID, data: contains the same data as before
<devyn>
I'm good with that, but how will the ID work
<whitequark>
and /live endpoints reply with substream IDs they have just allocated
<devyn>
ah
<devyn>
wouldn't you have to provide it with knowledge of the SSE connection you belong to?
<whitequark>
yep, the first event you'll receive is the SSE stream ID, you'll have to feed it to the /live endpoints
<devyn>
that's what I was just about to say
<devyn>
okay
<whitequark>
also I've finished depth delta compression and added a live endpoint
<devyn>
not that it's likely to happen, but what if I want to stop receiving a substream
<whitequark>
there will be an endpoint for that
<devyn>
alright, sounds good
alexgord_ has joined #elliottcable
<devyn>
well, I'm going to bbiab and then rewrite the goddamn candlestick renderer because it's totally screwed up lol
<purr>
lol
<whitequark>
ok
yorick has quit [Remote host closed the connection]
<whitequark>
trying to understand what holds a reference to my shit preventing it from being collected
<devyn>
ah
<whitequark>
I really could use a demangler -_-
<whitequark>
or more like
<whitequark>
id2sym
<whitequark>
symbolizer*.
<devyn>
so a mangler
<devyn>
:)
<whitequark>
no
<whitequark>
from function addresses to names
<devyn>
oh
<devyn>
ok
<devyn>
so a demangler
<whitequark>
no, demangler would be from function linkage names to function source names and signatures :p
<devyn>
oh addresses
<devyn>
totally missed that
<devyn>
:p
<whitequark>
I think I can use nm, sed and awk...
<whitequark>
this is horrible though
<devyn>
jesus christ I've sound makes the weirdest music videos
<devyn>
rather disturbing, too
<devyn>
oh, and nudity.
<devyn>
and a spider.
<whitequark>
__PRETTY_FUNCTION__.13850
<whitequark>
you can not surprise me.
<devyn>
hahahahaha
<devyn>
what
<whitequark>
lol what the fuck
<purr>
lol
<whitequark>
I compiled it to native code and the object graph is totally different
<whitequark>
though it's simpler so I guess it's good ?
<devyn>
isn't that to be expected?
<whitequark>
no
<whitequark>
"global_substitute regexp subst s returns a string identical to s, except that all substrings of s that match regexp have been replaced by the result of function subst. The function subst is called once for each matching substring, and receives s (the whole text) as argument."
<whitequark>
>the whole text
<whitequark>
how the fuck is this useful exactly
<whitequark>
oh, shitty global state
eligrey has quit [Quit: Leaving]
sharkbot has quit [Remote host closed the connection]
sharkbot has joined #elliottcable
<devyn>
whitequark: can you actually send a blank data: message with the id:?
<whitequark>
3) I fixed the ticker live stream, but the very first element it gives you is broken
<whitequark>
because it's an aggregate over a partial period
<ELLIOTTCABLE>
whitequark: what are you and devyn working on now?
<ELLIOTTCABLE>
so, wait, devyn and alexgord_ are working on a Bitcoin trading bot, and he's working on something with whitequark *too*?
<ELLIOTTCABLE>
I wish I was still a programmer. Envy you guys, sounds like fun.
<whitequark>
ELLIOTTCABLE: devyn and me
<whitequark>
why can't you be a programmer?
<ELLIOTTCABLE>
haven't spent more than fifteen minutes straight in front of a computer for … idk, months, now?
<ELLIOTTCABLE>
except on flights.
<ELLIOTTCABLE>
to/from San Francisco, I wrote a little, but that's about it.
<ELLIOTTCABLE>
I also vaguely realized I'm a terrible programmer, and I tend to be *really* bad at motivating myself to do something I don't think I'm good at.
<whitequark>
mhmm.
<ELLIOTTCABLE>
(I'm “walk away” not “improve myself” by default, with everything. My single worst personality trait.)
<ELLIOTTCABLE>
and, on that note, time to go find pants and leave again.
<ELLIOTTCABLE>
dropped a banana milkshake on the floor, exploded ALL OVER me. ಠ_ಠ
<yorickpeterse>
ELLIOTTCABLE: so then what the fuck *do* you do?
<yorickpeterse>
besides dropping stuff on the floor
<ELLIOTTCABLE>
government secret can't talk about it
<ELLIOTTCABLE>
soz
<ELLIOTTCABLE>
didn't realize you can change your address online, now
<ELLIOTTCABLE>
that took all of two minutes. really impressed.
<ELLIOTTCABLE>
the future is Grrrrreat!
<yorickpeterse>
so you're unemployed?
<ELLIOTTCABLE>
yorickpeterse: I tend not to discuss my financial status, with a couple exceptions.
<ELLIOTTCABLE>
That said, I *am* looking for a local day job. If you happen to know anybody in Chicago … =)
<yorickpeterse>
I don't live in the US
<ELLIOTTCABLE>
trying to find a good barber in the city is a bitch.
<alexgord_>
?
<alexgord_>
yorickpeterse: he has fuck you money by proxy
eligrey has quit [Quit: Leaving]
eligrey has joined #elliottcable
<cuttle>
HI
<purr>
cuttle: hi!
<cuttle>
hi eligrey
<cuttle>
ELLIOTTCABLE: *
<cuttle>
eligrey: nothing wrong with you but i was meaning to hilight ec
<cuttle>
lol
<purr>
lol
soroush has joined #elliottcable
<soroush>
hi am i doing this right
<ELLIOTTCABLE>
probably.
<soroush>
great!
<ELLIOTTCABLE>
cuttle: “eligrey: nothing wrong with you”
<ELLIOTTCABLE>
lies. dirtyfilthylies.
<ELLIOTTCABLE>
alexgord_: you around? soroush wants to talk objc.
<ELLIOTTCABLE>
soroush: I'll be in-and-out, FYI
<soroush>
no worries
<soroush>
anyway it's a somewhat crazy idea but i've been thinking about it a lot
<soroush>
objective c needs a rails like framework to rid us of a lot of the boilerplate
<soroush>
the problem is i know a lot about objective c and not nearly as much about ruby or rails
<ELLIOTTCABLE>
jesus christ, what is up with my Internet
<ELLIOTTCABLE>
I am probably the only person in the world with this, er, situation … but I'm routinely getting twice, or more, the bandwidth I'm paying for. Tested several times since I moved in, in the last month or so.
<ELLIOTTCABLE>
They miiiiiiight just be giving speedtest.net traffic higher priority, though.
<ELLIOTTCABLE>
why do you need to know Ruby or Rails? Why copy Rails *at all*?
<ELLIOTTCABLE>
you've identified the problem, and know a lot about the environment: solve the problem as you know it, with respect to the environment as you know it, without reference to how <other system> in <other environment> solves <other problem>.
<soroush>
i don't, but a lot of the paradigms around how models and controllers work with rest are really instructive imo
<soroush>
i'm definitely solving it in a very objective-c-esque way, but also 90% of the time we connect our apps to apis powered by rails
<soroush>
and whether or not the exact way that it works is good, it's definitely the go-to framework for web development
<soroush>
yes there's django and yes there's sinatra, but neither of them have the traction
<ELLIOTTCABLE>
hah.
<ELLIOTTCABLE>
(forgive me, I'm mostly a Node guy, nowadays, so that's mildly funny.)
<ELLIOTTCABLE>
so, what you *really* want to do, is to write an ObjC framework for apps that interface/integrate with Rails apps?
<soroush>
ok SORRY node is good too
<soroush>
i started it last night, just kicking some stuff around
<soroush>
90% of the time in an objective c app you want to get a list of objects (from somewhere, maybe an API, maybe local storage) and then display the list
<soroush>
it really shouldn't be more complicated than "here's the url my objects are at, and here's how each object looks like in a table view cell"
<soroush>
but instead there's a bunch of BS boilerplate around it and a class that should be 15 lines of code is now 200
<joelteon>
chef is just an all around terrible piece of software
<joelteon>
everything about it as absolutely abysmal
<joelteon>
is*
<alexgord_>
hi soroush
<soroush>
hi
<purr>
soroush: hi!
<alexgord_>
you want to make web apps with objc?
<alexgord_>
you sound insane, you'll do well here
<soroush>
yes, i do, but that's not related to this particular project
<alexgord_>
tbh
<alexgord_>
what I want is a web server for C++
<alexgord_>
with a focus on security
<alexgord_>
ObjC wouldn't seem to have many advantages over ruby
<alexgord_>
but C++... it would solve a lot of peoples' problems with slowness
<soroush>
i would bet objective c is really fast too, especially compared to ruby
<alexgord_>
nah
<alexgord_>
about the same I'd think
<alexgord_>
what makes languages slow is memory layout and allocation
<alexgord_>
ObjC allocates all objects on the heap
<alexgord_>
same as ruby
<alexgord_>
only advantage is ARC I suppose
<soroush>
you'd definitely get huge gains over the ruby GC though
<soroush>
yeah
<soroush>
and not to mention reasonable threading
<alexgord_>
but that's more to do with ruby having a shit GC, than ARC being fast
<alexgord_>
jruby might be better
<alexgord_>
yeah GCD fucking rocks
<soroush>
and the OO patterns are way way better than C++
<alexgord_>
soroush: wait I just realized... what are you going to RUN it on?
<alexgord_>
soroush: ehhhhh depends on the project
<soroush>
so ok: the actual thing i want to do is make a new framework for making iPhone apps
<soroush>
tangentially, unrelatedly, i also want to put objective c on the server
<alexgord_>
on linux?
<soroush>
nah it would have to be os x server unfortuantely
<soroush>
since all the important libraries are in foundation and cocoa
<jeannicolas>
just realized I actually don't care!… so… did you benchmark jruby and obj-c?
<alexgord_>
man you and whitequark would get along
<purr>
hah
<alexgord_>
lol purr
<purr>
lol
<jeannicolas>
alexgord_: being pedantic about memory management isn't really interesting… you know what I mean when I say GC… and if you don't well… I don't really care either… still curious as to if JRuby is faster than obj-c...
<alexgord_>
jeannicolas: I dunno, GCs come in all shapes and sizes
<jeannicolas>
you're thinking about penises
<alexgord_>
that too
<alexgord_>
e.g. haskell's gc has less in common with ruby's gc than ruby's gc has in common with ARC
<alexgord_>
only reason people don't want to call ARC a GC is political