skysight-inc/HackerNews huggingface dataset:
Thre are absolutely legitimate ingredient variation and quality differences in different parts of the world.

Taking your example of Kerrygold butter, have you ever tried it? It's _very_ good. I've had various other "premium" butters even sourced locally, and while they are also good in their own ways, there is a distinct flavor difference which I'm willing to pay for.

So if you as a company want to make your customers happy (and keep them as customers) by continuing to provide some certain specific aspect of your product that can only be achieved by producing it in a certain specific location, it's not reasonable to say "just make it local to where you sell it".
I used it and it was better than the Pixel launcher in my opinion, but yes it seems like the last update was a year ago.
And the court of public opinion. By the time lawyers and judges are involved, unless you are very lucky, your name and photo is all over the tabloids. Any retractions published when you are later found completely innocent will be the equivalent of a column inch or two on page 17.
Oh yes, they are annoyingly interesting, which is fine when I am browsing for fun, but usually I go to StackExchange for a very specific problem and then suddenly, uups, where am I?
Access to healthy greens is a utility, like water: not much profit but scale is important.
no, that’s a conspiracy theory.

it’s actually a pre-election ploy. as it stands right now governments will have to ask their citizens to change their habits. this will invariably lead to citizens voting for parties that won’t force them to do anything. this announcement tests the
waters by pre-empting that situation.
> BRICS

> BRICS is a grouping of Brazil, Russia, India, China, and South Africa formed by the 2010 addition of South Africa to the predecessor BRIC.
The web. In the 90s I made myself 'the web guy' in the software company I worked for just by getting on it at home and playing with what tools there were.
Damn, you got me.
Please let me reiterate the call to actually read the article (and the lawsuit topic) before commenting. I know reading more than the title and some HN comments might be often unpopular - I'm guilty of it as well - but it helps a lot understanding.
That ship is going to sail, immediately right after Brexit went through, there were whole delegations of US businessmen and lobbyists pushing the UK government back then to ease the rules on quality of food, so US can export more products.

You don't hear any government PR campaigns about keeping traditional food quality, so decisions were and will be made.
A fresh batch of basil at the grocery store is essentially a luxury item, exclusive to those who can afford it. What doesn't sell is waste. Perhaps it's time to consider community kitchens residing alongside grocery stores. This would be a place where a meal is always available, all hours of the day, for free, to anyone who walks in. These kitchens can consume food waste while providing a useful benefit to the population.

It's surprising we don't have this already in North America given how much surplus food is produced.
I'm not saying a judge would rule in favor of a Red Bull plaintiff complaining about wings (the court ruled against the plaintiff in the Pepsi case), I'm saying that it's not unreasonable to interpret the reference in the article literally. Several people have done it, and in the context of the US legal system it's understandable.

> Pepsi attached a value to a Harrier and included it in their catalog with other items you could purchase with pepsi points

It wasn't in the catalog, it was in a single commercial that most people interpreted as a joke, likely including the plaintiff.

https://www.youtube.com/watch?v=ZdackF2H7Qc
Deno 1.37: Modern JavaScript in Jupyter Notebooks
Is it okay to call them "failures" if you were able to get money for them to semi-retire on? But I get it, everyone has their own goals.
That's true, feel free to open PR, or I might eventually add them too.
After many years of carefully reading labels to avoid buying the crap, I do grow tired of the constant deception.
Can’t say for sure where it comes from. But upspeak and it’s tangential culture does more psychic damage to me than advertising, “bad ux”, dubious business models, and most of the other common gripes on here
The work on stboot and it's supporting components, including documentation was moved to it's own Gitlab: https://git.glasklar.is/system-transparency/core/stboot
The covid money printing, followed by inflation-hedge dumping into stocks, followed by staggeringly high trillion-dollar valuations led to this. Realistic software dev salaries are not what the tech giants were paying.
If she ever goes to the US, she will join the large and ever-growing Fnu clan.

https://uxdesign.cc/what-the-fnu-fa72cf4ad5bd
Is there any validation or authorization for changes being merged back into the root database?

In a traditional client / server model, the server has an opportunity to validate each request and optionally reject it. The lower level you go with the sync protocol (data changes vs high level requests) the more difficult that becomes.

Have you addressed that and, if so, how? What prevents a malicious client from send arbitrary data streams to get synced into the root database?
Would be cool to see some examples
> Another thing that bugs me is the blog postings describing career paths in what used to be called FAANG where job titles are weirdly specialized like the language used by sexual subcultures like BDSM and polyarmory.

What?? Do you have a link to something like this? BDSM-references seem highly inappropriate in a work setting.
Any solution that isn't a stopgap is necessarily electric given climate change, and while EVs do reduce CO2 emissions they increase particle emissions from heavy tyre use by 20% (given their massive weight), which is arguably even worse for residential use. Anything that is in contact with the ground will produce some kind of particle pollution.
Santa Claus was ahead of his time! The next Silicon Valley is the North Pole!
This is so fucking awesome! I love the rp2040 and palmos and this is such a fun mating!
What does the last one do?
Maybe we are at "peak green", i.e. the moment in time with the greatest amount of green policies. Then, from this point onward we should see a decline in green commitments.

Setting aside whether "peak green" is or not a bad thing, if you consider the premise of the green transition according to its supporters- government hastening a change that would otherwise be too slow- then the phenomenon is inevitable. If initiative followed (lagged) capabilities (technological-economic, geopolitical, social) then we would probably see a smoother, slower transition. Any attempt to go faster than capabilities allow will result in a "peak green" moment (there can be many).

In summary, in a green transition not driven primarily by market forces, expect to see several of these "setbacks".
Plus HE paid HIS parents millions, not the contrary lol
Pulsar is a very interesting architectural case study. The cost of the greater clarity and flexibility is the greater management burden. The server-side functions are nice (and remind of JEE MBeans) but the direct challenge to Kafka is the decoupling of storage from servers via Bookkeeper (which adds the lower layer cluster management burden) which addresses the rebalancing headaches with Kafka type of solution (where the server and storage are unified).
Chess. But in ASCII art. But in TypeScript's type system
Someone from the Vue team showed this to me at a conference and I can't figure out/remember where it comes from and who made it.
If your interface to the internet is a locally running open source ai assistant, couldn't you just tell it to strip out ads from the information it returns? It could change the internet economy some.
Well they are gonna have to do it for the sake of glorious nation of Nippon if they don't want immigrants

USA ships them to Mexico in exchange for cheap labor
It took me forever to find the original complaint, but eventually I found it here [1]. From the original:

> [Red Bull] have made various representations to consumers about the purported superior nature of Red Bull over simpler and less expensive caffeine only products, such as caffeine tablets or a cup of coffee. (...) However, no competent, credible, and reliable scientific evidence exists to support [Red Bull]'s Claims about the product.

Of course the whole purpose of settling is to never bring this issue in front of a court, but the fact that they settled and retired the slogan should, IMO, lend some credibility to this point.

[1] https://truthinadvertising.org/class-action/red-bull/
I've been test driving a similar one https://github.com/sturdy-dev/semantic-code-search

But yours has a more permissive license!

I also had to modify it a bit to allow for the line endings I needed and it frustratingly doesn't allow specifying a path, and often returns tests instead of code
YES, ABSOLUTELY EVERYONE UNDERSTANDS IT’S A GLOBAL PROBLEM.

THIS WAS POINTED OUT 40 YEARS AGO.

https://youtu.be/Wp-WiNXH6hI?si=U0oK1Vlx2yNW1Gr6

The entire point is that we have failed. Now please stop repeating the obvious and fix the problem.
Great article and I had no idea what to call 'time of check, time of use' (TOCTOU) which is a great name instead of me having to describe the situation.

I'm building an app on top of django where I have to worry about this, if you're using django check out there support for select-for-update, and if you're database supports it nowait=True can be a great thing that will fail a read if a select for update is already run:

https://docs.djangoproject.com/en/4.2/ref/models/querysets/#...

Also worth mentioning optimistic locking if you're looking to solve the issue in a different way, there is more involved from the application side but it has some advantages as well. I tend to prefer select for update with nowait=True since it's simpler on the application side, but I have used optimistic locking in the past with great success and some systems support it OOTB. Here is a description from AWS for those curious:

https://docs.aws.amazon.com/amazondynamodb/latest/developerg...
That doesn't make sense. Of course you're paying for the logistics and service to get the food. Otherwise you would not get the food. The food wouldn't even exist.
Ironically it seems that exactly the only helpful and futureproof solution is the one never taken into account by said politicians. Reverting outsourcing??? hiss
This is not difficult to find at all in the US. I have tried several sparking waters that use actual ingredients - I don't recall all of them, but Spindrift is definitely one: https://drinkspindrift.com/pages/whats-inside. Have you Googled at all to try and find one of these brands?

There are no regulations necessary for this - thanks to capitalism, if people want real flavoring in their sparkling water, companies will make it. Regulation is about preventing companies from doing bad things, not about getting them to make good products.
Svelte slowly shapeshifting into jquery. Day after day, methodical evolution.
Ask HN: What are some of the best SaaS/tech blogs?
I needed to call Rust from Java a few years ago. The approach was build a straightforward .so and call into it via JNA. It seemed way less complicated
Show HN: A simple script to check everything in your cloud
Hello, I'm Patrick SZYMOWIAK and I'm happy to introduce you to Kexa, a script that will optimize your operations, easily ensure compliance and save you money through your cloud providers. I've worked in cloud solutions with Azure for 8 years and came up with a few projects by now, and today I introduce you the new solution made by us for your cloud environments.

The goal :

Kexa is an open-source and portable software built to simplify and enhance the cloud verification process. It's designed to support various cloud providers.

It operates on a set of user-defined rules, ensuring checks and verifications. Detected errors are communicated through a diverse array of channels, including SMS, email, and Microsoft Teams alerts, each adapted to distinct alert levels that you define.

1. Cost Savings: By identifying inefficiencies, redundant services, and underutilized resources, it has the potential to significantly reduce your cloud infrastructure costs.

2. Conformity and Compliance: Kexa can ensure your cloud projects conformity to best practices and compliance guidelines, reducing the risk of costly security breaches and regulatory fines.

3. Optimization: Fine-tune your cloud configurations for optimal performance, whether you're using AWS, Azure, Google Cloud, or other provider, it can find opportunities for improvement.

4. Extensibility and Community: It is open-source : adapt it to your specific needs, create and share addons to enhance its functionality with the community.

5. Easy to deploy: Integrate Kexa into your pipelines easily and deploy it anywhere without difficulties.

Get Started :

You can find the open-source code and documentation on our GitHub repository: Feel free to explore and contribute ! [https://github.com/4urcloud/Kexa](https://github.com/4urclou...

Kexa also have a public website if you need more information : [https://www.kexa.io](https://www.kexa.io/)
It's the sum of both - your textbook cohort of litigious profiteers, now with the perfect social trend excuse so they can redouble their efforts and mask the profiteering as social justice. Expect to see much more of this going forward.
Teeny tiny TV plays The Simpsons all day, every day
Bankman was employed by FTX and akin to a cofounder. Hardler an innocent granpa receiving a windfall by surprise from a diligent son committing crimes in secret...
Indeed I agree that it can be difficult or impossible to squeeze all the important information about a function into its signature! And why bother playing golf when that’s literally what the doc
string is for?

(Obviously you should endeavor to write good names anyway).
That's a contrived example, then. Also because there's already an optimized version of FFT in their libraries.

At least with open-source AMD code, it can be fixed with Pull Requests.

FWIU, OpenCL is insufficient, CUDA is the closed-source fanboy favorite that the industry can't move away from, and Intel OneAPI may be the most portable but not the most performant.

Impact-wise, contributing to the ROCm and OneAPI tools to help them be more competitive is in consumers' interest.
Most of these apps are in the Izzyondroid fdroid repo. It's there by default in Droid-ify which is much better than the official fdroid client anyway.

https://apt.izzysoft.de/fdroid/index/apk/app.lawnchair
Apart from the superficial use of the $ sign, what else is jQuery about any of this?
Timbits and Tacos sounds like an amazing D&D parody.
They've been using them in Milton Keynes too: https://www.theguardian.com/uk-news/2020/apr/12/robots-deliv...

Also DPD piloted something similar in Milton Keynes and is now going to do it i ten towns in the UK: https://green.dpd.co.uk/news/16
Only for neurotypical people. For other populations the effect is real, I don’t know about clinical diagnostic tests but layman identifications commonly use “self-medicating with stimulants” as a red flag for suggesting someone seek a professional opinion.

So “can improve concentration”? Yes. Clinically proven. “Can improve [anyone’s] concentration”? Well you’re right that’s not true. But that’s relatively recent settled science, in part because there are plenty of anecdotes going back to Coca Cola being the “Thinking man’s drink” with coca leaves in it. Cocaine makes some people more focused. As does amphetamine, and methylphenidate.

But we’ve fucked the words “can” and “may” in legal terms. There is no accident that RFCs use MUST and WILL for mandatory behaviors, or that they’re in all caps.
It's entirely feasible to stop selling new ICE vehicles by 2030, though it would take some commitment and of course it was the Tories that made that commitment, so rather than being a "smart move", it instead shows that they have the robustness of wet spaghetti and will go whichever way the wind blows (or whichever way their oil investments will give them the most cash).

A lot of people assume that EVs only mean car shaped objects which require heavy investment of roadside chargers as well as the various issues around pollution due to their increased weight. The smart way to improve transportation is to enhance public transport so that it's usable (i.e. not just run for profit) and to encourage as many people as possible to use active travel. There's also the lesser known EVs such as e-bikes and e-scooters which are a far better choice for city travel due to their lack of weight and reduction in road congestion.

There's also the issue of increased particulate pollution from electric cars as their weight increases tyre and brake wear. But then, electric cars were invented to save the car industry, not the planet.

Edit: Here's some relevant quotes regarding the 2030 target:

A spokesperson for Jaguar Land Rover (JLR) said:

> JLR is investing £15 billion over the next five years to electrify our luxury brands, which is key to JLR reaching net zero carbon emissions across our supply chain, products and operations by 2039.

> Our plans are on track and we welcome certainty around legislation for the end of sale of petrol and diesel powered cars.

A spokesperson for BMW, which owns the Mini brand, said:

> Mini has already announced that it will become a purely electric brand from 2030 globally and this will not change.

The former Aston Martin boss Andy Palmer told Radio 4’s World At One:

> The industry is already determined that we’re going to have electric cars.

> And countries like the US are protecting their industry, whereas countries like China are projecting their industry. And the real risk here is that by not having an aggressive strategy, we’re just opening the door to basically Chinese sales.

Ian Plummer, commercial director at online vehicle marketplace Auto Trader, said:

> Pushing back the 2030 ban on new petrol and diesel sales by five years is a hugely retrograde step which puts politics ahead of net zero goals.

> This U-turn will cause a huge headache for manufacturers, who are crying out for clarity and consistency, and it is hardly going to encourage the vast majority of drivers who are yet to buy an electric car to make the switch.

And Steve Gooding, director of motoring research at the charity RAC Foundation, said:

> With the car industry confident about its ability to make the switch away from pure petrol and diesel engines by 2030 whilst still meeting the appetite of the UK market for new cars, it is hard to see why anyone in No 10 thinks now is a good moment to row back.
You know that Depeche Mode song Master and Servant that has the line "it's a lot like life?"

Links would be really NSFW but if you really want to know I suggest you create an account on Fetlife though the way I see it, that site is what you'd get if Eternal September had an Eternal September and that had an Eternal September again.
Starship robots come to mind as well.
I'll be the first to mourn the (future) loss of $: but the video clearly shows that the changes are a pretty enticing way to make your code that little bit cleaner, and solve all of the "but Redux!" style questions.

Svelte for Apps. Svelte for Sites.
Love this idea.

To add food for thought, could the basil be dried in a dehydrator immediately after being taken off the shelves after minor wilting but while the taste and nutrition are still there? The resulting product might be better quality than what is sold in the dried spices aisle that is much less fresh..
With GPT-4, you can often just paste the error message in without any further commentary, and it will reply with a modified version of the code that it thinks will fix the error.
Yes, practically I can see why. But when my W2 contains cents, and my tax forms make me sign for accuracy under penalty of whatever blah blah, seems pretty odd that they don't accept my cents and then do their own internal rounding. Maybe it was just the tax software I was using.
There are plenty of beverages here in Europe that only state "flavors".

Here's one in France: https://www.badoit.fr/bulles-et-the

It does say "natural white peach flavor", but also "natural flavors". This is supposedly a tea and peach flavored drink. It spells out "peach" and "black tea infusion", but then there's also some other mystery flavor.
They still didn't think they would be invaded at that point in time.
I managed to track down these code snippets. Feel free to check out these links if you're curious:

https://github.com/adobe/kratos/blob/93246f92d53feba73743dbf...

https://github.com/StalkR/goircbot/blob/6081ed5d1d74f01767d7...

Basically the compiler is translating

go a.Monitor(b)

into

(&a).Monitor(b)

due to automatic dereferencing
If you use uBlock Origin, did you try to submit these filters to the uBlock Annoyances[1] or EasyList Annoyances lists before starting up this project?

That would help far more people that starting up yet another Annoyances list.

1. https://github.com/uBlockOrigin/uAssets
Discussed yesterday: https://news.ycombinator.com/item?id=37571919
WSL is quite good for this type of thing.
> where he was asked “do you consider your reporting objective” and his opinions of the British state.

I don't imagine his opinions of the British state improved after this experience. Come to think of it, mine isn't, either...
I don't know if they still do it, but at the time Twitter charged money to display user avatars in a larger size, and styled as a hexagon. I think they were NFT tie-ins or something? They were difficult to ignore, so I wrote a snippet to turn hexagons back into circles.

[edit]: https://news.ycombinator.com/item?id=30012904 ("Twitter Rolls Out NFT Profile Pictures")
Labor is much more expensive than food waste in the US.

So this only works at a very high cost or donated labor (which probably won't scale).
Comparisons (Svelte 4 vs. Svelte 5 and other Frameworks):
https://component-party-runes.vercel.app/
Computer museum in a bunker?
Tom Scott has entered the chat.
You all would hate my code, and that's okay. Why? Because I do everything that is suggested, save one: I leave what comments in.

For some reason, it is easier and quicker for me to understand English prose than code, even if the code is simple. That includes checking the actual code after reading the comment to see if it matches; having a target for the code makes it orders of magnitude easier to read for me.

That said, I still weirdly find value in what comments. Even some of the simplest ones communicate intent for me.

For example, I have many comments that take one of the following forms:

// Cache this.
// Get the <item>.

These are the exact comments that people hate so much, but I like them because they communicate these things to me:

* The item is gotten for efficiency reasons. This means that I should check that it really is more efficient if something is slow.

* More importantly, the item is expected to not change, so if I'm digging aground for a bug, I should check that the item actually does not change.

So these "useless" comments actually help me.

In addition, the fear that they will go out-of-date is less of a problem for me because I have a strict habit of updating comments with code.

Now, I don't suggest that everybody do what I do; I suggest the opposite, in fact. But I work alone, so I can do things that were ideal for myself.