skysight-inc/HackerNews huggingface dataset:
I currently run a 3700X with 64 GB ECC. I've been interested in a jump to an AM5 series, but have found the matter of ECC compatibility frustrating to research, particularly because DDR5 has limited ECC built in and that confuses the discussion.

I'm curious what your use case is. I mostly use mine for software development (including VMs) and some family media processing. I like the peace of mind that ECC brings, but I have no way to really know if RAM speed is performance factor.
I think you're being a bit harsh to AMD on this, you still can run ECC on their consumer CPUs, you just need to research the motherboard because any motherboard/chipset combo could have ECC support.

That Dell has the Intel W680 chipset that is responsible for giving any Intel CPU ECC, just more pointless market segmentation by Intel. I don't know if I would give Intel a glowing review for that, you can also buy an OEM system with an Ryzen Pro processor if you want that kind of ECC guarantee.

You're not going to find Intel offerings with ECC solutions for light laptops either right now.
I actually saw this happen even more in the Linux MS Teams client (which uses Electron or similar I think?), but I've encountered it with Firefox as well.
There was a similar Windows bug when a tooltip in the notification area (systray) wouldn't disappear no matter what. I first found the bug in Windows XP, and then witnessed it in Vista, in Windows 7, Windows 10. It was my ritual to check if it's fixed yet when upgrading to a new version of Windows. It never was. Since then I moved to Linux and now I don't know if it's fixed or not.
> blowing up production.

I prefer what Java does: Assertions are disabled at runtime by default, however you can turn them on without requiring a different code-release and you can even do it for specific packages/classes.

So you might even use them in production: If feature X is already failing in some bizarrely uninformative way, turning on assertions in relevant code may provide you a better hint to what's going awry.
That is normal behaviour (redraw the screen with every pixel moved). Welcome to the 21st century. /s
Interesting, this bug was filed before even the first version of Firefox was ever released -- https://en.wikipedia.org/wiki/Firefox_early_version_history. Impressed that they've kept the bug tracker history working for so long.
Not for Apple,

> Swift was designed from the outset to be safer than C-based languages, and eliminates entire classes of unsafe code.

-- https://www.swift.org/about/

> Swift is a successor to the C, C++, and Objective-C languages

-- https://developer.apple.com/swift/
Fitting that this was posted on Columbus Day.
How to compete against a company that has infinite amount of cash and is willing to loose an infinite amount of cash?
Wow, if you exclude lines changed in the commit due to indenting changing, there are only five new lines of code for this change!
Oh that one was the one I hit the most, not TFA; I hadn't seen this in a while and now I know why.
America: Performance
Europe: Utility
China: Cost
Usually you will not be thrown in a jail for having images of arm, or theft, or murder in some folder.

Ha, we officially buy videos of murders and theft from big companies and even see these videos on a big screen in groups.
Though I have no intention of switching to ECC on my Ryzen system, I found this writeup both very clear and a great compelling educational read. Thank you for creating it.
More like Police Unions represent a political base for Republicans, and Teachers Unions represent a political base for Democrats, and both are appeased to when their guy is in power, even at the expense of everyone else.
Only if you don't also redefine the convention to select speeds.
WordPress Reverts Live Preview Button on Plugins After Developer Backlash
India and many others. Do you think the US is the only country in the world to have federal and local taxes?
You are holding it wrong, in Wayland every frame is perfect.
I'm pretty sure the Cisco one is permanent and reproducible (on macOS) :D
Swift is Apple's answer to replacing C derived languages, they don't need Rust.

>
Swift is a successor to the C, C++, and Objective-C languages
-- https://developer.apple.com/swift/

They also mention plans for kernel and firmware targets on that talk.
And for examples of the perverse incentives created by Socialism, look into the history of the Soviet car industry
https://en.wikipedia.org/wiki/Automotive_industry_in_the_Sov...
None of this is complicated enough to not have labels print the right price.
Did the bug tracker history carry over from Phoenix/Firebird maybe?
A decent mail client also shows the other message.
Do you have evidence for any of that?
Re: a real editor, I guess my question is what queries are made to the rope data structure between edits? If those queries are trivial, we might be able to implement them without disturbing the buffer. (So, an order of magnitude extra performance). And if they’re nontrivial they’d dominate the time spent in the rope data structure for a typical text editor. So the benchmarks we’ve been writing aren’t actually testing the right things!

> I wonder if JumpRopeBuf could become something similar. Basically a piece table…

Maybe, but I doubt it would help.

The reason why JumpropeBuf improves performance over Jumprope is because it doesn’t need to traverse into the skip list structure to make adjacent changes in the most common case (when the new edit happened at the same location as the last change). Basically it’s a micro optimization for a common case. And it provides value because it’s so dead simple that it manages to be an order of magnitude faster than the skip list. I think if you added a full piece table in there, the overhead of piece table operations would be similar to the overhead of modifying the skip list itself. So at that point, the benefits from the JumpropeBuf approach would vanish. And I already have a pretty fast data structure for merging changes at arbitrary locations in the skip list & gap buffer at each node.

In short, I think adding a piece table in front would necessitate deoptimizing for the common case (edit at the last location) without adding real value over what the skip list is already doing.

By all means try it though. I’d love to be proven wrong!
The plug didn't have to be reversible - it could just have had a trapezoidal cross-section. No significant cost.
Thats why the govt should have broken up Microsoft a long time ago.
I don't think this is a new literary device really.

Aristotle: "Young people have exalted notions, because they have not yet been humbled by life or learned its necessary limitations; moreover, their hopeful disposition makes them think themselves equal to great things."

It is possible to read this in "back in my day, when togate were togate" ...

Your point is well made, But I do rather think "simpleton" was uncalled for. It's a common trope. If you struggle with it, then you're struggling with a concept which is not uncommon, in fact is very common. Not all common things are for simpletons only. It makes no sense, more than any literary device does. "I am literally falling off my chair" is said much more than meant, because mostly people are figuratively falling off their chairs. Men are no more or less men now, than they were. The good old days were harsh. It was said as a rhetorical device. It wasn't said to hurt you, or to harm anyone.
Having lived in Victoria, Ottawa, and Toronto there’s no way in hell can you even put those in the same league, not even close to what Toronto has to offer. I’m gonna have to turn the assumption towards you and assume you’ve never lived in Toronto yourself, maybe just visited and toured the trifecta of the CN tower, Ripley’s, and Niagara Falls.
I’m not going to claim I’m a medieval military tactician, but if you have some amount of resources stockpiled and friendly armies in the field, why surrender immediately? Your forces or allied forces could pin the siege force against your walls possibly giving you an advantageous position. Perhaps stockpiling supplies that didn’t go bad was difficult back then or militaries didn’t consistent of more than one army so if there was a siege that meant your main force was already defeated?

I do remember that the first phase of the Punic Wars was basically Sparta chasing all the Athenians inside the city where they brought in supplies by boat and waited the Spartans out, rinse and repeat for a decade. Obviously that’s a different period and the Athenians suffered a horrible outbreak of some sort of plague possibly due to the overcrowding.
Very similar with the MS SQL implementation of PIVOT.
Equality by kneecapping the rich.
Want to know how I can tell you are from California?
I just wish he was on the Court of Appeals. His notably sane judgments have a habit of being struck down once backroom politics get involved.
Who said anything about a phalanx? You can have a spear and a makeshift barricade at the top of the stairs.
Then the assert() triggers and you fix the assert() (or the bug). What's the issue here?
We mostly relied on a couple of easy metrics to signal trouble and then debug from there. Total size of all the Erlang message queues above a threshold was usually an indication of trouble; replication delays of more than a couple seconds too. CPU %, swap % were also signs of trouble.

Tracking down almost working networking without access to the switch metrics was kind of fun, ish. :P
Better to simply charge emissions based on the cost required to scrub them.

Trying to inject value judgements into it turns the whole situation into an absurd government mandated ethics board. The precise task governments have shown themselves to royally screw up time and time again.
> the absence of checked exceptions or Either

It seems an unpopular opinion, but I like Checked Exceptions and wish more languages had them. Most of the "problems" people mention about CEs boil down to the damage done by lazy developers who don't want to think of separation-of-concerns/decoupling/layering in their own code, and that can be curbed by better syntactic sugar.
This is all I could find: https://www.mouser.com/ProductDetail/Kingston/KSM56E46BD8KM-....
During the Cold War, the US worried very much about propaganda from the Soviet Union. I think various elements of the power structure don't want it stopped:

* A large part of the power structure, one of the major political parties, uses and relies on propaganda extenstively. Yes, both parties do it to some degree, but one relies on revving up its supporters with unending, absolute nonsense.

* Big tech doesn't want to be regulated.
> We’re also the second largest country in the world (behind Russia) for land area yet it’s almost impossible to build housing in this country.

Maybe a pedantic point, but it's HN after all:

Canada has always been sparsely populated but for a narrow band along the Canada/US border. This is due to a number of factors, not least of which is the climate of most of that area.

Now, certainly the unaffordability crisis is arguably largly due to policy choices of this and previous gov'ts, but Canada's land mass is not really a huge part of this equation.
there's probably exceptions but a postcode should resolve to a specific building, street or part of a street so it would work in the literal sense but it's more work for the people delivering the mail I guess.
I think my analogy still holds: the vehicle in the video wouldn't work if the wheels were used through a mechanism to simply push the air directly backward. That would be like having a square-rigger-style sail and using a fan to blow air at it.

Instead, the thing that makes the vehicle work is the ability to use the mechanical(?) advantage of the prop slicing through the air at an angle to improve efficiency. Just as regular sails working at an angle to the wind can move downwind faster than a balloon (illustrated in the video) the angled prop can be used to move the vehicle downwind faster than the wind, but only by moving at an angle to it.
Perhaps not solving the problem simply by allowing mexican medication, like New York doesn't simply solve pharmaceutical prices by importing Canadian drugs and keeping drug prices high in the present with promises of future fixes is a form of parlaying with Pharmaceutical companies
And FreeBSD if so configured:

$ sysctl kern.pid_max kern.randompid
kern.pid_max: 99999
kern.randompid: 594

D12238 sez “If set to a value of (100 <= kern.randompid <= (PID_MAX - 100)), it will be used as modulus when kern_fork.c tries to allocate new PID. Formula is lastpid += arc4random() % kern.randompid”
> Right, the only thing worse than USB was the PS2 port. What sort of madness drive someone to invent a round connector that is keyed.

The Apple desktop bus (ADB) that was used for keyboards and mice in Mac-land was also round. They improved it by using asymmetrical plugs, which marginally helped.
I get completely different numbers (although the tldr is no less alarming). Does someone want to check my work? https://gist.github.com/RantyDave/41ac164cfcf527a91d3b97c8dd...
I get the sentiment, but i sincerely doubt it. Plus billionaires giving their money away willingly seems hard to guarantee.
FireWire was great for that. I loved that connector.
This looks to have been from when it still was Mozilla
>I'm seeing this problem in 1.6 on Win98.

Bug is fixed, please retest :)
because of the rhythm. both German and Japanese language _love_ a staccato of fricatives.
For drugs, destruction makes sense since they're inherently illegal. But since you can legally own guns, they should be auctioned off.
Did you have debug symbols? I assume you probably passed -g, but the debug info can still not be compatible sometimes. I know when using lldb I sometimes have to force dwarf debug info or -ggdb to get it working.
First visit to the US, the second day my collegues and me were berated by the hotel breakfast staff (plural, they actually ganged up at our table) in Martha's Vineyard for not tipping.
OP isn’t overreading my point, he’s disagreeing on the merits. Correcting the misconception about Garcia’s race, I don’t see how anyone could disagree that NYC has quite bitter racial politics, and that’s long been true.

The crux of our disagreement seems to boil down to him wanting to avoid the implication that New York’s racial politics is a bad thing for the city’s governance, and me not caring about doing so. That’s fine, we don’t need to defensively write around each other’s pieties.
Don't make Raymond come over there... https://devblogs.microsoft.com/oldnewthing/20030910-00/?p=42...
It’s a thousand and change, cheaper than a similarly specc’d laptop.

And never been given the option.
Migrating from Zend to Laravel: A Step-by-Step Approach
I shared my experience migrating a complex ERP from Zend to Laravel incrementally
Finally...

He does not know what it takes to make a superior product. He attitude is towards monetizing a superior product without understanding why it was superior on the first place.
https://en.wikipedia.org/wiki/Chuck_Feeney
I rather hope they restore the original functionality for Google home they had to throw out thanks to this case.
Honestly, my first question was "why not use a combination of user-created types and exceptions to ensure program validity." But I get the impression that asserts are used for alerting programmers to their own syntactical and logical errors; unlike exceptions, which can occur in logically proper code.
I replaced all switches in my apartment with Lutron smart dimmer & smart switches, and have Philips Hue in some lamps.

- While the color change feature is mostly gimmick, the adjustable color temperature is really useful. You can't get that in a smart dimmer / switch

- Dimmers don't work very well with LED bulbs, and they can flicker at low end of brightness setting

- At least the Lutron smart switches I used don't work very well with LED lights with minimal power draw. Apparently due to the way they work, in off state, there still will be a little bit of current leaking to the circuit, which would be enough to power some LED bulbs
>They want all the upsides and none of the downsides to throwing millions at people.

I see what you're getting at, but this is a bit of a silly statement. The obvious downside of "throwing millions at people" is that you lose millions of dollars.
[offtopic]

"You do not have access to stopchatcontrol.eu. The site owner may have set restrictions that prevent you from accessing the site."
"Performance & security by Cloudflare"

Sigh... perhaps we should start "stopCloudflareAccessControl.eu".

[/offtopic]
Define it yourself! I'm really over this inquisitorial style of argumentation, learn some manners.
Do we not deserve pro parts? Just a bunch of amateurs over here at HN? ;-)

I suspect the group that wants to physically maintain their laptop but doesn’t care about data integrity isn’t too large.
>Mandated USB-C disincentives ever improving on the connector.

Please stop repeating that argument, it's not true. There's periodic review proces built in into this legislation.

>attempted to enforce a similar mandate for micro-USB back in the day - can you imagine if they succeeded?

That would be great. Probably Apple would transition to the USB-C a few years ago with everyone instead current nonsense.
Microplastics detected in clouds hanging atop two Japanese mountains
Trickle down economics does not work, we've got textbooks on this.
In 2007 and i would argue before that, live media encoding for streams was pretty much a solved problem but it was often very expensive, and out of reach of radio stations and the information wasn't readily accessible so you could potentially end up giving Microsoft or Real networks lots of money.

I was working on streaming in the late 90s - that was real wild west, had to write solutions myself, and it felt very duck taped together. Luckily it was an offshoot of a largish ISP so we had bandwidth and a lot of servers. incoming streams often used bonded ISDN lines.
$7,354 in 1950 is $96,080 today. There are $100k homes out there if you don't care about location.

Zoning laws and building permits block anything that's significantly cheaper.
This was a bug in the Gecko engine, which was used in Netscape 6 and the Mozilla Suite (Navigator and Communicator) before Firefox was created (in response to Mozilla Suite bloat). Gecko still uses the same Bugzilla bug tracker.
> For example, studies estimate that a ChatGPT conversation consumes as much as 500ml of water. So much for the environment!

Sam Altman responded to this on Joe Rogan recently[0,1] saying that it’s easy to see it this way but at the same, how much carbon footprint is left by people driving to the library, some of which is now offset by ChatGPT?

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

[1]: https://www.youtube.com/watch?v=MTJZpO3bTpg
This seems like a pretty big misstep for which any sensible person could've predicted the outcome. Companies should think twice before deciding to retroactively change their terms.

Applying public pressure towards companies is good.
Ask HN: How do you work with designers who don't use the product?
There are several plausible levels of "support" where ECC is concerned:

0. Not supported at all (i.e., if you plug ECC RAM, your system won't boot).

1. ECC RAM can be plugged but the ECC functionality is not used (i.e., there is no relevant traces/circuitry/etc).

2. ECC functionality is present (i.e., the circuitry is there) but it was not validated by the motherboard manufacturer to be functioning correctly (i.e., detecting/correcting errors).

3. ECC functionality is present and was validated by the motherboard manufacturer. This is the level one would expect from the server-grade boards from a reputable manufacturer like Supermicro.

In case of the AMD processors, when you see "ECC supported", it's anyone's guess which level it is. This is in contrast with Intel, where if it says CPU/chipset supports ECC, then you know it really does. I bet Intel won't allow a motherboards manufacturer to sell a board with chipset like W680 without validated ECC support.
You mean the thing that made web browser worse and entrenched the large players who are more easily able to conform to the 11 chapter 99 section monstrosity?
git revert revert-me-if-sonos-tossed
It's a bit more nuanced than that and they have, at great expense. Human subsistence strategies tend to be well optimized for the conditions they exist in. Greater Mongolia, both the modern country and what's now the province of Inner Mongolia in China, does have areas of arable land. One of the major issues is these areas tend to shift over time. Some years, one valley gets sufficient rainfall, some years, another. Pastoral communities can easily adapt to this and other marginal conditions much more effectively.

But you can also approach these issues with say, a couple centuries of large-scale agricultural development projects like China has done in Inner Mongolia. If you build massive irrigation networks and invest heavily in other technologies, you can develop the area for sedentary agriculture at the expense of the grasslands.
Completely normal bugfixing behavior, nothing to see here.
Most of the challenges of a bug isn't the fix, but rather figuring out the behaviour.

Especially true if breakpoints don't work :)
This is besides the point, but is this actually valid Python?

if not account.allow_negative:
if (balance.available_ignoring_collateral if ignore_collateral else balance.available) < 0:
raise BadRequest('Account does not have enough balances')

Not sure what's going on inside that second if statement.
Is this a commit?

If so - is it normal to do indention changes and actual code changes in the same commit?

Personally, I would first have committed the indention changes and then did a second commit with the coded changes.
Previous threads about lensm

https://news.ycombinator.com/item?id=32138111 - Lensm, a Tool for Viewing Disassembly (2022)

https://news.ycombinator.com/item?id=32133394 - Lensm: Go Assembly and Source Viewer (2022)
> And here we’re talking about inserting a character

We are talking about the worst case when the buffer needs to be resized. This is not for every character. Just once in a while while editing very large texts.

Not that it makes it acceptable. But also not as bad as what you're making it sound.
Please tell me where this fairy tale comes from that either Apple or Google are excluding apps that compete with its own?
Beautiful board! Shame it has to cost $550. I wonder how large of a heatsink I'd need to make it fanless. :)
^^^This
... now
Personal Linux machine mostly used for watching video, code compiling, and some light gaming. The 7950x definitely compiles my stuff much faster than the TR 2920x did, but I don't know how much of that is because of the RAM speed (6000MHz vs 4800MHz, faster timings) and how much because the CPU clocks higher (~5.4GHz vs ~4.2GHz).
It confirms the concern. The board broad on someone to look after the needs of the largest shareholder
Yes just imagine how long that’s going to take…
AS someone who was an early fan of Sonos I really hate what they have become and am delighted this got tossed.
In this example the assert is less explanatory than a comment. Why do

if (condition):
...
else:
assert(!condition)
...

When you could instead
if (condition):
...
else: #if (condition)
...

Or otherwise explicitly comment the condition that was checked earlier. At least then if the comment is unchanged, whoever is touching your code will assume the comment is outdated, rather than assuming that you're asserting that x should be some undocumented magic number.
Ok, but please don't take HN threads on generic ideological tangents. They're not the kind of conversation this site is for.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://news.ycombinator.com/newsguidelines.html
> Ideally, the panacea to such nightmares is democracy.

Come on man, this is delusional. I want to believe it too but be realistic.