Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
511.
▲
by
vorg
10y ago
The article's headline says "stumble", whereas the HN link headline says "tumble". The two words have almost opposite meanings.
512.
▲
by
vorg
10y ago
Bad example. Apache Groovy has the downsides of both Java (e.g. requiring the memory hogging JVM) and JS (e.g. errors arising from dynamic typing, like one-char strings auto-converted to chars).
513.
▲
by
vorg
10y ago
Apache Groovy meets the one-line criteria but fails the simple syntax rules criteria. In your example, you have to explain that Groovy's println syntax above only works for certain types of arguments. If you want to print a string then
514.
▲
by
vorg
10y ago
According to the comment, sustained simplicity occurs only 1. for as long as there is a champion to remind its practitioners, e.g. Wirthian languages at first 2. if they don't need to because they're extensible, e.g. Forth, Scheme
515.
▲
by
vorg
10y ago
For another good article for programmers on Unicode, see this brilliant and excellent article by Joel Spolsky at https://www.joelonsoftware.com/2003/10/08/the-absolute-minim...
516.
▲
by
vorg
10y ago
> if you iterate over a Go string using "range", you get 32-bit "runes" It's often easier to use that for-loop with a break to look at the first character of such a string, as in... package main import &quo
517.
▲
by
vorg
10y ago
> English is usually categorized as analytic, since we only have a few ways to change words Words can be stressed in many different ways in an English sentence, and the pattern of stresses in a sentence determines much of the meaning in
518.
▲
by
vorg
10y ago
> the idea that a natural language could actually be designed was a shock to me Perhaps the Japanese grammar was designed by a small group of individuals, maybe even one individual, a long time ago, and promoted officially by the Japanes
519.
▲
by
vorg
10y ago
The headline above says "Too Many People Are Going to New Zealand", but the article is actually about "... Tourists overwhelm New Zealand". Perhaps the title needs flagging, because tourists are only one of three main so
520.
▲
by
vorg
10y ago
> Groovy... forgot about it because most people just use it for Gradle scripting You can use Kotlin for Gradle scripting as well since Gradle 3.0 released about 6 months ago. Given that Gradleware also said they're switching their p
521.
▲
by
vorg
10y ago
> Throw a @CompileStatic annotation on your classes Only if your site has upgraded to version 2.x of Apache Groovy, which many sites haven't. Even then, converting everything to @CompileStatic at once only works wholesale for tiny c
522.
▲
by
vorg
10y ago
The old meaning of the word "code hacker" from the 1980's (before ycombinator took and redefined it) was someone who writes and maintains programs by running it with variations in input and observing the effects, until it bas
523.
▲
by
vorg
10y ago
All business is about borrowing stuff from the future -- getting as much gain as possible now and deferring the costs as far as possible into the future, when someone else needs to pay back the debt, or when it can be defaulted on. Business
524.
▲
by
vorg
10y ago
I got confused by the exact same language 5 years ago when one of the Apache Groovy project managers (before it joined the ASF) started repeatedly saying "Google have now chosen Groovy and Gradle for building Android." I didn'
525.
▲
by
vorg
10y ago
You'd need two editions of the translation, the training one and the unaltered, which seems like wasted effort when having one translation with Yoda-style English would be adequate for both groups of readers. It's easy enough for
526.
▲
by
vorg
10y ago
One reason it's dead is because Grails has issues with its governance. Look up the DNS details for its website (grails.org) and you'll see the same single individual listed, with a blank organization field, as the contact person f
527.
▲
by
vorg
10y ago
> writes a presentation to share their approach (primarily so that other people working on Go can understand and extend it Perhaps Ericson2314's gripe is that it's being posted (and upvoted) on HN, rather than just a Go-specifi
528.
▲
by
vorg
10y ago
> Can an article be honorably retired? Putting a link to that Spolski article in the comments on HN, reddit, etc whenever some other article on Unicode is posted has become an in-joke. You'd find it impossible to "retire"
529.
▲
by
vorg
10y ago
If you can, make sure you write your Gradle build scripts in Kotlin also (possible since Gradle 3.0 was released 6 months ago) instead of Apache Groovy, then Kotlin will be the only language you need for anything!
530.
▲
by
vorg
10y ago
> Groovy is a scriptable Java Apache Groovy enables a programmer to script Java, not to be a scriptable Java, which is different.
531.
▲
by
vorg
10y ago
> all within a single Gradle project. [...] Groovy [...] worked with everything, though. Given that Gradle was originally designed with Apache Groovy as its only language for writing its build config files, I'd say you should try ag
532.
▲
by
vorg
10y ago
Dark matter did include dark energy for a while, according to the article... > starting from the 1980s, the new cosmological dogma was that dark matter constituted a staggering 95 percent of all matter in the universe. That lasted, wel
533.
▲
by
vorg
10y ago
Story about scientist who denies that dark matter exists exists exists.
534.
▲
by
vorg
10y ago
> gradle. Yes, it's a new configuratio language to learn Don't forget Gradle has the choice of 2 languages to use for configuration -- Kotlin and Apache Groovy. If you use Kotlin you get: * full Android Studio support for auto-
535.
▲
by
vorg
10y ago
> With the exception Fowler's 2005 testing argument being reiterated Besides testing, dynamic languages can also be good for glue code, or scripts for builds. Just don't use them to write systems. Of course, when a script start
536.
▲
by
vorg
10y ago
Using the collections syntax and closures from Apache Groovy makes glue code, testing, and build scripts for the JVM easy to write, but the more recent features like those used in Spock are confusing. The Spock example in the post has the |
537.
▲
by
vorg
10y ago
And "Apache Groovy" since it joined the ASF 2 years ago.
538.
▲
by
vorg
10y ago
Always good to see features from the likes of Python and Apache Groovy make it into Go.
539.
▲
by
vorg
10y ago
One way to plan for the next 100 years when building roads but not cause people to buy cars is to have a 10-lane wide verge on one side of the road. Have a row of 30-storey buildings on one side of a 5 lanes each way road, but on the other
540.
▲
by
vorg
10y ago
> The governments goal was more along the lines of trying to spur entrepreneurial activity - they got that Virtually all the fund's investment went into one company (Xero). If Thiel had already decided to invest in that company anyw
More ›