skysight-inc/HackerNews huggingface dataset:
An ABI also has a concept of defined and undefined behaviour. You can design an ABI that is fully protected against abuse but often the performance penalty for that will be huge.

Instead what you'll do is specify the constrained inputs and expected output behaviour. From there you can out anything that violates those constraints as non-conformant. As long as you maintain those constraints between versions, there's no ABI breakage.

Also you can absolutely have constant references in an ABI. There may be ways of ignoring the const depending on how you design the ABI but they will be obvious abuse.
DMR on `restrict` (originally proposed for C89 as `noalias`): http://port70.net/~nsz/c/c89/dmr-on-noalias.html
This is like the Encyclopedia Britannica entry for 'email'. I wouldn't call it "from first principles", I'd call it "a survey of everything related to email and email delivery" (propane and propane accessories).
Create your NFT store without any coding knowledge gem by Tcl
New Results on Work from Home
> and ghasp talk to real people

Actually this is a deal breaker. I'm a very personable person and people usually find me the life of the party. But when I'm looking for a specific thing, I'm optimizing for search latency. Spending hours performing the search is not enjoyable to me. When I'm just browsing, I can enjoy that, but most of my purchases are task-oriented.

You can bemoan how "people these days" do things if you want, but it won't get you any closer to understanding why they behave that way.
This is actually a double-edged sword, at least in the USA. You can’t have volunteers and employees do the same work, even at a charity. If you do, you fall afoul of federal wage laws. So you aren’t allowed, for example, to have a mixture of paid and volunteer workers acting as docents at a museum to help with staffing challenges, or have a mix of volunteer and paid workers work the register.
Not that Snowden leads an open and tremendously free live in Russia. At least that's not what it sounded like in his autobiography.
That's interesting.

I'm not sure that software engineer lost. If she only cost her employer a third of a salary, that quite a big bargain chip. She could have used it to get more flexibility, better job security, maybe a more interesting role, etc.

But of course it still depends how people treated her and how she felt her status was. But that could go either way.
Refurbished Lenovo Thinkpads on eBay or Amazon is what I've gone with for my past two machines. Not disappointed at all. Quality builds for quality prices.
Apologies if it sounded dismissive. It really is a cute analogy. (Where I mean that as good.)

I agree he touched on optionality. I am just elevating it to a first class concept in the story. Latency and throughout are not hallowed facets.

Edit: I can see how my post looks like a counterpoint. I should have framed it more that I don't think he is fully capturing the important facets of his own metaphors. If you are a city planner, transit is expensive, but can allow people to live with a lower footprint at a personal level. It is not primarily a throughput versus latency decision, but a cost option. Similarly, most people will boil however much water their kettle holds, and they picked that thinking on how many people they make coffee for.
They did have some kooky policies like the abolition of child labor. Some people today are still against this even today on the basis that it's pro freedom and really it's better for the children in the long run:

https://www.learnliberty.org/videos/economic-freedom-does-ch...

In all likelihood had it not been brutally suppressed it probably would have ended up being somewhat like norway.
Can you elaborate on the kind of data and queries that SQL is slow for?
Lets rename it to Wageslave News
Most software projects aren't successful after spending ten minutes on them. Don't get hung up on the analogy.
I'm familiar with both, and have Pi's bit-banging at 8MHz. It's not hard-realtime like a PIC though (where I've bitbanged a resistor D2A hung off a dsPIC33 to 17.734475MHz). It's an improvement over the years, but surprisingly little since bit-banging 4MHz Z80's more than 4 decades ago, where resolution was 1 T state (250ns).
Seller rights and model delivery in an AI model marketplace
Can you imagine the shit show that would happen if a developer installed a video playing app on his own CarPlay device and he got in accident?

All car manufacturers are very careful about what you are allowed to do on driver accessible controls on dashboard gadgets.
Another way to look at emphasizing latency/feedback is to "increase learning". There's a great book, Lean Software Development: An Agile Toolkit, that covers this.

The idea is that there are so many unknowns within a project, that organizations should aim to move quickly enough to uncover them sooner. A lot of these unknowns lead to constraints that have profound effects on designs, so if you delay learning them, you are more likely to have to re-do designs deeper in the process, when it is more costly. The sooner you discover them, the more likely you will have the flexibility to account for them in the design.
In a situation with less top-down regulation, security-focused users are more likely to rely on guarantees and audits, perhaps causing them to select different vendors.
I think the Zalgo answer is an wonderful example of people thinking they are smarter than they really are.

Spot the error:

1) HTML is not a regular language

2) Regular expressions can only parse regular languages

3) Regular expressions can not be used to to parse arbitrary HTML documents

4) If you try to use regular expressions to parse HTML documents, you are doing it wrong

The error is between step 3 and 4: It's true that you can't write a regex that parses arbitrary HTML.

However, very often we do not have to deal with arbitrary HTML. Very often we have to deal with documents that only use a subset of HTML and they can be parsed by regular expressions just fine.
I am confused. How do you find local businesses and check their stock levels?
You can't pass a C++ object with a user-defined copy constructor or a non-trivial default to a C function. If you want to pass an object from C++ to C it has to be POD (plain old data) i.e. effectively a C struct.
The Left Hand of Darkness takes place on a very cold world. The Dispossessed takes place on a pretty normal seeming world and its somewhat less hospitable moon.
Not if he could be making half a billion if he could articulate what he does?

The thread and feedback/discussion is clearly helping, as he’s getting a lot clearer on what he actually does and what the value is.

But my point stands. With someone who has business and sales sense, he could be doing dramatically better.
Isn’t that just a paraphrasing of dark matter? Our math is wrong and something is up/missing from the calculations. Call it dark matter or an incorrect gravitational field, or whatever you like.

I always took dark matter to just refer to the observed phenomenon that doesn’t line up with the calculations, and that gap definitely exists.
Do You really understand interfaces?
We have seminar courses for this where master students do some lit review (mainly based around one paper) and present that work in a longer form writing.

This is also "just" learning by doing. There is some back-and-forth with PhD students who help with the structure, but there's no explicit instruction.
Probably it's this kind of thinking that allowed for such a thing to occur. Not all gates were equally secure.
I'm not sure it makes sense to compare math presentation to software.

Unlike a math textbook, you don't show how combinations of symbols are manipulated over time in a codebase as part of a coherent narrative that builds toward a math conclusion.

You also don't generally try to teach something new in the code itself, as opposed to in a team wiki or cited reference.
Please elaborate. I’m having a hard time understanding your argument. Are you saying, for instance, that charities should not exist because they are a band-aid for missing government policies? I would submit that the dog rescue charities that I support are not going to be made redundant by a guaranteed minimum income plan for canines…
I think the reason is just that it isn't widely used. It's a very niche use-case, anyway. Even link-shorteners don't particularly benefit from something like this, and for all cases where the actual amount of data is concerned, simple base64 is more efficient.

But yeah, making a wikipedia entry and adding it to this list (https://en.wikipedia.org/wiki/Binary-to-text_encoding) could spread it a little further.
That's because taxation is connected to the notion of collective decision making. Buying a sandwich is not.

And BTW, there are some cafes/restaurants (not many, but a few) that do offer progressive pricing.
In my work I have the opposite experience, that latency is favoured to throughput: People write messages and expect an immediate answer, for things that are not time-pressing. A lot of things are destroying both though: Starting several things at once, so you can't concentrate on either. We spend a lot of time planning sprints, when half of the work is not planned for but arises spontaneously.

I think the problem is that nobody really thinks about what they need and how they can achieve it. If you need latency are you ready to give up throughput? If you need a high throughput, do you manage to shield the team from distractions?
Publishing is not the problem since we have the internet.

The problem is the botched science career system, how performance of academics/researchers is evaluated, how anybody beneath the tenured academic is exploited.

Publishing is just a decoy from this much larger problem.
There are Lenovo Thinkpad Linux configurations up to 16GB but they'll be in the same price range as MacBooks.
I don't understand why you say that I am criticising black people. I wondered why black kids don't, as a rule (some do) make rock anymore. How is that criticising anyone?

I think you and other posters here are jumping the gun and making associations between my comment and other comments you may have heard or read elsewhere and in a different context.

If that is the case, please consider again the HN guidelines about responding to the strongest interpretation of other users' comments. Assuming I'm criticising blacks just because I ask why they don't make rock music anymore is a very weak interpretation of my comment.
Long March-5B reentry tracker
I predict that in the future, 90% of HN comments will be about how to read the damn article.
Usually grants or other funding sources: journals generally don’t pay for articles.
Every day I spend futzing around with endianness is a day I'm not solving 'real' problems. These things are a distraction and a complete waste of developer time: It should be solved 'once' and only worried about by people specifically looking to improve on the existing solution. If it can't be handled by a library call, there's something really broken in the language.

(imo, both c and cpp are mainly advocated by people suffering from stockholm syndrome.)
Are you aware of any promising companies or start ups in this area?
You probably need to do it for them. Seriously.

I bought my mother a Yubikey a while ago and walked her through printing out backup codes (stored in a location I will remember even if she doesn’t) and registering it with her Chromebook. It’s on her keychain, but she won’t need to use it until she gets a new computer when the Chromebook dies.

The advantage of this is that her account can’t be broken into remotely, which would be catastrophic.

(Contrast with another relative that I think is on her third Google account.)
Chinese companies file a huge amount of patents at the US patent office; 20 years ago, when they didn't have many of their own patents, it didn't make much sense to enforce foreign patents in their own country. But now that China has its own large patent portfolio abroad, it makes a lot more sense to cooperate so they can enforce these patents, too.
> For example, Capitalism is built on the philosophy of decentralized decision-making, whilst Communism is built on the philosophy of centralized decision-making.

That's not actually correct. Communism can be implemented as a centralized model as seen in USSR or China, but it also facilitates decision making done ground up with the workers driving the decision making process as seen with a cooperative ownership model. Richard Wolff explains different approaches here very eloquently https://www.youtube.com/watch?v=_ywyLiNT3Cs

Meanwhile capitalism promotes top down decision making, and necessarily leads to centralization and monopolies. The game of monopoly is a perfect illustration of this where every player starts in a fair position and over time all the power ends up being consolidated with a single player while the rest of the players lose everything.

This dynamic plays out in the real world as well. As companies compete, successful companies grow while unsuccessful ones die out or end up being absorbed by ones that are successful. As the company grows the amount of initial capital needed to compete with it grows as well. It's pretty much impossible for a small startup to start competing with a company like Walmart or Amazon because these companies leverage advantages like economies of scale and brand recognition.

If we look at capitalist economies we can see that monopolies and cartels are prevalent in pretty much every domain from telecom industry to food production to media and most other domains.

>The Chinese have their own way of implementing Capitalism which is largely informed by the legacy code from the philosophy of Communism.

This is also incorrect seeing that capitalism predates communism, and communism developed as a response to capitalism. It's also worth noting that communism and large public sector are the primary reasons why China is pretty much the only major growing economy after the pandemic. It's pretty evident that this "legacy" system is currently doing a lot better than capitalism.
US libertarian party is based on small government but it very much wants a strong military. Some members are anarchists but the party is far more diverse than just that. So, referring to libertarianism in the US as identical to anarcho-capitalism isn’t accurate.

Anyway, I agree that Rothbard doesn’t want government, but I am saying he does want the rule of law which is a separation point from pure anarchism. How exactly you get a court system that’s not backed up by the threat of force without people simply ignoring it is a point of contention.
Is this related to cat circles?
I came here to say this! I highlight lines as I read pages to stay focused, and when highlighting is (purposely) broken like this, it's really frustrating.
As a CEO, I worry about the erosion of office culture with remote work
Flatkill.org is full of lies and deception. Many sources on the internet explaining why. It's just FUD at this point.
They didn't mean you should literally say those exact words. You could say something like "Would you mind checking it for me yourself? I'd really appreciate it."
Likely some other company in the Cayman islands owns their intellectual property, and they they pay a good portion of their revenue to license it.
See every cheap (but tremendously tasty) mexican food taco truck or stand!

I personally have noticed an "uncanny valley" of restaurants, where I'd much rather eat cheaply (see Chick-fil-a, taco trucks, local pizza shops, or a lot of Asian spots) or expensively (locally renowned restaurants) and ignore most everything in between. It's hard to pay 25 dollars for an meal when it's going to be good but nothing special, when you could pay ~15 for something you'd enjoy just as much. The higher end resturants provide the "novel" experiences and flavors that make spending $35+ worth it.
I mean, you wouldn't emulate the average paper though, but the ones from the best labs in your field, the papers that get awards etc.

I think it's actually better to seek writing advice on the Internet (not from randos, but if you're cut out for a PhD you should be able to tell apart crap advice from good ones.) I'm pretty sure it's better than whatever my university could offer as a course.

And just as everywhere, 90% of everything is crap. Perhaps more than 90% of papers are crap and 90% of academics have nothing to say and write terribly to hide it.
Or something bad about noalias?
Porkbun top-level-domain artwork
That's funny. I read this in a bright environment with sunglasses, an I had to use Firefox reader mode to even see it.
Yeah makes sense. So not particularly strong or attractive compared to real wood.
The Engineering Genius of the Largest Ski Lift Ever
This is understandable. Rust really uses restrict semantics in anger compared to any other language I know of. Have you seen restrict used in a c codebase? The LLVM support for restrict just doesn't get exercised much outside of Rust.
I'm more than happy to adopt the small handful of things that they got right, while rejecting all the other stuff that inevitably leads to misery, poverty, and mass death.
No, it is to read a byte at a time and turn it into the semantic value for the data structure you are filling in. Like read 128 and then 1 and set the variable to 32769. If u are the author of protobufs then you may run profiling and write the best assembly etc but otherwise no, don’t do it.
I've seen people make bad architectural decisions that now the company is stuck with. And it comes down to just the fact that it was a bad decision, no second guessing needed.

I've also seen "bad" decisions made due to outside constraints. These decisions look like bad decisions, except that if you try to "fix" those decisions, it becomes a lot harder than it looks.
My reading of the C++ standard is that this behavior is effectively mandated and that one can write a program which can tell if an ABI observed the proposed optimization.

[expr.call]: "The lvalue-to-rvalue, array-to-pointer, and function-to-pointer standard conversions are performed on the argument expression."

[conv.lval]: "... if T has a class type, the conversion copy-initializes the result object from the glvalue."

The way a program can tell if a compiler is compliant to the standard is like so:

struct S { int large[100]; };

int compliant(struct S a, const struct S *b);

int escape(const void *x);

int bad() {
struct S s;
escape(&s);
return compliant(s, &s);
}

int compliant(struct S a, const struct S *b) {
int r = &a != b;
escape(&a);
escape(b);
return r;
}

There are three calls to 'escape'. A programmer may assume that the first and third call to escape observes a different object than the second call to escape and they may assume that 'compliant' returns '1'.
So if I understood correctly, it's more about using the name of the journal as a verification of the study the scientist is doing, since the person funding them probably won't understand the research. Am I right?
I would agree with that, however in the context of understanding Ursula Le Guin and her writing I stand by my call out to this translation specifically.
This is what happens when you're trying to add a hairy feature to a big legacy codebase.
If they could get a special deal, do you really think they would take the case to trial, spend the money and have as much of their dirty laundry become part of the record?
Introduced Candidate Portfolios for the Employers
> If you say: My science is published in journal X, then the funding agency will think it is good science/bad science without actually trying to understand what your science is about.

Not only is this correct, but it is the origin of peer review as we know it today.

Despite what most academics assume, peer-review itself is a relatively new concept in science. Nearly all of the most incredible scientific discoveries were not subject to peer review as we know it today.

Peer review was in fact created in as a response to a decrease in scientific funding in the 1970s. It was a deliberate attempt to create credibility in order to bolster funding.

I find it somewhat absurd that the current state of peer review is considered a pillar of "good science", when not only has most of the greatest science done without it, but double-blind peer review and a culture of publish or perish has lead us to things such as the reproducibility crisis. And in general the vast majority of publish work being questionable garbage that only remains unquestioned because of a culture of fear around question the corner stone of artificial credibility created solely to increase funding.
I have:

An espresso machine

A bonavita temperature controlled kettle

A baratza vario

V60 and chemex

I have the espresso machine on a timer for 30 minutes before I wake up. The bonavita has temperature hold.

Depending on the day and my wife, I’ll do pour over or espresso. In both cases we are only talking about ~2 minutes of actual time because the setup is optimized and I don’t need it the second I wake up (If I did, I’d do espresso). If it’s pour over, I push two buttons then do a few other things in the morning.

A double boiler espresso machine would be the king for optimizing for both, having the most stable temps for any task.
It's not common for researchers to find that no journal at all will accept their paper, so it's not like there's a bunch of bad science being done that we just never see.

The result of getting rid of the reputation system of prestige journals isn't obvious. It's possible that without the incentive to get into the most prestigious journal possible, many researches will lower the quality of their research. But I think it's more likely that without the hope of getting into a prestigious journal, researchers will try other tactics to coax others into reading and citing their work, and one such tactic is doing better research.

My main concern with abolishing journals is that the need for prestige in science wouldn't disappear overnight, and instead of trying to get into prestigious journals, to only way to get that prestige bonus will be to do the social climbing to associate yourself with prestigious researchers.
AFAIK the best you can do is choose one of the GeoIP databases unless you are also verifying the persons credit card number and tax-payer ID. Commercial and private VPN's are quite prolific now and some of the commercial VPN's will just appear as a residential cable/fiber user somewhere. A persons IP address is at best a suggestion to where they may be or have chosen to be.
Won't improving ag tech improve the efficiency of farming land? And allow better ecological management?
There was a blog post and a FOSDEM presentation by (misguided) Gentoo developers a few years ago, and it was retracted, because sanitizers add their own exploitable vulnerabilities due to the way they work.

https://blog.hboeck.de/archives/879-Safer-use-of-C-code-runn...

https://www.openwall.com/lists/oss-security/2016/02/17/9
Is the population of security focused users enough to support an ecosystem of auditing firms?

Is it enough to even support a neighborhood coffee shop?
Hard disagree, a phin filter is superior to a french press in all ways, and I exclusively used french presses for about a decade. The time it takes to grind beans is the same as the time it takes to clean the device from yesterday's coffee. A hot water pot means I never wait for hot water, and it's dialed in to the perfect temperature. The time it takes to brew is the same as the time it takes to feed the cat. No steeping & stirring like a french press, and it's way easier to clean due to being shallower than a french press. It's maximally efficient and in my opinion, makes a better brew.

But anyway, some people don't want "personal" coffee. They want their coffee the way they drink it, not the way you drink it.