Forgot your password?
typodupeerror

Comment Re: strncpy never made sense (Score 3, Insightful) 22

strncpy() was not intended for null-terminated strings at all. It should have been named copy_null_padded_buffer(). Then its operation would have made sense to almost anyone. People wouldn't have minded the longer name much either, because hardly anybody uses null-padded buffers in modern software.

Note that a null-padded buffer that is completely full doesn't have any nulls in it at all. That's why strncpy() doesn't necessarily add a null termination. It also fills the entire destination buffer with nulls after the end of a short copy, which can be very inefficient when used with null-terminated strings.

TL;DR: don't use strncpy(). It doesn't do what anybody thinks it does.

Comment Re:Wait a minute (Score 1) 67

See the thing to remember is those people is that what they accuse the other side of doing, just blind ideology.

It's just a variation of the Goebbel's playbook, which the Trump administration loves to follow - "accuse the other side of the thing you yourself are guilty of".

- Try to rig the upcoming election while yelling loudly about how the other party consistenly cheats - and without evidence, of course.
- Make up stories about how crooked the Dems are, while actively grifting yourself.

Regardless, it's nice to see Congress occasionally showing signs of having a spine, finally. It'd be great if they'd also figure out that the revenge dismantlement of NCAR is also going to cost money and lives.

I'm not even sure if it's that deliberate, or it's just the fact that Trump is thinking about rigging the election... so he talks about rigging the election.

But it's hilarious how consistent the pattern is. Normally with something like that there's just a few occasional examples. But with Trump if he says "Democrats are kicking puppies!" chances are that we're about to find out that Trump kicked a puppy.

Comment Re: taxing unrealized gains is problematic (Score 1) 284

I don't even really consider property taxes to be constitutional in general.

Good for you. But you're still missing the benefits tied to where that property is located. Most property taxes are used to pay for services provided by the municipality you're in. In most places your property taxes are used for public schools, fire protection, and city/county services.

The property tax system was based somewhat on the Land Ordinance of 1785, and updated by the Homestead Act of 1862, where section 16 of each township was set aside for the maintenance of schools. Landowners were always expected to support the services provided in their area.
Land Ordinance of 1785

In many places in Europe, the property tax was based on the width of the sidewalk at the front of the building, which is why so many buildings in Europe and skinny, deep, and tall. Minimal front profile. Requiring many people to pay a small amount to benefit the majority has been a function of communities for centuries.

Comment Re: Sojust like every other tech growth story (Score 5, Interesting) 219

Um. What country are you talking about? It certainly isnt China. At least, not in this timeline. Basically, every line of your post is grossly distorted or straight up wrong. Home ownership means something totally different than in the west, and the hokou system means that huge numbers of peoples official âoehomesâ are plots of land a thousand kilometers out in some rural area. Their inflation numbers are grossly distorted by their trade policy and monetary control. Medical bankruptcy most DEFINITELY exists. Most would never admit it openly because they dont want to spend 6 months in a âoere-educationâ program, but pensions are so small and state support is so thin that people have no faith that the government will take care of them in any way at all, so they save obsessively. China has made some incredible accomplishments in the past century that the west ignores (eg a legit billion people raised out of poverty), but you are completely confused about their strengths and weaknesses.

Comment Re:The SpaceX Valuation is Insane (Score 5, Insightful) 67

SpaceX is worth more than Microsoft or Amazon at this point. It boggles the mind how much people are betting on the future just because Musk is a genius. If he gets sick the stocks craters 80% easily and this $60B is more like $12B.

He's not a genius, I sincerely think he's average to slightly below average intelligence for a software dev. Just look how clueless he really is when he pretends to be a technical guru in front of actual experts.

That doesn't mean he doesn't have some exceptional skills, but IQ isn't one of them.

First, he's hard working, at least in spurts (during critical deadlines), and he's willing to make and implement big decisions quickly. Just look at DOGE, Republicans have been trying to lay waste to the US government for decades, but Musk is the only one to actually do it. It was a complete disaster, but it wasn't ethics or common sense that stopped the previous attempts, that's a legit talent for Musk.

Second, CEOs aren't allowed to lie, but Musk has figured out that you can get around that by building a cult of personality and then making ridiculously optimistic predictions and then sell minor advancements as progress. The result is he has a core group of retail investors that buy his stocks based on vibes and refuse to sell once in. Since these retail investors prevent the stock from going down too much institutional investors also jump in on the ride. It's basically tulip bulbs.

Slashdot Top Deals

If it has syntax, it isn't user friendly.

Working...