Domain: i-programmer.info
Stories and comments across the archive that link to i-programmer.info.
Stories · 243
-
New Raspberry Pi Model B+
mikejuk writes The Raspberry Pi foundation has just announced the Raspberry Pi B+. The basic specs haven't changed much — same BC2835 and 512MB of RAM and the $35 price tag. There are now four USB ports, which means you don't need a hub to work with a mouse, keyboard and WiFi dongle. The GPIO has been expanded to 40 pins, but don't worry: you can plug your old boards and cables into the lefthand part of the connector, and it's backward compatible. As well as some additional general purpose lines, there are two designated for use with I2C EEPROM. When the Pi boots it will look for custom EEPROMs on these lines and optionally use them to load Linux drivers or setup expansion boards. Expansion boards can now include identity chips that when the board is connected configures the Pi to make use of them — no more manual customization. The change to a micro SD socket is nice, unless you happen to have lots of spare full size SD cards around. It is also claimed that the power requirements have dropped by half, to one watt, which brings the model B into the same power consumption area as the model A. Comp video is now available on the audio jack, and the audio quality has been improved. One big step for Raspberry Pi is that it now has four holes for mounting in standard enclosures. -
EDSAC Diagrams Rediscovered
mikejuk (1801200) writes Due to its importance in the history of computing, the UK's Computer Conservation Society embarked on a 4-year project to build a replica of EDSAC. The main challenge facing the team of volunteers who are working on the rebuild is the lack of documentation. There are almost no original design documents remaining so the rebuild volunteers have to scrutinize photographs to puzzle out which bits go where. However, three years into the project, a set of 19 detailed circuit diagrams have come to light and been handed to the EDSAC team by John Loker, a former engineer in the University of Cambridge Mathematical Laboratory. "I started work as an engineer in the Maths Lab in 1959 just after EDSAC had been decommissioned. In a corridor there was a lot of stuff piled up ready to be thrown away, but amongst it I spotted a roll of circuit diagrams for EDSAC. I'm a collector, so I couldn't resist the urge to rescue them. " In the main, the documents confirm that the team has been correct in most of its re-engineering assumptions, but the drawings have thrown up a few surprises. The most significant discrepancy between the original and the reconstruction that the papers reveal is in the "initial orders" (boot ROM in modern terminology). In the absence of fuller information, the reconstruction team had considered and rejected one possibility which was in fact the one that was used by the original engineers. That will now be rectified in the reconstruction, which is due for completion in late 2015. -
Grace Hopper Documentary Edges on Successful Crowdfunding
mikejuk (1801200) writes "Born With Curiosity is a proposed biopic about computer pioneer Grace Hopper. With a week to go before it closes on June 7, a crowdfunding campaign on Indigogo has so far raised 94% of its $45,000 target. Although there have been a couple of books devoted to Grace Hopper and she recently was the subject of a Google Doodle, her story hasn't made it to celluloid, which is something that Melissa Pierce finds anomalous, stating on the Born With Curiosity Indigogo page: 'Steve Jobs had 8 films made about him, with another in pre-production! Without Grace Hopper, Steve might have been a door to door calculator salesman! Even with that fact,there isn't one documentary about Grace and her legacy. It's time to change that.'" -
The Flaw Lurking In Every Deep Neural Net
mikejuk (1801200) writes "A recent paper, 'Intriguing properties of neural networks,' by Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow and Rob Fergus, a team that includes authors from Google's deep learning research project, outlines two pieces of news about the way neural networks behave that run counter to what we believed — and one of them is frankly astonishing. Every deep neural network has 'blind spots' in the sense that there are inputs that are very close to correctly classified examples that are misclassified. To quote the paper: 'For all the networks we studied, for each sample, we always manage to generate very close, visually indistinguishable, adversarial examples that are misclassified by the original network.' To be clear, the adversarial examples looked to a human like the original, but the network misclassified them. You can have two photos that look not only like a cat but the same cat, indeed the same photo, to a human, but the machine gets one right and the other wrong. What is even more shocking is that the adversarial examples seem to have some sort of universality. That is a large fraction were misclassified by different network architectures trained on the same data and by networks trained on a different data set. You might be thinking 'so what if a cat photo that is clearly a photo a cat is recognized as a dog?' If you change the situation just a little and ask what does it matter if a self-driving car that uses a deep neural network misclassifies a view of a pedestrian standing in front of the car as a clear road? There is also the philosophical question raised by these blind spots. If a deep neural network is biologically inspired we can ask the question, does the same result apply to biological networks? Put more bluntly, 'Does the human brain have similar built-in errors?' If it doesn't, how is it so different from the neural networks that are trying to mimic it?" -
Linus Torvalds Receives IEEE Computer Pioneer Award
mikejuk (1801200) writes "Linus Torvalds, the 'man who invented Linux' is the 2014 recipient of the IEEE Computer Society's Computer Pioneer Award, '[f]or pioneering development of the Linux kernel using the open-source approach.' According to Wikipedia, Torvalds had wanted to call the kernel he developed Freax (a combination of 'free,' 'freak,' and the letter X to indicate that it is a Unix-like system), but his friend Ari Lemmke, who administered the FTP server it was first hosted for download, named Torvalds' directory linux. In some ways Git can be seen as his more important contribution — but as it dates from 2005 it is outside the remit of the IEEE Computer Pioneer award." -
Drones On Demand
mikejuk (1801200) writes "Gofor is a new company that is promoting the idea of drones on demand. All you have to do is use the app to request a drone and it shows you were they are and how long before one reaches your location. You want to take the ultimate selfie? Scout ahead to see if the road is clear or just find a parking space? No problem just task a drone to do the job. For the photo you simply flash your phone camera at it and it pinpoints your location for an aerial selfie. If it is scouting ahead then it shows you what awaits you via a video link. See the promo video to see how it might work. Flight of fancy? Possibly but the company claims to be operational in five US cities." I wish my car had a drone for instant scouting of traffic-jam alternates. -
Ties of the Matrix: An Exercise in Combinatorics
mikejuk (1801200) writes "The Matrix Reloaded started something when 'The Merovingian' wore a number of very flashy ties. The problem was that we thought we knew how many ways you can tie a tie. The number of ways had been enumerated in 2001 and the answer was that there were exactly 85 different ways but the enumeration didn't include the Matrix way of doing it. So how many "Merovingian" knots are there? The question is answered in a new paper, More ties than we thought [PDf], by Dan Hirsch, Meredith L. Patterson, Anders Sandberg and Mikael Vejdemo-Johansson. The methodology is based on the original enumeration and an interesting application of language theory. The idea is to create a programming language for tying ties and then work out how many programs there are. For single depth tucks there are 177,147 different sequences and hence knots. Of these there are 2046 winding patterns that take up to 11 moves, the same as the The Merovingian knot and other popular knots, and so these are probably practical with a normal length necktie." -
Happy Pi Day
mikejuk writes to let us know that today is Pi Day — 3/14 in American date notation. He writes, "This year, it feels as though we aren't celebrating alone. For the first time, it looks as if momentum has built up to the point where people have heard about Pi Day. There are even attempts to sell you Pi-related items as if it was a real holiday. But there is always some one to spoil the party so what ever you do to celebrate don't miss Vi Hart's Anti-Pi Rant video." Thus begins the yearly debate over Pi Day vs. Tau Day (June 28). Phil Plait has a post defending Pi Day's honor, and MIT isn't holding back their Pi Day celebrations. Large-scale celebration of Pi Day began in 1988, mostly through the efforts of physicists Larry Shaw and Ron Hipschmann at the San Francisco Exploratorium. The Exploratorium still runs Pi Day events 26 years later, including Pi-themed processions and pie for dessert. In 2009, Pi Day became semi-official through a vote by the House of Representatives. (They did a better job with Pi than did Indiana, who almost legislated it to be 3.2.)
The best way to celebrate Pi Day is to get together with some friends and talk math over a pie. You could even go for a pizza pie, since a pizza with radius 'z' and height 'a' has volume = pi * z * z * a. If you'd care for a game, head over to the Pi Day Challenge, which features a series of pi-related logic puzzles. Or just spend the day learning about pi.
Cool pi facts: Pi is currently known to about 10 billion decimal places. You can calculate pi using the Fibonacci sequence. A few years ago, Steven Rochen mapped the digits of pi to musical notes and turned it into a violin solo (video). Others have made music from pi as well. Mankind didn't know the first hundred digits of pi until the year 1701. How many digits of pi can you recite? The record for memorization currently stands at 67890 digits. The record for reciting pi while juggling three balls is just under 10,000. -
Apple Closes OpenNI the Open Source Kinect Framework
mikejuk writes "The OpenNI website, home to the widely used framework for 3D sensing, will be shut down in April. When, in November 2013, Apple bought PrimeSense for $350 million, people speculated how this would affect the Capri mobile technology but no mention was made of what would happen to OpenNI, the open source SDK most often used as an alternative to Microsoft's closed SDK for the Kinect. After Apple acquired PrimeSense, its website quickly shut, but the Developers link still points to Open NI. The status of OpenNI is a not-for-profit whose framework allows developers to create middleware and applications for a range of devices, including the Asus Xtion Pro. It claims to be a widely used community with over 100,000 active 3D developers." -
A Mathematical Proof Too Long To Check
mikejuk writes "Mathematicians have generally gotten over their unease with computer-assisted proofs. But in the case of a new proof from researchers at the University of Liverpool, we may have crossed a line. The proof is currently contained within a 13 GB file — more space than is required to hold the entirety of Wikipedia. Its size makes it unlikely that humans will be able to check and confirm the proof. The theorem that has been proved is in connection with a long running conjecture of Paul Erdos in 1930. Discrepancy theory is about how possible it is to distribute something evenly. It occurs in lots of different forms and even has a connection with cryptography. In 1993 it was proved that an infinite series cannot have a discrepancy of 1 or less. This proved the theorem for C=1. The recent progress, which pushes C up to 2, was made possible by a clever idea of using a SAT solver — a program that finds values that make an expression true. Things went well up to length 1160, which was proved to have discrepancy 2, but at length 1161 the SAT returned the result that there was no assignment. The negative result generated an unsatisfiability certificate: the proof that a sequence of length 1161 has no subsequence with discrepancy 2 requires over 13 gigabytes of data. As the authors of the paper write: '[it]...is probably one of longest proofs of a non-trivial mathematical result ever produced. ... one may have doubts about to which degree this can be accepted as a proof of a mathematical statement.' Does this matter? Probably not — as long as other programs can check the result and the program itself has to be considered part of the proof." -
Google Planning To Remove CSS Regions From Blink
mikejuk writes "Google and Opera split from WebKit to create Blink, their own HTML rendering engine, and everyone was worried about the effect on standards. Now we have the first big example of a split in the form of CSS Regions support. Essentially Regions are used to provide the web equivalent of text flow, a concept very familiar to anyone who has used a desktop publishing program. The basic idea is that you define containers for a text stream which is then flowed from one container to another to provide a complex multicolumn layout. The W3C standard for Regions has mostly been created by Adobe — a long time DTP company. Now the Blink team has proposed removing Regions support to save 10,000 lines of code in 350,000 in the name of efficiency. If Google does remove the Regions code, which looks highly likely, this would leave Safari and IE 10/11 as the only two major browsers to support Regions. Both Apple and Microsoft have an interest in ensuring that their hardware can be used to create high quality magazine style layouts — Google and Opera aren't so concerned. I thought standards were there to implement not argue with." Although mikejuk thinks this is a bad thing, a lot of people think CSS Regions are awful. Mozilla has never intended to implement them, instead offering the CSS Fragmentation proposal as an alternative. One major flaw of CSS Regions is its reliance upon markup that is used solely for layout, violating the separation of content and style that CSS is intended to enforce. -
Regex Golf, xkcd, and Peter Norvig
mikejuk writes "A recent xkcd strip has started some deep academic thinking. When AI expert Peter Norvig gets involved you know the algorithms are going to fly. Code Golf is a reasonably well known sport of trying to write an algorithm in the shortest possible code. Regex Golf is similar, but in general the aim is to create a regular expression that accepts the strings in one list and rejects the strings in a second list. This started Peter Norvig, the well-known computer scientist and director of research at Google, thinking about the problem. Is it possible to write a program that would create a regular expression to solve the xkcd problem? The result is an NP hard problem that needs AI-like techniques to get an approximate answer. To find out more, read the complete description, including Python code, on Peter Norvig's blog. It ends with this challenge: 'I hope you found this interesting, and perhaps you can find ways to improve my algorithm, or more interesting lists to apply it to. I found it was fun to play with, and I hope this page gives you an idea of how to address problems like this.'" -
CSI Style Zoom Sees Faces Reflected In Subjects' Eyes
mikejuk writes "A recent paper by Dr Rob Jenkins of the Department of Psychology at York University (UK) has managed to prove that you can get useful images of faces from the reflections in eyes. It really is as simple as zooming in. The catch is that the experiments were done with a 39 mega pixel camera — even so the actual final images were low resolution. In the experiment a number of people were photographed with a 'bystander' in a position so that a reflection of their face would be captured in the eye. The resulting extracted image of the reflection in the eye was only 27x36 and then rescaled using bicubic interpolation to 400x240 or bigger and enhanced using standard PhotoShop operations to normalize the contrast and brightness. Test subjects were able to match faces using the low resolution images but the important result was that if the subject knew the person in the photo then recognition went up to 90% with false positives down at 10%. So the next time you appear in a photo consider the fact that a simple procedure might reveal who you are with." -
Asm.js Gets Faster
mikejuk writes "Asm.js is a subset of standard JavaScript that is simple enough for JavaScript engines to optimize. Now Mozilla claims that with some new improvements it is at worst only 1.5 times slower than native code. How and why? The problem with JavaScript as an assembly language is that it doesn't support the range of datatypes that are needed for optimization. This is good for human programmers because they can simply use a numeric variable and not worry about the difference between int, int32, float, float32 or float64. JavaScript always uses float64 and this provides maximum precision, but not always maximum efficiency. The big single improvement that Mozilla has made to its SpiderMonkey engine is to add a float32 numeric type to asm.js. This allows the translation of float32 arithmetic in a C/C++ program directly into float32 arithmetic in asm.js. This is also backed up by an earlier float32 optimization introduced into Firefox that benefits JavaScript more generally. Benchmarks show that firefox f32 i.e. with the float32 type is still nearly always slower than native code, it is now approaching the typical speed range of native code. Mozilla thinks this isn't the last speed improvement they can squeeze from JavaScript. So who needs native code now?" -
Japanese SCHAFT Takes the Gold at DARPA Robot Challenge
savuporo writes "The two days of DARPA's humanoid robotics challenge are now over. 16 teams entered in three categories — custom built humanoid, DARPA supplied Atlas platform, and a non-humanoid form — and competed in eight different tasks. The all-Japanese SCHAFT team scored 27 out of 32 maximum points, followed by IHMC Robotics and Tartan Rescue, with 20 and 18 points. The tasks included challenges like driving a vehicle, climbing ladders and walls, using handheld tools to cut through walls, etc. All robots had a mix of autonomy and teleoperated controls to accomplish the tasks. Full details on scores can be found here. The eight teams that scored highest will get continued funding from DARPA to compete in the final challenge in 2014. Two NASA teams also entered, and the JPL-built non-humanoid RoboSimian placed 5th, whereas the JSC built and touted 'Valkyrie' came out of competition with zero points. Team SCHAFT and Boston Dynamics (building the Atlas platform) were recently acquired by Google." Reader mikejuk says the scores "[make] the performance sound better than it actually was": " Each task could take 30 minutes and most of the robots took their time and moved as slow as ice. It seems that the teams were precomputing every move and taking a lot of time rather than getting on with the task as quickly as possible. As a result there is farther to go in creating useful rescue bots than the scores might suggest." -
Google's Dart Becomes ECMA's Dart
mikejuk writes "Google's Dart just reached version 1.0, but now it seems that it has aspirations to being an international standard. The question is will this make any difference to the language's future? Given that Google effectively owns Dart, what advantage does standardization bring? The answer to what Google thinks it brings is indicated in the Chromium blog: 'The new standardization process is an important step towards a future where Dart runs natively in web browsers.' and this seems reasonable. A standard is something that would be required before other browser makers decided to fall in line and support native Dart. It is probably a necessary but far from sufficient condition, however, with Microsoft, Apple and Mozilla having other interests to further. Last but not least, having the backing of a standard might just encourage possible users to believe that the language won't sink if Google gets distracted with other projects and decides that Dart is dispensable. However, a strong open source development community capable of supporting Dart without Google's input would be a better reassurance. If you want to help, Google would like you to join the committee. After all, it still doesn't have a Vice Chair. So can we expect to see ECMA CoffeeScript or TypeScript in the near future? Probably not." -
AI Reality Check In Online Dating
mikejuk writes "Researchers have developed an online dating system that not only matches you with partners you'll find attractive, but who are also likely to find you attractive too. The researchers at the University of Iowa have addressed an underlying problem of online dating sites. There's no doubt that such sites are ever increasing in popularity, and have good algorithms taking into account the reported likes, interests and hobbies of the person looking for a partner to come up with a potential match. What's less well catered for is the trickier aspect of the reciprocal interest – you may think person x looks nice, but will they find you equally attractive? The problem here is that if you are Average Joe and try asking out Supermodels Ann, Barbara and Cheryl, you're unlikely to get a reply. Well, not a printable one, anyway. So coming up with yet another supermodel for you to sob over isn't a lot of help.Instead, the researchers add a note of reality by analyzing the replies you get, and use this to work out how attractive you are. This is a scary thought for many of us, and one we may well not want an honest answer to. The results are used to recommend people who might actually reply if you get in contact with them. Fortunately for the attractively challenged, the research is still just that – research. However, given the fact the online dating market is worth around $3 billion a year, chances are someone is going to make use of this. We have been warned." -
DARPA's Atlas Walking Over Randomness
mikejuk writes "Considering how long we have been trying to solve the problem, a robot walking is mostly amusing. Atlas is an impressive robot, evoking the deepest fears of sci fi. Watch as one of the DARPA challenge teams makes Atlas walk, unaided, on randomness. This video of Atlas was created by the Florida Institute For Human and Machine Cognition robotics team. It shows Atlas walking across a random collection of obstacles. Notice that even though it looks as if Atlas is supported by a tether, it isn't — as proved when it falls over at the end." -
How Your Coffee Table Could Pass Your Coffee
mikejuk writes with this tantalizing excerpt about one possible future of furniture:"The mechanism of MIT's new shapeshifting output device is remarkably simple. It is based on the well known pin screen devices that you can use to take a 3D impression of an object. A 2D plate of pins can be moved to create a surface.In the same way, inForm uses a set of rods and actuators to create dynamic surfaces. The big difference is that the actuators are under computer control. Now you have a computer controlled surface and what is really surprising is how much you can get from this simple idea. With the help of a 3D depth camera and some innovative software, the surface can act as an output device that lets you manipulate real objects remotely. If you use the surface as a table then your computer can bring you real objects such as your mobile phone — see the video to believe it. While there are many obvious serious applications such as displaying volumetric CT scans, displaying complex data or providing early experience of prototypes there is also the possibility of having fun with the device. After all simple pinscreens are still sold as executive toys. Could there be a new generation of games in this?" -
Bribe Devs To Improve Open Source Software
mikejuk writes "Bribe.io announces itself as: 'A super easy way to bribe developers to fix bugs and add features in the software you're using.' Recognizing the fact that a lot of open source projects are maintained by developers working alone and in their spare time, the idea is to encourage other developers to by specifying a monetary value to a bug report or feature enhancement. Once an initial 'Bribe' has been posted others can 'chip in' and add to the financial incentive." -
Telegraph Contributor Says Coding Is For Exceptionally Dull Weirdos
mikejuk writes "The UK Government is trying to figure out how to teach children to code by changing what is taught in schools. The Telegraph, a leading UK newspaper, has put the other side of the case: Coding is for 'exceptionally dull weirdo(s).' The recent blog post by Willard Foxton is an amazing insight into the world of the non-programming mind. He goes on to say: 'Coding is a niche, mechanical skill, a bit like plumbing or car repair.' So coding is a mechanical skill — I guess he must be thinking of copy typing. 'As a subject, it only appeals to a limited set of people — the aforementioned dull weirdos. There's a reason most startup co-founders are "the charming ideas guy" paired with "the tech genius". It's because if you leave the tech genius on his own he'll start muttering to himself.' Why is it I feel a bout of muttering coming on? 'If a school subject is to be taught to everyone, it needs to have a vital application in everyday life — and that's just not true of coding.' Of course it all depends on what you mean by 'vital application.' The article is reactionary and designed to get people annoyed and posting comments — just over 600 at the moment — but what is worrying is that the viewpoint will ring true with anyone dumb enough not to be able to see the bigger picture. The same attitude extends to all STEM subjects. The next step in the argument is — why teach physics, chemistry, biology, and math (as distinct from arithmetic) to anyone but exceptionally dumb weirdos." -
How Your Smartphone Can Spy On What You Type
mikejuk writes "We all do it — place our phones down on the desk next to the keyboard. This might not be such a good idea if you want to keep your work to yourself. A team of researchers from MIT and the Georgia Institute of Technology have provided proof of concept for logging keystrokes using nothing but the sensors inside a smartphone — an iPhone 4 to be precise, as the iPhone 3GS wasn't up to it. A pair of neural networks were trained to recognize which keys were being pressed just based on the vibration — and it was remarkably good at it for such a small device. There have been systems that read the keys by listening but this is the first system that can hide in mobile phone malware." -
Mitsuku Chatbot Wins Loebner Prize 2013
mikejuk writes "The final round of the 23rd annual Loebner Prize competition took place in Londonderry, Northern Ireland with four chatbots hoping to convince four judges that they were humans. Mitsuku, a chatbot that is kept busy chatting to people around the world, was awarded this year's bronze medal. Mitsuku's botmaster, Steve Worswick, used to run a music website. Once he added a chatbot he discovered more people visited to chat than for music so he concentrated all his efforts on the bot but he still regards it as a hobby. Mitsuku uses AIML (Artificial Intelligence Markup Language) and is a pandorabot, based on the free open-source-based community webservice the enables anyone who wants to, to develop and publish chatbots on the web." -
Unboxing Boston Dynamics' DARPA-Ready Atlas Robot
mikejuk writes with some robot eye candy, in the form of this excerpt: "If you think its cool to video the unboxing of your latest mobile phone — think again. Unboxing a robot has a lot more going for it and reaches a whole new level of sci-fi realized. The Atlas robot is a standard humanoid robot to be used by competitors in the DARPA Robotics challenge. Built by Boston Dynamics, it is in the same line as Petman and BigDog. It is now being delivered to the labs that will take part and the temptation to make an unboxing video has been irresistible They arrive in plain of wooden crates as if they were auto parts. Next it is unwrapped and lifted out of its packing case using a crane. It looks black and threatening — just like a sci-fi movie but watch the videos and see." -
Advanced Chatbot Could Help With Social Awkwardness
mikejuk writes "Researchers at MIT Media Lab are working on an automated personal-computer-based system designed to help people improve interpersonal and conversational skills. The software is called MACH, short for My Automated Conversation coacH (pdf). It makes use of a computer-generated onscreen face to simulate interactive conversations. It performs facial, speech, and behavior analysis and synthesis to emulate human-to-human responses. At the end of the session it provides the user with feedback on their performance. Using a webcam the program can analyze facial expressions, including smiling and head gestures while its voice recognition system analyzes not only what you say but also how you say it and notes non-verbal vocalizations. As feedback you watch the video side-by-side with the analysis of your behavior — see the video of it in action. It has already been shown to improve job interview techniques and other potential uses are coaching in public speaking and dating." -
How One Programmer Is Coding Faster By Voice Than Keyboard
mikejuk writes "Is it possible that we have been wasting our time typing programs. Could voice recognition, with a little help from an invented spoken language, be the solution we didn't know we needed? About two years ago Tavis Rudd, developed a bad case of RSI caused by typing lots of code using Emacs. It was so severe that he couldn't code. As he puts it: 'Desperate, I tried voice recognition'. The Dragon Naturally Speaking system used by Rudd supported standard language quite well, but it wasn't adapted to program editing commands. The solution was to use a Python speech extension, DragonFly, to program custom commands. OK, so far so good, but ... the commands weren't quite what you might have expected. Instead of English words for commands he used short vocalizations — you have to hear it to believe it. Now programming sounds like a conversation with R2D2. The advantage is that it is faster and the recognition is easier — it also sounds very cool and very techie. it is claimed that the system is faster than typing. So much so that it is still in use after the RSI cleared up." -
AquaTop Immersive Display System: Get Your Hands Wet to Sink Some Files
mikejuk writes with an intriguing description of AquaTop, a (very) interactive display system developed at Tokyo's University of Electro-Communications Koike Laboratory, which uses a Kinect sensor, a projector, and a tub of cloudy water. Images are projected into the water, and as a user, "[Y]ou can move them around, resize them using the usual two-finger pinch, but you can also pick them up in cupped hands and transfer them somewhere else. The gesture I really liked was 'sink to delete' — yes, that's often how I feel about a file. Add some waterproof loudspeakers under the surface and allow the computer to run them at low frequency. The result is that you can now make the surface 'boil' in response to the sound. You can make fountains of water appear and project the right colors onto it to make it look like an explosion. In the demo game you throw energy bolts at squid that blow up if you hit them. You have to see the video to understand how putting your hands in cold water might be so much fun." -
AI Is Funny - a Generative Joke Model
RemyBR writes "Can computers tell a good joke? Is comedy just a matter of statistics or is there something only a human can bring to creating a joke? A joke generator created at the University of Edinburgh (PDF) suggests that AI can be funny. Some AI generated jokes: 'I like my relationships like I like my source, open,' 'I like my coffee like I like my war, cold,' 'I like my boys like I like my sectors, bad.'" -
Project Anonymizes Your Writing Style To Hide Your Identity
mikejuk writes "An open source project to combat 'stylometry,' the study of attributing authorship to documents based only on the linguistic style they exhibit, is proving that it is possible to change writing style to evade detection. Artificial Intelligence techniques are routinely used to detect plagiarism and recently were employed to reveal that Harry Potter author J. K. Rowling is indeed the author of The Cuckoo's Calling, which was published under the byline of Robert Galbraith. Now software is tackling the opposite problem — anonymizing writing style to protect the identity of the originator. The JStylo-Anonymouth (JSAN) framework is a work in progress at the Privacy, Security and Automation Lab (PSAL) at Drexel University. It analyzes a written text and detects features which could be used to identify the author. It then suggests changes that need to be made to avoid the author's stylistic fingerprint appearing in the work." -
Google's Latest Machine Vision Breakthrough
mikejuk writes "Google Research recently released details of a Machine Vision technique which might bring high power visual recognition to simple desktops and even mobile computers. It claims to be able to recognize 100,000 different types of object within a photo in a few minutes — and there isn't a deep neural network mentioned. It is another example of the direct 'engineering' approach to implementing AI catching up with the biologically inspired techniques. This particular advance is based on converting the usual mask-based filters to a simpler ordinal computation and using hashing to avoid having to do the computation most of the time. The result of the change to the basic algorithm is a speed-up of around 20,000 times, which is astounding. The method was tested on 100,000 object detectors using over a million filters on multiple resolution scalings of the target image, which were all computed in less than 20 seconds using nothing but a single, multi-core machine with 20GB of RAM." -
Firefox 23 Makes JavaScript Obligatory
mikejuk writes "It seems that Firefox 23, currently in beta, has removed the option to disable JavaScript. Is this good for programmers and web apps? Why has Mozilla decided that this is the right thing to do? The simple answer is that there is a growing movement to reduce user options that can break applications. The idea is that if you provide lots of user options then users will click them in ways that aren't particularly logical. The result is that users break the browser and then complain that it is broken. For example, there are websites that not only don't work without JavaScript, but they fail in complex ways — ways that worry the end user. Hence, once you remove the disable JavaScript option Firefox suddenly works on a lot of websites. Today there are a lot of programmers of the opinion that if the user has JavaScript off then its their own fault and consuming the page without JavaScript is as silly as trying to consume it without HTML." -
Disney Research Creates Megastereo - Panoramas With Depth
mikejuk writes "Disney Research has made a breakthrough in implementing the technique of acquiring depth information from a simple camera scan of a scene. For a perfect panorama you need to rotate the camera around its optical center, i.e. just rotate the camera. However, if you just rotate the camera about itself you don't get any parallax effects — which is why it makes the stitching together easier. If you want to get 3D information from the sequence of shots you need parallax. This means rotating the camera mounted on an offset arm or just moving the camera along an arc in your outstretched hand. The big problem with this method is that the parallax makes it more difficult to fit the mosaic together, and this is the problem that the research team has been working on. Using a range of different scanning methods the results can be converted into high resolution panoramas automatically complete with 3D information." -
BBC Clock Inaccurate - 100 Days To Fix?
mikejuk writes "The BBC home page has just lost its clock because the BBC Trust upheld a complaint that it was inaccurate. The clock would show the current time on the machine it was being viewed on and not an accurate time as determined by the BBC. However, the BBC have responded to the accusations of inaccuracy by simply removing the clock stating that it would take 100 staffing days to fix. It further says: 'Given the technical complexities of implementing an alternative central clock, and the fact that most users already have a clock on their computer screen, the BBC has taken the decision to remove the clock from the Homepage in an upcoming update.' They added, '...the system required to do this "would dramatically slow down the loading of the BBC homepage", something which he said was "an issue of great importance to the site's users". Secondly, if the site moved to a format in which users across the world accessed the same homepage, irrespective of whichever country they were in, it would be "impossible to offer a single zonally-accurate clock."'" -
Arduino Branches Out, With a Plug-and-Program Robot
mikejuk writes "The new Arduino robot looks a bit like a robot vacuum cleaner, but it has a lot more going for it and it certainly doesn't suck — well not unless you add an air pump to it. As always, the Arduino Robot is completely open source and comes as an easy to assemble kit involving no soldering, just some plugging in of components. It consists of two circular boards, 19cm in diameter, each with its own Arduino controller. They fit together to create a stack about 10cm tall. The bottom board has two wheels and motors which allow it to move in any direction. The top board contains lots of sensors and a central display. The two communicate via a serial connection. There is also a lot of space for expansion. There is a new library which can be downloaded to help write programs for this fairly sophisticated robot. There is only one big problem with the Arduino robot — you can't buy one at the moment. If you really can't wait, until early July when they should start shipping from the Arduino shop and from distributors, then you will have to get to the Maker Faire San Mateo (May 17-19) where they are being demonstrated and sold." -
ORBX.js: 1080p DRM-Free Video and Cloud Gaming Entirely In JavaScript
An anonymous reader writes "According to Brendan Eich, CTO of Mozilla and the creator of JavaScript, ORBX.js can decode 1080p HD video and support low latency remote graphics entirely in JavaScript, offering a pure JavaScript alternative to VP8/H.264 native code extensions for HTML5 video. Watermarking is used during encoding process for protected IP, rather than relying on local DRM in the browser. Mozilla is also working with OTOY, Autodesk and USC ICT to support emerging technologies through ORBX.js — including light field displays and VR headsets like the Oculus Rift." Writes reader mikejuk: "The problem with all of this is that orbix.js is just a decoder and there is little information on the coder end of the deal. It could be that OTOY will profit big time from coding videos and watermarking them while serving virtual desktops from their GPU cloud. The decoder might be open source but the situation about the rest of the technology is unclear. In the meantime we have to trust that Mozilla, and Brendan Eich in particular, are not being sold a utopian view of a slightly dystopian future." -
Turbulenz HTML5 Games Engine Goes Open Source
New submitter JoeKilner writes "The Turbulenz HTML5 games engine has been released as open source under the MIT license. The engine is a full 3D engine written in TypeScript and using WebGL. To see what the engine is capable off, check out this video of a full 3D FPS running in the browser using the Turbulenz engine and Quake 4 assets. You can see some of the games already developed with the engine at Turbulenz.com. (Note — to try the games without registering, hit the big blue 'Play as Guest' button.) Also, IE doesn't have WebGL support yet, so to play without a plugin try Chrome or FIrefox." -
IBM Researchers Open Source Homomorphic Crypto Library
mikejuk writes with news of an advancement for homomorphic encryption and open source: "To be fully homomorphic the code has to be such that a third party can add and multiply numbers that it contains without needing to decrypt it. In other words they can change the data by working with just the encrypted version. This may sound like magic but a fully homomorphic scheme was invented in 2009 by Craig Gentry. This was a step in the right direction but the problem was that it is very inefficient and computationally intensive. Since then there have been a number of improvements that make the scheme practical in the right situations Now Victor Shoup and Shai Halevi of the IBM T J Watson Research Center have released an open source (GPL) C++ library, HElib, as a Github project. The code is said to incorporate many optimizations to make the encryption run faster. Homomorphic encryption has the potential to revolutionize security by allowing operations on data without the need to decrypt it." -
Robot Snake Could Aid Search and Rescue Operations
mikejuk writes "The Carnegie Mellon University Biorobotics Lab demonstrates how the snakelike robots can aid search and rescue operations in collapsed buildings. The video appeared more or less at the same time as the current real disaster in Dhaka, Bangladesh where an 8-storey building collapsed, trapping some three thousand people. Bangladesh rescue teams, helped by members of the community, have so far worked with small tools and their bare hands to bring out survivors. Having a snake robot that could provide pictures from within the building would lead to speedier and more effective rescue operations." -
MySQL Founders Reunite To Form SkySQL
mikejuk writes "The founders of the original MySQL, the open-source database, are getting back together in a merger between Monty Program and SkySQL. SkySQL was created by around two dozen former MySQL executives and investors after Oracle bought MySQL from Sun. Widenius started Monty Program AB and created the MariaDB database from some of MySQL's open source code. The merger will provide a stronger rival to MySQL, so reassuring users who are worried about Oracle's future plans for the database." -
Java 8 Delayed To Fix Security
mikejuk writes "Java Development Kit 8, planned for September 2013, is being delayed until next year because of 'a renewed focus on security.' Java has been having security publicity problems recently, but Oracle now seems to be taking them more seriously. Mark Reinhold, chief architect of the Java platform group, said, 'Maintaining the security of the Java Platform always takes priority over developing new features, and so these efforts have inevitably taken engineers away from working on Java 8.' The major change still to be made to Java 8 is Project Lambda, which Reinhold says is 'the sole driving feature of the release.' He laid out alternatives, such as dropping Lambda from this release, but said Oracle has decided instead to wait until Lambda is ready. The revised schedule for JDK 8 has a developer preview scheduled for September, a release candidate scheduled for January 2014, and general availablity scheduled for March 2014. The delay means that Java SE 9 will probably be released in early 2016, rather than late 2015." -
AMD Says There Will Be No DirectX 12 — Ever
mikejuk writes "This is a strange story. AMD Vice President of Global Channel Sales Roy Taylor has said there will be no DirectX12 at any time in the future. In an interview with German magazine Heise.de, Taylor discussed the new trend for graphics card manufacturers to release top quality game bundles registered to the serial number of the card. One of the reasons for this, he said, is that the DirectX update cycle is no longer driving the market. 'There will be no DirectX 12. That's it.' (Google translation of German original.) Last January there was another hint that things weren't fine with DirectX when Microsoft sent an email to its MVPs saying, 'DirectX is no longer evolving as a technology.' That statement was quickly corrected, but without mentioning any prospect of DirectX 12. So, is this just another error or rumor? Can we dismiss something AMD is basing its future strategy on?" -
IE11 To Support WebGL
mikejuk writes "The biggest problem with IE10 as far as modern web apps go is its lack of WebGL support. Now we have strong evidence that IE11 will support WebGL. A leaked build of Windows 'Blue,' aka Windows 8.1, also contained an early version of IE11. Web developer François Remy decided to see what it was hiding and found that there were WebGL APIs, but they were non-functional. Rafael Rivera, who writes the Within Windows blog, dug a little deeper and discovered the registry keys that have to be changed to enable WebGL support. Apparently the API works so well that you can take existing WebGL programs (with OpenGL shaders) and just run them. As the implementation also supports DirectX HLSL shaders, it seems reasonable to guess that the implementation maps OpenGL to DirectX, thus avoiding Microsoft having to endorse OpenGL use." -
Google Doodle Celebrates Birthday of Douglas Adams
mikejuk writes "Today's Google Doodle celebrates the fact that today would have been Douglas Adam's 61st birthday. For any fans of Adam's Hitchhiker's Guide to the Galaxy this isn't to be missed. The interactive doodle takes us aboard the Heart of Gold spaceship where the towel — the essential travel item for any intergalactic voyager sits on the console besides the, also very necessary cup of tea, which is also a reference to a Dirk Gently novel, The Long Dark Teatime of the Soul. There are lots more tributes hidden including Marvin — the real one not the one in the film, a Babel Fish and more. Have fun exploring but make sure you click on the search symbol to find out more about Douglas Adams and his work." -
Kinect Can Detect Clenched Fist
mikejuk writes "Microsoft Research is currently having a Techfest at Redmond where it is showing off a lot of new work. The latest work on the Kinect uses the same sort of machine-learning approach to distinguish between an open hand and a clenched fist. Although there are no details, its general method was to use a large number of images of people's hands and supervised training to distinguish between open and closed hands. The learning algorithm is based on a forest of decision trees, which is the same general method used to implement the skeleton tracking. Being able to detect an open or closed hand might not seem to be much of an advance, and certainly not as good as a multi-gesture touch screen interface, but it is enough to allow the user interface to distinguish a "pick up" or "grip" gesture. So you can move the hands within an image, close both hands to grip the image points and move apart to zoom. You can't get the software at the moment, but it has been promised for the next version of the Kinect SDK for Windows along with the long awaited 3D scanner Kinect Fusion." -
Can You Do the Regular Expression Crossword?
mikejuk writes "Programmers often say that regular expressions are fun ... but now they can be a whole lot of fun in a completely new way. Want to try your hand at a regular expression crossword? The idea is simple enough — create a crossword style puzzle with regular expressions are the 'clues.' In case you don't know what a regular expression is — it is a way of specifying what characters are allowed using wild-card characters and more. For example a dot matches any single character, an * any number of characters and so on. The regular expression crossword is more a sort of Sudoku puzzle than crossword however because the clues determine the pattern that the entries in a row have to satisfy. It also has to use a hexagonal grid to provide three regular expressions to control each entry. This particular regular expression crossword(pdf) was part of this year's MIT Mystery Hunt. This annual event is crammed with a collection of very difficult problems and the regular expression crossword, created by Dan Gulotta from an idea by Palmer Mebane, was just a small part of the whole — and yes there is a solution." -
Gnome Goes JavaScript
mikejuk writes "Much to most programmers' shock and dismay Gnome has made JavaScript its main language for apps. It will still support other languages and it still supports C for libraries, but for apps it is JavaScript that rules. JavaScript seems to be a good choice for Gnome 3, as the shell UI is written in the language. It is also consistent with the use of JavaScript in WinRT, Chrome Apps, and FirefoxOS apps, and generally the rise of web apps. As you might expect, the initial reactions are of horror at the idea that JavaScript has been selected rather than the favorite language of the commenter. There is a great deal of ignorance about (and prejudice against) JavaScript, which is often regarded as an incomplete toy language rather than the elegant and sparse language that it actually is." -
Microsoft Phases Out XNA and DirectX?
mikejuk writes "It is reported that Microsoft has sent an email to DirectX/XNA MVPs which informs them that they are no longer needed because XNA and DirectX are no longer evolving. What does this mean? If you don't need MVPs then presumably you anticipate nothing to support in the future." -
A Robot With a Chainsaw!
mikejuk writes "If you are a fan of the Sci-Fi sub-genre of robot apocalypses, you may well not want to give a robot a chainsaw to wield. If, on the other hand, you are a creative artist, then it seems well worth the risk, as this video demonstrates. In this case the robot is a standard industrial arm with an electric chainsaw mounted where the gripper would normally go. Exactly what the robot is doing isn't obvious to the viewer, but once it is finished the whole thing is disassembled to reveal two wooden stools and some interesting shapes. A robot with a chainsaw is just a subtractive 3D printer." -
JavaScript Comes To Minecraft
mikejuk writes "JavaScript is the language of the client and it is becoming the language of the server. Now it seems set to be the language of Minecraft. ScriptCraft is a Minecraft mod that can be added to the game to allow the player to use JavaScript commands. Walter Higgins ported the Rhino JVM implementation of JavaScript in a few spare weeks over Xmas. Some additional JavaScript classes allow the construction of blocks making it possible to automate construction. It also provides a 'turtle like' drone class that makes it easier to move in 3D. It makes use of a fluent API to create a domain specific language for movement. As its creator says: 'Ultimately I think the ScriptCraft mod could be used to take building in Minecraft to a whole new level. With a full-blown language at the Player's disposal, it should be possible to create not just castles and forts but entire road networks and cities.' Most importantly of all, it not only pushes the boundary of Minecraft, it also provides a way to get kids who are already hooked on Minecraft to start learning JavaScript." -
C Beats Java As Number One Language According To TIOBE Index
mikejuk writes "Every January it is traditional to compare the state of the languages as indicated by the TIOBE index. So what's up and what's down this year? There have been headlines that C# is the language of the year, but this is based on a new language index. What the TIOBE index shows is that Java is no longer number one as it has been beaten by C — yes C not C++ or even Objective C."