skysight-inc/HackerNews huggingface dataset:
Once you see the amount of food waste you start feeling cheated. Like, you pay top dollar for some greens and then you see tons of the same exact greens being dumped in a dumpster at the end of the day.
The food itself is not worth the price you are paying for it. It's the service and the logistics that you are paying for. If everybody paid the dumpster price the supermarket would fail.
It would be cool if there were business models where this was made more explicit.
Type N is actually the only one of these that's a global standard, IEC 60906-1. That's the reason why South Africa adopted it when deciding what to use as a replacement for Type M.

There was a bit of a push some years ago to encourage countries to adopt IEC 60906-1 but there's obviously huge inertia against that sort of move.
Indeed. This is not corporate regulation, it's social regulation.

Social authoritarianism is the driving force in English politics, and it's a big vote-winner in the tabloid- and telegraph-reading constituency. It's also the message that's easiest to flog on social media, since all you have to do is trigger outrage and critical thinking goes out of the window.

Liberality is probably more popular, but it's erased by our ghastly electoral system. (Scotland may as well whistle for a say, and I would advise them to secede.)

The tories are generally anti-worker and pro-big-business. There was a blip as the Brexit nutters seized power - brexit being anti-everything - but the tories reverted to type with Liz "Lettuce" Truss and Rishi "literally a billionaire" Sunak.

Upshot? Forget regulation that might impinge on the free market or protect workers, but prepare your anus for a sequence of civil-right-ectomies.

In fact, in my middle age, I cannot recall a home secretary that has not been more illiberal than the last. David Blunkett; John "Dracula" Howard; Theresa "culture of hostility" May; Chris "remove
books from prisons" Grayling; now we're up to Suella "ship asylum-seekers to Rwanda" Braverman. These people are FUCKING CUNTS, ffs, when they were dropped at birth they should have been dropped from much higher.

I despise Westminster, the two-party system, the capture of media by capital interests, and the vegetative English electorate. I could get myself an EU passport... but where is better? Fascism is close to the surface, everywhere in the first world I look.
That's just a higher order function?

That's an interesting definition. I thought you would either go with https://en.wikipedia.org/wiki/Functor_(functional_programmin... or with https://en.wikipedia.org/wiki/Function_object

https://en.wikipedia.org/wiki/Functor_(disambiguation) has a few more choices, but doesn't seem to have yours.
VJ tool and mixer for embedded YouTube players
dpd.co.uk
I personally feel it is NIMBY. They actually provide a useful service. They would like NOT to have clusterfucks because they are dangerous to their operations. The noise level is much improved in this design. I think an honest shot is worth it.
Name one success on the scale of Shopify using Rust
2037 maybe, but four years isn't very long.
If the OP needs to zone-out to avoid a panic attack when talking with his wife, it sounds like they have some serious marital problems, and this is just a way of avoiding dealing with them.
By the way, are there any plans for taking on other HashiCorp products as well? (Packer and Nomad are of particular interest to me :-)
The concept can be implemented in any language, this implementation just happens to use Java.

More subtly, the design is split into three layers. At the bottom is an abstraction over pluggable KV stores. The middle layer is the "database" layer, which is language neutral. None of the concepts in this API are Java specific.

http://permazen.github.io/permazen/site/apidocs/io/permazen/...

Then the final layer sits on top of the middle database layer, and is the language binding to Java. It uses specific Java features like annotations and annotation processors to generate object bindings, adds things like subtyping, support for enums, etc.

In theory you could take a language like Python or JavaScript and connect it directly to the middle layer using e.g. GraalVM (or reimplement it). You'd want to work out what the equivalent language bindings would be for those languages.
The problem is at the time if you want things done fast, Rails was the right choice. Almost no startup would touch Spring as app server at the time. Django had not reached 1.0 yet, and it's not faster anyway. So for a startup, Rails was the only realistic choices.
Laravel: Don't do this with artisan [video]
Accidentally discovered some funky behaviour when running an artisan command - and I recommend you avoid using it!!
Personally, I found https://microstream.one/ interesting for simple persistance needs (haven't tried it, though).
I suggest you actually watch the video linked above, it gives a really good idea of how quiet it is.
Pedantry regarding the article:

The field prefix byte in Protobuf doesn't really encode "tag and type" as stated in the article, it encodes tag and size (whether the field is fixed 64bit, fixed 32bit, varint, or variable size)

This is pretty self evident when you look at how submessages are encoded the same way as strings, both are just arbitrary variable length blobs.

You cannot reliable determine from a Protobuf message whether a field is an integer, a double, a bool, or an enum without the schema.

Protobufs is a TLV format that just happens to have a compact binary encoding.
That's false. If you put something online without a specific paywall everyone can get it however they want. With or without ads. Simple as that. You want to get paid for your content - put a price on it.
It still needs `f_jxl` in parameter. Automatic support has still not launched as per this article's last paragraph: https://cloudinary.com/blog/jpeg-xl-how-it-started-how-its-g...
I'd like to see this normalised for internal capacity rather than external size. The layout of EVs mean they are usually 1 step up in terms of usable space e.g. quote from random car review:

> Those dimensions continue to place the model between VW's Polo and Golf in overall length, although the longer wheelbase allowed by the MEB architecture means that the interior space is actually closer to that of a Passat.

So the weight of a car you can comfortably fit a family of 5 into would be comparing apples with apples, not the weight of two cars with similar outward dimensions.
When I was starting in Python years ago I had to turn my brain inside out to learn how to write list comprehensions. Sometimes I wonder what it's like to be a normal person with a normal non-programmer brain, having forgotten it entirely these last many years.
By "the politics" you're including individuals like Fauci, the head of the CDC, and so on. These are individuals that were perceived as "the science." Beyond this, a peer comment motivated me to look up the original trial results and reporting. And yeah, it was entirely about cases. Here [1] are the data from Moderna. Oddly enough, it seems to have been moved, if not removed, from their website, but fortunately nothing ever dies on the internet.

"There were 11 COVID‑19 cases in the Moderna COVID‑19 Vaccine group and 185 cases in the placebo group, with a vaccine efficacy of 94.1% (95% confidence interval of 89.3% to 96.8%)."

They were claiming it outright prevented COVID, as vaccines generally do. So "the politics" and "the science" were in lockstep on this one. As were they when they seamlessly dropped this narrative and swapped over to hospitalization/death.

[1] - https://web.archive.org/web/20210202223626/https://www.moder...
Yeah, it's not clear to me why this is an issue either. I'd expect that parsers would be written as "parse length, if it's valid, allocate that many bytes and read them in, then parse those bytes as a message".
The USA is invading a sovereign country right now. It has occupied 1/3rd of its territory with the specific goal of denying the people of that nation access to those resources needed to rebuild their shattered state.

>Civilians are getting killed.

The USA has dropped a bomb on innocent people every twenty minutes for the last twenty years. The state of Ukraine today is not even close to the atrocities committed by the USA.

>The open genocide of Yemen by a known fascist totalitarian authoritarian dictatorship, with the support of the US military

Saudi Arabia has been sold the weapons it needs for its genocide by the USA. The genocide of Yemen is 100% on the American people - it wouldn't happen without your states' complicity. All those resources being provided to 'stop' the 'genocide of Ukraine' - where are they while 10 million Yemeni children are being starved to death?

North Korea? They wish they had the ability to govern their nations mindset the way the West does.

China has lifted a billion people out of poverty into their new middle class. The USA, meanwhile, has all but eradicated its middle class.

The NSA are violating human rights at massive scale; the USA is the worlds #1 supporter of terror and exporter of calamity, and has committed decades of war crimes, crimes against humanity and massive violations of human rights at scale - with impunity - precisely because of the utter ignorance citizens (or are you military) such as yourself demonstrate...
Official Lego Pac-Man Arcade Machine
But it can stop and hover in place right? In that regard, it's still a sitting duck for people who want to cause problems. Though granted, the likelihood that someone from a neighborhood who wants to do something like that using the service seems unlikely...
Anyone seen it? Any way to figure out if it'll be released in the market you live in?
Anyway, I guess the main problem is that most people will not want a sky full of drones just so that some random Joes can get their stuff from Amazon or AliExpress a little sooner.
> You always preserve information.

This is the principle.

Not to suggest that the sum of debits and credits alone is sufficient to that end, but rather to explain why it's at least necessary.

> To really preserve information, you'd need the full list of all transactions.

Exactly. And so this is, of course, what TigerBeetle also does (with full durability).

And, at the same time, TigerBeetle doesn't decompose account balances to a single integer, for the reasons given.

Both of these are important.

To be clear, the context for this thread is the latter: Why not decompose account balances to a single positive/negative integer?
Well, if the food is actually being eaten, then that's actually a win situation for people eating fresh food and hence overall "good" from a benefit to the people perspective.

So long as this situation continues, which is where the problem is I expect. Boots on the ground people should be able to grow and create savings as well.
Thats a really interesting product. In my past job I used a lot of CAN analysis tools and most of them were windows only. We ran win VMs on our dev laptops to do real time debugging. Germans really dominate in this space
Wat. Satire can’t compete
9/10 requests for a simple sql query get a working query.

This isn't enough to enable a useful interface.

It takes a lot of scaffolding to get an llm powered interface to actually work.
> And yet, Australia's population is slated to decline, while the US is not.

Slated to decline according to whom? According to the most recent projections published by Australia's national statistics agency, [0] Australia's population is projected to continuously increase through 2066, ending up at somewhere between 37 and 49 million (compared to around 26 million today). The only projection of theirs according to which it will decline is the highly unrealistic "zero net migration" scenario.

[0] https://www.abs.gov.au/statistics/people/population/populati...
This assumes that only messages from controlled sources will be received though, right? If you're receiving messages over a TCP socket or something similar, that seems like a potentially flawed assumption; I'd think anything parsing messages coming from the network should be written in a way that explicitly accounts for malicious messages coming from the other side of a connection.

EDIT: I'm also still not any more convinced that four bytes per message would ever be a bottleneck for any general purpose protocol, but I'd be curious to hear of a case where that would actually be an issue.
That is literally what we've been doing in the UK for decades. It works!
> But English words do seem to distinguish meaningfully between what you term 'voiceless' and 'aspirated voiceless' isn't it? For example, there is a difference between 'time' and 'thyme'. Ignoring the difference between 'y' and 'i' for a moment, wouldn't both words be the "same" to English speakers if what you are saying is true?

Aspiration is not contrastive in English - it's impossible to find two words that differ only by aspiration. Aspirated consonants (in general American English) mainly feature in the onset of a stressed syllable (pin ['pʰɪn], potato [pə̥ˈtʰeɪɾoʊ]) as long as they're not preceded by /s/ (spin ['spɪn]). The important part is that you can determine whether or not a consonant is aspirated only by its position in the word, which is why it's an allophone - a variation of a phoneme which isn't distinctive, but still sounds different. English is my L2 so "thyme" still messes me up, I always try to pronounce it with /θ/ like the first consonant in "thigh".

How people differentiate sounds is actually very interesting. The leading theory is that infants can differentiate all human phonemes (see Jusczyk's Head turn Experiment) but starts categorizing sounds into categories based on what languages are spoken to them by 9-12 months. An interesting language is the (sadly extinct) Ubykh, which had 84 (!) phonemic consonants but only 2 or 3 distinct vowels. For example, speakers percieved /qʲ q qʷ qˤ qˤʷ/ as five different sounds, even though an English-only speaker would probably categorize all of them as just "kinda guttural".

On "sju" (/ɧʉː/) - /ɧ/ is a very odd sound in general. It doesn't really feature in any other languages, and what exactly it should be categorized as is still debated by phoneticians. It also varies a lot by region - Finland Swedes generally don't differentiate the consonants in "sju" and "köpa". So bottom line, we don't know how to pronounce it either :D
Relevant: British farmer Guy Singh-Watson is urging the big 6 supermarket chains to Get Fair about Farming.
https://www.independent.co.uk/news/uk/home-news/farmers-supe...
At least HTTP/2 pretty much kills request smuggling (assuming there's no downgrading behind the scenes)
I don't think so. These would be a disaster for birdlife in any city. Not to mention privacy and the fact that many places have extensive no drone fly zones already for essentially these reasons.
Collaboration and Strategy // Vin Vashishta // MLOps Podcast
IP as in Mario, Pokemon, Zelda, etc.
Couldn't help checking it out.
This space is surprisingly under-explored. Any idea in this space is basically new.
Thankfully this does not apply for India
On Hens, Eggs, Temperatures and CO2: Causal Links in Earth’s Atmosphere
And what's the computer platform they use on board?
SFMTA says this:

The law requires you to move one block away or at least one-tenth (1/10)
of a mile—about 500 feet. Do not drive around and then park in the same
block, or you can be ticketed!

They're not defining the length of a block, rather they're giving you two options. The end goal is to encourage vehicle turnover and prevent people from monopolizing all the spots in a given area.
YouTube was initially built with php, so the revenue argument is true.
Lots of moving, mechanical parts, all handcrafted and hand-wired, machines built in small production runs (only a few thousand machines of a specific type usually) - there's just not too much room for the typical optimization approaches of "scaling production up" and "scaling things down to integrate more".

Though todays' manufacturers already try the latter, otherwise those machines would be even more expensive. You should take a peek into the belly of a machine when you get the chance somewhere - ideally into a newer machine, manufactured after 2010, and into a 90s machine. That's a stark comparison: the 90s models have thousands upon thousands of individual cables, wiring hundreds of individual lamps and solenoids and sensors. On the newer machines, manufacturers tried to cut down on the number of cables, pre-fabricating larger modules with LEDs on large PCBs, or installing sub-controllers from which solenoids are driven instead of wiring all of them individually with hundreds of large cables into the backbox.

But there are limits to this kind of optimization. After all, pinball machines are mechanical contraptions that need to integrate lots of individual mechanical parts spread over a large area. If you can't replace them with solid-state elements (which is basically what a virtual pinball table does, by replacing almost all mechanics with a screen) or concentrate them into smaller areas, you can only gain so much using modularization.
Farmers seem underrepresented in general economic planning, except when handing out subsidies to keep their votes.

I've for instance thought that UBI would be unavoidable in a few decades, but how would we keep farmers to grow food? The only answer I have is that their income has to be at leat 3-5x that of the UBI.
IBM in this case refers to Microsoft?

/sarcasm
Let's redistribute the farm land equally first though. And stop the farming subsidies.
What If the Moon Landing Had Failed?
It's a nice pun and at the same time is close to the original, which would help Terraform users recognize the brand. Your suggestions are nice, but less recognizable in that way.

Maybe we can take that pun to extreme though! If they ever have a designer that can come up with some crazy lore of terraforming with tofu that would be really really awesome. But I think they have more pressing matters right now.
The brain’s unique take on algorithms
A short paper on computation, the brain, and the classic separation between neural computation/algorithms/neural implementation.
In the Netherlands we just let dumb foreigners use their creditcard instead of making things complicated for them. You'll be charged an arm and a leg for it though but if you stick to the approved tourist areas your Visacard will be accepted.
If you stop following sports your reading comprehension might improve.
terraform has nothing to do with terraforming either
The Principle Of Applying Principles (poap) (2019)
> 4 bytes is actually too long for short messages

Would it ever be an actual bottleneck though? If it's not actually impeding throughput, I feel like this is more of an aesthetic argument than a technical one, and one where I'd happily sacrifice aesthetics to make the code simpler.

> some message can exceed 2^32 bytes

Fair enough, but that just makes the question "would 8 bytes per message ever actually be a bottleneck", which I'm still not convinced would ever be the case
There could be some truth to what you said but in reality, the Switch has no quirky hardware. It's basically like a normal console.

That's why games from PS4/Xbox One can be ported to Switch easily.
Cheap food prices are a very good thing. The farmers who are struggling are the ones with unsustainable business models. The answer for them is to join forces. Small time farming is a not viable anymore and it benefits nobody to try to keep it going. Most of these small timers are also way outdated in their knowledge and methods.
Founder vs. Investor: What VCS are really looking for [audio]
It seems to apply only to "products with digital elements":

>>This Regulation ensures a high level of cybersecurity of products with digital
elements. It does not regulate services, such as Software-as-a-Service (SaaS), except
for remote data processing solutions relating to a product with digital elements
understood as any data processing at a distance for which the software is designed and
developed by the manufacturer of the product concerned or under the responsibility of
that manufacturer, and the absence of which would prevent such a product with digital
elements from performing one of its functions. [Directive XXX/XXXX (NIS2)] puts
in place cybersecurity and incident reporting requirements for essential and important
entities, such as critical infrastructure, with a view to increasing the resilience of the
services they provide. [Directive XXX/XXXX (NIS2)] applies to cloud computing
services and cloud service models, such as SaaS. All entities providing cloud
computing services in the Union that meet or exceed the threshold for medium-sized
enterprises fall in the scope of that Directive

Does anyone know what the other directives that are referred to here might be (currently just XXX/XXXX)? Are they directives that are also still under development?
>It infuriates me the NSA actively works to undermine American security.

It infuriates me that the NSA actively works to undermine International security.

Seriously.
Async Rust has not been around long enough for lots of examples. Go has plenty of them. Rust is powering big parts of CloudFlare along with Go, which is way bigger scale. AWS also has big parts done in Rust.
I love these sort of debugging stories! It sounds like that timeout would be based on the round trip travel time to the remote host rather than the one way distance, wouldn’t that make a 250 mile cutoff?
What is a drone to you? If you are only thinking about multicopters when you hear that word then yes, those are not efficient and probably never will be.

But the term commonly refers to all unmanned aerial vehicles.

For example a Global Hawk unmanned aircraft can fly 14,000 nautical miles and remain aloft for 42 hours. They are by definition very efficient. That is a drone.

On the other end of the spectrum The Spirit of Butts' Farm crossed the atlantic with 118 US fluid ounces (3.5 L) of fuel. It was flying for ~39 hour and 1,881.6 mi (3,028.1 km). That is about 2045 mile per gallon if I count it right. That is very efficient, and of course since the aircraft was unmanned it is a drone.
It's a pretty lazy version of intra-session Spaced Repetition, vaguely based on Pimsleur's original definition, with some extras to avoid boredom/frustration.

Give me a day or so for a writeup then I come back to you :)
What we talk about when we talk about impostor syndrome
Yes, exactly. And we were surprised by this too. But it can be typical for prices that are fractionally traded. See https://news.ycombinator.com/item?id=37574440
Android only? Lots of tourists will have iPhone
The more I read, the more it's drilled into me that if you're born in the USA, you don't have privacy and never will. Your data will continually be published and sold. USA has a rampant doxxing problem.
You're thinking about automation, not drone deliveries.

Where those aspects intersect is that it seems easier to build an autonomous flying vehicle than an autonomous road-going vehicle. Of course, drones have their own downsides for deliveries, including cost because of small payload.
modi's party
Hacking the Kafka PRoTocOL
It's a tradeoff; I too find one-liner list comprehensions like simple transforms or filters easier to read than the for loop equivalent.

However, it's a dangerous tool that some people just can't be trusted with. Second, if you go full FP style, then you can't just hire a Go developer, they need additional training to become productive.

Here's an example of functional programming within Go taken far: https://github.com/IBM/fp-go/blob/main/samples/http/http_tes.... It basically adds a DSL on top of Go, which goes against its principles of simplicity.

There was another great resource that explains why functional programming in Go is a Bad Idea; one is function syntax (there's no shorthand (yet?)), the other is performance (no tail call optimization), and another is Go's formatter will make it very convoluted; I think it was this one: https://www.jerf.org/iri/post/2955/
I would definitely add Star Trek - The Next Generation to that list as well. One of the great classics in my opinion.