HNHacker News
TopNewBestAskShowJobs

woogley

518 karma · joined June 16, 2010

submissionscomments
woogley··on You might not need JavaScript
ES6 has very little to do with keeping up with Web APIs. See https://platform-status.mozilla.org/

Notably Fetch API and WebRTC for my use-cases.

woogley··on Dark Patterns by the Boston Globe
Interestingly, Boston Globe's registered agent is empty! http://corp.sec.state.ma.us/CorpWeb/CorpSearch/CorpSummary.a...
woogley··on Google.com partially dangerous
There's some conjecture involved but I would be very surprised if Google actually sold AdWords for their own browser.
woogley··on Google.com partially dangerous
Like the other peer comments, this does not show up for me. I'm afraid there's a good chance you already have some malware (or at least a rogue extension) that is inserting ads into your pages.
woogley··on React v15.0
Not currently, because it conflicts with CSP. See https://news.ycombinator.com/item?id=10311020
woogley··on React v15.0
You are thinking of the integrity="" attribute that's part of SRI: https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

That attribute is meant to verify resource contents. The strategy of using it as a cache ID is still being discussed, but last I looked into it, there were some cache poisoning concerns.

You might find this thread useful: https://news.ycombinator.com/item?id=10311020

woogley··on React Native for OS X
That seems unrelated. It's not like Go lets you build GUI Android/iOS apps. Also Facebook has http://hacklang.org/
woogley··on Dear GitHub
waffle.io does this, but having to run on top of GitHub means it can't really fix problems like voting. But it can offer better search and things like that
woogley··on Timing attack against HSTS to sniff browser history in Chrome and Firefox
I think many popular sites will be a false positive because some browsers ship with a list of HSTS domains.. visiting them in HTTP first wouldn't happen. https://code.google.com/p/chromium/codesearch#chromium/src/n...
woogley··on A Good Vimrc
I actually map H to ^ and L to $. In my head it's like "h is left, H is far left"
woogley··on Keep Out – A WebGL Game
This works really great on Android Chrome, it is pretty close to an app experience (not being 60fps is the biggest giveaway). Speaking of Android, FYI the Orientation API is available, so you can lock to landscape and avoid that Portrait interstitial. `screen.orientation.lock('landscape')` at the time of this writing :)
woogley··on Why, oh why, do those nutheads use vi? (2007)
You can use :tabe to open a new tab, and then `gt` and `gT` to switch tabs.

This is somehow controversial to some[1] but it never bothered me.

As far as file navigation though, I just use crtlp[2]

[1]: https://stackoverflow.com/a/103590

[2]: https://github.com/kien/ctrlp.vim

woogley··on Bitbucket Embraces the Cloud IDE
It seems like the correct link would be https://blog.bitbucket.org/2015/02/11/coding-in-the-cloud-wi... since there are more IDEs than just codeanywhere
woogley··on Show HN: I built an extension of JavaScript in a day
Technically, all edge cases considered, `typeof` is the only fool-proof check, since you can't override the string constant `'undefined'` but the `undefined` identifier is fair game.

Here is one such edge case:

    (function () {
      var undefined = true;
      return (function foo(x) {
        return x === undefined;
      }());
    }()); // false
Language pedantry aside, browsers these days will freeze `window.undefined` so you'd have to shoot yourself in your own scope ;)
woogley··on VimR – Refined Vim Experience for OS X
This project uses the MacvimFramework. It might be a dig at Sublime/Atom's re-implementation of Vim keybindings
woogley··on The Mobile Web should just work for everyone
ug, that's already a bad check, but if they insist, why not just:

    /mobile/i.test(navigator.userAgent)
woogley··on The Web Never Forgets: Persistent Tracking Mechanisms In The Wild
Browsing with NoScript, while inconvenient, offers safe-by-default browsing for cases like these. If I see a site I actually want to interact with, I'll fire up a different browser profile and look at it there. If it's a site I want to use regularly, I just add to NoScript's whitelist.
woogley··on A Quick Guide to Sublime Text
Run `vimtutor` to whet your appetite, then use vim full-time and enjoy a brief 2 weeks of Googling things every time you get stuck.

Getting functional with vim takes only an afternoon.

woogley··on Moonshine – A lightweight Lua VM for the browser
I love Lua too but I've tried to get into Moai several times and I just can't seem to stomach it. Maybe I let Corona spoil me.

The documentation is especially off-putting: http://getmoai.com/docs/

woogley··on JavaScript debugging tips
I think this depends on what version of FF you are using. The devtools in Nightly at least have really come a long way. Two very handy features I use that Chrome doesn't have is blackboxing[0] and Shader debugging[1]

[0]: https://developer.mozilla.org/en-US/docs/Tools/Debugger#Blac...

[1]: https://hacks.mozilla.org/2013/11/live-editing-webgl-shaders...

woogley··on Show HN: progre(c)ss
You can also just set dataset[0] on the raw element:

    document.getElementById('myProgrecss').dataset.progrecss = '<PERCENT>';
[0]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...
woogley··on Gap between asm.js and native gets narrower with float32 optimizations
You're looking for Transferable Objects:

https://developer.mozilla.org/en-US/docs/Web/Guide/Performan...

woogley··on Poll: Which hosting provider do you use?
Other: ramnode
woogley··on Sparkey – Key/value storage by Spotify
The project is hosted at Google Code. Last commit was Aug 21: https://code.google.com/p/leveldb/source/detail?r=748539c183...
woogley··on Why no one is looking for ‘rockstar programmers’
think of it as "peaks" of relevance
woogley··on Chrome World Wide Maze
Ask and you shall receive: http://www.html5rocks.com/en/tutorials/pagevisibility/intro/
woogley··on Game Closure launches mobile development suite for free, makes it open source
More discussion: http://news.ycombinator.com/item?id=5221461

I actually tried it out this weekend. Overall it's pretty good.. there are some sharp corners, but when you iron the kinks out, it really does work well. So far I have exported a HTML5 Canvas demo to Android and am excited to try iOS soon.

One thing that needs to happen soon is documentation update. E.g. for the Engine[1] class, `getCanvas` is deprecated[2]. Additionally they don't tell you (or I missed it) that your app/view can supply a `render` function that receives a canvas context directly.

Luckily, there are several demos provided where you can learn these undocumented tricks, but it still shakes my confidence a bit because I don't know if I'm doing things the "right way", or if what I am using will disappear soon.

[1]: http://docs.gameclosure.com/api/appengine.html

[2]: https://github.com/gameclosure/timestep/blob/master/src/ui/E...

woogley··on Why Do Cars Have Brakes?
I have this same car and exclusively use this technique in tunnel traffic. The computer has saved me a few times from accidentally shifting into 1st gear at 40mph ..
woogley··on Hello Chrome, it’s Firefox calling
Chrome 26 shows the Android flag for this. Beta on Android is v25, so 6 weeks or less, hopefully ..
woogley··on Fuse4js - FUSE bindings for NodeJS
For what it's worth, installing from the NPM repository didn't work for me on OSX. Cloning the git repo and running `npm install fuse4js/` worked though.
← PreviousPage 3 of 5Next →