Link blog: mutex, programming, concurrency

What every systems programmer should know about lockless concurrency
“Seasoned programmers are familiar with concurrency building blocks like mutexes, semaphores, and condition variables. But what makes them work? How do we write concurrent code when we can’t use them, like when we’re working below the operating system in an embedded environment, or when we can’t block due to hard time constraints? And since your system transforms your code into things you didn’t write, running in orders you never asked for, how do multithreaded programs work at all? Concurrency—especially
on modern hardware—is a complicated and unintuitive topic, but let’s try to cover some fundamentals.”
(tags: concurrency programming mutex)
Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr

Link blog: google, psychology, language, Internet

C++Now 2017: Niko Matsakis “Rust: Hack Without Fear!” – YouTube
Rust for C++ people (of which I’m not actually one, but it might be interesting anyway).
(tags: rust language programming)
You Are the Product
John Lanchester reviews 3 books on Facebook and Google, and comes to the conclusion that Facebook does things because it can, without considering whether it should.
(tags: facebook advertising psychology Internet zuckerberg google)
The Three Waves of Discworld – An approximation of alertness
“So I’ve been thinking for a while about the Discworld books, and how they can be divided up into three rough thematic phases; not based around the focal characters, but rather what the story is about.”
(tags: discworld terry-pratchett books fantasy)
Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr

Link blog: funny, c, twiddling, programming

Bit Twiddling Hacks
A collection of code snippets for doing useful things (sign extension, determine whether a number is a power of two, and so on).
(tags: bit-twiddling programming algorithms c hacks twiddling)
Anti-Brexit traitors outed on twitter
UKIP voters in “shit thick” shocker. Also features Louise Mensch.
(tags: twitter ukip funny brexit satire)
Horse! | Start here: See horse, Say Horse! – The Rules of Horse!
Horse!
(tags: funny game horse)
Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr

Link blog: C, social-justice, computers, programming

The cost of forsaking C – Bradfield CS – Medium
Why teach C to undergrads.
(tags: C programming education computers)
The Unit of Caring — “I don’t think social justice is healthy.”…
A reasonable summary of the problems with Internet SJ stuff.
(tags: social-justice Internet culture Politics)
Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr

Link blog: psychology, science, work, programming

The Human Cost of Tech Debt – DaedTech

(tags: programming work)

BPS Research Digest: 10 of The Most Widely Believed Myths in Psychology

(tags: psychology myths experiments)

Surprises of the Faraday Cage
Something Feynman got wrong, apparently (and which was repeated in the electro-magnetism lectures at university, as I recall).
(tags: physics science feynman electromagnetism)
Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr

LJ New Comments: new release

I’ve updated the little script I wrote to keep track of which comments are new on LJ and Dreamwidth (LJ now does this automatically in its default style, DW doesn’t, by the looks of it). Thanks to sally_maria for alerting me to both the problem and the solution.

Userscripts.org is long dead, so I’m now hosting it on my site.

Share via:Email this to someoneTweet about this on TwitterShare on Google+Share on FacebookShare on Tumblr