skysight-inc/HackerNews huggingface dataset:
The other interesting thing about modern data centre HDDs is they have a media cache which significantly accelerates synchronous random write IOPS - OOTB these drives get 75 IOPS with fio fsync=1 bs=4k randwrite, but with a WCE=0 they can do 400 IOPS.

So if your app is fsync heavy (such as Ceph) then you can switch on this media cache by setting the drive to write through mode (WCE=0).

SATA SSDs have a similar quirk.
> This compiles and is fully memory safe, despite dereferencing those pointers in the same completely unchecked way they are dereferenced in C. This is memory safe because @safe D does not allow creating an int* that points to unallocated memory areas, or to a float*, for instance

Who on Earth wrote this? This is not at all true.
Ongoing related thread:

Brave Search Goggles: Alter search rankings with rules and filters - https://news.ycombinator.com/item?id=31837986 - June 2022 (45 comments)
The risk averse nature of the semiconductor industry comes from it's financial scale and speed. If there's a mistake, re-spinning the chip (even just the metal layer) is costly both in time and financially. No self respecting semiconductor company wants to be the guinea pig for an entirely new tool.

That being said, better tools for design and verification would still win out since developer time is more valuable/scarce than computational time. However, hardware tends to differs from software in that the computational requirements for designing and verifying a chip design are far greater than the average product in the software industry.

Literally everyone I know in my industry hates the current state of EDA tools, and fees like they're stuck in the past, yet most of them defend the use of Perforce over git, Cron over Jenkins, XML over JSON, TCL over Python, Cisco Any-connect over Tailscale, and running their remote terminals in a VNC session instead of using SSH like normal people. I feel like the pot is calling the kettle black here.
> Do you know that Twitter still does not show link previews reliably?

This seems like it might be a somewhat good thing, for privacy. User generated trackers could be included in topical tweets.
Back when I ran a checkout register my manager was super clear that I should give anyone whatever they wanted so long as I reported it after the fact, and that my safety was more important than any items in the store. My uncle even got fired for running down a shoplifter, the policy around here was very clear - let the cops handle it.
Disabling Brave Shields rectified this for me.
It's funny how they never release the model. I guess they are scared of spammers, 4chan or worse, the Russians. This is the harbinger of the future, isn't it? Technology that's too powerful to be widely deployed is kept under lock and key by priests who deal in secret knowledge only available to the properly initiated.
Not really, no, why do we think the legal system is the solution to every problem. Besides the fact are they even doing all that good a job at this?
> I think it was LXC

Still is :)
Stealing a piece of inventory from a major corporation is not morally the same as stealing from another person. [Popular company] probably accidentally loses tonnes of [popular product] a week. They have easily enough money to cover that loss, money that isn't being redistributed to the people who feel they should/want to/have to shoplift. So yeah, it's pretty clear to me that for major shops, stopping people from stealing is more immoral than stealing.
All web search engines are biased to sites that are well designed to be included in the index. It is literally how a search engine works. Removing SEO bias would just eliminate sites that are easy to spider, parse and index and rank. Goggles are great because they will eventually become a signal for Brave to change the rank of a site - or even in the case of sites that end up on lots of goggles, delist them. I love the feature.
I'd simply run the pipe in a subshell, go over $PIPESTATUS one by one and kill the subshell if I found a failed one. But if you insist on killing to the right I'm afraid there's no analogue of $PIPESTATUS array providing list of PIDs.
If there is un-written cached data there is a capacitor bank that allows this data to be quickly written to non-volatile flash and rw heads to be retracted in the event of power loss. They test this feature pretty heavily, esp. in enterprise drives. Source: used to work for an HDD manufacturer. So, they might be lying to you but it is pretty useless information on for modern drives.
There are very few inhabited places on Earth where the sun is unreliable enough that today's solar is uneconomical. My parents live in upstate NY—hardly a place known for its high rate of sunny days—and since they installed their rooftop solar, they've said it generally provides enough power for the house unless it's actually covered in snow.
We moved the replies to this comment to https://news.ycombinator.com/item?id=31837986, which is about that feature.
Are you sure you know what "mitigate" means?
as with most important things
> The C++ API lets you take references into the string

> and then I scrawl "I AM Weasel" on top of my string using my reference and now your string was changed because it was COW.

I mean, that's the point of references... no ? If I wanted a different object I'd make a copy.

Like, even with just one string, without any CoW, your post makes it sound like you'd be surprised than if you had:

void set_some_config(const char*);
char* get_some_config();

std::string s = "foo";
set_some_config(&s[1]);
s = "bar";
get_some_config();

you'd get "ar" in get_some_config().
tar -zf ubuntu.tar.gz && chroot ubuntu

ish
Fiefdom versus fiefdom.

You either lead a fief or are serf working for one to survive.

If you are a serf, a) your fiefdom may switch ownership due to a defeat in a conflict or political dealings of the nobility; but life never change for you too much and b) you're a serf forever.
I'm not saying shoplifting is moral, but to play devil's advocate here:

Walmart, to take one example, is one of the top employers of medicaid and food stamp recipients (https://www.cnbc.com/2020/11/19/walmart-and-mcdonalds-among-...), essentially forcing the government to make up the gap from the incredibly low wages that they pay their employees and enabling them, in turn, to make more profits. Is that stealing from the government / other taxpayers? If you felt that way, you probably wouldn't see much harm in stealing a couple of bucks worth of stuff back out of Walmart's deep, deep pockets.

Anyway, I think that's just one example of why people may feel differently about stealing from an individual versus stealing from a massive, faceless, profitable corporation.
I only read the linked article, not the books. I think that the thesis (as professed by the article) that the "deglobalization" is largely due to the decline of the US Navy is pretty silly. "Decline in the standard of US foreign policy and diplomacy" - in itself an ill-judged reaction to the rise of China's economic power and influence - is much closer to the mark. Of course the Covid pandemic didn't help either.
On the other hand: this approach may act to disguise some of the distress that people are actually living under so that society thinks things are less bad than they are - and so less inclined to fix the problem in the "civilized" way: by welfare schemes that guarantees a minimum of dignity and daily needs
so
if I just do drugs and I take your property to survive, that's okay?
if I decide not to work, I can just go to any grocery stores to steal?

they need to survive by stealing is a failure of the system that is in place, either education or the social support system. Accommodating for the system's failures by giving up property rights is a defeatist take at best, virtue signaling at worst.
you get broader reach with less effort, but at the cost of giving up control of your content.

And you never know when years of hard work will simply disappear.

I'm not even talking about being kicked out for expressing opinions that aren't trendy.

I once wrote for a large blog That just disappeared one day. It was after Google took over Blogger, and searching for help with the problem turned up hundreds of other people whose blogs disappeared. Some managed to get Blogger to admit it was a technical problem. A few for their content back. Most didn't.

If you're going to trust someone else's platform for your livelihood, make sure you have a Plan B ready to go at all times.
The tiny mites that have sex on your face are close to extinction
> Property rights should not be above human life. Full stop.

Sure, if someone's bleeding out on the street, and you grab a tourniquet from a nearby drugstore and run out without paying for it, you should get a pass. But I think cases like that make up approximately 0% of shoplifting. Most of the times people say that shoplifting is necessary to survive, it's not actually true.
Grug no read good but grug fink is good advice here
India has issues with traditional farming being uncompetitive, highlighted by infamous farmer suicides. Pesticides were commonly fingerpointed in the past with simplistic "Monsanto responsible for all bad" narratives, but they didn't stop to think. Not using their products would leave the farmers even worse off economically. Better yield is why they pay.

Kids aren't valued anymore economically. Parents will spend a lot but kids aren't seen as a literal asset but as a sacrifice. Altogether it suggests that at some point if governments want more reproduction they will have to subsidize it more strange as it sounds. It hasn't been a problem in the past from growing poorer undeveloped regions but eventually we could run out of people to uplift economically, leaving even the most xenophilic to have to breed more as immigration numbers wind up low. That scenario probably won't come to pass this century, but potentially the next or later.
I live next to a grocery store with a high rate of shoplifting and I disagree. Grocery stores are not charity. The issue has gotten so bad that freezers containing frozen sea food and ice cream now have locks on them.

Problems should be solved with real solutions rather than sacrificing businesses who are not equipped to solve the problem. In other words, if “property rights should not be above human life” then cities should provide for those lives through taxes and meal programs rather than letting random businesses be targets.
> a simple Distributed Version Control System is really required

Right, it would be nice to have a simple one.
People and businesses should be allowed to protect their possessions and discourage theft. People who steal should be punished if they’re caught.
That's why I've never gone into management. It's not an honor to be a manager, it's a skill - and that's not a skill I want to develop. Better to work for a company that recognizes technical talent is a skill that's at least as-important as management and will financially compensate accordingly for that skill.
And what happens when an acre in year 2XYZ + 500 no longer produces more food than an acre in year 2XYZ?
I once saw a guy stealing a Moleskine notebook. Maybe that notebook can be resold, and he uses the money to pay rent?

Or more likely, he uses it to buy drugs.

So preventing the shoplifting might just save his life from a drug overdose.

It's hard to say that stealing is clearly right in almost any scenario. It's almost always anti-social.
They absolutely should feel they are owed something by the system. America (for example) has built amazing wealth extremely quickly using capitalism, but the distribution is terrible. It is totally fine for the very poor to steal from the very wealthy in a system that makes it extremely difficult, tedious, or tiring for many people to even live a comfortable life legally
I'd recommend some document that outlines the fees Astro charges based on selections for the teams. Any AWS pricing calculator is a decent model to use.
Google just deletes most spam (or refuses to accept it in the first place).

I just checked my spam folder. It had 89 messages in it. (Anything older than 30 days is deleted automatically.) Most were definitely spam. Some were political campaigns that I didn't unsubscribe from. A bunch were from the Red Cross, which for some reason doesn't go away even though I've unsubscribed (and which tells me that I've unsubscribed when I push the "unsubscribe" link).

There were 2 that I marked not-spam: a receipt I don't care about, and a mailing list that I don't care about (and will unsubscribe from).

The vast majority of spam never made it to my inbox. I know it exists: that 30-day supply used to be in the tens-of-thousands.

I'd be surprised if there were legitimate emails being deleted. Perhaps there would be if I had a different use case (e.g. if I wanted unsolicited job offers), but as it stands it seems entirely manageable.
These terms usually show up in the context of networking protocols. Cloudflare has a very quick explainer: https://www.cloudflare.com/learning/network-layer/what-is-th.... To make it even shorter: a control plane is where all the coordination that controls activity (data) happens. The data plane is where the data actually moves around.

Explainers seem to not cover _why_ you would want to separate these "planes". There are several reasons, and I'm no authority, but for starters:
* control messages will have different expectations around them: their amount and frequency, delivery guarantees, urgency with which they are processed. Treating this traffic separately means you can engineer appropriately for data and control traffic.
* last thing you want is the control message "stop processing traffic from IP x.x.x.x port y" to be stuck behind traffic from said IP/port...

In this context, the meaning is somewhat different. They are referring to administrative traffic vs "actual work" traffic. Auth, billing/accounting, configuration updates, that sort of thing. If you are running a SaaS, and your customer is very security conscious and wants none of their precious data to ever leave their VPC, you have 2 options: deploy your software into their VPC completely, making it hard to do a variety of things like upgrades, and increasing complexity; or you can separate control actions from your "worker nodes" and storage, and only deploy the latter into the VPC. You can then work on your control panels, monitor usage, continuously evolve various admin panels and config options, etc, using normal SaaS approaches while the security conscious customer knows that their core data is not leaving their virtual walls and only "bob ran a thing and stored results" goes to the vendor.

This post is about abstracting out common bits of how one implements that, and allowing SaaS offerings to provide that sort of separation easier.
Do you take hours ratio into the account?

e.g if you've been working 4h a week,

then it'd be weird to say after year that you have 1 year of commercial experience, when your colleagues spent 40 hours / week and have "only" 1 year too

I believe that pay is not necessary, but working for somebody else or in team (e.g OSS) is necessary.

So yea, I wouldn't say that hacking something even cool, but alone is commercial xp.
Weed has a really strong smell too, and it is a good litmus test in that it repels uptight peeps away and attracts like minded people.
A lot of it is just to buy booze and drugs in cities where the social services are decent (food is easy to get, shelter is available if are somewhat sober), but those two things are not provided, and many see it as a survival need.

It is also much more organized now: rackets have a list of stuff to steal that they can then pawn off more easily. That is why LEGOs and laundry detergent are increasingly locked up.
You could do that if you are the author of std::string. Unfortunately, very few of us are.
more like there is a common trope in criticism that prolificity necessarily weakens the quality of output, like if creativity were sperm then writing more would mean you were shooting blanks.

This is probably true for some people, but it does fly against the idea that to improve as a writer you should write more.

Also relates to the idea that some people have a limited number of ideas or tropes and producing too much will mean going to that same source too many times, or that artists are better poor and struggling but once successful they become worn out and repetitive.
If you are going that far why not just:

iptables -t filter -I FORWARD -j DROP

and while you are at it:

sysctl -w net.ipv4.conf.all.forwarding=0
sysctl -w net.ipv6.conf.all.forwarding=0
Show HN: Crocodile - Better code review for GitHub
Hi HN!

I've been working on a code review app for GitHub called Crocodile for about a year. I used to work at Microsoft where we used a tool called CodeFlow for reviewing code and I missed it after I left. I know many other ex-Microsoft engineers feel the same. Here are some of the distinguishing features of Crocodile that are inspired by CodeFlow:

* Comments float above the code instead of being inline. Long discussions that are displayed inline make it really hard to review the code.

* Comment on any text selection in the file, even a single character.

* Comments don't get lost when code changes. I hate it when comments become "outdated" because I rebase or the line is edited.

I also implemented lots of features that I wish CodeFlow had which you can read more about on the blog. [1]

For those curious about the tech stack: it's mostly written in Go with Alpine.js, HTMX, and Tailwind CSS for the frontend. For storage I use PostgreSQL, S3 compatible object storage, and Redis for caching. I use Pulumi for infrastructure provisioning and Kubernetes deployments. Everything is hosted on DigitalOcean.

Feedback is welcome!

[1] https://www.crocodile.dev/blog/why-crocodile
Companies are prone to Groupthink: https://en.m.wikipedia.org/wiki/Groupthink
You've heard of Film Crit Hulk? Here's Software Dev Hulk.
I'll let the other commenters do the debunking of this extremely stupid point you made - just want to point out that this is so clearly some shitty troll account. 5 months old and all the comments are idiotic crap like this.
> Loss prevention is there to prevent loss - not make moral judgements.

So that's just the way it is and it will never change? Maybe we should have less jobs where someone is authorized to use violent force and can check their morals at the door.
I believe, at the time, setting up a container required root. As in the kernel didn't expose the right pieces for a non-root user to ever dream of starting a container.
JUUL vapes contain (a) chemical(s) that increase the bioavailability of nicotine over what a nicotine salt compound already does when compared to free base nicotine. Basically, small amounts of this additive increase the amount of nicotine absorbed as well as reduce the time to absorb, which brings a vape closer to what a combustible cigarette can deliver.

I am struggling to remember my source for that info. If it comes to me, I will drop it here.
Related thread on the GitHub repo of Moby:
- https://github.com/moby/moby/issues/22054#issuecomment-10997...
perl
python
lua
scheme
bash
I fully agree. Superb, "meticulously and beautifully done". I read it online and followed along writing code then bought the book just to support the author. Thanks Bob.
All I can say as a 47 year old who lived most of his life in Germany is that the summers when I was a teen, so 30 years ago were considered hot when they were over 25°C. This year in May we had 32°C.
Deny or criticize all you want cherries blossoming on Christmas in Berlin is NOT normal. And neither is the absence of snow in winter and mild temperatures.
Those graphs don't impress me at all, because I remember what it was like and see what it's like now.
I'm in Croatia right now and remember where the sea level was back when I was little and also see where it's at now.
If you lived on this planet for a while and are not ignorant to your surroundings you see the change, you feel it.
Cold places are hot now and warm places are hotter for longer periods of time.

I wrote it before and I'll repeat myself, if you look at what changed in the last 100 years or thereabout, it's mass burning of fossil fuels, the cars, fabrics, planes etc. Yes, I know don't jump to conclusions, scientific method and all.
The not ignorant person just being observant and applying some common sense can see it bright as day.
The article clearly has a slant.

I also think it links to how most loss prevention officers have a decide to go into law enforcement.
IMO, reddit > tiktok for search engine purposes.
I don't think it was even that. It was massive marketing and hype which drove docker adoption. The engineering concerns and the user experience were both negatives because they actually added a considerable cost and friction to the experience.

I will obviously need to back that comment up but fundamentally the security posture of docker (and most package repositories) is scary and the ability to debug containers and manage them adds considerable complexity. Not to mention the half baked me-too offerings that circle around the product (windows containers anyone?)

The repeatability argument is dead when you have no idea what or who the hell your base layers came from.

What it did was build a new market for ancillary products which is why the marketing was accelerated. It made money. Quickly.
Containerization is overrated in the sense, that you can have it all for "free" with chroot in openbsd or jail in freebsd.
I purchased several 8TB WD Red's about 18 months ago, when they were ~$300. Can now find them for ~$180. Same story for IronWolf.
Because now apparently just admitting that you are against having and enforcing shoplifting laws means that you can be accused of being racist if you are white.
I know this opinion comes up every time Tailscale is mentioned, but requiring SSO _and_ only supporting companies like Google and Microsoft on the free tier means a lot of people can't use it without being exposed to a ton of risk in the form of automated moderation/deletion decisions. I want to be excited about this stuff, but it just won't fit into my risk profile until that changes.

Hell, I'd be happy to pay $5/mo or whatever if that meant I could roll my own SSO, or even just use a cheap-per-user, low-volume provider.