skysight-inc/HackerNews huggingface dataset:
> My very light understanding of quantum physics is that it does not really translate in words. It s like trying to explain what’s apple times i in English.

This is really one of the best comments I have read on an article like this ever. Having had a cursory introduction to quantum physics in math terms and not understanding much of it, I find it impossible to read any sort of popular science literature on the subject. It's always going to be a very vague description with analogies that raise more questions than give answers. That's not to say I don't applaud the effort of quantum physicists to explain it to a broader public- I just think that most of the time they come away thinking it's some sort of black magic rather than solid science.
They have to shutdown production if the demand is not high. Once in a while they pay other countries to get their leftover electricity while they shutdown production.
If only it were as simple as the absolute best and most directly related word being taken. Almost every phonetically acceptable combination of characters as a .com is taken up to 6 letters long. Google would not be able to hand-register Google.com if it were founded today; they'd have to go aftermarket.
F# Async functions are colored, in case people are wondering.

However, you can "un-color" them like this:

doAsyncThing
|> Async.RunSynchronously
> our data was an inconsistent

Because you didn't put strict validation before data entered Mongo and I guess you didn't use a typed lang which makes such a validation like a no-brainer and quite natural.

SQL gives you type checking for free, Mongo does not. However, if you have a typed lang and have a proper validation in place you just have to define those at one place and not in the database and in your app (DRY).
No, there exist reasonably good news sources.
David Brooks: How to Get Rich
>test -test

0 here
It's Lua, not LUA (http://lua.org/about.html#name)
MongoDB does have support for schemas, but didn't in 2015

https://docs.mongodb.com/realm/mongodb/document-schemas/
The M&Ms thing just seems plain weird to me. Communication is a two way street, the touring party needs to communicate clearly what is desired and what is essential. It would be better to spend more time in a meeting with the venue explaining the rider and checking they had understood it than by wasting their time sorting M&Ms.
here is one from Last year where HSBC bank has moved all its 65 SQL databases into a single MongoDB.

https://diginomica.com/hsbc-moves-65-relational-databases-on...
Yes.

My partner is working on a sub-topic, removing microplastics from laundry discharge water, and it is a huge and still undefined challenge. There is no magic pill.

Even core definitions such as "what are microplastics" are under review and development. And then there's nanoplastics.

For those wanting an introduction to the topic, don't go with media, start reviewing papers. The top cited papers clearly outline how all-encompassing and complex the challenge is.
>This means that you have to first learn Tailwind’s specific syntax before you can fluently string its utility classes together to achieve powerful results.

what kind of argument is that?
I'm Spanish, not Italian, but we also talk quite loud. Maybe all discussions look heated to foreigners.
Do you mean automatic type deduction?

Edit : I know it’s also storage specifier but it also does type deduction here, hope I’m not confused with the terminology
Well, Dolphin is an emulator, so screenshots and videos are quite an obvious tool to demonstrate game emulation issues... and it's also easier to boil down most changes to "fixes X issue on Y game" for a mature project; that model doesn't map quite as well to the early stages of an OS port project, especially since most of the stuff in this first report is literally required to get anything to work at all. The one screenshot of the framebuffer with 8 penguins at the end effectively represents the result of the entire prior saga, and everything before it would be various flavours of "black screen", "kernel panic", "the serial port stops working", etc... not very interesting to show!

What kind of diagrams are you looking for? There's lots of things that could be diagrammed here, but comprehensively explaining every concept involved would turn this into an embedded systems course, diagrams or not. What I tried to do was give a brief introduction to concepts that are relevant to the issues we ran into, and have links for those who want to go deeper. If you have specific suggestions of bits that are hard to grok without diagrams though, please do let me know. It's tricky knowing what is most confusing to other folks when you've been neck-deep in this stuff for weeks.

The alternative to this long-form post is to just have a laundry list of things that work today, but I don't really know how I would get across what the challenges were without going into at least some level of details like I did here. I figure that if I'm going to do that, I might as well make it a more educational endeavour. Of course, if all you want to know is what works and what doesn't, it may not be for you... I'm open to suggestions though!

Keep in mind that a lot of the early work ends up being "how to find the right solution to problems" (and the post goes into more detail about this); the current feature support status of Linux on M1 almost hasn't changed for the past 30 days, because instead I've been re-visiting and re-working the code into a form that is upstreamable, as well as building tools and chipping away at little details. It's a lot of yak shaving, but it's all things that need to happen sooner or later. Unfortunately, it doesn't really tick boxes in a TL;DR bullet list of working hardware.
What’s really fun is that the Hopi Nation, totally enclosed by the Navajo Nation, is the same as Arizona and doesn’t observe DST.
Even in the developing world, double the current renewal price would be nothing for a company who owns one or two domains. Do you think the literal poorest people in the world are creating startups or even websites? The demand you're conjecturing just doesn't exist.
Also how big magnets are we talking about here? And what scale of flow they can operate at with sufficient efficiency? Also what if there is lot of surfactants(soap etc.) involved in water?
The pattern matching blog post is indeed great (good job @haxscramper!). Casual Nim observers might want to click on the Blog link at the top (Or all the other links!). There have been quite a few posts in the past year or so on ARC & ORC garbage collection, multi-threading run-times, and a variety of "overview posts" on a lot of various happenings.
Large projects with many contributors is exactly where Tailwind shines. It prevents that ever growing pile of intractable mud that every CSS codebase tends to turn into over time.
> how to recover the magnetite

Won't that happen with the same magnet?
One stick of butter is defined as 8 tablespoons, no matter the shape it was packaged in, or if you're getting it from a butter churn.
And I absolutely love that about Asian cooking. Some ingredients do not taste good on their own, and would be thrown away in western cultures, but they really shine with the right spices and seasoning. Organ meat in a hot pot is amazing.
Fracking increased the release of methane at the same time, which is a much more potent contributor to global warming.

The switch to natural gas reduced CO2 output but made global warming worse at the same time. It's quite an achievement.
Educational 3D Programming Language Gaming Environment
Quoting this article's opinion on the 'What colour is your function' article

> One the one hand it's a great article that hits the nail on the head why using async/await in JS (and other languages) is very painful

> Rust's async/await even though - you might have guessed it - it doesn't apply!

So the author starts off by declaring that the colored functions problem only applies to other languages but not to rust.

Soon after, he takes exception with the claim "You can only call a red function from within another red function".

His primary argument in support of this is that in rust you can execute an async function blockingly in an executor. And to do vice versa, i.e. call a sync function in an async loop, that you can either block the event loop or hand it off to a different machinery.

The fact is, both of these things can be done in other async runtimes as well. For eg. it's a near identical scenario in python async. Like others have pointed out in this comment thread, this is true in Scala too. Perhaps the author is unaware of this?

So yes, rust does indeed have the colored function dichotomy, as any async runtime would, the author's angry assertions to the contrary notwithstanding. (I say this as a fan of both rust as well as async runtimes, which I feel are a nice fit for certain use cases.)
> It didn’t force Merkel to do anything

Merkel would have governed against the strong will of the Germans to get rid of nuclear ASAP.

This topic has been intensely discussed in Germany for two decades already.

That was not a sustainable position. Mass protests would have awaited the government.
Yes. They tend to be straight out of the “monkey lands plane” school of journalism.
#3 can be solved with PurgeCSS.

OP wrote:

> Because every new class name that you introduce could have potentially hundreds of property-value combinations, and that translates to more compiled CSS—which, of course, means a larger network request, and potentially slower performance.

After PurgeCSS you can end up with a 15kb CSS bundled payload even before gzip for a decently sized site. That's so much smaller than most other CSS libraries because Tailwind is very purge friendly.
This looks excellent, however it feels weird when reading "Cucuteni-Trypillian culture in Romania and Ukraine" given that for example Ukraine exists from like 1917? I think more accurate would be just referring to geographical areas rather than administrative areas of current time. Borders change and countries come and go whereas Europe as a continent is not moving that quick.
Many good arguments against tailwind here. The whole approach of using a framework with opaque variable names and not chaining instead of real CSS can be criticized, and the article does it well. Though maybe I missed it, but it is actually nice to write a site with such CSS frameworks, be it tailwind or something else, so that should be noted. Reading the code and changing it, that's a different story.

However: The author writes a good critique here, and then destroys all of it by favoring the eternal sin of CSS-in-JS instead. If tailwind has its flaws, CSS in JS is the worst approach thinkable, something no web developer would ever do. I'm aware that it's used in the JS framework niche, but that's not web development, that's app UI development in a browser and seems to come mostly from web-foreign developers. If it's that or HTML with tailwind, then tailwind is always better.
This run on the assumption that demand is static. Renewables are great at providing cheap energy to consumers that can match their usage when the price is low.

One such use case happen to also be one of the biggest energy consumer, communal heating. If those invested into bigger capacity they could heat the water when prices is low and operate much like a battery for the system at large. The demand for base load would then be reduced and nuclear would have a easier job without displacing the use of cheaper renewables.
With those there is soap or other such agents involved. I wonder if they will unbind the oils from the ferrous material or prevent the plastics from attaching.
He actually did it, the absolute mad man
Show HN: Transformer XL model for fast Python auto-completion
I only agree with their first point; it makes the html a mess

But I think this could be solved with an editor extension that shortens or hides the 'class' unless you mouseover it
Do you live in Minnesota? If so, you might prefer to buy from somewhere online-but-local.

Do you normally buy the branded dealer part, or a generic? That would impact which ad you want to see/click.

Will you be wanting to buy this carburettor outright, or would you prefer to pay $1 per month for the next 20 years for it?

Will you also be wanting fitting instructions, a guarantee, tools etc. etc.

The answers dramatically impact what kind of products you might buy. Yet there are only slots to show a few companies/services, so unless Google correctly guesses, you will think the results are useless. They need data to make the right guesses.
Ive been doing CSS in every flavor imaginable for twenty years now. Until Tailwind came along it was always my least favorite part of coding for the web. Tailwind eliminates all that accidental coupling that eventually turns every CSS codebase into a tar pit nobody dares to clean up.

Don’t knock until you’ve given it a fair chance.
> what kind of argument is that?

A pretty strong one. If I'm maintaining a project, I really do not want to spend my time learning some random DSL made up of obscure class names with abbreviated letters and numbers just to change the padding on a div. The component based approach is infinitely more maintainable. Things like Tailwind are fine for quickly prototyping something if you can't be bothered with design or styling at the time. But long term they are a maintenance nightmare.
Unprivileged Chroot Proposed for Linux
$ 311B US budget deficit in February due to Corona
I was already slightly familiar with parser combinators but still really enjoyed this article to see how one might implement them in Zig, which I've looked at but not written anything in myself.

For another introduction to parser combinators, I can recommend the Parser Combinators From Scratch series on the Low-Level JavaScript YouTube channel. In general he has a lot of really nice videos that are great introductions to low-level programming concepts, especially for people who mainly know JavaScript.

[0] https://www.youtube.com/playlist?list=PLP29wDx6QmW5yfO1LAgO8...
Offline reading mode. Sometimes you need to disconnect to get to the good stuff.
They mean to say "90% of the plastic in the ocean that comes from rivers comes from just 10 rivers".

https://factcheck.afp.com/widely-cited-study-did-not-show-95...

"It estimated that 88 to 95 percent of the plastic transported by 1,350 large rivers around the world — referred to by scientists as riverine waste — comes from only 10 rivers, all of which are in Asia and Africa. The study does not attempt to compare the plastic waste transported by rivers to the total plastic waste in seas and oceans."

There's a bunch of plastic in the ocean that didn't come from rivers - mostly industrial fishing waste.
and provides shorthand that everyone understands "-pt-5" is simple and universal once you've learned the shorthand
This deserves a nomination to the Forbes “top 30 under 30” list!?!?
Rust's async just doesn't worth the hassle. At the moment when you have enough requests to get the benefits from async over thread::spawn, you'll HAVE TO run multiple instances/servers, at least for fail-safety reasons. And when the load is balanced, all the async benefits are not enough to be noticed, so there are no reasons to step into this mess.
I feel for you. I too am sticking to an obsolete unsmart TV. In 2016 I had to change my home heaters, and nowadays they're all "smart". The app that's supposedly used to control them never could find one of them; instead of a temperature knob and an on/off switch, you constantly need to dive into cascading menus; and of course I'm confident that this smart sh*t will be the reason why they'll fail in the future, for instance when the screen will fail and make the heater unusable.
You wouldn't think that if you were Chinese, Syrian, Lebanonian, and many other states
I’ve done plenty of big sites with the component based approach and they are anything but maintainable.
You are so wrong I do not even know where to start. But because I was the most offended about the spanish comments I will start there.

> The former only recently being in vogue because of the work Ferran Adria.

That is not true, Spain has many regions with formidable chefs. But for example the Basque country is one of the areas of the world with most Michelin Stars per square mile, comparable to Tokyo, New York etc. Basque cuisine is almost exclusively based on simple ingredients done well.

The fact you are so supremely uneducated about something so well known means the rest of the comment can be taken with a pinch of salt, no pun intended.

Japanese food has minimalist traditions but it also has it hotpot of "add it all together" common recipes which are all fantastic.

> mistaking culinary acceptance as desirable inclusiveness.

I am european, your comment is just misinformed and wrong. It is not even down to opinion, you are factually wrong and incredibly self confident based on meeting one Indian guy at work.

> Is it snobbery

Yes, and the worst kind. I say this as a snob myself. I save up to eat at great restaurants and go far off the trail for certain food experiences. But I have eaten in the worst joints in Sichuan with incredibly spicy food, and delicious traditional Pakistani curries and neither has ruined my palette to eat Sous vide sirloin with crystal salt
The majority of electricity is not imported. Germany is a net exporter of electricity.
If one wishes to use the "smart" features without ads, so far DNS blocking still works.

The simplest solution is to set up https://nextdns.io with the lists for smart TVs. I've done it with a recent Samsung one and it works perfectly, without ads.

For sure if one day TVs use their own DNS, the solution would be to not connect them and not use their "smart" features. But until then, it works.
I don' think so. Not if you have Bitcoin to pay everyone when other things go bust.
I used to, but after seeing the Collison brothers achievements I will click on any headline starting with "Irish Teen Invents...".
I hate this new HN culture of downvoting completely accurate statements when they don‘t align with the hivemind‘s ideas.
Ok, maybe not the most insightful comment, but completely true. Schröder pushed denuclearization and advocated for the switch to natural gas (which is so convenient for Russia that he‘s now very close to Putin and held top positions in Russian energy companies)
Little heads up for all searching vegan receipts there. The author has an article named "Veganism is the Pinnacle of Bugmanism" on his personal webpage: https://lukesmith.xyz/articles/vegan
I'm a "full stack" developer. Largely a backend dev who does frontend as required, including on side projects.

I switched to TailwindCSS a long time ago and I have zero regrets. Its so awesome I can switch to a project that is 2 years old, and make a quick layout UI change without having to look at old CSS files to find classes etc. I also can just find a tailwind class name and apply lots of cool stuff that I've normally found difficult to do via "pure" CSS files.

But I also feel that this is likely to be a thing that half prefer A, and half prefer B, and there is nothing wrong with either. In this thread is likely to be a 50/50 split between both camps, with different "ideologies" on how the front end should be done.

As the author of this article says - give it a go. If you like it, awesome. If you dont, switch back to another tool, there's not a definitive "right/wrong" answer to any of this.
While Hasura is nice, it's too much blackbox, too much all-in, too much risk, we decided against it.

2021 is great because of TypeScript, types and decorators (just put here any other typed lang with decoraters if you do not like TS). If your db is your leading system for your schema, everything else is derived and "code-generated" with all the restrictions SQL has. Which is not great if you want to decorate and enhance. Yes, you could use interfaces but it's not the same, you can't decorate code-generated type definitions but your architecture wouldn't stay DRY either.

If you think TS' types as the leading schema you do not need a type checked db like Postgres anymore, anything which can store data works just fine you have all schema definitions at one place which is not the DB. Good examples enabling such an architecture are TypeORM and TypeGraphQL. However most stick to SQL and 'my schema must be in my DB, there is no other way to enforce a schema' (but there is!) you just need a good architecture (types and decorators!) and not another mainstream-from-the-shelf-solution.
The M1 boot process isn't really much more complicated than the boot process of many other embedded ARM systems. Linux already works on ARM; everything I talk about here is about dealing with Apple's particular flavor of hardware and their non-standard boot process. That doesn't have anything in common with PowerPC systems either, so there isn't anything to be gained from PowerPC Linux (other than the I²C driver which I do mention).
Law Commission Calls for Smart Contract Evidence
Blob Opera with Machine Learning
> But the thing is that to a zig developer, it's clear that this is explicit static polymorphism getting compiled into a plethora of monomorphic callsites

To a Rust programmer it is clear that the toolchain defaults are set up to satisfy the 99.99999999% of programmers whose goal isn't to "write the smallest hello world possible".

You can change these defaults in your system config if you don't like them.

Like you mention, one size doesn't fit all.

To me that's one of the main differences between Zig and Rust.
I'm too old and tired to try to be clever on the front end any more. TailwindCSS is the right answer for big projects and for small. Yes it can get bloated but i'm willing to take that trade off if it means I don't have to do any more css.
It is one more thing to learn but honestly it takes a very short amount of time and actually most things can be inferred
Unlike other methods I’ve seen Tailwind based projects result in very small CSS payloads that tend to grow asymptotically over time instead of getting bigger and more bloated over time as people keep adding new “semantic” classes.
It is actually a fertilizer, algae needs it (of course, too much algae is a problem, too).
I've only used text translation for articles and such, and the only translator that it's up there, from all I've tried (quite a lot), seems to be DeepL. I speak spanish, english, french and some Portuguese, and deepL is consistently better than others.

That's not saying it's perfect. It still makes mistakes and uses weird wording sometimes, but it needs way less correction.
Pizza Pie Calculator
There are many methods that remove plastics from water in a petri dish or a glass. Translating those methods to ocean scale is the toughest part.
Excess iron in seawater can cause huge imbalalances by seeding algae blooms. Any large scale application of this would need to take that into account or risk disrupting ecosystems.
>when we talk about our youth and learning to program as a 14 year old or something

what 14? That's late indeed. The story has to be preschool to be awe-worthy.

For instance: "12/13y old writes the shortest assembly routine to move the head of the floppy drive of Apple II", doesn't sound grounbreaking - even if the code was better/shorter than DOS, itself. Solving massive world problems is a totally different scale.
Presumably, there would be specific date that this change will happen. But the seasons don't change instantly from summer to winter on a specific dat, they gradually change over a few weeks, where the confusion I talk about will still occur.
Steps to Success: From Surviving with Legacy Systems to Thriving with MongoDB