<ELLIOTTCABLE>
the connection's really bad so, but, uh,
<ELLIOTTCABLE>
hey
<ELLIOTTCABLE>
hey gkatsev
<ELLIOTTCABLE>
how's the DSLs talk
<ELLIOTTCABLE>
gkatsev: how's the DSLs talk
<ELLIOTTCABLE>
how is it
<ELLIOTTCABLE>
gkatsev:
<ELLIOTTCABLE>
gkatsev: is it good?
othiym23 has joined #elliottcable
<othiym23>
OHAI
<ELLIOTTCABLE>
othiym23: :D
<ELLIOTTCABLE>
wait
<ELLIOTTCABLE>
who're you, I can't remember. didn't you change nicks at one point?
<ELLIOTTCABLE>
otters?
ceejbot has joined #elliottcable
<gkatsev>
ELLIOTTCABLE: it's alright
<ELLIOTTCABLE>
ceejbot!
<gkatsev>
ELLIOTTCABLE: I'll let you know once its over
<ELLIOTTCABLE>
purescript sounds really cool.
<gkatsev>
ELLIOTTCABLE: pawsscript?
<ELLIOTTCABLE>
I'm terrified shitless of Haskell, I'm so bad at it. I'm currently feeling that Purescript might be my perfect chance to get really compfortable with the Haskell syntax and type system, without having to learn as many the new semantics.
<ceejbot>
I didn't know about Purescript at all!
<ELLIOTTCABLE>
ditto
<gkatsev>
purescript is neat
ceejbot has quit [Remote host closed the connection]
<gkatsev>
I'm trying to do the bloomberg programming contest but idk whether it actually submitted
<ELLIOTTCABLE>
lol I'm walking around with my laptop open, everywhere
<purr>
lol
<ELLIOTTCABLE>
'cuz I don't want to lose my wifi reservation :P
<oldskirt_>
gkatsev: bloomberg? or bloomsburg?
oldskirt_ is now known as oldskirt
<gkatsev>
bloomberg?
perrier has quit [Ping timeout: 252 seconds]
<glowcoil>
ELLIOTTCABLE: haha
<devyn>
Enumerator.new { |yielder| n = 1; loop { yielder << n; n *= 2 } }.take_while { |n| n < 100000 }
<devyn>
idk what the fuck is happening to me but suddenly device driver code really isn't very daunting
<devyn>
I look at it and it makes sense
<devyn>
probably helps that linux modules have a pretty good API to work with
<joelteon>
transformers provides a MonadPlus instance for IO
gozala has joined #elliottcable
<devyn>
also that Linux drivers seem to be portable between different architectures, which is something I didn't really think about until I got my RasPi
<devyn>
the architecture is so different and yet the same network card driver still works!
<devyn>
I mean we're talking about an architecture in which the GPU/vector processing unit/whatever you want to call it basically acts as the main controller
<devyn>
the GPU actually has code to read from the SD card and find the bootloader and config files and such
<devyn>
and start up the ARM CPU
<devyn>
it's so weird
<devyn>
I love it
<devyn>
actually, more accurately, the GPU has the bootloader on it
<devyn>
I think it actually loads the kernel itself
<joelteon>
that's neat
<devyn>
yeah, the VideoCore GPU is also apparently pretty beastly for what it is
<devyn>
it has h.264 decoding
<devyn>
and like
<devyn>
bunch of other codecs
<devyn>
other processors
<devyn>
too
<devyn>
a DSP
<devyn>
that's what I was looking for
<devyn>
$
<devyn>
vcgencmd measure_clock
<devyn>
Shows clock frequency, clock can be one of arm, core, h264, isp, v3d, uart, pwm, emmc, pixel, vec, hdmi, dpi
<joelteon>
so here's a question
<joelteon>
if i want a div that someone can drop an image on and it gets uploaded with a progress bar
<joelteon>
do you guys know if there's a library that does that already, or should I write it myself
<joelteon>
is it so trivial to do that i can just write it in two hours
<joelteon>
that's what it's starting to look like
<devyn>
idk, I'm so bad about using third party libraries for things like that; they just seem so trivial that there's no point fighting with something I don't completely understand instead of writing my own based on things I *do* understand completely
<joelteon>
i agree
<joelteon>
i found a demo of it that makes it seem really trivial
<devyn>
yeah there's some kind of progress event on XHR
<devyn>
and you just send the file object you get out of the drag and drop event
<devyn>
can't be hard
<joelteon>
yeah
<joelteon>
not sure i want to upload on drop
<joelteon>
on the plus side that'll make it easier
<devyn>
I end up doing a lot of WordPress dev and it seems like a lot of WP "devs" like to use a ton of tiny libraries for absolutely everything and I find it really annoying because a lot of them are intended for specific things and aren't that flexible
<devyn>
joelteon: well as long as you keep a reference to the object the event gives you, you're good
<devyn>
oh and not to mention WP request time is already fucking terrible being ridiculously bad PHP and all
<joelteon>
yeah
<joelteon>
but on the other hand
<devyn>
adding tons and tons of JS libs on top
<devyn>
is crazy
<joelteon>
i work for a real-life company, and a lot of time we have to do stuff that involves using third-party libraries
<joelteon>
which is a new experience to me
<joelteon>
because i hate using libraries
<devyn>
I do use third party libraries, of course... not a whole lot on the web but definitely in languages that have good package management
<devyn>
and where the things are actually fairly complex
<devyn>
I don't do it for trivialish things
<joelteon>
ok, i don't hate using libraries
<joelteon>
what i hate is using javascript libraries
<devyn>
even in the node environment they aren't that bad; it's just on the web they're a huge pain and seem to be written by complete idiots
<devyn>
jQuery is as far as I go most of the time
<devyn>
maaaaybe a few other things
<joelteon>
actually, i think i only hate using javascript libraries for stuff that involves UI
<devyn>
I hate many of them
<devyn>
UI libs tend to be the worst
<devyn>
I hate BJQS
<devyn>
everyone always uses it when making a slider that is so much better is not that hard
<joelteon>
i've never used that thankfully
<joelteon>
wait a second, you can't attach stuff to a file input using javascript, can you
<devyn>
what do you mean
<joelteon>
given a user having dropped a file onto a div, you can't take the file they dropped and set the value of an input to it
<devyn>
hm, maybe with a newer API
<devyn>
you can also drop files directly onto file inputs by the way, without doing anything special
<devyn>
that's build in
<devyn>
built in*
<joelteon>
yeah
<joelteon>
i actually really hate drop inputs because they mean i have to open my file manager
<joelteon>
so i need a backup
<devyn>
I really hate file managers in general
<devyn>
I feel like they're so clunky compared to doing things with CLI and tab completion
<joelteon>
i hate working with files
<joelteon>
FUCK
<joelteon>
for security reasons, you can't set the value of a file input
<joelteon>
so I actually have to make a separate XHR call just to upload the thing
<joelteon>
i hate this
<joelteon>
maybe I'll use a file input instead
<joelteon>
i think i maybe just need a preview
<joelteon>
that's easeir
<joelteon>
easier
Sgeo has joined #elliottcable
yorick has quit [Remote host closed the connection]
<devyn>
god I love tokyo ska paradise orchestra
<devyn>
and tokyo incidents
<devyn>
so groovy
<devyn>
adam and eve would toss the apple away ♪
<devyn>
the earth would turn the other way ♪
<devyn>
you'd live up far on some barren star ♪
<devyn>
but down below you might hear us laughing ♪
<devyn>
I'll give you all you're wanting so bad ♪
<devyn>
hold out your hands ♪
<devyn>
whisper a prayer ♪
<devyn>
can you feel forever and ever? ♪
<devyn>
apparently the name of that song comes from the Japanese version of "les enfants terribles" (osorubeki otona-tachi)
<devyn>
er, osorubeki kodomo-tachi*
<devyn>
the song's name is osorubeki otona-tachi
<devyn>
otona is adult instead of child
<devyn>
haha
<joelteon>
now, I need a library that can take a blob and check it's an image and return the dimensions
<joelteon>
basically i need the javascript equivalent of imagemagick...