sure, but thats just outsourcing the problem.
hello
sure, but thats just outsourcing the problem.
spotDL (not spotify-dl) is a good CLI option.
or you to youtube…
hmm. i see where youre coming from, but thats a bit of a stretch. you could use that logic for anything. imo its still much better than the alternative
just for simple tasks, where i need something between the simplicity of bash and the type safety of rust. its just my personal preference when it comes to scripting, although i do believe it should be the first consideration for choosing a user friendly but powerful embedded or config language, like for neovim, especially if performance is a concern, but it will ofc not always be the best option. the 1 index is certainly annoying though, but i would personally rather that than anything to do with python, especially whitespace. the if...then
and for...do
is the same as bash, so i dont think its that bad
i would say lua if possible, but python has more libraries
i love how well this joke works
wow, never heard of it. do u use it?
one little inconvenvience for tonnes better security and privacy. r u possibly able to use a credit card in your phone case instead?
there are some niche reasons to root, like just tweaking system things or using rooted-only apps
u can buy a pixel second hand.
:) no problem! i would assume resizing the image might be a little slower, because it creates a clone of the image, but if you use FilterType::NearestNeighbor, the speed is negligable in my opinion
i read through the code, and i have some tips, which you may find helpful (or not):
--color
is not the first argument, it will try to open a file named --color
, which i assume is unintended. i would suggest checking out the clap
crate to easily parse argsimage.resize()
is easier.len()
on a string returns length in bytes, not characters, so could break with non-ascii text. in the context of this program, the text will always be ascii, so it is of course not a problem, but it’s worth to keep in mind. to get character length, use .chars().count()
get_brightness_of_cluster
, pushing to a Vec
and then calling .sum()
can be replaced with a loop which increments a mutable u32
variable. this is a nitpick, but it can avoid unnecessary memory allocationcheck out this example. sorry if this comes off as rude or a nitpick, i’m just trying to provide some advice :)
destroying america!!!
just have a tub of water rigged above the server
why would you be against 4th of July and children?
haskell is an intricately designed laser gun that you cant shoot it without a learning group theory and lambda calculus
A knife is reusable