A diabetes summary (draft)

TLDR Diabetes is what happens when high blood sugar wreaks havoc on the body because either with type I diabetes, the pancreas cannot produce insulin for various reasons or with type II diabetes, no matter how much insulin the pancreas produces, it is not enough insulin to meet the high levels of blood sugar because of insulin resistance (insulin is ignored by cells and blood sugar is not taken up). But fortunately dietary carbohydrate is the main lever here....

May 20, 2023 · (updated May 29, 2023) · 6 min · 1086 words · Michal Piekarczyk

Using ChatGPT to kickstart a flask app?

Context Per an earlier on-going interlude, I’ve been trying to more easily curate the photos I care to reference in passing in a conversation. This started out as deduping photos and splitting out the photos of food, but at some point I realized I have so many photos I take as notes, taking those out by hand was getting tedious. I used this as an opportunity to test chat GPT’s code-generating skills....

May 4, 2023 · (updated May 14, 2023) · 4 min · 640 words · Michal Piekarczyk

Run forever!

Github Pages build queued for a day "Waiting for a runner to pick up this job" But I was excited to release a date fix The dates on hugo posts were funky since switching to PaperMod, like “121212-34-7878” But I was reading newer hugo uses date_format instead of dateFormat. Anyway I had a typo because I had DateFormat , would not have worked anyway. But I could not publish this!...

April 13, 2023 · 1 min · 94 words · Michal Piekarczyk

Merge log-seq journal forks

This is what happens to me When editing with https://logseq.com , on my phone, laptop and ipad, I end up seeing this $ fd ' ' journals/ journals/2021_03_13 2.md journals/2021_05_30 2.md journals/2021_10_17 2.md journals/2022_01_23 2.md journals/2022_05_15 2.md journals/2022_06_11 2.md journals/2022_07_16 2.md journals/2022_08_21 2.md journals/2022_09_01 2.md journals/2022_09_07 2.md journals/2022_09_07 3.md journals/2022_09_10 2.md journals/2022_09_26 2.md journals/2022_10_22 2.md journals/2022_10_22 3.md journals/2022_12_14 2.md journals/2023_01_12 2.md journals/2023_02_04 2.md journals/2023_03_10 2.md journals/2023_03_21 2.md I think this is mostly happening when you start editing a file before a icloud sync has had a chance to take place....

April 1, 2023 · 2 min · 401 words · Michal Piekarczyk

Indistractable book summary

Draft status Note haha, this is highly in draft mode, but I like to publish my early drafts because iterating is my preferred psychological happy place. But yea this is definitely not organized writing yet. Book in three sentences We escape what we intend to do when it makes us uncomfortable, but we can learn to notice the impulse to escape and stay with ( lean in ) the discomfort a little bit at a time You control your input and not your output, so align the input with your values and forgive yourself (be kind )for crappy outcomes....

April 1, 2023 · 8 min · 1631 words · Michal Piekarczyk