skysight-inc/HackerNews huggingface dataset:
Key points:

"Thus Beijing prefers that the best talent in the country work in manufacturing sectors rather than consumer internet and finance. Personally, I think it has been a tragedy for the US that so many physics PhDs have gone to work in hedge funds and Silicon Valley."

"The US focus on efficiency has revealed the brittleness of its economy, which has neither the manufacturing capability to scale up domestic production of goods nor the logistics capacity to handle greater imports. Decades of American deindustrialization as well as an aversion against idle capacity has eroded domestic manufacturing."

"In the face of this challenge against a new peer competitor, the US has demonstrated a superb capacity for self-harm."

"For someone in the middle class, there has never been a better year to live in China. That comes down to the entrepreneurs, who are creating businesses to please people."

All, absolutely true as I've commented previously in other posts. The decline of America is primarily a story about misallocation of talent and the demise of the American middle class as a result.
Pacific Heights is indeed one of the most desirable neighboors, and is very much non-surburban in its nature.

but ...

The current situation in uber-expensive real-estate markets when it comes to high-end housing should not be over-interpreted as having more to say about what most Americans want from the places where they live.

Pacific Heights current situation is also very similar to wealthy old neighborhoods in cities across Europe. London at the very least is full of such examples.
I'm trying to reclaim the word Santa from the toxic concept Santa has become (judging kids as naughty/nice is a perspective that's subjective and denies the very real need for acceptance, name calling is also a recognized form of abuse).
I'm hoping to build a simple first version of www.santaisdeadlonglivesanta.net with a bit of text and a few pictures.

It's meant to be the launch of the SANTANET, the network of people choosing to play a game in real life: Satisfying All Needs Through Anarchogiving (SANTA). It's essentially performance art, as it's me living out a story I'm writing called "How Santa Stole Every Holiday." It's meant to be a set of incomplete riddles for people to expand on, as well as a place for coordinating a network of free giving.

Some of the riddles:

Complete the backronym of SANTANET. What can the NET stand for?

There's a finite number of human needs for surviving and thriving. Each need can be mathematically proven to exist, (perhaps through applying category theory, infinity category theory, or constructor theory?) One each need is proven to exist, what's the longest sentence you can make using the first letter of each need?

Are you a hidden Santa who may want to start helping giving to needs, rather than just giving toys people want?
"And there’s no obvious leader in the southeast, but it is between Shenzhen, the richest city in the region, and Guangzhou, the political capital ..."

An incredible statement - made even more so by possibly being true.

It was less than ten years ago that Hong Kong might have been considered the leading city in all of China and certainly the most dynamic on the axes that he is considering.

FWIW, I think the CCP has made a tactical error in their handling of Hong Kong:

As a business owner in Hong Kong I was, previously, only peripherally and philosophically concerned with the behavior of the party throughout the rest of the country - it was possible to compartmentalize the "two systems".

But if Hong Kong is just another Chinese city and if there is only one "system" then I am forced to very critically reconsider my business activities there - small as they are.

This makes me very sad - Hong Kong has for my entire adult life been my favorite city and the city I thought was the most interesting and exciting.
I think everyone here is aware that this phenomenon isn’t new.

What the concern is has to do with scale, and whether this old problem is about to get a lot worse with new technologies. I tend to agree with this, I think the way information scales these days makes this much more dangerous a phenomenon.
My 2021 in Review as a Flutter Content Creator
Forget car prices, look at overall energy prices this winter.
How do you deal with a project like Ansible where 2.9.16 was released after 2.10.0 or Python 2.7.18 was after 3.0.4?

I think version numbers are a partial ordering at best.
While I agree with you that out of control fiat printing is a problem, I think you're overstating things. You can't ignore the role of the pandemic in the supply chain issues, and you can't ignore that many turn to crypto only to gain more fiat. I say this as someone who has been in crypto since 2011, and I've seen what happens during the bear markets. Many who aren't "true believers" or whose bags are too heavy abandon it, even though the money printers haven't changed during those times.
India’s Crypto Exchanges Searched After Alleged Tax Evasion Detected: Sources
Do you mean it would crash from that number being too big for a byte-sized int? Just checking I'm not missing anything here.
Planes are weird. Sometimes I look at like 747 or a monster like the beluga, and think - how the fuck does something that big and heavy even move on the ground, and then fly across the ocean?

A plane transporting another plane inside is almost too much process.
> The risk adjusted exposure from a reactor should definitely be higher as you would be closer to the threshold of DNA bond breaking.

How are you so certain? You don't know the specifics of the situation. If he worked underwater for a year and spent half a day working on a reactor in protective gear it could easily even out.
There's no way business interests would ever allow asset forfeiture to help open source projects.

It's a laughable idea.
Per that article and one it links to, there seems 100 year old (1922) and 50 year old (1972) music to be coming into the public domain, and I'm wondering why this happens in bulk on January 1st and not x years after whatever release date mid-year?
I disagree with you on Hong Kong (I m now a voting citizen, for what it's worth - not much).

The problems in Hong Kong didnt start 2 years ago, they started when the UK came in, and we inherit a difficulty I know well where I come from (Europe, full of Corsica, Basque Country, Northern Ireland, Brittany, Catalonia and so on).

Beijing reacts like we all reacted 2 centuries ago, and will slowly learn to deal with it, especially if they invade Taiwan and have to stop killing because unlike Xinjiang there's nothing to mine there and only cost cost cost to maintain an aggressive colony that builds processors as only output of value.

I think the CCP is no more evil than Napoleon, and ask a Frenchman today and he'll rave about what he did that transformed eventually the country, at the cost of 200k+ young people's lives to invade Russia, if you can believe it.

Things progress and China has to experience it for themselves, sadly. There's no shortcuts that I know of for such a big place.
Show HN: Multiplayer touch typing game for JavaScript programmers
I get your point, but you can already carry enough panels in your backup to power your laptop. I have a 100W folding panel that folds down to about 10x8x2.5” I bought it for $200 about a year back, you can pick it up today for $140.

Crazy how fast prices are dropping.
I haven't used GMail in years, but if it's the same search that runs google.com I'm not surprised it doesn't find anything. I've already talked at length on how Google Search has gotten progressively bad over the past 5 if not 10 years, and I still don't understand how they're failing at their core technology.

I use Fastmail and I'm generally pleased with their search as well. It hasn't failed me yet.
F-terminated might work better (given 1-nybble-per-digit BCD), or do a Pascal-style length prefix. I was less fixated on the implementation detail than I am about the basic concept of: arbitrary length numeric strings with numeric semantics and string-like storage and length characteristics.
BlackBerry Phones to Stop Working
I don't get what you're trying to add. If Microsoft defined their version numbers as an integer then it's an integer value. They didn't define it as say "1.2.0" so not sure what that has to do with anything.
When I (finally) finished the book, I resolved to watch all the adaptations. Got as far as the first one.
BMW 5 Series (E34)
Seems like some chapters on perspectives is what I need. But I guess I have to buy a book about 3d math for game development.
I suppose any of the Faang companies could sacrifice a data center for a day or two to do the same. Just crash the currency and get out, to eliminate proof of work currencies.
We'll see more of these "Year in Review" posts in the coming days, but why read mine? If you're interested in business and entrepreneurship, I'm living that life and talk about my experiences and learnings. You'll also get some decent book recommendations. But if you've ever read my content before or use one of the OSS projects I maintain, I talk about some of those too and cap it off with an update on OpenFaaS. Hope you enjoy it.

Note: submitting again to see if there's interest here, as there was on my Twitter account.
I often wonder if nuclear testing or fossil fuels is having a worse impact on humans and society. Maybe both are partly to blame for the madness
My Highlights of Inlets from 2021
E-coil non-lethal railgun
I put my question to a friend of mine who works on linkers, and his take was that for a single threaded linker like ld.bfd the copy-bytes part would probably dominate, but that for a multithreaded linker like lld that part trivially parallelizes and so the slow part tends to be elsewhere. He also pointed me at a recent blogpost by the lld maintainer on this topic: https://maskray.me/blog/2021-12-19-why-isnt-ld.lld-faster which I should go and read...
I realized at some point that nothing really happens on social media.

Everyone just talks at length about things that happen in other spheres. Social media is a pale shadow of reality.
It would be great to implement some of the windowing improvements as an addition to a current linux windowing system.

Pinning different applications together or being able to merge applications with tabs both sound useful... These sorts of ideas are why it's great to have another open source OS.
People in the know are the "less Sophisticated" group
This is the third anniversary for inlets (I'm the founder). My blog post sums up features added, changes made and a bit about the community and use-cases.
Last spring I built a dashboard out of a Pocket C.H.I.P [1] and use haxor-news as one of the panes to refresh the top 10 HN posts every minute.

It keeps me from mindlessly flipping to a HN tab to check for new posts, just glance over occasionally to see if anything looks interesting.

1. https://www.ecliptik.com/Pocket-CHIP-Terminal-Dashboard/
I’m working on an app to help people figure out what’s wrong with dicom files. Building with AWS amplify and AWS lambdas. Not open source but would love to find someone who knows react!
How would you pass the capability off to an external program? I'm hopeful that if the user could us a powerbox outside of a programs control to select the token/capability/file handle to pass to a program, then the system would be immune to the problems of ambient authority.
> I don't know why they couldn't have chosen something like `std::hash_map`

According to Herb Sutter the name `hash_map` (or `hashmap`) had already been taken by some C++ standard library implementation that shipped a class with this name in the std namespace: http://www.gotw.ca/publications/mill20.htm
Thanks for sharing your experience, yours seems to be the positive side of the phenomenon in question.

I think we’re the same age, so keep that in mind, but I can’t help but disagree with the thrust of why you think this is a good thing. I think that increasing the efficiency of connecting individuals to communities based on real or perceived mental health problems creates new challenges that may nullify the positive aspects.
> HN is very rationalist/materialistic

I find the opposite to be true when it comes to any real existential threats. HN simply cannot stomach the possibility that the future might not be so bright after all and will generally go through amazing contortions to avoid seeing what's happening in front of their eyes.

Stating the climate change is happening, and will create unprecedented catastrophe in our life times will win you immediate down votes and flagging.

What's hilarious to me is a few years ago, when things looked fine to anyone that wasn't paying attention, HNer generally enjoyed ranting about their love of stoicism. Stoicism doesn't really get put to the test when things go well. As soon as the fact that our world is increasingly entering a state of collapse started to become more widely apparent, that stoicism went right out the window and was replaced with panicked, borderline insane denialism of all sorts.

The only statements about the world that are allowed here now are some variant of "this is fine".

In my experience it was the real rationalists and materialists that started looking at the big picture years ago and saying "hmmm... this doesn't look quite right"
I think durable goods is a stretch for what is considered the export market of “culture”/creatives - talking appliances aside.

Nobody was claiming that these places had no export economy.
I've just installed it and started playing around.

On first open, a lot of the interface was unreadable because VimR seemed to be assuming a dark background, but I use a white background. `set bg=light` didn't fix it. `colorScheme=PaperColor` fixed it incidentally because it didn't find the color scheme and reverted to something legible, haha.

Next, I tried to set the font size for the navigator to something bigger because my eyes aren't that great. Although I can use `set guifont` to set the editor area font, the navigation area doesn't change. Presumably there's some way to fix it, I just haven't found it yet.

VimR looks cool and I really like having the navigator there IDE-style, but it seems like there will be a period of adjustment. Nothing new for someone accustomed to Vim, haha.

The main IDE-style features I've been going without in my ordinary day-to-day editing with MacVim are the autocompletion, suggestion, and hover-to-show-documentation. (I've started using ALE which is helpful but needs some tweaking before it's really usable.) It might be possible to get those with either MacVim or NeoVim, and it would be worth the configuration to set them up if so.
What’s the problem with longer length tlds?
I used to work on a customer API that accepted these fields as JSON. My first project was improving validation (I used JSON schema) while not breaking existing integrations. While it's true that those fields aren't numbers, I saw all those fields sent as numbers.
It's very normal for password reset pages to say something to the effect of "if this email address is registered with us, you will receive an email..." and they can could also add something like "you can also try create an account here".

Instead they opted for the option where every time a "hacker" is trying to use the form to compromise an account, it spams the victim with this email. As most of the world is not North America, it is statistically most likely that the email recipient is someone who's most assuredly never going to be a Best Buy customer.
My father gave me this poem printed on decorative paper for my 16th birthday. He sent it to me from prison.

He died suddenly this year. I feel sad and numb reading it again.
Not sure what you are trying to say here but that list is weird. Why is 5700xt that great but 5700 not even listed? Not much difference between the two
What if cars could stop you from driving drunk?
I think my point was lost in the deep analogy : )

The patents are the recipe. It’s not going to work if you just share the recipe.
What policy are they talking about here? I tried to follow the Twitter thread and I can’t tell.
The residents of Champlain tower have filed a lawsuit against the condo association and the developers of a recently built building next door. In the lawsuit they allege and present evidence that damage caused by construction on the adjacent property contributed significantly to the collapse. Whether the claims are valid I am not qualified to judge, but the lack of any analysis of the possible role it played seems to render this a less than excellent engineering analysis.
> Try programming for Xamarin, UWP, or anything involving multitargeting.

The complaints in the original article fell rather flat to me, but this is one area where it's absolutely fair to criticize VS. More generally, the reason that build tooling in the .net sphere is such a mess is because of historical baggage from VS.

With that said, if you're coloring within the lines[1], VS is very powerful and productive.

[1] To an extent. There definitely are use cases that are "supported" only in name.
There are mountains of literature and regulations on this and the math just kind of works that way (up to some limit, beyond which acute radiation effects will begin to dominate)

https://en.wikipedia.org/wiki/Linear_no-threshold_model

There is now some thought that very low doses of ionizing radiation are better than no radiation at all (so called 'radiation hormesis'), but I don't believe that has been adopted as part of any specific standard.

FWIW an individual person may be experiencing up to a trillion DNA mutations per day from both external and internal mechanisms of action. We just have a bunch of systems built in to prevent them from getting out of control (most of the time).
On the other hand, the advantage of the glacial pace of change in the C standard is that the language hasn't been ruined yet. One of the most important tasks of the committee should be to say "no", even if that's not a popular thing to do. The right place for experiments in the C ecosystem is outside the standard, in libraries and language extensions.
Would this be legal? Obviously bitcoin has no "terms of use" that Nvidia (or anyone) is bound to, but the US has very broad "hacking" laws like CFAA.

I imagine that if Nvidia were to openly "steal" someone's bitcoin using a 51% attack then the victim could sue Nvidia in a US court and things could get interesting.

What laws would apply and what would the outcome of such a case be? And could the act also be considered criminal?
So I guess your units tests run with the current date and don't test behavior with different dates. That's something which has the potential to hide quite a few date related bugs until it's too late.

What I like to do to avoid this situation is to use property-based testing to test that the code works for all dates in the desired time span. For Python I use hypothesis [1] in combination with freezegun [2] for that. Here is an example of how that could look like:

from datetime import datetime, timezone as tz

from freezegun import freeze_time
from hypothesis import given, strategies as st

def business_logic():
# TODO: Refactor before 2038!
if datetime.now(tz=tz.utc) > datetime(2038, 1, 19, 3, 14, 7, tzinfo=tz.utc):
raise Exception("This code is not working after UNIX time overflow")

...

@given(dt=st.datetimes(max_value=datetime(9999, 12, 31, 23, 59, 59), timezones=st.just(tz.utc)))
def test_business_logic(dt):
with freeze_time(dt):
business_logic()

test_business_logic()

[1]: https://hypothesis.readthedocs.io/en/latest/

[2]: https://github.com/spulec/freezegun
You're right, it could be much older. I thought 2011 seemed likely because that's the earliest the web archive has and that's the year that the new gTLD program really got rolling. However, it looks from some of his other content that he might have been referring to discussions that were started in 2000 and 2001:

http://archive.icann.org/en/tlds/
No idea if this comment was intended as humor but it had me chuckling.
> complaining about Apple being able to "turn off multi-billion revenue streams"

This is a fact. There is nothing in the comment to indicate that it is a complaint. It is plainly a statement of fact.
Have you tried Roslynator instead of R#?
Is this only true of Windows hardware, or does it include hardware designed for Linux?
Thanks friend!
For both lifts, I work up to a top single around RPE 8 (difficult, but with no grinding or form breakdown), and then use that number to determine my 1 rep max for that particular day. Then I do volume based on the Prilepin chart. I find this works very well because it adapts to the stress of life.
I should start by saying my Vim config is reasonably minimal, but I'm highly skeptical of this making plugins noticeably faster. How much time are plugins spending executing Vimscript vs executing external tools?
Nowhere did I suggest to blow it all on cars and entertainment. If I were to make a suggestion, I would suggest that balance is key. But OP suggested that a trip to Bali was a waste of time and instead that time would be better spent working in big tech. I mean seriously, I get that this is HN but we're getting into satire territory here. A trip to Bali costs what, a few thousand dollars? Big tech salaries are 100k and up, commonly much much more. What do you think money is even for? What are you looking forward to so much in retirement that a trip to bali when you're young is a waste of time?
In practice URLs often cannot be more than 2K characters. It's also more work to type and bytes to transmit and harder to see on small screens. For many use cases these are irreverent, but they do matter to some.
Exactly and that's why for me personally all media is biased trash driven by money/power/greed directly or indirectly to be ignored.

For covid news I get it directly from my medical friends working in hospitals or this time around all the people (two handfuls) I know and they know dealing with Covid. Personally worst I've experienced first and second hand since it started but each person who isn't OLD recovers quickly vaxed or not.
I am a professional software developer for over 16 years, and learned C in the last 3 or so years for interests sake. I would most likely fall into the category of C developers that think they know enough tricks to get by, but probably write terrible code without realizing it.

> Yes, you can write things in C and C++ that are very fast, but statistically, it is unlikely that you have the skill and discipline to do so consistently and at the same time deliver quality and robustness.

I would love to know how to get to this level. C is such an elegant language, and I really enjoy programming in it. Seems like there must be a way to get really good at C... But how?
I'm one! I work with VS daily and I think it's pretty bad. Some examples; I cannot get a plain folder view. Intellisense is very inept compared to Jetbrains products. Bad refactor support, can't find things you're looking for etc. File tabs are hard to keep organized. The source control support has been worst of the worst up util recently (blame view taking minutes to show up etc), and now it's only mediocre. Best way to find stuff is through "find all", which is an order of magnitude slower than grep. "Track changes" resets on file close, not when you save or commit, making it rather useless. VS also crashes quite frequently if you aren't gentle with keypresses. Single-threaded plugin model causing keyboard input lag. Etc etc. I could go on.

The good parts of VS is hot-reload (when it works), the debugger, and the profiler. Otherwise I'm not a fan.