Perl programs are, by definition, text. So “paint splatters are valid Perl” implies that there’s a mapping from paint splatters to text.
Do you have a suggested mapping of paint splatters to text that would be more “accurate” than OCR? And do you really think it would result in fewer valid Perl programs?
I agree that a symbolic representation of the splatters would probably be more interesting. The whole point is that random character sequences are often valid Perl, though, so changing the generation method wouldn’t change that aspect.
I tried NeoVim pretty early on, I think, around 2014. My primary editor at the time was gVim (I prefer a proper graphical front-end to running in a terminal).
I used nvim on and off, primarily with nvim-qt as the front-end, though briefly with a custom setup that launched a new terminal emulator window and ran nvim there.
Once nvim incorporated nvim-qt into the base install, I started using it more regularly; eventually I switched entirely to Neovide and haven’t even installed gVim on my last few work computers.
I now primarily use VSCode with nvim integration. Unfortunately, I do have a weird issue where “undo” combines more operations than I’d expect, or, in some rare cases, it seems to corrupt the buffer and produce states that didn’t previously exist (!!). I don’t know if that’s an issue with the plugin, though.
I don’t really understand the connection between the blog post and your comment. Could you expand on the connection between his stance against CLAs and your paraphrase about mega-corps and how we should “suck it up because of principles”?
I guess I read his point more as being that it’s effectively impossible for a license or CLA to distinguish “good” freeloaders from “bad” freeloaders, so it was inevitable that businesses would start doing license “rug-pulls” like the examples he gives.
I’m not sure I understand what issue Linus et al. are trying to solve. If the full hash is used whenever a commit reference is saved somewhere, then why does it matter how core.abbrev is configured? In particular, why use a static value, when git’s default behavior is to compute a value based on the current number of objects in the repository? (Edit: just noticed this post is over 10 years old. Maybe git didn’t have this automatic default behavior back then.)
For what it’s worth, jj has an even better solution, which is to highlight the shortest unique prefix in each specific hash it displays.
Finally, when you reference a Git hash for posterity, e.g. in another commit message, I’d recommend always using the full value.
The git config is just for display purposes in terminal output. That only needs to be unique as of the time it’s displayed; and as I noted, the current default behavior is to adjust the size dynamically, so the displayed hash segment is always unique no matter how big the repo is.
Not quite what you’re asking for, but I wish Erlang had gotten popular before Java took off. I think that could have massively changed the course of “mainstream” languages. Maybe the JVM itself would have been BEAM-inspired. Heck, in an ideal world, the Netscape corporation and Brendan Eich would have created something based on Erlang/BEAM to ship with Navigator, instead of inventing JavaScript.
But in the browser. My complaint with JavaScript is that it was effectively the only choice for in-browser logic up until WebAssembly was stabilized, and even now it requires JS glue code.
We can create rules and a human can understand if they are breaking them or not…
So I take it you are not a lawyer, nor any sort of compliance specialist?
They aren’t thinking about it and deciding it’s the right thing to do.
That’s almost certainly true; and I’m not trying to insinuate that AI is anywhere near true human-level intelligence yet. But it’s certainly got some surprisingly similar behaviors.
And in fact it’s not specific to Rust, and Rust is the first language with a fix available. (Thanks to some other comments for pointing this out.) Java has apparently declared it “won’t fix.”
How so? This exploit requires running a shell command in a way that permits an attacker to control the arguments provided. That doesn’t seem like it would be particularly common in build scripts.
I’m not familiar with pyo3_async, but I don’t think you can force Python asyncio to use the Tokio event loop. This is discussed in the documentation of a different PyO3 async crate, pyo3-asyblncio: docs.rs/pyo3-asyncio/latest/pyo3_asyncio/#why-two…
The thing about Rust’s type inference that seems wild to anyone who hasn’t seen Hindley-Milner/ML style type systems before is that it’s “bidirectional” (in quotes because that’s not a proper type theory term as far as I know). The type of the left-side of an assignment can determine the type (and behavior!) of the right side. For instance, this is ambiguous:
The expression creates an iterator over the (letter, number) pairs, and collect() stores the elements in a newly created container. But which container type? Here are two valid variants:
I was talking to my manager the other day, discussing the languages we are using at $dayjob. He kind of offhandedly said that he thinks TypeScript is a temporary fad and soon everything will go back to using JavaScript. He doesn’t like that it’s made by Microsoft either....
They also changed the wording from “closed” to “on hold” years ago, and I don’t think I’ve ever seen the people complaining about the site take any notice.
That’s fair, but if you edit the question to explain how it’s different (without which, how could anyone even answer your question?), it can be (and often is) reopened.
c/unixsocks for more (lemmy.ml)
93% of Paint Splatters are Valid Perl Programs (www.mcmillen.dev)
What was it that convinced you to start using NeoVim? | How long was your "evaluation period"? | What convinced you that NeoVim was the best for you?
Corporate Open Source is Dead (www.jeffgeerling.com)
How short can Git abbreviate? (blog.cuviper.com)
deleted_by_author
"prompt engineering" (lemmy.world)
Critical Rust flaw enables Windows command injection attacks (www.bleepingcomputer.com)
Security advisory for the standard library (CVE-2024-24576) (blog.rust-lang.org)
pyo3 async runtime
Hello,...
Type inference was a mistake (borretti.me)
Is TypeScript a fad or is my manager delusional?
I was talking to my manager the other day, discussing the languages we are using at $dayjob. He kind of offhandedly said that he thinks TypeScript is a temporary fad and soon everything will go back to using JavaScript. He doesn’t like that it’s made by Microsoft either....
I just ask my problem bro...chill.... (lemmy.world)
Auto-reviewing AI bots are fun! (programming.dev)
On Tech Debt: My Rust Library is now a CDO (lucumr.pocoo.org)