Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re: Yes and Cruz shows how his ilk will address it (Score 1) 363

Yep, when it's *cold*, that's because of *warming*.

Yep, sometimes when the weather is cold in Texas, that's because the climate is warming globally. Weather is not climate, and Texas is not the planet. Nothing strange about it.

You're right that "it's cold because it's warm" sounds stupid. But then you're the one who said that, so if you don't like the way it sounds, just stop saying it.

Comment Re:Not bad for noobs (Score 1) 75

... noobs ... steaming pile of poo ... piece of shit ... embarrassment ...

You really are eager to pick a fight, aren't you? You pretend to be even-handed by giving minor fake praise first, and then launch into your tirade. You're not even replying to anything, you managed to work yourself into a frenzy all by yourself.

Please think about what kind of place you want slashdot to be, before you write something like that again.

Comment Re:Doesn't match my personal experience (Score 1) 92

Or pyflakes. pylint does catch more errors, but it is slow and has too many false positives. pyflakes is fast and does well at catching typos.

My recommendation is to always run pyflakes locally before committing anything, and check what pylint -E says on occasion, maybe run it on a CI server.

Comment Re:Most Used Equals Most Flaws (Score 1) 92

Since these applications are created by the most used languages, they have the most flaws.

Did you overlook that they are counting security flaws per application?

The most used languages have more high-quality libraries, and the more work you can farm out to a high-quality library, the less opportunity you have to add bugs of your own.

Comment Re:A push model is obviously the correct way (Score 1) 74

The only thing just as stupid is using a push model...

Push revocations are O(number_of_certificates_in_the_world). With a small constant, sure, but it still has the capacity to be overwhelming. What would you say to 100MB of revocations coming over the metered internet connection to your phone every month?

Comment Re:Crap++ is popular. Go figure /s (Score 1) 107

* iostream performance is crap. This has been known about since 2013

Are you kidding me? Are they still struggling with that? iostreams performance problems go back way longer than 2013, I actually thought that was a 1990's problem that they surely must have solved by now.

It's the perfect illustration of where C++ fails to live up to its promise. If you look at the iostreams design, there's some nice thinking behind it. The idea is to replace the slow printf interpreter with compile-time machinery for the double benefit of type-safety and speed. In theory all those layers of abstraction should just optimise away, leaving terse and efficient machine code.

Somehow, it just didn't pan out. When I did most of my C++ programming back in the 1990's, there was a turn of phrase about how the abstraction overhead from this and that construct would be removed by the perfectly optimizing compiler. Of course there's no such thing as a perfectly optimizing compiler. The more layers you add, the harder it becomes for the compiler to guess what to inline and what not to.

I don't doubt that sometimes it gets done. There are some templated numerical libraries that crack the riddle and get super-high performance, and maybe the FastFormat thing you linked to falls in that category too. But it seems to take multiple tries and stupendous amount of effort expended per line of code to get to that level.

* When is C++ going to deprecate the "short" and "long long" nonsense?

Never. Backwards compatibility. Seriously, how can you even suggest that :)

Comment Re:Small limitations (Score 1) 27

You are missing the point. The point isn't that the feature is useful.

The point is that every PS4 now displays a PS5 advertisement. Now all the people that were perfectly happy with their PS4 and in no hurry to buy a replacement, will get the message that they're not getting the most out of their PS4 if they don't also buy a PS5.

Slashdot Top Deals

According to all the latest reports, there was no truth in any of the earlier reports.

Working...