RE: @kenshirriff@oldbytes.space
History is a good way to accept that you are not living in “unique/special” times. Technical revolution was pushing people out of comfort zone for centuries and now Agentic Driven Development is forcing us
Bishonen
RE: @kenshirriff@oldbytes.space
History is a good way to accept that you are not living in “unique/special” times. Technical revolution was pushing people out of comfort zone for centuries and now Agentic Driven Development is forcing us
Bishonen
Unfortunately helix stagnation is not letting me enjoy it as I used to, so I am looking for alternatives. It is nice to see that TTT is making a big progress! https://github.com/eugenioenko/ttt?ref=terminaltrove
Bishonen
New #rust DIY dylint :neocat_laugh_nervous: that protects your codebase from manual Redact secrets impls: https://gitlab.com/oss47/rusty/diy_lints/-/tree/main/manual_redact_impl
Bishonen
Would be nice to find a native #linux hardware vendors like TuxedoPC, but who have more options with Radeon GPUs and liquid coolings for them.
Bishonen
ну что же, не мы первые программисты, которых настигает «промышленная революция. Надо адаптироваться.
Bishonen
Hellou, no, the Claude is not working here, I think you called the wrong number 😂
Bishonen
Пассажиры Lufthansa должны - приехать заранее в аэропорт, пройти досмотр, согласовать павербанк для провоза в салоне, ждать нескончаемой посадки.
Самолёты Lufthansa - мы просто будем опаздывать всегда и везде, а стыковочные рейсы не будут ждать ни минуты.
Bishonen
Bishonen
RE: @EUCommission@ec.social-network.europa.eu
Yep, we are fucked. And still some companies think that office work is a good thing 😂
Bishonen
Bishonen
Those who say that Rust compile times are slow didn’t compile GCC 😂
Bishonen
Bishonen
Bishonen
Trying to automate Tauri app testing on arch linux.
Currently faced an issue of webkitgtk not providing webkitdriver. Anyone knows which package already exists that includes the driver? I am searching over the web, but all I found is a suggestion to build it by myself, which can be okay, yet I think I just had no luck in finding existing package.
Bishonen
Bishonen
@EndlessMason@hachyderm.io I want to say a big thank you, as you not only asked a great question, but your reply also led me to understand that I copied wrong example to the initial post (and thanks god no one noticed 🤣).
About your question specifically, I think the words "unexpected" behavior are toooo close to "undefined" behavior, and by using them I am putting readers to a confusion.
In my thoughts "unexpected" were used to represent how such casts can affect the typesystem of our programs and produce unexpected (from programmers point of view) behavior once we make changes in the code or just make wrong assumptions from the start.
Most of such situations will be caught by compiler, yet the resolution of errors it will show still require additional effort.
https://bshn.rs/blog/not-so-trivial-casts/
I made a small post with examples of how casts, explicit type definitions and implicit coercion compare to each other. And I also plan to create additional post (here and maybe also on my blog), to show how Trivial_Numeric_Casts can lead to bugs (I will not call it unexpected behavior anymore) next week.
Bishonen
RE: @ironicbadger@techhub.social
A little bit of downsides on having home lab 🤣
Bishonen
First one is kinda small and simple Trivial_Casts 🔢➡️🔟
The trivial_casts lint in Rust is designed to catch what the Rust compiler considers to be "obviously unnecessary" type casts. These casts are often a result of typos or misunderstandings of how types work in Rust, and they can lead to unexpected behavior if not caught early on.
When you cast one type to another, the compiler will automatically perform certain "trivial" casts that are considered safe and obvious. However, it might also flag cases where the cast is unnecessary because Rust can infer the correct type without any issues. These flagged cases are what the trivial_casts lint is designed to catch.
Example:
let square = Square([2; 8]);
let square = &square as □
Bishonen
Let me introduce new weekly thread that I want to have here - Lint of the week ( #lotw ). Every week I will post a new Rust lint that in my opinion should be used by most of the rust projects. Let's start!
Bishonen
@Natasha_Jay it is unbelievable how some people can come up with such business ideas!
🤣
Bishonen
Thanks @ratatui_rs@fosstodon.org and @orhun@fosstodon.org for the top-100 ratatui tools.
Today I put many of them in my box and want to show you one example of nushell (which I will continue to use) and xan (which I will use over nushell from now on):
even simple view of csv is better, I can't yet tell how much more cool features inside!
Real pleasure that most of the tools available in arch extra repo.
Bishonen
Bishonen
Bishonen
Bishonen