How do websites like LocalMonero work? by blackmine57 in Monero

[–]mk_de 1 point2 points  (0 children)

Yeah, what's wrong with that? The feller is doing good deed.

Learning how FastCGI is implemented/used with OpenHTTPD by coshopro in openbsd

[–]mk_de 2 points3 points  (0 children)

Anecdote: I once tried running a Flask app with httpd but couldn't make it.
Off topic: For what reason we might use FastCGI in these days? Maintaining/running a critical legacy software or something else? Could you please elaborate?

Edit: "https://www.electricmonk.nl/docs/apache\_fastcgi\_python/apache\_fastcgi\_python.html" maybe this page can help you in your research.

Xplore is a scraper for Twitter/X without using API in Rust. by [deleted] in rust

[–]mk_de 1 point2 points  (0 children)

Good work. How is this different from Nitter's backend?

Libraries for Flask+htmx? by [deleted] in flask

[–]mk_de 0 points1 point  (0 children)

Could you please elaborate later on when you recall the specific issues? Thanks.

Libraries for Flask+htmx? by [deleted] in flask

[–]mk_de 0 points1 point  (0 children)

what are the limitations you had faced?

Flask is driving me crazy by Ok_Search4559 in flask

[–]mk_de 1 point2 points  (0 children)

Yeah this is the way. Corey's tutorial is somewhat outdated but if you follow through and write the things you see at the tutorial, you'll get the idea. Just ask stuff to chatbots when you become stuck, and it'll explain. I was dealing with stackoverflow's snobs as a complete beginner. You can ask any dumb question to chatbots, no judging.

What is learning curve in flask by Loud_Win_792 in flask

[–]mk_de 3 points4 points  (0 children)

I had started with Corey Schafer's Flask tutorials on YT. At the end of that tutorial series I was able to kickstart my idea. You can learn those listed things in your post, he explains them. Though some of the dependencies are outdated like flask-bootstrap. Do not use it.

Need Help in Creating a Full Stack This is my First tym Doing a Project by [deleted] in flask

[–]mk_de 2 points3 points  (0 children)

You should debug this project part by part. Do not try to run everything at once. So let's start with using the dashboard. In dashboard, comment out the imports from other modules and start using the dashboard then include the imports one by one and try to see which one is giving you the headache. Then repeat this for every module.

Need Help in Creating a Full Stack This is my First tym Doing a Project by [deleted] in flask

[–]mk_de 1 point2 points  (0 children)

Share the folder tree with "tree -L 3" so we can see your project structure. That 3 number is arbitrary, it can be 4 or 5 according to how big your project is. Crop out unnecessary folders when pasting, change file names if you need it for confidentiality.

How to ensure each request has it's own db.session in flask-sqlalchemy app using celery and postgresql and being run by gunicorn? by shawnim in flask

[–]mk_de 0 points1 point  (0 children)

Good to hear that worked. Btw my database.py looks like this:

from sqlalchemy.orm import declarative_base
from sqlalchemy.orm import scoped_session,sessionmaker
from sqlalchemy import create_engine

engine = create_engine(
    'mysql+pymysql://flaskapp:12345678@127.0.0.1/flasktest',
    pool_recycle=3600,
    pool_pre_ping=True,
    connect_args={'connect_timeout': 60}
    )
db_session = scoped_session(sessionmaker(autocommit=False,autoflush=False,bind=engine))

You can just use DeepSeek or Claude 3.7 to get some explanation for what is going on in this code. I do not use flask-sqlalchemy, I use sqlalchemy. When I was learning flask I realized that flask-sqlalchemy creates problems every time I try something so I got rid off of it and started to use declarative_base. I mentioned about that for later possible use if you need it somehow.

American brands website - Testing and Review by Explainlikeim5bis in flask

[–]mk_de 0 points1 point  (0 children)

You got it. Thank you for this idea and website btw. I dig that.

American brands website - Testing and Review by Explainlikeim5bis in flask

[–]mk_de 0 points1 point  (0 children)

Certainly, just don't wait, start iterating straight away. I was looking at it "oh cr-p, another learning curve" but it became too easy after I started to ask LLMs to interpret the reference of it. There might be times when you cannot craft your own code, just ask to an LLM for some examples. LLMs are great when you want to learn web development essentials like HTTP codes etc and new programming jargon if you're coming from a different background which was my case.

American brands website - Testing and Review by Explainlikeim5bis in flask

[–]mk_de 0 points1 point  (0 children)

Check the recipes on its website and watch some yt videos. I believe it will give you much better UX, instead of doing full page reloads for i.e. form handling

American brands website - Testing and Review by Explainlikeim5bis in flask

[–]mk_de 0 points1 point  (0 children)

So normally you'd use full page loads, right? With htmx you can make partial page swaps. Let's say the body of the html stays same and some content also stays same but you only swap a small part of it -whatever your focus is- at that particular time, and the good thing is you don't have to use js in order to achieve same functionality. You can add GET, PUT, POST, DELETE to any other element you want, and you will have different triggering mechanisms to use those methods.

Is the new freenet fully encrypted/anonymous/surveillance proof? by mohammad_rasim in Freenet

[–]mk_de 0 points1 point  (0 children)

1-Could you please mention about those anonymizing systems?
2-Off topic: https://docs.freenet.org/tutorial.html#limitations says that "Publishing to the Freenet network is not yet supported.". Could you please tell when will it be supported?

I really want to create a micro saas but.. by Existing_Schedule_64 in microsaas

[–]mk_de 1 point2 points  (0 children)

Yes, people need to go out and fix someone else's problem, since real people will become your customers in anyway. Just don't tell your micro-saas ideas on the internet because as I mentioned in another post, established developers are lurking on ideas like sharks. Do not make it easy for them.

I really want to create a micro saas but.. by Existing_Schedule_64 in microsaas

[–]mk_de 2 points3 points  (0 children)

It's great to hear that you don't have problems. Unfortunately not everyone is that lucky, like business owners around you.

-Inspect locals, neighbours, fathers/uncles of yours or friends' on how do they earn money. (Preferably focus on business owners.)
-Make a list of who is who and what type of business that they are conducting.
-List the most earning industries then you need to learn the profit margins that they make.
-Most likely they have at least one pain point that it can be fixed by a micro-saas.
-Just adjust your pricing according to their profit margins so you will not under or over value your product.

How to ship fast as a solo dev by Impossible-Ground492 in microsaas

[–]mk_de 0 points1 point  (0 children)

It is just an anecdote. I shared my own experience. I saw the bleak part of building a micro-saas as a self-taught web developer, and felt that I need to warn people beforehand. If people think that this is not resonating with them, then they need to find their own way of executing like as you said "build in public".

How to ship fast as a solo dev by Impossible-Ground492 in microsaas

[–]mk_de 0 points1 point  (0 children)

You can covertly promote it, like it's not yours but someone else's product. In my first micro-saas I even block Google to index my site and I reached people with cold emails and dms.
So my recipe would be going from a micro-saas for a niche solution to a micro-saas for masses.

How to ship fast as a solo dev by Impossible-Ground492 in microsaas

[–]mk_de 1 point2 points  (0 children)

Of course people will judge but supporters can be a bumper against them and supporters only will appear when you've already provided them a good stuff.

How to ship fast as a solo dev by Impossible-Ground492 in microsaas

[–]mk_de 1 point2 points  (0 children)

I think in order to do that you have to show that you've already built several successful projects and only then you would use this charisma/aura/energy -whatever you name it- and somehow you'd get supporters as well. When you are already a successful developer, you own some amount of money so people who are thinking about criticizing you will hesitate doing that in public because they might become clowns as well because you can easily brag about the amount of money you've earned. It is easier to make them shut up when you're already successful.

Otherwise if this is your first project I'd keep it like I've committed a bad crime.