HNHacker News
TopNewBestAskShowJobs

the_angry_angel

267 karma · joined January 14, 2015

[ my public key: https://keybase.io/the_angry_angel; my proof: https://keybase.io/the_angry_angel/sigs/LDTV7psGiq5B_Hj2U8LA2h1SzfiLcha4fXr7KNGfK4A ]
submissionscomments
the_angry_angel··on Barman – Backup and Recovery Manager for PostgreSQL
There’s support via Barman cloud - we use it for azure at work but s3 and others are supported iirc
the_angry_angel··on BorgBackup 2 has no server-side append-only anymore
Kopia is awesome. With exception to it’s retention policies, but work like no other backup software that I’ve experienced to date. I don’t know if it’s just my stupidity, being stuck in 20 year thinking or just the fact it’s different. But for me, it feels like a footgun.

The fact that Kopia has a UI is awesome for non-technical users.

I migrated off restic due to memory usage, to Kopia. I am currently debating switching back to restic purely because of how retention works.

the_angry_angel··on How to listen to database changes using Postgres triggers in elixir
For #1 I've been keeping a keen eye on pgcat [1], in particular the https://github.com/postgresml/pgcat/issues/303 which implies that it should be possible to add support for transaction mode LISTEN/NOTIFY support.

[1] https://github.com/postgresml/pgcat

the_angry_angel··on Ask HN: At 45, I can't seem to read as well anymore
Coming up to 37 and for the last few weeks I’ve had the same sort of realisation - reading novels seems to take more concentration than it should, and I’ve become lazy with maths.

I’ve had an eye check, a few months back a general medical. Both were fine/no significant changes. I rarely drink, no drugs. I feared a series of migraines might been response but I’ve been assured otherwise.

I so far figured it’s too much skim reading, a lot of very poor sleep, being on the edge of burn out and maybe a touch of post COVID brain fog.

Your post is encouraging me to start doing something about it.

I don’t have much to add but it’s reassuring to know that I’m not alone

the_angry_angel··on Watch out for DoS when using Rust’s Hyper package
https://github.com/tokio-rs/axum/pull/1346

Also for ref :)

the_angry_angel··on Show HN: Caddy-SSH
Teleport I feel solves this well, from an organisation perspective
the_angry_angel··on Parsing bitstreams with Nom
Just to echo this, I’m currently using a crate called deku (for a toy project to learn rust). Deku is a wrapper on top of bitvec which lets you annotate structs and enums for decoding and encoding. The speed I was able to implement a binary TCPStream encoder/decoder was great. Both have been rock solid for me.

Highly recommend both libraries!

the_angry_angel··on Show HN: GravaMetrics – Powerful Dashboards made simple
If you’re selling dashboarding, you need to show that dashboarding really quickly. I looked at the site, skipped through the video and saw nothing. I did see something on the docs site, but I was lost at that point.

You are competing with https://grafana.com/, https://www.metabase.com/, https://superset.apache.org/, etc.

the_angry_angel··on Running your own email is increasingly an artisanal choice, not a practical one
> I hear this all the time, but I question how true it is. I've been running my own mail servers for decades, and I've never had any problems with sending or receiving mail. I suspect anyone who properly configures their server will be fine.

At work I ran email servers professionally and with good deliverability for years. My own email server was arguably longer lived than those at work, just much lower volumes. IP block was clean, DKIM, SPF, rDNS, etc. all setup correctly.

I thought I had no deliverability issues. I interacted with mailing lists regularly, the odd email to friends and family and I was firmly in your camp until I had to deal with a death in the family.

I think this was shortly after Microsoft BPOS became Office365. It became very very clear very very rapidly that to certain orgs I just wasn't hitting the inbox. And there was jack shit I could do about it. That was the end of my mail server, and it's certainly got worse over time.

the_angry_angel··on Ask HN: Which NoCode platforms are fine?
You are missing stuff.

In development mode with inotify you get python hot code reloading. In development mode the XML (with a handful of exceptions regarding menus, and ir.actions) will be read from disk on refresh.

At work we use Dockerized Odoo based on a [Doodba](https://github.com/Tecnativa/doodba). We use [click-odoo](https://github.com/acsone/click-odoo) to manage module upgrades (amongst other things). Dev workflow is largely managed through [invoke](https://www.pyinvoke.org/) tasks.

I do wish there was hot code reloading for the views (xml), but realistically if you’re making an app of any complexity the views in the backend are the small part and likely not where you are spending the majority of your time.

Website stuff is absolutely 100% stuck in the past at the moment, imho.

the_angry_angel··on New smb3 kernel server (ksmbd)
If it helps, as far as I'm aware Ganesha [1] is still widely used, supported, in some cases faster than the kernel implementation, and can be pointed at an arbitrary config file.

[1] https://github.com/nfs-ganesha/nfs-ganesha

the_angry_angel··on Royal Mail Rubber Band
FWIW If you’re in the UK you can opt out of non addressed mail (https://personal.help.royalmail.com/app/answers/detail/a_id/...) delivered via RM

In 2005 the Royal Mail was fully privatised. Since then I personally feel the amount of unaddressed mail has increased. But that might be in my head

the_angry_angel··on Lockdown.exe: Block unknown apps via Windows software restriction policy
It's using the precursor to AppLocker - Software Restriction Policies (https://docs.microsoft.com/en-us/windows-server/identity/sof...).

They were deprecated in 1803.

the_angry_angel··on Running Nomad for a Home Server
> I doubt most medium to large companies I see implementing Kubernetes could be considered a good fit for Kubernetes. If you want to run on-prem / colo you are probably better of with something simpler like Nomad.

Our path has been Ansible -> Ansible+Docker -> Docker Swarm -> k8s. We absolutely don't need k8s, but the other options all had downsides.

1. Nomad was on our list and probably would've been better, but there were no managed Nomad solutions at the time and it was not as widely used as other solutions

2. Our time on Swarm was /ok/, but it was more and more obvious that being on the lesser walked path was a problem, and it's future made us run away from it

3. k8s gave us a nice declarative deployment mechanism

4. We can switch to a managed solution down the road with less friction

the_angry_angel··on Setting up a WireGuard client with routing domains on OpenBSD
Routing domains, or VRFs, are probably easiest to think of like VLANs, but one layer up.

The two typical scenarios are;

1. You want to use the same IP space multiple times across different networks (i.e. multi-tenant)

2. You have a bunch of different networks that you really never want to ever be able to talk to each other (you can allow it through routes, etc. but by default this does not happen). Although you can achieve this with VLANs and ACLs, on a single routing table, rules can become a real pain in the ass to manage very quickly

You could use this for stuff like guest or IoT networks.

the_angry_angel··on eBay removing Raspberry Pi listings as they “encourage infringement”
> and I’ve just ordered a moderately large e-paper display which is destined to be mounted with a zero inside a picture frame and hung from the wall like a photo

Which display, if you don’t mind me asking? I’ve had a similar idea for a while, but haven’t seen a display that felt reasonably sized or priced for a hobby project

the_angry_angel··on Onivim 2: Lightweight, Modal Code Editor
neovim and coc.nvim might be close to what you're looking for, if you can live with vim style motions, etc.

CoC basically takes VSCode addons and modifies them just enough to get them working in conjunction with neovim.

the_angry_angel··on macOS Catalina 10.15.5
I switched to a XPS-15 9570 from a MBP of roughly equiv spec, but previous gen, after the last round of laptop shuffles at work - I went from MacOS to Windows at the same time in order to feel the pain of our environment under Windows.

I'm not saying that it's a bad laptop. But there are just so many little annoying things about it after coming from the MBP and MacOS;

* Trackpad is subjectively worse, but I can't tell you why beyond its just smaller - but I am objectively much less accurate with it and trigger tap-clicks when I don't mean to. The trackpad positioning is also slightly uncomfortable to use.

* Fan noise - the fan curve has it ramping up earlier than a MBP

* Windows was hosed out of the box (fine, fixable, but it wasn't a good start)

* The "soft" covering results in so many fingerprints

* Webcam on the bottom bezel is an awful angle

Pros;

* Great screen, touch is a nice add-on but found I rarely use it now

* Keyboard isn't terrible

* Power adapter isn't a brick

Would I do it again. Honestly, not sure. My daily driver isn't the laptop and I just deal. If I had to use the laptop daily, I'd probably reconsider.

the_angry_angel··on So you want to write your own CSV code (2014)
> But humans rarely use notepad these days. They use code editors like Coda or VSCode at the very least which have all kinds of advanced features. Surely, those can include support for ASCII separators?

I do a fair amount of work with companies that do "EDI" over CSV (or worse CSV-like - think 2 CSVs jammed together with different formats, no headers, no support for escaping or quoting) and fixed width documents. I can absolutely assure you that humans do open these files in notepad far more often than I'd like.

Often one of the main reasons they don't use things like X12, ASCII separators, etc. is because a "human needs to open it at some point" was a prevailing business decision some number of years ago (think "what happens if the IT system fails? how can we still ship stuff even in a complete emergency") and now it's baked into their documented process so deeply its like shouting into the wind to alter things. Third party warehouses are the worst at this.

the_angry_angel··on Progress on Plasma
FWIW if anyone else comes back to this I spent a little time last night and I've addressed my font rendering issues by;

* Removing an errant font-config lcdfilter configuration entry (this was a left over from when I was running "infinality" and should have been removed)

* Switching font from Noto Sans to Ubuntu

Its not perfect, but its a lot better. I'll probably play with oversampling (rendering X at a higher resolution and scaling down like OSX) at some point to see if I get the quality I want.

the_angry_angel··on Progress on Plasma
I haven't, I'll give it a go :) Thank you!
the_angry_angel··on Progress on Plasma
I switched some years ago to KDE from Gnome. The only thing I wish I had from Gnome is the quality of text rendering.

Maybe it’s subjective, maybe it’s a measurable thing. I’ve not looked, but I feel KDEs text rendering is worse on my daily driver.

the_angry_angel··on Ask HN: Is your company sticking to on-premise servers? Why?
> You can launch HA kubernetes clusters with cluster API. vSphere, openstack and even bare metal pxe all have providers

I've been looking for a decent solution for pxe and cluster-api. I've not pushed the button on any as I feel like they're all a little immature. Admittedly I've not had time to set up any in a test env yet. Any recommendations?

the_angry_angel··on “Let’s use Kubernetes.” Now you have eight problems
I’m only on the start of my k8s journey but I’m finding typhoon a nice option for on prem currently.
the_angry_angel··on “Let’s use Kubernetes.” Now you have eight problems
Yup. It’s good enough if you’re already invested in docker for dev and good enough if you’ve out grown a single machine. But not big enough for more than 10 nodes and user roles.

From an ops point of view it’s simple to deploy and I’m yet to hit any really sharp edges. However the lack of cronjobs and init containers is an annoyance, but you can work around them.

Mirantis’ recent announcement of further dev on Swarm after the initial announcement of only 2 years of support has not helped. I had been looking at moving to k8s. I’m now undecided if we should just continue with the plan to dump Swarm or keep it.

the_angry_angel··on Say Goodbye to CoreOS
nomad, k8s, mesos+marathon (or something plus mesos), traditional deployment

That's probably about it. Right now, I'm jumping on the k8s bandwagon, but looking to keep it simple. As much as I'd like to look at nomad seriously, too many times I've been caught by not looking at the mainstream.

the_angry_angel··on Mozilla’s DNS over HTTPs
> but rejecting any kind of innovation isn't something I am willing to do.

I don't think the post you're replying to is really saying "no innovation". I think it's more subtle.

The "problem" with DoH is that you need to look at it with several different hats, and I feel very few people make it clear how they're complaining about DoH.

* From a consumer perspective DoH is a good thing (mostly)

* From an traditional/enterprise/business-like environment perspective it's inserting itself in the middle of the stack and may cause headaches with a few things (not limited to leaking internal names to external resolvers), unless it's just blanket disabled/forced to a local server (which may not always be practical for different reasons) - currently

Ultimately who do we have to blame for this but ourselves? Organisations have tried to get encrypted DNS off the ground in traditional DNS infrastructure and clearly failed to meet the required timeline.

I personally feel like the problem, just like with IPv4, is that traditional DNS infrastructure is "fine" (i.e. it works). We don't have a great motivation but we do have fear of breaking the many many many boxes which are un-upgradeable/critical.

the_angry_angel··on Say Goodbye to CoreOS
Does the uncertainty of swarm’s future not concern you? Or am I out of date?
the_angry_angel··on Elixir v1.10
My personal experience with MSSQL drivers (ORMs and lower level) for many younger, non-Microsoft endorsed, languages is that whilst they will work you will get caught with sharp edges. Until several years down the line and enough people who have the will/time and consolidate their efforts. That said, even MS official endorsed libraries can suddenly disappear (I'm looking at you msnodesql).

Having been down this path, without the time to dedicate fixing/working on a driver, I wouldn't even consider a non-"blessed" language in combination with MSSQL anymore. It was too much pain.

the_angry_angel··on Story of Odoo: Open-Sourced Competitor to Oracle, SAP
V12 saw accounting reports, and iirc budgets and assets moved to enterprise. I saw a tweet I can’t lay my hands on right now from an OCA member about additional modules being moved in V14 (for context V13 was only released a few weeks ago, so things may change)
Page 1 of 3Next →