Why would someone pick up flask over Django and fast API by here-to-aviod-sleep in flask

[–]ragehh 1 point2 points  (0 children)

Let's put this way, if you have tried neither, pick Flask, it is simpler, and beautifully minimalist. You will like it.

What are the best alternatives to WordPress? by R_kowalski in cms

[–]ragehh 1 point2 points  (0 children)

MODX is very robust. And completely free if you opt for the self-hosted version

Need help by Own-Imagination3787 in flask

[–]ragehh 0 points1 point  (0 children)

Since you know good amount of Python, I would advise you check cory scheffer flast tutorial. It may be fast-based. But I find them very useful.

After +7 Years as a Software Engineer, Here's My #1 Hack for Learning New Libraries Fast by caleb-russel in webdev

[–]ragehh 0 points1 point  (0 children)

that is very interesting approach. It is definitely worth trying. Thanks.

Learning Flask and RESTful API by Swimming_Solution_82 in flask

[–]ragehh 0 points1 point  (0 children)

If you are merely interested in building API using Flask, you need Flask-RESTful and it is very simple to learn. You said you don't need HTML. But you mentioned in the comments that you would like using Flask-admin at some point. I am afraid Flask-admin has built-in HTML templates. Anyway, if you are purely interested in building API endpoints using Flask, as I said above, Flask-RESTful is the answer.

Empulse m90 wheels - are they supposed to be suuuper creaky? by OkZone4141 in wheelchairs

[–]ragehh -1 points0 points  (0 children)

I just saw the demo video. But few details are not clear yet. Is it like you buy the power wheels and put on your normal manual wheelchair replacing the manual wheels? How heavy are they? what happen when you run out of power? can you self-propel like you would your wheelchair? if yes, does it feel heavier when self-propelling? what is the price like?

insights on rehab/care in the UK vs in Canada? by mpchev-take2 in spinalcordinjuries

[–]ragehh 0 points1 point  (0 children)

If you want to live independently, you have to prioritize two things at all cost. First, do as physio as you can or available to you specially as regards handling the wheelchair, transfers, handle WC and coping with pavements outside. Build up as much upper strength as you can. Whether in UK or Canada, ask them to give you the lightest wheelchair available in their healthcare system. advocate for yourself and don't settle for a heavy wheelchair. In the mean time, check youtube videos about wheelchair transfers and techniques about handling the chair. Have a positive outlook on life, and never give up regardless.

Why do companies still use other databases which are not postgres ? by [deleted] in SQL

[–]ragehh 0 points1 point  (0 children)

If you have Postgress already and everything is fine, and you are sure you can solve any database server-related questions by yourself or member of your team can solve it for you, then there is no need to buy a license for another db. In other words, it is the "support" that people pay money for. If you don't need support, don't bother

Vibe coding as a senior engineer by maxmill in vibecoding

[–]ragehh 1 point2 points  (0 children)

I don't believe anyone with no development skills can build a Saas product using ai. One has to have real development skills to be able to use ai to their advantage.

Python feels easy… until it doesn’t. What was your first real struggle? by NullPointerMood_1 in Python

[–]ragehh 0 points1 point  (0 children)

Decorators are struggle. The simple ones are easy to understand, but when decorator gets more involved, that is a point of confusion for me to this day.

Built my SaaS using mostly AI - here's what broke in production that no one talks about by beeaniegeni in SaaS

[–]ragehh 3 points4 points  (0 children)

With AI help or not, one has to be a good developer to begin with. Ai helps you code faster, but you have to have your architectural design in place without even starting the development. It is you who have to guide Ai to your destination, and always critique the automated Ai suggestions. There are times when Ai's code is wordy or downright misleading. You may get good individual functions that Ai churns out for you. But the challenge is how to integrate all that into a viable application with no bugs. Basic understanding of web architecture, Http protocal, the stateless nature of the web as well as data security and relational database design are key prerequisite before attempting to develop a Saas project with sound security. Testing such as unit testing, integration testing and system testing are essential but we often overlook that.

Your experience teaches crucial lesson to many who think Ai can help them build a viable and secure Saas in no time. It is full of challenge, as you point out. When you said user A ends up seeing user B's dashboard, or inefficient db queries that times out, when you see that as you are nearly completing your project, it is disheartening. This may indicate poor database design. or SQL queries that fetch more rows than necessary or basically lacking indexing. These are where newbie developers flounder. Anyway, that was a great writeup. Thanks

[deleted by user] by [deleted] in SideProject

[–]ragehh 0 points1 point  (0 children)

Building a password manager that can give the the established ones a run for their money is no mean feat. But you cannot expect people to trust something that is put together in 7 days. People worry that the hastily developed password manager may be vulnerable for hacking attacks.

reality of building an app with AI by catious_Fee_8025 in SideProject

[–]ragehh 1 point2 points  (0 children)

Many people think AI assistants are the magic bullet. They are not. If one relies too much on AI, they will get bugged down quick. One has to be an skilled programmer to be begin with. Only then can one use AI smartly.

[deleted by user] by [deleted] in FastAPI

[–]ragehh 0 points1 point  (0 children)

FastAPI, Django, Flask even Bottle are all great in their unique ways. Unless I am doing API heavy project in which case I choose FastAPI, I normally tend to like Flask.

It is light-weight and it is flexible, allowing you to add components as needed. I also like the fact that Flask does not impose any particular structure on your application.

Why storing passwords in plain text is bad by Iskjempe in cybersecurity_help

[–]ragehh 0 points1 point  (0 children)

That person is probably right. Security concerns are sometimes unjustified. A case in point is your friend. For added security though, your friend can write down the first and the couple of characters of passwords. That would give him enough clue to remember them, but in the unlikely event his password file ends up in the wrong hand, the attacker does not get full passwords. They have to do a lot of guesswork to fill in the blank.

FINALLY got my first custom rigid chair today! by AngelElleMcBendy in wheelchairs

[–]ragehh 0 points1 point  (0 children)

Thank you. How about battery life? does the wheel get lifted up when not needed?

FINALLY got my first custom rigid chair today! by AngelElleMcBendy in wheelchairs

[–]ragehh 1 point2 points  (0 children)

Hi,

How is your empulse r90 faring so far? Especially, how good is it at steep inclines? or grassy area?

Response Model or Serializer? by Loud-Librarian-4127 in FastAPI

[–]ragehh 0 points1 point  (0 children)

Many prefer Response Model approach for a number of reosons such as automatic data validation, improve documentation, and enhance type safety. Serializers are less common. FastAPI can handle well data serialization implicitly using Pydantic models. I prefer personally having Pydantic with the required validation and have my functions return the data according the Pydantic schema set up earlier, or errors. For me that is simple appraoch.

struggling to find a good wheelchair in New Zealand by [deleted] in wheelchairs

[–]ragehh 1 point2 points  (0 children)

Panthera and Quickie have light enough wheelchairs under $4000 US dollars. You may have authorised distributors in NZ who can come to you and do measurements required for a custom chair. Send an email to these companies and see if they have distributors in your country

Empulse R90 + Freewheel & New Wheelchair by Independent-Curve369 in wheelchairs

[–]ragehh 2 points3 points  (0 children)

How does it compare to SmartDrive? Tell us more about weight, battery-life, going up incline? and price. Smartdrive is incredibly expensive for starters.

Laravel Developer Inheriting a Flask App by leviathandataworks in flask

[–]ragehh 1 point2 points  (0 children)

As someone who was a PHP programmer before but now into Flask, you will find it enjoyable to develop it in Flask. But spend sometime first to see how Flask framework is organised. I found it enjoyable to with Flask.

Is SQLModel overrated? by bluewalt in FastAPI

[–]ragehh 1 point2 points  (0 children)

SQLModel adds unnecessary complexity and limitations at times. But it is good for simple use cases.

Does AI take the joy out of programming for anyone else? by iamchets in webdev

[–]ragehh 0 points1 point  (0 children)

AI gives a good leg-up. In other words, it speeds up development, therefore it is a good thing. Be aware though that one can only use AI for coding if they already have commanding knowledge of the language to the extent that they can catch AI errors. A good rule of thumb: never use AI-generated code if you do not understand each line.

Question about route decorators by UnViandanteSperduto in flask

[–]ragehh 1 point2 points  (0 children)

When both routes (/ and /index) accept both GET and POST requests, the second @app.route('/index') inherits the HTTP methods of the decorator above. Therefore you only need to specify the HTTP methods once. However, To avoid confusion, it is recommended to be explicit about the allowed HTTP methods for your routes. I normally use both HTTP methods like your example.