Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Submission + - Xfce 4.20 Desktop Environment Released with Experimental Wayland Support (9to5linux.com)

prisoninmate writes: A report from 9to5Linux.com: "Two years after the release of Xfce 4.18, Xfce 4.20 is here as another major update to this light and fast desktop environment for GNU/Linux distributions. Xfce 4.20 is packed with lots of new features and improvements like experimental support for Wayland with support for the Labwc and Wayfire compositors, improved support for HiDPI displays, and libxfce4windowing as a new abstraction library to present windowing concepts in a windowing-system-independent manner."
"Thunar, Xfce's file manager, received support for IPv6 remote URLs, the ability to create symbolic links on remote locations, new toolbar buttons, search improvements, support for specific type descriptions and emblems for mount points, and an option to use client-side decorations (CSD). Moreover, Thunar received a new option to display the number of hidden files in the status bar, a new option to use symbolic icons in the side pane, as well as colored icons in the toolbar, and new Recently Used Files behavior where only successfully opened files are shown and no directories."

Official announcement page: https://alexxcons.github.io/bl...

Submission + - CJIT - C, Just in Time! 2

jaromil writes: As a fun project, we hacked a C interpreter (based on tinyCC) that compiles C code in-memory and runs it live. CJIT today is a 2MB executable that can do a lot, including call functions from any installed library on Linux, Windows, and MacOSX.

Submission + - Researcher Uses Valve Security Bug to Upload Paint Drying Game on Steam (softpedia.com)

An anonymous reader writes: A security researcher found two bypasses in Valve's game review process that eventually allowed him to publish Steam Trading Cards and a full game on the Steam Store called "Watch Paint Dry" (reference to this case from last month involving the British film censors).

The game was supposed to be an April Fools' Day prank, but the researcher forgot to set a release date, and was published on the Steam Store last weekend. Valve has fixed the security bypass in the meantime. These were extremely dangerous since it allowed anyone to publish games on the Store (possible containing malware) without a Valve employee ever taking a look at them, or knowing they went through the review process.

Submission + - Torvalds' Secret Sauce for Linux: Willing to be Wrong

An anonymous reader writes: Linux turns 25 this year(!!). To mark the event, IEEE Spectrum has a piece on the history of Linux and why it succeeded where others failed. In an accompanying Q&A with Linus Torvalds, Torvalds explains the combination of youthful chutzpah, openness to other's ideas, and a willingness to unwind technical decisions that he thinks was critical to the OS's development: "I credit the fact that I didn’t know what the hell I was setting myself up for for a lot of the success of Linux. ...The thing about bad technical decisions is that you can always undo them. ... I’d rather make a decision that turns out to be wrong later than waffle about possible alternatives for too long."

Submission + - NSA Hacker Chief Explains How To Keep Him Out Of Your System. (wired.com) 1

An anonymous reader writes: Rob Joyce, the nation’s hacker-in-chief, took up the ironic task of telling a roomful of computer security professionals and academics how to keep people like him and his elite corps out of their systems.

Joyce himself did little to shine a light on the TAO’s classified operations. His talk was mostly a compendium of best security practices. But he did drop a few of the not-so-secret secrets of the NSA’s success, with many people responding to his comments on Twitter.

Comment Re:"Linux Command Line Tirckery" HA! (Score 1) 642

Well, you are being sarcastic of course, but strictly speaking... you are right...

Are not huge efforts put into alternative input devices, which should be "more direct" - like brain-computer interfaces, eye-computer interfaces, body-motion-computer interfaces etc?

Yes, the computer should know what I want to do, and just do it. That's the whole point of this AI idea; if the computer can think itself (himself?), then you don't need to break everything up into step-by-step instructions.

As for electricity: it's just because we don't know how to put the needed energy into the computer otherwise, in a more convenient way. Well, if the computer had adequate AI and a little chemical plant inside, it could forage for energy, just like humans... or, previous generations dreamed of putting atomic batteries inside, which would go for thousands of years...

Comment Re:I believe him, but (Score 1) 297

As a native: This is all true. Now, if you're learning German, please forget it again.

I believe the way we natives handle this is by associating each common phrase with the correct pattern, not by going through rules and lists of prepositions. So, if I want to express that we are going into something from outside, I recall the pattern "in [den Wald] (hinein)gehen". Walking around inside something is "im Wald (herum)gehen". So, you have bits of meaning, and associate them with language patterns, including the cases. When you learn a language, you have to memorize the patterns anyway ("how do I say XYZ?"). Just also memorize the suitable cases.

Oh, did I mention that in my native Austrian dialect, we don't have a dative at all? :-) Walking into the wood is "I geh an Woid (ei)" (Ich geh inn' Wald hinein). Walking around the wood is "I geh an Woid umanond" (Ich geh inn' Wald herum)...

Comment Re:PHP is an ugly programming language (Score 1) 519

stristr( $haystack, $needle ) for checking if one string is contained in another versus in_array( $needle, $haystack )

Netbeans, PHP support, Alt+Space. Problem solved :)

Generally, PHP all the way for me, without web frameworks or anything. Some things that I find helpful in PHP:

  • Heavily use the object-oriented features (e.g. use classes with static methods for lexical scoping).
  • Liberally add comments in the source code (makes the Netbeans autocompletion/help work nicely).
  • Make one central database access library in your project (based on PDO), and use that library throughout your project.
  • Define central configuration in a config.php file.
  • Separate presentation-oriented PHP files (to be treated as "templates") and back-end (which have a starting php tag at the beginning, and no ending tag throughout the file).
  • Use AJAJ (with JSON) if needed. Both PHP and Javascript can do it natively, and it's faster and much simpler than XML.
  • Consider REST-style interfaces if your project is big.
  • Use sane parameter semantics: POST parameters in forms, GET parameters only very rarely.
  • Use the PHP session to store context.
  • Do not trust user input; check string lengths, options, and run all inputs through regexes to validate the allowed characters. Put this string/number/option checking code into a separate backend library, and use that everywhere else.

Comment Re:No (Score 5, Informative) 601

The main problem with OpenPGP on mail for me is that due to the unique key per recipient, if you add more than one recipient or cc, you have to encrypt the mail for each and every one of them. If you add some attachments it's pretty sure that you will hit the maximum allowed mail size of some mail server along the way.

Uh, no. It's called "session keys". The content is encrypted with a random number (the session key), and this random number is in turn encrypted with the recipients' private keys. As the content is usually compressed too before encryption, the result may even be a smaller e-mail than without...

Chrome

Submission + - Web Browser Grand Prix 7: Firefox 7, Chrome 14, Op (tomshardware.com) 1

An anonymous reader writes: Firefox 7 was released a couple days ago, and now the latest Web browser perfromance numbers are in. This article is the same series that ran benchmarks on Mac OS X Lion last month. This time around the new Mozilla release is going against Chrome 14 and Opera 11.51 in 40+ different tests on Windows 7. Testing comes from every category of Web browsing perfromance I can think of: startup time, page load time, JS, CSS, DOM, HTML5, Flash, hardware acceleration, WebGL, Java, Silverlight, reliable page loads, memory usage/management, and standards confromance. The article also has a little feature on the Futuremark Peacekeeper browser benchmark. An open beta of the next revision has just been made public. This new version adds HTML5, video codecs, and WebGL tests to the benchmark. It's also designed to run on any browser/OS/device combination — e.g. Windows desktop, iPad, Droid 2, MacBook, Linux flavors, etc. Another great read, a must for Web browser fanatics!
Cloud

Submission + - Cloud-Powered Facial Recognition Is Terrifying (theatlantic.com)

oker writes: From the article: "Researchers at Carnegie Mellon were able to not only match unidentified profile photos from a dating website (...) with positively identified Facebook photos, but also match pedestrians on a North American college campus with their online identities. (...) we predicted the interests and Social Security numbers of some of the participants (...) the goal of Experiment 3 was to show that it is possible to start from an anonymous face in the street, and end up with very sensitive information about that person, in a process of data 'accretion.' ". Do we really enter "Minority Report"-like world?
Robotics

Submission + - Boston Dynamics Unveils AlphaDog Quadruped Robot (ieee.org)

An anonymous reader writes: Boston Dynamics, the company that created the BigDog quadruped robot, has unveiled a new, bigger system called AlphaDog [http://spectrum.ieee.org/automaton/robotics/military-robots/boston-dynamics-alphadog-prototype-on-video]. AlphaDog, a DARPA-sponsored project, can carry a payload of 400 pounds for up to 20 miles without having to refuel, and it's also much quieter than BigDog. The robot is designed to assist humans in carrying heavy equipment over rough terrain, and Boston Dynamics' schedule has the first walk-out of AlphaDog taking place sometime in 2012, when U.S. Marines will begin to put the robot to the test for real.

Slashdot Top Deals

"He don't know me vewy well, DO he?" -- Bugs Bunny

Working...