Readit News logoReadit News
voidfunc commented on Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script   github.com/simplenetes-io... · Posted by u/thomasbacklund
voidfunc · 4 years ago
Love it. Also love how triggered the very serious cloud native HN weenies are about this in the comments.

Lighten up folks.

meddlepal commented on 54% of San Francisco homes are in buildings that would be illegal to build today   sfzoning.deapthoughts.com... · Posted by u/undefined1
ed25519FUUU · 4 years ago
It's amazing how much we let city governments get away with zoning restrictions. Almost universally city governments will say they're "pro affordable housing", yet they will never budge an inch and give away some of their zoning power.
meddlepal · 4 years ago
You're not letting city governments get away with anything, the voters, the ones that actually show up, support these measures.
voidfunc commented on 54% of San Francisco homes are in buildings that would be illegal to build today   sfzoning.deapthoughts.com... · Posted by u/undefined1
incadenza · 4 years ago
I remember when I lived there everyone was so against the “manhattanization” of the city, so it was a big uproar every time a new building went in. I never quite understood how to square that view with the desire to keep housing affordable
voidfunc · 4 years ago
> I never quite understood how to square that view with the desire to keep housing affordable.

It is easy, there is no absolutely no desire to keep housing "affordable" by anyone that owns property in SF.

This is a problem through the US. Property owners vote and do things that are in their favor while renters and people that are trying to enter the market scream it is too expensive.

meddlepal commented on A categorized list of all Java and JVM features since JDK 8 to 16   advancedweb.hu/a-categori... · Posted by u/pjmlp
avmich · 4 years ago
Good language ought to discourage (enough) the bad practices. Culture forms slowly, and it's Java fault that the culture managed to produce such excessities as proverbial FactoryFactoryFactory.

Edit: I still think Java is a good language, especially later versions, and both original goals and recent advances are quite noble.

meddlepal · 4 years ago
I somewhat agree, but Java grew up in a different era when communication about these things wasn't as easy. It's hard to change the direction of something as large and widely deployed as Java. It's happening but it will take time and its always going to dealing with its legacy as there just so much of it out there.
voidfunc commented on A categorized list of all Java and JVM features since JDK 8 to 16   advancedweb.hu/a-categori... · Posted by u/pjmlp
laurent92 · 4 years ago
“Java is a big DSL to transform XML into stacktraces” — so was the joke at the time when domain-specific languages were the hype.

This, and the FizzBuzz, Enterprise Edition: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

More seriously, what are you missing in Go that is well-done in Java? I assume verbosity of the code is still the defining characteristic of Java?

voidfunc · 4 years ago
> More seriously, what are you missing in Go that is well-done in Java?

1. Generics. And yea, I know Go is getting generics "Real Soon Now" (tm), but it is incredibly annoying to write the same collection code over and over and there's some third-party libs that would really benefit from generics (looking at you Azure Go SDK).

2. Error handling... with the big caveat that I actually like Go's error handling mechanism at small scale but wish there was a good way to chain several operations together and return an error to the top if any failed... I find myself writing a lot of `err != nil` checks in sequence and I've found baking my own abstractions around this to be leaky or difficult to grow as the program requirements change.

3. Diverse collections API.

4. Iterators.

5. Not Java-the-language but the JVM has amazing monitoring tools.

> I assume verbosity of the code is still the defining characteristic of Java?

Pound for pound... I think Go and Java have about the same verbosity. I'm honestly never quite sure what people mean by "verbosity" in Java. Generally I interpret this as "frameworks" but I predicated my OP on the idea that legacy framework bloat is where most of people's frustration with Java lies... not the language itself.

voidfunc commented on A categorized list of all Java and JVM features since JDK 8 to 16   advancedweb.hu/a-categori... · Posted by u/pjmlp
voidfunc · 4 years ago
Java gets a bad rap from people that used it late 90's through early 2000's and got burned out by XML and design pattern heavy frameworks but its a lovely language that with a little discipline can be used to create very lean looking code.

Go is one of the HN darling languages and I work in Go everyday for work (and generally like it), but I really wish I could reach for Java most days.

voidfunc commented on A categorized list of all Java and JVM features since JDK 8 to 16   advancedweb.hu/a-categori... · Posted by u/pjmlp
bluejekyll · 4 years ago
One of the primary features I'm holding out hope for eventually making it into the language is ValueTypes: http://cr.openjdk.java.net/~jrose/values/values-0.html and the current Valhalla Project: https://wiki.openjdk.java.net/display/valhalla/Main

The simplest example of why this would be valuable (edit: this was not an intentional pun), the Optional type could become stack based, such that you could ensure that the variable referring to the Optional type is never null. This would help reduce a common class of bugs in Java code stemming from NPE's.

voidfunc · 4 years ago
You don't really need to hold out hope for this... it is coming and soon. It's been in active progress for years now (its a huge undertaking).
meddlepal commented on Covid 'fuse' may have been lit weeks or months before the 'bomb' in Wuhan market   cbc.ca/radio/quirks/mar-2... · Posted by u/pseudolus
cmrdporcupine · 4 years ago
Was with you until this "many on the left" nonsense. Been "left" all my life and I don't recognize myself in your comment nor do many others.

It's not team sports, it's world issues.

meddlepal · 4 years ago
Thats why he said many not all.
meddlepal commented on Kafka without ZooKeeper   confluent.io/blog/kafka-w... · Posted by u/toomanybits
the_arun · 4 years ago
Agreed. We need highly available & distributed

1. Locking service

2. Id generator

3. Bloom filter etc.,

meddlepal · 4 years ago
Azures blob service supports the first one. Its strongly consistent and has a lease/lock API. Ive seen leader election and coordination stuff built on top of it.
meddlepal commented on Boston Dynamics Unveils New Robot for Warehouse Automation   bostondynamics.com/new-ro... · Posted by u/simonpure
thescriptkiddie · 4 years ago
Guaranteeing employment by creating bullshit jobs is one of the big mistakes made by the late USSR. Doing so represented a fundamental shift in ideals from the egalitarian "from each according to his ability, to each according to his needs" to the puritanical "the who does not work, neither shall he eat". I keep thinking recently that the US looks more and more like the old jokes about the USSR.

There is no fundamental reason that you need to "keep people busy" with unproductive labor. Due to increases of productivity, we could all be working 20 hour weeks today and enjoying the same standard of living as 50 years ago.

meddlepal · 4 years ago
Dont worry we will all eventually just be working for the military-industrial complex in some form eventually, directly or indirectly. That’s basically the end state.

u/meddlepal

KarmaCake day6076February 13, 2011View Original