MurphyA/hacker-news huggingface dataset:
by bigiain | 2025-10-23 06:16:46+00:00
> To be fair, in some applications the short-term peak rating is an important metric in its own right.

Cars are a good example of this. There are very few public roads in the world where a car can use 1000hp for more than a few or perhaps a few tests of seconds at a time. On a drag strip a 1000hp street car might run a low 9 second quarter mile reaching around 150mph. That'll put you in jail if a cop sees you doing that speed in a lot pf places. To maintain the fastest speed limit in most countries probably doesn't even require 100hp. So a "short term peak rating" that lets you use 1000hp for 10 seconds will accelerate you in a _very_ "sporting" fashion for as long as you're likely to be able to hold the accelerator down (outside of a race track or autobahn).

Back when I raced quadcopters, I'd happily set them up to pull 200% or more of the rated power of the motors and batteries, because if you kept it pinned at full throttle it would have vanished out of sight within 2 seconds. (You had to be somewhat more circumspect with the motor controllers, the magic smoke could come out of those way faster - sometimes going pop effectively instantly if you started to approach 150% of rated capacity, sometimes even 120% would blow them up ij just a few hundred milliseconds.)
by fcpk | 2025-10-23 06:17:11+00:00
Almost all of the comments here seem to miss a point. Weight lods can be extremely difficult because : 1. your body metabolism will adapt really fast to caloric restrictions 2. losing weight is easy, not regaining it is a challenge in adapting your body set point 3. having enough time to exercise to the point where calories are a deficit is a luxury many can't afford 4.the psychological state of many people is a primary cause of their obesity, and fixing this is also a lot harder.
by donmcronald | 2025-10-23 06:17:37+00:00
I'm not using self hosted email. My theory is that Google treats smaller mail providers as less trustworthy and that increases the odds of having messages flagged for phishing.

In my case, the Google Search Console explicitly listed the exact URL for a newly created shared album as the cause.

https://photos.example.com/albums/xxxxxxxx-xxxx-xxxx-xxxx-xx...

I wish I would have taken a screenshot. That URL is not going to be guessed randomly and the URL was only transmitted once to one person via e-mail. The sending was done via MXRoute and the recipient was using GMail (legacy Workspace).

The only possible way for Google to have gotten that URL to start the process would have been by scanning the recipient's e-mail. What I was trying to say is that the only way it makes sense to me is if Google via GMail categorized that email as phishing and that kicked off the process to add my domain to the block list.

So, if email categorization / filtering is being used as a heuristic for discovering URLs for the block list, it's possible Google's discriminating against domains that use smaller email hosts that Google doesn't trust as much as themselves, Microsoft, etc..

All around it sucks and Google shouldn't be allowed to use non-deterministic guesswork to put domains on a block list that has a significant negative impact. If they want to operate a clown show like that, they should at least be liable for the outcomes IMO.
by epaga | 2025-10-23 06:18:33+00:00
Interestingly, for this parallax 3D effect to work, the head tracking needs to basically move "backwards" from typical head tracking since it needs to keep the focal point the same, if I'm understanding correctly. Any time I've tried this out it's fun and would likely be most useful for something like a 3D painting you hang on your wall.

Related idea, but not the same, might be my iOS and Android app that uses your phone's AR for head tracking and then sends that data to your PC for smooth sim game head tracking. https://smoothtrack.app
by krs_ | 2025-10-23 06:18:59+00:00
With the Nextcloud app I remember having to enable full file permissions to preserve the GPS data of auto-uploaded photos a couple of years ago. Which I only discovered some months after these security changes went into effect on my phone. That was fun. I think Android 10 or 11 introduced it.

Looking now I can't even find that setting anymore on my current phone. But the photos still does have the GPS data intact.
by jasonwatkinspdx | 2025-10-23 06:19:02+00:00
As someone that was kicking around back then, PostgreSQL was seen as more of a proper database, but MySQL was both faster and came with batteries included replication. Those really motivated its mass adoption with LAMP style stacks vs PostgreSQL.

Some years down the road however this was changing. PostgreSQL began to catch up in terms of simple performance, but also MySQL stumbled on transitioning into a multicore world, while PostgreSQL scaled better due to some of the hard work already being done in the architecture. Additionally we got an included replication option, as well as all the main PaaS vendors providing automation around it. So MySQL's previous advantages became less compelling.

And today, hardware is so incredibly capable that just scaling vertically on a single server is totally viable for a ton of apps. For this swath of the market, just running PostgreSQL has become a bit of a no brainer in the way that MySQL was during the peak of LAMP.
by dwd | 2025-10-23 06:19:33+00:00
The sodium ion battery was invented over 200 years ago. No one needs to steal the technology, and manufacturing is basically the same.

All the research is in finding ever better combinations of anode/cathode.

Lithium mining and processing is dominated by Western countries, which is why China is incentivised to develop and manufacture sodium ion batteries. They know the game and haven't ignored it, unlike the West who ignored the geopolitical risk of China dominating rare earth processing for 20+ years.

The West should have a similar incentive despite having most of the lithium, namely supply risks for graphite, cobalt and nickel. There is a lot of research going on but mostly in Europe.
by conradev | 2025-10-23 06:19:55+00:00
I would just like to highlight the "excellent" bit here. It is a tour de force, a masterpiece. Beautifully factored software. They've done an excellent job incrementally building trust and delivering. Really cool project, and I'm so glad it exists.

I also did not realize it is… primarily developed by a single person? The author. Incredible:

https://github.com/stalwartlabs/stalwart/graphs/contributors
by WA | 2025-10-23 06:21:12+00:00
One script I use quite often:

function unix() { if [ $# -gt 0 ]; then echo "Arg: $(date -r "$1")" fi echo "Now: $(date) - $(date +%s)" }

Prints the current date as UNIX timestamp. If you provide a UNIX timestamp as arg, it prints the arg as human readable date.
by luis_cho | 2025-10-23 06:21:18+00:00
I was working in ASP.NET when projects like Backbone.js, Knockout, and Angular started to pop up. They were trying to address issues on mainstream tech at that moment (compilation times vs. hot reload, avoid full-page reloads). There was a lot of criticism around the use of JavaScript in the server back then.

Now I see the opposite. Web standards can solve the full reload page problem, so it's time to rethink if we still need to manage state in the client, with all the complexity that this involves.

The biggest issue for me it’s the division between backend and Frontend roles. I like to do both, but lately I’m doing backend. It changes a lot how we do things, refinements are mostly to create contracts between the Frontend and backend tasks, we’re they should focus on business use cases.
by sureglymop | 2025-10-23 06:21:32+00:00
Isn't their upcoming "Thundermail" service actually based on/using Stalwart?

Here is a quote I found on https://thunderbird.topicbox.com/groups/planning/T437cd854af...:

> We have been experimenting with this for a while now and are using Stalwart as the software stack we are building upon. We have been working with the Stalwart maintainer to improve its capabilities (for instance, we have pushed hard on calendar and contacts being a core piece of the stack).

However, unfortunately I am unsure whether this is a good source or official page.
by codethief | 2025-10-23 06:23:04+00:00
I did something similar on an airline website earlier this year: I wanted to change the date of my return flight and also make it an open jaw (i.e. leave from a different airport than where I had arrived). Changing my flights was included in my original fare, modulo the fare difference. Unfortunately, on their website the input text field for the airport I would be flying out from would get disabled a second or two into loading the "alternative flights search" page, and wouldn't allow me to make it an open jaw. So I fired up my browser dev tools and changed the value of the text field to the desired airport code. Suddenly, I was finding the flights I had been looking for – as it turns out, at no additional charge whatsoever.
by masklinn | 2025-10-23 06:24:40+00:00
> feels weird for setHTML to have impossible-to-override filter.

It really doesn’t. We’ve decades of experience telling us that safe behaviour is critical.

> I do not understand this design choice. If I explicitly allow `script` tag, why should it be stripped?

Because there’s an infinitesimal number of situations where it’s not broken, and that means you should have to put in work to get there.

`innerHTML` still exists, and `setHTMLUnsafe` has no filtering whatsoever by default (not even the script deactivation innerHTML performs).
by coded_conscious | 2025-10-23 06:25:18+00:00
ust open-sourced Butterfly RSI - a recursive self-improvement framework that gives LLMs actual memory and personality evolution

Tested across multiple models. Implements mirror loops + dream consolidation so AI can learn from feedback and maintain consistent behavior.

Built it solo while recovering from a transplant. Now looking for collaborators or opportunities in AI agent/memory systems.

Check it out: https://github.com/ButterflyRSI/Butterfly-RSI
by snthpy | 2025-10-23 06:25:45+00:00
I couldn't tell from the post how this will affect Gemini's ability to assist better as a result.

I guess for Google this will be a treasure trove of real developer interactions to train on.

I might try this once Gemini 3 comes out. Until then, if you're running tmux or zellij, this seems like a worse user experience since you're in a subwindow and have less screen real estate to work with.
by jeroenhd | 2025-10-23 06:25:51+00:00
It's the result of failures across the web, really. Most browsers started using Google's phishing site index because they didn't want to maintain one themselves but wanted the phishing resistance Google Chrome has. Microsoft has SmartScreen, but that's just the same risk model but hosted on Azure.

Google's eternal vagueness is infuriating but in this case the whole setup is a disaster waiting to happen. Google's accidental fuck-up just prevented "someone hacked my server after I clicked on pr-xxxx.imiche.app" because apparently the domain's security was set up to allow for that.

You can turn off safe browsing if you don't want these warnings. Google will only stop you from visiting sites if you keep the "allow Google to stop me from visiting some sites" checkbox enabled.
by cool-RR | 2025-10-23 06:25:56+00:00
The most useful script I wrote is one I call `posh`. It shorten a file path by using environment variables. Example:

$ posh /home/ramrachum/Dropbox/notes.txt $DX/notes.txt

Of course, it only becomes useful when you define a bunch of environment variables for the paths that you use often.

I use this a lot in all of my scripts. Basically whenever any of my script prints a path, it passes it through `posh`.
by motorest | 2025-10-23 06:28:27+00:00
> But nor do I take what seems to be the near maximal other side, where everyone is fighting some hidden trauma from their childhood.

I think you're trying too hard to downplay a problem by questioning the extent it exists. Perhaps a more productive approach is to try to learn about the topic, starting by learning about the definition of psychological and emotional problem. It's quite possible that your denial is founded on a misplaced sense of what trauma is or isn't.
by jeroenhd | 2025-10-23 06:28:41+00:00
He's a right-to-repair activist Youtuber who is quite involved in GrayJay, another app made by this company, which is a video player client for other platforms like YouTube.

I'm not sure why his reaction would be relevant, though. It'll just be another rant about how Google has too much control like he's done in the past. He may be right, but there's nothing new to say.
by bigiain | 2025-10-23 06:28:45+00:00
Same memories here. In the late 90s I chose MySQL over Postgres, at the time for its speed and replication. And at least partly because I got to talk with Monty Widenius at an Open Source Conference (or perhaps even a Perl Conference) in the late 90s about replication, and asked how hard it'd be to make replication use SSL - and he sent me a beta MySQL version with that implemented a few days later. So I had a quite serious "feel good" reason for using MySQL. In the subsequent 5-10 years or so I regretted not choosing Postgres instead over it's stored procedure handling, but we had way to much deeply embedded MySQL tech and skill by then which made switching always end up on the too hard list.
by citrin_ru | 2025-10-23 06:29:54+00:00
It’s all depends on device size and required capacity. AA is not a bad choice for many cases. And there are other replaceable batteries with higher capacity e.g. 18650.

Most modern devices have an integrated 3.7v Lithium battery so standardisation should be possible but I see no market forces for this - devices with short lifespan (limited by a non-replaceable battery) are more profitable.
by kaoD | 2025-10-23 06:30:10+00:00
The only reason I can think of to 0-index months is so you can do monthName[date.getMonth()] instead of monthName[date.getMonth() - 1].

I don't think adding counterintuitive behavior to your data to save a "- 1" here and there is a good idea, but I guess this is just legacy from the ancient times.
by x______________ | 2025-10-23 06:30:24+00:00
Off topic, Dreamcasts were one of the first and only consoles that i made an extra effort to procure from pawm shops, repeatedly, as each one I obtained succumbed to hardware failure within very little time.

Should their hardware have been more resilient, as their security, the Dreamcasts would have been an amazing console, more than it already was.
by beAbU | 2025-10-23 06:30:48+00:00
Afaik almost all ebikes do not have regen. If it's a hub motor it's often geared with a one way bearing, and if it's mid drive (getting more popular) then you cant have regen as the chain is not back-drivable.

The efficiency gains of bicycle regen is not high enough and there is added drag of pulling a motor along if you are just pedalling normally. Most regard the trade-offs to be not worth it.

There is one Canadian ebike parts manufacturer that's pushing for regen, and their main reason for doing so is that it saves on brake pad wear.
by jeroenhd | 2025-10-23 06:31:22+00:00
PayPal is a real star when it comes to vague, fake-sounding, official domains.

Real users don't care much about phishing as long as you got redirected from the main domain, though. github.io has been accepted for a long time, and githubusercontent.com is invisible 99% of the time. Plus, if your regular users are not developers and still end up on your dev/staging domains, they're bound to be confused regardless.
by hobofan | 2025-10-23 06:32:53+00:00
Yeah, that sounds quite interesting. I'm wondering whether there is a bigger gap in performance (= quality) between text-only<->vision OCR in Chinese language than in English.

There is indeed a lot of semantic information contained in the signs that should help an LLM. E.g. there is a clear visual connection between 木 (wood/tree) and 林 (forest), while an LLM that purely has to draw a connection between "tree" and "forest" would have a much harder time seeing that connection independent of whether it's fed that as text or vision tokens.
by jval43 | 2025-10-23 06:33:51+00:00
Just because someone put up a fancy website and named it "conventional" doesn't mean it's a convention or that it's a good idea.

The main reason this exists is because Angular was doing it to generate their changelogs from it. Which makes sense, but outside of that context it doesn't feel fully baked.

I usually see junior devs make such commits, but at the same time they leave the actual commit message body completely empty and don't even include a reference to the ticket they're working on.
by lucideer | 2025-10-23 06:34:00+00:00
> I don't know of a good solution for the second though.

I know the second issue can be a legitimate problem but I feel like the first issue is the primary problem here & the "solution" to the second issue is a remedy that's worse than the disease.

The public suffix list is a great system (despite getting serious backlash here in HN comments, mainly from people who have jumped to wildly exaggerated conclusions about what it is). Beyond that though, flagging domains for phishing for having duplicate content smells like an anti-self-host policy: sure there's phishers making clone sites, but the vast majority of sites flagged are going to be legit unless you employ a more targeted heuristic, but doing so isn't incentivised by Google's (or most company's) business model.
by mrkeen | 2025-10-23 06:34:42+00:00
> we’ve decided mutation is evil

The functional programmers have decided mutability is evil. The imperative programmers have not.

We functional programmers do crazy stuff and pretend we're not on real hardware - a new variable instead of mutating (how wasteful!) and infinite registers (what real-world machine supports that!?).

Anyway, there's plenty of room for alternatives to SSA/CPS/ANF. It's always possible to come up with something with more mutation.
by jeroenhd | 2025-10-23 06:34:46+00:00
I've had it work for me several times. Most of the time following links/redirects from search engines, ironically a few times from Google itself. Not that I was going to enter anything (the phishing attempts themselves were quite amateurish) but they do help in some rare cases.

When I worked customer service, these phishing blocks worked wonders preventing people from logging in to your-secure-webmail.jobz. People would be filling in phishing forms days after sending out warnings on all official channels. Once Google's algorithm kicked in, the attackers finally needed to switch domains and re-do their phishing attempts.
by strken | 2025-10-23 06:35:34+00:00
I'm less saying "it definitely isn't" and more trying to show the complexity of understanding this and the paucity of evidence. Is long-term stress different from a one-off traumatic incident? How much stress does trauma cause? Is therapy effective at preventing stress caused by trauma? What part of therapy is effective: can you stick someone in a room with a nice doctor and no therapeutic plan and achieve a result? Does therapy make things worse for some patients? Which patients are those, and how do you tell?

My personal opinion is that trauma probably has an effect, it's a lot worse in sustained cases, many of the symptoms are mixed up with other conditions, treatment for it is effective (in that it hits statistical significance) but not particularly effective (in that the effect size is small), treating healthy people can make them worse, some traumatised patients probably also get worse after treatment, and the symptoms of e.g. ASR/CSR are so vague that some of them apply to most of the people who read them.
by colechristensen | 2025-10-23 06:35:40+00:00
I think Steam Decks wouldn't ever have existed without Linux enthusiasts as early adopters of Steam Decks and the few previous iterations of Steam + Linux either playing games on their own machines or on the previous iteration of a Steam Linux computer. If at any point it was all tied up with DRM and that complete loss of control required for anti-cheat it would have just died and not be seen again.

The only way it changes course is an enormous rug pull that removes most of the differentiation between PC and Console gaming and you end up with Steam as a dying product unable to compete with either other modes of PC gaming or the dominant console players. (Sadly that's basically what I expect when gaben retires)
by MaulingMonkey | 2025-10-23 06:35:41+00:00
My understanding is that it's a poor form factor for lithium ion - which operates at higher voltages, and thus needs an extra voltage regulator to step them down to 1.5V if you're packing them into the AA format (adding cost, reducing capacity, & introducing conversion losses.)

https://www.youtube.com/watch?v=uKYF1CXZPng
by dvsfish | 2025-10-23 06:37:14+00:00
The parent’s point was plainly that bias is unavoidable and making it overt is realistically all we can do. It’s a pragmatic take, albeit overly terse. They could have additionally included something like “and try to minimize its effects” sure, but that to me was implicit. I may be reading that fairly charitably, but perhaps that is just my own bias. I certainly have a bias to judge it more charitably than I do someone who leaps straight to moral outrage and judgement this early in the interaction.

In this case, I simply felt your judgment of the parent wasn’t fair, and showed a moral bias. Maybe they weren’t perfectly clear, and too absolute, but your response wasn’t proportionate either. It condemned more than it understood. I interpreted it as an epistemic observation and you interpreted it as an offense. The very fact that we came away with two completely different readings of the same short sentence rather proves the point.

Thank you for putting words in my mouth regarding my definition of the word bias, but lets use your own: "Bias is a distortion from reality and truth." If that is the case, we can never hope to avoid it, because we will never have perfect information. Using that definition, we are quite literally constantly in a state of bias. Your very own definition is far more broadly supportive of the notion that bias can't be avoided and consequently suggests bias is effectively ubiquitous. This to me is the primary point the parent was making.

I was perhaps too charitable, and you not enough. We are both biased, and going by the advice of the parent, I'm pointing it out. I don't think there is much more I can do.
by mrmlz | 2025-10-23 06:37:59+00:00
Slackware-current is pretty current. And sbopkg has quite a lot of packages. I run it on my homeserver (and has been for the last..10-15? years or so). Since everything that I host uses docker its easy as pie to keep it running.

ZFS via ZoL etc.

As a daily driver i use PopOs! which is very nice since the've packaged nvidiadrivers etc. and I mainly use it to play games.
by oefrha | 2025-10-23 06:38:00+00:00
> For people like me who stage/commit often and judiciously

Focus on judiciously: mostly (functionally) atomic commits that are not every tiny change, not largely meaningless time-based snapshots, not Gerrit-style single commits for entire features, etc. I’m well aware of the mental leap you’re talking about, it’s neither hard to understand nor the liberation you might think it is. To achieve what we want to achieve we either need to be able to split, or “commit” with such atomicity that more time is wasted come squash time.* If you don’t get that, totally fine, but then you just don’t belong very much to this very conversation.

* Or we can completely change how we write code…