Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Programming

Submission + - Trying to Bust Javascript Out of the Browser (arstechnica.com)

eldavojohn writes: If you think Javascript is a crime against humanity, you might want to skip skip this article. Because Ars is reporting on efforts to take Javascript to the next level. With the new ECMAScript 5 draft proposal, the article points out a lot of positive things that have happened in the world of Javascript. The article does a good job of citing some of the major problems with Javascript and how a reborn library called CommonJS (formerly ServerJS) is addressing each of those problems. No one can deny Javascript's usefulness on the front end of the web but if you're a developer do you support the efforts to move it beyond that?
Education

Computer Games and Traditional CS Courses 173

drroman22 writes "Schools are working to put real-world relevance into computer science education by integrating video game development into traditional CS courses. Quoting: 'Many CS educators recognized and took advantage of younger generations' familiarity and interests for computer video games and integrate related contents into their introductory programming courses. Because these are the first courses students encounter, they build excitement and enthusiasm for our discipline. ... Much of this work reported resounding successes with drastically increased enrollments and student successes. Based on these results, it is well recognized that integrating computer gaming into CS1 and CS2 (CS1/2) courses, the first programming courses students encounter, is a promising strategy for recruiting and retaining potential students." While a focus on games may help stir interest, it seems as though game development studios are as yet unimpressed by most game-related college courses. To those who have taken such courses or considered hiring those who have: what has your experience been?

Comment Re:Caesar (Score 1) 104

No the Enigma machine was not a cryptographically sound device. It's major technical flaw was that it would never substitute a letter for itself thanks to the way its circuitry worked.

And in 30 years time, we may well be saying that PGP was 'not a cryptographically sound algorithm', 'It's major technical flaw was that it relied on not being able to factorise a 30-digit number'.

I think the GP just meant 'very strong', not 'very sound' - which for the time, it was. Its major flaw was actually its users.

Comment Re:Cool Enigma Facts (Score 2, Informative) 104

I believe it was the first machine to have symmetrical encoding and decoding. Because it had a this property (as a letter was coded through the rotors, there was a rotor that reflected the encoding back through the rotor stages again), an operator could code and decode messages without reconfiguring the device. Due to the fact above, the Enigma could never encode a letter onto itself. This greatly decreased the permutations allowed and made the device less effective.

I may be misunderstanding your cause and effect combination slightly here, but the symmertical encoding/decoding did not cause Engima to never encode a letter onto itself; that was specifically because of the reflector cog at the end of the wheels and the design of the electrical circuit within the machine.

Operators would encode the rotor setup in the message.

Twice (in case there were problems in receiving the messages); this led to the British and Polish (who never get enough public credit, IMO) knowing, for example, that if the message started 'ABCDEF', then A and D were the same original letter, and likewise with B/E and C/F. Herivel should also be credited with his work in predicting the rotor setups based on relatively simply psychology

Also, the Germans would include many standard phrases like praise for the Fuhrer.

Of more use was a certain weather station that broadcast messages at a set time every day and started each with 'WETTER'.

There are many simulators of the Enigma machine (see the Wikipedia article). Very cool to play with to really understand the operation of the device.

Writing one helps you appreciate it even more. Even the rotation of each cog isn't as simple as it seems.

Comment Re:If I were subject to having all my email stored (Score 1) 115

I wonder how long it would take them to arrest me, assuming I wasn't just shot in the back during my morning commute.

If the police arrested you simply for sending a lot of emails, the UK Government would have a lot more to worry about than whether they can get ISPs to retain sections of SMTP logs or not.

Comment Re:Why use ISP email? (Score 1) 115

Someone already noted that GB can force you to divulge encryption keys. However, TLS generates random keys each connection, and keeps no record of them. Does that mean that TLS is illegal in GB?

No; one valid defence in the eyes of the [British, at least] law is not to know, or to have, the decryption keys for any encrypted content you may have.

Comment Re:Three times! (Score 1) 339

I know it must have taken a great deal of self-control
It did; my first draft was slightly more scathing, but then I conceded that your original post may just have been a hastily-written reaction to a subject that you weren't completely au fait with. As others have already pointed out, the benefit is given irrespective of means.

but I stand by my assertion
The post I followed-up started with you stepping backwards. Was your assertion behind you when you made it?

Slashdot Top Deals

One way to make your old car run better is to look up the price of a new model.

Working...