skysight-inc/HackerNews huggingface dataset:
Yeah, I can see how you could take that from my comment, it was a bit of a throwaway last line.

I mainly want it to be rewritten in a compiled language for performance reasons, it's a sluggish beast. I haven't tried to use it on Linux (where it has some support), and definitely not on Windows (winget/chocolatey would be my port of call there).

Examples of tools I use across operating systems that were written in Rust/Go, that pretty much are drop an executable somewhere and run:

ripgrep, starship, tailscale, terraform, vault, etc.

Whereas when something is written in Python, Ruby or similar, I'm rolling the dice, and I'm only an apt-get or dnf away from it breaking when I really need it.
> I think /r/wallstreetbets is going to be 'ruined' by its newfound popularity for the foreseeable future, we can already see the subreddit drama and disinformation in full swing.

It already is ruined. Given the influx of media attention, new users, bots and the GME after-party of bag-holders who missed the ship. The 'actual' old members (who got in early as $5 - $20) are already gone with their gains. Now it's just full of latecomers who bought as high as $200 - $465 posting screenshots of losing their entire life savings.

The subreddit already had users pretending and memeing to be idiots until the real idiots came in and those posting screenshots of their huge losses with their life savings with disinformation, ape emojis, 'diamond hands', 'hodl' as the stock fell etc.

Not only they didn't know that they have become a meme, They are now going to be featured in the new WallStreetBets movie. Won't be surprised if they called it 'Diamond Hands' or 'The big short squeeze'.
That’s a good thing. You can listen to what you want to without that nagging feeling you might be neglecting your kids!
How to implement conditional rendering in React JavaScript application
Conditional Rendering Using React JS
In this article, we are going to examine multiple ways to implement conditional rendering in React applications
In this domain, in an ideal world, things "get made" through transparency, collaboration and scrutiny. Expertise is earned, not declared.

You don't have to "wait", but you do need to trust. These people exist, and nearly anyone can join their ranks.

It is indeed hubris to suggest expert-level ability is possible without the experience to back it up. Expertise in one domain does not confer expertise in another.

Side note: expertise is surprisingly hard to define. And I don't believe that "only the experts can speak". All voices bring something.
Private craigslist for things you can't sell on ebay, maybe?
Haha, someone was blaming 'typescript' after they'd made this exact mistake in Ask HN :

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

Strange coincidence.

Edit: I always wondered if jquery's .each deliberately had a signature of function(i, ele) to discourage people from mistakes like this, or if it was a happy accident.
In takeoff and landing, the most critical phases of fight, the range of useable pitch is fairly narrow... too much and you bang the tail into the ground.

Too little and you strike the prop.

The way you’re taught to land you use the controls is basically backwards - the elevators (pitch) control speed. The throttle controls rate of descent.
I'm not terribly impressed with claims that some programming language will hinder a programmer's development of their skills, but a language that teaches its users to reflexively avoid passing functions as arguments in this way is definitely concerning.
Hmm.. haven't coded in it for a while, but wouldn't typescript solve this?! Why are people still using vanilla JS?!
Ink Blot Mazes
Apple Ups DTK Mac Mini Return Credit to $500 After Developer Complaints
Yeah. Pretty horrible design flaw. Being able to add parameters in a backwards compatible way is essential for software development. I guess the only way to do it is via passing an object, which is like passing keyword parameters in other languages.
It also provides a useful example of the limitations of TypeScript’s type checking. TS is an improvement on JS in this area, but sometimes people overestimate the safety guarantees it offers and forget that its type system is still unsound.
That names comes from the Belgian mathematician Eugène Charles Catalan.
I just don't believe suddenly all exchanges for the "small people" are not allowd to buy (just sell) GME stocks because of a liquidity problem at the same time.

I mean, it was not just about GME now. If it worked out, it would happen again. Now everybody knows .. the big guys just allways bend the rules and you have no chance, so you don't even try a second GME.
Myanmar coup: Internet shutdown as crowds protest against military
Sure, but it is centralised in the os distribution package manager, if you use helpers like yay. I am just pointing out that centralisation is not solution to the attack mentioned.
The problems with MIPS are not technical or ecosystem or being battle-tested or not. The problem is it is proprietary and since sometime between when SGI spun it out (and the expected rise of Itanium) and the purchase by Imagination Technologies it has been run by a series of incompetent and/or people who just want to extract as much money as possible and then get out. They've had some great technical people throughout who have revamped an modernized it, but in the end it's the proprietary nature and mismanagement that has been more important.
If a vaccine is tested in the wild, does it introduce an additional unique risk to society?

It's an infectious disease that mutates. A vaccine may be partially effective in the treated person, but also increase the risk of viral mutation leading to increased infectivity or virulence.

I have no authority or evidence, just a hunch. But if correct it seems that we cannot adford to just shrug and say "it's your funeral, mate"
Well, let's start with the important stuff, establishing my standpoint-theoretical credentials. I grew up in Russia during its economic collapse, in a "lower-middle-class" family. Food stamps were not a thing, but my mom definitely spent a lot of time e.g. taking transit to some far-away store to buy chicken cheaper... and when my grandma would visit she would report smth like "tomatoes and potatoes were cheaper on Kievsky market today, and oranges were cheaper on Izmaylovsky market, I can buy you some so you don't have to go all the way there". We couldn't afford even to replace a TV, forget e.g. a car. The first cellphone I ever had was purchased from my first full-time paycheck.

Still, the other guy is absolutely right. The penny-pinching food we ate was luxurious compared to the vast majority of people throughout most of history.

Moreover, most American poor live the life of royalty. The only unique real problem (a subset of) the American poor has is housing insecurity; if you don't have that (or frankly if you have that in an expensive city and don't move out), the rest of the complaints I hear are, from my "lived experience", a joke.
Yes, Intel MBP running Teams with loud fans is embarrassing.
I'd rather advise to use Web Key Directory that is trivial to setup (have https and put a key file in one special location). WKD is also widely supported by OpenPGP software (including ProtonMail, GnuPG, OpenKeychain).

See: https://datatracker.ietf.org/doc/draft-koch-openpgp-webkey-s...
The PS5 uses a custom Zen 2 processor. It uses the same 7nm node as Zen 3 though, which is quite enough to make TSMC slow in fulfilling both orders.
Some Baby Food May Contain Toxic Metals
In that case the car companies would have no problems with CPU supply
https://www.wsj.com/articles/ford-other-auto-makers-cut-outp...
A lot of web pages are just completely unusable or unreadable now.

It uses all sorts of manipulations to auto play video ads, pop ups, picture unders, user tracking, page interaction telemetry, etc.

All kinds of nonsense to display an article to you, which if it really is important, then another writer would have also written about it.

Some websites I just avoid completely, when I see the url.

These websites should just go with a pay-to-read subscription model instead. If their junk is interesting enough, then they’ll find enough people willing to pay a few cents to read it.
I’d rather just tweet a link to a blog post and let the discussion happen there. Plus, you get “free” eyeballs on it since it’ll appear in the commenter’s social graph.

If you wanted to “own” the data, you could periodically scrape the tweet’s comments.

I think there’s a cool product somewhere in there.
I've been at the right place at the right time many, many times and totally failed to recognize the opportunity, as did most everyone else.

> the blind luck that allowed them to have the skills in the first place

Oh phooey. I don't know anyone who was touched by the wand of the Magic Skill Fairy and suddenly was a chess master, a virtuoso guitar player, a physicist, a champion bodybuilder, etc.

> They didn't happen to many others with the same characteristics, who no-one has ever heard of.

Because they failed to recognize the opportunity, or couldn't be bothered to do the work to take advantage of it.
Or you end up with java-like names once you forgot the option object. toReabableNumber, toReadableNumberWithBase, toReadableNumberWithBaseAndPrecision, .... or I guess toReabableNumberWithOptions.
Doubts about Uber's tax construction in the Netherlands
I checked up and they have 6% margin on fuel where food and drinks it can be up to 30%.
Four Ways of Not Writing Software Bugs
Ask HN: My WiFi password changed over night
This morning I woke up to notice something strange. My internet radio alarm was not playing and instead wanted me to setup a internet connection.

Did not really think about it - because radios usually have crappy software and a short power outage could have caused it was my thought.

Then I realised that I can't stream music to my Sonos speakers while still in bed. Also just thought Spotify probably has some issues (happened before).

When I finally tried to use my computer I realised that all my devices aren't connected to my wifi anymore. It prompts with an 'invalid password' dialog - and wanted me to enter the password.

My router is a Ubiquity Dream Machine (not pro) and I use their cloud account. I checked what was put there as the password and it's an old password from me. (this shocked me - I did not change it.)

How could this have happened?

Are there things I should do?

Other thoughts I had:

- Someone is trying to get my wifi credentials by cloning my SSID name. (unplugged my AP and the network disappeared so I guess that a not the case.)

- Ubiquity screwed up an update. (Nope - works properly after changing the password back)

- Ubiquity somehow restored an old version (I might have had that password as the wifi password before. But this was a year ago.)

Actions I have taken:

- changed unify account password

- checked https://haveibeenpwned.com

my mail address is included in one breach.
Same here. I always set everything to en_US, because that's the native language of computing. Any time I've had to use something in my native language (Polish), the translation was terrible - and the only reason I was not confused was because I could mentally untranslate the Polish text to the most likely English original.

Speaking of computing and translations: the most annoying case I've had was not with UIs, but with books. Back in the day, I bought two C++ books by Scott Meyers (Effective C++ and More Effective C++), both published in Polish, and each by a different publisher. In the first one, they translated "template" -> "szablon" and "pattern" -> "wzorzec", and in the other, they translated "template" -> "wzorzec" and "pattern" -> "szablon". Took my teenage mind quite a while to make sense of the confusion.
I don't disagree with the premise that outsiders are unconstrained. There is a notion that modern science lacks the frequent paradigm shifting leaps in progress due to bureaucracy and safety.

But... obvious issue: without the bureaucracy, how do we ensure safety? Vaccine trials do go wrong, people do die when that happens.

I hope we're living through the final years of the tension between population based evidence and processes, vs ultra-individualised medicine. Humanity just needs to keep its shit together for long enough, and learn to operate as a planet rather than as disparate factions.
Perhaps you should read the article
Source (in Dutch, paywalled) : https://www.ftm.nl/artikelen/nieuwe-fiscale-omweg-uber
Agree, but with C++20 around the corner, most platforms now using C++17 as the default for their toolchains, is the C++11 implementation something to still worry about other than niche use cases?
It’s a good way to bootstrap. They will also acquire the technical know how to retrofit parts of their gas stations with EV charging stations. They either way need to spend money so why not just spend it to acquire the tech and infrastructure to gain time.

As far as acquisitions go this makes so much business sense. Same domain, complementary user base and technology, and with great growth opportunity.
We don't need more vaccine candidates. We had high-quality vaccine candidates at least 9 months ago. What we need are:

(a) The ability to produce hundreds of millions of doses.

(b) Tests that prove (as convincingly as we can) that the vaccine are safe.

I don't see any evidence that anyone has any idea how to do better at either (a) or (b).
You can split up your buying and skimming profits over time so your building a position over many months to years and periodically taking profits near the tops and rebuying and increasing position every couple weeks when the market corrects.

Also another great thing to try is get SPX/USD on 500:1 leverage so on a good day when S&P goes up 2% with the leverage multiplier can significantly increase return.
Elon Musk’s Neuralink Could Start Testing Brain Chips Implants on Human in 2021
I still don’t understand what people have to gain from this line of thought and applying your skills to promoting it. Surely it’s an evolutionary and career dead end?
I wonder which kinds of chips would result from minimizing capex instead of transistor size. There are some people targeting DIY garage fabs but from what I know they basically target old processes and old chips; I wonder if, once that takes speed, current knowledge, techniques and material availability, that differ from the 70s, will show some proper DIY innovation...
Isn't that more Objective-C style?
This is really hurting me, I've noticed that there are fewer inexpensive Chinese arduino-knockoffs with better specs.
I used to work for a spread betting company in London. That stat becomes even worse when you learn about B book brokers and how they can directly profit from their client’s losses.

I recall I’d been made redundant and went to interview at another broker based around Imperial Wharf. Downstairs they had their “education” department where people paid large sums to “learn” how to trade, which mostly involved drawing shapes in stock charts and pretending they had meaning (if trading were that easy algo trading would be trivial). Upstairs I got to see the broker they ran, which they funnelled everyone who learnt how to trade into using. Dude interviewing me was coked out of his head, sniffing every 10 seconds. They were, essentially, pretending to teach people to trade while running the trading platform that would take all their money.

They offered me the job. I turned it down.
do you also consider those who consume oil and gas products as evil?
Well sure, and evidence is collected by various means, all of which are temporally bound to the present :)
Ironically, part of the reason traditional taxi networks enjoyed their local monopolies in many cities was to compensate them for being considered part of public transport infrastructure, and forced to do the things that's not in their best interest (but is in the best interest of citizens).
With the end result that he has no idea whether it actually did anything, and has declared all of medicine to be 'too messy.'
few code monkey/designer friends of mine are drug free. almost everyone does lsd/shrooms occasionally. or other stuff. the only ones that don't are on SSRI but wish they could do psychedelics. this is the reality we live in. My social circle might be biased though.

It's hard not to do drugs in a country that decriminalized all drugs and it's legal to grow weed and shrooms at home. Plus all the access to clean stuff from the darknet. I recently ordered some LSD, sent to a lab for analysis, it was completely pure LSD-25 without any contaminants. Darknet changed a lot in the drug scene.
Star Count 2021
CPUs are not immortal. One source of failure is electromigration: https://en.m.wikipedia.org/wiki/Electromigration

With RAM it’s a more common problem. There’s even software to check for it (memtest86)
In the article, he was mentioning one specific outsider (Zvi Mowshowitz) that he trusts. I changed it to "[an outsider]" more generally since it didn't make sense without context.
You got fucked because you are retail investors gambling money on single stock and trying to predict the market. You have no idea what you're doing.
A bitcoin address is the double hash with two different algorithms of the public key. Hardware wallets do not expose the public key to check the balance, they use the address. The public key is broadcasted when a transaction is signed so the network can verify the signature. This is the reason why bitcoin addresses should never be reused. It gives the attacker the information and the time to break the encryption (theoretically).
All these articles seem to miss the point between why the car industry is facing shortages, and conflate it with the shortages on high end silicon devices (which have very different causes).

High end devices have seen a massive bottleneck on TSMC and in some of the required materials like ABF, combined with very high demand (new console cycle, people buying new computers for work/study from home).

The automotive sector suffers from another problem. For decades all manufacturers have converted to JIT (lean manufacturing), which means that most of them counted on almost daily deliveries of parts to keep operating. With the transport restrictions and difficulties on many countries, this has become unmanageable and unwieldy, and factory operators have made the obvious call, increase stock margins. Typically a factory might keep stock enough for a day of operations.

A manager sees that they will have problems getting their deliveries in time, so increases their orders to cover a week. This depletes the local distributor that also tries to avoid keeping large stocks. Now a lot of other managers in other companies see that part vanish, and fearing that they’ll be out of parts, they increase their stock keeping too. With boards having from 100 to 1000 unique references, the effects propagate from one manufacturer to another, while everyone runs to get enough stock to avoid having to close.

There has been no less parts than one year ago, but the massive “de-risking” means that there’s now too much demand to keep everyone happy.
There are no safety/effectiveness guarantees for the vaccine https://radvac.org/faq/
> If someone is making money with a stock, some other person is losing money right?

Not necessarily. Investing in stocks isn't necessarily a zero-sum game like a lot of people assume. Both the buyer and seller could make profit on a transaction.

Imagine person A bought AMZN for 1000 and later sold it to person B for 2000. A made 1000, and now B made 1000+ on it.
Why all the DNS funny business, just put your contact info on a website at (www.)landshark.io. No new standards needed, everyone already knows how to operate a website, and if you use a static site generator, hosting a website is essentially free.
I believe the unstated secondary objective is staying alive (or at least optimizing the probabilities).

Not the author though, so take it with a grain of salt ;-)
Yikes. I hope that’s just play money for you and that you learn some hard lessons from this.
C# performance is quite alright when people know how to use the language.

> this is only a partial list of changes made to improve the GC itself, but that last bullet brings me to a topic of particular fascination for me, as it speaks to a lot of the work we’ve done in .NET in recent years. In this release, we’ve continued, and even accelerated, the process of porting native implementations in the coreclr runtime from C/C++ to instead be normal C# managed code in System.Private.Corelib. Such a move has a plethora of benefits, including making it much easier for us to share a single implementation across multiple runtimes (like coreclr and mono), and even making it easier for us to evolve API surface area, such as by reusing the same logic to handle both arrays and spans. But one thing that takes some folks by surprise is that such benefits also include performance, in multiple ways.

https://devblogs.microsoft.com/dotnet/performance-improvemen...

> In a community run benchmark of different gRPC server implementations, .NET gets the highest requests per second after Rust, and is just ahead of C++ and Go.

https://devblogs.microsoft.com/aspnet/grpc-performance-impro...
yes, what’s the point of selling now, I hope it’s going to come back, at least that’s what people on wsb are saying and i’m a big sucker for believing everything
If you take QA seriously, the QA process itself has to be tightly controlled. How can you do that without knowing exactly how high you are?

So, new startup idea: Coming up with a reliable metric for Highness (ignoring nobility) and offering a test kit. Any investors?
C Programming Interview Questions
Learn Top 25 C Programming Interview Questions
I gathered that it's the danger of allowing a function with 1 parameter to be called with 3 arguments, but I think you're right too.
uhm java has method overloading..
And another one left Rust behind.
I got 3M safety earmuffs specifically for my kid. They reduce the noise to a more manageable level, which is useful if either of us have a headache. But we sort of got used to the noise, so we don't use them much.
Isn't Rust itself built with a C++ based compiler, and binding to 3D system libraries written in C and C++?
> I just don't believe suddenly all exchanges for the "small people" are not allowd to buy (just sell) GME stocks because of a liquidity problem at the same time.

This has the distinct flavour of QAnon esque conspiracy theories.
This is probably highly variable. None of the gas stations I can think of off the top of my head are near anything particularly nice nor interesting, and often are pretty inaccessible if you discount the road.
family money, have to hide this hole now and keep working hard meanwhile with new lessons i guess
This would have been one of the things one would expect to be fixed in strict mode.
Is it just me or are some of these billionaires serious misanthropists?
German Police Locked Out of $90M Seized Bitcoin
Gas stations make very little margins selling gas/fuel ~2%.
However, their own convenience stores have very good margins.

So, a gas station operator would like to keep you at the station for as long as they can in the hope that you'll enter the convenience store.

That's partly why they have restrooms, smoking zones(for countries where public smoking is illegal), etc. They are partly their for your own convenience and partly to make you stick around and eventually enter the convenience store.

EV charging presents a perfect opportunity to keep you at their station longer. Each charge is probably going to take a minimum of ~30mins; and you'll spend most of it lazing around the convenience store drinking crap coffee marked up at 60%