Better HN
topnewbestaskshowjobs
Log inSign up

meddlepal

6,076 karma · joined Feb 13, 2011 (15y ago) · 1,707 submissions

Submissions

comment 5y ago · link · parent

Love it. Also love how triggered the very serious cloud native HN weenies are about this in the comments.

Lighten up folks.

comment 5y ago · link · parent

You're not letting city governments get away with anything, the voters, the ones that actually show up, support these measures.

comment 5y ago · link · parent

> 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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

> 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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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).

comment 5y ago · link · parent

Thats why he said many not all.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

It's not a threat. It literally has to be mandatory since the decision will have large impacts on the current employees and the company. Employees need to know what they are voting on. It's not as simple as union good, company bad and you're being disingenuous painting it as such.

comment 5y ago · link · parent

The union has access to the employees out of work hours.

Why should the union get compensated time to express their position. If the Union wants to comp Amazon access to their employees and lost productivity then sure maybe, but I don't see that being proposed. It's always Amazon who must "give" something.

comment 5y ago · link · parent

> This practice really should be banned, IMO. The employer is taking advantage of the fact that the employee typically needs the job to survive.

I assume Amazon is paying for the time these employees have to spend in the mandatory information sessions? I don't see the problem.

Amazon MUST get the opportunity to present its case even if anti-union is not a popular stance. If the deal offered by Amazon is so bad then what is the harm? We should not be shielding people from information because we don't believe they're smart enough to see through it... that reeks of elitist paternalistic thinking.

comment 5y ago · link · parent

And Tesla should be allowed every opportunity to stop them.

I guess Tesla broke the law in this case, but I do not really agree with the ruling and the law. Musk should be allowed to present the possible downsides.

comment 5y ago · link · parent

Engineers circling the wagons for one of their own. If this was a CEO, politician, broadcaster, or anyone else with an ounce of notability they would probably be calling for their head.

comment 5y ago · link · parent

At a technical level it is always possible somehow but the point people are trying to make is that there should be access controls and protocols in place. The CEO should not have absolute unconstrained access in all matters.

comment 5y ago · link · parent

BTC true believers believe its a currency not a speculative asset you hold and it magically appreciates in value.

comment 5y ago · link · parent

Hard to imagine anyone but Bitcoin true believers doing this. It’s basically throwing money away if BTC continues going up

comment 5y ago · link · parent

Given enough people, loud complaining, money, and politicians ears you can get anything moved.

comment 5y ago · link · parent

Ah yes..., the things nobody really cares about except for a tiny (vocal) minority.

comment 5y ago · link · parent

Slack is not strategically interesting. They are already eating the enterprise communication market with Teams. Acquiring Slack would basically be a talent and tech hire nothing more... not worth $8B.

Discord gives them something gamers know and love and could be paired with Xbox. Gives them a huge competitive edge against Sony, especially if they intend to build a cross-play centric platform between Windows and Xbox.

comment 5y ago · link · parent

A naval blockade of a nuclear power probably leads to a nuclear war.

Taking Taiwan is a giant pain in the ass for China which is why it is unlikely to happen in any foreseeable future (e.g. 30-50 years). Honestly, it seems like China despite its words sometimes is perfectly content with the current status quo so long as Taiwan doesn't try to foment political unrest on the mainland.

comment 5y ago · link · parent

I'll reply to this comment when I do know

comment 5y ago · link · parent

I haven’t tried a VPN yet, but I have heard of some possible quirks due to how the networking is handled between Windows and Linux in HyperV

Edit: Im switching from Fedora to a WSL setup for work in the next week. Ill report on issues I encounter in that migration. I suspect VPN will come up because one of the key reasons im switching off Fedora to Windows+WSL is due to corporate VPN requirements.

comment 5y ago · link · parent

The US prison system is all about punishment not rehabilitation.

Theres a very strong “lock them up and throw away the key” mentality in many Americans view of justice.

comment 5y ago · link · parent

There's definitely a few quirks. My biggest annoyance right now is https://github.com/microsoft/WSL/issues/5762 .

Note this only impacts calling the Linux go toolchain from the Windows side (via the /$wsl/ path). Its not an issue inside WSL... but it comes up when you want to say configure Windows IntelliJ/GoLand to use the Go compiler hosted inside of the WSL VM.

> When you say "proper Linux distribution", I assume that's still CLI only? Do you develop with e.g. emacs, vim on WSL, or do you have some IDE with remote running and debugging into WSL? Or have a missed a trick and in fact X/Wayland applications can be run on WSL?

You can run X apps just fine in WSL2 as long as you have a display server running on the Windows side. I use X410. Important to note, Microsoft is working on native Wayland support long term. For what it is worth, I run IntelliJ/GoLand from inside of WSL and use X410 to render the GUI. This works great.

comment 5y ago · link · parent

You can boot the WSL vm with systemd but it requires some fiddling.

That said, I've been playing around more and more with WSL2 on a secondary machine as a current primary Fedora user (for about 10 years now) and I really haven't found a good reason why I would need systemd in the WSL2 VM vs the custom init.

comment 5y ago · link · parent

Don't sell yourself out for money unless you need to. Figure out the amount of money you would like to make then if your at not getting paid that at CurrentCo go find a darling SV company, unicorn, or a FAANG+Microsoft and switch to an IC role at one of those companies and get paid better.

Going into management for money is a terrible reason to become a manager...

Unless of course your goal is executive management... but that's very different from engineering management.

comment 5y ago · link · parent

I used to really like Spark but the primary maintainer seems to go through periods of disinterest. I switched to using Javalin https://github.com/tipsy/javalin which was built by one of the top Spark committers a few years back.

comment 5y ago · link · parent

Yea, but that's impractical in a lot of cases where frameworks or large libraries are involved.
12345
57