HNHacker News
TopNewBestAskShowJobs

vorg

1,814 karma · joined December 1, 2009

submissionscomments
vorg··on College May Not Be Worth It Anymore
If, instead of using the metric getting a job as a Software Engineer, you used building and deploying quality software in a timely and cost-effective manner, then a CS and/or SE degree may be very important.
vorg··on Shell Style Guide
If you can do it as a one-liner in Bash, then you're not using the JVM. The benefit of using Apache Groovy for scripting is access to the JVM (and of course defining Gradle builds). If you don't need the JVM, then do it in Python or Ruby.
vorg··on Java 10 and beyond – a look at the potential language change
It sounds like Groovy 3 is just a forever-pending product designed to be a catchment for the stuff Groovy's backers aren't really very concerned about, or perhaps don't even want put into Groovy. It's still in alpha, being delayed until after a Groovy 2.6 release and the project managers have had a "conversation" sometime down the line about what features should go into Groovy 3.

If Groovy's project managers at Apache don't want a Groovy 3 release to avoid a debacle like Python 3 or Grails 3, then they should just come out and say so. Instead, they're letting others waste their time working on it while putting up roadblock after roadblock to slow it down.

vorg··on Java 10 and beyond – a look at the potential language change
If not having lambdas in Groovy isn't a problem, then why are they coming in Groovy 3 ?
vorg··on Java 10 and beyond – a look at the potential language change
> Groovy still grappling with the module changes to Java9, let alone 10 or 11

Apache Groovy hasn't even updated its syntax to support Java 8 lambdas. It's coming in Groovy 3, apparently.

vorg··on How to start a Go project in 2018
Can't `dep` be easily redesigned so it sits atop the `vgo` architecture? I don't know enough about `dep` to say for certain, but it seems to add extra functionality to what `vgo` will provide, and could pivot into a still-relevant extension to `go`.
vorg··on Laws of Tech Economics: Commoditize Your Complement
> Why are you bringing cities into this anyway? Makes no sense at all...

> That still doesn't have anything to do with the discussion.

Cities often act like businesses. In the U.S. cities even incorporate, just like businesses do. The "shareholders" of a city are usually its property owners who vote for city leaders who implement supply-side policies that raise property values and rents in the city, such as zoning restrictions, and demand-side policies like concentrating services, as the previous commenter mentioned. If the city is the leading commercial city in a country, it may even influence central government immigration policies, which can further increase demand for property, a.k.a. the city's "shares".

It makes a lot of sense and has everything to do with the discussion.

vorg··on Pyre: Fast Type Checking for Python
I see "transpilers" as being on a continuum ranging from IDE collapse comments and collapse blocks at one end, to full code generation syntax macros at the other end. There's a sweet spot in the middle where the productivity gains from terser code outweigh the impedance risk.
vorg··on Pyre: Fast Type Checking for Python
> no cop outs with "I use {bolt-on sub-language that makes parent language more concise}" (that's not a mainstream language then)

Why is "I use {bolt-on} that makes {parent language} more concise" a cop out? The bolt-on could be a macro language or an IDE that does collapsing of common patterns. If it makes it easier to find a bug in a 100-line function in the parent language, or to not generate those bugs in the first place, then the {bolt-on} isn't a cop out.

vorg··on Librem 5 design report
Perhaps Google and Jetbrains will replace Gradle with Bazel in Android Studio sometime soon.
vorg··on Pyre: Fast Type Checking for Python
Beanshell is another example for Java, and did it before Apache Groovy did. Beanshell added features like optional typing and terse property syntax to Java, then Groovy extended Beanshell by adding closures to Java. Java has made these scripting languages less relevant lately because of more recent features like lambdas and inferred types.
vorg··on Java is too old, What should you learn in 2018?
By restricting ourselves to the JVM, we can introduce Kotlin code gradually because it can run side-by-side with legacy Java code. Unlike the other JVM languages, Kotlin has been designed to work seamlessly with an IDE. It doesn't introduce as much extra symbol syntax as Scala so it's still readable. And it was designed to be statically-compiled from the ground up, unlike Clojure and Apache Groovy which both bolted on clumsy-looking static-typing annotations later on.
vorg··on The path that the decimal number system took from India to medieval Europe
> There's no documented proof that Indian system was descended from another system. [...] Hence, purely of Indian creation.

If the Babylonians developed a place value number system with a zero in it before the Indians did, then it's more likely the Indians copied it from the Babylonians and changed it to base 10, than it is that the systems were developed independently, because the two civilizations were in close contact with each other. Number systems are exactly the sort of thing that ancient traders would share with each other -- it only needs to happen once during the many hundreds or thousands of such contacts.

The onus of proof is hence on you to prove any such single contact didn't happen before claiming "Hence, purely of Indian origin". It's better to write, as the article did:

> whether the Indians got the idea of a place value system from the Babylonians [...] is simply not known

vorg··on The rise of the pointless job
Virtually all jobs in Western societies are bullshit jobs (as defined in the article). But you've alluded to the real reason such BS jobs exist -- to give people something to do and keep them occupied so they don't go out and fight wars. Sport fulfills the same purpose. Better people work in a cube all day and practise baseball after work than sit around on the UBI until they form some political party, take over the government, and go to war against another country for their plutonium mines.
vorg··on LA has passed new restrictions on sleeping in cars and RVs
Those affected will get jobs restocking supermarket shelves or as security guards during the night. If they can't find such jobs, they will make far more noise in their RV during normal sleeping hours than they would if they were sleeping, disturbing the surrounding neighborhood more.
vorg··on Ask HN: Who is hiring? (May 2018)
This is a duplicate of one posted 8 hrs earlier: https://news.ycombinator.com/item?id=16967692
vorg··on It’s COBOL all the way down
> I can do it single handedly

For every 1 programmer working on a Cobol system who would and could rewrite it, there's another 3 who actively resist rewrites to keep their jobs and put bugs in the system to generate overtime-paying after-hours callouts. There's yet another 6 programmers who don't have the aptitude to program but who somehow managed to get into their job and are just productive enough to avoid being terminated. And perhaps they bring one of their kids to work for the day every now and then.

You don't get to do a Cobol rewrite single-handedly when there's 9 others on the team working against it happening.

vorg··on Bike Share Oversupply in China
> they have a pretty well-translated app

I tried signing up one week ago. Perhaps they've changed since you were there. I used their service in WeChat linked to WeChatPay to sign up and pay the deposit, after which I hit the "enter your ID card number" snag. I also tried downloading the app on their website but it doesn't run on my phone (running Android 4.4.4) which I bought in China.

Edit: I still maintain an integral part of the business model of smaller bikesharing companies is collecting the deposits and using the money for other things.

vorg··on Bike Share Oversupply in China
> the bikeshare #12 learns the hard way that there is only room for three bikeshare companies in one city

Their business model isn't about getting people to use the shared bikes for a small fee. It's about getting people to pay the initial deposit for the right to easily use the bikes. There's room for more than 3 bikeshare companies doing this. By creating an oversupply from funds invested in their capital account, the company can create the illusion of having many bikes available. As soon as someone experiences even a minor problem with finding a bike from their current bikeshare company, they may sign up with and pay the deposit to another company. Although a company in theory puts the deposit into a special account and returns it to the customer on demand, in practise they don't if they go bankrupt and the deposits have already been skimmed.

I experienced this trying to sign up with Mobike as a foreigner in China. After taking a 299 rmb deposit from my bank account, their app presented a screen accepting Chinese citizen ID numbers only. I couldn't find a menu option anywhere for retrieving my deposit money. What is the deposit amount for those bikeshare companies in Seattle?

vorg··on E-waste recycler loses appeal on computer restore disks, must serve prison term
That should read "people who don't know what GAFAM means" instead of "people like you".
vorg··on Using Jenkinsfiles for Continuous Deployment Pipelines
Is it possible to write the pipeline code in another language with better formatting, e.g. Python or Jython, instead of having 15 lines with nothing but '}' on it? Here's a possible rewrite of the sample from the posting:

    #!/usr/bin/env someotherlanguage
    pipeline:
        agent any
        stages:
            stage('Build') :
                steps:
                    sh './build.sh'
            stage('Test') :
                steps :
                    sh './test.sh'
            stage('Deploy') :
                steps :
                    sh './deploy.sh'
            stage('Deploy - Staging') :
                steps :
                    sh './deploy.sh staging'
                    sh './run-smoke-tests.sh'
            stage('Sanity check') :
                steps :
                    input "Does the staging environment look ok?"
            stage('Deploy - Production') :
                steps :
                    sh './deploy.sh production'

Now that can better fit on one page. Coming to think of it, are all those 'steps:', 'stages:', and 'pipeline:' clauses really necessary?
vorg··on Introduction to go compiler
I notice comments are still not parsed by cmd/compile/internal/syntax and placed in the AST. Some code to do it seems to be sitting around unused in the directory, as if it was once working but detached, perhaps because of the performance issues. There should be a boolean flag programmers can set if they want the comments parsed and stored in the AST.
vorg··on E-waste recycler loses appeal on computer restore disks, must serve prison term
Because I spelt it GAMAF instead of GAFAM, people like you wouldn't be enlightened by googling it. I would tend to add evil Oracle to that list of the filthy five, and call them GAMAFO.
vorg··on Startup School Beijing
Mobike being founded by an ex-journalist is an argument against your point, not for it. Journalism work in China isn't artistic, rather it revolves around finding things to say that keeps the govt happy.
vorg··on E-waste recycler loses appeal on computer restore disks, must serve prison term
Everyone fights the GAMAF sponsored subversion of the ICT industry in their own way, depending on their personality. Although some people go around the law without breaking it, others wilfully break it (Snowden), others go around it but inadvertently break it (Lundgren), others wilfully break it but can't handle the subsequent miscarriage of justice (Swartz), yet others make money from doing things that shouldn't be illegal (Dotcom). Fight the corrupt IP machine in your way.
vorg··on E-waste recycler loses appeal on computer restore disks, must serve prison term
> what danger he poses to society that warrants a 15 month prison sentence

We're seeing the reason for the U.S.'s >1% of adult population incarceration rate. The solution isn't occasional pardons but massive reform of the 51 criminal judicial systems in the U.S.

vorg··on Jenkins X: a CI/CD solution for cloud applications on Kubernetes
> "It was hard enough to get Groovy"

To make it work, they had to cripple Apache Groovy so you can't use its functional collections-based functions. Not sure if you can really call it "Groovy" with that handicap.

vorg··on Things I Learned from a Job Hunt for a Senior Engineering Role
Even a "systems" language like Go is just as suitable for a "quick alternative" as a "scripty" language like Apache Groovy or Bash.
vorg··on Chinese Tech Companies’ Dirty Secret [video]
When I worked in IT, the standard technique Western employers used to practise discrimination was to use independent recruiters to place job adverts and vet candidates before they were forwarded to the employer. When the recruiter and employer had an informal conversation a little later, perhaps over lunch, the employer would casually let slip that "if the new employee could speak another language, she would be able to interact easier with prospective clients", which the recruiter took mental note of before changing the subject.

But perhaps things are different nowadays.

vorg··on A journalism student who found out she won a Pulitzer in class
> Does the helper who whipes Einstein’s blackboard during the break deserve partial credit for what he put on it?

If the helper knows what to wipe off and what to leave up for when Einstein comes back, then I'd say yes. That's a more fitting analogy in this case.

← PreviousPage 9 of 34Next →