Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Scsbot (talk | contribs)
edited by robot: adding date header(s)
 
Line 1: Line 1:
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/C}}
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/C|WP:CHD}}
[[Category:Non-talk pages that are automatically signed]]
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for accidental language links]]
[[Category:Pages automatically checked for incorrect links]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia reference desk|Computing]]
[[Category:Wikipedia help pages with dated sections]]
[[Category:Wikipedia resources for researchers]]
</noinclude>
</noinclude>


= May 25 =
{{Wikipedia:Reference_desk/Archives/Computing/2012 April 10}}


== What's the name for the blown up texts so common in social media? ==
{{Wikipedia:Reference_desk/Archives/Computing/2012 April 11}}


In social media, many simple texts go viral which have nothing special other than they are blown up to a picture. People may forward them because (a) it's dead easy and (b) they find them funny or they want to proselytize the expressed opinion to others. What are they called? You might consider them a subgroup of [[internet meme]]s. However, they don't fit the definition “Two central attributes of Internet memes are creative reproduction and intertextuality.”, nor do they contain any other noteworthy creativity. Their only purpose seems to be that they're bigger than normal text so that they gather more importance. Even “eye candy” would be too flattering, so I'd rather call them "rectangular attention sinks". Maybe I'd better turn to a sociologist with this question.
{{Wikipedia:Reference_desk/Archives/Computing/2012 April 12}}


Related tech question: Do any social media offer a way to simply filter and ignore these attention sinks? ◅&nbsp;[[User:SebastianHelm|Sebastian Helm]]&nbsp;[[User_Talk:SebastianHelm|🗨]] 09:41, 25 May 2024 (UTC)
= April 13 =


:Can you provide any examples of "blown up texts"? Do you mean texts as in a form of online messaging between two people, such as SMS? ―<span style="font-family:Poppins, Helvetica, Sans-serif;">[[User:Panamitsu|Panamitsu]]</span> [[User_talk:Panamitsu|(talk)]] 10:06, 25 May 2024 (UTC)
== Extraction of Files from <code>.zip</code> Archive on CLI in SLED11SP2 ==
<p>Hello!</p>
<p>&nbsp; I need to extract files from a <code>.zip</code> archive on a computer running SuSE Linux Enterprise Desktop 11 Service Pack 2. I would like to do this from the CLI (so that I can do this in shell scripts in future), and need to know what is the command and syntax to use.</p>
<p>&nbsp; Thank you to all RefDeskers! [[User:Vickreman.Chettiar|<font color="#003CC8" face="Germany" size="4">Vickreman.Chettiar</font>]] 09:51, 13 April 2012 (UTC)</p>


:: For example an image that contains nothing but the text <br/><big><big><big><big>Why's it always “nyc smells like pee” and never “my pee smells like the greatest city in the world”</big></big></big></big><br/> (In this particular case, the image actually contains some user name who may have originally posted this, along with their picture, contrary to what I described above. But I picked this because I found it somewhat witty. And the user name and picture are not important here.) ◅&nbsp;[[User:SebastianHelm|Sebastian Helm]]&nbsp;[[User_Talk:SebastianHelm|🗨]] 14:28, 25 May 2024 (UTC)
:<code>unzip path/to/archive.zip</code> or <code>unzip path/to/archive.zip -d path/to/dir/to/unzip/to</code> (dir can be non-existant). If you don't have the unzip package (fairly unlikely), you'll need to install it first. ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 12:54, 13 April 2012 (UTC)
:::In magazines and newspapers, they are called [[pull quote]]s. [[Special:Contributions/75.136.148.8|75.136.148.8]] ([[User talk:75.136.148.8|talk]]) 22:06, 25 May 2024 (UTC)
:::: Interesting; I wasn't aware of that term. But that's not the same thing. If you want to transfer the term onto social media, it would have to be some text taken from a longer discussion, rather like people use bold face and capitalization in such discussions as [[Wikipedia_talk:Reference_desk/Archive_133#Medical_advice|here]]. The blown up texts of my question do not pull a reader to any source. Even in the case of the “nyc” example which happens to contain something that looks like an author alias and picture, there is no way to jump to the original discussion. So, they're neither “pull” nor “quotes”. ◅&nbsp;[[User:SebastianHelm|Sebastian Helm]]&nbsp;[[User_Talk:SebastianHelm|🗨]] 08:21, 26 May 2024 (UTC)
::::: For clarification: [[pull quotes]] are pulled ''from'' the text, though I guess they are designed to pull you in as well. --[[Special:Contributions/142.112.143.8|142.112.143.8]] ([[User talk:142.112.143.8|talk]]) 21:24, 26 May 2024 (UTC)
:::::: <small>Hmm, that seems redundant. Or what would be a non-pull quote, then? ◅&nbsp;[[User:SebastianHelm|Sebastian Helm]]&nbsp;[[User_Talk:SebastianHelm|🗨]] 05:08, 27 May 2024 (UTC)</small>
:::::::Pull quotes (in the original sense of the term) coinhabit the space with the text from which they were pulled, so in a print magazine the quoted passage would typically appear twice on a page: once in the running text, and once standing out on ts own in a blown-up font size. Normal quotes typically appear merely once and usually have the same font size as the surrounding text, or when displayed as a block sometimes a slightly smaller font size. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 10:23, 27 May 2024 (UTC)
:::::::: <small>Thanks for the explanation. So their name seems to be a misnomer: The non-pull quotes even have more pulling to do, since they have to pull the text from farther away.</small> But that was only a detour from my original questions. Can we turn back to them, please? ◅&nbsp;[[User:SebastianHelm|Sebastian Helm]]&nbsp;[[User_Talk:SebastianHelm|🗨]] 15:22, 28 May 2024 (UTC)


== Diffs ==
== site icons in browser tabs ==


English Wikipedia is almost at 1,225,620,000 diffs, increasing at about 1000 every ten minutes or so I'm guessing. Is there a limit to this number in MediaWiki or the underlying software – cognate with the [[Y2K problem]] and the like?
What I mean is the small square icons that appear at the left side of tabs in a browser. For example, Wikipedia has its stylized "W." If a site offers no icon, a dotted square is displayed. How could I use this feature on my web site? --[[User:Halcatalyst|Halcatalyst]] ([[User talk:Halcatalyst|talk]]) 00:45, 13 April 2012 (UTC)


: It looks like you need a file named "favicon.ico" on your web server root. See [[Favicon]] [[User:RudolfRed|RudolfRed]] ([[User talk:RudolfRed|talk]]) 01:11, 13 April 2012 (UTC)
(This is a throwaway question that just occurred to me, not a complaint or anything to take seriously or anything that I'm worrying about!) [[Special:Contributions/46.69.215.187|46.69.215.187]] ([[User talk:46.69.215.187|talk]]) 17:18, 25 May 2024 (UTC)


: [[MediaWiki]] stores complete revisions (previous versions stored [[delta encoding|backwards deltas]] as diffs, but later versions store the whole revision and computes the diffs) in the [https://www.mediawiki.org/wiki/Manual:Revision_table REVISION table]. The [[primary key]] for that is "int unsigned", which in [[MySql]] is a [https://dev.mysql.com/doc/refman/8.0/en/integer-types.html 32 bit integer]. That's a max of 4,294,967,295; so that would put en.wikipedia at about 1/4 of the way to the limit. I don't know what provision the developers have for the (surely inevitable) case where that becomes an issue.-- [[User:Finlay McWalter|Finlay McWalter]]'''··–·'''[[User talk:Finlay McWalter|Talk]] 18:27, 25 May 2024 (UTC)
Well, see [[Favicon]], anyways. ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 12:56, 13 April 2012 (UTC)
::Ah, that answers my question and provides useful extra reading! Thank you {{ping|Finlay McWalter}} I'm very grateful for your time and expertise. [[Special:Contributions/46.69.215.187|46.69.215.187]] ([[User talk:46.69.215.187|talk]]) 18:34, 25 May 2024 (UTC)
:::The reference document also states that there is a 64-bit integer data type, which is one possible solution. [[User:Robert McClenon|Robert McClenon]] ([[User talk:Robert McClenon|talk]]) 01:12, 26 May 2024 (UTC)


= May 26 =
== Simple Java animation ==


== Word Autorecovery ==
In Java, I have a button. After I press the button, I want the button to turn red for 1 second, then turn green. I tried changing the color's button to red, waiting for 1 second (Thread.sleep), calling repaint(), changing it back to green, and calling repeat() again inside the button's mouse event listener. However, what happens is that the button does nothing for 1 second, and then turns green; for some reason, the button is never red.


I am using Windows 11, and Word for Microsoft 365. My question has to do with the feature to Save Autorecovery information, which saves a copy of each Word document that is open and has been modified within the past 10 (or other user-settable time) minutes. These Autorecovery files are saved in Appdata \ Roaming \ Microsoft \ Word. However, if I look at them as I am editing various Word documents, sometimes I notice that some of them have sizes of 0 KB. I am attaching a screen shot showing a view of the Word folder with four documents having sizes of 0 KB. These files are in fact null files; that is, the 0 KB is correct. The files that I was editing were not null files.
How do I fix this? This should be the most basic aspect of doing an animation in Java, yet I can't find the information anywhere. --[[Special:Contributions/140.180.3.182|140.180.3.182]] ([[User talk:140.180.3.182|talk]]) 06:52, 13 April 2012 (UTC)
[[File: Listing of Word temporaries.png]]
What causes Word to stop creating good Autorecovery files? What I have found I can do is to stop Word (after saving the documents in question to their disk locations), and restart Word. If there is an unexpected stop or unexpected loss of Word functionality, updates to the documents being edited are lost.
Is there technical documentation of the Autorecovery feature? Does anyone know what causes these failures, or how to minimize their occurrence?
[[User:Robert McClenon|Robert McClenon]] ([[User talk:Robert McClenon|talk]]) 03:36, 26 May 2024 (UTC)


:What follows is a hunch, although based on Microsoft sources. Buried deep in the menus of office is a way to change the autosave location. [https://support.microsoft.com/en-gb/topic/how-word-creates-and-recovers-the-autorecover-files-a33ec235-9d68-cf62-e66a-6a740cf51821] Perhaps this will solve the problem. I base that on hints in this otherwise irrelevant page [https://support.microsoft.com/en-us/topic/you-cannot-save-an-auto-saved-document-without-saving-the-auto-revision-information-when-the-autorecover-feature-is-enabled-in-office-2010-6cd9126a-0ce1-c989-42e5-2f7f12be175d]. It has the phrase "the roaming profile has reached its maximum storage limit". What ''is'' the Roaming directory? It seems to be to do with making user data accessible across a network. Maybe avoiding the "roaming" will also avoid the zero bytes file issue. [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 08:24, 26 May 2024 (UTC)
: Don't call thread.sleep() in an event handler, because you're blocking the event loop. If you're using Swing, use a [http://docs.oracle.com/javase/tutorial/uiswing/misc/timer.html Swing Timer] to schedule a repaint. If you're just using AWT, create your own thread that sleeps, calls repaint, sleeps, etc. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 08:15, 13 April 2012 (UTC)
::Thank you, [[User:Card Zero]]. The sources that you have provided are very old, which I think you knew, but they do provide information for an educated guess, which is what you were trying to do. You ask: {{tq|What ''is'' the Roaming directory?}} That is displayed in the screen shot that occupies too much space just above this discussion. It is a subdirectory of my User directory, and, as you imply, it has something to do with network access, but appears to be an old version of network access. I have changed the directory in which the Autosave is being done,and will see if that accomplishes anything. I think that we are both inferring that what was happening was that the Word subdirectory within the Roaming subdirectory had exceeded some size limit, which would be why the Autorecovery files were being zeroed. You provided some useful information to guess at what to do. [[User:Robert McClenon|Robert McClenon]] ([[User talk:Robert McClenon|talk]]) 16:38, 28 May 2024 (UTC)
:::Yes. A couple of other completely different wild guesses, which I have no time right now to investigate, is that they are lock files (to do with exclusive access to a file in use) or placeholders (when there is no need for an autosave but it is somehow convenient to Word if it can find the appropriate autosave file anyway). Also I really ought to dig the previous similar discussion out of the archives, I forget how it concluded.
:::Update: I searched the archives, and it turns out I was thinking of the saga of normal.dotm, a different problem you had with Word, although similar in that you lost supposedly saved data after a crash (in that case, template settings). [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 20:23, 28 May 2024 (UTC)


== Windows 7 ==
== "dracut"? ==


Will an emachines 3038 run windows 7?--[[Special:Contributions/92.29.200.88|92.29.200.88]] ([[User talk:92.29.200.88|talk]]) 09:32, 13 April 2012 (UTC)
Where does the name of [[dracut (software)]] come from? --[[Special:Contributions/142.112.143.8|142.112.143.8]] ([[User talk:142.112.143.8|talk]]) 04:38, 26 May 2024 (UTC)
:Never mind, I found [https://www.reddit.com/r/linux/comments/dcwb83/where_did_the_name_dracut_come_from/?rdt=37739 a Reddit thread] with the answer. It's named after [[Dracut]]. I once read a novel where the "no resemblance to actual people" disclaimer said that "the characters are placenamed"; apparently some software developers had the same idea. --[[Special:Contributions/142.112.143.8|142.112.143.8]] ([[User talk:142.112.143.8|talk]]) 05:10, 26 May 2024 (UTC)

:Just googled it, unable to find anything. you can check the minimum requirements of Windows 7 on the article [[Windows_7#Hardware_requirements|here]]. <span style="background:#000">[[User:Mr little irish|<font color="Lime">Mr</font>]][[user_talk:Mr little irish|<font color="FFFFFF">little</font>]][[Special:Contributions/Mr little irish|<font color="gold">irish</font>]]</span> 09:58, 13 April 2012 (UTC)

Probably, but if you'd like to know what Microsoft has to say about it, use their [http://windows.microsoft.com/en-us/windows/downloads/upgrade-advisor Windows 7 Upgrade Advisor]. ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 12:57, 13 April 2012 (UTC)

== map tag ==

I'm wondering how can you use map tag with the usemap attribute.
You need to know the coordinates of the image. so my problem is exactly that how do people can do the shapes already knowing all the coordinates?
is there a program for that??? thanks. 12:54, 13 April 2012 (UTC) <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/190.60.93.218|190.60.93.218]] ([[User talk:190.60.93.218|talk]]) </span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->

:Most graphics editors (Photoshop, GIMP, etc.) will give you x and y coordinates you can use for simple rectangular areas, though [http://www.alistapart.com/articles/imagemap/ just using CSS is by far superior] for simple rectangular areas. For complex shapes there are lots of applications for helping you get the coords. The best application by far was [[Adobe ImageReady]], which was removed from the [[Adobe Creative Suite]] after CS2 (and isn't free). There are plenty of free ones, though: http://www.google.com/search?q=image%20map%20editor ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 13:00, 13 April 2012 (UTC)

Awesome! though I was wondering if there is one that supports png, and if also allowed circular and pol coordinates.. but I think I can handle it... Thanks. [[Special:Contributions/190.60.93.218|190.60.93.218]] ([[User talk:190.60.93.218|talk]]) 15:05, 13 April 2012 (UTC)

:They should all support PNG at this point, and ImageReady should as well, but all you really need from them is the HTML with the coords (and the HTML they spit out is usually awful, so really ''just'' the part with the coordinates), you don't actually have to use any image they spit out, you can just use your original image (or a variety of it in any format you like) as long as it's the same dimensions and alignment. All you should need them for is complex polygons — rectangles and circles should be a simple matter of knowing what x/y coordinates you want them at (and then preferably using CSS instead of an image map). ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 15:19, 13 April 2012 (UTC)

== RSS reader that syncs between computer and iOS without Google Reader ==

Is there such thing? As in a cross-platform RSS reader that deletes stories that I deleted from my feed on my iPad as well when I do so on my computer? I know it's possible from Google Reader, but I don't use this interface for reading on my desktop, as I prefer specialised programs. Even so, I don't think Google Reader syncs the actual messages in feed inboxes. However, it's already possible for e-mail. [[Special:Contributions/96.21.250.92|96.21.250.92]] ([[User talk:96.21.250.92|talk]]) 15:40, 13 April 2012 (UTC)

:If I understand you correctly, that feature is built in to Safari. Use the [http://www.apple.com/safari/whats-new.html Reading List]. "Whenever you come across something interesting on the web, [http://www.apple.com/safari/whats-new.html save it to Reading List]. iCloud keeps your Reading List up to date on all your devices, including your iPhone, iPad, and iPod touch." On your Mac, use the [http://www.apple.com/safari/features.html RSS Unread Indicator] - "Choose “Highlight unread articles” in Safari RSS preferences, and Safari will distinguish between read and unread articles, highlighting items you haven’t read." Does that help? [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 18:29, 13 April 2012 (UTC)
:NetNewsWire and Reeder both sync with Google Reader and both work on iOS and OS X. I don't remember any desktop RSS readers for Windows that sync with Google Reader off the top of head, but I know they exist. [[Special:Contributions/206.131.39.6|206.131.39.6]] ([[User talk:206.131.39.6|talk]]) 15:34, 16 April 2012 (UTC)

== unicode and alt code ==

How can I type in unicode directly from a keyboard? And, is there any list of alt code that I can check easily? Thanks for answering![[User:Naiveandsilly|Naiveandsilly]] ([[User talk:Naiveandsilly|talk]]) 15:57, 13 April 2012 (UTC)

: [[Unicode input]] -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 16:07, 13 April 2012 (UTC)

How about the second question about list of alt code? Thanks! ––[[User:Naiveandsilly|Naiveandsilly]] ([[User talk:Naiveandsilly|talk]]) 06:20, 14 April 2012 (UTC)

:http://alt-codes.org/list/ - [[User:Cucumber Mike|Cucumber Mike]] ([[User talk:Cucumber Mike|talk]]) 11:38, 14 April 2012 (UTC)

: Without knowing what kind of characters you are looking for, a fairly complete list can also be found here [[Plane (Unicode)]]. Since you intend to use the alt-codes on a keyboard you would however have to transform these [[Hexadecimal|hex numbers]] into decimal numbers first. -[[User:Laniala|Laniala]] ([[User talk:Laniala|talk]]) 13:14, 14 April 2012 (UTC)


Thanks for helping. It seems[http://alt-codes.org/list/ this] isn't a comprehensive one.--[[User:Naiveandsilly|Naiveandsilly]] ([[User talk:Naiveandsilly|talk]]) 07:27, 15 April 2012 (UTC)

== iPad/iPhone ==

Can I use either charger for either of the above please?--[[Special:Contributions/85.211.216.235|85.211.216.235]] ([[User talk:85.211.216.235|talk]]) 19:21, 13 April 2012 (UTC)
:Almost, but not quite. If you have an [[iPad]] charger, you're fine with both. However, an [[iPhone]] charger will only charge the iPad slowly if at all ([[Trickle charging]] may be a relevant article). Sources: http://terrywhite.com/techblog/charging-your-ipad-what-you-should-know/ https://discussions.apple.com/thread/2580579?start=0&tstart=0 - [[User:Cucumber Mike|Cucumber Mike]] ([[User talk:Cucumber Mike|talk]]) <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|undated]] comment added 19:53, 13 April 2012 (UTC).</span><!--Template:Undated--> <!--Autosigned by SineBot-->

::Thanks for this and the link.--[[Special:Contributions/85.211.216.235|85.211.216.235]] ([[User talk:85.211.216.235|talk]]) 06:18, 14 April 2012 (UTC)

== greasemonkey javascript ==
{{resolved}}
{{resolved}}
In [[greasemonkey]] javascript, I want to automatically open all links on a page which contain <font color=red>''&number=''</font> into new tabs. I know almost nothing about javascript. So far I have found the following code with google;

<pre>
GM_openInTab("http://www.google.com/");
</pre>
This opens <nowiki>http://www.google.com/</nowiki> in a new tab. Now I just need to find a way to parse a page for links and feed them into GM_openInTab. I have no idea how to do this. Any help would be greatly appreciated. Thank you! [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 20:55, 13 April 2012 (UTC)

:It seems like doing this might open so many tabs it takes down your browser and maybe computer, so I'd add a limit to the number it opens. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 05:16, 14 April 2012 (UTC)
::The page has at most 50 links which match <font color=red>''&number=''</font> so it shouldn't be a problem. I've opened 200 tabs before and been okay [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 10:26, 14 April 2012 (UTC)

::: It makes matters much easier if you can post a link to the page(s) in question. [[Special:Contributions/87.115.132.208|87.115.132.208]] ([[User talk:87.115.132.208|talk]]) 10:46, 14 April 2012 (UTC)
::::The links are like this in the html
{{collapse top}}
<pre>
<a href="?mode=page&number=1"> 1 </a><br>
<a href="?mode=page&letter=a"> a </a><br>
<a href="?mode=page&number=2"> 2 </a><br>
<a href="?mode=page&letter=b"> b </a><br>
<a href="?mode=page&number=3"> 3 </a><br>
<a href="?mode=page&letter=c"> c </a><br>
<a href="?mode=page&number=4"> 4 </a><br>
<a href="?mode=page&letter=d"> d </a><br>
<a href="?mode=page&number=5"> 5 </a><br>
<a href="?mode=page&letter=e"> e </a><br>
<a href="?mode=page&number=6"> 6 </a><br>
<a href="?mode=page&letter=f"> f </a><br>
</pre>
{{collapse bottom}}
::::I only want to open the <font color=red>''&number=''</font> ones into new tabs. [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 12:02, 14 April 2012 (UTC)

: Try this:
<source lang="javascript">
// ==UserScript==
// @name opennumberlinks
// @namespace http://foohost
// @description Open all links on the page (in new tabs) where the link contains "&number="
// @include http://foohost/index.html
// ==/UserScript==
var elems = document.getElementsByTagName("a");
for (var e in elems) {
var s = elems[e].href;
if (s.indexOf("&number=") !== -1) {
GM_openInTab(s);
}
}
</source>
: You'll need to change the @namespace and @include lines as necessary. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 17:28, 14 April 2012 (UTC)
::Thank you! I tested it and it doesn't seem to work though, the error console in Firefox says "Error: s has no properties". I'm not sure what this means [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 18:36, 14 April 2012 (UTC)
::: It works okay in the example you gave. If you can't link to the real thing, I'm afraid you'll either have to teach yourself Javascript, or hire someone who already can. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 19:32, 14 April 2012 (UTC)
:::: I understand. Thank you for the help anyway. [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 20:32, 14 April 2012 (UTC)
::::: I just worked out what the problem was; I am using an old version of Greasemonkey and GM_openInTab wasn't introduced until a later version. It works perfectly on the current versions. Thank you very much for your help! [[Special:Contributions/82.45.62.107|82.45.62.107]] ([[User talk:82.45.62.107|talk]]) 20:36, 14 April 2012 (UTC)

= April 14 =

== Calendar for a Facebook Group? ==

Is there a calendar app in Facebook for members of a group to share, so they can all see upcoming events relevant to the group all in one place? [[User:HiLo48|HiLo48]] ([[User talk:HiLo48|talk]]) 05:34, 14 April 2012 (UTC)
:Group members can create events... Would that suit your purposes? <span style="font-family:monospace;">[[User:Dismas|Dismas]]</span>|[[User talk:Dismas|<sup>(talk)</sup>]] 05:48, 14 April 2012 (UTC)
::I'm thinking more of something that actually looks like a calendar or diary, where a group member could look to see what's scheduled on a particular date. [[User:HiLo48|HiLo48]] ([[User talk:HiLo48|talk]]) 06:06, 14 April 2012 (UTC)
:::What about [[Google Calendar]] instead? [[User:CambridgeBayWeather|CambridgeBayWeather]] ([[User talk:CambridgeBayWeather|talk]]) 15:51, 14 April 2012 (UTC)
::::Yes, thanks for that suggestion. I use Google Calendar personally, and find it very good, but I don't know how I'd go getting the group to use it. It's a group of teenagers, and it's hard enough getting them to communicate ''effectively'' on Facebook, the tool one would think would be their favourite. [[User:HiLo48|HiLo48]] ([[User talk:HiLo48|talk]]) 20:58, 14 April 2012 (UTC)

== Free software for adding accompaniment to music ==

Are there free software applications for adding accompaniment to (written) music? What I'm looking for is a program that, when given a simple (monophonic) melody, would "dress it up" with accompaniment and output printed scores. The added accompaniment doesn't need to be great artistically—I'd be happy with something that an average non-music-enthusiast would consider "decent". Are such programs available? --[[Special:Contributions/173.49.16.167|173.49.16.167]] ([[User talk:173.49.16.167|talk]]) 15:58, 14 April 2012 (UTC)
:Here's some C code that may do the job. [[http://uk.search.yahoo.com/r/_ylt=A7x9QbyIJYtPf3IAdWBLBQx.;_ylu=X3oDMTByazUxbmZ2BHNlYwNzcgRwb3MDMwRjb2xvA2lyZAR2dGlkAw--/SIG=13mal4rj4/EXP=1334547976/**http%3a//www.cs.bath.ac.uk/~mdv/courses/CM30082/projects.bho/2004-5/StephenJeremyRoberts-2004-05.pdf]]--[[Special:Contributions/78.148.136.55|78.148.136.55]] ([[User talk:78.148.136.55|talk]]) 19:51, 15 April 2012 (UTC)

== Keeping track of changes ==

New to web programming, so probably a silly question. I've got this site of 100 files written (not by me) in PHP/HTML/MySQL/javascript/css (so fairly standard I guess). I am doing some changes to it, adding/removing features and such. It would be good if there was a tool or program that would keep track of my edits and would allow me to associate several edits (potentially in different files and different "languages") with a "purpose", e.g. "feature A added" corresponds to the following modifications; "feature B removed" corresponds to the following modifications, etc. Presently I am trying to keep track of changes using diff and adding comments in the code. Does such a tool/program exist and if yes, what is it called? It should run on linux and be ideally free. [[User:Bamse|bamse]] ([[User talk:Bamse|talk]]) 17:04, 14 April 2012 (UTC)

:You want a [[:category:text editors|text editor]] with a built-in [[:category:revision control systems|version control system]] or simply the capacity to otherwise utilize a separate version control system. They tend to be called [[:category:integrated development environments|integrated development environments]] the more features they include. Solutions abound. ¦ [[User:Reisio|Reisio]] ([[User talk:Reisio|talk]]) 17:08, 14 April 2012 (UTC)

::Yes, what you want is [[version control]]. [[Subversion]] is a popular open-source standard. You make changes in your 39 files, and then "check them in" to the server with a comment letting yourself and the other coders on your product (if any) know the purpose of the changes. Another large benefit is that it's easy to rewind to the previous checkin if necessary. [[User:Comet Tuttle|Comet Tuttle]] ([[User talk:Comet Tuttle|talk]]) 19:06, 14 April 2012 (UTC)

:::Thanks. I will look into it. (That link should go to [[Apache Subversion]], I guess!?) [[User:Bamse|bamse]] ([[User talk:Bamse|talk]]) 21:22, 14 April 2012 (UTC)

::::Note that you can also do this without special software. Just copy all the source code into a new folder, and make your modifications in that folder, and name the folder accordingly. This will take up more space, but these day disk drive space is so cheap that it's not much of an issue.

::::As far as modifications within each folder, where you change each source file multiple times, you can copy each file, within the folder, and give a version number to each. So, FUBAR.cpp.3.2.1, for example. (You need to strip the version number off the current one, though, so the compiler will find it.) You should also put comments in each source code file describing each modification. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 22:08, 14 April 2012 (UTC)

:::::Thanks for the reply, but that seems like what I had been doing so far, i.e. a lot of manual work to keep track of changes. I have looked into subversion and it seems to do what I want. [[User:Bamse|bamse]] ([[User talk:Bamse|talk]]) 06:30, 15 April 2012 (UTC)

::::::OK, but beware of any version control system which takes control away from you. That is, if the company goes out of business and/or you can't get an upgrade to work with a new version of the O/S, compiler, etc., will you be able to access all the old versions still ? [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 17:22, 15 April 2012 (UTC)

:You might also consider [[Git_(software)|Git]]. --[[User:Phil Holmes|Phil Holmes]] ([[User talk:Phil Holmes|talk]]) 10:56, 15 April 2012 (UTC)

Above are listed several [[version control system]]s. In addition, you may also want a [[bug tracker]] - a related software tool to help manage the entire cycle of software engineering changes, from diagnosing a problem, tracking its root-cause, and associating it with code or configuration changes. Some bug-trackers are tightly integrated with version-control systems, while others are totally separate software; it's somewhat of a stylistic preference regarding your workflow. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 16:09, 15 April 2012 (UTC)

Thanks a lot for all those replies. One more question, can any of those tools also track changes in a MySQL database, say if I add/drop columns or tables as part of the development process? [[User:Bamse|bamse]] ([[User talk:Bamse|talk]]) 21:17, 15 April 2012 (UTC)
::When I program databases, I always create a script that can autogenerate all the tables for a brand-new fresh copy of the database. I check that script into my source code repository. The hope is that if I had to start from scratch, I could quickly create the database structure from a clean install; and then import the rows (data) from backup; and then start running my server logic, and nobody would know I just purged the database, aside from the downtime. Changes to the database structure can be tracked using this "initialization" script, using SVN, just like any other source file. [http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html MySQL supports scripting], as does PostGRE, IBM DB2, and so on.
::If for some reason this is not an option, you can track changes manually in a bug tracker. Or, if you ''really'' want to be an Enterprise Class Computing Consultant, consider the [http://www-01.ibm.com/software/tivoli/products/config-mgr/ IBM Tivoli Configuration Manager] and [http://www-01.ibm.com/software/tivoli/products/ccmdb/ Tivoli Change and Configuration Management Database]. Nothing says "massive infrastructure" like putting your database configuration into another database, except ''using a commercial database to manage changes to your configuration database.'' You can't ''get'' any more massively redundant, ''unless you also shell out for a [http://www-01.ibm.com/software/tivoli/products/composite-application-mgrproductline/ Tivoli Composite Application Manager] to manage changes to the Change And Configuration Management Database.'' Unfortunately, these tools are not free, and I am not aware of free software equivalents. <small>But let's face reality: if your database is running on a [http://www-03.ibm.com/systems/z/hardware/zenterprise/z196_specs.html water-cooled z196 with three thousand gigabytes of RAM], you ain't gonna be running "free software." </small>[[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 14:57, 16 April 2012 (UTC)
:::Thanks for the reply. I think I will go with the free solution... In fact there already seems to be scripts among the code for generating the database. I was just too lazy to update them. But perhaps I can export the database and start from there. [[User:Bamse|bamse]] ([[User talk:Bamse|talk]]) 19:32, 16 April 2012 (UTC)

== Patterns ==

What are those square 'digital' patterns found on magazines and some posters saying 'scan me for more info'. How do they work and how do i reads them--[[Special:Contributions/78.150.233.18|78.150.233.18]] ([[User talk:78.150.233.18|talk]]) 18:14, 14 April 2012 (UTC)

: Probably [[QR code]]s, or one of the similar 2d barcodes linked from that article. Ones used in print or billboard advertising usually encode [[URL]]s. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 18:27, 14 April 2012 (UTC)

::Just to save having to look, they are designed to be read by pointing the camera of a smartphone at them. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 00:33, 15 April 2012 (UTC)

== iPhone call forwarding question ==

If I set iPhone A to forward calls to the number of iPhone B, and set iPhone B to forward calls to the number of iPhone A, and then call A from a third phone, will either ring? Will either's messaging service pick up, or will they go back and forth in a sort of infinite loop? [[Special:Contributions/69.243.220.115|69.243.220.115]] ([[User talk:69.243.220.115|talk]]) 23:47, 14 April 2012 (UTC)

= April 15 =

== "Most wanted articles" for Crimean Tatar Wikipedia ==

Hi, does anyone know a simple way to create a [[Wikipedia:Most wanted articles]]-type list of most linked-to articles for another language version, specifically the [[:crh:Baş Saife|Crimean Tatar Wikipedia]]? Here's the [http://dumps.wikimedia.org/crhwiki/ database dump], but I have no idea how to go from there. [[User:Lesgles|Lesgles]] <small>([[User_talk:Lesgles|talk]])</small> 03:48, 15 April 2012 (UTC)

== Excel help ==
I want to sum a range of numbers, but I want the input to be controlled by another cell. I mean instead of say SUM(A1:A3) I want SUM(x, y), where x and y are cell positions that will have the details of the cells to be summed. [[Special:Contributions/159.92.119.242|159.92.119.242]] ([[User talk:159.92.119.242|talk]]) 18:45, 15 April 2012 (UTC)

:You can use <code>=SUM(INDIRECT(</code> '''X''' <code>&":"&</code> '''Y''' <code>))</code>, then in cells '''X''' and '''Y''', put text that mentions the start and end cells you want. The <code>&</code> operator concatenates text. The <code>INDIRECT</code> function takes a piece of text and returns the cell reference mentioned in the text. --[[User:Bavi H|Bavi H]] ([[User talk:Bavi H|talk]]) 19:16, 15 April 2012 (UTC)

= April 16 =

== Name of principle: "every lineal work can be copied" ==

Principle says that works line audio, films and ebooks can always be copied somehow. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:XPPaul|XPPaul]] ([[User talk:XPPaul|talk]] • [[Special:Contributions/XPPaul|contribs]]) 00:48, 16 April 2012 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->


= May 27 =
: You might be looking for the [[Analog hole]]. [[User:RudolfRed|RudolfRed]] ([[User talk:RudolfRed|talk]]) 01:14, 16 April 2012 (UTC)
::We also have an article on [[serialization]] and [[serializability]], which have several related meanings in computer science and software engineering. For example, in Java an object must implement the Serializable interface to satisfy your requirement; some objects intentionally ''are not'' serializable, which means that no valid Java program can manipulate that object as a stream of bytes. (So, to construct an algorithm, analog-hole or otherwise, that is capable of copying such an object, you would need to use something other than a Java program). Compare to a ''serializable'' object (or document), for which a simple trivial function can directly copy the byte representation; this is ''defined'' to be an exact copy for an object implementing the interface.
::Databases use serialization to manage concurrency; this is particularly important if the data is being modified by many processes. So, to generalize the principle, you must account for transactions on changing serializeable data, as well as on constant objects. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 14:18, 16 April 2012 (UTC)


== Ringtones for different known callers ==
== iFrame ==


[[Ringtone]] doesn't seem to mention that this is possible but I think it is. I tried finding sources but found nothing that Wikipedia would accept, and even then, nothing seemed to make it clear the concept even existed.— [[User:Vchimpanzee|<span style="color:#070">Vchimpanzee</span>]]&nbsp;• [[User talk:Vchimpanzee|<span style="color:#aa4400"> talk</span>]]&nbsp;• [[Special:Contribs/Vchimpanzee|<span style="color:#700">contributions</span>]]&nbsp;• 22:36, 27 May 2024 (UTC)
I'm creating a single HTML document ("ComboBKMK.html") with multiple iFrames, containing multiple separate HTML documents with links within. However, when I click a link in any iFrame, it opens in that specific iFrame instead of "in" ComboBKMK.html like any other non-iFrame'd link would. Is there any way to get it to use the ComboBKMK.html instead when clicking the links? -- [[User:Tohler|Tohler]] ([[User talk:Tohler|talk]]) 00:54, 16 April 2012 (UTC)
:Seems like that is part of the functionality of the software of the phone (iOS/Android), not part of the ringtone itself. [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 04:11, 28 May 2024 (UTC)
:The best place to propose an improvement to any article is the talk page of that article. [[User:Shantavira|Shantavira]]|[[User talk:Shantavira|<sup>feed me</sup>]] 08:13, 28 May 2024 (UTC)
:As mentioned, it is the phone's software, not the concept of a ringtone. On my phone, I can go into my contact list, select a contact, and set both an image and a ringtone for that contact. Then, when I receive a call from that number, the image I set shows up and the ringtone I set plays. If I haven't set either one, the default image and ringtone are used. So, it is possible to have a ringtone for a specific contact on a phone if the software allows it. It is also possible to have a different ringtone on different phones. It is possible to have a ringtone that plays when you purchase the phone, but then a person changes it later to a different one. It is possible to play a ringtone on a piano without a phone at all. It is possible that a frog may learn to vocalize sounds that mimic a ringtone. A lack of references should indicate that concept of "possible" and "ringtone" is not in itself notable (but I would like to see that frog). [[Special:Contributions/12.116.29.106|12.116.29.106]] ([[User talk:12.116.29.106|talk]]) 11:20, 28 May 2024 (UTC)
::I can't really propose an improvement where I don't have the reliable sources that would support it. That was my purpose in asking here.— [[User:Vchimpanzee|<span style="color:#070">Vchimpanzee</span>]]&nbsp;• [[User talk:Vchimpanzee|<span style="color:#aa4400"> talk</span>]]&nbsp;• [[Special:Contribs/Vchimpanzee|<span style="color:#700">contributions</span>]]&nbsp;• 14:30, 28 May 2024 (UTC)


= May 28 =
:Figured it out; what needs to be done is add (target="_parent") to each individual link. In my case a simple find and replace of (">) to (" target="_parent">) worked. -- [[User:Tohler|Tohler]] ([[User talk:Tohler|talk]]) 07:14, 16 April 2012 (UTC)


== How to search for fake references (in SparQL or with other methods) ==
== What is this cable I see before me? ==


In SparQL, how can I search for stuff like [https://en.wikipedia.org/w/index.php?title=DiDi&diff=prev&oldid=1226018071 this]. So it would start with an opening square bracket, then a number of up to 3 digits, then a closing square bracket.
I have here a couple of cables with a [[USB]] Mini B connector on one end, perhaps a meter of wire, and two male 3.5mm [[TRS connector]]s on the other end. The TRS connector housing is colored pastel pink and green and labeled "MIC" and "SPK", respectively. What makes this truly bizarre is I have two of them and don't recall any application for them. Any idea what they're for? -- [[User:Ke4roh|ke4roh]] ([[User talk:Ke4roh|talk]]) 01:00, 16 April 2012 (UTC)


:My guess would be a [[headset (audio)]] which accepts a USB mini B connector. The other ends would plug into the computer. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 01:02, 16 April 2012 (UTC)
Is there a way to do this via the normal search box? Is there another, better way? Thanks! [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 04:07, 28 May 2024 (UTC)


:I'm not familiar with SparQL, but a regular expression that will serve for a search in most query pattern syntaxes is:
::[http://www.google.com/search?hl=en&q=usb+3.5mm+adaptor&oq=usb+3.5mm+adaptor Just a simple plug-and-play 3.5mm adaptor]. --[[User:Wirbelwind|Wirbelwind<small>ヴィルヴェルヴィント</small>]]&nbsp;([[User_talk:Wirbelwind|talk]]) 22:10, 16 April 2012 (UTC)
::<code>\[[0-9]+\]</code>
:Thus will also match "[2024]". If 3 is a hard limit on number of digits, this might work:
::<code>\[([1-9]|[1-9][0-9]|[1-9][0-9][0-9])\]</code>
:&nbsp;--[[User talk:Lambiam#top|Lambiam]] 10:13, 28 May 2024 (UTC)
:::Thank you. I think that the problem is that the article content itself is not on Wikidata, which means I have to try a different approach. It seems like the search function also does not like regex. So I may have to download a dump and use regex. [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 11:24, 28 May 2024 (UTC)


:::We know what it is, just need to know what it might have been used for. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 23:11, 16 April 2012 (UTC)


= May 30 =
== Strange crash in 3D Studio Max ==


== What Programming Language Is This? (1998) ==
Hmm, haven't done much tomfoolery with my system, but all of a sudden I end up getting crashes on Max upon starting it up. Even if I uninstall Max 2011, clean up registry entries, and downgrade to 2010, the error still shows up. The [http://pastebin.com/uVHfRetW crash dump] seems to have some references to the .NET [[Common Language Runtime]], assemblies and other such stuff. As much as I would like to reinstall Windows I'm afraid I'm not that arsed enough due to the amount of work I had to do just to reconfigure things. Can anyone help me figure this thing out? [[User:Blakegripling ph|Blake Gripling]] ([[User talk:Blakegripling ph|talk]]) 06:56, 16 April 2012 (UTC)


[[File:Millennium-S03E03.png|thumb]]
:Have you tried starting from scratch? Can you give us an idea as to what you are trying to do? <span style="background:#000">[[User:Mr little irish|<font color="Lime">Mr</font>]][[user_talk:Mr little irish|<font color="FFFFFF">little</font>]][[Special:Contributions/Mr little irish|<font color="gold">irish</font>]]</span> 14:21, 16 April 2012 (UTC)
I was watching TV the other day and they showed a computer screen with code on it. Normally, I rewind the program to see what language they are using. However, I came across a language I don't recognize. It looks like they are using # signs for comments, CIF to terminate IF blocks, == for testing equality, & and | for compound conditions, = for assignment and maybe line numbers for a couple lines. The TV show was from 1998. What programming language is this? [[User:A Quest For Knowledge|A Quest For Knowledge]] ([[User talk:A Quest For Knowledge|talk]]) 10:15, 30 May 2024 (UTC)


:So the oddest part about the language appears to be that it uses indentation for structure, which is known as the [[off-side rule]]. That article has a list of potential candidates, but I had a look through and wasn't able to find what's in the image. ―<span style="font-family:Poppins, Helvetica, Sans-serif;">[[User:Panamitsu|Panamitsu]]</span> [[User_talk:Panamitsu|(talk)]] 11:51, 30 May 2024 (UTC)
:I suspect that the bug isn't in 3D Studio Max, but only manifested there first. Perhaps it was the first chunk of code to try to access the .NET routine which is now bad. How did it go bad ? Perhaps a single bit error on the disk on which it is stored ? Unfortunately, if this is the case, you may need to do a disk scan first, which will cordon off the bad sector(s), then reload the O/S. However, once sector's start going bad on a disk, the problem tends to spread. So, if bad sectors are found, you might want to get a new disk for the O/S. The old disk could still be used, but for less critical things, like storing music, pics, or movies. A single bit error may not even be noticed there. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 15:18, 16 April 2012 (UTC)
::I've just noticed your remark about CIF, sorry. ―<span style="font-family:Poppins, Helvetica, Sans-serif;">[[User:Panamitsu|Panamitsu]]</span> [[User_talk:Panamitsu|(talk)]] 11:56, 30 May 2024 (UTC)
::Windows did scan the drives before, but so far there weren't any bad sectors detected, only unlinked or orphaned files. [[User:Blakegripling ph|Blake Gripling]] ([[User talk:Blakegripling ph|talk]]) 23:30, 16 April 2012 (UTC)
:The code snippet deals with astronomical coordinates and a "beam", which suggests to me that this has to do with radio astronomical data (nothing to do with the story I guess). Some of the statements look like Fortran. The slashes suggested something like [https://www.eso.org/sci/software/esomidas/doc/everything.html ESO-MIDAS], but that doesn't have CIF. In fact, I haven't found anything using CIF, but maybe I've just hit the limits of my google foo. --[[User:Wrongfilter|Wrongfilter]] ([[User talk:Wrongfilter|talk]]) 12:24, 30 May 2024 (UTC)
:Looks like a newer variant of [[FORTRAN]]. If the C of CIF is in the first column then it's a comment. [[User:Graeme Bartlett|Graeme Bartlett]] ([[User talk:Graeme Bartlett|talk]]) 12:47, 30 May 2024 (UTC)[[File:Screenshot of programming language 2.png|thumb]]
Here's a second screenshot. Unfortunately, there's some ghosting in the image but you can see that there are nested CIF's. [[User:A Quest For Knowledge|A Quest For Knowledge]] ([[User talk:A Quest For Knowledge|talk]])
:: I think I've found it, or at least I've made a development. I've found a language called Cola ( COntrol LAnguage for use with Hermes)[https://www.atnf.csiro.au/computing/software/gipsy/articles/gipsypaper.html] which was created(?) in 1994. [https://www.atnf.csiro.au/computing/software/gipsy/tsk/cola.c Here] appears to its source code. It is part of some project called the Groningen Image Processing System which "is a highly interactive software system for the reduction and display of astronomical data," which falls in line with {{U|Wrongfilter}}'s comment. It has the CIF and also CFOR (my guess is the C stands for close), and generally looks similar, except I can't find anything about what symbols are used to make comments. ―<span style="font-family:Poppins, Helvetica, Sans-serif;">[[User:Panamitsu|Panamitsu]]</span> [[User_talk:Panamitsu|(talk)]] 12:30, 31 May 2024 (UTC)
:::Excellent! It seems to me that [https://www.astro.rug.nl/~gipsy/tsk/cola.dc1 cola] uses exclamation marks for comments, but otherwise it is very close. This seems to be based on [https://www.atnf.csiro.au/computing/software/gipsy/sheltran/index.html sheltran], which as far as I understand was a sort of pre-processor for Fortran 77 to allow for a more structured coding style. Makes you wonder how the makers of that TV series found that piece of code. --[[User:Wrongfilter|Wrongfilter]] ([[User talk:Wrongfilter|talk]]) 13:02, 31 May 2024 (UTC)


== Help with text ==
== How to create an [[Alternative DNS root]] ==


Hi, i'm trying to create a [[commons:Commons:Categories_for_discussion/2024/05|Category for discussion request]] on Wikimedia Commons but i need to do some work on the proposal itself before i can publish it. Could anyone help me out? I'll much rather ask here than on Commons since the response time here is much faster.
I'm having difficulty finding a guide or in fact any substantial information on the subject. I know that people have done it, and I also know it can't be *that* terribly hard or expensive to do. Could anyone give me some pointers?--[[User:Newbiepedian|Newbiepedian]] ([[User talk:Newbiepedian|Hailing Frequencies]]) 12:06, 16 April 2012 (UTC)
:It can be done with free software. Simply set up a [[BIND]] server, and do not configure it to resolve to any commercial internet service provider or other root DNS server... consult, e.g., the [http://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/Bv9ARM.ch01.html#id2567559 BIND Administrator Reference Manual] for information on setting up the server in various roles, including as a root server. Direct your clients to use your server as their DNS server: configure any clients, including individual host PCs, routers, gateways, and DHCP servers, to point at your nameserver, as appropriate for your network configuration. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 14:05, 16 April 2012 (UTC)


The raw text to the CfD can be found on https://pastebin.com/cEaWgU6R [[User:Trade|Trade]] ([[User talk:Trade|talk]]) 17:10, 30 May 2024 (UTC)
== Javascript in body ==
Basically the things i need to do is the following:


* Remove all duplicate entries
Is there any limitation or thing to consider when using the <nowiki><script></nowiki> tag to use javascript within the <nowiki><body></body></nowiki> tags of a html page? Can it be nested into form or table tags? Are there things that may not allow it to work correctly? [[User:Cambalachero|Cambalachero]] ([[User talk:Cambalachero|talk]]) 14:21, 16 April 2012 (UTC)
* Remove all " (<number> C)" and everything in between them (including the space in front)
:Like many JavaScript questions, the answer will depend on ''who you want to run the JavaScript.'' See [https://developer.mozilla.org/en/JavaScript/About_JavaScript Mozilla's "About JavaScript"] for an introduction. Most modern web browsers will parse javascript code anywhere, including inline within HTML elements. Microsoft provides great documentation for [http://msdn.microsoft.com/en-us/library/ie/hh869303(v=vs.85).aspx JavaScript in Internet Explorer]. Apple provides a developer reference for Safari, e.g., [http://developer.apple.com/library/safari/ipad/#home here], and elsewhere on the developer page; [http://developer.apple.com/library/safari/ipad/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/WebKitJavaScript.html WebKit, JavaScript, and the DOM] applies to many other browsers and environments that also use WebKit. There are lots of idiosyncrasies in various JavaScript implementations, and browser applications: there are many other ways that users can load an HTML page. For example, I often view pages in [[Lynx (browser)]], so I can read the scripts without executing them. So, it doesn't matter ''where'' the script is; I won't always run it. I may also load your HTML page within an iOS app as a WebKit view; or on my Mac in DashBoard, or any number of other places. If you expect that your HTML should appear properly, you need your script to behave well in all of these environments. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 14:38, 16 April 2012 (UTC)
* Start each entry with <nowiki>":[[:Category:" and end each entry with "]]"</nowiki>
There are probably some way to automate it but as i said i have no clue how--[[User:Trade|Trade]] ([[User talk:Trade|talk]]) 17:19, 30 May 2024 (UTC)


:I've created a subpage [[:commons:User:Trade/CfD Cristal|User:Trade/CfD Cristal]] on Wikimedia Commons – a much easier collaborative communication channel than PasteBin. I have fixed numerous issues (mainly lack of whitespace or the wrong case) that resulted in redlinks. CfD listings of multiple entries commonly use <code>*</code>; therefore I have not replaced <code>*</code> by <code>:</code>.
== IE8 Print Preview ==
:The usual terminology is to <u>merge</u> categories (such as [[:commons:Category:RED ƎYE Pictures logos|Category:RED ƎYE Pictures logos]]) into target categories (such as [[:commons:Category:RED ƎYE Pictures logos|Category:RED ƎYE logos]]), which means all category members get reassigned to the target category. So instead of
::(Move all the images into "[[:commons:Category:RED ƎYE logos|Category:RED ƎYE logos]]")
:you might want to use
::Merge the following categories into [[:commons:Category:RED ƎYE logos|Category:RED ƎYE logos]]:
:I have left your wording unchanged, though. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 08:53, 31 May 2024 (UTC)
::Appreciated [[User:Trade|Trade]] ([[User talk:Trade|talk]]) 00:42, 1 June 2024 (UTC)


Hello. Is it possible to tweak Internet Explorer 8 so, when I select a body of text and ask for a print preview, it automatically shows "as selected on screen"? Thanks in advance. --[[User:Mayfare|Mayfare]] ([[User talk:Mayfare|talk]]) 14:31, 16 April 2012 (UTC)
:I'm not sure if you can set it as default, however when you select text, go to print preview, you are able to preview the selected body at the top of the window. Click the dropdown that says 'As displayed on screen', to 'As selected on screen'. Hope this helps you. <span style="background:#000">[[User:Mr little irish|<font color="Lime">Mr</font>]][[user_talk:Mr little irish|<font color="FFFFFF">little</font>]][[Special:Contributions/Mr little irish|<font color="gold">irish</font>]]</span> 15:44, 16 April 2012 (UTC)


= June 1 =
== Setting up php in Nnginx in windows 7 ==


== C++ array initialization ==
I'm currently receiving a "No input file specified error". I really have no clue how does excatcly work. Though I will provide details


Let's say I allocate a new array
My current php configuration in nginx,conf is this <pre>location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
include fastcgi_params;
}</pre>


:<code>std::array<int,10> *x = new std::array<int,10>;</code>
I got the nginx folder like this
<pre>*Nginx
--nginx.exe
-*html
---index.htm
---Example.php
-*conf
---nginx.conf
---fastcgi.conf
---start-nginx.bat (The command for starting php-cgi is: start c:\nginx\php\php-cgi.exe -b 127.0.0.1:9000 -c c:\nginx\php\php.ini)
-*php
---php-cgi.exe
---php.ini
(I'm not putting all of the files of course)
</pre>
I don't know why isn't working.. I'm hoping maybe you could help me.
Thanks <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/190.60.93.218|190.60.93.218]] ([[User talk:190.60.93.218|talk]]) 15:33, 16 April 2012 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->


Considerable head scratching at cppreference.com doesn't tell me whether this array's elements are guaranteed to be initialized to 0. Experimentally they do seem to be, but that could be accidental. In C, of course, int x[10]; makes an array that is uninitialized. Does anyone know? Thanks. [[Special:Contributions/2601:644:8501:AAF0:0:0:0:1ECE|2601:644:8501:AAF0:0:0:0:1ECE]] ([[User talk:2601:644:8501:AAF0:0:0:0:1ECE|talk]]) 05:14, 1 June 2024 (UTC)
:<pre>fastcgi_param SCRIPT_FILENAME ./html/$fastcgi_script_name;</pre>
:Cplusplus.com [https://cplusplus.com/doc/tutorial/arrays/ says] {{tqi|By default, regular arrays of local scope (for example, those declared within a function) are left uninitialized. This means that none of its elements are set to any particular value}}. I don't know what happens in a global scope. ―<span style="font-family:Poppins, Helvetica, Sans-serif;">[[User:Panamitsu|Panamitsu]]</span> [[User_talk:Panamitsu|(talk)]] 06:33, 1 June 2024 (UTC)
:[[Special:Contributions/AvrillirvA|AvrillirvA]] ([[User talk:AvrillirvA|talk]]) 22:17, 16 April 2012 (UTC)
::In C, a global array is initialized to zero. (Reference: [[The C Programming Language (book)|K&R]], or the latest C standard.) I think C++ works the same way: [https://www.learncpp.com/cpp-tutorial/introduction-to-global-variables/ this page from learncpp.com] says "Global variables have static duration" and, later, "Unlike local variables, which are uninitialized by default, variables with static duration are zero-initialized by default." This is not very official C++ reference, but has the advantage of actually telling us the answer. And our [[compatibility of C and C++]] article says various things about arrays, but nothing to contradict that the languages work the same in this respect. [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 07:44, 1 June 2024 (UTC)
:::A std::array is '''not''' a C-style array. It acts similarly in many ways but has some differences.{{pb}}The [https://en.cppreference.com/w/cpp/container/array std::array constructor] follows the rules of [https://en.cppreference.com/w/cpp/language/aggregate_initialization aggregate initialization]. But if there is no initializer list (in braces), [https://en.cppreference.com/w/cpp/language/default_initialization default initialization] is used. The std::array constructor reference linked above says "{{tq|note that default initialization may result in indeterminate values for non-class T}}", and the default initialization reference linked above clarifies that POD types ("plain old data", like int) are uninitialized by default initialization. So for a std::array<T> created without an initialization list, the elements are uninitialized if T is a POD type. If T is a non-POD class, the elements would be initialized with their default constructor. [[User:CodeTalker|CodeTalker]] ([[User talk:CodeTalker|talk]]) 05:53, 2 June 2024 (UTC)
::::But are you disagreeing, or agreeing? We've all agreed the array would be uninitialized if it has local scope. But do you think an int array with global scope (or "static duration" perhaps more relevantly), with default initialization, is uninitialized? Your links led me to [https://en.cppreference.com/w/cpp/language/zero_initialization zero initialization], but I still don't see a definitive answer on this site. Presumably it ''is'' telling us, in its way.
::::{{bq|Zero-initialization is performed in the following situations: 1) For every named variable with static or thread-local(since C++11) storage duration that is not subject to constant initialization, before any other initialization.}}
::::Maybe that means ''global arrays are initialized to zero,'' but due to uncertainties about what very formally specified thing in the reference relates to what familiar thing in practice, I can't be sure. Is a global array a variable? Does it have static storage? Fairly sure of the latter, less certain of the former.
::::Perhaps you weren't disagreeing, but just elaborating: we have the new wrinkle that uninitialized ''non-POD'' types get a default initialization, even at local scope. [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 08:22, 2 June 2024 (UTC)
:::::As I read it, the elements are '''not''' guaranteed to be initialized. For reference, I'm using [https://open-std.org/JTC1/SC22/WG21/docs/papers/2023/n4950.pdf|the final C++23 draft]; the numbers in parentheses are the relevant locations in the draft.
:::::First off, only the pointer has static storage. The array has ''dynamic'' storage, having been created by a ''new-expression'' (7.6.2.8 (9)). What happens from there is, well, complicated.
:::::* An allocation function ''may'' be called to obtain storage (7.6.2.8 (11-13)); if so, the state of the memory thus returned is unspecified (6.7.5.5.2 (2)).
:::::* Now, the expression has no ''new-initializer'', so the result is default-initialized (7.6.2.8 (23.1)).
:::::* Default-initialization means that the best applicable constructor for the initializer <code>()</code> (chosen via overload resolution) is called with an empty argument list to initialize the class (9.4.1 (7.1)).
:::::* The <code>array</code> class is an aggregate, and uses the implicitly-declared default constructor (24.3.7.2 (1)).
:::::* This performs whatever initializations that would be performed by a user-written default constructor with no ''ctor-initializer'' and an empty ''compound-statement'' (basically, a constructor that doesn't specify anything) (11.4.5.2 (4)).
:::::Not actually knowing precisely what the data members contained are or how they are specified, we are stuck here. There is nothing preventing an implementation from, for instance, storing the data in an array specified with a default member initializer (see 11.9.3 (9.1)) of <code>{142857, -32768}</code>. '''IF''' one assumes that the class holds an array of 10 <code>int</code>s with no initializer specified (which seems more likely), that array is itself default-initialized (11.9.3 (9.3)); each element thereof is then also default-initialized (9.4.1 (7.2)). For an <code>int</code>, default-initialization performs ''no'' initialization (9.4.1 (7.3)), and we are left with whatever was in the memory we were allocated.
:::::[[User:BentSm|BentSm]] ([[User talk:BentSm|talk]]) 14:01, 2 June 2024 (UTC)
::::::There are many cases: heap/local/static, POD/non-POD, and created with or without an initializer. The OP was asking about a std::array<int> (POD) on the heap with no initializer. Such a variable is not guaranteed to be zero-initialized. The same is true if local rather than heap but a static would be zero-initialized. In all these cases, non-PODs would be initialized<br>by the class's default constructor. Heap variables may be default initialized if no initializer is given (uninitialized if POD or default constructed if non-POD) as in the OP's example, or value initialized if given an empty initializer (zero if POD or default constructed if non-POD).{{pb}}So, to enumerate the cases:<br><code><br>// --- static; no initializer<br>static std::array<int,10> a; // initialized to 0<br>static std::array<MyClass,10> a; // initialized by MyClass::MyClass()<br>// --- static; empty initializer (same as previous case)<br>static std::array<int,10> a{}; // initialized to 0<br>static std::array<MyClass,10> a{}; // initialized by MyClass::MyClass()<br>// --- local; no initializer<br>std::array<int,10> a; // uninitialized<br>std::array<MyClass,10> a; // initialized by MyClass::MyClass()<br>// --- local; empty initializer<br>std::array<int,10> a{}; // initialized to 0<br>std::array<MyClass,10> a{}; // initialized by MyClass::MyClass()<br>// --- heap; no initializer<br>std::array<int,10> *a = new std::array<int,10>; // default initialized (uninitialized)<br>std::array<MyClass,10> *a = new std::array<MyClass,10>; // default initialized: initialized by MyClass::MyClass();<br>// --- heap; empty initializer<br>std::array<int,10> *a = new std::array<int,10>(); // value initialized (set to zero)<br>std::array<MyClass,10> *a = new std::array<MyClass,10>(); // value initialized: also initialized by MyClass::MyClass();<br></code>{{pb}}BTW, the "experiment" by which the OP found their array to be set to zero would be better done by deliberately unzeroing the heap first, by something like<br><code><br>std::array<int,100> *z = new std::array<int,100>;<br>for (int i = 0; i < 100; ++i) (*z)[i] = 0xffffffff;<br>delete z;<br></code><br>This is not definitive but it makes it more likely that the next thing allocated from the heap doesn't use fresh system-allocated memory, which might indeed be all zeros. [[User:CodeTalker|CodeTalker]] ([[User talk:CodeTalker|talk]]) 17:37, 2 June 2024 (UTC)


== Virtual machine ==
= June 2 =


== Fingerprint, Identification key, Recipe, Answer file, INI file, Bibliographic Record ==
I've got a laptop that's running Windows 7. I would like to use the Linux OS Ubuntu. Would it be possible to run two operating systems on the same machine? If so, then how could I do it? I don't want an Ubuntu pop-up window. I would like a choice during boot-up, e.g. press 1 for Windows, press 2 for Linux. <span style="white-space:nowrap;">— [[User:Fly by Night|<span style="font-family:Segoe print">'''''Fly by Night'''''</span>]] <font color="#000000">([[User talk:Fly by Night|<span style="font-family:Segoe print">talk</span>]])</font></span> 18:28, 16 April 2012 (UTC)


A couple of examples for context:
:What you are referring to is [[dual boot]], and it's definitely do-able. There are a couple of ways to do this. The first is the standard dual boot method: [https://help.ubuntu.com/community/WindowsDualBoot Dual boot], the second (which I haven't tried) is through Wubi: [https://wiki.ubuntu.com/WubiGuide Wubi]. - [[User:Akamad|Akamad]] ([[User talk:Akamad|talk]]) 22:32, 16 April 2012 (UTC)
# [[ccache]] "[[Cache (computing)|caches]] [[compiler|compilations]] so that ... the same compilation can be avoided and the results can be taken from the cache... by [[Fingerprint (computing)|hashing]] different kinds of information that should be unique for the compilation and then using the hash sum to identify the cached output."
# Saving a copy of an online webpage from within a Web Browser (File > Save Page As...)
<br>
<strong>What is the word for a set of parameters which attribute to an instance/snapshot the information required for it's reproduction?</strong><br>
In the examples above, ccache utilises "different kinds of information that should be unique for the compilation", similarly if I save a webpage from within a Web Browser, the only way for someone to be guaranteed to independently replicate the same file would be for the same URI to be accessed by the same version of the Web Browser with the same configuration (e.g. javascript enabled/disabled, identical installation+configuration of extensions which affect page retrieval/rendering) on the same Operating System with the same configuration.


In the case of ccache, the compiler version and flags are some factors of the "information that should be unique for the compilation", and during recompilation inputting the same selection of information results in an identical hash and therefore a cache match.<br>
== Changing images in a page ==
''But what is the word to describe the information being input?''<br>
I'm not looking for a generic word like "metadata".


Some words I thought of which seemed to be candidate answers were:
I have been working in a html page that runs the "Concentration" game. There's a grid of basic images (as turned cards, showing the back), all the same ones. Click on one card, it shows another image (as if turning a card and seeing the other side), click on another, it shows its own other side. If they are different, they show the basic image again in a pair of seconds. If they are the same, they stay that way, and the player gets a point (surely you know the rules of the game).
* [[Fingerprint (computing)]] - However fingerprint refers to an algorithmic output (e.g. ccache 'hash') whereas I am wanting to refer to the inputs, which the article simply defines as "a procedure that maps an arbitrarily large data item (such as a computer file) to a much shorter bit string, its fingerprint".
* [[Key (cryptography)]] - This seemed very close, except that in the case of cryptography it is described as "a piece of information" whereas I am looking for a word to refer to a "set of information".
* [[Identification key]] - "aids the identification of biological entities", rather than describing the parameters of the entities creation.
* [[INI file]] - "a text-based content with a structure and syntax comprising key–value pairs for properties, and ''sections'' that organize the properties", so what would be the name of the section?
* [[Installation_(computer_programs)#Unattended_installation|Answer file]] - Contains the data that is essentially what I am describing, except that an answer file is context-specific to computer program installation.
* [[Recipe]] - Are configurations equivalent to 'ingredients'? I would have thought a recipe would include much more detail that just application version numbers and parameters.
* [[Bibliographic record]] - This seems the most relevant as a name for the set of reproduction parameters, except that it is context-specific to library science.
* [[Exif]] - Again, very similar, but the set of parameters is just referred to as EXIF metadata or tags.
* [[User Agent]]/[https://html.spec.whatwg.org/multipage/semantics.html#meta-generator Generator] - This is part of the information which would be included in the set.
* [[Finite-state machine]]/[[Combinational logic]] - Wouldn't this be referring to the method/logic, rather than the input parameters?
* [[Artifact]] - This refers to the File, rather than the attributes which contain the information required for the File's reproduction.
* [[Snapshot (computer storage)]] - Again the File, rather than the attributes.


[[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 16:16, 2 June 2024 (UTC)
The page uses javascript to change the images back and forth, check if the pair selected is a pair of similar cards or not, what to do in each case, etc. For some reason, it worked in internet explorer 8, but not in firefox 11: each pair of cards I click, correct or incorrect, stay visible instead of showing the "back side" image again. Then, I noticed a detail: it DOES work in firefox, just not visually. If I click on a correct pair of cards I uncovered at different times, I get a point, so the page treats them as if they were covered cards. If I right-click to see the image info, it's not the name of the image I'm seeing, but the name of the image I should be seeing (the "back side" image).


:Would the correct generic word for "a set of parameters which attribute to an instance/snapshot" be the 'profile', which is then qualified with the context-specific word 'generator'?
Is there some known problem in firefox with javascript and this type of image switching, or in firefox itself? Perhaps something that needs configuration? So far I have the page and the associated images saved in the hard disk, but I don't think that should make any difference.


:Therefore making the "set of parameters which attribute to an instance/snapshot the information required for it's reproduction" the 'generator profile'?
By the way, I know that the easiest answer would be to refresh the page, but no. That works for static pages, if I do that it simply begins a new game, loading the onload function [[User:Cambalachero|Cambalachero]] ([[User talk:Cambalachero|talk]]) 21:20, 16 April 2012 (UTC)


:If so, what would be the "different kinds of information that should be unique for the compilation" used by ccache? the 'compilation profile'?<br />So then the ccache article would be appropriately updated with "the next time ''compilation of the same project using the same compiler with the same '''compilation profile''' is attempted'', the same compilation can be avoided and the results can be taken from the cache. [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 17:27, 2 June 2024 (UTC)
: English is too imprecise to really know what it is you're doing. If you can reduce the problem to a minimum case (which I guess need only be a couple of images and a few lines of javascript) that would make understanding what's going on easier. There's a half dozen ways to make images appear, change, move, or disappear (and you can bet some browser that has a daft problem with each one).
:The examples you give don't (as far as I understand the issue) help to <u>reproduce</u> an item. Is [[Unique identifier]] what you mean? It is a generic term; depending on the use, various types of unique identifiers have more specific names, such as the [[International mobile subscriber identity]] and [[International Standard Book Number]]. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 17:41, 2 June 2024 (UTC)
:In general:
::In the case of saving a copy of the same Webpage from multiple Web Browsers, a Unique identifier would be necessary in distinguishing between the multiple copies.
:* I know it's elementary stuff, but remember that images are loaded asynchronously. It's often wise to preload them (with them assigned to zero-size on-screen objects) so they get loaded and cached properly.
::e.g. you could append the name of the Web Browser to the filename, or in the case of multiple copies of a webpage from different versions of the same Web Browser then using the Installation [[Universally unique identifier|GUID]], etc.
:* Make sure the size of stuff is set explicitly (as things might get sized when the image hasn't loaded, and so the engine doesn't know how big it is yet). This ''should'' get resolved once the image is loaded, but if you're doing something complicated (like storing the image sizes yourself in Javascript) that might cause confusion.
::However, that wouldn't provide information specific enough to facilitate reproduction, or enable identification of other copies/instances of a particular resource which was generated using an identical system configuration.
:* Try experimenting with generic DIVs with the image set using the CSS background property. That way you can temporarily just use a solid colour for background, which allows you to separate the logic to set the CSS from the additional issues specific to images.
: -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 21:57, 16 April 2012 (UTC)


::Did my earlier response to myself provide clarity to my question?
:: Ooh, and remember that images that are not tied to an active DOM object can be flushed from the cache arbitrarily, even if they previously were displayed. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 22:19, 16 April 2012 (UTC)


::If my question is still unclear, I can construct an example "solution" which may provide clarity [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 18:19, 2 June 2024 (UTC)
== archive time capsule ==
:::Wikipedia pages have a revision ID. That of the version of this page, after you posted your question, is [https://en.wikipedia.org/w/index.php?oldid=1226936970 <code>1226936970</code>] Can I use it to reconstruct a screenshot of what you saw? No. I don't know if you used a laptop or a smartphone. Suppose I know you used a MacBook. Which type of many types? Which size of screen? Produced in which year? (This makes a differences for some types.) Which release of macOS were you using, and which version of that release? Likewise, not only which browser, but also which version? Did your browser have customizations? Was the window full-screen? If not, what were its sizes? How far up or down was the page scrolled, and at which zoom level was it being viewed? Did you watch in dark mode? Knowing all this may still not be enough for a faithful reconstruction of what you saw. Only a screenshot will do. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 06:08, 3 June 2024 (UTC)
::::One distinction I do want to make is that in my examples I didn't go as far as "reconstructing a screenshot", though the word I am trying to obtain should be capable of also '''labeling''' the ''set of attributes'' which would be required in reconstructing a screenshot.
::::<br>
::::For example, if a Web Browser saves the Webpage of a URI to a file, and then that file is reopened in the same Web Browser, with the same configuration, and a screenshot is taken, then the set of metadata attributed to the screenshot file would include:
::::<br>
::::?'''label''' profile? = ('HTTP response','Web Browser "save as" filename+parameters {[[User-Agent header|User-Agent]]+about:plugins+[[Global variable|env]]+[[Firefox#cite ref-64|profile]]_config_diff}','Web Browser+Operating System "screenprint" filename+parameters [e.g. screen resolution, window size, etc]')
::::With the inputs+metadata for each step in the processing sequence, it would be possible to faithfully reconstruct a screenshot.
::::<br>
::::However, my question isn't specifically about reconstruction, it's about reproducibility using "a set of parameters which attribute to an instance/snapshot the information required for it's reproduction".
::::So the assumption is that the file is available, and I am asking what the correct label would be for a complete set of metadata that would enable reproduction (essentially a [[proof]]? - I'm not a mathematician). [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 12:21, 3 June 2024 (UTC)
:::::Can you clarify the difference between reconstructibility and reproducibility? In which aspects is a reproduced item allowed to differ from the original? &nbsp;--[[User talk:Lambiam#top|Lambiam]] 15:35, 3 June 2024 (UTC)
::::::{| class="wikitable"
|+ Reproduction vs Reconstruction
|-
! Reproduction !! Reconstruction
|-
|A copy of something, as in a piece of art; a duplicate || A thing that has been reconstructed or restored to an earlier state
|-
|(computing) A method for reproducing a bug or problem || A result of an attempt to understand in detail how a certain result or event occurred
|-
|}
::::::In reproduction the existence of the original production isn't necessary if a method for reproduction is known. Whereas in reconstruction, the original thing must exist in order for it to be reconstructed.
::::::<br>
::::::For example, let's say I and many others have archives of Webpages produced from a variety of time periods and Web Browser versions, but the file contents of my archive becomes corrupted.
::::::I could "reproduce" my archive from the archives of others if they held copies of the same webpages with same "Last-Modified" or "ETag" HTTP headers, saved from the same Web Browser version, which completely satisfies my set of reproduction metadata; but I could only "reconstruct" my archive if I had taken a backup of my archive in advance.
::::::[[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 18:33, 3 June 2024‎ (UTC)


:::::::Not everyone makes the distinction you make. For example, one of the senses Merriam–Webster gives for ''reconstruct'' is "to re-create or reimagine (something from the past)", offering this example: "''reconstructing'' a lost civilization".<sup>[https://www.merriam-webster.com/dictionary/reconstruct]</sup> A civilization that is lost has ceased to exist.
I want to archive 1GB of data in a time capsule and bury it in my garden. Which data storage method has the most chance of being recoverable after 50 years; CD-RW, hard drive, flash drive, printed paper? Please ignore all the issues about having computers that can read the data in 50 years or whatever; just assume aliens can figure it out. Thanks <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/83.250.125.169|83.250.125.169]] ([[User talk:83.250.125.169|talk]]) 22:07, 16 April 2012 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
:::::::The web pages of many websites do not have enough meta information in their URI + embedded in the file itself to enable unique identification of an archived version. If they do, the combined meta information forms a unique identifier. Without knowing the operational procedures of the people putting content on these pages and assuming they adhere to them, it is not possible to be certain of the uniqueness, though. They might for example fix an obvious spelling mistake while not changing the meta information. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 21:24, 3 June 2024 (UTC)
::::::::I agree that combined meta information potentially forms a unique identifier. But "I'm not looking for a generic word like 'metadata'", and as you have acknowledged "[Unique identifier] is a generic term; depending on the use, various types of unique identifiers have more specific names".
::::::::I am looking for a specific term.
::::::::<br>
::::::::I've given the two examples of a fully-automated cache and a semi-automated saving of a downloaded webpage, which have varied inherent terminology.
::::::::For example, the ''set of attributes'' which [[ccache]] utilises are called ''options'', ''arguments'', ''information'' and ''mode'', because of it's command-line context.
::::::::ccache hashes "different kinds of information that should be unique for the compilation" and if the cache doesn't already hold a file named with the uniquely identifying BLAKE3 hash, then it completes the compilation and the output file is named "using the hash sum to identify the cached output"[http://web.archive.org/web/20240529202504/https://ccache.dev/manual/4.10.html#_how_ccache_works].
::::::::In this example the term 'unique identifier' is already used and more appropriately applies to the hash rather than the <code>ccache-input-*</code> ''information''[http://web.archive.org/web/20240529202504/https://ccache.dev/manual/4.10.html#_cache_debugging]. If the ''information'' were then attributed to the cached output file, the files now have a ''set of attributes'' containing production metadata (I previously considered a context-specific label of "compilation profile"), which would vary from the webpage archive example because, in addition to facilitating identification of other copies/instances of a particular resource which was generated using an identical system configuration, the production metadata would be of debug-quality and so also enable [[Verification and validation#Overview|verification and validation]].
::::::::<br>
::::::::I would expect the term for referring to the varied ''set of attributes'' to either be an [[Hypernymy and hyponymy|umbrella term]] or have context-specific variability, in order to accommodate the nuances of different production procedures.
::::::::<br>
::::::::I'm unsure whether 'profile' would be an appropriate term, given it's definition: A summary or collection of information. Unless it was perhaps used as the umbrella term for all the various ''sets'' of context-specific ''attributes'', referred to as the '''production profile'''. [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 16:57, 4 June 2024 (UTC)
:Given the focus of my question is metadata to facilitate reproduction, which is broadly covered by the fields of [[Reproducibility|Science]] and [[Value chain|Business]], I've realised that the [[Assembly line#Simple_example|stages of an assembly line]] are co-ordinate to [[Job (computing)|steps]] within a [[job stream]], which appear to be forms of [[Workflow]].
:<br>
:Since Workflow is a management term, it seems my original question imports the concepts of sequential sets of metadata, which I recognised in mentioning 'INI file' as one of my candidate answers, and hierarchy, which is inherent (URI) to the [[HTTP cookie]] variant of [[Magic cookies]].
:My reservation with the use of the word cookie, is that magic cookies are "used to ''identify'' a particular event or transaction; the data is typically not meaningful to the recipient program and not usually interpreted until the recipient passes the data back to the sender or another program at a later time"[https://en.wiktionary.org/wiki/magic_cookie#Noun], whereas metadata to facilitate reproduction would have to ''record'' a particular event or transaction.
:Therefore, although I recognise file metadata would likely be attributed by way of either [[Windows_Search#Overview|Property Handlers]]/[[File_Explorer#Removed_and_changed_features_2|Alternate Data Streams]] or similar technologies, I think the universality of the INI format makes it suitable at this time to explore a solution to the concept of production workflow metadata, in order to realise the various elements.
:<br>
:Therefore, would the following definitions satisfy as terms for a "set of parameters which attribute to an instance/snapshot the information required for it's reproduction"?
:<code>Section</code> = Profile (i.e. Production)
:<code>Key</code> = Event (timestamped production job/event identifier [e.g. Firefox 125.0.3-1, 'Save Page As...'])
:<code>Value</code> = Attributes presented in [[Name–value pair|name/value pairs]] from the production event parameters (e.g. HTTP-response= ; User-Agent= & about:plugins= & env= & profile_config_diff= ;)
:<br> [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 17:05, 4 June 2024 (UTC)
::Do you want to coin a term, or are you looking for an existing [[term of art]] that covers whatever it is you are trying to describe? Inasmuch as I get what it is (hardly, I must confess), it seems a pretty generic concept, so a term covering it should be expected to have a pretty generic coverage. I mean, do we have a name for, "an information record that describes something"? Yes, it is a ''[[wikt:descriptor|descriptor]]'', which is a generic term because it is a term for a generic concept. It is also not too clear to me what the issue has to do with computing; it seems perhaps more related to [[information science]]. A few well-chosen realistic use cases might (perhaps) clarify the issue. The reproduction of archived web pages seems a less realistic use case, for the reasons I have given. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 18:57, 4 June 2024 (UTC)
:::Ideally, I am hoping to find an existing term, and not necessarily a term of art. But in the case that neither a general term can be contextualised, or a term of art doesn't exist, such that a new one must be coined, then I am trying to define the scope that the term should encompass.
:::I agree that my question is multi-disciplinary, but I have raised it in computing because I am looking for an answer which applies to computer processes and files, rather than, for example, bibliographic records in library science. It seems to be within the vein of [[Version control]]
:::<br>
:::The concept has general and specific elements. Similar to how [[MusicXML]] has a specific utility (Western [[musical notation]]) written in a general markup language (XML).
:::My question is both general, in that I am discussing standard File System and Operating System features, metadata constructs and a framework for measuring [[Completeness (knowledge bases)|completeness]] of the metadata for enabling reproducibility, and specific, in that the context is specifically for the recording of production processes and parameters which contributed to be current state of a file/resource.
:::<br>
:::I will attempt to flesh out a more comprehensive solution than my INI example, and some realistic use cases. But I am still only asking for words which appropriately label the elements/fields for storing and identifying production metadata, within the Computing [[controlled vocabulary|vocabulary]] or [[domain of discourse]]. [[User:Mattmill30|Mattmill30]] ([[User talk:Mattmill30|talk]]) 06:18, 5 June 2024 (UTC)
::::I'm thinking ''environment parameters''. (I'm also thinking about [[epigenetics]], but that's the wrong domain, and I may have failed to understand your concept anyway. Still, epi- is a nice prefix.) [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 10:17, 5 June 2024 (UTC)
::::Google Gemini suggested 'identical execution environment'. You can abbreviate it to iEE. [[User:Ranemanoj|manya]] ([[User talk:Ranemanoj|talk]]) 07:17, 7 June 2024 (UTC)


: This, or related questions, has come up here several times before. You might like to review [http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Archives/Computing/2010_November_8#Long-Term_Data_Archival this] and [http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Archives/Computing/2011_February_18#Long_term_data_storage this]. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 22:14, 16 April 2012 (UTC)


= June 6 =
::The first link is all about the issues surrounding having appropriate computer equipment to read the storage medium, and the second link has few answers and links to the first link. I explicitly don't want information about whether or not old computers will be available in 50 years. Just assume they will be, or that aliens can magic up an appropriately old fashioned computer to read them. Then, which data storage solution is most likely to physically survive and be physically intact enough to be readable? [[Special:Contributions/83.250.125.169|83.250.125.169]] ([[User talk:83.250.125.169|talk]]) 22:30, 16 April 2012 (UTC)


== Pdf ==
:There's lots of existing examples of printed paper which are still perfectly readable after 50 years and longer. If you literally mean to bury the media in your garden, then you will probably need to take steps to ensure the paper does not get damaged by moisture or fungi.-<font face="cursive" color="#808080">[[User talk:gadfium|gadfium]]</font> 22:44, 16 April 2012 (UTC)


Ho! If I shrink a pdf with Acrobat say I can get it down by 60% say but if I then want to OCR it the size goes up to be even more massive than it was before. Is there a way to avoid this, say, keeping it smallish but also with text recognition? Thank you [[Special:Contributions/2.28.124.7|2.28.124.7]] ([[User talk:2.28.124.7|talk]]) 10:40, 6 June 2024 (UTC)
:I expect that if sealed in an opaque container, with very little humidity, and no UV light, all of those formats would survive for 50 years. Of those, I might have the most faith in the flash drive. The plastic might delaminate in the CD, and the paper might rot or the ink might fade. The moving parts on the hard disk might fail, although technically the data could still be recovered by taking it apart and scanning it with another device. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 22:47, 16 April 2012 (UTC)
::The second link has some very good info in it. [http://journals.sfu.ca/archivar/index.php/archivaria/article/viewArticle/11310] discusses the issue in 1986. The [[Library of Congress]] has also apparently thought deeply about this question, so their conclusions should be of some interest to you. [http://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf This] study in particular. [[User:Shadowjams|Shadowjams]] ([[User talk:Shadowjams|talk]]) 23:14, 16 April 2012 (UTC)


:I am not familiar with the use of Acrobat and am not sure what you mean by "shrinking" a pdf with Acrobat.
:::Also, the conclusion I gather from all of these studies, is that one of the best answers is redundancy. That is, put the same information in duplicate, and in different formats. And if you can, low level error correction. Redundancy. Be redundant. [[User:Shadowjams|Shadowjams]] ([[User talk:Shadowjams|talk]]) 23:18, 16 April 2012 (UTC)
:Some apps, such as PDFpen, can OCR a bitmap and turn it into a searchable pdf.<sup>[https://pdfpen.com/user-guide/editing-pdfs/ocr]</sup> The output is not much larger than the input – the blow-up in size occurs in the other direction, when a pdf produced by a word processing app is converted into a bitmap. PDFpen is not free; I do not know if there are free apps for this. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 19:35, 6 June 2024 (UTC)


: A scanned PDF is, in essence, a PDF container with a series of high-resolution bitmaps (JPEGs) for each page. A typical OCR-annotation program extracts each JPEG, does optical recognition, and then adds PDF text objects ''behind'' the JPEGs (so they're selectable and copyable, but not visible). Those text additions are trivial - typically a few KB at most, per page.
::::I second that suggestion. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 23:27, 16 April 2012 (UTC)


: Your problem is twofold - you want to a) downscale the JPEGS and b) add the OCR annotations. These are effectively orthogonal tasks. I've no idea how you're getting the poor results you are, with the Acrobat workflow. But I can do what you want with [[ghostscript]] and then <tt>ocrmypdf</tt> (which uses [[Tesseract (software)|Tesseract)]]. All of this is free software. For me, in Linux, it's as easy as:
== HD cameras ==
<syntaxhighlight lang="bash">
QUALITY=/ebook # use one one of /screen /ebook /printer /prepress /default # /screen is very low resolution, /prepress is the highest


gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=$QUALITY -dNOPAUSE -dBATCH -dQUIET -sOutputFile=scaled.pdf test.pdf
How good is the 720p quality of [http://www.argos.co.uk/static/Browse/ID72/14419441/c_1/1|category_root|Photography|14419436/c_2/2|cat_14419436|Digital+cameras|14419441.htm these] cameras? It says 720p but is it really? I bought one once and it turned out it was 720x480 xvid at 15 fps. That's not what I consider HD <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/83.250.125.169|83.250.125.169]] ([[User talk:83.250.125.169|talk]]) 22:09, 16 April 2012 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->


ocrmypdf scaled.pdf ocred.pdf
:If you give us specific models, we can find the specs, but not for every camera on that page. It's probably fairly straightforward to find the max res and max frames per second, but finding out which combos are supported may require the owners manual. Also beware that some may say they support a certain res, but that might have been upscaled from a lower res, resulting in a pic that looks like the lower res. Similarly, some of the frames may have been interpolated from the frames before and after. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 22:52, 16 April 2012 (UTC)
</syntaxhighlight>
::[[High-definition video]] just means anything with higer resolution then standard def. Unfortunately, even [[Standard-definition_television|"standard def"]] does not have a standard definition (lol). However, I think it's pretty clear that 720x480 is NOT high definition. I think if you bought something labelled as HD with that resolution, you'd have a casae for false advertising. Of course, I'm not sure whether the term "HD" is legally protected, they might just have the letters HD on the box, but if they don't obscure the real resolution, they might just say it's a model number or something... I doubt a reputable brand would resort to that, but if it's a cheap chinese camera from ebay or something, I doubt there's a regulation they're forced or even compelled to compy with. [[User:Vespine|Vespine]] ([[User talk:Vespine|talk]]) 23:07, 16 April 2012 (UTC)
: For me, this takes a 2.5Mb scanned pdf <tt>test.pdf</tt> and the GhostScript (<tt>gs</tt>) line scales it down to 178Kb. The <tt>ocrmypdf</tt> command takes that and produces a 181Kb file (a modest addition consistent with the text on that page).


: I've no idea how do to any of this with Acrobat. -- [[User:Finlay McWalter|Finlay McWalter]]'''··–·'''[[User talk:Finlay McWalter|Talk]] 20:20, 6 June 2024 (UTC)
== Downloading pdf files. ==


I've attempted to download both individual articles and books in the pdf format. In each and every case I've been unable to save them or to open them with Adobe Acrobat. They'll cause Adobe Acrobat to crash each and every time. I've tried this on three separate Windows computers and on Mac OS computer. How can I fix this problem? Thanks! <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dhonaker|Dhonaker]] ([[User talk:Dhonaker|talk]] • [[Special:Contributions/Dhonaker|contribs]]) 22:33, 16 April 2012 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:That's not enough information to form a diagnosis. How many files have you tried to downlaod? Are they all coming from the same source? If yes, what's the site? From what you have described, that seems like the most likely source of the problem. Can you open other PDF files on those computers? Have you tried to install the latest acrobat reader? Are there any faqs or manuals on the site you are downloading the PDFs from? [[User:Vespine|Vespine]] ([[User talk:Vespine|talk]]) 22:55, 16 April 2012 (UTC)


= June 8 =
All of the files that I'm having difficulty with are from Wikipedia. I'm able to download and open/print files from other sources without any problems. I do have the latest versions of Acrobat Reader on both the Windows and the Mac computers. <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dhonaker|Dhonaker]] ([[User talk:Dhonaker|talk]] • [[Special:Contributions/Dhonaker|contribs]]) 23:06, 16 April 2012 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->

Latest revision as of 00:05, 8 June 2024

Welcome to the computing section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:


May 25[edit]

What's the name for the blown up texts so common in social media?[edit]

In social media, many simple texts go viral which have nothing special other than they are blown up to a picture. People may forward them because (a) it's dead easy and (b) they find them funny or they want to proselytize the expressed opinion to others. What are they called? You might consider them a subgroup of internet memes. However, they don't fit the definition “Two central attributes of Internet memes are creative reproduction and intertextuality.”, nor do they contain any other noteworthy creativity. Their only purpose seems to be that they're bigger than normal text so that they gather more importance. Even “eye candy” would be too flattering, so I'd rather call them "rectangular attention sinks". Maybe I'd better turn to a sociologist with this question.

Related tech question: Do any social media offer a way to simply filter and ignore these attention sinks? ◅ Sebastian Helm 🗨 09:41, 25 May 2024 (UTC)[reply]

Can you provide any examples of "blown up texts"? Do you mean texts as in a form of online messaging between two people, such as SMS? ―Panamitsu (talk) 10:06, 25 May 2024 (UTC)[reply]
For example an image that contains nothing but the text
Why's it always “nyc smells like pee” and never “my pee smells like the greatest city in the world”
(In this particular case, the image actually contains some user name who may have originally posted this, along with their picture, contrary to what I described above. But I picked this because I found it somewhat witty. And the user name and picture are not important here.) ◅ Sebastian Helm 🗨 14:28, 25 May 2024 (UTC)[reply]
In magazines and newspapers, they are called pull quotes. 75.136.148.8 (talk) 22:06, 25 May 2024 (UTC)[reply]
Interesting; I wasn't aware of that term. But that's not the same thing. If you want to transfer the term onto social media, it would have to be some text taken from a longer discussion, rather like people use bold face and capitalization in such discussions as here. The blown up texts of my question do not pull a reader to any source. Even in the case of the “nyc” example which happens to contain something that looks like an author alias and picture, there is no way to jump to the original discussion. So, they're neither “pull” nor “quotes”. ◅ Sebastian Helm 🗨 08:21, 26 May 2024 (UTC)[reply]
For clarification: pull quotes are pulled from the text, though I guess they are designed to pull you in as well. --142.112.143.8 (talk) 21:24, 26 May 2024 (UTC)[reply]
Hmm, that seems redundant. Or what would be a non-pull quote, then? ◅ Sebastian Helm 🗨 05:08, 27 May 2024 (UTC)[reply]
Pull quotes (in the original sense of the term) coinhabit the space with the text from which they were pulled, so in a print magazine the quoted passage would typically appear twice on a page: once in the running text, and once standing out on ts own in a blown-up font size. Normal quotes typically appear merely once and usually have the same font size as the surrounding text, or when displayed as a block sometimes a slightly smaller font size.  --Lambiam 10:23, 27 May 2024 (UTC)[reply]
Thanks for the explanation. So their name seems to be a misnomer: The non-pull quotes even have more pulling to do, since they have to pull the text from farther away. But that was only a detour from my original questions. Can we turn back to them, please? ◅ Sebastian Helm 🗨 15:22, 28 May 2024 (UTC)[reply]

Diffs[edit]

English Wikipedia is almost at 1,225,620,000 diffs, increasing at about 1000 every ten minutes or so I'm guessing. Is there a limit to this number in MediaWiki or the underlying software – cognate with the Y2K problem and the like?

(This is a throwaway question that just occurred to me, not a complaint or anything to take seriously or anything that I'm worrying about!) 46.69.215.187 (talk) 17:18, 25 May 2024 (UTC)[reply]

MediaWiki stores complete revisions (previous versions stored backwards deltas as diffs, but later versions store the whole revision and computes the diffs) in the REVISION table. The primary key for that is "int unsigned", which in MySql is a 32 bit integer. That's a max of 4,294,967,295; so that would put en.wikipedia at about 1/4 of the way to the limit. I don't know what provision the developers have for the (surely inevitable) case where that becomes an issue.-- Finlay McWalter··–·Talk 18:27, 25 May 2024 (UTC)[reply]
Ah, that answers my question and provides useful extra reading! Thank you @Finlay McWalter: I'm very grateful for your time and expertise. 46.69.215.187 (talk) 18:34, 25 May 2024 (UTC)[reply]
The reference document also states that there is a 64-bit integer data type, which is one possible solution. Robert McClenon (talk) 01:12, 26 May 2024 (UTC)[reply]

May 26[edit]

Word Autorecovery[edit]

I am using Windows 11, and Word for Microsoft 365. My question has to do with the feature to Save Autorecovery information, which saves a copy of each Word document that is open and has been modified within the past 10 (or other user-settable time) minutes. These Autorecovery files are saved in Appdata \ Roaming \ Microsoft \ Word. However, if I look at them as I am editing various Word documents, sometimes I notice that some of them have sizes of 0 KB. I am attaching a screen shot showing a view of the Word folder with four documents having sizes of 0 KB. These files are in fact null files; that is, the 0 KB is correct. The files that I was editing were not null files.

What causes Word to stop creating good Autorecovery files? What I have found I can do is to stop Word (after saving the documents in question to their disk locations), and restart Word. If there is an unexpected stop or unexpected loss of Word functionality, updates to the documents being edited are lost.

Is there technical documentation of the Autorecovery feature? Does anyone know what causes these failures, or how to minimize their occurrence? Robert McClenon (talk) 03:36, 26 May 2024 (UTC)[reply]

What follows is a hunch, although based on Microsoft sources. Buried deep in the menus of office is a way to change the autosave location. [1] Perhaps this will solve the problem. I base that on hints in this otherwise irrelevant page [2]. It has the phrase "the roaming profile has reached its maximum storage limit". What is the Roaming directory? It seems to be to do with making user data accessible across a network. Maybe avoiding the "roaming" will also avoid the zero bytes file issue.  Card Zero  (talk) 08:24, 26 May 2024 (UTC)[reply]
Thank you, User:Card Zero. The sources that you have provided are very old, which I think you knew, but they do provide information for an educated guess, which is what you were trying to do. You ask: What is the Roaming directory? That is displayed in the screen shot that occupies too much space just above this discussion. It is a subdirectory of my User directory, and, as you imply, it has something to do with network access, but appears to be an old version of network access. I have changed the directory in which the Autosave is being done,and will see if that accomplishes anything. I think that we are both inferring that what was happening was that the Word subdirectory within the Roaming subdirectory had exceeded some size limit, which would be why the Autorecovery files were being zeroed. You provided some useful information to guess at what to do. Robert McClenon (talk) 16:38, 28 May 2024 (UTC)[reply]
Yes. A couple of other completely different wild guesses, which I have no time right now to investigate, is that they are lock files (to do with exclusive access to a file in use) or placeholders (when there is no need for an autosave but it is somehow convenient to Word if it can find the appropriate autosave file anyway). Also I really ought to dig the previous similar discussion out of the archives, I forget how it concluded.
Update: I searched the archives, and it turns out I was thinking of the saga of normal.dotm, a different problem you had with Word, although similar in that you lost supposedly saved data after a crash (in that case, template settings).  Card Zero  (talk) 20:23, 28 May 2024 (UTC)[reply]

"dracut"?[edit]

Where does the name of dracut (software) come from? --142.112.143.8 (talk) 04:38, 26 May 2024 (UTC)[reply]

Never mind, I found a Reddit thread with the answer. It's named after Dracut. I once read a novel where the "no resemblance to actual people" disclaimer said that "the characters are placenamed"; apparently some software developers had the same idea. --142.112.143.8 (talk) 05:10, 26 May 2024 (UTC)[reply]
Resolved

May 27[edit]

Ringtones for different known callers[edit]

Ringtone doesn't seem to mention that this is possible but I think it is. I tried finding sources but found nothing that Wikipedia would accept, and even then, nothing seemed to make it clear the concept even existed.— Vchimpanzee • talk • contributions • 22:36, 27 May 2024 (UTC)[reply]

Seems like that is part of the functionality of the software of the phone (iOS/Android), not part of the ringtone itself. Polygnotus (talk) 04:11, 28 May 2024 (UTC)[reply]
The best place to propose an improvement to any article is the talk page of that article. Shantavira|feed me 08:13, 28 May 2024 (UTC)[reply]
As mentioned, it is the phone's software, not the concept of a ringtone. On my phone, I can go into my contact list, select a contact, and set both an image and a ringtone for that contact. Then, when I receive a call from that number, the image I set shows up and the ringtone I set plays. If I haven't set either one, the default image and ringtone are used. So, it is possible to have a ringtone for a specific contact on a phone if the software allows it. It is also possible to have a different ringtone on different phones. It is possible to have a ringtone that plays when you purchase the phone, but then a person changes it later to a different one. It is possible to play a ringtone on a piano without a phone at all. It is possible that a frog may learn to vocalize sounds that mimic a ringtone. A lack of references should indicate that concept of "possible" and "ringtone" is not in itself notable (but I would like to see that frog). 12.116.29.106 (talk) 11:20, 28 May 2024 (UTC)[reply]
I can't really propose an improvement where I don't have the reliable sources that would support it. That was my purpose in asking here.— Vchimpanzee • talk • contributions • 14:30, 28 May 2024 (UTC)[reply]

May 28[edit]

How to search for fake references (in SparQL or with other methods)[edit]

In SparQL, how can I search for stuff like this. So it would start with an opening square bracket, then a number of up to 3 digits, then a closing square bracket.

Is there a way to do this via the normal search box? Is there another, better way? Thanks! Polygnotus (talk) 04:07, 28 May 2024 (UTC)[reply]

I'm not familiar with SparQL, but a regular expression that will serve for a search in most query pattern syntaxes is:
\[[0-9]+\]
Thus will also match "[2024]". If 3 is a hard limit on number of digits, this might work:
\[([1-9]|[1-9][0-9]|[1-9][0-9][0-9])\]
 --Lambiam 10:13, 28 May 2024 (UTC)[reply]
Thank you. I think that the problem is that the article content itself is not on Wikidata, which means I have to try a different approach. It seems like the search function also does not like regex. So I may have to download a dump and use regex. Polygnotus (talk) 11:24, 28 May 2024 (UTC)[reply]


May 30[edit]

What Programming Language Is This? (1998)[edit]

I was watching TV the other day and they showed a computer screen with code on it. Normally, I rewind the program to see what language they are using. However, I came across a language I don't recognize. It looks like they are using # signs for comments, CIF to terminate IF blocks, == for testing equality, & and | for compound conditions, = for assignment and maybe line numbers for a couple lines. The TV show was from 1998. What programming language is this? A Quest For Knowledge (talk) 10:15, 30 May 2024 (UTC)[reply]

So the oddest part about the language appears to be that it uses indentation for structure, which is known as the off-side rule. That article has a list of potential candidates, but I had a look through and wasn't able to find what's in the image. ―Panamitsu (talk) 11:51, 30 May 2024 (UTC)[reply]
I've just noticed your remark about CIF, sorry. ―Panamitsu (talk) 11:56, 30 May 2024 (UTC)[reply]
The code snippet deals with astronomical coordinates and a "beam", which suggests to me that this has to do with radio astronomical data (nothing to do with the story I guess). Some of the statements look like Fortran. The slashes suggested something like ESO-MIDAS, but that doesn't have CIF. In fact, I haven't found anything using CIF, but maybe I've just hit the limits of my google foo. --Wrongfilter (talk) 12:24, 30 May 2024 (UTC)[reply]
Looks like a newer variant of FORTRAN. If the C of CIF is in the first column then it's a comment. Graeme Bartlett (talk) 12:47, 30 May 2024 (UTC)[reply]

Here's a second screenshot. Unfortunately, there's some ghosting in the image but you can see that there are nested CIF's. A Quest For Knowledge (talk)

I think I've found it, or at least I've made a development. I've found a language called Cola ( COntrol LAnguage for use with Hermes)[3] which was created(?) in 1994. Here appears to its source code. It is part of some project called the Groningen Image Processing System which "is a highly interactive software system for the reduction and display of astronomical data," which falls in line with Wrongfilter's comment. It has the CIF and also CFOR (my guess is the C stands for close), and generally looks similar, except I can't find anything about what symbols are used to make comments. ―Panamitsu (talk) 12:30, 31 May 2024 (UTC)[reply]
Excellent! It seems to me that cola uses exclamation marks for comments, but otherwise it is very close. This seems to be based on sheltran, which as far as I understand was a sort of pre-processor for Fortran 77 to allow for a more structured coding style. Makes you wonder how the makers of that TV series found that piece of code. --Wrongfilter (talk) 13:02, 31 May 2024 (UTC)[reply]

Help with text[edit]

Hi, i'm trying to create a Category for discussion request on Wikimedia Commons but i need to do some work on the proposal itself before i can publish it. Could anyone help me out? I'll much rather ask here than on Commons since the response time here is much faster.

The raw text to the CfD can be found on https://pastebin.com/cEaWgU6R Trade (talk) 17:10, 30 May 2024 (UTC) Basically the things i need to do is the following:[reply]

  • Remove all duplicate entries
  • Remove all " (<number> C)" and everything in between them (including the space in front)
  • Start each entry with ":[[:Category:" and end each entry with "]]"

There are probably some way to automate it but as i said i have no clue how--Trade (talk) 17:19, 30 May 2024 (UTC)[reply]

I've created a subpage User:Trade/CfD Cristal on Wikimedia Commons – a much easier collaborative communication channel than PasteBin. I have fixed numerous issues (mainly lack of whitespace or the wrong case) that resulted in redlinks. CfD listings of multiple entries commonly use *; therefore I have not replaced * by :.
The usual terminology is to merge categories (such as Category:RED ƎYE Pictures logos) into target categories (such as Category:RED ƎYE logos), which means all category members get reassigned to the target category. So instead of
(Move all the images into "Category:RED ƎYE logos")
you might want to use
Merge the following categories into Category:RED ƎYE logos:
I have left your wording unchanged, though.  --Lambiam 08:53, 31 May 2024 (UTC)[reply]
Appreciated Trade (talk) 00:42, 1 June 2024 (UTC)[reply]


June 1[edit]

C++ array initialization[edit]

Let's say I allocate a new array

std::array<int,10> *x = new std::array<int,10>;

Considerable head scratching at cppreference.com doesn't tell me whether this array's elements are guaranteed to be initialized to 0. Experimentally they do seem to be, but that could be accidental. In C, of course, int x[10]; makes an array that is uninitialized. Does anyone know? Thanks. 2601:644:8501:AAF0:0:0:0:1ECE (talk) 05:14, 1 June 2024 (UTC)[reply]

Cplusplus.com says By default, regular arrays of local scope (for example, those declared within a function) are left uninitialized. This means that none of its elements are set to any particular value. I don't know what happens in a global scope. ―Panamitsu (talk) 06:33, 1 June 2024 (UTC)[reply]
In C, a global array is initialized to zero. (Reference: K&R, or the latest C standard.) I think C++ works the same way: this page from learncpp.com says "Global variables have static duration" and, later, "Unlike local variables, which are uninitialized by default, variables with static duration are zero-initialized by default." This is not very official C++ reference, but has the advantage of actually telling us the answer. And our compatibility of C and C++ article says various things about arrays, but nothing to contradict that the languages work the same in this respect.  Card Zero  (talk) 07:44, 1 June 2024 (UTC)[reply]
A std::array is not a C-style array. It acts similarly in many ways but has some differences.
The std::array constructor follows the rules of aggregate initialization. But if there is no initializer list (in braces), default initialization is used. The std::array constructor reference linked above says "note that default initialization may result in indeterminate values for non-class T", and the default initialization reference linked above clarifies that POD types ("plain old data", like int) are uninitialized by default initialization. So for a std::array<T> created without an initialization list, the elements are uninitialized if T is a POD type. If T is a non-POD class, the elements would be initialized with their default constructor. CodeTalker (talk) 05:53, 2 June 2024 (UTC)[reply]
But are you disagreeing, or agreeing? We've all agreed the array would be uninitialized if it has local scope. But do you think an int array with global scope (or "static duration" perhaps more relevantly), with default initialization, is uninitialized? Your links led me to zero initialization, but I still don't see a definitive answer on this site. Presumably it is telling us, in its way.

Zero-initialization is performed in the following situations: 1) For every named variable with static or thread-local(since C++11) storage duration that is not subject to constant initialization, before any other initialization.

Maybe that means global arrays are initialized to zero, but due to uncertainties about what very formally specified thing in the reference relates to what familiar thing in practice, I can't be sure. Is a global array a variable? Does it have static storage? Fairly sure of the latter, less certain of the former.
Perhaps you weren't disagreeing, but just elaborating: we have the new wrinkle that uninitialized non-POD types get a default initialization, even at local scope.  Card Zero  (talk) 08:22, 2 June 2024 (UTC)[reply]
As I read it, the elements are not guaranteed to be initialized. For reference, I'm using final C++23 draft; the numbers in parentheses are the relevant locations in the draft.
First off, only the pointer has static storage. The array has dynamic storage, having been created by a new-expression (7.6.2.8 (9)). What happens from there is, well, complicated.
  • An allocation function may be called to obtain storage (7.6.2.8 (11-13)); if so, the state of the memory thus returned is unspecified (6.7.5.5.2 (2)).
  • Now, the expression has no new-initializer, so the result is default-initialized (7.6.2.8 (23.1)).
  • Default-initialization means that the best applicable constructor for the initializer () (chosen via overload resolution) is called with an empty argument list to initialize the class (9.4.1 (7.1)).
  • The array class is an aggregate, and uses the implicitly-declared default constructor (24.3.7.2 (1)).
  • This performs whatever initializations that would be performed by a user-written default constructor with no ctor-initializer and an empty compound-statement (basically, a constructor that doesn't specify anything) (11.4.5.2 (4)).
Not actually knowing precisely what the data members contained are or how they are specified, we are stuck here. There is nothing preventing an implementation from, for instance, storing the data in an array specified with a default member initializer (see 11.9.3 (9.1)) of {142857, -32768}. IF one assumes that the class holds an array of 10 ints with no initializer specified (which seems more likely), that array is itself default-initialized (11.9.3 (9.3)); each element thereof is then also default-initialized (9.4.1 (7.2)). For an int, default-initialization performs no initialization (9.4.1 (7.3)), and we are left with whatever was in the memory we were allocated.
BentSm (talk) 14:01, 2 June 2024 (UTC)[reply]
There are many cases: heap/local/static, POD/non-POD, and created with or without an initializer. The OP was asking about a std::array<int> (POD) on the heap with no initializer. Such a variable is not guaranteed to be zero-initialized. The same is true if local rather than heap but a static would be zero-initialized. In all these cases, non-PODs would be initialized
by the class's default constructor. Heap variables may be default initialized if no initializer is given (uninitialized if POD or default constructed if non-POD) as in the OP's example, or value initialized if given an empty initializer (zero if POD or default constructed if non-POD).
So, to enumerate the cases:

// --- static; no initializer
static std::array<int,10> a; // initialized to 0
static std::array<MyClass,10> a; // initialized by MyClass::MyClass()
// --- static; empty initializer (same as previous case)
static std::array<int,10> a{}; // initialized to 0
static std::array<MyClass,10> a{}; // initialized by MyClass::MyClass()
// --- local; no initializer
std::array<int,10> a; // uninitialized
std::array<MyClass,10> a; // initialized by MyClass::MyClass()
// --- local; empty initializer
std::array<int,10> a{}; // initialized to 0
std::array<MyClass,10> a{}; // initialized by MyClass::MyClass()
// --- heap; no initializer
std::array<int,10> *a = new std::array<int,10>; // default initialized (uninitialized)
std::array<MyClass,10> *a = new std::array<MyClass,10>; // default initialized: initialized by MyClass::MyClass();
// --- heap; empty initializer
std::array<int,10> *a = new std::array<int,10>(); // value initialized (set to zero)
std::array<MyClass,10> *a = new std::array<MyClass,10>(); // value initialized: also initialized by MyClass::MyClass();
BTW, the "experiment" by which the OP found their array to be set to zero would be better done by deliberately unzeroing the heap first, by something like

std::array<int,100> *z = new std::array<int,100>;
for (int i = 0; i < 100; ++i) (*z)[i] = 0xffffffff;
delete z;

This is not definitive but it makes it more likely that the next thing allocated from the heap doesn't use fresh system-allocated memory, which might indeed be all zeros. CodeTalker (talk) 17:37, 2 June 2024 (UTC)[reply]

June 2[edit]

Fingerprint, Identification key, Recipe, Answer file, INI file, Bibliographic Record[edit]

A couple of examples for context:

  1. ccache "caches compilations so that ... the same compilation can be avoided and the results can be taken from the cache... by hashing different kinds of information that should be unique for the compilation and then using the hash sum to identify the cached output."
  2. Saving a copy of an online webpage from within a Web Browser (File > Save Page As...)


What is the word for a set of parameters which attribute to an instance/snapshot the information required for it's reproduction?
In the examples above, ccache utilises "different kinds of information that should be unique for the compilation", similarly if I save a webpage from within a Web Browser, the only way for someone to be guaranteed to independently replicate the same file would be for the same URI to be accessed by the same version of the Web Browser with the same configuration (e.g. javascript enabled/disabled, identical installation+configuration of extensions which affect page retrieval/rendering) on the same Operating System with the same configuration.

In the case of ccache, the compiler version and flags are some factors of the "information that should be unique for the compilation", and during recompilation inputting the same selection of information results in an identical hash and therefore a cache match.
But what is the word to describe the information being input?
I'm not looking for a generic word like "metadata".

Some words I thought of which seemed to be candidate answers were:

  • Fingerprint (computing) - However fingerprint refers to an algorithmic output (e.g. ccache 'hash') whereas I am wanting to refer to the inputs, which the article simply defines as "a procedure that maps an arbitrarily large data item (such as a computer file) to a much shorter bit string, its fingerprint".
  • Key (cryptography) - This seemed very close, except that in the case of cryptography it is described as "a piece of information" whereas I am looking for a word to refer to a "set of information".
  • Identification key - "aids the identification of biological entities", rather than describing the parameters of the entities creation.
  • INI file - "a text-based content with a structure and syntax comprising key–value pairs for properties, and sections that organize the properties", so what would be the name of the section?
  • Answer file - Contains the data that is essentially what I am describing, except that an answer file is context-specific to computer program installation.
  • Recipe - Are configurations equivalent to 'ingredients'? I would have thought a recipe would include much more detail that just application version numbers and parameters.
  • Bibliographic record - This seems the most relevant as a name for the set of reproduction parameters, except that it is context-specific to library science.
  • Exif - Again, very similar, but the set of parameters is just referred to as EXIF metadata or tags.
  • User Agent/Generator - This is part of the information which would be included in the set.
  • Finite-state machine/Combinational logic - Wouldn't this be referring to the method/logic, rather than the input parameters?
  • Artifact - This refers to the File, rather than the attributes which contain the information required for the File's reproduction.
  • Snapshot (computer storage) - Again the File, rather than the attributes.

Mattmill30 (talk) 16:16, 2 June 2024 (UTC)[reply]

Would the correct generic word for "a set of parameters which attribute to an instance/snapshot" be the 'profile', which is then qualified with the context-specific word 'generator'?
Therefore making the "set of parameters which attribute to an instance/snapshot the information required for it's reproduction" the 'generator profile'?
If so, what would be the "different kinds of information that should be unique for the compilation" used by ccache? the 'compilation profile'?
So then the ccache article would be appropriately updated with "the next time compilation of the same project using the same compiler with the same compilation profile is attempted, the same compilation can be avoided and the results can be taken from the cache. Mattmill30 (talk) 17:27, 2 June 2024 (UTC)[reply]
The examples you give don't (as far as I understand the issue) help to reproduce an item. Is Unique identifier what you mean? It is a generic term; depending on the use, various types of unique identifiers have more specific names, such as the International mobile subscriber identity and International Standard Book Number.  --Lambiam 17:41, 2 June 2024 (UTC)[reply]
In the case of saving a copy of the same Webpage from multiple Web Browsers, a Unique identifier would be necessary in distinguishing between the multiple copies.
e.g. you could append the name of the Web Browser to the filename, or in the case of multiple copies of a webpage from different versions of the same Web Browser then using the Installation GUID, etc.
However, that wouldn't provide information specific enough to facilitate reproduction, or enable identification of other copies/instances of a particular resource which was generated using an identical system configuration.
Did my earlier response to myself provide clarity to my question?
If my question is still unclear, I can construct an example "solution" which may provide clarity Mattmill30 (talk) 18:19, 2 June 2024 (UTC)[reply]
Wikipedia pages have a revision ID. That of the version of this page, after you posted your question, is 1226936970 Can I use it to reconstruct a screenshot of what you saw? No. I don't know if you used a laptop or a smartphone. Suppose I know you used a MacBook. Which type of many types? Which size of screen? Produced in which year? (This makes a differences for some types.) Which release of macOS were you using, and which version of that release? Likewise, not only which browser, but also which version? Did your browser have customizations? Was the window full-screen? If not, what were its sizes? How far up or down was the page scrolled, and at which zoom level was it being viewed? Did you watch in dark mode? Knowing all this may still not be enough for a faithful reconstruction of what you saw. Only a screenshot will do.  --Lambiam 06:08, 3 June 2024 (UTC)[reply]
One distinction I do want to make is that in my examples I didn't go as far as "reconstructing a screenshot", though the word I am trying to obtain should be capable of also labeling the set of attributes which would be required in reconstructing a screenshot.

For example, if a Web Browser saves the Webpage of a URI to a file, and then that file is reopened in the same Web Browser, with the same configuration, and a screenshot is taken, then the set of metadata attributed to the screenshot file would include:

?label profile? = ('HTTP response','Web Browser "save as" filename+parameters {User-Agent+about:plugins+env+profile_config_diff}','Web Browser+Operating System "screenprint" filename+parameters [e.g. screen resolution, window size, etc]')
With the inputs+metadata for each step in the processing sequence, it would be possible to faithfully reconstruct a screenshot.

However, my question isn't specifically about reconstruction, it's about reproducibility using "a set of parameters which attribute to an instance/snapshot the information required for it's reproduction".
So the assumption is that the file is available, and I am asking what the correct label would be for a complete set of metadata that would enable reproduction (essentially a proof? - I'm not a mathematician). Mattmill30 (talk) 12:21, 3 June 2024 (UTC)[reply]
Can you clarify the difference between reconstructibility and reproducibility? In which aspects is a reproduced item allowed to differ from the original?  --Lambiam 15:35, 3 June 2024 (UTC)[reply]
Reproduction vs Reconstruction
Reproduction Reconstruction
A copy of something, as in a piece of art; a duplicate A thing that has been reconstructed or restored to an earlier state
(computing) A method for reproducing a bug or problem A result of an attempt to understand in detail how a certain result or event occurred
In reproduction the existence of the original production isn't necessary if a method for reproduction is known. Whereas in reconstruction, the original thing must exist in order for it to be reconstructed.

For example, let's say I and many others have archives of Webpages produced from a variety of time periods and Web Browser versions, but the file contents of my archive becomes corrupted.
I could "reproduce" my archive from the archives of others if they held copies of the same webpages with same "Last-Modified" or "ETag" HTTP headers, saved from the same Web Browser version, which completely satisfies my set of reproduction metadata; but I could only "reconstruct" my archive if I had taken a backup of my archive in advance.
Mattmill30 (talk) 18:33, 3 June 2024‎ (UTC)[reply]
Not everyone makes the distinction you make. For example, one of the senses Merriam–Webster gives for reconstruct is "to re-create or reimagine (something from the past)", offering this example: "reconstructing a lost civilization".[4] A civilization that is lost has ceased to exist.
The web pages of many websites do not have enough meta information in their URI + embedded in the file itself to enable unique identification of an archived version. If they do, the combined meta information forms a unique identifier. Without knowing the operational procedures of the people putting content on these pages and assuming they adhere to them, it is not possible to be certain of the uniqueness, though. They might for example fix an obvious spelling mistake while not changing the meta information.  --Lambiam 21:24, 3 June 2024 (UTC)[reply]
I agree that combined meta information potentially forms a unique identifier. But "I'm not looking for a generic word like 'metadata'", and as you have acknowledged "[Unique identifier] is a generic term; depending on the use, various types of unique identifiers have more specific names".
I am looking for a specific term.

I've given the two examples of a fully-automated cache and a semi-automated saving of a downloaded webpage, which have varied inherent terminology.
For example, the set of attributes which ccache utilises are called options, arguments, information and mode, because of it's command-line context.
ccache hashes "different kinds of information that should be unique for the compilation" and if the cache doesn't already hold a file named with the uniquely identifying BLAKE3 hash, then it completes the compilation and the output file is named "using the hash sum to identify the cached output"[5].
In this example the term 'unique identifier' is already used and more appropriately applies to the hash rather than the ccache-input-* information[6]. If the information were then attributed to the cached output file, the files now have a set of attributes containing production metadata (I previously considered a context-specific label of "compilation profile"), which would vary from the webpage archive example because, in addition to facilitating identification of other copies/instances of a particular resource which was generated using an identical system configuration, the production metadata would be of debug-quality and so also enable verification and validation.

I would expect the term for referring to the varied set of attributes to either be an umbrella term or have context-specific variability, in order to accommodate the nuances of different production procedures.

I'm unsure whether 'profile' would be an appropriate term, given it's definition: A summary or collection of information. Unless it was perhaps used as the umbrella term for all the various sets of context-specific attributes, referred to as the production profile. Mattmill30 (talk) 16:57, 4 June 2024 (UTC)[reply]
Given the focus of my question is metadata to facilitate reproduction, which is broadly covered by the fields of Science and Business, I've realised that the stages of an assembly line are co-ordinate to steps within a job stream, which appear to be forms of Workflow.

Since Workflow is a management term, it seems my original question imports the concepts of sequential sets of metadata, which I recognised in mentioning 'INI file' as one of my candidate answers, and hierarchy, which is inherent (URI) to the HTTP cookie variant of Magic cookies.
My reservation with the use of the word cookie, is that magic cookies are "used to identify a particular event or transaction; the data is typically not meaningful to the recipient program and not usually interpreted until the recipient passes the data back to the sender or another program at a later time"[7], whereas metadata to facilitate reproduction would have to record a particular event or transaction.
Therefore, although I recognise file metadata would likely be attributed by way of either Property Handlers/Alternate Data Streams or similar technologies, I think the universality of the INI format makes it suitable at this time to explore a solution to the concept of production workflow metadata, in order to realise the various elements.

Therefore, would the following definitions satisfy as terms for a "set of parameters which attribute to an instance/snapshot the information required for it's reproduction"?
Section = Profile (i.e. Production)
Key = Event (timestamped production job/event identifier [e.g. Firefox 125.0.3-1, 'Save Page As...'])
Value = Attributes presented in name/value pairs from the production event parameters (e.g. HTTP-response= ; User-Agent= & about:plugins= & env= & profile_config_diff= ;)

Mattmill30 (talk) 17:05, 4 June 2024 (UTC)[reply]
Do you want to coin a term, or are you looking for an existing term of art that covers whatever it is you are trying to describe? Inasmuch as I get what it is (hardly, I must confess), it seems a pretty generic concept, so a term covering it should be expected to have a pretty generic coverage. I mean, do we have a name for, "an information record that describes something"? Yes, it is a descriptor, which is a generic term because it is a term for a generic concept. It is also not too clear to me what the issue has to do with computing; it seems perhaps more related to information science. A few well-chosen realistic use cases might (perhaps) clarify the issue. The reproduction of archived web pages seems a less realistic use case, for the reasons I have given.  --Lambiam 18:57, 4 June 2024 (UTC)[reply]
Ideally, I am hoping to find an existing term, and not necessarily a term of art. But in the case that neither a general term can be contextualised, or a term of art doesn't exist, such that a new one must be coined, then I am trying to define the scope that the term should encompass.
I agree that my question is multi-disciplinary, but I have raised it in computing because I am looking for an answer which applies to computer processes and files, rather than, for example, bibliographic records in library science. It seems to be within the vein of Version control

The concept has general and specific elements. Similar to how MusicXML has a specific utility (Western musical notation) written in a general markup language (XML).
My question is both general, in that I am discussing standard File System and Operating System features, metadata constructs and a framework for measuring completeness of the metadata for enabling reproducibility, and specific, in that the context is specifically for the recording of production processes and parameters which contributed to be current state of a file/resource.

I will attempt to flesh out a more comprehensive solution than my INI example, and some realistic use cases. But I am still only asking for words which appropriately label the elements/fields for storing and identifying production metadata, within the Computing vocabulary or domain of discourse. Mattmill30 (talk) 06:18, 5 June 2024 (UTC)[reply]
I'm thinking environment parameters. (I'm also thinking about epigenetics, but that's the wrong domain, and I may have failed to understand your concept anyway. Still, epi- is a nice prefix.)  Card Zero  (talk) 10:17, 5 June 2024 (UTC)[reply]
Google Gemini suggested 'identical execution environment'. You can abbreviate it to iEE. manya (talk) 07:17, 7 June 2024 (UTC)[reply]


June 6[edit]

Pdf[edit]

Ho! If I shrink a pdf with Acrobat say I can get it down by 60% say but if I then want to OCR it the size goes up to be even more massive than it was before. Is there a way to avoid this, say, keeping it smallish but also with text recognition? Thank you 2.28.124.7 (talk) 10:40, 6 June 2024 (UTC)[reply]

I am not familiar with the use of Acrobat and am not sure what you mean by "shrinking" a pdf with Acrobat.
Some apps, such as PDFpen, can OCR a bitmap and turn it into a searchable pdf.[8] The output is not much larger than the input – the blow-up in size occurs in the other direction, when a pdf produced by a word processing app is converted into a bitmap. PDFpen is not free; I do not know if there are free apps for this.  --Lambiam 19:35, 6 June 2024 (UTC)[reply]
A scanned PDF is, in essence, a PDF container with a series of high-resolution bitmaps (JPEGs) for each page. A typical OCR-annotation program extracts each JPEG, does optical recognition, and then adds PDF text objects behind the JPEGs (so they're selectable and copyable, but not visible). Those text additions are trivial - typically a few KB at most, per page.
Your problem is twofold - you want to a) downscale the JPEGS and b) add the OCR annotations. These are effectively orthogonal tasks. I've no idea how you're getting the poor results you are, with the Acrobat workflow. But I can do what you want with ghostscript and then ocrmypdf (which uses Tesseract). All of this is free software. For me, in Linux, it's as easy as:
QUALITY=/ebook  # use one one of /screen /ebook /printer /prepress /default  # /screen is very low resolution, /prepress is the highest

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=$QUALITY -dNOPAUSE -dBATCH  -dQUIET -sOutputFile=scaled.pdf test.pdf

ocrmypdf scaled.pdf ocred.pdf
For me, this takes a 2.5Mb scanned pdf test.pdf and the GhostScript (gs) line scales it down to 178Kb. The ocrmypdf command takes that and produces a 181Kb file (a modest addition consistent with the text on that page).
I've no idea how do to any of this with Acrobat. -- Finlay McWalter··–·Talk 20:20, 6 June 2024 (UTC)[reply]


June 8[edit]