HNHacker News
TopNewBestAskShowJobs

jonpacker

78 karma · joined December 14, 2011

submissionscomments
jonpacker··on Proton Meet
For a start, you can't edit docs on mobile. But if you just use it for a while you notice there's a fairly large amount of bugs which need working on. Try entering a couple of dates and using their autofill to extend the sequence... it's pretty comical.
jonpacker··on Monaspace
Try the "Recursive Mono" or "PT Mono" variants of Iosevka.
jonpacker··on Living in Airbnbs full time isn’t easy (2021)
You can actually use the bottom of a ceramic mug as a whetstone to sharpen knives if you're dedicated enough!
jonpacker··on How Norway has avoided the 'curse of oil'
Minke whales are not in any way endangered (or close to it). Check your facts. https://en.wikipedia.org/wiki/Minke_whale
jonpacker··on Multiline strings in JavaScript
So you would suggest using external text files to store every SQL/Cypher query that is used in a model-based node app?
jonpacker··on Human JavaScript
I use Browserify with Coffeescript modules, and the source maps work great. I'm using Coffeeify to do it: https://github.com/jnordberg/coffeeify
jonpacker··on V8 Optimization Killers
Chrome on iOS is Safari in a box.
jonpacker··on Node's nested node_modules approach is basically incompatible with Windows
I respect where you're coming from, but I disagree. One of the huge advantages of npm for me is that it's so transparent and I can see exactly how it's mapping to the file system. I know exactly which code is being run, from where—because it's incredibly easy to traverse the dependency tree. If you abstract away the fs level and flatten the dependencies into a single folder, you take this away, and you make the dependency tree essentially a big intimidating blob of code that requires slogging through package lists to determine what is actually being used.
jonpacker··on Node's nested node_modules approach is basically incompatible with Windows
I disagree. I think node's approach is easily understandable, and quite robust. It's incredibly easy to dive down the dependency chain and see every package, and know exactly which one is being used where. Not something that can be said about package managers that use the flattened approach.
jonpacker··on PythonJS now faster than CPython
I'm slightly confused by your wording but I think the functionality you're referring to is already available via Object.defineProperty's "get" and "set" options: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
jonpacker··on PythonJS now faster than CPython
You can set a custom getters and setters, but I wouldn't call it operator overloading. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

So...

    > var x = {}
    > Object.defineProperty(x, 'value', { get: function() { return 1 }, set: function() { console.log('set') } })
    > x.value
    1
    > x.value = 2
    set
    > x.value
    1
jonpacker··on Grunt and RequireJS are out, it's all about Gulp and Browserify
Well, to be fair, make and browserify do completely different jobs. You can't substitute browserify for make, nor vice versa.

But to be honest, if you see learning new things as wasting your attention on new fads, I don't think this stuff is for you. I really like trying new things that people have made and seeing what they can do. If that feels like a chore/hardship to you, you absolutely should just keep using make.

jonpacker··on Grunt and RequireJS are out, it's all about Gulp and Browserify
Well, source maps are usually the solution for me. And yes, browserify supports source-mapping all the way back to coffeescript files using browserify-middleware. In the off case that I need to debug something in a browser that doesn't support source maps, you can turn minifying off and usually it is pretty easy to recognise the code you're inspecting, even if it comes from coffeescript. I've never had a case where I've been completely out of luck (usually this case only happens in IE).
jonpacker··on The Jolla phone – first impressions
"The Other Half" on Jolla has a serial port which makes it possible for it to be a keyboard or a battery or an external device.
jonpacker··on We switched to Node.js: the good and the not so good
They did not say anywhere that the 25% speed gain was the reason they did it...
jonpacker··on Escape from Callback Hell: Callbacks are the modern goto
I think it's more likely he found it was not taken on npm so he took it. Async is, these days, one of the most popular libs on npm.
jonpacker··on Introducing the Redesigned Bitbucket
Interesting. I use Github's issue tracker every day and love it to bits.
jonpacker··on Nokia sells Qt to Digia
I'm not disagreeing it took them too long and they did it in a ridiculous way, having already made the MS deal, but I don't understand how you can still say it's "not credible". Go use it.
jonpacker··on Nokia sells Qt to Digia
Have you ever used a meego device? The N9 is a solid phone, and at time of release Harmattan was far better than the Android offering. What makes you say "they had no clue how to turn it into a credible consumer OS"? That seems to be exactly what they did.
jonpacker··on The Australian boys who built a $1b company in the cloud
I've heard really poor things about UQ's IT department though. I've heard that if you're doing IT related things, the reputation of the universities is backwards: Griffith is best, followed by QUT, and UQ is rather poor.
jonpacker··on Hello Opera 12
I can back that up, it's the same case for me.
jonpacker··on MacBook Pro gets Retina Display; MacBook Air updated with Ivy Bridge
Presumably because the € price includes VAT (which is usually 20%+ in the EU), and the US$ price does not. The real US price would vary by state, and they usually don't show the amount of sales tax on the purchase price. This is a tax thing, not an apple thing.
jonpacker··on Try Haxe
I think his comment could be refrased as "This language looks like Java"
jonpacker··on Windows Azure Dance Routine
This was Microsoft, not Scandinavia. Noone was impressed by what they did. Apart from this, it was a great conference.
jonpacker··on Anders Hejlsberg: You Can't Maintain Large Programs in JavaScript.
If you take an hour to sit down and understand the type coercion, all of these "hidden surprises" magically disappear.
jonpacker··on Is The Norwegian Startup Scene Hot Or Not?
Similar to you I can only speak from my somewhat limited experience and group of friends, but since moving here (Bergen) in January from Australia I've met a ton of very well educated, up to date and motivated people working on interesting things.

On the other hand, it seems everyone else is working in Consultancies. I don't know what to make of that.

jonpacker··on Is The Norwegian Startup Scene Hot Or Not?
Also OT - I thought Norway did not allow dual citizenship? http://www.udi.no/templates/tema.aspx?id=7397 - how did you pull it off?
jonpacker··on All Web Developers Should Stop Doing This Immediately
Furthermore, the author was just about to stream a video which would likely be much larger than the app itself.