skysight-inc/HackerNews huggingface dataset:
I assume that you don't even need javascript after a few releases of Firefox. All other major players support scoped styles.

https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
https://caniuse.com/?search=%40scope
Definitely didn't mean to deny the problem. In fact, I agree with the article in it's entirety. My criticism was purely technical and applies only to the headline on HN. I've seen this trick used too many times to push various worldviews and I've started to look out for such statistical lies in media.
Janelle Shane’s work has been really inspiring. Her talk at Strange Loop from a couple of years ago — right before DALL-E, before ChatGPT — was a turning point, and very funny:

https://youtu.be/yneJIxOdMX4?feature=shared
I’m going to try with a counter argument here that might seem trivial at first but encourage you to think a bit more deeply on it.

Multimedia consumption does directly alter your behavior.

You see an add for fries and you want fries and you go out and buy and eat them. If you hadn’t watched that video you wouldn’t have done that. Yes, it was still your choice to do so (avoiding the question of free will), but it was also the choice of the addict to shoot up one more time. Seeing the burger introduced psychoactive chemicals (endogenous ones): dopamine is one of the most relevant and well understood.

And to be clear - it’s not unique because it’s related to food and therefor a substance you put into your body like a drug. As others have pointed out gambling and porn addictions rely on similar mechanisms, and doom scrolling/compulsive news checking are tied to the same chemical mechanisms in the body.

From a medical perspective this is pretty well understood. Social expectations and norms that feed into regulations and laws are wildly subjective, so it’s not surprising that there is a lot of inconsistency in how and what is regulated and illegal when looked at from the perspective of biological mechanisms.
The men and women who advanced organizational thinking in theory and practice [pdf]
If I google the phrase now, it includes Biden.
There's a bunch of things you can't do with style attributes, just to pick a few:

- Pseudo-classes (e.g., :hover, :focus)

- Pseudo-elements (e.g., ::before, ::after)

- Media queries

- Keyframes and animations

And the DX in a larger project isn't great either.

On the other hand, this upcoming standard is a great addition for collocating styles
https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
Is that a problem? I feel like calling getenv and setenv from different threads is a design antipattern anyway. Any environment setting and loading should happen in the one and only main thread right after process init.
What's a good chrome extension to block reddit, hn, etc. these days?
Huh, I hadn't realized you can't search for submission domains, that seems like an oversight. To search for comments specifically there's a dropdown in the top left by the way.
I suspect that utmost performance was not the main focus of the project. Nevertheless, the complexity of the project would not be different if a different CoM was to be adopted. Even creating a custom CoM doesn't seem that much more complicated, as the daughter board is as complicated since it already needs to handle high-frequency traces as well. Super impressive project!
For me it's very noticeable. Typing, invoking lsp actions, opening terminal panel, switching between files. Everything feels much much faster. Switched to zed several months ago and never looked back
Mind sharing how you made the hanging lamps? I'm currently designing a new house and was thinking of doing a similar setup. Any guidance would be appreciated.
> - Improved UX in native apps over PWAs, but surely this problem is solvable?

How? You can hardly solve that even on platforms without all the restrictions iOS Safari has. Of course unless your “app” is using Electron/etc.
It’s near impossible to get even basic things like animations to look consistent and same as in native apps.
I'd still call that permanence module :) AFAIK, that the way our vision works is that our eyes only see a narrowly focused region in detail and the rest of our periphery is generated by our brain (based on what we saw there before). There are optical illusions based on that.
This reminds me of the scene in Return of the King, where the One Ring tempts Samwise by offering him infinite gardens, paving the countryside in lawns, hedges, and flowers. Which seems mighty attractive, until he realizes that all he truly needs is the garden that he tends with his own hands.
I wonder if this is what Zelazny was thinking about when he was writing the Amber series.
Well... if someone requested I cook them BSE-infected meat when there's perfectly good non-infected meat to have, I think (hope!) most people would offer to cook the non-infected meat instead, even if it's not "the kind of food they wanted to eat". Why? Because it's ridiculous to demand BSE-infected meat, at least to someone who knows of the potential health effects.

Some people draw that line elsewhere. I could picture someone else saying "it's ridiculous to demand meat, at least to someone who knows of the environmental and financial consequences, when perfectly good food exists that does not have the same consequences." That's putting the line elsewhere, but it's just the same line.

It's not about cooking for one's principles, it's about respecting them while offering to cook for someone else.
Define other places. It's a common phrase in all of the English speaking world I have been in, which includes India. It's probably ubiquitous at above 1b people worldwide. It was a commonplace of public health messages for decades.

I suspect "starving children in Biafra would eat that" has dropped out of circulation.
Brisa: The Web Platform Framework
This. The amount of time lost debating correct rest semantics for a use case is staggering.
>To work around this, we had to change the assertion logic in some tests to check the name and code, instead of the message. This is also the standard practice for checking error types in Node.js.

Sounds like something they should try upstreaming?

Now they'll need to track all the tests to manually modify/import...
> They don't charge anything for claude-3.5-sonnet

Makes you think about how they're extracting value from you to make up for this. I rack up non-significant amounts when using Claude 3.5 Sonnet for coding.

Considering the data they siphon from their other "free" apps, I don't want to think about what this does on developer machines with code bases and production access.
Never heard of caddy, but it seems something you need to install. This „trick“ just requires Python, which a default Linux already has. And it works well, even with large files. Another plus is you can see accesses in real time. In combination with Ngrok it’s a quick way to exchange a file with someone remote you’re on the phone with.
Not going to give you any proper advice but rather a question to have an answer for. It's not unsolvable or even difficult but needs an answer at scale.

How do you scale horizontally?

User A connects to server A. User A's connection drops. User A reconnects to your endpoint. Did you have anything stateful you had to remember? Did they loadbalancer need to remember to reconnect user A to server A? What happens if the server dropped, how do you reconnect the user?

Now if your streaming is server to server over gRPC on your own internal backend then sure, build actors with message passing, you will probably need an orchestration layer (not k8s, that's for ifra, you need an orchestrator for your services probably written by you), for the same reason as above. What happens if Server A goes down but instead of User A it was Server B. The orchestrator acts as your load balancer would have but it just remembers who exists and who they need to speak to.
I remember the discussions about the impact of Microsoft FrontPage on web development. The consensus was that FrontPage produces crap code which does not work well, and if you need something good, you need to write the code by hand.

25 years later I hear similar discussions about web development, and we are getting to the same consensus, and that's very entertaining.
I don’t know about Norwegian but I wonder if the issues are due to the training data.

I’m sure it’s possible to train new voices.

The English voices are hit or miss, but some voices have up to 900 speakers so it should be able to find a nice voice in the hay stack.

The thing I like about piper is it is so fast. I set it up to stream the output to VLC and it starts speaking in less than a second even on my laptop.

I wish it could have eleven labs quality but right now the speed is the most important factor for what I’m doing with it.
This was so much fun! Great work! Really brought me back to Quake 3!
It also not happened historically. The nation states we have today do happen historically (obviously), but they seem to be a rare phenomenon.
As I've pointed out before, his concession at https://news.ycombinator.com/item?id=35350 was both witty and graceful. It's great that he's still active here! and anyway he's done a ton of things that are a lot more important than that bit.
And he managed to top it off.

Few years ago I was planning to buy Tesla, boy I'm glad I didn't, I don't think I would be able to drive it again after this Monday.
Memory Allocation in Zig. Working with Netlink
Memory Safety and Network Security
That is a good point, and I can see that I probably did not communicate what I meant clearly enough.

In my experience most of the state management in FE apps is about fetching and handling data from different types of APIs. With inertia you get a very simple abstraction in that each page gets its own little API. Then inertia takes care of feeding the data from that API to the rendered page when you navigate to it.

For that reason the page can be a "dumb" component, and there really isn't much state to manage.

If the app needs modals, dropdowns, forms e.g., you will need to manage the state of those in the browser, which I think is very reasonable.

Obviously there can also be situations where you'd want to have a small part of the page to fetch some data asynchronously, and for those you'd need to use something else - inertia doesn't do everything.
This is a lot of things, but it's not evidence.
I don’t know, perhaps it is. If you have some data to back that up (or even a report from consumer media that dares to name its sources) then please do link it. My point above was that it’s easy to respond to such stuff with a gut reaction instead of pursuing research (which includes questioning the source, methodology and bias where appropriate). I’m currently too busy with my day job to go and research this in depth but hopefully the HN hive mind will produce a bunch of evidence by the end of the day…
A seriously impressive piece of work, especially only in 6 months. Bravo! :)
Yep `npx tailwindcss@v3` is the solution we ended up with. Just had to change this in all our Apps and project templates.
I hope that’s in the highlights :)
There’s a conflation going on here. Pareto can be good engineering—a product that solves 80% of use cases at 20% of the cost is a great efficiency: tax prep software for simple tax returns only; a minimalist photo sharing site with few social features; a phone with a great UI and no user-installable apps.

This gets conflated with products that are 80% reliable across all their tasks (LLMs, brittle software). That makes it difficult for users to rely on the product, because occasionally a failure will happen, and the user can’t build a mental model of what works and doesn’t.
> Consequently, the overhead present in the win32 API is basically just dead-weight, there to make sure that "things are safe by default".

How much overhead is it though? IIRC uncontended mutexes are practically free, especially when they're only being used from a single thread.

Our industry is way too eager to make things unsafe for the sake of marginal performance differences that are irrelevant for most use cases, IMO.
EDIT: Apologies for breaking things earlier while trying to fix it! I’ve been working on updating it and got the upvote count and comment link in there. Wondering what you think about these updates—appreciate any feedback! Thanks again for helping me improve it!

https://gophersignal.com
I can see why; if it's software that isn't easily or frequently patched or it takes a long time to update everyone and roll out the update, AND the exploit isn't known elsewhere yet / actively abused, keeping the report under wraps to try and protect the unpatched installations for as long as possible makes sense. Yes it's security by obscurity, but if you're the first to find it then the obscurity was effective.
I would rather let Chinese companies take my data than US/EU ones where I have bank accounts. Unless you are a super important, influential person, you shouldn't worry about China.
I'd argue both as well as McCulloch & Pitts. Maybe Boltzmann or Rummelhart (Backprop) as well. Honestly, I wouldn't know where to stop, there are so many cool papers.
There are several redis-compatible disk backed solutions, https://github.com/OpenAtomFoundation/pika is the first that comes to mind but im positive there are others
So the AI is trained from the previous frame and the input and tries to predict the next frame, correct?

How could you achieve object permanence this way? Will it 'automatically' appear given more training data or more hidden layers? How is this handled in other approaches?
I wish @-less wasn't be allowed. Like you can do @latest but then human confirm is needed. That way you don't get this problem in scripts.
Still unusable. I had to disable it.
Yes it is only limited by disk usage but it does have an in-memory cache.

I tested kvrocks about a year ago and don't have the benchmarks to hand anymore, but if I remember correctly kvrocks had a ~60% performance penalty compared to Redis, but depends on your disk speeds.
I often suspect that an entire DOS/Win 3.11 system could be run in the browser with a smaller footprint than the average React or NextJS landing page.
Glad it's fixed, but my question remains, because it lasted over 3 hours. That's a very long time in my world.

(I don't know how much over 3 hours, because I only noticed the reddit post around 3 hours ago.)
Fair point. I could have and should have done better. Sadly the edit window has passed otherwise I would clean up the original. In a sense, this more or less represents the core purpose of an MVP in action. The author might take the same lesson and revisit this essay in light of the feedback here (or just abandon it as a misstep that is not worth the effort to refine). I was sincere in saying that I appreciate the effort to get something out and start a conversation. While I disagree with most of the essay, there is certainly something to be said for striving to produce high quality work in everything we do. An MVP mindset can be an excuse for not holding ourselves to the highest standard (case in point, me posting a thing with half a dozen typos).
On the other hand some of the founding father would probably be proud how dysfunctional and corrupt the Federal government is becoming though. Especially they’d welcome the politicization of the civil service and the return of the spoils system.
I've been toying with roo-code (cline fork) and it's fun. Before you give out your data to china maybe consider that or continue.
That is what happens when developers want to be paid for their work, but refuse to pay for the tools they use, regardless of little they may cost.

So we're going back to the last century, but given we are in a different computing context, only the stuff that can be gated via digital stores, or Web Services, gets to have a way to force people to pay.
Google served sponsored links to a malware Homebrew site clone
I always wonder where the devs come from who end up doing important work.

Seniority doesn't mean anything if a dev's 20 years has been spent flinging crap over the wall and then wondering how to keep up with all the support tickets being filed.

How does one get onto the "software is suppose to work" career track.
My Impressions of Gleam
Yes, it has been authorized. This hasn't been effective in limiting the scope of bureaucracy.

https://www.youtube.com/watch?v=qByWF30jKiw
My brother and I have the same initial letter, same problem, but it was possible to use the first two letters as initial with some services. But in practice my mom would open letters to see who it was for, lol.
url and dgram are still not all there yet, but I’m going to see if Node-RED runs now.
Related. Others?

Redis Alternative at Apache Software Foundation Now Supports RediSearch and SQL - https://news.ycombinator.com/item?id=40812879 - June 2024 (3 comments)

Show HN: Kvrocks – High Performance SSD Redis which supports replication and HA - https://news.ycombinator.com/item?id=20827111 - Aug 2019 (3 comments)
I read it first as Edge TTL!
My main problem doing this is with certain 2FA (like Microsoft) forcing use of their 2FA app so I have to pick it up regularly.
South Carolina to Reboot Giant Nuclear Project to Meet AI Demand
https://archive.ph/y7S0C
AFAIK using the tailwindcss-cli without npm makes it impossible to use Tailwind plugins, such as DaisyUI.
Can confirm.

Whenever I'm reminded of the existence of things like Villagers, or the End, my brain still goes "oh yeah, that new thing they added" before reality catches up and I realize just how long those things have been in the game.

Part of it is because 80%+ of my playtime was before they were added, but I think another part of it is that those things have never really quite fit into the game in my mind.
>It’s cheaper than the alternative, though, if there is rat poison in it, there is nothing you can do!

Sure there is, I can take you to court.

>Caveat Emptor is a shit way to run a society. It incentivizes the sociopaths.

Bureaucracy and nanny states do that too.

>Both Hippies and Libertarians fail to understand that if your organizational principles don’t account for sociopaths, they will take over and ruin everything.

I don't think the latter are against locking people up. Or executing them even!

And the former, I dunno, perhaps they handle them Midsommar style!

Not to mention the issue is quite solvable: sellers can sell whatever, but need to specify the contents and whether they match a specification (e.g. same contents as aspirin). If you want to buy rat poison drug or heroin cut with sawdust, it's on you.
Any alternatives that take a similar philosophy but get the tooling right?
Author here, thank you all for taking the time to read about my journey and, of course, for playing my game.

I’m very glad that you liked it!
https://web.archive.org/web/20241204140927/https://www.admin... for a site inspection presentation.
Congratulations on launching, Victor!

A few suggestions and comments based on experience building a RAG-based video script writing tool:

1. You might want to iterate on your positioning/promise. "Scriptwriting" might not be a way that your target customer talks about what they do. I actually clicked on your HN post because I thought you meant writing movie scripts. (not content for YouTube). I'm guessing you'll be hard to find if you use that word.

2. The time-saving calculator is a good idea, but it's lacking a question ("how many videos do you aim to produce per month?") and it is stacking the wrong way on mobile (the hours saved show first)

3. The biggest item by far: "AI credits" are a terrible way for users to assess the value of different plans. We (https://www.onetake.ai ) ran a very successful AppSumo campaign last year, and the whole "AI credits" pricing style was the source of so many headaches and comments and customer tickets.

To put it in a nutshell :

- almost every successful startup that started with a "credits" system has moved away from it, and moved towards counting value in user-facing units (minutes of video, pages of text, number of revisions, etc)

- there is not a single example I know of where a successful startup has moved the other way (from a user-valuable metric to a generic "credit" system)

These 2 cents of advice come from lots of painful experience :-)

Good luck!
Sébastien
Building a Matrix-Themed Chat Interface with Heroku's New Managed Inference API
I was referring to your comments in general.

Your GP comment wasn't flamewar. But it was quite offtopic and we got complaints about it being unintelligible.
Let's not bother with that please. We want curious conversation here. Posting interesting and curious things matters infinitely more than spelling.

Of course it's always fine to ask for clarification when necessary.
https://f-droid.org/2023/03/20/f-droid-board.html pleases me. Google store? Governance be damned.
If weird sun twitter was on Bluesky, in which category would it go?
The War That Almost Broke a Classic Fandom
But why not though

I also use tailwindcss in a non-node project, but use npm package / lock files to easily lock javascript / css dependencies and make renovate able to update them for me.
It takes about 300 watt hours of energy to raise the body temperature of a human by 6 degrees. If your human is starting at 99 degrees, 6 degrees will put you at 105, which is where you'll start to have immediate problems. (At 104 you aren't going to be happy, but you are going to survive and you're not likely to sustain organ damage).

If we assume that you are putting out 100 watts, you've got 3 hours at a wet bulb of 100F before you start having risk of death (if you are well adjusted to the heat).

And yes, I spend time every month in Saunas and Hammams with extreme temperatures. My favorite room is 195 degrees and 45% humidity. That translates to something like 150 degree wet bulb temperature, and I can happily stay in that room for about 20 minutes. (though 60 minutes would probably kill me). I've also spent plenty of time in Hammams (30+ minute sessions) where the temperature was 110F and the humidity was 100% (which means the entire room is fog and it's constantly dripping everywhere, practically raining). These aren't elite extremes in the sauna world, you'll find saunas close to these conditions all over the world.
Two orcas with a taste for liver decimated the great white shark capital
I too like f-droid but have found it too difficult to figure out how to publish packages for it. Last time I looked at it all the documentation covered tool chains I don't use. I see that there are Godot games on f-droid now so I hope that means there is an easy path to go from a Godot project to f-droid package. Also is there any support for PWAs on F-droid?
Yeah, you better hope the code that you’re writing is not important at all.
I'd argue that an MVP is a minimal game with limited features - say, a platform game where you can walk and jump and finish the game, whereas a vertical slice is the complete experience, walk, jump, collect items, fight, achievements, etc, but the story is just a concept and there's only one level.

In other software, MVP is what you can go live with to all of your customers (often replacing something existing and omitting half the existing features to much chagrin).
This describes Manchester, UK pretty well as well - before the pandemic there would be some sort of tech meetup every day of the week. But now it is down to ~one a week. And many have been taken over by recruiters and marketers.
President Trump, Crypto Billionaire
https://archive.ph/nMvyc
How to cook a chicken by throwing ice cubes at it
Meanwhile posts that are more C++ than English are just fine, apparently. Why the double standard?
i have been setting up these react/ts/etc project with vite or next.js, just fine , i think you're underestimating how much progress happened in other tooling as well
Absolutely and verifiably false. WeChat became so important to the CCPs surveillance interests that it was essentially nationalized; and other apps that grow to its scale basically suffer the same fate. The only reason that hasn’t happened overtly to TikTok is because it’s an international product, so instead the nationalization happens discretely.