HNHacker News
TopNewBestAskShowJobs

callum85

5,586 karma · joined December 1, 2011

twitter.com/callumlocke
submissionscomments
callum85··on When IE gave us beautiful, fast touch interactions, and nobody cared
It's just you. Most people would agree 6-7 years counts as "many" in this industry.
callum85··on The best practices of HTTP1 are harmful in a HTTP2 world
Several comments are misinterpreting the article, I think, as saying that your site will be slower than before when you switch to HTTP2 if you're still using the old techniques. In fact, nearly all sites will just magically speed up thanks to basic improvements like header compression.

But, by continuing to use the old hacks, your site won't be as fast as it could be. It's an opportunity cost. Some of those opportunities being:

- increased cache granularity (avoids invalidating a whole sprite or concatenated bundle when just a single part changes)

- parallel downloading of files that were previously bundled into one file

- fewer DNS lookups, now that you're not sharding

- less energy/memory usage in the client because you're not decoding/remembering whole sprites

And the subtlest, biggest win:

- simplifying your build process.

callum85··on Ask HN: Is it safe to use Facebook's open source projects?
Who is downvoting this? Could you comment and explain why?
callum85··on Extracting the SuperFish certificate
Be very careful accusing people of racism. When you get it wrong, you undermine complaints about real racism.
callum85··on Explore the Swiss Leaks Data
The complete list isn't public. Limited parts of the list have been given to relevant tax organisations in different countries. (Look up Hervé Falciani, the whistleblower, for more details.)

This feature probably shouldn't be called "Explore the Swiss Leaks Data".

callum85··on Testosterone is the drug of the future
How could there be a placebo for meditation? A placebo has to replicate the experience of going through the 'real' treatment being trialled. How could you create the experience of meditation without the subject actually meditating? The claim being tested is simply that the experience of meditation is beneficial, so I don't know what form a placebo could take.

It would be OK to do a trial where one group is instructed to meditate and the other is not given any instructions, and you check back with each group in a couple of weeks and ask them how they feel. If there's a difference in the meditation group, that proves there is value in meditating. Placebo doesn't come into it, because no one is claiming there is any benefit to meditation that doesn't come from simply experiencing it.

For comparison, I once heard of a way of testing acupuncture against a placebo – someone invented needles that look and feel the same but don't actually penetrate the skin. So they could compare the reported benefits of 'fake acupuncture' with real acupuncture, and see if there's any health benefit to the physical intervention, or if it's all just theatre. And if it is all just theatre, that's OK – it doesn't negate the health benefits of acupuncture, it just helps us understand that it's all about the experience of having someone slowly and dramatically stick pins in you, which is interesting. It's not the same as saying that acupuncture doesn't work.

callum85··on The Tar Pipe (2010)
For some reason, 'tar|tar' is many times faster than 'cp -a' (at least, when you're copying thousands of small files in deeply nested directories, on OS X). I noticed this once through experimenation, tried to find out why, and never got a good answer.

The other thing is that hard-linked files are apparently handled differently: http://stackoverflow.com/questions/316078/interesting-usage-...

callum85··on Vivaldi – A new browser for our friends
Aside from being draggable, the little gap gives an important visual clue, it spells out the hierarchy between window>tabs. I would guess that user testing backs this up, i.e. people are probably worse at completing tasks like "Move tab X from window A to window B" when the gap is removed.
callum85··on Vivaldi – A new browser for our friends
How have they made it so anyone using their engine is a 2nd class citizen? Does the engine perform differently outside Safari?
callum85··on Disproportionately Common Names by Profession
I don't get why this is presented as a 'chart'. Do the layout and colours mean anything? Or is it just a set of lists laid out in circles for no reason?
callum85··on CGI Using Node.js
I don't think it's just meant for testing. They choose to make the first dyno free so people will build on their platform. I have a couple of low traffic production apps that run fine at one dyno. If these apps ever get more traffic then maybe I'll scale them up and Heroku will get some money. I think that's the deal that Heroku is offering. I don't think I'm abusing their "generous offer". It's just business, from both sides.
callum85··on PleaseWait.js – Show your users a beautiful loading page while your app loads
I think it's nauseating when websites have non-ironic conversational copy ("Hey there! How are you feeling today?" as a prompt to write a status update on Facebook).

But on the NPM site I think it's different, it's a joke. It says "you look lovely today, btw". That's clearly mockery/irony. The help section is headed "you need help", for example.

callum85··on PHP Install Statistics
But it does make you much less vulnerable, because you're only vulnerable to the tiny proportion of attackers who have discovered a zero day exploit.
callum85··on Theater Chains Decline to Show Sony’s ‘The Interview,’ Citing Threats
> On the other hand this movie just seems needless, tasteless and unlike say Charlie Chaplin's "The Great Dictator", serves not to be properly satyrical, but rather just as a disgusting empowerment fantasy.

Based on what?

callum85··on The State of Desktop Applications in Node.js
This is great. Did you use node-webkit?
callum85··on The State of Desktop Applications in Node.js
I disagree. App file sizes are displayed in app stores because many users care about them.

A significant number of users would notice an app being dramatically larger than it ought to be. I've seen a lot of reviews like "why the hell this app over 100mb??!!1". There is a huge spectrum of technical competence between "I don't have any sense of what a megabyte is" and "Developer".

callum85··on The State of Desktop Applications in Node.js
It's nothing to do with how much space it will take up. The problem is that, as a user, I would be very suspicious of a 100MB countdown timer app. I would think that either it's got some kind of adware in it, or just that it's incompetently designed.
callum85··on The State of Desktop Applications in Node.js
I would agree with you if you were talking about 20MB. I think that would be my threshold for not caring about how big an app is, i.e. even if it's something really basic like a countdown timer app I would be OK with it being up to 20MB, because as you say, connections are fast and space is cheap. But 100MB? I don't know.
callum85··on The State of Desktop Applications in Node.js
It's OK that you don't like using HTML/JS, but a lot of people do like using them (which is also OK), and those people are the target audience for things like node-webkit.
callum85··on The State of Desktop Applications in Node.js
Last time I tried building a 'blank' node-webkit app for OS X (using https://github.com/Dica-Developer/generator-node-webkit), the resulting .app came to ~100MB.

Does anyone know the base size for an atom-shell app?

callum85··on MacGap – Build Native OS X Apps with Web Technologies
I think it's fair to say there is more than one definition of 'native'. When discussed in a performance context, it usually means "compiled not interpreted", as you suggest. But in a different context, it just means an app that you have in your Applications folder, as opposed to something you access by visiting a URL in your web browser. Whether you like it or not, this latter definition is what a lot of people mean when they use the word native. It's certainly how I read the word on the MacGap site - I never thought for a moment that they are claiming to somehow 'compile' HTML into machine code. So I don't think it's false advertising.
callum85··on MacGap – Build Native OS X Apps with Web Technologies
I just tried building a blank app with node-webkit, and the .app file came to around 100MB. It includes the whole Node/Chromium runtime thing.

With MacGap it's only 1MB for a blank app, apparently. It presumably uses OS X webviews, which don't need to be distributed with it.

Obviously node-webkit has a lot more things going for it, like Node/NPM, and cross-platform support. But the size thing does matter. If you are making a basic little utility app, people are going to be suspicious of a very large download size.

callum85··on Facebook Launches Flow, Static Type Checker for JavaScript
Where is the action at a distance when I use new?
callum85··on Facebook Launches Flow, Static Type Checker for JavaScript
It's an opinionated book that sets out a subset of JavaScript that you should use, avoiding all the 'bad parts'. This subset is what tools like JSLint and JSHint were designed to promote - they flag you up if you use a bad part. It's a seminal work. These days I find some of its rules a little dogmatic (for instance I like the 'new' keyword now), but I'm glad I went through a phase of sticking to it relgiously for a while. It taught me to stop bitching about the weird parts, just avoid them instead. And when you do this, you end up loving the language and making cool shit with it. Which is a good situation to be in, because it's the most widely distributed runtime in the world.
callum85··on World War II Is Full of Plot Holes (2010)
It's a bit of fun
callum85··on Show HN: Up to date London Underground/Overground station data
No I think having one in the repo is fine.

Housequest looks very good, will use next year if it's still around!

callum85··on Show HN: Up to date London Underground/Overground station data
This is great. Could you add some kind of licence/readme stating that anyone can use the data for free?
callum85··on The Fourier Transform, explained in one sentence
I can't actually work out what this was meant to say. Anyone?
callum85··on Plastc Card
But this is $155. It needs to be an automobile :)
callum85··on Show HN: GoldenLayout – JavaScript Layout Manager
The 'Golden Section' is mystical bullshit.

A 1:1.618 ratio has some geometric properties that are useful in rare situations, but the idea that it is "aesthetically pleasing" is completely unfounded.

Explanation here: http://www.lhup.edu/~dsimanek/pseudo/fibonacc.htm

← PreviousPage 3 of 7Next →