MurphyA/hacker-news huggingface dataset:
by dragonwriter | 2025-04-02 09:12:49+00:00
> Born and raised in Japan and Japan won't give him citizenship?

Unrestricted jus soli (extending nationality unconditionally to those born in the territory of the state, regardless of ancestry) is largely an American (as in "of the Americas", not merely "of the United States of America", though the latter is a significant reason why it is true of the former) thing, though there are a few countries outside of the Americas who do it as well.

Some more countries have restricted jus soli, extended to those born in the territory of the state only if the government judges them to be ineligible for nationality by the law of any other state, or perhaps only if the parents are actually stateless, as a way to mitigate statelessness. (And states who have adopted a rule of this type for this purpose may have done so after the UN Convention on stateless persons in 1954, and may not have applied it retroactively.)
by NikkiA | 2025-04-02 09:12:51+00:00
Probably at about the point you look at implementing a network stack on a microcontroller that isn't the ESP32.

Yes, this could have been a ESP32 project, because that has a network stack included, but it doesn't have an LVDS LCD interface, so you're going to have to implement one or the other on any 'simple' microcontroller.
by krick | 2025-04-02 09:13:38+00:00
Maybe it's just me, since people here in the comments apparently understand what this is, but even after skimming the comments, I don't. Some simplified API example would be useful either in the "marketing post" or (actually, and) in the github readme.

I mean, it's obviously about syncing stuff (despite the title), ok. It "simplifies the development", "shares data smoothly" and all the other nice things that everything else does (or claims to do). And I can use it to implement everything where replication of data might be useful (so, everything). Cool, but... sorry, what does it, exactly?

The biggest problem with syncing is, obviously, conflict resolution. Graft "doesn’t care about what’s inside those pages", so, obviously, it cannot solve conflicts. So if I'm using it in a note-taking app, as suggested, every unsynced change to a plain text file will result in a conflict. So, I suppose, it isn't what it's for at all, it's just a mechanism to handle replication between 2 SQLite files, when there are no conflicts between statements (so, what MySQL or Postgres do out of the box). Right? So, it will replace the standard SQLite driver in my app code to route all requests via some Graft-DB that will send my statements to external Graft instance as well as to my SQLite storage? Or what?
by nizarmah | 2025-04-02 09:14:04+00:00
TIL about Antenna Theory/Design.

Yeah the human element is the strictest here. From the little research/thinking I did, BLE felt like the most "commonly available" tool we have. But I'm wondering if manufacturing a cheap wearable could also be an option.

I definitely need to do a longer/deeper dive for this project. I overlooked it in the past, thinking people don't need it. But it seems like I just dropped the ball in distribution previously.
by vidarh | 2025-04-02 09:14:10+00:00
Their manifesto promises were to the right of the main social democratic parties in Europe, and even to the right of conservatives in places like Norway. Their personal preferences might well be further left, but their manifestos were not remotely radical by European standards.

I'm happy that turning 50 this month I'm still lumped in with "younger people", but I find this rather comical.
by Muromec | 2025-04-02 09:14:38+00:00
You can be technically a citizen, but unable to prove that due to administrative errors or your parents bullshit. One weird case I remember from the news was people believing in the "sovereign citizens" thing and not exchanging their ussr passports to Ukrainian passport, than having a child and either not registering their birth or doing something of that kind.

As a result the parents can get citizenship, but don't want to, as authorities don't bother them much, but their now adult child is technically a citizen, but doesn't have paperwork to prove their status.
by anentropic | 2025-04-02 09:14:41+00:00
Looks brilliant!

My only suggestion is here:

> It also ignores any leading, trailing, or duplicate delimiters:

from textcase import case, convert print(convert("IOStream", case.SNAKE)) # io_stream print(convert("myJSONParser", case.SNAKE)) # my_json_parser print(convert("__weird--var _name-", case.SNAKE)) # weird_var_name

In the case of a conversion target that has delimiters (snake, kebab) it might be nice to have an alternative option to preserve such features but normalise them to the target delimiter

i.e.

print(convert("__weird--var _name-", case.SNAKE, preserve=True)) # __weird__var__name
by adrian_b | 2025-04-02 09:14:47+00:00
Cobalt chloride decomposes only at extremely high temperatures and it melts only at very high temperatures (726 °C), which could not be reached, in any case not before all water in the silica gel would be converted to steam and it would be eliminated. Even when no water is left, it is unlikely that the beads with cobalt chloride could absorb enough microwave energy to be heated at very high temperatures.

So by itself cobalt chloride could not cause any problem.

However, I have no idea whether the cobalt chloride is not mixed with some organic binder, to make it stick to the silica gel beads, which could burn in the oven, though that is also unlikely to happen before all water is removed from the gel, allowing an increase in temperature above the boiling temperature of water.

By using low microwave power and short time, so that no boiling of the contained water should be seen, it should be possible to dry even beads with cobalt chloride.
by Agraillo | 2025-04-02 09:15:38+00:00
I wonder whether a possible audio similarities analyzer would be capable of detecting influences described by the creators themselves. For example, in a podcast, Tal Bachman said that making his most famous hit "She's So High" started when he heard the chorus of "If It Makes You Happy" by Sheryl Crow in a supermarket. After that revelation I now can not unhear it and the choruses of those songs are connected in my brain. But the connection is not that obvious.
by londons_explore | 2025-04-02 09:16:10+00:00
The long history of both companies doing a half-assed job of entering the others markets speaks differently.

Every 'run cuda on AMD' project gets bought then cancelled. Every cuda alternative is understaffed and cancelled as soon as it starts to gain any traction, etc.

To me it looks like a clear attempt to not hurt each others businesses whilst being deny-able if anyone accuses them of unfair market practices/collusion.
by gf000 | 2025-04-02 09:16:57+00:00
Gradle is a general build tool, while cargo/go are only for their respective languages.

The moment you need to run some code from another language on your code to generate some other code or whatever, they break down, while Gradle can be used for pretty much anything.

In other words, cargo/go only solve the cache/parallelize/resolve task dependencies problem for "hard coded" special cases, the moment you strive away from that you are in a world of pain.
by henryaj | 2025-04-02 09:17:34+00:00
I had a very similar experience during a lab internship I took during my biochemistry undergrad degree.

First part of a project was running PCR on a particular plasmid that we were going to use to transfer a gene into Drosophila. But for some reason the PCR didn't work, and I spent almost all of my time trying to get the damn thing to run.

Everyone naturally assumed I was just doing something wrong, being an undergrad with little lab experience. After about ten weeks, it turned out that the lab tech had written up the protocol wrong and I was using the wrong primers. No wonder it didn't work.

Was one of the experiences that made me realise that working in a lab really wasn't for me...
by vidarh | 2025-04-02 09:17:41+00:00
He argued for some national control of some infrastructure, going nowhere as far as the most successful social democratic parties in Europe, and even not as far as some conservative parties.

E.g in Norway, the conservatives, about 4 parties to the right of the Norwegian Labour Party, not that many years ago argued a blocking minority stake of over 1/3 of the largest bank was a strategic goal for the state.

I that light, the Corbyn labour manifestos were only mildly left wing.

State ownership of some key infrastructure is popular even by a majority conservative voters.
by hilbert42 | 2025-04-02 09:18:02+00:00
"You are better off soaking the wet electronics in isopropyl alcohol."

Where I am ethanol (EtOH-95%, H2O-5%) is much cheaper and much more readily available and works almost as well. If silica gel is not available, then a fan works well followed by a warm (not hot) oven baking. Make sure the alcohol has essentially all evaporated first.

Keep in mind that some components can be affected by both EtOH and propan-2-ol — component markings, coil doping resins can dissolve, etc. Both alcohols are also good at removing solder flux resins/residues. (Oh for the days when freon and freon mixtures were available, component damage never happened.)

Devices with power transformers pose special problems, best to dry with alcohol first (hoping enamel coatings on wire aren't softened), then bake in oven on warm heat for a long while, sometimes 24 hours or more is necessary. With transformers it's important that this is done as soon as possible after wetting.

Edit: as I'm reminded by nyanpasu64 keep both alcohols away from LCD screens (likely all screens). I had a netbook PC and put it in a carry bag with a bottle of EtOH and it leaked. The PC still worked but the screen suffered the same outcome.
by ablob | 2025-04-02 09:18:43+00:00
I guess its because you can allow for custom data formats. You'll have to validate/parse the file anyways, and maybe having utc timestamps is worse than local date-time notation. Especially if the user is supposed to edit the file by hand.

I know for sure I'd like "timeout: 1h6m10s" more than "timeout: 3970". So unless you want to support really specific datatypes just being typeless is better. Putting everything in double quotes to get a string, while spec-wise would be typed, is not enough when the backing data type is not going to be a string. So you might as well throw it away and let the program handle all type conversion.
by johnisgood | 2025-04-02 09:19:24+00:00
Is this even legal? It was on the main page.

https://www.recipeninja.ai/recipe/r_dxF7OQ0O3IGXOw/actual-co...

I bet there might be a recipe of a bomb somewhere, too.[1]

April's Fools or not, I think you could get in legal trouble, but IANAL.

[1] Apparently there is: https://www.recipeninja.ai/recipe/r_SOv9sTmzAz3cg4/uranium-b...
by 0xEF | 2025-04-02 09:20:04+00:00
Do you have data on how much wood burning contributes to air pollution compared to, say, burning fossil fuels? On the surface, your comment sounds like more rhetoric trying to shift the blame from the companies to the consumer, an unfortunately common problem that is getting us nowhere in correcting environmental problems. That said, if there is data displaying this discrepancy, I'll happily change my mind.
by wbazant | 2025-04-02 09:20:47+00:00
Location: Glasgow, UK

Remote: Yes

Willing to relocate: within Scotland

Technologies: Python, Perl, Unix, Bash, Java, Nextflow, R, JavaScript, TypeScript, React, Redux, AWS Lambda, Serverless, Databricks, MLFlow, PyTorch, LLM, and more

Résumé/CV: https://wbazant.github.io/wojciech_bazant_cv.pdf

Email: wojciech.bazant@gmail.com

Github: https://github.com/wbazant/

I am a data engineer and a broadly skilled generalist senior developer - and in the past, a bioinformatician.

Bio summary: After a graduating with a maths degree in 2014 and an early career role in finance, I found my path to data engineering in bioinformatics in 2016, initially as a full stack developer in a research institute and then taking on increasingly data focused work. I worked in life sciences for many years, until in 2023 I joined a healthcare startup, which for an exciting year and a half was a great opportunity to experiment with 'modern practice' like Databricks and integrating LLMs. Looking for new opportunities to engage in meaningful work.

From my bioinformatics and data engineer experience, I'm good at interfacing with researchers and turning ideas and prototypes into working products: developing data flow workflows, evaluating performance of models, providing interfaces and entry points for clients, and more.

Throughout my career, I've had the privilege of contributing to significant projects in academic, commercial, and non-profit settings. If my profile or any of the technologies listed resonate with you, feel free to reach out via email!
by vidarh | 2025-04-02 09:21:37+00:00
One of the key critiques of The Guardian from the UK left is that they are seen as enabling or allowing quite regressive views on some social issues. It's the area where the left is perhaps most negative to them, with it not being unusual to criticise them for allowing e.g. transphobic views, so it's an odd thing to say. They are very much not in line with UK left-wing politics.
by immibis | 2025-04-02 09:23:54+00:00
I don't see the point in putting another guard rail behind the override that's supposed to remove all guard rails. Java doesn't even have a security model any more, so what are you protecting?

Programmers from their own mistakes? That's fine, but this is about cases where they set the "I really mean it and this isn't a mistake" flag.

The JVM's optimized code from programmers? Plausible, but aren't there already many cases where things get deoptimized based on run-time state changes?

It feels like someone just said "final means final!" without really thinking about the purpose of a JVM. Will there be a proposal to enforce checked exceptions, too?
by pebal | 2025-04-02 09:24:40+00:00
Java currently has no fully concurrent GC, and due to the volume of garbage it manages and the fact that it moves objects, a truly fully concurrent GC for this language is unlikely to ever exist.

Non-moving GCs, however, can be fully concurrent — as demonstrated by the SGCL project for C++.

In my opinion, the GC for Go is the most likely to become fully concurrent in the future.
by anentropic | 2025-04-02 09:24:47+00:00
You're going to read the configuration in a target programming language

So if the config format has its own type system you then have to convert between config types and language types

If the config type doesn't map exactly onto the target lang type you either ignore it and accept some values won't round-trip cleanly or without error, or you fall back to using strings (e.g. various possible integer type sizes, signed/unsigned etc, or decimal values via JSON)

Not saying it's always the right choice, but I can see why having lowest common denominator stringly-typed values as the config format can be seen as a feature allowing you to define the type system that the config will be parsed under to suit each particular application
by _factor | 2025-04-02 09:26:10+00:00
Advertising is like pollution. Normal people realize they’re getting poisoned, but they still get to where they need to be, so don’t bother to change it.

We need to make collected data and metadata public. If a cabal of advertisers is considered an ethical steward of the information, a public database can’t be much worse. Scare the bejeezus out of moms and pops and watch the tide shift.
by imiric | 2025-04-02 09:28:03+00:00
There's a world of difference between broadcasting true capabilities of a product or service, and embedding subconscious thoughts into the minds of people to associate a brand with a feeling, in the form of "lifestyle brands", "torches of freedom", etc. The former is informing people about something that exists, while the latter is psychological manipulation straight from propaganda playbooks. Please read about the life and work of Edward Bernays, and this distinction will be clear.

Actual "honest" advertising doesn't exist. Companies that attempt to do that are outcompeted by the vastly superior revenues of companies that don't. The story that marketers tell themselves that they're simply informing the public about a product or service they might not know about is absolute BS. If it were true, large companies like Coca-Cola and McDonald's wouldn't need to advertise at all. The truth is that it's all about constantly molding the public perception of a company in a way that makes them associate it with a positive feeling, so that they will subconsciously choose to give them their money. These are the same tactics used in propaganda, but instead of making people part ways with their money, it makes them think or act in any way that's beneficial to a specific cause.

The language I use is not hyperbolic, analogies aside. It's the only way of describing the insanity of the world we live in, which now resembles in many ways the fictional world novel authors have been writing about for decades. If you want to engage in the discussion, you can start by refuting anything I've said.
by bbrks | 2025-04-02 09:28:39+00:00
This space is very much alive and well and I'm really glad there's more competition cropping up from smaller projects like OP.

Disclaimer: I have worked on a sync backend for a company in this space for the last 8 years. You can probably find out where if you look, but this comment won't be a sales pitch.

Competition like this has incredible value for communities with poor internet access but reasonable development capabilities. Think about travelling doctors in the lesser developed countries and areas of Africa for instance. Quite often entire villages get medical checkups done, with data being recorded on a tablet. This can be synced once the doctor gets to a town with internet access for follow-up. Of course, projects like the above do not have big budgets. Unfortunately they are priced out of using a lot of tech to solve these problems (my company included in this statement)

On the more enterprise-y side, which is where I mostly sit, a lot of airlines, cruise ships, retail and field-based industry use these technologies, since they are prone to periods of being completely offline or in a P2P mesh only. Cloud databases or even regular replicated databases running in-situ are a non-starter, since there won't be anybody around to administer it. Replication is a difficult problem at the best of times, let alone in periods of comms downtime.
by adrian_b | 2025-04-02 09:28:58+00:00
If the indicator is cobalt chloride, which is blue when dry and pale pink (possibly almost invisible) when wet, that can be toxic or carcinogenic when ingested in great quantities, or when you inspire a lot of dust of it, but it is not dangerous to handle when in compact form.

It is certainly not something like a poison, where small quantities can have harmful effects, at least not for most people.

Like nickel, cobalt can cause allergies in some people, in which case repeated exposure can have serious effects even in small quantities, in those humans who are sensitive to it.
Show HN: A Free Gaming Rewards Platform
by ldobreira | 2025-04-02 09:31:15+00:00
I built a gaming platform where you can claim in-game items, full games, and other gaming goodies, for free. No paywalls.

What started as a small passion project has now turned into LootXP, and today, the beta is officially live! We also launched on Product Hunt, so it’s an exciting day.

I’d love to hear thoughts from the HN community, potential monetization approaches (while keeping it free for users), and ways to improve.

Check it out: https://www.lootxp.com
by decimalenough | 2025-04-02 09:31:47+00:00
If you're wondering how the author became stateless, their CV has a line at the end about this:

I am legally stateless, as my grandparents came to Japan before WWII and became stateless after it

https://shorturl.at/MX9MK (PDF)

Basically, Koreans who were in Japan before the Korean war and did not wish to become South Korean became stateless, since Korea was no longer a Japanese colony and Japan does not recognize the North. Only around 23,000 out of some 500,000 still remain stateless, since these days it's quite straightforward for them to become Japanese or South Korean if they so wish.

https://en.wikipedia.org/wiki/Ch%C5%8Dsen-seki

And I'm a bit curious about why the author has not done so, although the fact that they attended the North Korean-supported Tokyo Korean High School, complete with portraits of the Kims in each room etc, suggests at least his parents were DPRK supporters.

Update: The author expounds on the topic at length here: https://taejun.substack.com/p/founders-peak-speech-script

A few quotes:

"However, until recently, there was a rule requiring us to change the pronunciation of our name to the Japanese reading of the Chinese characters. .. Even though the rules have relaxed somewhat now, I have lived with this identity for so long that I’m not inclined to alter it for now."

"Remaining stateless has become a constant reminder for me to stay mindful of those who are underprivileged. It also works as a promotion for the 10 million stateless people worldwide, living with uncertain legal status and limited protections. If I had not been born stateless, I would not be as serious about equality of opportunity as I am today." "
by cdirkx | 2025-04-02 09:31:47+00:00
I don't think this is unique to code, but a limitation of filesystems in general. You could make the same argument for photos: I want them sorted by date, by tag, by person in the image, by location.

I can do this in Lightroom or my "Photo" app, but then you are always reliant on some third-party tool. It would be nice if there was some native way for files to not have to commit to a single hierarchy, but able to switch views on the fly (without it being insanely slow for larger amount of files).
by samus | 2025-04-02 09:32:17+00:00
Nobody requires projects to pollute their codebases with getter and setter boilerplate. People do that to themselves. The OpenJDK project should not enable that nonsense further, but provide support for better programming patterns. Support for creating getters and setters is already provided by annotation processors.

Official support for compiler plugins (Lombok is an unofficial compiler plugin, not a mere annotation processor!) would effectively allow people to create dialects of Java. This would splinter and blunt the momentum that has carried the language forward for the last 30 years by fragmenting the ecosystem because for many legacy applications it will be impossible to migrate to one of the prevalent dialects.
Trying to make sense of "vibe coding" with VibeCodingHub
by heytcm | 2025-04-02 09:32:20+00:00
Hi HN,

Like many of you, I've seen the term "vibe coding" floating around – using LLMs via natural language prompts to generate code, sometimes without deep scrutiny (popularized by Karpathy, seen in tools like Cursor). The discussions are all over the place: excitement about accessibility, fear of technical debt, debates about its viability.

It felt like the information was scattered. So, I built VibeCodingHub ( https://vibecodinghub.borninsea.com ) as an attempt to consolidate resources and foster clearer discussion.

The site brings together: 1. *Definitions & Context:* What is it, really? Pros/Cons? 2. *Tool Directory/Reviews:* Focus on tools like Cursor, Claude, Replit commonly used for this. 3. *Prompt Library:* Sharing working prompts for common tasks. 4. *Community Space:* For sharing projects and discussions (early stages). 5. *News Aggregation:* Tracking the trend.

The goal isn't necessarily to promote vibe coding, but to provide a central resource for understanding it, finding relevant tools/techniques, and discussing it critically.

Launched this recently and looking for feedback from the HN crowd: * Does this fill a gap you've noticed? * What's missing? * Is the balance between hype/potential and risks/criticism right? * Any usability issues jump out?

Appreciate any thoughts or suggestions!