skysight-inc/HackerNews huggingface dataset:
> Apparently, this is enough of an issue that C++20 added a partial template specialization to std::atomic<std::shared_ptr>. My advice, though, would be "don't do that!". Instead, keep your shared pointer in a single thread, and send copies to other threads as needed.

This is to support an atomic lock-free shared_ptr. You can then use this as a building block for building lock-free data structures.
Yeah, I got an account with VMS Software a few months ago.

However, their website and staff members are so brain damaged that I just couldn't bring myself to waste time with it.

Specifically, their website can't even take apostrophe's (nor many other non alphanumeric symbols) in passwords.

Reported that to them, and their staff not only didn't give a shit, they were adamant that only "$#@!%*&" are all the non alphanumeric characters anyone might ever need (in passwords). :(

Thus my complete lack of interest in VMS from that point onwards. ;)
20 years ago the best heat pumps still weren't good enough for cold days.
Sure, you must be an anti-crypto obsessed person if you are against something essentially useless like bitcoin having a trillionaire market cap and using 2% of the energy of a whole country.
I have a feeling that the phrase 'person of color' will come to feel just (or at least almost) as outdated as 'colored person' does within the next ten years or so. All of this obsession with skin tone feels very icky, not least because it's completely unscientific. I'm sure we can work towards erasing racism without having to resort to the regressive practice of grouping and separating people into different tribes.
I said it as latex when I first just read it, but then most professors and such around me said it like La-teck. So I think that's the right way.
It’s a balancing act, but deletable code is often preferable to purely-DRY-for-the-sake-of-DRY, overly abstracted code.
> Democratic state Sen. Catherine Blakespear said people are not reusing or recycling those bags. She points to a state study that found the amount of plastic shopping bags trashed per person grew from 8 pounds per year in 2004 to 11 pounds per year in 2021.

“It shows that the plastic bag ban that we passed in this state in 2014 did not reduce the overall use of plastic. It actually resulted in a substantial increase in plastic,” Blakespear, a Democrat from Encinitas, said Thursday.

Unintended consequences are important to consider. I wonder what consequences these legislators might be overlooking in their new bill.

I don't know why, but some grocery stores we go to have paper bags for purchase, and others have thick plastic ones. I assume the paper bags would remain available. I hear they weigh a great deal more than plastic bags (at least the old thin ones), and therefore consume more CO2 when transported.
Fruit juice is the type of food that is often overlooked when talking about highly/ultra-processed foods. You're much better off eating the fruit.
I agree. The primary area where bad estimates bite us is estimating some path will return 1 row. When we join that Nested Loop looks like a great option. What could be faster to join to 1 row?! It just does not go well when 1 row turns into more than 1. We'd realise that the 1-row estimate we wrong by the time we got to row 2, so queuing 1 row would likely cover the majority of cases.
So first it’s 1.68 trillions of dollars per year every year with political battles over who should be paying for this. And that’s just to get to net 0 for 1 year with a technology we don’t know how to actually scale to do 40Gton a year.

That 1.68T number (insanely optimistic btw because 4c/kwh is quite cheap and it’s probably closer to 3-5x more expensive in practice), is just electricity. People to build these factories need salaries. There are significant construction costs. And then there’s the 40GTon of captured co2 we’d need to sequester - figuring out where to store it is a huge problem. And remember we need to repeat this process each year ongoing to keep up - forget about all the co2 already in the air. Oh and these tend to be chemical reactions so you’re also going to have to be shipping large scale of consumables around to perform the sequestration process.

Sequestration is a long long long way off from being practical if it ever even gets there and you’ve wildly underestimated the cost and complexity I think.
See the docs for Rc, including an example:

https://doc.rust-lang.org/std/rc/index.html#examples
DataCamp and Dish Settle IPTV Piracy Lawsuit, Still Disagree
J Sai Deepak writes: Why 'caste' is a Western construct
https://skiff.com/data-migration

I’m really upset about this, I was about to go all in on Skiff after being burnt by ProtonMail.

Glad I didn’t. Feel really bad for those who did.
We have Nest cameras, and the basic 30 day recording service is $80/year (though we have 2 doorbell cameras and 6 other cameras around the property) so for us its a good value, and $60/device under ring would be crazy. But if you have just the doorbell , then the Ring was and is the better value over Nest.
which is Unreal Engine + ILM stuff... they call StageCraft.
In industry the chance you work on a project that actually makes money is probably something like 10% per job you have EVER had.

People making the actual money are truly rare. Most employees are doing speculative side projects, infrastructure of the company, field support, etc., but very few are on the critical path to a product that is actually cashflow positive ...

In my career of 30+ years i can claim i was making money in a profitable division that was cashflow positive for 5.75 years
You kinda do need to figure that out - EIA says that it takes 7.42cf of gas to make 1kWh of energy.

https://www.eia.gov/tools/faqs/faq.php?id=667&t=8

I dont know where EIA gets those numbers, but that was the basis of my calculation. Maybe I shouldn't have multiplied that by the efficiency of the plant, but rather just taken of distribution losses.
For anyone interested, these are the results on a MacBook Pro with a M2 Pro:

https://ibb.co/6tW8cRy

simdjson was not as performant as the author's intel or AMD results, but yyjson gave way better results than the author had.
Make sure you are working on projects that are generating real substancial $ for the company. And make sure your manager and his/her manager knows about this.

It reminds me of some gangster movie where they are discussing whacking somebody. “But he is a good earner!” saved his life.
These services aren't run by a company that primarily sells hardware/devices. See iTunes on Windows.
I would love to see this type of thing from multiple sources. This reflects a lot of my own experience.

I think the format of this is great. I suppose it would take a motivated individual to go around and ask people to essentially fill out a form like this to get that.
With my new home network setup, my main pihole will run on docker, but my failover will be running on an old raspi that I have no other good use for. If the first goes down I'll know because my heimdall page won't load, and I'll set up some sort of ping check for the second just in case it goes down.
The users would be the one flagging, not dang or the mods. That's a discussion we would have to have as a community.
Yes, the neutered effect is actually really bad for models. I know why companies need to do that but it’s awful because it doesn’t actually know if it’s racist, swearing or just not answering a normal question which is not offensive. We shouldn’t neuter models at all if we want to get anywhere.
We've had the ability to do HD goggle displays, and convergent (plug in, dockable) devices, for like...a decade plus.

I'd say it's valid.
For lefties out there: Lamy has a lefty-based nib. If you're curious picking up a Safari might be life changing. It's so much smoother than a ballpoint. I accept smudging as a way of life though
It was cheap 10 years ago because the global price of gas was cheap, its not now.
Because of regulations and higher costs (labor)
I have a few fountain pens, some were not cheap. The one I use the most is my Lamy Safari. Taking and using an expensive fountain pen outside of the house where I may lose it kinda creeps me out. That said, the Lamy is a solid, not that expensive fountain pen. ~$30.

Then pen you use is the best pen.
Rightsholders Brand Vietnam an Online Piracy Haven and Demand Action
I must admit, I really like interactive pie charts. For example: https://www.amiunique.org/fingerprints-global-statistics (click on e.g. 15 days, to have more data available, so the pie chart looks a bit more diverse)

If you click on "chrome" it will drill down and show you a pie chart of chrome versions, same for the operating systems.
Why western europe and not, say, eastern europe or latin america where cost of living is cheaper?
As written by somebody who was quite clearly never forced to use one at the pointy end of a cane.

I hate fountain pens with a burning, unbridled passion - from 6 to 17, they were the only acceptable writing implement at school, and I just remember endless blotting, leaks, ruined shirts, thefts, bent nibs (it was considered sport to grab someone’s pen and bang it hard into a desktop), and of course there was always some idiot blowing through theirs in the back of class, drizzling everyone with ink.

The moment I was finished it went in the bin, and ever since I’ve used disposable biros.

Fountain pens are an anachronism, kept about seemingly solely to torture children.
Not a surprise to anyone on this site or who has a regular access to a pediatrician, but lots of juice manufacturers play up the “100% all natural non-gmo organic pure apples” thing and updress their product to distance themselves from artificial juice, when they’re really a lot closely related in reality. This definitely fools a lot of parents.
No, it’s spelled LaTeΧ, with a chi.
> soon AI will be able to write high quality books for us about each field with state of the art knowledge

And where is the AI getting that state of the art knowledge from, if people stop writing the content that trained the AI on those topics in the first place?
I just mentioned Lamy below as well. It's a great pen.
https://archive.is/tfRlb
I'd expect aerodynamic stability from wings to have a huge effect. Drones are inherently unstable. A glider is easier to figure out than a helicopter.

On the other hand, I could see a drone being easier for a computer because it behaves the same in any orientation (projectile motion + directional thrust). Unlike birds with their ears and their eyes, computers don't really have an inherent sense of direction.
ifixit's detailed analysis of the display's PPI/PPD basically said it so, the PPD for a good monitor is 90+ whereas Vision Pro tops at 34 PPD.

We're probably 3 to 4 generations away from having resolution equivalence for this use case.
I still remember the blue power LED on my Toshiba laptop fading on and off in a pattern that was not quite the patented Apple "breathing" pattern, but close enough to suggest it.
Must be nice to be primarily concerned with writing code. Personally, most of the time I need to be working in multiple windows at once, such as debugging in one window, performing actions in the program in another window, and often referring to a description of an issue from QA in another window.

There’s no better way to handle all of this than to have multiple large monitors from my experience.
For some people, it's just more comfortable. I'm probably just as productive on a trip with my 16" MBP, but I still feel some sort of relief when I sit back down on my multi-monitor setup at home.

"I like it more" is a good-enough reason to do it!

Consider another example--I sleep alone on a king-size bed. If I swapped it for a queen bed, I bet it wouldn't even show up in any sort "measurably improved" metric: Time to fall asleep, total time slept, time to wake up, maybe trying to measure physical fitness numbers, etc.

But I still prefer the king bed. Maybe some people wouldn't care, and would rather save the space/money, and that's totally fine too.
Probably the guy who masters how to make realtime interactive porn with AI will be the first $1 billion sole proprieter ... Don't laugh YouTube already has hundreds of StableDiffusion channels uploading MANY videos a day ..
2008-ish was an annoying time of "this isn't just a startup, it's a movement" (to make me rich). Apple says privacy is a human right. I wouldn't say that companies only care about money, but ones who advertise their own altruism are probably not telling the truth.
If you can get the suggestion passed on, a simple way to run a process while _dropping_ elevation would be appreciated. Basically the _opposite_ of sudo. There should be a way to _easily_ drop permissions back to the standard desktop user (or lower?), like Linux's setuidgid. There's runas, but apparently that's not sufficient[0]; instead all I'm aware of is scheduled tasks and proxying through explorer, or leaving an unelevated process open and using IPC or other methods to tell if to run something else (none of this is easy in a simple batch file).

The biggest visibility into this issue is software installers, which regularly offer to launch the freshly installed program for the user's convenience...with the same elevated permissions the installer itself uses.

[0]: according to this SO answer, runas still runs the process with high integrity: https://stackoverflow.com/questions/20218076/batch-file-drop...
It’s fascinating how history informs us about the evolution of state power and its reliance on violence to enforce compliance. Reflecting on the industrial age, we see how the permanence of factories and infrastructure bolstered the state’s capacity for coercion—a tool leveraged to an extreme in fostering ideologies like communism. The physical nature of wealth, exemplified by gold bars, presented an opportunity for straightforward confiscation.

Contrast this with the digital age, where Bitcoin introduces a paradigm shift. The inefficacy of traditional state violence against digital assets is stark. The very concept of borders becomes almost anachronistic when considering the ease with which a Bitcoin wallet can be concealed and transported, unlike the gold coins of yore that families might have smuggled in loaves of bread.

The suggestion that authoritarian regimes would willingly adopt Bitcoin is where the real absurdity lies. Such governments thrive on control and suppression, the antithesis of the free-market principles Bitcoin embodies. To imagine they would facilitate their own obsolescence by embracing a decentralized currency is to fundamentally misunderstand their nature.

Your apprehension that state violence will quash Bitcoin’s rise underestimates the resilience and decentralization of digital currencies. As Bitcoin continues its trajectory, reshaping the financial landscape, it will not be the threat of violence that determines its fate but its inherent ability to provide an alternative to those governed by fiat’s limitations. Your perspective, while rooted in historical precedents of state power, may indeed lead to confusion as you witness the unfolding impact of Bitcoin and its challenge to conventional monetary systems.
Divorce doesn’t stop you from being a parent. Having a child is one of the few non-invertable functions you can apply to life.
For the sake of my own curiosity, what is unclean about or in the POWER ISA?
The idea that the average US city/suburb is a 30 minute drive from everything is a serious strawman built up (seemingly) by the collective internet. There are a lot of issues I personally have with car dependence and road infrastructure in the US, but the average/median drive is reasonable. Like, 5-15 minutes to get to most things.
I think the join search would remain at the same level of exhaustiveness for all levels of optimisation. I imagined we'd maybe want to disable optimisations that apply more rarely or are most expensive to discover when the planner "optimisation level" was set to lower settings. I suppose that would be things like LEFT JOIN removals and self-join removals. However, PostgreSQL does not have very many expensive optimisations that rarely help, so having an optimisation level might be more of a way of introducing more new optimisations that help fewer queries. Because we don't have a plan cache, there's been a focus on keeping the planner lean and having it not go to too much effort to optimise queries that are poorly written, for example.
Lol, while they dither, BYD is rapidly eating parts of their market. By the time Toyota builds their factories other makers will have had a full range of vehicles for years.
It's also one thing if you want to provide SingleThreadedApp and a MultiThreadedApp instances in your package, but that should be left up to the user -- or made explicit in package docs. (We're spinning up 100 go routines!)

Over a decade ago I was trying to debug why the UI written in Java was slow on solaris box. But that wasn't the primary reason.

Turns out there were over 3000 java threads running at any given time. The people who wrote Java code wrapped an event class around a thread, then just started kicking off events willy-nilly. So after about 5 minutes the os had thousands of these things to deal with. There wasn't really any processing left over for anyone else.
My system is a Trane with a 1050xl thermostat and a companion thermostat. If you have one of those (or a related thermostat model), you can get into the service menu by going to "service" and holding down the tech access button for a period of time. There should be a damper check option in the menu which will allow you to trigger specific dampers and there are some other buttons that show you which dampers are hooked to what thermostat.
So in fact this whole shebang about memory safety is driven by a statistic about memory safety errors in Microsoft products.

And yet the memory safety advocates everywhere are waving that number around like 70% of all security issues are caused by memory safety.

I note Chromium project also says "The Chromium project finds that around 70% of our serious security bugs are memory safety problems." https://www.chromium.org/Home/chromium-security/memory-safet...

Then you get headlines like this: "Microsoft: 70 percent of all security bugs are memory safety issues", which is flat out wrong and contradicts itself the first line of the article.

https://www.zdnet.com/article/microsoft-70-percent-of-all-se...

The HN post that we are commenting on even says "To me, the fact 70% of security vulnerabilities arise from a lack of memory safety is not the reason that memory safety is important." which is also false and certainly needs clarification.
I struggle to use lmdb when using resource isolation (like docker, nomad exec driver). The hidden complexities really become apparent when you build largish systems using shared infrastructure. Anything is easy if you have a dedicated machine or have dataset smaller than your memory allocation.

Mmap is so simple for the application/developer, but the price you pay is giving up clear ownership of memory and clean separation between kernel page cache and application space. The interaction between the mmu, mmap, tlb and the linux kernel IO layer is complicated. You don't want to touch that complexity at all if you care about ultra low latency.

The article rephrases the question into

"do you really want to reimplement everything the OS already does for you?"

but I would rephrase it again into questioning why fairly straight forward concepts like a buffer cache can't be implemented directly in the application?
It's a bit ironic how you answer your own "question", but yeah. It's not glued to your face, you can choose to wear it only when you feel like you need it. If you only use it for 1 hour a day that's good for you. I'm sure there's lots of gadgets that get way less use than that.

Now, you should probably ask yourself why you care so much about what other people do with their money. I won't get one, but I see why people would. If you are also not considering buying it, why do you even care ?
Obviously depends where you are & your use, but most of the gas bills here are everything but the actual gas. Transportation, distribution, storage, taxes, standby charges...
Unless you are outright buying some of their key people and their secrets. Or instead just licensing the tech from ASML. It would be a quick buck for ASML with little downside.
That's his day job. No different from a truck driver doing overtime away from his wife and child to feed the family.
It doesn't change the calculus for switching. It's the same fixed cost either way. The price is simply going up for customers who are not poor. I don't see how this makes someone more or less likely to switch to solar, since the dollar amount they can save stays the same.

An analogy: your kid's preschool has an option where you can volunteer once a month and save $50/month. One day, they announce that they are going to institute a new fee that ranges from $10-100, depending on your income.

How does that new fee cause fewer people to decide to volunteer?
My experience from having worked at a mostly Python shop
(and loving Python myself), and working at a Node shop, is that the latter is by far the worst.

Python probably has just as many shitty packages as Node, but Python’s stdlib is so vast that you often don’t need to, if you bother to read the docs. Today, I was marveling at a function someone wrote at my work to cast strings to Titlecase. I learned today that JS has no built-in for that.

That’s a tiny example, but there are far more.
One doesn't need to consult a pediatrician to look at the nutrition table. Even wealthy, intelligent people I know consume highly-processed garbage on a regular basis without thinking twice about what they put in their bodies.
Yes, a lot of them.
Tufte can back up what he says with reason and examples, rather than repeatedly making the same assertion. Just saying "well Tufte says so" is a pretty blatant appeal to authority.
But what kind? For instance, a mini-split in an apartment is quite different from the 3-ton forced-air system I described.

People use the term "heat pump" to sometimes describe quite different things, so it's hard to know what's apples-to-apples.
There is also a pole closer to the substation which is carrying the power for 5000 people.

Meanwhile if four of the eight people near your house decide to disconnect from the grid because the fixed fee is too high, you still have to cover the cost of that pole with half as many people, some of whom might then decide that the higher fixed fee is too much and disconnect too, etc.
> Is your $0.30-0.40/kwh rate based on your Solar cost?

It's just out of date from the math I did two years ago, I should have mentioned that.

> heat pumps are too expensive to operate with CA electrical rates.

It depends on your furnace. Typically it's going to be 80AFUE. $2.54/therm is $0.087/KWh-gas. If you pay $0.42/KWh-electricty, a heat pump with a COP >= 3.7 saves you money. Heat pumps with COPs above that at bay area temperatures are widely available.

If you have a 96AFUE furnace, the necessary COP is 4.6. That's a lot harder to find: I'm no expert on the heat pump market, but it seems like the standard units are mostly 3.5-4.0. I can find mini splits up to 4.5 (like [1]), but they're more expensive.

[1] https://www.homedepot.com/p/GREE-Sapphire-9000-BTU-0-75-Ton-...
There is no such requirement. Common wisdom suggests that you should ensure zero values are useful, but that isn't about every random struct field – only the values you actually give others. Initialize your struct fields and you won't have to consider their zero state. They will never be zero.

It's funny seeing this beside the DRY thread. Seems programmers taking things a bit too literally is a common theme.
That conflict of interest section is quite long, not really sure what to make of it.