MurphyA/hacker-news huggingface dataset:
by umeshunni | 2025-07-11 04:02:49+00:00
~90% of payments in China use a phone: https://daxueconsulting.com/payment-methods-in-china/

~50% in India: https://www.pymnts.com/mobile-wallets/2023/cash-not-king-in-...

~60% in Brazil: https://www.pymnts.com/mobile/2025/payment-glitches-stall-br...

Similar trends in Africa, though exact numbers were harder to find: https://www.finextra.com/blogposting/27913/africa-the-unlike...
by rusticwizard | 2025-07-11 04:03:49+00:00
If you go the session variable route and are concerned about SQL injection, this paradigm won't likely work for you. However, you can replace the session variable with a role per tenant which avoids the scenario you are describing. The caveat there is that you will now have to manage a role per tenant which can be troublesome if you are trying to pack lots of tenants.

We're planning to introduce an immutable session variable later this year to make the session-based approach more viable. It won't stop someone from tampering with the tenant_id before it's initially set, but it will prevent any changes afterward. Though in practice, most of our customers aren’t too concerned. They have application-layer guardrails in place and are confident that users can’t tamper with session state directly.

But yes, there are trade offs either way.
by defrost | 2025-07-11 04:04:29+00:00
UHV (both AC and DC) has worked out as planned in China, so much so that there's still more under construction today and scheduled for the future.

It seems premature to write that all off given it's ongoing.

Nuclear is also expanding as planned, as a small percentage of renewable power, and China's coal use is peaking and starting to level and planned to fall in the short term future.

The interesting nuclear project to watch in china is their third generation salt reactors .. their small pilot has been running for a whilke, their second gen is completed (?) and starting to return data at the next scale up, and the third generation plant is in the initial construction phase (to be modified on the fly as results come back from the pilot and second gen plant.

https://en.wikipedia.org/wiki/Ultra-high-voltage_electricity...
by Ferret7446 | 2025-07-11 04:05:15+00:00
And a lot of software don't use syslog because it's easier to print to stderr/stdout or some random log file. Journald makes it easier to capture everything no matter what the software does, including the established syslog protocol, so I don't even see your point.

If everything on your machine uses syslog, journald is a drop in replacement for the dozen of possible syslogd implementations.
by saghm | 2025-07-11 04:05:31+00:00
> Unfortunately that's the goal. Your call and I respect that, but the current administration doesn't care, they want folks who they determine have the wrong point of view out.

I agree with you, but I also think it would be unfortunate to frame this as somehow the responsibility of those who would be suffering the risk to come here to combat this. As much as I'd love for people to come just to stick it to the current government, I honestly think it's probably a better idea for them to prioritize their own safety and security over trying to fight against it. The rest of the world doesn't owe it to us to fix our mess for us.
by jallmann | 2025-07-11 04:06:47+00:00
Yes, this exactly - I wouldn't call it nitpicky, it is really buried in there. I understand Cloudflare has a ton of other products and features, but the discoverability for CF Tunnels really could be better.

Just checked and it's:

Dashboard home > Zero Trust > Networks > Tunnels > [tunnel] > Public Hostname

And if it ends up provisioning a new DNS record, I always have to remember to go back to the domain's DNS screen and label it with the tunnel.

In general I use a tiny silver of Cloudflare's capabilities; it would be nice if the primary dashboard could bubble up the parts that I do use.
by bitmasher9 | 2025-07-11 04:07:24+00:00
Not to be too meta, but it’s kind of boring to point out the obvious limitation of the research method.

“No casual link is proven” could be said about so much science, specifically medical science and other disciplines which limit research methods for ethical or practical constraints. So you end up with this comment in every front page post about an observational medical study. We could be discussing the actual research or its implications, instead of repeating a discussion on limitations of research methodology.

In addition, I find these types of critics to be a little too cynical even for my taste. There’s a whole group of people that feel smart by finding ways to dismiss scientific studies even when there is some actually interesting data being brought up.
by stodor89 | 2025-07-11 04:10:50+00:00
It is much better though. What EU country has been headed by the same person for 22 years? What EU country has its greatest ever football player flipping burgers at the other end of the world under a fake name, because he dared to not show full support for the supreme leader? What EU country faked a coup in order to change laws, so that the supreme leader can stay in power, ban opposition, and oppress minorities?

I mean yeah, EU certainly has a long, long, LONG list of problems, but let's not lose sight of the big picture.
by jacknews | 2025-07-11 04:11:54+00:00
I don't think resource use is any business of teachers to be honest.

The problem with AI currently is that the students have figured out how to use it to cheat, but the teachers haven't figured out how to use it to teach.

AI is here, we need to figure out how to use it effectively and responsibly. Schools should be leading on this, instead of putting their heads in the sand and hoping it goes away.
by mbesto | 2025-07-11 04:13:05+00:00
I use CF tunnels pretty extensively with my home unraid server.

The TL;DR is this - there are certain apps I host that I want to be public and don't want to onboard a Tailscale node (for example my sister uses my Plex server). So, instead of setting up a reverse proxy, I simply create a subdomain in DNS (via CF) and then route that subdomain to the CF tunnel.

It's like 3 form entries to do all of this for one site/service and automatically creates an SSL cert for me. I love it.
by VoidWhisperer | 2025-07-11 04:13:14+00:00
When they say given 'x number of prescriptions of gabapentin', what does a prescription actually mean dosage and length wise?

I would love more info on this because I have been taking gabapentin for years due to nerve damage from having Guilliane-Barre syndrome.

Edit: Re-reading the article, i see 'The researchers also acknowledge that their study was retrospective, and they weren't able to account for dose or length of gabapentin use.' - this seems like a pretty gaping hole in trying to draw an kind of conclusion from this
by trhway | 2025-07-11 04:13:55+00:00
>The Lumina Probiotic aka BCS3-L1 is a genetically modified strain of Streptococcus Mutans that was originally billed as producing ethanol and acetoin instead of lactic acid, outcompeting the wild type upon inoculation and thus dramatically reducing incidence of caries caused by acid buildup on the teeth.

i'm yet to see an alcoholic whose regular "mouth washing" by ethanol leads to good teeth (despite ethanol being very powerful antiseptic) .
by jampa | 2025-07-11 04:14:02+00:00
> who is actually getting value out of these batch APIs

I used the batch API extensively for my side project, where I wanted to ingest a large amount of images, extract descriptions, and create tags for searching. After you get the right prompt, and the output is good, you can just use the Batch API for your pipeline. For any non-time-sensitive operations, it is excellent.
by scarecrowbob | 2025-07-11 04:14:50+00:00
What blows my mind is that the US gov (of which I am a "citizen") considers my opinions to "pose a threat to U.S. national security".

The idea that they'd like kick me out of my own damn country for thinking what I think about them is worrisome, at best.

If I can only think what I think because I have some special status as a citizen, and "what I think" has been proscribed as illegitimate by the government, it feels a bit chilling.
by jaredklewis | 2025-07-11 04:15:34+00:00
I’m confused as to why anyone would think this would be possible to determine.

Like can we determine the productivity of doctors, lawyers, journalists, or pastry chefs?

What job out there is so simple that we can meaningfully measure all the positive and negative effects of the worker as well as account for different conditions between workers.

I could probably get behind the idea that you could measure productivity for professional poker players (given a long enough evaluation period). Hard to think of much else.
by MarkMarine | 2025-07-11 04:15:48+00:00
Router is a very dangerous tool, and it will steal from you the joy of creating profiles by hand with moulding planes, one of the most rewarding things in woodworking. This book is a great guide: https://lostartpress.com/products/mouldings-in-practice?srsl... You can get by quite well with a rabbit plane and 3/8" hollow + round and 5/8" hollow + round places. I prefer the HNT Gordon Planes, beautiful hand made planes from australia: https://www.heartwoodtools.com/hntgordon/hollow-and-round-pl...
by consumer451 | 2025-07-11 04:15:54+00:00
> The left opened the doors of academic and internet censorship

This was almost entirely an astroturfed campaign, which very effectively worked to whip people up into believing that they were being censored.

Whenever it came up in the last few years in online conversations, I would ask "OK, so what are you being censored from saying?" Dozens, maybe a hundred times, of me asking that question, and it was nearly always crickets in response.

What is the evidence of "the left" censoring academia? Whenever I dig into that, it's sloppy science, fringe theories, or straight up crackpots who couldn't get published in a journal, who then found popularity on youtube and podcasts doing the "I am being censored by Big Science" grift.

If anyone would care to educate me on this, with evidence, I am here for it.
by Mr_Minderbinder | 2025-07-11 04:17:36+00:00
> I understand that unassociated alpha gives you more precision in 8bit and since people wanted to e.g. store color ramps (with alpga) in PNG at the time…

They do not mention precision at all in their rationale for that: “We standardized on non-premultiplied alpha as being the lossless and more general case.”

> And when 16bit PNG got introduced...

PNG has supported 16-bits per component since it was first introduced (see version 1.0 of the spec or RFC 2083).
by fathomdeez | 2025-07-11 04:17:42+00:00
I don't think of those as business logic, per se. They're just validity checks on what the data should look like before it's written to disk - they're not actionable in the way L/N is. That being said, constraints usually end up being duplicated outside the db anyway, but having them where the data rests (so you don't have to assume every client is using the correct constraint code) makes sense.
by ethersteeds | 2025-07-11 04:17:52+00:00
I think you're saying that you want mailing lists to be handled as a series, and old editions deleted automatically. And indeed, I've never seen that.

But Fastmail has an "auto purge after x days" feature on folders, which comes pretty close in practice. You just need a rule that routes your mailing lists there. I use their email wildcards with my domain along with a convention of using a specific prefix to my address when signing up to mailing lists.

Combined with OR rules for other individual from: addresses and most of my lists show up in one place and delete after 30 days.
by xyzzy123 | 2025-07-11 04:17:59+00:00
Right but having access to a Cadence license is considered "elite" (it means you are a Real Engineer), while having to use mssql server means you're kind of a schlub (who probably has to work for a real business, that makes money but is super boring, with no equity, among people who don't understand any of this status hierarchy at all).
by dalyons | 2025-07-11 04:18:39+00:00
in $/kwh.

We are in fact doing things soley because of cost, and pretty much only because of cost, because capitalisim. Solar and wind are now cheaper than all alternatives in most situations, so they are rapidly becoming all thats being built. We are doing the cheapest thing, which just so happens to be great for carbon, luckily for us. If we get out of this climate mess it will almost be by accident, because we made solar cheap, not because we chose to do the right thing.

Honestly you need to look into numbers for some of your points, and you'll see the folly. Land usage, its a non issue. For eg, its estimated that if around 1/3rd of the land the US currently uses for corn ethanol was converted to solar, it would power the whole country. And thats existing used land without talking about the insane amount of empty spaces that exist. non issue.

For storage, solar+24hr storage is now cheaper than new gas, and dropping fast (https://ember-energy.org/latest-insights/solar-electricity-e...).

Yes there are new nuke designs that are cool, but they're at least 10-20 years away from deployment at scale, by which time renewables and storage will be much cheaper still, and the transition will be mostly over. Im not anti at all, they're just too late, too slow and too expensive.

I think you need to catch up on developments in the last few years, and re-evaluate what seems ridiculous to you, a lot has changed very quickly. Cheap energy abundance via renewables is now a very likely outcome.
by pugio | 2025-07-11 04:20:31+00:00
Hah, I've been wrestling with this ALL DAY. Another example of Phenomenal Cosmic Powers (AI) combined with itty bitty docs (typical of Google). The main endpoint ("https://generativelanguage.googleapis.com/v1beta/models/gemi...") doesn't even have actual REST documentation in the API. The Python API has 3 different versions of the same types. One of the main ones (`GenerateContentRequest`) isn't available in the newest path (`google.genai.types`) so you need to find it in an older version, but then you start getting version mismatch errors, and then pydantic errors, until you finally decide to just cross your fingers and submit raw JSON, only to get opaque API errors.

So, if anybody else is frustrated and not finding anything online about this, here are a few things I learned, specifically for structured output generation (which is a main use case for batching) - the individual request JSON should resolve to this:

```json { "request": { "contents": [ { "parts": [ { "text": "Give me the main output please" } ] } ], "system_instruction": { "parts": [ { "text": "You are a main output maker." } ] }, "generation_config": { "response_mime_type": "application/json", "response_json_schema": { "type": "object", "properties": { "output1": { "type": "string" }, "output2": { "type": "string" } }, "required": [ "output1", "output2" ] } } }, "metadata": { "key": "my_id" } } ```

To get actual structured output, don't just do `generation_config.response_schema`, you need to include the mime-type, and the key should be `response_json_schema`. Any other combination will either throw opaque errors or won't trigger Structured Output (and will contain the usual LLM intros "I'm happy to do this for you...").

So you upload a .jsonl file with the above JSON, and then you try to submit it for a batch job. If something is wrong with your file, you'll get a "400" and no other info. If something is wrong with the request submission you'll get a 400 with "Invalid JSON payload received. Unknown name \"file_name\" at 'batch.input_config.requests': Cannot find field."

I got the above error endless times when trying their exact sample code: ``` BATCH_INPUT_FILE='files/123456' # File ID curl https://generativelanguage.googleapis.com/v1beta/models/gemi... \ -X POST \ -H "x-goog-api-key: $GEMINI_API_KEY" \ -H "Content-Type:application/json" \ -d "{ 'batch': { 'display_name': 'my-batch-requests', 'input_config': { 'requests': { 'file_name': ${BATCH_INPUT_FILE} } } } }" ```

Finally got the job submission working via the python api (`file_batch_job = client.batches.create()`), but remember, if something is wrong with the file you're submitting, they won't tell you what, or how.
by intended | 2025-07-11 04:21:29+00:00
> LLMs, especially at the scale we see today

The OP qualifies how the marketing cycle for this product is beyond extreme, and its own category.

Normal people are being told to worry about AI ending the world, or all jobs disappearing.

Simply saying “the problem is the user”, without acknowledging the degree of hype, and expectation setting, the is irresponsible.
by spoaceman7777 | 2025-07-11 04:22:19+00:00
Depends whether you asked it to just write the code, or whether you asked it to evaluate the strategy, and write the code if nothing is ambiguous. My default prompt asks the model to provide three approaches to every request, and I pick the one that seems best. Models just follow directions, and the latest do it quite well, though each does have a different default level of agreeability and penchant for overdelivering on requests. (Thus the need to learn a model a bit and tweak it to match what you prefer.)

Overall though, I doubt a current SotA LLM would have much of an issue with understanding your request, and considering the nuances, assuming you provided it with your preferred approach to solving problems (considering ambiguities, and explicitly asking follow up questions for more information if it considers it necessary-- something that I also request in my default prompt).

In the end, what you get out is a product of what you put in. And using these tools is a non-trivial process that takes practice. The better people get with these tools, the better the results.
by MarkMarine | 2025-07-11 04:22:22+00:00
The saw stop creator patented and tried to license his tech (not make a saw,) the major manufacturers didn't want to pay the license fees.

I sort of get it, for actual job sites using dimensional lumber you're going to have the saw in bypass the entire time because the wood is wet, making the safety moot so the market is there for hobbyists but not pros.

First thing the "pros" do is remove the guards. I've never seen a guard on a jointer or a shaper at a pro shop. The products fit the demand in the market.
by hlieberman | 2025-07-11 04:23:30+00:00
n=1 isn't necessarily data, and I have other questions (the formate concentration of the probiotic variant is 4x over JH1140, but JH1140 is itself a mutant; what's the formate production of an average wildtype strain?). Methanol can cause blindness in as little as 4mL, so the amounts we're talking about are relatively small; 4mL of methanol ≅ 99mmol.
by toomuchtodo | 2025-07-11 04:24:19+00:00
60 percent of Americans can’t afford a minimum quality of life Gary, I think we should give the Democratic Socialist a chance. Billionaires had their chance, and less than a handful are decent humans (and the best ones are giving it away as fast as they can; Melinda French Gates and MacKenzie Scott).

https://en.wikipedia.org/wiki/The_World%27s_Billionaires

(“It is difficult to get a man to understand something, when his salary depends on his not understanding it”)
by sbstp | 2025-07-11 04:24:22+00:00
I've been disappointed by Nats. Core Nats is good and works well, but if you need stronger delivery guarantees you need to use Jetstream which has a lot of quirks, for instance it does not integrate well with the permission system in Core Nats. Their client SDKs are very buggy and unreliable. I've used the Python, Rust and Go ones, only the Go one worked as expected. I would recommend using rabbitmq, Kafka or redpanda instead of Nats.
Show HN: Keep up with the world without information overload
by vincentyyy | 2025-07-11 04:24:44+00:00
Hey everyone,

I feel like a lot of us have gotten used to social media as our main way to stay informed. It’s where we get our news, trends, opinions, and everything. But honestly, my attention has been wrecked by it. TikTok, X, Instagram... I go in to check one thing and suddenly I’ve lost 90 minutes.

So I started wondering what if we could actually control what we see? Like, fully. What if we could own our feed instead of letting the algorithm choose what we scroll through?

To play with that idea, I built a small demo app. You just type in what you want to follow, like “recent crypto big things”. The app uses AI to pull updates every few hours. It only fetches what you tell it to.

Currently this demo app is more useful if you want to be focused on something (might not be that helpful for entertainment yet). So at least when you want to focus this app can be an option. I’ve been using it for a couple of weeks and it’s helped me stop bouncing between X and LinkedIn.

If you're interested in being our beta testers, check it out: www.a01ai.com. After you sign up, you will receive a TestFlight link to our app.

Would love to hear what you think.
by budududuroiu | 2025-07-11 04:25:55+00:00
If Australia genuinely wanted to improve the lives of its children, it would first tackle the loopholes in its child support scheme [1].

But then again, as with Chat Control and other such schemes, “save the children” is used to usher in breaking of all citizens’ privacy. I bet Aus is insanely jealous of China’s mandatory ID checks on their superapps

[1] https://www.theguardian.com/society/2024/oct/08/single-paren...
by mcdeltat | 2025-07-11 04:27:41+00:00
Many commenters focusing on the ROI part of your comment but I totally agree with your premise based on my own experience as a young person.

How I would word it is younger people are generally less inclined to invest in (real/in-person?) social interaction. I suspect some bar for motivation or entertainment has changed so people don't socialise the same. Probably intertwined with rise in mental health issues too. Be less interested in socialising and it's no surprise the result is less socialising, in one form or another.

In my experience yeah people don't often reach out or reciprocate effectively when it comes to socialising. Or they stick to a very small group.
by floren | 2025-07-11 04:28:20+00:00
The idea is that the wild-type Streptococcus that already lives in your mouth produces lactic acid, which is bad for your teeth. The modified bacteria produces ethanol instead, which is neutral for your teeth. I don't believe there's any assertion that the ethanol is helpful to your teeth, just that you're going to have some bacterial colony in your mouth, so they are trying to change the byproducts of that colony to something less bad.
by pyuser583 | 2025-07-11 04:28:21+00:00
The rights of non-citizens outside the US are not well protected by the constitution.

There was case a while back where a border patrol agent in Texas shot a person in Mexico. No ability sue.

The constitution only restricts the government (some exceptions), and is therefore unusually silent in where the government isn’t the government.

This is unfortunate, because the US government absolutely operates in foreign countries.
by somenameforme | 2025-07-11 04:28:41+00:00
> I haven't used Claude Code, however every time I've criticized AI in the past, there's always someone who will say "this tool released in the last month totally fixes everything!"... And so far they haven't been correct. But the tools are getting better, so maybe this time it's true.

The cascading error problem means this will probably never be true. Because LLMs are fundamentally guess the next token based on the previous tokens, whenever it gets a single token wrong - future tokens become even more likely to be wrong which snowballs to absurdity.

Extreme hallucination issues can probably eventually be resolved by giving it access to a compiler and, where appropriate, you could also probably feed it test cases, but I don't think the cascading errors will ever be able to be resolved. The best case scenario will eventually it being able to say 'I don't know how to achieve this.' Of course then you ruin the mystique of LLMs which think they can solve any problem.