MurphyA/hacker-news huggingface dataset:
by nindalf | 2025-07-28 06:35:22+00:00
> There was no real standing Army until WW2 since it's against the Constitution.

This isn’t true. Firstly it isn’t against the Constitution to maintain a standing Army. What the Constitution says in Article I, Section 8, Clause 12 is “The Congress shall have Power To ...raise and support Armies, but no Appropriation of Money to that Use shall be for a longer Term than two Years...”

The people drafting the Constitution knew that a standing army could be abused by a tyrant, but having served in the Continental Army also knew how vital a standing Army was to maintain peace. That’s why they designed it so Congress controls the purse strings and authorises military spending only for 2 years at a time. The executive may give the orders, but there’s a time limit on the Army he can give orders to.

And the second part - the US has had a standing Army since 1796. You remember Robert E Lee resigning from the Army to join the Confederacy? If there was no standing Army, what did he resign from?

But even leaving aside these two historical facts, think about it logically. Throughout history military advantage has always been with the better trained, more experienced troops. Even if you rely on conscripts in a war, they need to be trained and led by professionals. Saying a standing army shouldn’t exist is like firing all your firefighters and saying you’ll start hiring when someone reports a fire.
by dagmx | 2025-07-28 06:35:38+00:00
Modelling is fairly laborious.

Almost all VR devices require lots of motion, have limited interaction affordances and have poor screens.

So you’re going to be more tired with a worse experience and will be working slower.

What XR is good for in the standard creative workflow is review at scale.

Blender does have an OpenXR plugin already but usability is hit or miss.
by bayindirh | 2025-07-28 06:35:57+00:00
This is a systemic problem on Microsoft's side, it's not an upside of telemetry.

To be clear, I consent to send telemetry from some of the tools I use and deploy.

Their common pattern? They wait a bit, and ask nicely about whether I want to participate. Also, the dialog box asking the question defaults to off.

I read the fine print, look a the data they push, ponder and decide whether I'm cool with it or not.

Give me choice, be upfront and transparent. Then we can have a conversation.
by alganet | 2025-07-28 06:36:01+00:00
So, for example, the machine can predict "a hammer" but can't figure out if it's connected to the justice system or fixing a loose wooden plate.

That seems very low resolution and brittle. Simple sleight of hand magicians can trick the visual cortex of their audience. They often do it to other people, but nothing prevents one to do it on himself, therefore, tricking the system. (hypothesis)

> Our results cannot guarantee that all choices are preceded by involuntary images

Yes, but that is not stopping the researchers from gloating about a less than impressive discovery.
by asicsp | 2025-07-28 06:36:52+00:00
This month I release an updated version of my "Practice Python Projects" book: https://learnbyexample.github.io/practice_python_projects/

Next, I'm working on a TUI app (using Textual) for board games like Tic Tac Toe and Connect Four. These will also have a modified rule that requires forming a square instead of a line.
by renegat0x0 | 2025-07-28 06:37:14+00:00
Probably I am wrong but to self-host I need to:

- download docker

- download docker manager (portainer? yacht?)

- configure and download images (some images require some environment variable

It's still like linux cake meme.

- For non-docker images it could require a lot more tinkering

- I am self-hosting, and I know that after setup, initial time they pay-off is so spectacular so that I will never go back
How to map Figma MCP components to a custom UI library?
by bqc | 2025-07-28 06:37:31+00:00
How can we implement a system where Figma MCP (Model context protocol) + GitHub Copilot automatically maps Figma design components to our own custom React component library (OMNI UI), instead of generating raw code?

Our Setup: Design Side: Uses a consistent design system in Figma (spacing, colors, typography, components like buttons, accordions, etc.)

Dev Side: We’ve built a component library called OMNI UI (React + TypeScript), which mirrors the design system.

OMNI UI is maintained in a separate GitLab repository.

We use GitHub Copilot to assist with code generation.

Goal: When a developer uses Figma MCP to generate code for a design, it should import and use OMNI UI components (e.g., <Button />, <Accordion />) instead of generating raw HTML/CSS.

Similar Example: v0.dev uses shadcn/ui components automatically for common UI patterns.

What we want to know:

How can we configure Copilot or Figma MCP to recognize our custom component library?

Can we create a mapping layer or design-token-to-component bridge?

Does anyone have experience linking Figma components to external component libraries?

Is this possible across repositories?

Should we use design tokens, naming conventions, plugin configuration, or codegen tooling?
by bpavuk | 2025-07-28 06:38:40+00:00
ATProto is helluva complex and inconvenient to work with without supporting libraries, even in a relatively sugary language, like Kotlin. So, I decided to write a (programmatic) code generator that takes Lexicon on input and gives all the HTTP code and data classes you may ever need. If you wonder why Bluesky native apps are crap, that's because they are in TypeScript, not in Kotlin and Swift, which are programming languages of Android and Apple platforms. Maybe, someone will take my code and use it to make an app that feels good...
by adityaathalye | 2025-07-28 06:38:50+00:00
Brilliant work! Zippers got nothing on this! I am particularly taken by how the "stich" weaves into itself, to flatten the seam.

Now, what about footwear, I'm thinking. Stitched soles + uppers are so much more durable. If you could cut a sole to a person's foot size, then they could construct the upper to their best-fit, best-colour-combo design.
by cs02rm0 | 2025-07-28 06:39:02+00:00
I don't buy that it's work traditionally reserved for governments, or that it's all bad.

There are people offering their services to find kidnapped children, I struggle to see that as a bad thing. Private investigatory work has a long history in the country of Sherlock Holmes (or at least Dr Joseph Bell). You have figures as far back as Harry Philby flirting with foreign governments after their time within the UK government.

They're not offering government services, they're offering their own capabilities.
by theshrike79 | 2025-07-28 06:39:26+00:00
This is exactly why we moved from Assembly code to higher level languages and then to using frameworks.

Nobody is paying you to make a CRUD web app in Assembly, they're paying you to solve a problem.

You're not getting any extra points for using plain vi(m) with no autocomplete to write a Java application. Making stuff the hard way is just stupid performative crap.

LLMs are just the next iteration of autocomplete -> intellisense -> language servers.

Now instead of autocompleting a method or property, they can autocomplete full unit tests and functions by looking at the patterns across the codebase.
by bob1029 | 2025-07-28 06:40:03+00:00
> when your "three hour" (usually like 4-5 hours) load finishes

What kind of laundry cycles are we running here?

My machine finishes a normal "eco" cycle in <30 minutes. It also beeps really loudly when it's done. The combination of quick cycles and simple notification signal keeps me out of the weird tech solutions rabbit hole.
by chilldsgn | 2025-07-28 06:41:11+00:00
This is cool! I am getting back into Python programming after having to work with Angular (with a code base that's a spaghetti mess of poorly used TypeScript), and doing little toy projects like this helps tremendously with bringing back the joy I once experienced with programming.

At the moment I'm building a C++ version of Tic Tac Toe, would be cool to implement it in Python.
by AngryData | 2025-07-28 06:42:03+00:00
Crop subsidies are certainly poorly applied and poorly distributed, but we also need to not throw the baby out with the bath water. Crop subsidization is the only alternative to the granary system, which while decent still resulted in repeated famines for thousands of years basically everywhere, while no country that has decent crop subsidization ever has famine. Crop subsidization in general makes granaries 90% obsolete because you always aim to over produce crops and so even in bad years you still produce enough food despite the unexpectedly low yields. It also makes food prices WAY more stable so that a bad July doesn't cause wheat prices to double because there isn't enough to satisfy demand. It is really the only way to ensure you always produce extra food in a capitalist economy because otherwise margins are only like 2% while crop yields can swing 30% even without extraordinary weather events or storm damage.

I do want to note though that corn is possibly one of the least useful crops to subsidize, it is one of the most robust and predictable food crops we grow, which is why so much of it is grown despite a large fraction of it's energy going into worthless stalk. More delicate crops that have larger and less predictable yield swings, like wheat, or something with delicate fruits that can't be stored long, likely deserve the majority of subsidization money that currently goes towards corn.
by dagmx | 2025-07-28 06:42:17+00:00
There are lots of way to construct geometry.

- sculpting. You start with a high density mesh and drag the points like clay.

- poly modeling. You start with a plane and extend the edges until you make the topology you want.

- box modelling. You start with a cube or other primitive shape and extend the faces until you make the shape you want.

- nurbs / patches : you create parts of a model by moving Bézier curves around and creating a surface between them

- B-reps / parametric / csg / cad / sdf / BSP : these are all similar in that you start with mathematically defined shapes and then combine or subtract them from each other to get what you want. They’re all different in implementation though

- photogrammetry / scans : you take imagery from multiple angles and correlate points between them to create a mesh
by obscure-enigma | 2025-07-28 06:42:18+00:00
> design the cockpit so that the human pilot is naturally aware of their surroundings.

This is a design interface problem. Self-driving cars can easily ingest this HUD. This is the reason what makes Apple's AI different from other microservice-like AI. The spell checker, rewrite, proofread are naturally integrated into the UI to the extent it doesn't feel like AI powered operations.
by kiitos | 2025-07-28 06:42:25+00:00
OK so given

$ ./dumbpipe listen ... To connect use: ./dumbpipe connect nodeecsxraxj...

that `nodeecsxraxj...` is a serialized form of some data type that includes the IP address(es) that the client needs to connect to?

forgive me for what is maybe a dumb question, but if this is the case, then what is the value proposition here? is it just the smushing together of some IPs with a public key in a single identifier?
by nindalf | 2025-07-28 06:42:32+00:00
It’s interesting to see both kinds of drones in Ukraine as well. Ukrainian drones are built for €300 or so and they’re staggeringly effective. “Western” drones as made by Helsing and other companies cost several thousand. While they may have more features, it’s not clear that they’re doing 10x more damage than the Ukrainian ones.

Ukraine plans to buy 4.5 drones in 2025. They’re definitely going with volume over software features. Further they’re allowing frontline drone regiments to earn “points” based on kills and using the points to buy their own drones instead of allocating them top down. The regiments appear to be favouring the cheap drones over expensive ones like the Helsing HF-1.

What’s interesting is that European governments are probably going to end up buying tens of thousands of the expensive drones because the laundry list of features, rather than investing in true mass production like the Ukrainians have. Going the Protoss way, rather than Zerg.
by flowerthoughts | 2025-07-28 06:42:57+00:00
I was trying to find information how much a new John Deere combine costs, but too much spam... Combines are complicated machines with lots of parts that need to go together nicely. Seems mechanically similar to a fire truck.

A 2024 combine [1] is listed for $790k. And a fire truck in Sweden was priced about $700k in 2023 [2].

[1] https://vanwall.com/shop/agriculture/harvesting/combines/202...

[2] https://www.mitti.se/nyheter/satsningen-pa-civilforsvaret-tv... (Swedish)
by aitchnyu | 2025-07-28 06:43:17+00:00
Everything reinforces my choice of Aider+Openrouter+code. I use models 20x cheaper than Sonnet, completely pay as you go, nobody is playing games with models, their LLM bills and my context to turn a profit. I generate Python scripts with Mongo and Cloudwatch queries instead of getting angry at the mystical sparkly button UX on their apps.
by zpeti | 2025-07-28 06:43:56+00:00
Journalists should have realised a long time ago that their opinions are a commodity, and they will destroy their entire industry by focusing on opinions and not on on-the-ground reporting. But they doubled down, and decided to be as opinionated as possible. Of course this was tempting, because emotional propaganda gets more clicks.

But I think there would still be a market for a 1990s BBC style on the ground, completely opinion free reporting, and someone could fill this niche because a lot of people WOULD actually pay for this. But it would take a big investment and it's a big risk.
by heavyset_go | 2025-07-28 06:44:46+00:00
IMO, the reason we have a sea of open source drivers available now is because of the lack of a standard driver interface.

If one existed, companies would not be compelled to release their drivers' source, and would just release closed source drivers. As it stands, kernel drivers must be open source because the kernel API/ABI changes, and drivers must be recompiled against new kernel releases. It's infeasible to release a compiled driver .ko and have it work with new kernel releases.

Similarly, companies will not be incentivized to mainline their drivers for hardware outside of hobbists' interests. We're blessed with a plethora of drivers for enterprise, cloud and industry hardware that would otherwise have never been released beyond vendors' customers' deployments.

What would happen to the Linux driver ecosystem is what happened with Nintendo, Sony, Apple and FreeBSD. You get closed source drivers siloed away in proprietary systems that will never be released. The deployed drivers will come with restrictions on use and distribution, as well, so it wouldn't be like you could pluck out compatible drivers to use elsewhere.
by yorwba | 2025-07-28 06:45:07+00:00
> Governments now want to pretend that it matters where the user is rather than where the site is

This is not a new thing either. Whenever something somehow touches multiple jurisdictions, it's generally safe to assume that laws from all of them apply. Countries can and do make laws that apply entirely extraterritorially. When that makes it difficult to do a thing while complying with all applicable laws, you either have to not do the thing or pick which jurisdictions' laws you want to break and deal with the consequences.

I don't think most lawmakers will consider the potential embarrassment from difficult-to-enforce laws much of a deterrent against outlawing what they want to outlaw. They're more likely to put additional requirements on third parties to assist with enforcement (e.g. VPN providers are an obvious candidate.)
by Bairfhionn | 2025-07-28 06:45:15+00:00
It's a joke (meme, copypasta) but it's also accurate.

As I understood: Missile uses gyros and accelerometers to figure out how far it flew already towards the target. This is not 100% accurate.

So it additionally uses terrain mapping to figure out how it looks down there. Compare ground (am I flying above a slope?) to its internal maps and it can figure out where it is and adjust path if off course.

So it figured out the position by knowing that the position is most likely not the position where it's supposed to be.
by cs702 | 2025-07-28 06:45:20+00:00
Yeah, the results look incredible indeed. That's why I and many others here have decided to download, review, and test the code published by the authors.[a] If their code doesn't live up to their claims, we will all ignore their work and move on. If their code lives up to their claims, no one can argue with it. In my experience, when authors publish working code, it's usually a good sign.

---

[a] https://github.com/sapientinc/HRM
by zettabomb | 2025-07-28 06:46:02+00:00
I'd accept I was wrong if I was wrong, but I'm not. The standard 9-pin serial connector is a DE9 and nothing else. Cannon, the original manufacturer, says so, and no reputable sources say otherwise. Maybe you haven't been confused in 45 years. Other people could be. You could learn something and get it right, instead of being stubborn and objectively wrong.
by progval | 2025-07-28 06:46:08+00:00
> By design, this app isn't mandatory. There should be an alternative way to do age verification. If you can't access a service because you can't run the app, the service fucked up.

So you complain to the service, they either ignore you or tell you to use the app, and then what? They are not breaking any law as far as I can tell.

And even if it was, class actions in Europe are close to inexistent, and it's not worth it for any one consumer to take the multinational running the service to court.

> there's nothing stopping the governments implementing these standards from permitting GrapheneOS' signature

incompetence and/or not caring
by chrisandchris | 2025-07-28 06:46:10+00:00
> Is it just explaining terrain mapping in an intentionally obtuse way

AFAIK, yes, that's what it actually was (or the basic sentiment actually came from). It was some part of training video in the US army/navy (don't know exactly), but the actual story or origin remains a bit unclear. At least my search within the web did not yield any (assumingly) valid source. I think at some point it just got to "it is what it is now" because it is a very, very complicated way to explain this stuff.
by fodkodrasz | 2025-07-28 06:46:57+00:00
The soil is degraded, washed away on clear-cut forests, and even old-growth protected forests are being relabeled unprotected to provide energy for the industry all over Eastern-Europe. The resulting flash floods, the water of which is harder to retain on the lowlands are worsening the droughts and the effects of climate change.

Ah, end eventually trees will not regrow, because they need soil for that. And water. Modern forestry is far from renewable. Only externalities having a longer time-frame to kick in are conveniently ignored by the decision makers and the masses willing to see only the upsides.
How to Choose Between an Electric and Hybrid Car
by Random4456 | 2025-07-28 06:47:54+00:00
How to Choose Between an Electric and Hybrid Car Let’s face it — choosing between an electric and a hybrid car in 2025 is a bit like deciding between cold brew and a cappuccino.

Both will get the job done, but the experience?

Totally different.

If you’re standing at the dealership or endlessly scrolling through listings trying to decide, here’s what you actually need to know.

No fluff. Just the stuff that matters.

Zoom image will be displayed

Understand Your Driving Habits First Start here.

Are you a city commuter with a short daily drive and access to a charger?

Electric’s your jam.

No tailpipe emissions, lower running costs, and the zen silence of an EV — it’s all yours.

But if you’re clocking long miles, especially in areas where chargers are still “coming soon,” a hybrid makes a lot more sense.

It blends a gas engine with an electric motor, giving you better fuel economy without asking you to plan your life around charging stations.

Electric Cars: All-In on Efficiency Electric cars are for drivers who want to ditch gas completely. Models like the Tesla Model 3, Hyundai Ioniq 6, and Ford Mustang Mach-E offer punchy performance, zero emissions, and lower maintenance.

There’s no oil to change, fewer moving parts, and government incentives (hello, federal tax credit) sweeten the deal.

But you’ve got to be ready to plug in regularly. Home charging is a must. Public infrastructure is growing, but it’s not perfect yet.

Cold weather can also affect range, so if you live in Minnesota, keep that in mind.

Hybrid Cars: The Best of Both Worlds Hybrids like the Toyota Prius or Honda CR-V Hybrid are less dramatic.

They don’t need charging because they recharge themselves while you drive. You’ll still visit gas stations — but way less often.

These cars are ideal if you’re not ready to go full electric but still want to save money and reduce emissions.

They’re also generally cheaper upfront than electric cars, and you don’t have to change your lifestyle much.

Think of them as a soft transition to the electric future.

(Read: Hybrid vs Plug-In Hybrid: Which One Should You Buy?)

Maintenance and Running Costs Electric cars usually cost more to buy but less to maintain. No oil, no spark plugs, no transmission fluid.

But if something major like a battery fails outside warranty? That’s a steep repair bill.

Hybrids, while more complex than traditional cars, still lean on internal combustion.

Maintenance is more frequent than in EVs, but less painful than in gas guzzlers.

(Explore: Best Hybrid SUVs for Families in 2025)

So, What’s Right for You? If your lifestyle is predictable, your commute is under 50 miles roundtrip, and you’ve got a charging setup at home or work, go electric.

You’ll love the drive, the quiet, and the savings.

But if you’re on the road a lot, have unpredictable routes, or just want the comfort of fueling up in five minutes, stick with a hybrid.

Either way, you’re making a smart move for your wallet and the planet.

Source link: https://www.caranddriver.com/features/a60300121/electric-vs-hybrid-cars-pros-and-cons/
by furgot | 2025-07-28 06:48:16+00:00
To what end? The math isn't correct. Some of it is nonsensical like asserting 1 = 0 = inf, or taking the derivative of an emotion. I found simple arithmetic that was just wrong, I plugged it into a calculator and got a completely different answer. There's nothing an LLM could tell me, after ingesting this, that could change my mind any which way, because these documents are incoherent. They don't mean anything.

On the off chance you aren't trolling, I encourage you to try and talk to some human beings about this rather than chat bots. Or at the very least, point a chatbot at this conversation and ask it to explain to you what is incoherent about these documents and why you shouldn't trust the outputs of chatbots.

If you ask a chatbot to confirm your ideas, it will. They're happy to flatter and yes-and you off a cliff. To the extent they want anything, they want your attention, because they want your money. Don't get trapped in a personalized echo chamber by the automated yes-man.
by burnt-resistor | 2025-07-28 06:48:43+00:00
I installed Code to have it there for debugging, but after switching from plain Neovim to the LazyVim (Neovim config) w/ Copilot, I just don't use it all that much.

Granted, when I was at Meta, their VSCode fork was essentially required to do almost any real work because of all of the infrastructure-level integrations added on. The experience of a organization-managed IDE also wasn't so nice because the list of approved extensions list was limited for security reasons, which was inconvenient especially for languages required for your job. What many people did was use Vim for text editing and VSCode for managing diffs.