Recent submissions

Comment · 7 years ago
Looks like Auckland NZ is planning on following this trend by building two tram lines over the next 10 years (CBD down Dominion Rd to Airport, another CBD to West), 60 years after following Sydney's lead of tearing out the trams (first replacing them with electric trolley buses, then removing the overhead lines 20 years later).

I don't see either line making a financial return on the investment, but the NZ government is financing it all by plundering the NZ Super Fund, which was originally intended to provide super payments for NZ's over-65-yr-old retirees. Of course, they're framing it all as "the Fund is making a long-term investment in the country's transport infrastructure", making the eventual huge losses some other goverment's problem.

Comment · 7 years ago
No, I am right, because I didn't say Apache Groovy didn't have lambdas, I said it still didn't have the Java 8 lambda syntax in response to the comment that Groovy was so "ruthlessly" Java-syntax compatible. So you are wrong about me being wrong.

> Netflix used Groovy

Does Netflix still use Groovy? You make it sound like they no longer use it for new coding projects. If they do, you should have written "Netflix uses Groovy" and said what they still use it for.

Comment · 7 years ago
> At some point I switch to full Groovy projects, switching on static compilation

If you let your Apache Groovy scripts get too large before switching on static compilation, you often have to modify the types and logic in your programs before they'll even compile. This problem occurs because static compilation was only bolted onto Groovy for version 2.0 and there's an impedance mismatch between what's required for its dynamic and static modes.

Comment · 7 years ago
> inorganic life, simple life, and sentient life

... and prescient life. Don't forget the next stage on from sentience. The line between sentience and prescience also seems blurred, given how many humans nowadays report having flashes of the future.

Comment · 7 years ago
Although Mandarin isn't "influenced" by Latin, it is also influenced by English. In China most everyday writing would just insert the letters "DNA" into the text.

But even for scientific writing, my dictionary translates DNA as 脱氧核糖核酸, where 脱 means peel off, 氧 means oxygen, and 核糖核酸 means RNA, so DNA = de-oxy-RNA. As for RNA, 核糖 means ribose and 核酸 means nucleic acid. And in 核酸, 核 means nucleus/core/pip and 酸 means sour/acid, so again the meaning of the characters joined together are simply the sum of their parts. That's always been the case in my limited experience with medical words in Mandarin.

Comment · 7 years ago
Comment · 7 years ago
> the most valuable skill a programmer can have isn't technical, but rather social: empathy

You should say "a programmer needs social skill as well as technical skills to be valuable". If a programmer doesn't have a basic aptitude for programming-like tasks, they won't be able to understand how the language works, anticipate technical problems, or organize and design systems. Until you've worked in a group that's filled with "programmers" who don't have the aptitude for coding, you won't really understand this. The social skill must complement the technical aptitude and skills, but is not more important than them. In fact, I'm even suspicious of people who say "the most valuable skill a programmer can have isn't technical, but rather social" because they often turn out to be aptitudinally-challenged programmers themselves.

Comment · 7 years ago
Having a runaway hit isn't just about creating it, but also successfully maintaining it. Strachan abandoned Apache Groovy only 2 years after creating it so he doesn't really count. Unfortunately he let in someone without any programming aptitude into the Codehaus despotry, and was eventually eased out with stirred up conflicts like the one over builder syntax in Dec 2005. He even had his commit privileges stripped from him afterwards.
Comment · 7 years ago
Too bad Apache Groovy itself didn't remain popular after popularizing the name "it" for the much older idea of contextually-defined pronouns in programming languages. Using the names of pronouns in English (like "this" and "it") is easier for an English-speaking programmer to understand than symbols like "$1" or "_". But because of Groovy's bad project management, another programming language (Kotlin) is becoming widely known for introducing the "it" name.
Comment · 7 years ago
> 81 is probably as inaccurate the other way as 15 is today

I can understand both how and why someone would push Apache Groovy's ranking higher up the Tiobe results, but I wouldn't know how you could push it down, let alone why anyone would. #81 is probably as accurate nowadays as the mid-40's has been for most of Groovy's life on Tiobe since 2006. Groovy's seen a significant drop in use (outside Gradle) over the past few years.

Comment · 7 years ago
They're talking about "Go 2" the brand, not Go 2.0 being a new major version having breaking changes to Go 1.x. There are no plans for a breaking-changes Go 2, only occasional additions to Go 1.x under an ongoing "Go 2" developer relations effort.
Comment · 7 years ago
> active COBOL use that continues today [...] 220 Billion LOC

That 220b LOC is because most newly-written COBOL programs today are copied and pasted from some other large existing program, then some small parts of it changed. I know in one large corp I once worked at, a manager ordered that instead of a new code being created for a new customer in the program suite as was usually done, every program in the suite was cloned and the new customer's name was hard-coded into the strings in the program text. That manager got the new system up and running in record time and was well regarded by his peers. The maintenance programmers and computer operators got some extra job security in the years ahead too.

Comment · 7 years ago
> the currently-popular crop of languages: Java, C, Python, C++, C#, VB.NET, JS, PHP, SQL, Objective-C, Ruby, assembly, Swift, Matlab, and Groovy, say

Did you get this list of 15 languages from TIOBE's July 2019 top 15 rankings at https://www.tiobe.com/tiobe-index/ ? It also says Apache Groovy has risen from #81 in July 2018 to #15 today. I do believe the #81 ranking but the rise to #15 only 12 months later is ludicrous. Someone's obviously spamming a search engine to get that ranking up. I know someone does the same thing with Groovy downloads from Bintray.

Now if Groovy's ranking has been fabricated over the past year, then surely some others of those languages have also been similarly fabricated for much longer, and their popularity has been exaggerated.

Comment · 7 years ago
Scripting languages were to the 200x's what visual 4GL's were to the 1990's, i.e. a whole bunch of them came and went, and only a few gained mass adoption, perhaps 4GL's Visual Basic and Delphi, and scripting languages Javascript and Python. The rest are dead, or slowly dying.
Comment · 7 years ago
The title should be "What's your favorite Linux scripting language?" Presumably you don't want to talk about Powershell (Windows), Javascript (Web), or Apache Groovy (JVM).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton