HNHacker News
TopNewBestAskShowJobs

zapnuk

459 karma · joined October 29, 2018

submissionscomments
zapnuk··on Gemma 3 QAT Models: Bringing AI to Consumer GPUs
A 3090 still costs 1800€. Thats not mid-range by a long shot

The 5070 or 5070ti are mid range. They cost 650/900€.

zapnuk··on OpenAI o3 and o4-mini
Surprisingly, they didn't provide a comparison to Sonnet 3.7 or Gemini Pro 2.5—probably because, while both are impressive, they're only slightly better by comparison.

Lets see what the pricing looks like.

zapnuk··on Show HN: FastOpenAPI – automated docs for many Python frameworks
Why not just use fastAPI and have it built into the framework?
zapnuk··on US Ends Support For Ukrainian F-16s
Let's assume a Russian asset somehow becomes President of the USA.

What would he have done? How would he weaken the USA and strengthen Russia?

At this point, I don't see a difference between Trump + GOP (leaders) and actual traitors.

zapnuk··on DHS removes all members of cyber security advisory boards, halts investigations
0day and spear phishing are about extracting/obtaining information. Misinformation and manipulation campaigns have the objective to ingest/manipulate information.

"Information security is the practice of protecting information by mitigating information risks." [1]

Not exactly rocket science.

[1] https://en.wikipedia.org/wiki/Information_security

zapnuk··on GPT-5 is behind schedule
Should have used chatGPT to ask for a name or at least check it
zapnuk··on Amazon Nova
They missed a big opportunity by not offering eu-hosted versions.

Thats a big thing for complience. All LLM-providers reserve the right to save (up to 30days) and inspect/check prompts for their own complience.

However, this means that company data is potentionally sotred out-of-cloud. This is already problematic, even more so when the storage location is outside the EU.

zapnuk··on Lies we tell ourselves to keep using Golang (2022)
Good that they work on it. And the efforts to refactor foundation into smaller modules go in the same direction.

I continue to root for them but they need so many improvments to be a realistic alternative to python/typescript/go/java for regular backend development.

At least in my field where we need to sure that other developers can continue the development without much hassle.

Just as an example, with those languages it's almost trivial to setup a basic projekt with dependencies. In swift however, it takes careful reading ot the swift package manager documentation to understand their concept of "products", "targets", etc. And I'm pretty sure i'd have to start from zero when i use swift for the advent of code in a few days.

There are many problems with devepdencies in Python, or package.json/gradle files. But at least they are (almost) foolproof to get started.

zapnuk··on Lies we tell ourselves to keep using Golang (2022)
If they'd drastically improved their tooling then yes.

But sadly it's not that easy to create a statically liked binary in swift. The last time i did it it also included the whole runtime, and the resulting "hello world" binary was 50mb large. Annoying at least.

For years I wished they got their stuff together, but at this point I'd be very suprised. They probably have too much technical dept already due to the support of XXX edge cases Apple need for iOS/MacOS development.

zapnuk··on Writing secure Go code
Writing custom iterators always looked bad and overly complicated.

If it's not essentials I'd rather not allow code like this in my codebase and use some other solution that is more readable.

zapnuk··on New York Times Tech Guild goes on strike
You might want to research the topic of strikes & unions.

The timple truth is that it's a give and take. If the demands would be too extreme the NYT would go bankrupt and the workers lose out on their job.

Thus, it's in their best interest to have reasonable demands. Most people forgett this part.

The workers, collectively, formed demands. At some point the burden should be on the employer to explain why the demands are not reasonable.

zapnuk··on A powerful tool for converting speech into text
I'm not gonna create an account just to find out more about your product. Sorry
zapnuk··on Zed on Linux Is Here
niche?

WSL (all distros combined) is the 2nd most popular Linux environment. Only behind Ubuntu.

https://survey.stackoverflow.co/2023/#section-most-popular-t...

zapnuk··on AWS Makes Cloud Formation Stack Creation Up to 40% Faster
You can also update a AWS Lambda in a few seconds if you use the aws sdk. Or in a few more seconds if you use pulumi or terraform. It's a problem entirely related to how CloudFormation works in detecting changes.
zapnuk··on I used to not worry about climate change. Now I do [video]
It's not just on a global level.

In germany we can't agree on building new north-south power lines to transport the energy we generate through wind power.

..and in the USA (and many other 1st world countries) you still have one of the two political parties who doesn't even agree that climate change is either real or poses a serious problem.

zapnuk··on Dolphin-2_6-Phi-2
By now there seem to exist many different llms that perform almost as good as OpenAI’s gpt 3.5.

But what is the sota of adopting llms for the use with custom or „live“ data?

I know OpenAI has function calling, and a vector db like pinecone can somehow be used as a knowledge base to introduce more context to the query, or response.

Are there other methods to make the open source llms more useful if you have a huge amount of data?

zapnuk··on Sweden plans new nuclear reactors by 2035, will share costs
NuScale tried that, doesn't seem to work (yet).

- Costs way more than anticipated

- resulting energy costs per kWh more expensive than renewables

- small nuclear reactors found to create more waste

https://www.reuters.com/business/energy/nuscale-ceo-defends-...

zapnuk··on Fourteen Years of Go
...to congratulate Go as another language where concurrency ergonomics is baked into the language.

While Go has another philosophy in mind, it works for many people. Together they opened the door to make concurrency a more important language feature and undoubtedly influenced other popular languages like java.

zapnuk··on 01-AI/Yi: A series of large language models trained from scratch
These pedantic “when I saw X instead of Y I assumed Z” are the most annoying comments on this website.

“From scratch” might be non-specific, but a fine phrasing in this case.

zapnuk··on Tesla to build 25,000-euro car at German plant
More affordable (and smaller!!!) electric cars would be nice.

However, out of the mouth of mr Musk it sounds more like hot air to distract from their cybertruck, roadster, semi truck, Tesla taxi/autonomous driving, and reliability (TÜV) failures.

And wasn’t the model 3 already supposed to be the affordable Tesla?

zapnuk··on An aborted experiment with server Swift
Such a shame. Swift has many beautiful language features.

I give swift a try every once in a while.

Problems of my last attempt:

- The Swift REPL (lldb to be precise) depends on libpython-dev (v3.8). WSL (ubuntu 22.04) comes with 2.7 and 3.10, so the lldb dependency depends on an old python version. The fix was to copy the 3.10 binary to the directory where lldb expects it, and rename it to libpython3.8.so. It seems that it's backwards compatible so it worked on my machine.

- I tried to compile and statically link a hummingbird (web framework, more light weight than vapot, https://github.com/hummingbird-project/hummingbird) hello-world example. I had a liking error. Luckilly someone in the swift forums helped me. The problem was that my package.swift file had the "-static-stdlib" flag only as a swiftSettings. It needed to be also a linkerSetting.

In the end I was able to build my example. But at this point I already spent multiple days debugging problems that are unrelated to my applicationn or the Swift language.

It's a shame because I see its potential. Fixing the (linux/windows) tooling problems would probably only take "some" developers. Apple has near infinite money and could sponsor them if they wanted to, but they gain little by it. Besides them, not many are invested in it.

zapnuk··on What Is a Vector Database?
What is the benefit of storing the unstructured data in a database compared to just storing the location alongside the embeddings?
zapnuk··on Java 21 makes me like Java again
What feels bloated and dirty?

Because there is plenty of bloated and dirty stuff in C++ and Python too.

zapnuk··on iPhone 15 and iPhone 15 Plus
If there is a USB-*, the EU can just update the policy for new devices with a grace period of X years. Problem solved.
zapnuk··on Twitter/X has removed all media posted before 2014
No. Facebook is still Facebook.

More like still referring Alphabet as Google.

I also find it fascinating how one person can buy the communication platform 450 million people use, only for him to change it for the worst. And somehow all users should go along with it.

zapnuk··on Spring 6.1 now compatible with virtual threads and JDK 21
This already uses user-configurable credentials. It uses an autowired "ClientRegistrationRepository" that provides the credentials.

We load the credentials once from AWS SecretsManager but I'm sure you could also load them from some DB.

But yes, I'd probably prefern a modern rewrite of Spring Security.

zapnuk··on Spring 6.1 now compatible with virtual threads and JDK 21
Sometimes the spring way is also just ugly, or confusing if you just want to do thing X. This code here is used for making HTTP requests using OAuth2. There are probably other ways to do it but I've seen this code in more than one place. I speculate that most people didn't knew they had to use a "AuthorizedClientServiceOAuth2AuthorizedClientManager", but rather found an implementation online and copied it.

But as you pointed out, since there are established spring ways to do something, it doen't matter if it's ugly since it actually "just works".

```

@Bean

public AuthorizedClientServiceOAuth2AuthorizedClientManager authorizedClientServiceAndManager (

        ClientRegistrationRepository
        clientRegistrationRepository,
        OAuth2AuthorizedClientService authorizedClientService) {

    OAuth2AuthorizedClientProvider authorizedClientProvider =
            OAuth2AuthorizedClientProviderBuilder.builder()
                    .clientCredentials()
                    .build();

    AuthorizedClientServiceOAuth2AuthorizedClientManager authorizedClientManager =
            new AuthorizedClientServiceOAuth2AuthorizedClientManager(
                    clientRegistrationRepository, authorizedClientService);
    authorizedClientManager.setAuthorizedClientProvider(authorizedClientProvider);

    return authorizedClientManager;
}

```

zapnuk··on The OpenTF Manifesto
Right now there is pulumi as a alternative that supports different clouds. Otherwise AWS CDK or Azure Bicep come to mind.

If i could to a do-over I'd want the solution to look and feel like AWS CDK but without the cloudformation in the background, and support for GCP and Azure.

I've worked with CDK for 2 years now and being able to define your code in Typescript is quite handy and drastically reduces the effort it takes for new people to learn how our deployment work. It's also quite nice to be able to directly bundle and deploy the application together with the infrascructure with very little effort.

zapnuk··on Comma 3X
Apples and oranges.

Road safety is increased in countries with more regulations - there is direct evidence across the (developed) world.

Drugs is an entirely different problem that has way more factors that make comparisons between countries rather difficult.

And just because drugs are regulated AND an increasing doesn't mean that the problem is resolved by less regulation. Maybe there is just a need for different / adjusted regulations.

zapnuk··on Comma 3X
The leading causes for 'unintentional injury' deaths in the USA (age 1-44) are:

1. Drug overdose

2. Motor vehicle traffic

Maybe there is a need for regulation? Especially if you consider that the USA has 2-4x more road deaths per million people compared to europe. Safe technoligies through regulations are one aspect in addressing this problem.

← PreviousPage 2 of 6Next →