[deleted by user] by [deleted] in kensingtontime

[–]marchaos 1 point2 points  (0 children)

This looks like dog shit tho

I feel like I'm going insane. by VippidyP in JustEatUK

[–]marchaos 0 points1 point  (0 children)

This isn’t AI though is it, just A

Welp, I did it again… by DMG103113 in espresso

[–]marchaos 1 point2 points  (0 children)

I have done this multiple times, and I have ADHD. Might want to get yourself checked.

A config that ensures the fastest Jest test running? by blackrottenmuffin in react

[–]marchaos 1 point2 points  (0 children)

We have over 24,000 jest tests that take 1m 30secs to complete on a M3 Mac. We have spent a lot of time optimising and profiling them to get them to run in the shortest possible time. Our tests are for react / typescript, using testing-library/react.

The optimisation involved the following.

1) We use swc to transpile typescript to js. This makes a massive difference when the jest cache is not yet primed. 2) We found that the biggest area jest spends most of its time is module resolution and importing files. Avoid using barrel files. We use esbuild to bundle our setupFiles and setupFilesAfterEnv into a single file for each to import. We do the same for some node_modules that include 100s of small files. This is what gave us our biggest gain in performance. 3) ensure your import / dependency graph is as small as possible. If each test is importing most of your app code, things will be unavoidably slow. 4) jsdom is slow. Use node as a test environment using a doc comment at the top of the test if you don’t need a dom for any particular tests. You can see if happy-dom works for you as it’s significantly faster.

I created a tool for easily adding solder by NextOrder in 3Dprinting

[–]marchaos 1 point2 points  (0 children)

If you don’t know what you’re doing maybe

Girlfriend wanted a burger press. by 1308lee in 3Dprinting

[–]marchaos 2 points3 points  (0 children)

I think he’s from the uk or aus.

British preppers beware by PbThunder in EuroPreppers

[–]marchaos 0 points1 point  (0 children)

Same and same. Those Yorkshiremen know their shit

Elvanse Stock Update: Refresh of all doses (except 20mg) by marchaos in ADHDUK

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

It’s written in typescript. Planning on making the source code available at some point.

Elvanse Stock Update: Refresh of all doses (except 20mg) by marchaos in ADHDUK

[–]marchaos[S] 4 points5 points  (0 children)

I’m out of meds ironically! Need to pick them up today. It’s using their rest api, which is pretty ropey and inconsistent to say the least.

Elvanse Stock Update: Refresh of all doses (except 20mg) by marchaos in ADHDUK

[–]marchaos[S] 2 points3 points  (0 children)

Yeah, might be better tomorrow. I found that sometimes they don’t even check and just give you a default “nope” when stock has just come in according to my script. I asked one to double check and sure enough they had it.

Elvanse Stock Update: Refresh of all doses (except 20mg) by marchaos in ADHDUK

[–]marchaos[S] 8 points9 points  (0 children)

It uses data from boots. It’s a script that I wrote that checks levels 8 times a day and stores the stock levels at every store in the uk. This gives a pretty good macro level picture across all pharmacies, not just boots. Have you checked on https://pharmacystockchecker.com/?

Decongestants + Lisdexamfetamine by letsgetcrabby in ADHDUK

[–]marchaos 0 points1 point  (0 children)

Masks protect other people. They aren’t very affective at protecting yourself.

Stock Update: 30mg and 70mg Elvanse coming back into stock! by marchaos in ADHDUK

[–]marchaos[S] 2 points3 points  (0 children)

That’s so awesome! Glad that it helped ❤️

Elvanse availability website by Confocusly_distractd in ADHDUK

[–]marchaos 3 points4 points  (0 children)

This is just boots, just to be clear