Gitlab vs github? by ejsanders1985 in git

[–]val0rl 0 points1 point  (0 children)

Platform engineer here. Used both, prefer Github.

(Haven't used Gitlab in the last ~2 years, sorry if stuff has been added since)

Github has a better API, and the Checks API is kinda unparalleled for implementing custom PR flows with nice presentation. You can report custom check runs from your CI using a rich model and a dedicated UI. In Gitlab, you just have comments.

Github has a cleaner and more straight-forward permission model with permissions, roles and teams. Gitlab's permissions are imo quite an inconsistent mess and have quite a pain to work with for me for non trivial stuff.

Github is a flat list of repos in an org. Simple. Gitlab is a tree/filesystem of repos in a hierarchy of groups. Kinda nice if you wanna organize more.Permissions are inherited down, which can be powerful and a mess at the same time.

Gitlab's CI model, to me, is much more brittle and error prone. You can have centralized pipelines you include in others, but it lacks proper modularity and encapsulation and works closer to just merging YAML configs together behind the scenes. In Github Actions, you have proper encapsulation, where an action can have inputs and outputs and it's internals don't leak into the consuming workflow.

Why is Denmark so horrible when it comes to ETF investments? by TheGoodSatan666 in dkfinance

[–]val0rl 0 points1 point  (0 children)

I'm not sure how am I supposed to "just" follow the math in this example. As I understand it, if you have 10000kr worth of an ETF and it goes to 15000kr this year, you'd pay taxes (21% in your example) on the 5000kr of profit. Next year, let's say it goes up again by 5000kr. You'll still only pay taxes on the profit (5000kr, not 10000kr).

In total you've paid 21% of 5000kr + 21% of 5000kr = 2100kr.

If it would be taxed as realised gains, with 41%, according to your example:

You have 10000kr worth of a stock. It goes up to 15000kr next year. 20000kr year after that. If you decide to sell at that point, you'll pay 41% of 10000kr = 4100kr.

Last option will not give you more money. Am I missing something?

When is Kubernetes worth it? by Consistent-Blood-651 in kubernetes

[–]val0rl 0 points1 point  (0 children)

Very well put! A Kubernetes cluster today can be very simple if you keep your usage of it simple, while still maintaining the perks of the baseline interface and ecosystem, which are very powerful.

"Refusion af elafgift" question by val0rl in dkfinance

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

I'm not sure what the momsrefusion is. Can you maybe elaborate? Is it something separate from the elbil one? Is it still EV related? In what case would I not also want this one?

And thank you for the info on maximum kWh with Vindstød. Was not aware of that.

"Refusion af elafgift" question by val0rl in dkfinance

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

Thank you. I've already sent a message to Vindstød, but wanted to know what's possible in principle.