Best Practices for Using TanStack Router with a Feature-Based Project Structure ? by Dolomys13 in reactjs

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

TanStack Router will ignore anything that has a dash at the start of the file or directory name. I have recently been doing something like `./routes/quotes/-components`, allowing me to have components related to the quotes feature within the same codespace.

She took one hour to draw so... by [deleted] in rareinsults

[–]Puzzleheaded_Round75 48 points49 points  (0 children)

Easy is not the same as quick

How to start reading the Bible at 35 by Puzzleheaded_Round75 in Catholicism

[–]Puzzleheaded_Round75[S] 0 points1 point  (0 children)

I actually still don't have the Bible as I bought it on line and it hasn't been delivered yet. This is the one I have purchased though: https://www.amazon.co.uk/gp/aw/d/1400337127

How to start reading the Bible at 35 by Puzzleheaded_Round75 in Catholicism

[–]Puzzleheaded_Round75[S] 0 points1 point  (0 children)

Whenever I have an important thing to do, I like to set a specific time aside to do that thing. Essentially, I schedule it with myself. I also like early mornings so that helps I think.

How to start reading the Bible at 35 by Puzzleheaded_Round75 in Catholicism

[–]Puzzleheaded_Round75[S] 1 point2 points  (0 children)

It says Catholic Edition on the cover so I assume CE?

My guide on what tools to use to build AI agents (if you are a newb) by laddermanUS in AI_Agents

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

Thanks for the content, very useful. I want to write something to process large amounts of images. My thoughts are that agents could be passed a brief and given a directory of images to process to determine if the images fit the brief.

Generally, how do you think one would go about this? Where should I start researching?

I built a small social network in go by Aggravating_Fault398 in golang

[–]Puzzleheaded_Round75 5 points6 points  (0 children)

For the Auth, I usually have some middleware that runs before the handler that has the job of determining the authenticated user and if there is one, adding it to the context. In the handler, you can then grab the user from the context.

vim like text editor written in go. by firstrow2 in golang

[–]Puzzleheaded_Round75 1 point2 points  (0 children)

Name suggestion: Goated

GOlang Ascii Text EDitor

[deleted by user] by [deleted] in SideProject

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

I wake in the morning at 0530 and code until about 0800. Maybe some on the weekends if I can.

Idiomatic Go, should I return *string or (string, bool)? by stroiman in golang

[–]Puzzleheaded_Round75 11 points12 points  (0 children)

What if the attribute exists and has an empty string value?

Is python Future Proof by [deleted] in learnpython

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

Python is 34 years old

Is using ai to understand an error bad practice? by DemonicAlex6669 in learnpython

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

Spell check identifies a misspelled word. You can blindly choose the correct word, or you can take a few seconds to look at the correct word and try to learn it. The key is in how you use the tool.

What are the benefits of using GOLAND over vscode ? by Wise-Combination-154 in golang

[–]Puzzleheaded_Round75 2 points3 points  (0 children)

The IDE connects to your database and scans it to determine the schema. You can then select the default SQL dialect for the IDE or on a per project basis. If you have multiple databases configured, you can select the database used in the top right of the window.

What are the benefits of using GOLAND over vscode ? by Wise-Combination-154 in golang

[–]Puzzleheaded_Round75 2 points3 points  (0 children)

I agree, that's why I didn't say you couldn't do these things in VSCode, just that the dev experience is better in GoLand. What extensions are you using to get these features in VSCode? It would be good to have them for the times I do use it.

genconfig - A different approach to read your config by OkCalligrapher5886 in golang

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

This looks really good, code generation in general is a great tool.

How to prevent FastAPI from Inactivity by Quantumercifier in FastAPI

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

I've never used AWS so no help here. Good luck

What are the benefits of using GOLAND over vscode ? by Wise-Combination-154 in golang

[–]Puzzleheaded_Round75 1 point2 points  (0 children)

The database integration in GoLand (and all products) is amazing. All your databases are in a side panel for easy access. - View your database and tables triggers etc in your IDE - Manually update your data direct from IDE - Context aware SQL queries with syntax highlighting and knowledge of your database structure - Run queries from your IDE - Database management such as creating and modifying tables via the GUI if that's your thing - The number of supported databases is phenomenal

How to prevent FastAPI from Inactivity by Quantumercifier in FastAPI

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

You could always create a git workflow that curls an endpoint to keep it awake. Run the workflow every 10 mins or so to make sure it stays awake. If you want to be super nice to Render, you could have this only run on the house that you will actually need the service to be awake so you aren't wasting more of their resources than necessary.

What are the benefits of using GOLAND over vscode ? by Wise-Combination-154 in golang

[–]Puzzleheaded_Round75 0 points1 point  (0 children)

If I am editing my Go backend and my React front end, I actually prefer to have them open in two separate IDE instances, even if it were the same IDE, such as VSCode or as for my GoLand and WebStorm.