MurphyA/hacker-news huggingface dataset:
by Disposal8433 | 2025-05-07 17:03:17+00:00
I cannot trust a web team whose web site is broken without JS and who wastes its money with "expertise in design and development" instead of vibe coding the whole thing.

You can also fix the fake picture of the CEO which is stored on twitter, and the numerous 404 pages that appear when you're not clicking links from the main page. Pretty ironic for a web agency.
by yorwba | 2025-05-07 17:03:20+00:00
The part you're quoting is the spec, not the implementation. It implicitly assumes a machine model where sampling a uniformly random real number in an interval and correctly rounding it to a floating-point number are both supported operations. Of course this cannot be a real machine or even a Turing machine, but you can imagine and mathematically model a more powerful machine which can do these things. (Turing machines are imaginary anyways.)

This unimplementable algorithm for an imaginary machine is still useful, because it nails down the probability distribution we expect the output samples to have. And because they're sampled from a finite value space and the probabilities of obtaining each possible output are rational numbers, we have a chance of finding an implementable algorithm for a real machine that produces the same output distribution.

The rest of the article goes into detail on what they decided to actually do. It's similar to your proposal but has more edge-case handling and deals with different rounding modes.
by greenavocado | 2025-05-07 17:03:31+00:00
PostgreSQL uses heap files for the primary table storage, not B-trees. In PostgreSQL table data is primarily stored in heap files (unordered collections of pages/blocks). Indexes (including primary key indexes) use B-trees (specifically B+ trees). When you query a table via an index, the B-tree index points to locations in the heap file

InnoDB uses a clustered index approach. The primary key index is a B-tree. The actual table data is stored in the leaf nodes of this B-tree. Secondary indexes point to the primary key.

One is not better than the other in general terms. InnoDB's clustered B-tree approach shines when:

You frequently access data in primary key order

Your workload has many range scans on the primary key

You need predictable performance for primary key lookups

Your data naturally has a meaningful ordering that matches your access patterns

PostgreSQL's heap approach excels when:

You frequently update non-key columns (less page splits/reorganization)

You have many secondary indexes (they're smaller without primary keys)

Your access patterns vary widely and don't follow one particular field

You need faster table scans when indexes aren't applicable

I personally find PostgreSQL's approach more flexible for complex analytical workloads with unpredictable access patterns, while InnoDB's clustered approach feels more optimized for OLTP workloads with predictable key-based access patterns. The "better" system depends entirely on your specific workload, data characteristics, and access patterns.
by malfist | 2025-05-07 17:03:39+00:00
> How many non-Energy-Star appliances do you see at Home Depot and Wal Mart

I shop at lowes, not home depot or walmart, but lots.

Look at all the fridges lowes sells: https://www.lowes.com/pl/refrigerators/4294857973?goToProdLi...

There's 994 total, 554 are energy star certified. Just over half.

To take it even further, if I shop only what's in stock at my local store, there are 17 options. 11 Energy Star certified.

There's no absence of options if you don't care about energy star certifications.
by chneu | 2025-05-07 17:04:03+00:00
This is the same logic a lot of vegans use. Food is unlimited nowadays, so it doesn't make sense to indulge in the most resource intensive foods(meats) because it isn't feast or famine anymore.

Nothing we do nowadays is "natural" or "the way our ancestors did it" so its weird how folks cling onto "caveman diet" like it's some amazing thing. It's just excess consumption and a status symbol.
by sibeliuss | 2025-05-07 17:04:12+00:00
This migration worked great for us, but we ran into one hiccup, which led us back to prettier (while keeping linting, which has been working flawlessly): the current formatter (afaik) doesn't support embedded languages properly, so something like:

const foo = graphql` <some query> `

wont get formatted. In a big graphql codebase (where half the code IS graphql) its totally essential. Very much looking forward to this feature.

Otherwise, Biome has simplified our codebase config dramatically. So dreadful thinking of ESLint, and particularly ESLint 9.
by rwmj | 2025-05-07 17:04:18+00:00
Kexec is fine but I think the NMBL folk (https://fizuxchyk.wordpress.com/2024/06/13/nmbl-we-dont-need...) found that some hardware doesn't really like being initialized by the kernel twice (or by two different kernels if you prefer). This hardware or the drivers is written to assume that the kernel only boots once between resets.
by burningChrome | 2025-05-07 17:04:45+00:00
>> that the only way to provide dispute resolution and customer service to 1B people with only 100 employees is by depriving them of any chance to interact with a human.

Real world evidence supporting your argument:

United Health Group is currently embroiled in a class action lawsuit pertaining to using AI to auto-deny health care claims and procedures:

The plaintiffs are members who were denied benefit coverage. They claim in the lawsuit that the use of AI to evaluate claims for post-acute care resulted in denials, which in turn led to worsening health for the patients and in some cases resulted in death.

They said the AI program developed by UnitedHealth subsidiary naviHealth, nH Predict, would sometimes supersede physician judgement, and has a 90% error rate, meaning nine of 10 appealed denials were ultimately reversed.

https://www.healthcarefinancenews.com/news/class-action-laws...
by treis | 2025-05-07 17:05:31+00:00
I interviewed at a place that made the software to track blood as it moved around. It's a regulated thing to make sure that the blood stays cold and that they can track who donated. Anyways, the point is that the guy who interviewed me casually mentioned that the PE firm bought up companies until they controlled 90% of the market. I'm sure they're making bank off blood as well.
by SpicyLemonZest | 2025-05-07 17:05:41+00:00
I wouldn't argue for a strict equivalence, but research shows (https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5073929) that people who go on GLP-1 drugs shift their food habits to decrease consumption of calorie-dense processed foods. It's hard to 100% prove this is causal (or that "calorie-dense processed" means low satiety), but it matches widely reported anecdotes (https://www.nytimes.com/2024/11/19/magazine/ozempic-junk-foo...) that GLP-1s cause hyperpalatable junk food to be unappealing. For me personally, I can't even eat a full slice of cake anymore.
by the8472 | 2025-05-07 17:06:10+00:00
> No one gets fired for hosting with AWS

But consider the counterfactual: Non-realized customers because AWS certified solutions architect(tm) software couldn't deliver the price/perf they would have needed.

At $work this is a very real problem because a software system was built on api gateway, lambdas, sqs and a whole bunch of other moving pieces (serverless! scalable! easy compliance!) that combined resulted in way too much latency to meet a client's goal.
by jfim | 2025-05-07 17:06:18+00:00
Do you have a reference as to where it's allowed in the CVC? FMVSS section 108 table I-c specifies this for the stop light:

Steady burning. Must be activated upon application of the service brakes. When optically combined with a turn signal lamp, the circuit must be such that the stop signal cannot be activated if the turn signal lamp is flashing. May also be activated by a device designed to retard the motion of the vehicle.
by atlasunshrugged | 2025-05-07 17:06:41+00:00
Interesting initiative, one I think has a chance to get decent uptake in Europe given the focus on digital sovereignty -- this may give countries an opportunity to find a middle ground between trying to go fully domestic which is quite tough, and having some level of sovereignty while also maintaining geopolitical alignment with the U.S. Of course, for OpenAI its a great way to deeply entrench themselves in government markets and create a solid moat against competitors (and probably raise a good chunk of money).
by Aurornis | 2025-05-07 17:06:44+00:00
The wildest part is that JetBrains has their own AI coding tools and they seem to be very good.

They also have a pre-built customer base to sell them to.

I do think they have a perception issue with devs whose perspective on their products was crystallized back in the 2010s when they were using some old company laptop with 8GB of RAM when they could feel too heavy. With a modern laptop I just don’t care at all if my IDE takes up a few gigs of RAM.

JetBrains also ranks well on things like low-latency input, which surprises a lot of people. They do seem to care about developer experience.
by arevno | 2025-05-07 17:07:01+00:00
I can't speak for sales/marketing, as we employ zero. But if you've opted to employ a sales team and they're not landing clients, it's likely them that's your problem.

Our contracts are literally all self-referred or reputation-referred. My partner and I each have multiple long-term clients, some of whom are former fulltime employers.

On that latter point, a very common method is to "quit" your employer and then they immediately retain you as your anchor client before you begin the process of shopping for more.
by sureIy | 2025-05-07 17:07:02+00:00
ESM is actually quite simple. The problem is just that people don't know the basics and tools are encumbered by years of cruft and varying behavior. Check out how many "module" and "moduleResolution" behaviors TypeScript alone has.

The trick is to start fresh and to know the basics:

- use type=module

- import with extensions

- use a sensible shared tsconfig (this is the hard part)

- don't use junk tools like webpack and jest
by dmix | 2025-05-07 17:08:27+00:00
Another data point

> For decades, taxpayer spending on K-12 education has consistently increased, outpacing inflation by 2.5 times over the past 50 years. But while most people believe that more funding should lead to better outcomes for students, the evidence indicates that higher spending alone has had little impact on improving student achievement.

https://myelearningworld.com/us-educational-spending-50year-...
by mistrial9 | 2025-05-07 17:08:58+00:00
it is predictable to attack the student point of view, agree there. What is also predictable is that casual, drive-by "concerned voters" who are typically decades past their own lean years in school, and care more about paying their own taxes than concern for young adults. The fraud here is connected to the administrators of the financial aid! They "slow walk" investigations (guess) since they are paid by the number of students who are active, and those numbers plummeted during Covid-19 and b) they are financially connected to the flow of money they look after. Community colleges are wildly varying in rigor and skill of administering. The whole political cover here is that casual observers (who might vote) quickly place blame on students or "distant others" .. How many mid-level accountants are owning vacation homes with extra money while students actually starve in high cost of living California? etc
by PaulHoule | 2025-05-07 17:10:13+00:00
Bezos's vision is better than Musk's. This plan to gravitationally disrupt Ceres and turn 100% of it into habitat strictly dominates all other space colonization ideas in our solar system not least that it can provide more square feet of habitat than Earth does but probably not the 0.2 km^3 of ocean per person or the 0.7 million tons of atmosphere per person that we have, areas where Biosphere 2 fell tragically short. [1]

https://arxiv.org/pdf/2011.07487

[1] CO2 levels swung violently from day to night in Biosphere 2 because they didn't have enough atmosphere relative to plants and animals; Biosphere 2 probably shouldn't have tried to simulate oceans at all
by not_your_vase | 2025-05-07 17:10:24+00:00
Will? Isn't it happening already? bing.com/chat is more frequently visited on my machine than google.com...

(with that said, 10 years ago Google used to give way more useful results... more useful than Copilot, and more useful than today's Google. I would still use Google happily, if it was the better product)
by AStonesThrow | 2025-05-07 17:10:50+00:00
I attended Community College exclusively on Pell Grants. My tuition was paid directly to the school. But we received a "textbook advance" of funds directly to our personal accounts, and whatever funds we didn't use for tuition could be used for any educational expense. Furthermore, I worked through the Honors program for additional scholarship money, and so there was more to be gained beyond covering basic tuition and textbooks. (Many classes used no textbooks at all, or free resources, so this was a pretty good deal.)

I had enough surplus to pay for a good APC UPS system as well as a 2018 Lenovo Thinkpad notebook. These were invaluable for my education, but they served me for years afterwards, personally as well as for employment.
by tyami94 | 2025-05-07 17:11:13+00:00
The ROMs on these old boards typically don't have the driver needed to speak NVMe. Can't load your kernel if the UEFI doesn't know how to talk to your drive. This patch adds a driver to the ROM that allows it to natively access NVMe drives as block devices, solving the problem. Newer boards don't have this issue since nowadays it's standard practice to embed NvmExpressDxe or a similar driver from the factory.
Show HN: Audioscrape – From $7 Rust MVP to Podcast Intelligence Platform
by lukaesch | 2025-05-07 17:11:33+00:00
Seven months ago, I shared Audioscrape - a podcast exploration tool built entirely in Rust, running on a $7/month VM. Since then, we've transformed it into a full-fledged podcast intelligence platform, serving over 1,000 users, including PR teams, researchers, and marketers.

What's New:

Real-Time Monitoring: Track mentions across the top 100 U.S. podcasts, covering over 80% of U.S. listenership.

Advanced Search: Filter by speaker, sentiment, timeframe, and topic using AI-powered search.

Custom Alerts: Receive notifications for brand, competitor, or topic mentions.

API Access: Integrate podcast monitoring data into your workflows.

Transcription Accuracy: Achieved 92.2% accuracy across 20,000+ episodes.

Technical Stack:

Backend: Axum (async web framework)

Database: SQLite with SQLx for type-safe queries

Authentication: OAuth2

HTML Templating: Askama

Async Runtime: Tokio

Our commitment to Rust has enabled us to maintain low operational costs while scaling effectively.

Try It Out: https://www.audioscrape.com

Discussion Points:

Has anyone else scaled a Rust-based MVP into a production platform?

What strategies have you employed for efficient scaling and user acquisition?

Looking forward to your insights and feedback!
by tialaramex | 2025-05-07 17:11:35+00:00
The floats are a surprisingly bad approximation of the reals. They're barely better than the integers, while their shortcomings are much harder to understand, so I'd say it's like if you want approximately a spaceship and you're choosing between an F-14 Tomcat and a Fiat Punto.

Neither of these things is a spaceship, but, it will be obvious to almost anybody why the Punto isn't a spaceship whereas you are less likely to know enough about the F-14 to see why it's not "good enough".
by mercurialuser | 2025-05-07 17:11:53+00:00
You can still compile dbase/Clipper programs with Harbour, github hosted, open source, Clipper 5.2 compatible compiler that runs almost everywhere, from native windows 64 bit to mac, raspberry, linux, embedded appliances, anywhere there is a c compiler available.

The language has been slightly expanded and with external libraries you may have gui programs (win32, qt, gtk) l, connect to databases (sqlite, mariadb,postgres...) create PDF, excel files.

I have a program started in 1986 on dbase III, then ported to Clipper and now to Harbour...
by kmoser | 2025-05-07 17:11:54+00:00
OP didn't mention anything about starting from nothing. In any case, even with the newest company, somebody must have contacts: former co-workers, friends, colleagues, peers, etc.

In any case, sales/marketing/advertising is manifold. Have a website with a good explanation of your services and examples of projects you've worked on. (No past projects? Create some, even if just demos/proofs-of-concept.) Make it easy for visitors to join your mailing list for updates (maybe offer them a free whitepaper for joining). Find out where potential customers hang out (whether online or meatspace) and hang out there with them. Ask questions. Discover their pain points and address them. Look for sites that list contracts (yes, there are a bunch) and comb through them carefully and frequently. Don't try to be all things to all people, i.e. focus on customers and projects that can use your strengths. Create a free product and release it to get customers, then try to upsell them on extra features.

Knowing what type of software you specialize in would make it easier to give more specific suggestions. Government contracts are way different from websites for mom-and-pop shops which are themselves way different from embedded systems. Each of those spaces has their own challenges and quirks.
by sureIy | 2025-05-07 17:11:58+00:00
JS tooling has been a mess since its inception. Here came Rome with promises of it just working and doing everything at once. Of course people sucked it up.

Now whenever I read of "upcoming tools" I couldn't care less. Show me the tool and then we can talk. I'm still waiting for the features that Webpack 4 promised a decade ago.
by tshaddox | 2025-05-07 17:12:12+00:00
Pizza delivery has been ubiquitous in small town America for decades, and pizza has nothing uniquely suitable to delivery except perhaps standardized packaging. And takeout from all types of restaurants has been even more ubiquitous.

So I'm not sure why you're so confused by the popularity of a service where someone else picks up your takeout order and brings it to you. Other than valid concerns about the labor practices of these delivery companies, and of course the occasional botched delivery (this also happened every so often with traditional pizza delivery in my small town growing up in the 90s), there's nothing to be confused about. It's just paying a bit extra for convenience, a tale as old as time.
by alistairSH | 2025-05-07 17:12:17+00:00
Yeah, this confused me as well...

Are these bots successfully completing FAFSA forms to the government?

And the government is successfully generating ISIRs to send to the schools?

If yes, then this is a federal ID verification issue.

If not, why are the schools sending aid payments sand ISIR? Or does CA run its own state-level aid programs that skip the federal forms completely (and botching the ID verification on their own)?

Or are all of these effectively stolen IDs? Where the FAFSA and ISIR are for real people (but people who aren't actually students)?

The article is missing a LOT of details, what a waste of time.
by K0balt | 2025-05-07 17:12:43+00:00
Really nice project.

If you are thinking commercial you may want to look into IP issues to see if there are active patents (probably expired by now?)

As far as design choices, based on my journeys in similar types of projects: (just my$.02, not a critique)

USB will be a significant point of failure. The connector has voltage present and electrochemical activity will destroy the connector over time unless you can keep it in a clean, low humidity environment. Consider a different connector or a wireless SOC to eliminate this point of failure and make a completely potted unit possible. If you use usb, make sure there is no voltage normally present, even from the data connections, and you have a good watertight plug for the access port. Everything gets wet on bikes. Everything. nRF52840 or ESP32C3 would be my go to choices here, but there are a lot of excellent candidates. BLE is probably the protocol you will want to use. This will facilitate making a simple app to do firmware updates and feature adjustments.

Consider eliminating the need for RPM input. This will be a significant point of failure and your greatest installation headache across different motorcycles.

As a failsafe, control the lamp output pass-through with a pulled-up mosfet of at least 50a capacity (you won’t ever see this high current, but it protects from bulb changing short circuits and other unknowns)

An Infineon BTS5016-2EKA or its low side equivalent is probably a great choice, and gives you both of the switches you need in one package, for less than $3, with full protection features. ( I assume you will need one to interrupt existing signaling and one to light where’s there is no activation from the brake switches)

The main thing is the lamp must light with regular inputs even if the circuit loses power or the chip gets a hole drilled in it. If it comes on when it shouldn’t, that is also bad, but not as bad.

Idk what sensor you are using, but consider the icm20948, it’s not too expensive ($3-4) and it has onboard sensor fusion. Only downside is it’s 1.8v, but if you use the nRf52840 that’s not an issue. Even so, level conversion isn’t too big a deal. Sensor fusion will greatly simplify understanding what’s going on.

Since power consumption is not critical I would consider using an ML algorithm on the sensor data to detect hazard conditions, lie downs, etc and filter out steep uphill/downhill false activation/failure to activate.

You could collect the data easily and train a simple model with off the shelf tools designed specifically for doing that kind of thing with MCUs. I forget the name but it’s commonly used for voice action or gesture training. You might want to train on a few bikes though, especially ones with different vibration frequencies.

Now you can add a subscription model for premium flashing features and “enhanced AI” with in-app GPT4 access to an interactive tour guide and a “best rides” feature customized to your riding style and search history! Business could pay-to play, and insurance companies, motorcycle manufacturers, and tire sellers would love that personally identifiable riding data! (Please, don’t)
by WalterBright | 2025-05-07 17:13:22+00:00
Reminds me of a Frontline episode that was investigating dentists who did major dental work for poor people for payments from the government. The dental work was excessive and completely unnecessary. Dentists would set up entire clinics to do this and soak the government.

The laughable thing was the Frontline journalists were gobsmacked by people responding to big money incentives. They couldn't believe it!

There are also clinics set up to optimize extracting money from medicare.
by dhruvrajvanshi | 2025-05-07 17:13:27+00:00
I went through exactly what you went through and by god it was frustrating.

Eventually I did get stuff to work, but in the process I became an expert in a bunch of tools that I never wanted to be an expert in. I just wanted to write my business logic :') It makes me long for Java tooling.

To top it all off, I don't think could've done a better job than the people responsible for this complexity.

> What did we learn from all this?

> I don't know.

> Well I don't know either.

> I guess to not do it again...fuck if I know what we did in the first place

I guess eventually all tools will converge to a de-facto mixed module/commonjs module resolution standard which roughly matches what tsx (the ts-node replacement, not the file extension) does.