skysight-inc/HackerNews huggingface dataset:
> There is a very good chance that someone is writing a reply with some suggestion as to how I should eat so that I'm not hungry. Thank you for the thoughts, but realize that you don't live in my body, you don't know how I feel, you don't know what I've tried.

I completely agree with this. I still do want to chime in a little. Don't feel obligated to try any of this, maybe you have already tried. I have a hunch you've tried it already. Perhaps someone else hasn't and will try upon reading it.

One rather simple change in diet is volume eating. As in, eat food that fills your stomach, but does not contain (many) calories. A prime example is lettuce, broccoli, or practically any vegetable.

When you're hungry try eating a large salad (a clean one that is, no sauces, or oil). When eating dinner add a large portion of broccoli, raw spinach, cauliflower. Try grilling or steaming vegetables.

In normal dishes try and replace as many ingredients with lower calorie alternatives, especially oils when cooking. These calories add up, quickly.

The above doesn't mean you cannot eat heavier sources of protein, fats, and carbs. Please just keep eating those, in balance. In balance meaning there's no need to have more grams of fats per day than a healthy weight in kg (e.g. 80kg -> 80 grams). Same story for proteins, but at a moderate ratio of 1-1.6 grams per kg body weight. Feel free to play with carbs.

> Hunger sounds like a problem to people. Hunger feels like a problem inside the body. People still tell me I shouldn't be hungry. Maybe part of the solution is realizing that eating to satisfaction is ... bad for some people. Maybe it's Ok to be a little hungry.

Strong agree with this. Funnily enough it's often thirst, which feels similar.
https://www.weather.gov/documentation/services-web-api
Also cognition only consume 0.2 watts
So true, my experience with the BIG.little ARM platform and a regular Linux kernel is that you always end up with the wrong scheduling and the system underperforms because it uses the little CPU for a compute-intensive single-thread task… I'll just avoid these kind of systems.
I 100% agree. It's crazy that terminals haven't really changed since the 80s.

That said I really hope we don't settle for Sixel. It's obsolete and inefficient. We should make a new standard. I think there's enough commonality between 2D drawing APIs (Cairo, Skia, HTML Canvas, etc) that you could easily define a terminal API for one.
This is so great - open source in action - I can't think of a more apt thing to come out of this post than an on the fly fix to the docs!

Pun absolutely intended.
Expanding the Dragon: Adding an ISA to Ghidra
There’s this weird streak of purification rituals in modern leftist groups (to say nothing of rightist groups who go to church) that I find disturbing. It’s not just holding the political belief or stance. You have to somehow suffer and be part of the struggle against what I assume is the straight white male patriarchy or something.
People should remember that blockchain does not require Proof of Work consensus. If you want to ban PoW, be specific about it. If you want to ban blockchain, don’t simply advocate for killing PoW since blockchains will exist without it.
Also because they'll release things 6 months or a year later after releasing it in most other English speaking countries. Then you get on the internet and it's either spoilers for months before you get legal access or discussions are already dead when you do get legal access.
For anyone missing context, joke refers to the fabulous TV show `Detectorists`. Well worth your time to watch.

https://en.wikipedia.org/wiki/Detectorists
It’s not clear to me what the difference in definition is - even reading the CS definition on Wikipedia, both cases reference the mathematical definition. What am I missing?
From your link:

> the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application

Perhaps my maths background is influencing me here, but isn't that the commonly used definition when talking about code?
Easier to sanity check if you use uint8 for the indices
If you want the low-tech solution, here is a recipe that definitely resolved it for me:

- One big spoon of cinnamon

- One big spoon of chilli peppers

- Half a bottle of cheap, cleaning vinegar

Spray it in all the places that the pigeons want to land. I am doing that once a week and it is enough to keep them away. If you clean your whole balcony with it, you might be able to go through most of the spring - when I think they really get annoying because they are looking for a place to make a nest.
>Do not use `cp` to back up SQLite databases. It is not transactionally safe.

I've read that this is true, but it has always confused me because I would expect that using cp would be equivalent to if the application had crashed / you lost power.
They did do some test renders for Interstellar with better fidelity. You can see some in this article [1] or in the paper they wrote on their renderer. They were simulating film response rather than human retinal response, but it’s probably close enough.

[1] https://cerncourier.com/a/building-gargantua/
Variable length vectors have been available much earlier than any VAX.

The most notorious vector computer is Cray-1 from 1976, and it already had variable length vector operations using a vector length register (and also 64-element vector registers).

All later vector computers and also both the vector extension of the RISC-V ISA and the SVE extension of ARM have been strongly inspired by the ISA of Cray-1.

CDC STAR-100 introduced a few influential ideas, but it had a low performance because it did not have vector registers (the operands of its vector instructions were arrays stored in the main memory).
I don't think Flops is the adequate metric for measuring how close we are to AGI.

The number of neurons firing does matter, but what matters even more is how they all are connected.

I personally think once we get adequate algorithms and data structures out there, the metric will switch to numbers of lookup operations performed, and floating point operations will just be a multiplicative constant in front of the whole complexity formula.
Wish I could +1 this 100x. Break into small clean chunks that are easy to follow.
At those numbers the limitation is not the engine tech but the strength of the drivetrain. Most any electric motor can snap an axle if not regulated properly.

Most of the largest mining trucks are already electric drive, have been for many years, with an IC generator powering an electric motor. That is easier at scale than building a massive transmission.
It will be orders of magnitude cheaper to send food from earth.

Growing crops requires time, water, nutrients, warmth sunlight, labor, and a lot space.

I would wager that last one is the biggest issue but the others are non trivial. A starship heavy launch filled with food is ~$10M and is wayyy overkill.
I understand how doing a PhD is a big opportunity cost. But is it that bad a choice financially though? I mean are the opportunities later not lucrative enough?
One negative, I guess, would be uncovering the moderation algorithm so a malicious user could circumvent it.

Another negative would be release of Bad Words or illegal content submitted by malicious users. Depends on the task.

But the actual raw data would be of more use to researchers than one cleaned from an output of algorithms. Perhaps there could be a program for educational researchers?
You should not advertise that you can send them if you cannot. Are you telling new customers clearly that there is likely to be a huge delay?
This is one of the problems with living in the US. Most cities don’t care about bike infrastructure and certainly don’t maintain it when it snows. Drivers here tend to not be bike friendly either. I’ve had cars cut my off when I was in the bike lane because they wanted to pull over.
What like 10w? That’s nothing compared to almost any other application of electricity.
The data array / buffer doesn't need to be atomic. Once the atomic load/store on indices has justified access to the data you're good.

C puts atomic on the type, not the operation. That's conservative and occasionally very annoying (can't use normal stores in some parts of the program and atomic in others, thanks to aliasing rules) but doesn't hurt this particular application.
Bezos: Disinformation Board should review this Joe Biden tweet about inflation
No. It should. But a lot of weather data sites use data from models instead of current readings from nearby stations.
A "complete solution" is perfectly fine to hit the ground running, but will not stay complete once you go beyond an MVP. I started with WordPress with a bunch of plugins and after extending WP beyond its intended purpose decided I rather pick a set of high quality mainstream libraries (next.js, knex.js, passport.js, sharp, bcrypt, MobX, etc) to build upon than shoehorn a complete solution to my needs. I think Next.js has taken a lot of pain out of Webpack/bundling even though I have some gripes with the (SSR) data fetching API.
I think a big problem is that "Google bad" is a very engaging blog post and that, by virtue of being enormous, there are plenty of people who leave the company with bad feelings who are willing to write about it. This leads to a lot of highly visible writing about flaws within Google but largely from the perspective of people who were unhappy.

There are people who struggle to get promoted and leave. A very coarse piece of failed promo feedback is "not enough impact" and people sometimes interpret this as "you must launch new stuff." For actual data, the Core Developer organization has historically had one of the higher promo rates in the company despite being primarily focused on internal tooling, maintenance, and iterative improvements like refactoring and optimization.

I have my own hunches for why Google seems to have such terrible product strategy as a company. There are a few cases where I've seen the actual root cause and, while still being stupid at the end of the day, had nothing to do with promotion or career advancement.
I think the goal of Russia (or more specifically Putin's inner circle) is basically great power roleplay, and as a part of that roleplay, they have to have some kind of grandiose geopolitical objective.

When it comes to actual real power, economic, soft, military, or whatever, Russia has a smaller GDP than Italy. If you imagine Italy trying to push the US 'out of the picture' so they could have 'free reign' in Europe, you can see how ridiculous Russia's 'geopolitics' is.

What's really happening is that Putin's domestic power and legitimacy stems from his ability to be a plausible cosplay Bismark while keeping the kleptocrats that are robbing the Russian people happy.

If push comes to anything close to a shove, there's simply no way Russia can contend with any of its neighbors, all of whom are just way more powerful (India, China, Japan, South Korea) or in actual world-leading blocs (EU members, NATO members, etc). That won't change until the Russian economy and society itself changes, and that's impossible without substantial reassessment and reorganization that would undoubtedly include the end of Putin's regime.
Its the voice in the room, that wants to ask. Maybe we have a population issue?

No one wants to be the voice, its a political nuke.
> but with it you must always take care to choose bufsize as a power of two, otherwise the overhead of having to do integer divisions

Keep in mind that one of the reasons behind the arbitrary "power of two" requirement is that the method proposed by the author abuses a single atomic integer to hold two shorts representing the indices for the head and tail elements.

I don't think it makes much sense to talk about overhead given this method requires doing a bunch of bitmasks to operate over the high and low short.
I should not like to have to read that document.
Then the hershi candy is not free neither the paid option costs 13c. There's an opportunity cost already baked in both prices, if taking one option prevents you from the other one. It can be translated into $$

Now I also know they don't understand how trade works. Which puts them either under 5 yo or before 5000 BCE
A cheap solenoid will work with garden watering systems and connections. I made an irrigation system that I added to Home Assistant and it’s great.

https://www.bunnings.co.nz/pope-25mm-solenoid-valve-with-flo...

You can get attachments that allow all sorts of jets, drips and spray patterns.

It would probably plug in nicely in place of the water gun. However drilling through the wall and messing with the plumbing isn’t for everyone.
I would rather say that if such a CPU breaks DRM software, this should be considered a feature.
Not an expert but the transaction log is in another file and you’d need both to be in line with each other and backed up, so perhaps that’s a factor
Even a really stupid compiler is going to map for(;;) and while(1) to the same thing. An unconditional back branch at the end of the block. Anything else would be more work.
What wall? ;)
can't you bookmark the story through Saved on website?

can't you reply to comments through website?

so only benefit is highlighting new comments and searching through comments?
This is great for when you have to send someone a link to something but you don't really want them to open it.
Another option is to use the `.dump` command that produces a series of SQL statements to recreate the database and populate it with data, just like good ol' mysqldump.

I'm not sure whether this is faster or safer than `.backup` which produces an actual database file with indexes and whatnot, but a benefit of the plain text output is that it's very flexible. The output can be piped to gzip or any other program on the fly, even across the network, without waiting for an intermediate file to be written in full. It can also be imported to other types of RDBMS with minimal changes.
There's a distinction between criticizing people and criticizing their actions not made here.
AMD does not beat Intel [1] unless we limit the CPUs to the same wattage (see efficiency benchmarks below).

[1] https://www.tomshardware.com/uk/news/ryzen-7-5800x3d-vs-core...
Seems misleading since they are quoting wheel torque which is after gearing.

A semi with 1850 ft lbs engine torque with a 13:1 first gear and 3:1 drive axle will put 72150 ft lbs to the wheel.

Nobody quotes wheel torque because you can get any wheel torque you want through gearing.
yup, really interesting. It seems that hunger is tightly coupled with expectations.

Something else I have found interesting is that I will occasionally be really hungry, start cooking a meal, spend 30 minutes smelling all the things cooking, and then by the time I'm done cooking I've lost my hunger. It's as if my brain was tricked in to thinking that I ate and I'm satisfied.
I dunt ned thet metch too comkate, mebe 2x. Mkay, 3x.
Only works with Safari on macOS, which means I’ll never use it there. And I wound up turning it off on iOS because it made my life more annoying - go into the subway and try to connect to the free MTA WiFi? Alert! Your browsing is unprotected.

…plus I found I would sporadically get connection issues that I resolved by turning it off.

It’s a bummer because I would like to use it, and it being bundled with iCloud is nice.
Excel > * for communicating with anyone not a data scientist and still knows what they're doing
Deindustrialization is, in my opinion, just a natural phase brought on by the profit motive. Labor and raw materials are always going to be the most expensive parts of producing anything, and even if we converted the United States into Ancapistan tomorrow, labor in Asia would still be cheaper. Our countries are just at different stages.

Deindustrialization will hit China and the rest of south-east Asia in time too. China right now is experiencing the boom we experienced post war.
The time scale on those is very interesting.
This is an amazing idea.

Though I wish they had seeded the map with OSM data so people can work backwards. Even when I look at 2022, Barcelona is bare except a few major roads.

Edit: Ah it seems to be based on OSM, but still something is going wrong with the current date I think, as I should see the whole city then.
There is that meme about trying to get something into production at Google. And I thought nothing's worse than Facebook.
Very funny.

On a more serious note, I wonder how many thousands of other purely fun sites that offer no useful service have been forever lost. Hosting requires periodic maintenance (e.g. hosting fee payments, domain name renewals, SSL certificate updates). I bet a lot of sites like this disappear after a year or two when their creators either forget about them or are unwilling to continue maintaining them.

Due to this specific site’s dynamic nature, it cannot be captured by the Internet Archive. When it’s gone, it’s gone.
32bit here turns out to mean head and tail indices are in the same 32bit integer and the data is somewhere else. That's enough to put head and tail in the same cache line, so it's a disaster for performance on roughly any platform.

The mpmc variant looks non-serialising (threads push multiple things before another manages to push one) so it's not a queue, and it has a cas loop in it so lock-free is a bit of a stretch.
Exactly. So many are just oblivious.
Compared to the M1, Intel is still restricted by the existing memory and I/O interfaces and by x86 compatibility, which means they can’t do certain things the M1 did, like the integrated unified memory (for massive memory bandwidth) and the relaxed memory model. And as the siblings explain, the P/E design is more about power efficiency than about performance, although the increased power efficiency does allow for more cores at the high end.
`cp` is not instantaneous. Unless you lock the entire file, one block can change while you're reading another block. You end up with a Frankenstein of a file, compared with a consistent snapshot if you had simply lost power.

If your filesystem supports snapshotting, it would be safe to create a snapshot and `cp` the database off of that snapshot.
> Do not use `cp` to back up SQLite databases. It is not transactionally safe.

Anyone know if comitting the sqlite db file to git is not safe either?
dopamine
Not sure about the cross compatibility to Libre and Google, but in Excel at least, replace your cell references with INDIRECT() references. Then store the cell you want to calculate on in another cell…say A1 (literally just type C1 in A1). Then reference with INDIRECT(“&$A$1&”). Saves you the search and replace for A1. Also works great if you want to copy formulas across tons of columns and maintain the correct column header references as you can insert the INDIRECT reference into table notation.
There seems to be you say? Are we on the same website? I'd say it's an epidemic among our kind...
as above

> bridge the gap between the lay people and the technical minded people
You can use an abrasive component but you don't have to, pure waterjet cutting works. And depending on the materials and the nozzle shape might actually be the optimum.
The author's definition of "job" happens to match yours. "Granted, your "job" and your means of employment might not be the same thing, but in both cases, you are nothing more than the sum total of your useful skills." (emphasis mine).

In your example, Alice knows how to knit, do karate, write, work out, work in a shop, wood restoration, and be a receptionist. Bob may have have other skills but polite conversation ain't one of them.

It's ok for people to really be attached to their job if that's what they want. Most jobs require useful skills that people work hard to attain. Alice's identity is still made up of things she does or can do.
Not the replied-to user, but I also wasn't aware of the mathematical definition and my understanding of idempotency was that the main point was that performing the same idempotent operation multiple times wouldn't make a difference in terms of __side effects__ (for instance, not charging a user twice when accidentally submitting an idempotent request twice).
Do the cron entries work as-is? I’m sitting here trying to decide if cron will break here:

aws s3 cp /path/to/backup.gz s3://mybucket/backup-`date +%H`.gz

The % is going to be interpreted as a newline, it should need escaping as in date +\%H

But it’s in backticks (subshell) so now I’m doubting myself and thinking maybe the subshell saves this but my brain is screaming NO NO BUG! :-)

I’m going to have to spin up a VM to test it and seek inner peace here :-)
The function f is idempotent, if f(x) = f(f(x)).

For this URL shortener, if http://www.5z8.info/super-nsfw_g0v1ba_hot-older-goats.mov (from above) points to http://shadyurl.com/, then shortening http://www.5z8.info/super-nsfw_g0v1ba_hot-older-goats.mov should also return http://www.5z8.info/super-nsfw_g0v1ba_hot-older-goats.mov. It's not enough for it to always return the same URL for the same input (which it also doesn't appear to do).
I've always assumed sqlite database files are resilient to being copied, mid-write. Sure: maybe that last transaction will be corrupted, but everything up to that point will be in tact, right? The next backup will capture whatever was in the half-complete transaction.

Am I deluded in this?
One in each corner of the window of the balcony?

Just add two microphones and try to integrate the sound and video for extra style points?
Did you see:

https://www.youtube.com/watch?v=uIbkLjjlMV8
I wish someone can do a Rust/C based implementation for this so that I can use it in other languages.
Is this another tech bubble bursting?
DeepMind's research director says that all we need for AGI is scale
Python Game Engines
Does it seem strange to anyone that this might be the case, that web browsing is more resource intensive than streaming and playing video? If true, is it because everyone builds SPAs for everything using heavy frameworks like angular and react?
> You can love to eat meat, but still eat less of it. Many Americans are eating meat for literally every meal of the day, 7 days a week.

And this tends to mean eating low quality meat. Eat less, but higher quality.
The Nextcloud Android app has built-in backup of contacts and calendars.
This is interesting, I was under the impression that chili peppers specifically evolved (spiciness) to be edible by birds but not mammals. Maybe that's an adaptation specific to tropical birds?
In the imperative sense of idempotent, a method is idempotent with respect to system state, not just its arguments.

It's about repeated calls e.g.

a.f(x).f(x)

results in the same state as

a.f(x)

Not about repeated application. E.g.

f(f(x)) = f(x)
Lock/wait freedom is not about performance but about progress guarantees. Often lock free data structures are not faster than locked ones. Reducing contention applies to both locked and lock-free structures.
>it's a research hype cycle craze

perhaps you should address this in a counter paper rather than an HN comment. researchers have to justify grant money and regularly twist the facts to accomplish this, that's just how the system operates. let the dregs drag and the Einsteins elevate. a large percentage of "research" quite rightly never sees the light of day. groundbreaking and globally impacting discoveries and inventions are only a few in a century
> Thinking that everybody has the potential to be at BMI x simply does not match reality

This is wrong, and why set point theory is trash. Nobody is destined to be fat, everybody's "set point" can in fact be at a regular, healthy weight.
Man it would be so awesome if MacOS had jails. I’m off Mac, and that wouldn’t get me back on it, but it would be amazing.
Something will surely give. At what point is wheel spinning or turning the hubs inside the tyres likely? I know nothing about trucks.