Is the litmus test for programmers. When they start referring to “AI” as a clearly defined concept, you know they’re artlessly making shit up for a quick buck.
I’ve never had this issue on Windows, but I have on mobile many times. The more a platform tries to hide the FS from me, the more I struggle to navigate it (surprise!). Mobile devices have been moving to be more transparent that a FS exists at least in recent times.
Casual plug for Search Everything, not FOSS but still free. It’s an alternate indexer/search for Windows, but way faster.
It’s fun with screenshots, you save it and realize, you didn’t check what path it saved to because you (read: me) always puts downloads in the Downloads folder by default. It’s the last place you saved an image, shouldn’t be too hard? Just gotta find an IMG_something either in user photos or documents usually. And then fail to do so, and do a walk of shame back and try save again just to see where it actually ended up…
I do love Everything though, it’s amazing and I constantly use it for looking for things. I know names at least partially, and that does it 99% of the time. Sorting by Path also makes it very easy to navigate when you get a lot of hits. Just a pro-tip to those yet to learn of that power.
Not really true. Python was created for, and is still best used for data science. It’s user-friendliness made it a first for many inexperienced programmers too, and it started to be used for way more than it was initially intended. I’m not saying it’s bad at everything else, but there’s most certainly better tools for the job.
I won’t argue with what it was created for, but I disagree that it’s best usecase isn’t as a bash replacement. That’s the only spot I’ve used and liked it.
If we’re talking about 5 like script, then sure. Just use bash. But python is much better long term, in my experience, for scripts any bigger than that.
There are many cases where bash/shell is better than Python. For one, any time you’re just stringing together 2-4 existing shell tools, bash has unbeatable speed since it’s all running in C. Plus, you should probably learn the tools anyways to handle CLI stuff on a day-to-day level, so the knowledge is reusable and becomes very intuitive to compose into some crazy one-liner piped chains of commands. If I just want to loop over a set of directories and do a couple chained CLI commands on each directory, this is the way I go.
That said, in cases where you’re doing something very custom, any time you’re doing something that can’t be simply described as a chain of CLI tool transformations, and any time you want to maintain a global state across a complex set of operations outside of a pipeline, I agree that Python is generally a more robust solution with much easier maintainability.
Logic, in math, if you have a real and you round it, it’s always a real not an integer. If we follow your mind with abs(-1) of an integer it should return a unsigned and that makes no sense.
in math, if you have a real and you round it, it’s always a real not an integer.
No, that’s made up. Outside of very specific niche contexts the concept of a number having a single well-defined type isn’t relevant in math like it is in programming. The number 1 is almost always considered both an integer and a real number.
If we follow your mind with abs(-1) of an integer it should return a unsigned and that makes no sense.
How does that not make sense? abs is always a nonnegative integer value, why couldn’t it be an unsigned int?
I don’t know why. Maybe the typings for it are just fucking bad. Or maybe d3 is very hard to use “correctly”, but still works most of the time even if invoked incorrectly (I doubt that). Or maybe d3 is so complex that the typings need to be complex, too, even if you don’t use the complexity (the type retured from selectAll has four type parameters, half of which are undefined by default, the other half, null).
programmer_humor
Top
This magazine is from a federated server and may be incomplete. Browse more on the original instance.