picoblaanket

joined 3 years ago
[–] [email protected] 3 points 2 years ago

Yes, so we can talk to each other.

[–] [email protected] 3 points 2 years ago

Thanks for replying. I see now.

Thought I was in a forum of advanced hydro-dynamic engineers for a second there.

[–] [email protected] 4 points 2 years ago

@tomasz - Do you think we should bring them back?

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

The last word of the comment is loss.

Are people saying "None" because the spout into 'cup 5' is a mil lower than the rim of 'cup 5'? If so, then "None" could make sense.

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

I'm curious what you mean by this.

[–] [email protected] 2 points 2 years ago

It works perfectly - clean and convenient. Thank you for sharing.

[–] [email protected] 3 points 2 years ago

The main 'mood fixes' for me are:

  1. Sleep a lot (the most important)
  2. Hard exercise (like sprinting or pushups)
  3. Read a couple chapters of a book you actually like.

And to deal with the actual 'causes':

  1. Write a list of what causes the anxious / bummed feelings.
  2. Divide that list into two groups - "Thing I can change" and "Things I can't change".
  3. Beside each item on "Things I can change", write a good idea for how to fix it.
  4. Pick ONE IDEA from "Things I can change" and start doing it (and decide to enjoy it).

Something I notice... after doing those 'lists' and 'mood fixes'... the situation is usually not as 'hopeless' or 'complicated' as it seemed.

Feel free to share your lists/ideas (or feel free to message me if you'd rather discuss it in private). I will be honest and encouraging.

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

I guess that depends on how you define success:

  • If I make an instance for writers, and 30 writers use it ... success.
  • If I make an instance for my friends, and we use it ... success.

Personally - I’d rather have a tight-knit community than a zillion spammers regurgitating low-effort posts (like many reddit subs).

The cool thing about success is - you get to decide what it means.

[–] [email protected] 1 points 2 years ago

1 - I’ve completed your suggestions.

You are correct - I had forked the ‘Main’ branch, which runs a different js-client than UI-16.7.

So I merged 16.7 into my fork... and everything WORKS.

Thank you - that was helpful.

[I also set up Drone. Yes, it builds very fast.]

**

2 - Perhaps “LEMMY_DATABASE_URL” shows an obsolete value in the config docs:

  • It is listed as - postgres://lemmy:pw@LEMMY_DB:5432/lemmy
  • And perhaps should be - postgres://lemmy:pw@POSTGRES:5432/lemmy

That 2nd string worked for me anyway - on an ansible install. (the former gives a 404 fetch error).

**

Thank you very much again.

Lemmy is running smooth and looking great.

I hope you are doing alright.

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

I forked the UI at 15.4, to build some new UI features.

Next I will manually add those features to this clean fork of Lemmy-UI 16.7 (so all code is up-to-date).

--

If I may ask, do you recognize what this issue might be?

These pages work:

  • Home page loads perfectly (when there are 0 posts)
  • Create a community works
  • visiting a community works (when there are 0 posts)
  • New user registration succeeds

--

However, I get a loading spinner and Uncaught TypeError: Cannot read properties of undefined (reading “____” ) on the following pages [in console]:

  • Create Post (reading “at”)
  • User Profile (reading “split”)
  • Settings (reading “map”)

And if I do create a post [by using ‘default UI’, and then switching back to 'forked UI'], then Post-List pages also give that error:

  • Community, Home (reading “split").

--

So my question is:

Do you see a likely cause from that pattern?

(Perhaps a backend/database connection - an undefined string).

If you have an idea, I would love to know.

--

ENVIRONMENT:

  • Docker + NGINX logs seem to be clean.

  • I have not modified the ‘UI fork’ code.

  • I have not modified anything on the VPS - only added these Environment Variables in docker-compose.yml (in various combinations):

  environment:
   - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
   - LEMMY_UI_LEMMY_EXTERNAL_HOST=ggg.com
   - LEMMY_UI_HTTPS=true
   - LEMMY_UI_DISABLE_CSP=true
   - LEMMY_UI_HOST=0.0.0.0:1234
  • The install was done by ansible.

--

Thank you for your time and work. Lemmy is awesome.

[I am learning about drone now.]

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

Thank you for the reply.

If I can eliminate QEMU, I’d love to (it’s slow).

Have you shared your workflow.yml anywhere? (for the lemmy-ui DockerHub image build)

**

This is my current workflow.yml (for Github Actions).

The reason I added QEMU was:

1 - Github Actions was only building the ‘forked-UI’ docker-image for AMD64.

2 - I then added buildx and specified a platform in the workflow:

 - name: Buildx
   uses: docker/setup-buildx-action@v1

 - name: Build and push
   uses: docker/build-push-action@v2
   with:
     context: .
     platforms: linux/arm64/v8

Which failed with:

 Error: buildx failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c 
 yarn install --pure-lockfile" did not complete successfully: exit code: 1

3 - I then added the QEMU step, and the build succeeded.

**

*Lemmy-Translations

I also had to add an "Update lemmy-translations" step:

   - name: Update submodules
     run: git submodule update --init --recursive

otherwise the build would fail with:

   /usr/src/app/generate_translations.js:7
   files.forEach(filename => {
      		       ^
   TypeError: Cannot read properties of undefined (reading 'forEach')
   at /usr/src/app/generate_translations.js:7:9
   at FSReqCallback.oncomplete (node:fs:201:23)

After adding that “Update Submodules” step, the build succeeds.

Is there a better way to do it?

**

I am 100% open to any suggestions/critiques (and if your workflow.yml is public, I will study it and learn).

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

Hey I think that is a great idea. I agree that mental/spiritual freedom is reached through the breath.

That will be a great strategy and you can definitely help people who are ready to try it.

view more: ‹ prev next ›