457 karma · joined Jun 5, 2015 (11y ago) · 33 submissions
comment 10mo ago · link · parent
The global zone works great as a hypervisor if you prefer working over SSH in a real shell, and being able to run a lot of services natively just makes things like memory allocation to VM's and having a birds eye view of performance easier. Being able to CoW cp/mv files between zones because it's actually the same filesystem makes certain operations much easier than with actual VM's. Bhyve works well for the things that need an actual Linux kernel or other OS, at the cost of losing some of the zone benefits mentioned earlier.
Highlighting a few things we today run on SmartOS, grouped by their technology stacks: C (haproxy, nginx, PostgreSQL, MariaDB), PHP (various web apps), Java (Keycloak), Elixir/Phoenix (Plausible, fork of Firezone), Rust (rathole, some internal glue services), Go (Grafana, Consul, Prometheus). Most of those are readily available in the package manager, and a few offer native Solaris binaries which run fine on illumos. Others we do local builds in a utility zone before copying the binary package to the where it actually runs.
On LX zones we also run a number of services without problems, usually because they have Debian packaging available but are not in pkgsrc (for example Consul/Nomad, Fabio, some internal things that was already Linux-specific and we haven't bothered to port yet).
And at home a LX zone also runs Jellyfin just fine. (:
comment 1y ago · link · parent
https://docs.yivi.app/technical-overview/
Since I learned about it I've been hoping a system providing such unlinkability would be further developed and preferably adopted as the standard for online identity by for example the EU. Unfortunately I don't think the current proposals for the eIDAS include this (although it's been a while since I read up on this and I'd love to hear from someone more familiar if I'm wrong!)
3.
The GPU, not the TPM, is the root of hardware DRM(mjg59.dreamwidth.org ↗)
445 points · by DvdGiessen · 1y ago · 472 comments
comment 2y ago · link · parent
[1]: https://github.com/DvdGiessen/dotfiles/blob/2c02332b4a657690... [2]: https://github.com/DvdGiessen/dotfiles/blob/2c02332b4a657690...
5.
Challenges deploying PostgreSQL (9.2) for high availability(davepacheco.net ↗)
1 points · by DvdGiessen · 2y ago · discuss
comment 2y ago · link · parent
[1]: https://github.com/DvdGiessen/virtual-clock/blob/master/src/...
comment 2y ago · link · parent
comment 2y ago · link · parent
VM running using libvirt and virt-manager, using QEMU underneath, with custom hook script that makes passing through the hardware a bit more seamless.
Although with how awesome Wine/Proton and ecosystem are these days I have so far played almost all my games on Linux. I created the VM setup because I thought I'd need it, but turns out I didn't really. Think I've played through 20-30 games or something like that now with minimal issues on Linux, including big budget AAA games within a few days of their release, smaller indie games, all kinds of different ones. Most tinkering required was for older games that'd need similar tweaks on modern Windows as well.
comment 3y ago · link · parent
[0]: https://piratehearts.itch.io/supercrt [1]: https://www.gamedeveloper.com/programming/crt-simulation-in-...
comment 3y ago · link · parent
We've successfully survived numerous disk failures (a broken batch of HDD's giving all kinds of small read errors, an SSD that completely failed and disappeared, etc), and were in most cases able to replace them without a second of downtime (would have been all cases if not for disks placed in hard-to-reach places, now only a few minutes downtime to physically swap the disk).
Snapshots work perfectly as well. Systems are set up to automatically make snapshots using [1], on boot, on a timer, and right before potentially dangerous operations such as package manager commands as well. I've rolled back after botched OS updates without problems; after a reboot the machine was back in it's old state. Also rolled back a live system a few times after a broken package update, restoring the filesystem state without any issues. Easily accessing old versions of a file is an added bonus which has been helpful a few times.
Send/receive is ideal for backups. We are able to send snapshots between machines, even across different OSes, without issues. We've also moved entire pools from one OS to another without problems.
Knowing we have automatic snapshots and external backups configured also allows me to be very liberal with giving root access to inexperienced people to various (non-critical) machines, knowing that if anything breaks it will always be easy to roll back, and encouraging them to learn by experimenting a bit, to the point where we can even diff between snapshots to inspect what changed and learn from that.
Biggest gotchas so far have been on my personal Arch Linux setup, where the out-of-tree nature of ZFS has caused some issues like a incompatible kernel being installed, the ZFS module failing to compile, and my workstation subsequently being unable to boot. But even that was solved by my entire system running on ZFS: a single rollback from my bootloader [2] and all was back the way it was before.
Having good tooling set up definitely helped a lot. My monkey brain has the tendency to think "surely I got it right this time, so no need to make a snapshot before trying out X!", especially when experimenting on my own workstation. Automating snapshots using a systemd timer and hooks added to my package manager saved me a number of times.
[1]: https://github.com/psy0rz/zfs_autobackup [2]: https://zfsbootmenu.org/
comment 3y ago · link · parent
And if your root is on ZFS, make a snapshot before updating! I set up a pacman hook[0] which runs zfs_autobackup[1] which automatically manages snapshots, so I can always easily roll back to a non-broken state. The ZFSBootMenu[2] bootloader makes that extremely fast without even needing a bootable USB-drive. :)
[0]: https://wiki.archlinux.org/title/Pacman#Hooks [1]: https://github.com/psy0rz/zfs_autobackup [2]: https://zfsbootmenu.org/
comment 4y ago · link · parent
That does come with downsides such as Nightly being less stable and installing extensions requiring some extra setup, so it isn't the best choice for everyone. But I myself am using Stylus (which works perfectly fine) and some other not officially supported WebExtensions on mobile this way and can recommend it if you don't mind the downsides.
[1]: https://blog.mozilla.org/addons/2020/09/29/expanded-extensio...
14.
The Challenges of Integrating the Unix and Mac OS Environments (2000)(usenix.org ↗)
82 points · by DvdGiessen · 5y ago · 33 comments
15.
Compiling Word for Windows from OS/2 1.2 [video](youtube.com ↗)
1 points · by DvdGiessen · 6y ago · discuss
16.
Mozilla’s plan to fix internet privacy(protocol.com ↗)
377 points · by DvdGiessen · 6y ago · 273 comments
comment 7y ago · link · parent
Sandboxie's technology works extremely well for securely isolating all kinds of interactive Windows GUI apps, and might thus be be an interesting alternative to Microsoft's own Windows Container technology which is more focussed on servers and can't really do GUI's.
I'd love to see some experiments using Sandboxie sandboxes as Docker-style images/containers. Packaging a complete GUI app including dependencies and making it easy to run on another Windows machine without polluting it, without noticeable overhead, neatly integrating like you'd expect of a Windows app with things like window management or the clipboard, and all that while being securely isolated from the rest of the machine.
18.
2 points · by DvdGiessen · 7y ago · discuss
20.
Microsoft Edge Uses a Secret Trick and Breaks Internet Explorer's Security(blog.0patch.com ↗)
2 points · by DvdGiessen · 7y ago · discuss
21.
#CastHack – Hacking Chromecasts/Google Homes/SmartTVs(casthack.thehackergiraffe.com ↗)
1 points · by DvdGiessen · 7y ago · discuss
comment 8y ago · link · parent
[0]: http://oboejs.com/examples#loading-json-trees-larger-than-th...
comment 8y ago · link · parent
The Chrome implementation using the canonical URL has some edge cases which may be useful to handle, like adding the fragment which isn't part of the canonical URL for the resource yet can be useful to share. Given that this change is only for the share dialog and not for copying from the URL bar, that doesn't seem like a huge problem though.
[0]: https://addons.mozilla.org/en-US/firefox/addon/pure-url/
24.
Show HN: Virtual-clock.js – performant highres virtual clocks with timed events(npmjs.com ↗)
2 points · by DvdGiessen · 9y ago · discuss
25.
Show HN: virtual-clock.js – adjustable timekeeping for simulations/games/etc(npmjs.com ↗)
7 points · by DvdGiessen · 9y ago · discuss
comment 9y ago · link · parent
It has a tiny little webinterface a which remains online today on some underpowered server. Doesn't work well with anything except XHTML though. http://htmlcleaner.blackholestudios.nl/
comment 9y ago · link · parent
There seem to be some bugs with the timing mechanisms, probably some JS timeouts aren't properly reset, causing weird game behaviour like running out of time mid-game (the countdown still displaying 10+ seconds). Also correct answers aren't always acknowledged (all icons show the answer to be correct, however it doesn't result in that player winning the game). :)
comment 9y ago · link · parent
http://xania.org/201609/how-compiler-explorer-runs-on-amazon
comment 10y ago · link · parent
Full disclosure: I'm one of the developers of the mentioned Remote Management portal.
[0]: https://www.victronenergy.com/ [1]: https://vrm.victronenergy.com/
comment 10y ago · link · parent
[0]: http://security.blogoverflow.com/2013/10/debunking-sqrl/