skysight-inc/HackerNews huggingface dataset:
It’s a compiled language in the same sense that Java is compiled. Most people use the CPython implementation which compiles .py files to .pyc files before executing them. That compiler can’t catch bugs of this form because it’s not always a bug. That’s just how dynamic languages work.

But if Python had a different syntax like “let var = value” for creating new variables rather than mutating existing ones, we wouldn’t have this specific problem. That’s what this thread is about.

If C++ inferred “auto” for all assignments/initializations, it would have a similar problem where typos in assignments effectively lead to that line of code getting skipped.
Perhaps missing:

"Apple reported total annual sales for 2021 of $365.8 billion, up a significant 33% from the $274.5 billion it reported in 2020. Gross margins for the 2021 year were up 45.6% from the year ago."

"Amazon revenue for the twelve months ending September 30, 2021 was $457.965B, a 31.62% increase year-over-year."

Go ahead and short the Standard Oils of today. If/when they are broken up, the sum of parts will be worth even more.
There seem to be two popular approaches to avoiding the need to trust institutions.

One is technical: e2ee, implementation transparency, and similar.

The other is social: have fewer institutions.

I have never understood people who think the latter is a good approach. Like, "I don't trust these people who use their real names and are registered in a jurisdiction that has strong privacy obligations, so I'm gonna trust some randos on an abandoned oil rig instead."
Time spent maintaining your script by your future co-workers.
The CAB forum BR requires that CAs use HSMs, so I call bullshit. Those soft HSMs are used in dev environments. Unless you talk about enterprises internal CA, where the storage of keys is usually not the biggest concern.

https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-...

6.2.7 Private key storage on cryptographic module
The CA SHALL protect its Private Key in a system or device that has been validated as meeting at least FIPS 140 level 3 or an appropriate Common Criteria Protection Profile or Security Target, EAL 4 (or higher), which includes requirements to protect the Private Key and other assets against known threats
But that's entirely my point. Even for the metaverse, the majority will be cheap async http-like calls and not always connected game servers. If IKEA is joining the metaverse, do they want to spin up a realtime game they maintain or will they want to statically host client heavy VR content?

We should focus on how we bring the lessons of past 20 years into these sci-fi concepts. We need to consider how businesses find success today and bring that to VR to be successful.
I mean, the example you gave of what you use ssh for is itself an obsolete function. Using a personal Unix server to host a personal website is not really any different than making your own clothes using a sewing machine. It is perfectly fine - but it's a niche activity done by hobbyists who enjoy the process itself.
i.e : Not social media. And if you are going to use social media, try and train it to be high signal.
I think this depends on if people want to govern or simply win elections. If one's goal is the latter, maybe smartening up your base is not a good thing.
Yes, perfectly said.

Here's in-depth info on solar flares. Major ones are considered "Carrington-level events", due to a flare that occurred in 1859: https://www.history.com/news/a-perfect-solar-superstorm-the-...

Vox's 2014 breakdown of the systemic risks: https://www.vox.com/platform/amp/2014/7/30/5951263/a-catastr...

NASA article on the prediction that there was a 12% chance a Carrington-level event would occur by 2022: https://science.nasa.gov/science-news/science-at-nasa/2014/2...

My 40% is based on that information. I'm gut-extrapolating to the next few decades, with the understanding that large devastating flares occur every few hundred years.
I am just starting the process of migrating away from Heroku, so this is perfect timing. As a full stack dev, I've always done the bare minimum with deployment as I never found the process particularly enjoyable. In the past, I would always just copy-paste build configurations from past projects, or some online resources, and wouldn't spend much time digging into the details or really understanding the ins and outs of the build & deploy process.

Needless to say, I'm looking forward to this book.
Given a large part of society works and revolves around the dynamics of a school, if you do "good" in school you'll have a better change to do "good" in life.

It's very far from being an 1-to-1 relationship, but if you know and play the game of society and their institutions you'll be in the "system" with all the pros and cons.

The life of an outcast is both romantic and brutal.
A worm will be developed for Log4j in the next 24-48 hours
Yes, SOL of living has been going downhill in the Bay Area in the last 10 years. I grew up here and I can see everything just getting old and uncared for.

Moving to Portland in 2022.
These tests are probably measuring something. But I don’t see how anyone with a high IQ can take IQ test seriously.

I’ve been studying the writings of early artificial intelligence pioneers (Minsky, Simon, Newell, Von Neumann, etc) and to think that we can assign an integer measure to the most complex information processing systems in existence seems like one step above pseudoscience.
Revving Up Sic and GAN
Show HN: Goodreads for Chess Book Enthusiasts
Leland Wilkinson (author of The Grammar of Graphics) has passed away
I don't see anything about what I would have expected to be the obvious choice, so I'll ask. Why not perspective projection for all zoom levels? This involves rendering a sphere at the lowest zoom levels, but I can't imagine why it would cause problems at high zoom levels (and the sphere is the "correct" rendering in any case).
Doesn't Google News use RSS in the backend? I guess the problem is just that the original RSS URLs are not made public?
So what do the US spend education money on? I would've imagined that teacher salaries would be the highest contributer to education cost, but for teacher salary the US is well behind everyone else.
That's fair, english speakers often make fun when the French mutilate our language as well :)
By the way, I made one for Telegram, if you use that:

https://gitlab.com/stavros/hn-reply-bot

I posted it but not many people seem to use Telegram, or find it useful?
You may want to use file globbing instead. This is one I just used yesterday afternoon. I needed to search for a string in every .js or .jsx file in my project, but didn't want to include specs in the search.

rg 'MySearchString' **/*.js[x]#~*spec*

Voila. Note that this is for zsh, and you need to set the EXTENDED_GLOB option. But once you do you'll find yourself rarely needing to reach for `find`.
Tornados come and go quickly. Storms capable of producing tornados don't always do so, and those that do produce them only in small areas compared to where they are actually capable of producing them.

Having your employees stay home doesn't help at all. Many of them will be living in the same danger zone, and in fact many will be living in buildings that are less capable of withstanding a tornado.
This one is super useful. So many people buy ridiculous gadgets because they never learned how to use a sharpening stone, and their kitchens are full of dull knives. I hate cooking unless my knife is really sharp.
It's a good question. A reasonable/decent employer would have immediately sent everyone home for safety reasons alone. A factory has to be one of the least safe places to be in a natural disaster, and candles themselves can be fairly heavy and typically live in glass. I just hope these folks didn't suffer too badly, and honestly I hope the families take legal action against the business.
> One's need for "informational pull" remains

It clearly doesn't - since so few people are using RSS.
Yeah I don't think it has much to do with security as it does securing hardware from competitors.
> this is normal. It isn't.

Agreed. Nothing about this is normal. Not the way we live, not the way we work, not the way we take a hot shower every morning. It's highly un-normal. But because we're relative creatures and define the 'normal' by what we experience and not by what has been the normal for hundreds of millennia, we tend to misunderstand the reality of our situation.

The wake up call will be a very harsh one.
I think the important part is not where you decided to live, but the fact you had the freedom to seriously considering moving.
The exactly-five-letter word guesser that includes virtual keyboard that paints keys as hints as the game progresses?

After explicitly mentioning in a comment that the game was derived from Wordle - "I came across https://bert.org/2021/11/24/the-best-starting-word-in-wordle... on HN the other day".

The OP now added "About", with weasel-worded reference to Wordle. Jesus. How hard is it to just acknowledge other people's work that you are directly borrowing from.
Sure, but in my office and a lot of the others I have worked in, either a) no one was ever too hot, but many people were too cold or b) the HVAC was old/terrible s.t. that everyone was either way too hot or way too cold. My dream is for everyone to just be a little bit miserable together.
lol like that ad for Just For Men hair coloring that has a police officer looking at an ID and saying “this isn’t you, it’s some older guy”.
I don't think I've ever seen a more defensive comment on HN.

"User" doesn't mean the person clicking around a website. Someone is using your software, I hope?
I don't think they are evil, merely misguided.

It feels like the "right thing" to have a CoC, and it only makes sense if you make it enforceable, and that only makes sense if you make it comprehensive.

So I understand how we get to this point with totally good intentions - whatever misgivings I might have about CoCs in general.

I use Vivaldi (not their email service, but their browser) and I like it a lot. I wish it were based on FF and not Chrome, but unfortunately it makes a lot of sense from an operational perspective. I've seen nothing malicious in anything they have done to date.

So I'd rather they saw this and fixed it. And I'll still happily recommend people give it a go. But if they insist on keeping this wording in their CoC, I'll certainly advise people to steer well clear of the webmail service.
I have no concrete plans to move anywhere, but just knowing that I _could_ easily pick up and go anywhere I want without commute or general work location being a deciding factor has been so freeing.
Apple requires all apps to be installed through the App Store. Google requires all in-app payments to go through Google Play. The obvious reason for these requirements is that it's profitable for them. But how do they justify it to their users? More convenience? A unified experience? No, their most prominent argument is that it's safer that way.
I think people are social creatures and will always choose to have social interactions. The difference between high and low density living is whether you can choose the absence of these interactions, even temporarily.

I live in a city and it suits me just fine overall, but I also need some of the "I don't want to deal with loads of people and their drama right now" time to remain sane.
The Kotlin version is pretty much what I had in mind, that's pretty nice.
Don't attribute causation to what just could easily be the null effect. Genocide existed before facebook, and it will exist after facebook.

Saying "truth matters" is just an empty slogan without defining what truth means, and in itself is not a solution to what the real problem is which is the alienation people feel as a result of capitalism.
Especially seeing as hugely dominant languages like Mandarin and English are so difficult to write, and one would assume that ease of literacy would contribute to fitness.
Silicon Valley / SF have had a stranglehold on the digital economy for the last 20-30 years -- nearly anything that touches electrics or software had a "tax" where some portion of that innovation flowed back as cash.

With covid / the great reset, I've seen so many leave the bay area now that they can work remote. It's occured to me that SV / SF will need to reinvent itself and be in a rough patch for a couple years. The benefit to the rest of the americans is that all those high paying jobs and new ways of doing business are being dispersed throughout the rest of the USA which is better for all of us in the end.
It's probably economically unsustainable. Even governments have bottom line they must manage.
New in Node.js: node: protocol imports
The current global rule limit is 300k rules per profile. This is shared between all extensions, which is shared amongst all extensions. This limit comes after the 30k per extension minimum, so if your extension uses 40k rules only 10k count against the global limit.

So if we assume rules are 1-to-1 (and in fact fewer rules should be present in declarativeNetRequest because certain rules like element hiding do not factor into declarativeNetRequest, and would be handled directly by the extension), you could fit ~5 adblocking extensions the size of your basic ublock install, and most of a 6th.

Now there are some advanced capabilities of some adblockers that have no equivalent available, but for common multi-plugin rulesets like EasyList, declaritiveNetRequest will support pretty much everything contained therein, (except cosmetic rules, which the plugin must apply separately, since they are not blocking requests, but modifying the page, which is quite different).
Sure but the conjecture was that Apple was responsible for it, not open source developers
For at least some languages, it might even be important to have access to older versions of a file.

As a concrete example, Go imports (at least for module-enabled code) is version-locked and the HEAD of the referenced code may no longer be representative of the code that would actually end up being compiled.

On the other hand, just having an easy navigational tool to get to roughly the right place is a very good help.
What does SOL stand for?
There are ten thousand small towns (like, say, Bird Island) whose population has been declining for decades, due to lack of economic opportunity. You don’t have to choose between a city and an isolated home.
Its too bad we can't build new places like this, and make this a more affordable option for people.

https://www.youtube.com/watch?v=MWsGBRdK2N0
Oh goody, another Californian who is fed up with the trash heap they've created and is moving to Colorado. Can't wait for another local business to be replaced by a car wash or a Pollo Loco.
SRI really, really should be out of band, otherwise SRI digest changes invalidate the entire module graph (and import cycles become a major pain).

I think they're much better as a part of import maps, and later fetch maps so they can apply to non-JS resources like CSS.
It is, but it's much closer to perl when it comes to maintainability.
Generalized capture is primarily useful for move semantics:

std::function<int()> make_func(std::unique_ptr<int> ptr) {
return [p = std::move(ptr)]() { return *p; }
}

Without generalized capture syntax, there's no good way to transfer ownership into the closure (a regular `[ptr]` capture would attempt to make a copy, and a by-ref `[&ptr]` capture would lead to a use-after-free).
Can't tweets and blogs also help people solve problems in their business?
> Trying to prove materialism wrong with materialist frameworks is a fools errand ... it has failed time and time again

Howso? What alternative is there that still uses logical, if albeit not materialist methods?
Deno will behave just like Chrome or Firefox would: we ignore the checks when running your code. We would have a `deno check` subcommand to perform a typecheck. You could optionally run this automatically before a `deno run` by passing a `--check` flag.
I'm aware. What I'm trying to say is that neither 3 or 4 will become mainstream and will only become a party house for a few wildly optimistic and wildly diluted individuals, that is the evangelists and those believing that this will be the next big thing and will make them billionaires because they were the early adopters. We've seen that way too many times already.
> First, people have been leaving large, dense, expensive urban cores for smaller, less-dense cities and suburbs. Second, people and companies have been moving to warm, low-tax states in the South and Southwest.

Seems like there could be a convergence of the demographic trend of millennial family formation with pandemic related increase in people's perception of the value of square footage that is pushing people toward that classic Single Family Home housing product.

Problem being of course is that they're not distributed in the right places.

Of course the era of normal people without incredible levels of wealth owning a detached home in cities like SF, Seattle, etc is long over. There will only ever be less and less SFHs as these cities urbanize further.

The market urbanist solution to this issue has been to build more housing, and more apartments, townhomes and duplexes with larger footprints that are suitable for a family, so that one wouldn't need a detached home for a larger family to affordably live in one of these big cities.

That we're seeing people abandon certain urban places may be a sign of the failure of those governments to actually get any of that product sufficiently built, but it also could be a sign that, despite similar square footage, people don't see townhouses/apt housing product as the same sort of value as a detached house, and they are willing to make remarkable life changes to own a fee simple house proper.
Full Stack Web Development in the Cloud Course- Svelte, Postgres, Vercel, Gitpod
That was a fun read
Umm, no, chaining together 5 or more somewhat arcane single-purpose tools is the unrealistic solution here.

If the article was about using ls to just list files, and I had said "actually you should use Python's os.listdir() and filter the results by whatever" you would be right.

For most simple problems it's correct to use a simple tool. For the overwhelming majority of complex problems you should use a well-understood, well-designed, common general-purpose tool.
I have read that the dangers of EMP's are greatly overstated and they could damage stuff, but mostly the power grid, since you need long lines to induce sufficient power for it to matter.
Globe view (orthographic projection) is coming to GL JS too![1] It had to be implemented differently (rendering to textures and then mapping them on a 3D mesh), but it should be quite fast.

https://github.com/mapbox/mapbox-gl-js/issues/10784
I don't think that's going to fly because it's in-band.
Standard of Living
or
Shit Out of Luck

Not sure which applies more.
awk is Turing-complete, so if that is not enough to describe ”advanced” tool, then I don’t know what it is.
I moved the the suburbs way earlier than I had planned due to the pandemic and my job being much more WFH. I love it. I’m still accessible the city (14-28 minutes by train depending on schedule), I have way more space, and I’m near some really wonderful nature areas. I love having a garage and a yard and a grill. Im still near restaurants and stuff, and I kinda outgrew the bar scene a few years ago — now I’m more likely to hit a brewery or 2, which are dense in the suburbs too.
SigNoz (YC W21) Is Hiring First Developer Relations Engineer
I think the use of LTR for horizontal text is due to western influence. I want to say that some very old signs are written RTL.
Atom feeds obviously.
The missing thing is centralized queuing. I can easily create a queue of all articles from RSS feeds, but it's hard to centralize all links posted in a newsletter. I do this for engineering blogs of different companies today, for example.
We have plenty of money to perpetually increase the police budgets, though...
Anything that is truly an "unpopular opinion".

For example discussing the drawbacks of a popular tv show on a tv sub, discussing risk profiles on a covid sub, discussing billionaires, NFTs, life extension, etc.

Any topic that generates truly controversial (i.e. can be argued successfully in one direction or the other) opinions.
The US spends significantly more on education than the military. K-12 education spending alone is the same as the entire military budget.

States pay for education, Federal pays for military. The Federal government isn't responsible for funding education, so it is unsurprising that they have a relatively small budget for it.
Which package? Are you running a replica set or a single node? What specific version? Also which storage engine?

3.0 is a pretty old version. Most 3.x versions are end of life or unsupported.
Yes, those values are universal, unless the powers that be manage to convince people otherwise.
Who is 'thinknewsmedia' who wrote this 'could' article? The link to Vkontakte at base suggests the site is Russian?
Maybe RSS could become a paid service - then the people who want it could be the ones paying for it.
On the Florida and Texas coasts the groundwater is brackish, and with the increasing sea levels from AGW, that salinity is intruding further and further inland.
Anybody who can effectively discriminate against an employee based on age probably has access to that info directly via some HR system anyway.
Little C++ Standard Library Utility: std:align
you didn't spell it right. Should be "logarithms"
If you aren't flooding Google with insane amounts of cash, good luck ever talking to a real person.
T* makes for a poor optional&lt;T&&gt;
Why not PWAs?
Also, the datapath is a lot wider: NEON only does 16 bytes per vector, while Intel has fixed most of its frequency issues and can go up to 32 bytes per vector without throttling. AVX is also a lot more expressive, and can do more per instruction.
> If RSS dies, what is the alternative then? I understand that technically speaking it's not a good solution, but let's have something else before killing this.

Instead of focusing on a technology, let's focus on a problem. This is where users and potential users of RSS have a communication problem with publishers of content.

It used to be that the masses consumed RSS feeds. So, you could have metrics on that. But, the tech giants shifted from RSS streams (which empower end users) to high control system that operate differently (social media news feeds that empower corps). This lead to a drop is RSS subscriptions.

So, why today is it useful to a publisher to have RSS on their site? This is a question that needs addressing and marketing so that people know why. The business case for them is lacking.

I want RSS. I also realize the usefulness and communication around that needs improvement.
And yet they vote for the same incompetence time and time again. The SF political machine is more powerful than Tammany Hall ever was. An unresponsive corrupt machine that curries favor for the elite and connected with complete disregard for small businesses and individuals who are not politically connected. The definition of political virtue signaling is the SF political machine.

For some odd reason the rules never applied to the restaurant owned by Gavin Newsom, former mayor of SF and now Governor of California. Even the old smoking restrictions were off limits.
Being on the north side of Chicago, you're probably already in one of the "move-to" and not the "move-away" from areas.

It's expensive, but let's be serious it's nothing compared to the coast – with a good quality of life (as the reasons you stated).
Utah is building the largest artificial islands in the world