Forgot your password?
typodupeerror

Comment: Self-healing drivers (Score 2) 81

by peppepz (#47917329) Attached to: New Release of MINIX 3 For x86 and ARM Is NetBSD Compatible
Don't present userspace drivers as a panacea for all kinds of driver troubles: when a driver fails, it can make the hardware it drives hang your machine solid from the hardware's side, or make said hardware DMA all over your RAM with complete disregard any CPU-imposed protection; there's no safe recovery from such a situation, and in this case applications had better be stopped even if they appear to be still running.
Music

Apple Outrages Users By Automatically Installing U2's Album On Their Devices 594

Posted by samzenpus
from the do-not-want dept.
Zanadou writes "Apple may have succeeded at breaking two records at once with the free release of U2's latest album, titled Songs of Innocence, via iTunes. But now, it looks like it's also on track to become one of the worst music publicity stunts of all time. Users who have opted to download new purchases to their iPhones automatically have found the new U2 album sitting on their phones. But even if iTunes users hadn't chosen automatic downloads, Songs of Innocence will still be displayed as an "iTunes in the Cloud" purchase. That means it will still be shown as part of your music library, even if you delete all the tracks. The only way to make the U2 album go away is to go to your Mac or PC and hide all of your "iTunes in the Cloud" purchases, or to use iTunes to manually hide each track from your purchased items list. Other reactions include rapper Tyler, The Creator saying that having the new U2 album automatically downloaded on his iPhone was like waking up with an STD. Update: 09/16 15:06 GMT by T : Note: Apple has released a fix.

Comment: Re: Would be nice to see Scala replace Java (Score 1) 94

by peppepz (#47844581) Attached to: Scala Designer Martin Odersky On Next Steps
Please read the post I was replying to, it was claiming that checking for object value equality using == sometimes works. That's what doesn't work, and rightfully so. Sorry if it wasn't clear, but unfortunately I'm using the mobile site and I can't find the "quote parent" option.

Comment: Re: Would be nice to see Scala replace Java (Score 1) 94

by peppepz (#47842223) Attached to: Scala Designer Martin Odersky On Next Steps
No, it never works. Ever. For any kind of object. Comparing references instead of values is logically wrong, it does not make sense, and it "works" with compiler-generated structures in the same way as comparing C strings with == instead of strcmp() may happen to "work", or comparing C arrays using > may happen to "work". The difference between a value and a reference is a very basic concept of programming, and in the case of Java it's explained very early in learning courses. If anything, languages that allow complexity-hiding features such as the overloading of == are much better puzzler-generators than the simple, elegant, plain Java. Which didn't even have autoboxing originally.

Comment: Re:Would be nice to see Scala replace Java (Score 5, Informative) 94

by peppepz (#47841807) Attached to: Scala Designer Martin Odersky On Next Steps

Every time I teach a beginner's course, I am reminded of just how ugly Java really is. Here's a simple example:

- Comparing two "int" variables, you use == - Comparing two Integer variables, you probably want .equals()

Comparing *any* object, you want to use equals(), there's no "probably".

- But it is possible to have two different Integer objects with the same value - this is when you wand ==

No, you don't. Comparing two Integer objects, as any other object, with ==, will compare the two references to the object in order to determine if they point to the same object. The object contents won't be looked at. This is simple to learn and teach, and elegant as a design. I find no ugliness whatsoever in this.

- But Java wants to save memory, so in fact == and equals yield the same result for values from -128 to +127

Although you didn't mention it, you are thinking about autoboxing. Java makes efficient use of memory and, by using == to test object identity instead of equals() you can detect this optimization. This can't influence any working code (because comparing the results of .equals() and == makes no logical sense) and certainly isn't confusing.

A more advanced example are the generics that disappear when the code is compiled. I understand the arguments for doing it this way, but I disagree with them - if you have generics, you ought to be able to query the types at run-time. There are lots and lots of highly questionable design decisions - basically, 20 years of backwards compatibility.

It's past time to clean house. Building a new language on top of the established JVM technology seems like a very good idea indeed. Perhaps Scala can fulfill this role...

Scala has type erasure, too, and IIRC it was designed by one of the guys who are responsible for the design of type erasure in Java.

Cellphones

Is the App Store Broken? 258

Posted by Soulskill
from the honeymoon-is-over dept.
A recent post by Instapaper's Marco Arment suggests that design flaws in Apple's App Store are harming the app ecosystem, and users are suffering because of it. "The dominance and prominence of 'top lists' stratifies the top 0.02% so far above everyone else that the entire ecosystem is encouraged to design for a theoretical top-list placement that, by definition, won’t happen to 99.98% of them." Arment notes that many good app developers are finding continued development to be unsustainable, while scammy apps are encouraged to flood the market.

"As the economics get tighter, it becomes much harder to support the lavish treatment that developers have given apps in the past, such as full-time staffs, offices, pixel-perfect custom designs of every screen, frequent free updates, and completely different iPhone and iPad interfaces. Many will give up and leave for stable, better-paying jobs. (Many already have.)" Brent Simmons points out the indie developers have largely given up the dream of being able to support themselves through iOS development. Yoni Heisler argues that their plight is simply a consequence of ever-increasing competition within the industry, though he acknowledges that more app curation would be a good thing. What strategies could Apple (and the operators of other mobile application stories) do to keep app quality high?
The Military

Hackers Plundered Israeli Defense Firms That Built 'Iron Dome' Missile Defense 184

Posted by Soulskill
from the intercepting-missiles-is-easier-than-learning-not-to-click-on-attachments dept.
An anonymous reader writes: Brian Krebs reports on information from Columbia, Md.-based threat intelligence firm Cyber Engineering Services Inc. that attackers thought to be operating out of China hacked into the corporate networks of three top Israeli defense technology companies. The attackers were seeking technical documents related to Iron Dome, Israel's air defense system. "IAI was initially breached on April 16, 2012 by a series of specially crafted email phishing attacks. ... Once inside the IAI’s network, [the attackers] spent the next four months in 2012 using their access to install various tools and trojan horse programs on systems throughout company’s network and expanding their access to sensitive files, CyberESI said. The actors compromised privileged credentials, dumped password hashes, and gathered system, file, and network information for several systems. The actors also successfully used tools to dump Active Directory data from domain controllers on at least two different domains on the IAI’s network. All told, CyberESI was able to identify and acquire more than 700 files — totaling 762 MB total size — that were exfiltrated from IAI’s network during the compromise. The security firm said most of the data acquired was intellectual property and likely represented only a small portion of the entire data loss by IAI." Most of the stolen material pertained to Arrow III missiles, UAVs, and ballistic rockets.
Medicine

Metamason: Revolutionizing CPAP Masks With 3D Scanning and 3D Printing 59

Posted by samzenpus
from the breathing-easy dept.
First time accepted submitter Leslie Oliver Karpas writes As millions of Americans with Obstructive Sleep Apnea struggle to get a good night's sleep, one company has harnessed 3D technology to revolutionize CPAP therapy. As 3ders.org reported today, "Metamason is working on custom CPAP masks for sleep apnea patients via 3D scanning, smart geometry, and 3D printing." "We're at the crossroads of 3D technology and personalized medicine," says Metamason's founder and CEO. "There are many medical products that would be infinitely more comfortable and effective with a customized fit. CPAP therapy is the perfect example—it's a very effective treatment with a 50% quit rate, because mass-produced masks are uncomfortable and don't fit properly." CPAP is a respiratory device worn during sleep to treat OSA, which affects 1 in 4 men and 1 in 9 women in the US alone. Metamason's "ScanFitPrint" process for creating their custom Respere masks translates a 3D scan of the patient's face into a 3D printed custom mask that is a perfect individual fit. To print the masks in soft, biocompatible silicone, Metamason invented a proprietary 3D printing process called Investment Molding, which creates wholly integrated products that were previously considered "unmoldable."
The Internet

French Blogger Fined For Negative Restaurant Review 424

Posted by Soulskill
from the enjoy-your-streisand-effect dept.
An anonymous reader sends an article about another case in which a business who received a negative review online decided to retaliate with legal complaints. In August of last year, a French food blogger posted a review of an Italian restaurant called Il Giardino. The restaurant owners responded with legal threats based on the claim that they lost business from search results which included the review. The blogger deleted the post, but that wasn't enough. She was brought to court, and a fine of €1,500 ($2,040) was imposed. She also had to pay court costs, which added another €1,000 ($1,360). The blogger said, "Recently several writers in France were sentenced in similar proceedings for defamation, invasion of privacy, and so on. ... I don't see the point of criticism if it's only positive. It's clear that online, people are suspicious of places that only get positive reviews."
Media

CMU System Lets You Get To the Good Parts of Video, Fast 32

Posted by Unknown Lamer
from the my-videos-are-coming-up-blank dept.
coondoggie (973519) writes "While Video has become ubiquitous thanks mostly to smartphones it doesn't mean you want to actually watch all of it. Carnegie Mellon University computer scientists say they have invented a video highlighting technique called LiveLight that can automatically pick out action in videos shot by smartphones, GoPro cameras, or Google Glass users."
Technology

Don't Want Google In Your House? Here Are a Few Home-Tech Startups To Watch 88

Posted by Soulskill
from the why-is-my-immersion-blender-tweeting-at-me dept.
curtwoodward writes: Google bought Nest. Then Nest bought Dropcam. Then Nest opened up its platform to tech partners, including... Google. This may not creep everyone out, but for those who don't like the idea of Google's all-seeing eye owning their smart-home devices, there are some small, independent companies developing alternatives. Maybe they'll survive long enough to get acquired by a company that doesn't make 90 percent of its money from advertising — right?
The Courts

Supreme Court Rules Cell Phones Can't Be Searched Without a Warrant 249

Posted by Unknown Lamer
from the sanity-outbreak dept.
New submitter CarlThansk (3713681) writes The courts have long debated on if cell phones can be searched during an arrest without a warrant. Today, the Supreme Court unanimously ruled that the police need warrants to search the cellphones of people they arrest. "Chief Justice John G. Roberts Jr., writing for the court, said the vast amount of data contained on modern cellphones must be protected (PDF) from routine inspection." Phones may still be searched under limited circumstances (imminent threats), but this looks like a clear win for privacy. Quoting the decision: "We cannot deny that our decision today will have an impact on the ability of law enforcement to combat crime. Cell phones have become important tools in facilitating coordination and communication among members of criminal enterprises, and can provide valuable incriminating information about dangerous criminals. Privacy comes at a cost."

Comment: Re:Let's get rid of EU (Score 1) 272

by peppepz (#47240405) Attached to: EU May Allow Members Home Rule On GMO Foods

So when, precisely, in your opinion did the Italian Republic become "fascist," or "military-controlled"?

To sum it up in poor words, the point of Gladio was to replace a left-wing government with a fascist one. This was never needed however, because the Italians were good boys and never elected a left-wing government. This notwithstanding, the Italian military secret service supported right-wing terrorism with money, weapons and judiciary protection.

The people who created Gladio were Italians elected by their countryman. They preferred a world where their country had a secret, Anti-Soviet Army directed partially by the CIA to one where it didn't. When those countrymen realized it was acting up they disbanded it.

Those countrymen were never aware of such activities, precisely because they were kept secret. In those cases when they become aware of them, the few persons identified as responsible for them had to spend the rest of their lives in South America or Africa to flee from Italian justice.

As for "terrorism-ridden," Italy has never had a year in which Gladio bombings made up the majority of terror attacks. There were leftists, and other Fascists active in the same period. Most of the time Gladio was third, behind the various leftists, and the Ordine Nuovo Fascists.

If we want to be precise, no bombing (or targeted murder) was ever set up by "Gladio". They were carried out by right-wing terrorists that were sponsored by "deviated" Italian secret services. But frankly, counting the victims of the "red" terror versus the ones of the "black" terror seems silly to me (others have done it, and in case you're interested, it's "a draw"). I can assure you that I despise the KGB-sponsored killings as much as the CIA ones. The point of this discussion was that the USA's only interest was a peaceful and boring Europe, and in my opinion terrorism is incompatible with peace and boredom.

In fact I think if you consult a dictionary, you'll note that "military control" is generally considered the opposite of having terrorists run around your country, so that Italy in the 70s and 80s was suffering from a distinct lack of military control.

Military control would have been an option of last resort, and it was never put in place. However, in certain times we got pretty close to that. It's not surprising, as the rest of southern Europe was not democratic until the 70s, and something like that went on in America's backyard.

Yes, we will be going to OSI, Mars, and Pluto, but not necessarily in that order. -- Jeffrey Honig

Working...