Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:Probably a minor oversight. Will likely be fixe (Score 4, Interesting) 236

It looks like its actually an underlying issue with Chromium, which is what powers Electron, the UI framework which VS Code is based on.

https://bugs.chromium.org/p/ch...

Simple CSS Keyframe Animation Causes Too High CPU Usage

Steps to reproduce the problem:
It happens on my Mac.

Demo page here: http://output.jsbin.com/vogaxa

Add a simplest keyframe animation to an element and Chrome will use 5-6x more CPU than it should.

e.g: .blinking { animation: 1s blink step-end infinite; }

@keyframes "blink" {
    from, to { visibility:hidden; }
    50% { visibility:visible; } }

What is the expected behavior?
CSS animation should consume equal (or close to equal) CPU load than its Javascript animation alternative.

Javascript setInterval consumes around 1.2% CPU on my Mac (Chrome's task manager)

1.2% for Javascript animation of a blinking cursor btw is the same usage that I get with no animation and the default cursor inside an input element.

CSS animation should produce the same results.

What went wrong?
CSS keyframe based animation consumes 7-8% CPU which is unjustified for such a simple case.

Comment Re:The actual real problem with Mars... (Score 1) 103

I never said they were one off rockets, I said they were custom built for specific launches, and that is correct - no launcher company has a stock from which they pull a rocket the week before a launch, the launch requirement comes well before the launch vehicle exists in any capable form, including the ICBM-conversions.

Comment Re:The actual real problem with Mars... (Score 0) 103

Since all launchers to date have been custom built for specific launches, where is the excess industrial capacity that is being used to launch Mars missions...? Which launch company is suddenly going "awww shucks, we have a spare rocket, anyone want to launch a Mars mission" or "we arent building anything next tuesday, anyone want a rocket for Mars"?

Comment Re:Makes Good Sense (Score 2) 90

The weight reduction from not having to carry the turbine portion of the engine (you still need to carry the fan part) is *massively* offset by the fact that you carry your "fuel" the entire distance of the trip, 100%. Current planes get more efficient the longer they fly, as they burn off their fuel they get lighter - replace that fuel with a storage system like batteries and your plane is going to weigh as much on landing as it did on takeoff, with no efficiency gains en route, so the energy needed will be constant throughout the flight.

And yes, this is still an issue on short haul flights.

Don't kid yourselves, batteries for powering aircraft is a non-starter, the economics simply dont work.

Comment Re:Stick to the important stuff (Score 0) 266

You need to reread your linked source (and also find something better to do with your life). It doesn't say that there were six bills repealing "Obamacare" that were passed to Obama, it says that the House passed a repeal six times - it only made it to Obamas desk once, in January 2016. And that was his only veto of any "Obamacare" repeal.

Given that the Republicans had control of both the House and the Senate for the 114th Congress, they had plenty of opportunity to force a repeal through...

So no, they havent just got "thoughtful" at all.

Comment Re:Poor analogy (Score 4, Informative) 392

I take it you have never seen the accounting floor of a large business circa 1970 then, because it would have been filled with semi-skilled people filling out numbers in books and passing aggregated numbers to the next tier. Thats how books were done in those days. And those positions were replaced by spreadsheets, with automated cascading on changes, no need for more than a few people anymore.

See the following image for an accountancy department prior to computerisation (computerisation as we know it today):

https://benpadley.files.wordpr...

Its no different at all to your factory worker example. No different at all. You just never noticed the accounting jobs disappearing.

Comment Excel (Score 3, Insightful) 392

Microsoft made its billions off the back of putting millions of accountants and accountants interns out of business with the rise of Excel (and its contemporaries), and yet there were no issues about automation taking over back then... nor any tax on spreadsheets....

Automation has happened all of humanities history - we don't buy cotton material from cottage based weavers any more, and blacksmiths don't build train engines.

Slashdot Top Deals

"I may be synthetic, but I'm not stupid" -- the artificial person, from _Aliens_

Working...