HNHacker News
TopNewBestAskShowJobs

zapnuk

459 karma · joined October 29, 2018

submissionscomments
zapnuk··on Google Cloud Workstations managed development environment is now GA
The 4 vCPU 16 GB RAM range from 0.32-0.39 $/hour With 8 hours per day and 22 workdays per month its at most 68.64$.

Your price includes the "workstation cluster fee", whatever that includes. Anyways this fee is fixed and does not increase for more workstations.

1 Dev => 68.64 + 144

100 Devs => 100 * 68.64 + 144

I guess $70, or even $140 with better hardware, might be worth it in some szenarios.

Personally, I'd never want to work with a company that doesn't trust me with a regular notebook.

zapnuk··on Mojo: First Impressions
For every new technology there are hundreds of previously unknown tech blogger/influencer/entrepreneurs trying to cache in.

Imo it would be more pleasent if their content had more depth. At least this one had more compated to the x/10 twitter threads about promt engineering or graph databases.

zapnuk··on Spain, Sweden, and Belgium Soar to New Heights in Wind and Solar Power
Same reason germany isn't mentioned (44% for the total of 2022, excluding 6% nuclear, https://www.cleanenergywire.org/factsheets/germanys-energy-c...)

This article is either AI generated or someone did a sloppy job.

I guess its both. From their about page:

> We bring together human editorial expertise and cutting-edge AI to offer a compelling and enlightening reading experience.

They just summarize actual news articles.

zapnuk··on The end of nuclear power in Germany
1. The reason Germany has to scale (temporarily) on coal wasn't the exit from nuclear power. It's because Germany stopped importing russian gas.

2. Why does France need to import electricity in the first place? Hint: It's because HALF of their nuclear reactors needed maintenance.

zapnuk··on The end of nuclear power in Germany
That a dumb and incorrect statement.

Here is the first link when you google "greenpeace coal germany".

The level of stupidity from this and many other comments makes me wonder how many russian plants are here trying to push some agenda.

https://www.greenpeace.org/international/press-release/20429...

zapnuk··on Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
Yes, Java is a simple language. But all the stuff that was added to Java makes it at times feel bloated and annoying to work with.

> Why don’t “enjoy” the simplicity of assembly then?

Now thats just stupid.

zapnuk··on Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
A few counterpoints:

- Modern Java requires heavy use of Decorators

- JSON handling is tiresome

- As soon as you are using Spring you aren't actually coding Java anymore

- Many mature libraries have dated APIs

- Similar functionality is often implemented multiple times in multiple different libraries. Can be confusing if you start out.

- Java requires a well configure IDE

  - However, IDE Support won't matter in a year or two when we have IDE integrated AI support
I guess it depends on the problem you want to solve. For the use cases I work on I'd prefer Go for its simplicity.
zapnuk··on Bjarne Stroustrup: Think seriously about “safety”... [pdf]
> One memory error per 1000 LOC?

From his link: "Historical vulnerability density is greater than 1/kLOC (1 vulnerability per thousand lines of code) in many of Android’s C/C++ components (e.g. media, Bluetooth, NFC, etc). Based on this historical vulnerability density, it’s likely that using Rust has already prevented hundreds of vulnerabilities from reaching production."

zapnuk··on Swift Project in 2023
Better AWS Lambda support would be nice. There is a runtime by the server workgroup but afaik it requires docker as an intermediate for compilation.

If would be awesome if the cross compilation support is as good as it is in Go such that you could build your lambda executable with `GOOS=linux GOARCH=amd64 go build -o main main.go`.

zapnuk··on Gender pay gap closing among German board members: men are slowly catching up
Woman make up ~14% of board members in Dax companies.

However, somehow, the phrasing of this thread implies it’s the men that are disadvantaged. Curious what the intentions of op is.

https://www.tagesschau.de/wirtschaft/frauenanteil-dax-konzer...

zapnuk··on The Young People Working for the Most Evil Companies
We already did. It's just that some companies are more directly linked to human suffering as others.

Or to put it bluntly, whats the point of privacy and freedom if your country isn't livable anymore due to climate change or you're dying of cancer due to toxic waste?

But there should also be something be done about social media companies poisoning our minds, or companies like clearview putting our freedom at risk.

zapnuk··on Draft EU AI Act regulations could have a chilling effect on open-source software
Well there is a need for AI regulation. I don't think this draft is particularly helpful but there are some many areas where AI touches our personal freedom & privacy (clearview, deep-fakes), safety (full self driving cars - tesla lol), and overall societal health/discourse (social networks, content suggestion).

Who else besides goverment bodies should regulate it?

Companies? They are the reason we need the regulations in the first place.

zapnuk··on SpaceX firings likely violate US labor law, experts say
> When was the last time we saw a post in HN talking about how Elon Musk is helping combat climate change?

I don't know, but what climate change related action of him is worth discussing?

zapnuk··on AWS costs every programmer should know (2019)
> Above free tier AWS Lambdas are terribly expensive when compared with EC2 alone. You're charged per RAM*time, you're charged per concurrent execution, and if your Lambda times out you have to pay for the re-execution.

They are dirt cheap for many use-cases where you application only runs a few times a day/hour and you need ad-hoc scalable performance. For example processing/creation of csv-reports - which is a common task in my organization.

zapnuk··on Killed by Microsoft
Yes! Teams is by far the worst "popular" software i've ever used.

It's so bad that eventhough most businesses depend on teams, they, as well as everyone else, would be better off if teams suddenly disappears from one day to another.

edit: Just a few things that annoy me basically on a daily basis:

- The status isn't always up to date. Sometimes it takes minutes to you or your contacts to show the correct status.

- It is (unsupprisingly) not very responsive

- It hogs my CPU when its idle and especially during video calls. So much so that the fans of my 2020 MBP start spinning up - which otherwise only happens when I run a build/tests. This is especcially bad considering all other video call software (zoom, discord) run just fine.

- The UX is terrible when you are active in different organizations. It's riddled with bugs. Every time I switch organizations I have to type in my password twice because for some reason the login session expires instantaniously. If I switch back an forth sometimes some functionality like shring screen or accepting calls just stops working and I have to restart teams.

- It tries to include the formatting if you copy+paste in chat. It always looks bad and sometime is ittetating because the font size is way smaller.

- Cameras or shared desktops regularily freeze

- You cant set the audio level of individual participants. This is especiallly annoying if you're in the same room as other participants of larger meetings since you'd then head them twice.

- Because of the messy permission system between multiple organizations it's often not clear wether or not you can certain contacts of are allowed to use the chat in meetings.

zapnuk··on Apple’s use of Swift and SwiftUI in iOS 15
> It just doesn’t make sense for them.

It does though. As least for me. Better support on Windows and Linux would increase the number swift developers which would the in turn result in more and better open source libraries.

For Apple this could mean that their own open source libraries could get better, they have more tools/libraries to choose from, or simply that they have a greater pool of talent for hiring.

Looking at Go (and Rust) I think this is somewhat shown. There are a lot of different factors, but I think the development tools of Go is the #1 reason why it is basically the only "new" language in a long time that gained a large enough popularity to become mainstream - as in you actually find jobs developing in Go. Which is in some ways sad. It seems like Swift could be the very good fit for backend/serverless development.

I guess the real question is how much effort would it take to get the development tools like editor support to the next level?

zapnuk··on Germany locks down unvaccinated people, as leaders plan to make shots compulsory
You claimed that "THEY" changed the definition, based on a dictionary. This would imply that the definition was changed during covid to include "mandate sceptics". The link shows that in 2018 it included "[...] laws that mandate vaccination". The only real difference is that the former definition uses the word "laws" and the current one "regulation". While the two words are not interchangeable, the definition on merriam-webster includes laws as a type of regulations.

Calling this a meaningful change of its definition that "THEY" did is nothing more than pedantic anti-vaxx bullshit.

zapnuk··on Germany locks down unvaccinated people, as leaders plan to make shots compulsory
Thats a lie.

It's been the definition since at least 2018 https://web.archive.org/web/20181125060933/https://www.merri...

zapnuk··on Terraform vs. AWS CloudFormation
I've developed cdk for about 6 months now and it seems to me like a great idea.

However, the implementation is quite lackluster.

- It's very slow. Deploying our app from scratch takes >30 minues. An update of a single lambda (implementation, not permissions) takes about 3-5 minutes.

- Bad error information. On an error, cdk usually just reports which component couldn't be created. Not why it couldn't be created. That information you 'might' find in the aws cloudformation console, or not.

- It's buggy. Some deployments randomly fail because cdk couldn't find your cli credentials. Sometimes resources can't be created. In each case it works if you deploy again...

I suspect that most shortcomings that I experience are due to cloudformation. I'd really be interested in a 2.0 version that is either highly optimized or polished, or works with a different intermediate abstraction entirely. Updating and validating a tree of resources and policies should not be that difficult, at least not for AWS.

zapnuk··on The pleasure of writing Go
Exactly. I've used Python for 5+ years now and I can't remember indentation ever being a problem. Not even when I started out.

And even if you somehow f-up the indentation. About every editor has a formatter that fixes it for you.

zapnuk··on Dynamic Queries in Ecto (Elixir Lang)
Ecto is great. The only problem I've had with it was when I used it together with sqlite. It appears that by default, Ecto locks the sqlite-database file such that other clients cannot write to the same database.

With Python didn't encounter such problems. I assume this is more of a user problem - as I wouldn't describe myself as an Ecto or a sqlite expert.

A bit of a shame that Elixir isn't as popular as other languages. Solving problems can get a bit tedious because you can't just google it and find your answer in a stackoverflow post.

zapnuk··on A generation of American men give up on college
One might think the whole sexism and gender roles thing and would be discouraging woman from perusing certain fields.
zapnuk··on A generation of American men give up on college
I wonder how woman feel reading such comments. Men dominated better paying jobs and positions of power since forever. It took 50+ years between equal rights before the law to equal opportunities in the labour market and education.

Men still have every opportunity a woman has. In addition, they are still recognized more for leading positions. They also dominate about every trade related job.

Yet, they are 'left without a purpose', when all they need it to do is do whatever they want.

zapnuk··on Bezos donates $100M each to CNN contributor Van Jones and chef Jose Andres
If billionaires entrust their money to more or less random people for philanthropic objectives I rather have them be taxed higher and let a (somewhat inefficient) government decide how to invest the money.

At least I had a role in electing the government and can change my vote based on their performance.

zapnuk··on Germany's national healthcare system adopts Matrix for communication
Well we do have "von Haus aus" but it's less formal and can't be used as a 1:1 replacement because of the grammar.
zapnuk··on Building Self-Managed Teams: A Case Study from Riot Games
That's debatable

League of Legends is a premier e-sport more so because of marketing than game design or engineering. In fact, their game client remains worse than dota 2's in every way. It's actually pretty hard to take them seriously considering their client is still such a buggy mess after about 10 years.

While the viewership of casual Valorant is greater than CS-GO, it's also not "rapidly rising" - https://sullygnome.com/game/Valorant/365/summary

And the esport viewership of CS-GO is much larger compared to Valorant.

And while Teamfight Tactics was an success, Legends of Runeterra wasn't. So they are 3/4... which is still pretty good - but can also be explained by good marketing and IP handling. Similar to the new Activision-Blizzard.

zapnuk··on Twitch will ban users for 'severe misconduct' that occurs away from its site
> second-most voted for President in American history

The population of the USA is continuously rising. This is not an achievement. All it takes is an unusual voter turnout and a somewhat close election.

> because he isn't their brand of politics.

No. They banned him because at that time they determined that his violence encouraging speech was a real danger to society.

> he is a former US President - we aught to know what he thinks, even if we disagree or think it's outlandish - no?

Also no. Traditionally, former presidents live a more private life to pave the way for a new generation of politics. And even if you think he should be able to continue to influence the day-to-day political news, he has the ability to release press statements and contact any media outlet he wants.

Trump literally is an example that being banned from social media does NOT limit his public speech. Anything he puts out is discussed in mainstream media. Just a few days ago we were informed of his utterly stupid idea of using cancel culture to protest cancel culture.

zapnuk··on Rent controls have split housing in Berlin into two distinct markets
The graphs seem misleading or at least raises additional questions.

Yes, compared to the next 13 largest cities there seems to be a difference. However, the difference in graphs existed even before the policy proposal+enactment. The margin is also relatively small and only for a small timespan.

There should also be comparison to more comparable big cities like Munich, Cologne, Hamburg, or Frankfurt. Other cities are substantially smaller or have no (or even negative) population growth. Of cause the rent in those cities grows differently compared to Berlin. Thereby shifting the average.

zapnuk··on These 15 Billionaires Own America's News Media Companies (2016)
Not to mention the endless commercials...

How do the viewers of CNN, Fox, MSNBC not recognize that the guests cannot make substantial points about policies when their discussion is interrupted every 5 Minutes for commercial breaks?

Also, the USA has PBS, which is for a large part financed through a public fund (taxes). I don't know whats wrong with it but I assume by now most of the tv-watching audience is "trained" to watch opinion pieces on Fox&CNN instead of actual news.

zapnuk··on Permanent suspension of @realDonaldTrump
Because at that point they are heavily outnumbered that point they couldn't do much besides securing the MVPs (Senators, personal etc.).

Here is the video where the terrorists crushed an officer to death: https://twitter.com/joshscampbell/status/1347749675777011714

The doors were definitely not open at the beginning, which everyone who watched it live clearly saw.

What he did see is a violent mob who forced their way into the building and a police which was outnumbered and not prepared.

← PreviousPage 3 of 6Next →