I compress pixels (https://ImageOptim.com https://pngquant.org https://gif.ski).
Web Standards & #RustLang
Posts
@weiznich Unfortunately the Path API has a no-alloc conversion from &str, so there's no room for a new field. Adding fd there would require stuffing it into the path, which seems hacky and could backfire.
The Path isn't good anyway. Can't even store \0 for C APIs nor UCS-2 for Windows. Useless for browser FileSystem APIs (WASM).
@Ambraven@social.mochi.academy if … { f } else { &A::new() } used to be impossible, but recent Rust versions actually allow that.
It automagically makes a variable in the outer scope of the if. It's supported only in certain syntactically-simple cases.
#Code reviews seem to be the biggest bottleneck in software development right now.
Open source package ecosystems are victims of their own success. There's a long tail of iffy packages that nobody has reviewed, and nobody wants to.
For the top projects, maintenance is tough. Stakes are high. Reviews are hard. Contributions are meh quality (even before LLMs). It's not just code, but a people problem too. GitHub's primitive workflow wastes everyone's time.
Something's gonna break.
Visual Basic's On Error Resume Next can be galaxy-brained to On Error LLM("rewrite the program to stop doing that")
In today's Coding Black Mirror episode: what if AI code generators get sped up to emit tens of thousands of tokens per second?
For now we're pretending LLMs are just sloppy devs and try to review the output, which is already exhausting.
When it gets to the point of being able to rewrite the whole project on every keystroke, source code won't be the source any more, but a discardable compiler output. Switching languages will be like applying Photoshop filters?
@deshipu@fosstodon.org That's the core of the problem: the existing law doesn't clearly codify the difference between GenAI (ab)uses and benign uses of ML.
Setting a precedent that models are infringing derived work could be abused, e.g. spammers could make a case that antispam filters are illegal, because model weights were derived from their precious copyrighted spam emails. These obviously aren't the same thing, but the laws we have predate GenAI and weren't written to make it legally clearly different.
GenAI broke copyright law, and I don't mean just infringing the rights, but disrupting the core foundations that copyright laws were built on.
Copyright enforcement assumes ability to identify whose work has been copied, but models can untraceably mashup everyone's works.
This completely messes up what a derived work is, identifying whose work has been infringed, what is fair use and remixing. Forcing old definitions to fit this either makes copyright meaningless or a maximalist dystopia.