HN user

reyan

65 karma
Posts2
Comments49
View on HN
R: the good parts 12 years ago

How do you deal with interoperability? You Android clients use your Shiny frontend over HTTP? Have you used rserve?

Toward Go 1.3 12 years ago

I think many of us want Go to be something it doesn't want to and will never be. There is potential for a fast, simple, statically typed language; borrowing good ideas from Lisp, ML and others (and NOT resulting in something like Scala).

Yes I have watched Bret Victor's talk. Narrow minded or not, Brooks's predictions held true for more than a decade after the time of writing. I'd like to read your counter-arguments.

I'd say architecture and advances in neuroscience are tangential here. I think the core of the problem is still somewhere else.

* sidenote: Lisp machines weren't at least completely _ignored_ by academia.

I think the author should read Fred Brooks's "No Silver Bullet". Many of his arguments are still valid after 28 years. "There is no single development, in either technology or in management technique, that by itself promises even one order-of-magnitude improvement in productivity, in reliability, in simplicity."

You can easily squash those experimental commits and have "incremental, atomic" commits in history. What it gives you is the freedom with a clean slate after each commit. And no stashing doesn't work because the next experiment might depend on the last one. Not happy? Interactively rebase HEAD~n and get rid of all the experimental stuff. Changed your mind? Git reflog is your friend.

Original blog post: https://www.webkit.org/blog/2910/improved-support-for-high-r...

Note that at the moment WebKit only supports the resolution modifiers (e.g. 1x, 2x, 3x).

The official [draft] specification: http://www.w3.org/html/wg/drafts/srcset/w3c-srcset/

The dimensions in the srcset attribute are the maximum (viewport) dimensions that an image is intended for. e.g.:

    <img src="pear-mobile.jpeg" srcset="pear-mobile.jpeg 720w, pear-tablet.jpeg 1280w, pear-desktop.jpeg 1x" alt="The pear is juicy.">

Or use git-smart (https://github.com/geelen/git-smart). It adds three commands to git. One of them 'smart-pull' which "will detect the best way to grab the changes from the server and update your local branch, using a git rebase -p if there's no easier way. It'll also stash/pop local changes if need be."

Evernote hacked 13 years ago

If Evernote is not using a key derivation function, I don't know what to say.

Evernote hacked 13 years ago

The definition of a symmetric cipher requires the cipher text to be (practically) indistinguishable from random. Length is not particularly useful (multiple blocks, different block ciphers with equal block length).