Editing Talk:2109: Invisible Formatting

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 4: Line 4:
 
:Some programming puzzles are often solved with stuff like this: AΑ [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
:Some programming puzzles are often solved with stuff like this: AΑ [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
:"l" (lower-case "L") is a valid suffix to integer literals in C and derived languages. It indicates the number is of the "long int" type as opposed to a plain "int". Because C automatically upconverts the "int" type into "long int" when needed, the "l" suffix is rarely used. The result: "long int a = 1;" and "long int a = 1l;" mean exactly the same thing, and both statements are perfectly standard and won't raise any warning from compilers. "ll" (double el) is also a valid suffix, this time for the "long long int" type. [[User:GuB|GuB]] ([[User talk:GuB|talk]]) 15:39, 8 February 2019 (UTC)
 
:"l" (lower-case "L") is a valid suffix to integer literals in C and derived languages. It indicates the number is of the "long int" type as opposed to a plain "int". Because C automatically upconverts the "int" type into "long int" when needed, the "l" suffix is rarely used. The result: "long int a = 1;" and "long int a = 1l;" mean exactly the same thing, and both statements are perfectly standard and won't raise any warning from compilers. "ll" (double el) is also a valid suffix, this time for the "long long int" type. [[User:GuB|GuB]] ([[User talk:GuB|talk]]) 15:39, 8 February 2019 (UTC)
:Typing lowercase ''L'' instead of ''1'' is a common thing for people of a certain age.  Old manual typewriters usually don't have a "1" key, so people learned to use lowercase ''L'' instead -- and sometimes slip back into that habit on newer technology. --[[User:Aaron of Mpls|Aaron of Mpls]] ([[User talk:Aaron of Mpls|talk]]) 02:03, 9 February 2019 (UTC)  
+
:Typing lowercase ''L'' instead of ''1'' is a common thing for people of a certain age.  Old manual typewriters usually don't have a "1" key, so people learned to use lowercase ''L'' instead -- and sometimes slip back into that habit on newer technology. --[[User:Aaron of Mpls|Aaron of Mpls]] ([[User talk:Aaron of Mpls|talk]]) 02:03, 9 February 2019 (UTC) Tha's exactly what happened in my example. I blame the programmer, though, for allowing a letter where a numeral was required or possibly converting the l to a 1 if the programmer knew such a thing ever happened. In either case, it shouldn't have allowed the l to just sit there like a bomb waiting to blow apart the post-tax-year processing. [[Special:Contributions/172.68.58.83|172.68.58.83]] 15:22, 9 February 2019 (UTC)
::Tha's exactly what happened in my example. I blame the programmer, though, for allowing a letter where a numeral was required or possibly converting the l to a 1 if the programmer knew such a thing ever happened. In either case, it shouldn't have allowed the l to just sit there like a bomb waiting to blow apart the post-tax-year processing. [[Special:Contributions/172.68.58.83|172.68.58.83]] 15:22, 9 February 2019 (UTC)
 
  
 
I went to this page, expecting it to be self-referential. Was not disappointed. [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
 
I went to this page, expecting it to be self-referential. Was not disappointed. [[User:Fabian42|Fabian42]] ([[User talk:Fabian42|talk]]) 15:19, 8 February 2019 (UTC)
Line 35: Line 34:
  
 
I frequently see a similar, related problem.  In preparing a weekly newsletter (consisting mostly of links to articles from various news sources), people submitting articles to me usually send me Microsoft Word files into which they have used copy/paste to insert the headline, URL and a few lines of text for context.  On far too many articles, I find that the resulting text has embedded UNICODE {{w|Left-to-right mark}} characters (U+200E) in it.  These don't affect display and printing at all (since all of the text is already left-to-right), but it creates broken links if one appears in a URL and I copy/paste it into a web browser's location bar.  There doesn't seem to be any way to make these characters visible in Word.  If manually cursoring over the text (with left/right keys), you will see the cursor change shape without moving when stepping over the left-to-right mark, but that's the only indication.  It's quite annoying to have to work around.  (If anyone knows of a good workaround, please let me know.)  [[User:Shamino|Shamino]] ([[User talk:Shamino|talk]]) 19:32, 10 February 2019 (UTC)
 
I frequently see a similar, related problem.  In preparing a weekly newsletter (consisting mostly of links to articles from various news sources), people submitting articles to me usually send me Microsoft Word files into which they have used copy/paste to insert the headline, URL and a few lines of text for context.  On far too many articles, I find that the resulting text has embedded UNICODE {{w|Left-to-right mark}} characters (U+200E) in it.  These don't affect display and printing at all (since all of the text is already left-to-right), but it creates broken links if one appears in a URL and I copy/paste it into a web browser's location bar.  There doesn't seem to be any way to make these characters visible in Word.  If manually cursoring over the text (with left/right keys), you will see the cursor change shape without moving when stepping over the left-to-right mark, but that's the only indication.  It's quite annoying to have to work around.  (If anyone knows of a good workaround, please let me know.)  [[User:Shamino|Shamino]] ([[User talk:Shamino|talk]]) 19:32, 10 February 2019 (UTC)
:I frequently cut-and-paste text into Notepad (or gedit, or some other text-only editor etc.), then cut-and-paste it back to Word or whatever other "rich text" capable destination I am using -- this removes all hidden junk, formatting, font changes, bold, etc. and the pasted text takes on the characteristics of wherever it's pasted into rather than where it came from.  This is basically taking the text down to the bare minimum, and then I can reintroduce whatever formatting''' I '''want it to have. [[User:N0lqu|-boB]] ([[User talk:N0lqu|talk]]) 16:47, 11 February 2019 (UTC)
 
  
 
GIMP is really bad about this when trying to add text to an image. You either end up with the formatting not wanting to stick, or you end up with invisible formatting all over the place. [[User:Dark|Dark]] <sup>[[User Talk:Dark|talk]]</sup> 00:15, 11 February 2019 (UTC)
 
GIMP is really bad about this when trying to add text to an image. You either end up with the formatting not wanting to stick, or you end up with invisible formatting all over the place. [[User:Dark|Dark]] <sup>[[User Talk:Dark|talk]]</sup> 00:15, 11 February 2019 (UTC)
 
 
 
Seems to me that everybody here misses the point of the comic. Which is not the problems hidden left over formatting could do to later text. The joke here is that Randall is about to write something where he really means that '''NOT'''. But then regrets it, as he is afraid that the reader of his text/message would take offense of having this not shouted out in bold! So he reverts the bold, but because he misses the space, he has left a proof that he actually did mean '''Not''' and this can now be found out by the receiver anyway, which might then take offense anyway, or take offense that Randall felt he had to delete the bold, as if the receiver could not handle this (of course if he took offense from this Randall had proved his point, but never the less he tries to avoid this.). All this is mentioned now at the very end of a long list of indifferent problems such a bold space could create. I will move this up to the top now, as the main explanation. --[[User:Kynde|Kynde]] ([[User talk:Kynde|talk]]) 10:06, 13 February 2019 (UTC)
 
 
I found (and find) the typography in this comic troubling, because while it is clearly a proportionally spaced font ("l" is 5px wide, "w" is 23px), the boldfaced and roman "not"s are the same size (49px wide). In a normal proportionally spaced situation, the boldfaced letters would be wider. [[User:JohnHawkinson|JohnHawkinson]] ([[User talk:JohnHawkinson|talk]]) 03:23, 23 February 2019 (UTC)
 
 
In an edit last week I removed the claims that  "Randall bolds text via clicking" and that it "could indicate that Randall is not familiar with using word processors." [[Special:Contributions/172.68.144.145|172.68.144.145]] just reverted my removal, and I wanted to explain here why '.145 is wrong, in a little more space than the edit summary allows.
 
I said originally, ''"An iconbutton is used for bold in comics for illustrative purposes, because you can't see the keyboard. It does not reflect the author-artist's knowlege."'' That is, we cannot draw conclusions about Randall's knowledge based on the fact that he didn't illustrate in this comic using a keyboard.<br>
 
'.145 asks, perhaps rhetorically, ''"Then why not just write "Ctrl+B"? You can't see the mouse either, but you know what "click" and "select" are referring to."''<br>
 
'''First''' of all, it doesn't matter. The comic could also have illustrated use of a menu, but that wouldn't tell us anything about Randall's knowledge of the iconbutton or the keyboard shortcut. Without any information about this, it's not possible to make reasonable inferences about this, and so the explanation shouldn't even go there. '''Secondly,''' there are good reasons why an iconbutton makes more sense (not that I'm required to supply them); because keyboard shortcuts are not as discoverable as iconbuttons or menus (and menus take a lot of space that make them hard in a comic of small compact multiples like this one) that means more people are familiar with the menu or button than the keyboard shortcut, and indeed those who know the keyboard shortcut are generally a subset of those who know another method; and further still, "Ctrl+B" is not platform-independent (e.g. Mac users need Cmd+B) or software-independent (InDesign users need Cmd+Shift+B). '''Thirdly,''' you can indeed see the mouse pointer, so I'm not sure what '.145 is trying to suggest. '''And finally,''' it's utterly ridiculous and kind of offensive to suggest (without any real basis) that Randall doesn't know how to use a word processor. That a person chooses to use one method, even if it's not the most efficient method, doesn't mean they are "not familiar with using word processors." We don't even know what Randall's UI preferences are here, but even if we did that wouldn't be enough to suggest a lack of familiarity rather than a personal preference. The text from [https://www.explainxkcd.com/wiki/index.php?title=2109:_Invisible_Formatting&diff=next&oldid=170285 this edit] is not encyclopedic and should stay out. [[User:JohnHawkinson|JohnHawkinson]] ([[User talk:JohnHawkinson|talk]]) 14:48, 4 March 2019 (UTC)
 
 
In LibreOffice Writer on Linux if I select a word with double-click it doesn't include the space, but if I select it with the keyboard using Ctrl+Shift+RightArrow it '''does''' include the space. In the comic it looks like the selection was made with the mouse, but it's not explicit. [[Special:Contributions/172.68.189.193|172.68.189.193]] 00:15, 11 July 2019 (UTC)
 
 
I do this.
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Template used on this page: