skysight-inc/HackerNews huggingface dataset:
Yes, everything you write is true, it's a great list. I wish Nvidia had a section of their programming guide that succinctly stated the differences. I've been writing CUDA for a long time, and once you grok the host/device stuff, it's still mostly just C/C++. I've only been bitten by a few of these things a handful of times over the last 10 years, and only when doing something "fancy".
As time goes by it’s going to become clearer and clearer that selling out western manufacturing to exploit cheap Chinese labour - a project endorsed and embraced by both major parties in Washington - was the single worst decision in the history of liberal democracy. It’s hollowed out both middle America and the American middle class, and instead of bringing democracy to China as Neo-liberals predicted, it’s instead enabled and is leading to the hegemony of the largest and most powerful totalitarian regime mankind’s ever known.
Just configure keepass to sync with a file stored online when opening or saving the database and you have the same convenience.
Syncing the main database file itself fails if different systems change the file without reloading in-between, but with sync configured it works perfectly.
I left my job due to remote working but stayed in the same place.
> They were far more efficient than regular electric baseboards for obvious reasons.

What are the reasons? They are not obvious to me.
> yet could we discuss what’s happening there, if anything?

Without actual details, there’s nothing to really discuss. Surely you can look up some of his papers and read them, right?

Usually people churning out papers aren’t writing anything substantial in most of them. Could be plagiarizing other papers, in which case you could probably figure it out with some targeted searching.

But it should go without saying that he’s probably not actually making a breakthrough every other week like clockwork. If he brags about volume of publishing first but not really about what he’s studying, you probably have your answer.
It's interesting, as a complete outsider to apple development, how much the suggestions in that article seem to blur the line between preemptive multitasking and cooperative multitasking.
Arguably, bug bounties are always paid for by users. A vendor might write the bounty-winner’s check, but the source of the vendor’s funds is the vendor’s customers.
According to this article https://www.offshorewind.biz/2020/10/02/hornsea-two-offshore... construction of Hornsea 2 began in 2020 and is on track to be completed in 2022. That's less than three years construction time. Quite impressive considering the pandemic.
I'm going to build my instant messaging on top of SMTP adding a list of allowed "from" addresses.

SMTP will prevail and at some point all the messaging will be done over it just like HTTP/1.1...
Once it’s in the cloud, it’s already compromised.

Best way to keep a secret is don’t share it. Cloud storage is by necessity sharing the secret with the cloud server and everyone with access to it.
Agreed, though I've always had this thought: How do we know it's not money in a brown paper bag/briefcase. I mean, could they not transfer physical money as easily as they transfer words and secret deals. Golf courses are huge, golf carts can have large compartments and be loaded up directly from a car. I know the thought is, "well why would they do that, surely there's an easier alternative", but my point is that it's not would, it's could.
I now realize I misinterpretted your prior reply as copypasta of the "maximize shareholder value" trope.

My apologies.
Good to hear some positive news. Hope we begin using more nuclear soon and figure out how to leverage our thorium deposits.
Explain the crate scanner thing? Ignoring security issues due to crates is no better than ignoring security issues due to memory errors or undefined behavior. And if you are doing safety critical code, where rust would shine, all those dependencies need to be certified to the same level as your own code. Sometimes re-creating and testing and certifying exactly the code you need is faster than reuse. Heresy I know, but it has been my experience with both embedded c++, and rust at work.

Edit: We have not deployed rust to safety critical yet, I am unaware of any certification that would allow that existing for any version of the rust compiler.
DuckDuckGo's daily search queries surpassed 100M, a 47% increase
Wargames can help you to learn and practice security concepts through games
Not true. I am prescribed 50,000 IU once a week by an MD. Apparently I had very low vitamin D, have darker skin, and live in a dark part of the world during winter. Which is more than was used in this experiment.
> moved to bigger, expensive cities

Why did they do that? Did they share to you a main reason? Is it access to groceries, as you mentioned? or better schools for their kids? medical care?

I find it hard to justify the increased rent and general cost of living.
Three Ways of Generating Terrain with Erosion Features
Do we know how great the centralized protocols are?
Same thing in the US. I always laugh whenever I see a list of corrupt countries and the US isn't near the top. Codifying bribery into law as lobbying and superpacs doesn't make it not bribery.
> so the cost of the product/service, say for example Amazon prime, is the same nationwide

Correct, but you’re forgetting that labor is also one of the product/service costs for a company. They treat it like a market, just as you would if you were hiring someone to work on your car or house.

It’s called the labor market because it’s literally a market. Expecting companies to completely disregard the market aspect and just pay the maximum amount for everyone regardless of their actual cost is wishful thinking.
Really helpful! I love the 'Managers as input/output machines' part.
If nothing else, the freenode/libera hard fork showed that IRC is not only a federated protocol, it’s one that is relatively easy to pick up and move!
Where did you find senior engineers to pair with?
Er... In every way?

Flatpak is an app packaging system, distro-neutral.

GoboLinux is a distro and a new, different way of organizing the Unix filesystem.

Flatpak contains conventional (or at least similar) filesystem layouts inside app packages. Gobo replaces the contents of apps as well as the whole filesystem.

Flatpak requires runtime infrastructure on the distro you wish to use. Gobo is a distro.

Flatpak is distro-neutral; Gobo replaces other distros.

Flatpack puts all apps in its own hierarchy deep inside /var and manages it itself. Gobo does not have a /var, or a /bin or /usr or anything else.

Flatpak could be run on Gobo. Gobo could not be run on Flatpak, because Flatpak is for apps.
We can convert that unsigned 32-bit number in to a 64-bit number:

#include <stdint.h>

int64_t completion = (int64_t)time(NULL) + 30;

do {
int64_t remaining = completion - (int64_t)time(NULL);

/* ... */
} while (remaining > 0);

There’s some slowdown doing 64-bit int math on a 32-bit system, but the above works.
Could steel become a carbon sink if we use atmospheric carbon in the smelting?

There are (at least) four potential solutions for air travel: batteries, hydrogen or using fuels synthesized using either atmospheric carbon directly or indirectly via plants. I dislike the massive arable land requirements of bio-fuels, so I hope one of the other three wins. I'd bet on synthetic fuels but all three are fine.

Air travel is at the stage cars were in the 90s. We had prototype EV's and prototype Hydrogen fuel cell vehicles, and didn't know which would win. Both were crazy expensive, and both had too many compromises to seem acceptable.
That advice made sense 10 years ago when Williamsburg was cheaper. Now it's the same price and less convenient. I love Manhattan
You must be joking?! UK to retake HK by force?
I'm going to be moving to a greener part of city in the next months. Previously I selected the current flat based on (walking) distance from the office. But where I am now there isn't a place to pleasantly run surrounded by nature, which sucks. I'd change the city too, but for now all my friends are here, which would make it tough.

Longer term, I'm planning on moving to another country (from Eastern Europe to most likely one of: Scotland, Netherlands or Finland) and, from what I gather, my company will allow me to work from abroad. Even longer term, I'm planning on simply starting my own company, so place is not going to be a constraint.
I was never able to successfully trigger the false positive last night but I believe the most recent explanation from LastPass is in line with what I have been seeing. Intermittent false positive emails.

https://www.techradar.com/au/news/lastpass-accidentally-scar...
Ask HN: Favorite Podcast Episode of 2021?
Mine was Lex Fridman #227 - Sean Kelly: Existentialism, nihilism and the search for meaning
> My neighborhood in SF is 90% white

White is not a culture. Skin colour is orthogonal with cultural diversity.

Amsterdam is also 80-90% white but is incredibly diverse with all sorts of people from all sorts of places and backgrounds.
This is the truth and most disappointing part. I can now live anywhere but wife likes big cities, and best school districts are usually cities.
I too am surprised to hear this. GP can you point to said spyware in the GitHub repo?
https://github.com/home-assistant/iOS

If not I’ll have to go with Christopher Hitchens on this one.
I wrote a similar thing but then to send messages directly to you AppleWatch. See https://astronote.app
I have been fully remote since 2007. I already live in a rural area so for me I was just grateful of the better work opportunities that remote has offered. The rest of this story will be about a friend and co-worker that I have managed.

We had worked together for years at this small company. He moved to northern CA and still worked for us but was the only remote employee. He was a founder though so no one was going to question it. Anyway, after the company sold, I got a remote manager job at a SV company (not FAANG) and lured him to join me. Once his daughter graduated college, he moved to a house he had bought in Spain and worked from there for most of the year. Our team was mainly East Coast and Europe so it worked better having him in Spain anyway.

He spends roughly half the year in Spain. He owns a small cottage on a lake in NH and will spend a couple months of the summer there. His daughter lives in DC so he will spend a month or so with her. His wife's family lives in Atlanta area so he will spend a month or so with them. Before Covid, he also listed his Spain house on a house sharing site and used that to spend a month here and there in lots of cool places like Paris, Nice, Croatia and the Canary Islands among others.

It obviously helped that I was his manager and knew that this nomadic life would not impact his work but other than that I think it is a model for what a lot of people would like to do, especially in the back part of their careers.
That still has the same issue mentioned in the article: it works fine inside an organization (the organization being, in this case, the whole country), but not between different organizations. For instance, how would I, a Brazilian, send a message to someone using that system?
I do (Spotify). It's much, much more convenient, and quality is good enough.

Of course, I'm a bit concerned with the tracks "unavailable in my region" or "no longer available at all", but convenience trumps it.

As others have said, when I really like an album or something, I'll usually buy it, ideally lossless download, but a CD will do in a pinch.
And I guess my counterpoint is that could is a very very large potentially unusably large category of possible actions, and would is a much more tightly controlled set of realized actions we believe might happen again.

But then would has the potential of misdirection. Your believed set of would's might be entirely separate from the realized would's of the individual. Could is wider but has less room for interpretation or propagandizing. Exactly my point in the above post: why wouldn't they be able to transfer money. My set of would's include those deliberate obvious actions, especially if all kinds of other things happen on golf courses. Anyways, I'm rambling, have a nice day. :)
Estonia is the one that also provided digital citizenship, right?
Did you move there on your own without knowing anyone? How did you choose Sweden? Do you feel like hosting some HN nomads?
All of these tips are good, but the “get excited” one has been my secret weapon through life.

A professor in undergrad gave me the tip to get excited or even feign interest when reading dense written material in order to retain more.

After trying it throughout a difficult class I was amazed at how well it worked. I applied it to every other academic thing I didn’t want to do and noticed immediately how much easier and enjoyable school was. I still use the “fake excitement” trick for my work all the time.

Also, it’s kind of like a Trojan excitement because after I fake the intense interest I do genuinely become interested more often than not.
> All the brainwashed types I’ve ever spoken to believe the most insane things despite otherwise being intelligent people.

This is a general problem, not limited to China. A good percentage of the world population is ready to believe just about anything, no matter how outrageous. Witness the whole COVID denial movement as one example.

https://fivethirtyeight.com/features/why-people-fall-for-con...
It's mostly three things according to my friends who use streaming services:

1) discovery: Spotify is great at giving you more of what you like, without you needing to manage your library

2) ease of access: No need to carry around a hard drive to have everything available

3) giant catalogue: to buy MP3s at that price and have a similar breadth and depth as Spotify (or rather: what you'd use of Spotify), you'd pay a lot more.

If you just want some tunes and are happy with what's very popular, you could also stream for free from Youtube.
Whoa, that's a cool mechanism and even a modest volume would seem to generate quite a bit more power than the clock needs.

Betavoltaics are another cool one. You wrap a beta emitter (like tritium) with a solid state 'betavoltaic' that works like a photovoltaic but for beta particles. These are commercially available and will provide microwatts of power at 1-2v for for 30+ years. (With the downside of a bunch of possible health/waste/regulatory implications)

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

https://citylabs.net/products/

RTGs are their bigger/badder cousins, used for space probes and super-remote monitoring/military applications - https://en.wikipedia.org/wiki/Radioisotope_thermoelectric_ge...
People in Ohio, western PA, and WV are very, very friendly toward local university graduates. You’re more like to get a job in West Virginia graduating from Ohio State than you are Harvard…

To your point about getting jobs at SpaceX and Amazon you have to leave the Midwest but that’s only after you graduate from Ohio State, Michigan, Purdue, Northwestern, Wisconsin, or any of the other schools these companies regularly recruit at. Have friends and colleagues at all of them. You’d be surprised.
Isn't glibc, specifically, very careful about ABI compatibility?

You can still run Linux programs linked against decades-old versions of glibc on current systems as they have kept ABI compatibility with the use of symbol versioning, without changing their SONAME ("libc.so.6").

Sure, that does not extend to being able running programs linked against new glibc symbols on old systems, but if you consider that ABI-breaking then the Linux kernel would also be ABI-breaking as you cannot run binaries relying on new kernel syscalls (etc) on older Linux kernels.
My lesson from my failed Ph.D (graduated with a Master's in Chemistry after far too long) is that after the first year take a long critical look at what you're planning to accomplish and whether you really made the progress you needed too.

I didn't, and simply tried to power ahead on the assumption I'd pull it out of the fire: this was absolutely the wrong conclusion. You already have a university degree, and you'll get paid more in industry: the right answer is to abandon ship it you're not looking at a clear path ahead by then.
IIRC last time we had issues it was something in the core libraries, not the compiler.

I think it was something as fundamental as Error being changed or moved around.
For learning async Rust, mini-redis repo is hard to surpass: https://github.com/tokio-rs/mini-redis

The code is simple enough for beginners to follow, but also complex enough to demonstrate async Rust in the wild. And best of all, the code is heavily commented!

You can follow the official Tokio tutorial to implement mini-redis incrementally: https://tokio.rs/tokio/tutorial/setup
Astral Codex ACX Grants Results
1) That's not what is says

The article doesn't say they are doing it on purpose. Some archeologists didn't align with his thinking because 1) other similar locations aren't there and 2) not understanding of the Shona culture.

2) Those institutions actually awarded him 2 times for his discoveries, making him the only person to win it twice. Do you have an indication of something factual except a disagreement on interpreting findings?

3) As far as I know, a lot of those artifacts are bought by museums because of a seller or given in custody by a private collector.

I don't know the circumstances of those transactions, but i don't even see how that's related to the article... ?

May I ask if this is a "close to heart" article?
Man's exploitation of Capitalism for man?
Build iOS Apps with VisualStudio Code. Or Not?
Technically Pennsylvannia isn’t the Midwest but I don’t think you need CMU to prove your point - you can just list all sorts of other notable powerhouse Midwest schools.
I disagree - I found the book to be very valuable when learning Rust. I agree it would not be good if Rust is your first programming language. But I think many beginners to Rust are people who are already experienced programmers and basically just want to know some mental models for how Rust's memory model works, some useful idioms and patters, "how to do X in Rust", and how to get started.
Where is your base? Any recommendations for setting up this arrangement?
Missing from this actionable survey is the skill of answering questions that haven't yet been answered in the secondary literature (books, reviews) or even primary literature (journals). This is, of course, what research and a PhD is all about in the end.

In my experience, this fact was the #1 reason why some peers dropped out of PhD programs. They joined expecting a continuation of undergraduate education, which consists largely of recapitulating what appears in the secondary literature. Instead, what they got in graduate school was the expectation that they would be producing the primary literature. That's a very different game.

It was a game these peers discovered they hated playing. Nothing in college can prepare you for the isolation of spending your time becoming the world's expert on a narrow technical topic. Your usual reinforcement mechanisms of approval from family and friends gives way to slight comprehension at best. Then there is all of the alone time doing research requires. But I suspect the hardest part of all is the seemingly endless lineup of dead ends and false hope. Not only is success not assured, you often have no idea whether the result will have any utility even if you succeed.

Then, just when you've gotten the hang of this finding answers game you discover that the real expectation is to be the one who formulates good questions. The kinds of questions that, although they will certainly involve dead ends, will ultimately pay off in some meaningful way. Very little in a bachelor's prepares you for doing this. It's a hard-won skill that comes from a round or two (or three or four) of months (or years) spent answering questions that nobody cares about. A lot hinges on your relationship with your advisor on this one.

The PhD isn't just a bachelors degree but harder. It's a completely different animal. The skills in this article are very useful toward that end. But there's a lot more to the story when it comes to skills for finding answers to those unanswered questions, and formulating worthwhile questions without answers.

The benefit of all of this work and discomfort is that you come away with the ability to answer worthwhile questions that haven't yet been answered. And that's a highly transferrable and applicable skill.
Kudos! Good job!
A lot of embedded stuff needs nightly. Or at least, it was like this a year or two ago.

A related issue is that for many companies "stable" means the version shipped with Ubuntu LTS.
I don't agree. For one thing, there are notice periods. You might not consider them material in this context, but sometimes they can be. For example, a rapid change in working conditions or in the purchasing power of wages.
No, but it's made my decision to stay in my home city more viable long term. I live in the UK Midlands, which is cheaper to live in but has less opportunities than London. I have had good jobs here, but less choice than I'd have liked. I started a job search and while I've ended up working for a local branch of an international company again, in my search I found many more remote positions. I think it'll mean that in future I'll be able to leverage my experience for a job at more like ~London salary. Right now, I'm probably at 80% of London salary for my job, which is fine as my cost of living is very low and I live in a very nice area of the kind that would be difficult to achieve as an owner and not a renter in the South.
Similar to learning software engineering on the job. Once you're leaving the baby level you stop being able to take the more senior engineers' word as golden. You will know some things better temporarily due to recent intense exposure. The tricky part is figuring out when that's true and when others can see something you can't. This never leaves you I guess.
Sure: they made a deal.

But now they are breaking some of the terms of that deal. And that's not nice to the people in Hong Kong.
Yeah, just saw their new announcement (thanks for doing those tests yesterday by the way!)

I don't know how much to read into their use of "some" and "likely" i.e. "some of these security alerts, which were sent to a limited subset of LastPass users, were likely triggered in error"

I would want to know whether they can demonstrate that wrong passwords were used in this attack. And have an explanation for those users who received the email a 2nd time after changing their passwords.
Conservators find books, coins and bullets in Virginia time capsule
My point is mostly that it shouldn't be used to argue against increased security for that mode of transportation.

The pattern is as follows:

- A: I had a really bad accident, we should make these vehicles more secure.
- B: No, you had to be aware that it was risky.

- A: Stripe jeopardized our business, they really should have better customer support for these cases.
- B: No, you had to be aware it was risky to use them.

It's a non-sequitur: the plight for increased security/customer support is in no way hampered by the fact that the buyer had to be aware of the risk (which I guess he had, but ... so what?).