skysight-inc/HackerNews huggingface dataset:
You're right. I was remembering something badly. I found some interesting things while looking into this, though:

C's behavior of defining literal strings as null-terminated character arrays is already described in the 1978 K&R. The word "string" is used in the text of the section, but not in its title, "character arrays". Null termination is mentioned here, as the book works through an example of successively reading lines from standard input:

`getline` puts the character \0 (the 'null character', whose value is zero)
at the end of the array it is creating, to mark the end of the string of charac-
ters. This convention is also used by the C compiler: when a string constant
like
"hello\n"
is written in a C program, the compiler creates an array of characters con-
taining the characters of the string, and terminates it with a \0 to that func-
tions such as `printf` can detect the end:

| h | e | l | l | o | \n | \0 |

the `%s` format specification in `printf` expects a string represented in this form.

There is a hint, immediately prior to this, as to why null termination might have been chosen:

The length of the array `s` is not specified in `getline` since it is determined in `main`.

(Where `getline` is a function defined in the example, and `s` is a parameter to that function.)

https://en.wikipedia.org/wiki/Comparison_of_Pascal_and_C#Str... has an intriguing comment that seems likely to be related:

> In Pascal a string literal of length n is compatible with the type `packed array [1..n] of char`.

> Pascal has no support for variable-length arrays, and so any set of routines to perform string operations is dependent on a particular string size.

I suspect that I was remembering someone writing that how to represent strings was a live issue at the time of the creation of C, rather than, as I wrote above, being a live issue within C for some period after its creation.

----

On an unrelated note, it's interesting to see that the web convention of fixed-width type for code literals and variable-width type for natural text was already in force in K&R 1978.
> From 1937 to 1945, there were 23 battles where both sides employed at least a regiment each.

Communist guerilla armies tend not to deploy regiments regularly. Mao discusses this in "On Guerilla Warfare". The NLF in Vietnam, the 26th of July movement in Cuba etc. we're not big on regiments.

Vietnamization and US withdrawal from Vietnam happened without much regiment deployment (other than the Tet offensive and a handful of other occasions). The guerilla tactics were fairly effective though.

"Guerrilla armies should fight like large, well funded armies" is a very old complaint that has been made. I'm sure the British and loyalists used it against George Washington.
Eocene Earth was inhabited as well.

Maybe Earth with modern humans or Earth with a developed civilization.
FWIW Raspbian has a 64 bit version in beta https://downloads.raspberrypi.org/raspios_arm64/images/raspi... the base image is outdated but you can full-system update from that point.

I'm the same way though, I just use a more typical distro unless there is something I need the standard toolset for.
> 2. Nim (Programming Language) is not indexed.

You and dom96 (https://news.ycombinator.com/item?id=28013376) both noticed this issue, just two minutes apart. I guess there's some sort of inclination among HN readers testing out a static copy of Wikipedia to search for Nim? :-)
I feel the same way. Despite this comment, I'm far more reticent to share an opinion, and I don't find that I have so many great unknown facts to enlighten others. I do like getting one or two "Internet points" on HN over the years, though :)
I've gotten Twitter follows and a few Patreon/Ko-fi supporters through it, but nobody's ever emailed me through it.
You could set up forwarding with Anonaddy, Blur, or SimpleLogin such that you could disable the address the minute you noticed spam originating from it. Alternatively, set up a SMTP redirector:

https://github.com/bluscreenofjeff/Red-Team-Infrastructure-W...
We also have public libraries with pretty amazing inter-library loan programs...
And that One True Morality is from the Enlightenment? Humans have existed a lot longer than the Enlightenment and battled with ideals of morality throughout the ages. To suggest that there's somehow a single philosophy that's correct is quite pompous.
I stripped my website down to nothing after someone did this, because I left one too many crumbtrails and they were able to pin down an email address. It's not their fault I slipped up on that, so I didn't take any harm from it, but it was definitely a reminder that I'm not interested in my connection to HN spreading beyond HN.

However, I still absolutely endorse the suggestion made here, if unasked contact is of interest to you, especially if you're looking for a job.
> high performers

It could be random and it will still work. You want to pay a few people fairly so the others fight with them for that positions. Workers fighting workers is the goal of this incentives, it had nothing too do with performance.
Read-only Wikipedia is just "Wikipedia" for 99.99% of users. I can't remember the last time I've even considered clicking the edit button.
Sort of.. remote anywhere positions have opened up candidates that don’t live in one of the select few hub cities.
I thought the most important part of the article wasn't about the missing API. ( Many of them are draft status )

It was the buggy implementation of a feature that go unfix for years [0]. It say it is supported only to find out it really doesn't. Or those one-offs, I think [1] is a much better take on the problem.

And as a Web page browser. I dont have much complain. But in terms of Web Apps.... there is where the fuss is all about.

[0]https://github.com/adobe/react-spectrum/wiki/Tracker-for-Ext...

[1] https://daverupert.com/2021/07/safari-one-offs/
Wow! The end where they use sql to manipulate the DOM I think just blew a fuse in my brain. "Brilliant" feels like an understatement.
>The results replicated and expanded on what was previously found: bronze medalists were more likely to exhibit a smile than silver medalists, while gold medalists were happier than other medalists

Confirmation of the fairly obvious aside, if anyone thinks that something as superficial as smiling tells you anything reliable about the internal mental state of a person we truly have reached a new age of phrenology.
How did you fix it for him? Did you submit his email to a spam not?
Were you able to raise VC money easily for this? I have created this concept here - HomeLux.ai where the idea is to bring all the people in-house
Thanks for sharing.

Your comment reminded me of a similar experience I had almost eight years ago. I went camping in the desert with a few friends of mine, and in the evening we slept inside these caves that looked out into sky instead of into the horizon--as in the cave entrance was vertical instead of horizontal.

In the evening, from inside the caves, I laid down and looked up and felt a sensation like the one you're describing--"weightless" is definitely the right word. It felt like I was looking into infinity, a literal ocean of stars. The cave was completely pitch black except for the opening that looked out into the sky. I don't have the right words to describe it, but I felt like I was almost pleasantly "falling" into that opening and out onto the star field, despite literally laying in the dirt in the middle of cave in the middle of nowhere.

I quite literally am not smart enough to conjure up the right words for how I felt--and still feel about, all those years later--but I felt this odd comforting sensation that the universe is much larger than me and here I was just sitting in its cradle.
What is our notion of life but an abstraction anyway?
One should distinguish the Javascript language from the DOM API. jQuery make Javascript "less painful" by making the DOM API consistent across browsers and versions. IMO the Javascript language is actually pretty good (given its 10 day gestation). Yes, there are some bad parts but every language has bad parts. Don't use the bad parts. That requires discipline though. And knowledge. Maybe I'm expecting too much.

What still amazes me is that Javascript has had this powerful functional programming capability this whole time and our industry has only recently learned/learning to use it.

"There are only two kinds of programming languages: those people always complain about, and those nobody uses." -- Bjarne Stroustrup
It should be trivial to split it up into 1GB chunks or whatever. In fact, if you only request single pages, you could split the database up into pagesize-sized files. This is a lot of files, but at least it avoids the need to do range requests at all. You probably want to increase the pagesize a bit though (e.g. maybe 256 KiB instead of the default 4 KiB?)
That hit in the feels. Thanks for sharing.
I use my real name and list my employer, so I should hope that people can figure out my contact info.

But yes, I have made some interesting contacts on here.
Why would you want to?

I remember when I thought it was a great idea to use Elasticsearch as a primary database. The decision was a mistake
You can generate null terminated strings at the point of interfacing with those legacy functions. Yes there is overhead, but you're already probably prematurely optimizing all the wrong things anyhow since you're using C. :-P
That's just a feeling you have. I know, because I had it too. I'd be surprised if it's not a typical self-criticism phenomenom that is common to most people, just like the famous impostor syndrome.

But just like 95% of people here seem to have a more interesting and knowledgeable opinion that mine, there is always people for whom you are part of that 5%. Just don't be shy of participating. You'll learn more and faster from others. And some interesting conversations will happen, in public or private, for sure.
For anyone curious, this is something that's been discussed on HN at length as a result of a lkml thread

https://lkml.org/lkml/2012/7/11/103

https://news.ycombinator.com/item?id=9629461
How’s this relate to Wal-Mart?
I once wrote a message saying "if you see this call me at <number>"
An hour later and 1000 messages shown zero calls.

So I updated my test to grab their OS user name and called them.

"I thought you were testing something so I didn't call"

While they may read the message, it didn't mean the purpose was clear.
This study does not show a before and after cognitive decline from having COVID. It shows correlation between people with lower cognitive levels having COVID vs those who do not have COVID.

The causality could of course be going in the opposite direction from what you are implying (lower IQ -> more likely to get COVID).
This is a stake through the heart of efforts to promote COVID-19 EUA vaccines to the vaccine-hesitant.

The CDC is going to tell us the fully vaccinated need booster shots in the fall. Anyone who hasn't gotten a shot yet will see through the efforts to get them vaccinated: what's the point, if natural infections are the only way to get protective immunity?

I'm making the best of our predicament. Tweeted yesterday about having fun commiserating with the unfortunate masked employee at the grocery store: https://twitter.com/TaxiCabJesus/status/1420989505163567107
I’ve had that happen a few times. At the very least HN outreach is personalized.
FWIW, Zig is as sharp as C but with a handle.
Did an identity thief write this post...
> Exactly. UK is a democracy with a pretty good justice system that follows the law

The UK is a 500-year-old monarchy which somehow absorbed democratic representation. Which is the reason the Queen, to this day, still has privileges like being able to oversee draft legislation and ensure her possession are exempted from it - something that was confirmed this week, coincidentally, in Scottish matters.

This also means the UK system is absolutely ridden with obsolete and fundamentally anti-democratic devices, that occasionally rear their ugly head. Like when the Snowden revelations first emerged, and some GCHQ goons showed up at the offices of a newspaper (the Guardian), ensuring all computers that had touched related info were smashed to pieces. Or the fact that there are multiple parties in the Parliament, but only two of them are admitted to the Privy Council and receive security briefs. Or, well, the cesspool of corruption and wealth that is the House of Lords (want a seat? Just pay the party in power, you'll be in by next Christmas). And of course, the City of London - a constitutional abomination by any reasonable standard, in the third millennium, but still firmly at the very heart of the capital.

Knowing all this, you'd be less surprised that people might think the system is corrupt. Because, well, it fundamentally is.
Well...unless you are one of the people that don't have innate rights at the moment. See, for example, the Dred Scott decision.

Your choices are (a) moral relativism, or (b) all humans are despicable. Choose wisely.
Fantastic! The sense of dizziness--you don't expect that when you see the night sky but it's a very real feeling.
> I’m fairly sure that no spammer has scraped my address from here.

In my HN profile, I use a unique throw-away address that is specific to this site.

It's been harvested in the past. I think only once? At most twice, in any case.

My currently installed alias, the one with a 997-169-9629 local part before the domain, was created on "2020-07-01 16:14 PDT". Almost exactly a year and a month ago. It was used for a couple of legitimate mails; no spam so far.
Now I'm curious how much Amazon's workforce expands seasonally.
In truth they don't but it's one of China red lines. If the ROC drops its claim on the mainland and just tries to be an independent country (things which the ROC wants to do), China said they will see it as casus belli and invades. China bullies Taïwan a lot but the rest of the world remains spinless in front of it.
So Walmart Canada's pick up seemed to develop in front of my eyes. At the start of the pandemic, there were almost no spots and they screwed up a lot. E.g you'd get half the items you ordered, wrong items, would not get pick up order ready in time, fee on orders, etc. Whoever ran the show, executed brilliantly. It kept getting better. A relative scoffed at my high praise, and I convinced him to try it .. he too was blown away. I bring this up because so many Canadian retailers acted stupidly and frankly, many old school businesses keep doing this all the time (looking at you Costco .. Costco seemed to have pretended the pandemic did not happen .. they did not develop a touchless pick up model at all, and their online prices seemed to always be higher than the store price .. cancelled my membership there).
China has around 1/5'th of the emissions per capita compared to western countries. It's western countries that are a threat to the environment. China is also the largest investor in green technology globally.

Are you aware of Snowden's leaks? Of Wikileaks? US military and intelligence is active and aggressive around the entire globe. China is not. Through direct action and funding of terrorist groups, the US is responsible for the death and displacement of tens of millions innocent people in the middle-east and Africa just for the past few decades. The US government is a much bigger threat than the rest of the world combined.

China managed the spread of Covid within their borders in an excellent manner. Many western countries had a catastrophically bad reaction to the pandemic with many millions dead. Only a handful dead compared to literally millions? Who's the biggest threat to human lives during pandemics?

Your kind of sentiment is extremely hypocritical and ignorant. I think something needs to be done about this kind of ignorance.
No, but it goes from sexual harassment to sexism... Playing devils advocate it could even be blizzard asking incredibly dumb questions to a girl.
Be careful trusting what you read. The blogs are run by people who've drank the cool-aid or move there already having made their money and life, not the kids who grew up there, saw it for what it was and GTFO'd or the townies who are either living on the relative poverty line (these economies are screwy, federal numbers don't apply well) or have a substance addiction.

Source: Grew up in one of those shitholes, actively rooting for sea level rise wipe it off the map, there is nothing of value there.
Funnily enough, one of the reported SAEs for the original Moderna trial was a (non-fatal) lightning strike. Obviously, this was nothing to do with the vaccine, but Moderna did have to declare it.
SQL Interface to Tracefs
> But how much do you want to bet that if you asked this question to 100 people, better than 90 of them would agree

I would guess that more than 50 of those 100 people would agree with me that the married person shares more of the blame than the unmarried person.

Anyway, even if you're somehow better than me at guessing what other people think about moral questions, to the point where so much as 90% of people agree with you on this one, is that "unambiguous" in your mind? I would think "unambiguous" is something like 99,99% or more.

> I said moral, not legal.

I was also referring to a moral contract, not a legal one. Most people who are in a marriage have an agreement between each other that they shall not mess with other people (not a legally enforceable contract, but an agreement nonetheless). If you dedicate yourself to one person, and then you go and betray them behind their back, you're breaking a certain moral code. That's my opinion. If you think that the married and the unmarried person share equal blame, I guess you don't see anything wrong with breaking that contract? If committing adultery is just as bad as committing adultery PLUS breaking a contract, then clearly in your mind breaking a contract is not bad?
> I can make the database run arbitrarily long and complicated queries

Do you understand that the database runs on your computer? You can only DOS yourself.
Activision Blizzard CEO Mad That Employees Keep Releasing Same Complaints
You can have a more public facing email.
> Apple vendored displays have a proprietary protocol

OMG. What will be next? Apple vendored flash cards?
> Olives are not fruit in the culinary sense (no one puts olives in a fruit salad).

I'm pretty sure this is wrong. No one puts lychees in a fruit salad either. There are a couple of things going on:

1. Lychees and fruit salads come from two different cultures, so there's no real way for lychees to be part of fruit salads. The groups "people who make fruit salads" and "people who eat lychees" have negligible intersection.

2. "Fruit salad" is a word that refers to something in particular. There's no obligation for fruit salad to include all fruits, and in fact it never does.

But if you ask people what olives are, they'll tell you they are a fruit.

And people put avocados in fruit salad all the time, despite the fact that, like olives, they are a nonsweet fatty fruit.

https://www.tasteofhome.com/recipes/avocado-fruit-salad/
Yes, I have a Pi4 booting off a SSD on a USB-SATA bridge. No SD card installed. This graduated from beta about a year ago. [1]

Btw, since you brought up USB: disable UAS [2] when using cheap USB-SATA bridges! UAS is regularly recommended for performance reasons, but I've gotten block-level errors (eg those below) and filesystem corruption with UAS multiple times and never with UAS disabled. I've seen enough similar reports on the Internet to think it's better to just disable UAS.

Sep 22 17:26:01 nuc kernel: sd 4:0:0:1: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
Sep 22 17:26:01 nuc kernel: sd 4:0:0:1: [sdb] tag#2 CDB: Write(16) 8a 00 00 00 00 01 4d b4 c4 00 00 00 03 b0 00 00

The Linux kernel has explicitly disabled UAS for some of these chipsets, but clearly not all of the offending ones. I'm not sure what you'd have to do to be confident your chipset is safe. I just don't think it's worth it.

[1] https://github.com/raspberrypi/documentation/commit/bfef967d...

[2] https://github.com/scottlamb/moonfire-nvr/wiki/System-setup#...
The only good news is that the person who patented his invention is a woman.

Woman were, for the longest time, singled out as lacking the killer instinct to succeed in business.

Not her apparently!
Thank you, Phiresky. My little side project only exists because of your work.
They're probably using highly restrictive zoning/permitting to keep it out. Local businesses that are charging tourist prices don't want big box stores (who can't get away with a very big local markup) to compete with and local consumer facing businesses hold basically all the influence in that kind of economy.
As a Linux developer, I can test my site in Firefox and Chrome (including on my CI). I can't test it in Safari. The fact that it differs the most makes it a real pain.

I don't really care whether an iOS developer considers this "invalid". My apps support platforms that I can afford to test on, and those that are compatible.
Yep.

But some people still argue for FB (google, apple,...) to have that power (and more), because they believe they'll always be on the same side of "truth".
I'm going to err on the side of caution and just leave my account blank. I don't see why I should put my neck on the line to improve someone else's browsing experience.
It was always an "anything that gratifies one's intellectual curiosity" forum (at least since I was first aware of it), but it grew out of a startup incubator, so the early focus was inevitable.
If you have Christians criticizing Islam (of which there are rational criticism of both) but Facebook moderates what Christians may post about Hadiths or the Koran, it will make people not want to be on Facebook. Not only will they be the arbiter of what is "tolerable" Christianity, but they'll also try to hide some of the horrors of things in Islam (just as an example, much like how the Catholic Church tries to hide the things about the Crusades and pedophiles).
It would be reasonable if Apple themselves implemented a way to control the display settings like that.
I usually fuzz true details (am I 40? am I 47? Do I live in Chennai? Mumbai? Thailand?) about myself when sharing an anecdote here. Or eventually create a new account after I feel like I've shared too much on one. Pretty paranoid I guess.
I live in an area with a unusually high number of wlw :)

Women seem to have different facial cues when critiquing outfits. Straight women seem to be less guarded with those cues. It's a totally different facial expression from checking someone out.

Gay women seem more discrete with their checking out unless in an explicitly gay environment (am bi, have been in those environments, the game night I go to is largely wlw).

This makes a lot of sense when you consider growing up in locker rooms etc with people you might find attractive. If you check any of the reddits for women that came out later in life (commonly defined as 30+ yrs old), you'll find quite a few posts from people struggling with expressing attraction without feeling creepy.
Isn't Cloudflare's limit 512 MB? (except for enterprise plan which has no price defined where it's 5GB)

https://support.cloudflare.com/hc/en-us/articles/200172516-U...