Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Submission + - Dao, a new programming language supporting advanced features with small runtime

NeoHermit writes: This language (Dao) has never been mentioned on slashdot before, but it might be interesting to many people here. As it has recently become feature-complete and just made its first beta release after becoming feature-complete, it may be the right time to mention it here.

Dao is an optionally typed programming language that supports many advanced features with a small runtime. The feature list is probably as long as that of Python, but they are supported by a much smaller runtime (somewhere between Lua and Python, but closer to Lua). Besides optional typing, the other major features that worth mentioning include: built-in support for concurrent programming for multicore computers, very friendly C programming interfaces for embedding and extending, a LLVM-based JIT compiler, a Clang-based module for embedding C/C++ codes in Dao, and a Clang-based tool for automatic binding generation from C/C++ header files. You can also see many familiar features from other languages.

Comment Re:How do admins keep salts secure? (Score 1) 80

The salt is usually stored side by side with the salt + password hash. The salt is just a random bunch of data (of reasonable length; you can usually get away with 16 bits, but I've seen 48+ around) generated each time the user creates/changes the password. It need not be unique in the whole database, but the longer it is, the more computationally difficult it is to crack (also using an expensive hash scheme like bcrypt). I usually also encrypt the salt as well using an application specific password (this usually doesn't change between installations) and the username combined to create a "salt password" (this too is a hash). The important thing is that the password is never stored anywhere as-is.

Comment I wish more people plan for "when" instead of "if" (Score 3, Insightful) 80

Sure, you can throw whatever current best practices are toward keeping your data secure, but let's at least have a plan B for when things really do go horribly wrong. Because if it can, it eventually will.

I don't like sticking to just one method for passwords because malicious hackers usually try the methods that are easiest to implement (whether one type of algorithm or a set number of iterations etc...) the difficulty in cracking is usually second and, let's be honest, changes day by day as GPUs, FPGAs and so on get faster and faster and can run in parallel. This is why you should try some combination of HMAC, bcrypt etc... (nothing too "new", too fast or DIY please)

The emails are unfortunate, since now these people are prime targets for phishing (unless they've seen this report, but even then, they might think "Oh, I should change my password! Let me click on this link that totally looks like it's from Living Social). Also of note, they should have done more to protect the birthdays most of all. That's what some people use for passwords still and I've seen it being thrown around in those "password reminder" questions. Some financial institutions even accept those in lieu of the mother's maiden name.

Comment Re:Maybe they shoot together and then split it up (Score 1) 342

I have a feeling the studio had more to do with this than Jackson though. Granted he had a lot of creative control, but I'm sure there's a lot to the movie making process we're not privy to. Plus the thing has to make money and that means cutting and slicing until Joe popcorn-vacuum is willing to sit down for more when each movie was already pretty long. It's also a very expensive production.

I think Tolkien's family wasn't too happy with the end result either. The complaints were along the same lines and I can't say I would have disagreed.

Comment Looking forward to replacing a bulb... never (Score 1) 308

Well, at least after I replace them the first time.

Brain wandering time: If these are the kinds of lights we'll be putting in long duration spacecraft, it would make sense that they last at least a few decades, since it's cost prohibitive to bring supplies and, if we're talking about Mars, that's potentially a permanent installation (precluding "lunar module" style landers meant to take off later).

Submission + - Linode hacked, CCs and passwords leaked 6

An anonymous reader writes: On Friday Linode announced a precautionary password reset due to an attack despite claiming that they were not compromised. The attacker has claimed otherwise, claiming to have obtained card numbers and password hashes. Password hashes, source code fragments and directory listings have been released as proof. Linode has yet to comment on or deny these claims.

Comment Next up : Self-driving drone (Score 1) 420

But seriously, Google's case (or rather Eric Schmidt's case) that drones should be regulated is somewhat ironic considering monitoring is nothing new at Google. The drones in this case aren't armed (and I'm certainly not condoning arbitrary use), but the potential for "oops, we just veered off course and stumbled into your growlab" is all too easy. That's the real harm here, not that we're worried there would be any rockets taking out civilians; it's the gradual erosion of personal space.

Also drones going berserk and falling out of the sky. That's a worry too.

Comment Re:Can't wait for there to be case law (Score 3, Interesting) 162

Oops... did I say "shot"? I meant "should have cat urine poured down their throats". Seriously, I've never seen another institution meant for the citizens to petition government be abused so much. All lobbying (even the anti-gun lobby) will be at risk eventually when enough people decide enough is enough. At the moment, they're distracted by *idol shows to give a damn, but just wait and see.

Comment The new FiOS routers ship with a random pass (Score 1) 210

Also a random SSID and has remote login disabled. Of course, they had other issues with UPnP and stuff, but at least this makes remote attacks a little bit harder since they're more difficult to discover (still security through obscurity; if they have a dumb device that responds outside NAT, it's still game over). Nothing will stop people from making devices that should be private available publicly for the sake of convenience though.

Slashdot Top Deals

Software production is assumed to be a line function, but it is run like a staff function. -- Paul Licker

Working...