skysight-inc/HackerNews huggingface dataset:
In far more cases, zero-cost abstractions make obvious or impossible bugs that would be hard to spot in C programs, e.g. memory lifetime rule violations. And you could make a similar argument that C obscures bugs that would be obvious in assembly. High level languages are a blessing, and programmers who avoid them are only decreasing their productivity and those around them.

The problem the article highlights appears to be an implementation defect: in my libstdc++ test just now, we do, in fact, mark the list as nothrow move constructible. The standard should mandate that std::list be infallibly moveable.

Are we going to indict a whole programming model based on an isolated implementation bug? If so, well, isn't doing that from a "C is better" perspective the galactic black hole calling the kettle black?

#include <cstdio>
#include <list>
#include <type_traits>
#include <vector>

struct Node;

struct Connection {
Node *from, *to;
};

struct Node {
std::vector<Connection> connections;
};

int
main()
{
printf("%d\n", std::is_nothrow_move_constructible_v<std::list<Node>>);
return 0;
}
That pub closed last month according to https://whatpub.com/pubs/NLD/5989/york-albany-london
I will never part with my expensive kindle. Lolol. I read so many good books on it.
They can still deduce it from the TLS SNI unless the web server you access supports TLS 1.3 Encrypted Client Hello.
https://en.m.wikipedia.org/wiki/Server_Name_Indication
What world is that? The distinction has lacked meaning on linux for far longer than it has existed, as the subset in /bin /sbin and the /usr versions thereof don't form any useful subset of functionality.
I wrote my own shitty deployment/monitoring GUI that uses just systemd and ssh and a single yaml file: https://github.com/dvolk/sc
It's okay to use different tools. Don't worry about it so much.

FWIW, I spent a lot of time in Notepad++ with my own syntax and settings setup for a specific video game I made mods for. And then I learned Linux and really bought into BOTH Vim and Emacs. And then I stopped playing around with computers and pretty much forgot about all of that stuff. No hard feelings.
I'm not saying poor people don't get taken advantage of - just that they are less likely to be taken advantage of in this specific way.

There are no end to bad people in the world. Its not that one group is taken advantage of and another is not, just that different methods are more effective against different groups.
> but launched it forward (accidentally) again by forgetting that they'd implemented XHR, which allowed AJAX and the rest of the interactive techniques.

In fairness, Microsoft introduced an ActiveX control that could load external resources without leaving the page. A few versions in fact that were not compatible with one another.

It was the Netscape/Mozilla folks who gave it its own fixed API independent of ActiveX that Microsoft and others later adopted years later and would become a standard, complete with wacky capitalization.

It was implemented and delivered by Chris Blizzard shortly after I had asked him for it at the Mozilla Developers Conference in 2000. (To be clear, I did no work on it and am not trying to take credit. The team was asking for feedback from attendees, and we were a relatively small gathering back then. Just establishing I was an eyewitness to the events.)
I can see it dramatically reducing the need for fertilizer, making farming cheaper and less polluting. I hope the patenting company does protect its IP and makes a ton of money from the good it would do for the world.
You’re not alone. I think it’s really common to question yourself and ask, “Is this how I should be feeling? How I’m supposed to be feeling? How I’m supposed to be acting?”
You're asking why there's a difference between civil and criminal law. The answer is that some things are disputes between people, and other things are codified as crimes. Kidnapping someone is a codified crime; having a dispute over a contract (including a lease or other document allowing occupancy) isn't. It could be made into a crime via legislation, but I think my other comment puts forward a decent argument for why doing so would be pretty bad for our civil liberties.

(The underlying "why" here is that calling the police for a theft or a kidnapping results in a criminal accusation, while just having a dispute over rightful ownership or occupancy is not itself criminal.)
I draw the line at edits that consider semiotic meaning. Edits are acceptable if they apply globally (e.g. color correction to compensate for faded negatives), or if they apply locally based on purely geometric considerations (e.g. sharpening based on edge detection), but not if they try to decide what some aspect of the image signifies (e.g. red eye removal, which requires guessing which pixels are supposed to represent an eye). AI makes no distinction between geometric and semiotic meaning, so AI edits are never acceptable.
The need for grown-up computing is not ever going away. It gets less
visible, harder to see against all the noise.
As a very small investor, I prefer to not listen to what Goldman and others have to say about the market. For an individual there is no way to know if they are right, they are wrong or they are lying for their own interests.
I have the same optimistic belief as you, but I wonder if the world really works like that. Meta employees (who are by definition smart enough to get the job) haven't all quit after reading the studies that show that Instagram usage results in teen depression and suicides.

Or perhaps that supports your point. The smart people with fluid morality are vacuumed up by the Metas of the world, leaving none that would build a nuke for a third world dictator.
Probably like most people here you end up with a collection of tools, so glad Kate exists and really appreciate the high quality and amazing features. Years past you'd have to pay for things like UltraEdit and fight licenses, etc which are a nightmare if you cross boundaries with big companies.

I find myself using Kate, Geany and Notepad++ at different points in time for different tasks across my Windows/macOS/Linux machines.

Kate surprised me a few months ago, I had to write assembly for a fully custom processor whose ISA is not at all industry standard. Kate was able to do the syntax highlighting and with the right color theme and "double-click to highlight" it made the non-trivial changes I needed to make a LOT easier than anything else (VSCode/VSCodium included).
It'd be nice if dlmopen weren't broken and made a linker namespace so separate that it couldn't even share pthreads with another.
Ironically, the reason my wife, a physician, gets to see her dad, a private pilot, most often is when he's flying medical teams to harvest organs from organ donors.
'Agreed' to your points, at least in part ;)
Wouldn’t a VPN help protect against a targeted attack? Like an attacker could push bad JavaScript or app update to the user of a particular IP address. On DNS, it’s plaintext by default, and almost always not signed via DNSSEC. Such user could slightly benefit from a VPN from a security perspective.

VPNs also usually do ad blocking, and some limited malware scanning.

On privacy, there are many situations where a private IP address may be desirable, some of which mentioned in this post. VPN hides the traffic from the ISP, but also the user from the destination. On the latter, for instance, the websites could log IPs and that information could be sold or leak in the future.
I have mine always on for privacy. Is there a reason to not use it? The extra latency is close to 0 just use an exit node in the same city. Why should I donate all my browsing data to my ISP ?
It's unbelievable that squatting isn't a criminal offense.

I saw someone solving this problem by subsequently leasing the squatted premise to someone else, and then occupying the residence. Because the person wasn't the owner but a renter they had more rights than the landlord. I wonder if this is the right solution for all of these squatters.
Master Tape Rescue finds lost music
This fork:

https://github.com/deathau/markdownload

With extension available for Firefox, Google Chrome, Microsoft Edge and Safari.
Speaking of hypocricy, why is that Russians endlessly whine how the US has wronged them, but when anyone sheds light on the crimes that Russia has committed, you immediately bring the US up as an etalon of morality and try to act as if the genocide of Native Americans two centuries years ago gives you the license to exterminate people in present day?

If what the US did to Native Americans is wrong, then boy oh boy do you have lots of begging for forgiveness to do. If it's not wrong, then why bring it up all the time? Shouldn't you celebrate the American empire for being something that Russia has always wanted to be, but could never achieve?
>
I can't tell, but just to make sure - I mean https://en.wikipedia.org/wiki/Expected_value , not the most likely outcome.

Of course.

I'm not talking about investors investing money into a startup (in such a case, the expected value is better positive), but about some irrationally optimistic person who starts a startup because he deeply believes in his startup concept. Hoping in general that your startup concept works or even has a positive expected value is in my opinion indeed like buying lottery tickets.
Yes, back in the mid-late 80s Turner Entertainment colorized a huge number of old films in their vaults to show on cable movie channels. It was almost universally panned. It was seen at first as a way to give mediocre old films with known stars a brief revival, but then Turner started to colorize classic, multi-award-winning films like The Asphalt Jungle and the whole idea was dismissed as a meretricious money-grab.
https://archive.ph/jvReG
Create an AI powered for your documentation site in seconds
If you have developer documentation and want to boost your community with AI this is for you! Just pull in the base url of the site add some customization and get a sharable link for your chat, link it anywhere you want.

I saw this trend in some places like gcp with Gemini, or Langchain or Supabase ask ai, but they're all custom-implemented solutions, not everyone wants to advocate developer resources to create the rag, deploy it and maintain it, you just want devs to build with your stuff, the more they can do the better, the quicker the better, and if they get a smooth experience while doing it that's legendary already.

Just some clicks!! With one base URL you are halfway through. Check it out at https://explainit.mzslabs.com
> If interest rates remain the same for a longer period then houses must sell for a price where people can pay their mortgages.

No, houses can stay expensive even if no one lives in them, as we see in China.

Or rents can rise far above affordable levels, as they have, and people can end up paying more in rent than they could qualify for with a mortgage.

Or people can take roommates or boarders to afford the higher costs.
I stumbled on the idea of Program Synthesis when I was looking to solve VMProtect's Mixed-Boolean-Arithmetic (MBA) expressions in my own VMP Decompiler. I tried experimenting with this project but had limited success:

https://github.com/quarkslab/qsynthesis

I have yet to try the project from Denuvo but it looks promising:

https://github.com/DenuvoSoftwareSolutions/SiMBA

If any commenter has other suggestions, would love to hear them!
I abandoned Emacs for a year or so and used BBEdit for regex-replace and VS Code for dev tasks. Also gave up on org-mode and org-roam because I could not find a mobile companion. Adopted Obsidian for all my note taking use-cases and journaling in markdown.

A few weeks ago I asked myself if I can use Emacs as a front end for my markdown files in my Obsidian vault. So I started setting up Emacs for searching files via counsel-fzf and via ripgrep (I can jump to any heading in my markdown files, find any content in my 17k+ files, in an instant, using Emacs). I use yasnippet for templates.

After a week or so I realize this:

0. I love writing documents in Emacs, use Elisp to automate my workflow, and have all my files available on the go via Obsidian.

1. Emacs + Elisp are a wonderful platform for all things text.

2. Markdown is less capabable then org-mode, but it's available everywhere.

3. Org-mode is tied to Emacs, and thus no mobile solution.

4. Broke down my 5k lines Emacs config file into packages and import them. This made it more managable. And now I version control my configs and packages. This also made it more managable.

I still use VS Code for writing code, BBEdit for regex search/replace across files, I just have re-discovered Emacs again. It's just unbelievably versatile with the Emacs Lisp language. I cannot automate Obsidian just as fast (or at all).

## Edit

I have said fare-well to Emacs soo many times, just to realize how absolutely lovely it is / was, and come back to it. Always. And then, with a fresh perspective, appreciating it even more. So I don't believe this fella is going to stay away from it :)

## Edit 2

What boosted my Emacs usage is ChatGPT and Claude 3. I have never created that many Emacs packages in my life like in the past two weeks or so. With the right prompt and a few iterations I can make Emacs do whatever I need it to do. Absolutely stunnig.
i got hit once by a police car making a left turn while on his phone with me having the right of way. I rolled over the hood jumped up, said i was fine, and took off. I was late for a meeting. Sometimes i wish for a broken arm, i would be on a beach right now instead of logged on and coding.
The supply of new doctors (and residents) should at least keep pace with population growth. For whatever reason, we spent nearly two decades keeping this number flat even as population grew by 70 million. We shouldn't have to double these numbers, they all should have organically increased at a reasonable pace. But for a variety of reasons they didn't and now we have to fix the problem.
A short history of India in eight maps
Film production crew although it doesn't have a video digital out. But you might not even need it if you are only after storage, 8K RedCode raw is around ~7TB / hours
So that's why they want us to microchip our pets!
And here I thought your somehow hooked up a cat feeder to alerts.

Regardless, very cute - what’s your cat’s name?
I should clarify. When I say "rewarding bad behavior" I mean it further incentivizes the universities to keep raising prices, faster. There are myriad of reasons why college costs goes up but the biggest driver is the inelasticity of college degree. College administrators can raise prices because they see that the market will bear them. If college administrators and students see that the government will forgive student debts (btw it's not even dischargeable through bankruptcy), then the administrators will charge higher prices ("don't worry prospective students, the government will forgive the debts!") and students will also include it in their calculus for college-decision making process ("maybe there will be another loan forgiveness down the road, I can definitely take the risk"). Think how Tesla and all these EV companies display the car price with the tax break. This is what I mean.
There's edamagit[0] for vscode, it's pretty good! I've been using it for a couple of weeks now and haven't needed to touch git via the terminal.

0. https://marketplace.visualstudio.com/items?itemName=kahole.m...
So you’re saying that increasing the number of doctors will result in more medical services being consumed which means higher costs for the gov?

That’s the view of the government?
I used to think having both == and .equals in Java was specifically dumb, but the more I think about it, the more I dislike this kind of sneaky reference equality in the general case.

Comparing references isn't even an optimised version of comparing values, because when the references don't match but the values do, equality will be false.

I struggle to think of when reference equality would be useful to me. Like if I were writing a standard for-loop over an array, it's like I'd be comparing 'i' to 'i'.

If == gives me a fast 'yes' response, I feel like I (or my algorithm) should have already known they were going to be the same.

If == gives me a fast 'no' response, then do I not actually care about the value?
> why wouldn't you buy preferential shares?

I'm left with the sense that this is a response to some other post, not mine?

To be clear, I'm talking about scenarios where one would join a startup as a regular employee. Not talking about angel investing or anything like that.
This exactly.

Another thing that annoys me is they legalized pot. Seems like a good idea in theory. But what about all the people that went to prison when it was illegal. Imagine having served five years in prison for selling pot and there is now guys selling it out of store fronts. How is that fair?

And another is immunotherapy. Someone I know got lung cancer and immunotherapy saved her life. Which is really unfair to my other friend that died of lung cancer twenty five years ago.
The latter, an upgrade gone awry and I couldn't be bothered to fix it. I use Arch on my work laptop (a concession to modernity and having easy access to whatever), so it was simple to move my primary Good Screen to it as well.
I think it's insane that the main argument for AI boils down to "everyone has 4K now so we need to upscale the videos."
Further worthy to note the culture inside surgery departments and residency programs, which seems to feed on exactly this sort of toxicity to measure the worthiness of applicants / residents / graduates. Young surgeon hopefuls should seriously consider the residency process before committing to the field; one of my wife's former co-residents, now early in surgery residency, is surprised by her own fertility challenges, for example. Anyone 'in the business' knows cases like this, and it's a good thing that suicides are national conversation.
KHTML also led to WebKit then Blink.
I think you have to take scale into account with these things. A person with a $100 giving $10 is like buying someone breakfast. In a way it’s just so small an amount that its dismissive and not really perceptible as “a waste”

A person with $10M giving $500k is half as generous, but they aren’t just buying a breakfast and you can’t just dismiss that amount as easily.
I don't see how that is connected.
It's blockchain all over again xD
Meh, it’s just the “how does it work?” question. How content extractors work is interesting and not obvious nor trivial.

And even when you see how readability parser works, AI handles most of the edge cases that content extractors fail on, so they are genuinely superseded by LLMs.
I think it's worse than bad CGI. With bad CGI, you can use your imagination and interpret as what it would have looked like if they had unlimited time and budget. You can't do that with bad AI "enhancement", because it's an automation of that same imaginative process. You'd have to somehow mentally reverse the AI processing before imagining a better version, which is much more difficult.
It's free as in beer, not Free as in speech. Tons of plug-ins are Microsoft proprietary, or being closed down step by step.

I'm not and won't be using it.
I wouldn't say I've jumped ship, simply because I'm still using both. I've got vim in a terminal and a vscode window up, and it's not seamless, but I wield the two together to get the job done. Debugging is done in vscode, but vscode doesn't have all the vim stuff in, so in still attached there, plus it runs in a terminal and vscode doesn't.
Wouldn’t load, and while it’s plausible that the article is insightful and well written, I’d wager that topic won’t be aligned with the standard HN fare.
My power wasn't turned off - I did get the "we might have to turn your power off" warning though.

I live in probably one of the worst areas for wind, and had gusts to 100 that Saturday night - didn't get any sleep!

I had studied the local grid a bit for some other reasons a while ago, here's how I would put the pieces together:

My neighborhood is all buried lines, and everything is buried starting right near our substation. No raised distribution lines to worry about. However, it's still not really distribution lines that are going to cause wildfires, it's the transmission lines that go through the dry forest. Wind taking out a distribution line isn't that big of a deal, and it wouldn't cause much downstream fire risk.

My co-worker who lives about a half mile from me was without power for nearly 2 days. In other power outages, we've compared notes. Even though they live closer to my substation than I do, they're on a different substation.

The transmission line that powers their substation goes right through the mountains. It's really close to lots of dry fuel and the towers are very far apart, so it would be easy to get those lines to swing in the wind. Additionally, the way the winds blow, if their lines did arc and cause a fire, the wind would sweep it right into town.

So you really don't want to look at "why was my neighborhood without power, we didn't get much wind." You want to look at "where does my substation get it's power, and would an arc on that transmission line be catastrophic".

At least in my immediate area, the substations that were shut down were exactly the ones I would have shut down just by looking at a map and saying "if it's windy and dry here, do I want an energized line?".

I don't know about the decisions in the wider Front Range area, but I would be willing to bet that 1) it's a pain to de- (and re-) energize lines, so they don't do it without weighing the risk, and 2) much of our transmission lines out here are in the mountains to the west, which is terrible when you have westerly winds that will blow the fire into town, so they have a high risk weighting.
> But the population is much greater now, so overall emissions are much higher than they were in 1913

You're correct. But this attitude, prominent among environmentalists, is exhausting. Instead of minimising progress why not celebrate them as milestones?

More to the point: the population is greater, but so are living standards. A common trope is that we can't have progress in living standards or growth without more emissions; this is further evidence that's false.

> Earth's climate can only handle so much CO2 without being disrupted, and we're well past that point

Every action disrupts something. If you're implying we're past the point of no return, then the logical conclusion is further effort is futile. That's not correct, because the premise is premature.
windows is still much more snappy than mac osx if you turn off all animations

has nothing to do with the CPU btw
My ISP Comcast (sometimes called Xfinity) has regularly done MITM attacks that inject javascript into web pages since 2013. Surfing the web without tunneling my connection is unacceptable with an ISP that commits CFAA crimes like this. It is a valid use case for a VPN or VPS tunnel for the 30 million of us stuck with a comcast monopoly.
Congratulations on the release! Thank you for making it open source.

For the old farts like me, would you consider adding in some comparisons to AWK?
For that matter, Yahoo! was so big in the 90s because it was a more or less successful human curation of the Web as it existed at the time that offered better discovery than e.g. WebCrawler. And the first two letters of its name stood for "Yet Another" because it wasn't a new idea then, either.
Kubernetes is great for what it's designed to do.

Many, if not most, companies don't need the things Kubernetes is designed for, though. It's interesting tech and I can see why people are drawn to it, but I feel like some people pick it more because they want to use Kubernetes rather than it solving a real problem a company or organisation is facing.
You'd want to buy when exercise price and FMV price are the same, so quantity doesn't matter.