Better HN
topnewbestaskshowjobs
Log inSign up

owencm

226 karma · joined Apr 26, 2012 (14y ago) · 48 submissions

CS Undergrad, Oxford. APM intern, Google.
Submissions

1.

Preact introduced Preact CLI(npmjs.com ↗)

2 points · by owencm · 9y ago · discuss

2.

Reactive Web Design: techniques for making sites “feel” as good as apps(medium.com ↗)

1 points · by owencm · 9y ago · discuss

comment 10y ago · link · parent

Co-author of the article here.

I agree with dpark - an unstated goal of this proposal was for developers to be able to easily move legacy sites with legacy endpoints to long sessions without needing to update those endpoints or pages.

The service worker approach can effectively intercept requests to any endpoint and perform the re-generation of a short cookie if needed, without needing to change every page on the site or the legacy endpoints.

comment 10y ago · link · parent

Co-author of the article here.

An unstated goal (we probably should have stated it, looking back) was for sites to be able to easily move legacy sites with legacy endpoints to long sessions.

The service worker approach can effectively intercept requests to any endpoint and perform the re-generation of a short cookie if needed, without needing to change every page on the site or the legacy endpoints.

One additional benefit is that it minimizes the transmission of the long term token, which is generally good if you're worried about it somehow getting intercepted. You may or may not be too concerned about that risk though.

comment 10y ago · link · parent

(Disclaimer: I work on these features on Chrome)

We're exploring that. It's not 100% clear either way, but I personally hope we can do it.

Feel free to star this issue if you want to keep track of progress: https://bugs.chromium.org/p/chromium/issues/detail?id=516147

comment 10y ago · link · parent

Mods - title should read "Native Mac Notifications Behind A Flag in Chrome Stable"

comment 10y ago · link · parent

http://www.flipkart.com/

comment 10y ago · link · parent

Looks great! Out of interest, does this take advantage of any native features via node or could it also be a website?

I'm curious if the motivation of making a desktop app was just for the "installed app user experience" or because it was needed to access some API.

comment 11y ago · link · parent

FWIW Alex Russell wrote a great article about why our current approaches don't work and why this is interesting to explore: https://infrequently.org/2015/08/doing-science-on-the-web/

[Full disclosure: I work on this project]

comment 11y ago · link · parent

But it's opt out vs opt in which is a huge difference.

comment 11y ago · link · parent

Sites can definitely work offline using the new Service Worker system: http://www.html5rocks.com/en/tutorials/service-worker/introd.... Try this example: https://voice-memos.appspot.com.

comment 11y ago · link · parent

That feature was designed but never built, so his point still stands. In my ideal world sites can do that stuff, they just have to ask, and users can always say no.

comment 11y ago · link · parent

Actually, sites in Chrome can work fully offline today using Service Worker (http://www.html5rocks.com/en/tutorials/service-worker/introd...). And they can get users to add the site to their homescreen, so they have the full icon+offline experience (https://developers.google.com/web/updates/2015/03/increasing...).

comment 11y ago · link · parent

We try and make sure that the Chromium blog (http://blog.chromium.org/) always covers new features as they make it into the new Beta. Imho you should be able to read the beta blog posts on that blog and not miss any new developer shiny things. Also fwiw we're going to try and do a better job of making the release notes link to the appropriate beta blog post on the Chromium blog, I agree we've done a poor job on that in the past.

comment 11y ago · link · parent

Watch the video: it was in 34 generations, each consisting of likely hundreds of attempts.

Mod: please edit title appropriately.

comment 11y ago · link · parent

+100

comment 11y ago · link · parent

This was already possible on desktop using the following flash polyfill: https://github.com/zeroclipboard/zeroclipboard. So on desktop at least this doesn't introduce any new threats, so this seems a little strongly worded to me.

comment 11y ago · link · parent

FYI there is a public proposal on GitHub for an API which would allow developers to control the banner more, particularly it's timing or suppressing it. Hopefully this will happen soon. https://github.com/slightlyoff/AppInstallImprovements/blob/m...

19.

Chrome 41 Beta: New ES6 Features and Improved DevTools(blog.chromium.org ↗)

3 points · by owencm · 11y ago · discuss

20.

How To Assess Your Startup Idea(owencampbellmoore.com ↗)

1 points · by owencm · 13y ago · discuss

comment 13y ago · link · parent

I've started a wiki page on Slant.co for people to outline the main arguments why Soylent may or may not be healthy since these threads can be very hard to follow all the great discussion going back and forth!

Please help me flesh it out so it can help people come to their own conclusion about Soylent's safety: http://www.slant.co/topics/695/~is-it-safe-to-replace-my-die...

comment 13y ago · link · parent

All dislikes on YouTube have disappeared. The link is Gangnam Style showing 8,251,688 likes and 0 dislikes.

23.

All dislikes on YouTube just became likes(youtube.com ↗)

6 points · by owencm · 13y ago · 1 comment

comment 13y ago · link · parent

He also specifically mentions 'cloud'. Just saying.

comment 13y ago · link · parent

Just for clarity's sake, I use F5 to flip bits. Your suggestion in 1) makes sense to me, although I've not read of somebody trying this - if you have any more data on it I'd love to see it.

2) This general idea is a good one and the way it is used in steganography is Wet Paper Codes. These effectively provide options for how to encode short messages so you can select that which best matches the coefficients which already exist. A simple example:

Encode 00 as either 0000, 0001, 0010 or 0011 Encode 01 as either 0100, 0101, 0110 or 0111 And so on

Hence when we wish to send a 2-bit message we often only need to change a single bit in the coefficients to get to a correct code word.

Hence Wet Paper Codes are able to achieve a high ratio of bits transferred to bits flipped.

I'm sure a keyed shuffle is the right way to go, certainly also encrypting is helpful but I see no downside of more evenly spreading changes across an image using a shuffle.

comment 13y ago · link · parent

The whole point of steganography is to not leave any markers. But yes, in theory they could scan them on upload but I'm not exactly sure what their prerogative to do so would be (unless the extension turns out to be used for terrorism that is). And plus, with that many photos to process the low false positive rate is going yo cause them huge problems.
12