Posts

Showing posts from April, 2017

And I thought Machine Learning was cool..

Facebook is building brain-computer interfaces for typing and skin-hearing


Facebook is building brain-computer interfaces for typing and skin-hearing Today at F8, Facebook revealed it has a team of 60 engineers working on building a brain-computer interface that will let you type with just your mind without invasive implants. The team plans to use optical imaging to scan your brain a hundred times per second to detect you speaking silently in your head, and translate it into text.

This week - Programming Turns 70

Image
April 12th, 1947: ENIAC, the world's first general-purpose programmable electronic computer, ran the first code written in the modern paradigm, marking the birth of computer programming as a profession.

This first test code ran computations for the hydrogen bomb.
ENIAC could perform complex coded operations like loops, seen today in languages like JavaScript, Ruby and Python.

These first professional programmers were all WOMEN, a fact that took 50 years to be recognised.
Coding ENIAC to solve a single problem would take weeks. Today, you can build a website in a matter of hours!

Apple II at 40: Explore Mac History
On April 17, 1977, the Apple II computer was unveiled. 40 years later, your browser can load and run Classic Mac OS, its successor’s operating system, in seconds.

Github wiki markdown Cheatsheet

Everyone who uses a wiki page on github needs this:

If you are looking for a quick reference to markdown while creating a wiki page , including

John Gruber's original specGithub-flavored Markdown info page.Cheatsheet specific to Markdown Here You can also check out more Markdown tools.

adam-p/markdown-here markdown-here - Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.

What is test sharding?

Test sharding allows you to evenly divide up your tests into groups. The shard index is which "percentage" group you are running.

How the groups are divided is arbitrary as the point of sharding is to parallelize your tests.
Generally used in the context of android:

Here is the code that shows test sharding for android devices:
androidtestlib/src/com/android/test/runner/TestRequestBuilder.java - platform/frameworks/testing - Git at Google android / platform / frameworks / testing / 2fe8aed7542ee05ce504d69656475d1948e9c5b2 / . / androidtestlib / src / com / android / test / runner / TestRequestBuilder.java
Another example of test sharding:

Test sharding manually with ADBTest sharding using an existing framework: Spoon
Another context of where you would hear this term is mongodb:


Sharding Concepts - MongoDB Manual 3.0 Operational Segregation in MongoDB Deployments

Compare two pdf files to get the delta

Image
Problem: Find the delta/diff between two pdf files on a windows machine

Solution:


 Install WinMerge Download and install xdocdiff pluginSelect [Plugins]-[Automatic Unpacking].Unzip file.Copy xdoc2txt.exe and zlib.dll to WinMerge program folder. (Where WinMerge.exe is located)Copy amb_xdocdiffPlugin.dll to sub folder "MergePlugins".In WinMerge, go to Plugins > List and tick the "Enable Plugins" checkbox Choose Plugins > Automatic Unpacking
Or https://github.com/vslavik/diff-pdf

The best way to understand what is Machine Learning

This is probably one of the best single page website that could explain what is Machine Learning using interactive visualizations:


A visual introduction to machine learning Let's revisit the 73-m elevation boundary proposed previously to see how we can improve upon our intuition. Clearly, this requires a different perspective. By transforming our visualization into a histogram, we can better see how frequently homes appear at each elevation.
More to come on ML!