skysight-inc/HackerNews huggingface dataset:
I started with Perl in ‘96 and have lived through what feels like everything — PHP, jQuery, Drupal, Backbone, Node, Angular, ClojureScript, React, GraphQL, and NextJS. Htmx feels like a divergence from the trend, and is worth thinking about.

Htmx asks us a good question: “does the complexity of your work reside essentially on the server or essentially on the client?”

The complexity for the vast majority of websites resides essentially on the server. Most of us are not building Figmas and Google Sheets. Most websites, even if heavily interactive, are just CRUD apps with pleasant interfaces. Frameworks like NextJS attempt to rectify the problem of overly complex clients by moving React to the server, but this often magnifies complexity rather than minimizing it.

Wouldn’t it make sense to remove React from the stack? For complex clients, skip the DOM and JS with canvas and compiled web assembly. For complex servers, use some form of server-driven granular updates to the DOM.

The problem I see with this approach is that although most complexity reside on the server for most websites, there are almost always a few high-complexity task that needs to reside on the client — image editing, real-time sorting/filtering/calculation, drag-touch gestures, etc.

A hybrid approach is necessary. It isn’t good enough to allow compatibility. Although htmx and React can be used on the same web page, they need to be kept in isolation. But I’m not looking for isolation; I’m looking for fundamental integration.

My ideal framework would allow for reactive granular updates to the DOM while also being tightly integrated with compiled web assembly powering complex client operations. I’d write all my code in a powerful language rather than JavaScript. My debugger would operate on both server and client because the difference between the two has disappeared. It would be true full-stack development — a single-stack application (SSA)

Clojure + ClojureScript comes close to being an SSA, but only superficially.

If ever there was a killer framework for Common Lisp, I think an SSA fits the bill.
That is not strictly correct, especially in comparison with fossil fuel energy where production is highly concentrated. Automating things in a refinery is a lot easier than building robot steeplejacks to maintain 10,000 windmills.

Secondly, renewables capex, which is rapidly growing, creates lots of jobs, and will do so until production levels satisfy demand.
> The whole 'american healthcare bad/unaffordable' argument is something that I hear quite a bit on the internet, but pretty much never do in real life.

What bubble are you in? For some of us, we make enough money that paying 400/month for insurance while our employer does the same isn't a big deal. For us software engineers, it's no big deal. For the 50% of people making under 60k a year, that's a large chunk of their income.

I hear it constantly from friends nationwide (I have a very large extended circle for a few reasons), media, and my wife, who is a healthcare worker and deals with insurance constantly (as does anyone in healthcare in the US) or my mother (also in healthcare). And of course, we have lots of friends who are in healthcare. And I hear it from my parents, who, as aging people, have more healthcare needs. Your insurance company gets to delay or prevent access to prescriptions, surgeries, or physical therapy as long as they desire.

I'm in Philadelphia, which is one of the biggest cities in the US and where healthcare makes up a much larger than usual portion of our local economy [0]. You can find numerous other sources to support this, Philly is a huge biomedical / healthcare hub. It's almost like being in LA for film or SF for tech.

Where insurance really starts to suck is if you and your healthcare providers think you need care, but the insurance company says no. My wife experiences rejections from her patient's insurance companies daily. Happens with Medicare too.

0. https://www.besthealthdegrees.com/careers/the-top-10-cities-...
I think allergies should also be addressed at the root of the problem rather than trying to side-step it for everyone that has allergies. Rather I would like to see functional medicine focus on finding all the root causes of a persons ailment and cure the root causes not just allergies. There is already a lot of progress being made in this area in big part by understanding the gut, gut health and gut bacteria both beneficial and detrimental. While I am not a fan of fecal transplants as that seems very unscientific to me, I have personally had great success by by-passing the stomach for advanced cultures of probiotics with with MCT oil, several trillion CFU per dose.
> Why not publish the list? Users would know what not to submit in that case. Except maybe you’re worried about the list being heavily curated a certain way…

The "certain way" is the experience of moderating HN. Publishing the list would help spammers know how to better circumvent it.
From the article:

> An investigation found that Tesla’s Fremont, California, plant had three times as many Occupational Safety and Health Administration safety violations as 10 other US car factories combined. Injuries were higher than the national average, and training was shorter. And Tesla was found to have repeatedly misclassified and underreported injuries at its facilities in California and Nevada.

It's not like the article is just relying on employee anecdotes. They reported on real world safety issues, including comparisons to similar companies.
"Pet Sounds" by the Beach Boys had a very similar effect for me. Some of those songs hit different after different life experiences.

I feel like a lot of people have album(s) like this, I'd love it if you shared.
I do understand the privacy arguments, but there are thousands of people are being killed by drivers every day (many of whom aren't even in cars, they're walking or biking). Enforcing traffic laws is one of the only tools for fixing this that can be implemented quickly (as opposed to better urban design and public transit, which are better solutions in many other ways).

I feel like their should be room to advocate for responsible use of systems like this and good oversight of police departments.
Have tailwind scan your backend files as well or have a list of classes needed included in your tailwind config which should not be purged.
Opioid addicts frequently make up being in pain in order to obtain prescriptions. That's far less common in physical therapy patients but it does occasionally happen.

https://my.clevelandclinic.org/health/diseases/9833-munchaus...
Well it certainly means never encountering odd and complex style cascades, but Tailwind avoids that problem altogether without requiring IDs for everything.
I don't think he is in the UK (article implies he's in Ukraine) because he is wanted by law enforcement there.
What do you think it means? AFAIK, GP's description of QQ is accurate.
The only site I know that died from instant user migration is Digg. Lots of sites died a slow death from users moving on to better platforms, but rarely does anything die from boycott that I know of.
Here is a source of a similar statistic. [0]

Ten seconds on your favorite search engine will turn up many more saying pretty much the same thing. The "ultra-rich" tend to contribute to the issue far more than everyone else combined. Them and their corporations really are the "lion's share" of the problem. Obviously they're not the entire problem, but taking care of that (somehow; "eat the rich" perhaps?) would take a massive "bite" out of it.

[0]: https://www.statista.com/chart/26904/estimated-global-co2-em...
This is a great way looking at it. The cost starts going up rapidly from daily and approaches infinity as you get to ultra-low latency realtime analytics.

There is a minimum cost though (systems, engineers, etc), so for medium data there's often very little marginal cost up until you start getting to hourly refreshes. This is not true for larger datasets though.
I wouldn't use a closed source C++ compilers either. But with C++ compilers, if one is abandoned, you can switch to another. With Circle, there is nothing else.

The best outcome the Circle author can hope for (and this is likely the purpose of the project) is that some company either buys it, or hires him to work on Circle full time. Circle benefits only one guy, it doesn't benefit the C++ community.
Small farms (non industrial, non monoculture export crops etc.) are much more productive in terms of nutrition per sqkm. Small farms also feed more of the world even on an absolute scale. It's a pernicious myth that we need industrial agro to "feed the world".
This is one of those quotes that sounds deep but is obviously untrue if you think about it for a bit. I suspect he would prefer “moral busybodies” to, I dunno, 1930’s Germany.
If the solar panels and windmills and their technicians are cheaper to build and operate (safely) than the nuclear reactors, externalities included, then it seems like the market is making the right decision.
Good for them, less social media more meaningful work.
Since quitting Twitter the biggest thing I've noticed is that I don't click on Twitter links any more because they've messed up how non-logged in users get treated. If I casually look at someone's feed it shows me some list of tweets from years ago (I guess these are "top" in some sense); if I click on an individual tweet it either fails or shows one tweet and doesn't load the thread.

So, I've come to treat twitter.com like facebook.com and various news publications with a paywall: no point clicking and just move on with life.
https://www.intel.com/content/www/us/en/developer/articles/t...
Whether something is interesting and whether something is a problem are two different things.

The first step to addressing a problem is calling it out, which I will do because I do not appreciate websites breaking my scroll bar, among other transgressions, no matter how mundane it becomes.
I would donate more upvotes to this multi-part tirade if I could.

I haven't used Tailwind, or any other CSS framework, because I have never understood why I would want to, having attended a talk about a similar system back in the day where styles were turned into weirdly specific CSS classes, as if they were trying to reinvent font tags. The way you've described it is pretty much what I would expect from such a thing.

And yet it's oddly familiar, because all of the 'MVC' frameworks that I've been forced to use and hated[1] seemed to come from the same design philosophy: Throw a bunch of shit code together, then build a cult around it so that people use it whether it makes any sense or not. Laravel's a great example of this because if you search the web for it you'll mostly get results saying that it's "elegant" and "for web artisans", but none of them can explain why it's better than...not using it. They even have some class in there called "Illuminate", which is ironically not very illuminating w.r.t. what the heck it is or does. As if writing code that actually makes any damn sense is everyone's biggest fear and the solution is to acquire a magic wand from one of the Framework Gods that does away with pesky old logic and predictability.

"What do you want to do, write everything from scratch?", your coworkers will say, as if we were making computer programs by banging rocks together before Laravel/Rails/Spring/Django/etc came along, and give you a blank stare if you try to explain that writing regular old well-factored OO/functional code is a thing you can do and that slathering culty frameworky paste all over everything doesn't make life any better or your programs any faster, even if said goo has "good documentation", by which they mean lots of activity on Stack Overflow because nobody can figure out how they're supposed to do anything without copy-pasting from some example that mysteriously worked for somebody one time.

[1] I don't remember much about the ones I didn't hate, because they did very little and stayed out of the way.
Yep.

For example Winston Churchill lamented deeply the loss of India and considered Gandhi an annoyance.

Another reason was that the American system of rule based relations instituted after second world war meant former colonial masters could still economically utilize the raw inputs from their colonies without risk of losing the colony to another colonial power and hence being cut off from those markets and resources.

Before second world war any territories unable to defend themselves from european powers were more or leas up for grabs - hence you were afraid that giving your colony independence, another colonial power would have simply annexed them, thus you would lose the resources and the market.

The US rule based order was overall good for the world, regardless of so many documented events of behaving as dicks within it.
Is it Twitter or is it X? I thought the platform changed its name?
The headline is carefully worded to be technically correct yet misleading.

Most people reading the headline will believe that most scientists have left or are leaving and that twitter is about to collapse. And the data doesn't show that.
FTA: “If you appear with your scientific contents between videos of cats,” she says, “it’s not a particularly good medium for promoting yourself professionally, anyway”.

That's how I've always viewed Twitter.

Is Mastodon a replacement? I don't know. I see HN as the social media for programmers. It may not be perfect, but it's been better than the alternatives so far. I figured the other professions would have something similar to HN?
Ditto. Throwing away all of your brand capital by changing the name to a letter, and blocking anyone from viewing content unless they create an account, were both pretty boneheaded moves.

I have to imagine that traffic plummeted after the latter.
We see big ones with a few days to hours of notice, sometimes we see them when they hit.

Most likely: this will never come up.

Less likely: if it does we're fucked.

Even less likely: if it does and surprisingly we see it in time we will act for the good of all and not bicker about who pays and we'll make things better rather than worse. If not, see above.
I would highly recommend checking out Zenius-i-vanisher's arcade search[0], you might have a local operator with something worth playing. Even if it's just StepManiaX. Actually, SMX is pretty cool on its own, I shouldn't talk about it like it's the red-headed stepchild of dance games.

Speaking of UI/UX... that's actually the reason why I prefer Pump It Up to DDR right now. DDR A has this extremely irritating menu noise. If I want to switch from level 7 to 8, I have to BZZ-BZZ-BZZ-BZZ-BZZT up, close the level 7 folder, open the level 8 folder, BZZ-BZZ-BZZ-BZZ-BZZT down through the song list, etc. Pump's UI noises are far more tolerable, you can pick songs from the dance pad, and you can quickly get in and out of different level folders. StepManiaX actually takes this one step further and just makes the monitor a touch screen so you can swipe through songs.

DDR actually rebalanced their level curve a while back, so MAX 300 is now a level 15 instead of a 10-footer, and the scale goes up to 20. So there's harder stuff now, but top-level players still want stuff harder than that, and complain that DDR isn't giving it to them. I don't know about SMX but Pump has some pretty insane high-level charts[1] that I will probably never be good enough to clear.

[0] https://zenius-i-vanisher.com/v5.2/arcades.php

[1] https://www.youtube.com/watch?v=yQ8DPAD2zCs
hyperscript is a separate project. It is not a feature of htmx. htmx handles the hypermedia interactions with the back-end server. For pure in-page interactivity (hiding/showing side-navs, etc), you get to decide how you want to do it: VanillaJS, AlpineJS (my favourite), hyperscript, Web Components (lit.dev, etc), StimulusJS (what you used), a big framework component (Svelte, Vue, React, ...), etc, etc. htmx does not bundle anything into itself to make that decision for you. You may have thought hyperscript is a feature of htmx because sometimes you'll see the two used in examples (both have the same creator).
Police are using a bunch of technologies irresponsibly. Why not advocate for better oversight of police overall instead of trying to block them from using specific technologies?
I think this is one of the tropes that assume that senior management is basically made up of people who have no idea how to do "work" and who have the inclination to make the most ineffective decisions.

In reality, there is a distribution of talent among senior managers, and although they often do not seem to be the geniuses they are supposed to be, they are often better than the caricature that is made of them (except for my boss, who is pretty bad).

It follows that, in my experience and that of many others, the 10x engineer is not assigned a 10x higher job, but is more likely (we must always remember statistical distributions) to be assigned a job that has a greater impact for the organization or company.
Big fan of automated enforcement with human review: red light running, speeding, distracted driving, tailgating, etc. More please!
I don't know about all scientific fields, but my own field (information security and cryptography) used to have a huge and vigorous community. My timeline now looks like a ghost town.

Worse than that, community participation operates based on network effects. A 7% loss of participants can have a much greater effect on the overall intensity of communication.
I used this in the past: https://malsup.com/jquery/taconite/
Ok, but say someone posted explicit child pornography on your wondrous social network. What now?
This is how it starts. Do you believe this status quo will be maintained for long? Or will it become good enough that human review will need to be requested? Then when it becomes sufficiently effective, will they lower the thresholds or broaden its scope? Experience says that's exactly what will happen.
Show HN: Vimify HN – An opinionated Vim-inspired keybinding for Hacker News
Hello HN!

I've crafted yet another vim keybinding browser extension. While many fantastic ones exist, I felt the need to build one tailored to my preferences.

Here's what stands out:

- `j/k` navigation enhanced with `<number>` jumps.
- Viewport keybindings like `zz/zt/zb`.
- History jump with `C-o/C-i`
- Scroll keybindings with `C-d/C-u/C-f/C-b`.
- A Help modal that seamlessly blends with the original HN style.

Thanks for checking it out, and looking forward to your feedback!

Note: it's also open sourced at https://github.com/Yukaii/hackernews-vim-keybinding
Ask HN: How are you using LLMs in your daily life?
Apart from the usual chat workflow, so far I've found two good use cases for LLMs in my personal projects.

The first one is real estate listings. A while ago, while I was looking for a house, I got really annoyed at how Weirdly Capitalized, excessively hyperbolic, grammatically incorrect, and often plain confusing listing descriptions can be. I used GPT-3.5 (well, davinci-003 back then) to take a description, remove all hypebolic speech and grammar/capitalization issues, and give me a perfectly readable result. Funnily enough, a couple months later a mobile real estate app added that very same functionality.

The second one is weather alerts. The Canadian government runs a WMS server that can be used, among other things, for retrieving weather alerts for an area. I initially wrote a script to check these and send me a Telegram notification whenever a new one showed up. Unfortunately subsequent updates to an alert don't provide... well, updates. They contain an updated version of the same message as the original alert, which means having to play Find the Differences to figure out that the rain forecast has changed from 50 to 55mm and the storm is now moving east instead of west.

I toyed with some ideas, including the fantastic dwdiff, but I wanted to have something a bit more user-friendly, so I turned to OpenAI and after much experimentation I ended up with this prompt:

System message: You are a friendly and helpful meteorologist. Your task is to provide an update regarding a weather alert. Be friendly but concise. Don't greet the user -- simply provide a weather update.
Prompt: You will be given an older weather alert, an updated version of it, and the output of running the `diff` command on them. The user has already seen the old alert. Provide an update on what has changed in the second alert. Don't mention things that remained the same between the two alerts.

### Previous alert

{previous_alert}

### Current alert

{current_alert}

### Diff

{diff}

And now if there are any updates I get actually useful messages like

The previous alert has been updated. The hazards now include nickel size hail and wind gusts up to 90 km/h. The timing has changed to this evening. Please continue to monitor alerts and forecasts for more information. Stay safe!

I'm curious if other people on HN have managed to find useful ways to integrate LLMs into their daily life.
In what way? Afaik it's all inert, otherwise we'd all be dead by now given how much we drink, eat, and inhale it.
Someone will eventually manage to find a way to patent patenting, at this rate.
Unsolvable maintenance problems, like the leaky Vermont Yankee plant, can't be solved by adding more workers. Which is by your lights better?
But what’s the slippery slope here? If we use AI effectively to catch texters, next we’ll… effectively enforce other traffic laws?

And police are already using technology in actually nefarious ways - technology that never had a positive use like this.
Audio is better, but now the slides are intolerable.
The headline could just as easily be that 93% of scientists are sticking with Twitter. There's plenty of room for framing with a survey like this.
Unlocking the mathematical formula of juggling (2012) [video]
Generating some HTML instead of JSON isn't that much data/CPU. But doing all that in the browser might have a big impact on UX performance-wise.
That's what I thought it meant. Do what you promised to do, and not anything more. What does it mean?
> What exactly is wrong or dystopian here?

Correct me if I'm wrong, but you are probably under the impression that this won't catch you doing something illegal? You might be surprised how extensive the laws are (and we add to them all the time), and many driving behaviors that you think are harmless are in fact technically illegal.

If, for example, we start sending people tickets every time they fail to stop before the stop line on the road, or don't come to a complete stop, we're going to need to install much larger mailboxes. Or people who speed 1 mph over the limit for 1 second. Or stay in the left lane a little too long while someone is waiting to pass. The possibilities are endless.
Yeah it sounds like one of the cases where using tw could be good.
That's my thought as well. Anything that needs new data from the server uses HTMX and if you need to manipulate something already on the page use Alpine, Jquery, vanillajs, or whatever other framework you prefer.
I'd probably categorize it as edutainment. Like a History Channel show, where any credible historian you know would likely have a lot of issues with the accuracy of the content, but it's still entertaining.

I could name several "loud laborers" who I work with off the top of my head, but the root causes are quite nuanced. As many commenters have pointed out it's an adaptation behavior to an a work culture that values loudness.
I have not tried Caddy much, but Nginx and its numerous footguns are getting a little old. Nowadays I just copy and paste from my own projects. Otherwise I always have to figure which defaults are unreasonable and will bite me when I least expect it.

I got Caddy to run on my vacuum cleaner in a few minutes with no prior experience. I think that's pretty cool.
Your opinion doesn’t change the fact that USB was niche before Apple went all in on USB. When people give praise to Apple for making something mainstream that’s all they mean. Apple has a tendency to set trends and be rewarded for that.