skysight-inc/HackerNews huggingface dataset:
Oh now I get it. 81M firing events per second. My bad.

Where does the assumption of 20W come from?
That's a fair point, although some people do constantly multitask.

I have ADHD and I'm capable of doing work while focussing entirely on two tasks, often I'm looking at one screen where I'm writing code while reading an article on another screen.

Sometimes I feel like "reality" is too slow and I've already figured out the code for the unit test (or whatever I'm working on) in my head and I'm impatiently waiting for my hands to catch up while filling in a boilerplate template. I often focus on two things at once because the main work I'm doing isn't stimulating enough.

A lot of people question how I'm able to do this without making constant mistakes, but before I started on my medication my brain and the world around me was so incredibly noisy. Not necessarily sound, it's just that everything around me was a distraction. When I'm taking my medication, the distractions don't exist and there's almost so little happening that I find it unsettling.

I don't really know how to describe it properly so this probably made little sense. Just imagine you have a really angry baby screaming at you 24/7, it would probably effect your work? Now the baby is suddenly being quiet and you're able to work really effectively, but you got so good at coping with the baby distracting you that now you have all this spare CPU time in your brain which used to be devoted to denoising.
I wanted to add video recording in the future to gain some lol-points. But to be honest, the still images of the pigeons + my imagination had me jumping like a child in excitement already ;)
I'm not a huge fan of Next and/or vercel. I'm in particular pissed off by the shady "call home metrics" thing they intentionally make it difficult to disable.

But suggesting that you can use express instead of Next, to me, is a clear indication you have absolutely no idea what Next is.
It depends on the size of the company, and how deeply HR has managed to force their influence. Most companies under maybe ~1000 (give or take a few hundred) people, the managers still have some influence. Even a few large companies that are careful manage to stave off the HR influence for a little while. But yes, outside of that managers have very little actual influence.
I visit my YouTube “home” screen on my TV and I like most of what’s on there. It finds good stuff.

Unlike TikTok’s one video at a time with YT I’m scanning through dozens of thumbnails for what to watch.
The dismissal is cringeworthy, the human cortex only consumes 0.17 watts https://www.biorxiv.org/content/10.1101/2020.04.23.057927v1....
Which put a very low upper limit to the number of simultaneous neurons that can be activated.
Considering it as FLOPs or not is irrelevant to this fundamental limitation and that is the point you are all ridiculously missing
Litestream author here. Your backup can be corrupt if you simply use "cp" but the details depend on your journaling mode.

If you're using the default rollback journal mode, it works by copying old pages to a "-journal" file and then updating the main database file with new pages. Your transaction finally commits when you delete the journal file. Copying the main database file during a write transaction can give you either a subset of transaction pages or half-written pages.

If you're using the WAL journaling mode, it works by writing new pages to the "-wal" file and then periodically copying those pages back to the main database file in a process called "checkpointing". If you only "cp" the main database file then you'll be missing all transactions that are in the WAL. There's no time bound on the WAL so you could lose a lot of transactions. Also, you can still corrupt your database backup if you "cp" the main database file during the checkpoint.

You could "cp" the main database file and the WAL file and probably not corrupt it but there's still a race condition where you could copy the main file during checkpointing and then not reach the WAL file before it's deleted by SQLite.

tl;dr is to just use the backup API and not worry about it. :)
Not GP, and I've never done such aggressive diets, but I've found that eating * a lot* of protein really helps with not feeling too hungry.

Sure, it's still there, but I find it much easier to deal with than if I'm eating too much sugar.
Optimistic. Potentially true if the scale on a single blockchain is sufficient—which is multiple orders of magnitude more than it sees today—and thus opens its own set of fairly obvious problems.
I agree. I'll add that now everyone can read and do some math.

> discovered germ theory

A nice perk is that most children survive, you don't need to have 5 or 6 children and hope that 2 survive until adulthood.

And there are many other thing we take for granted, but they were very difficult. For example from https://acoup.blog/2021/03/05/collections-clothing-how-did-t... just making cloth was a big chunk of the daily activity.
Caesar’s favourite herb was the Viagra of ancient Rome until climate change
Talk to me about user data retention and and the building for the user to download or delete their data
Sure, but that’s just a credit billing system then. Still not micro transactions.
It fits in sms.
Not the GP, but I read "we use spin waiting" as a response to "aren't you wasting a bunch of CPU cycles" in the sense that "yes, but it's the least bad option".
I came here to make this exact point. There’s scarce another crypto project I’m bought into but I _really_ want a way to make a private transaction online so I’ll support any project that furthers that end.
Anything that only uses the file system copying mechanics is not safe (which includes a git check-in). I wrote a more detailed comment here: https://news.ycombinator.com/item?id=31387447
Acme and Emacs give good examples of how a non-terminal shell session can look like. They also make clear how a good CLI application should behave like.
Easily bypassed with incognito mode.
The weirder thing is that even after I login, Home Depot (and Best Buy and Staples) show me the wrong preferred store. I already saved what store I want, plus I have my home address saved (and it is the only address), yet they cannot remember or figure out my preferred store. And they have my purchase history for where I have already purchased things a million times, in recent history.

What is all this data good for?
I am saying that terminal emulation is bad?
It’s for book-ups, not hookups .
Anyone can become a polymath with training and hard work, leonardo da vincy being the best example.
the first move is getting "good" content out of your social media feeds, the second is to limit how much you watch them all together
And one tip for junior who is first time job seeking: fake your confidence, and learn to fake your confidence while keep improving your skills.

Second, interview is a number game, though it's against you (..r time). Send as many applications (even though you barely or almost meet the requirements) and have as many interview as you can.
> It's worth making it explicit that many home computing tasks are highly parrallelizable because the work is actually completely separate programs.

That's a great point. At any point in time there are already dozens of processes running, of which only a fraction are tied to a GUI. Even GUI apps are currently resorting to launching multiple processes. For example, Firefox announced last year their new site isolation security architecture where they load each site as an independent process.

https://hacks.mozilla.org/2021/05/introducing-firefox-new-si...

Also, here's a link to a recent HN discussion on Firefox's recent announcement.

https://news.ycombinator.com/item?id=31355857
Re-reading my comment, it may have been worded badly.

The phrase 'you aren't Google' is true for 99.9% of us. We all get to fix the problems in front of us, was my point. And at that scale you've got unique problems, but also an architecture, imperative, and most importantly an ethos that lets you solve them in this fashion.

I was more reflecting on the (actually pretty fine) tools available to SREs caring for off-the-shelf OS's and products, and a little on the whole 'we keep coming full circle' thing.

Anyway, I very much appreciate the insights.
Not sure this analogy accomplishes what you intend.

In such a case the opportunist (China?) is still committing assault and possibly murder. The victim (USA?) is likely joking, trying to show off, mentally unwell, or already suffering so much it would be mercy. Anyway, it appears you're trying to say the USA should realize it was asking to be exploited because they were too short-sighted or naive.
I weigh more in my 30s than I did in my 20s.

I’m realizing I’m slowly gaining weight year over year.

I have more abundant food now. Now that we have kids. We have regular 3x meals per day. Also I feel more hungry nowadays. Not sure why. I feel like I stress eat.

With kids and moving to Suburbs, I’m not hitting the gym 3x per week like I used to.

I could use some tips on how new parents stay in shape.
I think that article actually sums it up quite nicely:

"The potential for overconsumption of sugars in the form of sugary foods and drinks makes targeting sugars, as a source of excess calories, a prudent strategy. However, sugar content should not be the sole determinant of a healthy diet. There are many other factors in the diet—some providing excess calories while others provide beneficial nutrients. Rather than just focusing on one energy source, we should consider the whole diet for health benefits."

Reducing sugar consumption != eliminating sugar from your diet altogether. But I think it's a useful first-order heuristic.
I suggest pairing this with another front-page HN article from today: https://thehustle.co/why-free-stuff-makes-us-irrational/ and in that article, s/us/Google/g.
> Less memory - a pthread mutex is around 40 bytes, compared to 4 bytes for this queue.

This sort of thing is pretty ugly, and is one place where "portable" C and C++ really betrays the value of the language. Chances are many (often all) your uses are Linux, and so a futex is all you actually needed, which costs 4 bytes like this structure. But to be portable you can't ask for a futex, and it's deliberately not made easy to try to directly call into Linux system calls for futex since you'll probably get it wrong and then blame everybody else.

So you ask for pthread_mutex and now it's ten times bigger and you're regretting your life choices.
The brain doesn't consume enough energy to cause relevant heating. And it's more CBF cooled than blood cooled IMO
The .dump command is a great option for smaller databases. The main downsides are that it produces a larger output, it'll take longer to compress that output, and the restore time is much longer since all the commands have to be replayed.

The benefit to using the backup API is that the file is ready-to-go as the database and can be started up immediately.
Glad you like it!

Good point about letting people subscribe to something. I will probably explore some options in this direction.
It’s not about hating Russia - it’s about fighting fascist imperialists who decided to eradicate another nation.

And no, my logic wouldn’t vindicate Russian invasion - invading another country is the exact opposite of a society deciding about its own government. Also note that this particular “separatist movement” was artificially created by Russia. I guess you are making some assumptions which then result in bizarre conclusions you’ve demonstrated above, but I have no idea what those assumptions might be.
I don't use this, but I also don't really use any traditional social media. I have an account on HN obviously but it feels a lot less tracked and invasive than Facebook, etc. Probably because the business model is different, on Reddit we're there to look at overt ads for paying third party companies, HN is tailored towards us looking at more subtle ads for the companies they invest in and building their social capital in the dev community.

That being said, I'd be very wary about using a service like this (from a user's perspective) where one company, one WAF, one person, one error is the only thing stopping all of my data being deleted or exfiltrated. It seems like a single point of failure waiting to happen.

If I was the company (and I have been), I'd just make it easy and fast to let my users delete and manage their data and collect as little as possible. Don't hide it behind 5 menus, 4 pages, 3 password entries and an email confirmation with a 14 day waiting period; instead focus on providing a service people don't feel creeped out by and decide to leave.

https://assets.website-files.com/61251391cad0dc5676f648d0/61...

They have a typo for "integration" on their landing page imagery. A typo is obviously a small thing to nitpick, but this is a landing page, from a business perspective this is likely the most important page on their website so you would expect this is where all their internal eyes would be. It's also something I'm almost confident I would have caught in a pull request so it doesn't point to great testing standards on their end.
Where this myth about "shipping gas across Siberia is impossible" comes from? Projects like Yamal LNG https://en.wikipedia.org/wiki/Yamal_LNG are already operational. On top of that Chinese gas consumers are not dramatically further away than consumers in western Europe - it's only matter of 2-3 years to build a pipeline to connect them.
The economic frame is entirely the wrong one for this. Economics is primarily about behaviour modification and "free" is one popular strategy for changing beliefs and behaviours.

There are truly altruistic examples of "free", but they're much rarer than people think.

With "free" news the cost is attention and a risk of having beliefs and behaviours influenced. Some people think that's a price worth paying.

But this influence is covert, uncosted, and may even be presented in deliberately deceptive ways. So it's not seen for what it is.

If the exchange value was spelled out there would be far fewer takers.
Consider using background subtraction for this: https://docs.opencv.org/4.x/d1/dc5/tutorial_background_subtr...

Will make things a little more robust (and overengineered!).
I’m the author. I would never advocate for pay levels to be based on years of experience personally.
I wrote up a bit longer explanation of the failure modes (which depend on your journaling mode) in this comment: https://news.ycombinator.com/item?id=31387447
Yes, and I use terminal emulators too, but I look at it the same way I look at browsers. Sure, there is a lot of useful stuff being made with heavy Javascript dependencies, weird Web frameworks, etc., but this doesn't mean that the technology is good in itself.
The cortex consumes 0.17 watt
https://www.biorxiv.org/content/10.1101/2020.04.23.057927v1....
The 20 watt comes from less precise estimations.
The article is mostly concerned with the author not understanding BTRFS and ranting about it. To a degree, that one must assume, the author intentionally gave up early on understanding and simply rants about everything that does not look or work as usual.

Would not read again.
Recommendations reflect what you want to watch, not what you want to want to watch.

During pandemic at some point I started indiscriminately watching more YouTube while logged in, and do I regret it. It responded after my viewing habits changed. It seems possible to change it back gradually, but it takes some effort I wish I didn’t have to take.

Second-order volition (“want to want to”) plays a big role in allowing yourself to evolve, i.e. you can force yourself to do something until you become interested in it. In this sense recommendations become a self-fulfilling prophecy, an automatic labeling system that makes you behave the way it thinks you should behave, which is approximately how you behaved before (ideally; we set aside the issue of algorithmic manipulation).

This is true for any platform that has recommendations, and I am highly suspicious of the ones that don’t allow anonymous viewing.
Probably whoever is responsible for it doesn’t really want to put up a fight. VPNs are always kind of in a gray area which many small companies could deal with (or say f it) but Apple can’t or doesn’t find it to be worth the fight.

VPS are a digital product while Apple has physical stores or resellers of physical products in these countries. It’s not as easy.
That’s a great tag line! :)
Well I'm sure if my goal was to perversely waste their time, I could repeatedly cancel, no show, and make them jump through other hoops that would take a lot of their time but much less of mine (sending the emails). And thus they would indeed be valuing my time more than theirs, as I played some kind of sadistic power game. But since my goal is simply to get rid of an item to a good home, then the more time I spend sending emails, waiting around for someone to no show etc, is pure loss.
> [Spikes] work IFF you buy the right ones AND put them absolutely everywhere AND are careful to actually mount them correctly AND you don’t plan to use the area covered yourself at all AND you don’t even want to look at its disgraced looks. So it is completely pointless for a balcony.

They can also be horrifically cruel. I've seen a pigeon die after getting impaled on those kinds of spikes and it was a traumatic experience for me, let alone the poor bird. I really appreciate your attempts to solve this problem without resorting to inflicting pain, or worse.
I don’t want to come across as an apologist for the author, but I can imagine him replying that this is an intentional trade off, and that for a larger-scale conversation about the work, the mailing list is a better option.

I’ll concede that at that point, a mailing list may be preferable to the RSS feed in the first place. Or Usenet.
There's a nuance here about the definition of "irrational".

"Rational" often describes higher-level decision making. Here it is used to in reference simply to outcomes.

If my underlying emotional circuitry rewards me with more units of pleasure for doing x and "experiencing pleasure" is a core motivation then it's a rational decision to do x.

Now - the outcome might be "irrational" when viewed as a whole but it doesn't make sense that way unless there's another external goal. Eating chocolates doesn't have any goal other than pleasure so the Lindt/Hersheys example is rational either way.

It's quite common to use these kind of analyses to imply people are stupid or irrational or both in terms of many kinds of choices but it doesn't hold water unless you own up to the implied external goal you are covertly slipping in to the discussion.
The key to understanding the popularity of stories that contain "well known information" is that not everyone has the same life experiences. For every piece of info you know, there are a lot of people who have never heard of it. Including on HN.
It reminds me a bit of the field of wireless sensor networks from back in the day, where the main challenge was that wireless communication was typically much more energy intensive than local computation requirements and so there was an incentive to perform additional computation locally that might reduce communication (e.g. to filter or aggregate data).
Note that "only labeling" means, among other things, that the labels are not written in English. That's a big problem for a product that's going to be sold in the US (with the obvious exception of Spanish labeling in some communities in the US).
The dad of a childhood buddy was in our version of the rangers and mentioned they had made improvised shape charges (in his words) using a helmet filled with plastic explosives and a metal dinner plate as liner to form a shape charge.

When I got older I was thinking maybe he was telling some tall tales, but I guess this could work as an EFP.
People think you get dopamine hits when you find cool stimulating things. You actually get a steady drip while seeking, it’s what keeps you transfixed looking for the next thing. And as this shows a variable reward gives you a stronger drip:

https://liveinnovation.org/dopamine-more-than-pleasure-the-s...

I figure a big challenge for TT is they must send you less good stuff to rate it. They probably hold off doing that until you appear hooked. You wouldn’t want a new user to get a bizarre/lame video with 5 views.
It's not an estimate it's a hard upper limit on energy consumption. And he should have used 0.17 watts not 20.
Basically I don't see how it can be refuted.
I'm a little amused by its weather report classifying the night as "Sunny", when it probably just means the sky will be clear.
Well yes, the whole email will be more likely to get routed automatically to spam.
How will the 1% in power get others to work for them?
Coons Patch Mesh Gradients in SVG (2012)
NFTank – NFT Faucet for Dummies
We have seen a lot of native token faucets for testnets on the internet. But we haven’t quite seen any NFT faucet anywhere. As a developer, it’s quite irritating when we need NFTs to test our code but we need to go through the tedious process of minting a new NFT into the wallet you want (and choosing a picture has always been a pain).

NFTank (NFT tank for dummies) solves this problem. NFTank will allow users to quickly request NFTs to personal wallets or smart contracts in just a few clicks. If you need a custom image and name in your NFT, we got you covered, you have the choice to provide details for the NFTs. If you choose not to do so, we will send you a placeholder NFT with a default image and a randomized name.

How to use NFTank as a CLI?
- Install NFTank via npm, yarn, or any other package manager which supports npmjs registry.
- Run either the "nftank mint:erc721" or "nftank mint:erc1155" command based on your choice whether you want to mint an ERC721 NFT or ERC1155 NFT.
- And that's it ! It was as simple as that.

Links
- GitHub: https://github.com/buidler-hub/nftank
- npmjs: https://www.npmjs.com/package/nftank
- Website: https://nftank.xyz
For me it is

Handbook of Applied Cryptography
by Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone
https://cacr.uwaterloo.ca/hac/
(link has all chapters available for free under permission from CRC Press)
Some cyanobacteria can take up nitrogen from the air (well, dissolved inorganic nitrogen), but many can only use organic nitrogen, like N03 or NH4. Those can be limiting in the ocean because lots of life wants to grab it up.

Taking up inorganic nitrogen is called nitrogen fixation and takes a bunch of machinery and energy. Also, oxygen inhibits the process, so for photosynthetic bacteria a bunch of extra steps have to be taken to compartmentalize photosynthesis and nitrogen fixation. So not all cyanobacteria can do it, and even the ones who are able to will prefer to take up organic nitrogen if available, and they grow slower when they have to use N2.
It's not what I've experienced!

In my experience, as soon as there is some new data coming in the DB, the .backup command will continue, and if the writes are not stopping, the backup will never stop as well :D

In Gladys case, we put in the application logic a blocking transaction to lock writes during the backup. I haven't found any other way to avoid infinite backups in case of write-heavy databases
There has never been a single recorded case of someone surviving windmill cancer. Scary!
I don't like to give access to 3rd parties when it comes to my inbox. That is my biggest scare. How do I know that I can trust them?
I don't often comment on usernames but I feel like you're just trying to make sure you don't lose your other eye.
Curious if I'm replying to Elon Musk's account..