Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
301.
▲
by
vorg
9y ago
> Ant uses advanced machine-learning algorithms and custom programmable chips to crunch huge quantities of user data in a few seconds, to determine whether to grant a customer a loan Is this legal in the U.S. and E.U.? These AI systems c
302.
▲
by
vorg
9y ago
I didn't get the impression DanAndersen expected them to; he wrote "of course"... > the reading materials provided of course didn't go into any potential negatives of the Beijing government
303.
▲
by
vorg
9y ago
> All the examples are Java 9, Scala, Groovy, or Clojure Some of those languages are more functional than others. I'd put them on a scale from least functional to most like so: Java 8 (least functional) Apache Groovy Java 9
304.
▲
by
vorg
9y ago
> Revision history only goes back to 2007 Perhaps a former programmer deleted the revision history when they were about to move into a management role at your organization. I once stumbled upon a manager's name in the history of a 1
305.
▲
by
vorg
9y ago
> the biggest contribution both languages have made for the future are their respective runtimes and that they allow new languages to adopt those (Clojure, Scala, Kotlin, F#...) I'd say that's true of the JVM, where independent
306.
▲
by
vorg
9y ago
> C++ enterprise code looks mostly C with C++ compiler This seems to be the dirty little secret of C++ programming. It seems any corporate site that decides to go serious with Object Orientation also decides to do Managed Memory, and swi
307.
▲
by
vorg
9y ago
Which language would I choose if I could only code in one language for the rest of my life? English, of course. I can encode more meaning in English than those examples you gave, and that's my criteria. But I wouldn't blame some
308.
▲
by
vorg
9y ago
Laughed when I saw this Apache Groovy code slinking away at the bottom of the article: > To start using Android KTX in your Android Kotlin projects, add the following to your app module's build.gradle file: repositories { go
309.
▲
by
vorg
9y ago
If you look at the Fed Rep of Germany, but Austria and Switzerland are also German-speaking nations and should be counted. Austria was part of the Nazi regime, and the Switz did their banking. Austria's been far more hard-right than Ge
310.
▲
by
vorg
9y ago
Yes, every nation in the world has a "big shame", but none of them really face it. They might play "good cop, bad cop" by dividing into several "nations", each with a different policy. Remember, "the Ger
311.
▲
by
vorg
9y ago
Apache Groovy brought closures to the JVM in its day, something no other JVM language had at the time, kudos to its creator James Strachan who was dissatisfied with Beanshell. Now that Java 8, Kotlin, Scala, and Clojure also brought closure
312.
▲
by
vorg
9y ago
Rather than needing to know the probable weight of 26 sheep and 10 goats is 7700kgs, you need to know by what margin of error it's probably over 5000kg. And you not only need to know the minimum age of 28 yrs, but also the probable age
313.
▲
by
vorg
9y ago
Just a note: The edition of Apache Groovy that's bundled with Jenkins has its collections API crippled, so it provides a less "functional" experience than when Groovy's used for normal scripting. Given that easy access t
314.
▲
by
vorg
9y ago
> Yes, the redesign took more than a decade Quite true! In fact, the redesign took more than a decade and a half (July 2000 to Dec 2015). A record worth breaking!
315.
▲
by
vorg
9y ago
> can someone point to the analog of this https://docs.perl6.org/language/grammars in Python, Ruby, Groovy etc? Those language grammars, if they've been properly implemented, could be the Perl 6 killer feature
316.
▲
by
vorg
9y ago
Whoops, I should've read that phrase "new country" in context. As for your edit about NZ's economy being mainly "services", if you subtract industries owned/controlled by Australia/US/UK (e.g ban
317.
▲
by
vorg
9y ago
Technically, New Zealand's a "country", but to call it a "new country" is pushing it. It's a cultural appendage to the U.K. and the U.S. West Coast, with a bit of Hong Kong thrown in. It's the unitary stat
318.
▲
by
vorg
9y ago
I thought in QM you couldn't know both the degree of rotation and the direction of the axis for a particle. If so, I wouldn't call that "well-defined".
319.
▲
by
vorg
9y ago
There must be something else in the Universe to observe the single proton for it to have rotation, etc, according to quantum physics. Extend this idea to the centrifugal force on the water in the bucket in a Universe with nothing else in it
320.
▲
by
vorg
9y ago
Perhaps people using Go, Elixir, Rust, or Kotlin to build something in a startup are expecting to make money selling the skills they gained building it rather than expecting to make money from the software they build.
321.
▲
by
vorg
9y ago
> but Unicode makes that argument even sillier Unicode Standard (version 10.0, section 23.1 Control Codes) makes it clear that it "specifies semantics for the use" of only 9 of those ASCII control codes you mentioned, i.e. U+00
322.
▲
by
vorg
9y ago
> [Kotlin] does not overlay Java like e.g. Groovy does Apache Groovy 1.x was dynamically typed only, and focused on scripting and glue code for the JVM and syntactic compat with java, so could be said to "overlay Java". Since G
323.
▲
by
vorg
9y ago
> /r/groovy 1.8k users]( http://www.reddit.com/r/groovy ) At first sight, not only has Kotlin grown from 1300 to 8000 redditors, but Apache Groovy has also grown from 1400 to 1800. However, whereas Kotlin ha
324.
▲
by
vorg
9y ago
Also when you want to put package-main files in a library package directory, you need to put // +build ignore near the top of it.
325.
▲
by
vorg
9y ago
Yes, I agree. I changed my outlook on programming after I spent about 2 years playing with Clojure as a hobby, then 1 year on Haskell.
326.
▲
by
vorg
9y ago
> the scare quotes around "learn"? I feel that putting the quotes there is rather impolite When I say I've learned (or learnt ) a programming language, I mean more than a 4-hour jump start to basic proficiency level. Pe
327.
▲
by
vorg
9y ago
> Last week I learned Groovy in about 4 hours How well did you "learn" Apache Groovy? Just enough to change a small Gradle build file? And did you already know any Java beforehand? If so, then there's a lot less Groovy tha
328.
▲
by
vorg
9y ago
> 2040 is, which is divisible by 7 iff 204 is I don't follow that one. To check whether 2747 is divisible by 7, I divide the multiple of 100 (i.e. 2700) by 50 (i.e. 54), add it to the remaining two digits, 47 (i.e. 101), then see if
329.
▲
by
vorg
9y ago
If "the bigger the interface, the weaker the abstraction", then would that mean the opposite is also true, i.e. the smaller the interface, the greater the abstraction? If so, then interface{} would be the greatest abstractio
330.
▲
by
vorg
9y ago
> First person to hear a line of 8 nuggets spoken It's so difficult to stay awake in these meetings that just taking in what you hear is an achievement. I've a theory Bullshit Bingo was actually invented by the managers the
More ›