Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
vorg
7y ago
India's started doing it too. The situation with Indian foreign students in Australia/NZ right now closely resembles that with Chinese ones in the 1990's, so I predict the high immigration that happened with Chinese then will
32.
▲
by
vorg
7y ago
Nigeria won't have 800 million people by 2100, nor Africa 4.4 billion. There'll be some catastrophe well before then.
33.
▲
by
vorg
7y ago
> There's a reason people with less social contacts have, in general, a shorter life span Or people who are obviously going to die earlier will get less social contacts -- the causation could be in either direction. Perhaps they don
34.
▲
by
vorg
7y ago
That would mean evolution was smart enough to use those mechanisms in quantum computers, using human brains as a transient intermediary to that end.
35.
▲
by
vorg
7y ago
> They do this with a few trains in a row until there are enough people waiting in the station to fill up a train to some acceptable level The "acceptable level" probably doesn't account for everyone getting a seat on the
36.
▲
by
vorg
7y ago
> Microsoft was pushing VB, which sort of resembles what you're saying, but VB wasn't a 4GL Every marketing department was calling their company's new software development product/language/whatever a "Fourth
37.
▲
by
vorg
7y ago
> it seems unlikely Google would have a page listing trademarks it doesn't actually own Putting a ™ symbol after a name is only a claim on that name to be one's own property for use as a mark on some product or service when t
38.
▲
by
vorg
7y ago
> PHP, Python, Ruby, Tcl, OCaml, Lua Many of those languages came out in the 1990's when the big corporates were busy pushing visual 4GL's to replace programming languages. But programmers prefered to write a Perl ten-liner ra
39.
▲
by
vorg
7y ago
> the implementation of Go, and people who can make changes to the specification of Go Should that be "the reference implementation of Go" ? The specification mentions "implementation restriction" many times, so
40.
▲
by
vorg
7y ago
Even if the Tiobe rankings said Rust was popular, it wouldn't mean much. Their May 2019 rankings also say Apache Groovy has risen from #91 to #17 over the past 12 months, which is clearly wrong. Those rankings are being fiddled with vi
41.
▲
by
vorg
7y ago
Apache Groovy's string syntax is deficient, not great. It doesn't have the docstrings syntax that Python, Ruby, and Perl all use. An early beta version of Groovy 1.0 had it (thanks to a Sam Pullara), but it was later yanked out. G
42.
▲
by
vorg
7y ago
Kotlin's main improvement on Java is its seamless integration with the most popular IDE on the JVM. Of course, it helps that IntelliJ and Kotlin are put out by the same company, but Jetbrains did emphasize when they first announced Kot
43.
▲
by
vorg
7y ago
The rise-and-fall adoption of Scala and Apache Groovy is because their whole rationale for existing was to be a better something. Groovy (2003) tried to be a better Beanshell (1998) by adding closures to it. Beanshell tried to be a better
44.
▲
by
vorg
7y ago
Apache Groovy really improved on Beanshell (by adding closures, in 2003), which is what improved on Java (by adding dynamic typing, in late 1990's).
45.
▲
by
vorg
7y ago
As the author says: > because the parser generator knows about all patterns you want to match in advance, it will match longer terminals before shorter—more ambiguous—terminals If you don't mind manually ordering your choices in you
46.
▲
by
vorg
7y ago
> there are no obvious improvements to learning tools that will address the fundamental problem: you need to talk to actual humans When learning to speak and listen, you need to already understand perhaps 80% of what actual humans are sp
47.
▲
by
vorg
7y ago
You can use the YAML-like declarative syntax [1] instead to configure the pipelines for 90% of what you do, and just use Apache Groovy for the more complex logic, or interfacing with plugins. [1] https://jenkins.io/doc/
48.
▲
by
vorg
7y ago
The Java methods with up to 70 arguments are highlighted. This code defines methods with up to 250 arguments. I wonder why the Apache Groovy people didn't choose a number like 256, which is more compatible with other magic numbers in t
49.
▲
by
vorg
7y ago
> As soon as it was possible for other languages to run on the JVM, the huge amount of developers working around JVM [...] started looking at alternatives This is true, but... > Groovy, Scala and Clojure were the early contenders that
50.
▲
by
vorg
7y ago
> there is essentially fully programmable type configurations like Jenkins Pipeline Groovy `Jenkinsfile`, which can be a nightmare, too. I think it is tough to find a sweet spot between making it configurable and expressive for users whi
51.
▲
by
vorg
7y ago
When Apache Groovy had dynamic types only, it was marketed as a complement to Java, but when Groovy 2 came along with static typing added, its backers started pitching it as a replacement for Java, even targeting Android. This endeavor was
52.
▲
by
vorg
7y ago
Counting French and Germans as a single population group doesn't really make sense, since their languages are far more different than, say, the different flavors of Bengali spoken in Bangladesh and the Indian state of West Bengal. And
53.
▲
by
vorg
7y ago
If the EU is one country, then why not India/Bangladesh, whose combined population overtook China's in 2008 ? Most interesting to me is Japan's projected population of 85 million in 2100, compared to 125 million today.
54.
▲
by
vorg
7y ago
> you can do whatever feels right for a given case Too bad you can't use whatever specification language feels right. Spock only provides Apache Groovy, with its tacky syntax hacks like long strings for function names, block labels
55.
▲
by
vorg
7y ago
> Why would you want to figure out the dependencies without executing script? Originally, the whole point of using configuration files for builds was to eliminate the programmatic element where you used lots of little scripts to run buil
56.
▲
by
vorg
7y ago
> So I don't have to worry about Groovy dying off (which is not to say it is) Apache Groovy is dying off. Whenever some software product bundles it as a built-in scripting language, after a short time Groovy's snags become ap
57.
▲
by
vorg
8y ago
> all the interesting keywords are already very popular method names for other forms of pattern matching When I first read that, I thought he meant run-time lookups of overloaded method names, which is a form of pattern matching on param
58.
▲
by
vorg
8y ago
The underscore is fairly pleasant to read: [1,2,3].map{_*2} I think that's what Scala has. For multi-args, perhaps: [1,2,3].reduce{_1+=_2}
59.
▲
by
vorg
8y ago
> Absolutely! There's a big 4.0 release happening soon Virtually no-one's updated from Grails version 2 to version 3, or released any plugins for version 3, so it's hard to believe anyone's interested in a 4.0 release
60.
▲
by
vorg
8y ago
> restaurant owners lower prices on the app because app orders are more convenient to them They also cook app-ordered meals quicker, and make in-store diners wait until there's no pending app-ordered ones to cook.
More ›