Skip to main content

Posts

"Parsing with Perl 6 Regexes and Grammars" mega book review

This is Moritz Lenz's second book release. One could argue that you  have to tackle the first one, "Perl 6 Fundamentals" before progressing to this one. This is not the case, however, as the book is written in such a way that it can be consumed independently without requiring any kind of knowledge in Perl 6.Saying that, it does however dedicate a chapter to getting started with Per l 6, just enough to ready you to work with its regular expressions.That aside, the author does indeed go into detail explaining the Perl 6 features used in the examples. A question that I also posed to Moritz was whether the knowledge obtained from studying this book is transferable to Perl5 or to other languages, or, is it rather unique to Perl6? Moritz's reply was that the general skills/knowledge is transferable, but p6 regexes and grammars offer much awesome stuff that other implementations simply don't have. So while the material is only applicable to Perl 6, since its implementat…
Recent posts

Hour of Code 2017 Introduces App Lab

t's the time of year when the world-class Hour of Code once more commences; just an hour for introducing coding to the uninitiated, having them complete self guided tutorials. But is a hour sufficient? What can a beginner actually code within this limit? The answer is a bit more complicated than that, so let's find out all about it! Integrated into the larger, worldwide, annual Computer Science Education week, this year taking place December 4-10, Hour of Code's novel mission has always been to get everybody coding, aged from 4 to 104, by providing: "a one-hour introduction to computer science, designed to demystify code, showing that anybody can learn the basics, and broadening participation in the field of computer science". But first of all, why this obsession with Computer Science, in particular in getting  kids as young as 4 to learn to code? The answer is simple. Nowadays code is everywhere around us, from desktop computers to mobile phones and, thanks to w…

Headless Chrome and the Puppeteer Library for Scraping and Testing the Web

With the advent of Single Page Applications, scraping pages for information as well as running automated user interaction tests has become much harder due to its highly dynamic nature. The solution? Headless Chrome and the Puppeteer library. While there's always been Selenium, PhantomJS and others, and despite headless Chrome and Puppeteer arriving late to the party, they make for valuable additions to the team of web testing automation tools, which allow developers to simulate interaction of real users with a web site or application. Headless Chrome is able to run without Puppeteer, as it can be programmatically controlled through the Chrome DevTools Protocol, typically invoked by attaching to a remotely running Chrome instance: chrome --headless --disable-gpu
                     --remote-debugging-port=9222 Subsequently loading the protocol's sideckick module 'chrome-remote-interface' which provides  a simple abstraction of commands and notifications using a straight…

Insider's Guide To Udacity Android Developer Nanodegree Part 6 - Capstone Stage 1

The Capstone, this is what it has all been leading up to.This is where you're set free to design your own project and utilize your own ideas, albeit always within the boundaries set by the specifications. These boundaries are placed for good reason, though.The rubric is there to make you think hard about every detail of your project and to foresee and anticipate every requirement that could lead to congestion or extraneous effort, protecting you from crying out it's "too late" when deep into the project. They take shape in a generic template which sets them in boilerplate text which you are expected to replace with your own comments in order to demonstrate the ability to communicate your ideas formally.They are grouped by : An app descriptionUI flow mocksKey ConsiderationsA list of required tasks After filling out the document you have to submit it and await feedback on it in order to complete Capstone's first stage.This is done for preventing and mitigating pain…

Insight.io - Code Intelligence on GitHub

Ever wanted to browse Github code like an IDE? Tired of cloning repos just to examine their code structure? If the answer to either of these questions is yes then you will welcome Insight.io.

Insight.io adds features such as jump to definition, find references, class hierarchy, directory tree and code search to Github browsing.These become available when you install its Chrome or Firefox browser extension and register for a free account at Insight.io.

The plugin goes hand in hand with the Insight.io indexing service. You can see that the plugin is enabled when its icon becomes visible at the top left corner of the web page you are currently looking at when you navigate to a repository that is indexed by the backend service.
If it isn't then you can always request for the repo to be indexed. Indexed sites are distinguishable from the 'insight.io' prefix which gets prepended to their Github urls as in https://insight.io/github.com/lambdalab-mirror/jdk8u-jdk/ .If you try to ac…

Visual Search Adopted by eBay - will it render Google's search obsolete?

Artificial Intelligence is rapidly taking over all aspects of our lives, from calorie counting, to personal assistance and financial advice. Shopping is no exception. Now, with eBay's new powered-by-AI visual search engine, it's even easier as well as more accurate. The traditional way of searching for that favorite, but elusive, product which you somewhere stumbled upon, was through performing text-based keyword lookups. For example, say while checking your Facebook activity, you notice an ad about boots but your attention is instead drawn to the sunglasses that the model is wearing. From their unique shape you infer that they must be Ray-bans. So the next logical step would be to Google something like "Ray-ban sunglasseswith blue lenses". This query will return a number of product models. But which one is the specific one I've been looking for? Is it model RB3025, RB4239, or maybe RB4221?
Of course, the vaguer the query the vaguer the resulting product listing…

3D Face Reconstruction with Neural Networks applied to Art

In yet another AI breakthrough, researchers from the University of Nottingham Computer Vision laboratory, have managed to transform 2D facial images to their 3D counterparts in a most productive and efficient way and have made the project available for the rest of us to enjoy. The best part is that it can even work with Art such as historical portraits and pencil sketches. Scientifically the process of mapping facial pixels to 3D coordinates falls within the realm of 3D face reconstruction and is one of the most difficult problems that Computer Vision and Graphics research is trying to solve.
full article on i-programmer.info