Better HN
topnewbestaskshowjobs
Log inSign up

shellac

902 karma · joined Sep 26, 2012 (14y ago) · 254 submissions

Submissions

comment 8y ago · link · parent

> A New Zealand City the Size of Berkeley, CA

Population of around 120,000 for people like me who found that less than informative.

0.04 Wales, in standard units.

comment 8y ago · link · parent

> ...it was set up to own The Guardian for purely philanthropic reasons.

You're right, of course, but the Scott Trust is not philanthropic in itself. It only exists to keep the Guardian and Observer going as they are. As such when finances become tight there are undoubtedly tensions between the overall philanthropic aims of the Scott family and the brute need for the trust to survive so the papers survive.

The intentions of the Trust were explicitly carried over to limited company in its constitution. Whether that's sufficient to protect it, well we'll see.

comment 9y ago · link · parent

s/Gradle/Graal/?

In the case of python it's clear that the heavy reliance on c extensions is a blessing and a curse: it's kept python relevant in communities like science even though it isn't very fast. However one of the lessons of Graal seems to be that such extensions can seriously prohibit improving performance, since they are opaque to JITs.

There's a few talks by Chris Seaton (e.g. https://www.youtube.com/watch?v=YLtjkP9bD_U) on the topic.

comment 9y ago · link · parent

The sources for this article are provided:

Robert M. Solow - 'We'd better watch out' New York Times Book Review, 12 July 1987

Robert Gordon - The Rise and Fall of American Growth (Oxford: Princeton University Press) 2016 p546-7

Paul A. David - The Computer and the dynamo: An historical perspective American Economic Review, May 1990

Paul A. David and Mark Thomas - The economic future in historical perspective OUP/British Academy, February 2006

Erik Brynjolfsoon and Lorin M. Hitt - Beyond Computation: Information technology, organizational transformation and business performance Journal of Economic Perspectives, Fall 2000

comment 9y ago · link · parent

But there are probably more CPUs running non-java JVM languages ;-) It all depends what you count, as usual.

(I was really referring to the healthy non-java jvm language community. JRuby, Scala, and Clojure have lively communities and commercial backing)

comment 9y ago · link · parent

> JVM - Bytecodes only for Java

Although it should be mentioned that java language semantics are largely (depending on how you measure them :-) absent from the jvm. (Default methods were a very unusual change in that respect)

And, as you say, subsequent history has weirdly inverted the JVM and CIL. The former is a lot less 'J' and the latter is a lot less 'C' ;-)

comment 9y ago · link · parent

> I only thought the erasure was bad because of how Java lacked value types (so my list of T will use heap boxes when T is int).

That's covered by a sibling valhalla feature called 'generic specialisation'. See http://openjdk.java.net/jeps/218.

comment 9y ago · link · parent

This looks nice.

> GraphQL turns the REST paradigm as it's usually implemented on its head: instead of providing a fixed structure of all types and relations in the system, GraphQL defines a schema which your users can query.

I have no idea what that means.

comment 9y ago · link · parent

Only VRML 1.0 was static. VRML 2.0 and VRML97 included animation and events (user and time triggered). As I recall you could program fairly rich behaviours using java or javascript, with collision detection.

comment 9y ago · link · parent

I wish someone would come up with something better than webrtc. It's such a mess, and appears to be impossible to standardise.

comment 10y ago · link · parent

To be honest the issues with rubyspec in the past were sociological more than anything else. It was a right pain making contributions, and certainly not a welcoming community.

Specs have been part of ruby core for quite a while now, thanks to the efforts of other members of the community.

comment 10y ago · link · parent

.local is used for link-local domains, for resolution by multicast DNS ('zeroconf'). See https://tools.ietf.org/html/rfc6762.

Microsoft used to suggest using it for local networks, but now advise against it.

comment 10y ago · link · parent

You can, but see https://www.gov.uk/government/uploads/system/uploads/attachm...

Are digitised copies of older images protected by copyright?

Simply creating a copy of an image won’t result in a new copyright in the new item. However, there is a degree of uncertainty regarding whether copyright can exist in digitised copies of older images for which copyright has expired. Some people argue that a new copyright may arise in such copies if specialist skills have been used to optimise detail, and/or the original image has been touched up to remove blemishes, stains or creases.

However, according to the Court of Justice of the European Union which has effect in UK law, copyright can only subsist in subject matter that is original in the sense that it is the author’s own ‘intellectual creation’. Given this criteria, it seems unlikely that what is merely a retouched, digitised image of an older work can be considered as ‘original’.

comment 10y ago · link · parent

The check is actually very cheap -- you can check the source yourself -- but as you might expect it won't catch all unsafe use.

comment 11y ago · link · parent

I assume it's a reference to tracing JIT (https://en.wikipedia.org/wiki/Tracing_just-in-time_compilati...).

It's a JIT that traces runtime execution, rather than looking at whole method or function bodies. In particular it eliminates control flow, which simplifies optimisation.

comment 11y ago · link · parent

Au contraire:

U+1F594

Unfortunately they name it 'REVERSED VICTORY HAND', which might get people in trouble.

comment 11y ago · link · parent

> With Rust, we pulled time out of the standard library before 1.0, specifically because we knew it wasn't up to the task.

This honestly strikes me a very good response. Saddling a still-growing community with sub-par core datatypes is worse than their absence.

> So if "no library" counts as a "non-broken" library...

Of course if I had phrased my question in terms of the 'first shipped date / time library' then Rust still has a chance to follow this illustrious trajectory for languages (i.e. really mess up). :-)

comment 11y ago · link · parent

> Go's "time" library is deceptively simple.

Has any language initially shipped with a non-broken date / time library? (See: SQL, java, python,...)

Clearly a very hard thing to get right, but post-JodaTime there a fewer excuses for APIs like:

> AddDate(y, m, d) to add a given number of years, months, days:

which pretty much defines 'deceptively simple'.

comment 11y ago · link · parent

> glass is a particular type of liquid ...

No, it's not a liquid.

> ... so its internal structure is all a jumble

That's true. But it doesn't flow, which is a rather significant part of being liquid.

comment 11y ago · link · parent

It's been going for four years and remains a draft, and rechartered earlier this year. As you say, there are a number of implementations (although I don't know how complete they are), so it's not clear why they aren't progressing to recommendation. Software projects :-)

comment 11y ago · link · parent

Fair enough, but how are you defining that web platform? W3C seems like a reasonable bet, but many of the features developers want remain fairly far from recommendation level.

comment 11y ago · link · parent

There are a few WebRTC tools on iOS, including a browser: https://itunes.apple.com/app/bowser/id560478358?mt=8.

WebRTC remains a W3C draft, of course, and had been dragging on horribly.

comment 11y ago · link · parent

> Web people, please don't start to use effects that punish the eyes and offend sensibilities of people using particular browsers.

comment 11y ago · link · parent

It should be 'headquartered'. The UK isn't physically big enough to host such an array, of course.

comment 11y ago · link · parent

The first bit mean you can't direct a question to more than one god, not each god gets exactly one question.

comment 11y ago · link · parent

Andrew Orlowski added 'professional contrarian' to his business card many moons ago. (You can say much the same for the Register in general)

It's a shame because what used to be a useful source is now just noise. Maybe he's right in this case, but who would ever know?

comment 11y ago · link · parent

Mahout and especially Weka are popular in the field, both written in java.

comment 11y ago · link · parent

I'm ignorant here. From what you say it sounds like Typed Clojure is traditionally what we think of as 'types', whereas schema is more along the line of asserts.

Is that fair?

comment 12y ago · link · parent

That's not really true. Java linking happens very late, and so invoking methods at polymorphic call sites does have more in common with 'dynamic' languages than you might think. Hotspot has smalltalk roots, and features like inline caching at call sites together with optimistic fast paths, guards, deoptimisation, and other things that would be familiar from, say, a ruby implementation.

comment 12y ago · link · parent

On larger code bases it can help a lot. You get to a point where you need that config object over in some random function and you start weaving it through constructors. At which point a simple DI system really appeals.

DI code also tends to be more pleasant to test in my experience since it promotes loose coupling.

1
56789