Jul 2
(Untitled)
- Raid is surprisingly effective against wasps. One blast and they were all dead writhing corpses on my windowstill (their pupaesque young included).
- Those fucks still haven’t put my fucking toilet back.
- hack (on hackage) is a Haskell version of Rack which looks excellent.
- Of course, the creator of Hack has named his framework Loli (on hackage), which means he is a dirty child molesting pedophile /b/tard.
- I feel dirty for wanting to use the loli.
Tagged with: because web development is dirty you pedophile, bullet point update, hack the rack in a sack, mention of haskell
5 comments
Jun 29
(Untitled)
First — I’m releasing 4scrape source code. It’s a pile of shit, written back when I was complete shit (instead of mostly shit) with Haskell. It’s a giant fucking mess etc. Feel free to run your own 4scrape instance or whatever (if you can figure out how to deploy the thing lmao) I don’t really care. Don’t ask me any questions about how to set it up because I’m not going to spend time supporting it.
Anyway, the parts for my new media machine just came in today!!
- AMD Phenom 9600 — 4 cores, 2.3GHz
- ASUS M3N-HT NVIDIA nForce 780a motherboard
- G.SKILL 4GB (2 x 2GB) DDR2 1066
- Thermaltake Purepower W0100RU 500W ATX12V
- shit case, just enough room for a motherboard and PSU
I’m not planning on putting HDD/optical drives in the thing (case is too small lmao). Instead I’m going to run 150′ of ethernet cable to the fileserver in the basement on the other side of the house (because the wireless doesn’t make it past the fireplace’s brick walls).
So it’s like 9:30PM and I’m pulling cable out of the boxed spool walking through the kitchen, down the hallway, into a bedroom. As I’m opening up the window to throw the box outside to the basement door, A FUCKTON OF FUCKING WASPS FLY IN OUT OF FUCKING NO WHERE JESUS FUCKING CHRIST THERE’S A FUCKING NEST IN THE GODDAMN WINDOW OH FUCKING SHIT. So I slam the fucking window shut and run out of the room, locking the wasps in with my spool of cat5 cables.
FUUUUUUUUUUUUUUUUUUUUUUUUUUU
Will deal with it later.
Tagged with: buying stupid shit, fucking wasps out of hell, my first amd since the duron
11 comments
Jun 28
(Untitled)
Oh man, I brewed some beer today. Made the wort for a nice Hefeweizen — it’ll be 2-3 weeks before I bottle it, and another 2-3 weeks before the bottles are drinkable. Have 5 gallons of the shit — about 48 bottles worth. Moreover, brewing beer is surprisingly easy; I might have to get carried away with it :3
On the Haskell side, I wrote a TCP multiplexer. It’s a toy, but I like doing random things with MUDs and shit and it’s really useful for that kind of stuff (ie, writing bots etc). The code is written in a very Erlang style, calling forkIO twice for each client and using a bunch of STM channels to pass messages around. Probably a better way to do it but this was the most coherent in my mind.
Also, the mux function is an unfortunate mess etc. lol haskell.
Tagged with: dicks, haskell, stm, tcp mux
No comments
Jun 27
(Untitled)
I mentioned (discreetly) the other day that I had written an Omegle client library in Haskell. After working out some kinks yesterday and this morning, I now have a simple CLI Omegle app which lets you chat with people without using a browser. Wrote the CLI app as a test of the client library but etc, probably not going to do anything else with it.
Was pretty fun to implement. The client library makes use of the StateT monad transformer (easy examples) to wrap the Omegle state (specifically, the Omegle ID). The TTY thing uses STM for inter-thread communication. So, despite the fact that I’m probably never going to use it, it was a fun foray into some fun Haskell features.
Tagged with: haskell, omegle, statet, stm
3 comments
Jun 26
(Untitled)
Well 4scrape is back up, dicks, etc.
Yesterday I hacked out some code which I cleaned up tonight. Not going to bother explaining what it is — just going to link it. It’s pretty obvious what it’s used for (LOL). Probably going to rig up something so that renders through hscolor instead of just being served as text/plain; will append the source to this post once it’s ready.
I’m completely reorganizing my code and shit. Before, I had a ~/dev/ which contained a directory for each project I worked on. There was no place for common code, so I ended up having multiple copies of shitloads of files everywhere. That’s shit. It’s a nightmare to maintain — makes it impossible to find anything and makes starting new projects a fucking hassle.
Instead, this time I’m keeping everything (at least, the Haskell stuff) in a single hierarchical directory and keeping it all backed up in a remote repository (a jail on Kirakishou). That way, starting a new project (ie, WWW.HsColorizer) is really easy and doesn’t become a mess.
etc. meh.
Update: Finished writing a FastCGI script which runs requested files through HsColourize before serving. The source can be viewed through itself here. Huzzah. (though I still need to tweak the hell out of the default CSS shit so it isn’t so bright fuck yeah got my darkies up in here).
Tagged with: brits spell things funny, fastcgi, haskell, hscolour
3 comments
