Skip to main content

Posts

Showing posts from November, 2017

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

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 description UI flow mocks Key Considerations A 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

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 y

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  sunglasses with 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 prod

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