skysight-inc/HackerNews huggingface dataset:
I must apologize if the below sounds acerbic. I've used C++ professionally close to two decades and developed a keen feeling of everything that is bad in it. (Still need to use it though).

In general I agree with Mark Russinovich. Use a garbage colleted language, and if you really want a non-gc language choose Rust (which I really should learn).

https://twitter.com/markrussinovich/status/15719951172335042...

There are cases when one should choose C++, but those are the exceptions. Graphics, computational geometry and so on are strong reasons to use C++ still. But not everyone needs that stuff.

For moving strings and numbers around in a stereotypical business domain there are much better languages. C#. Python. Etc.

"an enormous pile of easily-usable existing C and C++ code that you can hook in easily into any project."

A lot of it is to help with the fact that the standard library in C++ is anemic.

This is one of the reasons though why one would want to use C++. Some libraries exist only in C++, and yes, it's a good reason to use the language.

"It also has a lot of great support in terms of toolchains."

CMake? VCPKG? Conan? MSBuild? Meson? Scons? Bazel? Make? Xcode? The-android-thingy? How do you mix and match those?

All of those are bloody horrible. And their combinations to the second power so. The only good thing in modern times is that most open source projects have picked up CMake with a fairly standard way of project configuration, which enables actually to reuse other's people code with surprising ease.

The toolchains make a horrible language a doubly terrible.

"It also works on fairly simple principles, so anyone with experience in programming can work in it without learning a completely new way of thinking. [Even if their code won't be amazing at first]"

Calling C++ simple is a new one to me. It's an industrial language that is not a total failure. Yes, people can write programs with it. The problem is there are much safer and better languages to write general programs, thus selecting C++ is giving yourself an intentional handicap in term of value created.

As an example of the complexity choosing C++ over something like C# gives you -

To what extent is a C++ codebase cross compilable and runnable in say MacOS after you develop it in Visual Studio on Windows? That's right, you can't tell, the only way to verify your standard C++ has the same runtime behaviour is to run it on the said platform. And fix all the bugs. So to actually write cross platform code, you need to have some proficiency in all of the platforms to have any level of guarantee that the code actually works in it's intended runtime.

Thus, a C++ codebase needs to come with a warning label telling every OS and processor it has been tested in. Most popular libraries are tested and run in all of the relevant platforms so this is not an issue for users. But I'm pretty sure the number of platform specific fixes per codebase is not trivial to make something work even remotely similarly.
There's a difference between legal reasons and decency
Exactly you are right, for now we are selling in Europe and the regulatory requirements are good.
Can you reasonably make the (only needs to be verbal) argument that you are considering maybe going to graduate school?

If so, national labs in the US hire “graduate research assistants” who don’t get paid much but hey you’ll be working at a research lab which isn’t necessarily a good job but it can lead to good jobs.

For the above mentioned verbal argument to be more convincing, it does help to have some kind of undergrad degree, even if unrelated.

Not sure if they also hire non-grads but I wouldn’t rule it out.
>Stoplights are always red colored circles of LEDs

I was just commenting about that.
Cynical Reaction: Get a lawyer to write a one-page "You might be able to sue Google for misdirecting you here if..." letter, make a bunch of copies of that, and put 'em in one of those clear-plastic-box-on-a-post things (which Realtors use for flyers about a house for sale) at the front of your lot. With a sign (large enough to be easily read on Google Street View) explaining what the letters are about.
You'll need to be more specific.

From a technical (i.e. useless) point of view SBCL very nearly already has a real-time GC, with a few modifications it would qualify since already:

1. The amount of work in a GC operation is bounded by the heap size

2. SBCL has a fixed maximum heap size

Two things would need to be done:

1. Ensure the areas where GC is inhibited are bounded

2. Call GC operations on a timer, and when they are done, ensure there is sufficient free space; RTGC cannot exist without specific bounds on the mutator, so you could almost certainly invent bounds on the mutator that would make the gencgc qualify as real-time for.

#1 would need to be done for any actually useful RTGC anyways.

A slightly less snarky answer is that a non-toy GC is a lot of work. Different choices in GC will affect code-generation (e.g. read and/or write barriers GC, and forwarding-pointers for incremental GC[1]).

There's a reason the gencgc has been around as long as it has, and it's because it's "good enough" for a lot of people and the work needed to replace it (with any non stop-the-world GC anyways) is rather large. Even TFA is neither incremental nor concurrent, just parallel.

1: Stop the World GCs may also use forwarding pointers, but codegen doesn't need to know about them because they are fully resolved before the mutator continues.
A long time ago I worked on a defense program called "XMS 3000", hilariously, it was explained to me that this literally did not mean anything. They needed a name and somebody came up with this to sound cool.
Didn't expect to see this on the front page!

Basically, I'm working on building the kind of company that I've always wanted to: simple technology (not k8s!) to do cool things (ingest tons of data into a database.) I can run the software on a single server, but my customers didn't want downtime when I deployed (who would've thought?) so I implemented a rolling deploy.

I've recently started hosting on Hetzner (ran out of AWS credits!) and have found the experience to be pretty good, and by far the best value of compute per dollar. If you don't want anything in the container world - I worked at huge companies that IPOed without containers - then consider their server offerings.
Unfortunately the defendant settled, instead of fighting in court like they should have.
A lot of companies have major build issues. Honda had a batch of engine heads cracking and bad transmissions. Subarus are oil and had a long slew of head gasket issues. Sometimes you just goof a design in a way you can’t easily correct out of
Someone beat you to that punch a long time ago. Here is a whole calendar replete with holidays https://en.wikipedia.org/wiki/Discordian_calendar for your viewing pleasure.
It's hard to admit, but a very significant portion of the population just never does those things.

The number of people who budget or look at finance beyond "does my bank app show I still have money" is frighteningly high.

Of my family including parents, ignoring small children, the number who have a computer is something like 2 out of 6.
Some of that is age: schools are generally mostly for the youth(ful). Some efficiency is lost with age, that's just the unfortunate entropic nature of it all.

Some of that is nostalgia and beer goggles: we remember the good times and the grades that were recorded in our transcripts, but we forget the weeks of intense stress and the feelings of barely managing to juggle it all or hold it all together. We remember the parties fondly but forget how much those parties were designed to help us forget some of our struggles and drama before and after those parties.
Even on RDS 20GB's price is neglectible for most companies and doesn't worth the added efforts and engineers salaries of looking into that.
From DBA perspective, that's a cool find. Thanks for sharing.
I'm not sure what the line about Westmoreland and the Citadel and minority populations means. William Westmoreland, the US Army general who lead MACV during the critical years of the Vietnam War, spent his first year of college at the Citadel, but then transferred to USMA (transfers into military academies was quite common at the time), where he ended up as First Captain (basically head of Cadets, not top in class rank but the commander of the Brigade of Cadets).

One of his classmates in the class of 1936, Benjamin O. Davis Jr, was the first African-American to attend West Point in nearly 50 years, and would go on to lead the Tuskegee Airmen into battle. Davis suffered from a set of social isolation during his entire four years at USMA, never had a roommate, no one talked to him during meals, no one talked to him outside of class, he was not invited to dances or social events, etc. trying to drive him out of the Academy and return it to the all-White way it had been. Apparently Westmoreland wasn't one of the ring-leaders of this ostracism, but as First Captain it sure as hell was his job to stop it, and he failed to do so.

This started a pattern for Westmoreland, of being wrong about things but getting promoted anyway, that continued for the rest of his life. _Westmoreland: The General Who Lost Vietnam_ by US Army in Vietnam veteran Lewis Sorely, is appropriately scathing of the man and his failures.
I don't think we have enough historical data to know how WFH affects these trends, though.

My observations of people I know are that WFH improves all of this. Working from home seems to increase the amount of socialization with friends and neighbors.
Just a grammar check or a proofreading pass through an LLM is all it needs. It's an English-language paper, so we e.g. separate words by spaces.

Hate this modern kneejerk reaction to get preachy and supercilious whenever anything vaguely cultural comes up.
Based on their frontpage example videos, it seems to be for Mac users who don't know any better. I don't see anything useful that isn't FOSS already.
Are there any LLMs that run on regular (AMD/Intel) CPUs? Or does everything require at least an M1 or a decent GPU?
There is one measure of a government that has never failed: are people trying to get in or are people trying to get out?

California's government - federal electives, state and many local have been making decisions and putting in place policies that we are now seeing the consequences of.

The pandemic didn't create the problem - it poured gas on the fire. The elected officials of the last 30-40 years created the problem. The housing shortage is 100% a government created problem. The homeless "problem" is 100% a government created problem.

We don't have to solve these problems - we can continue on as we are which is likely because it is the path of least resistance (accountability is hard for people and governments). But let's be honest about why things are the way they are.
https://archive.is/Xj8rt
There are companies that use the cards of specific players as a way of investing in that player - they better the player does, the more their cards are worth.
They can make a claim but it’s ultimately up to the VA’s doctors to determine whether they meet the criteria or not.

That’s not hacking the system - they can’t get examined for something unless they first make a claim. The VA doesn’t perform preemptive exams to see what a veteran may or may not be afflicted with and informing the veteran so they can make the most conservative subset of possible claims.
Yeah I agree. Webdev in particular could use a lot more work. I think serverless does a good job, but platform lock-in prevents it from becoming the standard. I think databases are a great example of abstraction done right. I rarely see database code(sql, configs) that seems copy-pasted.
I prefer vector types for this kind of stuff, as they are more compact than loops and naturally lend themselves to auto-vectorisation. In the end it comes down to the programming style preference.
Not the previous poster, but I had to implement it a few years ago, and I found it unbelievable complex with dense and difficult to read specifications. I've implemented plenty of protocols and formats from scratch using just the specification, but rarely have I had such difficulty than with OpenTelemetry.

I guess this is something you don't notice as merely a "user", but IMHO it's horribly overengineered for what it does and I'm absolutely not a fan.

I also disliked the Go tooling for it, which is "badly written Java in Go syntax", or something along these lines.

This was 2 years ago. Maybe it's better now, but I doubt it.

In our case it was 100% a "tick off some boxes on their strategy roadmap documents" project too and we had much much better solutions.

OTel is one of those "yeah, it works ... I guess" but also "ewwww".
I did years of allergy shots (environmental), it helped a middling amount. When it came to dog and cat allergy, I could have gone for several more years of inconvenient shots. Instead, I got a self-applied treatment of Necator americanus that I found through the helminth therapy wiki. I found a marked improvement in my pet allergies, which is great since I live with a cat and two dogs now.

It's not a cure but a marked reduction in symptoms. I used to have to take fexofenadine basically daily. Now I only need it under extreme conditions.

I'm sure the worms have long since died off and I may need to re-up.
Any employer is basically looking to have as much confidence as possible that you'll be able to do the job that they want as well as or better than any other candidate.

Having a relevant degree from a prestigious or at least well-known university gives them confidence. Being able to come off as confident and knowledgeable in an interview gives them confidence. Having relevant work experience that shows you've done the job for other companies gives them confidence.

Generally, the better the job is -- more pay, more interesting work, better-known firm -- the more applicants they get and the more confidence they can demand before taking a chance on hiring someone [and it's always taking a chance, no matter the candidate]. Conversely, you find a smaller place, boring work, bad pay, they can't demand a lot of confidence because they don't get a lot of applicants to be choosy about. So you can walk into those places with nothing but your coding skills and get a job, and if you can do it, you can parlay that into a better job now that they have a little more confidence given your resume.
This is done in some packs, but this introduces a new risk: now, once a fuse is blown the pack will be asymmetrical and that in turn will put more strain on the remaining cells in that particular block of parallel cells. So likely that is a stay of execution rather than a solution. Another problem is that cells can develop higher internal resistance than their brothers causing them to overheat. In general, pack construction is a very delicate interplay of mechanical stability, thermal stability and electrical properties. Get anything wrong and it translates into risk, and it isn't always obvious that you've done something wrong.

Even the big manufacturers mess up. That's a pretty good sign that this isn't an easy problem.
I rode in a $789,000 flying car and experienced the future of commuting. Maybe
having used both FORTRAN and Julia, Julia generally had less friction and comparable speed. JIT is great for having a very short programming loop. I definitely prefer Fortran to Python though for math programming.
Storm Idalia: Cars may stop working mid-evacuation due to fuel contamination
This is really not unique to XFS... anyone who worked on a filesystem in at least the last decade would tell you that a test like the one similar to what OP inadvertently created are commonplace.

Unlike with many user-space applications, filesystems have very well-defined range of conditions they have to work in. Eg. every filesystem worth its salt will come with a limit on number of everything in it, i.e. number of files, groups, links and so on. And these limits are tested, they aren't conjectures. Ask any filesystem developer how many metadata operations per second can their program do, and they will likely be able to answer you in their sleep. This might be surprising on the consumer end of the deal, but to the developers there's nothing new here.
“Getting shit done” is 3D chess we play to convince ourselves there is a goal when it’s just more low effort toil.
50% failure rate is going to result in a large number of defects leaking into production. You can’t screen that high a defect rate very well
In California, Senator Eggman et al. have introduced SB-244 Right to Repair Act [1].

It's currently sitting in the suspense file in the Assembly's Appropriations Committee [2], where it could die unless the committee decides to pull it out so that it can be put to a vote.

It currently only has a few exemptions for video game consoles, alarms, and select other equipment.

If you live in California, I recommend calling the Assembly Appropriations Committee at (916) 319-2081 and asking them to pull SB-244 from the suspense file and pass it so it can go to the floor for a vote.

[1] https://leginfo.legislature.ca.gov/faces/billCompareClient.x...
[2] https://apro.assembly.ca.gov
There's a million routers that are unpatched and easier to get into than this.

It's not entirely unmonitored, Linode send bandwidth usage warnings and iops warnings, and my users have been the best downtime signal.

I'm very fine with these servers. They belong to hobby web, a low threshold for making something for yourself and others should be encouraged, but also the burden should be carried lightly, and this burden is carried very lightly and if it falls I'm fine with it.
Go to giant music festivals as well. It’s a great way to be around a lot of people that are into the same thing as you where you can chat, make friends, and just experience shared life.
There is push back because it's not a viable business plan and will never work with the most popular games. Games are controlled by publishers. They want to completely own the market for skins and other virtual assets. Why would they ever share their revenue with you guys? What's in it for them?

If you want to succeed with this scheme then ultimately you need to produce your own games. And those will have to be games that people actually enjoy playing, not just grinding for worthless coins.
I'm dealing with the same type of nonsense currently, as an internal audit team sees security groups being flagged by the scanning software that are open to 0.0.0.0/0 which is automatically "bad", even though the hosts have no public IP's and are being automatically managed by EKS to setup links to k8s NodePorts and the ELB.

Same with security groups. Gartner has some "best practice" doc somewhere, someone loads that into a security tool, the tool flags things, and these checkboxes must go from red to green. The technical hurdles to comply or actual value do not matter.
Colin Powell is another.
Head of growth marketing? Sales enablement? My god, your job title should have given you sufficient heads-up.

My advice to new college students is to code whether you like it or not. Work sucks, period. Might as well get paid and have free time and enjoy being in demand.

Those are definitely bullshit jobs.
I would like to try it, but it's a different use case (more website showcase demos, not apps). Does that fit into your product?
Tangentially related:

NG You know, I was in China in 2007, and it was the first ever state-sponsored, Party-approved science-fiction convention. They brought in some people from the west and I was one of them, and I was talking to a number of the older science-fiction writers in China, who told me about how science fiction was not just looked down on, but seen as suspicious and counter-revolutionary, because you could write a story set in a giant ant colony in the future, when people were becoming ants, but nobody was quite sure: was this really a commentary on the state? As such, it was very, very dodgy.

I took aside one of the Party organisers, and said, “OK. Why are you now in 2007 endorsing a science-fiction convention?” And his reply was that the Party had been concerned that while China historically has been a culture of magical and radical invention, right now, they weren’t inventing things. They were making things incredibly well but they weren’t inventing. And they’d gone to America and interviewed the people at Google and Apple and Microsoft, and talked to the inventors, and discovered that in each case, when young, they’d read science fiction. That was why the Chinese had decided that they were going to officially now approve of science fiction and fantasy.

https://www.newstatesman.com/2015/05/neil-gaiman-kazuo-ishig...
Thanks for the additional context.

Agree that leaders should definitely be ready to motivate stakeholders and collaborating teams to act on this kind of info before spending significant time gathering & producing it.
Yes, Postgres keeps track of the most common values. If it knows 0 is common and "where val = 0" will keep 90% of rows it might choose to use a table scan instead of the index.
Arguably most eloquent, though now non-standard and a bit of a challenge to parse:

"My first trip abroad I will always remember."
> One of these days I need to get around to learning awk

Plan9's awk(1)[0] man page provides a precise and concise (a few paragraphs) presentation of the core features of all awk implementations.

Tutorials bring practical knowledge, but often lack complete and self-contained descriptions of those nifty little tools.

[0]: https://man.cat-v.org/plan_9/1/awk
I can still do it when I hunker down and legitimately try, but you need to drown out distractions. I don't know how old you are, but graduating high school in the 90s, the Internet existed when I was in college, but no social networks, no targeted advertising, no attention economy, no smart phones. I didn't have a dumb mobile phone or even a television. If I want to learn as much as I learned back then, I need to remove those things from my life as much as possible. Leave the phone in my bedroom. Read physical textbooks and take notes by hand on paper, not on an electronic device connected to the web. If I'm reading papers/articles, print them out.

This is effectively isomorphic to the obesity epidemic. You can try to white knuckle it with sheer discipline or run 80 miles a week, and some people manage to do that, but mostly it's a matter of food environment. If you have a genetic predisposition to frequent snacking, typically the only way to avoid it in the long run is to not have shitty snack foods available to you at all. Expecting to just control yourself when the option is there not to usually doesn't work at some point. You can't binge on screen time if you have no screens around.
No, you cannot use '= default' for the assignment operators if you have custom copy/move constructors. I thought this was clear that this was my complaint in the post. I will make it clearer in the post. IF you customize the constructors, THEN =default will break your code, even though the correct implementation is entirely boilerplate.

And for tuples, you still need to use std::tie or std::make_tuple on the other end.
"No, we don't spend money on code editors around here; I meant VSCode."

Not spending money in tools sounds like a very strange economics for software development. If interviewing does not scare you I warmly suggest finding a new employer.
Most of the comments on this thread are talking about using OpenTelemetry to send metrics/logs to self-hosted collector jobs. Though using a standard library supported by a bunch of collector tools like ClickHouse is useful it itself, there's another benefit too. The specification allows transferring trace IDs across system boundaries. If you and your dependencies all implement the OpenTelemetry spec, then you get spans that reveal in granular detail what happened in the journey. For example, you could learn that it was your database loading a page from disk that took so long, or that a Cloud service's metadata plane was the responsible span for high latency.