HNHacker News
TopNewBestAskShowJobs

frou_dh

8,965 karma · joined February 7, 2010

You, yes YOU, are now obligated to play this in the background for the next 52mins: https://youtu.be/q4xKvHANqjk?t=37
submissionscomments
frou_dh··on Art of Roads in Games
In 3D games, something that's key for roads to look/feel realistic is to have small amounts of banking here and there all over the place - as opposed to just having a crude categorisation where there are flat roads on one hand and ramps on the other.

If you don't do that then large parts of the game world end up seeming like ice rinks with roads painted on them.

frou_dh··on Bash scripts are brittle – simple error handling in bash
Is that so? Sounds like this commandment has a lot of authority, I'd better start following it.
frou_dh··on The largest zip tie is nearly 4 feet long and $75
Used in space but NOT cleared for attaching the Space Shuttle to the fuel tank.
frou_dh··on GitHub discusses giving maintainers control to disable PRs
The whole GitHub paradigm has muddied the meaning of the term "forking". It used to imply a serious intention to diverge. Now to a lot of people it just means doing any development on a copy of a repo. The "Fork" button on GitHub is really "Clone (to my account)".
frou_dh··on Ask HN: DDD was a great debugger – what would a modern equivalent look like?
That's the holy Unix justification for self-flagellation via deficient tooling and you're sticking to it.
frou_dh··on The Emacs Widget Library: A Critique and Case Study
When drawing outlines, tables, etc, I hope the new approach (vui) uses real Unicode box-drawing characters and not - | + etc. It's high time TUI people raise their standards a bit and consider unbroken line drawing (no gaps between repeated characters) a requirement rather than a luxury!
frou_dh··on macOS Tahoe 26.2 ships with an outdated version of Python 3.9.6
The strange thing is that they never did manage to get it done for Ruby.
frou_dh··on macOS Tahoe 26.2 ships with an outdated version of Python 3.9.6
AFAIK macOS does not ship any version of Python in the normal installation, and it's Xcode / Xcode-CommandLineTools that bundles a Python.
frou_dh··on We might have been slower to abandon StackOverflow if it wasn't a toxic hellhole
I feel this topic is approaching circlejerk status. Basically any mention of StackOverflow on HN/Reddit is just teeing up everyone to go on about how the SO moderators are the worst people ever.
frou_dh··on “Stop Designing Languages. Write Libraries Instead” (2016)
OCaml is a scripting language in this sense. No need to compile an executable ahead of time, just have a `#!/usr/bin/env ocaml` shebang (or more realistically: `#!/usr/bin/env -S ocaml -I +unix unix.cma`) at the top of a source file.

Though, I don't think it has the capability for single-file scripts to declare 3rd-party dependencies to be automatically installed.

frou_dh··on Extensibility: The "100% Lisp" Fallacy
What I got from this is that the author doesn't like the term Extensible being used for situations that don't follow good software engineering practices. Maybe the term Hackable is less offensive and implies dirtiness being okay.
frou_dh··on Last Year on My Mac: Look Back in Disbelief
What's obvious to me is that the PRIMARY motivation for Liquid-Glass-ifying MacOS was not to improve MacOS, but simply to make it look consistent with the new version of iOS/iPadOS.

So for Apple to start with a level of disrespect for the existing product where the question of whether each change is actually an improvement is effectively off-topic, it's no wonder they made a dog's dinner of Tahoe.

frou_dh··on Hash tables in Go and advantage of self-hosted compilers
e.g. https://pkg.go.dev/github.com/zyedidia/generic/mapset
frou_dh··on Announcing the Beta release of ty
Hopefully it gets added to this comparison:

https://htmlpreview.github.io/?https://github.com/python/typ...

If that table is anything to go by, Pyright is not to be underestimated.

I have briefly tried ty (LSP) in Emacs and it seems to work well so far. The only questionable thing I've encountered is that when the signature of a method is shown, the type annotations of some parameters seem to be presented in a particularly verbose form compared to what I'm used to - maybe they're technically correct but it can be bit much to look at.

Anyway, odds are pretty good that ty is what I will end up using long-term, so thanks and congrats on releasing the first beta!

frou_dh··on AI has a deep understanding of how this code works
Sounds like you haven't learned your lesson and are still in mania.
frou_dh··on `satisfies` is my favorite TypeScript keyword (2024)
The contrived example used in the first half of the post is offputting. Why would you have a function of 1 argument that only accepts a string with a specific value? There's no point taking an argument then - it might as well be a constant inside the function.
frou_dh··on Ruby 4.0.0 Preview2
I'm happy if that feature has been descoped because when I last read up on it, it seemed like it was being ramrodded in by an inner circle who were hardly interested in constructive criticism even from other Ruby core maintainers.
frou_dh··on The government has no plan for America’s 300 billion pennies
You can make really cool flooring with lots of pennies in grids.
frou_dh··on Meta Replaced the Native WhatsApp for Windows 11 with a Shitty Web App
If you consider the pipeline for new employees in big tech, I doubt many of them have experience of (or much interest in) true native Windows app development. They have probably been marinated in web-style development and so that's what they are good at and indeed prefer to do.

In a way, the blame lies with Microsoft (and not e.g. Meta) for failing to keep new generations interested in its native frameworks.

frou_dh··on Valve is about to win the console generation
Good example of being confidently wrong. You are thinking of the little Basic interpreter that was on the pack-in consumer demo disc. Not the Linux Kit which was a very real initiative and had universities involved. We were using them in a big dedicated lab.
frou_dh··on Memory Safety for Skeptics
Isn't it strange that they created a new language where one of its main selling points is concurrency, and punted on that design issue.

(Yes I'm aware that Go literature 'encourages' the use of Channels and certain patterns)

frou_dh··on The 'Toy Story' You Remember
There's a (much less severe) instance of that peeve with computer video player apps that have slightly rounded corners on the windows.
frou_dh··on Ruby and Its Neighbors: Smalltalk
Since Smalltalk is effectively an OS unto itself, when we hear about the days of commercial applications being written in Smalltalk, how did deployment to end-users work?

Were the users running, say, Windows and then the Smalltalk "OS" would be running on top of that, but in a sort of "kiosk mode" where its full OS-ness was suppressed and it was dedicated to showing a single interface?

frou_dh··on App Store web has exposed all its source code
Unsurprisingly there are many frameworks/initiatives that end up falling by the wayside over the years, e.g. MacRuby was being lined up to supersede Objective-C for app development at one point.
frou_dh··on Building Production Apps with Deno Fresh 2
I'm very interested to read your article, but there seems to be a never-ending redirect loop of brettchalupa.com ↔ www.brettchalupa.com
frou_dh··on GHC now runs in the browser
Does it use WasmGC, or bundle its own garbage collector?
frou_dh··on John Carmack on Updating Variables
IIRC in Erlang, not only you cannot mutate a variable, but you cannot even shadow it either.
frou_dh··on Clojure Land – Discover open-source Clojure libraries and frameworks
There's an existing site for this: https://www.clojure-toolbox.com/
frou_dh··on IDEs we had 30 years ago and lost (2023)
> But I do find myself often yearning for the "simplicity" of desktop app development.

Yep, isn't it great to use an API that is actually all about UI widgets, rather than having to indirect through a document markup language.

frou_dh··on Bare Metal (The Emacs Essay)
To me the charming thing about Emacs is how introspective a program it is. This goes beyond all the documentation being built-in, and being able to redefine things on the fly. For instance, it's easy to define a keybinding that does "Take me to the source code of the command that's bound to the next keybinding I type". When you use that and land at a destination, it will probably be Elisp code, but in some cases will even be C code - it works either way.
← PreviousPage 3 of 34Next →