skysight-inc/HackerNews huggingface dataset:
If you have employees, you also need to create transverse structures (make people work in teams, set check lists, QA, HR, accounting, create corporate charters on gender equality and many other topics, tell many "statements that ..." or "our mission is ...", create corporate culture, ) because you can't trust humans employees at 100%.

Actually some of banks biggest failures were when only a few and in some cases only one person was in charge.

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

How is that different from LLMs?
Not the compiler but today you can already have a ClangTidy check: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/use-...

If your build system respects ClangTidy checks and turn them into errors, it's effectively the same as a compiler guarantee.
> These days the scope of frontend development has increased to the point where learning and staying on top of it has become too large (in my opinion) for most people to do while also becoming and staying highly competent in everything else.

I feel like frontend complexity is just a meme on HN to be honest. How complicated is it to learn a framework like React (which celebrated its 10 years 3 months ago) if you have a background in software engineering and some basic knowledge of HTML/JS? Like an afternoon to read the doc? 3 days to practice and be totally fluent? I managed graphic designers who knew nothing about computers but were able to learn React and be very productive. Then you pick one tool to build your production app. Yes there are many options, but you choose one (I use Vite.js) and stick with it for the next 5 or 10 years.

> A “full stack” developer these days is supposed to understand frontend development, backend development, systems administration, cloud operations, and what else? All of these are massive areas that are constantly shifting.

There is a new big thing every 10 years or so. Like the last one was Kubernetes and it almost 10 years old and you probably don't even need it. HTML5, ES6, React, Python, Django, SQL, Postgres, Docker, AWS, Terraform... all those tools have been there since almost forever (it feels like it) and mostly never changed. And you can build 99% of the web with that stuff.

As I said in another comment, yes it's a lot if you are a junior dev fresh out of college but you probably have some solid knowledge of all of that if you have been doing this for a very long time. At least enough understanding and experience to know what to google when you need to do something and what to do with what you found.
Which will be an issue in convincing those who wants to engage in those behaviors to take up the offers. So what?

You address what you can, and start by treating them as you would others. We're not talking about letting them get away with more, but about not treating them as second class people with restrictions no non-homeless people would put up with.
"Don't call it a comeback, I been here for years"
For a very long time there’s been sort of a hippie overlap between organic/natural foods, alternative medicine, skepticism towards Big Pharma, and antivax. Prior to 2020, if you wanted to assign a political leaning to this scene, “fascist” is probably the last one you would pick. Likewise, it’s relatively new that antipathy to the World Economic Forum or Bill Gates is considered right-wing. And if you told anyone ten years ago that a prominent anti-government protestor would be a self-described “shaman”, you would have never guessed which side he would be on.

There’s a far more interesting story that isn’t being told here. How on earth did the right become a more welcoming environment for hippies than the left? When it comes to vaccines in particular, that’s easy: the mainstream center-left was all in on COVID vaccine mandates, and were willing to alienate alt-medicine hippies to impose those policies. Anti-vaxers were always a weird, unpopular fringe group, and it was rhetorically convenient to try and dismiss all lockdown-mandate skeptics as “antivaxers”. But it’s all part of the same broader political realignment we’ve been going through over the past decade or so.
Checking Causal Consistency the Easy Way
There is a big difference between relying on the phone to find information and using it as a baby sitter. This "study" seems to mash both when it helps with the narrative.
> If you're dealing with very simple CPUs like the
> ARM M0, sure. But even the M3/M4 allows unaligned
> access.

On ARM M3/M4 you have the same issue with LDRD and STRD instructions which do not allow unaligned access. Even the normal load/stores don't allow unaligned access in all cases. Try this in the peripheral memory region for starters. And things get even more complicated when the memory protection unit shakes up things.
Easier to brute force a password against a local archive than a login portal, but if you have a good password, should? Be? Safe? For? A? Few? Years?
> The blue check-mark saga - destroying a lot of it's hard-earned value

Hard-earned value? Please tell us this is satire.

Are you referring to the creation of the segregated online society of haves and have-nots? Where many of the checks were handed out based not on merit but on industry connections?

The blue checks were one of the biggest displays of inequity in all of modern existence, and we are all fortunate that the old model was swiftly killed off.
In this case the court said to block illegal content, and here are the IP addresses where that content is served which should be blocked. It passes the sniff test of the lawyers as not much different than blocking domains of piracy sites. They pass the requirement on through the engineering org, it eventually reaches an individual contributor who is tasked to make it a reality.

Then that engineer looks at the specific IPs and realizes that some of them are cloudflare ips and the collateral damage of blocked content would be significant. Their job is to then escalate and pass it back to higher managers and the legal department to confirm they knew about that implication and want to move forward.

The legal department at the isp having specialists means that they could understand this situation in a single email from the engineer, not that they obviously have the foresight or capability to even find out that some of the IPs might be for cloudflare. Or sometimes the lawyer might even assume that's not a big deal but higher managers can realize that it is a big deal and then discuss options.

All that I mean is that even at FAANG companies with extensive and competent legal departments its not correct to just blindly execute a change like this if you think it looks wrong; it's not at all a safe assumption that what you know is somehow a subset of what they know.
South Park did it
I don't think you was the asshole, but I think (i.e. in my cultural circle) that's too public. I would send this message only to the person responsible, and if necessary sent a much softer message to the team like "I noticed that recently we had some merges without a proper review. Please avoid this in the future, code review is a strict requirement in our team".
It is interesting that 2 years later the same reviewer changes their mind a bit:

> Now, a few years after writing that review, I must return to say that as much as I hate this book, it's probably the best textbook that I have. I constantly return to it to reteach myself basic concepts or math. The problem with the text is that in order for it to be useful, you pretty much have to already understand the material. It's a dense, technical manual that, when paired with an easier to understand text such as Griffiths, grants tremendous power. Don't get me wrong, if there is a hell, I personally hope John David Jackson is burning in it right now, but I also have to tip my hat to him
Any example use-cases?
(I'm the author of the blog post)

Indeed it's exactly the same idea (and I think `value_ptr` is actually a better name than `box`).

I've googled before writing the blog post and haven't found literature about this (but I was mostly googling stuff around "box" or "deep shared ptr").

Thank you for the link! Kinda glad it's more widespread than what I though actually, it means we can think about making an official proposal.
https://www.mayoclinic.org/tests-procedures/allergy-shots/ab...
Try compiling:-

main()
{
int foo = 08;
}
A political distaste for homeless people would be high on my list. You can see the number of people in the comments here wanting them treated close to criminals.
> Hmm, so macOS is just in the habit of plowing over all your system configs when you update OS? That seems hostile.

macOS updates blow away system files, and on macOS pam.d apparently fell into that category. The rationale is not user hostile: you can't have an update break your system due to you having a local change that is incompatible with the update.

This is simply a usability tradeoff, and Apple's choice is clearly "ensure the OS will always boot".
> The virus is mutating but it is also losing its lethal nature.

In one of the first articles I read on covid, in Feb 2020, the experts stated that they expected this to become endemic, either like the other common cold coronaviruses, or something a bit worse like the flu [0]:

> I think there is a reasonable probability that this becomes the fifth community-acquired coronavirus... settling down to something like the other four coronaviruses.

> What we may be seeing “is the emergence of a new coronavirus … that could very well become another seasonal pathogen that causes pneumonia,” said infectious disease expert Michael Osterholm of the University of Minnesota. It would be “more than a cold” and less than SARS: “The only other pathogen I can compare it to is seasonal influenza.”

This has probably happened before. The Russian Flu epidemic of 1889-1890. It looks like it was a coronavirus that jumped from cattle to people. That pandemic was one of the deadliest of that century. Now that same virus is one of our common cold bugs [1].

[0] https://www.statnews.com/2020/02/04/two-scenarios-if-new-cor...

[1] https://en.wikipedia.org/wiki/Human_coronavirus_OC43
Ah, ok. I think I see the confusion. I think you're applying a false dichotomy here. It's not an "either you are clean or you don't get housing" in most places. But, if a therapist sees that addiction is a contributing factor, they will often make the free housing contingent on being part of a drug rehab program. So it's not "clean or else you're back on the street" but it's looking at it as part of the overall problem that's keeping a person from being self-sufficient. They aren't even generally piss tested as part of that. The cases where they are forced to be clean prior is when they are referred to housing services by a probation or parole officer. But that "remain clean" condition is more a function of the probation/parole than the housing program.
> If you present the hard problem first, the student may flail around and realize: I need something to help with this!

I suffer from this. Sure, I'd like to learn physics, but what I don't want to do is learn all of it. Right now. Because what I'd rather learn is what I need to solve the problem I have. It's a silly problem, it's not real world, but it's my problem that I'd like solved.

As I've grabbed my horse and lance and rushed at this windmill from assorted directions, I quickly run into my limitations that prevent the problem being solved. I run into vocabulary problems with the math, the fact that I simply don't have the math to approach the problem (which appears to be some vector calculus -- I think. "No, you idiot, it's XYZ instead", but I don't know enough to know that it's not vector calculus, if, indeed, it isn't). I try to apply basic kinematics to the problem, but I don't know if that's enough. And, finally, it could be all of those things plus, oh, some optimization issues and, also, would you like to be introduced to the several different techniques for computing numeric integration and the differential equation solvers?

"Eeep!"

To quote the film "Addams Family Values":

Wednesday: Pugsley, the baby weighs 10 pounds, the cannonball weighs 20 pounds. Which will hit the stone walkway first?
Pugsley: I'm still on fractions.

So, yea, that's me, I'm Pugsley. It seems I need 2+ years of mechanics, calculus, and differential equations, and, probably, some time with computer based simulation all to chart the course for a spaceship to a planet for a 40 year old role playing game. Of course, I don't know what the, perhaps, abbreviated path I could take through those domains to get to be able to answer my question. That might knock a year off the study, but, unlikely. "Better to have all of the foundation" and all that. Which is true, but I'm kind of after the "reward" part here, not so much the "journey".
The bill text is here: https://www.parl.ca/DocumentViewer/en/44-1/bill/C-18/royal-a...
The relevant piece from the summary is:

> (d) requires the Canadian Radio-television and Telecommunications Commission (the “Commission”) to maintain a list of digital news intermediaries in respect of which the enactment applies;

CRTC is a government entity so the government reserves the power to decide who is on the list. I couldn't find the list online though.
Tracking number of downloads? I can see it. 10,000 tries isn't much.
I'm happy that many professors start to use Zangwill's Modern Electrodynamics [1] textbook. It seems more focused on explaining things and don't assume that you know too much (which you usually have no idea if you should have known something or you just an idiot) like Jackson.

[1] https://www.amazon.com/dp/0521896975/
It’s a lot cheaper to just develop tastier vegetarian recipes and premade foods people enjoy. Can’t patent recipes though so no money in it
> In the case of an attachment, the message body is multipart/mixed, where one part is the actual message the sender typed and other parts are the attachments.

This is not correct. In multipart/mixed you can have any number of body parts with any mixture of content types, including sub nested multipart/mixed body parts. There is nothing that separates a "message" from an "attachment" except for presence of a content disposition header.

> If what you were saying were true, you wouldn’t be able to send an HTML document as an attachment to an email without it being interpreted as the message typed by the user.

Indeed, old email clients may not understand mime formatting formating which is why it is recommended that in a multipart/alternative body you should have the plaintext body part first since the entire body will be displayed.

The only reason why a HTML document, that is a body part of a multipart/mixed message, should not be displayed as part of that message is if it has at content disposition header.

There is no clear difference between "message" and "attachment" in the email format spec. Those two categories come from how email clients represent the presence or absence of a content disposition header.

The the text/html content type was not indeed not explicitly part of the mime type standard, but it was a standard that was explicitly designed to be extensible.

It was intended that subtypes of "text" would be human readable as raw data. If HTML emails aren't human readable without piping into an external program and aren't a multipart/alternative type with the plaintext version first, then it is very reasonable to complain that the sender is doing a bad job.
It is actually super easy, barely an inconvenience, as long as you know the actual dynamic type at construction time.

For example shared-ptr to base can correctly invoke the correct derived type destructor even if the destructor is not virtual.

Edit: accidentally a word.
Having worked on quite a few of those claw machines that made their way in to arcades around the UK and Europe back in the late 1980's and early 1990's, there were a variety of variables we, as software developers, could control, from the ramp up and down of the motors that controlled how fast the claw moved, to how much lag was introduced when responding to your joystick/button input, to how "grippy" the claw retraction was, to how strong the grip remained over time. These made for a more exciting game, which were then translated into a simple user interface consisting of a few dip switches or a trimmable pot that the owner/operator could tweak.
> I'm actually surprised he didn't rate a black bar

There is one now.
I know that, but this is often spun as a positive for Apple and it's not: it's an accidental side-effect of their own anti-competitive stance. If anything, it works as a fig leaf to Google's monopoly. Apple should stop their stupid policy, open their platform, and instead make it plain to antitrust authorities that Google needs reigning in.
If your solution is unwanted to the point that it doesn't actually work, it's not a solution.
> Landing on celestial bodies is hard, looks like only China has ever managed a first attempt Chang'e 3 programme did so.[0]

Indeed. It actually took the Soviet Union 12 attempts to land on the moon in the original Luna program. That actually seems excessive even for the Soviet above-average failure rate.
This is sad news. Her most recent Twitch stream, from a few weeks ago. https://www.twitch.tv/videos/1884973353
Check out the book "International Business Blunders". It's the only biz book that ever made me LOL.
Without code examples its really hard to judge.

The lack of this type can be viewed as a pessimization for copying objects.
No idea how I can see the contents of this article. I see the title and a big yellowish area below for comments and signing up. Maybe because I use Firefox?
Hey @dang, I have a simple feature request. Can we have the black bar the the top link to the relevant thread? The story isn't always at the top of the front page and it's annoying having to look through the list to find what it's for.
See my response to your comment below. It's the general case (where I live, at least) that people aren't required to be clean to get housing. But they are required to be part of a rehab program is a therapist/counselor/case worker has deemed addiction to be a contributing factor to their circumstances. They don't have to be clean in those cases, but working toward being cured of their addiction.
I hadn't even thought about it, I was like Box<T> is basically std::unique_ptr<T> anyway so what's the point -- but yes, Rust's types all either can't be copied at all, or they implement Clone and thus Clone::clone, which is what you'd call a "deep copy" if you're used to that nomenclature.

I think the underlying cause is that Rust's assignment semantic is a destructive move, not a copy†, which frees up the opportunity for an actual copy to be potentially expensive, matching reality. In a language where assignment is copy, that operation must be cheap and so we've obliged to make up an excuse for how although this is a "copy" it doesn't behave the way you want, it's just a "shallow copy".

† Although it will nearly always work to think of Rust's assignments as destructive move, as an optimisation types whose representation is their meaning can choose to implement Copy, a trait which says to the compiler that it's fine to actually just copy my bits, I have no deeper meaning - thus if the type you're using is Copy then assignments for that type are in fact performed just by copying and don't destroy anything. So a byte, a 64-bit floating point number, a 4CC, an IP address none of those have some larger significance, they're Copy, but a string, a HashMap, some custom object you made (unless it can and did opt in to Copy), those are not Copy.

Crucially, from an understanding point of view. Implementing Copy requires a trivial implementation of Clone. As a result it feels very natural.
Readers in the UK might like to know you will almost certainly need planning permission to put one of those in your garden, and your neighbours will probably never speak to you again. The latter could be seen as a benefit for some.
And having people stay homeless is better how?
The orange highlight will disappear if you click the X.

Also, if the hedges were mapped, they would appear in dark green on the map.
With polymorphism, you typically want base classes that provide a general interface, that many classes can derive. In places where you use this pointer-to-base, you don't need/want any knowledge of the derived type. It is an unneeded depedancy, which would only increase compile time, or worse, cause circular dependancies.

I'm not a big fan of RTTI, and not even sure if it would work here. But once you start keeping track of all derived types, you might as well use an std:: variant. It's more cache friendly too, so more performant in many cases.
but you can do that anyway - just copy the thing the unique_ptr points to, and make another unique_ptr point to it. but i really don't understand what copying a unique_ptr implicitly would mean.

also, c++ has (wisely, imho) rejected the concept of a "deep copy" - we just have copies, of varying depths.
So basically an old style MVC framework style app like RoR, CodeIgniter etc but made with a JSON response the describes the page rather like Shopify's Store Theme 2.0?

Sounds great. Now since you have access to the server code (unlike Shopify's system described above) just return HTML and use your JS flavour of choice in the places where you need heavy JS ... like we used to make web apps.

The happiest web devs I speak to are those working in the older MVC style, mainly RoR people. While everyone in AWS/Serverless/JS land is burning out and miserable with the house of cards stack we are balancing React on top of.
In theory running a different version of the OS for testing. Be aware MacOS VMs cannot use iCloud services though, so if your goal is CI/CD in the VM none of your tests for iCloud will work.
I am not a big fan of building extremely fine grained general purpose APIs for frontends. A lot of the burden of juggling with data and presenting it is shifted to the UI layer. I am also not a big fan of building a composite API for "pages". Now you have a tightly coupled frontend/backend communication. What happens when we split the page or have to change the format of the data? Also the response of such an API can be quite big and nested. Ends up being a dump of data with poor documentation.
I would try to find a middle path. Building composite APIs which have a concise purpose for the frontend but are modular enough to be reused across different areas of the application.
Also, I feel that most of the problems discussed in the post are amplified when we have different groups working on the frontend and backend. If a single team is responsible for both the backend and frontend, API decisions are localized and can be changed as the development progresses.
Obligatory reference to http://vanilla-js.com
Can't say I was drove away from Arch as I just tried Manjaro for a bit while figuring out what distro I wanted to stick to. But it seemed to me that it required more googling to do just about anything, and since a lot of Linux programs are made with Ubuntu in mind it seemed more straightforward to get going with a Debian based distro. Might have misread the situation since I had zero Linux experience, but I figured sticking with Debian was gonna minimize how much time I'd have to be setting and fixing my system. I think there was something in particular I was struggling to get working but my memory is hazy on that.

Probably gonna try again some time but for now I try to think as little as possible about my OS as long as I can code on it.
It was mentioned in another comment thread[0] this morning. These things happen[1].

[0]: https://news.ycombinator.com/item?id=37199307

[1]: https://news.ycombinator.com/item?id=32795559
Working in Firefox here, though I am using NextDNS for blocking a lot of annoyances and trackers.
VirtualBuddy is my favorite mac vm thanks to their file sharing folder

https://github.com/insidegui/VirtualBuddy
I'm talking about street parking, which should have never been auctioned off either.