programming

Swing Dance Frame as Non-Newtonian Fluid | Jason Sager
Neat analogy for the way some moves work by resisting impulses (so that they are transferred and provide a net impetus to the follower) but not resisting smooth movement.
(tags: lindy frame fluid lindyhop dance)
https://github.com/mame/quine-relay
A quine (program that produces its own source code as output) which passes through 50 programming languages along the way. Utterly barking, in a good way. Via andrewducker.
(tags: quine programming)
Who By Very Slow Decay | Slate Star Codex
More excellent, harrowing stuff on the standard of end of life care and relatives who won’t let go.
(tags: death poetry medicine intensive-care aging)

Changing my mind on nuclear disarmament – Charlie’s Diary
Charles Stross argues against renewing Trident.
(tags: trident nuclear disarmament charles-stross war)
Coding, Fast and Slow: Developers and the Psychology of Overconfidence
"I’m going to talk today about what goes on in inside developers’ heads when they make estimates, why that’s so hard to fix, and how I personally figured out how to live and write software (for very happy business owners) even though my estimates are just as brutally unreliable as ever." via Andrew Ducker
(tags: software programming scrum estimation daniel-kahneman)
What Martial Arts Have to Do With Atheism – Graeme Wood – The Atlantic
Sam Harris on martial arts, meditation and atheism: "No one’s ever accused me of being an optimist, but I think reason and intellectual honesty will win. They’re just too useful."
(tags: religion atheism martial-arts meditation sam-harris)
How Not to Die – Jonathan Rauch – The Atlantic
Many doctors aren’t good at having "the Conversation". A doctor uses film to illustrate patients’ options at the end of their lives.
(tags: film ethics death health medicine intensive-care)

Embedded in Academia : A Quiz About Integers in C
“The C language’s rules for integer operations have some quirks that can make even small programs behave in confusing ways. This post is a review of these rules in the form of a quiz containing 20 questions.” I did OK except on the ones about shifts.
(tags: arithmetic integer C programming)
Sword Fighting with Neal Stephenson and His Mongoliad Co-Authors
Including Greg Bear, apparently.
(tags: mongoliad weapons history sword greg-bear neal-stephenson)

Project Euler

“Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.”
(tags: puzzles maths mathematics programming)

Science, Reason and Critical Thinking: How to replace the School ICT Curriculum

10 PRINT “PAUL IS SKILL”
20 GOTO 10

The undeniable fact and its inescapable consequence | Alethian Worldview

“The undeniable fact is this: God does not show up in the real world, not visibly, not audibly, not tangibly, not for you, not for me, not for saint or for sinner or for seeker. … the inescapable consequence is that we have no alternative but to put our faith in men rather than in God. … When men say things on God’s behalf, and make promises that God is supposed to keep, the word they tell you is the word of men, not the word of God. That’s true even if what men say is, “This is the word of God.” They’re not giving you God’s word, they’re giving you man’s word about God’s word (or at least what they claim is God’s word). Sure, you can believe what men tell you about God if you like, but if you do, you are putting your faith in men. Before you can have faith in God, God has to show up, in person, to tell you directly the things He wants you to have faith in. Otherwise it’s just faith in men.”
(tags: deacon-duncan religion atheism)

I Am An Atheist: 16 Things Atheists Need Christians to Know

Some only relevant to Americans, but there are some good general points.
(tags: lists religion christianity atheism)

Atheists face Muslim-led censorship from UCL Union

The atheist society at UCL posted a Jesus and Mo cartoon as the image accompanying their Facebook event. One Muslim objected as the cartoon depicts Mohammed in a pub (what the Muslim was doing looking at the Facebook page for an atheist event isn’t clear). The UCL student union got a complaint from someone and asked them to take it down. They refused. The story got picked up by atheist blogs and Dawkins Our Leader and hence the newspapers. The union backed down though there’s still the vague threat in the air that the atheist soc might be guilty of bullying or harassment.

Hopefully the media attention has put the fear of God into the Union and they won’t be so silly in future. Muslims do not have the right not to be offended.
(tags: richard-dawkins dawkins ucl university censorship religion islam)

Bash Tips for Power Users

I didn’t know about the “fc” command. Nice.
(tags: programming shell unix linux bash)

Twilight: The Use of Sparkle

If Iain M. Banks had written Twilight. Funny, even though I’ve never read/seen any Twilight.
(tags: parody twilight iain-m-banks sf science-fiction sci-fi culture books)

So who is good enough to get into Cambridge? | Education | The Guardian

Guardian reporter sits in on admissions meetings at my old college. Inevitably, the photo with the story is of King’s, because it’s prettier than Churchill.
(tags: churchill cambridge-university university education cambridge)

Fat Acceptance Movement. || kuro5hin.org

kuro5hin is still alive: who knew? Anyway, this is a recent Diary entry from HollyHopDrive who discovered a bunch of Fat Acceptance blogs while looking for fitness information. Her division of what she found into stuff she agrees with and bullshit looks sound.
(tags: medicine health fat)

The Americanization of Mental Illness – NYTimes.com

The expression of mental illness is cultural: anorexia was more or less introduced to Hong Kong by newspaper articles. A view in which mental illness is caused by brain problems rather than childhood experiences or demons actually makes people less sympathetic to those with mental illness, because they’re perceived as being unfixable.
(tags: anorexia schizophrenia culture science psychiatry psychology)

King Under The Mountain: Soundtrack and Adventure Log

Someone actually ran a Dungeons and Discourse game (see the Dresden Codak cartoon). This is what happened. “In the middle of the Cartesian Plain at the confluence of the rivers Ordinate and Abcissa stands the mightiest of all, the imperial city of Origin. At the very center of the city stands the infinitely tall Z-Axis Tower, on whose bottom floor lives the all-seeing Wizard of 0=Z.”
(tags: betrand-russell philosophy roleplaying dungeons-and-dragons funny)

Cow Clicker Founder: If You Can’t Ruin It, Destroy It : NPR

Bloke makes spoof Facebook game to mock the grinding required by Facebook games. Facebook users play it for real.
(tags: games zynga facebook cow psychology)

Embedded in Academia : Nine ways to break your systems code using volatile

“The volatile qualifier in C/C++ is a little bit like the C preprocessor: an ugly, blunt tool that is easy to misuse but that — in a very narrow set of circumstances — gets the job done. This article will first briefly explain volatile and its history and then, through a series of examples about how not to use it, explain how to most effectively create correct systems software using volatile. Although this article focuses on C, almost everything in it also applies to C++.” Relevant to my interests as compilers get cleverer about re-ordering.
(tags: volatile embedded programming C threads multicore memory-model)

Ask Chris #81: Scooby-Doo and Secular Humanism – ComicsAlliance | Comic book culture, news, humor, commentary, and reviews

“On Scooby-Doo, do you prefer the monsters to be real or people in costumes?”
(tags: scooby doo rationality)

The Rise and Fall of Bitcoin | Magazine

Whatever happened to Bitcoin? Via Andrewducker.
(tags: bitcoin currency money economics wired crypto cryptography)

The Social Graph is Neither (Pinboard Blog)

The guy who single handedly runs Pinboard writing about Facebook and social stuff.
(tags: socialgraph social facebook graph pinboard relationships)

The Marvels And The Flaws Of Intuitive Thinking Edge Master Class 2011 | Conversation | Edge

The Edge also did a feature on Kahneman a while back. Here it is, with more examples of ways in which our thinking fails, but also things we can do which we’re finding difficult to program computers to do.
(tags: psychology intuition daniel-kahneman cognition cognitive-bias rationality)

Michael Lewis on the King of Human Error | Business | Vanity Fair

Daniel Kahneman and Amos Tversky did ground breaking work on cognitive biases: the ways in which human thinking systematically fails. Fascinating article. Via andrewducker.
(tags: psychology rationality bias cognition cognitive-bias daniel-kahneman amos-tversky)

Requests: HTTP for Humans — Requests 0.8.0 documentation

An HTTP library for Python that’s less awful than urllib2. Hopefully someone will add it to the standard library at some point. Via Leonard Richardson.
(tags: python http library requests programming)

A thing I found while investigating how to get journal backups going again in the wake of LJ’s most recent debacle:

A while back, geeks kept saying that LiveJournal should be Usenet news, that is, instead of mucking about with all the tedious web forum stuff, it’d be nice to have a program which let you read comments and entries, kept track of threading and which comments you’d already read, and so on (remembering what you’ve read on LJ was the motivation for my LJ New Comments script, but that doesn’t avoid LJ’s clunky interface).

This was tricky as there was no obvious way to get all the comments from an entry. There was the old comment export thing, but that only works on your own journal. You could “screen scrape” with a program that tried to pull the comments from the human-readable versions of LJ’s pages, but that’s considered rude because of the load it’d put on LJ’s server, and it’s fragile as it might break if LJ changes the human-readable output.

Luckily, LJ added a bunch of new stuff to its existing interface for “clients” (programs which access LJ, like Semagic). This includes the getcomments method, which allows you to get all the comments on any entry you can see.

Add this to the existing machine-readable stuff (Atom feeds, getfriendspage) and you could probably write either a client specific for LJ (the iPhone client is the reason LJ added the getcomments method, by the looks of it) or a proxy to turn the whole thing into NNTP and let you use conventional Usenet clients. Who’s first?

(Personally, I still plan to be off once I can actually back up this journal, including the comments of my esteemed readers. But I won’t stop reading, so this would be a nifty toy even for me.)

Edit: another thing this allows is third parties offering comment feeds of your journal: someone could write a thing which turned the comments from an LJ entry into an Atom feed. Real blogs have these, so LJ could too.

gource – software version control visualization – Google Project Hosting

Cool tool which produces a video of your code’s history.
(tags: video programming history software tools)

David Graeber: On the Invention of Money – Notes on Sex, Adventure, Monomaniacal Sociopathy and the True Function of Economics « naked capitalism

Interesting demolition of the idea that barter economies always precede the invention of money.
(tags: economics anthropology money history sex barter)

The Dark Side of the Placebo Effect: When Intense Belief Kills – Atlantic Mobile

Sleep paralysis and the Nocebo effect as a potential killer.
(tags: science psychology sleep paralysis)

Text Message | Sunday Magazine

"FRIENDS THEY NEVER MEET: ACQUAINTANCES MADE BY THE TELEGRAPH KEY. CONFIDENCES EXCHANGED BETWEEN MEN WHO HAVE NEVER SEEN EACH OTHER — THEIR PECULIAR CONVERSATION ABBREVIATIONS." Cool steampunk stuff. Via andrewducker.
(tags: telegraph communication sms message)

Writing Vim Plugins / Steve Losh

What it says on the tin.
(tags: programming vim plugin development editor)

Coming Home to Vim / Steve Losh

Someone's page about going back to Vim, listing some config options I didn't know about.
(tags: programming tools vim editor tutorial)

Lost Garden: Rules of Productivity Presentation

"How do we get more work done? It is a question that every manager and every passionate worker faces. Yet, for the most part, teams operate on gut instinct and habit. The results are less than optimal. Over the years I've been collecting small pieces of research on various factors that actually seem to improve productivity. I've assembled eight of these experiments into a PowerPoint presentation. Feel free to use the graphs and data within to spread these practical ideas throughout your own teams." Via andrewducker.
(tags: psychology programming software development overtime scrum productivity)

CPBD 089: John Shook – Dewey, Quine, and Some Varieties of Naturalism

John Shook talks to Luke Muehlhauser about philosophical naturalism (with a transcript, for those of you who hate podcasts). Interesting to find about the various naturalistic philosophies, and to see the responses to the supernaturalist "you naturalists think everything is just atoms" argument.
(tags: philosophy naturalism science physics materialism)

He Said/She Said

Grim-meathook-future SF author Peter Watts's wedding vows: "And you and I are going to kick biological determinism in the balls." Aw, sweet.
(tags: wedding marriage biology monogamy)

Why Philosophers Should Care About Computational Complexity

"One might think that, once we know something is computable, how efficiently it can be computed is a practical question with little further philosophical importance. In this essay, I offer a detailed case that one would be wrong. In particular, I argue that computational complexity theory—the field that studies the resources (such as time, space, and randomness) needed to solve computational problems—leads to new perspectives on the nature of mathematical knowledge, the strong AI debate, computationalism, the problem of logical omniscience, Hume's problem of induction, Goodman's grue riddle, the foundations of quantum mechanics, economic rationality, closed timelike curves, and several other topics of philosophical interest. I end by discussing aspects of complexity theory itself that could benefit from philosophical analysis."
(tags: philosophy programming complexity compsci turing)

Does the future have a church? | The Briefing

What evangelicals think of the general decline in church attendance in the UK. Their churches are holding their own numerically but not growing, so becoming a smaller percentage of a growing population. However, they're doing better than other Protestant denominations, which will die out as their older members die off. Getting them while they're young is essential for propagating religion, and they worry about the lack of youf in the church. Social trends like cohabiting couples and single parent families are worrying because evangelical churches don't really know how to cope with those people so won't evangelise them effectively. Via the artist formerly known as nlj21.
(tags: church religion statistics christianity uk)

Kayonga Kagame Shows Us The World. Episode: Darkest Austria : Free Download & Streaming : Internet Archive

A hilarious spoof on ethnological documentaries: an African TV team comes to the Austrian province to document the strange behavior of the natives… including the Feast of the Chicken. *
(tags: funnny anthropology ethnology)