News for hackers. Stuff that matters.
Re:Contempt Culture by donatj on Sunday May 14, 2023 @11:28AM (#35938696)
I was with them right up until not criticizing Windows. Criticize the hell out of Windows, it’s the “default”of most of the world yet absolutely fundamentally flawed, and held together with duct tape. We’re building skyscrapers on swampland, it’s a literal danger to life and limb.

Don’t criticize the users, that’s needlessly rude. But Windows needs to be criticized.

A single example, its lack of an executable permission, hiding file extensions, and running things based on file extension is at its core the cause of 95% of the worlds problems. They could easily fix so much just by showing extensions.

Re:Contempt Culture by unglaublich on Sunday May 14, 2023 @11:55AM (#35938900)
Author generally doesn't seem to understand the difference between criticizing a language, and criticizing its developers.

Don't criticize people, criticize concepts.

Re:Contempt Culture by justin_oaks on Sunday May 14, 2023 @12:36PM (#35939201)
It's a shame that you've been downvoted instead of replied to.

I agree that we need to criticize concepts, not people. That said, we shouldn't be ignorant of a language's strengths when criticizing it's weaknesses.

Most of all, it's important to analyze the trade-offs inherent in working with a particular language. For example, it's very easy to iterate when working with a language like PHP. I can appreciate that while also not being a fan of implicit type conversions and inconsistent naming patterns in builtin functions.

When discussing trade-offs, it helps to discuss things from a position of knowledge, not ignorance. If you haven't programmed in PHP, you might want to hold back some commentary on it.

Re:Contempt Culture by Chris2048 on Sunday May 14, 2023 @12:35PM (#35939197)
More importantly, it's owned by a toxic corporate interest whose behaviour damages the entire ecosystem, and is generally unchecked.

Don't go after people for using it, it might not be their choice. But do push back on apologists and promoters.

Re:Contempt Culture by anonymouskimmer on Sunday May 14, 2023 @01:06PM (#35939424)
> They could easily fix so much just by showing extensions.

A couple of years ago I troubleshot a problem someone was having on a Mac. IIRC, instead of creating a file with an extension they had somehow managed to create a folder with an extension, with the actual file inside of that folder.

Also IIRC, they tried to click into the folder, but apparently Mac had hid the file extension (of the folder!) which prevented them from entering the folder (since the name without the extension was not the full name of the folder??). This only became apparent when dropping into the shell and doing a list. From there it was easy to change directory into the full name of the directory.

I have no clue what was happening here.

Re:Contempt Culture by tpmoney on Sunday May 14, 2023 @03:19PM (#35940574)
>I have no clue what was happening here.

MacOS has a handful of extensions on folders that make the Finder treat them as files instead of folders. The most common is `.app` which is what almost every modern mac app that doesn't use a package installer is. It's how the "drag to install, drag to uninstall" magic works. The app, all it's bundled libraries and resources are all in this folder. Double click the "folder" and you launch the app because the inner folder structure is a convention that MacOS understands and so knows where the actual executable inside is.

There are a handful of others (notably their office suite ones `.pages` `.numbers` and `.keynote`) which do this too

Re:Contempt Culture by anonymouskimmer on Sunday May 14, 2023 @04:05PM (#35940947)
Thanks, now I know. I've basically never used a Mac and was only able to help because of experience with Windows and Linux. I think the folder in question just had a .txt or similar text document like extension. Maybe it was a script file extension.
Re:Contempt Culture by jeroenhd on Sunday May 14, 2023 @02:07PM (#35939956)
> its lack of an executable permission

NTFS supports executable permissions for users, groups, and all other types of ACL you can manage. It's just enabled by default if you have read access.

That said, in 99% of cases the Mark of the Web will do the same thing the executable bit will do on other platforms. You'll have to store an executable on a fat32 drive for it to be executable without a "your computer is in terrible danger" prompt.