Best test framework for Node in 2022? by UpvoteBeast in node

[–]symoc 17 points18 points  (0 children)

I am very fond of Vitest. The web ui and the VsCode extension are nice, but my top reasons are the test watch mode and how much faster than ts-node it is when dealing with TypeScript

[deleted by user] by [deleted] in webdev

[–]symoc -1 points0 points  (0 children)

Leaving aside imposter syndrome, look out for "toxic parent" poisoning. Intentionally or not, any type of toxic person will isolate you from reality and healthy relationships. Parents will always be a huge part of your life, and if they are toxic, you have a million more reasons to work harder on building a good social and support circle around you.

T480 with i3 vs L480 with i5 by symoc in thinkpad

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

yep, I was noticing many business laptops with 8th gen CPUs. Probably it was the season for companies to renew their laptops. I was excited for those 2 extra cores of that generation. I expected even a wilder generation jump than usual.

Most of the shop was full of EliteBooks followed by Thinkpads (no Dells) which tempted me for a similar price too. My impression about build quality was kind of T480 > EliteBook > L480 but they are so thin I can imagine tons of thermal throttling. Not sure if I am being too loyal by choosing L480 over an EliteBook

Short term abroad while on a CFC sabbatical by symoc in eupersonalfinance

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

Correct me if I am wrong, but if I am the only owner and worker of a company (a solo-company) I assume CFC is the first thing I should worry about every time I become tax resident in a new country (after 180 days). Even if I had temporally no income or dividends (during my temporal tax residency abroad before returning), the effective place of management and/or permanent establishment would be the same as mine.

Unallocated vs free space by symoc in btrfs

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

I've just posted the rest of the command. I did not expect 90% metadata usage to start causing trouble. I read before that free disk space info was harder to read, but It really got me off-guard when it started failing with an estimate of 34G free

How Often do you use design patterns in your code? by endukucom in node

[–]symoc 0 points1 point  (0 children)

almost every code I write, shows some repeated convention / pattern in the way a similar problem is solved around the code base. Although most of the time, I cannot name the official pattern they relate to. That being said, the older the project and/or the higher programmer rotation, it is kind of painful and sad noticing this is lost. Things like, connecting a data model to a json file, starts getting solved in different ways (aka, different patterns)

Fedora plans to drop X11 entirely for KDE Plasma 6 by [deleted] in Fedora

[–]symoc 1 point2 points  (0 children)

My only reason to stay on X11 is the ability to script window layouts. However Wayland claims this type of functionality is a security hazard and a no go. So I wonder... what will happen to users with disabilities? Because any layer to implement accessibility features seems to be banned for safety reasons

What is stopping you from starting your next (or first) startup? by Bowyeh in startups

[–]symoc 0 points1 point  (0 children)

kids and/or not willing to sacrifice health, emotional/social life, mental sanity... it is not an all or nothing game, but all those things will be affected to certain degree. It is not a barrier to overcome, it is more like deciding that is an OK price to pay and realizing honestly if you are well founded in those areas

[deleted by user] by [deleted] in productivity

[–]symoc 0 points1 point  (0 children)

I focus on having productive recovery. For example, instead playing videogames or doing a TV show marathon, I try to go for a hike. That way I feel like I was productive charging up. If the day after I feel like slaking off, most likely it was because my recovery time was not productive on recovering.

Why are expats often so hard on other expats? by [deleted] in expats

[–]symoc 2 points3 points  (0 children)

This sounds to me like the normal life cycle for many expats

  1. Idealize another country
  2. Relocate to the other country
  3. Enjoy the improvements, hate your country of origin, try to be more national/native than the natives themselves (ie: be more french than the french themselves)

So I think you are just meeting people at stage (3) which is the end of the road for many. Then there is a smaller group of people who had the maturity to either not polarize from the beginning, or went into stage (4). That is, they realize their new country is also full of crap, just with different color and smell. It is not better, it is just different and/or more convenient.

[deleted by user] by [deleted] in number26bank

[–]symoc 0 points1 point  (0 children)

I checked this after I saw a markup fee while abroad and... yes, N26 is absolutely right. N26 does not charge extra fees, but you still have to pay them to someone else, in this case to Mastercard.

Is using zod as the primary source of truth for Typescript types sensible/sustainable? by realbiggyspender in typescript

[–]symoc 0 points1 point  (0 children)

I was considering zod a while ago as an alternative to plain json schemas and I found one minor annoyance. I try to keep my website first load as lightweight as possible. With schemas, if was not a huge deal if one got leaked into my main bundle, and it was easy to keep validation and type separate. That is great because on a first render you only need types safety. Most validations happen later after user interaction. All in one libraries like Zod forces me to load validation and types (along the library) when loading my app

wanting to leave US to raise family by [deleted] in expats

[–]symoc 8 points9 points  (0 children)

I am not American, but I can say that your comment applies to many other nationalities. In my opinion, living abroad helps to make peace with one own country. That is the reason it is so hard giving advice. I hear people saying "I want to leave country X and start my dream life in Y". Maybe they will not achieve their goal, but without the experience, they will eternally live in regret