Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Submission + - New film changes colors when you stretch it (sciencemag.org)

sciencehabit writes: Materials scientists often look to the natural world for inspiration, but usually it takes their inventions a while to catch up with biological discoveries. Not this time. Earlier this week, scientists in Switzerland revealed that chameleons change colors by expanding a lattice of tiny crystals just under their skin. Now, researchers in California are reporting that they’ve made a thin film that changes colors when they tug on it. Such films could produce color-changing sensors that give engineers a way to monitor potentially dangerous structural changes to everything from bridges to airplane wings.

Submission + - Google is closing Google Code (blogspot.com)

Kohenkatz writes: Citing increasing spam and abuse, as well as the rise of Github and Bitbucket, Google has announced the closure of Google Code. Effective today, Google Code is no longer accepting new projects, and it will become read-only in August. After that, tarballs of all project data will be available until June 2016. To help project owners migrate, Google has added an "Export to Github" button to every project.

Submission + - Why Israel Could Be The Next Cybersecurity World Power (itworld.com)

jfruh writes: Beersheba is a small town in southern Israel, more than an hour's drive away from Tel Aviv and the bulk of the country's population. But the city is a hotbed of cybersecurity startups driven in part by a graduate program at the local university and the country's military and intelligence apparatus's keen interest in the subject.

Comment Why I learned to code? (Score 1) 144

I guess kids today will never get to experience what I felt when I learned to code BASIC on that TRS-80. It made me feel powerful like never before. No one I knew could do what I was doing. I figured out how to use that mysterious booklet containing the instruction set for the Z-80 and lightning shot from my fingers. I was a pioneer boldly sallying forth into unexplored worlds. Wielding my keyboard like a sword, I slashed my way, unbloodied, like The Count of Monte Cristo, through Pascal, PL1, 360/370 and C till finally I was slain by microcode. What an adventure it was. Have fun with that spreadsheet for your pointed headed boss.

Submission + - Snowden Film 'Citizenfour' Wins Oscar for Best Documentary (nationaljournal.com)

schwit1 writes: Citizenfour, a film chronicling the living history of Edward Snowden's unprecedented heist of U.S. government secrets, won the Academy Award for best documentary Sunday night—an unusual feat for a movie so critical of a sitting president's policies.

Directed by Laura Poitras, the political thriller captures Snowden in a claustrophobic Hong Kong hotel room in the days leading up to and after the release of the first of batch of classified documents that publicly revealed the sweeping scope of the National Security Agency's mass surveillance of phone and Internet communications.

Submission + - Greek Philosopher Claims to Prove God's Nonexistence Using Law of Thermodynamics

An anonymous reader writes: Contemporary Greek philosopher Antony Zyrmpas, who goes by the online pseudonym Alex Kierkegaard (which ironically means churchyard), claims to have proven the nonexistence of God using nothing but the most basic law of physics: thermodynamics. Imagine God shaking a glass of water. Eventually the energy transferred to the water would dissipate to its surroundings. The glass is our universe. Since we know that the total amount of energy in the universe is always constant, it isn't being dissipated anywhere else, which according to thermodynamics would make our universe an isolated system that has no contact with anything — or Anyone — else. Read the original explanation in section 554 of his online book.

Comment Re:Now they just need intensity from the actors. (Score 1) 165

...If only some film maker would get a kickstarter program going to make something by the masters: Heinlein, Asimov, etc .... Those guys wrote great stories and in this day and age, shouldn't be a problem bringing it to the screen.

Be careful what you wish for, Hollywood has mangled many of my favorite SF. That said, I think the state of special effects is such that Stanislaw Lem's The Cyberiad is now doable. I've always thought it would make a great TV series.

Submission + - The New Ubuntu Phone Won't Rely On Apps, And That's Brilliant

tedlistens writes: To tackle the chicken-and-egg problem faced by the Windows Phone or Blackberry—you need an app ecosystem to gain market share, but you need market share in order to entice developers to your platform—Canonical, the creators of the free, open-source Linux-based OS Ubuntu, have taken a novel approach with their new phone, which will be launched in Europe next week: The phone—the Aquaris E4.5 Ubuntu Edition, made with Spanish manufacturers BQ—won't feature apps. Instead, it will have a new user experience paradigm called Scopes. These are "essentially contextual home-screen dashboards that will be much simpler and less time-consuming to develop than full-on native apps." For instance, the music Scope will pull songs from Grooveshark alongside music stored locally on your device, without strong differentiation between the two. The user experience, writes Jay Cassano at Fast Company, seems a lot more intuitive than the "app grids" that dominate most devices.

Submission + - Automated tool to OCR CCGs like Magic: The Gathering?

An anonymous reader writes: I buy massive collections of trading card games, Magic:The Gathering, Yu-Gi-Oh!, Pokemon, Weiss Schwarts, Cardfight Vanguard, etc etc. And I've gotten the process fairly streamlined as far as price checking, grading, sorting, etc. Part of my process involves using higher quality web cams positioned over the top of the cards which are in a stack. I keep a cam window on the screen to show a larger, brighter version of the card. What I'm wondering, is if there is an OCR solution out there, that will look at the same spot on the screen, capture, ocr, dump to clipboard, etc. I've tried several open source solutions but none of them quite fit my needs. What I'd really like is to be able to hit a hotkey, and have my clipboard populated with the textual data of the graphics in a pre-set x,y window range. All this should be done via a hotkey. I may be asking for a lot, but then again, I'm sure someone out there has had need of this type of setup before. Anyone have any recommendations? :)

Submission + - Sony plan to pull out of MPAA revealed (nytimes.com)

Earthquake Retrofit writes: The New York Times is reporting: "... Sony Pictures chairman Michael Lynton last month told industry colleagues of a plan to withdraw from the movie trade organization, according to people who have been briefed on the discussions. He cited the organization's slow response and lack of public support in the aftermath of the attack on Sony and its film “The Interview,” as well as longstanding concerns about the cost and efficacy of the group."

Submission + - The strangest moon in the Solar System

StartsWithABang writes: Moons in our Solar System — at least the ones that formed along with the planets — all revolve counterclockwise around their planetary parents, with roughly uniform surfaces orbiting in the same plane as their other moons and rings. Yet one of Saturn's moon's, Iapetus, is unique, with a giant equatorial ridge, an orbital plane that doesn't line up, and one half that's five times brighter than the other. While the first two are still mysteries, the last one has finally been solved!

Submission + - Book review: Mastering Dart by Sergey Akopkokhyants (packtpub.com)

Jeffrey Johnson writes: I know how easy it is to criticise technical books, especially when we don't know the amount of effort that goes into making them. So I had a rare opportunity to witness the creation of Mastering Dart by Sergey Akopkokhyants, a colleague and friend of mine. I was there when he told me he was going to write it. I saw how he agonised over chapter content and order. I witnessed him create examples and massage explanations into a form that made them easy to understand. I even had an opportunity to preview the earlier drafts and give some feedback. I got to see just how difficult it is putting a book like this together.

I've never been fond of "advanced" books that try to teach me a language's basics all over again and then hastily cram some advanced features in almost as an afterthought. And I'm glad Sergey didn't fall into that same trap. This book is unapologetic in its focus on advanced topics like generics, reflection, futures, isolates, asynchronous programming and many others, while still managing to present them in an accessible and easy to understand manner. I'm not a Dart developer, so I judged this book on how well it was able to explain the many Dart-specific features I'm not familiar with. I've tried to keep my review as unbiased as possible.

I have no patience for a book that presents some code, but includes bits that are only explained in much later chapters in order to do it. This book manages to avoid that almost entirely, using examples that build incrementally and follow neatly into each other.

He starts off relatively simple in chapter 1, with a good explanation of modularity, functions and closures and mixins, but then ramps things up in chapter 2, focusing on more advanced techniques like generics and reflection. There's a rather nice explanation of the difference between Errors and Exceptions. I found the section on creating my own annotations relatively easy to understand (compared to some Java books I've read) and there was a nice progression into using them in reflection.

Chapter 3 has a ton of examples of different types of constructors and how to use them. He even creates his own enum class for one of the examples (at the time of writing Dart didn't support enums).

Chapter 4 covers asynchronous programming in the form of Futures, with examples that introduce concepts a bit at a time. The chapter finishes off with quite a detailed section on Zones and Isolates.

He devotes the whole of chapter 5 to the Stream framework and builds on his earlier explanation of Futures by using them here.

Chapter 6 focuses on collections, including two clear examples of the Comparable interface and Comparator type, and how to user the latter for classes that don't implement Comparable. Iterators are here of course, and there are brief subsections explaining all the kinds of built-in collections and a nice table to help you decide when to use what.

Only after laying all this groundwork for the language itself, does he start with JavaScript interoperability in chapter 7, including the ubiquitous jQuery.

Chapter 8 covers Internationalization and Localization, including a bit on gender, which I thought was quite interesting.

Again, having laid the foundation of working with JavaScript and HTML in earlier chapters, he uses chapter 9 to deal with client-server communication. There are two detailed sections on AJAX and WebSockets.

Chapter 10 deals with various types of storage, including local storage and Oracle's IndexedDB. He also takes time briefly to mention handling WebSQL, in case anyone is still supporting this deprecated technology.

Chapter 11 introduces some HTML features like the geolocation and notification APIs, as well as two long sections on native drag and drop and HTML 5's Canvas.

Rounding things off is the chapter on security. He has a short piece on generating certificates, and a section on Captcha and JSONP (JSON with Padding).

While the web-based chapters aren't exhaustive (this could be an entire book on its own), they are detailed enough to act as a springboard for investigating further.

I found the book useful for learning these advanced features, but also as a quick reference when looking up specifics later.

I'd recommend this book to anyone who has just finished learning Dart and wants to go deeper into the language.

Slashdot Top Deals

Credit ... is the only enduring testimonial to man's confidence in man. -- James Blish

Working...