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 What FreeBSD can offer compared to other operating systems (2020)
I can't use FreeBSD for storage anymore. I mostly use iSER(iSCSI) or NVMe-oF with RDMA transport, sadly FreeBSD doesn't support this.
olavgg··on Ask HN: Which front-end tool would you use to build an e-commerce web app today?
Grails gsp and asset pipeline plugin is nice. Easy to use and great performance.
olavgg··on Solid-state cells will cut EV charging time and increase volumetric density
I have a Porsche Taycan, and while it can charge 250kw/h, it only last for a few minutes. On average fast charging from 20% to 80% takes 30-45 minutes. This is with a heated battery and on Ionity network.
olavgg··on Esports stars have shorter careers than NFL players
Not really, one of the hardest skills to learn in DOTA is how to react, not how fast you should react. Often, not helping your team can benefit the team.

I'm immortal ranked Dota player, that spends 10 hours a week playing Dota. And has played DOTA since Warcraft 3. My reaction time is slow, because I think so much about each situations. And a slightly bad decision can lose the whole game. When I see my team fighting, I take a short look, maybe think for as long as 2-3 seconds and make a decision about if I can contribute to the fight or if I will just be feeding.

DOTA is a lot more about strategy, positioning, how to pressure, farming patterns, vision/warding, when to use power spikes and be a team player. This is also why experienced players beat the crap out of younger players and probably also why younger players play something else than DOTA/MOBA.

olavgg··on Oggify: Download Songs Directly from Spotify
I am gonna tell you why. I got a Porsche Taycan last year with Burmester. Its audio quality is excellent, however there are limitations. I can play Spotify from my phone over bluetooth, which means reencoded lossy audio. It sounds awful. I can however play music directly from a usb memory stick, which sounds great, just as it should.

This is more a problem of Porsche, not having Spotify integrated into their PCM. It is coming on future models though. But we with a Taycan 2020-2022 model, will not get this.

So having a pile of ogg files is currently a great option.

olavgg··on Java Development on an Apple M1 – A One Year Review
Thank you for your suggestion, I just gave this a try, and it's almost there but there are still some rough edges. It needs to mature a little bit more.

Though this got me thinking a little bit, I have ordered a M1 Max 32GB which I have been waiting for over 5 months now. I am actually looking into getting the M1 air with 8GB as I think it will suffice for my Java development. I don't need to run VM's on that machine.

I'm gonna think about this through this weekend. I don't really need the firepower from the M1 Max as it has similar single core performance to the M1 air. And if this product matures, I will really not need that much RAM either.

olavgg··on Norwegian developer job board for Ukrainian refugees
Salary for developers, even foreign ones in Norway is also pretty good! And at the moment there is a huge demand for software developers here.
olavgg··on Ask HN: Easiest way to build a CRUD app?
I use Grails, which is Spring Boot with sane defaults already configured. Grails is very similar to Rails, while Spring Boot still involves some configuration.
olavgg··on I got pwned by my cloud costs
The cloud is great for scaling indeed, but a cheap Intel V4 server with 44 cores from Ebay for $2000 can handle a shit ton of traffic too.

If I were building a new business, I would use both cloud and colo. But I do understand that everyone don't have that luxury.

olavgg··on Poll HN: What operating system do you primarily develop on?
My workstation is Linux, which I mostly use. Though I have a MacBook laptop that I also use. So I voted for Linux, though MacOS is a close second.

I also use Windows for development, but that is only when I do Windows specific stuff.

olavgg··on Ask HN: What is your system for backing up family photos and video?
All servers are behind a NAT, but the servers are only configured with SSH open. With the exception of the NAS I am using which also has NFS, iSCSI running. Also, only the backup servers are allowed to make connections to NAS I am using. The NAS I am using is not allowed to connect to the backup servers.
olavgg··on Ask HN: What is your system for backing up family photos and video?
Not really, space has been free for me. Electricity is very cheap usually here in Norway. And hardware are used servers from Ebay. Though these are actually desktop AMD x2 with 8GB ddr2 ECC memory on Asus motherboards. Still working fine, but I am planning to replace soon.
olavgg··on Ask HN: What is your system for backing up family photos and video?
I have 3 NAS systems based on Freebsd + ZFS where all system are over 10 years old on 3 different locations. My home, my parents home, and at my co-location.

It is just ZFS snapshots with replication. I wrote my own shell scripts for this that takes daily/hourly snapshots. This scales well with multiple TB's, bandwidth is no issue as only changes from last snapshot(s) are replicated.

After 10 years, I've replaced only 2 hard drives of about 30. I do upgrade FreeBSD once every second or third year. Nothing else, it just keeps going.

This project has probably costed me max a week in configuration & setup & maintenance over the 10 years.

olavgg··on Understanding Kafka with Factorio (2019)
I work in the oil and gas industry where legacy systems runs on their last breath. Kafka is a fantastic tool and solves a shit ton of problem. We have millions of sensors on an offshore installation, these all send data into kafka, where we generate events on new topics from different timeseries. Other data services consume these topics and get data updated in near realtime.

No more daily SQL dumps from offshore to onshore and big batch procedures to genereate outdated events.

olavgg··on GetElementById vs. QuerySelector
I use id on unique elements on a page all the time. It can be a form, it can be a button and so on.
olavgg··on GetElementById vs. QuerySelector
I use them all the time.
olavgg··on Ask HN: Those who quit their jobs without anything planned. How did it go?
Packaging, pre-sales and support.

I had a very good margins, so overall it wasn't a bad business with long hours. For many this would have been fine. But for me it got boring really quick, shut down after about 18 months.

olavgg··on Ask HN: Those who quit their jobs without anything planned. How did it go?
I quit a normal job in 2015 to do freelance consulting. I had no plan, luckily I found two clients for part time work and for the rest of my hours I created a e-commerce site that I operated for myself. That quickly escalated and made more money than in a normal job, but running an e-commerce site isn't much fun.

1.5 years later I joined a startup, with 3 other ambitious guys which was super successful. The first years was really a lot of fun and work. But over time that changed. Now I have left that startup and I am planning on building another one, just need to find the right ambitious people with a good and realistic business plan.

olavgg··on The LZ4 introduced in PostgreSQL 14 provides faster compression
If you are using ZFS, I strongly recommend using LZ4 or ZSTD compression with PostgreSQL. Performance is still awesome. On average I get 2x compressionratio with LZ4 and 4x with ZSTD.

With this, you are compressing everything, not just columns. And ZFS has dynamic block sizes which works really great together with compression. For example a 8kb PostgreSQL page, may be stored as a 1kb compressed block on disk.

olavgg··on Hetzner Cloud Goes US (Ashburn/VA)
I've had a the smallest cloud instance for a few years now, it is in fact really good and fast. 1vcpu with 2GB ram is plenty for a full stack web application + a database. IO is also very good with stable ~8000 iops write performance for 4k sync.

Compared to Azure VM instances, Hetzner offers like 100x more performance for each $ spent.

olavgg··on PyTorch 1.10
There are lot of tutorials on the PyTorch website where you can start playing around with several cool examples in many different categories.

https://pytorch.org/tutorials/beginner/pytorch_with_examples...

olavgg··on PyTorch 1.10
It should work fine as long you're using the CPU, but it is not accelerated using the Apple’s ML Compute framework. Tensorflow supports it though.
olavgg··on Backblaze S-1 IPO
ssh with zfs send/receive. No problems having hourly backup of your most important petabyte scale data on the other side of this planet.<

I even do this with Microsoft SQL Server using iSCSI.

olavgg··on MacBook Pros, an “M1X” chip, and other stuff to expect at Apple’s October event
I have big hopes that the M1X will be an excellent cpu/gpu for Dota2, the original M1 manage on average 50fps on 1080p with very high settings.
olavgg··on The Decline of Django
Same thing with the Grails framework, which is another Rails framework for Java eco-system.

After Grails got refactored between 2.x and 3.x which broke all plugins, most new Java projects went with Spring Boot. Popularity of the Grails framework has declined a lot since the release of Grails 3.0. But the strong decline the last few years I mostly blame on all MVC framework not being interesting enough for new young developers. Only David Heinemeier Hanson has a loud strong voice telling the world about how fantastic the Rails and MVC web application really are. Which makes sense considering that I feel Rails is still super popular.

But my preference is not Ruby, but rather Java :-) and I feel Grails is still awesome. And I also use Spring Boot for some projects.

olavgg··on Databases, Types, and the Relational Model: The Third Manifesto [pdf]
Not really, I've learned a lot from the PostgreSQL documentation and various Stack Overflow answers.

Like with everything, getting experience and your hands dirty will make you far more knowledgeable. There is no silver bullet.

olavgg··on PostgreSQL 14
If you read the link about pg_upgrade, you're not guaranteed that pg_upgrade will work if the underlying data storage format changes. pg_upgrade may not work in a future version of PostgreSQL. It works for version 14 though.
olavgg··on PostgreSQL 14
This is one of the major pain points with PostgreSQL. Unless you absolutely need any new features and uptime is important, you can just continue using PostgreSQL 9.6 even thought it is EOL. https://www.postgresql.org/support/versioning/ It will most likely work great for many more years.

I wish future versions of PostgreSQL will have some backwards compatibility for old system/data tables/datastructures and be able to do live migration when running a newer release.

pg_upgrade will not work if the internal data structure for your data changes. It only recreates the system tables. https://www.postgresql.org/docs/14/pgupgrade.html

olavgg··on Busting the 10x software engineer myth
Like some football players, some software engineers are a LOT better than others.

The measurement is value in $, which easily can be translated to 10x-1000x better.

olavgg··on My rant about React
Same story here. I have around 50ish web applications that I run for customers. There is hardly any time spent on maintenance and is recurring revenue for me, and I can spend most of my work time on creating new business opportunities. Some of the web applications are from 2005 and display real-time information about available items in their inventory, real time customer support chat, real time sensor data from oil rigs offshore.
← PreviousPage 7 of 22Next →