HNHacker News
TopNewBestAskShowJobs

asplake

4,204 karma · joined March 28, 2013

Author, Wholehearted: Engaging with Complexity in the Deliberately Adaptive Organisation (2025) agendashift.com/books/wholehearted
submissionscomments
asplake··on The evolution of a Scheme programmer (2020)
Oops yes! And unfortunately it still doesn't work for n=0

Edit: prod(range(1, n+1)) does work

asplake··on The evolution of a Scheme programmer (2020)
How about:

  from math import prod # from Python 3.8 onwards
  
  def factorial(n):
      return prod(range(n+1))
asplake··on Simplifying Join Syntax
“As all joins involve the primary key…”

Often but not always the case

Edit: at least not in SQL, and therefore SQL databases. If the language being described here isn't actually SQL, that could still be a problem.

asplake··on NPM package is-even has over 140k weekly downloads
By checking that the number is equal to its negative?
asplake··on Is the city concept wrong with human nature? Vertical vs. horizontal scaling
As I recall, Paul Krugman’s 2008 Nobel Prize lecture would be a good place to start to understand why, economically at least, cities are they way they are, have the size distribution they have, and so on. For a philosophical delve into how cities and other large scale products of society emerge, you could try DeLanda.
asplake··on Arena-based parsers
> To release memory we simply release the blob itself, so it's like a batched deallocation, sort of. The consequence here is that all of our types must be:

> 1. trivially copyable (: Copy if we speak in Rust)

> 2. trivially destructible (i.e. they can't have impl Drop)

2 (Drop) seems obvious enough, but why 1 (Copy)? There’s a bit of Rust knowledge implicit there that I’m unaware of, and I might not be alone in that. Could someone explain?

asplake··on Count Binface
By convention making today a quiet news day, politics-wise
asplake··on Count Binface
See also (relative to whom Count Binface is a newcomer) The Official Monster Raving Loony Party https://www.loonyparty.com/
asplake··on Dream-HTML – render HTML, SVG, MathML, Htmx markup from OCaml
In the expected format, it renders (gives or causes to be) a representation of the requested resource.
asplake··on Learn OTP with Gleam
So pleased to see this. Had fun playing with the language but at the time learning OTP seemed a big ask
asplake··on Francisco Varela
Very good book. Autopoiesis, co-evolution – really interesting concepts

Edit: https://en.wikipedia.org/wiki/Autopoiesis https://en.wikipedia.org/wiki/Coevolution

asplake··on Samsung shifts executives to six-day workweeks to 'inject a sense of crisis'
Ugh - the “burning platform”. Is it ever used authentically? Does it ever go well? I do believe that its typically inauthentic use is mostly self-defeating – people can smell inauthenticity a mile away.
asplake··on Creating sexually explicit deepfake images to be made offence in UK
Per jjgreen’s comment, in UK law, for CSAM, an actual child need not be involved. Same logic proposed for non-consensual deepfakes.
asplake··on I asked 100 devs they aren't shipping faster. Here's what I learned
It was cleverly anticipating the HN headline mangler
asplake··on Kolmogorov Complexity and Compression Distance (2023)
> let’s assume that there exists a universal language U such that it always gives us the shortest description length for all strings.

Read on a bit and it looks like proof by contradiction:

> However, let’s bring back the paradox we discussed above. According to that paradox, U cannot exist or U cannot provide shorter descriptions than every arbitrary L.

asplake··on Why fuzzing over formal verification?
There is a sense also of merely moving the problem. If you can’t write a correct program, can you write a correct specification? For many problem domains it would make little sense even to try.

On the flip side, type systems bring at least some sense of proof into programming.

asplake··on Fault tolerance and resilience patterns for Go
On that, and slightly further off topic, if there’s a tutorial, cookbook, or worked example of using OTP but written in Gleam, I would lap it up. Enjoyed learning the language but kinda got stuck there. I didn’t want to have learn Elixir or Erlang just for that.
asplake··on Apple Is in Talks to Let Google's Gemini Power iPhone Generative AI Features
Windows Phone is dead. If that was Google’s play, it was very successful.
asplake··on Gurman: AirPods Pro to Gain 'Hearing Aid Mode' in iOS 18
Intrigued to see how this plays out in the UK. Will they able to sell this feature? Will it be enabled?
asplake··on The heavy hand of God: Europe's brutalist churches – in pictures
Not quite on the same scale but still quite striking, I frequently drive past Sheffield’s Trinity United Reformed Church: https://modernmooch.com/2018/08/19/trinity-united-reform-chu...
asplake··on Differential: Type safe RPC that feels like local functions
"Just decorate your idempotent operations" – implies to me that the idempotency of your functions is your responsibility.
asplake··on Dada, an experimental new programming language
Non .NET server-side?
asplake··on Dada, an experimental new programming language
:-) Is F# a contender outside the .NET world?
asplake··on Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"
Thanks. Unfamiliar with the Node ecosystem, that escaped me
asplake··on Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"
Very tempted! Installation instructions?
asplake··on Gleam Version 1
> How does Gleam run in the browser?

There was some detail in its announcement in January: https://gleam.run/news/gleams-new-interactive-language-tour/

asplake··on New 13- and 15‑inch MacBook Air with M3 chip
Failure to drive those displays, big TVs or projectors for the most part
asplake··on New 13- and 15‑inch MacBook Air with M3 chip
Speaking of video, I’m on my second MacBook Air and have been very happy with them both except for one consistent concern, their unreliability with regard to external displays. It bothers me sufficiently for me to bring my Apple TV with me when delivering training, which is kinda ridiculous. I think my next one will be a Pro. That’s a pity really – I like the Air form factor and I don’t really need the extra power. I do think I need a real HDMI port though.
asplake··on Why Python's integer division floors (2010)
Fortran is old – 1958 onwards. It has precedence here, though at what point it separated the two behaviours into mod and modulo functions I don’t know.

Edit: From what I can tell, standardised in Fortran 90, presumably older than that.

asplake··on Seaborn bug responsible for finding of declining disruptiveness in science
The first word of an editorialised title, frowned upon here, and not mentioned in the abstract (which I did read)
← PreviousPage 9 of 34Next →