Forgot your password?

Comment: Re:Cell phones with non-replaceable batteries? (Score 2) 120

by gnasher719 (#47735543) Attached to: Ask Slashdot: Where Can I Find Good Replacement Batteries?

An even bigger issue than buying replacement batteries is replacing batteries in cell phones that are said to have batteries that aren't replaceable.

So which phones would that be where the batteries cannot be replaced? And we are talking about "cannot be replaced", not "cannot be replaced by the user", or "cannot be replaced by a guy on a market stall".

Comment: Re:Where? (Score 2) 232

by gnasher719 (#47669289) Attached to: Fugitive Child Sex Abuser Caught By Face-Recognition Technology

Read Three Felonies a Day (, then apply this type of technology.

That has been totally debunked. The author claims that the average person commits three felonies on an average day. The examples that he gives are things that very few people do once in their life. So iff you are in the USA, you are not going to commit three felonies today. There is a small chance that you commit _one_ at some point in your life, but that chance is small.

Comment: Screenshot looks doctored (Score 1) 159

by gnasher719 (#47669227) Attached to: Murder Suspect Asked Siri Where To Hide a Dead Body
The screenshot posted in the article shows a question "Where can I hide my roommate". Unlike the joke question "where can I hide a body", there isn't really any indication that there is a dead person involved. More a case of the landlord entering and not knowing that you sublet your apartment and need to hide your roommate. So it is highly unlikely that Siri would give (joke) advice where to hide a dead body.

Second, Siri doesn't give advice on hiding dead bodies anymore.

Third, Siri never gave advice including swamps.

Fourth, while it is conceivable that Apple would have traces of a Siri search somewhere on their servers (but very unlikely, because it doesn't serve any purpose for Apple, is a privacy violation, and can only cause cost by having to serve subpoenas), and slightly more likely that there would be traces of a search on your iPhone, why would there be a screenshot stored on your iPhone that the police can find?

And fifth, it seems the accused had no iPhone that was capable of using Siri :-) so the whole story is made up.

Comment: Re:Yay! I can lose my data cheaply now! (Score 1) 183

For what obscure reason should an SSD not come back after a power cut? Care to explain?

When you tell your drive to write a block of data, SSD drives can't just write that block. They can only erase complete 128KB or 256KB pages and write into empty pages. So writing a single block always means a certain amount of bookkeeping information, and complex data structures stored somewhere. If that information isn't flushed properly, it's actually quite likely that a drive could fail after being powered down.

The problem is that making sure that the drive information is always valid after power goes down slows the drive down (unless you have enterprise drives with some huge capacitor that makes sure they can write missing data even when your computer stops supplying power to the drive). And if you care more about benchmarks than about keeping data stored safely, you get drives that don't work after being powered down.

Comment: Re:RoundRects for everyone! (Score 1) 220

Note that the Quickdraw "RoundRect" function wouldn't be able to draw the shape of a current Samsung Galaxy phones. The corners are rounded, but they are not circular and RoundRect does only circular corners. You need Quartz and Bezier splines to handle them.

And as you see by the Galaxy phones, Samsung was absolutely allowed to create phones with a shape that is a rectangle with rounded corners. Samsung even has a design patent for rectangles with rounded corners!

Comment: Re:"Sophisticated" look (Score 1) 220

It's a mobile. It's basically a rectangular screeen. There's not really much space for design innovation.

In Raymond Loewy's biography, he mentioned being hired by a company whose design was ripped off (in their opinion), and the copycat claimed exactly what you said. So a week later he appeared in court as a witness, with three totally different designs that looked nothing at all like the design that was claimed to be impossible to change.

Comment: Re:New Design Approach (Score 1) 220

you think apple is the only smartphone out there with a metal frame and rounded corners?? how cute

Fact is, Samsung did build a phone that looked very, very similar to the iPhone 3GS. Fact is also that after that, they built phones that didn't look at all like iPhones (neither old nor new ones), except I have no idea whether anything they build looks like an iPhone 5c, which itself doesn't look like an iPhone to me :-)

What I saw in the link looks exactly like an iPhone 5s to me, so I'd think there is trouble ahead.

Comment: Re:Not all that surprising... (Score 1) 131

by gnasher719 (#47661489) Attached to: Errata Prompts Intel To Disable TSX In Haswell, Early Broadwell CPUs
I thought TSX would work best with zero contention? You execute code that supposedly does a transactional operation, but because of a prefix code it doesn't actually do anything transactional - unless things go wrong, it rolls back what it has done, and does the same code properly transactional.

So when there is no contention (which is most of the time), that's when TSX is most efficient. An example would be the gcc library std::string code. std::string doesn't need to be thread safe, but gcc's implementation needs to be. However, it will almost never happen that two threads access the same string data. So TSX should be perfect there.

Comment: Re:Sounds smart, but is it? (Score 1) 125

Loop unrolling is hardly a nightmare, it's one of the simplest optimizations and can easily be automatised.

Good luck. We are not talking about loop unrolling. We are talking about interleaving instructions from successive iterations. That was what Itanium expected compilers to do, and we all know how that ended.

Comment: Re:Never let the truth (Score 1) 391

by gnasher719 (#47654821) Attached to: Is "Scorpion" Really a Genius?

A person with a High IQ and they know about it use it as a crutch to make them feel superior to others, while actually inconveniencing themselves by disregarding advice from people with experience and skills they they have not gotten.

I'd say quite the opposite. I value everyone's experiences and skills and learn from them. But it has happened many times that I was in a group of people who encountered a problem that didn't lie within anyone's experiences and skill set, and I was the one who figured out a solution. That's what intelligence is there for.

Comment: Re:He claims this himself (Score 1) 391

by gnasher719 (#47654743) Attached to: Is "Scorpion" Really a Genius?

Still not exclusive of each other.I.Q. of 197, I merely want to know which test or groups of tests and who did the testing.

Since this was supposedly at some young age: For children, the IQ is calculated as (mental age) / (real age) * 100. A three year old with the mental capacity of a six year old would have an IQ of 200, which is extraordinary, but still not very clever, since it's the same absolute intelligence as a 12 year old with an IQ of 50.

Comment: Re:Sounds smart, but is it? (Score 1) 125

Well, you could look at what the Hotspot JVM does which is probably a closer analogy, and it works very well.

But then if you are using a JVM that recompiles code on the fly (or Apple's latest JavaScript engine which actually has one interpreter and three different compilers, depending on how much code is used), the CPU then has to recompile the code again! Unlikely to be a good idea.

There's a different problem. When you have loops, usually you have dependencies between the instructions in a loop, but no dependencies between the iterations. OoO execution handles this brilliantly. If you have a loop where each iteration has 30 cycles latency and 5 cycles throughput, the OoO engine will just keep executing instructions from six iterations in parallel. Producing code that does this without OoO execution is a nightmare.

Comment: Automatic jail sentences (Score 1) 120

by gnasher719 (#47648493) Attached to: Hackers Demand Automakers Get Serious About Security
20 years minimum for any hacker who affects a car which is driving on a public road. Would that be enough of a security measure?

Well, obviously not. We also need 30 years minimum for anyone trying to pin fake evidence of such a crime on someone else, and 40 years for anyone who suggests doing this on slashdot.

You can measure a programmer's perspective by noting his attitude on the continuing viability of FORTRAN. -- Alan Perlis