Recent submissions

Comment · 2 months ago
I would show you task manager showing 100% of user addressable space being used. It seems to reserve at least half of its memory for Windows itself or background processes. What kind of crashes? Applications just shutting down without warning, or Chrome slowing down and struggling to display anything, or itself closing. If there is a setting I could change, I've likely tried it, but I'm open to suggestions.
Comment · 2 months ago
My Windows 11 laptop with 32 GB RAM only allows for about 10-12gb user addressable before starting to crash. I do keep a lot of Chrome tabs open so that can easily get to 6-8gb, plus IntelliJ can use another 4-5. Add on VScode, sometimes Firefox or Opera, an email client, some other utilities (or god forbid try opening WSL), and I'm constantly getting crashes. And as I stated, only about 12gb of applications on a 32gb machine. It makes no sense.
Comment · 3 months ago
You're correct that it's a matter of the developer's view, or philosophy. The issue I have with "just give you the data" is that requires the server to encode the raw data somehow, most often JSON, send it down the wire just to have the client un-encode it, store it, and populate HTML elements with it. Meanwhile server-based templating is exceptionally lightweight and fast (especially when compiled) and so converting the raw data directly to HTML on the server via templates tends to be faster and lighter and cleaner, as "state" (not counting ephemeral or stylistic attributes) is maintained in a single place.

You make a good point that different clients may represent the data differently, although again that's easy to handle on the server by using a header or other identifier of the client, and using the appropriate template.

There isnt a definitive right or wrong, both approaches can work but the reason HTMX has found a following is that lots of developers are tired of the complications and difficulties that SPA frameworks seem to introduce, and reverting back to a server-based philosophy is allowing them to be more productive.

Comment · 3 months ago
The Game Boy contains source code of the upcoming HTMX 4.0
Comment · 3 months ago
Amazing... an HTMX thread without any haters interjecting or critics telling everyone why HTMX wont work.

Even React-aholics have to tip their hats to a Game Boy release.

Comment · 5 months ago
2 applications: StartAllBack and Winaero Tweaker are both lifesavers, as far as I'm concerned. Both allow you to customize the look and feel of different elements so you can run the latest Windows 11 but still preserve elements of the traditional UI's - classic Start Menu, analog clock (sounds quaint but it has a second hand and the calendar is much more responsive), different versions of Windows Explorer, etc.
Comment · 6 months ago
> a heated debate ... exposed his ignorance

Didnt follow everything here, but wouldn't that make for a perfect cover story? If you're Satoshi, and people are getting close to verifying (or at least nominating you as "most likely candidate"), what better way to throw people off than to engage in a public conversation in which you (creatively) get all kinds of technical details wrong and make yourself look too ignorant or dumb to ever have been Satoshi?

Comment · 6 months ago
Really cool, thanks.
Comment · 6 months ago
Part of Panama is the Vector API, currently in "incubation". Kotlin Notebooks are a great dataframe alternative to pandas or polars in Python (and dplyr in R), and work fine for relatively small data sets, but are indeed slower when dealing with calculations on large data. Vectors should reduce that gap significantly.
Comment · 1 year ago
Sorry, not giving McDonald's a pass. They have a large team of data scientists and technologists working on their app and customer data. Even with a massive base, running a query to find individuals whose spend has dropped 50% y-o-y is not too difficult, and should be an urgent priority at a company that reported "negative comparable guest counts" (i.e. fewer customers y-o-y) for fiscal 2024.
Comment · 1 year ago
They must be doing a very poor job of optimizing their marketing. I had a long history or ordering the same items using the same "deal", dozens of times a year. They removed that deal and my spend at McDonald's dropped 90%. I didn't place a single order for 6 months - unprecedented. Have the noticed? Have they adjusted their marketing towards me? Did they bring back that deal or offer alternative promotions on the same items? No, no, and no. The purpose of apps and big data and especially AI is to be able to achieve the goal of 1-to-1 marketing based on individual preferences and patterns. Yet it appears a massive corporation like McDonald's is unable to achieve any of these goals, it's just continuing "mass marketing" - same deals to huge portions of their customer base, without differentiation - the same as the 1990's.

I admit to being especially sensitive since I worked in personalized loyalty marketing for nearly 20 years, so failures and missed opportunities really annoy me as both a customer and practician of the art.

Comment · 1 year ago
"top talent" lol
Comment · 1 year ago
Honest question, going back to Java, dont you miss scope functions (let, apply, also, etc)? Extension functions? Using sealed classes and "when"? I am happy to see Java (and the JVM) improve but it still seems to be missing some of Kotlin's best language features.
Comment · 1 year ago
With the proliferation of JS, TS, Python, Go, etc, Kotlin is probably not even a thought for many young developers. Any efforts by JetBrains to bring Kotlin to where the people are at (as opposed to expecting people to come to IntelliJ) is welcomed. Call me a stan, whatever, but Kotlin is the best, most productive language I've ever used, by far. Yes, it takes some effort to understand how to effectively utilize some of its features, but once you do, productivity (and enjoyment) elevates tremendously.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton