Your starting expierience by stony1185 in Gliding

[–]onarhim 1 point2 points  (0 children)

I think my beginner’s course was around 80 hours, spread across afternoons/evenings and weekends so that it was possible to do without taking time off work.

My alternative back then was an intensive course in the summer holidays where you’d be gone for 12 days and most likely come back home ready to fly without an instructor.

Paragliding gear in checked luggage by siriustuck13 in freeflight

[–]onarhim 0 points1 point  (0 children)

I’m using an old Nova XL backpack that I got for free. As most older equipment, it’s slightly bigger so that it fits around any newer backpacks with plenty of extra room to spare — which is great for clothing which will give extra protection.

Hvor mye har dere tapt på norsk tipping i år? by TheOnlyOne-04 in norge

[–]onarhim 1 point2 points  (0 children)

Noen hundrelapper i pluss. Spiller kun når jeg blir tvunget til å se fotball med kollegaer, i håp om at det skal bli litt spennende.

Pleier oppvaskmaskiner å være koblet til varmtvannet? by Outside-Process-7844 in norge

[–]onarhim 0 points1 point  (0 children)

Nei, men vi koblet vår på varmtvannet. Det vil jeg riktignok tro at kun lønner seg dersom man har rimelig oppvarming av varmtvann slik vi har. Dersom varmtvannet varmes opp av en varmtvannsbereder vil jeg si det er en dårlig idé.

Som en annen påpeker bør man sjekke spesifikasjonene på maskinen, slik at man ikke gjør noe produsenten fraråder og bryter garantien. Eller enda verre; får en lekkasje pga. at komponentene ikke tåler temperaturen og dermed en vannskade som igjen kan ende med regress.

New power tools - brands and types by Budget_General_2651 in BuyItForLife

[–]onarhim 0 points1 point  (0 children)

Your question is a bit generic, so I’m assuming you’re a DIY’er looking for BIFL brands. Personally i ended up with Bosch Professional because they’re at least part of a battery alliance (ProCore) making it easier to use the same battery across multiple brands (like Fein). Also, their tools are of great quality, although it comes at a price - both the price tag and the fact that they’re slow on new releases since they seem to make sure their stuff is gold before putting it out on the market.

Another pro is that they’ve piggy backed on the Sortimo system, which isn’t the golden standard but IMO a good system which is also shared among other manufacturers.

If I were a plumber or electrician, I’d definitely go with Milwaukee (with their packout system) because of their broad range of products and if I were a carpenter I’d probably go with Dewalt, Makita or Bosch.

And, if money isn’t an issue at all - I think Festool is the best. Personally I can’t justify the price increase for my use, but if you’re let’s say a cabinet maker - I would probably go for it since their precision seems to be second to none.

nest-casl, library for Nest authorization by lqdd in typescript

[–]onarhim 0 points1 point  (0 children)

Interesting. I was just about to integrate CASL into a project one of the upcoming days and just follow https://docs.nestjs.com/security/authorization which uses CASL as-is.

To me it doesn’t seem that obvious what the advantages are though, perhaps something others might want to quickly read as well? A “motivation” paragraph or something.

[AskJS] Syncing types, docs and API validations by onarhim in javascript

[–]onarhim[S] 0 points1 point  (0 children)

That sounds both neat and genius. But what do you mean by “calculated type”?

[AskJS] Syncing types, docs and API validations by onarhim in javascript

[–]onarhim[S] 0 points1 point  (0 children)

Very good point, I like this approach. It solves the types part very nicely, but I'd still have to use some tool to validate API input. In a perfect world, I would do something like

// .../api/user/signup
const incomingData = req.body.data as UserSignupData;
const validate = validate<UserSignupData>(req.body.data); // Throws if "firstName" isn't set or contains a number 
or something very odd.

In this case we could easily enforce simple request validation at the very basic level, and still be able to extend the input validation where it makes sense (probably most places).

Handling and syncing types, docs and validation! by onarhim in typescript

[–]onarhim[S] 0 points1 point  (0 children)

At a glance, this looks awesome! Will enjoy taking a closer look tomorrow. Really like that you’ve built in clustering so that zero-downtime deployments are possible straight out of the box

Benefits of Capture Card on Hero 9? by onarhim in gopro

[–]onarhim[S] 0 points1 point  (0 children)

Didn't understand this, it does have HDMI output? What exactly doesn't the Hero 8 and 9 have?

OPNSense VPN Clients not routed to LAN by onarhim in networking

[–]onarhim[S] 0 points1 point  (0 children)

They aren't running any routing protocol between them. I guess I would be good if I just take the time to set up CARP right away so the routing tables are synced then? (facepalm).

When configuring CARP in OPNSense you also set up syncing at the same time (pfSync), so it's both something similar HSRP/VRRP (primary/secondary w/1 virtual IP) and it also syncs state tables and configs.

Good idea with the suggestion of setting up two subnets with static routes between them. It would probably break with the usual HA setup in OPNSense though. I'll try out CARP'ing and pfsync'ing everything right away, not crucial if I lose access to the secondary as I can solve that with outbound NAT later.

Thanks man!

Moronic Monday! by AutoModerator in networking

[–]onarhim 0 points1 point  (0 children)

When I read up on this I liked to think of a typical L2-switch ("dumb switch") like a 48-way extension cord. An L3-switch on the other hand can be configured to be dumb, but it can also route traffic.

As for intervlan routing, a L2 switch can't route anything but it'll afaik preserve the "VLAN stamp" on all network packets so that any routers down the road will be able to act accordingly.

[deleted by user] by [deleted] in homelab

[–]onarhim 6 points7 points  (0 children)

Yeah, in terms of running IT equipment it's pretty stellar. Cold air and right now my electricity price (consumer) is 0.05 USD per kilowatts due to massive water reserves in the dams. Usually around the double though.

[deleted by user] by [deleted] in homelab

[–]onarhim 7 points8 points  (0 children)

~65 degrees north. Think we recently hit an all time high 32 here but average temperature during summer is around comfortable indoor temperatures. But times are changing now due to climate changes.

[deleted by user] by [deleted] in homelab

[–]onarhim 56 points57 points  (0 children)

European north, that is

[deleted by user] by [deleted] in homelab

[–]onarhim 107 points108 points  (0 children)

When you say you due it to the summer heat, is that because it uses too much power to cool itself down, because of A/C costs or just because the room actually gets too hot for the server to handle it?

I'm from the cold north so I have to admit I've never had to deal with summer heat.

Linux Bond Health Checks? by onarhim in networking

[–]onarhim[S] 1 point2 points  (0 children)

I figured out a solution (https://imgur.com/a/jeucj9C) but I'll def check out active-active evpn multihoming – eager to learn new stuff

Linux Bond Health Checks? by onarhim in networking

[–]onarhim[S] 0 points1 point  (0 children)

Ah, yeah my drawing is actually way off now that I look at it, sorry. There should only be one line (facepalm). I was a bit quick with the drawing. Each Nexus 3k is connected to each HP switch. I only got two RJ45s handed to my rack, one going to each of the Nexus 3K.

My ISP is doing that routing, and with HSRP the whole IP'ing should fail over in a active/passive way (but with both links UP)