HNHacker News
TopNewBestAskShowJobs

vorg

1,814 karma · joined December 1, 2009

submissionscomments
vorg··on The Evolution of Writing
The article mentions how writing evolved through several stages: (a) clay tokens, (b) replaced with 2-D signs, (c) evolving into phonetic signs, (d) settling into two dozen letters each representing a single sound.

Over the past 50 years, another stage has occurred via the keyboard. They allow the 95 Ascii symbols to be entered easily, and control keys enable changes to the fonts, sizes, colors, or even tokens displayed. The pinnacle of this change is the IME's for Chinese and Japanese, enabling people to type in spoken sounds (pinyin or kana) with a selector, but allow Hanzi or Kanji to be displayed. Quite useful for tiny smartphone screens.

vorg··on A Spectre is Haunting Unicode
There also happens to be exactly 12 standard ideograph characters that were erroneously encoded in the Unihan compatibility character block (i.e. 﨎﨏﨑﨓﨔﨟﨡﨣﨤﨧﨨﨩).
vorg··on A response about dep and vgo
> a hundred dead languages and frameworks designed by a single visionary leader who made the wrong decisions

E.g. there's the namesakes for Rails and Ruby, i.e. Grails and Groovy. Virtually no-one's upgraded to Grails version 3 since it came out 3 yrs ago, or started new projects in Grails version 2. The Grails 2 plugin ecosystem is as good as dead. It only has its "single visionary leader" listed for the 3 contact persons (owner, admin, tech) in the grails.org DNS registration.

As for Apache Groovy, it's hanging on as the build language for Gradle and Android Studio, but doesn't seem to have any other significant use besides its original use case of glue code and testing harnesses. Groovy's problem is its creator, who had successfully added closure functionality to a clone of Beanshell, left the project after 3 yrs and the "despot" at Codehaus who subsequently claimed the title Project Manager was someone who didn't have the aptitude for many programming tasks.

vorg··on It’s hard to have an unusual name in China
I don't have that problem because I've set the Hanazono font (A and B) as first choice for all Unihan characters on my computers (both Linux and Windows). The latest version, released last year , contains fonts for all 88,000 or so characters in Unihan up to extension F. The downside is that the Japanese version of the character is displayed instead of the Chinese where they differ.
vorg··on It’s hard to have an unusual name in China
The name from the article (i.e. 𬎆 ) is included among the 88,000-odd characters in the Unihan repertoire so there shouldn't be any technical problems in using it, only political problems.
vorg··on Housing Costs Reduce the Return to Education
Don't forget both the carrot and stick are at work here. Not only do new paradigms get factored into the price of land (as demand-side forces), but also laws backed by land owners arise that resist those paradigms from becoming mainstream (as supply-side forces). So car ownership and urban roads are heavily regulated, dual incomes are taxed at a higher rate, social security will never become a universal basic income, and security/privacy and OHS legal requirements will affect the viability of remote work.
vorg··on Work less, get more: New Zealand firm's four-day week an 'unmitigated success'
This caters for everyone -- some employees would prefer to take Wednesdays off, while others would prefer three-day weekends. Some of the "work hard play hard" workers, though, would alternate between Mondays and Fridays off so every second weekend is four days long, giving plenty of time for hiking or travel. Others in the "work-life balance" crowd would want to continue working a 5-day week but only 6 hours each day, giving time for daily pickups from school or late night hobbies. Better limit those Tuesday and Thursday meetings to between 10am to 3pm, excluding lunch.
vorg··on Jenkins pipelines as YAML
Besides all the special cases in the normal use of Apache Groovy (e.g. definition of `==` different to Java), you also have to remember all the Jenkins-specific special cases (e.g. Groovy's collections methods don't work). I wouldn't call it simple or easy at all.
vorg··on Everyone Has an Accent
"Taking the piss out of someone" has the same meaning as "taking the mickey out of someone". Perhaps that's the expression in the English you speak.
vorg··on On Semicolons and the Rules of Writing
It took a few moments to realize you mean:

To me, exclamation mark, full stop and question mark are of equal precedence; they are higher than colon, which is higher than semi-colon, and that is higher than comma.

vorg··on The Last Hope for Scala's Infinity War [video]
> scala, I'm starting to wonder what the end-game is

The end game back in the early days of Scala was probably to provide a gradual on-ramp to FP for people and projects transitioning from Java, but it probably changed to a commercial purpose once more people got involved in its development. It's long since become a self-preserving product, and probably even tries to hinder people moving from FP-only Scala on to Haskell and the like.

I only spent a few months on Scala way back so don't know for sure, but I did see Apache Groovy go through a similar business re-purposing. It began as a JVM-based scripting language complementing Java, useful for glue code and testing, but later became a competitor to Java and other statically-compiled JVM languages, and even tried unsuccessfully to target Android.

vorg··on European regulators reject latest proposal by ICANN over its Whois data service
> some domain and number holders have no incorperated body: they hold the resource as a private individual

whois has been useful to me in the past for finding out whether a DNS name is held by the foundation/company/trust/whatever or if it's held by a private individual who set up the foundation/trust/whatever. When a whois lookup shows a certain private individual listed as owner, admin, and tech contact for some DNS name, then I can know the foundation is a sham created to make it look like the open source product is community controlled, when in fact it's really just one narcissist pulling the strings.

I say keep the whois service as is.

vorg··on Switzerland's mysterious fourth language
More like western fifth speak French, southern sixth speak Italian, and the rest speak German.
vorg··on Android Studio 3.2 Beta
I agree. I was talking about the needless complexity of Gradle and Groovy in handling a build, not the inherent complexity of a build itself. Builds can easily be described declaratively, as shown by Make and Ant, and this was a major step forward for the science of build descriptions. Gradle and Groovy, however, provide a procedural description of builds, with the apparent intention of generating technical debt in user IT land, and then selling them consultancy services and courses.
vorg··on From Java to Go, and Back Again (2016)
> Gradle requires me to use a totally different programming language just to write configuration

There's an alternative to using Apache Groovy for writing Gradle config scripts: https://blog.gradle.org/kotlin-meets-gradle . If you also use Kotlin instead of Java for your software on the JVM then you can stick to one language for everything.

vorg··on Spite buildings: when human grudges get architectural
> a tiny little bit of spite in everything IT related from programming language design

A mere hour after your comment, a link to the dynamically-typed Gravity language ( https://news.ycombinator.com/item?id=17373545 ) appeared on HN. The syntax appears to be based on Apache Groovy's (and its syntactic clones Dart and Swift), and as for the name, well, "Gravity is groovy" ?!

vorg··on Android Studio 3.2 Beta
Perhaps a build system shouldn't need people to invest so much time into learning it. There must be a better way than all those Gradle API's and all that Groovy syntax.
vorg··on Gravity – An embeddable programming language
> syntax is designed to be familiar to people coming from C-like languages like Javascript, Swift, C++, C# and many more

Besides Kotlin, other such modern C-like languages are Java, Dart, Go, and Groovy. But because Gravity is dynamically typed, a better peer language comparison would be Javascript, Groovy, Dart, and Swift. Each of those languages was designed for a specific platform, i.e:

  * Javascript for the web in 1995

  * Apache Groovy for the JVM in 2003 (still used for Gradle build scripts)

  * Dart for the JVM and for Javascript (and more latterly for Fucshia, Android, and iOS) in 2011

  * Swift for iOS in 2014
It's good to see modern dynamically typed languages reject Python's indentation and Ruby's `end` keyword, and settle around curly braces for scoping.
vorg··on The state of type hints in Python
There's no need to go full-blown Groovy for the scripty stuff. You can just use Java with the `var` keyword.
vorg··on The state of type hints in Python
Although Apache Groovy sits within an ecosystem of statically typed languages, Groovy itself has a long history of dynamic typing only. Its static typing was only introduced in version 2, and even then people don't use it very much -- Groovy's primary use is as a DSL specifying Gradle build scripts. Legacy Groovy code is typically littered with `def` and `{a, b-> ...}` everywhere.
vorg··on Demand for Ruby on Rails is Still Huge
> having 4 equal choices

Support for Groovy Templates is legacy and not as equal as the other choices. Groovy is now Apache Groovy, and on the decline.

vorg··on Beijing Wants to Rewrite the Rules of the Internet
> we can easily trivialize what you say with a reply questioning your sanity

You didn't make fun of the parent comment in the same way. Why is that?

vorg··on Beijing Wants to Rewrite the Rules of the Internet
> Once this is possible it is a temptation so great for the US Government(or any other Govertment) and status quo to resist

You emphasized Government but most surveillance in countries like the U.S. and Australia/NZ is done by the status quo of self-styled "community leaders" spread across business, media, academia, religion, sports, and government. They informally network with one another in bar drink ups, legal war rooms, and prayer meetings, as well as surveil their targets and disseminate their messages via misled employees. Workers at internet providers, government departments, and vehicle leasing businesses provide customer data to associates and "friends" all the time, and a wide variety of channels such as news stories, entertainment, and social media are used to spread manufactured narratives. When you add the extent of this informal network to the formal U.S. government surveillance and interference, it could equal the extent of China's. Such American and Australian actors also frequently network with their "Chinese counterparts".

vorg··on What It Was Like to Write a Full-Blown Flutter App
You forgot to mention the slow build times when using Gradle. If Android Studio is too heavy for his laptop then Gradle's hardly going to be much lighter.

Unfortunately, even Flutter requires it when building the production-ready Android version of the app. Perhaps it's time Google switched to their own Bazel as the default for building Android apps. As a bonus, the syntax is a lot lighter than Apache Groovy's.

vorg··on Generating Feign Clients with Swagger Codegen and Gradle
So the solution to:

  error: package org.springframework.cloud.security.oauth2.client.feign does not exist
is to manually add the lines:

    task deleteNonClientRelatedClasses(dependsOn: 'generateClient') {
        doLast {
            delete "${project.buildDir}/src/main/java/io"
        }
    }
to the Gradle build script? Sounds like Swagger is inserting itself into the complexity spiral dominated by Spring, Gradle, and Apache Groovy.

PS: This was already submitted to HN 12 hrs ago by the same user: https://news.ycombinator.com/item?id=17332028

vorg··on How the belief in beauty has triggered a crisis in physics
Why has beauty failed us? Such mathematical beauty is produced by the conscious mind, and the mind is created (via the brain) from the action of the laws of physics. Perhaps it's because the self-referential circuit Math -> Physics -> Mind -> Math can't exist that Math can't fully explain Physics, and e.g. GR and QM will never be united via a "beautiful" mathematical theory.
vorg··on How the belief in beauty has triggered a crisis in physics
Supersymmetry was "beautiful" (i.e. it was produced by the conscious mind) and hence in a sense more "likely", so disproving it is as valuable as proving other "beautiful" theories (e.g. GR and Mercury's orbit).
vorg··on State of React Native 2018
> I encounter far more trouble upgrading gradle and the build plugin itself

Could be time to switch from Gradle to Bazel. It would also be nice to see the last of Apache Groovy, don't you think?

vorg··on Ask HN: Your favorite syntactic sugar from any language?
> groovys's safe navigation operator a?.getB()?.getC()

Apache Groovy also has shortcut property syntax so you can write `a?.b?.c` to get the same effect. Of course, all the syntactic sugar mixed together becomes quite confusing quite quickly. Some Groovers want to write the `?` once only and have it ripple through so you'd only need write `a?.b.c` in Groovy 3. But then, what if you actually want an NPE if `getB()` works but `getC()` doesn't? Perhaps `a?.b¿.c` would do the trick!

vorg··on A newcomer’s (angry) guide to R
> HN hates R. HN loves lisp, and R as a language shares a much greater affinity with lisp languages than python or Go do

HN was started by someone who wrote a book on, and flipped a startup using, Lisp. Python and Go are both used a lot by a buyer of startups, and HN exists to deliver startups, or their IP, to those buyers. R is more of a language for helping its users do data analysis, perhaps in corporate offices, and hence doesn't have as much use for HN's business purpose. Submissions on Python and Go are more likely to stick to HN's front page.

← PreviousPage 7 of 34Next →