I mean, it would be great if this succeeded... ffmpeg is nice and all but its interface is clearly terrible and there's absolutely no way it is remotely secure. Anyone that uses it on a server basically has to run it in its own VM, or a severely locked down sandbox.
But good luck supporting all the codecs people expect. I'm not even talking the obscure ones ffmpeg supports; just the ones "normal" people use will be a life's work.
Interesting idea, but your trick is never really going to help (you can store up to 255 bytes instead of 254). Also always using 256 bytes for every string seems wasteful.
Obscure 10 years ago maybe. These days there have been so many articles about them I bet they're more widely known than more useful and standard things like prefix trees (aka tries).
Everyone is talking past each other because there are so many different ways of using AI and so many things you can use it for. It works ok for some, it fails miserably for others.
Lots of people only see one half of that and conclude "it's shit" or "it's amazing" based on an incomplete picture.
The devs you respect probably aren't working on crud apps and landing pages and little hacky Python scripts. They're probably writing compilers and game engines or whatever. So of course it isn't as useful for them.
That doesn't mean it doesn't work for people mocking up a website or whatever.
I think this could have been about 1/4 the length. Fairly basic stuff by modern standards and you don't need so many words. It is all correct at least, as far as I could see!
Of course I wouldn't write in raw machine code, or even assembly. We invented higher level languages that are more powerful and easier for humans to use...
But the purpose is still to make machines so stuff!!! I'm not just writing code so that other humans can marvel at my algorithms.
For whatever task you're trying to get them to do. Predict the weather, solve an equation, format a document, etc. Computers can do useful things. We program them so that they do those things.
This is the most ELI5 thing I've ever written. If you actually understand programming and you don't realise that it exists to make computers do things then you're surely just being deliberately obtuse.
This is stupid. The whole point of programming is to make computers do things. Before computers, "code" was just hand wavy equations. Sum from 1 to n stuff.
Yes it is designed so that humans can understand it, but the point is to make computers do stuff. Very obviously.
Yeah... I mean they should have just copied whatever video conferencing platforms do because they all work fine behind corporate proxies and they also don't suffer from this "increasing delay" problem.
I haven't actually looked into what they do but presumably it's something like webrtc with a fallback to HLS with closed loop feedback about the delay.
Though in fairness it doesn't sound like "watching an AI agent" is the most critical thing and mjpeg is surprisingly decent.
That is not actually a "data race". It is a race condition for sure, but a data race is a very specific thing - where two threads access the same location at the same time and at least one is a write.
That could be unsafe in Rust because it might lead to reading "impossible values" like an enum that isn't equal to any of its variants. Therefore safe Rust must prevent it or there's a soundness hole.
But also you didn't really specify how serious this site is. Is it meant to be a proper business or just someone's personal site? For the latter Squarespace would be fine. E.g.
As for maintainability, it depends on whether the customer wants to pay you again every time they need to modify things. Many wouldn't want to.
Building from scratch, I'd use Fresh. It has two things I've always wanted but not seen elsewhere:
You can use TSX for components. Clearly the right way to build a webpage.
You can do everything server-side. Most sites barely need anything client-side and it's just easier and better to do things server-side where you can.
Impossible to say how much you could charge for that without way more details. Tbh there are a ton of off-the-shelf solutions like Wordpress that can do that already so probably not very much at all.
Sounds like observability, proper load testing, etc. beat a system without that. Saying that spaghetti code beat clean code makes it sound like it won because it was spaghetti code.
I haven't watched the video, nor am I going to with a clickbaity and apparently misleading title like that.
Not everything. PyYAML, Pydantic and Typer are things I commonly want in scripts that aren't in the standard library.
Simply do pip install anything. But best practice is to use a python virtual environment and install packages into that one.
It's more than "best practice". It's mandatory on many recent Linux distros. And yeah setting up a venv and installing dependencies is not something you want to have to do for each script you run.
Its one of the slowest to write code in.
It depends what your goal is. If you want robust code that works reliably then I would say Rust has the edge still. Yes it will take longer to write but you'll spend way less time debugging it and writing tests.
I mean, it would be great if this succeeded... ffmpeg is nice and all but its interface is clearly terrible and there's absolutely no way it is remotely secure. Anyone that uses it on a server basically has to run it in its own VM, or a severely locked down sandbox.
But good luck supporting all the codecs people expect. I'm not even talking the obscure ones ffmpeg supports; just the ones "normal" people use will be a life's work.
Also you have to change the name!