September 2011
1 post
4 tags
Haskell-style curry function in Scheme
#lang racket
(define (>curry f . n-opt)
(let loop ((final-args '())
(n (if (empty? n-opt) 2 (car n-opt))))
(if (zero? n)
(apply f final-args)
(lambda nth-args
(loop (append final-args nth-args) (sub1 n))))))
(>curry list 0) ;=> '() ;; should this case really be…
((>curry list 1) 'a) ;=>...
August 2011
2 posts
2 tags
3 tags
Gender-neutral Pronoun Proposal
Short story: Lojban’s acronym pro-sumti, appropriated for English.
Elaboration: Whenever you see a lone letter (or acronym) used as a pronoun, it refers to the closest (or most contextually obvious) noun phrase that begins with it (or matches it acronym-wise). I leave details such as whether it’s capitalized or ends with a period as stylistic choices for the author at this...
June 2011
1 post
4 tags
All systems are defenceless against actions at a level which is sufficiently meta. However most threats happen at a level where systems are given a reasonable chance to defend themselves. Here it becomes obvious that some systems are better than others at ensuring their own stability. Hence, instead of giving up on security (because there is always a level at which it is unsustainable), we should...
April 2011
1 post
2 tags
The Clojure Dynasty
(This was written as a response to Of Weighty Matters, or Thumbs Still Down for Clojure)
I hear ya. Clojure’s Lisp nature is currently bounded by the JVM’s. Its primitives are not designed for environments as living and breathing as Genera. The hype surrounding Clojure is strong enough to attract programmers who are not necessarily imbued with a sense of the history of Computing, much...
March 2011
2 posts
4 tags
#lang racket
;; This defines an n-argument version of the Y combinator. A use case is
;; implementing mutually recursive functions. The intended usage is:
;; ((y* (lambda (f1 f2 ... fn) (lambda <body of f1>))
;; (lambda (f1 f2 ... fn) (lambda <body of f2>))
;; ...
;; (lambda (f1 f2 ... fn) (lambda <body of fn>)))
;; (lambda (f1 f2 ... fn)...
Renaissance
Pastward from here lies this site’s previous life. It was a humble tumblelog which served as a way to share links and videos with my friends during high school. I launched it early enough that I was even able to grab a Tumblr URL which matches my name this conveniently.
However, as time passed I mostly abandoned this kind of link sharing. I increasingly felt the need to publish my thoughts...
April 2010
1 post
To that one person complaining that I don't update...
This tumblelog’s purpose has been outsourced to my Google Buzz page, for better or worse. This site might eventually become something (a bit more) serious.
February 2010
6 posts
Octocat Adventures
An example of StackOverflow at its most epic →
Fallible Ideas →
An excellent series of essays concerning practical philosophy.
As you know, fairness is a concept that was invented so that children and idiots...
– Scott Adams (http://www.dilbert.com/blog/entry/fairtaxes/)
Q: What goes green, red, green, red, pink, pink, pink?
A: A frog in a...
– fortune
Get Out
January 2010
12 posts
Black Perl →
My god. Priceless.
The Misanthrope’s Guide to the End of the World →
Philip Guo - Is there life after high school? →
When I read articles like this or see movies like The Breakfast Club, I get the feeling that either I’m deluded or didn’t go to the average American high school.
The entire economy of the Western world is built on things that cause cancer.
– From the 1985 movie “Bliss”
Burnt Face Man 9 →
Ideone →
It’s not only the coolest pastebin ever… it calls itself an online IDE and debugger.
Typing Errors →
TLDR: “The story of Dvorak’s superiority is a myth or, perhaps more properly, a hoax.”
We’re talking about keyboard layouts by the way. (This article was written in 1996, even!)
"When programmers are real programmers or just...
More interesting than the original article was a comment on Hacker News:
To clarify his terminology: the “real programmer” values the means; the “dude” values the ends. It’s a question of what one values, and this does tend to be mutually exclusive, in the specific sense that when they are in conflict, you must choose one over the other - which one do you choose? That...
Uni-moticon Of The Decade
ಠ_ಠ
(It only works with Windows out of the box, AFAICT)
December 2009
9 posts
Giant Sea Otters Attack Hong Kong - an early demo of LÖVE
What you do speaks so loud that I cannot hear what you say.
– Ralph Waldo Emerson
Why Johnny Can't Code →
About how programming is increasingly inaccessible to youth. Computers are then seen as tools for consumption rather than production. On another note, I’ve been reading Brave New World, and it’s gruesome.
Once you have something that grows faster than education grows, you’re always...
– Alan Kay (src)
Log!!!
Pet Shop Boys - Can You Forgive Her? According to my parents, I used to love this music video when I was 2.
November 2009
19 posts
Paprika (pardon the popups) From the creator of Paranoia Agent, so, you know what to expect.
Another World JS →
impressive <canvas> tech demo.
Apple's Mistake →
Great piece by Paul Graham.
Things That Are Easier To Understand Than Google... →
Fire Hot | The Onion - America’s Finest News Source
from Nonce and other Frobnulated Words « Harder, Better, Faster, Stronger :
Expygeous, ·ly. From ex from, out of, and pyge, Greek for butt. Replaces advantageously “out of one’s butt” in polite conversation. The constants in this equation have been chosen quite expygeously. In verb form, it becomes expygiate. He keeps expygiating answers
capilotomy, ·omania. The action (or habit) of...
Orgazmo—You’re statistically unlikely to have seen this movie (And you have DivX Web Player, right?)