Forgot your password?

Comment: didn't even watch a single lecture (Score 1) 170

by mydn (#47897265) Attached to: The MOOC Revolution That Wasn't

didn't even watch a single lecture

Therein lies the problem. I don't want to watch a fucking lecture. I don't want to slow down to the speed at which someone speaks. I can read much faster then someone can speak. I would greatly prefer to just read the material instead of watching a video. My mind will wander if I have to watch a lecture, since it is not being supplied information quickly enough. An occasional video that demonstrates something specific is fine, but not a lecture.

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.


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.

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 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."

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."

Say "twenty-three-skiddoo" to logout.