Title is a little bit misleading, but it’s still cool to see that Rust is able to run on such exotic hardware. The price of the device is mostly going to consist of its materials and manufacturing costs, though (if it went to mass-production, which I doubt will happen).
TehPers
- 0 Posts
- 312 Comments
TehPers@beehaw.orgto
Linux@programming.dev•Pro-Iran group turns Ubuntu DDoS into shakedownEnglish
3·1 day agoTheir pressure is doing nothing to stop the war then. Canonical is not the UK. They might be located in the UK, but attacking them does nothing to the UK government.
Also, none of this has anything to do with the US attacking Iran, so I still don’t understand what that has to do with anything.
TehPers@beehaw.orgto
Linux@programming.dev•Pro-Iran group turns Ubuntu DDoS into shakedownEnglish
51·1 day agoWhat does this have anything to do with Canonical?
TehPers@beehaw.orgto
Linux@programming.dev•Pro-Iran group turns Ubuntu DDoS into shakedownEnglish
22·2 days agoI get not liking Canonical, but how does that justify a random Pro-Iran group DDoSing them? Did Canonical do something that specifically harmed Iranians?
TehPers@beehaw.orgto
Linux@programming.dev•It seems Linux Mint is dropping GNU coreutils in favor of rust-coreutils following Ubuntu.English
6·2 days agoWindows XP is Rustless if you’re looking for that. Same with TempleOS.
TehPers@beehaw.orgto
Linux@programming.dev•Bugs Rust Won't Catch | corrode Rust Consulting - Analysis of Rust Coreutils (uutils) BugsEnglish
1·4 days agoThat’s a question of API, not type system.
It’s only enforced because of Rust’s strict type system. Python, on the other hand, lets you do whatever you want by comparison, and complains only at runtime. I’ve seen far too many
**kwargsfor my liking.And FD types (e.g.
OwnedFd,BorrowedFd) are already in std.My example would be a thin wrapper around these, most likely. It’s only an example of what I’m trying to convey, though.
TehPers@beehaw.orgto
Programming@programming.dev•How Long Should a Function Be? (And Why It’s the Wrong Question to Ask)English
5·4 days agoI’ve heard the younger generation tends to prefer 21 or 67 long functions instead.
TehPers@beehaw.orgto
Linux@programming.dev•Bugs Rust Won't Catch | corrode Rust Consulting - Analysis of Rust Coreutils (uutils) BugsEnglish
3·4 days agoMany of their TOCTOU issues are something a type system can help with. Require operations to execute on a fd handle directly rather than using convenience functions.
let fd = FileDescriptor::new(path); fd.delete()?; fd.create(mode)?; let is_root = fd == FileDescriptor::new("/"); // does (dev, inode) comparison internally // etcThe uutils devs would need to create that themselves, but
OpenOptionsseems to get them part of the way there at least.
TehPers@beehaw.orgto
Linux@programming.dev•Bugs Rust Won't Catch | corrode Rust Consulting - Analysis of Rust Coreutils (uutils) BugsEnglish
2·4 days agoMore than C would.
TehPers@beehaw.orgto
Programming@programming.dev•Let's talk CLI/TUI and Developer Workflows!English
4·5 days ago- Nushell - because
open blah.json | get foo.bar.2just works. It also just works with yaml and any other formats I want to support (you can define custom commands to support any extension you want). - uv/fnm - good tools for Python and JS
- Starship - nice looking prompt with useful info
- zoxide/fzf - because
z myprojectsaves enough time and effort to justify using it overcdmost of the time - Carapace as my default completer for better completions on most common tools
- Gitui - super nice git tool. I still use
gitdirectly a lot, but Gitui’s interface is more convenient for staging changes
- Nushell - because
TehPers@beehaw.orgto
Linux@programming.dev•Apple Reacts to the Framework Pro (video)English
6·5 days agoYou’re right, I should buy from Apple instead.
Patel hasn’t made any statements towards being a Nazi. Fuck Omarchy, and fuck him for supporting the development of it, but that itself doesn’t make him a Nazi. Framework still makes a damn good laptop, and it has forcefully pushed laptop development in a positive direction. Lenovo sort of did too with Thinkpads, but that’s the closest equivalent that comes to mind, and even that’s a stretch. So, unless there’s someone better out there, I’m still recommending Frameworks to people.
TehPers@beehaw.orgto
Linux@programming.dev•After three months on Linux, I don’t miss Windows at allEnglish
25·7 days agoLast time I tried scanning and printing on Windows, it took me over an hour to get the device recognized, the right drivers installed, the printer to actually receive the print job, and so on. Printers are just shitty pieces of hardware, Linux or not.
TehPers@beehaw.orgto
Programming@programming.dev•Are we doing crimes when scrapping data online? For example public available music?English
2·17 days agoThis wouldn’t be “illigal”, but if that’s the case Annas Archive should be “fine”… (I know that they are distributing, and this is the fight)
I don’t know much about European law, but redistribution changes things a lot here in the US. At least here, it then gets into copyright law, and you’d be reproducing copyrighted works without authorization (the Internet Archive attempted to get around this with books by getting legitimate copies of the books, digitizing them, then “lending” the digital copies of those books).
So if I prefer to download the Anna’s dataset instead of scrape myself, would this be illigal?
No idea in Europe. In the US, it might be, depending on what the contents of the work are. I believe Anna’s Archive would count as piracy in this case, though scraping directly from Spotify might not be because they are redistributing the music with authorization from the copyright holder. It gets pretty confusing, honestly.
Regardless, if you aren’t doing things at large scale, even if you are breaking a law by downloading pirated content, it’s unlikely anyone will care. People usually only really start caring if you start redistributing stuff, so as long as you aren’t hosting what you’re scraping, you’re unlikely to run into any trouble.
TehPers@beehaw.orgto
Programming@programming.dev•Are we doing crimes when scrapping data online? For example public available music?English
2·17 days agoThere’s no obvious answer to your question without more information (for example, where are you?) but I’m not aware of scraping being illegal anywhere, with some exceptions. For example, in the US (where I am), as long as you’re not doing “illegal hacking” to scrape your data, you’re probably fine.
There are TOSs that websites like to impose as well. If you have to agree to one to access any data, you should follow it. Breaking the TOS isn’t really “illegal” in a criminal sense (in the US), but you may expose yourself to anything from being blocked from the site to a lawsuit. Bypassing blocks might also be illegal, though you’d have to speak to a lawyer to know more about that.
TehPers@beehaw.orgto
Programming@programming.dev•Are we doing crimes when scrapping data online? For example public available music?English
1·17 days agoIt’s illegal
Sauce? Also, where?
TehPers@beehaw.orgto
Linux@programming.dev•daniel stenberg: The AI slop security reporting is basically extinct [in curl]... [bugs] are found with AI tools and normally high quality bug reports.English
3·18 days agoSeems like that might just be curl. I’d guess it’s because they ended the bug bounty program for curl.
It’s good to see that the reports they get now are high quality bug reports now!
Skills Are the New CLI
4th paragraph:
Skills don’t replace CLIs.
Great start.
Anyway, skills are basically an alternative to tools. I believe Anthropic made a big deal about them. They come with all the same downsides using an LLM at all comes with, which means they’re fallible, nondeterministic, and possibly even an attack vector. But hey, it saves you remembering a few flags for
gitso whatever I guess.
TehPers@beehaw.orgto
Programming@programming.dev•Why I Built JADEx Instead of Switching to KotlinEnglish
2·24 days agoWtf?
TehPers@beehaw.orgto
Programming@programming.dev•Why I Built JADEx Instead of Switching to KotlinEnglish
1·25 days ago(Clojure is (parentheses (diluted with (Java))).)

Canonical is headquartered in London. It is a UK company, unless I’m missing something?