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

 



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:I wonder... (Score 1) 450

The specification that the Fibonacci routine has to be recursive is stupid in the first place. Forget the "unless I can do it in assembly or a language that allows stack-free re-entry and short-circuiting", recursion is not needed at all if you have some leeway in picking the best approach.

A much better solution is starting at the 3rd element, with the 1st and 2nd element being known. Then you go forward through the 4th, 5th element and so on until you reach the Nth element.

I actually got that problem as an exercise in my university days. First I did it as asked, then with a 100 element array, pre-filling the 1st and 2nd element, then working my way up.
Arguably the array variant was still a waste of memory, because you can do it in 3 variables with a bit of shifting the numbers around. But even that primitive solution was way better than the recursive approach.

This is an example of the mistake being in the head of the person who generates the questions for the test. By telling the candidates to use a specific approach, (s)he actually suppressed the best answers.

Comment Re:Liability (Score 5, Interesting) 500

I've read it, and it is mimicking that through idiotic and restrictive End User License Agreements. For the software.
There is no explicit clause that forbids tinkering with the hardware, but that seems to be enforced by the software. As in, change a part that has a microcontroller and it won't work without a John Deere technician coming and authorizing it.

Besides, if I read paragraph 13 correctly, the owner of the tractor has to indemnify John Deere and its dealers against all and any lawsuits, even if John Deere or the dealer is at fault for the cause of the lawsuit. That goes beyond everything I've seen in software EULAs so far. Those usually demand only indemnification against lawsuits that arise out of actions by the owner.

Comment Re:This is extortion (Score 1) 228

And why is it even necessary to negotiate here?

This could be sidestepped by telling, not asking the software vendors to fix their stuff within 90 days. Because after 90 days, the vulnerability will be made public. Either they fix their stuff or they can watch their customers' IT being raped :-)

Comment Re:What if you dont care about power consumption? (Score 2) 193

Really?

About 1 1/2 years ago, AMD was on its way out in the server market because the Opterons were not competitive enough anymore: http://www.eweek.com/servers/amd-aims-to-reinvigorate-x86-server-business.html
Now they are going to give it another try with Zen, and I think it is a promising try. But then again, Zen is not more power hungry than comparable Xeons. Maybe less so.

Comment Re:But radio plays a lot of Jay Z (Score 1) 203

I think a lot of what was independent radio moved online where it can reach a bigger base that isn't limited by physical geography. With the advent of the podcast anyone can have a show about anything and reach the entire planet (Local internet censorship rules apply. Check your country's rules.) which means its possible to support doing that as a full or part time job.

And there is YouTube of course, where people often put up music masquerading as video, showing a still frame and using the audio track of the "video" for playing the music.

Not so much for the big pop stars, their record companies seem to have pretty active lawyers who issue takedown notices pretty fast. But there is a lot of my preferred genre (metal) on YouTube, and those videos tend to last pretty long. It seems that those bands either don't have the money for employing teams of lawyers, or they tolerate a bit of YouTube piracy for its advertisement value.

That advertisement works by the way, my next CD order will contain three albums I discovered on YouTube:
    TT Quick - Metal Of Honor
    Insomnium - Shadows of a dying sun
    Redemption - Snowfall on Judgment day

Comment Re:They're noticing this NOW? (Score 2) 498

Not only "workflows" are affected, every long-running job without user interaction is too. Like big downloads on a slow internet connection, those can take several hours.
BTW, the computer going into sleep mode can interrupt those too, but at least you can usually resume those by "awakening" your PC.

For my own PC (still on Win7) I use the "No Sleep" tool and have set automatic updates to "Download updates but let me choose whether to install them". Works for me, but I understand that is no longer possible on Win10. Very bad idea and it makes Win10 pretty useless for people who have very long-running jobs.

Comment Re:What did the child specifically say. (Score 1) 254

While I don't have an Echo device, so I cannot try it myself, this sounds like it could be abused by a malicious prankster who researches the correct sequence of commands first.

The next step would be sending something like "Alexa, order me some anal porn" over the speakers in some larger venue. After that, Amazon would certainly backpedal ;-)

Comment Re:from 9.6% to 6.1% in 8 months? (Score 1) 228

The statistics from Net Applications (or at least some of them) are available at netmarketshare.com. IMHO you need to take them with a grain of salt. Sometimes these statistics have fluctuations that are not really plausible. For instance, a few months after it fell out of extended support, XP had a strange peak where it increased in popularity by a few percent. Reportedly. I'm skeptical.

Slashdot Top Deals

The number of computer scientists in a room is inversely proportional to the number of bugs in their code.

Working...