skysight-inc/HackerNews huggingface dataset:
>React is stable?

Yes. Despite what you're trying to imply about them "updating" too often, my code from 2016 still works correctly against the newest versions of React. That's pretty much the definition of stability to me.

> the change was far less abrupt, and you can still use functional views if you want to

So you are hating on React because you don't know this, but this exact optional progression has always been how they have introduced new features into React. Again - old code works with new React versions.

> do we really need to ... expect them to know

True, this is a weakness, but the documentation is pretty explicit on this front. It's not like there isn't a big community around the library to address this.

Anyhow, I respect your points here, and concede that writing server-side code in Node is probably not what you want to do; I reach for tools like Hasura in this case regardless. With low-code backend tooling and React, I can promise you I can make a better website than with just Python no matter how much Django template wizardry one can muster.
Company outfitted us with Dell Alienware m17 R3 laptops, an expensive gaming model that has built-in head tracking. The camera is a 720p with terrible image quality, worse than any Macbook. So no, I don't think Apple is below standard here.
The short sellers are getting absolutely roasted right now. I think they really misunderestimated the willingness of the WSB hivemind to blindly keep purchasing shares. This entire week, every time there's been an institutional move causing a significant intraday drop, it just gets pushed back up relentlessly. Incredible stuff to watch.
For every 3 people that lost their jobs in the peak of unemployment there's 17 people who still had their jobs and most of them got a couple of stimulus checks. The pandemic has increased inequality.
Can you help me understand what you mean by '"radical" internet models'?

My brain isn't sure if you're talking about:

1) Things which disrupt HTTP like IPFS
2) Things which disrupt entrenched ISPs like Starlink or 5g internet; or
3) Both
>First, the client makes an unauthenticated request to the server to retrieve the password salts associated with the username. If no user is found, an error is returned to the client. If a user is found, the server sends the client the user's password salt and password token salt, which the client uses to rebuild the password token. The password token is then passed to the server for authentication. To prevent brute force password guesses, clients get 25 incorrect attempts in a row before the server locks the user out of their account for 24 hours (Note we are aware this introduces a DoS vulnerability. Our first priority is to protect user data. We plan to implement a more sophisticated lockout mechanism in the future).

Hang on, so the process of retrieving the salt gives the remote client information about whether the user exists? Doesn't this mean that an attacker could take a list of possible usernames, and confirm which of them are using your service?

Seems like you could return a salt even when the user doesn't exist, and that would prevent this information disclosure.
How do I know this person really knows about .NET GC internals for me to spend any time watching some videos?
A company in Norway thinks it can get electrolysis to price parity with steam-methane reforming by 2025, and maybe cheaper after that.

https://www.rechargenews.com/transition/nel-to-slash-cost-of...
Thank you :)
Didn't know OneTab but it looks really useful for a guy like me with 100 open tabs.

I will check if I can create my own browser extension!
>What does this have to do with ADHD?

A lot. So called "hyperfocus" is a hallmark of ADHD. Most people might think of ADHD as can't concentrate or get distracted easily due to the "attention deficit" moniker but in reality ADHD is badly named, and it's much more an inability to direct your attention. Hyperfocus is the the opposite extreme of not being able to concentrate and getting distracted easily as you find yourself unable to switch your attention away from what it is you're interested in. This is especially problematic when you have other activities that require your attention like filing your taxes, folding the washing, taking out the trash and doing the dishes as you tend to not be able to get your brain to accept engaging in those tasks and often some of them wind up left undone. Sure you made progress in whatever the latest obsession was, but you find relationships with those around you strained with this constant back and forth of "you left dirty dishes in the sink again last night, you forgot to take out the rubbish again, and when you fold the washing don't just fold the washing but also put it away please" and all you want to talk about is the cool new stuff you learned last night.

Edit: I find it quaint that people can consider how hard they should push themselves and have the option of doing it or not. I get sucked into it no matter what.
The "tube"/horn is vibrating. I would make that connection from the gif. The scale difference is quite big.
Yes, in a slight slowing of the rate at which it is increasing.

Hard to attribute with confidence since it's a global figure based on pooled local measurements, but so long as you agree that human-caused release of co2 contributes to increasing atmospheric co2 levels, the reduction is a safe assumption.

The depressing part is the reduction needs to be 10x greater, and permanent, and global, for atmospheric co2 to halt it's increase and start dropping.
You’re right about Messages vs Mail.

But in Catalina Cmd-1 selects the inbox and full sidebar navigation including between accounts is possible with arrow keys. Nested lists can expand and collapse with left and right.

In Big Sur Cmd-1 just reopens the window with no selection. In addition you cannot navigate the full sidebar with arrow keys.

Combine this with the lack of visual indication of your selection and keyboard navigation becomes a struggle.

I have not found a UI improvement in Big Sur.
I don't think the point of that "Kids can't use computers" article is that everyone should be technically proficient with computers. Rather, it's an argument against the common misconception that kids have a natural technical proficiency with computers because they grew up with them.

The author makes his point pretty clear here:

> Not really knowing how to use a computer is deemed acceptable if you're twenty-five or over. It's something that some people are even perversely proud of, but the prevailing wisdom is that all under eighteens are technical wizards, and this is simply not true.

He then offers some suggestions for how to help kids become more technically proficient with computers because he thinks it's a useful skill to have.
While I like your argument about requirements getting more complex in the future, if we are speaking of fallacies, the much of what you said is an ad hominem and mind reading.

The argument basically comes down to whether web development is or isn’t slower than it should be, and whether it will become dramatically faster to do in the future
Exactly, it just has to be good enough. Same with front facing camera. What isn't good enough is Dell's XPS bottom camera.
I was very tired all the time. Doctors took blood tests and found out I was low on testosterone, called in a specialist that looked at the same blood tests and said it was ok because I had enough free testosterone if I remember it correctly. Never did solve it. Any advice?
You can also pick your own epoch and use centiseconds since that epoch for the time component. It's what I do in [1].

[1]: https://docs.racket-lang.org/buid/index.html?q=buid#%28part....
Good question. I'd probably try to automate my home a little bit...
It is almost precisely what "network neutrality" means in the EU. The US definition is different.
I'd really like to receive a mask that I knew was well tested.

I'm wearing a mask now, with my company's logo. It's got two layers of fabric, but it was specifically marked as not medical grade. I gather that it's considered better than nothing, but not optimal.

If I were to receive a mask from the government I'd happily wear it, and rotate/dispose as directed. It may not actually be any better than what I've got on, but I'd really like to know. I don't want to either catch or spread a disease.

I don't know how fast they could possibly spin up a thing. I was really hoping that vaccines would be available to me within a couple of months. (I'll continue wearing masks until things are very clear, if only to normalize it, since those who can't be vaccinated will be in danger until the herd is immune and they can't tell who's been vaccinated.) Could we possibly spin up a national scale production any faster than that?
The Caledonian Forest disappeared long before the Industrial Revolution:

https://en.wikipedia.org/wiki/Caledonian_Forest

>An examination of the earliest maps of Scotland suggests that the extent of the Caledonian Forest remnants has changed little since 1600.
They were so in bed with Microsoft.

Microsoft being a true monopoly might have struck fear in the timid souls of Intel executives that they would go headlong for AMD.

Or Google had this opportunity for years, and half-assed ChromeOS. Or AMD. Or Dell/HP/IBM who sold enough x86 to have money on the side.

I don't buy that it would have been hard. Look at what Apple did with OSX with such a paltry market share and way before the iPhone money train came. First consumer OSX release was 2001.

Sure, Apple had a massive advantage by buying NeXT's remnants and Jobs's familiarity with it and the people behind it, but remember that Apple's first choice was BeOS.

So anyone looking to push things could have got BeOS, or an army of Sun people as Sun killed off Solaris. The talent was out there.

Instead here we sit with Windows in a perpetual state of the two-desktop tiled/old frankenstein, Linux DE balkanization and perpetual reinvention/rewrite from scratch, and OSX locked on Apple.
Windows wasn't really that bad until recently. Sure, it didn't go out of its way to give you tools to command your computer, but it didn't get in the way either.

The true dumbification of computers started with smartphones. iOS and Android are the primary drivers of this change, of treating computers as appliances. Microsoft unfortunately embraced this trend in recent years, they quite openly say Windows is an OS-as-a-Service now[0]. Still leaves plenty of control points to exploit[1], but it starts getting in the way.

--

[0] - https://mastodon.technology/@temporal/105385475519240956 - I almost spit my tea on my keyboard when I saw this popping up the other day.

[1] - That's why I'm using a Windows 2-in-1 instead of an Android tablet.
I followed the same path. Also used

Jabber a bit,

AOL Messenger,

Blackberry messenger,

Bloomberg Messenger (bank paid 2k per month for it!),

Skype for messaging,

Keybase (kind of cool but too heavy),

Slack,

and now Element Matrix.

Its one place sometimes I think regulation might be good to force standardization (like electricity or phone standards).

Oh and when I go to asia I use the ones there - viber, line, wechat etc.
Are these D2C dentistry companies like Smile Direct Club safe to use?
I've been seeing a lot of buzz online about Smile Direct Club being sued. Dentistry organizations, state governments, and doctors are suing. Also, I know that incumbents will do whatever they can to avoid disruption. What is the real answer here?
I'm not necessary agreeing with that. Chip fab, jet engine fab, etc. are all at the limits of what Capitalism can handle, as the geopolitics, protectionism, and cronyism attests. The solution is less than clear:

- Because of the enormous costs of duplicated effort. I'm not sure anti-trust will work.

- Nationalist duplication might, but I am not sure whether it will hinder or hasten WWIII.

- Radical IP disembargo with institutional cross pollination works better for codified then opaque-institutional knowledge.

What is nice about vertical disintegration is is forces the the institutional knowledge to by codified. So maybe things can work in tandem, too.
At the listed price and efficiency losses, plus the limit in power output probably means these won't be the wunderkind of energy storage--but having more options and more competition in distributed energy storage is always wonderful.

Additionally, just being able to blunt peak demand makes it a lot easier to work with renewables, or other on-demand power concerns.

Keep in mind also, lithium-ion tech has come a very long way in the past decade or so of wide usage. Maybe it's naive, but I'd expect to see similar strides made in hydrogen fuel cell if it starts a similar adoption curve.
Did you try to disable the slab allocator?

https://developer.gnome.org/glib/stable/glib-running.html#G_...
What if we didn't crowd ourselves into cesspools of humanity ie cities?

I'm being a bit facetious, but ultimately, this lack of privacy is all self-inflicted.
I think it’d be interesting to compare with equivalent price points. Does a $2500 PC have a better camera than a MacBook Pro or is it really more like everyone is skimping and Mac owners are just more vocal about expecting something closer to a mid-2010s iPhone?
The issue is: the two functions that we're comparing for correctness treat lengths very differently: one scans len-1 bytes, the other scans len+1 bytes.

Even with a null terminator, there isn't a length that would work for both without overrunning the buffer.

printf("%d %d\n", search_ok_1("mok", 2), search_ok_2("mok", 2));
printf("%d %d\n", search_ok_1("mok", 3), search_ok_2("mok", 3)); /* Overruns without null term */
printf("%d %d\n", search_ok_1("mok", 4), search_ok_2("mok", 4)); /* Overruns even WITH null term */

Prints out:

1 2
1 3
1 1
This is too aggressive a take. Yes, TSMC is 50% of all EUV production right now. But it's only 50%. Samsung has huge resources and is on track to build a 3nm process by 2022/2023, which is not very far behind TSMC (though I don't know if their 3nm processes compare).

Besides just diversifying global chip production, Samsung has the (geopolitical) benefit of being in a country with large US bases and plenty of internal demand for their chips (if the Exynos designers can produce something exceptional).
Hmmmm, that's a different issue. :-)

Today the rqlite code deletes the SQLite database (if present) and then rebuilds it from the Raft log. It makes things so simple, and ensures the node can always recover, regardless of the prior state of the SQLite database -- basically the Raft log is the only thing that matters and that is guaranteed to be the same under each node.

The fundamental issue here is that Raft can only guarantee that the Raft log is in consensus, so rqlite can rely on that. It's always possible the one of the copies of SQLite under a single node gets a different state that all other nodes. This is because the change to the Raft log, and corresponding change to SQLite, are not atomic. Blowing away the SQLite database means a restart would fix this.

If this is important -- and what you ask sounds reasonable for the read-only case that rqlite can support -- I guess the code could rebuild the SQLite database in a temporary place, wait until that's done, and then quickly swap any existing SQLite file with the rebuilt copy. That would minimize the time the file is not present. But the file has to go away at some point.

Alternatively rqlite could open any existing SQLite file and DROP all data first. At least that way the file wouldn't disappear, but the data in the database would wink out of existence and then come back. WDYT?
I've personally not find pushing myself to ever yield better outcomes. I think we have this false causation between pushing ourselves and achieving something.

In fact, I think we often would rather push ourselves in an all out burst of max effort exhaustion, than put dedication and consistency behind a goal.

Pushing yourself just a little bit more, but sustainably, consistently, and actually taking your progression slower, giving yourself more time to achieve your goals, but making sure that you're constantly moving little by little closer to it. That's what worked best for me. It means the journey feels easy as well, it just becomes a routine of excellence.

I think what often happens is that we're too impatient, probably because we're anxious about the thing we're trying to achieve, we're stressed about it and would like to get it over with so we can be stress free again, so we give a big push, and you know what, most of the time that push does nothing, and you get more stressed but also exhausted. At that point, flight is often the only recourse left.

The only exception to this might be short little events, like sure if you have an exam, a bit of stress and a last all out effort can help. If you're competing in some athletic event similarly. But for most other life goals, I'm not so sure.
Possibly once AWS has gotten enough people switching to Graviton CPUs, they would start raising the cost.
Part of it may be the mindset of "paying for something = negative" and "getting something = positive." Micropayments maximize the time we spend thinking about the negative part of the transaction. On the other hand, if we wait too long and have a $1000 bill at the end of the year, that may be even more painful than having to think about smaller payments more often. The psychological sweet spot for many things is the once a month subscription.
> it would be faster for most teams to create their tech stacks utterly from scratch

I actually agree, but maybe not for the same reasons he gives. The problem with modern tech stacks is that, yes, they're insanely complex, and each of the dozen or so individual components has dozens if not hundreds of its own hidden expectations about what should be where and what it should look like. As long as you meet all of those expectations, everything works magically like it should, but as soon as you miss one, you'll be lucky if you even get an error message that you can google the solution for.

There are two efficient ways to solve this: 1) no dependencies, build everything from first principles that you already understand. Then, although there will be plenty of assumptions baked into the code, you'll know what they are and how to deal with them because you put them there. 2) take advantage of pre-built solutions, but actually read and understand the docs before you rely on them.

The second solution depends on two rarely present preconditions: one, the docs actually exist. Two, management understands that it takes more than twenty minutes to realistically absorb 500 pages of dense technical documentation.

What we end up doing as a workaround is using the off-the-shelf stuff without really understanding what it's doing (or are you telling me that you understand the 9000 files that are installed by NPM? I'm not exaggerating, BTW, go take a peek). We cross our fingers and hope that we got all the assumptions right, cut-and-paste solutions from stackoverflow, and let the horrifically inefficient solution take the place of actual engineering because the "timelines are aggressive".
> People don't really remember, but a lot of people were really dismissive of the iPhone (and iPod) on launch.

I do remember that. iPhone had its growing pains in the first year, and there was a fair criticism back then. But it was also clear that iPhone brings a completely new vision to the concept of a mobile phone.

M1 brings a nice performance at fairly low power, but that's just a quantitative difference. No new vision. Perf/watt improvements have been happening every single year since the first chips were manufactured.

> I also think x86 cannot compete now and things will only get a lot worse as Apple's chips get even better.

Why? Somehow Apple's chips will get better, but competition will stand still? AMD is making currently great progresses, and it finally looks like Intel is waking up from letargia as well.
The real differentiator would have been an army of good driver coders and contributors to KDE/GnomeX.
Faith.
> but all of the produced chips were used in their own products.

Sounds like something Apple would do.
I'm curious if anyone will ever make an equal protection claim based on this discrepancy. We're fast approaching a world where those with the money can protect their rights and even throw up procedural obstacles to prevent prosecution, and those without money go to jail when their rights were violated.

At what point does the overwork of public defenders relative to private counterparts become an equal protection issue?
Take a look at Next.js, which incorporates a general-purpose router, does all the Webpack stuff for you, has generally painless server side rendering support (but you can also build a purely client-side bundle), and has direct support for a long list of popular libraries.

It doesn't handle global state, but has tested examples for Redux[1] and various other libs that incorporate the server-side rendering and static site generation functionality that Next.js has.

[1]: https://github.com/vercel/next.js/tree/master/examples/with-...
Raspberries [Thoughts on the design of the game Nicaea]
> The number of people in the UK and Ireland that have to park overnight on the street is way too high to start banning ICE vehicles within the next decade.

You're not wrong (and I too am a "garage orphan"—neither a garage or even a driveway), but there are some options being developed. The YT channel Fully Charged featured two a while back:

* Street lamps: https://www.youtube.com/watch?v=rKaEhBjt1ls

* Pop-up charger: https://www.youtube.com/watch?v=Frkw6aurVUY

I'm a bit skeptical.
Humans have such a small grasp on this world... it seems most only think in terms of "now" -- Next thing you know people will be trying to reintroduce Wooly Mammoths somehow.
Gravitron's value prop is you get 2x the physical cores for a slightly cheaper price. Intel wins at single-thread performance, but for parallel workloads Intel's hyperthreaded vCPUs can't keep up.

But you're right in that in the end it all depends on your workload.
Note that those techniques are in the spirit of the initial vision of the internet being open and free, and you, the user, controlling what you see on the web through your 'user agent' and not the other way around.

Also remember those ads are not free, they come at great cost of bandwidth and compute, resulting in net co2 emission. If I as a user want to object to that, using an ad blocker is morally completely valid.
Actually, that 3.8 million is separate from the 4.2 million caused by outdoor air pollution: https://www.who.int/news-room/fact-sheets/detail/ambient-(ou...
It used to be that geographic proximity caused a lot of similarity in needs/votes. But now our votes are more alike when our "tribe" is alike - e.g. professional, rural, urban poor. Plus few people ever see their local representative except on national TV. So maybe the time for geographic districts has passed.

To get real minority interests some representation, and to solve the geography problem, I'd like to see a state say they've got 10 representative positions, and you're all going to have a vote (or maybe 10). The top 10 vote-getters are then chosen.