Mike Blume's LJ
[Most Recent Entries]
[Calendar View]
[Friends]
Below are the 20 most recent journal entries recorded in
Michael Blume's LiveJournal:
[ << Previous 20 ]
| Tuesday, January 8th, 2013 | | 4:08 pm |
Macro help So I'm finding myself writing macros that look like this (defmacro set-from-map [objform valmapform & set-pairs] (let [obj (gensym) valmap (gensym)] `(let [~obj ~objform ~valmap ~valmapform] (other stuff happens here)))) Those top two lets are basically just letting me make obj and valmap strict -- making them evaluate immediately instead of *pasting their code* wherever my macro might use them. I'm seeing this pattern a lot, and of course, Patterns Are Evil. Can anyone see an easy way to eradicate it? | | Monday, October 15th, 2012 | | 10:56 pm |
Tweets to my teen self
People started tweeting at their teen selves on Twitter. I tried to pack all the advice I could into one tweet, and then expanded. Teen self: Future great, get there faster. LISP Ethical slut Weights Tighter clothes Oneitis (Stop!) No god More math GEB TRUST YOURSELF Teen self: get yourself a Scheme and work through all the problems in SICP. SERIOUSLY YOU COULD BE HAVING SO MUCH FUN RIGHT NOW. Teen self: Future you lives in a house with his girlfriend and her boyfriend. Seriously, it's not even a big deal. Teen self: Weightlifting is not just for jocks. Like looking at pretty girls? They like looking at hot guys! Getting hotter is Cooperation! Teen self: it being possible to tell there is a human body under your clothes does not make them rude. Seriously, you are swimming in those. Teen self: She is halfway down the hallway why are you standing there holding the door WTF you are making her feel so awkward WHYYYYY #teenself: Your intuitions about math thingies being more fundamental than brain thingies are right on. Future you is fine with this. Teen self: Just because you've learned all the high school math doesn't mean there's no more. Group theory Category theory GEB KEEP READING #teenself: yeah, you forget/lose things a lot; you'll be able to function as an adult *anyway*. Things can be replaced. #teenself But seriously, even if you don't hear any of this, it all turns out pretty awesome. It's ok. *hug* | | Thursday, October 11th, 2012 | | 10:49 am |
Naturalism is the radical notion that people are composed of parts that aren't people. | | Tuesday, October 9th, 2012 | | 10:40 am |
| | Wednesday, September 26th, 2012 | | 11:03 am |
Principle of Optimism
Drawing both from the Principle of Charity and from the discipline of Holding Off On Proposing Solutions, the Principle of Optimism (also known as Aang's Principle) states that in any dispute, both parties should, as long as possible, assume that everyone's desiderata can be obtained if everyone's clever enough, without recourse to argument or fighting. The Principle of Optimism seeks to keep things in the frame of problem solving, rather than that of conflict. | | Tuesday, July 3rd, 2012 | | 10:06 am |
"So there doesn't seem to be any soap in any of the men's showers except the one with the curtain." "Yeah, we know, but there's no men on shift until 10, so we can't do anything about it." "Oh.... Well can I help? I'm totally a man!" TL;DR: Now I know how to change the soap dispensers at my gym. | | Friday, May 4th, 2012 | | 10:48 am |
Transformations of brainfuck programs
A brainfuck program is any string of characters in which the square brackets match. That is, you could walk the string, pushing addresses of left brackets to a stack, popping when you encounter right brackets, never encounter a stack underflow, and end with an empty stack. A brainfuck program represents a transformation between strings (slightly complicated by the fact that some don't terminate. This can, of course, not always be programmatically determined in advance.) Two brainfuck programs will be considered equivalent if they represent the same transformation between strings. Any character not in the set "<>+-[].," can be removed from a brainfuck program. If a brainfuck program ends with any character not in "].", that character can be removed. If a brainfuck program ends with a ']', and there are no '.'s between it and the matching '[', the entire postfix (including both brackets) may be removed. Any of "<>" "><" "+-" "-+" can be removed. Once these rules are applied, nothing commutes nontrivially. That is, angle brackets commute with eachother, but adjacent opposite angle brackets should already be removed, and the commutation of '<' with '<' is pretty trivial =P. Same applies to '+' and '-' That's all I've got. Any other easy simplifications of brainfuck programs that preserve behavior? | | Sunday, April 1st, 2012 | | 10:21 pm |
"Yess, I hear," hissed Harry. "You are an Animaguss?" "Obvioussly," hissed the snake. "Thirty-sseven ruless, number thirty-four: Become Animaguss. All ssensible people do, if can. Thuss, very rare." -HPMOR Serious question: What one thing do all sensible people do (if they can) in real life? | | Thursday, January 5th, 2012 | | 5:53 pm |
Rick SantorumBecause the fucker does *not* deserve to have his campaign site top his google results. | | Tuesday, May 3rd, 2011 | | 10:40 am |
10:15 Michael Blume *hug* so I had an odd BART ride train from MacArthur->SF was standing but there was a biggish dude in a hoodie sleeping across a bench so I decide I'm going to sit on the bench with him so I say "excuse me, sir, can you budge over please" a couple times in my usual sorta timid high voice X3 and he doesn't move at all so I stand for a while and then I deepen my voice a bit and say more loudly "sir, can you scoot over so I can sit on the seat next to you" still nothing so I just squeeze into the spot next to him and eventually shove his leg out of my side which gets an "aww, ferchrissakes" and ride like that to SF 10:23 Lindsey Snider lol wow you are brave 10:23 Michael Blume lol I guess? 10:34 Michael Blume I dunno, I still can't quite decide whether I was being a jerk or standing up for my rights as a BART passenger X3 10:35 Lindsey Snider you were both =P 10:35 Michael Blume lol =) ok | | Tuesday, April 26th, 2011 | | 5:55 pm |
*roughly 24 hours after we got together* Ida: So how was karaoke? Lindsey: Mike was singing songs about my ass! Me: I wasn't singing about your ass, I was singing about asses in general... Lindsey: Everybody loved him though. They were all up and dancing and shouting his name and girls were whipping their bras off and flinging them at the stage.... Me: Yeah, I think that last bit was mostly you, dear. | | 5:54 pm |
congrats Junio
Have I ever mentioned that I've been pulling and building from Git's development tree daily for about a year and have never once been hit by a regression? That is some damned fine project management. Current Mood: impressed | | Wednesday, April 13th, 2011 | | 9:16 pm |
Lindsey (in reference to the mushroom stew on the stove): We make such delicious babies. Me: We do! Me: Speaking of which, how is our baby -- how's Sean? Lindsey: I don't know, I was playing Myst all day. Me: Let's not ever have that conversation about a non-Sims baby | | Thursday, March 31st, 2011 | | 10:33 am |
A year later, this thread still makes me absurdly happy. Haven't actually chatted anyone up on a train in ages. Not sure if people are less friendly during commuter hours or if I just need to poke at myself a bit. | | Friday, March 18th, 2011 | | 11:10 am |
I have been known to make a rather tasty breakfast by pouring tomato sauce into a pan, breaking eggs into it, and scrambling the eggs in situ. Today there wasn't any tomato sauce, so I decided to try cooking down some V8 and scrambling the eggs in that. Freaking awesome. | | Thursday, February 24th, 2011 | | 11:14 am |
"I can't believe how many engineers I know who are straight. I mean, you're going to school for engineering and you only want to date girls? Yeah, good luck with that." -Zak | | Friday, December 17th, 2010 | | 5:33 pm |
From the "Rationality Quotes" discussion thread on LW
HonoreDB15: Never trust anything that can think for itself if you can't see where it keeps its brain. --J. K. Rowling, Harry Potter and the Chamber of Secrets Eliezer_Yudkowsky: I can't help but ask whether you've ever found this advice personally useful, and if so, how. MBlume: Actually my first thought upon reading that was "follow the improbability" -- be suspicious of elements of your world-model that seem particularly well optimized in some direction if you can't see the source of the optimization pressure. http://lesswrong.com/lw/37k/rationality_quotes_december_2010/35sf?context=2 | | Thursday, May 20th, 2010 | | 9:41 pm |
| | Saturday, May 1st, 2010 | | 12:03 pm |
Snap.
"Two men, two women, a man and a woman, a cooperative commune of many men and women…they can all serve [the purpose of caring for children]. Oh, and in all those cases, who is having sex with whom is pretty much irrelevant to the children, since these typically are not Catholic Sunday schools, so the children won't be participating in the sex." | | Thursday, April 22nd, 2010 | | 8:00 pm |
|
[ << Previous 20 ]
|