HNHacker News
TopNewBestAskShowJobs

derkoe

284 karma · joined May 9, 2019

submissionscomments
derkoe··on Rust in 2022
I think serde should be part of the stdlib. A http server and client library is also really a must-have today. Maybe some abstraction for SQL database drivers.

Some other candidates include: logging, anync runtime (Tokyo), random generator, regex

derkoe··on PDM: A Modern Python Package Manager
Okay now we have even one more https://xkcd.com/1987/
derkoe··on RHEL 8.5: OpenJDK 17, .NET 6, and more
The funny thing is that OpenJDK 17 is not available in the package and also the advertised Docker image does not exist https://catalog.redhat.com/software/containers/ubi8/openjdk-...
derkoe··on The falsehoods of anti-AGPL propaganda (2020)
I understand the need for revenue but starting your commercial relationship with a fraud will not turn out well. I think it would better to show the benefits of buying a license like support or influence in development.
derkoe··on The falsehoods of anti-AGPL propaganda (2020)
MinIO has switched their license to AGPL (the community is not happy https://github.com/minio/minio/issues/12143). The company behind the project is now contacting all users and tells them to pay for the commercial license. They try to make the users feels insecure about the way they use the product. They don't tell you that you are violating the license, they tell you to check with your legal, etc. So most companies will finally just buy it. This is also a way the AGPL is used: commercial interest, not user freedom.
derkoe··on How much faster is Java 17?
Just tried a simple Quarkus app (https://github.com/derkoe/quarkus-htmx-todos) with the same results. Java 17 starts around 10% faster. Memory consumption is around 10% lower (after first request).
derkoe··on How much faster is Java 17?
Default GC, and no quota - which means my full machine (i7-6700HQ)
derkoe··on How much faster is Java 17?
Even more interesting is the memory usage (app started and opened index page in browser):

  - Java 8/11 uses ~ 550MiB
  - Java 17 uses ~ 260MiB
(all run with Docker and a memory limit of 1GiB)
derkoe··on How much faster is Java 17?
Yes, Micronaut and Quarkus do that. Micronaut was created by a company (https://objectcomputing.com/)
derkoe··on How much faster is Java 17?
Just tried it - there is no significant difference between Java 8 and 11! They both start around 6.5s (JVM running for 7.4s). Java 17 starts the app in approximately 5.9s (JVM running for 6.7s).
derkoe··on How much faster is Java 17?
Our Spring Boot showcase application https://github.com/porscheinformatik/angular-spring-heroes starts ~ 10% faster on Java 17 compared to Java 11 (compiled with target 11).
derkoe··on Django site down: certificate has expired
And up again
derkoe··on Discord ends deal talks with Microsoft
Have you seen Microsoft Edge on Linux. I've been using it for some months now for company stuff and it works great. A different Microsoft indeed.
derkoe··on Did We(B Development) Lose the Right Direction? [video]
Slides can be found here: https://files.gotocon.com/uploads/slides/conference_36/1642/...
derkoe··on Best practices for REST API design (2020)
Most of these best practices forget the hard parts of JSON/REST APIs:

- How to handle date and time incl. time zones - JSON has no data type for that - Handling of numbers (JSON only has double, which does not fit most cases) - Defined and parseable error responses (rfc 7807 plus extra fields for details) - Localization - do you send translated texts or just error codes? - How to handle updates? Overwrite every field? How to update only some fields for a resource? Optimistic locking? - How to handle 1+n problems for reading? ...

derkoe··on Docker, Django, Traefik, and IntercoolerJS: My go-to stack for building a SaaS
I did a server-side version of the TododMVC app with both. I think Hotwire (Turbo and Stimulus) and htmx have exactly the same goal.

I found htmx easier to understand and handle.

Here are the two implementations (backend is in Quarkus/Java):

- https://github.com/derkoe/quarkus-hotwire-todos

- https://github.com/derkoe/quarkus-htmx-todos

derkoe··on Service end for Bintray, JCenter, GoCenter, and ChartCenter
Seems like JFrog is under massive pressure by GitHub, GitLab and the big cloud providers. The big companies are starting to move to those services and all the small ones are already there. No one needs an on-prem artifact repo for this setup.

There are also rumors that JFrog will change the licensing of their products in the next months.

The notice is really short for such a takedown - cornered animals sometime make bald moves.

derkoe··on Docker, Django, Traefik, and IntercoolerJS: My go-to stack for building a SaaS
IntercoolerJS / htmx looks like a really cool solution for server-side rendered HTML with client-side interactivity. All the hype is currently with https://hotwire.dev/ but htmx has more features, seems more solid and even supports older browsers like IE11.
derkoe··on Ask HN: Best Talks of 2020?
Linda Rising: Thinking Fast and Slow https://youtu.be/XjbTLIqnq-o

(Just saw that this is from 2019 but it was the best I've seen in 2020)

derkoe··on WSL2 – Installation Tutorial for Graphical Windows Subsystem on Linux
X11 connection breaks when machine goes to sleep/standby or the network changes (e.g. VPN).

Until the native WSL 2 GUI support launches you can use some workarounds like Xpra or X2Go - see https://dev.to/derkoe/development-environment-in-wsl2-137l

derkoe··on foo@bar.com
Similar is asdf@asdf.com. See their comment on that http://asdf.com/asdfemail.html
derkoe··on Griffon: a desktop application development platform for the JVM
Latest release from May 2018. All builds in Git repo are failing. The project seems abandoned.
derkoe··on Covid19model
Current data using this model for some European countries: https://mrc-ide.github.io/covid19estimates/#/
derkoe··on New drug alleviates CoV by 90 percent (German)
They say that they'll publish the results "in the next days". Anyway it seems to work - maybe that's one of the reasons for the low death count (in relation to infected) in Austria so far.
derkoe··on Meetup.com alternatives
I guess this will be the end of meetup.com. Nobody will be willing to pay the $2 reservation fee and organizers will move their events somewhere else.
derkoe··on Dependabot is now free
https://renovatebot.com/ is open source and supports more dependency management systems
derkoe··on Red Hat Universal Base Image
Yes that's kind of strange. That's why I've created one for OpenJDK 8 and 11 yesterday https://hub.docker.com/r/ubi8/openjdk
← PreviousPage 2 of 2