12466
Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)
I mean like apple company laptop have good screen
Читать полностью…
At least you've got the right operating system for the hardware.
Читать полностью…
Glad to know there's no racism here, although it's strange to hear that racism is fun to you.
Читать полностью…
now i am just running uv run main.py
as i am thinking later i will switch to gunicorn!
I was learning web development and noticed that when opening a localhost URL, it always requests a favicon.ico file. I found in the Flask documentation that I need to either create an endpoint to serve the ico file or place it in the static folder and reference it in the head meta tag. I implemented one of these solutions. However, the last line of the documentation states:
"The above will serve the icon via your application and if possible it’s better to configure your dedicated web server to serve it; refer to the web server’s documentation."
aria2-next vibe coded their range header validation, and refuses to download when found unmatched content-range and content-length
Читать полностью…
well, I recommend use pnpm to manage dependencies, but I can't help you on integrating python with js, never did that yet, to learn more of pnpm go to its site:
https://pnpm.io/
start a new project with pnpm, because diference between pnpm and npm can cause problems...
some videos to start with pnpm:
PNPM basics:
https://www.youtube.com/watch?v=mZxAv0bpMWI
PNPM config for beginers:
https://www.youtube.com/watch?v=hH4e8PJaFeg
and i recomend to use nvm or fnm to manage your node versions (if not use bun or deno):
https://www.fnmnode.com/
I prefered FNM...
or
https://www.nvmnode.com/
that's it, it's all that i can do for you...
npm, pnpm and yarn are like pip in python...
bun, deno are like node but with ts integrated and some more features...
don't use npm instead use pnpm...
and maybe you wanna use biome in place of eslint...
but those are unwanted files when i just want warning over not using funciton, wrong naming and so on in js , but pylance offer this so easily no new file needs in my repo, but for js they say me to run this,npm init @eslint/config@latest
and as a result i got many many files 😨, as i dont know those files do actually what or maybe make my code slower in real hosting, so i fear to use those files, and also i want to use js type sugession and so on 😅
its so problamatic, actually i still not undersand the npm and the lot of files coming in my repo so scary to see and undersatnd those files in the /node_modules, is this like the python libraries but just need for eslint?
Yes but windows laptops are made by many companies, some of them have high quality screens
Читать полностью…
Screens are not specific to an OS but a laptop builder
Читать полностью…
How long would you cost to compile the Chromium?
Oh.. you don't have enough disk space
Do apple laptop really have very good screen? I don't like seeing windows screen .heard from my friend
Читать полностью…
This chat used to be fun chat (racism) but now it's just an on topic chat
Читать полностью…
i haven't done any real hosting till now.
i am learning how to do host in real vps a python app with backed and database logics.
maybe that's will be Caddy part right?
It's faster to have a webserver serve a static file than to have Flask do it. The shared IP setup shouldn't matter -- presumably you're fronting your Flask app with Apache or nginx?
Читать полностью…
https://github.com/AnInsomniacy/aria2-next/issues/52
Читать полностью…
When installing packages like Bootstrap 5 and HTMX, do I need to use npm, pnpm, or yarn? Currently, I download the raw .js and .css files directly. Is it okay to install these in my repository using pnpm, or should I continue with my current approach? If I switch to pnpm, what basic concepts do I need to learn to manage dependencies effectively?
Читать полностью…
i even don't know about npm and what those files are doig and again, pnmp, bun yarn all i will got cracked one day
Читать полностью…