Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
vorg
8y ago
> you give the same money to everyone, even if they're a billionaire. To make up for this, you raise the taxes a commensurate amount on the people who don't need it (and more for the really rich people, because the idea is wea
272.
▲
by
vorg
8y ago
> A State Council document, issued in July last year, resolved to position China as the world’s pre-eminent practitioner of artificial intelligence (AI) in both research and application within the next 12 years. The language sounds just
273.
▲
by
vorg
8y ago
Android isn't just Kotlin and Java. It also bundles Gradle with its Apache Groovy DSL, whose syntax is just as esoteric as Swift. Although Groovy is pitched as having Java's syntax, the DSL portion of it (as used in Gradle) looks
274.
▲
by
vorg
8y ago
Candidates often turn up in person to the interview with their new manager, but send a double to the aptitude test which is only supervised by HR staff. Because HR often get bonuses based on how many new recruits they bring in, they often s
275.
▲
by
vorg
8y ago
I like programming in Clojure -- it's the language that introduced me to lisp syntax and immutable values. But Scala has been adopted and Kotlin is being adopted to a far greater degree than Clojure seems to have been.
276.
▲
by
vorg
8y ago
> Clojure, Groovy, JRuby, Jython are popular dynamic languages on the JVM, there are others Perhaps he meant no dynamic languages have become popular enough on the JVM that it becomes common knowledge that the JVM can support popular typ
277.
▲
by
vorg
9y ago
My last two IT jobs ever were both for businesses which cancelled huge rewrites after being sold to another company. Someone up top pitched the businesses as white elephants ripe for massive cost savings half-way during the rewrite. The pro
278.
▲
by
vorg
9y ago
Instead of `it` for one, and `this` and `that` for two, use `este`, `ese` and `aquel` for three (from the 3-tier pronoun system in Spanish). Please don't ask what if there's four. Very few (if any) natural languages have more than
279.
▲
by
vorg
9y ago
If there's one condition, use `it`. If there's two, use `this` and `that`, i.e. if (a == 3) || (b == 4) delete this //to delete a and if (a == 3) || (b == 4) delete that //to delete b
280.
▲
by
vorg
9y ago
If you want to delete both if either is true you could write: If (a == 3) || (b == 4) delete them
281.
▲
by
vorg
9y ago
I believe Swift (I think) uses this idea, where the 2nd and subsequent parameters are often named prepositions: divideInto(x, by:y, mod:z)
282.
▲
by
vorg
9y ago
Sounds like Prolog.
283.
▲
by
vorg
9y ago
> Not useful at all In English, nouns are often spoken with stresses in a sentence, which could make capitalizing them a pronunciation issue, just as other punctuation is (e.g. commas for pauses, question mark for changing intonation). I
284.
▲
by
vorg
9y ago
You could be talking about Apache Groovy's seamless interoperability with Java 7. It hasn't kept up with Java 8 and lambdas, let alone Java 9 and modules.
285.
▲
by
vorg
9y ago
> My current direction, which I was all set to get serious with today, was to use Groovy on Grails Is that version 2 or 3 of Grails? Virtually no-one has updated their Grails 2 websites to version 3, or is starting new projects in Grails
286.
▲
by
vorg
9y ago
Kotlin's the latest in a long series of leading alternative languages for the JVM, each having a turn taking second spot behind Java. First there was Beanshell adding syntactic shortcuts for property boilerplate, then Apache Groovy c
287.
▲
by
vorg
9y ago
I imagine Android Studio will switch to Bazel sometime in the near future. Every other non-Android Java shop seems to be rewriting their Gradle build files as Bazel configs nowadays. Gradle and Apache Groovy just don't scale.
288.
▲
by
vorg
9y ago
Seems like every other site is converting its Gradle builds into Bazel.
289.
▲
by
vorg
9y ago
> a Jenkinsfile[0] where you get a complete groovy DSL Apache Groovy isn't "complete" as shipped with Jenkins. It's collections API is deliberately crippled so it doesn't work.
290.
▲
by
vorg
9y ago
The U.S., like Canada, Australia, Brazil, and many Spanish-speaking countries in America, along with the former colonizing countries of Western Europe (e.g. England, Holland, France), is an immigration-based country, and so birth rate is on
291.
▲
by
vorg
9y ago
It would be nice if downvoters had to add a compulsory comment, though I suspect many users would create a special login they use just for downvoting. HN is a lot better than other sites though, such as Reddit, where some subreddit moderato
292.
▲
by
vorg
9y ago
> Groovy, for example, is as popular as Scala or Kotlin Things have changed in the past few years. I would now put Apache Groovy in a different tier than those other two. Kotlin's rise has been at Groovy's (as well as Java'
293.
▲
by
vorg
9y ago
> overestimating importance of the build system True. Gradle (and its Apache Groovy build DSL) conquered a market by first creating that market. There's really no need for a build system with a procedural build language -- a declara
294.
▲
by
vorg
9y ago
> gradle, maven, xcode, it does not matter what target is or what source is (as language But it does matter what the language is for the build script for each build system, e.g. Apache Groovy for Gradle, XML for Maven.
295.
▲
by
vorg
9y ago
The docs at http://vertx.io/docs/ are available in different editions depending on what language you use with Vert.x, of which there's 7 available. Besides JavaScript and Kotlin, there's also: Java Apac
296.
▲
by
vorg
9y ago
> half of your logic is second class code-as-a-string (e.g. trying to work directly with Gremlin Server from a non-JVM language by POSTing Groovy-as-a-string It must be particularly difficult when your Groovy-as-a-string script itself ha
297.
▲
by
vorg
9y ago
> It uses by default BigDecimal and BigInteger for literal numeric types Apache Groovy uses by default BigDecimal for literal decimal types, but only uses BigInteger for literal integral types when it would overflow the largest availab
298.
▲
by
vorg
9y ago
The distrust of anything "not invented here" is prevalent in big corps like Google.
299.
▲
by
vorg
9y ago
> Modern languages are all converging to the same good feature set but don't have anything to differentiate from each other You said "good feature set" rather than "feature set". I'd agree those languages ar
300.
▲
by
vorg
9y ago
> Newton, Pythagoras, Socrates, columbus, genghis khan, soviet union, Mao Not sure why you didn't add some example pertaining to the U.S. such as: "Or how the United States promotes freedom of expression while locking up over 1
More ›