Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
811.
▲
by
vorg
11y ago
> a 55% who hates the 45% You don't even need "hate". You only need 55% of the people to own houses, and the other 45% not to. The 55% will vote in the government that makes it easiest for immigrants to come in and push up
812.
▲
by
vorg
11y ago
Groovy for Android isn't being maintained. The programmer maintaining it was retrenched by Pivotal 12 months ago. Groovy's used quite a lot for scripting, but the more recent statically-typed additions for Java and Android aren&#x
813.
▲
by
vorg
11y ago
You can use Polyglot-Maven [1] with Maven if you want to use a programming language syntax atop the XML. Polyglot-Maven enables not only Groovy, but also Ruby, Clojure, or Scala to be used with Maven. [1] https://github.com/
814.
▲
by
vorg
11y ago
Notable is the search-engine-optimized rise of Groovy from #82 to #17 in a mere 12 months. The subsequent TIOBE comment "Scala might gain a permanent top 20 position soon" is probably a back-handed dig by TIOBE at the likely imper
815.
▲
by
vorg
11y ago
It's obvious to me based on my own experiences. Of course I'm talking about a "French as a Foreign/Second Language" major, not "French" like they teach in American high schools. And I'm talking about
816.
▲
by
vorg
11y ago
Many people majoring in a second language learn better aurally/orally, whereas those at a coding bootcamp perhaps learn better visually. Perhaps the obvious existence of these two primary learning styles has been expanded on and exagge
817.
▲
by
vorg
11y ago
> both (self-described) verbal and visual learners seem to learn better visually Though I'm guessing verbal learners and visual learners both learn better when doing a task utilizing both visual and verbal senses, than they would do
818.
▲
by
vorg
11y ago
Yeah, right. And Groovy's risen from #82 to #17 in 12 months. Just how serious can you treat this stuff?
819.
▲
by
vorg
11y ago
It's already done. Unicode provides non-spacing modifiers which will overlay the previous codepoint. So you can type, for example, either U+0301 (COMBINING ACUTE ACCENT) or U+030b (COMBINING DOUBLE ACUTE ACCENT) over the period or comm
820.
▲
by
vorg
11y ago
> Kim Dotcom isn't going anywhere until he has exhausted all of his extradition appeals A NZ newspaper just published an article about the likely process at http://www.nzherald.co.nz/nz/news/article.cfm?c_i
821.
▲
by
vorg
11y ago
Groovy is a dynamically typed language, and its "static typing" and Android target has been shafted on as an afterthought. The developer who was paid to do it now works somewhere else, which is hardly a vote of confidence in the i
822.
▲
by
vorg
11y ago
The headline of this story is "Using the official RethinkDB Java driver in other JVM languages".
823.
▲
by
vorg
11y ago
A few times I've read out a text aloud, then listened to the recording and it's been different. Remember that movie audition scene in the "Mulholland Drive" movie? Sometimes a single comma or exclamation mark in the writ
824.
▲
by
vorg
11y ago
I should have written "You can, but..." in front of my comment above because you weren't disagreeing with me. In my original comment I italicized "must be variadic" which was my original emphasis. But if you elimina
825.
▲
by
vorg
11y ago
Many functions and macros in Clojure rely on reducing variadic parameters using recursion, e.g. (defn max "Returns the greatest of the nums." ([x] x) ([x y] (. clojure.lang.Numbers (max x y))) ([x y & more] (re
826.
▲
by
vorg
11y ago
> Homoiconicty is a syntactic concept, variadicity is a semantic concept. They have nothing to do with each other. It's far more difficult to define macros when you don't have variadicity. A large number of syntactic constructs
827.
▲
by
vorg
11y ago
But when that language has variadic parameters, you must explicitly invoke the currying to distinguish it from a normal function call that uses up all the variadic parameters (just as you can't specify different types for the variadic
828.
▲
by
vorg
11y ago
Haskell has strong typing and lazy evaluation, which makes it easy for functions to take only one argument at a time. Although a function could take a tuple parameter, it's usually rewritten to take each component of the tuple as a s
829.
▲
by
vorg
11y ago
> you can always get away with more as long as no one is watching closely In China everyone's being watched and listened to. Foreigners like me are being watched closely, and locals are watching each other far more than occurs in We
830.
▲
by
vorg
11y ago
Because my comment follows guidelines, I presume some disagree with this opinion. Perhaps you're young and haven't worked out the true meaning of most paid work. I remember reading about a study about 15 years ago that assessed wh
831.
▲
by
vorg
11y ago
The true purpose of the legal profession, as with other jobs like accounting and IT, is to provide something to do for people to keep them from spending their free time challenging entrenched power structures. If bots can do some job in law
832.
▲
by
vorg
11y ago
You only need recognition-memory to use Web and GUI interfaces, whereas you need recall-memory to use command line interfaces and scripts, which is far more difficult. That's why clicking in a Web GUI or graphical XML-generator replace
833.
▲
by
vorg
11y ago
Except that `obj.class` gets the class for the object, instead of `get(obj, "class")` or `obj["class"]`. So many little special cases in Groovy's huge grammar, which is still written in Antlr 2.x when both Antlr 3 a
834.
▲
by
vorg
11y ago
> I just happen to write the majority of my code in Java. If tomorrow we decided to use a new language, I could pick it up in a few days... The languages in your list are: * declarative: HTML, CSS, Groovy (for Gradle), SQL * scripting: S
835.
▲
by
vorg
11y ago
When there's a close match between a lexical rule and a semantic rule, it's easier to remember how to use the semantics. Most languages have an arbitrary rule for distinguishing between an identifier (it begins with letter, except
836.
▲
by
vorg
11y ago
Often the verb "to be" is implied when what's spoken is a reply to someone else's question, e.g. "My name? Steven." as a reply to "What's your name?" Speaking in E-prime can't be separated f
837.
▲
by
vorg
11y ago
Fair point. As for the pedantic note, kanji is an English word whereas hanzi isn't, so that's why I used it.
838.
▲
by
vorg
11y ago
Why not use the Chinese characters (Kanji) to encode the moves in Chinese/Japanese semantics, instead of Base65536 ? It might not be as compact, but it would still be far more compact than Ascii AND you'd be able to read it with
839.
▲
by
vorg
11y ago
> Groovy creator Guillaume Laforge blogged that, “an acquainted Groovy eye would immediately notice the inspiration the Swift designers took from Groovy.” Guillaume Laforge is NOT the creator of the Groovy Language, James Strachan is.
840.
▲
by
vorg
11y ago
If Gradle's so great, then why does it use a JVM language that wasn't considered by Metabase. > The shortlist really came down to “something on the JVM” [...] However, we had a strong aversion to using Java itself, so the real
More ›