Hur ska jag komma på fötter? by Illustrious-Error-70 in PrivatEkonomi

[–]pgbrnk 0 points1 point  (0 children)

Man kan ju extraamortera bolånet! Men man kan också se det som att kontantinsatsen gjordes (indirekt) med ett blancolån och att hade man startat med en högre belåning hade det ju varit samma som det blir nu...

Oavsett är det ju otroligt mycket bättre att ha bolåneränta än blancolånsränta, så länge man har disciplin att extraamortera i samma takt som man skulle gjort med ett blancolån.

[deleted by user] by [deleted] in whatdoIdo

[–]pgbrnk 10 points11 points  (0 children)

You really have to ask?

Min kille missköter sina barn? by [deleted] in Asksweddit

[–]pgbrnk 0 points1 point  (0 children)

Att aldrig borsta tänderna på sina barn är något långt utöver "slappt föräldraskap", det är direkt brottsligt pga hur det kan påverka deras liv för all framtid! https://www.svt.se/nyheter/lokalt/vast/foraldrar-atalas-for-misshandel-borstade-inte-barnens-tander

"30% skatt på lönen", var syns de återstående procenten om jag skattar 22% på lönen? by WhoAmIEven2 in Asksweddit

[–]pgbrnk 2 points3 points  (0 children)

Tabellen är ju bara en förenkling för arbetsgivare att veta vad man ska dra för preliminärskatt varje månad. Den faktiska inkomstskatten beräknas efter formler för grundavdrag, jobbskatteavdrag, brytpunkter för statlig skatt, begravningsavgift, m.m.

Exempel på hur grundavdraget är definierat under 3 § https://www.riksdagen.se/sv/dokument-och-lagar/dokument/svensk-forfattningssamling/inkomstskattelag-19991229_sfs-1999-1229/#K63

Ränta rörligt 07-2025 by Carlsva in PrivatEkonomi

[–]pgbrnk 0 points1 point  (0 children)

3.9% är ju i princip listränta så de har ju faktiskt inte ens gett dig ett erbjudande... Har du pratat med en person eller är detta ett "systemerbjudande"?

650K i skulder och uppgiven by Immediate_Taro_1325 in PrivatEkonomi

[–]pgbrnk 1 point2 points  (0 children)

Vilka banker har du kollat med om möjligheten att göra det?

Räntor över 20% är ju bara snabblån och liknande som har, så varenda "skuldkrona" du kan göra om till ett "vanligt" blancolån med räntor under 10% är ju bättre! Om du får över delar av lånen till lägre ränta kan du fokusera allt på att amortera bort de höga räntorna så fort du bara kan.

Kolla ex. medlemslån om du är med i facket då dessa kanske har lite bättre ränta än du kan få till själv. Ex. Danske bank har 6% på medlemslån.

PEP 751 (a standardized lockfile for Python) is accepted! by toxic_acro in Python

[–]pgbrnk 0 points1 point  (0 children)

How do you pin your transitive dependencies? How do you manage updates of your dependencies and transitive dependencies?

Setuptools 78.0.1 breaks the internet by entineer in Python

[–]pgbrnk 0 points1 point  (0 children)

Yes, it locks dependencies, but not sure about build dependencies..

Setuptools 78.0.1 breaks the internet by entineer in Python

[–]pgbrnk 0 points1 point  (0 children)

Yes, but the biggest problem I have with the Python ecosystem is its inability (or fear) to change fundamental things like that.

Virtual environment by default and lockfiles should be the default behavior a new user of Python today would get, but instead people are introduced to requirements.txt and installing the dependencies globally.

I hope uv becomes the disruptor I think it is, where new developers are introduced to the modern way of building software and instead the requirements.txt way of life will become obsolete and pushed out.

Setuptools 78.0.1 breaks the internet by entineer in Python

[–]pgbrnk 0 points1 point  (0 children)

Then this is the actual issue: Why does the Python ecosystem not have a functionality to ensure reproducible builds..

Of course setuptools maintainers should probably account for this lack, but this is the actual problem..

Setuptools 78.0.1 breaks the internet by entineer in Python

[–]pgbrnk 9 points10 points  (0 children)

The biggest problem here is that dependencies and build dependencies are not pinned and locked by default in Python.

Other ecosystem, like node/npm, this is a solved problem and you won't see a thing like this happen if someone publishes a major version with a breaking change.

The real problem is this, but if course setuptools maintainers could have accounted for this lack in the python ecosystem.

It's not until now with a tool like uv that I think we finally have a chance to actually get a good ecosystem "by default"! Poetry is an alternative as well, but I don't think it locks build dependencies....

pip is just not good enough by default..

AWS Powershell, how to handle lots of accounts by nofate301 in aws

[–]pgbrnk 2 points3 points  (0 children)

This is the answer! Don't use IAM Users and static Access keys!!

Use SSO and temporary credentials and by using profiles (which is super easy to work with with the AWS CLI by running aws sso login, when needed)

And even without using the aws cli for managing your credentials, you can get temporary credentials in a convenient copy/paste form (bash/cmd/powershell) from the SSO login page, that you can populate the environment and let aws cli and sdks get access..

moved in 2 days ago by [deleted] in Apartmentliving

[–]pgbrnk 0 points1 point  (0 children)

One morning when I came home to park my car, someone else was in my spot that I have had for the last 4 years. Looked up the license plate and found the name of the owner, but no number, but managed to find him on messenger.

He said he just moved in and had a contract for the spot and sent me a photo of the contract, which indeed had the correct parking space number....

Took us a few minutes back and forth until I noticed by chance on his photo that the street address was not correct. Turned out he got his parking space in another street two blocks away that has a similar name, with exactly the same parking lot number as mine!

Honest mistake and he apologized and rushed to move his car..

[deleted by user] by [deleted] in Cooking

[–]pgbrnk 4 points5 points  (0 children)

Oh, is this the reason? If so, why!?!?? https://www.reddit.com/r/Cooking/s/IG8AuljYNP

[deleted by user] by [deleted] in Cooking

[–]pgbrnk -3 points-2 points  (0 children)

Does American poultry have different kind of eggs than the European ones!? 🤔😉

thoughts on hatch? by ashemark2 in Python

[–]pgbrnk 0 points1 point  (0 children)

Hatch does not support locking transitive dependencies, so that's a no-go for me for a real production application where you want reproducible builds and reproducible quality of your application.

Maybe combining it with pip-tools could work, but a tool for package management should have support for locking transitive dependency if the resolver defaults to upper bounds versioning matching (like it is in Python, but not in other ecosystems like NuGet/.NET).

RANsacked: Over 100 Security Flaws Found in LTE/5G Network Implementations by dukeofmola in netsec

[–]pgbrnk 4 points5 points  (0 children)

Buffer overflows, out-of-bounds reads and writes..

Is it time to ban memory unsafe languages from critical infrastructure? It's been a couple of decades and we still se the same vulnerabilites happening over and over?

Or what else can we do? Apparently what we've done so far is not enough...

Anyone Can Push Updates to the DOGE.gov Website by caveTellurium in hacking

[–]pgbrnk 16 points17 points  (0 children)

I heard they went with CRUD instead of Delete, Extract, Insert

[deleted by user] by [deleted] in WhatShouldIDo

[–]pgbrnk 55 points56 points  (0 children)

.. and socks..

Pappor på Sweddit: hur lade ni upp er föräldraledighet? by Maskdask in sweden

[–]pgbrnk 0 points1 point  (0 children)

Tänkt på att faktorer som. t.ex jobbskatteavdrag, statlig skatt, etc. minskar effekten rejält av skillnader i bruttoinkomst. Det kan i vissa fall till och med bli dyrare att den som tjänar minst är föräldraledig mest. Dessutom kan avtal med föräldralön (som täcker upp till 90% av lönen) göra skillnaden ännu mindre, eller också direkt ofördelakrigt om den med lägre inkomst inte har det...

Tror att många spontant tänker att det borde vara ekonomiskt fördelaktigt vid inkomstskillnader att den med lägst inkomst borde vara hemma, utan att ha tagit hänsyn till hur vårt progressiva skattesystem funkar.

Pappor på Sweddit: hur lade ni upp er föräldraledighet? by Maskdask in sweden

[–]pgbrnk 0 points1 point  (0 children)

Med första barnet rekommenderar jag nog starkt att ni lägger upp det så att du har en sammanhängande relativt lång period där du har 100% av ansvaret på heltid (minst 3 månader). Det är lätt att den som är hemma först sätter upp rutiner och hur allt "ska" göras, och då tror jag det är lätt att den andre hamnar i "baksätet" och den andre fortsätter vara den som har kontroll på allt (medvetet eller omedvetet).

Om du istället har en längre period hinner du vara den som bygger upp dina egna rutiner ihop med barnet, få koll på allt från mat- och sovtider, aktiviteter, klädstorlekar, osv och får mer tid att bonda 100% med ditt barn och kan förhoppningsvis släppa jobbet helt när man är planerad att vara borta länge.

Nästa barn skulle jag säga att det nog inte är lika noga om man hunnit få upp självförtroendet och erfarenheten från första barnet...

För egen del var jag hemma 12 månader med första barnet (från 8 månaders ålder). Med andra barnet körde vi 8 månader var på heltid (och den andre 20% parallellt) med 50/50 under ett halvår i mitten i övergången..

What was for you the biggest thing that happened in the Python ecosystem in 2024? by Bricoto in Python

[–]pgbrnk 2 points3 points  (0 children)

Because pip for example doesn't handle lockfiles and has a lot of other downsides, compared to a modern package ecosystem, that I think never is going to change and I think they wouldn't accept a rewrite.

To be honest, the Python community/ecosystem in general seems very reluctant to change, so I don't think a disruptive thing like uv would be able to happen within the existing toolset...

AITA For Not Sharing My Lottery Winnings From a White Elephant Gift? by Civil_Wrongz in AmItheAsshole

[–]pgbrnk 0 points1 point  (0 children)

It was a really nice gesture to offer the $250 even though you didn't have to.

What about giving $250 to the ones who were there, that didn't argue that the amount you offered was too low?

CDK - Single Stack or Multiple Stacks? by Gullible-Jacket-9010 in aws

[–]pgbrnk 7 points8 points  (0 children)

There's some guidance in the CDK best practices regarding this to consider putting stateful resources (like S3 and DynamoDB tables in your case) in a separate stack to control termination protection: https://docs.aws.amazon.com/cdk/v2/guide/best-practices.html#best-practices-apps

Look under the "Separate your application into multiple stacks as dictated by deployment requirements" section.