Depends on the distro how that alias is defined (if it is defined)…
It says “global” in the meme, so presumably all of them…
Fish is not the worst in this regard, because:
But there may still be situations where it’s annoying, like if you’re working in a container, then you likely don’t want to mount your fish
executable every time.
But I also have to say I don’t find it too big of a deal.
I still use Bash for scripting (just throw a or
at the top of your script, like you should anyways), and then for interactive use, not that much of the shell syntax comes into play anyways.
And if I ever do need to copy a complex Bash command into an interactive shell, I can just run bash
, then run the command in there and then exit
back out.
In the sense that “on the spectrum” is often used to say that someone has autistic traits, yeah. But there would still be a spectrum and everyone would be on it, it would just reach from no autistic traits to maximum autism.
Polandball would be another web comic like that. Although the characters are just circles with flags in them, so no idea how useful that is.
You technically didn’t ask for them, but presumably this goes hand-in-hand with reduce and reuse as first steps, which would have perhaps a more visible impact.
Reduce means to cut back on the amount of products we produce in the first place, particularly also the trash being used for packaging.
This would require:
Reuse means to sell products in glass jars, metal boxes or similar, which can be washed out and filled anew.
This would require:
As for recycling, i.e. breaking the thing down and creating a new thing, it’s unlikely that we would ever reach 100% with it alone, at the very least because it’s more effort than reduce and reuse.
But to improve our rates, there is a whole load of products currently being sold in plastic, which could be sold in paper or wood, if glass jars or metal boxes don’t work there.
In a hypothetical world, where we could have 100% effective recycling without giving a toss about reduce and reuse, then I guess, we’d have a garbage disposal system which funnels right back into a massive 3D printer.
Eh, as much as there’s obviously folks who use certain distros for the fun of it, the vast majority of distros get created to cover a specific use-case. If you have that use-case, then deploying the respective distro brings you so much closer to your target setup than the easy installation of a noob distro could save you time.
I also have to say, many stereotypical noob distros make extremely conservative choices, which makes them harder or scarier to use in various ways, like for example not having filesystem rollback. I cannot imagine going back to that, specifically because I have shit to do.
It’s not like the cat got hurt. It’s just a silly color for a few weeks.
I imagine, they wash the spices out with water afterwards. I doubt the discolored hair taste of anything.
Ah, fair enough. Not sure how to do that then.
I was gonna say, I feel like the current method does a good enough job documenting that validation has happened, but I guess you do want it reflected in the structure of the type, so that the code that takes the information from the struct can safely make the assumption that some of the options don’t exist. And then, yeah, it would be nice to not need a separate parsing step for that.
Clap has dependent options and mutually-exclusive argument groups built-in: https://docs.rs/clap/latest/clap/_derive/_tutorial/index.html#argument-relations
For the environment-specific requirements, you can use compiler feature flags…
Yeah, a few years ago, a friend handed me their iPhone to see, if I could find an option they were looking for. And I was genuinely appalled at how slow everything felt, solely due to the animations. Like, iOS has objectively better UI performance, but then they chose beautiful over usable with the animations and that makes it feel worse in many ways.
Probably the very same thing that the post talks about, which is extracting the first word of a line of text.
The output of md5sum
looks like this:
> md5sum test.txt
a3cca2b2aa1e3b5b3b5aad99a8529074 test.txt
So, it lists the checksum and then the file name, but you wanted just the checksum.
It’s a Linux command-line program (awk
). It’s pre-installed practically everywhere, it’s very powerful for string processing, but it also uses a fairly complex syntax.
As a result, not many people know how to really make use of it, but awk '{print $1}'
is something you encounter fairly quickly when you need to get the first word in each line.
In that vein, I guess, “The Sound of Silence” by Simon and Garfunkel also deserves a mention, even if it’s up for interpretation how depressing the lyrics by themselves are.
But the first line in the song is “Hello darkness, my old friend / I’ve come to talk with you again.” and there is a cover version by the metal band Disturbed, which has no shame to really lean into that sort of vibe.
And yeah, after having heard the Disturbed version, listening to the original certainly feels like there is a massive disconnect between how sad the song perhaps should be and how upbeat the original is.
At this stage, it helps when more devs are motivated to switch over and build/improve stuff to cover the things they want to do with a phone. And there’s relatively many devs among those who use F-Droid.
I’m not technically affected by Google doing l this just yet, because I don’t use the Play Services, but with that move coming after they encroached on Custom ROMs twice, I can tell that I need an exit plan. And there’s nothing quite for motivation than slowly being backed into a corner.
I use bar soap for all of these things. 😅
My guess is that he was using cargo build
rather than cargo build --release
. Relatively common for folks to complain about due to that, because beginner tutorials tend to skip that info (which is fair IMHO).
I’ve been trying to basically build a library that helps you put together a distribution archive.
And my initial plan for the API looked something like this:
Distribution::new("my-program") .dir("assets") .file("favicon.png", |path| build_favicon(path)); // "|path| ..." is a lambda function that gets the target path passed in
So, it would allow you to define the file structure, and for the parts that actually need to be built, you’d provide a lambda function, which it would automatically run or not, depending on whether the inputs changed.
Right, inputs, what are those? I kind of need my user to tell me. So, I decided to implement the caching as a separate API, which you would call on your own when you get called by the lambda function.
Then I realized, I kind of don’t need the lambda function then. I could just construct file paths and then my user calls their
build_favicon(...)
function or similar on their own.There is just one crucial problem with that. This is what the path API in the stdlib looks like:
PathBuf::new("my-program") .join("assets") .join("favicon.png");
I might not have built anything, really. 🫠