Don't test with SQLite when you use Postgres in Production
Yesterday, I was looking for some help trying to have a clean way to roll back database transactions at the end of a test in a Python TestC...
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,292 posts.
Yesterday, I was looking for some help trying to have a clean way to roll back database transactions at the end of a test in a Python TestC...
Ozempic-style drugs are being tested far beyond diabetes, for heart failure, addiction, Alzheimer's and aging. The share of such trials has roughly tripled in fifteen years.
Models are getting better and better, while the agents that drive them languish.
First released on August 12, 1981, MS-DOS became the foundation for business computing for almost two decades. This article details different versions and releases that all stemmed from Gary Kildall's QDOS.
The C++ library has long been organized around stream classes, at least when it comes to reading and parsing strings. But streams can be surprisingly slow. For example, if you want to parse numbers, then this C++ routine is close to being the worst possible choice for performance: std::stringstream in(mystring)…
The GNU Unifont project is amazing. It contains every Unicode glyph in one single file! I am going to argue that you should bundle it with your apps, your operating systems, and - at a pinch - your websites. The Unifont is a perfect fallback font. If your app or website uses a Unicode character which isn't supported…
How to use your language's most-overlooked feature to its utmost.
Technology, running tech companies, data science, religion, translation technology, natural language processing, backups, p-adic linguistics, academia
a blog post by @azwinkau
APL was invented by Ken Iverson in the early 1960s as a notation for array oriented calculations. It was precise and useful enough, so it…
To me, one of the most annoying parts of software engineering is writing code that doesn’t require thinking. It’s just a typing exercise, and that’s boring.
Today’s iPad introduction has to be about the most depressing Apple product launch I’ve ever watched. As has been noted , Jobs’ Reality Distortion Field only works when he believes in what he’s selling and he didn’t seem to really believe in this. The audience must have further added to the disappointment, expecting a…
When I started working on Rust in 2011, my daughter was about three months old. She’s now in sixth grade, and she’s started growing rapidly. Sometimes we wake up to find that her clothes don’t quite fit anymore: the sleeves might be a little too short, or the legs come up to her ankles. Rust is experiencing something…
I've been playing around with SQLite the last couple of days. I thought I knew a little about SQLite, but I didn't, and am getting my remedial education through an accelerated gauntlet. Some of what …
Xe Iaso's personal website.
Sonic Drive-In , a fast-food chain with nearly 3,600 locations across 45 U.S. states, has acknowledged a breach affecting an unknown number of store payment systems. The ongoing breach may have led to a fire sale on millions of stolen credit and debit card accounts that are now being peddled in shadowy underground…
Those who fail to study databases are doomed to write them
I always use the names of economists for my machines' hostnames. keynes, friedman, marx, fisher, ricardo. So every so often the strange economics of open-source software hits me. Today it is almost taken for granted that the source code for most software is freely available. This is a profound and remarkable change…
Last night I posted a tweet: "Next time you want to post an essay to Medium, do the open web a favor and post it elsewhere. Anywhere. Tumblr. WordPress.com." If I had more space I would have added Pastebin or Blogger. Really anywhere but Medium. I didn't have room to explain, but people asked, so here's…
Capture all changes to an application state as a sequence of events.