Better HN
topnewbestaskshowjobs
Log inSign up

shinies

5 karma · joined May 27, 2023 (3y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

Perhaps you mean https://openitcockpit.io/editions/ ?

comment 3y ago · link · parent

Before the slices package you had to write those functions for all your types, it's much better now!

I also like using generics for API request/response code, ex: https://go.dev/play/p/OWf9eFmg1qF

With generics you don't need to return any/interface{} / type assert at runtime

comment 3y ago · link · parent

Here is an example in the standard library: https://pkg.go.dev/slices

comment 3y ago · link · parent

Both Linode and AWS either migrated off Xen or are in the process of it. Qubes (last I checked) wants to move to a VMM independent design.

You can build a very minimal host image based on Alpine or something similar to reduce the surface. I'm not sure how this compares to Xen these days though.

comment 3y ago · link · parent

Linode migrated to KVM as well. Seems everyone is slowly moving off Xen!