skysight-inc/HackerNews huggingface dataset:
I don't see how else they could've done that - if they decide not to tariff some countries, countries that did get tariffed could trivially reroute their goods to go through said exempt country - I'm not even sure goods would need to move physically to said country or they could get away with cargo ships registered under them and/or ports handed over to be the territory of said country.
> it's a foreign spy command center..

I mean… it is
We are excited to announce the release of FreeDOS 1.4
It’s about the “We can’t allow a mineshaft gap!” mentality displayed at the end of Dr Strangelove. If we aren’t using AI then how will we get developers interested in the cutting edge? When we are hiring new recruits they will know we are behind the times. We can’t allow other companies to outpace us in this space. Without an AI-first mindset we will be losing mindshare before our project has even left the planning stage!

The arms race is just as much about keeping up with the Jones’ as it is about company security.
That's beside the point. My point is that there are no legitimate NK employees.
GP bikes are faster than dirt bikes, but not on dirt. The context has some influence here.
So now we are going towards using models to more efficiently store information, and let them talk to each other, instead of moving massive datasets around, as briefly outlined in 2023 in [1] & [2] (although I would anticipate that linked data might help here too)?

[1] https://livingsystems.substack.com/p/the-future-of-data-less...

[2] https://livingsystems.substack.com/p/will-data-served-as-lan...
Microsoft was hacked before and I don't trust them but I trust the email provider at the company I work for now what
Not mentioning prefetch in the title is extremely clickbaity IMO.

You could also argue that prefetching IS visiting a site (the data was still downloaded, it counts as a visit on their end for sure), you just haven't actually viewed the content yet.
I believe that is not a concern in my code; if "a=a" then commiting to that cannot hide any possible solutions where either side of the equals could be different because we've already tested and found them equal (they unify). One can avoid that worry by swapping in this version instead:

score(X, X, Adder, NewScore) :-
NewScore is Adder + 10.

score(X, Y, Adder, Adder) :-
dif(X, Y).

Leaving choicepoints where I don't want them is an annoying part of Prolog when I know the answer is deterministic - that's where I used zcompare/3 in my other answer in this thread, but it's far too much effort to write that pattern for every test situation. For people who object to `is` then make it `succ(Adder, NewScore)` and adjust the player scores down by a factor of ten as per the blog post. For people who comment that succ/2 doesn't always work, note that the Adder is always initialised to 0 in the foldl goal so succ/2 always has one instantiated value.

[It just wouldn't be a Prolog solution if it wasn't hard to write, hard to read, hard to verify that it's working properly, full of single letter variable names OrLongWordVariableNames and immediately making people talk about cut and constraint handlers and ISO compatibility and Prolog internals rather than the problem. On that note, PabloLife's code has "flip(correct, incorrect)" which is imperatively named but doesn't do anything imperative, uses nested lists instead of Number-Answer pairs which is more visually cluttered and uses more memory...].
I've had it explained to me that now that manufacturers won't sell to China because of retaliatory tariffs, they're more product to sell domestically which would push down prices. Less demand due to tariffs from China = lower prices.
JRuby 10, Part 1: What's New
A first overview of the enhancements coming soon in JRuby 10!
Incorrect. They default to zsh for interactive use, but their /bin/sh is bash 2. They also ship a copy of dash, but it's not sufficiently POSIX-conforming to replace bash.
At least on iOS, I've found ScreenZen (https://www.screenzen.co) to be pretty ideal. I'll definitely try SpeedBump if they add me to the beta, though.

Like SpeedBump, ScreenZen also has a "wait before using addictive apps" function (though, it doesn't have the "wait a bit longer to get 15mins vs. 2mins" - that would be really nice).

ScreenZen also keeps track of "streaks" of days not going over your overall limit in addictive apps. Unfortunately, that limit is counted by number of sessions, not the actual overall app screen time (by default, if you set your limit to 1 hour, it gives you 6 sessions of 10 minutes per app). It would be nice to combine this with SpeedBump's different-time-limit feature: if I want to quickly check a post or show a friend something on Instagram, I could use only 2mins out of my overall hour limit, instead of 10mins.
Why not Gemini?
Show HN: Haystack – Review code as a visual story on an infinite canvas
Hi HN!

Code reviews today are line-by-line diffs. This format makes reviewers focus on individual changes to catch bugs, style issues, and bad variable names, rather than the bigger picture of what the code is doing and why.

However, I don’t think that’s what code reviews are for. Tests (and angry users) catch bugs. Linters catch style issues. And nitpicks almost always bog down the review and make it take longer for the code to merge.

I believe that the point of a code review is to help teammates understand how the author is trying to achieve their goal, whether that’s a bug fix, a new feature, or a refactor. A good review requires understanding the narrative behind a change, determining whether the structure of a pull request reasonably fulfills that narrative (interface changes, new data structures, etc.), and deciding whether the team is OK with maintaining this new shape of the codebase.

The current pull request interface makes this hard. It's just a wall of unordered diffs that you're left to piece together by jumping between files. When reviewing a pull request from a teammate, I found myself spending more time reconstructing the big picture of the changes than reviewing the code itself.

So I built Haystack to help with that. It breaks down a pull request into logical chunks and lays them out on an infinite canvas. It guides you through the changes as a structured visual story, helping you focus on architecture, intent, and maintainability instead of chasing nits. I hope that Haystack makes code reviews less of a last-minute, unwanted chore. And if it doesn’t, I want to hear about it!

If you’re interested:

1. Take a look at the demo playground https://haystackeditor.com/playground

2. Watch a walkthrough https://youtu.be/K_qLwXFwr8I

3. Try it at https://haystackeditor.dev

Previous discussion: https://news.ycombinator.com/item?id=42935218
TGM actually has a pretty interesting 1v1 system. I wish it was more popular.

Most other Tetris games (all that I've played, at least) throw randomized garbage at the opponent. It scales with the number of lines you clear, but it always has a one column gap in a random position, no control over that.

But TGM's garbage is deterministic. Basically, imagine taking the lines you just cleared, but remove the piece that completed them. That missing piece will be the gap. Flip what's left upside down and add it to the bottom of your opponent's stack.

Now you have full control over the position and shape of the garbage you send!

This adds a nice layer of strategy and makes the game feel more interactive since you need to constantly watch your opponent's stack and act accordingly. You want to add garbage where your opponent will struggle to clear it while also being on the lookout for what kind of garbage they'll be sending you and try to play around it.

And there are powerup items to spice things up, which admittedly vary widely in power level and can be very swingy. Although that's not necessarily bad as it allows players of different skill levels to play together (although the stronger player will still win most games), as well as just add some exciting or funny turnarounds. There's also a timing element to triggering the items, which adds even more strategy.

https://tetris.wiki/TGM_Versus_Mode_Guide
Later renamed as D'Agents[1]. Still never got any serious industry adoption as far as I know, but I guess the code is still out there if somebody wanted to do something with it.

[1]: https://wiki.tcl-lang.org/page/D%27Agents+%28formerly+Agent+...
What percentage were in the USA illegally?
This is pretty cool! Is there code for this somewhere? Would be cool to implement a client for hackernews that uses this for when I'm on the train.

Found some more tests here too that seem interesting:
https://www.planujemywesele.pl/sxg-tests/
I don’t think pivot_root is necessary for something like this, but a new mount namespace will definitely help avoid creating a mess on accident
> If Americans want a snowballs chance in hell, there need to be special elections around the country in 2025, to take control of congress.

Perhaps, though I don't see how you're going to get them without changing or violating the Constitution. And changing the Constitution would mean acceptance by those you're trying to get rid of.

Bluntly, the only way this could happen is a civil war - a real, shooting civil war, with bullets and dead bodies. I'm not yet at the point of cheering for that, much as I dislike the current status quo.

> Republican senators and congressfolk are threatened by the voting base if they break with Trump, which they wont anyway.

Then I don't see how a special election in 2025 would help. You say we need a special election to get rid of these folks, but you also say that these folks would be threatened by the voting base if they break with Trump - which to me means that they won't be threatened by the voting base if they stick with Trump.

So I don't think your point 4 offers any hope at all.
Sometimes the darkest humor is the most accurate.
> Sure, but aren't we past rational debate on this point?

No.

> Not only are the new trade policies irrational, it's quite possible that they're intentionally irrational as a bargaining or maneuvering tactic.

Not really, at least not a well-considered bargaining or maneuvering tactic. There is no incentive to comply if there isn't a clear compliance goal and a clear willingness to reward progress toward it as well as punish noncompliance. Irrationality is poor bargaining.

More to the point, though, the space for rational debate is NOT with the architects of the policy, who, yes, seem beyond reason. The space for debate is among everyone else, including the people who have the Constitutional power to arrest the executive policy in this area (whether that debate centers on the merits of policy in the broad sense or their own narrow future political fortunes or some combination of those.)

> As I commented yesterday, there's a playbook for reshoring that's being totally ignored

Broad reshoring of industries or broad sectors that have left the US because its comparative advantage in the present world trade regime has shifted elsewhere is an objectively economically harmful idea, and expending resources on it consumes resources that could be productively employed in pursuit of relative economic inefficiency. There may be select industries that can be identified where there is a rational argument that that would be only a short-term hit and that there would be long-term benefits, or where security or stability issues given real expected international threats make that a cost worth bearing (though in the latter case it is still generally probably better to work to maintain existing alliances and work jointly to "reshore" critical industries broadly within our international political alignment rather than making it an isolated national policy, both because there are often going to be other places in the alliance where it is less out of line with present comparative advantage and because it is a broadly shared benefit where it makes sense to share the costs.)

We don't need a better playbook to achieve autarky, we need to reject it as a goal.
Probably because they've become accustomed to the taste so that taste is what their brain associates with as Ketchup. Switching to someone's local brand that will have a different recipe/formula (probably a lot less sugar), the taste will be different. To their brain, this is not ketchup rather some tomato paste sauce.

Obviously, ketchup is not going to be the only thing that this fits. Pretty much any processed food sold in the US under major labels are going to be loaded with sugar that decent folks would question why it's being used.
I can see that and my Chinese friends seem happy with how it is in China, but I still don't think a takeover of Taiwan against the wishes of the Taiwanese people would be a good idea.
This still doesn't justify lying to a potential employer. If your CV won't get you to an interview, then you don't have the skills they are looking for.

Aside from lying, you have other choices - spend some time working on personal projects to get the skills you need, obtain a recognised qualification in the skills you need, or try to find some way to obtain those skills in your current job. All of those will increase your real value to the potential employers, and gain you the opportunity to get the interview you want.

If a company catches you lying in an interview, they're absolutely right to blacklist you forever. How do you expect them to ever trust you to be telling the truth in the future if your very first contact with them is built on a lie?
To be clear: the law DOES NOT give the president power over tariffs. It gives him some ability to massage them, but Congress has this power.

To do this, Trump declared a national emergency so he could use emergency powers that are designed for events like war. Congress is supposed to check this power, but Republicans are bowing to Trump as their all-knowing ruler.
Nothing to see here, move 'long folks.
Wouldn’t the best method just be to buy a second phone prior to your crossing, use it for innocuous things, and leave your real one at home?
Idk what you mean with routing instability. Changes to routing as a result of failures are a feature not the problem.
> And besides, why argue hypotheticals here ...

You are the one who raised the 1940s optical rangefinder question, and now talking about autofocus, which is a totally different problem than dense ranging from optical stereo disparity.

If you don't want to argue hypotheticals, don't do it.

If you choose to argue technical details in the absence of expertise, expect pushback from people with domain knowledge.

I spent 5 years working on long-distance optical stereo as part of a DARPA program, with a team that was very committed to stereo vision. Our limited success left me with an appreciation of the challenges versus lidar.
The Dumbest Economic Policy in Modern History
How do typos get fixed?

The entry for _The Book of Jhereg_ has "Morio" which is not found in the text (conflation of Morollan and Mario?)
The same reason TSMC doesn't sell out to a well-funded Chinese conglomerate: Taiwan's desire to maintain independence.
Or open up more stores then the region can support, remove the local competition, and then close theirs stores as uncompetitive. The small town (population < 2000) my Mom grew up in is currently supporting their IGA as well as the Dollar Store, but my understanding is that they're in better shape then a lot of their small town neighbors.

One or two successful businesses makes a huge difference at that level. If something happened to their one large employer, a food factory, then they'd really be in trouble. The other businesses are restaurant sized at the largest.
> I think it downplays the incidence of students using Claude as an alternative to building foundational skills

I think people will get more utility out of education programs that allow them to be productive with AI, at the expense of foundational knowledge

Universities have a different purpose and are tone deaf to why their students use universities for the last century: which is that the corporate sector decided university degrees were necessary despite 90% of the cross disciplinary learning being irrelevant.

Its not the university’s problem and they will outlive this meme of catering to the middle class’ upwards mobility at all. They existed before and will exist after.

The university may never be the place for a human to hone the skill of being augmented with AI but a trade school or bootcamp or other structured learning environment will be, for those not self started enough to sit through youtube videos and trawl discord servers
In that case it was more that the ORM was, under certain conditions, silently corrupting data and whatnot due to fundamental design problems. It needed a major overhaul to address the issues and at that point a rewrite that didn't deviate too far API-wise was seemingly the easiest/fastest way forward. Like the original comment asserts: Don't be afraid to use libraries, but choose them wisely.

But in your example, even if an ORM doesn't provide native breakout functionality, it should be obvious that you can maintain a bespoke path to the database for cases where the ORM doesn't fit. Where that isn't obvious to someone, perhaps 'creating their own ORM' isn't the waste of time you make it out to be, but is actually necessary education?

If you are No-name CRUD Company you're probably not hiring the million dollar per year devs who have learned all the lessons. You kind of have to accept that you are working with budget workers and thus learning on the job is going to need to take place, even if you wish that weren't the reality you face.
Trump administration backs off Nvidia's 'H20' crackdown after Mar-a-Lago dinner
> We certainly improve productivity

I think this is really still up for debate

We produce more output certainly but if it's overall lower quality than previous output is that really "improved productivity"?

There has to be a tipping point somewhere, where faster output of low quality work is actually decreasing productivity due to the efforts now required to keep the tower of garbage from toppling
I tried every kind of focus app and focus mode on iOS, and nothing stuck. After years of trying, this approach worked well for me:

1. Delete any app with any kind of algorithmic feed (YouTube, TikTok, etc)

2. Uninstall Safari

That's right, I've been rocking a browserless phone for about a year now, and I'm never going back. AMA
Truecrypt supported this decades ago, obviously not a full phone OS though.
> Can't we just have a set of best practices around API endpoints/functions? Like, imo we could just keep using Rest APIs and have a convention that an agent exposes endpoints like /capabilities, /task_status ...

To make this work at scale we all need to agree on the specific routes names, payloads, behaviors, etc. At that point we have defined a protocol (built on top of HTTP, itself a lower level protocol).
Maximizing Density and Efficiency with Fermyon and GKE
>cloud-cuckoo-land

Welcome, this is where we're going to be for foreseeable future.
Prison made inferior Nikes will end up costing 500$ a pair. Not that anyone is going to have money to buy them.

As you mentioned we'd probably need to still source from other countries. The bigger issue here is the USD may lose its reserve currency status.

The rest of the world might just trade in Euros and Yuan. Inflation will truly take off then.
If this was about national security, we wouldn't be ruining relationships with allies while strengthening adversaries.

If this was about industrial capacity, we wouldn't be attacking education, chilling investment, attacking energy innovation, attacking science and research, and creating a historically unstable economic environment, all without a whisper of any logical industrial policy.

Stop trying to rationalize the destructive foolishness of this leadership.
I had never heard of charles ... (https://www.charlesproxy.com/) I basically wrote a simple version of it 20 years ago (https://github.com/kristopolous/proxy) that I use because back then, this didn't exist ... I need to remember to toss my old tools aside
I'm not sure whether you travel much, but I always travel as a digital nomad.

I was a "digital nomad" before that was even a term.

I've done "work from home" in Japan, China, Macau, South Korea, Belgium, and at least ten American cities. Even way back when we did it with payphones, Telex and fax machines.

Get off my lawn.
But look at per capita per purchasing power
Afaik the USA de facto has a dictator consolidating his power right now. I am wondering what are the options of returning to rule of law, apart from hoping congress has the will and enough power left to do something.
Oh yeah, the second one [1] is kind of ugly.
OpenBSD man pages are great. NetBSD and FreeBSD are a close second. Linux man pages stink.

Many Linux man pages points to info(1). Nothing is worse than info. I would rather search facebook for help on Linux than use info :)
A2A isn't a layer of abstraction over MCP, it functions in parallel and they complement each other. MCP addresses the Agent-to-Environment question, how can Agents "do things" on computers. A2A addresses the Agent-to-Agent question, how can Agents learn about other Agents and communicate with them. You need both.

You CAN try and build "the one agent that does everything" but in scenarios where there's many simultaneous data streams, a better approach would be to have many stateful agents handling each stream via MCP, coupled with a single "executive" agent that calls on each of the stateful agents via A2A to get the high-level info it needs to make decisions on behalf of its user.
> Interesting article, but I think it downplays the incidence of students using Claude as an alternative to building foundational skills.

No shit. This is anecdotal evidence, but I was recently teaching a university CS class as a guest lecturer (at a somewhat below-average university), and almost all the students were basically copy-pasting task descriptions and error messages into ChatGPT in lieu of actually programming. No one seemed to even read the output, let alone be able to explain it. "Foundational skills" were near zero, as a result.

Anyway, I strongly suspect that this report is based on careful whitewashing and would reveal 75% cheating if examined more closely. But maybe there is a bit of sampling bias at play as well -- maybe the laziest students just never bother with anything but ChatGPT and Google Colab, while students using Claude have a little more motivation to learn something.
>Should the world cancel the USA because it is saying something about annexing Canada\Greenland?

Not the world, but If I were Canada\Denmark, I would think twice about if I rely on the US for defense and arms.

That said Taiwan is a red herring.

Im not sure the US policy has a coherent strategy. If there is one, it is that US economic and military hegemony is waning with global economic growth.

Negative sum strategies are valid in war and power competition. If a global recession hurts the rest of the world less than US, that could be a strategic win.
It just seems like John Deere putting out a press-release about about a new sparkplug that is only useful to John Deere and can maybe be used on rented John Deere harvesters when sharecropping on John Deere-owned fields using John Deere GMO crops. I just don't see what's appealing about any of it. Not only is it a walled garden, you can't even own anything and are completely dependent on the whims of John Deere to not bulldoze the entire field.

It just seems like if you build on Tensor then sure, you can go home, but Google will keep your ball.