HNHacker News
TopNewBestAskShowJobs

mhd

8,002 karma · joined August 8, 2008

Mastodon: @mhd@tilde.zone
submissionscomments
mhd··on Unix core utilities implemented in Haskell
This reminds me of a similar attempt with Perl[0], done a few… erm, twenty years ago. Might be interesting to do a three-way comparison for a few well-covered cases.

[0]: https://metacpan.org/release/CWEST/ppt-0.14

mhd··on We're forking Flutter
My onions, let me show you them: https://en.wikipedia.org/wiki/Flock_(web_browser)
mhd··on Eliza in SNOBOL4
Both SNOBOL and its spiritual successor Icon did some interesting things with control flow.
mhd··on Why does everyone run ancient Postgres versions?
> 3. While upgrades aren't hard, they're not easy either.

And in my experience, apart from ease of use there's also a major trust issue here. If you're upgrading your app server framework/language, it's easy enough to do a rollback. With databases, people are worried that they might not notice errors right away and then you have to merge the data accumulated since the upgrade with the last backup in case of a rollback.

Not saying that this is entirely rational...

Also, new features on the SQL level are hard to sell if all you're doing is lowest common denominator ORM ("New window functions and faster lateral joins? But we're doing all that in our code!").

mhd··on The True Weight of Medieval Weapons – Fact and Fiction
Honestly, I doubt that a Strength 20 D&D barbarian cares about the wrong weight of his Greataxe, given that they can probably deadlift a horse. Their player probably does care that the chosen implement of murderous doom looks cooler than a plain Daneaxe…

One problem that D&D and videogames have, is that weight in lbs is a pretty poor simulation of the burden involved. The sheer bulk or lack of proper carrying opportunities seems factored in a bit into several RPGs, even those where you can carry 111 spears in your backpack.

The (vastly underrated) tabletop RPG RuneQuest once ditched "lbs" and went with a more abstracted "encumbrance" (ENC) statistic. And of course lots of videogames plus several tabletop games go with a slot- or grid-based inventory as a main or secondary source of being overburdened.

Weapon weights and similar issues (too short rapiers, non-existant back scabbards) seem to be the "not every weapon is a AR-15/mind your trigger discipline" of the HEMA crowd.

mhd··on Sequel: The Database Toolkit for Ruby
I used this a lot when I wasn't doing any other Ruby at the time, to do some more involved SQL automatization and ETL. I tried to stick with SQL/psql as much as possible, but if that fails or would've lead too much into temporary tables and pl/sql, I went with Sequel. I could fiddle around it in an interactive REPL if I wanted to, and the resulting code wasn't too OO so that the underlying Postgres representation was barely visible.

Some day I might try my hand at a "full Jeremy Evans" stack backend, i.e. both Sequel and his web framework Roda, authentication with Rodauth etc.

mhd··on Golang Interpreter Written in PHP
https://github.com/claesjac/pjvm
mhd··on Moom 4: Next-generation window manager
"Moom 4 is available now, and requires macOS 10.13 or newer."

Always glad to see software that still aims for some backwards compatibility. Sure, it might require a bit more testing and/or handling some customer complaints, but not everyone is one the latest version or able to do that.

(I do wonder whether a lot of that isn't just driven by either just accepting XCode defaults or some Swift stuff that has a very low range backwards)

mhd··on State of Text Rendering 2024
I really have to install an old system with the Infinality patches again, I remember them to be quite excellent, but that was a few years, monitors and contact lense upgrades ago…

Maybe I'll put RiscOS on a Raspberry Pi at the same time, which (IIRC) had one of the first antialiased font rendering engines ever.

(I do have some old Macs running currently, and weirdly enough still prefer some of the old "blurry" font renderings to a lot of modern ones, at least on regular displays)

mhd··on Zed Editor automatically downloads binaries and NPM packages without consent
> Not clicking yes for every language server.

How many language servers are we talking about here for the average dev? Three?

mhd··on Calculus with Julia
I assume they turned it off intentionally:

"These notes may be compiled into a pdf file through Quarto. As the result is rather large, we do not provide that file for download. For the interested reader, downloading the repository, instantiating the environment, and running quarto to render to pdf in the quarto subdirectory should produce that file (after some time)."

mhd··on wxHexEditor — a Free Hex Editor / Disk Editor for Huge Files or Devices
Oooh, HTML 4.01, table layout homepage…
mhd··on Ask HN: Best stack for building a desktop app?
FreePascal/Lazarus or Tcl/Tk.

If more time is available, then a core of <favorite language> plus a view part in the native platform language and API.

mhd··on Practical Vim command workflow (2023)
Oh, embarassing, I used ci" quite often, but always maneuvered to the starting quote beforehand. Didn't know that it just took the next one the line.

Of course, now I wonder how to quickly express "change within 2nd text delimited by ..."

mhd··on I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
For Perl4? Not that likely, IIRC CPAN was started in '95, after Perl 5 came out which introduced most of the packaging semantics. I think Perl 4 basically had an "include" equivalent.

Don't remember anyone doing OO back then with it, either. Would be interested to know how that worked...

mhd··on Modal is a matrioshka language based on pattern-matching to rewrite trees
Looks a bit like "Tcl from first principles".
mhd··on Vala Programming Language
I thought this was about making things enticing to the scrum overlord, but sure…

Not everything has to or can be be cross-platform, not everything has to be web-visible. And I'd argue that serving the same view to everyone is quite often a bad idea. (Heck, in the web-case, it's not even just the view)

mhd··on Vala Programming Language
Great thing is that as opposed to the web, the platform/library designers already took care of a lot of that, so the biggest overlap between GUI libraries and CSS is usually the layout (these days, where CSS isn't utterly abominable here).

A lot of the color fiddling etc. that web apps due is due to

1.) Graphic designers having no other way to go, now that print is dead

2.) Corporate Identity (which is of lower priority than platform identity)

3.) Selling stuff (not needed as much with desktop apps)

mhd··on Barcelona’s Sagrada Familia will be completed in 2026
I liked other cathedrals better, too, but I got a lot out of it by contrasting the medieval versions with this. I mean, you got a lot of the same motivations, just with different art styles and materials. Reflecting on that, it made me change the way I view older churches.

Granted, the LOTR of Lothlorien helped, too (I only saw the Sagrada Familia in 2022). To past generations, "Gothic" means something quite different, as we see it in our current context, with darkened fronts and comparisons to buildings that allow even more glass. But back then it was all light and organic. The SF seems to go in the same direction, but unhindered by medieval masonry and mathematics.

Then again, I also like brutalist churches...

mhd··on How web bloat impacts users with slow devices
IIRC, the D forum also offers direct NNTP access. Would be interesting to compare web access with e.g. tin on a variety of devices…
mhd··on Show HN: htmz – a low power tool for HTML
I don't think every solution in the webdev space is supposed to be a one size fits all panacea. Especially this, which seems more like an incentive to think about structuring webapps.

Sometimes it's interesting to see how far you can go without going the "let's download the web in a JS blob" way.

One of these days, I'm going to see whether I can still build something reasonably modern with Seaside, the continuation-based framework from the olden days, where basically the whole UI state is stored in the server-side session and everything is a request. Worked quite alright, way back when not everything had a local CDN and the internet tubes were a bit narrower.

mhd··on A beginner's guide to making beautiful slides for talks
I thought it was just a couple of years ago when we started moving away from the age-old "three bullet points" formula to the "one slide per HUGE Helvetica word" template so beloved by TED talks.

So I obviously can't say a lot about the style preferences, last presentations I held just used the company style.

But hooh, that font section couldn't get any more generic, even mentioning Calibri. No hints at what font characteristics you're looking for, or good examples of that (I'd say that you're better off with something that has a lot of weights, and if it isn't already condensed/compressed, at least one option for that)

mhd··on Javalin – a simple web framework for Java and Kotlin
I see three reasons here in this thread:

1. The post is already about an alternative to the mainstream (Spring), so adding another alternative seems perfectly valid.

2. I know neither Spring nor this alternative, but want to add the one framework I know of. This gets increasingly popular after previous 1./2. responses.

3. My/my company's badly tested pet library, let me show you it.

mhd··on Go 1.22
Algol 68 had a loop where pretty much any part was optional, so both "TO 10" and "FOR i TO 10" (if you needed a loop variable) were possible.

(Back when Go came out, there were some Algol 68 comparisons, IIRC)

mhd··on Zellij: A terminal workspace with batteries included
Last time I tried it, it didn't add features I really felt would change my workflow, and the memory consumption was rather high.

In general I notice a lot more resources used for terminal multiplexing, starting with GPU-focused terminal emulators (or even ones using Electron).

Maybe I missed something, I probably could run screen + xterm and barely notice any difference. Almost getting a bit of FOMO here, but have yet to see e.g. a screencast that would make me envious.

mhd··on Ede – An Fltk based desktop environment (2014)
To be fair, if you're young enough, nothing is familiar anymore, because that's no longer a goal for UIs.
mhd··on Ede – An Fltk based desktop environment (2014)
And it was based or at least inspired on the previous XForms[1] toolkit – the one with way too many bevel shapes for buttons etc., not the XML thing. Probably at least partially done because XForms wasn't open source, and to provide a more "modern" C++ API.

Meanwhile, XForms has been open-sourced, but FLTK being in a different language and having evolved a bit since its creation didn't suffer from the problems Lesstif had and is standing on its own rather well. And despite being C++, it pops up rather often when you're looking for GUIs with decent language bindings (e.g. for Lua or Rust). Probably because it's less a moving target than Qt or, heck, Gtk.

1: http://xforms-toolkit.org

mhd··on XFaaS: Hyperscale and Low Cost Serverless Functions at Meta
As Gibson said, "The future is already here, it's just not very evenly distributed". And in IT, sometimes the future takes a long nap. I wouldn't be too surprised if e.g. descendants of Linda spaces get re-discovered because external circumstances favor that model.

Although with FaaS, I don't see anything particularly new from a development perspective. It's, well, functions. Most of the time they aren't communicating in any kind of novel way, and often they're doing the decade-old stuff of reading files and slurping databases. The abstraction being more on the operational side of things this time.

Not that I'm complaining or doing the "it's just CGI" dance. Compared to other "cloudy" tech, there's actually potential for simplifying things and not just simulated VAX computers with more effort…

mhd··on Proton, a fast and lightweight alternative to Apache Flink
Is Flink used that much? Last time I've seen it in the "news" it was related to Adobe's CMS, which, well, doesn't exactly have a stellar reputation, so it suffered a bit by association.

And boy, Kafka more and more seems like an early warning system for architecture astronautics. (Not necessarily bad by itself, but often part of hectoliters of manure poured in size 6 wellies)

mhd··on JetBrains CEO Transition
Wait, is Idera involved somehow?
← PreviousPage 3 of 34Next →