MurphyA/hacker-news huggingface dataset:
by zbrw | 2025-04-07 13:11:42+00:00
Things to note: 1) supply a JSON schema in `config.reponse_schema` 2) set the `config.response_type` to `application/json`

That works for me reliably. I've had some issues with running into max_token constraints but that was usually on me because I had let it process a large list in one inference call, which would have resulted in very large outputs.

We're using gemini JSON mode in production applications with both `google-generativeai` and `langchain` without issues.
by verelo | 2025-04-07 13:12:17+00:00
Something i like doing from time to time is picking a foreign movie, ie Russian (you know, the standard bad guys) and just pretend it’s a US based movie. Or the reverse, watch something based in the US and turn on Russian dubbing.

It’s funny how quickly you realize the bad guys are both sides.

I say this because often when trying to interpret media i feel the language and accent of the presenter influences me. “They sound like me” therefore i start with an assumption they think like me. Rarely anyone in fox thinks like me.
by gitfan86 | 2025-04-07 13:12:18+00:00
This is the nature of social media. If you see 10 examples of something happening in another country there is a good chance you will alter your behavior.

The reverse scenario is happening too. There are americans that refuse to go to europe because of the examples they seen of immigrants committing crimes and ruining neighborhoods.

As someone who spends a lot of time on both locations, I know that both scenarios are rare, and can logically overcome the emotional response after seeing examples online. But for people who don't travel much I understand.
by xkriva11 | 2025-04-07 13:12:29+00:00
I think it's a variant of the Anthropic principle. This project has been around for many years, and if it hadn't been based on Smalltalk at the time, it might not have come into existence. It's a natural extension of how Smalltalk environments approach development tools, pushing it to a new level. For more technical details, refer to https://pharo.org/features.
by api | 2025-04-07 13:12:40+00:00
Containing fragments doesn't mean this is a dire wolf, or does it? Biological categories like species are fuzzy anyway. There is tremendous variation within each species. But where do you draw a line?

It's something that perhaps has more in common with a dire wolf than extant wolves. Maybe it looks like one. Does it act like one? Do we have any way of knowing?
by bayindirh | 2025-04-07 13:12:53+00:00
I constantly travel to EU for work. I see all kinds of people from any part of the world, and they pass through fine.

When I traveled last time, I have witnessed an European denied entry for a reason I don't know, and a white male without any beard has been escorted into the immigration office.

Said office had a giant window. The officers were just chatting with him while checking his documents, and also drinking some coffee and eating some cake. I didn't look that long to see whether they have offered the same to him (because it's rude).

Also, I don't have an EU/UK/US passport, and I just pass fine.
by ben_w | 2025-04-07 13:13:09+00:00
I think you're describing a completely different geometry than I'm describing.

An ℝ²-brane such as flatland existing in a ℝ³ bulk is different to an ℝ²⨯S¹.

If the S¹ part* is present in our universe to the degree that it can explain anything about gravity, it should also have an impact on everything else in the universe larger than the radius of the S¹ dimension's circumference.

* well, S^n ⨯ T^m, the version of string theory I hear most about has n+m = 6, but there are others, and this thread is a toy model where n=1, m=0

Edit: Apparently the U+1D54A character is stripped, so put a plain ASCII "S" back in.
by ignaciovdk | 2025-04-07 13:13:15+00:00
Hey HN,

After two decades in tech (Microsoft, startups, data platforms, the works), I realized I was spending more time explaining my job than actually doing it.

Especially as a Solutions Architect / Sales Engineer — one of the most misunderstood roles in the game.

So I started a weekly newsletter called Architect This. It’s part therapy, part insight, part "why does no one know what this job actually is?"

I write about: - What SAs and SEs really do (hint: it's not just demos and diagrams) - How we bridge chaos, customers, and roadmaps - The daily emotional rollercoaster of pre-sales, onboarding, and fixing things we didn’t break

If you've ever: - Fixed a broken dashboard while explaining it to a customer - Been told "just do a quick demo" with no prep - Acted as the translator between sales promises and engineering reality

…then yeah. This one's for you.

Would love feedback, stories, war flashbacks, etc.
by BozeWolf | 2025-04-07 13:13:17+00:00
What is wrong is that it does not help with the discussion. It makes the discussion personal by calling someone a fascist or a leftie. A good discussion is about the subject, not the person. Also it makes both X and Bluesky feel opinionated, making a good discussion impossible.

I must say that I did not see any death threats on X either, but i just choose to stay away from that part of the platform.
by nedimdauti | 2025-04-07 13:13:27+00:00
As business owners, admins, or anyone working with data, we’ve all been there: spending hours manually extracting info from invoices, PDFs, receipts, or even scraping websites. It’s time-consuming, repetitive, and prone to errors.

Three weeks ago, we launched a tool to solve this exact problem. In that time, 150+ users and 20 companies have jumped on board and shared incredible feedback. No ads, no marketing — just real people who needed a better solution.

What sets this apart? Unlike typical OCR tools that just spit out raw text, our AI understands the structure of the data, extracts the fields you need, and hands them back in clean, usable formats like CSV, JSON, or straight into your CRM or ERP system.

Here’s how it works:

Drag and drop files, paste a URL, or use our API to automate extraction

The tool understands documents and websites, pulling out data automatically

You get structured, clean data, ready to use in your systems without any formatting headaches

It’s that simple. No more hours spent copying and pasting data. Just clean, actionable info — and it integrates with your current tools.

If you’re tired of wasting time on manual data entry or scraping websites manually, we’d love to have you join our beta. We’re offering 3 months free for those willing to test and provide feedback on real-world use cases. Let us know if you’re interested, and I’ll send you the link!
by chimeracoder | 2025-04-07 13:13:48+00:00
> Depends on which part of Europe. In the more diverse parts, nobody would bat an eyelid (even if border police might profile you).

As a person who matches the description above, and has traveled to Europe extensively and frequently, I can tell you that as much as Europeans like to believe this is this case, it is absolutely not true.

> Nobody will throw you in jail in indefinite detention in another country with no human rights because of your skin colour, beard, tattoos or anything of the like. Other than of course the usual suspects of Belarus, Russia, Azerbaijan and etc. who could for any reason.

Unless you're making some extremely critical assumptions about how much wear the word "indefinite" can bear, this is unfortunately not true either.
by diggan | 2025-04-07 13:13:48+00:00
> The GDPR does not prevent US big tech from operating in the EU.

Of course it doesn't, that'd be stupid. But it does require them to be compliant, otherwise they'll face fines and eventually they'll chose to either be compliant, or exit the market.

As a EU citizen with rights, I love this, exactly what I want from my inter-continent union of countries.
by ModernMech | 2025-04-07 13:13:48+00:00
Hall was ousted from velodyne. He's salty.

He began selling shares because he didn't like the direction of the company and was unhappy about being forced out of it, he told the Business Journal. From almost the moment he was pushed out until this spring, he fought a war with Velodyne in the press, at shareholder meetings and in the courts. Although the lawsuit he filed against the company is ongoing, he eventually decided the company was a "dump" and couldn't be salvaged.

https://archive.is/oxwoh
by baxtr | 2025-04-07 13:13:58+00:00
I think it's relevant to consider the baseline.

Based on a quick online research, I estimate there are about 30-40k visitors landing from Europe in the US on any day. So roughly 3 million people in the last 3 months.

I have seen maybe 5-10 very prominent cases in the last 3 months.

Are these numbers roughly correct?

Do we have any knowledge that this number is higher than before?
by vladnedelcu | 2025-04-07 13:14:05+00:00
I also had an idea for Bitcoin entirely that was mostly build on Escrow, and I saw a startup at YC that was focusing on Base chain. The fact that this is targeted for ETH is super great.

I want to understand more on how you receive and off-ramp your donations because if it was only for USDC (which also complies with EU regulations) I knew how a normal workflow would go.
by ikanreed | 2025-04-07 13:14:06+00:00
So... immigration services in the US don't use criminal language when discussing how they handle people accused of immigration offenses, because there's a whole legal structure to pretending it's a civil infraction and thus you don't have any rights related to say... trial by jury or the state proving your guilt beyond a reasonable doubt.

But. The mechanical processes can include indefinite detention in facilities that look and function exactly like jails.

So... what you CALL it is almost certainly something different than what it is.
by Squeeeez | 2025-04-07 13:14:13+00:00
Detention is already bad enough, but then reading something like this:

https://bleedingcool.com/comics/british-comic-creator-r-e-bu...

"While every item in her bag was swabbed and dismantled, she was subjected to a full body search. "I was in this very loud, weird, industrial space with pipes and conveyor belts and lights and sirens, being told to open my legs. I was silently crying, watching all my stuff being torn apart as someone else was searching every crevice of me."

I can't understand how this is allowed to happen.
by TwoNineA | 2025-04-07 13:14:22+00:00
> Americans do not understand how much press there is outside the US about tourists from Ireland / Germany / Canada getting locked up in ICE jails for weeks on end.

From my point of view, if POTUS blathers about annexing Canada, then the US doesn't deserve my tourist dollars, neither my Netflix subscription, neither my Amazon prime subscription. I've cut back on purchases/subscriptions from US companies as much as it was possible for me and my family. Also cancelled a trip to south east US. Purely out of spite.
by BLKNSLVR | 2025-04-07 13:14:31+00:00
I literally do not have any social media accounts (does HN count?), and I'm concerned that would immediately mark me as a suspicious individual (although I can eloquently justify this to the nth degree if required).

Having said that, weigh up the benefits and drawbacks of scrubbing your social media accounts to minimise that particular concern?

I don't have any, so I don't know what I'd be losing, but I can say that I feel sorry for some family members of mine who have been sucked in to the social media dopamine addiction farm. They'd be better off without it and having more time to be their own selves and live their own lives rather than other people's.

/rant (sorry)
by brookst | 2025-04-07 13:14:35+00:00
> most Americans are perfectly fine with "America First".

I agree with everything you said, except this. Sub “many” and I’d go with it. But at least here, in blue state / more-sane land, there is widespread horror and outrage. We’re only at the “tens of thousands of people protesting” stage and I’ll be the first to say Americans need to do more, but I think it’s going to far to say most Americans don’t care about the impact elsewhere.
by FirmwareBurner | 2025-04-07 13:14:45+00:00
>Neither Europe nor the US can compete with the level of disdain for the environment, labor laws and poverty that China brings to the table

Why haven't western governments and companies brought this up as an issue when they moved our jobs to China 30 years ago forcing us to buy our stuff but made in China while their profits skyrocketed? And bear in mind Chinese pollution, wages and living standards were way worse back then than today.

It feels incredibly hypocritical for western companies to cry about these things NOW, right when the Chinese companies have started eating their lunch on their home turf, while they rode the gravy train for 30 years. It's almost as if they wanted to have their cake and eat it too but now have to reap what they sow and they don't like it.
by jajko | 2025-04-07 13:14:48+00:00
Normal stuff, millions folks like that come every year. Millions folks like that live here and also have citizenship, I have friends and colleagues working in banking fitting that description (including passports).

Now I am not saying we are uniform half a billion, not at all, wear burka in eastern EU in some small backwardish village and you will raise eyebrows and maybe more. Try that in US and its the same, to put it mildly.
by jeroenhd | 2025-04-07 13:14:55+00:00
Because it's easiest to check, I looked up https://www.ireland.ie/en/dfa/overseas-travel/advice/united-... but this doesn't seem nearly as severe as Newsweek makes it seem.

It's absolute lunacy that western governments are giving out negative travel advice against the US at all, but I've noticed Newsweek seems to have an agenda on this topic.
by sofixa | 2025-04-07 13:15:23+00:00
> Americans generally don't understand the degree to which the rest of the world gets the CNN 5min recap of what's going on in the US, and it's very much the CNN recap and not the Fox one.

No, Americans generally don't understand that the rest of the world, and the rest of the world's news, genuinely don't see things in this dual "us vs them", "CNN vs Fox", "Democrats vs Republicans" lens.

When Trump does shit, media from around the world say what he did and why it's bad.

When Biden or Obama before him did shit, media from around the world say what he did and why it's bad.

Fox are genuinely deranged hypocrites who themselves claimed in court that nobody sane would believe them. Very few of the world's media reflect their point of views, because they are absurd. CNN is all over the place, so sometimes their point of view matches with e.g. BBC or Guardian or Süddeutsche Zeitung, sometimes it doesn't.
by JohnBooty | 2025-04-07 13:15:30+00:00
junky little thing you get with your PC that's wired

What are your experiences here?

Mine is that generic ultra-cheap wired optical mice have been Totally Fine™ now for roughly 20 years! It's a completely solved problem.

They track fine, they have more than enough DPI for anybody except maybe hardcore twitch action gamers, and they all have vaguely ergonomic sculpted shapes.

Apple's mice lose out for me before I move the pointer because the first thing I notice is that the shape of the mouse itself has more or less no correlation with the shape of a human hand. It always feels like you're grasping some weird foreign object.
by AntonyGarand | 2025-04-07 13:16:00+00:00
Proprietary formats require 3rd party developers to adapt their tools: While most mainstream software will be updated to support most/all cameras, this makes it harder for smaller projects to do. If they used an open standard, the advanced features could still require additional work to be compatible (ex: If they store custom metadata), but you could normalize everything that's shared, ensuring the core capabilities will never break for a new camera with its updated proprietary RAW like it currently does.
by xeonmc | 2025-04-07 13:16:02+00:00
Market forces will drive the outcomes in different sectors.

In aviation-minded companies, human-reviewed guardrails will always be in place, some may eventually decide to might as well have humans write the whole thing to begin with to keep it end-to-end auditable.

In automotive-minded companies, "chabuduo" is the norm and agentic may be "good enough if it appears to work" and only involve humans when visible crises surface, in which case the most desired programmer are those who can churn.
by kryptiskt | 2025-04-07 13:16:21+00:00
Henry Petroski wrote a great book about the history of the pencil. There used to be a mine in Southern England which contained pure graphite, that was found in the 16th century. That graphite could just be cut into sticks and made into writing implements. The modern pencil consisting of powdered graphite with a binder is a response to that mine being exhausted. So it's a substitute for a product that wasn't possible before that pure deposit was found.
by raxxorraxor | 2025-04-07 13:17:28+00:00
> based on how quickly they can do that, we can make inferences about their attitudes

Perhaps you could infer that but probably not.

Where did they get over a million dataset anyway?

> The key revelation of the study is that both explicit and implicit bias are malleable, Kurdi said

Let me guess, I would need to buy your training.
by hannasanarion | 2025-04-07 13:17:39+00:00
But a system of morality requires the ability to make "ought" statements. Merely saying what exists is not enough information to inform correct decisions, because whether or not something exists is unrelated to whether or not it is good.

When the objectivists try to define "human life" as their yardstick for moral good, again, they smuggle in those preexisting preferences. There is no real principle that means "human life" should be condensed down to individual hedonistic comfort. It is very easy to argue that human life is better served by collective comfort, and thus the best actions are the ones that are self-sacrificing in service of the community, because these are the ones that do the most service to human life.
by perfunctory | 2025-04-07 13:18:15+00:00
So this period last year the visits went up 300K, and this year they are down 200K. So compared to the two year ago it's still up 100K? Am I missing anything? It would be interesting to see the data over a multi-year period.

edit: they actually even say that the data "go back for 3 years", but only show 1 year of data.
by AntonyGarand | 2025-04-07 13:18:20+00:00
Seems like DNG does behave like the RAW lite format you've just described: Everything common would be stored within the base DNG file, while everything "advanced" / more specific to a camera would be stored in additional metadata properties, which do not need to be parsed to still be able to process the base image. You can add support for these metadata on a case-by-case basis without breaking the original format, so you're not stuck re-implementing your whole raw parsing when a new camera is released as the base subset of DNG would still work.
by agentultra | 2025-04-07 13:18:44+00:00
Mackenzie’s analysis holds a grain of truth and remains too simplistic.

If you work at a company whose notion of value is purely dividends, get out.

The aviation industry didn’t get profitable without regulation. Safety is a big part of the value generated. Spending on safety is not spending money putting more butts in seats and selling more tickets faster. But few people will choose to fly if the risk to their safety is too great.

Software does have similar responsibilities. People hate losing their money, having their private data leaked, having their entire production run screwed up because of a software error. It can cost a business a lot of money. Cutting corners to bring new features to the table doesn’t exactly add to the value the company brings to their customers. You also need to respect their privacy, do what's required to avoid security errors, programming errors, etc.

Update: This article, and Mackenzie's advice, is decent if you're trying to survive at such a company and you can't get out yet.. for reasons. But I would aim your career towards getting out at some point because such a company will never value your work.
by diggan | 2025-04-07 13:18:48+00:00
> You are required to have a cookie banner if you use cookies

Feel free to (re)read the regulation, there is no such requirement at all.

> you must serve a cookie banner even if you are only using functional cookies

Specifically, where are you getting this from? It's a misunderstanding at best, but you're spreading it like it's confirmed information.
by donalbrecht | 2025-04-07 13:19:00+00:00
Haven’t read full article either. But dogs have an incredibly well studied genome and are generally incredibly well understood. And due to cloning efforts, performing implantation of lab grown embryos is established protocol. Wolves are also well studied and understood, so even tho dire wolves aren’t super closely related, the dog baseline is a great control.

This would be a lot harder to do with an extinct species we don’t know well.
by chimeracoder | 2025-04-07 13:19:09+00:00
> With a Canadian or American passport (until recently)? No problem.

First of all, the folks profiling and detaining you don't ask you where your passport is from first - they'll generally make the decision and then ask for your documentation.

But even then, I have a US passport, and I've had far more issues being detained in European airports than I have in the US - which is really saying something.
by basfo | 2025-04-07 13:19:37+00:00
Another Problem i see with this trend of "everyone is fullstack now" is that no one knows what they are doing.

Basically, you and your team spent a year or so architecting and building something that you know, it's your domain, you know the in and outs of the system. Then your manager comes and says that team X needs a feature that needs a change on your system, but instead of working with them to implement it, we should work on something else and they will do the changes on our system.

Clearly team X has no experience on the stack or the system itself, and they start to create nonsensical PRs that don't even compile, you spent a lot of time reviewing those, explaining them the issues until it becomes a political/ego driven discussion and... congratulations you are a blocker now.

You experience the same working on your own feature, messing with code that you don't like or even understand, creating yamls that you don't have a clue on what they actually do, just replacing string where you see it fit, learning on production.

Of course, you have no time to actually understand what you are doing, is expected to be done by yesterday.

Suddenly, in name of productivity, everyone is working in the less efficient way possible, taking months what could be weeks, weeks what could be days, and days what could be hours.
by mshcherbyna99 | 2025-04-07 13:19:41+00:00
Devs asked Microsoft to support F2FS in WSL2 - a modern, SSD-native filesystem used by Android and embedded systems. The issue?

Closed silently, with zero communication.

I followed up with a clean, respectful comment asking for clarity or at least a roadmap signal: https://github.com/microsoft/WSL/issues/7973#issuecomment-27...

Is there a way to push this without tripping the corporate auto-close bot?
by johannes1234321 | 2025-04-07 13:20:07+00:00
> Last I checked, Germany's advice was similar

What changed is that they made the text clearer, that ESTA approval doesn't guarantee entry and decision is made by the border officer and adding a note that wrong information may lead to incarceration.

Those notes weren't "needed" before as that was rare, while theoretically the rules were the same, but seem to be handled stricter now.

This is still far from a "proper" travel warning.

https://www.auswaertiges-amt.de/de/service/laender/usa-node/...