Angry Kittens with battle axes
Team Angry Kittens (Christopher Larsen, Maya Kenedy, Alex Christodoulou, Ernst Riemer) do battle at the Paypal BattleHack and head up first place with their iBeacon-based child locator app, Security Blanket. The prize: a full-scale battle axe.
They will be flying out to the World Paypal BattleHack finals in November in San Jose, California.
First Week Thanks
Today is the last of the first week of my 12-week internship with Labs. Everyone I've met has been super welcoming and helpful. Thank you all.
Base64.decode64 encodes your string to US-ASCII
This can possible give you really weird errors (incompatible character encodings: UTF-8 and ASCII-8BIT) on your views in Rails.
You can convert the string using "ASCII-encoded"..force_encoding('UTF-8').encode
Read more about why this happens here: http://blog.zachallett.com/base64-decode64-does-bad-things-if-you-are-expecting-utf-8-encoded-strings
Robolectric 2.3 Released
We're happy to announce that Robolectric 2.3 has been released!
- Robolectric will now load (at runtime) the Android SDK that matches either the value of targetSdkVersion or the value specified in a @Config annotation.
- Robolectric now uses a real implementation of SQLite instead of a collection of shadows and fakes. Tests can now be written to verify real database behavior.
- Robolectric will now parse content provider declarations from your manifest and return them via the ContentResolver mechanism. In addition, CursorLoaders and AsyncTaskLoaders are now correctly tied into Robolectric's scheduler mechanism.
- New ServiceController component (similar to ActivityController) which can be used to safely drive a service through its lifecycle.
- Meta-data values, permissions, and intent filters are now parsed out of the manifest and available from ShadowApplication
- Removal of a bunch of unnecessary shadows.
- Lots of resource and manifest parsing fixes.
- Lots of miscellaneous improvements to shadows.
- The reflective lifecycle methods on ShadowActivity (callOnCreate, callOnResume, etc) have been removed. You are now required to use an ActivityController to move an Activity through its lifecycle.
Awesome save_and_open_page by setting the asset_host for Capybara
Problem: You've got a failing Capybara spec, so you drop in
save_and_open_page but it only shows you a un-styled mess of HTML, but at least you can inspect the DOM. Alternatively you try using
caoybara-screenshot but it's just an image so you can't inspect DOM or copy text.
Solution: Set your asset host for Capybara ,
Capybara.asset_host = 'http://localhost:3000' and now it'll be able to figure out where your assets live. You'll get rich pages the way you'd expect them to be rendered while still being able to inspect the DOM and select text.
Monday: Lunch Tech Video – Rich Hickey – Simplicity Matters (Titanium)
Unique root domains visited in Chrome
One way to try and make sense of all the online accounts you have is to find all the root domains you've ever visited in Chrome
Why? Oh maybe you want to have better awareness of who has some of your data and where you might need to change passwords in the event of a major security breach like Heartbleed bug
Oculus Sees Lawsuit
Oculus is being sued by ZeniMax over claims that a software developer took intellectual property with him for use in Oculus.
Next Earbuds to Track Heartrate
A leak claims that Apple's next ear buds will have health tracking features such as heart rate monitor and blood pressure. http://www.theguardian.com/technology/2014/may/01/apple-headphones-heart-rate-blood-pressure-leak-claims
IE Once Again Tolerable
Microsoft released a fix for the Internet Explorer bug that allowed an external user to take control of the machine. http://www.cbc.ca/news/technology/internet-explorer-security-bug-fix-released-by-microsoft-1.2628577
The Netherlands is piloting a project that puts glow-in-the-dark road markings on roadways to reduce the amount of overhead lights needed at night. The pilot has found that the paint is too sensitive moisture (making it too dark), so further engineering will be done. More at: http://www.digitaljournal.com/science/glow-in-the-dark-road-project-abandoned-for-being-too-dark/article/382389
Anniversary of WWW Source Code Release
Source code for the world wide web was release 21 years ago today (30 April 1993). Happy anniversary!
MIT Students get Bitcoins for Research
MIT undergrads will receive 100$ worth of bitcoins this fall when returning to campus. The idea is to promote a local bitcoin economy and help bolster the development of the currency.
More at: http://www.theguardian.com/technology/2014/apr/29/mit-student-bitcoin-wall-street-donor
Apple Begins Manufacturing iWatch Components
Apple is rumoured to have begun the manufacture of "iWatch" components; in time for a launch in the second half of this year.
More at: http://appleinsider.com/articles/14/04/29/apple-again-rumored-to-build-iwatch-components-with-flexible-space-saving-sip-designs
F8 Conference Starts Today
Check it out: https://fbf8.com/
Twitter released it's Q1 financial statements yesterday. Number of active users increased to 255 million, but activity is stagnant or has declined, and so has the stock value.
More at: http://www.theverge.com/2014/4/29/5665752/twitter-q1-2014-earnings
The squirrels need wi-fi
Parks Canada is planning to install wireless internet hotspots in up to 50 of its parks this year, and to triple that over the next three years. More at http://www.theglobeandmail.com/technology/land-of-the-silver-birch-home-of-the-blackberry-wifi-coming-to-canadas-parks/article18319567/
Another reason not to use IE
A bug has been exposed in Internet Explorer versions 6 to 11 that allow someone to gain complete access to your computer. The problem is severe enough that the US and UK governments have cautioned citizens against using IE, recommending using other browsers instead. More at: http://www.telegraph.co.uk/technology/internet-security/10795021/Microsoft-Internet-Explorer-vulnerability-should-you-be-worried.html
SpaceX Suing US Government
SpaceX is alleges the US government engaged in secretive negotiations with another company for a large purchase of rockets, thus blocking the possibility of competition. More at: http://www.extremetech.com/extreme/181469-spacex-sues-us-government-for-secretly-awarding-multi-billion-dollar-military-launch-contract-to-boeing-and-lockheed
When can the government search your phone?
The US supreme court is hearing two cases regarding police searches of cell phones. The ruling will have significant implications for the future legality of cell phone searches; when will a warrant be required.
More at: http://gigaom.com/2014/04/29/cell-phone-searches-at-the-supreme-court-a-guide-to-todays-big-privacy-case-and-where-to-learn-more/
Buried Atari Games
Thousands of old Atari games have been uncovered buried in the New Mexico desert. Among them were 2600 copies of the flopped E.T. games. There will be a documentary released on XBox One. Find out more: http://ca.ign.com/articles/2014/04/26/the-dig-uncovering-the-atari-et-games-buried-in-new-mexico-desert
Google, Apple, Intel, Adobe settle class-action lawsuit
65 000 employees of the four tech giants filed a class action lawsuit alleging that the companies agreed not to poach employees from one another. Employees claim this prevented them from being able to advance their careers and find better job opportunities. Reuters has reported that the settlement totalled $324 million. Find out more http://digitaljournal.com/business/business/tech-giants-conspired-to-hold-down-salaries/article/382246
Date.today == Date.yesterday
Date.today uses your current time zone, while Date.yesterday defaults to UTC. Why the difference? Date.today is a built in Ruby method, while Date.yesterday and Date.tomorrow are Rails helpers. The Rails team doesn't like redefining methods built in to Ruby, so they introduced Date.current to be used with Date.yesterday and Date.tomorrow. The upshot is, late in the afternoon in SF, Date.today will be equal to Date.yesterday, which may lead to unexpected behavior or failing tests.
03/26: Wearable Wednesday
Wearable Wed link: http://www.meetup.com/Wearable-Wednesday-Toronto/
25 spots still open.
They have some fun wearable stuff available for demo, some of which are pre-market release. This meeting focuses on health care related products.