|
cis autodrag posted:It is pretty stupid that windows still has limits on path depth but drat if you don't know how to work around that as a computer programming professional. step 1. Don't bother this works for most of us step 2. wait until it is a problem and then fix it this also works but i guess if you want you can spend your life learning about quantum tunnelling and figuring out how to work around that too
|
# ? Apr 19, 2018 01:38 |
|
|
# ? Jun 8, 2024 07:51 |
|
i would have no problem with people asserting that "real programmers should know how to write cross platform software" if the people saying this were capable of it
|
# ? Apr 19, 2018 01:55 |
|
Man everyone is testy today.
|
# ? Apr 19, 2018 02:00 |
|
if you want to know when i died inside, it was when i had to argue for ascii names on a cross language project anyway, at least git does NFC normalization now on old versions of OS X
|
# ? Apr 19, 2018 02:10 |
|
Our programming language is so amazing, you can use emojis as variables! Emojis! 💩💩💩
|
# ? Apr 19, 2018 02:35 |
|
tef posted:i would have no problem with people asserting that "real programmers should know how to write cross platform software" if the people saying this were capable of it If you say Windows is a first class citizen for your software, the reasonable assumption is the software at the very least works on Windows.
|
# ? Apr 19, 2018 02:53 |
|
tef posted:"\pNice"
|
# ? Apr 19, 2018 05:24 |
|
qhat posted:If you say Windows is a first class citizen for your software, the reasonable assumption is the software at the very least works on Windows. it probably works as well as any other software on windows
|
# ? Apr 19, 2018 05:26 |
|
eschaton posted:it probably works as well as any other software on windows It's almost certainly better than Apple's software for Windows.
|
# ? Apr 19, 2018 06:54 |
|
Thats a bar so low, ant couldn't limbo under it.
|
# ? Apr 19, 2018 08:06 |
|
Sapozhnik posted:kinda. Windows has a constant called MAX_PATH whose value is 260, and a lot of programs have stack declarations like "char path[MAX_PATH];" in them. so windows isn't allowed to even read past the 260 character mark for any api that takes a path because idk i guess lots of people did strncpy()s into those stack buffers and potentially failed to NUL-terminate them. also, since win 10 anniversary edition, apps can opt in to be free of MAX_PATH limitations
|
# ? Apr 19, 2018 10:27 |
|
tef posted:if you want to know when i died inside, it was when i had to argue for ascii names on a cross language project how much did zombywuf bust your balls for this
|
# ? Apr 19, 2018 13:47 |
|
I don't think ive ever run into the windows path limit in my time using it, but I also cant think of a use case where I would.
|
# ? Apr 19, 2018 15:37 |
|
Shaggar posted:I don't think ive ever run into the windows path limit in my time using it, but I also cant think of a use case where I would. npm from back in the day when it had recursing node_modules directories and there was a npm package called rimraf specifically for removing all those files with the paths that are too long because windows could not remove them
|
# ? Apr 19, 2018 19:12 |
|
There Will Be Penalty posted:npm from back in the day when it had recursing node_modules directories and there was a npm package called rimraf specifically for removing all those files with the paths that are too long because windows could not remove them Writing scripts to recursively rename subfolders to /1/1/2... Is a thing for Windows webdevs that node their gulp or grunt.
|
# ? Apr 19, 2018 21:01 |
Shaggar posted:I don't think ive ever run into the windows path limit in my time using it, but I also cant think of a use case where I would. This conversation got me interested so I checked what the longest path was on my macbook (not following symlinks). It's quote:/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/tvOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GameCenterUI.framework/PlugIns/GameCenterTurnBasedMatchmakerExtension.appex/GameCenterTurnBasedMatchmakerExtensionInterfaceATV.storyboardc/UINavigationController-ZdU-Wz-1oy.nib which is 378 characters. So well over the windows limit, but nowhere near the more standard unix limits. VikingofRock fucked around with this message at 21:13 on Apr 19, 2018 |
|
# ? Apr 19, 2018 21:09 |
|
I'd have assumed that java projects with stupidly long namespaces might hit the limit, but maybe not.
|
# ? Apr 19, 2018 21:12 |
|
VikingofRock posted:This conversation got me interested so I checked what the longest path was on my macbook (not following symlinks). It's hmm yes, a valid and sensible reason to support long file names
|
# ? Apr 19, 2018 21:28 |
|
Shaggar posted:I don't think ive ever run into the windows path limit in my time using it, but I also cant think of a use case where I would. i hit the limit a couple of weeks ago when a client sent though some stupidly nested data. worked for them because they'd copied the dir to the root of a drive, but i had to copy that junk somewhere deeper
|
# ? Apr 19, 2018 21:31 |
|
hit the limit doing bog standard C# stuff and organizing the code and projects from a root directory of c:\dev\ microsoft build programs would barf on the long directories we ended up not naming the folders the way we wanted to work around the restriction
|
# ? Apr 19, 2018 21:57 |
|
how exploitable is this poo poo with a zip bomb?
|
# ? Apr 19, 2018 22:08 |
|
Shaggar posted:I don't think ive ever run into the windows path limit in my time using it, but I also cant think of a use case where I would. I used to have an app I worked on where the local copy had to be checked out to a drive root or maybe one directory deep. otherwise tfs and visual studio wouldn’t be able to cope with it.
|
# ? Apr 19, 2018 22:13 |
|
/Users/xxxxxx/Sync/genealogy/Xxxxxxxxx/Jordebog, fæstevæsen, matrikelvæsen og skat/1582-1661 Lensregnskaber/Xxxxxxxx. C. Ekstraskattemandtaller 1610 - 1658/1644-45 Ekstraskattemandtaller/01 Den store Kornskat til 1.10 og 14 Dage før Jul 1644 (m. Bilag litr. A og nr. 1-3)/01 Bilag (litr. A og nr. 1-3)/284500,55509034.jpg
|
# ? Apr 19, 2018 22:14 |
|
Blotto Skorzany posted:how exploitable is this poo poo with a zip bomb? wouldn’t even have to be a zip bomb, after a certain file name length you can’t delete a file except with some workaround like browsing a directory in 7zip create a ton of files with extremely long names, fill up the drives, bam
|
# ? Apr 19, 2018 22:17 |
|
I vaguely recall Suzuki was expelled from CMU for taking out CMU’s main AFS cell with something path-length related
|
# ? Apr 20, 2018 05:22 |
|
tef posted:um so yes NihilCredo posted:yeah that was pretty much my reaction too the first time it happened so i finally got a response from a techie at amazon on this "oh, sure, amazon® sqs® is awesome and can totally hold your messages forever! but the way _we_ , the amazon® prime®now® team, use it, we assume you consume our messages as soon as they are sent and immediately delete them! so please do that, kthx!"
|
# ? Apr 20, 2018 09:08 |
|
eschaton posted:I vaguely recall Suzuki was expelled from CMU for taking out CMU’s main AFS cell with something path-length related which Suzuki?
|
# ? Apr 20, 2018 12:55 |
|
https://twitter.com/hillelogram/status/987432181889994759?s=21
|
# ? Apr 20, 2018 22:33 |
|
how do you mathematically model a library author who rage-quits the dependency infrastructure
|
# ? Apr 20, 2018 22:55 |
|
akadajet posted:I'd have assumed that java projects with stupidly long namespaces might hit the limit, but maybe not. i run into linux path limit only when building scala code on an ecryptfs mount
|
# ? Apr 20, 2018 23:18 |
|
Gazpacho posted:how do you mathematically model a library author who rage-quits the dependency infrastructure the gently caress all y’all monad
|
# ? Apr 20, 2018 23:58 |
|
Gazpacho posted:how do you mathematically model a library author who rage-quits the dependency infrastructure well its basically already in the spec... segfault == ragequit
|
# ? Apr 21, 2018 09:56 |
|
Does anyone have Elm opinions? I want to do a bit of frontend, and it looks cool from what I can see.
|
# ? Apr 22, 2018 10:13 |
|
Athas posted:Does anyone have Elm opinions? I want to do a bit of frontend, and it looks cool from what I can see. like f#, it’s a nice language that can make your life very easy once you get used to functional programming idioms. like f#, don’t count on it to get you a job. personally i love it.
|
# ? Apr 22, 2018 13:38 |
|
Elm is great. The problem is everything around elm. Because it's so niche, getting help, working with other libraries, reading material...it's all in short supply.
|
# ? Apr 22, 2018 16:04 |
|
it’s a great language if you side with the inquisitors at the trial of Galileo imo
|
# ? Apr 22, 2018 16:07 |
|
I love Elm, but it can be frustrating since the number of libraries for it that are maintained or in some sort of usable state are in the double digits. You can use ports or write wrappers around JS libraries, but it can get tedious and most JS libraries don't expose an API that's directly translatable to Elm.
|
# ? Apr 22, 2018 16:09 |
|
If I am new to web frontendy things (but do know basic HTML and CSS for static sites), is it a good idea to start with Elm, or should I serve on the Javascript front for a while first?
|
# ? Apr 22, 2018 16:17 |
|
Athas posted:If I am new to web frontendy things (but do know basic HTML and CSS for static sites), is it a good idea to start with Elm, or should I serve on the Javascript front for a while first? First: I'm sorry. Second: stick with JS. I personally wouldn't touch anything but react or maybe vue these days.
|
# ? Apr 22, 2018 16:22 |
|
|
# ? Jun 8, 2024 07:51 |
|
What's your end goal? A job in the field, personal projects, something else? Elm is probably not going to get you a job, but it is quite nice if you get to make the decision about what technology to use, as long as whatever you're making doesn't require libraries that Elm doesn't have (or you're willing to put in the effort to write those libraries yourself.) Also it probably depends on what programming languages you know; Elm is FP, so it might take more time to wrap your head around if you've just done imperative stuff so far (even then, it is designed to be pretty easy to learn for people that have never done functional programming before.)
|
# ? Apr 22, 2018 16:23 |