Tag Archives: iftt

TraceGL: A JavaScript Codeflow Visualization and Debugging Tool using WebGL

Rik Arends has just released TraceGL, an interesting JavaScript codeflow debugging tool using WebGL for its UI rendering.  Described as “an oscilloscope, for code”, TraceGL is an improvement on the familiar step debuggers that can be found in browser dev tools like Chrome, Firebug, and now Firefox itself.

TraceGL works by instrumenting all of your code so it knows when calls took place, and all of the boolean logic that determined which code path to take.  Then it visualizes all of this, using WebGL for performance, showing you a high level overview called the “mini map” in the top left, a log of function calls in the top right, the call stack in the bottom left, and finally the code for the function in the bottom right.

As your code runs, TraceGL visualizes all of this data in real time.  The mini map is useful to see the ebbs and flows of the code, i.e. where the stack gets deeper and shallower again.  In this way, you can see where events are being processed, like mouse or keyboard events in the browser, or HTTP requests in a Node.js application, and then get to a section of the potentially very long call stack very quickly.  TraceGL even works over asynchronous events, unlike most step debuggers, which means that these operations are still shown as part of a single call stack under their originating calls, rather than as separate events.

Here is a video showing TraceGL in use:

TraceGL can instrument both browser based and Node.js applications, and integrates with various editors so that double clicking a line can open your favorite editor.  An interesting aspect of the UI is that it is written entirely using WebGL, apparently for performance reasons.  Of course, all of the text rendering (most of the UI) must have been done in a 2d canvas and then uploaded to WebGL as a texture since WebGL has no native text rendering capabilities, but clever rendering tricks like only re-rendering what has changed can make things fast.  And once the textures are on the GPU, moving them around, scaling them, etc. using shaders is very fast.

I think we’re probably going to see more and more WebGL user interfaces soon.  We’ve seen a lot of 3D stuff written on top of WebGL, and it is certainly good for that, but I’m betting that normal 2D user interfaces on the web will start being written with it too, just thanks to its great performance characteristics.  HTML and CSS is great for documents and applications, to a point, but for web apps to compete with native on performance, hardware accelerated UIs on top of WebGL will be important.

Of course, building user interfaces using WebGL means that any text rendering that is done won’t be selectable, copyable, or accessible to screen readers without lots of additional work, so I can see frameworks being developed to facilitate this.  I’ve already been working on and off on something similar to Apple’s Core Animation framework on top of WebGL (not public yet), and other interesting 2D frameworks like Pixi.js have been released recently.  Especially with WebGL’s likely support in Internet Explorer 11, I think the age of WebGL user interfaces is upon us, and it’s  exciting!

You can check out TraceGL on their website.  It costs $15 to buy, but not all good tools are free and it’s nice to support good developers, so give it a shot and let me know what you think in the comments!

via Badass JavaScript http://badassjs.com/post/48702496345/tracegl-a-javascript-codeflow-visualization-and

Research team restores monkey’s hand function with artificial neural connection

Japanese researchers restore hand function to monkey with artificial neural connection

Scientists working together from Japanese and American universities may have made a pretty large leap in restoring neural function for those with non-paralyzing spinal cord injuries. The researchers applied a “novel artificial neuron connection” over lesions in the spinal cord of a partially paralyzed monkey, partially restoring its arm / brain circuit and allowing greater hand control purely by brainpower. The team also created a reverse circuit where muscle activity from the arm stimulated the spinal cord, reinforcing the signals and “boosting ongoing activity in the muscle.” There’s no word on whether it would help those with full paralysis, though for lesser “paretic” damage, “this might even have a better chance of becoming a real prosthetic treatment rather than the sort of robotic devices that have been developed recently,” according to the team. See the source and More Coverage links for more.

Filed under:

Comments

Source: National Institute for Physiological Sciences

via Engadget RSS Feed http://www.engadget.com/2013/04/11/researchers-artificial-neuron-restore-hand-function-monkey/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+weblogsinc%2Fengadget+%28Engadget%29

Nordkorea droht mit ultimativer Drohung, falls Welt Drohungen nicht ernst nimmt

Pjöngjang (dpo) – Erneutes Säbelrasseln aus Nordkorea! Der Diktator Kim Jong-un kündigte heute im Staatsfernsehen an, notfalls zur furchtbarsten Drohung aller Zeiten zu greifen, falls die Welt nicht sofort aufhören sollte, die bisherigen Drohungen Nordkoreas zu ignorieren. Militärexperten nehmen die Drohung mit der Drohung ernst, denn niemand kennt das nordkoreanische Arsenal an Einschüchterungen genau.
Weiterlesen…

via Der Postillon http://www.der-postillon.com/2013/04/nordkorea-droht-mit-ultimativer-drohung.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FrkEL+%28Der+Postillon%29

BioniCopter’s the Giant Robot Dragonfly You Will Want to Freak Out Your Friends With

Need another reason to go to the Hannover Messe tech conference next month? How about seeing the official debut of BioniCopter, a mechanical dragonfly with a wingspan measuring over two feet? If you can’t fly all the way to Germany to check it out, though, don’t fret — we’ve got you covered with footage of the coolest enormous robot bug you will ever see.

BioniCopter was built by Festo, a tech firm that has taken cues from nature to improve robotic flight before with their SmartBird. With a 63-centimeter wingspan and weighing in at just 175 grams, BioniCopter is a pretty neat addition to their lineup that offers some insight into new types of flight.

Though it’s not on display in the video, Festo brags that the BioniCopter’s dragonfly-inspired design allows it to do all sorts of neat things in the air, like glide, make hard banking turns, hover in place, and even fly backwards. We’ll look forward to seeing the proof of those claims after the robot makes it’s official launch at the trade show next month.

(via Canadian Manufacturing)

Relevant to your interests

via Geekosystem http://www.geekosystem.com/giant-robot-dragonfly/

Reine Verzweiflung? Microsoft zahlt US-App-Entwicklern 100 Dollar pro Anwendung

Microsoft ist auf mobilen Geräten deutlich unterrepräsentiert. Zum einen hat der Konzern vergleichsweise spät entschieden, sich auf das Parkett des mobilen Marktes zu begeben. Zum anderen gibt es aber auch wenige Applikationen für Windows 8 und Windows Phone, die Nutzer dazu bewegen könnten, das System zu wechseln. Damit sich das ändert, will das Gates-Imperium nun Entwickler mit Prämien locken.

kostenlose windows 8 apps uhr
Windows 8 – Noch sieht der App-Screen leer aus.

Im Rahmen der Aktion „Keep the Cash“ erhalten US-Entwickler 100 Dollar für neue Apps, die sie bis 30. Juni einreichen. Insgesamt wurde für die Aktion eine Million Dollar freigesetzt. Teilnehmer dürfen maximal zehn Einträge pro Plattform (Windows 8 und Windows Phone) einreichen und können insgesamt bis zu 2.000 Dollar verdienen, wenn sie die Qualitätskriterien einhalten und ihre Entwicklung es unter die ersten 10.000 bestätigten Apps schaffen. Microsoft fährt damit die gleiche Schiene wie zuletzt auch schon Research in Motion (RIM). Der kanadische Hardware-Hersteller hat im Januar ebenfalls mit einer 100-US-Dollar-Prämie Entwickler aufgerufen, Applikationen für die damals kurz vor dem Release stehende Blackberry-10-Plattform einzureichen. In knapp 37,5 Stunden kamen so bereits 15.000 Apps zusammen, twitterte damals der RIM-Manager Alec Saunders.

well there you have it.37.5 hours in, we hit 15,000 apps for this portathon.Feel like I’ve run a marathon.Thanks to all the devs!

— Alec Saunders (@asaunders) 13. Januar 2013

Doch ist das nun ein Erfolg oder eher ein Armutszeugnis? Die Meinungen darüber gehen auseinander. Zum einen ist klar, dass weder Microsoft noch Blackberry Möglichkeiten ungenutzt lassen dürfen, sich weitere Anteile am Tablet- und Smartphone-Markt zu sichern. Die beiden einstigen Marktführer ihrer Sparten haben nämlich stark zu kämpfen, wenn es darum geht, sich auf diesem zukunftsträchtigen Segment zu behaupten. Allenfalls rivalisieren beide Protagonisten nur noch um Platz drei – abgehängt von Apple und Google. Auf der anderen Seite runzeln nicht zuletzt altgediente Microsoft-Veteranen die Stirn und befürchten, sich mit solchen Aktionen der Lächerlichkeit preiszugeben und bezweifeln zudem die Qualität der Applikationen.

Kritik aus den eigenen Reihen

So hat zum Beispiel der ehemalige Windows-Phone-Manager Charlie Kindel bereits im September 2012 in einem Blogbeitrag davor gewarnt, Entwickler für Apps zu bezahlen. Kindel sprach von „einer schlechten Idee“ und sieht solche Vorstöße als „ein Zeichen der Verzweiflung“. Er glaubt zudem, dass man dadurch eine Plattform nur kurzfristig künstlich am Leben halten könne, langfristig mit solchen Aktionen aber nichts erreichen würde. Einen Unterstützer seiner Sichtweise findet Kindel auch bei dem inzwischen ehemaligen Windows-Spartenchef Steven Sinofsky. Dieser soll auch ein strikter Gegner solcher Aktionen gewesen sein, wie man im Blogpost weiterliest.

Doch riskiert Microsoft einen möglichen Image-Schaden und eine fehlende Qualität der Apps tatsächlich einzig und alleine, um ein paar Zahlen zu schönen, wie es viele weitere Kritiker behaupten? Fakt ist: Mit gerade einmal 150.000 Einträgen sieht die Bilanz an Applikationen beispielsweise gegenüber der des Apple-App-Stores oder des Google-Play-Stores geradezu mickrig aus. Beide Plattformen warten mit ungefähr 800.000 Applikationen auf. Gegen diese These spricht allerdings, dass das IT-Unternehmen aus Redmond mit einigen Einschränkungen einen haltlosen Ansturm auf die Aktion verhindern möchte. Es dürfen beispielsweise keine Applikationen eingereicht werden, die als Kopien anderer Anwendungen gelten könnten. Außerdem darf die Software nicht einfach auf andere Webseiten verweisen und die jeweiligen US-Entwickler müssen zudem das 18. Lebensjahr vollendet haben, um an „Keep the Cash“ teilnehmen zu können.

Ob die Aktion nun Früchte tragen wird oder nicht, wird man endgültig erst anhand der folgenden Quartalsberichte erkennen können. Bis dahin wird Microsoft weiter um Luft ringen im Kampf um jeden potentiellen mobilen Nutzer.

Titelbild: (Foto: Carlos Varela  / flickr.com, Lizenz: CC-BY)

via t3n News http://t3n.de/news/reine-verzweiflung-microsoft-452142/?utm_source=feedburner+t3n+News+12.000er&utm_medium=feed&utm_campaign=Feed%3A+aktuell%2Ffeeds%2Frss+%28t3n+News%29