MurphyA/hacker-news huggingface dataset:
by filoleg | 2025-08-20 17:46:44+00:00
> [...] unless something has changed, green card holders / permanent residents aren't required to carry their papers.

I agree with your larger overall point, but this specific part isn't true.

Nothing has changed recently, but green card holders/permanents residents (over the age of 18) have been required to carry their green card with them since a long time ago (since the implementation of the Alien Registration Act of 1940, according to Google). I remember back when I got mine in 2012, it was a requirement as well (though, I will admit, it was not really enforced).

Here is the relevant quote from Section 264(e) of the Immigration and Nationality Act (I.N.A.)[0] addressing this:

> Every alien, eighteen years of age and over, shall at all times carry with him and have in his personal possession any certificate of alien registration or alien registration receipt card issued to him pursuant to subsection (d). Any alien who fails to comply with the provisions of this subsection shall be guilty of a misdemeanor and shall upon conviction for each offense be fined not to exceed $100 or be imprisoned not more than thirty days, or both.

And here[1] is an additional resource confirming this.

0. https://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prel...

1. https://www.nolo.com/legal-encyclopedia/do-i-really-need-car...
by koito17 | 2025-08-20 17:46:51+00:00
I already pay for Zed Pro, but my fear (and likely GP's as well) is that this doesn't provide enough revenue for the team.

Since switching from Emacs last year, I have absolutely loved how this editor has evolved, and I am looking for any way to directly support the effort. I have been a Zed Pro subscriber for quite a while now, and I have started trying to contribute to the codebase, but I really wish there were monetization options beyond making a spread on Anthropic API pricing.
by _blk | 2025-08-20 17:47:03+00:00
Phones are not the hot commodity they used to be anymore and that's a good thing IMHO. I just bought a Px7 after breaking my 6a that I had for 3 years. I did look at the Px10 specs but with the price/value it was an easy decision. I'm now expecting the same 3y worth of battery I was getting out of my 6a (a day started getting tight at the end). Bigger still seems to be the definition of better but I had a CAT S60 for a while, so it's still small compared to that brick.

Overall very happy with the Px series and I'm happy they keep making them. On the software side it runs Graphene OS just as well as the 6a. Setup was super easy with the Chromium WebUSB based installer. I expect the Px10 to be supported soon too.
by ndriscoll | 2025-08-20 17:47:11+00:00
You're sort of exaggerating the boilerplate there; a more idiomatic, complete template might be:

<xsl:variable name="nav-menu-items"> <item href="foo.xhtml"><strong>Foo</strong> Page</item> <item href="bar.xhtml"><em>Bar</em> Page</item> <item href="baz.xhtml">Baz <span>Page</span></item> </xsl:variable> <xsl:template match="nav-menu"> <nav> <ul> <xsl:apply-templates select="$nav-menu-items/item"> <xsl:with-param name="current" select="@current-page"/> </xsl:apply-templates> </ul> </nav> </xsl:template> <xsl:template match="item"> <xsl:param name="current"/> <li> <xsl:choose> <xsl:when test="@href=$current"> <a class="selected"><xsl:apply-templates/></a> </xsl:when> <xsl:otherwise> <a href="{@href}"><xsl:apply-templates/></a> </xsl:otherwise> </xsl:choose> </li> </xsl:template>

One nice thing about XSLT is that if you start with a passthrough template:

<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template>

You have basically your entire "framework" with no need to figure out how to set up a build environment because there is no build environment; it's just baked into the browser. Apparently in XSLT 3.0, the passthrough template is shortened to just `<xsl:mode on-no-match="shallow-copy"/>`. In XSLT 2.0+ you could also check against `base-uri(/)` instead of needing to pass in the current page with `<nav-menu current-page="foo.xhtml"/> and there's no `param` and `with-param` stuff needed. In modern XSLT 3.0, it should be able to be something more straightforward like:

<xsl:mode on-no-match="shallow-copy"/> <xsl:variable name="menu-items"> <item href="foo.xhtml"><strong>Foo</strong> Page</item> <item href="bar.xhtml"><em>Bar</em> Page</item> <item href="baz.xhtml">Baz <span>Page</span></item> </xsl:variable> <xsl:template match="nav-menu"> <nav> <ul> <xsl:apply-templates select="$menu-items/item"/> </ul> </nav> </xsl:template> <xsl:template match="item"> <li> <xsl:variable name="current-page" select="tokenize(base-uri(/),'/')[last()]"/> <a href="{if (@href = $current-page) then '' else @href}" class="{if (@href = $current-page) then 'selected' else ''}"> <xsl:apply-templates/> </a> </li> </xsl:template>

The other nice thing is that it's something that's easy to grow into. If you don't want to get fancy with your menu, you can just do:

<xsl:template match="nav-menu"> <nav> <ul> <li><a href="foo.xhtml">Foo</a></li> <li><a href="bar.xhtml">Bar</a></li> <li><a href="baz.xhtml">Baz</a></li> </ul> </nav> </xsl:template>

And now you have a `<nav-menu/>` component that you can add to any page. So to the extent that you're using it to create simple website templates but you're not a "web dev", it works really well for people that don't want to go through all of the hoops that professional programmers deal with. Asking people to figure out react to make a static website is absurd.
by dang | 2025-08-20 17:47:18+00:00
Ah thanks! We've changed to that from https://beza1e1.tuxen.de/lore/crash_cows.html now.

Submitters: "Please submit the original source. If a post reports on something found on another site, submit the latter." - https://news.ycombinator.com/newsguidelines.html
by chrisco255 | 2025-08-20 17:47:25+00:00
The Federal government has always had broad lateral regulatory powers over the influx and outflux of people and goods across the border, citizens or not. The U.S. has had laws on the book to this effect all the way back to 1789. This is one of the defining features of a sovereign country. There's not a single country on planet earth that doesn't permit searches at the border.

See for yourself: https://www.repository.law.indiana.edu/cgi/viewcontent.cgi?a...
by bigstrat2003 | 2025-08-20 17:47:32+00:00
I have zero problems maintaining Jenkins, and have done so at a couple of different jobs in the past. Minimize how many plugins you use and it works great. We use just a handful: configuration as code, credential storage, kubernetes agent support, pipelines, and job DSL (plus their dependencies of course). Everything is easy to manage because it's just config files in a repo, and things just work for us (with only very rare exceptions).

It would probably be more constructive if you elaborated what your issues specifically were. For example, what have you found pipelines to be incompatible with? I've literally never seen anything they don't work with, so I can't really agree with your assessment without specifics. Similarly, I have zero problem with Groovy. If it's just not to your taste then fine, taste is subjective, but I can't see any substantive reason to call it "a cancer".
by ethin | 2025-08-20 17:47:49+00:00
> Ironically, if you value your freedoms as a resident, you should value restricting freedoms at the border.

Can you clarify this? This doesn't make any sense to me. Freedoms like those granted in the US bill of rights are specifically designed to be universally applied regardless of citizenship status as long as you are within the geographical boundaries of the US or otherwise subject to it's jurisdiction, from my understanding.
by abeppu | 2025-08-20 17:48:30+00:00
... that's not how freedom works?

Even if I happen not to hold any particularly radical political opinions, if political speech is censored, my rights of free expression are also decreased. I may not practice a minority religion, but if the state systemically attacks one religion, my freedom of religion is also attacked.

The same is no less true for the 4th amendment; I may not be a target of the police at the current moment, but if they have the ability to search and take stuff at will, I am still less free.
Show HN: We beat Google DeepMind but got killed by Zhipu AI
by orangepomodoro | 2025-08-20 17:48:56+00:00
Two months ago, my friends in AI and I asked: What if an AI could actually use a phone like a human?

So we built an agentic framework that taps, swipes, types… and somehow it’s outperforming giant labs like Google DeepMind and Microsoft Research on the AndroidWorld benchmark.

We were thrilled about our results until a massive lab (Zhipu AI) released its results last week to take the top spot.

They’re slightly ahead, but they have an army of 50+ phds and I don't see how a team like us can compete with them, that does not seem realistic... except that they're closed source.

And we decided to open-source everything. That way, even as a small team, we can make our work count.

We’re currently building our own custom mobile RL gyms, training environments made to push this agent further and get closer to 100% on the benchmark.

What do you think can make a small team like us compete against such giants?

Repo’s here if you want to check it out or contribute: https://github.com/minitap-ai/mobile-use

Our discord: https://discord.gg/6nSqmQ9pQs
by junebuggerz | 2025-08-20 17:49:12+00:00
Yes I plan to keep leveling up for sure. And plan to finish the project, it will be a backend api to a E-Commerce website using Laravel, of course, I am planning on becoming a Backend Developer. And I plan to add Events\Listeners, Queues, Cache, 3rd Party Integrations(maybe PayPal), and maybe add some DevOps stuff using Jenkins(PHP unit, SonarQube, Code coverage for PHP), Ansible, etc... And I know there is a lot to learn, but if I do add all that (what I wrote up above) and finish the project, then can it be worthy of me getting a job, is that what you are saying, if I FINSIH the project of that level and maybe 2 more, I would be ready to start applying for Jr Laravel Developer Roles? But at least you say this is junior work. That made me feel like all this work I have put into web development has finally paid off. And yes I know what you are saying also of understanding the fundamentals first, and about making a up to date readme, adding screen shots of how it works, commit code on github, and uploading my code to github, and keep leveling up :) Thank you for your feedback!
by dang | 2025-08-20 17:49:15+00:00
Related. Others?

Debugging Behind the Iron Curtain (2010) - https://news.ycombinator.com/item?id=41586836 - Sept 2024 (21 comments)

Debugging Behind the Iron Curtain - https://news.ycombinator.com/item?id=24208014 - Aug 2020 (1 comment)

Debugging Behind the Iron Curtain (2010) - https://news.ycombinator.com/item?id=16628877 - March 2018 (19 comments)
by FirmwareBurner | 2025-08-20 17:49:26+00:00
>Both digital nomads and expats didn't cost the country anything while those nomads/expats were growing up, got education ...etc.

Yes. Then why should expats pay taxes and digital nomads not? Especially given that digital nomads will be the first to leave the moment the shit hits the fan and go to another country, while expats are more likely to stick around for various reasons like family, community, kids, familiarity, etc. It feels like the incentives are totally backwards unless your goal is more wealth inequality for the locals, more expensive housings, etc. You're screwing over the people who contribute the most while giving tax breaks to those who will leave on a whim.

Also, regarding your previous comment, your example with NL is an outlier in the EU. There's no way other countries here could give expats tax breaks and not collapse their welfare systems which are built on the socialist principles of having people constantly paying in the system, so they can't just do what NL does without going through a revolution.

The example is also survivorship bias since plenty of other people moved to NL to work on poverty wages initially lower than in their home countries, and then left because they didn't get to those magic six figure Booking wages. So the expats and the NL government got scammed, and the only winners were are the NL corporations exploiting cheap labor selling them the dream of potential future high wages that might not happen. Not exactly a society I dream of.

>Perhaps it's USA centric vs the rest of more "socialistic" countries POV?

What does this have to do with the USA? I'm talking from an EU point of view on what other EU countries are doing.

>when economy is heavily relying on seasonal tourism

Maybe it shouldn't. Because that only leads you into the tourist trap branch of Dutch diseases. Maybe it's best to build an economy on more tangible things that have some trick down effect, and not that only benefits landlords and hospitality business owners.

> digital nomads leading to more office space being built

How many digital nomads do you know who travel the world only to work in the same office spaces they try to escape from, and not from cafes and beaches?
by lenerdenator | 2025-08-20 17:49:54+00:00
> A country that so hates its own constitutional democracy cannot possibly support the democracy of other nations.

The whole "support democracy" thing has been a ruse for a while now. Democracy has become a synonym for "human rights", and that's always been for sale. Not just in the US, either. The last 35 years have been characterized by exporting economic infrastructure from the US (and West at large) to a place that specifically does not support democracy because, hey, it's cheaper to make stuff there, and line need go up.

Hell, touching on the Middle East, the only reason the region has a seat at the international table at all is because we're willing to look past the abysmal human rights record so long as the oil stays cheap. Otherwise it's a bunch of arid land with very strict rules. Not exactly the kind of place progress and development flock to.

This isn't just an American thing, but it's certainly applicable here.
by jacobolus | 2025-08-20 17:50:28+00:00
The DHS is an umbrella organization with a huge number of parts under it, including stuff like FEMA (emergency management), customs, the coast guard, the secret service, monitoring of agricultural pathogens (formerly part of USDA), infrastructure protection (formerly part of FBI), federal law enforcement training, etc.

Abolishing "everything under" the DHS would do incredible damage. The various agencies lumped under the DHS could plausibly be re-organized again, though I'm not sure it would serve much purpose.

The biggest problem is that voters keep putting incompetent ideologues in charge of the federal government.
by egypturnash | 2025-08-20 17:50:33+00:00
This distinctive movement is a compromise with the limitations of a 2mhz 8080 with no video support hardware to speak of.

Looking at a commented disassembly (https://www.computerarcheology.com/Arcade/SpaceInvaders/), there's so little time available that each frame redraws nothing more than the player, their shot, one of the 55 aliens, and one of the three alien shots. Four things. When every moving object has to be manually erased and redrawn within the space of one frame, you kinda have to stagger the movement.
by thebruce87m | 2025-08-20 17:50:37+00:00
If you own a pixel phone remember to do regular emergency call tests. They have a bug that has stuck around for generations but for some reason they get a pass.

https://www.reddit.com/r/GooglePixel/comments/1ano09x/pixel_...

https://www.reddit.com/r/GooglePixel/comments/1jzo5hu/pixel_...
by fragmede | 2025-08-20 17:50:38+00:00
You're self aware enough to realize that there's "some undercurrent stuff", but not self aware enough to pick any other username than F0UKYOU-HN, which just maybe might prejudice users and moderators against you. It's like wandering into a bank with a hoodie, face mask, and a gun, and wondering why security is all up in your grill about a "mysterious" something. You're being profiled at the very start by something you set for yourself. If someone comes into your house and the first thing out of their mouth is "f0uk you!", would you really be inclined to sit down and listen to them and have a thoughtful conversation, or are you going to kick them out at the first sign of trouble? At the very least, you're going to keep a close eye on them, yeah?

In meat space, you can do things to change your appearance somewhat, but people gonna people and they're gonna judge you, some times fairly; sometimes not. Online, the only thing people have to go off here is your words, and choosing F0UKYOU-HN belies a certain amount of aggression that is naturally going to start people off on the wrong foot. How do you want people to see you? You could have chosen anything, maybe something bland or generic, like mikelovesbikes32, but in choosing what you chose, you wanted to make a statement, and with your statement, you're "baffled" by why the human being on the other side of the screen might take offense?
by porridgeraisin | 2025-08-20 17:51:22+00:00
Thanks, I will look into that.

However, I'm still confused about the original statement. What I had thought was that

pre-volta GPUs, each thread in a warp has to execute in lock-step. Post-volta, they can all execute different instructions.

Obviously this is a surface level understanding. How do I reconcile this with what you wrote in the other comment and this one?
by timsneath | 2025-08-20 17:51:23+00:00
OPA solves the problem of defining and enforcing policies across a system. Some examples:

- How do I enforce that inbound API requests come only from trusted sources?

- How do I enforce fine-grained access to user records?

- How do I enforce a set of naming conventions for a data update?

Many such policies may come from regulatory requirements, may be regional in nature, and may change in otherwise stable codebases. And it's even harder when you're applying this to a highly-scalable production internet service. As a result, defining policy at an organizational level with auditing is a challenge for large enterprises. OPA helps enterprises administer and enforce policies.

More details on what OPA does here: https://www.openpolicyagent.org/docs/philosophy

And you can see some examples of Rego (the policy language) here: https://play.openpolicyagent.org
by glawrence13 | 2025-08-20 17:51:42+00:00
Regarding payments, your understanding is correct. We have and manage our affiliate partnerships, all you have to do is drive sales and we forward on the commission to you. We're working on improving signal into the range of commissions you can expect, but, in short, the variability stems from merchants and product type. For example, technology (e.g. iPhones, laptops) typically have lower commissions than beauty supplies.

Thanks for the feedback. Managing and cleaning this volume of data is an ongoing task, and our catalog is getting better each day. I'll check out the nintendo case in particular.
Fine-Tuned Open Sourced Models vs. System Tuned SOTA Models for Customization?
by Ihmzf | 2025-08-20 17:51:48+00:00
So I've recently been researching and am getting intereseting to tune the AI models for specialized. use-cases (e.g having knowledge/context about a very specific task or subject). What I am really confused and not sure about is what way is the best to customizing the models for tasks: Fine-Tuning OSS Models on datasets or System Tuning SOTA models like GPT-5, Claude 4.1 Opus, etc by writing detailed system prompts and adding tool calls?

Would ofc really love to hear opinions on it.
by jcrawfordor | 2025-08-20 17:51:55+00:00
Yes! I will draw a slightly roundabout connection here to my pet topics, the British shared a number of fuze concepts as part of the Tizard mission and designs based in large part on the British concepts were developed and tested at the New Mexico Proving Grounds, part of what would later become Kirtland Air Force Base. Much of this work was directed by physicist E. J. Workman, president of the New Mexico School of Mines.

I could probably rewrite the above sentence to improve it, but I focused on the magnetron because it was seen to be of special significance at the time (directly addressed issues that US efforts at e.g. MIT Radiation Laboratory were struggling with) and that there's an interesting story surrounding the couriering of the "most secret" magnetron to the US (it was briefly lost). These were the early days of "classified" as a concept and consistent techniques around safeguarding classified matter hadn't been developed, so the magnetron plays an interesting role there as well (along with documents on a number of topics, but I believe the magnetron was the only "physical artifact" brought by the Tizard mission).
by jacobolus | 2025-08-20 17:52:00+00:00
> if you loosen the border, you dilute the rights of the residents

Strip searching tourists, interrogating them about which social media jokes they shared, or locking them up for weeks without charges and then deporting them based on nothing more than their political views does not strengthen the rights of residents.

> especially if you let aliens in that don't even pay taxes, enjoying only rights but no responsibility

If you are talking about people working in the US without visas, this is a serious misconception. The large majority of undocumented people working in the US pay the same taxes as anyone else, including income and payroll taxes (sometimes under a borrowed social security number, but sometimes with an ITIN, "individual taxpayer ID no."; the IRS is happy to take the money without worrying about immigration status), but don't reap the benefits of those. So it's rather the opposite: all the responsibilities but dramatically fewer rights. In aggregate, undocumented immigrants pay on the order of $100 billion of US taxes every year.
by multjoy | 2025-08-20 17:52:03+00:00
> Yes. You are describing actual police work; it is how things have always been.

No, it hasn’t. Criminals haven’t always had access to literally uncrackable encryption, both messaging and voice, in a manner that is impossible to attribute to an individual handset or terminal.

Regardless of whether you’re for or against it, you have to admit that this is a boon for criminals as much as it is for everyone else.

Encro failed because the Dutch got all up in their servers (and the owners, who I suspect are now dead as a result, pretended it hadn’t happened) - e2e encryption bypasses that vulnerability.
by hintymad | 2025-08-20 17:52:14+00:00
Just curious, wouldn't it get harder for companies like Databricks or Clickhouse to compete against AWS in the long run? They have better products, for sure. Yet over time, the product gap between what they offer and what AWS offers will narrow, and as a result the cost will be what matters most to the customers. And how can they compete on cost given that they run on AWS?
by qingcharles | 2025-08-20 17:52:16+00:00
One thing a developer sat in DC or SV with a 5G iPhone 16 doesn't realize too, is that if you are visiting these web sites with a phone plan that has a tiny monthly data allowance then this bloat can blow out an entire month in one sitting.

I worked with people on parole that were given free phones to use for job applications, finding their way around etc, and they would only get 3GB data a month. Some of the sites they visited were dropping 250MB of payload on the home page. You'd get some plans that would drop down to 2G, but try using that for Google Maps when you're trying to find a bus to get you across the city.