News for hackers. Stuff that matters.

jonpacker

Re:Proton Meet on Thursday May 07, 2026 @04:12AM (#48046777)
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.
Re:Monaspace on Monday November 13, 2023 @06:26AM (#38249088)
Try the "Recursive Mono" or "PT Mono" variants of Iosevka.
Re:Living in Airbnbs Full Time Isn’t Easy on Monday June 12, 2023 @05:08AM (#36290475)
You can actually use the bottom of a ceramic mug as a whetstone to sharpen knives if you're dedicated enough!
Re:How Norway has avoided the 'curse of oil' on Tuesday August 26, 2014 @08:18AM (#8226681)
Minke whales are not in any way endangered (or close to it). Check your facts. https://en.wikipedia.org/wiki/Minke_whale
Re:Multiline strings in JavaScript on Saturday July 12, 2014 @10:24AM (#8024603)
So you would suggest using external text files to store every SQL/Cypher query that is used in a model-based node app?
Re:Human JavaScript on Friday June 27, 2014 @05:14AM (#7953287)
I use Browserify with Coffeescript modules, and the source maps work great. I'm using Coffeeify to do it: https://github.com/jnordberg/coffeeify
Re:V8 Optimization Killers on Wednesday June 25, 2014 @11:45AM (#7944663)
Chrome on iOS is Safari in a box.
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.
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.
Re:PythonJS now faster than CPython on Sunday June 08, 2014 @04:53PM (#7865869)
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...
Re:PythonJS now faster than CPython on Sunday June 08, 2014 @04:50PM (#7865857)
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
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.

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).
Re:The Jolla phone – first impressions on Friday November 29, 2013 @06:01AM (#6818884)
"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.
Re:We switched to Node.js: the good and the not so good on Monday January 14, 2013 @06:57AM (#5054290)
They did not say anywhere that the 25% speed gain was the reason they did it...
Re:Escape from Callback Hell: Callbacks are the modern goto on Friday November 02, 2012 @03:49PM (#4734418)
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.
Re:Introducing the Redesigned Bitbucket on Tuesday October 09, 2012 @06:40PM (#4634292)
Interesting. I use Github's issue tracker every day and love it to bits.
Re:Nokia sells Qt to Digia on Thursday August 09, 2012 @04:24AM (#4360127)
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.
Re:Nokia sells Qt to Digia on Thursday August 09, 2012 @04:10AM (#4360087)
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.
Re:The Australian boys who built a $1b company in the cloud on Thursday June 28, 2012 @04:30AM (#4170782)
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.
Re:Hello Opera 12 on Thursday June 14, 2012 @05:12AM (#4110451)
I can back that up, it's the same case for me.
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.
Re:Try Haxe on Sunday June 10, 2012 @02:22PM (#4091739)
I think his comment could be refrased as "This language looks like Java"
Re:Windows Azure Dance Routine on Saturday June 09, 2012 @09:15AM (#4088011)
This was Microsoft, not Scandinavia. Noone was impressed by what they did. Apart from this, it was a great conference.
If you take an hour to sit down and understand the type coercion, all of these "hidden surprises" magically disappear.
Re:Is The Norwegian Startup Scene Hot Or Not? on Tuesday May 08, 2012 @06:17PM (#3946068)
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.

Re:Is The Norwegian Startup Scene Hot Or Not? on Tuesday May 08, 2012 @06:10PM (#3946027)
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?
Re:All Web Developers Should Stop Doing This Immediately on Thursday February 16, 2012 @04:20AM (#3597965)
Furthermore, the author was just about to stream a video which would likely be much larger than the app itself.