Shouldn’t that be:
DELETE FROM real_influencers WHERE name = 'Simon Riggs';
Yes, right. We could completely erase one third of exploitable vulnerabilities (by your numbers) only by switching to modern languages.
There is no good argument against that. Why wait for C or C++ to try and implement get another weird “solution” for those problems? (That no one uses then anyway)
First off, cause you are programming under windows, a lot of things will be harder for you. As seen on your problems with Python.
Most Linux installs have it right from the get-go and everything else is as simple. So giving directions for developers on other platforms might be much easier than what you had to go through. (Maybe use WSL?)
Let’s get to your real question:
How does one organize dependencies in a way easy for new contributors?
Since you will use Python, I will use that as example.
Most languages have a way to automagically import dependencies. Python has the requirements.txt file. Installing dependencies is then really easy. It is also a widely known way to do that, has lots of explanation online etc. so seasoned pythoneers will know what to do and younglings will get to know a good standard right away.
Bonus tip: If you don’t have a GUI library yet, maybe also search for game engines. They provide all the necessary tools as well, oftentimes have good GUI add-ins and are (mostly) for all mayor platforms.
When covid started, the country I live in set some temporary rules to relive some financial stress from the people. A lot of companies in our sector had to quickly abide by those rules (maybe 3 month time to prepare the new processes etc.)
Our company already had a lot of customers who would need a solution to maybe automate that.
And our project manager (and a potential customer with him) decided to not only use a native solution we could program directly into the system, but throw rpa on top.
This not only made the solution harder to program, it also made it slower (it could only run at night instead of each case instantly), more error prone, more programmers were needed (I could program a simple solution alone, with rpa we needed 3 people plus an extra tester) and also the solution was more expensive, because of paid licenses for the rpa software.
Suffice to say, we did not sell a single copy not even to the customer who wanted it. But we “shipped” it in a sense.
Who also guesses buffer overflow or use-after-free?
And rust also has the “🤦”.chars().count() which returns 1.
I would rather argue that rust should not have a simple len function for strings, but since str is only a byte slice it works that way.
Also also the len function clearly states:
This length is in bytes, not chars or graphemes. In other words, it might not be what a human considers the length of the string.
For desktop UI: Rust
Okay, what crate do you use for UI, that it is your goto?
Since they mainly developed a CI-system before, I guess that this would be less experimental then the forgejo/gitea one.
Native GUI library for Rust
Oh, you have my attention.
stringly-typed
Ummm…
simple click counter example doesn’t work on my phone
Aw shit.
Go is a great language. I used it a few times when dealing with bugs in open source programs. And though I never used it besides that, I could spot and fix these easy issues fast.
Rust is not like that. The syntax is a little harder to read and a lot of widely used libraries use complex macros to ease their users lives.
But:
I cannot count the times rust has saved my ass.
Examples:
Sqlx checks my sql files against a local test-db and always errors, when my scripts miss parameters after changing the sql file.
I have to use a complicated mess of an API at work to get the data I need and I now use a 50-60 element enum that tells me exactly, what I got back from the API-calls.
Sorry, but if your site doesn’t work on Firefox or through a VPN then it is not worth it for me.
Best thing would be, to make your text just a normal webpage and not a file to be downloaded in the first place.
For me it just says “download failed 😞” so…
Sci-Hub anyone?
Alexandra Elbakyan manages this truly awesome source of scientific papers completely on her own. She got sued twice and lost, had to change the URL multiple times due to takedowns and only gets along by donations.
All good points. I will address them in a later version.
The Cargo.lock thing is weird though, but apparently the builtin .gitignore of codeberg/forgejo has Cargo.lock in it.