Better HN
topnewbestaskshowjobs
Log inSign up

noelwelsh

10,149 karma · joined Mar 22, 2010 (16y ago) · 2,285 submissions

I'm interested in machine learning, distributed systems, programming languages, and entrepreneurship. I have a personal site at https://noelwelsh.com/

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.

Submissions

comment 2w ago · link · parent

Agreed. They don't seem to understand the difference between sum types and union types. If you're worried about tags you shouldn't be considering union types in the first place, for example.

comment 3w ago · link · parent

There is a bit more to the story. There was interbreeding, which we can make up explanations for but none have any evidence to support them. Neanderthals were also under a lot of environmental stress. They were very inbred well before Homo Sapiens shared their range. We have no evidence they hunted from range (no arrow heads, for example, and their shoulder joints are not adapted to throwing) but relied on close range attacks. This would have become increasing more difficult in the Ice Age, due to the nature of the terrain and the increasing size of the megafauna.

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 4w ago · link · parent

Really cool. I haven't read it but I'm familiar with some of the authors so I expect this to be good.

comment 1mo ago · link · parent

Nice concept. I caught European Sleeper last week, my first time on a night train. It was ok but I'd like something better if I was using it regularly.

It's a tough time to do something about climate change. Short-termism is very attractive right now.

comment 1mo ago · link · parent

You have several comments in this thread. They would all be more useful if you would just plainly state your point and drop the condescending tone.

comment 1mo ago · link · parent

> I recommend not starting with the old classics because they were in part made to be frustrating and difficult and played over a long time. Instead, look at modern text adventures that follow more recent advances in game design.

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

This rhetoric (and it is rhetoric, in that it is designed to persuade) too often lacks nuance. Generating a 3 minute stand alone video is impressive, but it is a different task from generating code that must be consistent with an existing mountain of code. Generating code that implements a straightforward feature within an existing system is different to generating code that must make architectural decisions in novel domain or with a novel architecture. The Navier-Stokes result is impressive but 1) they spent a bajillion tokens / currency units to achieve it and 2) AFAIK all the recent mathematics results have been counterexamples, which are a different beast to proofs.

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

Pointing out an issue with one action doesn't mean approval of other actions. You don't have to invent an conspiracy.

comment 1mo ago · link · parent

Using an LLM for any large project shows how useful it is to have data and functions that aren't siloed. That's why CLI apps have had a resurgence: because the LLM can interface with them. Yet the reaction from so many who are deep into LLM development is to build their own little silo: an app.

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

I use Niri and love it. I think manually managing windows is a waste of time, and when I watch normal users they usually struggle with this and their desktop is a disaster zone. I never want to go back to that. Tiling window managers are slightly better, but they still require you do window management.

comment 2mo ago · link · parent

I assume SOUL.md was empty.

Seriously, I want to know what's in there!

comment 2mo ago · link · parent

A nitpick: Types are properties of expressions, not values. Type errors happen at compile time, before code runs. Values only exist at run time.

comment 2mo ago · link · parent

It's most obvious in very formalized dance, but even in street dance, which emphasises freestyling, you can still find this kind of structure. There are videos of bboys talking how they come up with moves, and they'll talk about applying transforms (reverse, invert, change level, etc.) to existing moves, or combining parts of existing moves together. It's very far from everything in the dance, but it's a useful lens to guide exploration.

An example video: https://www.youtube.com/watch?v=HCpXbHpy9LY

comment 2mo ago · link · parent

Don't tell me how I should enjoy my hobby.

comment 2mo ago · link · parent

When I think about dance, it's about the algebraic structure in it. E.g. translating moves between different levels, transitions between moves, and so on. That, and the movement options that increased physical capabilities unlock. So nothing like what OP thinks about. Not a criticism of what they've written; just a different perspective.

comment 2mo ago · link · parent

The War on Iraq may not fit the definition of terrorism, being government actions, but it killed a shit load of people and was driven by religious convictions with flimsy or non-existent evidence:

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 see. Thanks for the clarification.

comment 2mo ago · link · parent

I don't really understand your setup, but if you throw enough money at ATEN they will be happy to give you a KVM that handles 4K @ 240Hz. Supporting high refresh rates is the main thing that would keep me from using most KVMs for gaming.

comment 2mo ago · link · parent

I have an ATEN KVM [1] that gets a solid "it does the job" from me. Occasionally a connected computer won't pick up the K, V, or M, and I'll have to reconnect a few times.

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

If you haven't tried single leg movements, that's the way to increase load on your legs when you don't have more weight available.

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

Would south east do? Is further pedantry necessary?

comment 2mo ago · link · parent

It's slightly depressing how much better the everyday food is just some 300kms east of London (i.e. in France). I was shocked the first time I pitched up in a random Carrefour and saw that their basic food is an essentially unobtainable level of quality in the UK.

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

Probably sounds like more than looks like. If it's what my cat gets, it's crows posting up on trees and roofs and talking shit at you.

comment 2mo ago · link · parent

That is the implication of what conductr wrote.

comment 2mo ago · link · parent

There is a difference between what is legal and what is moral. If you think that there is no difference you also hold that slavery was moral up until the time it was illegal (and you might then wonder why abolitionists campaigned against a moral act.) Similarly, the visa system may have always had this uncertainty but that does not mean it is moral, or that it is moral to use it in this way.

comment 3mo ago · link · parent

I think Unison has the most interesting take here: https://www.unison-lang.org/docs/the-big-idea/

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.

comment 3mo ago · link · parent

Pointless anti-intellectualism.

There is a big difference between believing something is true, and demonstrating it is true and measuring the effect. One is a vibe. The other can drive policy.

comment 3mo ago · link · parent

Pointless anti-intellectualism.

There is a big difference between believing something is true, and demonstrating it is true and measuring the effect. One is a vibe. The other can drive policy.

29.

When the Hard Part Stops Being Hard(proofsandintuitions.net ↗)

6 points · by noelwelsh · 3mo ago · discuss

comment 3mo ago · link · parent

> Is java able to stackify most new Object calls and elide default initialization of object members these days?

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...

12345
77