Forgot your password?

typodupeerror
Book Reviews

+ - Enyo: Up and Running 1

Submitted by
Michael Ross
Michael Ross writes "Upon hearing the name "Enyo," one may wonder if the speaker is referring to the Greek war goddess, or if it is the name of some Celtic New Age music with a Latin twist. In the world of front-end software development, Enyo is a cross-platform open-source JavaScript framework that can be used to build HTML5 web applications for the desktop and for mobile devices, including those powered by iOS and Android. The project website bills it as "an object-oriented JavaScript application framework emphasizing modularity and encapsulation." Any programmer interested in learning Enyo — or at least exploring what it is capable of — can consult the online documentation and the forums, but a more time-efficient approach might be to read a book focusing on the topic, such as Enyo: Up and Running, written by Roy Sutton, a contributor to the project.

The book was published by O'Reilly Media on 6 February 2013, under the ISBN 978-1449343125. (My thanks to O'Reilly for providing a review copy.) On the publisher's page, visitors can find limited information about the book and its author, some reader reviews, links to purchase the electronic and print versions, and a page for errata (of which there are none, as of this writing). At 74 pages in length, this title comprises seven chapters, plus an appendix explaining how to set up a local development environment for working with Enyo, with a few options to choose from. Thus, the appendix is where most readers should and likely will start. In the preface, the author notes that the book assumes "some familiarity with HTML, CSS, or JavaScript"; that "or" should be an "and," since all three technologies are foundational to Enyo.

The first chapter introduces Enyo by examining a fairly simple web app — one that displays a traffic light on the web page. Naturally, in a black-and-white book such as this, the red/yellow/green colors are all in grayscale. Much more importantly, of the seven jsFiddle-hosted code examples provided in the chapter, the first five do not work (as of this writing), apparently because in each case there exists in the code some sort of control character, displayed as a red dot. (In the third example, the dot character is in the JavaScript and not the HTML.) Readers should delete that character and click the "Run" button, to see the intended results. The last two examples work only because the dot character comes after the closing </script> tag. It is baffling how these flaws could have gone undetected by the production staff and technical reviewers.

The material seems to raise as many questions as it answers. Assuming that the code printed in the book works (no downloadable code archive is offered), readers will probably be left pondering questions such as: Is create: function() some sort of constructor? Why isn't a new color passed through the call this.colorChanged()? Why is oldValue apparently not used? Where is setColor() defined? While it is a good idea to entice the reader to try a new technology by showing its capabilities, if that reader is expected to understand the example code presented, then it should be fully explained; otherwise, it should not be presented. As an alternative, the author could have limited the discussion to what functionality Enyo provides to the programmer, without listing source code in print or on jsFiddle. This would have provided the reader with greater motivation to invest the time and effort in learning what can be a challenging subject.

As a result of these early problems, this first chapter does not get the book off to a promising start. The second chapter, "Core Concepts," is perhaps the one that should have begun the book, because it describes many of the core ideas critical to Enyo: kinds, encapsulation, published properties, events, signals, inheritance, constructors, and statics. However, the pace is too fast for beginners, and more examples are needed to explain the concepts, step-by-step. By the bottom of page 11, countless readers will likely be bewildered with the terse discussion of getter and setter functions, "changed" functions, construction, and passed values (which are properties or not). Also, readers will again encounter the aforesaid problem of the red dot character breaking the example code on jsFiddle. (Further instances in the book will not be documented here.) The third chapter continues the discussion, focusing on components, menu and form controls, and functions, as well as some components for animation and making web requests. All of the information looks correct. The only puzzling aspect is why break tags are used (on page 22) instead of a CSS display: block; declaration.

User interface is addressed in the next two chapters, the first of which presents layout components commonly needed for Enyo apps — scrollers, repeaters, fittables, lists, and panels. The second one explores CSS styling of an Enyo app, performance considerations of apps on handheld devices, debugging, common mistakes, jsFiddle, internationalization, and localization. With these chapters, the narrative in the book becomes noticeably more comprehensible.

The penultimate chapter — essentially comprising two pages — delineates some options that the Enyo developer has for deploying a newly-built app to any one of the supported platforms. This chapter, like all the earlier ones, ends with a summary that is so brief, and applicable to so few pages, that each one seems pointless. Why do publishers feel obligated to include these useless chapter summaries in almost every technical book? The final chapter is a one-page conclusion, in which the author encourages readers to learn more and become involved in the Enyo community.

This book is more of an introduction, although no reason is provided as to why it was not instead made a more extensive treatment of the subject. Upon completing the book, the average reader will probably conclude that she did not absorb enough knowledge of the Enyo core to begin immediately developing apps using this framework, and the best course of action might be to start over again on page 1, or perhaps seek out a second source, before optionally returning to this one for a second run-through. The material could have been structured so all information is presented sequentially — so the reader does not encounter concepts yet unseen — with more step-by-step explanations.

Rather than presenting the reader with code snippets that have no relation to one another, it would have been much more interesting and motivating if the author had devised and explained code that incrementally builds into a nontrivial app. Furthermore, the example source code should have been made available on the publisher's website, so readers could avoid typing it from the text or extracting it from jsFiddle if they wished to try it in their local development environments.

In terms of typography, the font size of this book is a bit too small, especially for extended reading, and for people with subpar vision. This is even more true for the code snippets, which are in an even smaller font. In many of the lines of prose, the words are too close to one another — a problem exhibited in a few other recent O'Reilly titles. Did the production team feel it necessary to further compress a 74-page book?! In fact, proper names, such as those of components, are oftentimes broken between two lines in the text — sometimes nonsensically, e.g., "FittableR" followed by "owsLayout" (page 32). The book contains several errata: "This is [not] to say" (page viii), "such as [a] local installation" (viii), "url" (27), "we might modify add" (34), "woud" (35), "one [of] the most" (35), and "allow you [to] easily debug" (56). For such a slender volume, the production quality seems to have received less attention than it deserved.

Overall, this offering does not reach O'Reilly's usual high standards. It's a shame, because it seems like such a promising topic — one that could be more thoroughly explored in a larger volume. Perhaps this feedback, and that of other readers, could be folded into a second edition. This is a real possibility, given that the author notes in his conclusion that he considers the book an active project, and intends to keep it up-to-date with the changes to Enyo itself. In the meantime, this is a promising start that can give readers a taste of Enyo's potential for building modern web apps for desktop and mobile platforms.

Michael Ross is a freelance web developer and writer."
Earth

+ - Billionaires Secretly Fund Vast Climate Denial Network 4

Submitted by
Hugh Pickens writes
Hugh Pickens writes writes "Suzanne Goldenberg reports that conservative billionaires used a secretive funding route to channel nearly $120 million to more than 100 groups casting doubt about the science behind climate change, helping build a vast network of think tanks and activist groups working to redefine climate change from neutral scientific fact to a highly polarizing "wedge issue" for hardcore conservatives. "We exist to help donors promote liberty which we understand to be limited government, personal responsibility, and free enterprise," says Whitney Ball, chief executive of the Donors Trust. Ball's organization assured wealthy donors that their funds would never by diverted to liberal causes with a guarantee of complete anonymity for donors who wished to remain hidden. The money flowed to Washington think tanks embedded in Republican party politics, obscure policy forums in Alaska and Tennessee, contrarian scientists at Harvard and lesser institutions, even to buy up DVDs of a film attacking Al Gore. "The funding of the denial machine is becoming increasingly invisible to public scrutiny. It's also growing. Budgets for all these different groups are growing," says Kert Davies, research director of Greenpeace, which compiled the data on funding of the anti-climate groups using tax records. "These groups are increasingly getting money from sources that are anonymous or untraceable.""
Open Source

+ - NetBSD To Support Kernel Development In Lua Scripting->

Submitted by Anonymous Coward
An anonymous reader writes "NetBSD 7.0 will support the Lua scripting language within its kernel for developing drivers and new sub-systems. A Lua scripting interpreter is being added to the NetBSD kernel along with a kernel API so developers can use this scripting language rather than C for developing new BSD kernel components. Expressed reasons for supporting a scripting language in a kernel were rapid application development, better configuration, and "modifying software written in C is hard for users." In a presentation it was said that Lua in the kernel will let users explore their system in an easy way."
Link to Original Source
Security

+ - SSH Password Gropers Are Now Trying High Ports->

Submitted by
badger.foo
badger.foo writes "You thought you had successfully avoided the tiresome password guessing bots groping at your SSH service by moving the service to a non-standard port? It seems security by obscurity has lost the game once more. We're now seeing ssh bruteforce attempts hitting other ports too, Peter Hansteen writes in his latest column."
Link to Original Source
Canada

+ - The IIPA Copyright Demands for Canada and Spain->

Submitted by Dangerous_Minds
Dangerous_Minds writes "The International Intellectual Property Alliance (IIPA) is demanding a number of countries be placed back on the special 301 piracy watchlist. One country being recommended for inclusion is Canada (PDF). Apparently, even though Canada passed copyright reform laws, any compromise to protect consumers is reason for inclusion. Michael Geist offers some analysis on this move. Meanwhile, the IIPA is also recommending that Spain be included in the watchlist. In a separate filing, the IIPA makes a host of reasons why Spain should also be included. One of the main reasons seems to be that even though Spain passed the Sinde Law in spite of protests, the courts aren't simply rubberstamping any takedown requests and that cases that were dismissed due to lack of evidence is cause for concern. Freezenet offers some in-depth analysis on this development while noting towards the end that the Special 301 report suffers from credibility problems."
Link to Original Source
Government

+ - Amazon Sells Out Predator Drone Toy After Mocking Reviews

Submitted by parallel_prankster
parallel_prankster writes "Amazon users are addressing the drone controversy with sarcasm. Maisto International Inc.’s model Predator drones are selling out on Amazon.com Inc.’s website as parody reviews highlight how the toys can help children hone killing skills, mocking a controversial U.S. practice. The toy is a replica of the RQ-1 Predator, an unmanned aircraft that the U.S. Air Force has used in combat over Afghanistan, Pakistan, Serbia, Iraq and Yemen, according to the product description on Amazon. Only one of the $49.99 military-style toy jets is available for purchase on Amazon’s site, which is brimming with assessments laced with dark humor. “You can’t spell slaughter without laughter,” one pithy joker wrote.
        While Facebook and Twitter have always been more prominent forums for political satire, consumers have flocked to Amazon’s review section before. In October, the user comment section of an Avery Dennison Corp. binder listed on the e- commerce site became the subject of a similar outbreak. Reviewers used Amazon to make light of a comment made by then- Republican presidential nominee Mitt Romney during a debate. Amazon’s conditions of use posted on its website say that the Seattle-based company reserves the right to remove or edit reviews, which it doesn’t regularly examine. So far the reviews have not been removed."
Privacy

+ - Tin Foil Chic->

Submitted by
Presto Vivace
Presto Vivace writes "What does the fashionable privacy advocate wear in a total surveillance society? Artist Adam Harvey discusses his line of counter-surveillance fashion with Wired. From the pictures it mostly looks like hoodies. But choice of fabric plays a big role in counter-surveillance fashion.

Harvey: Stealth Wear started as an experiment using the fabrics I was researching for the OFF Pocket. I did research on thermal surveillance and was very interested in where it was going and at some point realized that metalised fabrics work as a shield against thermal imagining cameras. I was able to get access to a thermal camera and started testing swatches of fabric. When I realized that it worked well enough, I got in touch with my friend Johanna Bloomfield and she came up with the hoodie design. Everything was pretty much still an experiment at this point. Then we showed the hoodie to Andrew Green from PRIMITIVE. He loved it and decided to include it and make it a major part of this upcoming show. Originally this show was to be based on work from CV Dazzle and a few other counter surveillance art projects. This whole idea of stealth wear line was very emergent.

"

Link to Original Source
Microsoft

+ - Microsoft Changes Email Policy Making Spammers' Life Easier->

Submitted by physics101
physics101 writes "It appears that Microsoft have made changes in the way that the email headers are formed for the mail sent from hotmail accounts. The X-Originating-Email tag now points to the IP belonging to Microsoft instead of the sender's IP. There are numerous threads (e.g. this one) at answers.microsoft.com. MS representatives are claiming that "the issue has already been forwarded to our Escalation team for further investigation". Despite of the bunch of dissatisfied users, this answer is being offered time and the time again for over two months. It suspiciously looks like a policy change for which they don't want to give any explanation."
Link to Original Source

Comment: Re:"Secret" as in "well signposted"? (Score 1) 101

by Tim99 (#42691335) Attached to: Secret UK Uranium Components Plant Closed Over Safety Fears
I worked in an MOD secret establishment 40 years ago that had a sign on the perimeter fence "Trespassers will be transported". I think transportation to the Colonies finished in about 1868; but we still did not have many intruders because of the armed guards, dogs, and barbed wire.

Comment: Re:What does HP DO anymore, anyway? (Score 1) 304

by Tim99 (#42459147) Attached to: HP Cuts Workforce By 5%, Looks To Probe GM Hires
Agilent were OK. In the scientific instrument field they had a pretty good reputation - Although in our laboratory, we considered that their engineering was 'nearly good enough', and that they nearly made up for this by the application of a lot of computing power to indifferent mechanics and electronics (In particular mass spectrometry, chromatography, and spectrometry equipment).
NASA

+ - NASA's NEXT ion thruster clocks up continuous operation world record->

Submitted by cylonlover
cylonlover writes "NASA's Evolutionary Xenon Thruster (NEXT) ion engine has set a new world record by clocking up 43,000 hours of continuous operation at NASA’s Glenn Research Center’s Electric Propulsion Laboratory. The seven-kilowatt thruster is intended to propel future NASA deep space probes on missions where chemical rockets aren't a practical option. The NEXT ion thruster is one of NASA’s latest generation of engines. With a power output of seven kilowatts, it’s over twice as powerful as the ones used aboard the unmanned Dawn space probe. Yet it is simpler in design, lighter and more efficient, and is also designed for very high endurance.

Its current record of 43,000 hours is the equivalent of nearly five years of continuous operation while consuming only 770 kg (1697.5 lbs) of xenon propellant. The NEXT engine would provide 30 million-newton-seconds of total impulse to a spacecraft. What this means in simple terms is that the NEXT engine can make a spacecraft go (eventually) very far and very fast."

Link to Original Source

"Our vision is to speed up time, eventually eliminating it." -- Alex Schure

Working...