“\ “ and [tab] and * are your friends. I’ve been using spaces in Unix filesystems since the early 90s with no issues. Also, using terminal fonts that•put•a•faint•dot•in•each•space•character helps.
This is fine for the most basic of use cases but once you start looping through file names or what have you, you have to start writing robust correct bash and nobody does that
Yeah but at least with periods in the title tab complete will just complete the file name all the way while with a filename with spaces I have to escape the damn space with “\ ” like you said. Why do more work when I don’t have to?
I work on a Web app and we recently decided that we’re just not gonna support double quotes in free text fields because oh holy balls what a thing it is to try to deal with those in a way that doesn’t open you up to multiple encoding vulnerabilities.
The issue is the filter that we’re using to avoid multiple encoding attacks de-escapes everything via multiple rounds, then tries to pass it to the next layer of filtering with the de-escaped request body as a json string. Your absolutely right that this is a silly way of doing it, but sometimes we have to live with decisions that were made before we were onboarded to a project. In this particular case, I pushed to improve the filters but all our PO heard was “spend development time weakening security” and at the end of the day they decide what to do and we do it.
This method is a band-aid patch when your downstream code is all messed up and you can’t fix it. Instead of treating the input string correctly, it just removes anything that might possibly trigger some vulnerability in wrong code.
It’s a way bigger pain in the ass than people think it is. I remember having to parse output from a tool for work that had tons of output in tabular format, mixed with normal sentence like strings. JSON, YAML, or XML outputs weren’t available so I had to do a nasty mess of grep, awk, cut, and head/tail, to get what I wanted. My first attempt was literally counting the characters so I could cut out exactly what I needed, but as we all know, hardcoding values is a recipe for headaches later on.
Here’s a horror story from literally yesterday. We have been fighting a system for a client for weeks and it has been a nightmare. Our clients just told us that they outsourced some of their work to an Indian outfit but that outfit is unfamiliar with Linux and doesn’t know how to edit text files so they have been downloading the files to their Windows machines, editing them in Windows, then uploading the contaminated text files back into Linux. None of them, not our client nor the outfit they hired, understood why this was a problem. We have no idea what files are affected and we won’t know until they fail because they obviously did not keep track of what they touched.
I will never forgive excel for automatically converting all of my dates to some weird ass format, or stripping single quotes randomly, or something other BS that they do for no reason
My absolute favourite is stripping leading zeroes from any text that looks like a number, then displaying it in scientific notation. But we get Copilot, so it balances out, right?
Does windows add an extra character at the end that gets converted to new line on linux? Because the other day I were copying a script and after pasting it an extra line was added after every single line, even the empty lines.
I mean… what would it even mean to have equity in a non-profit?
Non-profits are organized fundamentally differently than for profit corporations.
If anything they should have had equity in the for-profit side of the company to ensure that their incentives were aligned, if that is even your point.
I think it brings up a very interesting test case for how this particular kind of ownership structure can fail. In another thread, it strikes the difference between authority and power, which I think was very clearly made here.
That all being said, it seems like things have taken a turn for the worse, and if anything, this board has set the mission of a truly open AI world even further back. There seem to be some real Luddites on the board who seem to think they’ll some how be able to cram Pandora back in the box after it has well escaped control. If anything, the should swing the gate wide and at least open source the everything else so as to prevent Microsoft from having a complete monopoly on the future of AI (how things seem to be shaping up).
The kind of ownership is pretty normal across a wide range of industries, a lot of hospitals in the US operate with a similar structure, NGOs and “foundations,” co-ops, independent regulators, etc. Whatever’s happening in this case is remarkable but probably not because of how the board operates in this role specifically. We have to know why they fired him to know what’s going on but that’s unlikely. It could have been completely mundane but that doesn’t matter now.
Yeah that’s what I thought. I’ve formed/ been a part of several non-profits that have looked at developing for-profit components to fund the non-profit mission.
It’s like a page worth of instructions you can follow verbatim excluding bootloader and network. If you watch one video of someone doing it to fill those gaps there is nothing to it.
Source: I watched Kai Hendry speed install arch, bookmarked the video and all my machines are now arch “from scratch” in 10 minutes or less of actual keyboard time.
I don’t remember the channel anymore, but there’s one guy constantly updating various setups. Like Arch with encryption, Arch with BTRFS, etc. I started with one of those videos and wrote my own step by step guide. Now I’m just following my own guide whenever I install Arch.
I think calling it “a page worth” is understating it somewhat, especially if you want a full install to actually use stuff. In reality, when installing at first, you’ll be finding stuff you missed for a while, like hardware video decoding.
Also, are you referring to just the direct instructions for one choice? Because to me, the point of installing manually is educating yourself on the choices, choosing one that suits you, and understanding what you’re doing to set it up. Of course, when you’re doing subsequent installs, you already know that stuff - but at that point you might just want to write an install script instead of running them manually.
Ugh, in the news here a few years ago, they showed a video of a lady jumping out of her car so she wouldn’t be in it when it slid into another car. The news anchor advised people to stay inside of your car. It’s a cage. You’re safer inside that cage than lying in the road.
I feel like people forget that the conditions are like that for everyone and not just themselves, so they think it’s ok to mill around the scene while waiting for emergency services. It’s a terrible idea to do so, and it’s absolutely safer in the car. If for one reason or another you have to exit the vehicle, get far away from the scene; like at least across the ditch or far into someone’s lawn
There’s likely some deep rooted trauma there which would be beneficial to have some professional guidance to uncover and address through rational eyes. Our brains will create defence mechanisms to protect itself from perceived harm, but the mechanism may not be a healthy one. A professional can help sus out areas of concern for you and give you new tools for dealing with those emotions.
Her unhealthy choices concerning social behavior and eating habits are likely symptoms of a deeper issue.
A lot of this stuff is really cool tho. People rag on modern art because they dont understand it or because they are pushing a regressive worldview onto others. This stuff is good/important because it is weird.
And for as weird as they may seem at first blush, many of these obviously took real skill, thought, and effort to execute. Some of these would even be dangerous or deadly without that effort.
files.catbox.moe
Top