(define (whatdoicallthis lst func)
(let ((newlst (list list)))
(lfold (lambda (hd tl)
(set-cdr! hd (func tl))
(define (append hd tl)
(whatdoicallthis hd (lambda (nxt) (cons nxt tl))))
(define (map func lst)
(whatdoicallthis lst (lambda (nxt) (list (func nxt)))))
It seems like there ought to be a simple way to generalize something here, but I’ve been awake for over 24 hours and if I drink more coffee I’ll never get to sleep before tomorrow’s shift. Shit.
Least I have something to look forward to tomorr… tonight.
Google fucked up. That sort of BS is why everyone left altavista. Who will be next?
Pros: Absurdly fucking comfortable. Materials seem sturdy enough.
Cons: Looks like the soles were hacked into shape by a 10 year old wielding a razor blade who hadn’t had a piss break in three days; even the leather’s nicked in a couple places. No apparent way for them to actually be resoled, they appear to be simply glued on. Loose thread ends run rampant. Total lack of attention to detail, especially considering they’re in the same price range as the sorts of construction boots I generally buy.
All in all I suppose I’ll get a couple or three years out of them anyway, but would be surprised if they manage to approach the 12 year stretch my oldest Cats made it through. Such are the perils of shopping online.
Spent all day doing yard shit. Probably more tomorrow. Ugh. Least I’ll probably get a chance to go fishing Wednesday or Thursday.
From the site:
“laridae, family: gulls and terns
laridae, dot-net: netlabel for encoded highs and lows
[la-ri-dä] is a netlabel, that means we distribute music via the internet. and we do this for free. why? because it’s the best and easiest way to make YOU listen to it.
we try to provide a wide range of styles, everything from idm/indietronics to rock/industrial, defining ourselves as a kind of counterpart to the other 95% of netlabels, which are providing hardly anything but minimal dub-house stuff.”
It occurs to me that just last week I was thinking the implementation of a garbage collector was ‘hard’. And wound up with a basic tri color mark/sweep that’s soon to become generational rather than relying so heavily on free lists. Compared to fighting the stack in C, it’s nothing.
It also occurs to me that by next week, I might find something that makes trying to get TCO and continuations in C seem just as relatively painless.
I cannot decide whether this frightens or excites me.
General Tso’s Chicken for the win, motherfuckers. I’m going to bed now.
Same old shit. Reading a lot about actor systems and languages lately. Google’s recently announced language, “Go”, sounds interesting as well. At first glance it looks to me like a C with GC, functional constructs, a decent package system, and CSP style concurrency. Will have to check it out more later.
Have also been catching myself writing lots of little toy language interpreters lately…
Has been busy around here lately.
Process based pseudo FFI. Fucking awesome. I had been doing similar stuff with tclsh and wish via snow’s tk package to take advantage of TCL libraries, but this looks to be much much nicer and provides access to C libs.
If you don’t need callbacks or worry much about continuations, this should save a great deal of headache. And if you do, well, a few scheme implementations support SWIG anyway.