skysight-inc/HackerNews huggingface dataset:
I think it has to do with the FDAs' extremely limited authority. To really remove a product, they have to use the federal trade commission to declare something as misbranded. Similar to what they do with dietary supplements.
At this time we basically reset the db after each module run, but there is some flexibility.

Inside a test module, the developer has the ability to dicate whether the entire module should share the same db state, or if each individual test should get clean slate.

Here is an example of our `test/db/conftest.py` file that is auto-loaded when the specific db test dir is invoked. This essentially bootstraps everything: https://gist.github.com/whalesalad/6ecd284460ac3836a6c2b9ca8...

The main fixture is `database` which is set to autouse at the session level. This produces one db for the entire test session. This could easily be augmented to be scoped to the module or even function level.

You will see `truncate_db` which is currently set to autouse at the module level, so the tables are truncated after each module is finished. This can be totally customized for your own purposes.

I combined a few files to produce this example, but I still think it is pretty concise. We are using PostgreSQL 15.x at this time. Our migrations are perhaps unconventional - we just have a directory in the root called `migrations/` with files like 001_foo.sql, 002_bar.sql ... and we manually run them on deploys. So those same migrations get run sequentially all at once on boot.

The part here that would need to be modified for others are the `service.db` monkeypatching parts. That is our core DB module that everything else utilizes for grabbing a psycopg2 conn from the pool. The test monkeypatches these methods so that the rest of the codebase 'just works' and is handed this conn from the test container versus the traditional one.
> The truth is that most companies won't pay for the extra productivity that you create for yourself, but they will happily take it for free.

Fantastic way of putting it. Know this is a low-effort comment, but that's a great way to describe why over-extending yourself outside of the context of the overall mission isn't a good thing to do.
Curious we don't see the same dickriding for carriers like AT&T that we do for Apple on HN. All of the same tired arguments of 'you can choose a different carrier if you don't like it' and 'I only feel safe giving grandma a phone that doesn't allow her to do anything outside of the warm teat of Apple' apply perfectly here.
As someone in a very small company, no affiliation with any Google employees, gRPC and protobuf has been a godsend in many, many ways. My only complaint is that protoc is cumbersome af to use, and that is almost solved by buf.build. Except for our most used language, Java.

Protobufs has allowed us to version, build and deliver native language bindings for a multitude of languages and platforms in a tiny team for years now, without a single fault. We have the power to refactor and design our platform and apis in a way that we never had before. We love it.
They will, but glibc also has additional macro wrappers around certain library functions that do explicit checking based on __builtin_object_size or __builtin_dynamic_object_size. The code is public. You could also ask on the gcc mailing list.
> I don't think many people consider tail calls more intuitive than a while loop. The opposite is more obvious.

This depends a lot on the background of the respective person. For someone who is more trained in classical mathematics, tail calls are more intuitive (or rather: nearer to their knowledge base) than while loops.
This is a pretty clever idea and the video does a good job of explaining how it will work. I'm looking forward to these becoming pretty standard on all ebikes.
In a similar vein there's also Unleash with a similar open core model https://github.com/Unleash/unleash
Alas, this is not really a solution: A company can happily pay a programmer way less than the value of that programmer to them---and at the same time, be paying them far more than they could earn anyplace else.

The "worth of a programmer" is not a property of that programmer, its relatively to the programmer's environment.

For example, a programmer can be many times more valuable at Microsoft--which has network/lockin effects--than they will be at a company which faces more competition. And certainly more than a company which doesn't even have a product yet, like a startup.

If you think a just wage is "whatever salary you can get", then I guess you won't find that very persuasive. But if you think a just wage is "one which is commensurate with the value the company adds to the company," you'll agree.
Absolutely, but that doesn't mean the "volunteering" moderators weren't super-sleazy.
It's listed in the FAQ under "Can I delete my account?" https://news.ycombinator.com/newsfaq.html Note the "More here" link.

Unlike other social networks HN doesn't have direct messages, profile pictures, status message and a lot of engagement features either. Not sure I understand the GNU relevance, HN is run by a company.
In lectures in college, I always looked at my watch 35 minutes in, and it was downhill from there.
> And at Sackler levels of money you don't have to remain a US citizen, hence absolving the reporting requirements if they went that direction.

Renouncing your citizenship because you owe the US government money is generally not seen as a valid reason by the US government to renounce your citizenship.
Google does plenty of ux studies on gcp. I took part in at least 3 of them.

I'm also not sure if I understand your problem with pricing? Depending on what you do with it, it's not just an LLM. It actually started before llms.

Pricing for image classification and other features are completely different products like an LLM.
My favorite from What if? (xkcd):

20 miles per gallon ≈ 0.1 mm²

https://www.wolframalpha.com/input/?i=1%2F%2820+mile%2Fgallo...
It's So Sad When Old People Romanticize Their Heydays, Also the 90s Were Objectively the Best Time to Be Alive

https://freddiedeboer.substack.com/p/its-so-sad-when-old-peo...
At this point it seems like it might be more effective to mandate the opposite: labels that indicate that the product is allergen free for X class of allergen.

That way the default (no label) = might contain allergens, and the presence of the label guarantees your safety.

Companies that take allergen cross contamination seriously can tout the label (and win the business of the allergic), companies that don't won't resort to purposefully including allergens in their product to avoid having to overhaul their cross contamination practices.
Etched has an interesting approach, I am not convinced in their public info because it is vague. Could be great or could be bullshit. Well certainly some marketing.
It's not even a refutation though.
So… all those years playing QuakeWorld and Quake III Arena were _education_?
120 GWh of storage is approximately zero storage. Which, for Australia, population 30 million and literally near-tropical light patterns, might well be enough.

For the UK alone, not the most northerly of populations, you need 50 TWh. Get some investors to give you the numbers on that.
Show HN: Milk Infrastructure – AI that builds, deploys, manages infra
I've been working on a platform that uses LLMs to build maintain and manage k8s clusters on any cloud.

The system writes infra as code to your Github repos and automatically containerizes and scales any services (public or private). The goal is to give your average engineer a vercel-like deployment experience for any service in any language at minimal cost.

We have humans involved at the moment auditing LLM outputs and keeping an eye on clusters. We are looking for folks who may be thinking about their first infra/devops hire.

Just connect your github and your cloud provider.

The system gives a built in CI/CD and very easy creation of dev/test clusters or deployment of test branches.

Pricing is $50/mo per cluster and $5/mo per service.

Please get in touch! If you're a good fit we'd love to give you our team + LLMs at a fraction of the cost of a full-time infra hire as we build out more and more automations.
`sudo pacman -R $(pacman -Qtd | awk '{print $1}')` ?
If it says it on the label, and you're allergic to it, then you shouldn't eat it. This doesn't harm consumers at all.
> It was a clear and flagrant abuse of the "may contain traces" mechanism. The bakeries caused harm for consumers as a way to avoid the coats of doing business safely.

In the exact same way that every product ever invented may cause cancer in California, I assume? This is a problem with the FDA, not the companies. Give a dog a long leash, they're going to use the slack.
This, a million times.

My dream is "game theory" taught in schools, so we can all more productively discuss public policy, etc.

The field of "mechanism design" may interest those to whom this speaks to. From Wiki (https://en.wikipedia.org/wiki/Mechanism_design):

> Mechanism design is a branch of economics, social choice theory, and game theory that deals with designing games (or mechanisms) to implement a given social choice function. Because it starts at the end of the game (the optimal result) and then works backwards to find a game that implements it, it is sometimes called reverse game theory.
This seems like a reach. A nice benefit of having these server-owned configuration flags with a slick UI (like launchdarkly) is that they can be modified by people on the fly, and by people who may not even be engineers (like product managers). I imagine, that if the ask is that they instead get GitHub permissions, make a PR, wait for a review, etc, then perhaps you are not competing with launchdarkly. Though, having Git controlled server-owned configuration is still nice regardless.
To try to illustrate the (bad) principle with a starker hypothetical:

1. Scrooge McDuck owns a thousand different corporations that are restaurants and eateries.

2. A one-taco-stand company is in bankruptcy court, after recklessly inflicting severe food-poisoning on a dozen customers.

3. Scrooge McDuck says: "Out of the goodness of my heart, I will charitably donate $X of my personal funds to help these poor unfortunates... If you give me personal immunity to any lawsuits somehow involving recent food-poisoning problems anywhere."

4. The dozen hospitalized taco-eaters are puzzled but OK with this, since they'll at least get something. The judge shrugs and things move forward.

5. Meanwhile a million other customers of other restaurants see the news on their phones, which they have out because they're stuck on their toilets with raging diarrhea. Plus maybe a few whistleblowers that can't get work anywhere because Scrooge blacklisted them.

6. All of them are justifiably outraged that their rights to seek justice/compensation have been (partly) signed-away in the bankruptcy of some unrelated tiny taco stand case that they didn't--couldn't--participate in.
Why are US citizens biometric identities being sent to Israel? Aren't there laws about sensitive information like this leaving US data centers?
At least it gives more certainty than "might contain traces of <ALLERGEN>", which always leaves you wondering.
but what people want is Next.js,

What people? Developers? This is why I will not do that work anymore. Don't assume to know what I want based upon some tool set or tech stack that you find favorable. I hate (HATE HATE) talk of tech stacks, the fantasy of the developer who cannot write original software, who does not measure things, and cannot provide their own test automation. They scream their stupidity for all the world to hear when they start crying about reinventing wheels, or some other empty cliche, instead of just delivering a solution.

What I want is two things:

1. Speed. This is not an assumption of speed. Its the result of various measurements in different execution contexts.

2. Less effort. I want to send a message across a network... and done. In this case you have some form of instruction or data package and then you literally just write that to the socket. That is literally 2 primitive instructions without abstractions like ex: socket.write(JSON.parse(thing));. It is without round trips, without headers, without anything else. You are just done.
Yes but what is prohibited in Europe is to hide the cost of the phone in the payments of the cell plan. They must make clear exactly what part of your monthly payment is to pay off the phone and what part is the cell plan. That has basically blown up subsidised phones in Europe..
What are free installment plans?

Currently the most used phones in the US are iphones.

If the actual cost is not hidden behind monthly payments anymore, but some users can not afford iphones, people might start to consider cheaper phone options.
> The challenge would be that it's sometimes written in the Latin alphabet and sometimes in the Hebrew alphabet, but maybe more people would want to start learning it if they knew it existed.)

This is true of Yiddish too, and it has probably a couple of million speakers. Wikipedia claims about 50K speakers of Ladino, about 25X the number of Manx speakers (I mention Manx as it's included in Google's new list)
In 2024 ? OMG.
I haven't kept up with ereader stuff for many years since I worked on battery life models for kindles, but I will say that keeping your e-reader in airplane mode will increase the battery life significantly.

The reason is that WiFi has a DTIM which basically means that requires periodic wakeups to keep associated with the AP. This burns power.
Hm.. my impression was that most orbital debris was very very small, and the issue was more about making small holes with a lot of energy, than about knocking larger masses around.
In any case, if it's transferred enough energy to alter a trajectory, presumably maneuvering thrusters could fix it.
Why are some of their brands just pictures of sandwiches?
It seems to me that a carrier should be able to lock a subsidized/financed device until it's paid off. That makes it possible for people who would otherwise not qualify for financing to have relatively up-to-date devices.

A carrier should not be able to lock a device that's paid off for any length of time.
We detached this subthread from https://news.ycombinator.com/item?id=40811187. Nothing wrong with your post but I wanted to pin https://news.ycombinator.com/item?id=40811187 to the top of the thread, and this subthread is a bit generic.
Interesting that most engineers have this view despite their paycheck largely depending on ip
$729?

Well, I don't think I am rich enough to throw my money at that...
Gradle is an anti-pattern. Just stick with Maven and live a happy life.

As someone who's used Gradle tons, 6 months ago I wrote in detail about why not gradle:

https://news.ycombinator.com/item?id=38875936

Gradle still might less bad than Bazel, though.
Comes up fairly often, most recent modsplanation with lots of links

https://news.ycombinator.com/item?id=40732867
> If we want to make sure that the victims of people like the Sacklers can get some justice

This isn't just about the Sacklers either, this could potentially impact a lot of other important cases in the future once the law is more well defined.
Just to add to this: NYC generates a lot of its electricity from natural gas power plants, which produce both electricity and waste heat. The steam system captures the waste heat and puts it to good use. As a result, the steam system is extremely efficient.
How is the audio/call integration nowadays (Jitsi?)?
You need to organise your features in a way that these are not a problem. Need different dependencies - load both. Need a different schema - write both versions, drop old later. Need new services/APIs - feature flip only the user-visible one.

The flags are really useful for things like enabling just a fraction of traffic, or ensuring you can switch a feature off much quicker than a full deploy would take.
>Now there's effectively no way to know if a baked product will actually contain sesame

You are catastrophizing. It remains the case that any baked product that doesn't have "may contain traces of sesame" on the label must by law be free of traces of sesame. And if no producer chooses to produce such a product, then it is because the number of people who want it is quite small (or the costs of complying with regulations is too high to make a profit), and it is not hard for someone to bake their own bread.
This is not published at PLDI but at the co-located SOAP workshop.
Users aren't their customers, Israeli govt / Mossad is.
I suspect Phi-3 is not robust to normal human input like typos and strange grammar since it's only trained on filtered "high quality" tokens and synthetic data. Since it doesn't need to waste a ton of parameters learning how to error correct input, it's much smarter on well curated benchmarks compared to its weight class. However, it can't operate out of distribution at all.
In Canada, phone locking has been banned since 2017, with free unlocking being available to phones purchased before that. You can still get cheaper/free phones with your plan, but it won't be locked to that carrier, that would be silly. It's over a contract of some defined length, and you're bound by the contract to pay for whatever value's left of the phone if you cancel. If you paid for that phone by being subscribed to your carrier for that length of time (say, 2 years), why wouldn't you be able to take that phone elsewhere? You've already paid for it, it's yours.

There's also been a trend (I don't know whether it's legislated or not) for phones to be explicitly $X/mo for 24 months (though that still ends up being far below retail, and is sometimes $0), instead of burying that in the plan costs. We still have plenty of problems with ridiculous plan pricing and data limitations, but those have gotten better, and were still bad before carrier locking went away.
It's much cheaper than taking precautions against cross-contamination, but weasel words should not be part of disclaimers.
Dang! Thanks...
Tibetan is part of the languages listed. Perhaps it is not released to everyone yet: the link below says "Over the next few days, you will see new languages available..."

https://support.google.com/translate/answer/15139004
Ah, good point, I stand corrected on New York Harbor, glad to see that.

That seems true for most cities that made it through the Age of Sail, but less true before and unclear going forward. It seems trade routes by land were generally more important, and conquest and shipping were more carried out on land than sea until the technical developments of the 15th century. Most large ancient cities seem to have lied along the Silk Road, and many large (and late) ancient cities that still exist (Rome, Paris, London) aren't right on the sea as in the Americas.

Going forward the bigger issue seems to be insurability. Who's going to hold the bag on all those high rises in Miami...
I can see that in niche situations, particularly if you have a flat structure and uniform hardware. Cap'n Proto is also a way to do zero-parsing, but it has other costs.
As long as we're doing unsolicited advice, this revision seems predicated on the assumption that we are writing for a general audience, which ill suits the context in which the posts were made. This is especially bizarre because you then interject to defend the benchmarking claim I've called "marketing", and having an opinion on that subject at all makes it clear that you also at the very least understand the shared context somewhat, despite being unable to parse the fairly obvious implication that treating models with undue credulity is a direct result of the outsized and ill-defined claims about their capabilities to which I refer. I agree that I could stand to be more concise, but if you find it difficult to parse my writing, perhaps this is simply because you are not its target audience
Life would be much simpler for many us if people would stop complaining on internet forms and starting contributing to open-source or standardization efforts.
The US is also using paper cheques for payments
Neat! I'll look into integrating this with my feature flag abstraction library:

https://github.com/theogravity/feature-manager-wrapper

Edit: It looks like it's a backend replacement to LaunchDarkly, but you can still use the LD client from what I'm reading here, so there's nothing for me to integrate here.
Some local municipalities are moving to ranked choice (I live in one, and I think it's a better system, too).

Despite what many people intuitively think, there is no right to vote for the president guaranteed by the Constituion. There's been something like 1k proposed amendments to change the electoral college and, given that they haven't been adopted, I'm not holding my breath. I'm curious why more individual states don't adopt a different way other than "winner takes all" to their electoral votes. I believe it's in their power to do so, and that seems like a much more likely route to having electoral votes reflect popular voting.

It's interesting that you would want to reduce the power of the Senate because there seems to be a lot of people who think the House is the more dysfunctional arm of Congress. Given the nature of terms and demographics, the House feels like has more members taking more polarizing stances.
MEGA65 – 8-Bit Computer
It's because it destroys the flow of conversation in comment threads. With other threaded comment sites that allow you to delete comments, a decades-old thread will usually look like "[deleted]...Comment lacking context...[deleted]...Reply that makes no sense...[deleted]...[deleted]." HN was supposed to be as much a repository of knowledge as a discussion forum or time-waster (which is why long-form responses are encouraged), so it defeats the purpose of the site if threads are missing half their content.

Note that you can delete comments less than 2 hours old which have not yet been replied to, it's just the long-term comments that have become part of a thread that are set in stone forever.
I too am excited about voice inferencing. I wrote my own Websocket Faster whisper implementation before OpenAI's gpt4o release . They steamrolled my interview coach concept https://intervu.trueforma.ai and https://sales.trueforma.ai - sales pitch coach implementations. I defaulted to Push to talk implementation as I couldn't get VAD to work reliably. I run it all on a panda Latte :) Was looking to implement Groq's hosted whisper. I love the idea of having Llama3 uncensored on Groq as the LLM as I'm tired of the boring corporate conversations. I hope to reduce my latency and learn from your examples - Kudos to your efforts. I wish I could try the demo - seems to be over subscribed as I can't get in to talk to the bot. I'm sure my latte Panda would melt if just 3 people try to inference at the same time :)
The driver should be to give people with allergies the information they need to know whether they can eat something safely.

Allowing companies to list every possible contaminant regardless of how likely it is to be in a product doesn't help anyone. It just leads to the "contents may be hot" problem on a coffee.
Wouldn’t it be better then to just eat small snacks through your the day on a road trip vs pulling over for an entire meal? That way you can modulate the spikes and keep them to a minimum.