▲ 221 r/CPTSD

Did trauma keep anyone from dating until later in life?

I'm 35 and in the first real relationship of my life. I wish I had the experience of dating earlier, but I dated literally no one in my entire 20s (and early 30s).

reddit.com
u/spla58 — 4 days ago

What is the proper way to have paths to re-map imports when dealing with multiple tsconfig files?

I have a base tsconfig.json file at the root level:

Example root/tsconfig.json:

{
  "compilerOptions": {
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "target": "ES6",
    "module": "CommonJS",
    "baseUrl": "."
  }
}

Under root I have multiple projects with their own tsconfig.json files that define paths for easier imports and extend the root:

Example root/project-1/tsconfig.json

{
  "extends": "../tsconfig.json",
  "compilerOptions": {
    "paths": {
      "fixtures/*": ["project-1/fixtures/*"],
      "pages/*": ["project-1/pages/*"],
      "sections/*": ["project-1/src/home/sections/*"]
    }
  }
}

I don't see any import problems in my IDE but when I run npx tsc --noEmit from the root level I get errors because it can't find the imports. This will break the pre-commit hooks and checks in CI/CD so I'm wondering if there's another approach or if I'm doing something wrong?

reddit.com
u/spla58 — 6 days ago

[10 YoE] QA Automation Engineer - Looking for a resume review to help me land interviews for QA positions

https://preview.redd.it/au2ez33srzhh1.jpg?width=5100&format=pjpg&auto=webp&s=5273efc4662d36a0fa720948f220bfdf3fbd6769

I'm a QA professional based in the USA looking to land more interviews (I know the market is tough right now). I'm mostly looking for feedback on my bullet points. Some I feel are good while others I feel are too generic sounding? I'm not sure how to highlight the impact of my work because most of it is just day to day stuff. Any feedback would be greatly appreciated!

reddit.com
u/spla58 — 13 days ago

[10 YoE] Does my PDF resume being parsed like this indicated my resume is malformed or something is wrong with the parsing software?

When I apply for jobs online my resume appears to be parsed incorrectly. Characters are missing and words are misspelled. I attached 2 images as an example.

u/spla58 — 20 days ago

Will microneedling eventually lead to scarring regardless of the needle length and technique?

I just assume if you're causing a wound scarring is inevitable?

reddit.com
u/spla58 — 25 days ago

Creating a function that returns a different class instance based on the argument passed to the function

reddit.com
u/spla58 — 1 month ago

Do make your selectors private in your page object classes?

Or do you leave them public so you can use them directly in your tests?

reddit.com
u/spla58 — 1 month ago

When you give up addictions to foster mindful consumption what do you replace them with?

I want to give up addictions because they make me feel bad, but also not having my addictions make me feel bad. What can I replace them with? Meditation only helps so much.

reddit.com
u/spla58 — 2 months ago
▲ 17 r/bash

How can I write a multi-line variable declaration to a file and then load it from the file elsewhere?

I have a variable declared over multiple lines:

INFO=$(cat \<<EOF
  [
    {"title": "ProjectName:", "value": "My Project"},
    {"title": "Description:", "value": "Example"}
  ]
EOF
  )

I need to write the variable to a file like this so I can load it and use it later somewhere else:

echo INFO=$INFO >> $env_file

When I load that file though the variable is malformed because it's over multiple lines:

source $env_file
cat $env_file
INFO=  [
    {"title": "ProjectName:", "value": "My Project"},
    {"title": "Description:", "value": "Example"}
  ]
reddit.com
u/spla58 — 3 months ago

How to over come the 12PM - 1PM slump as you get older?

I've been working from home for over 5 years now. Around 12PM - 1PM I get so tired I feel like death. I take a nap and wind up waking up around 3PM and lose lots of productivity in my day. So I usually have to work a bit later than I would like. Has anyone over come this with lifestyle changes?

reddit.com
u/spla58 — 3 months ago

Can you run two different .spec files as two different shards?

I want to run two different .spec files as shards to create two different reports and combine them into one like this:

npx playwright test --shard=1/2 tests/file-a.spec.ts

npx playwright test --shard=2/2 tests/file-b.spec.ts

npx playwright merge-reports --reporter html ./blob-report

The problem is npx playwright test --shard=2/2 tests/file-b.spec.ts command never runs after the first one.

reddit.com
u/spla58 — 3 months ago

Would Minoxidil increase the rate of DHT based baldness because it increases blood flow to the scalp?

Since DHT is carried to the scalp by the blood?

reddit.com
u/spla58 — 3 months ago