skysight-inc/HackerNews huggingface dataset:
> Well over a month ago, a C++ programmer noticed that, on Windows, the std::shared_mutex doesn't work properly,

https://news.ycombinator.com/item?id=39581664 for anyone who didn’t see it at the time (or wants to revisit it)
That is exactly what I'm trying to get across. Preparation isn't immediately before the speaking engagement. It's days, weeks, or if it's a big enough deal, months ahead of time.

I don't know why people don't seem to understand that.

If it's a topic that is low stakes and I know a shit load about, I'll practice for a day or two. If it's a topic that I know and it's high stakes, I may practice daily for two or three weeks.

Everyone who knows me professionally remarks about how relaxed I seem when public speaking.

That's because it's all intentional. Every pause. Every single thing. I seem relaxed, because I am relaxed.
Yep, and pretty much the entirety of Boulder preemptively turned off, but not the areas south along 93 and to the east into Arvada near Rocky Flats, which are the exact super dry and windy areas where the Marshall Fire began.

I actually do think there must be some plausible explanation, but it's hard not to feel sympathetic to the people who are convinced it is a tit for tat by Xcel, targeted at people who have been involved in recent legal confrontations with them. There are good reasons they aren't being given the benefit of the doubt here.

I honestly worry more that truth is they were just winging it without any strong process or data with which to make the decision, and that this is their plan moving forward.

But the good news is that the PUC investigating what happened is the way to get these answers, and is exactly what Governor Polis is pushing for.
ISP routing, throttling
If you read carefully, you may see that they did not say that "VPN traffic is being blocked because it's malicious"
The "AI" versions of the movie stills are darker and "greener" or "bluer" in all cases in this article, which is NOT the case when you watch the movie. It's a mistake on the part of whoever put together the image comparisons.

The culprit here is that the non-AI screenshots are taken from presumably 1080p non-HDR sources, while all the AI screenshots are taken from presumably 4K HDR sources. The "AI" images are all displayed in the completely wrong color space -- the dark+green/blue is exactly what HDR content looks like when played on software that doesn't correctly support decoding and displaying HDR content.

It's a shame that the creator of the comparison images doesn't know enough image processing to understand that you can't grab stills from HDR content from a player that doesn't properly support HDR.

On the other hand, the state of HDR support is a mess right now in software players. Playing HDR content in common players like VLC, QuickTime, IINA, and Infuse will give you significantly different results between all of them. So I can't actually blame the creator of the images 100%, because there isn't even a documented, standardized way to compare HDR to non-HDR content side-by-side, as far as I know (hence why each player maps the colors differently).
SLC is the best, then MLC, TLC, QLC, and now maybe PLC flash in order of decreasing endurance and retention.
Ask HN: Does it still matter to be in the Bay Area?
A while ago lots of people moved out. Due to the current AI fad people came back (?). Does it still matter to be there and in what circumstances?
Money will choose the model. They need lots of expensive compute power so there will have to be a business model and ad-supported is the way to go on the internet.
Who wants to read it is Google and Microsoft, to further train their generative models. That's why it's called the Habsburg problem.
Agreed that std::list is never the best solution. In every case where I want linked list semantics, it's because I want to be able to dynamically add and remove objects from the list without any allocations at all. The only way to achieve that is an intrusive linked list design, which std::list is not...
Chrome + Windows 11. And before that Chromium on various versions of Ubuntu Linux over the years. Firefox renders it practically identical to Chrome/Chromium.

I stayed for the content but the colors and the thin monospaced font didn't make it a pleasure. I have returned regularly over the years because I like the content so much.

> I did try a brighter font color but found it too painful on my eyes

Do you have retinal detachment? It can cause high contrast to be unpleasant to the point of being painful.
NYC has Mullvad ads plastered everywhere. They bill themselves as protection from corporate surveillance. This is not wink-wink advertising. It’s an attempt to swindle somewhat tech literate people through a lie.

Sure you and everyone else on HN know what a VPN for, but that’s not the case for 97% of the people on a subway car who see their latest campaign.
Here ya go:

https://archive.ph/pIsX4
According to this article, this is probably a myth:

https://www.theatlantic.com/health/archive/2018/09/victorian...

https://archive.is/idRiW
Ask HN: C++ devs who went C only
Any C++ devs who got off the train and went C-only to focus their skill set and spend more time on picking up other archtectural type skills instead of keeping up with the new features and standards?
This is silly, Postgres doesn’t speak the Redis wire protocol. You will need a large army of connection proxies to get a Postgres database to handle the number of connections a single Redis shrugs off with no sweat.

Maybe you like this answer more: At the end of the day you can embed a bunch of Turing-complete programming languages in Postgres, and Postgres can store binary blobs, so Postgres can do literally anything. Can it do it performantly, and for low cost? Probably not. But if you put in enough time and money I’m sure you can re-implement Redis on Postgres using BLOB column alone.

Here’s a simpler answer: cuckoo filter is available out of the box in Redis, 2 seconds of Googling I didn’t find one for Postgres: https://redis.io/docs/latest/develop/data-types/probabilisti...
Google reviews from 10 months ago, so at least active till then
you gotta outsquat the squatters

https://www.latimes.com/california/story/2024-03-12/out-squa...
I mentioned it in a side note that I trimmed because there were so many that it spilled into the footer (faster to trim the article than to fix the CSS,) but Microsoft is the only implementation of the big three that doesn't mark the move constructor here as nothrow. The standard doesn't require it so it's valid for MSVC to do things the way they do, it just creates problems like this that would arguably be harder to find the cause of if one had to build code for multiple platforms.
Forgiving student loans only helps people with student loans.
https://discuss.kakoune.com/uploads/default/original/1X/f458...
Evidence that LLMs are reaching a point of diminishing returns
Computer exile beats historical gulags for intellectuals, since choice exists for voluntary return, as mental immune system outwits mind virus de jour.
I am old fashioned. So I would use a VPN if I want to prevent my landlord from getting a cease and desist letter from a lawyer when I download warez. Mostly audio books, and textbooks, but also movies and music.

Ie, it's the use case where you Pirate all the media, and use a VPN as a security bandaid against anti-post-scarcity busybodies.
The recipe problem mentioned isn't that the recipes are bad but that reading them requires scrolling through pages of autogenerated fake backstory about how the "author" first had this particular paella in Majorca, and that the site's only real goal is to get you to scan that screen space because it also has ads on it, and that now they can essentially make as much of that filler as they want for free.
And on the other end of the spectrum, none of New York's airports' names contain "New York."
I was also unhappy with emacs breaking across versions, but I learnt to adopt to the new and sane keyboard shortcuts for org mode. http://muratbuffalo.blogspot.com/2024/01/dude-wheres-my-emac...
I have just the opposite problem. I've tried Visual Studio Code many times, each time wondering if there were some productivity benefit I was missing because everybody seems to use and love it. I'm just not seeing it. Having Emacs Lisp right there, in which I can knock together some automation that smooths the pain points out of my workflow, is just too much a benefit.

Visual Studio Code is just aimed at a different kind of developer than I am. (ThePrimeagen fans, stay quiet; you risk violating someone's code of conduct if you speak up now.) It doesn't work the way my mind works, so I will always be a foreigner in its lands. Plus, Emacs is just too cozy. It's like a beanbag chair: once ensconced in it, you struggle to get out... and you really don't want to.

Emacs now has a package called crdt that uses -- you guessed it -- CRDTs to provide collaborative editing. I've seen YouTube videos of it in use and it seems to work rather well. So you can pair program remotely with it, but I don't pair program often enough to need it.
I believe the 8086/8 has the same behaviour with its prefixes too.
I thought it was going to be a home server that went into overdrive, heating the room your cat was in or knocking out the aircon.

Anyway, better experience than being woken up by a dozen SMS alerts.
> I remember the C++ ca. 1994 year when I started my career. It was C with Objects back then

It is possible, and perhaps even likely that the C++ you wrote in 1994 was indeed this "better C" and maybe even the C++ you read, the language Stroustrup wrote about in 1985 although "C with Objects" is much older still. The ISO document (C++ 98 aka ISO 14882:1998) was four years into your future in 1994, but the committee to write that document had existed for quite some time. Stroustrup's 1991 Second Edition of his appropriately already big book "The C++ Programming Language" explains that the committee have accepted Templates, although I believe at that point they didn't realise they'd inadvertently thus added an entirely new meta-language which is programmed differently than the rest of C++

Boost comes much later, it's only about as old as the actual ISO document.
I wonder if it's possible to start a moving company doing this? Buy a VW transporter and fill it up with SSDs...
I love the whole KDE toolchain and plasma as well. I donate monthly. It's so much more useful to me than the opinionated design of gnome.
I found the opposite when renting a car at the airport.

Renting a car in Belgium from the Canadian website is cheaper than renting the same car on the Belgian website.
I use (basic) Emacs shortcuts everywhere via Karabiner Elements. Caps is control. And Enter is control when pressed with another key.
I was honestly expecting it to be mostly black magic, but it looks like the meat of the project is a bunch of (surely hard won) regexes. Nifty.
Thanks for taking the time to write this. I appreciate it, I read it to my wife and she agrees we should stop thinking about the why.

It’s not so much that we want them to be normal or are particularly worried about that, we are very anxious though about what happens to them when we die and what abuse they might face.
You're just trading your ISP for a different third-party who has all the same incentives.
I don't have a ton of Go experience (intentionally), but I don't find it very good for ease of code or safety.

It's a simple language to a fault, but I would not call it easy. There are so many footguns in the language itself and the standard library.

I just reviewed a PR that added a bunch of `defer response.Body.Close()` calls after http requests to fix leaks. I don't know why Go is allergic to RAII, but I hate it.

I also find it very hard to read. There's so much boilerplate sprinkled throughout everything, it's hard to follow what code is actually doing.

While I am very in favor of a good static type system, I think dynamically typed languages like Ruby or Python win over Go by any metric except speed.
> I appreciate any feedback!

Please don't use a name which is confusingly similar to an existing product (i.e. infringes on someone else's trademark). Open source communities have enough to deal with already without having to allocate scarce volunteer hours to working out legal issues.
U.S. Steel Shareholders Approve Sale to Japan's Nippon Steel
Mullvad and it's not even close haha
Yeah I pretty much only use my own alternate container implementations (from KJ[0]), which avoid these footguns, but the result is everyone complains our project is written in Kenton-Language rather than C++ and there's no Stack Overflow for it and we can't hire engineers who know how to write it... oops.

[0] https://github.com/capnproto/capnproto/blob/v2/kjdoc/tour.md
>The property owner pays taxes, right?

My understanding is that they do not, for a listed building that is vacant.
Right. My point is that 1) this is a quality-of-implementation issue in MSVC, 2) the standard should be phrased such that the MSVC implementation is illegal, and 3) the C++ standard library solves a lot more problems than it creates despite having warts like this and C++ having some unfortunate defaults (e.g. mutability by default).
My mom did this with the name of the website and her birthday. Amazingly, hackers figured out her cypher.
A $10,000 invoice also means that procurement gets involved on the buyer side and sales on the seller side.

Notion doesn't want 1 month of credit card spend tricked out of someone without purchasing authority, they want a site-wide deployment on an annual contract. The invoice is just a tool to ferret out who has authority to have the discussion; nobody expects it'll get paid as presented -- it's just the opening bid. Procurement's opening bid might be a chargeback and a org-wide ban on Notion -- and then you do sales dance.
Could this possibly lead to a new Gordon Ramsey series?
There have been several PhD theses on trying to fix nitrogen to grow wheat in the dessert. To my knowledge none have been successful.
You do need to change the prompt. You need to explicitly tell it to emit JSON, and in my experience, if you want it to follow a format you need to also provide that format.

I've found that this is pretty simple to do when you have a basic schema and there's no need to define one and enable function calling.

But in one of my cases, the schema is quite complicated, and "model doesn't produce JSON" hasn't been a problem for us in production. There's no incentive for us to change what we have that's working very well.
> Their prices keep going up, and then discount enough to make sure the student's price is as heavy as they could possibly bear.

Isn't this consistent with their mission? If a student comes from millionaires, they can pay the full rate. Others get a discount according to need.

> They put that money into real estate investment, but they don't actually do anything with the land

This is caused by the opposite of what you're objecting to: What they should be doing is renting out the property and using the revenue to further their mission. But as soon as they do that the state would start collecting both property tax and income tax on the rent, even if 100% of the rental income is going to the non-profit's mission. Between that and the costs of maintaining a rental property, you've made productive use into a net loss and created the perverse incentive to do nothing with the property instead.

In theory the "problem" with this is that a non-profit could operate a profit-making business as a funding source, but why is that a problem? If an independent for-profit business can deduct a donation to a charity, why shouldn't a charity be able to deduct a "donation" to itself?
In my experience 12-24 hours won't help you enough in a city, and is woefully inadequate in rural areas.

There are better ways to spend your money to cover risks than batteries. Maybe if you were getting a battery for other reasons, or as a luxury if you are wealthy enough.
I've been using Kate for long time. I try other things but seem to gravitate back to Kate.

It's relatively resource efficient and fast, very full-featured, open source, and I can use it on different OSes and it's pretty much the same everywhere. Also it's GUI, and has a standard GUI UX.

I've never really had any problems with it at all until I started using it on ARM MacOS, where there were some weird bugs with filenames during saves (no corruption or anything, but would default to weird things and occasionally crash if the "wrong" filenames were used); but then the most recent major version seemed to fix all the problems.
Quote: "Cantwell has repeatedly upended privacy negotiations. In 2019, she broke up a working group trying to hash out a compromise. In 2022, she rebuffed a landmark agreement from three key lawmakers, a first-of-its kind bipartisan deal. Again and again, aides said, she has thwarted promising talks by refusing to iron out key disputes, speaking out publicly against colleagues’ efforts and not empowering her staff to fully negotiate."

Ahhh, the good old two-facedness of American lawmakers.
Well, I've talked to two important Chinese officials (important enough to be in the "Hall of the People", but nobody you would know), and both were of this opinion. The CCP tolerates ZERO mistakes from it's officials. Merely not making any mistakes is not enough, it's just table stakes. Like passing the exam.
> I suspect that people who can't afford to have their property tied up for that long will resort to . . . private eviction services.

Are they itching to spend time in prison?
My wife's a doc, in residency, and also Swiss, so I find myself referencing this study [1] on residency hours in Swiss residency programs over years. Bottom line: there are limitations on hours/wk and consecutive shifts, but enforcement of that is a joke + nonexistant, especially among residents (note resident's interest in maintaining their resident status and remaining 'bureaucratically blessed'). [2]
See the Albuquerque neurosurgery resident walkout for an interesting business case of the real value of surgeon residents and what might motivate them to cause a big kerfuffle in hopes of bringing about changes. [3]
I'm mostly acquainted with attending physicians who don't mind the 60hr weeks when they don't have a choice, and residents who pick up the rest of the work that attendings financially benefit from. Surgery attendings seem to be a special sort of animal.
It's just not as simple as limiting hours, unfortunately -_-

[1]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3464122/
[2]: https://psnet.ahrq.gov/issue/public-opinion-resident-physici...
[3]: https://thesheriffofsodium.com/2022/02/04/how-much-are-resid...
>Emacs is not just a code editor or an IDE, but a whole operating system around plain text.

This meme really needs to die.

I use emacs a lot, but the attitude that it's not just a text editor leads people to accept UX mediocrity.

Emacs has fallen behind VS Code in many ways, including text editing.
It’d be callous and insulting if it was a reasoned position.
What would be a standout feature compared to other open source authN/authZ solutions like Ory or Keycloak?
I started with Stroustrup's C++, it already had templates back then.
That is very valid, and I don't want to discount the risk of that happening.

However, the way that I see it. If we were to actually put some serious political pressure behind fixing our education system so that was no longer a valid risk. (I mean ideally the idea of price and school for the first 2 or 4 years wasn't even a conversation, but clearly we are not ready for that) than if/when we were able to address some of these fundamental issues, we would do something like this already.

Acknowledge that due to policy failures there are students that went through school before fixing these problems and do something about the debt they are dealing with. At least getting it in line with what a current student would expect to be going through taking years of payment into account.

My thing is though, why wait? Why not do something about it now. Especially given the realities of the current political climate that, frankly I am not convinced we could get anything else actually done.

I fully acknowledge that risk exists and the high likelihood that there have been conversations in school boards or whoever actually makes those pricing decisions about what exactly this means. It's ridiculous that I look at some schools that have a yearly tuition inching closer and closer to $100,000.

The way I see it there is no best solution. Either we do nothing, we keep things as they are, maybe we slow down tuition price increases a bit, and millions of people are still stuck with underwater loans years after graduating. Hoping that we will get the right people with the right political power to actually do something about the school system now.

Or, we do something, we take that risk, we watch what happens. But also giving relief to a lot of people, who will also then have more money to be able to spend in the economy.
Just my random opinion... It probably matters more if you're looking for venture capital, or if you want to work for one of the top (and Bay Area-based) companies in the field. Although a lot of major AI companies (including OpenAI) are in the Bay Area.

In general I think it's limiting if you confine your job search to one area. (After all, your odds double if you try two different locations.) And there are other large tech cities -- Seattle, New York, etc.

There is also the possibility of a telecommuting position -- though more of those tend to be "hydrid" than 100% remote. Still, more of those than there were five years ago.
Double the taxes every year it's vacant.
Check Arnold's hair: https://pbs.twimg.com/media/GBaikRhX0AEcjuy?format=jpg

Almost looks like rotoscoping.

> Better to accept the infinite progress unfolding before us than to spend another moment angry or enraged.

Some would say this is infinitely regressive. From the twitter picture, it looks like a justified criticism, from the examples in the article, it's hard to tell whether there's a merited criticism or if it reflexive anti-AI'ism
Piracy is also listed under the "When to use a personal VPN?" heading.
Sure, and we're trading it for money. If the question is "why would you want to know what your coworkers make", the answer is "so I can leverage that information during negotiation for more compensation". If the question is "why wouldn't you want to optimize for your employers' ROI, considering they take on all of the risk", then I wonder why you suggested it would be absurd to take a 50% paycut.
Comments moved to https://news.ycombinator.com/item?id=25424735.
> But it was of course a complete non-starter for pair programming. After having tasted Visual Studio (± Code) Live Sharing, there was simply no going back.

Interesting that the straw that broke the camel's back for the author was pair programming. I've been pairing pretty regularly for a long time now, and everybody using their preferred editor/IDE was never a problem. Live editing the same code is something we played around with every now and then, but there wasn't real utility. One person sharing their screen is pretty much how I've done it for the last five years or so. If we want to switch who's driving, we just commit.

Edit: In fact, my experience is that it has never been so _easy_ for everyone to use different editors. CLI toolchains, editorconfig, auto formatters and linters, LSP, ...
"Squatting Nightmares"
> The odds are always against you—especially given how much one can make in FAANG, it's a particularly difficult time to make any kind of expected-value argument for working at a startup.

This kind of advice often assumes that it is easy for anyone to get a FAANG job. I got rich from a startup, before that I was working for a bigger companies and I'm very sure that I would never have been successful in that game. I'm fairly sure that corporate jobs work out for quite different persons.
Astonishing array of wildlife discovered in Cambodia mangroves