MurphyA/hacker-news huggingface dataset:
by HappMacDonald | 2025-05-24 10:27:24+00:00
> Like stars, radius for a gas giant is [..] decreased by increased mass.

If this is the case then do you have any intel on why do the gas giants in our system appear to more closely directly correlate mass with radius instead of inversely?

https://nssdc.gsfc.nasa.gov/planetary/factsheet/ Mass: Jupiter = 3.3 x Saturn = 22 x Uranus = 19 x Neptune Radius: Jupiter = 1.2 x Saturn = 3 x Uranus = 3 x Neptune

I mean Saturn's density is far less than either of the other three planets, despite being smaller and less massive than Jupiter but larger and more massive than Uranus/Neptune, as well as slightly cooler than Jupiter and far warmer than Uranus/Neptune. And Saturn has the lowest angular velocity among the four, which it would make sense might have the opposite relative effect on density.
by GianFabien | 2025-05-24 10:27:49+00:00
IANAL either. I believe that UK law would be similar to that in Australia.

To the best of my understanding, as an employee the IP of all work you produce is owned by the company. Even as a contractor you need rather specific contracts if your work for hire is not to be owned by the client.

My first reaction is to advise you to let the idea go. The most likely outcome is that you will do a huge amount of work and then get caught up in legal nightmares. Getting legal advice up front won't spare you from more drama down the track.

Assuming that there are many companies that use the same software and have similar needs, then you have the option of leaving, developing a MVP and then selling it to other companies first and eventually to your ex-employer. Even then there are risks of being accused of taking proprietary information to enrich yourself. Another scenario is that the big-name company could beat you to the market with a poorly designed but aggressively marketed alternative to your solution.
by metalman | 2025-05-24 10:27:50+00:00
It should be refered to as "The Narative"™, brought to you by the Department of Immiseration , to remove any abiguity around what will happen to you if you should challenge it. Which is more or less what China has always done, even with guys with a stick(litteraly) looking over your sholder, whacking at you, demanding "revisions"....sometimes they forget themselves and start quoting from the book of "Xi ping thought" on western media. The new look in the oval office is going full imperial gilt with overblown characteristics. The article at the top is realy about the jealousy that the west has over China, having the one central brand and naritive. The thing about china and a few other places is that they understand the peasant thing, a vast semi illiterate population ferouciously defensive of that which has given them a lift out of grinding poverty. Things are moving quick right now, lots of smaller countrys are having there bluffs called and are picking sides to avoid any real conflicts, and others are loosing there sponsors and getting cut loose....landlocked countrys are as useual just playing regional politics.....except with the new twist of the internet
by xgb84j | 2025-05-24 10:28:48+00:00
When learning new stuff I consider 2 things: - How much fun is the actual learning? - Can I actually apply what I am learning?

So I would learn things that are either fun for you to learn or things that you can directly apply.

For AI this means you probably should learn about it if you are really interested and enjoy going through build-your-own-NN tutorials or if you have good chances of switching to a role where you can use your new skills.

Edit: Basically investing anything (also time) is risky. So invest in things that directly pay off or bring you joy regardless of the outcome.
by palata | 2025-05-24 10:28:56+00:00
> So who's going to maintain the packages? Who's going to test them against other packages? Against distro upgrades? Who's going to fix issues?

I feel like you're not reading what I'm writing. The community.

That's how open source works: if you use an open source project and it has a bug, you can fix it and open an MR. If the upstream project doesn't want your fix, you can fork. Nothing forces the upstream project to accept your contributions. When they do, they take the responsibility for them (to some extent, as in: it is now part of their codebase).

If your distribution doesn't have a package you want, you can make it for yourself, locally. You can contribute it to a community repo (most distros have that). Maybe at some point, the distro maintainers will decide to take over your package in a more official repo, maybe not. Even if you are not the official maintainer of a package, if you use it and see a problem, you can contribute a fix.

In the open source world, most people are freeriders. A (big) subset of those feel entitled and are simply jerks. And a minority of people are not freeriders and actually contribute. That's the deal.

> And their efforts are needlessly duplicated across several packaging systems.

No! No no no no! If they don't want to put efforts into that, they don't have to. They could use Ubuntu, or Windows, or macOS. If they contribute to, say, Alpine or Gentoo, that's because they want to. I am not on Gentoo in the hope that it will become Ubuntu, that would be weird. But you sound like you want to solve "my Gentoo problems" by making it look more like Ubuntu (in the idea). Don't use Gentoo if you don't want to, and leave me alone! Don't try to solve my problems, you're not even a Gentoo user.
by mort96 | 2025-05-24 10:29:14+00:00
Yeah, it's unfortunate that it doesn't hide the IP address you connect to. But my thinking is: for someone to hypothetically get in trouble for reading my blog if I don't use SSL, their ISP/government just needs to inspect the packets they receive and scan for particular words or phrases, and they'll have hard proof that the person accessed a particular article. If I use SSL, those governments must have specifically flagged my web server's IP address, and they won't have any hard proof about what content was accessed.

So while it's not perfect, it's pretty good, and a very low investment for me as a website owner :)
by SillyUsername | 2025-05-24 10:29:34+00:00
It's holding a reference on each element, but it no longer has to add large chunks of memory on insert when the current array size is exceeded, just single elements. So reads are slower and a small amount of reference memory is used per node. Writes however are much faster particularly when the lists are huge (as in this case). Also I've written video frame processors so I am experienced in this area.
by pchangr | 2025-05-24 10:29:44+00:00
That is closer to “empathy” than compassion. Compassion has no reason other recognizing the other person as “human”. “Mitgefühl” seems closer to understanding how the other person feels and therefore acting on it.. empathy.

Perhaps you could think of similar to the concept of “charity”. Doing beneficial things to others.. just because.
Ask HN: What tools do you use for your own researches?
by weird_trousers | 2025-05-24 10:31:15+00:00
Web links, YouTube links, thoughts, pictures from books, ...

How do you manage all of this?

I started to use Obsidian for all of this (I don't want to depend on a proprietary solution) to sort and "save" my thoughts and researches on different subjects like engineering, AI algorithms, programming tips & tricks, etc.
by qsort | 2025-05-24 10:31:19+00:00
Isn't this what originally data engineers were supposed to be? I get that the role has probably become "clicks buttons in the Azure GUI", but the "good" ones are basically backend developers that specialize on data stacks.

The data scientist roles have had a similar drift in my experience. They used to be "statistician who can code" or "developer who knows some stats", what we got is "clicks buttons in the Azure GUI".
by blueboo | 2025-05-24 10:32:22+00:00
To build great AI products you need to be a fluent, deeply engaged user AND understand how they work and how to bend them to your use case beyond simple prompting.

We’re in a funny moment. Right now, AI tech is so powerful and capable that people are categorically underestimating their value and systematically underusing them — whatever the hype is signalling. If the tech froze right now, there’s decades of applications to mine.

Lots of great products being built on that thesis. The strategy is: unlock more of their present capability, harness that for a wider audience’s use case.

In that way you do both — leverage the tools, and in becoming an expert user, you can find yourself a vendor of very valuable guidance — and a builder of desperately sought-after products.
by dijit | 2025-05-24 10:34:23+00:00
but like, who’s doing that?

Maybe the answer is disabling the JS runtime on non-TLS sites, maybe that has the added benefit of making the web (documents and “posters”) light again.

SMS is unencrypted, phone calls are unencrypted- yet we don’t worry nearly as much about people injecting content or modifying things. Because we trust out providers, largely, but the capability 100% exists for that; with no actual recourse. With browsing the internet we do have recourse- optionally use a VPN.

All of this security theatre is just moving the trust around, I would much rather make laws that protect the integrity of traffic sent via ISPs than add to the computational waste from military grade encrypting the local menu for the pizza shop.

Worse still, the pizza shop won’t go through the effort so they either won’t bother having a website or will put it on facebook or some other crazy centralised platform.

I’ll tell you something, I trust my ISP (Bahnhof- famous for protecting thepiratebay) a lot more than I trust Facebook not to do weird moderation activities.
by michalsustr | 2025-05-24 10:35:03+00:00
AE (algebraic effect) are very interesting! Great article, thank you.

Reading through, I have some concerns about usability in larger projects, mainly because of "jumping around".

> Algebraic effects can also make designing cleaner APIs easier.

This is debatable. It adds a layer of indirection (which I concede is present in many real non-AE codebases).

My main concern is: When I put a breakpoint in code, how do I figure out where the object I work with was created? With explicit passing, I can go up and down the stack trace, and can find it. But with AE composition, it can be hard to find the instantiation source -- you have to jump around, leading to yo-yo problem [1].

I don't have personal experience with AE, but with python generators, which the article says they are the same (resp. AE can be used to implement generators). Working through large complex generator expressions was very tedious and error-prone in my experience.

> And we can use this to help clean up code that uses one or more context objects.

The functions involved still need to write `can Use Strings` in their signature. From practical point of view, I fail to see the difference between explicitly passing strings and adding the `can Use Strings` signature -- when you want add passing extra context to existing functions, you still need to go to all of them and add the appropriate plumbing.

---

As I understand it, AE on low level is implemented as a longjmp instruction with register handling (so you can resume). Given this, it is likely inevitable that in a code base where you have lots of AE, composing in various ways, you can get to a severe yo-yo problem, and getting really lost in what is the code doing. This is probably not so severe on a single-person project, but in larger teams where you don't have the codebase in your head, this can be huge efficiency problem.

Btw. if someone understands how AE deal with memory allocations for resuming, I'd be very interested in a good link for reading, thank you!

[1]: https://en.wikipedia.org/wiki/Yo-yo_problem
by rwmj | 2025-05-24 10:35:13+00:00
I think this justifies my habit of buying Anker chargers. They're expensive but seem decently engineered. If they were cost-cutting, they wouldn't have 2 temperature sensors, input filtering, properly rated & branded components, etc. Even if this one failed, it seems to have failed safe.

Also the transformer manufactured from a multi-layer PCB is pretty wild [about 20 mins into the video], I've never seen that before.
by EternalSlots | 2025-05-24 10:36:05+00:00
Unisciti oggi stesso a Eternal Slots e scopri perché migliaia di italiani scelgono questa piattaforma. Eternal Slots non è solo un casinò online. È un luogo dove le vere storie diventano leggenda.

Ricostruire dopo la pandemia — grazie ai free spin? Anna e Marco, una coppia di Napoli, gestivano un piccolo bar in via Garibaldi. Durante il lockdown per il COVID-19, il bar è rimasto chiuso per nove mesi. I risparmi sono finiti, e gli aiuti statali tardavano ad arrivare.

Nel febbraio 2024, Marco ha visto per caso una pubblicità di Eternal Slots con 50 giri gratuiti su “Lucky Vesuvio”. Si è registrato, senza aspettative.

"Volevo solo distrarmi un po’. Non potevamo nemmeno permetterci una pizza da asporto", racconta Marco.

Vincita inaspettata — e investimento nel sogno Con i giri gratuiti ha vinto 320 euro. Invece di spenderli, ha continuato a giocare. Dopo una settimana, ha vinto 2400 euro. Abbastanza per riaprire il bar con attrezzature nuove.

"Non era solo una vincita. Era una seconda possibilità", dice Anna.

Servizio clienti — reattivo anche nei momenti difficili Marco ha dovuto verificare l’identità per il prelievo. L’assistenza ha risposto in 20 minuti. "Ho inviato il documento e il giorno dopo avevo i soldi sul conto."

Dati interessanti su Eternal Slots Secondo AskGamblers e social network:

Oltre il 68% degli utenti attivi viene da Italia, Spagna e Francia. La vincita media nei giochi con jackpot è di 1850 euro. Il gioco più popolare nel febbraio 2025: “Spaghetti Fortune”. Consigli per i giocatori Anna e Marco consigliano:

Non giocare con soldi che non puoi perdere. Usa i bonus con intelligenza. Non inseguire le perdite. Ritira parte delle vincite subito.
by bombcar | 2025-05-24 10:36:40+00:00
My admittedly unscientific survey of small Midwestern towns with Walmarts (that are NOT suburbs!) is that you can walk to the Walmart on sidewalks. At most, you have half a block to the nearest sidewalk, or have to cross the street.

Some of the middling-old sections only have one sidewalk. The oldest have them on both sides of the street, and the newest developments have them also, usually.
by throwaway2037 | 2025-05-24 10:38:00+00:00
Hello stranger! No need for a throwaway account for such an insightful comment. I thought exactly the same when I read the article.

Yeah, it is a bullshit/clickbait article. No healthcare? Yeah, let's see how long his wife will put up with that. And, literally, there is zero cost for heat. Do you know how cold that place is in the winter? Here is what he wrote:

> as far as heat goes, well, one could either pay a little extra in electric for that — or they could have the Amish deliver their scrap wood from their sawmills to burn in a wood stove, very cheaply.

To be clear: That's not zero. Another lie.

Still: This person should setup a YouTube channel to document their life. It would be like the boring/suffering version of people who sail around the world on a yacht.
by alexey-salmin | 2025-05-24 10:40:31+00:00
None of them came close to the success of Quake, Doom or Commander Keen.

If you examine the list it includes games like "Gunman Taco Truck" by his 12yo sun, SIGIL I/II (Doom mods) and a remake of Dangerous Dave. Most of the money he made post-id came from Facebook farming games.

I'm not saying he's doing nothing. He's extremely talented and achieved more than most of us could ever dream of. I'm just pointing out that after he departed from id neither id nor him managed to replicate the earlier success. Who knows, maybe times had changed and it would be the same even if he stayed.
by rlpb | 2025-05-24 10:40:35+00:00
My Anker GaN chargers seem finnicky with cables, resulting in drop-outs and flapping phone charging on my Pixel 6 Pro. Anker customer service were happy to send me replacements but they weren't any better.

I tried Ugreen GaN chargers and they seem to work much better. And a couple of my Anker GaN chargers have failed now, not long out of warranty. Since then, I've stopped buying Anker. I just can't get them to reliably charge all my devices, whereas Ugreen chargers seem to work better.
by mattmanser | 2025-05-24 10:43:16+00:00
You're wrong.

In the UK, if you develop it in your free time it's yours, as long as you don't use company equipment.

However! It can be a clause in your contract to say sompany owns IP developed in free time, and is enforceable. Sometime there's often an extra clause saying unless an exemption is approved by the board (I assume to stop hirers informally saying 'oh don't worry about that', being legally valid).

I have asked companies to remove that clause and had it removed.

In another company a friend of mine had a small side project that was making money when he joined, and that company were fine waiving the clause. But those were smaller companies who were reasonable, bigger companies might not wiggle.
by stavros | 2025-05-24 10:43:19+00:00
I don't agree with the other commenters here. I used to be the same way, I'd be happy for my friends when they got a win, but I wouldn't be happy about it, because I saw it as a zero-sum game, where someone else winning meant I was somehow losing, or wasn't good enough.

One day, a friend told me about how a founder he knew had raised a round, and I said something like "damn, it's always everyone else" and my friend went "why not just be happy for them? It's not like they're hurting you".

That's when I realized that yes, I could just be happy for them, and that they indeed didn't hurt me, and that I could just be making this an overall happier event by being happy.

Since then, I'm genuinely happy when anyone wins, to the point where I'll complain to people about something that happens to me, they'll say "well if it makes you feel better, that happened to me too", and my response is "why would it make me feel better that my friend also had this bad thing happen to them?", which gets some puzzled "you're right" responses.

I think it is widespread that people feel like this, hence the "if it makes you feel better" response. I think if your friend understands that this isn't a great way to feel, it'll all be OK.
by jorvi | 2025-05-24 10:45:09+00:00
It is normal in the sense of for example seeing your friend accidentally slap themselves in the face with a plank, or have forgot to flush right when they're lucky enough to take a girl home. It's called schadenfreude.

Additionally, it is normal to accept derisive talk (= banter) from good friends. If a friend doesn't get a promotion, you can be very humoristically negative about it in way that would in no way be okay with a stranger.

So yes, in those ways it is normal to enjoy watching your friends mess up, and it is normal to feel more at ease with it with friends rather than strangers.

However, it is not normal to enjoy seeing your friends fail in life, at all. That goes way beyond schadenfreude and even narcissism, straight into sociopathy.
by bruce511 | 2025-05-24 10:45:43+00:00
I've no objection to my kids living at home, and there'll always be a place for them here.

I charge them rent though - 33% of their gross pay. Not cause I need the money but because it allows them to afford to move out one day. In other words their lifestyle has "rent" built into it.

In other words I'm happy to offer a backstop. I'm less happy for them to simply ignore "becoming self sufficient adults" just because it's cheaper to live at home.
by apwell23 | 2025-05-24 10:46:52+00:00
> Learn how to use AI effectively for coding. This is absolutely non-trivial, and a lot of good programmers are terrible LLMs users (and end believing LLMs are not useful for coding).

I've been asking this on every AI coding thread. Are there good youtube videos of ppl using AI on complex codebases. I see tons of build tic-tac-to in 5 minutes type videos but not on bigger established codebases.
by interestoo | 2025-05-24 10:47:49+00:00
I do have a side project that I'm working on since May 2023. I do software, and two partners work on biz dev. We bootstrap in our own time so it's painfully hard to get any progress. Both on biz end and on tech end. We have 3 customers, and a few prospects, and the market we evaluated is big enough to sell to. With people who actually want to buy. But time does not want to stretch, and I don't have it in me anymore to work until 5am :) I'd probably get heart attack if I tried. I'm not tired of it, I'm tired of not being able to push it, it seems $ can buy you time to work on a thing, but we don't have it.
by cess11 | 2025-05-24 10:49:59+00:00
Focus on immediate profitable problem solving or do a PhD.

Over like five years we've been promised a revolution that has yet to appear and is still lighting billions of dollars on fire. Don't bet on it materialising tomorrow.

If you need comforting, go read Merleau-Ponty and Heidegger, perhaps condensed down as Hubert Dreyfus.
by z3t4 | 2025-05-24 10:50:57+00:00
You should talk to your direct manager and tell him/her that it's something you wish to work with, and you can do that instead of whatever you do at your job right now. But if your boss says no, you can ask if it's OK to do it as a side business. It's important to get on paper that it's a side business and your boss has approved it. If your boss also say no for your side business then you can still do it on your free time (IANAL) your employer can not decide what you do with your free time, but if they find out they could fire you, so it's probably not a good idea then to try to sell it to your current employer - or you can lose both your job and the sale.
by Hobadee | 2025-05-24 10:51:30+00:00
Since you already work as an automation engineer, it might be a bit harder since programming is probably part of your job, but this is what I did at a previous company: I wrote up a contract basically saying that since programming large programs was outside the scope of my normal work, any such programs I wrote would not be considered "works for hire" (a legal term in the US) and not property of the company, but instead my own property that I could sell elsewhere if I wanted. I was specifically allowed to use company resources to develop the software (including reasonable time my manager signed off on) and in return the company would get a non-exclusive perpetual right to use and modify the software as they saw fit.

This contract was a win-win. My company got the features they wanted as part of my normal employment, but I also got to keep the idea and monetize it outside the company if I wanted to. The company didn't need to worry about licensing if I left since I granted a perpetual right to use/modify.

Unfortunately for various reasons the project never got completed and I never monotized it, so I can't tell you the real-world outcome, but I do know we were all happy with the terms going into it.
by ruben-davia | 2025-05-24 10:52:48+00:00
The use of a single POST request (the underlying logic behind the @app.task decorator) is meant to simplify things, especially for users who aren’t familiar with FastAPI. It abstracts away routing and request handling so you can focus on writing business logic without worrying about HTTP methods, URL paths, or response formatting. That said, since Davia is built on top of FastAPI, you can absolutely define and use your own endpoints if you prefer.
by ruben-davia | 2025-05-24 10:53:38+00:00
With Davia, you build on FastAPI and React best practices. Streamlit and Gradio rely on fixed components, which makes it hard to adapt the UI to your specific use case. Davia lets you define any interface you need. Streamlit also has production limitations like authentication, layout control, and API integration. And for AI use cases, it reruns the whole script on every input, making state management difficult. Davia supports real-time streaming and proper stateful interactions.