frozen

joined 2 years ago
MODERATOR OF
[–] [email protected] 0 points 23 hours ago

As a T1 diabetic, artificial sweeteners don't affect my blood sugar either. Caffeine does, though, unfortunately.

[–] [email protected] 1 points 1 day ago

Use a steamer instead of a blow-dryer or heat gun, next time. I just had to defrost my Samsung freezer to fix a leak, no warping with the steamer.

[–] [email protected] 2 points 1 week ago (1 children)

I have a similar docker/podman alias, except I pull first. This greatly reduces downtime between down and up, which is nice for critical services.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (1 children)

Right you are, I messed up the external host. Thanks!

[–] [email protected] 1 points 1 week ago (3 children)

Below is my current dockerfile, which is using 0.19.11 right now to fix the issue. The issue happens when I switch to 0.19.12.

networks:
  # communication to web and clients
  lemmyexternalproxy:
  lemmybridge:
  # communication between lemmy services
  lemmyinternal:
    driver: bridge
    internal: true

services:
  photon:
    image: ghcr.io/xyphyn/photon:latest
    networks:
      - lemmyexternalproxy
      - lemmyinternal
    ports:
      - 8080:3000
    environment:
      - PUBLIC_INSTANCE_URL=lemmy.frozeninferno.xyz
      - PUBLIC_LOCK_TO_INSTANCE=true
      - PUBLIC_DEFAULT_COMMENT_SORT=Top
      - PUBLIC_FULL_WIDTH_LAYOUT=true
      - PUBLIC_DEFAULT_FEED=Subscribed
    restart: unless-stopped
    depends_on:
      - lemmy
      - lemmy-ui

  proxy:
    image: nginx:1-alpine
    networks:
      - lemmyinternal
      - lemmyexternalproxy
    ports:
      # only ports facing any connection from outside
      - 8880:80
      - 8843:443
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
      # setup your certbot and letsencrypt config
      - ./certbot:/var/www/certbot
      - ./letsencrypt:/etc/letsencrypt/live
    restart: unless-stopped
    depends_on:
      - pictrs
      - lemmy-ui

  lemmy:
    image: dessalines/lemmy:0.19.11
    hostname: lemmy
    networks:
      - lemmyinternal``
      - lemmybridge
    ports:
      - 8536:8536
    restart: unless-stopped
    environment:
      - RUST_LOG="warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info"
    volumes:
      - ./lemmy.hjson:/config/config.hjson
    depends_on:
      - postgres
      - pictrs

  lemmy-ui:
    image: dessalines/lemmy-ui:0.19.11
    networks:
      - lemmyinternal
      - lemmybridge
    ports:
      - 1234:1234
    environment:
      # this needs to match the hostname defined in the lemmy service
      - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
      # set the outside hostname here
      - LEMMY_UI_LEMMY_EXTERNAL_HOST=192.168.0.10:1236
      - LEMMY_UI_HOST=lemmy-ui:1234
      - LEMMY_HTTPS=true
    depends_on:
      - lemmy
    restart: unless-stopped

  pictrs:
    image: asonix/pictrs:0.5
    # this needs to match the pictrs url in lemmy.hjson
    hostname: pictrs
    # we can set options to pictrs like this, here we set max. image size and forced format for conversion
    # entrypoint: /sbin/tini -- /usr/local/bin/pict-rs -p /mnt -m 4 --image-format webp
    networks:
      - lemmyinternal
      - lemmybridge
    environment:
      - PICTRS__API_KEY=API_KEY
      - RUST_BACKTRACE=full
      - PICTRS__UPGRADE__CONCURRENCY=256
      - PICTRS__OLD_REPO__PATH=/mnt/sled-repo
      - PICTRS__REPO__TYPE=postgres
      - PICTRS__REPO__URL=postgres://lemmy:<censored>@postgres:5432/pictrs
    user: 991:991
    volumes:
      - ./pictrs:/mnt
    restart: unless-stopped

  postgres:
    image: postgres:16-alpine
    # this needs to match the database host in lemmy.hson
    hostname: postgres
    networks:
      - lemmyinternal
    environment:
      - POSTGRES_USER=lemmy
      - POSTGRES_PASSWORD=<censored>
      - POSTGRES_DB=lemmy
    volumes:
      - ./postgres:/var/lib/postgresql/data
    restart: unless-stopped
    shm_size: 12gb

  adminer:
    image: adminer
    restart: always
    networks:
      - lemmyinternal
      - lemmyexternalproxy
    ports:
      - 10000:8080
[–] [email protected] 1 points 2 weeks ago (5 children)

I'm using the regular Docker file, and I'm getting the same thing.

Lots of the following in the UI logs.

{ name: 'couldnt_find_person', message: '' }
{ name: 'couldnt_find_post', message: '' }
{
  name: 'unknown',
  message: 'Query deserialize error: invalid digit found in string'
}
{
  name: 'unknown',
  message: 'Query deserialize error: invalid digit found in string'
}
{ name: 'couldnt_find_post', message: '' }
{ name: 'couldnt_find_post', message: '' }

However, Photon's alternative UI works fine.

 

My instance (frozeninferno.xyz) seems not to be federating properly with mander.xyz.

Looking at https://lemmy.frozeninferno.xyz/c/[email protected] it appears that the newest posts are from 4 months ago, however, looking at https://mander.xyz/c/herpetology there have been some more recent than that.

What can I do to fix this? And how can I check if federation is working properly with other instances?

Thanks.

 

I was looking through various RCON tools and found this. Someone does not like commit messages.

 

A patient was asked to debate a doctor on whether do-it-yourself automated insulin delivery is still needed now that DIY AID is becoming more commercially available.

Personally, I will always advocate for patient empowerment. It's my disease, and I should be able to treat or deal with it how I want.

1
What's your equipment? (lemmy.frozeninferno.xyz)
 

Until Lemmy gets a flair system, I thought we could share our diabetes equipment in this thread.

My stuff for T1:

  • Dexcom G6
  • TSlim X2
  • Novolog
 

I just had to call my endo to change my insulin to Novolog because my insurance decided they like it better. This is after the same insurance switched me to Humalog late last year.

I'll never understand insurance companies.

 

Just recently released in the US, but my pump (TSlim X2) doesn't work with it yet 😭.

Is anyone using it yet, and if so, how has it been compared to your previous CGM?