10,149 karma · joined Mar 22, 2010 (16y ago) · 2,285 submissions
I'm a partner at Inner Product (http://inner-product.com) and Underscore (http://underscore.io), where I teach, mentor, and develop Scala.
I'm previously was a co-founder of a startup called Myna which applied multi-armed bandit algorithms to the problem of content optimisation -- where A/B testing is traditionally used.
comment 3w ago · link · parent
There is a good case to be made that Homo Sapiens were just lucky to be based in the milder climate of Africa, and by chance being more adapted to hunting megafauna due to our body structure. Homo Sapiens are also very inbred. IIRC there are two main genetic bottlenecks that have been detected in our DNA. We almost didn't make it.
comment 1mo ago · link · parent
A timely comment for me. I tried the linked Planetfall game, and gave up after a little bit of wandering around and nothing happening. Apparently I was supposed to just putter about for longer until the game really started with the emergency event, which got me thinking about game design in these early games.
Some of these games really liked to give you a combinatorial search problem dressed up as a game. In Colossal Cave Adventure, one of the first puzzles is to get a bird into a cage, so you can use the bird to scare away a snake. The bird is scared of a rod you find earlier, so you have to drop the rod in a different room before you get the bird (and then go back and get the rod). Now none of this makes any sense. The expectation is that you have nothing better to do then just try different combinations until you find what works. In a way it's asking you to play a meta-game, rather than the game.
This reminds me of Sword of the Samurai [1], a Fighting Fantasy book I had the misfortune to read when I was a lot younger. It was fiendishly difficult if you actually played by the rules. Partly this is because the combat was really hard (see the linked review) but also because there were just so many choices where the book gives no hints what is a good choice to make. For example, right at the end there is fight between you and your buddies versus four baddies. Each one of your buddies can take out a specific baddy, but there is no indication which is which. So the book is really designed with the expectation that you're constantly going to cheat. This meta-game of bookmarking each decision point and exploring the decision tree before committing is the actual game that the book is written for, and it has a lot of content to explore if you realise this is the game you should play.
So yeah, game design has come a long way :-)
[1]: https://fightingfantasy.net/articles/the-parallax-walkthroug...
comment 1mo ago · link · parent
My own experience, pootling around with Claude like a peasant, is that it is simultaneously amazing at some tasks and an absolute moron at others. The more abstract the reasoning required, the worse it is.
comment 1mo ago · link · parent
We really need a better model. One alternative is to have an everything-app: a general purpose tool in which (almost) everything lives. The terminal is one of them. The text editor / word processor is another. (I use Emacs for everything.) In a business context the spreadsheet is probably the best choice.
comment 2mo ago · link · parent
comment 2mo ago · link · parent
An example video: https://www.youtube.com/watch?v=HCpXbHpy9LY
comment 2mo ago · link · parent
comment 2mo ago · link · parent
https://san.com/cc/george-w-bush-saw-iraq-war-as-crusade-dec...
https://www.thirteen.org/worldfocus/blog/2009/05/27/religiou...
comment 2mo ago · link · parent
I use it to switch between my work laptop and my personal PC, and for this situation 4K is a must have. That, and the choice of HDMI instead of DisplayPort, and things that would keep me from getting a JetKVM.
[1]: https://www.aten.com/gb/en/products/kvm/desktop-kvm-switches...
comment 2mo ago · link · parent
Moving fast is also a good way to increase intensity without increasing weight (you can clean less than you can deadlift, for example). The training effect is slightly different, but probably more useful for the average person tbh.
comment 2mo ago · link · parent
British food has come a long way over time, though there is still that subculture the rejoices in shite, or "proper" as they call it, food.
At least we can feel superior to the US on this front, who produce the worst bread I've ever eaten.
comment 2mo ago · link · parent
comment 3mo ago · link · parent
If you look at any language that has been around a while, with Java being a great example, you'll see many libraries that use an outdated coding style. Compare the different date/time libraries in Java, for example. Evolving these is always a problem, which I think Unison addresses in a way that lets the language evolve without having to carry too much baggage forward, while still not breaking others' code.
29.
When the Hard Part Stops Being Hard(proofsandintuitions.net ↗)
6 points · by noelwelsh · 3mo ago · discuss
comment 3mo ago · link · parent
Escape analysis in OpenJDK will stack allocate values where it can show it is safe to do so. Project Valhalla is also reducing the memory footprint of objects.
As for thread safety, that is more of a language concern than a runtime one. Amongst JVM languages Scala is leading here AFAIK. Its "capture checking"[1] provides thread safety (e.g. [2]) and actually covers escape analysis as well. On Scala Native (the native code backend for Scala) capture checking can be used for safe stack allocation and safe arena allocation.
[1]: https://docs.scala-lang.org/scala3/reference/experimental/cc... [2]: https://softwaremill.com/understanding-capture-checking-in-s...