HNHacker News
TopNewBestAskShowJobs

andrewgleave

274 karma · joined November 18, 2009

Red Robot Studios
submissionscomments
andrewgleave··on New York City Battles on Against Dutch Elm Disease
I built the Open Elm Project [1] back in 2011 to help mitigate the risk caused by lack of funding for professional surveys where I live.

Consists of a Django service with CouchDB as the data store and a couple of web-based iOS and Android apps.

Woefully neglected now since it was not really used. Uptake of mobile apps for this type of thing is difficult – especially in a population of 80k back in 2011/2012.

It looks like iriscouch.com is no longer live, as the data isn't loading on the map. Good thing I had it replicating to another server. :)

Source: https://github.com/andrewgleave/OpenElm

[1] http://www.openelm.org.im

andrewgleave··on Real Viking Ship Completes North Atlantic Crossing
There was a crossing from Trondheim, Norway to the Isle of Man in 1979 and the ship is now housed at the House of Manannin. It's hard to imagine what being on one of these things would be like for any length of time.

There's a very old BBC article on the voyage here: http://www.bbc.co.uk/isleofman/content/articles/2009/07/02/o...

andrewgleave··on Apple-sans-adjectives – A font that redacts Apple-esque superlatives from text
Came here to say the same thing. 'revolutionise' was the third word I typed.
andrewgleave··on My coworkers made me use Mac OS 9
I have a first-gen quad-core Mac Pro (2006) running Yosemite on an SSD. An excellent machine that has provided amazing value and is still my primary development box.
andrewgleave··on Using imagemagick, awk and kmeans to find dominant colors in images
I wrote a small Go tool[1] that extracts a color palette from an image using either median or mean quantizer.

The quantizer code[2] is well documented and worth reading if you're looking at doing this in Go.

[1] https://github.com/andrewgleave/color-extract [2] https://github.com/soniakeys/quant

andrewgleave··on Flexbox in 5 minutes
Safari 9.0 and WebKit builds seem to show conformance in my limited testing.
andrewgleave··on PostgreSQL 9.5 New Features with Examples [pdf]
The JSONB 9.5 operators have been backported to 9.4 and are available here:

https://github.com/erthalion/jsonbx

andrewgleave··on How I Start: Go
I recently wrote a Go weather backend as part of a talk I did on React and hooked into Forecast's API (which the author mentions as an exercise).

https://github.com/andrewgleave/react-weather

It's very simple, but I'd be interested to hear feedback on making it more idiomatic Go.

andrewgleave··on Effeckt.css
Setting -webkit-perspective can also trigger aliasing on transformed elements. 24 ways has a good intro to 3D transforms:

http://24ways.org/2010/intro-to-css-3d-transforms/

andrewgleave··on Microsoft helped the NSA bypass encryption, new Snowden leak reveals
Take a look at Alex Ionescu's "Ninja's and Harry Potter" talk from NoSuchCon this year [1].

He specifically mentions he could access the FileVault key of a machine by having physical access, and discovered two secret keys (KPPW and KPST) one of which is enabled when the input buffer is "SpecialisRevelio" [2].

It's a very interesting deck to read through.

[1] http://www.nosuchcon.org/talks/D1_02_Alex_Ninjas_and_Harry_P... [2] http://harrypotter.wikia.com/wiki/Specialis_Revelio

andrewgleave··on Are mobile web apps really slow?
Anyone interested in optimising their mobile web applications should watch Apple's Safari tracks from this year's WWDC.

They have plenty of advice on improving general performance and how to use the WebKitInspector to measure performance problems.

Some key take aways:

Avoid using libraries (like jQuery) unless you really need them - It will reduce memory consumption significantly.

Be careful how often you're invalidating style/layout info and forcing recompilation.

Avoid using onscroll events to do layout. Especially when you're likely to inadvertently invalidate styles/layout at the same time e.g. accessing element offsets and positions

andrewgleave··on Why mobile web apps are slow
Anyone interested in optimising their mobile web applications should watch Apple's Safari tracks from this year's WWDC.

They have plenty of informative advice on how to improve general performance and how to use tools WebKit provides to measure performance problems.

Some key take aways:

Avoid using libraries (like jQuery). It will reduce memory consumption significantly.

Be careful how often you're invalidating style info and forcing recomuptation

Avoid using scroll handlers to do layout (especially when you're likely to inadvertently invalidate styles at the same time)

andrewgleave··on What's Wrong with the iOS 7 Icons?
If this is really an issue, the large, talented group of designers at Apple will fix it before GM.

They are employed by probably the most design-sensitive company around precisely because they're at the top of their game – they won't be oblivious to blundering inconsistencies.

If it's not, it will be forgotten about within days of the OS's release by nearly all users.

andrewgleave··on Microsoft Office Mobile arrives for iOS
It will look perfectly at home on iOS 7.
andrewgleave··on Elon Musk: "I am terminating the interview."
Likely he's hedging on supercapacitors as well as battery technology both playing a role in Tesla's future.

He's publicly stated that he believes that supercapacitors will eventually replace batteries long-term, and there is already some interesting progress being made, e.g. http://vimeo.com/51873011

A supercapacitor + battery hybrid would be interesting given the difference in charge profile. Similar to the concept behind Apple's Fusion Drive: http://en.wikipedia.org/wiki/Fusion_Drive

andrewgleave··on The Future of Human Data Interaction
Bret is releasing the next video in this series on the 28th of May.

http://worrydream.com/#!/MediaForThinkingTheUnthinkable

andrewgleave··on Layer Trees vs. Flat Drawing: Graphics Performance Across iOS Device Generations
As an aside: If Apple do transition to a flatter UI (yes, I know it's all rumor and speculation, but humor me), I'd expect to see a reasonable jump in UI responsiveness of older iOS devices.

Not having to load many Retina-sized background images for UI elements would significantly decrease memory pressure on the OS as well as increase responsiveness.

NB. Assuming older devices will be able to upgrade and that texture-heavy UI elements would be phased out.

Edit: Typo

andrewgleave··on Forecast – Worldwide Weather Forecasts From the Makers of Dark Sky
The mobile app is great on iOS 6. Negates the need for a native version IMO.
andrewgleave··on A Russian Gains Prominence Among Fine Watchmakers
I built a simple site for George in 2008. Nice guy, died last year. I took a video of his co-axial escapement model a couple of years ago:

http://www.youtube.com/watch?v=NMWpT-MniFo

andrewgleave··on Reverse engineering the Mac ‘breathing’ LED
The LED or SIL (Status Indicator Light), is controlled by the Mac's SMC. You can fiddle with how it operates by setting the relevant keys using IOKit.

http://www.parhelia.ch/blog/statics/k3_keys.html gives details on some of the Mac's LSx SMC keys.

andrewgleave··on New iPhone app identifies trees from photos of their leaves
Great app. Next week I'm releasing a project for the Isle of Man which crowdsources the recording of location and health of Elm trees (via iPhone and Android app). The Island is one of the very few locations in the UK which still have a healthy population but has recently suffered funding cuts meaning Gov. surveys are no longer being done, and hence the need for a public solution.

If the app could recognise more species of elm (English and American seem to be there, but no Wych or Dutch for example), would be a valuable tool for users trying to contribute to the project.

The source for the Django app and PhoneGap-based mobile app will be up on GitHub next week, and the data is publicly available via our CouchOne instance (http://redrobot.couchone.com/_utils/database.html?openelm) – the project isn't live yet so there's only a small amount of data.

andrewgleave··on IPhones and 3G iPads log your location in an unencrypted file on the device
I seem to remember this being talked about at one last year's WWWDC sessions.
andrewgleave··on Mac OS X hidden features and nice tips & tricks
Hold Ctrl-Shift while moving your cursor over the Dock to temporarily enable magnification.

Useful when your Dock is crammed with tiles.

andrewgleave··on Data.gov & 7 Other Sites to Shut Down After Budgets Cut
This is very disappointing.

Later this month I'll be releasing the first open data project for the country where I currently live – the Isle of Man.

I used data.gov as an example of what can be done, why it's important, and also to get initial funding for the project.

andrewgleave··on Mobile Safari bookmarklet to enable AirPlay video for web content
I've just tried it on the WiFi light painting video posted here last week (http://news.ycombinator.com/item?id=2270878) and it worked fine. You need to stop the video first, run the script, and then you're good to go.
andrewgleave··on Mobile Safari bookmarklet to enable AirPlay video for web content
Hi, author here :)

The bookmarklet seems to work best on content which uses the <video> element rather than <embed>. I'm not clear why, as Apple's documentation says it should work with embedded content (see http://developer.apple.com/library/ios/#releasenotes/General...) but it seems more fragile.

Hope you find it useful. Comments welcome!

andrewgleave··on Millions of People Now Get Live Streaming Video Sent to Their Phones
We're currently working on Streamory.com (http://www.streamory.com/). It's a simple HTTP live streaming service with single-click stream and VOD publishing. It's designed for small-scale and non-tech publishers who want their content available for iPhoneOS devices.

Still pre-beta, but we'll be looking for testers!

← PreviousPage 3 of 3