HNHacker News
TopNewBestAskShowJobs

andy800

450 karma · joined February 19, 2016

hackernews@andy800.33mail.com

https://www.thehousesometimeswins.com

submissionscomments
andy800··on Microsoft Is Quietly Deleting Mentions of 32 GB RAM Recommendation for Win 11
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.
andy800··on Microsoft Is Quietly Deleting Mentions of 32 GB RAM Recommendation for Win 11
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.
andy800··on Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
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.

andy800··on Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
The Game Boy contains source code of the upcoming HTMX 4.0
andy800··on Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy
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.

andy800··on Classic 7 is a Windows 10 LTSC mod to look 1:1 to Windows 7
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.
andy800··on Who is Satoshi Nakamoto? My quest to unmask Bitcoin's creator
> 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?

andy800··on OpenJDK: Panama
Really cool, thanks.
andy800··on OpenJDK: Panama
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.
andy800··on Doctorow: American tech cartels use apps to break the law
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.
andy800··on Doctorow: American tech cartels use apps to break the law
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.

andy800··on Mesh: I tried Htmx, then ditched it
"top talent" lol
andy800··on Tell HN: I kinda want to go back to Java
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.
andy800··on Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code
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.
andy800··on There Was a Texas Lottery Arbitrage
Because you'd also have to submit the money it would cost to buy every combination, and also, you likely couldn't fit every ticket (tens of millions of combinations) with a realistic-looking ticket generation time (approx 1-5 seconds between each ticket created). i.e. if 50,000,000 tickets all had the same timestamp (or were off by nanoseconds) it would be a dead giveaway.
andy800··on There Was a Texas Lottery Arbitrage
Tldr- about 20 years ago, when off-track betting systems were less sophisticated, an insider past-posted horse racing jackpot winners by waiting until the first 4 races of the Pick-6 were final before creating the ticket. They got busted and served time in federal prison because they had multiple winning tickets for the Breeders Cup Pick-6, basically the Super Bowl of horse racing, where scrutiny was extremely high.

https://en.m.wikipedia.org/wiki/2002_Breeders%27_Cup_betting...

andy800··on There Was a Texas Lottery Arbitrage
Organized crime ran very small, very basic "numbers" games that are the equivalent to the low-profile "Pick 3" or "Quick 4" games most states run. Hundreds, maybe a few thousand dollars of prizes. No organized crime ring paid out multi-million dollar jackpots -- this is entirely the invention of government lotteries and the private administration companies that run them, like G-Tech. When 8-digit jackpots weren't enough to draw desired participation, states joined together (MegaMillions, Powerball) to create 9- and even 10-digit jackpots.
andy800··on Things you can do to clean up a fresh install of Windows 11 24H2 and Edge
Install StartAllBack and choose the Windows 7 theme. Even if you dont care about the other UI improvements like the older Start Menu, it's worth it just for the improvements to the clock and calendar - the analog clock especially.
andy800··on Is the world becoming uninsurable?
you can either isolate the LA customers and charge them the "real" price of the risk, which will be unviable as a business

NOT lining up the premium with the actual risk is what's non-viable.

andy800··on Modern JavaScript for Django developers
As a CEO of HTMX, I'm qualified to say that recursivedoubts is best described as a grug-brained developer.

https://grugbrain.dev/

andy800··on Modern JavaScript for Django developers
Kotlin is an awesome back-end language with strong typing, tons of libraries and multiple HTTP frameworks (http4k, ktor, vert.x, many more) and templating options (jte is terrific, and fully typed). Guessing it's too late to switch now but worth checking out.
andy800··on Modern JavaScript for Django developers
This is often why people get frustrated switching HTMX for the first time. The idea isn't to "translate" the code, but to completely rethink concepts like state and pages and things like components. Not everyone is able to conceptualize their application outside the boundaries of a specific framework.
andy800··on Modern JavaScript for Django developers
Somewhat pedantic - Using HTMX represents a modern approach to building a web front-end. However, I'm confident that recursivedoubts (creator of HTMX) would agree HTMX is not itself written in modern Javascript. No Typescript, no modules, no functional programming, no async, etc.

https://htmx.org/essays/no-build-step/

andy800··on All clocks are 30 seconds late
I'm simply communicating the point of the article. Take it up with the author if you don't like it or don't agree. And he'll tell you that if sub-minute precision is necessary (i.e. someone would be reprimanded for being under 30 seconds late to a meeting) the simple solution is to include a second hand on those clocks, and there won't be any confusion. (Of course, what's the likelihood of a basic office wall clock being accurate to within 30 seconds anyway, but that's a whole other rabbit hole)
andy800··on I got OpenTelemetry to work. But why was it so complicated?
Not sure about this, I think the vendors were happy with their own proprietary code, agents and backends because the lock-in ensures that switching costs (in terms of writing all new code) are very high.
andy800··on Magic/tragic email links: don't make them the only option
This can work in a lot of industries - I am skeptical fast food is one of them. Switching costs are low, alternates are plentiful, and collecting information (reviewing deals/prices across companies) is relatively easy.

If McDonald's enshittifies its deals while continuing to raise prices, it's way too easy for loyal customers to go elsewhere. I'm saying this as a huge fan and extremely loyal customer of McDonald's for decades... they are at serious risk of losing people like me. As I stated, I've gone from 15-20 visits to 1 since last June/July, whenever they made the big change.

andy800··on Magic/tragic email links: don't make them the only option
Perhaps. Let's assume that the value meals is a massive hit and they are collecting far more revenue from customers who like it, than they are losing from people like me.

That's the whole point of data analytics and personalized marketing - even if the value meal works for most people they can still go back to sending me the offers and promotions I responded to previously, in an attempt to reverse my recent decline in spend/visitation. The app makes it possible to send individualized offers. There shouldn't be an entire "B" group where they just say, oh well.

andy800··on All clocks are 30 seconds late
No, this is the point of the article. The person without the seconds could not tell if you were late or not when his watch says 1:00. A display of 1:00 means the actual time is between 12:59:30 and 1:00:30, so there's a 50% chance the person arrived early. Only the person with the second hand could tell for sure.
andy800··on All clocks are 30 seconds late
Isn't this phrase commonly known (in USA) as Lombardi Time?
andy800··on All clocks are 30 seconds late
Your second example contradicts the first. "Sending a message" doesn't happen in an instant. There's always some latency, which can be significant in email systems (the most common, universally accepted way to send a message) and SMS.

The goal in messaging is almost always not about the send time (who cares?), but the receive time, when it is available to be read. If the goal is to have the message received at 1:00, then, as you note in the second example, sending it precisely at 1:00:00.000 guarantees it will be received late.

In any case, if you're that focused on intra-minute precision, you should probably be relying on clocks that incorporate seconds anyway.

Page 1 of 7Next →