HNHacker News
TopNewBestAskShowJobs

olavgg

1,790 karma · joined May 8, 2013

Founder of IntelliStream

https://intellistream.ai https://no.linkedin.com/in/olavgjerde http://olavgg.com

submissionscomments
olavgg··on Choose the browser that best suits your privacy needs
Yeah,I were wrong, however uBlock do work better on Firefox. https://github.com/gorhill/uBlock/wiki/uBlock-Origin-works-b...
olavgg··on Choose the browser that best suits your privacy needs
Most people don't need features like WebUSB support.

But I do believe people want uBlock to intercept http requests before rendering the web page. And from my understanding this has always been supported in Firefox, but never in Chrome.

I have used Firefox forever, I never switched to Chrome as it knew it never was fully open-source. The point of open source is that you're able to build the thing from sources with the exact functionality as in binary file they release.

The web is extremly important for everyone, and it is important that we still build an open web for everyone. When people use projects like Chrome, they let Google decide the direction of the web, just like Microsoft did with IE.

That Firefox was sometimes slower than Chrome and sometimes lacked features has never been a big productivy hit for me. Neither has web pages that didn't work in Firefox. In the worst cases I just need to start Chromium. I lose max 1 minute. That is nothing to sacrifice for keeping the web open.

olavgg··on FreeBSD 14.0-Release
Compared to RHEL, CentOS, FreeBSD upgrading is a breeze. Debian is easiest. I have done like 100 different upgrades of FreeBSD and most has been without any issues.

If you use Jails, you have to upgrade them also, there are guides for this.

olavgg··on Zero-k: A libre sci-fi RTS game, with an economy based on metal and energy
link?
olavgg··on Ask HN: Is paid ChatGPT Plus worth it?
Hell yes!

I currently do Java, Spring Boot and Rust development.

ChatGPT is at least 100 times better than Google Search for helping you with Hibernate/JPA stuff, especially related to eager fetching and joins of child entities with child entities with child entities. I recently struggled with an issue where ChatGPT helped me with a solution for using the ILIKE operator in PostgreSQL with Hibernate which doesn't support this operator. I implemented a workaround (https://olavgg.com/show/how-to-use-spring-boot-jpa-criteriab...)

It is crazy how fast I learn about new things that I don't know how to search for and most of the examples ChatGPT spits out do work 100%. If not, you're already 95% there and only need to apply a minor change! The power of ChatGPT makes me at least 100% more productive. I can do twice as much every day as I now have a lot less "blockers" wasting my days. This also makes programming a lot more fun :D

olavgg··on Disks lie. And the controllers that run them are partners in crime (2012)
This remains relevant today, as when a new SSD undergoes evaluation by a prominent website, the tests are typically limited to workloads for which the SSD is specifically designed. If the benchmarks included synchronous write and write latency assessments, the results would present a markedly different narrative. There are SSDs in the market whose write speeds are comparable to those of traditional spinning hard drives.

Here is a barchart from some of the older Samsung SSD's https://www.diskusjon.no/uploads/monthly_06_2017/post-5591-0...

https://www.diskusjon.no/uploads/monthly_06_2017/post-5591-0...

olavgg··on Ubuntu 24.04 LTS Committing to Netplan for Network Configuration
This, I really don't understand that they want to create a diverging solution for something that already works really well. We don't need 15 different solutions to configure networking.

Imagine looking for a Java solution and the only response you find is in Kotlin... fucking annoying as I have to learn Kotlin to convert it to Java... The same thing with network configuration, you're looking for something that works on Debian and you only find a Ubuntu solution....

olavgg··on Bcachefs Merged into the Linux 6.7 Kernel
I love storage and filesystems, and I am really looking forward to play with bcachefs. Now bcachefs can be tested easily by millions and build a solid reputation as a true next generation Linux filesystem.
olavgg··on VirtualBox 7.0.12
I use Mellanox ConnectX 3 for 15 USD on Ebay and SR-IOV which provides virtual functions for my VM's, and get full 40Gbps.
olavgg··on How Netflix uses Java
I am a big fan of Spring Boot, its one of the few frameworks that just works and let me focus 100% on solving business problems. I've tried Micronaut, Quarkus, Dropwizard, but they slow me down too much compared to just using Spring Boot.

For me delivering business value is the most important metric when I am comparing frameworks. Spring Boot wins every time.

olavgg··on Asks HN: Solo founders-How to respond when customers ask how big is your company
I am in the same situation and I am being honest about that is currently only me. My plan is to hire people, business developers, project managers and engineers. But there has to be work for them before I hire.
olavgg··on HTTP/3 adoption is growing rapidly
Anything which involves more work than dnf/apt install nginx isn't worth wasting time on. So http2 for now.
olavgg··on Tell HN: Enterprises spend 10x more to build no-code solutions than coded ones
This is so true. Oil & Gas loves data and excel. Everything starts with Excel, and when it outgrows Excel the next step is getting developers to build a better solution. I absolutely think this is the right thing to do.

If ChatGPT can make basic programming eaiser, and Excel ships with easy and excellent Python integration, we will see more Excel.

olavgg··on RabbitMQ vs. Kafka – An Architect’s Dilemma (Part 1)
You can just run Pulsar standalone which is super-simple, it is a great start and scales just fine for one machine. Once you outscale one machine, you can refactor Pulsar into a distributed setup. The advantage is that everything is still familiar.
olavgg··on ChatGPT Isn't Coming for Your Coding Job
I'm actually developing a product that writes database queries, SQL and Cypher with natural language. ChatGPT makes "coding" more accessible for everyone. It will not replace real software developers, but it will help a big number of people with zero coding skills to perform simple data manipulation and data extraction tasks.
olavgg··on Java 21 makes me like Java again
I think it is, just as Gradle is Java. Groovy is a superset of Java, and makes some parts of Java development better. I for example write many tests with Groovy or implement DSLs for my clients with Groovy.
olavgg··on Java 21 makes me like Java again
This 100x, C# and Java are also very similar programming languages. C# may be a better language, but the difference is minimal. Most C# developers claiming that C# is a better language often don't know Java. I remember one C# guy telling me that Java didn't have closures before Java 8, which was not quite true. Java developers had access to Groovy which had closures. Groovy may be another programming language, but it has always had 99% Java syntax compatibility and they both compile to the same byte code and work seamlessy together. Groovy 4 also has LINQ if you like that. And using Groovy is no harder than including it as a dependency in Gradle/Maven.

Java eco system is so vast, and of top notch quality, with excellent documentation available for free. It enables businesses to move faster, at a pace most other languages cannot offer. It's not perfect, especially I find data sciene libraries lacking in Java compared to what the Python eco system offers. But depending on the task I try to choose the right tool for the job, not the same language for every job.

olavgg··on PostgreSQL 16
I just tested, I had to use pg_upgrade.

Error message: The database cluster was initialized with CATALOG_VERSION_NO 202306141, but the server was compiled with CATALOG_VERSION_NO 202307071.

olavgg··on PostgreSQL 16
Do I still have to use pg_upgrade when I'm just upgrading from RC-1?
olavgg··on Why isn’t dotnet core popular among startups?
I can explain why. Java is great for web, api's and most things. But Java is not really that great for doing data science. Python is great for data science, the Python community has put a great effort making Python "The place to be for Data Science" and Rust helps us speed up heavy tasks that are too slow with Python.

It is not really crazy complicated, it's simple stuff that is very well documented. We try choose the right tool for the job, and we don't care about which language we use. If we tried to do everything in Java, we would spent at least 2x more time on building our software.

olavgg··on Why isn’t dotnet core popular among startups?
I recently launched a startup, we use Java, some Python and even a little bit of Rust. For web we also use plain Javascript. We will most likely add some GoLang and C/C++ for specific problems we need to solve in the future.

But using C# .Net? It's completely irrelevant, it adds absolutely nothing. The performance is similar to Java. The syntax is similar to Java. But the eco-system is one of the smallest of all the big programming languages. And most of the documentation/blog posts about C# is heavily Windows focused, and we run only on Linux. The only reason I think of why I should use C# is when we need a Windows-based desktop application. But I think Java+JavaFX will be just as good and will also work great on MacOS and Linux desktop.

olavgg··on Microsoft has not stopped forcing Edge on Windows 11 users
For 10 years ago I was in the position of both of you. I hate being ineffective, but because of company policies I just had to go along. Anyway, the madness inside made me quit and after that I've booted several successful startups. Quitting was the best descision I've ever made. It is a big leap for sure, but heck. If you're not happy with current work, you shouldn't continue.
olavgg··on I only lost 10 minutes of data, thanks to ZFS
4-5 years? My old backup server has almost been running for 15 years now, 6x 500GB hard drives, one is even running on PATA. 8GB ECC ram, Athlon II. I could save some money replacing those 6 drives with 2x 14TB hard drives today. But as long it is working fine I ain't gonna do something before I run out of hard drive space.
olavgg··on How Red Hat’s Open-Source Negligence Is Doing Actual Harm to the Linux Community
One of the biggest problems with open source, is no one wants to pay for it. It is time to charge for great work and people need to stop expecting excellent software being delivered to their doorstep for free. The whole idea behind open source is knowledge sharing, not free work.
olavgg··on Red Hat cutting back RHEL source availability
The switch -> https://web.archive.org/web/20170808183612/http://imgur.com/...

The full article: https://web.archive.org/web/20190919121901/https://www.reddi...

olavgg··on Biggest Y Combinator failed startups
I am still using the first generation Boosted Boards V1 that I got from the Kickstarter campaign in 2014. I only use it during the summer though. Battery is still working well, with around 70% of original capacity. Its a shame the company went under, they had a killer product with excellent quality.
olavgg··on How to listen to database changes using Postgres triggers in elixir
If you want to listen to database changes, check out Debezium. Instead of triggers it takes advantage of the more recent CDC functionality that most SQL Servers has implemented today. The difference is that triggers works on every transaction while CDC works on a redo log file. This makes it possible to transfer database changes with minimal performance impact.
olavgg··on Show HN: Java REST without annotations, DI nor reactive streams
Of all web frameworks, with perhaps the exception of Ruby on Rails. I really struggle with lack of documentation or the quality of documentation. And lesser popular frameworks has a lot less volunteers sharing knowledge.

Spring Boot is one of the most popular web frameworks in the world. It is by far easier to figure out how to do build something that solves business problems in Spring / Hibernate than alternatives(except maybe RoR).

For example, do you want to use Micronaut, the Spring Boot killer? Good luck fetching a collection with string type. I takes basically 2 minutes to google how do this with Spring Boot / Hibernate, and it will take you a day or two to figure out it isn't possible at all with Micronaut without writing massive amount of code that binds the results from your SQL to your objects. This is one example, and it shows the madness in web frameworks. Why are we switching frameworks that only ends up slowing us down?

Spring Framework is a big framework, that solves many problems. It may be overwhelming the first year, but with a few years experience you do not want to switch, because other frameworks lacks or has ugly hacks for many Spring Framework features.

Other advantages, massive access to experts for hire. There are literally thousands of Spring Framework developers in my area. Also, since I am an expert myself, I can share my knowledge between these people, and together we are improving our knowledge at a rate other frameworks cannot offer and this gives us a massive innovation pace that brings increased business value.

The next time I will try another web framework, I need to see that my productivity gets improved immediately. Otherwise, is just noise.

olavgg··on Bye Bye Ubuntu, Hello Manjaro. How Did We Get Here?
I still use (K)Ubuntu desktop, but for servers I feel Centos Stream 9 is best choice for a homelab at the moment. Debian is also good. What these two distros have over Ubuntu, is easy and clear documentation. Ubuntu Server adds so much noise, they are changing too many things over the years. Network configuration documentation is a mess. I'm tired of googling for an example thats updated. For Centos I easily find examples that includes how to configure network services correctly with SELinux. Extra security without time wasted is good!
olavgg··on SQL:2023 has been released
Agreed, when you see the index size in Mongo vs PostgreSQL, you will quickly understand that a single PostgreSQL instance can outscale a huge Mongo cluster.
← PreviousPage 5 of 22Next →