So that shiny IDE is not so new under the covers [modified - added image]
-
Like a couple others here... I tried this in both VS2k10 and VS2k5 and don't see any issues. I don't even see any issue with the tab display like other people are reporting.. Hmm...
Maybe it's a culture setting.
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
Maybe it's a culture setting.
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth EditionMaybe At first I was thinking it was cause I run it as admin but I even tried it without admin rights and everything works there too. Just curious, what exactly are you seeing? does it crash? or is it the tab display that others are reporting? Or something else?
-
Today I found another VS bug. Again present in both VS2008 and VS2010 flavors. :sigh: Not that it is a bad bug, it is purely cosmetic, but you would expect a company like MS to be professional and to find and fix a bug in the last 4 or more years (perhaps it does the same on older VS too, I dont have any to test with). Anyways, the bug: Open any file whose (file)name starts with a
.
(a full-stop, eg .wtf). :doh: PS: I tried to find a report on the MS Connect site, but found no results. I could report this bug, but like MS I can't be bothered. Update: Here is what I and some of the others are seeing. The tooltip shows the correct text. http://i.imgur.com/zDUKB.png[^]xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionmodified on Thursday, September 16, 2010 2:15 PM
-
Maybe At first I was thinking it was cause I run it as admin but I even tried it without admin rights and everything works there too. Just curious, what exactly are you seeing? does it crash? or is it the tab display that others are reporting? Or something else?
Here you go: http://i.imgur.com/zDUKB.png[^]
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
Dan Neely wrote:
Neither does Christian, yet he find more broken stuff than any 3 all other CPians put together.
FTFY
-
Of course, you could just name files like normal people, and avoid this problem altogether.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
Alright - when was the last time *you* accounted for filenames that start with a dot? If you ask me, there's nothing wrong with the IDE (in this instance).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001John Simmons / outlaw programmer wrote:
Alright - when was the last time *you* accounted for filenames that start with a dot?
A lot of programming books use ".NET [something]" as a book title, and the matching .PDF starts with a leading dot. Adobe Reader, Foxit, etc don't complain about the filename at all. Mind you, if it weren't for this particular example, I'd totally agree with you...especially considering that *Explorer*, of all things, won't let you name files as such.
-
Today I found another VS bug. Again present in both VS2008 and VS2010 flavors. :sigh: Not that it is a bad bug, it is purely cosmetic, but you would expect a company like MS to be professional and to find and fix a bug in the last 4 or more years (perhaps it does the same on older VS too, I dont have any to test with). Anyways, the bug: Open any file whose (file)name starts with a
.
(a full-stop, eg .wtf). :doh: PS: I tried to find a report on the MS Connect site, but found no results. I could report this bug, but like MS I can't be bothered. Update: Here is what I and some of the others are seeing. The tooltip shows the correct text. http://i.imgur.com/zDUKB.png[^]xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionmodified on Thursday, September 16, 2010 2:15 PM
VS2010 is anything but shiny under the covers. If anything, it has roughy the same number of warts per MB as VS2005 had at release (clue: that's a lot). Judging by the nature of the breaking changes in VS2010 (e.g. Intellisense in C++/CLI) the Developer Division is anything but agile in the way they work. The fixed releases and predetermined deadlines just stink of waterfall to me. I'm willing to bet any of the MS guys a beer that it doesn't have that many unit tests, either. * Agile with a very small 'a' - I'm far from dogmatic about these things, and firmly believe in bending processes to suit the project.
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
leppie wrote:
Anyways, the bug: Open any file whose (file)name starts with a . (a full-stop, eg .wtf).
No problem with VS6.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
Lots of other problems though! ;P
Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"
-
Alright - when was the last time *you* accounted for filenames that start with a dot? If you ask me, there's nothing wrong with the IDE (in this instance).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001This[^] seems to be a fairly comprehensive article on the subject. Quoting from a point about 25% down the page: 'However, it is acceptable to specify a period as the first character of a name. For example, ".temp".' I've usually treated the string ".temp" as a file in the current directory with the base name "" (empty string) and the extension ".temp". The string ".temp.crap", however, has the base name ".temp" and the extension ".crap". Most Windows API's, shell functions, and even C run-time library functions (
_splitpath()
and the like) seem to work this way. I despise applications that don't support the full range of file path syntax. I've seen far too many applications with stupid limits: 32 character paths, no spaces in names, ASCII alphanumerics only in names, and so on. You actually have to work harder to impose those limits, so why bother?Software Zen:
delete this;
Fold With Us![^] -
Today I found another VS bug. Again present in both VS2008 and VS2010 flavors. :sigh: Not that it is a bad bug, it is purely cosmetic, but you would expect a company like MS to be professional and to find and fix a bug in the last 4 or more years (perhaps it does the same on older VS too, I dont have any to test with). Anyways, the bug: Open any file whose (file)name starts with a
.
(a full-stop, eg .wtf). :doh: PS: I tried to find a report on the MS Connect site, but found no results. I could report this bug, but like MS I can't be bothered. Update: Here is what I and some of the others are seeing. The tooltip shows the correct text. http://i.imgur.com/zDUKB.png[^]xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionmodified on Thursday, September 16, 2010 2:15 PM
-
How did you manage to create a file named .wtf in the first place? Explorer does not let me do that.
Just FYI: leading dot is used on Linux for hidden files. Subversion client called TortoiseSVN (imho, best source control client on Windows) uses it too: it stored data in hidden folders named ".svn". They say that VS prior to VS 2005 had issues with this, and they had a workaround to use "_svn" as a name of the hidden directory.
-
Rename the file with ".txt" for example, you'll see only the path is displayed on the tab. It cannot have other periods after or before "txt" besides the leading one.
-
Just FYI: leading dot is used on Linux for hidden files. Subversion client called TortoiseSVN (imho, best source control client on Windows) uses it too: it stored data in hidden folders named ".svn". They say that VS prior to VS 2005 had issues with this, and they had a workaround to use "_svn" as a name of the hidden directory.
Member 4227058 wrote:
Just FYI: leading dot is used on Linux for hidden files.
Ok. You're only the 10th person saying that. I admit that I had no clue - I don't use Linux. I know about the .svn folders of course, but their existence only means that svn is using semi-illegal names (and not that since they are used they must automatically be fully legal - if they were, Explorer wouldn't keep you from using them)
-
Rename the file with ".txt" for example, you'll see only the path is displayed on the tab. It cannot have other periods after or before "txt" besides the leading one.
-
Member 4227058 wrote:
Just FYI: leading dot is used on Linux for hidden files.
Ok. You're only the 10th person saying that. I admit that I had no clue - I don't use Linux. I know about the .svn folders of course, but their existence only means that svn is using semi-illegal names (and not that since they are used they must automatically be fully legal - if they were, Explorer wouldn't keep you from using them)
harold aptroot wrote:
You're only the 10th person saying that
Sorry, took me some time to write I think. But this whole thing about illegal names... I think it is an old conversion, to use such names for computer-generated files like hidden settings, etc. Java coders use it, I think, out of Linux habits. We started the thread with VS - so it seems VS uses the same practice for some debug data it hides on disk - why else it treats any file that starts with dot as its own debug... whatever? So MS uses it, and does not consider illegal. I think it is well in MS habit, to make tools a bit too clever, and design things to be used exclusively by MS products (I can never see Thumbs.db file in your folders - until I try to examine it with TortoiseSVN, and it asks me "and there is this Thumbs.db that was also added/modified - do you want to add it to source control?") :)
-
harold aptroot wrote:
You're only the 10th person saying that
Sorry, took me some time to write I think. But this whole thing about illegal names... I think it is an old conversion, to use such names for computer-generated files like hidden settings, etc. Java coders use it, I think, out of Linux habits. We started the thread with VS - so it seems VS uses the same practice for some debug data it hides on disk - why else it treats any file that starts with dot as its own debug... whatever? So MS uses it, and does not consider illegal. I think it is well in MS habit, to make tools a bit too clever, and design things to be used exclusively by MS products (I can never see Thumbs.db file in your folders - until I try to examine it with TortoiseSVN, and it asks me "and there is this Thumbs.db that was also added/modified - do you want to add it to source control?") :)
-
Member 4227058 wrote:
Just FYI: leading dot is used on Linux for hidden files.
Ok. You're only the 10th person saying that. I admit that I had no clue - I don't use Linux. I know about the .svn folders of course, but their existence only means that svn is using semi-illegal names (and not that since they are used they must automatically be fully legal - if they were, Explorer wouldn't keep you from using them)
harold aptroot wrote:
not that since they are used they must automatically be fully legal - if they were, Explorer wouldn't keep you from using them
Let me look at it from a different light. MS writes OS, and ships it with a lot a various tools, like Explorer, control panels, IE, etc. These tools use some files names and patterns as their "reserved" file names. Any tool needs some hidden/standard/whatever files to support it. So from point of view of OS, all the names like "..a.." or "Thumbs.db" would be legal, unless OS manual (MSDN) states otherwise. But the tools like Explorer might just treat them differently. Other tools follow different conventions. Java IDE show Thumbs.db like any other hidden file, for example. But when VS UI is hard-coded never to expect particular files to be anything but what was created but some MS program, it is a ... bug. :-D
-
harold aptroot wrote:
not that since they are used they must automatically be fully legal - if they were, Explorer wouldn't keep you from using them
Let me look at it from a different light. MS writes OS, and ships it with a lot a various tools, like Explorer, control panels, IE, etc. These tools use some files names and patterns as their "reserved" file names. Any tool needs some hidden/standard/whatever files to support it. So from point of view of OS, all the names like "..a.." or "Thumbs.db" would be legal, unless OS manual (MSDN) states otherwise. But the tools like Explorer might just treat them differently. Other tools follow different conventions. Java IDE show Thumbs.db like any other hidden file, for example. But when VS UI is hard-coded never to expect particular files to be anything but what was created but some MS program, it is a ... bug. :-D
-
Alright - when was the last time *you* accounted for filenames that start with a dot? If you ask me, there's nothing wrong with the IDE (in this instance).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001