skysight-inc/HackerNews huggingface dataset:
Honestly I have a very similar experience, but the opposite conclusion. Two parents from an Asian country who don't really get along and are very different. I'm glad they stayed together. First of all I know my mother wouldn't have fared very well alone, with outdated skills in a country foreign to her. I also don't think my father would have really done so great either given how different he is from the greater culture-- Asian culture is just so far from western culture that after a certain age you have an impossibly hard time trying to fit in. They may be like oil and water, but I'm glad they have each other. Despite the arguments they both have their needs met and provide a stable home for their kids(and are rewarded for it with regular visits from grandkids during which all their distance seems to evaporate).

I also think their marriage can seem strange, but given where they come from I just don't think marriages based on love were common. Heck it's basically a modern convention. It's nice that we have the(some of us anyways), but it's by no means the norm for humanity. Even today many people get married to people they don't know well. For a lot of people staying single and just feelings things out isn't doable.
Call me old fashioned but I'd prefer to just make it impossible to write the firmware without physical access. Verification just brings it's own issues and is not a panacea.

Who owns the key(s)? If not you, how do you trust them? If you, how do you write them? How do you prevent attacker from writing them? Or is it one-time programmable and your hardware becomes brick / unresellable / un-updateable if you lose your keys or don't want to pass them on to next owner? How do you make sure your keys are more secure than the machine that somehow got its firmware infected? What if the code that checks your signature turns out to have a bug? Are you stuck with it, or can you update the code? What if an attacker can infect that code..?

Making this all convenient and safe is very hard and in practice either takes freedoms from you (you must trust your vendor and their signed binaries), or gives a potential attacker the same freedoms that you get. Giving you full access without enabling an attacker to have the same access is quite impractical (read: unlikely to ever happen for consumer hardware that you can order over the internet), and you still have to trust the hardware is what it claims to be when you get your hands on it.

In practice, I can't audit the hardware but I'd be pretty good if I could flash it myself once it's in my hands.
CargoLifter for me personally marks the beginning of the German Decline in Engineering. The reasons for why it failed are the same reasons why we have such large problems with infrastructure projects and are falling behind in innovative technology.

It's a very sad read.
There is always a risk to inject something to a healthy person. But we just hope the risk is low enough so many do it for themselves and others. It is hard call. Let the study and “experiment” continue.

Not just totalitarian policy only.
We explicitly point out in the release notes that TypeScript users should not upgrade yet. Chalk v4 has been stable for years and you can continue to use that if you cannot use ESM.
I found the Tailscale Android app to take quite a big hit on my battery when used as an always-on VPN, so I use cloudflared on a VPS to create a Google authenticated tunnel to home assistant (over Tailscale).
The constiness of a pointer can be casted away while the constiness of a value variable cannot — it’s UB.
foo::x is declared const, so it’s always const.
This is fun, but it usually leads to better discussion if you pick the most interesting page from a list and post that instead. If you want to nominate one, we can change the URL at the top.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

Edit: artpi suggested the museum hours page, so we've changed to that from https://www.jamesrobertwatson.com/.
“Ask about a project” proves I understand the final implementation, but not whether I could or did choose that approach or design it myself, nor how long it took and how many false starts we had.
> started with Germany and the Soviet Union agreeing to dismember Poland, IIRC.

If 'IIRC' then you should at least check Wikipedia on events what preceded Molotov-Ribbentrop. It surely wasn't a a great sunny day when Molotov called Ribbentrop and said "Hey, Josha! I have a great idea this morning! Let's split Poland!"
Most of the time my B was recognized as R, as I was not properly closing it at the bottom.

It's a very interesting read (and playground) and shows the difficulty of coding hand write text. It goes to the extend to not try that but too create a similar to natural hand writing "code" that is very easy to learn for people that knows hand writing.

Nowadays I use a hundred times more "predictive typing" that hand writing. I find it faster, or at least more comfortable. (And being fair, easier to read afterwards)
I don't see much value in a distinct char type which has no real semantics beyond being an unsigned byte.

Calling validate on a whole string makes at least some sense, I don't love it, but it's not crazy. But it's obviously never worth "validating" a single char, so why not just call them bytes (or ubytes if that's the preferred D nomenclature)
Unless cheating on your spouse with the nanny becomes the trigger for the divorce…
Why this obsession with anti-Google and no mention of anti-Microsoft?
There are some people, especially say 10+ years ago, who thought e.g. Google wasn't evil.
Just a heads up:

<< From what I can hear in Canada, unvaccinated make about 10% of population and about 50% hospitalizations, that makes the vaccine reduce your chances by about 5x

When 50 % of the total hospitalizations are 10 % of the entire population(unvaccinated pop.), the vaccinated 90 % need to be reduced to an equal 10 % too(1/9 * 90 % = 10 %), which means it reduces your chance by 9x not 5x
Cumbersomeness of these functions is so trivial compared to the problems of C that are real that it's just not worth mentioning them.

Even if these functions disappeared overnight and C acquired the standard library redone using the knowledge accumulated over years, it would not make a difference:

- C is a disaster to write any amount of code in due to the definition of undefined behaviour in the specification.

Not only compilers are free to do anything they want with code that exhibits undefined behaviour, they are unable even to detect undefined behaviour in the code, and hence the only way to write reliable code is to freeze your compiler, toolchain and target OSes: any minor change in any of components (including OS headers) may completely ruin your program.

Ask Linux folks who were bitten by it many times, even though do not have to deal with garbage in vendors' OS headers.

- C is a disaster due to its compilation model. Preprocessor defines wreak havoc on the source code, and it is a backbreaking job to maintain cross-compilability of any large-ish codebase. Forget about trying to cross-compile the whole software with dependencies: this is a full-time job by itself.

- C does not specify sizes of short, int, long and signedness of char. This means any codebase that ever touches these types (and there are OS interfaces that are expressed in them!) is inherently non-portable: every new target means combing over the whole codebase and checking breakages in all arithmetic operations.

There are other underspecified pieces in spec, but this one is just the most salient one.

> in production and teaching

If a teaching resource does not state "C spec has undefined behaviour, and you will have a very bad time if you don't know about it", then it's utter garbage.
How are the batteries doing? Keep an eye on those, old laptop batteries can sometimes behave in weird / dangerous ways. See reddit 'spicypillows' for some examples.
Reminder that google search results are in part based on data collected by google on your browsing habits. This is likely the reason that most of the results for us are pictures of computers.
Up to 100 users was a thing
You're confusing this just with "fast fashion clothes." Shopping can be anything. Also in e-comm, but have good prices, social media approval and you can sell anything for a cause, because it's popular or such.
> std::auto_ptr still exists forever, but is officially deprecated.

std::auto_ptr is fully removed since C++17.

I agree with most of your comment, but I think it reinforces the grandparent's point. The warts of std::string and null terminated strings are not "problems introduced by C++'s other recent additions".
No you didn't. No raise is not a promotion. What you got was screwed with your pants on.

Tell them thanks, but no thanks. Fuck you, pay me.
> What is the critical difference?

* Observers are also actors. They can and will significantly influence the observed.
* Once observations are revealed at large it'll have short/long term consequences. There's a good reason fed gives multiple indications before changing any parameters such as interest rates, tapering etc.,
* Humans don't necessarily act like rational selfish agents (as economists expect) all the time.
* Economics is often entangled with other aspects such as trade agreements, geopolitics some of which take years and decades to manifest.
Easy Anti-Cheat gets much simpler for Proton and Steam Deck
Ask HN: Would you try an intellectually elitist social media?
Hi!

Like many others, I quit almost all social medias over the years because of the rampant ignorance, toxicity, hostility, trolling, manipulations etc...

So I just had an idea, a social media where only really interesting people could contribute: artists, entrepreneurs, scientists, activists, writers, educators....

First of all, I don't want this to be a big circle jerk like Mensa or your local country club, but a place where truly exceptional people can talk about great ideas and create interesting content, without interference from 14yo trolls, propagandists, or just willfully ignorant people.

I'm not even remotely sure I'd make the cut depending on how selective it ends up being.

The vision I have for this is a place where people like Gandhi, Einstein, Picasso and Shakespeare could raise important questions, debate, share ideas or their work, and have interesting discussions about all kind of topics for everyone to see.

Anyone could access the website, but only vetted people could contribute.

I feel like HN is accidentally a bit like that, but only for engineers/tech entrepreneurs, I'd like to create something more diverse, I rarely see dumb stuff here, but it's mostly about a really narrow set of topics.

For the first wave of users, I'm thinking about a system where each aspiring user would post a small description to explain why they want to join, what they want to talk about, what they can contribute, with maybe links to their work, and we would all rate each other,
then only the top 1%/5%/10%/20% would be allowed to join.
I'm also thinking about a "weighted votes" system, where the highest rated you are, the more your ratings about other people counts, IDK if that's a good idea.

There could be either one or multiple communities with different levels of selectivity.

Also this may be controversial but I think the admins/moderators or some kind of "board"(which should be as diverse as possible) should be able to veto people, there is plenty of people with a cult-like following who could easily game the system, I don't think we'd want a Kardashian or a Trump joining.

What do you think?
Would you apply or checkout the content if this came into existence?

Thanks for your feedback!
Have you thought about leaving the country? Plenty of cheap CoL places around the world to hang for awhile
This week in KDE: You wanted stability? Here’s some stability
Well, there are almost no good enough alternative to C++, in my view. Rust is hard to learn, Zig and other change the syntax way too much.

Also, it would not be difficult to link against existing C++ libraries, or at least to wrap them using extern C.

The goal would be a language that has the good things that C++ has, without the cruft: long compile times, edge cases, etc.

It's pretty amazing how the C++ ISO group managed to add things without breaking backward compatibility, so imagine if they agree to explicitly deprecate thing. I just hope that one day, there will be a split between "old C++", that will still be kept compatible to not break old codebases, and "new modern C++".

I'm not an expert, but I think it might be doable, maybe with some compile flags? I don't really think it would break the ABI or break binary compatibility between old and new C++. I don't know.
> (macros and traits I guess are the worst)

This is a common assumption but I've rarely see cargo check, which both expands macros and solves traits as well as runs the borrow checker take more than a few seconds on my machine, even when full compilation takes minutes. Most of the slowness is really in the parts that come afterwards, I suspect especially once you hit the generics explosion in later passes.
This mission is more important than not being banned on HackerNews.

> You and other tenants need to get together and either sue or more broadly look at how misdeeds by landlords are handled in your city and or state.

We've had 3,200 people visit the site in the last 3 days. We're on our way.
Well, this article was completely over my head. I have no idea what it's actually saying.
Money’s cheap. Why wouldn’t you take a low interest loan and invest the leftover money yourself? Car is the worst investment you can do anyway.
I'm an American that doesn't buy new clothes often, but I want to provide my view. My clothes last a lot longer than 2-3 years. To get to the point that they're ragged or faded takes a long time for most of them. (The very cheapest t-shirts from online sites are the exception. I don't buy those any more.)

On the other hand, my wife gets great pleasure from getting new clothing. She has a lot more than I do, and still she buys more. She is genuinely excited about wearing and showing off the new clothes she bought. When she gets a compliment about them, she is very, very happy.

Strangers aren't likely to give those compliments, and friends aren't going to compliment the same clothes again. To get those feelings, she needs new clothes.

All that said, she doesn't buy as many clothes as many of the vapid women/girls that I've met over the years. She's responsible with her money and doesn't buy excessively. But watching her emotions about the ones she does buy informs me a lot about the less responsible women out there.

I don't know any men like that, but I have seen them on TV (especially "reality" shows), so I'm sure they exist, too.
Ask HN: What are some free back end hosting platforms that you know about?
Run your own locally-hosted translation service with a couple lines of code
Insufficient input from lawyers and mediators here. More than sufficient input from victims of unjust, unequal or unwelcome settlements.
C compilation is not that bad, what makes it atrocious is the preprocessing step.

Show me the large-ish (100K+ LOC) codebase with dependencies that can be cross-compiled, does not come with tons of cruft like autoconf or Meson, and does not require installing reams of software on the host as "libraries", and then we are talking.

(edited: typo)
A rare case report – Ovary attached to testicle inside hernia sac
With a net profit margin of 19.8%, bookkeeping, accounting, tax preparation, and payroll services have long been some of the most profitable businesses for entrepreneurs.

https://www.marykayintouch.website/
Automated departure messages at Symbolics
He has been promising FSD capabilities. He said the car will be able to autonomously drive from west coast to the east coast, he said robo taxis will make $30k a year and that it’s financially insane to buy anything but a Tesla because Teslas will be an appreciating asset next year when FSD comes out.

He’s made too many bs claims for it to be defensible in any way.
Yemen for the second day without Internet
I realize that, but no variable is const, only the field is. And you don’t need a const_cast to change the value, as the example in the question shows, some_func can do:

void some_func(foo *p) {
new(p) foo { 42 };
}

That’s not UB.
Data point. Old fart who switched to Dvorak eons ago, at age 16. It felt natural after 1 week, and felt more efficient than the ‘qwert sometime between weeks 2 and 3. I suspect young age greatly affects take-up speed. Good on ya for taking care of yourself, and switching when you did.

Incidentally, at age 26, I used the “left-handed” Dvorak layout for 2 weeks while my right wrist and hand healed from a dirtbike crash. I was only becoming proficient at the 2 week mark.

The Dvorak left- and right-hand layouts are not as widely known, and look nothing like the standard two-hand layout… but are incredibly optimized. Even the number row is remapped to accommodate letters. Once I started to grok its efficiency, it felt like 10-key’ing entire words at a time. Might be interesting on modern phones.

I experience the same thing with QWERTY and tendons in wrist & forearm. I have to slow down - a lot - and take breaks. I just remap teh kbd if > 15 minutes.
iOS kbd keeps my brain familiar with QWERTY; no first-party Dvorak and I don’t expect Apple to ever include one.
> If you're making good points that contradict what people believe, they'll ridicule or at least ignore you -- that's par for the course.

I think GP is saying people still ignore the point of those very people they're praising.

In particular, Republicans (and politicians in general) love quoting MLK, but weirdly, they never seem to remember the "white moderate" quote:

> I have almost reached the regrettable conclusion that the Negro’s great stumbling block in his stride toward freedom is not the White Citizen’s Counciler or the Ku Klux Klanner, but the white moderate, who is more devoted to “order” than to justice; who prefers a negative peace which is the absence of tension to a positive peace which is the presence of justice; who constantly says: “I agree with you in the goal you seek, but I cannot agree with your methods of direct action”; who paternalistically believes he can set the timetable for another man’s freedom; who lives by a mythical concept of time and who constantly advises the Negro to wait for a “more convenient season.”

You're making the point that MLK was beloved and effective because he was thoughtful and articulate, but there wasn't a single day in his life that he wasn't disliked by the majority of white americans: https://www.theguardian.com/commentisfree/2022/jan/17/mlk-is...

What made King popular was dying.

So, yes, wagging the finger at people shouting "defund the police!" and pointing to MLK as an alternative is pretty rich.
Nvidia GPUs Enable Simulation of a Living Cell
"Impermanence" is an essential teaching of Buddhism, which I'd say expresses a similar concept as entropy.

> All temporal things, whether material or mental, are compounded objects in a continuous change of condition, subject to decline and destruction.

https://en.wikipedia.org/wiki/Impermanence

> Impermanence (Pali anicca, Sanskrit anitya) means that all things (saṅkhāra) are in a constant state of flux. Buddhism states that all physical and mental events come into being and dissolve.

> Human life embodies this flux in the aging process and the cycle of repeated birth and death (Samsara); nothing lasts, and everything decays. This is applicable to all beings and their environs, including beings who are reborn in deva (god) and naraka (hell) realms. This is in contrast to nirvana, the reality that is nicca, or knows no change, decay or death.

https://en.wikipedia.org/wiki/Three_marks_of_existence
> Why is f.x a const object even when accessed through a non-const variable?

Because the member is const.

It's a bit strange example because there's no reason to have mutable pointer to a struct with only const members. A better example would maybe be:

struct foo{ int const x; int y; };

void some_func(foo *f) {
foo.y = 0;
}

int bar() {
foo f { 123, 456 };
some_func(&f);
return f.x; // must always return 123
}

EDIT: On second thought I'm also a bit confused. Wouldn't this be a "safe" way of modifying `f.x`?

void some_func(foo *f) {
*foo = foo { 5, 5 }; // probably wrong syntax? I don't write so much C/C++
}
Well, TIL, it goes to show how rare are intentional overflows.
The QUIC implementation was written in Rust, so the live $100M pitch demo is safe.
If you rent a crane though you're also paying for the crew to drive the thing to you. This really has a chance of just auto-piloting over to the job to be then be run by an operator.
If I remember correctly, Cargolifter failed to have a straightforward loading and unloading method. The airship is designed to lift a certain amount of weight, which has to be replaced as soon as you dismount the cargo. Cargolifter used water which was transported to the destination site via trucks.
I only had a quick glance at the SkyLifter website, but I did not find any solution for that problem.
Keeping POWER relevant in the open source world
> Is it just more affordable/cheaper to buy than to mend your clothes?

I'm not from the US (EU instead) but mending clothes is almost never cost-effective for me, because it's hard to do well, and would cost more than most garments (either in time, or in paying somebody to do it).

I still sometimes mend my clothes for fun.
This! I live in Belgium, primarily English speaker (not native), pay in EUR and my understanding of local language is not great. Lots of websites are so difficult to use without Google translate.

Please treat Currency != Language != Country. Give options to change these.
I use Clojurescript for the same reason. I will take any opportunity to stay away from the JS ecosystem.
... or maybe I'm living in a reality where the vast majority of people where I live are struggling with with rent and dreaming of home-ownership, or with their mortgage, and not buying second houses.

I'm not sure which reality you're living in, but it seems... disconnected.
In one in which you can truly empathise with your users, preferably something yourself have experienced as very inefficient and unnecessarily painful and complicated in your professional life.

It can be a relatively small gap in theory covered by several larger tools but only superficially covered either because they do not truly understand the pain point of that gap or because they simply want to limit complexity of their base product and their surface of support.

So then you focus on developing that feature to perfection with a strong focus on integrating with each of those larger tools, whenever possible without any collaboration of those larger tools (that will come anyways later if you get the traction).

The larger tools will never compete with you directly because if they created a tool doing the same thing you do, they would have to integrate with their direct competitors, which is a bad scenario for them as either they get expressly blocked by the other tool developer if seen as a threat or because by having such tool they would be ultimately improving their direct competitors tools.

Our current position is that if a customer of us decides it's time to change the larger tool, one of the factors of the decision is how well the new larger tool integrates with our tool.
foo::x is declared const inside the struct in the example given. Because of this, regardles of how you access foo::x, it will always be const.
Looks like a pretty bad paper, to be honest.
This is true with ultra books as well. 3 or 4 year old Thinkpad X1 Carbons or XPS 13s are an easy cost savings and quality improvement compared to low or even midrange contemporary competitors.