Domain: i-programmer.info
Stories and comments across the archive that link to i-programmer.info.
Stories · 243
-
Microsoft Kills Expression Suite — And Makes It Free, For Now
mikejuk writes "Microsoft has announced that the Expression suite of design tools is no more. It has been removed from sale immediately and it has been placed on a maintenance only status until it reaches its end of life. Expression was Microsoft's offering for designers and competed directly with Adobe products. You can now download the components of Expression — Design 4, Web 4 and Encoder 4 — for free but you can't buy them. Of course, knowing that you are using 'doomed' products, even for free, takes some of the icing off the cake. The central component of the suite the UI designer Blend is to be integrated with Visual Studio 2012 probably along with Update 2. It looks as if Microsoft is giving up on trying to get designers to use its tools." -
New Call For Turing Pardon
mikejuk writes "As 2012, Alan Turing Year, draws to close a group of highly regarded UK scientists, including Professor Stephen Hawking, have repeated the call for a posthumous pardon for Turing's criminal conviction in a letter to the Telegraph. The letter has re-opened the debate, which is controversial even for those who support the idea that Turing was treated in an unfair and appalling way, was formally acknowledged by the UK Prime Minister Gordon Brown in 2009 when he apologized for the treatment Turing had received. In February Justice Minister Lord McNally rebuffed a 23,000 signature petition for a pardon saying: 'A posthumous pardon was not considered appropriate as Alan Turing was properly convicted of what at the time was a criminal offense.'" -
GIF Becomes Word of the Year 2012
mikejuk writes "GIF started out as a humble acronym 25 years ago, entered common parlance as the format used for web graphics and now achieves fame as a verb by becoming Oxford Dictionaries USA Word of the Year 2012. GIF as a noun has always been an all-capital letter noun. Becoming a verb has caused problems concerning the use of capital and lower case letters. The common form is to keep the noun in caps and add the verbal endings in lower case — as in GIFed,GIFing), However, an all lower-case spelling with the f duplicated (giffed, giffing) is also being used." -
Kinected Browser Lets You Flick Through Websites
mikejuk writes "The Kinect is well supported by a good and evolving SDK on the desktop, but until now using it in a browser wasn't easy. Now Microsoft Research has a free JavaScript API, Kinected Browser, that lets you integrate the Kinect with HTML. The bad news is that it only works on Windows 7 and 8 and in desktop mode only. In addition the browser has to be IE9 or IE 10. The good news is that more programmers know how to do HTML5 graphics than know how to work with DirectX or .NET. As a result this could lead to another burst of innovative Kinect applications." -
Self-Assembling Robots Using Flying Drones
mikejuk writes with an excerpt from I Programmer on a neat swarm of robots that use flying drones to build a map of their environment: "How can a swarm of robots get a global picture of its environment? Easy it simply sends up a drone. We are used to thinking of drones as being used for surveillance by humans operating on the ground, but what is good for humans is good for robots too. The drone can view the overall terrain and run simulations of what configurations of robots could best traverse the slopes. Once it has worked out how to assemble the robots into a single machine the drone has to communicate the plan to the swarm using a protocol based on the colored lights they all have. The ground robots adopt a random color and the drone selects the one it wants to communicate with by displaying the same color. They then repeat the process until only one robot has been selected i.e the drone follows the color changes of the selected robot. Of course if you don't like the idea of human drones flying over your head you may not be happy about robots getting in on the act as well..." Original paper -
New Arduino Due Brings More Power To the Table
mikejuk writes "After six years in the making, the Arduino Due is finally becoming available and, with a price tag of $49, is bound to give a boost to the platform. The Due, which means 2 in Italian and is pronounced 'doo-eh', replaces the 8-bit, 16MHz Uno by a 32-bit, 84MHz processor board that also has a range of new features — more memory, a USB port that allows it to pretend to be a mouse or a keyboard say, 54 I/O pins and so on — but what lets you do more with it is its speed and power. The heart of the new Arduino Due is the Atmel SAM3X8E, an ARM Cortex-M3-based processor, which gives it a huge boost in ADC performance, opening up possibilities for designers. The theoretical sampling rate has gone from the 15 ksps (kilosamples per second) of the existing boards, the Arduino Uno, Leonardo, and Mega 2560, to a whopping 1,000 ksps. What this all means is that the Due can be used for much more sophisticated applications. It can even play back WAV files without any help. Look out for the Due in projects that once would have needed something more like a desktop machine." -
From a NAND Gate To Tetris
mikejuk writes "Long before the current crop of MOOCs (Massive Online Open Course) there was a course that taught you all you needed to know about computers by starting from the NAND gate and working its way up through the logic circuits needed for a computer, on to an assembler, a compiler, an operating system, and finally Tetris. Recently one of the creators of the course, Shimon Schocken, gave a TED talk explaining how it all happened and why it is still relevant today. Once you have seen what is on offer at http://www.nand2tetris.org/ you will probably decide that it is not only still relevant but the only way to really understand what computers are all about." -
Your Facebook Likes Conveyed As Simulated Hugs
mikejuk writes "Next time you're dreaming up ways to make the users of your apps feel loved and wanted, think a little more wildly. How about giving them an actual hug? That's what MIT researchers Melissa Chow and her colleagues Andy Payne and Phil Seaton at MIT have come up with — a jacket that hugs the wearer when one of their friends 'likes' one of their posts on Facebook. The Like-A-Hug vest is described as receiving a signal when a Facebook friend 'likes' a post, then fills with air to give the wearer the sensation of being hugged." -
TypeScript: Microsoft's Replacement For JavaScript
mikejuk writes "Everyone seems to have a replacement for JavaScript — Google even has two. Now Microsoft has revealed that Anders Hejlsberg, the father of C# among other languages, has been working on a replacement and it has released a preview of TypeScript. The good news is that it is compatible with JavaScript — you can simply load JavaScript code and run it. JavaScript programs are TypeScript programs. To improve on JavaScript, TypeScript lets you include annotations that allow the compiler to understand what objects and functions support. The annotations are removed by the compiler, making it a zero overhead facility. It also adds a full class construct to make it more like traditional object oriented languages. Not every JavaScript programmer will be pleased about the shift in emphasis, but the way it compiles to a JavaScript constructor is fairly transparent. At this early stage it is difficult to see the development as good. It isn't particularly good for JavaScript developers who already have alternatives, and it isn't good for C# developers who now have confirmation that Ander Hejlsberg is looking elsewhere for his future." Update: 10/01 20:34 GMT by U L : It's also freely available under under the Apache 2.0 license, and there's a language specification available. It looks pretty interesting: it even has ML-style type inference (including e.g. deducing the types of higher order functions). -
Google Gets Into Politics With Civic Info API
mikejuk writes "The new Google Civic Information API can be used to look up comprehensive voting information for particular addresses in the U.S. such as the polling place, early vote sites, contests, and local election official contact information. At the moment the API is limited to voting information for elections in the U.S., but Google plans to expand the support to cover other countries and include other types of civic information. Google plans to use the API to power their own election tools, including an embeddable app anyone can use on their site." -
Raspberry Pi For the Rest of Us
mikejuk writes "The Raspberry Pi might be a cheap and reasonably powerful but it has a tough learning curve due to the Linux OS it uses. Adafruit, better known for their hardware, are working on a WebIDE which you can use to program the Pi without having to set things up. You write the code in a browser and run it on the Pi using a web server hosted by the Pi. It sounds crazy but if it can make the Pi more approachable then perhaps it could turn out to be an educational powerhouse." -
QR Codes For Memorials
mikejuk writes "Companies in America, Denmark and the UK are adding QR codes to gravestones that can be used to view online memorials via smartphones. The idea is that these living headstones can include photographs, videos and memories of the dead person from family and friends. Genealogists and historians have always found graveyards a useful resource. If the QR idea takes hold memorials will be able to tell much more to future generations." -
Windows Phone 8 SDK — By Appointment Only
mikejuk writes "Developers worried about the changes that might be waiting for them in the new Windows Phone 8 API are going to have to wait even longer to find out. Microsoft has just announced that the SDK will be available soon, but only to the developers it approves. If you already have a published app, then you can apply to be part of the program. The announcement says, 'But I do want to set your expectations that program access will be limited.' The public SDK will be made available 'later this year,' which is behind the timetable that developers were led to expect. As you can imagine, the developer community, judging by the comment stream, is less than happy. What makes this whole development even stranger is that the announcement was made on the day Nokia previewed a range of WP8 devices. The Nokia launch got most of the publicity, so perhaps the idea was that a little negative news wouldn't be noticed. The real question is: why the limited availability?" -
Google Extends Patent Search To Prior Art
mikejuk writes "As well as buying up patents to defend itself against the coming Apple attack on Android, Google is also readying its own technology. It has extended its Patent Search facility to include European patents and has added a Prior Art facility. The new Prior Art facility seems to be valuable both to inventors and to the legal profession. In order to be granted a patent the inventor has to establish that it is a novel idea — and in the current litigious environment companies and their lawyers might want to show that patents should not have been granted." -
Frankenstein Code Stitches Code Bodies Together To Hide Malware
mikejuk writes "A recent research technique manages to hide malware by stitching together bits of program that are already installed in the system to create the functionality required. Although the Frankenstein system is only a proof of concept, and the code created just did some simple tasks, sorting and XORing, without having the ability to replicate, computer scientists from University of Texas, Dallas, have proved that the method is viable. What it does is to scan the machine's disk for fragments of code, gadgets, that do simple standard tasks. Each task can have multiple gadgets that can be used to implement it and each gadget does a lot of irrelevant things as well as the main task. The code that you get when you stitch a collection of gadgets together is never the same and this makes it difficult to detect the malware using a signature. Compared to the existing techniques of hiding malware the Frankenstein approach has lots of advantages — the question is, is it already in use?" Except for the malware part, this has a certain familiar ring. -
Solid State Quantum Computer Finds 15=3x5 — 48% of the Time
mikejuk writes "The Shor quantum factoring algorithm has been run for the first time on a solid state device and it successfully factored a composite number. A team from UCSB has managed to build and operate a quantum circuit composed of four superconducting phase qubits. The design creates entangled bits faster than before and the team verified that entanglement was happening using quantum tomography. The final part of the experiment implemented the Shor factoring algorithm using 15 as the value to be factored. In 150,000 runs of the calculation, the chip gave the correct result 48% of the time. As Shor's algorithm is only supposed to give the correct answer 50% of the time, this is a good result but not of practical use." -
Microsoft Picks Another Web Standards Fight
mikejuk writes "WebRTC is a way to allow browsers to get in touch with one another using audio or video data without the help of a server. Google has been something of a pioneer in this area, and submitted a suggested technology for the standard. Mozilla has gone along with it, making it all look good. Microsoft, on the other hand, just seemed to be standing on the sidelines, watching what was happening. However, Microsoft now has a product that needs something like WebRTC; namely, Skype. It has been working on a web-based version of Skype and this has focused the collective mind on the problems of browser-to-browser communication. It now agrees that a standard is needed, just not the one Google and Mozilla are behind. Microsoft has submitted its own proposals for CU-RTC-Web or Customizable, Ubiquitous Real Time Communication over the Web, to the W3C. It may well be that Microsoft's alternative has features that make it superior, but a single standard is preferable to a better non-standard. Given Microsoft's need to make Skype work in the browser, it seems likely that, should its proposal not be accepted as the standard, it will press on regardless, thus splitting the development environment. Both Google and Mozilla have already put a lot of work into WebRTC, and there are partial implementations in Firefox, Chrome and Opera." -
The Chaos Within Sudoku - a Richter Scale of Difficulty
mikejuk writes "A pair of computer scientists from the Babes-Bolyai University (Romania) and the University of Notre Dame (USA) have made some remarkable connections between Sudoku, the classic k-SAT problem, and the even more classic non-linear continuous dynamics. But before we go into the detail let's look at what this means for Sudoku enthusiasts. Maria Ercsey-Ravasz and Zoltan Toroczkai have devised a scale that provides an accurate determination of a Sudoku puzzle's hardness. So when you encounter a puzzle labelled hard and you find it easy, all you need to do is to compute a co-efficient that measures the hardness of the problem. An easy puzzle should fall in the range 0-1, medium ones in 1-2, hard ones in 2-3, and for ultra-hard puzzles, 3+, with the hardest puzzle, the notorious Platinum Blond, being top of the scale at 3.6. We will have to wait to see if newspapers and websites start to use this measure of difficulty. The difficulty is measured by the time it takes the classical dynamics corresponding to the problem to settle in the ground state and this depends on the degree of chaos in the search for a solution (PDF)." -
Poison Attacks Against Machine Learning
mikejuk writes "Support Vector Machines (SVMs) are fairly simple but powerful machine learning systems. They learn from data and are usually trained before being deployed. SVMs are used in security to detect abnormal behavior such as fraud, credit card use anomalies and even to weed out spam. In many cases they need to continue to learn as they do the job and this raised the possibility of feeding it with data that causes it to make bad decisions. Three researchers have recently demonstrated how to do this with the minimum poisoned data to maximum effect. What they discovered is that their method was capable of having a surprisingly large impact on the performance of the SVMs tested. They also point out that it could be possible to direct the induced errors so as to produce particular types of error. For example, a spammer could send some poisoned data so as to evade detection for a while. AI based systems may be no more secure than dumb ones." -
HTML5 Splits Into Two Standards
mikejuk writes "Until now the two standards bodies working on HTML5 (WHATWG and W3C) have cooperated. An announcement by WHATWG makes it clear that this is no longer true. WHATWG is going to work on a living standard for HTML which will continue to evolve as more technologies are added. W3C is going the traditional and much more time consuming route of creating a traditional standard which WHATWG refers to as a 'snapshot' of their living standard. Of course now being free of W3C's slower methods WHATWG can accelerate the pace of introducing new technologies to HTML5. Whatever happens, the future has just become more complicated — now you have to ask yourself 'Which HTML5?'" -
Ouya Android Console Blows Past Kickstarter Goal
mikejuk writes with a winner for quickest follow-up in a while as the Ouya console managed to raise over $2 million in a mere eight hours. From the article: "On the surface it all sounds like a really good idea. The OUYA games console is planned to be an open competitor to the likes of Xbox and PS3. It seems so good that it has been crowd funded to the tune of $1 million — but why exactly is it needed? There must be a good reason — after all the wisdom of crowds is never wrong. The simple answer seems to be freedom. The company claims that you can do what you want to the machine. A CyanogenMod port would allow you to do what you like to the OS and it wouldn't void your warranty. You can hack the hardware or software. However, it is important to note that this isn't open hardware. ... In the same way the software seems to be open and yet controlled. ... The Kickstarter page says 'When we say, "open" we mean it. We've made many decisions based on this philosophy:..' But it isn't Open Source. And yet it is so much better than the alternative. Perhaps this is a sign of just how desperate we all are to get away from the control of the big console manufacturers, that we will fund anything that sounds even slightly reasonable. The walled gardens of Apple, Sony and Microsoft no longer seem the warm and welcoming places they once did (if they ever did)" Issues not raised on yesterday's post; the console will require a significant number of binary blobs just to function, and it's really unclear whether or not it will actually be DRM free. Anyone remember Indrema? -
Objective-C Overtakes C++, But C Is Number One
mikejuk writes "Although the TIOBE Index has its shortcomings, the finding that Objective-C has overtaken C++ is reiterated in the open source Transparent Language Popularity Index. The reason is, of course, that Objective-C is the language you have to use to create iOS applications — and as iPads and iPhones have risen in popularity, so has Objective-C. If you look at the raw charts then you can see that C++ has been in decline since about 2005 and Objective-C has shot up to overtake it with amazing growth. But the two charts are on different scales: if you plot both on the same chart, you can see that rather than rocketing up, Objective-C has just crawled its way past, and it is as much to do with the decline of C++. It simply hasn't reached the popularity of C++ in its heyday before 2005. However the real story is that C, a raw machine independent assembler-like language, with no pretense to be object oriented or sophisticated, has beaten all three of the object oriented heavy weights — Java, C++ and Objective C. Yes C is number one (and a close second in the transparent index)." -
Social Networks, Suicide and Statistics
mikejuk writes "The data that is available in social networks is often used to detect the opinion of the crowd — but can it reveal the state of mind of the individual. New research suggests that some simple but non-obvious characteristics of social network use are related to suicide. Data mining is usually about determining things of economic advantage, but in this case, suicide we have a personal loss and an economic one. A new paper by a group of Japanese researchers Naoki Masuda, Issei Kurahashi and Hiroko Onari claims to have found ways of detecting suicidal tendencies — or at least the tendency to think about suicide, so-called 'suicide ideation.' The study used the Japanese social network mixi, which has over 27 million members and allows users to join any of over 4.5 million topic groups — some focusing on the subject of suicide. This provided a study and control group to compare. The most interesting finding is that while users in the suicide group had lots of friends, they didn't have as many transitive relationships i.e. where A friends B friends C friends A. This suggests that it isn't lack of friends but a lack of tight social groupings that is a factor. The same technique could be used to investigate similar problems such as depression and alcohol abuse." -
A Program Learns Oriental Ink Painting
mikejuk writes about a neat use of machine learning. From the article: "Using reinforcement learning to make a computer paint like an oriental Sumi-e artist isn't just a matter of shouting 'well done' — and yet, when you look at the results, that's what you want to do. ... Three researchers at the Tokyo Institute of Technology have attempted to teach a computer how to do it [paint] using standard reinforcement learning. When the program used the brush to create a smooth stroke, it was rewarded. After it had learned to use the brush, it was set to rendering some photos and the results look very good." -
MemSQL Makers Say They've Created the Fastest Database On the Planet
mikejuk writes "Two former Facebook developers have created a new database that they say is the world's fastest and it is MySQL compatible. According to Eric Frenkiel and Nikita Shamgunov, MemSQL, the database they have developed over the past year, is thirty times faster than conventional disk-based databases. MemSQL has put together a video showing MySQL versus MemSQL carrying out a sequence of queries, in which MySQL performs at around 3,500 queries per second, while MemSQL achieves around 80,000 queries per second. The documentation says that MemSQL writes back to disk/SSD as soon as the transaction is acknowledged in memory, and that using a combination of write-ahead logging and snapshotting ensures your data is secure. There is a free version but so far how much a full version will cost isn't given." (See also this article at SlashBI.) -
A Faster Jigsaw Solving Algorithm
mikejuk writes "Andrew Gallagher at Cornell University in Ithaca, New York has improved the standard approach to automated jigsaw solving by copying what humans do in finding groups of pieces that best match and working outwards from there. With a speed of 10,000 pieces per 24 hours, it can solve large puzzles. Not only that, but the type of jigsaw it solves is more difficult than the usual in that the pieces are square and can be placed in any orientation. It is so good it can even solve problems consisting of a number of mixed up pieces without being told how many or their dimensions. Of course, as well as having fun beating humans at another recreational pastime, the technique could be used to unscramble shredded documents, as per the recent DARPA challenge." -
The $100 Masters Degree From Udacity
mikejuk writes "In an interview with Udacity founder Sebastian Thrun, it was revealed that he hopes to offer a Masters degree for only $100, and is close to offering a full computer science degree. 'There are unfortunately some rough edges between our fundamental class CS101 and the next class up, when this is done I believe we can get an entire computer science education completely online and free and I think this is the first time this has happened in the history of humanity.' The latest course from Udacity is on statistics, and he is hoping to top the 160,000 sign up for his first online class on AI. It is also hoped to be the first class where students can visit a testing center to get their achievments formally certified." -
Google Blockly — a Language With a Difference
mikejuk writes "There are aspects of Google that increasingly don't make sense. First they dump App Inventor — a graphical language for Android apps — in a fit of spring cleaning and closures — and now they have launched another Scratch-like graphical language, Blockly. However Blockly is different. It works like Scratch or App inventor but it is written in JavaScript. This means it can be included in any web page or web app very easily. This, in turn, means that it can be used for education, getting people to learn to program, or as an easy-to-use script generator for the app. The FAQ gives the example of automating GMail filters and management. The additional difference is that Blockly can compile its programs to JavaScript, Dart or Python so you can take the script and develop it further. This is a really good idea. As long as Google doesn't throw this one out in a fit of reorganization and spring cleaning, it's a welcome new language." -
Microsoft Ignores Usability With All-Caps Menu in Visual Studio
mikejuk writes "The recent release of Visual Studio 2012 contained a UI element that few believed could make it into the final version — ALL-CAPS menus. After lots of user criticism and disbelief, Microsoft has moved swiftly to do something about it — by tweaking the typography. '... we explored designs with and without uppercase styling. In the end we determined it to be a very effective way of providing structure and emphasis to the top menu area in Visual Studio 2012.' This must be a new meaning of the word 'structure,' because putting the menu items into all-caps means that they are all the same height. When each menu items starts with a cap then there is structure because you can see the change in height, marking the start of the next menu item. The idea that putting a menu into all caps adds structure is something that is very difficult to see. If you wanted to put structure into a menu, well how about color? Oh wait, I forgot the design department dumped color in favour of the 'everything-is-grey UI.' Developers are the people who invented CamelCase to make sure that the structure of run together words would stand out better — and now we are asked to believe that making a menu all-caps adds structure. I don't think so." -
Mono Abandons Open Source Silverlight
mikejuk writes "The Mono project is about the only group of people actively talking up .NET and developing it, but in an interview Miguel de Icaza has admitted that Moonlight, the Mono version of Silverlight, isn't worth the effort any more. He said, 'Silverlight has not gained much adoption on the web, so it did not become the must-have technology that I thought [it] would have to become. And Microsoft added artificial restrictions to Silverlight that made it useless for desktop programming. These days we no longer believe that Silverlight is a suitable platform for write-once-run-anywhere technology, there are just too many limitations for it to be useful.'" -
Internet Defense League: A Bat Signal For the Internet
mikejuk writes "Following the successful defense of the Internet against SOPA, website owners are being invited to sign up to a project that will enable them to participate in future protest campaign, the Internet Defense League. The banner logo for the 'bat-signal' site is a cat, a reference to Ethan Zuckerman's cute cat theory of digital activism. The idea is that sites would respond to the call to "defend the Internet" by joining a group blackout or getting users to sign petitions. From the article: 'Website owners can sign up on the IDL website to add a bit of code to their sites (or receive code by email at the time of a campaign) that can be triggered in the case of a crisis like SOPA. This would add an "activist call-to-action" to all participating sites - such as a banner asking users to sign petitions, or in extreme cases blackout the site, as proved effective in the SOPA/PIPA protest of January 2012.'" -
Google Now Searches JavaScript
mikejuk writes "Google has been improving the way that its Googlebot searches dynamic web pages for some time — but it seems to be causing some added interest just at the moment. In the past Google has encouraged developers to avoid using JavaScript to deliver content or links to content because of the difficulty of indexing dynamic content. Over time, however, the Googlebot has incorporated ways of searching content that is provided via JavaScript. Now it seems that it has got so good at the task Google is asking us to allow the Googlebot to scan the JavaScript used by our sites. Working with JavaScript means that the Googlebot has to actually download and run the scripts and this is more complicated than you might think. This has led to speculation of whether or not it might be possible to include JavaScript on a site that could use the Google cloud to compute something. For example, imagine that you set up a JavaScript program to compute the n-digits of Pi, or a BitCoin miner, and had the result formed into a custom URL — which the Googlebot would then try to access as part of its crawl. By looking at, say, the query part of the URL in the log you might be able to get back a useful result." -
Microsoft Research Introduces Record-Beating MinuteSort Tech
mikejuk writes "A team from Microsoft Research has taken the lead in the MinuteSort data sorting test using a specially-devised technology: Flat DataCenter Storage. The figures are impressive — 1401 gigabytes in 60 seconds, using 1033 disks across 250 machines. Not only is this three times as much as the previous record, but also, it uses only one sixth of the hardware resources, according to a blog post about the test from Microsoft. One thing that's interesting about the success is the technology used. While solutions such as Hadoop and MapReduce are traditionally used for working with large data sets, Microsoft Research created its own technology called the 'Flat Datacenter Storage,' or FDS for short. This isn't just academic research, of course. The team from Microsoft Research has already been working with the Bing team to help Bing accelerate its search results, and there are plans to use it in other Microsoft technologies." -
Judge to Oracle: A High Schooler Could Write rangeCheck
mikejuk writes with an update on the Oracle vs Google Trial. From the article: "One month into the Oracle v Google trial, Judge William Alsup has revealed that he has, and still does, write code. Will this affect the outcome? I think so! After trying to establish that the nine lines in rangeCheck that were copied saved Google time in getting Android to market the lawyer making the case is interrupted by the judge which indicates he at least does understand how straightforward it would be to program rangeCheck from scratch: 'rangeCheck! All it does is make sure the numbers you're inputting are within a range, and gives them some sort of exceptional treatment. That witness, when he said a high school student could do it — ' And the lawyer reveals he doesn't: 'I'm not an expert on Java — this is my second case on Java, but I'm not an expert, and I probably couldn't program that in six months.' Perhaps every judge should be a coding judge — it must make the law seem a lot simpler..." From yesterday; the Oracle lawyer was attempting to argue that Google profited by stealing rangeCheck since it allowed them to get to market faster than they would have had they wrote it from scratch. Groklaw, continuing its detailed coverage as always, has the motions filed today. -
Goldbach Conjecture: Closer To Solved?
mikejuk writes "The Goldbach conjecture is not the sort of thing that relates to practical applications, but they used to say the same thing about electricity. The Goldbach conjecture is reasonably well known: every integer can be expressed as the sum of two primes. Very easy to state, but it seems very difficult to prove. Terence Tao, a Fields medalist, has published a paper that proves that every odd number greater than 1 is the sum of at most five primes. This may not sound like much of an advance, but notice that there is no stipulation for the integer to be greater than some bound. This is a complete proof of a slightly lesser conjecture, and might point the way to getting the number of primes needed down from at most five to at most 2. Notice that no computers were involved in the proof — this is classical mathematical proof involving logical deductions rather than exhaustive search." -
JavaFX Runs On Raspberry Pi
mikejuk writes "Oracle seem to be concerned that the Raspberry Pi manages to run Java properly and they are actively working on the problem. To prove that it more than just works, what better than to get a JavaFX app up and running — what could be more cutting edge? Unfortunately the trick was performed using a commercial version of the JDK with JIT support and some private code, but it is still early days yet. Java and JavaFX on Raspberry Pi takes us into a whole new ball game." Watch the video at the linked report to see it in action. -
KegDroid: Combining Arduino, Android, and NFC to Dispense Beer
mikejuk writes, quoting I Programmer: "If you are looking for an exciting hardware project, KegDroid deserves a look. It is a sophisticated system that involves Android, Arduino, NFC, plumbing and — beer. Perhaps the final stroke of genius is to package the whole thing in a Droid body. Some how the little green fella looks at home on the bar. You have heard of desktop and laptop apps now we have bartop apps to add to the list" Details are fuzzy currently, but from all appearances this is a repackaged KegBot in a very fancy shell. (Video for those without Flash.) -
The Greatest Machine Never Built
mikejuk writes "John Graham-Cumming is the leading light behind a project to actually build the analytical engine dreamed of by Charles Babbage. There is a tendency to think that everything that Babbage thought up was little more than a calculating machine, but as the video makes 100% clear the analytical engine was a real computer that could run programs. From the article: 'Of course Ada Lovelace was the first programmer, but more importantly her work with Babbage took the analytical engine from the realms of mathematical table construction into the wider world of non-mathematical programming. Her notes indicate that had the machine been built there is no question that it would have been exploited just as we use silicon-based machines today. To see the machine built and running programs would be the final proof that Babbage really did invent the general purpose computer in the age of the steam engine.'" -
Face Recognition Maps History Via Art
mikejuk writes "Face recognition techniques usually come with a certain amount of controversy. A new application, however, is unlikely to trigger any privacy concerns — because all of the subjects are long dead. 'FACES: Faces, Art, and Computerized Evaluation Systems' will attempt to apply face recognition software to portraits. Three University of California, Riverside researchers have just received funding to try and piece together the who's who in history. 'Almost every portrait painted before the 19th century was of a person of some importance. As families fell on hard times, many of these portraits were sold and the identities of these subjects were lost. The question we hope to answer is, can we restore these identities?' If the algorithm can be fine tuned we can look forward to the digitized collections of museums and art galleries around the world suddenly yielding a who-knew-who social network graph that could put more science, and computer science at that, into history." -
Travelling Salesman, Thriller Set In a World Where P=NP
mikejuk writes with this excerpt from I Programmer: "A movie that features science and technology is always welcome, but is it not often we have one that focuses on computer science. Travelling Salesman is just such a rare movie. As you can guess from its name, it is about the Travelling Salesman problem, more precisely about the P=NP question. Written and directed by Timothy Lanzone, and produced by Fretboard Pictures, it should premiere on June 16. As the blurb to the movie trailer says: 'Travelling Salesman is an intellectual thriller about four of the world's smartest mathematicians hired by the U.S. government to solve the most elusive problem in computer science history — P vs. NP. The four have jointly created a "system" which could be the next major advancement for humanity or the downfall of society.'" -
The Artificial Life of the App Store
mikejuk writes "How does the Apple App Store actually work? What is the best strategy to employ if you want to get some users and make some money? There are some pointers on how it all works from an unusual source — artificial life. A pair of researchers Soo Ling Lim and Peter Bentley from University College London, set up an artificial life simulation of the app store's ecosystem. They created app developers with strategies such as — innovate, copy other apps, create useless variations on a basic app or try and optimize the app you have. What they found, among other things, was that the CopyCat strategy was on average the best. When they allow the strategies to compete and developer agents to swap then the use of the CopyCat fell to only 10%. The reason — more than 10% CopyCats resulted in nothing new to copy!" -
How To Share a Cake Over the Internet
mikejuk writes "The problem to be solved sounds trivial — cut up a cake so that each person thinks they get a fair share. This classical problem gets even more difficult if the 'players' can't all see what is going on at the same time — for example because they are negotiating via the internet. Now there is an asynchronous algorithm that is guaranteed to be fair and it all depends on using an encrypted auction. The new algorithm is simple and easy to use, and might be the solution to any number of difficult situations where people need to share things so that everyone comes away happy." -
Testing AI Methods With FlightGear
mikejuk writes "The open source flight simulator Flight Gear is great fun but it can also be used for serious research. Suppose you want to develop a drone that can roam the seas and spot debris so that ships can be directed to it and pick it up. It's a good idea, but how do you test your methods? The obvious way is to take to the sea and fly a drone over real debris and see what happens. It uses a lot of fuel and generates a lot of sea sickness. Why not just fly a simulated drone over a simulated sea and save the sea sickness? This is what Curtis Olson, project manager at FlightGear and he explains how to get OpenCV to use the simulator as if it was a camera." -
Microsoft Releases ASP.NET MVC Under the Apache License
mikejuk writes "Microsoft has announced that they are being even more open with their new approach to ASP.NET MVC. It is making ASP.NET MVC, Web API, and Razor open source under an Apache 2 license. The code is hosted on CodePlex using the new Git support ... You can compile and test out the latest version, but if you do have anything to contribute you have to submit it for Microsoft's approval." To get code upstream Microsoft has to approve (pretty typical), but the git branch is supposedly tracking the latest internal release candidate branch (a bit better than Google does with Android, even). Things seem to have changed quite a bit since the days of Shared Source (tm). -
Militarizing Your Backyard With Python and AI
mikejuk writes "Kurt Grandis took some cutting edge and open source AI tools, Python, an Arduino and a SuperSoaker and built the (almost) perfect squirrel hosing machine. The project involved Open Computer Vision (OpenCV), an a SVM learning procedure that he trained to tell the difference between a squirrel and a non-squirrel. After 'perfecting' the classifier the hardware came next — a SuperSoaker Mark I was used as the 'water cannon.' A pair of servos were used to aim the gun and a third to pull the trigger." -
Atari Wants To Reinvent Pong
mikejuk writes "Atari is offering up to $100,000 in a contest for a new version of Pong, the classic game that launched video games 40 years ago, for the iPhone/iPad/iPod Touch. The judges for the contest include Nolan Bushnell, founder of Atari, who came up with the original idea for Pong. So, what does a 21st century Pong look like? How does it play? And what role does touch have in this, the simplest of games?" -
A Better Way To Program
mikejuk writes "This video will change the way you think about programming. The argument is clear and impressive — it suggest that we really are building programs with one hand tied behind our backs. Programmers can only understand their code by pretending to be computers and running it in their heads. As this video shows, this is increadibly inefficient and, as we generally have a computer in front of us, why not use it to help us understand the code? The key is probably interactivity. Don't wait for a compile to complete to see what effect your code has on things — if you can see it in real time then programming becomes much easier." -
Classic Nintendo Games Are NP-Hard
mikejuk writes "You may have have thought games like Super Mario Bros., Donkey Kong, and so on were hard at the time you were playing them, but you probably didn't guess they were NP-hard. Now we have some results from computer scientists at Universite Libre de Bruxelles and MIT Computer Science and Artificial Intelligence Laboratory that many classic games contain within them an NP-hard problem. It has been proven that the following game franchises are NP-hard (PDF): Mario, Donkey Kong, Legend of Zelda, Metroid and Pokemon. At least you now have an excuse for your low scores." -
MIT App Inventor Back Online
mikejuk writes "If you have been missing App Inventor, you'll be relieved to learn that it is now available again — albeit still in beta. After two months, MIT has managed to open the beta program and users can once again create App Inventor Android programs. However, you still need a Google ID to sign in, and among the known issues is the problem that MIT App Inventor cannot load projects that are as large as those supported by the Google version. It also reports that some projects have loaded with missing blocks. While the world seems to be intent on making a fuss about the educational impact of cheap hardware like Raspberry Pi, really valuable tools that could produce a new generation of programmers such as App Inventor don't seem to get the headlines or the concern due when they go missing for months." -
PHP 5.4 Released
mikejuk writes "PHP 5.4 has been released, along with a new version of Zend Framework. It has a number of optimizations that make it faster and smaller (early estimates say 10-20% faster), a built-in webserver for testing purposes, and features that had been destined for PHP 6.0. The big addition from the now-crashed PHP 6.0 project is Traits, which are sort of a cross between a class and an interface, bringing some of the advantages of multiple inheritance to PHP. The full changelog and download page are both available."