Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:Lots of Sunshine there (Score 5, Insightful) 200

Except you can't scale solar production up or down to handle fluctuations in demand.

You can scale it down, absolutely.

Or produce solar at night.

You don't need nearly as much power at night, and if they go with solar thermal you get quite a bit of storage "for free."

Or control the weather.

It's Arizona. They basically have two types of weather; Sunny and Night.
=Smidge=

Comment Re:Fastest growing share is easy when you start at (Score 1) 382

My math says 1250 A @ 480V to fully charge 100kWh pack in 10 minutes

722 Amps since, at 480V, it's probably going to be three phase.

However, in the scenario you're suggesting, it would be more prudent to do battery swapping.
=Smidge=

Comment Agent Smith (Score 3, Insightful) 85

"Which is why the Matrix was redesigned to this, the peak of your civilization. I say your civilization, because as soon as we started thinking for you, it really became our civilization, which is of course what this is all about."

Comment Re:That's why we get Trump (Score 1) 69

Some people actually feel responsibility towards the country that made them successful, and feel it's a civic duty. Of course, nobody like that has actually won a public office for nearly 200 years. Well... not a federal office, anyway. I'm sure there's a mayor or city councilperson somewhere that actually feels it's their duty to serve the people.

Comment Re: What Political Ambitions? (Score 1) 69

Nobody has to "justify" a Trump win, that's the problem with all the liberals going ape-shit over his victory. You can explain it by virtue of the fact that in key districts people disliked Trump less than they disliked Clinton. It didn't require sexism, and democrats gerrymander just as badly as republicans. Very few people are happy Trump is president. Very few people would have been happy if Clinton was president. The balance had to tip in somebody's favor.

Comment GOTO and the Wild West (Score 2) 600

To understand the revulsion some hold toward GOTO, you have to mentally turn back the clock to a time when it was used for almost everything. Back in the wild west days of computering, there were no conventions for organizing program code. There was no Structured Programming. Early languages provided simple branching tools (like IF-GOTO) but no guidance. A good programmer would soon figure out his own way of organizing his code, and he could become quite productive. The problem was, everyone had their own individual, eccentric methods, and looking at somebody else's code was often confusing. Then structured programming came along, and it provided (or some might say imposed at sword point) a common organizational methodology and a common vocabulary. Two programmers who were trained in the doctrine of structured programming could read one another's code much more easily.

If you see the keywords and indentation of a WHILE-REPEAT loop, or a REPEAT-UNTIL loop, or an IF-THEN-ELSE condition, then you already have a clue, you already have a starting point to understand what the code is doing. If you see GOTO, then it communicates almost nothing. Then you have to look at the context. There may also be some code comments. It may not be a problem, and in today's environments there's no reason why it should be. This isn't the wild west anymore, and we don't use GOTO for everything. If it's there, somebody presumably had some reason for it.

Comment The Recursion Cult (Score 2) 600

I think some time in the misty past (1970s?) recursion went through a fad phase, and it was hailed as the solution to every programming woe, not to mention the secret key to artificial intelligence. I can remember studying Logo (which is a variant of LISP) at one time. Logo composed every function call recursively: when it hit a key word that required arguments, then it would put that on hold and go looking for those arguments, some of which might be keywords that required their own arguments, etc. That's not unique among programming languages, but the syntax provided no clues or organization: no parenthesis, no brackets, no braces, just a string of words, and the only way to figure out which was an argument to what was if you already knew (or stopped to look up!) how many arguments each word takes. But supposedly you wouldn't need help reading it because it's recursive, and recursion is wonderful magic.

Incidentally, Forth suffered from a similar readability problem, but at least it executed way way way faster.

The other thing I remember about Logo and recursion was the textbooks and tutorials trying to teach me how every loop could be done using recursion -- and should be! Why would you do that? Because it's the Logo Way, of course. And because recursion is wonderful magic.

It was overly complex and inefficient, to be sure. However. . . I happily use recursion for actually recursive tasks, such as traversing various kinds of tree structures.

Slashdot Top Deals

Consultants are mystical people who ask a company for a number and then give it back to them.

Working...