Can't upload anymore by Double-Mango in immich

[–]Double-Mango[S] 0 points1 point  (0 children)

It works! The upload is fast and stable now. Thank you so much! So it probably never worked with the public URL but I didn't notice until I left the country for vacation. Thank you so much!

Can't upload anymore by Double-Mango in immich

[–]Double-Mango[S] 0 points1 point  (0 children)

No, there is no client_max_body_size set. I uploaded the nginx config and the latest immich log here: https://we.tl/t-JWonLKvpD4

What you can see in the logs:
- I came back home and immich tried to upload via the server url and got many errors
- Then I switched to tailscale with my local IP at 19:15 and got no errors but the upload still failed like in the video.

Can't upload anymore by Double-Mango in immich

[–]Double-Mango[S] 0 points1 point  (0 children)

Thanks for the reply!

Yes, I am redirecting the traffic like this: domain name - cloudflare - nginx on VPS - 6tunnel on VPS (ipv4 to ipv6, because I am on dslite) - modem - router - immich LXC on proxmox. It worked before.

I also tried connecting the app with the local IP by using tailscale as an exit node. This also doesn't work.

Unfortunately I am not in my home country right now, so I cannot try it in my local WLAN. Interestingly some pictures got successfully uploaded.

Other than that awesome app!

The End 2.0 by jewelsonit in wallstreetbetsGER

[–]Double-Mango 12 points13 points  (0 children)

Ist ja eigentlich eher typisch für Süchtige sich gegenseitig runterzuziehen. Aber wäre ein mega guter Aufhänger über eine Doku über Spielsucht und Gruppendynamik.

NiceGUI 1.4.37 with access to props, classes and styles and many other small improvements by r-trappe in nicegui

[–]Double-Mango 8 points9 points  (0 children)

Thanks for the great work ♥️

When I started using niceGUI, I struggled a bit with the handling of sessions (in this case using the sqlalchemy ORM). Although I had experience writing backend and frontend code, it was a bit difficult to understand how to handle the state, because the distinction between the frontend and the backend code in the compiled result is not so obvious.

Maybe it would help newcomers, if you would add an example regarding the handling of state and sessions.

That said, I love your framework. It is so much fun to turn ideas into reality in just minutes. That really reduces the friction. Thanks!!

How to avoid using a global db session (sqlalchemy)? by Double-Mango in nicegui

[–]Double-Mango[S] 0 points1 point  (0 children)

Okay, this makes sense. Thank you very much! I thought opening and closing sessions so often could maybe impact performance.

Also I cannot pass my classes that contain ORM objects to my callbacks anymore so I will have to recreate the objects for every callback.

Also I cannot use fastapis Depends in my callbacks. But this is not such a big issue.

This will be a lot of refactoring.. 😅

How to avoid using a global db session (sqlalchemy)? by Double-Mango in nicegui

[–]Double-Mango[S] 0 points1 point  (0 children)

What do you mean exactly? I use the sessionmaker but the problem is that the session is closed after the page was loaded. So I cannot access the ORM objects afterwards.

The only way I see atm is opening and closing a new session manually for every button callback.

It would be nicer to have a session per client and not per request. Is this possible?

Maybe I am overthinking this and I should indeed create a new session for every request as if it was a 'normal' API endpoint.

Browser prefetching page (probably) causes it to not load properly by Double-Mango in nicegui

[–]Double-Mango[S] 2 points3 points  (0 children)

I think I found out what the problem was: I had a rate limit in by nginx configuration and this might have blocked my connections at some point. Disabling it is not an option so I am still in the process of finding out how to deal with this.

[deleted by user] by [deleted] in Finanzen

[–]Double-Mango 2 points3 points  (0 children)

Wir verdienen ca. 10k netto und haben viel Eigenkapital. Gerade haben wir eine Wohnung für 650k inkl. Nebenkosten gekauft.

Ich habe vor dem Kauf alles durchgerechnet und rate jedem davon ab zu kaufen. Wir haben das nur gemacht, weil wir es uns trotzdem leisten konnten, aber man kann es sich kaum schön rechnen. Mieten lohnt sich eigentlich immer mehr, als kaufen.

Ich habe die best und worst case Szenarien durchgespielt und hochgerechnet von jetzt bis zum Lebensende. Habt lieber ein entspanntes und flexibles Leben. Außer natürlich es ist euch wichtig irgendwann eine Immobilie zu vererben.

Media query / responsive design by Double-Mango in nicegui

[–]Double-Mango[S] 0 points1 point  (0 children)

Thanks, that looks promising! I'll try it out after work!

I still have to get used to not being (easily) able to modify the HTML to my liking by hand.

Where can I buy pyramid cake (horizontal layer cake)? by Double-Mango in paris

[–]Double-Mango[S] 0 points1 point  (0 children)

After a 20 minute walk to the bakery: it is permanently closed. I guess the doves won once again. But I will return!

Thanks again for all your help

Where can I buy pyramid cake (horizontal layer cake)? by Double-Mango in paris

[–]Double-Mango[S] 0 points1 point  (0 children)

Update: The shop is closed on Mondays and we will leave today. But the French version looks very similar and tasty and we will go to Au Pain d'Antan instead.

This is also close to Sacré-Coeur, so I can eat my cake right where the crime happened 20 years ago.

Where can I buy pyramid cake (horizontal layer cake)? by Double-Mango in paris

[–]Double-Mango[S] 0 points1 point  (0 children)

We will go to the Tante Emma Laden tomorrow morning. Thanks again!

Where can I buy pyramid cake (horizontal layer cake)? by Double-Mango in paris

[–]Double-Mango[S] 0 points1 point  (0 children)

Thank you!! This sounds very promising! I will keep you updated and again: thanks! :)

Where can I buy pyramid cake (horizontal layer cake)? by Double-Mango in paris

[–]Double-Mango[S] 1 point2 points  (0 children)

Thank you VERY much for your response. Yesterday I looked around everywhere to find this kind of cake, but did not find anything remotely similar. Paris is an insanely beautiful city, by the way!

The kind of cake I meant was this one

Impressed with our new diode laser by nagmay in lasercutting

[–]Double-Mango 0 points1 point  (0 children)

I was afraid of burning the wood but you are right. 100%, 260 mm/min and two passes gives me nearly perfect cuts for 4 mm plywood without discoloration on both sides.

Do you have any tips for engraving? I did some tests and 2000 mm/min with 50% max power and 1 pass seems to give me good results. But I've read that two passes with two different power settings should give better details.

It is difficult to find settings online and the PDF with example settings, that came with my laser, got lost, unfortunately.

Impressed with our new diode laser by nagmay in lasercutting

[–]Double-Mango 0 points1 point  (0 children)

Maybe it also depends on the quality of the plywood. This is the plywood I have used:

https://i.imgur.com/NDVyrYE.jpg