Show newer

Fascinating deep dive on Twitch deliberately constructing a 10GiB array to reduce the number of GC cycles in Go:

(This trick is no longer necessary in the new Go 1.19 apparently, as it's added a GOMEMLIMIT environment variable.)

Roberta Arcoverde, Director at Stack Overflow, previously a staff engineer and tech lead:

Stack Overflow platform:
* .. backed by just 9 servers,
* .. run on-prem from own data center (not cloud),
* .. team of 50 engineers (up from 10 in 2014),
* .. deployed as monolith in 4min multiple times daily,
* .. pragmatic, ignore trends like k8s and microservices.

> Giving SQL 1.5 TB of RAM was more effective than caching page fragments in Redis.

“I don’t care how you web dev; I just need more better web apps”

Published this yesterday. We keep talking about frameworks or web components but, personally, I’d just like to see better websites and web apps

Re-watched Rich Hickey's "Simple Made Easy" and now I can't help but see the "easy vs simple" distinction everywhere. Like marketing websites for frameworks that say "The easiest way to get started with…" Everybody wants easy, but maybe what they should really want is simple?

"Police Are Looking to Algorithms to Predict Domestic Violence"

Colin Lecher, writing for The Markup:

it [..] left [experts] with questions about the ethics and efficacy of relying on technology to predict future violent acts.

You still have a choice, Lamar! [1]


Deno Fresh reaches its first stable release.

The demo source is readable, revive logic easily found, and I could step through all fn call in minutes, and understand it. That's huge.

Fresh is a bit like Hotwire, Remix, and Svelte. Server-first, 0KB default JS. It doesn't invent a new component framework though, but recognises JSX-compatible islands, where you can e.g. use Preact, autoloaded/wired by Fresh.

I did a quick re-record of my talk "Why HyperCard was so f***ing great" from NSConference 2014 based on the original notes and slides. In case you always wanted to know what HyperCard was:

How effective is paid advertising anyway?

Scott Cunningham, on the selection bias in paid clicks:

[..] there was a nearly one-to-one increase in natural clicks [..] as though users were already going [..]

Reminds me of 2020, when in the Netherlands the NPO (national broadcasting service, akin to BBC), removed third-party tracking and actually increased their revenue in doing so:

A tale of a trailing dot - how allowing a dot lead to two curl security vulnerabilities - and more.

Did I tell you trailing dots are evil?

"When You Should Prefer Map Over Object In JavaScript" by Zhenghao He

This sounds about right to me. I'd simplify the advice to "use Map for hashmap-like things." The fact that small integers are fast in Objects is probably just because it's a common pattern, so V8 optimized for it. V8 could decide tomorrow to optimize for the same thing in Maps. (And why not just use an Array in that case...?) Also none of this is likely to be a big bottleneck in a website. captures in real-time new posts from self-hosted WordPress blogs, plus anything they link to, and does something similar for new citations on Wikipedia articles.

I wrote down how this works, and how it all ties together.
(The rabbit hole got me on this one, I'll say! 😅)

"Data outlasts Code, yet Code keeps winning" by Shawn Wang

This is an interesting way of framing the debate. There are a lot of good points in here.

Daniel’s weekly report June 17, 2022
websockets, REUSE, analysis, URLs, podcasts

"How an Obscure Far-Right Website With Three Employees Dominates FB", analysis by Judd Legum for (via Daring Fireball).

This stuff is basically as-expected with present day FB algo and incentives. This particular incident makes a good case study though. Solid !

"Leveraging System Fonts on the Web", by Jim Nielsen.

A look at the (now dozen) different system font keywords, and... could we redefine sans-serif?

Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!