skysight-inc/HackerNews huggingface dataset:
Can't read WSJ, but I suspect "who will pay for them?" and "where will the power come from and how will it get there?" are key questions that remain unanswered. There's a lot of cars in the States, and I'm not sure they have the MW needed to handle replacing them with EV as well as keeping cool/warm.

Personally, I'm not thrilled by having to change "gas-and-go" with "wait-to-charge". I worry there will be quite the wait time on the major freeways due to load and the limited access.
Such as? My first guess is that you're referring to macros, but I'm also guessing that you might be referring to its lack of homoiconicity.
See also https://nandgame.com -- it's not nearly as comprehensive as the nand2tetris simulator, but it's a lot of fun to work through.
Maybe it should just be an HTTP header. Shift the responsibility for enforcing age restrictions to the client side; anything else is likely to be highly authoritarian and/or a massive privacy violation.
Agreed. I had email around 1991 (before we had DNS - we had some different weird address format ;-) when no-one knew what "the internet" is. People I told back than didn't understand the coming changes.
It’s not bad to suppress political views that incite violence, mob mentality, provably false narratives, or other abhorrent types of speech (cue the typical child porn examples). The alarm is in not having a standard of discourse and then banning certain types of political views that are otherwise within the confines of polite discourse.
Your comment would have been radically better if you'd omitted the first three sentences.
Does HN have anti-duplication protection?
Six months ago, I published part one of my NLP course and submitted this link:
https://news.ycombinator.com/item?id=31421232

This morning, I wanted to share that I released the FULL course (same URL) but every time I hit submit, it redirects me to my previous submission.

Is this some anti-duplication protection in action? Does my account not have posting privileges?
Where I have worked (mostly smaller companies but some tier 1s), it's very routine for an exec to over rule legal or compliance. As long as they're happy to sign off that's that. And that's the problem with technical issues: you can waive the risk of a regulator fining you, you cannot waive 1+1 not equalling 3.
I had a dog whom I was never able to get to identify motion in a LED TV. So how would this work? Dogs need environmental stimuli. Smells and moving objects.
If you read the whole article, that's exactly what they're doing. The robots don't carry actual weapons, but they can carry breaching charges and tear gas. But "less-than-lethal" isn't really a thing, they can still kill people, so they're using the term lethal.
The secret of TailwindUI is to take the HTML version of their code and just built your own components (e.g. if using VueJS). I would not use their suggested VueJS examples, as generally I prefer the options API.

It does however add some extra time to build your app - but consider that they have already built 90% for you - in terms of the design etc.
I doubt there are many people not taking STEM because they are scared of foreign competition. All the students on visa only arrive in university and not in high school where future career decisions are made. The real reason is STEM requires grit and critical thinking which is not taught in the American Education system. Not to mention STEM jobs are not seen as cool and things nerds do.
Of course you're right, but let's continue the thought experiment: if they had used some of the imagery you suggest, would anyone claim that the people taking the photos were starving said children, or imprisoning people?
Can’t grow wheat in the Middle East, though. In fact, Dubai can’t grow any of their own food outdoors.

The industry is growing at 25-30% YoY…. That’s gonna snowball fast.
https://medium.com/@worstonlinedater/tinder-experiments-ii-g...

https://www.reddit.com/r/TrueAskReddit/comments/whpxuw/datin...
This study had an unrelated purpose but nevertheless extracted the same data.

https://economictimes.indiatimes.com/magazines/panache/the-m...

Everything I'm saying is common knowledge if you are an average (key word) man on dating apps OR if you're well versed in academic anthropology or evolutionary psychology (NOT gender studies). As an average male, we live this life anecdotally. The imbalance of power in the dating market invades every facet of what we feel and see. It is part of our logical reality. If you are not an average single man, it is very likely this reality is completely foreign to you; and when presented with this new angle you will likely not accept it.

Our culture paints a picture of inequality. The equation speaks to one side of of the story. The story of female empowerment; The rise of of the underdog. The other side of the equation, the male side, is invisible, especially if you are not a male.

The evidence extends beyond dating app statistics (which all categorically point to the same conclusion) to biology and anthropology:

https://www.theguardian.com/science/2014/sep/24/women-men-dn...
The genetic diversity of female genes is greater than male genes.

https://slate.com/technology/2012/10/are-humans-monogamous-o...
In anthropology Monogamy is considered to be a mating strategy that guarantee a single mate for all men. It is advantageous to men and in many societies it is artificially enforced. Polygamy is more advantageous to females and the likely natural outcome when females are more empowered in society. It guarantees the best mate for females.

Of course women would prefer to be in a monogamous relationship with an alpha male. But given the choice between monogamy with a beta male or polygamy with an alpha they choose the later.

More on that here:
https://www.vice.com/en/article/a38dwj/monogamy-may-be-even-...

Given anthropological studies of human culture and genetic studies of female genetic diversity, the conclusion is inescapable:

Hookup culture is the natural outcome of human behavior. Dating apps only magnify this behavior and allow us to collect data on it.
> I like Tailwind, but I am not sure I'd recommend it to someone without prior experience and deep understanding of CSS. In my opinion, abstractions rarely teach us the underlying layers of a technology.

I started with Tailwind and as I learned CSS along the way. Obviously people will look up stuff on MDN when they are stumbling on terms they didn't know about.

The tailwind docs + tw-intellisense plugin [1] are pretty good, too. Especially since the extension shows the raw CSS behind the abstraction when you hover over a class name.

[1] https://marketplace.visualstudio.com/items?itemName=bradlc.v...
I may be misunderstanding what you write, but I've had many (many, many) programs that worked for the wrong reasons, which led them to break in very (very, very) ugly ways due to unrelated changes.

The only ways I know of to get rid of (some of) these bugs are to:
- use as much static typing as possible;
- wherever static typing is not sufficient, sprinkle this with a paranoid dose of assertions.

If I read what you write correctly, that's way beyond "testing for the correct behavior", no?
The issue is that the business strategy for all these companies was to convert meat eaters into plant eaters which is never going to happen in the long run. Sure sales surged in the beginning cause it was the "new thing" and everyone wanted to try them if nothing else, as a comparison. Like ever other gimmick though, once the surge ends the company has no idea what to do next.
Damn, this hits so many nails that it's got to be one of the biggest HN posts in a while.
Its very easy, you have a configuration setting with the list of algorithms and a short textual description. Users try them and quickly change off ones they don't like till they settle on one they like best.
Start with studying particle in a box.
In my experience it depends a bit on the LSP server itself (as well as it just being horribly slow in Emacs 27 and older). Omnisharp is for instance way slower than clangd and rust-analyzer. Also helps to make sure all the various mingw dependencies are there if you use Windows (json and native compile in particular). If you used LSP-mode it would be worth checking out if you can disable some of the information it renders to improve performance in general.

Other than that, Company can be a bit slow compared to Corfu, which is a bit more lightweight completion framework, built more around the emacs internals.
That kind of enzyme (phytase) is produced by all herbivores and seed- or nut-eating animals.

Humans also produce it, but in very small quantities (e.g. one study has measured a 30-times less quantity than in rats), which are also variable from human to human, so some people are more susceptible than others to the deficiencies caused by the phytic acid from seeds and nuts.

An alternative to adding phytase to any food with seeds (this includes all cereals and legumes) or nuts is to soak them for some hours in water, before cooking, as it was already done in the traditional methods of cooking for many of them. Then they can be washed and the phytic acid can be eliminated with the water.

The soaking is much more effective if the water is acidulated, e.g. with lemon juice or vinegar.

The white flour has much less phytic acid than whole grain floor, therefore it is healthier to eat white flour for starch and proteins and eat other kinds of vegetables to get minerals and vitamins.

In my opinion all the propaganda about whole grains is very wrong. Whole grains are better than eating only white floor or white rice, but they are much worse than eating white floor or white rice together with a large number of different vegetables, or even than eating white floor or rice together with one multivitamin/multimineral pill (because in the latter case the minerals will be better absorbed than when eating whole grain floor or whole grains that have not been soaked).

The phytic acid is used in all seeds and nuts as a storage means for phosphorus, so a plant that would be modified to not make it would not have viable seeds, so it could be reproduced only by cloning. That works for many fruit trees, but it would not work for cereals and legumes.
I wander if you could use something like webtorrent to make a sort of CDN for toots like peertube does with videos.
Recently saw an Apple patent for a computer entirely inside a keyboard. With their M1 chips they could actually do this.

https://www.tomshardware.com/news/apple-patent-mac-built-in-...
> You shouldn't write test to validate types in the fist place. Testing for the correct behavior should be enough.

Yeah but with dynamic typing there's a whole bunch of behaviors you need to think about. You pass an int into a method that expects a string, what's the expected behavior? Or maybe something more nefarious, like a method that expects a Python dictionary but is passed in a pandas Dataframe, which has similar syntax with totally different meaning; what's the expected behavior?

Much easier to just specify what types you're expecting to work with and let a compiler or type checker deal with it.
To be fair, Tesla's version of official is a tweet from the Chief Twit.
Oh, huh, I first knew about this from Peertube, and I assumed they were the ones who had created it. It seemed like a really clever solution to the problem of "how do I host my own YouTube without needing a massive infrastructure to deliver video?"

Really cool to learn that Webtorrent is a generic API that others can use. There seems to be a lot of good ways it can be used to decentralise the web again.
“ As of 2010, the Pancrustacea taxon is considered well accepted, with most studies recovering Hexapoda within Crustacea.”

Hexapoda are all of the insects.
I think we've largely settled on "doing clever things is bad, actually." At least, I have.

Your code should be obvious and self-documenting. Relying on language features to do a bunch of stuff behind the scenes more often leads to programs that are hard to debug and perform badly. How many times have you had to dig into C++ operator overloading compiler errors or someone being too clever with C macros (wait, that macro can return?!?) or someone overloading a Python built-in function in surprising ways. Coming across the short double example from the article in production code would make me groan. The "all sorts of uses for this kind of trick" the author lists sound like a nightmare for some poor employee to have to reverse-engineer five years from now.

I feel modern languages (Rust, Go, Swift) have moved away from clever, implicit behavior in favor of more considered and explicit code-efficiency mechanisms. For example making error handling (? error operator in Swift & Rust) an explicit first-class citizen, rather than some clever macro hacking; or the trend away from operator overloading and complicated class structures and towards explicitly declared interfaces; or the many restrictions on Rust macros[1] to help ensure they're maintainable.

[1] https://veykril.github.io/tlborm/decl-macros/minutiae/hygien... and related sections
Seems like the browser should warn of a webRTC connection coming from the site.
That's like asking why a motorbike isn't a car - they have the same goal: get from A to B but quite different considerations.

Most webscale products aren't written in performant languages and are, instead, optimized around fast feature generation and being easy (cheap) to hire for.

There's a reason laggy Electron apps are the norm $$.
That would be good journalism.
In addition to the sibling comment, the number one suspect in all cases of excuses mucus production is dairy.

A simple trial-avoidance challenge regime of no dairy for two weeks followed by reintroducing dairy on day 15 should give you strong indicators if dairy is a problem for you.

Could be air born allergens too, so may not help at all.
My point is that I, apparently, am more open to others than you, and make more effort to address them than you, but don't have accidental results as good as yours. I suspect that you understood what I meant, but decided to post a critical and accusatory note nevertheless.
Isn't this what Cortana is supposed to do in Windows?
I wasn't referring to that, so apologies if that sounded offensive, I thought I was making something up.

Elsewhere though, unless presented as intending to be a specific thing from down under, 'meat pie' is a lot less appetising than 'steak and kidney pie' or whatever, because who wants mystery meat (implicitly perhaps the cheapest odds and ends available).

Similarly though to be fair 'fish pie' in the UK & France at least is a slightly flexible mixed fish fare.
Don't forget to dissociate the concept of virtual worlds which already exist and are quite popular (MMOs etc.), and the idea of a virtual world owned and imagined by Zuckerberg which has been a terrible failure so far.
Do you believe no member of your family has ever experienced poverty and had to steal to survive? What a callous thing to say.
In the "just works" department mainly, especially in regards to other packages playing nice with tramp.
Thanks for the clarifications. I still don't like it, but I understand.
I heard of significant driver and stability issues on some of them, despite being all MS. How's yours going, software wise?
You're right I had slightly misremembered it.

Cannabis wouldn't fall under this law, you're right. It's not intended to cover cannabis though, as that is already legislated for by the Misuse of Drugs Act 1971.

This law was designed to combat so-called designer drugs and it has been successful in eradicating British production of these items, which mostly now takes place in the Netherlands, Germany and China

Tobacco and alcohol are also covered along with foodstuffs in the Schedules. They have long standing cultural acceptance and importance. The government does what it can do combat misuse of alcohol through taxes (along with minimum pricing in Scotland) and to combat the use of tobacco products through taxation and packaging/advertising restrictions.

What would a scientific version of the law look like in your mind? What are the inconsistencies?
I was wondering how it works, since I'm pretty sure WebRTC has some overhead. Turns out that

> In order to support WebRTC's connection model, we made a few changes to the tracker protocol. Therefore, a browser-based WebTorrent client or "web peer" can only connect to other clients that support WebTorrent/WebRTC.
Ditto.

I wish folks who expend the effort to create things like this would spend just a bit more identifying the target audience and ensuring they're speaking to it. I've lost count of the things I've begun reading which lose the thread in this manner.
We tried doing just that and the short answer is that we couldn't fit the gradients for arbitratily-placed tiles into a DGX with 320 GB of GPU RAM. For 32x32 pixel tiles, free location placement will 1024x your memory usage.
I've seen a lot of people migrating to POST.

There's a waiting list while the devs are frantically in the middle of actually writing it.

https://www.thewrap.com/what-is-post-twitter-alternative-new...
I hear adults telling kids to not go into STEM (like my uncle told me) because of foreign competition.

Exactly: that’s the sense in which you give up your privilege when you take up STEM. It automatically makes you less than human in some people’s eyes and racism against Asians has very much the same components.
There is a huge difference between having a post removed in a moderated community and having a post be punishable by the law of your nation.
Yep, this. No personal stuff on work laptop, with the sole exception of my Spotify login. No work stuff on personal machines other than my payroll login.

Files don't leave my work laptop. If I need to get files into my work laptop (very rarely, usually slack emojis) I email them to my work account or share a Google Drive folder with my work account. These methods are traceable and auditable for my company and, importantly, don't open any of my personal accounts to legal discovery from the company's side as far as I can tell.
Any idea how these guys make money?
I wonder if you could apply a simpler version of this to ordinary C/C++ programs? If you allocate a chunk on the heap with 8-byte alignment, then you can throw away the lowest 3 bits of precision, and then you can address 32GB with a 32-bit pointer. You'd need the cooperation of the memory allocator to ensure it gives you addresses in the first 32GB of address space, and it might interfere with things like ASLR, but it doesn't seem impossible.

Something like this in C++:

template<class T>
class CompressedPointer {
public:
T &operator*() const {
return *static_cast<T *>((uint64_t)ptr << 3);
}

/* It's not safe to construct a CompressedPointer<T> from an arbitrary T*;
you probably want to malloc and construct via the CompressedPointer itself */
template<Args...>
static CompressedPointer malloc(Args...) {
/* allocate 8-byte aligned sizeof(T) in first 32GB, then construct T in it */
}

private:
uint32_t ptr;
}

[Edit] Extra crazy idea: Take an existing large C++ codebase. For each struct T in the codebase, use static analysis to determine if T is ever stack-allocated (or otherwise incompatible with CompressedPointer). If not, automatically rewrite all "T*" to "CompressedPointer<T>" and all "new T(...)" with "CompressedPointer<T>::malloc(...)". I suspect this would work for 90% of the heap allocations in a typical C++ codebase...
> VS Code remote editing blows TRAMP out of the water

I think it is not that black & white. Recently I've used tramp to dial into a server via SSH and there into a docker container and directly edit files inside. I don't think VSCode can do the same inside a shell it starts. Sure it may be able to open an SSH shell and then from there you might be able to type in some docker exec command. But that is not the same as tramp into docker container on a remote host via SSH for the following reasons:

When I use keyboard shortcuts from inside that tramp shell, Emacs understands, that it happens inside the tramp context and for example will only show me files inside that docker container, when I do a find-file. Should I decide to run an rgrep from that context, it will show me results in that context. If I click the findings of that rgrep, it will probably open the findings, which are on the remote host inside the docker container. If I open dired from the tramp context, I will see files from that context, not files on my own machine. Context is the magic here.

This level of integration is missing from VSCode. VSCode replicates part of these things, but things are not integrated. Want to ssh into a server? OK can do. Want to open files? OK here are your files from your own machine. It does not understand, that it should use the generic action of showing available files in the context of the opened SSH session. This might be a consequence of things being less coupled with keyboard workflow. When I use a mouse to click some menu items, it is not clear to VSCode in which opened tab/buffer that action should be performed. When I press a keyboard shortcut in Emacs, there will be a buffer (or mini buffer, or whatever) which has the focus and does not have to lose the focus, because I am not using the mouse to click outside of it. Things which are taken for granted in Emacs (all that integration and generic actions, which work anywhere) do not seem to exist in VSCode. Maybe most people are not even aware of how generic actions like opening a file could be integrated, because they have never seen it like it is in Emacs.

On the other hand, VSCode might have a more fluent experience for when you do not want to do anything more complex than SSH into a server and might be speedier at those simpler workflows. There are probably well paid engineers at MS, who try to make things run smoothly when the shell is an SSH session on a remote server. I have not benchmarked this. Just a guess.
Now they believe that because some victims came forward and didn't get dismissed, and the mainstream media reported on it.

The possibility that claims about Epstein might have been laughed at if the story had been broken by people who normally focus on talking about crisis actors and chemtrails but those people didn't break the story because they didn't know anything about it (and were too busy talking about crisis actors and chemtrails) isn't a particularly good argument for taking that group more seriously
I have given away all my Raspberry Pi’s. It’s a dead platform to me.

I’ve found thin-clients and “mini”/small form factor PC’s like the HP EliteDesk and Chrome TV Boxes that can run Linux on eBay for less than $70 USD. And significantly more powerful. I let an arduino handle GPIO with a USB serial interface. Great deals can be found from IT equipment liquidators who have 1000s of those types of machines.

What drove me to those x86 machines was I needed to run some proprietary scanner drivers for a project. And those driver were only available for x86.
I don't see how this personal take generalizes to a trend specific to data science (as much as the term looks weird to me). In other words, I don't see how creating useless Python notebooks is different from over-engineering or creating useless features.

To me the proper context of the story is "cheap money have been flooding the market for _decades_".