skysight-inc/HackerNews huggingface dataset:
Neat, I didn't know that.

I still don't like it though. I'd rather express what I want to happen than express something I don't want to happen in the knowledge that the standard requires my compiler to be sufficiently smart to repair my statement. Consistent behaviour across different language versions is another plus.

If you'll permit me a moment's snark:

Most OOP languages: You can't copy objects. You may copy references to objects. Copying objects is one road to madness. Move semantics is another.

Old C++: You can copy objects, and specify your own copy constructors (which are permitted to side-effect), but the compiler is permitted to optimise away copy operations under certain circumstances. You shouldn't assume your copy constructor will be invoked whenever you see what looks like a copy.

New C++: You can copy objects, and specify your own copy constructors (which are permitted to side-effect), but the compiler is permitted to optimise away copy operations under certain circumstances, and beyond that, is now required to optimise away copy operations in some specific circumstances. You shouldn't assume your copy constructor will be invoked whenever you see what looks like a copy. When you see a copy operation in certain specific contexts, you are permitted to assume your copy constructor will not be invoked.

As with so many discussions of C++, I'm reminded of two quotes:

> Within C++, there is a much smaller and cleaner language struggling to get out.

- Bjarne Stroustrup [0]

> Do you know how the Orcs first came into being? They were elves once, taken by the dark powers, tortured and mutilated. A ruined and terrible form of life. And now... perfected.

- Saruman

[0] https://en.wikiquote.org/wiki/Bjarne_Stroustrup
Sounds like you're proposing GDPR. I supported it, it's s good step.
I absolutely agree!

But, the reality we need to accept and work from is that with vested corporate interests aligning so well with intrusive governmental and military interests, nothing is going to change.

Don't hold your breath for privacy protection legislation.
Total deaths over 1000 years after a catastrophic release of nuclear material, for example 10 fully-fueled power plants being hit by missiles during a conflict.

Also, probability of nuclear waste being unearthed in the next 50.000 years multiplied by the estimated death toll of such event.
- strcpy: no bounds check
- strcat: no bounds check
- strncpy: does not nul-terminate on overflow
- strncat: no major issues, probably to force usage of strlcat
- sprintf: no bounds check
- vsprintf: no bounds check
- gmtime: returns static memory
- localtime: returns static memory
- ctime: no bounds check
- ctime_r: no bounds check
- asctime: returns static memory
- asctime_r: no bounds check

The str functions all have safer alternatives. The time functions have reentrant alternatives, and/or alternatives that provide a bounds check.
My brother-in-law, a grad student in Seattle, has six months of paternity leave. Not sure how old a practice that is.

I'm not sure what kind of lifestyle would lead to a kid with only two adult contacts - most stay at home parents I've known are involved in multiple social groups aimed at parents and kids, even decades ago my mother took us to playgroups and swapped babysitting time with others to get that time alone.
This answer suffers from Americentrism. Practically every country in the world has some form of accessible mental health care. OP did not include their location, so why assume they are American? Yes, it is true if OP lives in America then the healthcare situation is a lot more difficult, but OP would already know that. These hotline answers are helpful for other readers who may also not live in America and may be unaware that hotlines exist in their respective countries.
I think you forgot to include your comment after the quotations.
Eh, not really possible in my experience... more like ‘incidentally becoming a gdb wizard in order to be productive with C’!
I think we forget the hidden cost of not being able to run well targeted ads. If we remove the ability to advertise this way, it increases the barriers to entry for new business. Right now, due to highly effective targeting any small startup (and big firm) can go pretty niche and launch a product with a small amount of budget.

If we rely on old pre digital tactics with no targeting, it's like going back 50 years and using a machine gun in the dark.

Combine the Google cookie depreciation, Apple's recent changes in 14.5 and the general mood around 3rd party data sharing which makes effective outbound lead gen more difficult. I think we are witnessing death by a thousand cuts in terms of increasing the barriers to entry for smaller business.
No one is using batteries at a large scale at this point.
git blame --ignore-rev / --ignore-revs-file
My partner is an academic. I am an academic. We both have tenure-track jobs in different universities -- and different countries. I really, _desperately_ want children some day; I don't quite have the guts to tell her _how much_ I _inherently know_ I do, but I think she knows, and I know that some day she does too -- but it won't work until we're in the same country. We're just getting to that point where we _really_ should start sprogging soon, but because of society, we can't. I know I'm in for a tough ride in the future, but I love her, don't want to leave her, and therefore don't like thinking about it and put my head in the sand.
Hello! Author here. thank you for raising that, this was an oversight (due to moving text around in the editing process) that has been fixed. Totally agree that acronyms should be defined on first use.
> is the jackscrew nut for the elevator redundant?

Yes. (It's for the stabilizer, not the elevator.) First off, the jackscrew is hollow and has a rod running through the center to keep it together if it cracks through. Secondly, the nut rides on steel balls in grooves. If the nut cracks and all the balls fall out, there are solid ice scrapers attached to the nut at each end that fit in the grooves, but don't contact them under normal operation. The ice scrapers peel any ice off the grooves so it doesn't jam the nut. But the scrapers are also strong enough to hold the nut in place if the balls fall out.

This is on the 757. I don't know the setup on the McDonnell-Douglas bird that crashed due to nut failure, except it's a much older design. I don't know if it had the ice scrapers on it, for example.

BTW, the jackscrew is made by Saginaw Gear. It's made from the finest steel forging money can buy, and Saginaw has been making them for a long time and knows what they're doing.

After the first trim gearbox assembly arrived, Boeing's test group had the job of applying the ultimate load, 150%, to it to see if it would buckle, crack, or bend. The test guys told me they were going to bust it. They put a big old steel I-Beam pinned at one end and my poor little jackscrew gearbox pinned at the other end. A hydraulic ram was applied to the I-beam, and the test guy cranked up the pressure.

The I-beam bent into a bow.

HAHAHAHAHAHAHAHAHHAHAHAAA I love Saginaw Gear.

> there are simply no completely reliable planes and helicopters without some form of single point reliability being required.

Helicopters, you're right. They won't survive losing a blade. Planes, you're incorrect.
This is something git does. That's why they prefer it - it's available to git everywhere.
The program doesn't "know" anything. The executable has a header used by the loader that tells it to use libc. If the libc version does not contain the symbols that the program expects or the symbols do not have compatible definitions (meaning identical function signature and ABI, including struct layout) the program will probably crash. If the program links against any shared libraries they'll use the same version of libc that's loaded with the executable.

There are ways around this that are varying degrees of acceptable. Versioning libc itself is outside the scope of the language, since it really depends on how the system linkers and loaders are implemented.
Any clarification of “certain countries”?
`gets` would be the ultimate banned C function, I suspect nobody thought it was worth spelling out though.
The misclassification of a poodle as a piggy bank by putting "$$$" in text on it is amazing to see work:

The finance neuron [1330], for example, responds to images of piggy banks, but also responds to the string “$$$”. By forcing the finance neuron to fire, we can fool our model into classifying a dog as a piggy bank.
Bureaucracy destroys - regulation is useful, if applied effectively, however the ever growing bureaucracy, and laziness of average people tends to happen without constant pressure or growth. Working as a programmer in Government has made me realize this.
And people can only communicate fluently and organize seamlessly because of their understanding. There's no quickfix solution to making sure you hired the right people.
More commonly

volatile unsigned short lecturer;
The question could be flipped around as "why should they be paid more/less?"

The goal is to treat the salary as a necessary (evil?) for "what you need to feed your family, buy a house, etc..." and not as the primary motive for work.

An employee who makes a valuable impact does so because they want to see the company/product succeed.
Cancel culture isn't a real thing. /s
Adding more people to a project makes it later.
It doesn't just buy safety. It also makes it possible to include null bytes inside of strings.
Yes, there is an alternative. Drug addiction/alcohol. If you can bottom out you can live in this world. If you can’t, all the consequences will be there (including death).

You sound like you need to bottom out. Best of luck. There is little hope when it comes to this other than bottoming out when it comes to this level of self absorption, ask any person that indulged in this level of narcissism.

Don’t kill yourself just yet. Take all your money and light it on fire. Save a bit for alcohol and drugs. Blow every relationship you have and burn every bridge. Embarrass yourself in front of the world. Then come back and we’ll discuss suicide.

Pick a path of self destruction and bottom out as soon as possible so you can get back to normal.
Ha, yep, whoops
That is some great feedback.

* backup/restore: It actually has a great backup feature because you can save everything to a file from time to time and keep the file wherever you want (the file itself can be accessed and decrypted as it is a self contained application), there is also a restore option because if someone wants, they can copy their whole vault text or even decrypted text and move it between files or online account - advanced tab (I just have to describe that in FAQ). Still I plan to add an import from file and a merge option to get your backup files integrated quickly.

* Non-web distribution: I think that is how most web based password managers do, even LastPass is no different here but I am planning to create a GitHub repo although it doesn't change much. I would love to learn more about how to do such web distribution.

There is however one big advantage PassPilot can be saved to a single HTML file and used totally off the grid so you can be sure no one can manipulate that, you can even disconnect from internet when using the offline file, no html password manager will give you that (I don't count the EXE password managers as they are compiled so you don't know what sits there), here nothing is compiled you can examine the code in your notepad.

* TOTP generation: there are many features I haven't thought about as I wanted the application to be simple but I will look into that.

Once again thanks for the great feedback!
I wouldn't say Scrum is incompatible but it's very often done in a way which is antithetical to Agile principles.

Regarding Waterfall, it's not a strawman. I've witnessed many Waterfall projects over the years at my offices. Two of the most spectacular were planned on the order of 5 years, one failing spectacular, the other only "succeeding" because the follow-on project was started 2 years into it and still had 2 years remaining, so they deployed the completed one.

They really did follow the moronic linear flow Royce said doesn't work (at scale). The spectacular failure was billions of dollars worth of work wasted as it turned out they didn't build what was needed. Another project was started to replace it before they even finished testing and deployment.
CPAN definitely deserves more attention, especially for the emphasis on testing which many successors still don't have. That was even more necessary back when OS consistency was worse but it really should have been seen as a first-class feature.

I think C/C++ also had this problem with the whole cultural evolution around shared libraries. Because installs were non-trivial I think there was an almost subconscious blinder effect where people restricted themselves to what shipped with the OS / distribution even if that meant keeping a workaround for a bug which had been fixed upstream years before because that was seen as better than static linking or bundling a newer version.
We are pre-revenue, and the sales people example you mention is explicitly in the blog post as an example of how we may end up changing things eventually as time goes on. (you can control-f for "sales")

(I wrote this comment before you edited a few times, but I think it still works even with the extra you added)
I agree, and here's where I have to plug the excellent "Rules for Rulers": https://www.youtube.com/watch?v=rStL7niR7gs

Basically - a bit of an oversimplification, watch the video for a full explanation - democracies only stay democracies because giving people a relatively good life happens to coincide with citizen productivity, which increases leader wealth. If a country relies on a source of revenue that itself doesn't rely on the citizenry, then improving the lives of the citizenry is more or less irrelevant to the leaders, as in authoritarian governments.

That's what makes automation so scary. At a certain point, no country will need rely on the majority of the citizenry to produce wealth. Which means we are screwed.
Why is the unsanitary name, "gleek", used?

"Like spitting with one's tongue, we make it easy to spit out diagrams" ?

(NSFW) animated illustration: https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...
This one has my vote for the weirdest library function ever.
Direct link to paper: https://distill.pub/2021/multimodal-neurons/
> I know this because I oversee ML launches on some of the highly controversial/addictive surfaces on a certain Facebook property.

So you're a BAT scientist.
In the little podunk Hungarian village.. middle of nowhere. Farmers and hunters. 300Mbps $15 / month
Only 1, unless you count the rest.
please reserve such comments to reddit
Someone should tell Github they're illegally hosting this.
While I won't argue with most of that and in reality it's the most likely scenario.

> Its not a big problem because only a fraction of all people will get this kind of gold fever for a long period of time.

When I see Tesla, one of the largest company in the US, buying 1.5B in Bitcoins. It goes a bit beyond a normal "fever". Now if this is just an isolated incident we should be in the clear. If this is the start of a trend for businesses, I can imagine a scenario where businesses add more and more Bitcoins to their balance sheet over some years which makes the price gradually go up, after years of prices going up, businesses start believing it's an always growing asset and over-weight their portfolio with it. Banks and financial institutions get in on the fun and eventually load up too. Now it's 2029 and we have lots of organisations with political power having incentives to keep this going and they also now have arguments that it's a new fundamental technological part of the financial system and it's systemically dangerous to let it become unstable. So instead of fixing the problem, the government caves, and against expert advice, tries to stabilize and prop up cryptocoins when corrections seem imminent. In doing so they severely destabilize the rest of the economy.

I mean it's low probability, but there were experts who knew better in 1929 too and politics meant they did the wrong things anyways.
In case you haven't found it already, IME https://github.com/asvetliakov/vscode-neovim is a more performant, less buggy and more feature complete vim mode for VS Code. I use it on the daily for local and remote dev!
It can be an alarming bit of advance, but consider this: You don't need to be happy all/most of the time. Happiness is especially ellusive if you focus on attaining it directly.

Read about ACT Therapy if you can - where I first learned this advice - it gets you to internalise this strategy to have a better relationship with feelings:
Accept your inner experience (and be in the moment)
Choose a course of actions based on things you decided you value
Take action

We can't change the way we feel, at least not reliably, which means that its best to "accept" feelings (there's a specific meaning of "accept", and doens't mean you have to "like" your feeling), and we can almost always direct our attention. In almost any situation you have the power to _temporarily_ focus on something, and you can just keep diverting your attention, it's like a super power.

Separate to ACT, I've found mantra's such as the following helpful for dealing with strong episodes of emotion:
Let it come.
Let it be.
Let it go. [Exhale slowly]

A much simpler one for a strong episodes of anxiety/sadness/dysphoria:
"There's nothing I need to do about this" [At which point I usually choose something to do or think which is important to me].

In saying all of the above, some of your issues may be situational (or not, could just be an internalized playbook of beliefs), which is where getting professional help comes in, to help you work that out.

Some practical steps you might take once you have a strategy for managing your mental health: Look for an alternative living arrangement, a different (or same) job or pursuit (if not for supporting yourself financially, it will open up opportunities for social interaction and engagement). Figure out what things you value, or have valued in the past if you are too depressed to connect with that; then let these form a compass point for you.

Becoming a monk will probably mean you have to face yourself head on and you won't have conventional support - do not isolate yourself. Whatever you do, choose something that has a good chance of being absorbing and deisolating.
awww the apple fanbois don't like me
The real problem with CNAME-tracking is that it provides the loaded adtech libraries the security privileges from the hosted domain.

This means, tracking libs can now also access everything of the website they are hosted in, attach any event handlers etc. It is essentially the same as hosting the tracking library from the content server, except that the tracking provider can change the source code anytime without requiring any consent.

This is a security nightmare imo.
The ROCm (AMD GPUs) support really caught my attention.
I agree completely, and I'm actively working on this. There have been many advances in "text-based UIs" and the modern TUI can have both the uniform simplicity you speak of, along with a rich, mouseable, colorful, unicode interface.
Your product has a feature that curtails 'addiction' for the benefit of the user - ie to improve knowledge via spaced repetitions. A knowledgeable customer will recommend you and come back for more. Great!

Social media requires time from those users - they want to know you, crack you open psychologically, so they can then be better at selling you stuff (and, incidentally, pass all that info on to 3 letter agencies for their population modelling etc). That is a different model. They want you to be deeply engaged for a long time. The longer the better.
It's at least somewhat inherent to the technology. DOCSIS download channels are shared among subscribers; upload channels are allocated exclusively per-subscriber. This architecture provides economic incentives for the provider to provision asymmetric circuits rather than symmetric ones.
AdGuard publishes a list of 6K+ trackers abusing the CNAME cloaking technique
It would be nice to have a bit more detail about the equity part of the total compensation, since it does seem like, from reading the paragraph describing how equity fits into this, that the amount of equity granted to employees is not equal.
About the pricing, from what I could see in their "Create Droplets" page, it costs about 20% more.

For example, regular Intel with SSD (4 GB RAM, 2 CPUs, 80 GB SSD, 4 TB transfer) is $20 / month. Equivalent with premium Intel and NVMe SSD is $24 / month.
> We need to start talking about how to configure Screen Time on iOS, or how to use Facebook's built-in tools to hide content you don't want to see. We also need to encourage people to take control of their feeds, muting users and topics who draw them into unproductive discussions.

This is going to make a world of difference the first time people try it. I started monitoring screen time/configuring notifications about a year ago, and made me feel a lot better about the time I spent on my phone.

But, all of this assumes that social media should (and will) stay the same as it currently is with addictive never ending feeds and endless notifications.

At the end of last year I sat down thought of what social media could look like if it was designed to be used less, and in a way that would add value to people.

For me, that looked like intentional written reflections, shared with a small circle of close friends and family. To keep me from scrolling, there would be no feed. To keep me from checking my phone, content would rarely be surfaced.

This ended up becoming Sundayy, a mindful social network that you can only check once a week (on Sunday): https://www.sundayy.app

Each day you're prompted to slow down and reflect, but there is no feed of reflections. They're all kept secret, for now. At the end of the week, on Sunday, reflections are revealed. It's a more intimate insight into how people close to you lived their week - day by day and in their own words.

We should definitely bring more awareness to monitoring screen time and curating feeds, but we should also question whether we should have to do any of that at all :)
a foreseeable risk Japan’s neutered regulators had failed to foresee

Hogwash. The plant was built on a known tsunami basin. The whole calamity from beginning to end was caused by bureaucratic pigheadedness against warnings based on better knowing.

Not that I see that as much of an argument for this piece's line of argument because we're still just as bad at having the right people make decisions for the right reasons. And if there was a single crumb of contribution towards that in the opinion piece I must have missed it.
My adviser used his paternity leave to interview at other jobs and then leave half his grad students behind because his wife thought New Orleans was a third world country. Still rankles me.
Seems like one of those strings you could search Github for to find thousands of bugs at once.
Not just css but the entire web is an abomination. We could have had a uniform language to express html, css, and javascript, and that is lisp/scheme/s-expressions. Instead we got javascript that has to hack and manipulate css and html because they don't/didn't have the notion of variables and loops. CSS is the absolute worst and just needs to die
Extraterrestrial engineering: Earth-bound MIT students made aliens feel at home
"Over roughly three weeks, students in John E. Arnold’s Product Design class immersed themselves in the Methanians’ delightfully detailed sci-fi universe, all in an effort to rethink the rules of engineering here on Earth. The set-up was elaborate: Arnold’s case study, crafted with help from the MIT Science Fiction Society, included fake scientific briefs, physiological and psychological evaluations, environmental reports, and market analyses."
Yet, no one personally responsible has suffered in the slightest.