Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment PBKDF2 (Score 5, Insightful) 61

I find it kind of odd that all of the analyses linked to in this article go on about SHA512-Crypt, BCrypt, SCrypt, etc, and the slideshow even talks about "Key Derivation Functions"... yet there doesn't seem to be any mention or comparision of PBKDF2-HMAC-SHA512 as a valid password-hashing key derivation function, despite it's widespread use, and that it's one of the core architectural components used in the design of SCrypt.

Comment Re:ALREADY DONE (Score 1) 120

A developer enters a market and wonders aloud "There are 12 conflict libraries, which one should I target?"

His friend replies: "You know, we should write a single library to abstract away all those differences, so everyone can just target 1 library!"

"That's a great idea!" the developer exclaims.

Now there are 13 conflicting libraries.

Comment Re:Price Point (Score 2) 127

it's kinda funny, but webOS comes/came pretty close to what you're describing. Root was accessible by enabling "dev" mode through a special but officially documented code (the konami code for some versions), no cracking needed; the underlying linux os had a number of gnu tools already, and you can use the ipkg framework to install more; then there's Preware, a still thriving open source community / app catalog tool full of free unsigned apps and OS patches which palm and hp both officially sanctioned. The main limitation was that some of the hardware wasn't that well documented.

sigh. My only hope now is that android one day becomes as easy to mod, so getting python and an ssh/http server on my next phone is just as simple.

Comment Re:Not Amazon! (Score 1) 72

Relating to webOS phones... I regularly have 8+ browser pages open on my Palm Pre, and I can switch between them quickly with barely a glance and a couple of idly placed swipes with my thumb. I can't think of another ui that would make that work... even on a tablet, the "tabbed browser" interface is clunky. If they'd make a version of Android with 1) that interface, 2) webos's lack of jailbreaking, 3) something akin to Preware and it's offerings... I'd be a lot happier about switching to an Android phone when my Pre breaks.

Comment Re:Not really cracking the passwords. (Score 3, Insightful) 165

Actually, the fact that OSX uses SHA512 makes it easy to crack the password (compared to the alternatives).

OSX uses SHA512(salt+password) to generate it's hashes. SHA2 was specifically designed to be highly parallelizable and fast on modern processors, which means brute force attacks are going to proceed very quickly. And as time goes on, and average processor speed increases, that amount of time per cpu (and per $) keeps dropping.

There are four modern password hashing schemes worthy of note: SHA512-Crypt (this is NOT simply SHA512), BCrypt, PBKDF2, and SCrypt.
All of these schemes use a variable number of rounds of their underlying cryptographic operation. This allows the algorithm to stay the same, but the cpu-cost to be increased per hash as computers get faster, or if a user is particularly paranoid and wants to make it take longer to crack.

Many of them (such as PBKDF2) even have properties that make them resistant to preimage attacks on the underlying hash function.

Finally, SCrypt has the unique property of being "memory hard"... it's rounds don't just require a certain amount of time, but a certain amount of memory*time. This makes parallelizing the attack much more costly, as each CPU has to get it's own dedicated amount of memory for the attack.

All of the above are so much tougher to brute force, that the cost of OSX's hash scheme is barely worth notice by comparison. I'm not sure why OSX is using what it is... Linux uses SHA512-Crypt, BSD uses BCrypt, WPA2 and many other things use PBKDF2... all would have been better choices.

Comment Notary Servers (Score 1, Interesting) 163

Just to provide some links to the "alternative approach" mentioned in the summary:

* The Perspectives Project spearheaded the concept of independant notary servers instead of a chain-of-trust.

* Convergence is another spin on the same concept, by Moxie Marlinspike in fact. (Not sure if it's compatible w/ Perspectives, but I think it is)

Comment Re:touchpad firesale hopefully good for webos (Score 1) 181

I think SCHeckler's point was that $150 - $200 was the right price to sell it at, given what the TouchPad provided. The fact that it cost HP $318 to make something which only had $200 of value to the customer... just shows why selling it at an even higher cost wasn't going to fix anything. They chose the other obvious option, and stopped selling it.

I'd agree that lack of apps was a problem, but only at the $500 price point. Look at how crazily it sold at $99 (and still successfully reselling on ebay for $200)... all of that is happening with the near *promise* of no new apps, and the vaguest homebrew mutterings of "I wonder if we can port Android". I'd argue the lack of apps becomes an increasing concern only when the price starts making the customer think "what else am I getting, besides a ereader / browser?". Which seems to happen around $300.

Not that it's impossible to move tablets without a major app ecosystem. HP had two other choices besides give up: make a cheaper tablet (as you pointed out, that probably wouldn't have worked); or follow the XBox strategy: sell drastically under cost to flood the market, then ramp up the price on the next gen TouchPad2. The gamble is that the initial glut would grow the marketplace to the point that people looking to pay $500 decide the TouchPad2 has enough apps to make it worth it.

For some reason, they tried to start *out* at that point, selling the premium, without any carrot to pull people in. They should have worked their way up to it; but seemed too risk averse to invest the money needed to carve out the mindshare. Not that there's anything wrong with being risk averse, but why did they even try the half-assed way, when the figures should have blatantly showed it was an all or nothing situation?

Comment SQLAlchemy (Score 2) 111

While I'd like to it not be the case, I'd have to agree with you about the general not-quite-there-yet state of dynamic frameworks. That said, Django's custom ORM leaves much to be desired. Next time you decide to give a python framework a try, pick one which uses SQLAlchemy as it's ORM layer. You'll find it to be a much more sophisticated library (similar to Java's Hibernate). In particular, it has all the features you just mentioned. Not integrating SQLAlchemy is one of the main things that keeps me from using Django... any other ORM layer in Python seems doomed to play catch-up.

Comment Re:NASA you are officailly bush league (Score 3, Insightful) 48

Actually, I'd be relatively ok with us fighting in space, if it meant we were trying to get into space to begin with.
Consider a hypothetical moon colony -
  • * War requires developing countermeasures for missles and kinetic weapons - these are already needed to protect the colony from asteroids.
  • * War requires radiation-hardening the colony against EM weapons - this is already needed to protect against solar flares and the like.
  • * War requires developing more agile, efficient drives in order to out-maneuver the enemy? This just helps us colonize further.

Much as a I'd like space to be nice and peaceful, that doesn't seem to be in our natures right now - and just shifting the theater of conflict to space would put the well-funded military R&D pipelines on track to developing numerous technologies that we were going to need anyways - but they'd do it faster than if the goal was peaceful colonization, since it's now a matter of "national pride".

Comment Re:car analogy (Score 2) 371

Even better, valet parking - Valet gives you a ticket, and you discover it's possible to pencil in another number, and get a different car. Then you discover they let you make 20,000 photocopies, and present 20,000 different tickets, and valet *never gets suspicious*.

Comment Re:Get another ISP! (Score 1) 379

Regarding Google - actually, yes, there is implied consent. robots.txt and nofollow links can easily be added to any website, to tell Googlebot and others to go away. And they will - or then they probably would be wandering into (c) infringing - or at least some form of illegal use of resources (for trawling the site).

Comment Re:And your point is???? (Score 5, Insightful) 344

I think his underlying point was that many of us users do (or will) miss the old choices.

I used to prefer KDE 3. Then KDE4 came along and replaced it; and the new design just made too many fixed assumptions about things I wanted to configure, and constantly threw in my face things I didn't want to *have* to configure. I never really cared about the stability / completness issue of the early 4.x series - I respect it took a while to refactor all that code. Still, with the fundamental interface changes they made, even today, I just don't want to use KDE4.

So I migrated to Gnome 2. I liked it ok. It's not as configurable, but I could get it close enough to how I like to do things. But instead of polishing it, and fleshing out the details, Gnome seems obsessed with removing features unless 80% of the users are using it (and everyone has some feature that's in that 20% category, so it slowly annoys the whole userbase). But it's at least currently usuable for me.

Now Gnome3 comes along. I appreciate everyone's trying to improve the desktop metaphor. But personally, I'm a spacial person - I remember where my virtual desktops are relative to eachother, what windows I put where, it maps nicely to an actual desktop you just can see only a part of. Gnome3's workspaces break that spacial mapping for me, and make it much harder to use.

And then there's XFCE. I like XFCE, it's been hanging on for a long time. But I'd like a little more integration and polish than it offers (I respect the fact that they're trying to be minimal. They've done a great job, given their goals).

But all that comes down to the fact that, for me and others: linux may be choice, but I feel like my choices are being taken away, as when Gnome2 goes away to bitrot, there won't be a desktop that I consider usuable. And forking and picking up the codebase of one of these environments is just way too big a task for individual coders - the only way it'll happen is if one of the projects has a schism, and they all seem way too in agreement for that to happen.

It feels like we're heading towards 15 years ago, when all the desktop environments were either incomplete, or different for different's sake.

Comment Re:Maximize profit (Score 1) 591

That's what they said, and they are serious.

The article contends that a strategy to maximize profits in developed countries has two effects: maximizes profits globally, and fosters piracy in undeveloped countries. You seem to have focused on the first effect, and are wondered at how that could be bad thing for business... but you missed the second effect.

Their idea is that If the strategy fosters a thriving pirate market, then in the long run that market will grow large enough to hurt the legitimate market (even in developed countries)... which in the long run will cause the strategy to actual undermine profits, both locally and globally. So even though it will seem like a "success" during the short run, it will have to be abandoned at some point.

If the study is correct, I'd say the optimal path would in fact be a hybrid - start out targeting the developed market, but watch the pirate market, and do drastic price drops in that market before it gets established. That way, the company maximizes short-term profit in developed countries, but retains control of the world-wide market in the long run. And long-term market control is definitely more important, else competitors and piracy will drive your price below a sustainable level.

Comment Re:Link to Original Article (Score 2) 151

It seems to me that our general body of knowledge is growing so large, and economic competition is so fierce, that people are being forced to specialize on particular areas, to the point that they lack even introductory knowledge about other fields of study. Case in point: this paper, where a doctor basically rediscovered calculus.

Iphone

iPhone Alarm Bug Leads To Mass European Sleep-in 487

nk497 writes "A flaw in the alarm clock in iPhone 4s gave Europeans a bit of a lie-in this morning. While the Apple handsets automatically adjusted to daylight savings time, a bug in the alarm system meant many were woken up an hour later than they should have been, after clocks rolled back over the weekend. Annoyingly, Australia was hit by a similar problem last month, but Apple failed to fix the problem or even warn users. American Apple fans, consider yourselves warned. The iOS4 bug can apparently be avoided by using one-off alarms, rather than pre-set regular wake-up calls."

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...