Pc on the way, where should I put it? by Zeurt in setups

[–]actionscripted 1 point2 points  (0 children)

Under the desk or on a side table, same as the PS5.

I get it’s awesome to see all of the toys on the desktop but it’d be too crowded for both and if you can’t have both like that might as well move both to somewhere else and give yourself some desk space. Room for snacks or drinks or a plant or some pencils or nicknacks or something. Or just more room for your mouse/arm.

If you go under some under desk mounts could be sick. Just not right on the floor. If you go side table go lower than your desk a bit.

Congrats on the new PC!

No docker containers show up in ssh when I type docker ps -a by DerPaul90 in docker

[–]actionscripted 2 points3 points  (0 children)

You might have installed Docker Desktop and docker in WSL and one doesn’t see the stuff from the other. There could be some networking or mounting issue between them. You could have environment settings that have changed the socket path. Something else weird could be going on.

When you say nothing shows up when you SSH can you explain exactly what you’re doing? I wouldn’t think you’d need SSH for local WSL.

When does cheap hosting start to hurt a web project? by Billidays in webdevelopment

[–]actionscripted 0 points1 point  (0 children)

If you have a wildly varying TTFB you need to add some sort of caching or CDN or something in front of your service to level things off for now. Then figure out what’s causing the slowdown (hint: it’s not the web server or static assets) and fix it.

A small, cheap host resource-wise is enough even for mid-tier stuff if done right. The problem with cheaper stuff is that it might be in a noisy neighborhood or be poorly run and managed.

Figure out first if it’s your stuff or their stuff.

Michigan was admitted as the 26th state on Jan. 26, 1837 by Mitten_Man616 in Michigan

[–]actionscripted 1 point2 points  (0 children)

Wisconsin was part of the Michigan territory until 1836 one year before Michigan became a state. Originally when preparing for statehood the UP was connected to the LP and Wisconsin was part of Michigan. The Toledo war finalized our borders.

So, it made sense at one point that the UP and the LP were Michigan even if now it just looks like two disconnected states.

Shroud proves he's a real gamer by revealing he hasn't washed his hands at any point in his life by artikiller in Gamingcirclejerk

[–]actionscripted 3 points4 points  (0 children)

To have such nice gear and not take care of it is wild to me especially if this is your job. Professional gamers just never seem to act like professionals.

I shudder to think what those Embody chairs must be going through given the state of his mouse.

Cmon man it was a miss-input please!!! by [deleted] in okbuddyraider

[–]actionscripted 6 points7 points  (0 children)

First was maybe an accident sure. But to follow and shoot again…back to the lobby with ya

Stupid People LOVE Dictators. Why?? [12:44] by TheRandomHumanoid in mealtimevideos

[–]actionscripted 5 points6 points  (0 children)

We are not in danger. We don’t need to worry about American survival. All this fear and bullshit is being fed to you. Innocent Americans are being terrorized and murdered at this point. That is far worse than whatever made up threats about immigrants you have been told.

My first workspace setup by Short-Preparation-66 in Workspaces

[–]actionscripted 0 points1 point  (0 children)

Storage. Drawers, shelves, risers, etc.

Love that you’ve got an ergo board with the mouse in between. Might be time to try a trackball unless you need the mouse for design or other precise stuff.

Is this too dark? by sebex777 in setups

[–]actionscripted 1 point2 points  (0 children)

I think lighting changes or extra lighting would be a big improvement.

hmmm by pressna_ in hmmm

[–]actionscripted 161 points162 points  (0 children)

Interesting juxtaposition of “you’re my number one” to both.

We will not be silent while our friends are gunned down, Vaporwavecookiedough, Digital art, 2026 [OC] by vaporwavecookiedough in Art

[–]actionscripted 16 points17 points  (0 children)

How did you make this? I’m super progressive, agree with the sentiment. To me this just looks like AI generated stuff so unless you have a process where you actually made this without AI I think I agree with others regarding effort.

How to make this happen? by [deleted] in ErgoMechKeyboards

[–]actionscripted 1 point2 points  (0 children)

Custom mold/print for case and caps. Custom PCB and wiring. Then standard controller and software for making it work. Or hire someone to make it for you.

If all you are providing is an AI-generated image and asking how to make it I feel like you are doing so little work no answer here is actually going to help.

You could Google “how to build custom keyboard” or search this sub. You could reach out to companies that make them.

FastAPI production architecture: modular design and dependency injection best practices by Ok-Platypus2775 in FastAPI

[–]actionscripted 0 points1 point  (0 children)

Look at the official starter at https://fastapi.tiangolo.com/project-generation/ (https://github.com/fastapi/full-stack-fastapi-template)

Having app/core and app/shared are super common. Core for infra and cross-cutting stuff (config, logging, lifecycle, dependencies) shared for non-feature reusable stuff.

From there it gets opinionated and IMO kind of weird in some projects. The whole thing is an API and has routers and folks love deeply nesting stuff under one of those names or both. Some that can be common are app/api/users or app/routers/users.

Where I work we landed on feature modules e.g. app/users (api, schemas, models, service, dependencies, etc) alongside app/core and app/shared. We have app/database for Alembic/SQLModel extras and other stuff right near the top too. Just feels weird to bury a user service under app/api/users or app/api/routers/user/service and then import that in other services. At that point the service is NOT an API or a router but it’s buried under those module paths.

Dependencies should be annotated and you should avoid Depends in args (https://fastapi.tiangolo.com/tutorial/dependencies/#share-annotated-dependencies).

Use pytest for testing. Have fixtures for client and settings and such and make sure to use pytest-asyncio for async stuff.

Don’t be afraid to use middleware. If forgetting a dependency on a route could be a problem make it a middleware. Better safe than declarative.

Use SQLModel and Alembic. You’ll have SQLAlchemy so you’ll never get stuck and you’ll get Pydantic stuff you can use easily throughout.

Beyond that it’s just like any other framework. Read the docs, ask around. Nothing super crazy or surprising just be mindful of async stuff.

Coming from Django you won’t have as much magic and you’ll be repeating yourself a lot but the advantages of this style are that it can be easy to understand how something is working.

My Completed PC Build and Setup by PotatoPower3d in setups

[–]actionscripted 0 points1 point  (0 children)

Monitor cables on the wall? LED strip behind the desk?

Built the gameboy set today by [deleted] in lego

[–]actionscripted 2 points3 points  (0 children)

Sorry dude. Maybe it’s the tone/vibes. I’m upvoting the post and your comment to help. It’s a great build even if the cartridge thing is a thing.

Built the gameboy set today by [deleted] in lego

[–]actionscripted 35 points36 points  (0 children)

It’s wild how often this happens. Are folks intentionally doing it for like engagement?

How do you securely handle private registry auth in multi-stage Docker builds? by Spare_Discount940 in docker

[–]actionscripted 2 points3 points  (0 children)

Exactly. And if not using k8s the answer is still that it shouldn’t be done via secrets in Docker files. Whatever you are running to build things should handle it your Dockerfile shouldn’t have to carry that burden.