|
Just add all the numbers together and that gives you the result.
|
# ? Aug 23, 2013 15:21 |
|
|
# ? Jun 7, 2024 13:11 |
|
MinGW posted:MinGW may have problems with paths containing spaces, and if not, usually other programs used with MinGW will experience problems with such paths. Thus, we strongly recommend that you do not install MinGW in any location with spaces in the path name reference; i.e. you should avoid installing into any subdirectory of "Program Files" or "My Documents", or the like.
|
# ? Aug 23, 2013 16:25 |
|
quote:use python, skrew php, php is no good. Broken clocks, etc.
|
# ? Aug 23, 2013 16:32 |
|
omeg posted:What the gently caress? For how long NTFS and Linux filesystems have supported spaces in file names again?
|
# ? Aug 23, 2013 17:00 |
|
Volmarias posted:I'm... honestly not sure if the guy was trolling or mentally ill Mentally ill and very, very good about dodging bans. You know you've made it when you have a half dozen Meta posts about you and they have to change their system to deal with your insanity. McGlockenshire fucked around with this message at 19:13 on Aug 23, 2013 |
# ? Aug 23, 2013 19:10 |
|
McGlockenshire posted:Mentally ill and very, very good about dodging bans. You know you've made it when you have a half dozen Meta posts about you and they have to change their system to deal with your insanity. Even better, he added new poo poo on top of one of the deleted posts before the rest of the full rant: quote:i want to print
|
# ? Aug 23, 2013 19:16 |
|
McGlockenshire posted:Mentally ill and very, very good about dodging bans. You know you've made it when you have a half dozen Meta posts about you and they have to change their system to deal with your insanity. Wow. I like how most of the posts are "just ignore him, he'll go away." If he's a schizophrenic, he's not doing it for the lulz, and he's not going to just go away when people ignore him.
|
# ? Aug 23, 2013 23:35 |
|
Volmarias posted:Wow. As opposed to doing what else? Tracking them down and somehow getting them sectioned? I don't think it's very easy for them to do anything about it other than trying to stop the person from doing too much damage to their site.
|
# ? Aug 23, 2013 23:43 |
|
Hammerite posted:As opposed to doing what else? Tracking them down and somehow getting them sectioned? I don't think it's very easy for them to do anything about it other than trying to stop the person from doing too much damage to their site. I guess just tell people that he's mentally ill and not to engage him. I do like the idea of writing a filter explicitly for him since he's predictable.
|
# ? Aug 23, 2013 23:46 |
|
I like the idea of not being a bigoted jerk and just letting him post, myself. e: xtal fucked around with this message at 07:09 on Aug 24, 2013 |
# ? Aug 23, 2013 23:59 |
|
Plorkyeran posted:The only reason most things on Windows support spaces in paths is because Microsoft forced the issue by putting spaces in the name of a bunch of standard directories. A typical Linux install has zero directories with spaces in their names, so no one notices when they fail to properly quote paths. That's not a good excuse, especially for such a mainstream project like mingw
|
# ? Aug 24, 2013 07:46 |
|
Munkeymon posted:Broken clocks, etc. php is not necessarily reliable even just an indeterminate twice a day
|
# ? Aug 24, 2013 09:19 |
|
A coworker of mine has written a TON of code like this. Nearly every method he writes uses this same goofy pattern, all in C++. Note that I'm pseudocoding most of it since I don't have any code in front of me:code:
|
# ? Aug 24, 2013 09:25 |
|
TheFreshmanWIT posted:It is infuriating. He clearly is unwilling to do a multiple exit, and instead has put together this incredibly crazy code pattern. Nearly every function/method he writes ends up having a do/while(false) loop in it, solely so he can implement a poor-man's goto:end.
|
# ? Aug 24, 2013 10:08 |
|
That, and being more familiar with C than C++, probably. If the cleanup's nontrivial and mostly the same for every case, I think it's better to put it all in a common block rather than duplicating it for every return. I'd use gotos instead of abusing do while though, and of course in C++ you can use stack objects for automatic cleanup.
|
# ? Aug 24, 2013 12:43 |
|
TheFreshmanWIT posted:A coworker of mine has written a TON of code like this. Nearly every method he writes uses this same goofy pattern, all in C++. Note that I'm pseudocoding most of it since I don't have any code in front of me: code:
|
# ? Aug 24, 2013 15:25 |
|
QuarkJets posted:That's not a good excuse, especially for such a mainstream project like mingw
|
# ? Aug 24, 2013 15:49 |
|
QuarkJets posted:That's not a good excuse, especially for such a mainstream project like mingw Mingw consists mostly of windows ports of GNU utilities that they are not the maintainers for. So the excuse is more like "we don't have time to go through every one of the programs to find out exactly which ones can't be arsed to quote $0 properly and then convince upstream to fix them", which I think is perfectly reasonable.
|
# ? Aug 24, 2013 16:28 |
|
ToxicFrog posted:Mingw consists mostly of windows ports of GNU utilities that they are not the maintainers for. So the excuse is more like "we don't have time to go through every one of the programs to find out exactly which ones can't be arsed to quote $0 properly and then convince upstream to fix them", which I think is perfectly reasonable. Instead of saying "we don't support spaces" it would be better to support spaces and then say "we support spaces, but other projects might not support spaces, in which case it's not our fault if your poo poo breaks". QuarkJets fucked around with this message at 03:08 on Aug 25, 2013 |
# ? Aug 25, 2013 03:06 |
|
QuarkJets posted:Instead of saying "we don't support spaces" it would be better to support spaces and then say "we support spaces, but other projects might not support spaces, in which case it's not our fault if your poo poo breaks". I think you do not understand what mingw is or something.
|
# ? Aug 25, 2013 05:08 |
|
QuarkJets posted:Instead of saying "we don't support spaces" it would be better to support spaces and then say "we support spaces, but other projects might not support spaces, in which case it's not our fault if your poo poo breaks". That's what they said though. Specifically "MinGW may not work with paths containing spaces" - they probably do fix whatever obvious poo poo that they find, but unless you use MinGW as a digital paperweight then you will probably introduce external packages in the process of compilation. They cannot possibly know what you'll throw into it so they make a disclaimer. It's all they can do.
|
# ? Aug 25, 2013 13:53 |
|
Plorkyeran posted:I think you do not understand what mingw is or something. Maybe, I only use mingw for cross compiling Linux projects into Windows environments
|
# ? Aug 25, 2013 20:46 |
|
Plorkyeran posted:The only reason most things on Windows support spaces in paths is because Microsoft forced the issue by putting spaces in the name of a bunch of standard directories. A typical Linux install has zero directories with spaces in their names, so no one notices when they fail to properly quote paths. And it happens that a lot of GNU package maintainers are so indoctrinated. Which is the real horror. Gazpacho fucked around with this message at 21:23 on Aug 25, 2013 |
# ? Aug 25, 2013 21:19 |
|
Not to mention the joy of using non case-sensitive names & using any type of slash you happen to be bothered to use. To a user, why should you have to care? Does the other slash have a mystical meaning that cannot be inferred contextually?
|
# ? Aug 25, 2013 22:27 |
|
OzyMandrill posted:Not to mention the joy of using non case-sensitive names & using any type of slash you happen to be bothered to use. Why would anyone expect / and \ to be interchangeable? They don't really look alike. Do these same people expect l I and | to be valid substitutes as well, because they're all strait vertical lines? Why do I need type file names at all? Can't the computer just infer what file I want from context?
|
# ? Aug 25, 2013 23:11 |
Nippashish posted:Why would anyone expect / and \ to be interchangeable? They don't really look alike. Do these same people expect l I and | to be valid substitutes as well, because they're all strait vertical lines? Why do I need type file names at all? Can't the computer just infer what file I want from context? Unfortunately, I have seen people use / and \ interchangeably far too many times, in coding context. Like, "Use the /i tag" when they mean "the \i tag". I also see people use \ in prose (outside coding context) to list alternatives even though it's / everywhere. It would seem some people really can't tell the difference between the two.
|
|
# ? Aug 25, 2013 23:44 |
|
Nippashish posted:Why would anyone expect / and \ to be interchangeable? On Windows, they are, and intentionally. DOS was modelled after CP\M which used forward slashes to denote options. When DOS added subdirectories, they couldn't use forward slashes as path delimiters (because otherwise cp /a /b would be ambiguous) so they picked backwards slashes. Windows NT added a tiny bit of POSIX compatibility as a result of government system requirements, and added path normalization as a feature. You can write paths like C:/butts\farts/\/whatever and the filesystem APIs understand it fine.
|
# ? Aug 25, 2013 23:50 |
|
But as a warning, you must absolutely never rely on the interchangeability - it doesn't exist. What works in one MS application does not work in others. Always use the relevant direction of slash or face being a coding horror to the next person who encounters your touch.
|
# ? Aug 25, 2013 23:58 |
|
There are no words to describe the despair when you first hear someone say, with all seriousness, the phrase "forward backslash."
|
# ? Aug 26, 2013 01:14 |
|
Gazpacho posted:There are no words to describe the despair when you first hear someone say, with all seriousness, the phrase "forward backslash." Ahaha oh my god :popcorn:
|
# ? Aug 26, 2013 01:32 |
|
Tesseraction posted:But as a warning, you must absolutely never rely on the interchangeability - it doesn't exist. What works in one MS application does not work in others. Always use the relevant direction of slash or face being a coding horror to the next person who encounters your touch. It's implemented at the filesystem driver level, so unless something is trying super hard to prevent you from using forward slashes, it should just work.
|
# ? Aug 26, 2013 02:01 |
|
On the other hand, ¥ as a path separator is purely a font thing.
|
# ? Aug 26, 2013 02:17 |
|
pseudorandom name posted:On the other hand, ¥ as a path separator is purely a font thing. Why, by the way? I've noticed it a lot. It's "U+00A5". Is A5 something or? Edit: vvv Oh neat! Jewel fucked around with this message at 02:31 on Aug 26, 2013 |
# ? Aug 26, 2013 02:24 |
|
Jewel posted:Why, by the way? I've noticed it a lot. It's "U+00A5". Is A5 something or? http://en.wikipedia.org/wiki/Yen_sign http://en.wikipedia.org/wiki/Code_page_932
|
# ? Aug 26, 2013 02:27 |
|
Gazpacho posted:There are no words to describe the despair when you first hear someone say, with all seriousness, the phrase "forward backslash." I was in a classroom where a student was asked to read a URL off the whiteboard and they painstakingly read every forward slash as a backslash. Not nearly as bad as that, though.
|
# ? Aug 26, 2013 03:57 |
|
Ah, the yen sign. Real fun in localization starts when your software suddenly breaks when used on a Turkish locale OS though.
|
# ? Aug 26, 2013 10:58 |
|
omeg posted:Ah, the yen sign. Real fun in localization starts when your software suddenly breaks when used on a Turkish locale OS though. You probably refer to the Turkish alphabet's dotted and undotted lower-case and capital I. So ı -> I and i -> İ
|
# ? Aug 26, 2013 12:11 |
|
omeg posted:What the gently caress? For how long NTFS and Linux filesystems have supported spaces in file names again? See also: GNU make.
|
# ? Aug 26, 2013 12:56 |
|
Suspicious Dish posted:It's implemented at the filesystem driver level, so unless something is trying super hard to prevent you from using forward slashes, it should just work. The real horror is MAX_PATH, a gift that will keep on giving. As runner up, I nominate varargs/va_list. No, don't update the ABI or come up with some way to know the number and types/sizes of the arguments, just make every single function and user of those functions manually keep track of two pieces of state... The metadata about the argument list and the actual arguments themselves. Why specify information once when twice will do? Actually strike that, as far as specifying information twice goes I nominate C's headers and #include as the ultimate waste of time. How many millions of hours of programmer effort can we waste? It's a giant study, only you aren't compensated and you can't opt out until you die. And no one gets a doctoral thesis out of it.
|
# ? Aug 26, 2013 16:22 |
|
|
# ? Jun 7, 2024 13:11 |
|
Ender.uNF posted:The real horror is MAX_PATH, a gift that will keep on giving. quote:2010-11-16 13:25 <DIR> qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Windows explorer flat out refuses to do anything with that folder. Can't open it, doesn't even show "Properties" or "Copy" in the context menu for it. Total Commander allows me to enter into 3 more directories but stops there. So, yeah.
|
# ? Aug 26, 2013 16:34 |