Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re:Do it yourself (Score 1) 82

Cppcheck apparently knows "hundreds of other rules covering a multitude of language aspects" so you don't "have to mentally apply against every single line of code you write."

Cppcheck doesn't flag anything in Waffle Iron's example.

It also doesn't find anything wrong with:

std::vector<int> vec = {1, 2, 3, 4, 5};
auto it = vec.begin();
vec.push_back(6);
std::cout << *it << std::endl;

Which is another common example of how you can write memory errors without using C++ pointers.

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

In the sort of places where MISRA and similar coding guides apply, yes, never allocating memory is expected, because once dynamic allocation exists you can't guarantee that you won't die with an out-of-memory error and similarly can't guarantee any time bounds on how long an alloc and dealloc will take.

Sure, so C++ is safe as long as it's used in a way that makes it incredibly painful. Sounds good. Let's just require all C++ code everywhere to be written that way. Rust usage will skyrocket overnight.

Comment Re: Is there anyone here that voted for Trump (Score 1) 256

It is hard to have fair democracy with winners take it all.

For a really rigorous definition of "fair", it's impossible to have fair democracy at all. Arrow's Theorem demonstrates this to a large degree, although many have argued that some of his fairness axioms are excessive. More recent research has concluded that fairness is the wrong standard, because there's no way for an electorate's "will" to really be fairly represented by any electoral system, not in all cases. Some systems can do better most of the time (and "winner take all" is particularly bad), but all systems fail in some cases.

What we need to aim for instead of fairness is "legitimacy", which is more about building broad acceptance of the system than about fixing the system itself, though it's easier to build acceptance for better-designed systems.

Having the country's top politicians continually claiming the system is unfair and rigged is, of course, the worst possible thing to do if you want to build support for the legitimacy of the system.

Comment Re:Jokes on you (Score 1) 256

Precisely none of those books were ever banned.

I decided to check :-)

According to the Book Censorship Database from the Every Library Institute, both "Of Mice and Men" and "Adventures of Huckleberry Finn" have been challenged, but only "Of Mice and Men" was removed, though "restricted" is more accurate. The Birdville Independent School District in Texas removed the book from general access, allowing access only to the AP English class, and the Indian River County Schools in Florida restricted it to high school students.

No Doctor Suess books were banned, although Suess Enterprises voluntarily ceased publication of six books.

Comment Re: Stupidity snowballs (Score 2) 112

> There is no exception here. Teachers are to teach what is in the published curriculum

If the curriculum limits answers to certain questions for religious reasons than it's in violation of the separation clause.

> It can be a matter of health,

I'm sure the evil GOP will try to twist their argument into being about health or the like, but underlying it's religion trying to camouflage itself, like how Intelligent Design tried to disguise creationism as science. It's bearing False Witness and thus should be punished via an elevator to Hell. Jesus can read GOP's evil minds.

Comment Re: Stupidity snowballs (Score 0) 112

> School teachers don't have a 1st Amendment right in the classroom, just as I didn't have a 1st Amendment right while in my US Army uniform.

Apples and oranges. In the military one has to learn to STFU or the enemy can hear where you are. A teacher simply describing what LGBTQ+ concepts are shouldn't be an exception to the 1st. There's no logical reason other than religious offense, which then has the church sticking its peanut butter in secular chocolate.

> How do we resolve this [restroom & shower issues]?

There are ways to compromise, but that's a longer topic.

> If the teachers want to express their beliefs

That's NOT what I proposed.

> While in the classroom the teachers should be expected to follow the state specified curriculum or expect to be fired.

It's realistic to answer a simple question from a child, even if it offends religious troglodytes.

Comment Stupidity snowballs (Score 2, Insightful) 112

how numerous friends of his became Trump supporters due to the LGBTQ discussions happening in their children's schools... just not popular and it was a major reason that dickbag was re-elected. Even if it seems like the correct moral decision, the unpopularity of it led to a far worse situation.

GOP successfully spooked parents with LGBTQ+ bullshit. They cherry-picked a few bad apples and painted it as common-place. Plus, school content is controlled at the state level, not national, and was thus moot for the election.*

Stupidficial gimmicks worked on US's gullible population, just like 1930's Germany; Don pulled Jedi Clown Tricks. The parents ALSO need more education in critical thinking. Stupidity snowballs. Maybe America is just too dumb to hold a democracy, as too many want a theocracy. Perhaps we can negotiate an amiable split before they drag blue states into their cave.

* An exception may be firing or jailing teachers for merely mentioning LGBTQ+ in the classroom, which should be protected under 1st Amendment and separation clause, but the GOP SCOTUS seems overly bribed by rich evangelicals handing out grift-wrapped RV's. The idea that a non-transgender student will become transgendered by mere mention is dumber than rocks. Idiots!

Comment Next time may not be so lucky (Score 1) 32

I'm not saying cloud is necessarily riskier than on-premises*, but cloud failures can easily make headlines due to the scope, and such could set the likes of MS into a financial tailspin. While that is perhaps a good thing, they'll hurt a lot of customers in desperation for cash during their spiral to Hell.

* The average org didn't manage on-premises well either.

Slashdot Top Deals

"Truth never comes into the world but like a bastard, to the ignominy of him that brought her birth." -- Milton

Working...