MurphyA/hacker-news huggingface dataset:
by flyingcircus3 | 2025-05-11 23:05:44+00:00
Are you implying the SWD signals would send the RAM contents every time? If I had to do that, I would first use a logic analyzer like Saleae to capture the SWD signals of a JLink performing the necessary operations to load the image into RAM. Then figure out, from the bytes that get send and received, whatever needs to be parameterized, and where to put the image data itself, perhaps by capturing different scenarios, and seeing what changes. Maybe even look up the SWD spec. You would also need to figure out what kind of back and forth is necessary, what must block waiting for a response. From there, assuming there isn't cryptography involved, it just becomes a matter of providing bytes to a bus in the correct order or timing based on the proper events. Some of those bytes are "canned" and never change. Some of them are parameters that describe some important quantity relevant your specific image. And the rest are your firmware image, probably chunked up with some overhead wrapped around it. I allow for the possibility that SWD is far more complex than I imagine, but this approach works pretty well for figuring out whats going on with SPI or I2C or BLE.
by tim333 | 2025-05-11 23:06:25+00:00
NASA has said it's looking:

>NASA announced Tuesday it may turn to Elon Musk's SpaceX or Jeff Bezos's Blue Origin to help reduce the soaring costs of returning Martian rocks collected by the Perseverance rover to Earth. https://phys.org/news/2025-01-nasa-eyes-spacex-blue-mars.htm...
by ericmay | 2025-05-11 23:06:41+00:00
If you live in America it’s just not enforced. Even cops do it. I don’t do it because I just don’t need to but you can watch people doing it for yourself if you pay attention.

If you’re focused on less death, sure we can criticize infotainment screens, but the energy is much better spent in demanding enforcement and in whatever we need to do to reduce car usage. Otherwise you’re kind of wasting your time, unfortunately.
by IX-103 | 2025-05-11 23:07:16+00:00
That's bullshit. Inflation-adjusted compensation has been on a decline (nevermind the decision to reschedule the bonus/promotion cycle from January to April).

At least half of the micro-kitchens and cafes have been shutdown. On-site tech support has been dropped. Medical benefits support was changed from Anthem premium to some third-party that is worse than useless. Medical plan costs are up and covered benefits down. Hardware refreshes (even for engineers) has been cancelled, so everyone is working with pre-pandemic hardware.
by nine_k | 2025-05-11 23:07:40+00:00
In a way, it's similar to the connection between "boredom" and creativity. When you don't have much to do, you can do anything, including novel and awesome things. It, of course, takes the right kind of person, or a right group of persons. Give such people a way to not think about the daily bread, and allow them to build what they want to build, study what they want to study, think about what they want to think about.

It feels anti-efficient. It looks wasteful. It requires faith in the power of reason and the creative spirit. All these things are hard to pull off in a public corporation, unless it's swimming in excess cash, like AT&T and Google did back in the day.

Notably, a lot of European science in 16-19 centuries was advanced by well-off people who did not need to earn their upkeep, the useless, idle class, as some said. Truth be told, not all of them advanced sciences and arts though.

OTOH the rational, orderly living, when every minute is filled with some predefined meaning, pre-assigned task, allows very little room for creativity, and gives relatively little incentive to invent new things. Some see it as a noble ideal, and, understandably, a fiscal ideal, too.

Maybe a society needs excess sometimes, needs to burn billions on weird stuff, because it gives a chance to to something genuinely new and revolutionary to be born and grow to a viable stage. In a funny way, the same monopolies that gouge prices for the common person also collect the resources necessary for such advances, that benefit that same common person (but not necessarily that same monopoly). It's an unsetllting thought to have.
by steve_adams_86 | 2025-05-11 23:07:59+00:00
I’m not sure if you’ve worked around hardware but a year is not very long in these environments, and that 5 year plan is less like a sensible, let alone obvious step to take and more like a crazy leap of faith.

You don’t know that vertical integration will guarantee that you’re more competitive, and the investment you need to make before you see a return is beyond 5 years. That’s not an easy bet to make. It looks obvious in retrospect, but it’s really not.

It requires quite a bit of in-housing that many of these teams aren’t yet well-versed in, so as you vertically integrate you’re also disrupting your internal structure while adding new people. It’s a lot to take on. Meanwhile, there are other long term plans underway already.
by const_cast | 2025-05-11 23:08:17+00:00
I don't think it's a huge assumption. It was in the past, but not anymore.

The thing is that car manufacturers have been fucking up software in cars since... forever. The second car play and android auto hit the scene, that's all anyone wanted.

There's more benefits than just what's on the surface, too. Even if the car software is perfect, it doesn't have access to the same data your phone does. It won't put your contacts in your navigation, for instance.
by lunaticman | 2025-05-11 23:09:24+00:00
Added this section: ---

Not all licensing features have been rolled out yet, so let me briefly explain the overall vision.

DevTUI will be available to everyone as a free product, with no limitations on functionality. However, it will include a nagging popup prompting users to support further development. Users can remove this nag screen by paying a (reasonable) one-time fee.

The inspiration for this payment model comes from Postico and Sublime Text — two products I personally support and admire.

Since DevTUI doesn’t incur any recurring costs, I’m okay with people using it for free. That said, I still want to encourage users to contribute financially to the project rather than relying on the usual “begging for open source funding” approach.
by scripturial | 2025-05-11 23:09:37+00:00
> Apple software updates have been slowly declining in quality ever since his dea

For years I installed all Apple software updates instantly and without reserve. These days I wait for at least the .1 release, after being bitten a few times by bugs and workflow breaking pointless changes.

> My total speculation was that Steve Jobs was autistic and Apple was sort of an autistic revolution.

Yes, I assume his abrasiveness was a result of an autistic drive for perfection combined with an autistic difficulty with picking up on social queues. But I’m not sure it’s possible to know this for sure. So many people simply read it as narcissism (which has overlapping external features) I’m not sure everyone can tell the difference (during a social interaction) between a narcissistic lack of concern for others vs an autistic inability to properly read and react to social queues.
by klabb3 | 2025-05-11 23:09:51+00:00
> But if I'm being honest post query selector frameworks don't have a strong cost benefit argument

To me the killer app in the modern world is reactivity, ie making views that update in response to changes in the data model. To manually create listeners and do differential updates, and manage removal and teardown of event listeners etc, is akin to doing manual memory management. We used to do that with jquery sometimes, and it’s the most error-prone thing you can do. It’s a stateful shithole.

Once they manage to find a way to modularize components in a way that is largely view-declarative, I would be happy to crawl up on the surface of vanilla JS again, but not before. It’s simply missing functionality, imo.
by anthk | 2025-05-11 23:10:20+00:00
It wasn't any better for Windows 98 with IE bundled in the shell, and audio parsing functions right in the kernel.

Up to the point tons of people chose to revert W98's shell to the Win95 one, having a good speed boost on some PI-PII machnes.

VB6 was a good idea as a RAD tool; but, as TCL 7.x (and the older 8.x releases), the performance wasn't fast enough until some Pentium 3/Pentium 4 for 'big' software. Not an issue for a boring company program or the 234000000nth shareware crossword puzzle software for PC magazines or sites as Softonic. Or some whatever catalog hooking up some Excel/Access libraries, or nice in-sormware forms borrowed from IE DLL to create zillions of similar shovelware. That kind of niche software was everywhere.

Ditto with some simple games written in VB; but the native ones outperformed VB ones with ease. And, yes, you could call native DDL's, but most amateur programmers didn't do that.
by numpad0 | 2025-05-11 23:10:24+00:00
Why do we not pretend like foreign language technical ghostwriting is a solved problem! You guys are asking for complete rewrites by someone explicitly NOT Chinese natives for all documentations. There's some point it'll be just an unreasonable ask.

A lot of HNers puts blind trust on Universal Grammar Theory and downplay languages as all but obsolete human output packing format that are each no more than header differences and those are just wrong. Languages are at least CODEC. And if you go back to the original topic from there, I don't think it will sound so unreasonable that translating between different CODECs will induce losses and artifacts.
by 93po | 2025-05-11 23:10:51+00:00
you're using somewhat inflammatory language which i think is a bit further along the troll spectrum than me simply stating my perspective without attacking anyone. you could say the same thing without the attack.

you can look at my post history - i do routinely push back against things that i consider factually not true that are both trump and elon related, but i have also very frequently and loudly voiced my concerns and opinions about the ways they have hateful and problematic behaviors

my post history is also extremely, extremely left. i am very anti-capitalism and pro progressive causes, and i'm also trans. i have no desire to support the agendas of two people who don't respect me as a human being

i push on misinformation because i think there are real, meaningful things to attack these two people on. and i think the hyperbole of everything they do is literally what hitler would do distracts from the real issues.

i want to talk about ending wars, making sure everyone has basic access to housing and healthcare, that people can feel safe living their lives in ways that has literally no impact on anyone else. i want to end massive income and wealth inequality. and trump and elon are massively fucking those things up. i want to focus on that harm, and not the stuff people are making up

i also want to shed light on the problematic things that trump does that other presidents have also done. obama also had kids in cages. this isn't "whataboutism", it's an attempt to highlight that the problem isn't republicans versus democrats, though i recognize republicans are uniquely harmful. they both really, really suck, and cause millions of deaths a year. i want to highlight that voting blue isn't usually solving the biggest problems while acknowledging that it does solve some of them
by _heimdall | 2025-05-11 23:11:00+00:00
Especially for internal tooling that is little more than CRUD, I find the web to be most useful when a consultant is brought in to build it once or when an internal team can't be allocated to help maintain it.

If you have even a small bandwidth to maintain it over time, quick and simple solutions like an Excel template and a few custom scripts work great and often end up being more flexible as your end user is mostly working with raw data.
by 0xfaded | 2025-05-11 23:11:35+00:00
The actual cost to retire a 1 ton co2e carbon credit should be $70-$80. A lot of these $10 programs do not actually retire the credit and sell it to somebody else, so you are in effect subsidizing the credit.

https://carboncredits.com/carbon-prices-today/

TBF, this may still enable a legitimate project that is viable at $80-90 that is not at $70-80. So if you want to support a particular tree planting effort go for it.
by walterbell | 2025-05-11 23:11:44+00:00
maximal malicious compliance!

Once Asahi Linux support matures (e.g. Thunderbolt external storage for software RAID) Mac Mini hardware with Linux for CI/CD will be competitive on price/performance/watt.

If Apple would re-enable Linux VMs on iPad/iPhone, everyone could be happy. Thankfully Google is now shipping a full pKVM Linux VM ("Terminal") on Pixel phones, including USB-c docking to external keyboard and mouse. Hopefully that "inspires" Apple to restore the Linux VM functionality they removed three years ago. Then iPhone Pro + USB-c dock = Linux desktop for iOS app development, buying time for Apple to converge iOS/macOS/visionOS in +++ years.
by Etheryte | 2025-05-11 23:11:46+00:00
The strategy department may be laughably bad, but at least with pitstops they've got it nailed down. They currently hold the fastest pitstop of the season [0] and they've been consistently faster than the rest of the field with pitstops so far.

[0] https://www.formula1.com/en/latest/article/2025-dhl-fastest-...
by kevmo314 | 2025-05-11 23:11:57+00:00
Shannon did a lot more than just information theory. In fact, anyone who fits the autonomy persona does because that was part of the definition.

Sure, licensing information theory is a bit of a stretch, but Shannon literally built one of the first artificial intelligence machines [1]. 2025 Shannon would've been totally fine building his own company.

If you see these idols through their singular achievements, then yes of course it's hard to imagine them outside the context of a lab, but rarely are these innovators one trick ponies.

By the way, Bob Metcalfe did indeed start his own company and became pretty successful in doing so.

[1] https://en.wikipedia.org/wiki/Claude_Shannon#Artificial_Inte...
by cesarb | 2025-05-11 23:11:59+00:00
> Everyone should just start running their own authoritative DNS servers like Unbound.

I used to do that, but it caused some odd issues at my former ISP, which I suspect were due to connection tracking state table exhaustion on their CGNAT box; running your own recursive server means a lot of UDP connections, and unlike with TCP, there's no well-defined point at which the connection tracking state can be released, which can lead to it accumulating. Making unbound use DoT to cloudflare made things much more stable (since DoT uses TCP, the connection tracking state can be released immediately when each connection is closed).
by lucb1e | 2025-05-11 23:12:01+00:00
Funny, I saw this HN headline just after banning another scraper's IP range

You're welcome to scrape my sites but please do it ethically. Idk how to define that but some examples of things I consider not cool:

- Scraping without a contact method, or at least some unique identifier (like your project's codename), in the user agent string.

This is common practice, see e.g.: <https://en.wikipedia.org/wiki/User-Agent_header#Format_for_a...>. Many sites mention in public API guidelines to include an email address so you can be contacted in case of problems. If you don't include this and you're causing trouble, all I can do is ban your IP address altogether (or entire ranges: if you hop between several IPs I'll have to assume you have access to the whole range). Nobody likes IP bans: you have to get a new IP, your provider has a burned IP address, the next customer runs into issues... don't be this person, include an identifier.

- Timing out the request after a few seconds.

Some pages on my site involve number crunching and take 20 seconds to load. I could add complexity to do this async instead, but, by having it live, the regular users get the latest info and they know to just wait a few seconds and everybody is happy. Even the scrapers can get the info, I'm fine computing those pages for you. But if you ask for me to do work and then walk away, that's just rude. It shows up in my logs as HTTP status 499 and I'll ban scrapers that I notice doing this regularly

- Ignoring robots.txt.

I have exactly 1 entry in there, and that's a caching proxy for another site that is struggling with load. If you ignore the robots file and just crawl the thing from A to Z at a high rate, that causes a lot of requests to the upstream site for updating stale caches. You can obviously expect a ban because it's again just a waste of resources
by alganet | 2025-05-11 23:12:13+00:00
What if it's a trick?

You start by creating a myth: "this place breeds innovation". Then, ambitious smart people wanting to innovate are drawn to it.

Once there, there are two ways of seeing it: "it was just a myth, I'll slack off and forget about it" or "the myth is worthwhile, I'll make it real".

One mistake could end it all. For example, letting who doesn't believe outnumber or outwit those who "believe the myth".

So, small pieces: A good founding myth (half real, half exaggerated), people willing to make it more real than myth, pruning off who drags the ship down.

Let's take that "productivity" from this myth perspective. Some people will try to game it to slack off, some people will try to make the myth of measuring it into reality (fully knowing it's doomed from the start).

A sustainable power of belief is quite hard to put into a formula. You don't create it, you find it, feed it, prune it, etc. I suspect many proto Bell Labs analogues exist today. Whenever there's one or two people who believe and work hard, there is a chance of making it work. However, the starting seed is not enough by its own.

If you ask me, the free software movement has plenty of supply of it. So many companies realized this already, but can't sequester the myth into another thing (that makes monry), even though free software already makes tons of (non monetary) value.
by pnw | 2025-05-11 23:13:54+00:00
That's a concern for privacy focused individuals, who are a very small fraction of the consumer market, despite being common here on HN. If the last few decades have shown anything, it's that most consumers don't rank privacy highly as a desired feature for products in anything but the most abstract ways.

There's zero chance a car manufacturer is going to nuke some of the most desired features of modern automobiles for some undefined cohort of privacy conscious consumers.

Most younger drivers would even buy Chinese vehicles despite their privacy concerns.

https://www.autopacific.com/autopacific-insights/2024/5/22/y...
Ask HN: Would a tool to check if code matches requirements be useful?
by eladtamir | 2025-05-11 23:14:20+00:00
Hi HN, I’m a junior web developer exploring a side project idea and would love your thoughts. The concept is a simple web app that takes a requirements doc (e.g., User Stories) and code, then checks if the code implements the requirements.For example: you upload a spec saying “add a Google login function,” upload the code, and get a report with (requirement met) or (missing). The goal is to help product managers, developers, and clients verify features without manually reading code.Questions:Would this be valuable for developers, PMs, or QA?What features would you want in such a tool?Any advice for building a minimal MVP?I’m sharing this anonymously as I’m in the early ideation phase. Honest feedback is welcome, even if it’s “this won’t work because X” Thanks!
by coderjames | 2025-05-11 23:14:25+00:00
The grandparent said

> support wireless CarPlay and android auto

Removing LTE doesn't cost me real-time traffic updates because (preferred maps app) is running on my phone which already has LTE. Streaming media? The media is being played from my phone or streamed via my phone, which already has LTE. I'm not sure what "remote controls" are in this context? Letting me set the A/C fan to high from Internet (almost certainly via a browser or app running on... wait for it... my phone)?

We've already paid for the LTE modems and app integration on the phone side of things, don't need to pay for it a second time on the car side or have to deal with the vehicle manufacturer's terrible implementations of navigation apps and media streaming services or yet another vendor collecting telemetry about me and reselling it to whoever wants to pay.
by coolhand2120 | 2025-05-11 23:14:28+00:00
It's a popular non-netflix/google video streaming app that you've maybe heard of. HTML5 apps/sites/whatever are just part of our supported clients. All clients are supported by a largish SOA. All of the HTML clients are indeed sites, SPAs on a CDN to be more specific, and not "apps" but this is the sickly nomenclature our industry has adopted. But I really should have called them sites if I want to motivate others to do the same, thanks for the correction.
by masternight | 2025-05-11 23:14:45+00:00
Yep, that's intended use case for strncpy().

It's not really suitable for general purpose programming like the OP is doing. It won't null terminate the string if the buffer is filled, which will cause you all sorts of problems. If the buffer is not filled, it will write extra null bytes to fill the buffer (not a problem, but unnecessary).

On freebsd you have strlcpy(), Windows has strcpy_s() which will do what the OP needs. I remember someone trying to import strlcpy() into Linux, but Ulrich Drepper had a fit and said no.

You just never assume a string is null terminated when reading, using strnlen or strncpy when reading as well.

Not really possible when dealing with operating system level APIs that expect and require null-terminated strings. It's safer and less error-prone to keep everything null terminated at all times.

Or just write in C++ and use std::string, or literally any other language. C is terrible when it comes to text strings.
by neild | 2025-05-11 23:15:01+00:00
I have a 2024 Kia EV6, and this is pretty much what it does: Central screen displays CarPlay, backup camera, and infrequently-used settings controls, dials and knobs for most things, one secondary touchbar (row of buttons, but it’s really a touchscreen so the buttons can change) for climate controls. Pretty much perfect, although only wired CarPlay. (The 2025 models apparently have wireless.)