Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:There is already a safe subset of C++ (Score 1) 55

Ish.

I would not trust C++ for safety-critical work as MISRA can only limit features, it can't add support for contracts.

There have been other dialects of C++ - Aspect-Oriented C++ and Feature-Oriented C++ being the two that I monitored closely. You can't really do either by using subsetting, regardless of mechanism.

IMHO, it might be easier to reverse the problem. Instead of having specific subsets for specific tasks, where you drill down to the subset you want, have specific subsets for specific mechanisms where you build up to the feature set you need.

Comment Re:Can you imagine needing government permission (Score 1) 103

I dunno. China is a "market socialist" system -- which is a contradiction in terms. If China is socialist, then for practical purposes Norway and Sweden have to be even *more* socialist because they have a comprehensive public welfare system which China lacks. And those Nordic countries are rated quite high on global measures of political and personal freedom, and very low on corruption. In general they outperform the US on most of those measures, although the US is better on measures of business deregulation.

Comment Green Energy (Score -1, Troll) 113

I work for an electric utility. The politicians are forcing green energy, which doesn't work. Shutting down coal fired plants eliminates the base load energy production, and wind and solar are unreliable. So as we are forced to get rid of our base-load generation, and if the wind ain't blowing (or its blowing too hard) or the sun goes behind the clouds, we must purchase that electricity somewhere, and that excess capacity is getting scarce. It's a supply & demand issue. That's it.

Comment Re: 200 million angry, single disaffected young m (Score 1) 103

It makes no sense to claim Chinese courts have a lot of power, although it may seem that way â" itâ(TM)s supposed to seem that way. One of the foundational principles of Chinese jurisprudence is party supremacy. Every judge is supervised by a PLC â" party legal committee â" which oversees budgets, discipline and assignments in the judiciary. They consult with the judges in sensitive trials to ensure a politically acceptable outcome.

So it would be more accurate to characterize the courts as an instrument of party power rather than an independent power center.

From time to time Chinese court decisions become politically inconvenient, either through the supervisors in the PLC missing something or through changing circumstances. In those cases there is no formal process for the party to make the courts revisit the decision. Instead the normal procedure is for the inconvenient decision to quietly disappear from the legal databases, as if it never happened. When there is party supremacy, the party can simply rewrite judicial history to its current needs.

An independent judiciary seems like such a minor point; and frankly it is often an impediment to common sense. But without an independent judiciary you canâ(TM)t have rule of law, just rule by law.

Comment Re: 200 million angry, single disaffected young me (Score 1) 103

Hereâ(TM)s the problem with that scenario: court rulings donâ(TM)t mean much in a state ruled by one party. China has plenty of progressive looking laws that donâ(TM)t get enforced if it is inconvenient to the party. There are emission standards for trucks and cars that should help with their pollution problems, but there are no enforcement mechanisms and officials have no interest in creating any if it would interfere with their economic targets or their private interests.

China is a country of strict rules and lax enforcement, which suits authoritarian rulers very well. It means laws are flouted routinely by virtually everyone, which gives the party leverage. Displease the party, and they have plenty of material to punish you, under color of enforcing laws. It sounds so benign, at least theyâ(TM)re enforcing the law part of the time, right? Wrong. Laws selectively enforced donâ(TM)t serve any public purpose; theyâ(TM)re just instruments of personal power.

Americans often donâ(TM)t seem to understand the difference between rule of law and rule *by* law. Itâ(TM)s ironic because the American Revolution and constitution were historically important in establishing the practicality of rule of law, in which political leaders were not only expected to obey the laws themselves, but had a duty to enforce the law impartially regardless of their personal opinions or interests.

Rule *by* law isnâ(TM)t a Chinese innovation, it was the operating principle for every government before 1789. A government that rules *by* law is only as good as the men wielding power, and since power corrupts, itâ(TM)s never very good for long.

User Journal

Journal Journal: Antiques being melted down 3

A restoration expert in Egypt has been arrested for stealing a 3,000 year old bracelet and selling it purely for the gold content, with the bracelet then melted down with other jewellery. Obviously, this sort of artefact CANNOT be replaced. Ever. And any and all scientific value it may have held has now been lost forever. It is almost certain that this is not the first such artefact destroyed.

Comment Kind of? (Score 4, Informative) 159

The BLS monthly numbers are always off when the underlying economy is changing rapidly, because of the "birth death problem", meaning that when large numbers of companies are being created or closed (born or died), the surveys that provide the quick data are guaranteed to be quite far off because the surveys go to companies that are already establish, i.e. those that weren't just born and didn't just die. So when there's a lot of market change, they're sampling the part of the market that is changing less. This means the estimates are off, and the faster the economy is changing the further off they are.

A related issue is that the survey results are only a sample, but BLS needs to extrapolate to the entire population of businesses -- but they don't actually know how many businesses there are in the country, much less how many fit into each of the size / revenue / industry buckets. So their extrapolation necessarily involves some systematic guesswork. In normal, stable economic times good guesses are easy because it's not going to be that much different from the prior year and will likely have followed a consistent trend. But when the economy is changing rapidly, that's not true, so the guesses end up being further off the mark.

Second, it's worse when things are turning for the worse, because of something kind of like "survey fatigue", but not. The problem is that when lots of the surveyed companies are struggling, they're focused on fighting for their existence and don't have time to bother filling out voluntary government reporting forms. It's not that they're tired of surveys, but that they just don't have the time and energy to spare. And, of course, the companies that are going out of business are also the ones w

The phone thing is a red herring, because these BLS surveys are not conducted over the phone.

A new issue compounding the above is that the BLS was hit hard by DOGE cuts and early retirements. They've lost over 20% of their staff, and the loss in experience and institutional knowledge is far larger than that, because the people who were fired and the people who took the buyouts tended to be very senior. So a lot of the experience that would be used to improve the estimates has walked out the door.

Anyway, the core problem is that the economy is going into the toilet, really fast. The BLS didn't break out how much of the 911,000 fewer new jobs were added 2024 vs 2025, but I'll bet a big percentage were after Trump started bludgeoning American businesses with tariffs. Most of that pain won't really be known until the 12-month report next year, because the monthly reports are going to continue underestimating the rate of change. Well, assuming the BLS staff isn't forced to cook the books, in which case we'll just never know.

Comment Re: Really??!! (Score 1) 173

I think the real issue is warm parts of China selling to cold parts of India without including the features that aren't needed near the factory. We know lots about battery chemistry, but rural farmers have had more immediately relevant things to know about up to now and don't have a good source of information on this new thing the government is pushing, so they skip things that sound like luxuries and end up with something inappropriate for their purpose.

Slashdot Top Deals

The reward of a thing well done is to have done it. -- Emerson

Working...