skysight-inc/HackerNews huggingface dataset:
>What truth is there to this? Suppose this asteroid was on a collision course with earth, would we have any recourse other than praying it lands in Siberia and not NYC.

If your asteroid is only 20 to maybe 400 meters across, having it land somewhere absurdly remote on land or far off into the deep oceans would minimize harm, but for asteroids much bigger than that (and even 400 meters is really stretching the bounds of acceptable size), it doesn't really matter where the impact happens, millions or more people will almost certainly die.

If you scale up to a size of, say, 900 meters or larger, then you're talking global multi-year catastrophe no matter where the impact is.

If you then scale up to over a mile or two in diameter, then you're talking global multi-decade cataclysm no matter where the impact site is.

So yeah, even with Siberia, the Canadian North, Antarctica, the Sahara or the central pacific ocean. Any size beyond a few hundred meters makes specifics not so important in terms of death toll and major climate effects.
Command line output as JSON. Very handy and has parsers for tons of common utilities, written in Python.

Blog post with examples here: https://blog.kellybrazil.com/2020/08/30/parsing-command-outp...
They always make me give them ID to scan.
Yes, this is a very utilitarian and pessimistic view of gift giving, and probably not great for me to have. I've been shaped by years of required and thoughtless gift giving.

Items of low value, carefully selected, actually work really well for gifts! I think the process of curation can dramatically increase their perceived value, compared to a "serious" gift. But at some point, you just have too much stuff of all kinds, and you have to start getting rid of it.
Depends on the destination country and on exactly what it was you were trying to bring in with you.

Nah, the whole thing is just a "Can I ask you a question?" implemented in code.
What I love is that this exact behavior is one of the minor problems of advanced AI. How can we make sure that a sufficiently advanced AI doesn't just edit it's reward center? Usually called wire-heading or reward hacking. Humans do it too :)
Messy? Isn't one of the points of having multiple accounts to reduce mess?
> how china companies r just direct extension of CCP where party members have would directly inject themselves into the companies, go read some materials first. There no private companies in the US/EU sense in China

That's not true. In China private companies exist and can largely operate freely. China is a capitalist country. The only thing that limits corporations in China more than the US is that the companies and billionaires in China are expected to fall in line and not rock the boat when it comes to CCP. But this does not make the corporations an extension of the party, they're still privately owned and operated corporations working within a capitalist market system.

When it comes to government elites injecting themselves to the companies, that's not at all unique to China. The revolving door between government, lobbying groups, think tanks and corporations is "business as usual" in the US and EU too.

China has the power relations between govt<->corporations reversed. In US, the government elite is expected to fall in line with the capital owners, and in China it's the other way around. That's the main difference, not whether the corporations are vaguely "good", "bad", "worse" or "better". That's just simplistic and vague "china bad" rhetoric. The corporations themselves work within the same framework of capitalism, i.e. maximizing value for shareholders.

I will dismiss the personal attacks, as they are not constructive.
Hey, trolley problems are open-ended!
>Functional programming has a steep learning curve
Not really. Learning and using F# is not hard. Same for using JS in a functional manner.

>To reap the full benefits of pure functional programming languages, you can’t compromise. You need to use languages that were designed with these principles from the start.
Yes and no. F# was designed with functional principles, but you can compromise and you don't have to write 100% functional code.
Not even that server accepts me :-(
With the event being so rare I thought it was a joke...until it happened.
SendGrid does not support the TOTP standard (or any authenticator apps other than Authy), because as you mention, SendGrid and Authy are both owned by Twilio:

https://docs.sendgrid.com/ui/account-and-settings/two-factor...

For anyone shopping for an email provider, this would be one reason to choose a provider other than SendGrid.
DOJ takes aim at Adobe's Figma $20B deal
> they tend to take criticism as attacks

Makes sense, but it might as well not be the case.
I really can’t imagine a gift that would motivate me as an employee. There are things i might appreciate, but the only “gift” I would find motivational would be a raise.
This should be in the README, I was getting only 2s red blips, constantly.
you can snooze the calendar reminder though
-snooze 5 min
-snooze until tomorrow etc
FTR that decoder does not support colors, so for most uses it is not ready yet: https://github.com/image-rs/image/pull/952
> what's going to stop that type of person from just marking the task completed then?

I mean...nothing? If someone is determined not to do something, that can't really be helped.

What you can help is the out of sight, out of mind problem - "got it, I need to do this..." followed by four hours of totally unrelated Wikipedia deep-dives, after which the reminder is forgotten.
Nooooo! Can anyone remove this post? I can't stand another round of paperclip addiction!!!!! HEEEEEEELP!!!
I was told to start with XGBoost. Is Prophet better?
Gifts are primarily an expression of care.
Building a Hacker News clone in 30 minutes?
A simple tutorial on how to build a Node, Express, MongoDB backend for a simplified HackerNews app in only a few minutes using Neutrino.
Great question! The closest thing I've found to this app is simply adding reminders as events to Google Calendar and setting up email notifications for each one. I'd say nudges is better in these ways right now:

- Phone call notifications have been quite powerful in practice. I miss push notifications all the time, but a phone call is harder to ignore.
- More powerful scheduling: some filters aren't possible to create (like "last day of month") in the Google Calendar UI

I'm also planning to implement more integrations (webhook triggers, webhook notifications, slack/discord/telegram/whatsapp notifications), which should tip the scales somewhat more. I also want to integrate Google Calendar at some point, so you could create nudges for all your calendar entries automatically.
> There is absolutely no "intrusion" to speak of here.

Well, there is, actually. I think it's a bit histrionic to worry about it, but we definitely have intruded on Joe's freedom to buy and sell cats. Maybe he's into cat arbitrage. Maybe he makes them himself. Maybe he's got a lot of cars he doesn't need to drive and is strapped for cash. The point of the sticklers for freedom here is that regular citizens shouldn't need an explanation for why they're buying or selling a particular thing to another private party, and therefore tracking the fact that they did is an intrusion.

It's not technically wrong. It's an intrusion. It just happens to be an intrusion I think is reasonable.
The important part in Zig is that you don't need another compiler toolchain to build a mixed C/C++/ObjC project, how that's implemented under the hood (e.g. embedded clang vs self-made compiler) is an implementation detail.

I'd argue that C++ and ObjC support is just as important as C support for real world projects (because a lot of important libraries are written in C++ unfortunately, and ObjC is needed for calling into macOS system APIs - although this could also be done more awkwardly by going through the ObjC C runtime).

The one big downside of embedding Clang and the whole of LLVM is the compiler's executable size (somewhere around 170 MB).
The irony of posters on here —a website that’s a pretty decent example of moderation leading to a better user experience — posting about how we must abolish the mods is never lost on me.

Shine on you crazy diamonds!
> ... because how do you scale self-awarness? It seems almost an oxymoron.

Well, in very small doses numbers help. It is easier for a small group to watch the blind spots of each member. As the numbers scale up to serious group sizes things seem to fall apart again as a hive-mind forms.

Which means that the sensible thing to do is to form a committee of intelligent people with good incentives, then go trustingly with what they suggest. Which is, coincidentally, a successful model that governments use. All the politics is generally a distraction from the real work being done by committees.
Apologies, this should be fixed now.
Often, this is a side-effect of tax code weirdness.

In my legislative framework, branded stuff is considered "advertisement", which can be given out with any amount of value to employees. Non-branded stuff - or money - would be taxable income. With a tax rate of up to 48%, that's a difference, and paperwork for the employee.

So I have a very nice thermos with my employer's logo on it, and I am quite happy about it.
> What does it matter how much money was in your pockets.

Does it not matter? Can we step back and think this through? The op is most likely comparing himself to all the better placed individuals compared to him. Do people in America always think about third world countries and feel humble, modest and welcoming? Everyone's got their own struggles.

> You had the momentum generations of high caste privilege and high caste education focused culture in India that let you achieve that

Surely, you don't feel humble because centuries of evolution put humans at a disproportionate level compared to others.

The op may have got an advantage because of cultural and historical reasons, but is that a conscious decision on his part? I don't think people voluntarily supress lower castes on a day to day basis.

90% of high caste folks might have started the migration to US, but it's just been a couple of decades.

I also don't understand this dichotomy. If higher caste people are affluent and influential in Indian society, what could be the reason for them to move out and make bread in a different country?

Judging from op's hundreds of dollars, they were definitely not affluent. If you are not affluent, you can't be influential. If you are not influential, you have hustle your way through everything, literally everything.

I think this comment is harsh on the OP.
There are a number of websites on HN where I've faced this while on a datacenter network; though I hadn't investigated the previous instances simply because I was using a VPN on my phone.

In a rather interesting twist, this page serves up Datadome's bot management scripts; but I wonder why they don't proceed with the fingerprinting as opposed to directly blocking the user.
> let me see "removed" posts, banned accounts

This is what HN does with "showdead".
The vision and dedication of a team of Caltech scientists
Very similar, but with visualizations of how things integrate with each other, and concrete code examples: https://manuel.kiessling.net/2020/12/29/single-sign-on-and-r...
I wonder what the new pricing will be. Usually, it was something ling 4 X year subscription = lifetime.
It's why I prefer to give hard cold cash. Not even gift cards...cash. And definitely not those stupid Visa gift cards where you pay a activation fee and occasionally get scammed.

I'm also from an Asian background where cash is more acceptable. I feel any other form of gifting is a ruse to increase consumerism, i.e. the popularity of gift registries, the perception that one isnt thoughtful if you dont yet a good gift etc.
The article says 8x all in
Does someone have a better sense of economics of charging $8/Month ?

At best assuming approximately the 420,000 [see Ref.1] folks currently on twitter will pay $8/Month - which gives about $40 Million in *annual* revenue.

Will the economics work if the advertisers stay out ?

Also, why charge in the first place if the number is too low ( < $40 Million).

Source :
[1] https://www.statista.com/chart/28633/verified-users-on-twitt...
We shouldn't even be talking in terms of generations. Bloodlines exist in biology, but we need to completely disregard them when talking about social issues. Working your ass off so you can send your children to a good school and they can then live a better life than you did should be considered a societal failure, not a success story of economic mobility.

True mobility is when you can work reasonable hours at your horrible warehouse job, enroll in a higher education programme and in 2-3 years, switch jobs to something that pays better. No need to rack up decades of student debt, no need to work crazy long hours or multiple jobs just to afford a place to live.
> It is easier for a small group to watch the blind spots of each member. As the numbers scale up to serious group sizes things seem to fall apart again as a hive-mind forms.

I agree, but that's not self-awareness—that's seeing other people's blind spots, which is much easier, in fact it happens automatically.

You're right that it falls apart at scale. Somehow mass blind spots take over. Can that be mitigated? That is the question.

Group dynamics seem to change qualitatively at each order of magnitude. Maybe the problem of "social media", i.e. internet group dynamics, is that we're dealing with orders of magnitude we've never seen before. That doesn't get worked out in just 10 or 20 years.
What's the situation this days?
They are. Those things have become a tabu. There are some "official" naratives about this and that's all.
In the end, only the nazis have something to win.
> at least got people to start talking about it

You speak as though this is something new. It isn't. It was the same story back with Apple's iPod's clickwheel-and-drilldown UX. Nothing was stopping Apple's competitors from innovating on their own and potentially making something superior (and I was particularly fond of the contemporaneous UI of MS's PocketPC 2000's Media Player[1]). But they didn't. Instead everyone: Creative, Dell[2], Rio/iRiver, everyone just kept on putting out unusable plastic flash players that took 30 minutes to sync 10 minutes of 32kbps mono MP3 over COM1 or bulky HDD players unusuable to everyone except those people with ponytails who run that strange new "Linux" operating system I've been hearing so much about.

And before that, it was probably Braun vs. Philips.

For noncoherent reasons that I can't string together into a readable paragraph (I wasted over 10 minutes trying to already) I'll just say I think it's inevitable that in any consumer industry there will eventually be only one company with a monopoly on good taste and good design. Also consider how companies will hire people who are already aligned with the company's values, and we know Apple hires people with an eye for design regardless of their role, but Apple's competitors never had an eye for design, so they neve hired people with an eye for design, so they're never able to compete with Apple on the design front. Upstart competitors might be formed with an objective to wrest-away Apple's monopoly on good design but (post-1997) how could any design-focused small-fry compete with Apple on design? They can't. They'd ever get bought-out before they become too big to become a threat (if Apple's feeling nice), or end-up as another also-ran Android vendor with a nice handset, but you're still stuck with Google, and without the leverage of Samsung.

I don't know where I'm going with this post now, so I'll just end it here.

[1] Rightmost screenshot: https://i.ytimg.com/vi/KMKZKDjJzWY/maxresdefault.jpg

[2] https://daringfireball.net/2005/09/ditty
My rude opinion: imprint is nonsense. It does not protect you from fake shops at all. It’s no brainer to copy one from another shop. As a legit seller you can be sued by shady layers for errors in imprint. Who is looking in public registers while shopping online…
You mean internal tool or user facing/public?
You can write stored procedures in it. Which is fine.

You cannot though write a new storage engine, a new kind of index, or something else that takes an extension.
I'm trying to entice reading it! :)
It's actually the opposite from my experience. It's very easy to get asked to work late (getting asked "hey, can you look at the build blocker?" towards the end of the day) compared to being asked to work early (barring having to acomodate any meetings with time zone differences).

It's just an anecdote, but I've never once been asked to work early in my software development career.
Advertising and branding. Google is a search monopoly, and has (or used to have) the reputation of "we are making high-quality software". We have a web search monopoly, because our search engine is the best, so why not trust us for making the best browser too?

Firefox has no search engine monopoly to advertise and build its brand upon.
I'm already afraid of Apple's next iPad Pro
No UIs feel native these days, everybody invents their own UI kits.
Indeed! If your dependencies are able to be command line programs that are shell scripted together, then you can in fact have an access policy on a per-dependency basis, using the pledge.com program linked on my website. So shell scripters rejoice.

But it gets better. If you build Python in the Cosmopolitan Libc repository:

git clone https://github.com/jart/cosmopolitan
cd cosmopolitan
build/bootstrap/make.com -j8 o//third_party/python/python.com

Then you can use cosmo.pledge() directly from Python.

$ o//third_party/python/python.com
Python 3.6.14+ (Actually Portable Python) [GCC 9.2.0] on cosmo
Type "help", "copyright", "credits" or "license" for more information.
>>: import cosmo, socket
>>: cosmo.pledge('stdio rpath wpath tty', None)
>>: print('hi')
hi
>>: socket.socket()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/zip/.python/socket.py", line 144, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
PermissionError: [Errno 1] EPERM/1/Operation not permitted

Since we didn't put "inet" in the pledge, you can now be certain your PyPi deps aren't spying on you or uploading your bitcoin wallet to the cloud. You can even use os.fork() to rapidly put each dependency in its own process, then call cosmo.pledge() afterwards to grant each component of your app its own maximally restrictive policy.

Cosmopolitan Python also ports OpenBSD's unveil() system call to Linux too. For example, to disallow all file system access, just call cosmo.unveil(None, None). You need a very recent version of Linux though. For instance, I use unveil() in production on GCE but I had to apt install linux-image-5.18.0-0.deb11.4-cloud-amd64 in order for Landlock LSM to be available to use unveil().
I'm a beginner. And I have just one fear. That I'll be ridiculed. I've found this culture hard to accept. Even opening public GitHub repo was strange step for me. But I realized latter that no one actually cares about my mistakes. Haters gona hate. So it was a hard start for me. Now I love it.
Turing Machine in Prolog (2017)
If you suffer no consequences from lying then it's not a thing
Why didn't you rate the seller on their profile page?
Doing it on the product page makes as little sense as removing stars for bad packaging on there.
To understand tabstops properly, you need to throw away the "They always expand to N spaces." idea. If you have access to a mechanical typewriter with tabstops, then go and look at how it works (with tabs being set by protruding pins on the carriage). Tabstops in terminals in the Unix and Linux worlds work this way.

https://superuser.com/questions/710019/why-there-are-11-tabs...
Google’s AI image model Imagen is getting a limited public outing
This. I came across this quote:

> If somebody came to me and wanted to pay me a lot of money to build a large scale message handling system that really had to be up all the time, could never afford to go down for years at a time, I would unhesitatingly choose Erlang to build it in

RabbitMQ might be the most famous example of a product written in Erlang. It's great, but I've seen it fall over. In my experience cluster failures typically caused by a handful of root causes like hardware error, resource exhaustion, network partitioning or operator error. Whether a system is built in Erlang or Go, I'd imagine that these same root causes would exist.

I'd love to read in-depth why RabbitMQ's Erlang underpinnings make it better than, say, ActiveMQ or Kafka. Assuming a 3 perfectly built clusters that aren't mishandled, will RabbitMQ somehow "win" over the other two because of some particular greatness in the Erlang?
I get "406 Not Acceptable
openresty" when I try to open link. Am I the only one?
> I'm pretty sure even OpenBSD packages OpenSSL in ports for third party software, since so many pieces of software basically require it and do not work with LibreSSL anymore.

Theo Buehler talked about the current status of LibreSSL compatibility at EuroBSDcon last week. To take some quotes:

“> 2000 OpenBSD ports link against libcrypto or libssl” [i.e., LibreSSL]

“< 100 of these need patches (< 5%)”

“6 ports link against OpenSSL”

https://www.youtube.com/watch?v=bF1d_aCSzS0
Another productivity black hole: Antimatter Dimensions

https://ivark.github.io/
Measure the air quality in your home to know what you breathe
[Shameless plug]
If you wish to try another, I built a small proof-of-concept here: https://www.olym.pe

(registration necessary)
Measure Latency for Embedded Systems
'Predatory gambling' has helped the lottery reach sky-high jackpot, critics say
"Apache AGE is currently being developed for the PostgreSQL 12 release"

Well sorry, we have PostgreSQL 15 already.
I'd still take pizza over having to expense a coffee.
The opponent was advocating for not prosecuting any misdemeanors as a matter of policy. There's a big difference.

Edit because I happen to have the interview bookmarked: Nicole Thomas-Kennedy was the opponent, and in her own words[1], "the goal is to end misdemeanor prosecution."

[1] https://publicola.com/2021/10/18/publicola-questions-nicole-...
Reminds me of this post just from few days ago[1]. I wish HN had a rule or two dedicated to PL tribalism.

https://news.ycombinator.com/item?id=33382003
Single-Dose Psilocybin for a Treatment-Resistant Episode of Major Depression
Greyhole is a clever pooling strategy on an arbitrary set of drives (comparable to MergerFS). SnapRAID is a parity construction strategy on an arbitrary set of drives, and has the side effect of being able to detect and correct bitrot in data. It is pretty common to pair MergerFS with SnapRAID.
Prophet

https://facebook.github.io/prophet/
It’s a decent theory but clearly wrong. Assumes perfect information among other things.
> Aren't all moderation and all censorship about freedom of speech, or the lack thereof?

Freedom of speech is a right that concerns you, a citizen, and public authorities. Censorship, in return, is when that right is interfered with by [the public authority] blocking your speech.

Moderation is when a [private entity] is blocking your speech. There is no public right that is interfered with in that case. You have the right to say what you want without public authorities interfering, but you don't have the right to say what you want in my house.

(Note: this definition is different from the one used in the article)

Whether or not Twitter is infrastructure, and therefore moderation equals censorship would be different debate.
Active harassment should probably be a bannable offense, few people will dispute that. What they will dispute is the mechanism used for banning; AI is notoriously bad at discerning human intentions.