Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Zoomify: Reply
 
Line 1: Line 1:
[[Category:Non-talk pages that are automatically signed]]<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:Pages automatically checked for incorrect links]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia reference desk|Computing]]
[[Category:Wikipedia help pages with dated sections]]
[[Category:Wikipedia resources for researchers]]
[[Category:Wikipedia resources for researchers]]
[[Category:Wikipedia help forums]]</noinclude>
</noinclude>


= December 28 =
{{Wikipedia:Reference_desk/Archives/Computing/2010 October 31}}


== File disambiguators (1): Explorer/W11 ==
{{Wikipedia:Reference_desk/Archives/Computing/2010 November 1}}


Óla! So Explorer adds (''n'') to a file with a duplicate name to an existing one. Do you have suggestions how to easily identify and delete them? The search option doesn't recognize parentheses, so a search would merely identify files with that number in the title. The reason for asking is that if a folder has a large number of duplicates that should be deleted, it would be easier to sort/select/delete rather than ctrl+click individually. Thank you! [[Special:Contributions/2.28.124.91|2.28.124.91]] ([[User talk:2.28.124.91|talk]]) 16:31, 28 December 2024 (UTC)
{{Wikipedia:Reference_desk/Archives/Computing/2010 November 2}}
:https://www.alldup.de/alldup_help/alldup.php and then set it to compare 100% of the content. [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 17:16, 28 December 2024 (UTC)
::Thank you [[User:Polygnotus|Polygnotus]], that's great, and freeware too. It looks like it might take some getting used to! Cheers, [[Special:Contributions/2.28.124.91|2.28.124.91]] ([[User talk:2.28.124.91|talk]]) 18:13, 28 December 2024 (UTC)
:Use a better search program - [https://www.mythicsoft.com FileLocator] will find {{code|* - Copy (*).*}}, and I'm sure there are others with will also do the job.
:Use the [[cmd.exe|command]] prompt, eg {{code|dir "* - Copy (*).*"}} works. (You can also use {{code|del}} similarly, but do so with caution and at your own risk.)
:[[User:Mitch Ames|Mitch Ames]] ([[User talk:Mitch Ames|talk]]) 09:35, 2 January 2025 (UTC)


= November 3 =
= December 30 =


== Selecting multiple items in checkbox on this website. Is there an easier way? ==
== help for connecting to server ==


Please look at this link:
i installed this game ..london law on my ubuntu 10.10...thye ask for a host to connect to ...how do i find it out and how do i find out the port number..thanks[[User:Metallicmania|Metallicmania]] ([[User talk:Metallicmania|talk]]) 03:15, 3 November 2010 (UTC)
: Was it blocked by Windows firewall? It may prevent the program from accessing the internet. [[User:General Rommel|General Rommel]] ([[User talk:General Rommel|talk]]) 21:03, 3 November 2010 (UTC)


https://www.archonia.com/en-us/search?q-a2%5B0%5D=1&q-a2%5B1%5D=2&q-a2%5B2%5D=3&qf%5B0%5D=3046&filter_string=doctor%20who
== Slash in the IP address ==


On the left of the web page you will see a checkbox "Status" with 3 items checked. The problem I have is that the only way I can get multiple items checked is by '''editing the URL'''. If I just click on an item in a checkbox on this website the other items get unchecked. In other words: the checkbox works like radio buttons. I tried a different browser; I tried ctrl-click and shift-click and alt-click. Nope. On other websites ([https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_checkbox here] for example) I do not have this problem. Do you experience the same inconvenience? And if so any ideas on how to do this easier than by url editing? [[Special:Contributions/213.126.69.28|213.126.69.28]] ([[User talk:213.126.69.28|talk]]) 11:55, 30 December 2024 (UTC)
What does it mean when there is a slash in the IP address, such as 192.168.0.0/24 ? [[Special:Contributions/220.253.253.75|220.253.253.75]] ([[User talk:220.253.253.75|talk]]) 06:58, 3 November 2010 (UTC)
:The concept is explained in our article on [[CIDR notation]]. Regards, <code>[[User:Decltype|decltype]]</code> <small>([[User talk:Decltype|talk]])</small> 07:02, 3 November 2010 (UTC)


:Not necessarily AFAIK, and that's coming from someone with experience in web design. You're unfortunately seeing their poor web design. <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 00:17, 31 December 2024 (UTC)
It's an ip range. In that example, it means everything in the range "192.168.0.0" to "192.168.0.255" [[Special:Contributions/82.44.55.25|82.44.55.25]] ([[User talk:82.44.55.25|talk]]) 09:49, 3 November 2010 (UTC)


== Windows 10 Bin ==
In other words, it is the number of 1s in the subnet mask. So /24 is equivalent to the subnet mask of 11111111111111111111111100000000 or 11111111.11111111.11111111.00000000 or 255.255.255.0 - [[User:wikicheng|Wiki'''''Cheng''''']] | [[User talk:wikicheng|Talk]] 12:19, 3 November 2010 (UTC)


Doing a quick search online I realized that the path to the Windows recycle bin is C:\$Recycle.Bin; however, for some reason I don't understand, it doesn't seem to be the "Recycle Bin" on the desktop, they just seem to be two different paths (explanatory screenshot at the following link: [https://imgur.com/a/2tn8HFy]). Are they actually two different paths? If so, why? If not... why aren't the two windows synchronized? [[Special:Contributions/2A01:827:160:D601:2E75:E3BA:BBBF:B55D|2A01:827:160:D601:2E75:E3BA:BBBF:B55D]] ([[User talk:2A01:827:160:D601:2E75:E3BA:BBBF:B55D|talk]]) 14:35, 30 December 2024 (UTC)
== IT milestones in 2007 ==


:C:\$Recycle.Bin has the recycle bins for all users. Yours will appear with the normal name and icon, the others will appear as the [[Security Identifier]] of the respective account. If you click on the one for your account, it should show the same contents (note Windows Explorer shows the files which are in the recycling bin - it does not show the actual files storing the data used by the recycling bin). As for why they are different, it's hard to say without more information. If you delete something, does it appear in both or just one? Thanks [[Special:Contributions/2603:6011:9440:D700:2080:28C1:577E:41B3|2603:6011:9440:D700:2080:28C1:577E:41B3]] ([[User talk:2603:6011:9440:D700:2080:28C1:577E:41B3|talk]]) 23:26, 7 January 2025 (UTC)
Hi, Can you direct me to a website / article which lists the major milestones of Information Technology in 2007 ? - [[User:wikicheng|Wiki'''''Cheng''''']] | [[User talk:wikicheng|Talk]] 08:21, 3 November 2010 (UTC)


:[[:Category:2007|Wikipedia]]? --[[User:Andreas Rejbrand|Andreas Rejbrand]] ([[User talk:Andreas Rejbrand|talk]]) 08:49, 3 November 2010 (UTC)


::Where on there does it list the specifically IT milestones? --[[User:Mr.98|Mr.98]] ([[User talk:Mr.98|talk]]) 12:03, 3 November 2010 (UTC)
:::I don't think it does. The closest I could find is [[Timeline of computing 2000–2009]]. Although by that, it doesn't look like 2007 was a very busy year. [[User:Indeterminate|Indeterminate]] ([[User talk:Indeterminate|talk]]) 15:08, 3 November 2010 (UTC)


= January 1 =
Thank you ! In case you find some other websites (other than Wikipedia), I will be interested. Nonetheless, this has been helpful - [[User:wikicheng|Wiki'''''Cheng''''']] | [[User talk:wikicheng|Talk]] 07:50, 4 November 2010 (UTC)


== Items with multiple attributes ==
== Question(s) about Arch Linux ==
{{Moved from|User talk:TheTechie#Aaaaarrrrchh brrr!}}
@[[User:TheTechie|TheTechie]] ... A question? Do you used [[archinstall]] to install Arch Linux? I think i will install Arch Linux, cause, i want BTW [[User:Vitorperrut555|Vitorperrut555]] ([[User talk:Vitorperrut555|talk]]) 23:31, 1 January 2025 (UTC)
:Moved this here as I found this to be a better place for it. As for your question, no, I used text commands. Though I may be able to help. Any specific questions? <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 00:32, 2 January 2025 (UTC)
:@[[User:Vitorperrut555|Vitorperrut555]] <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 00:41, 2 January 2025 (UTC)
::When I installed Arch Linux, I used a live-boot USB. Once booted, it has an "install" icon that can be used to do a basic install. Then, once installed, you can customize it by removing and adding the packages you like. [[Special:Contributions/68.187.174.155|68.187.174.155]] ([[User talk:68.187.174.155|talk]]) 15:42, 2 January 2025 (UTC)
:::68.187.174.155, I think you're confused. Archinstall is a command on Arch Linux, and the Arch Installer boots in text mode. You may be thinking of an Arch derivative like Manjaro or EndeavourOS, which do indeed boot up in graphical environments. <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 20:23, 2 January 2025 (UTC)


= January 2 =
I want to re-write a simple book-keeping program that labels, categorises, and group-totals the enteries in my bank statements, as supplied in [[CSV]] format. The earlier version written in old Basic used an array to represent the various parts of each line: date, amount, description, category, etc.


== Bayeux Tapestry website ==
In more modern languages, is there any way of representing this kind of multi-attribute data that is better than an array? Or should I just stick with arrays? Is there any language, especially a basic-like language, that makes things such as totaling a column in an array easy to do? I do not want to use a spreadsheet. Thanks [[Special:Contributions/92.15.0.194|92.15.0.194]] ([[User talk:92.15.0.194|talk]]) 14:33, 3 November 2010 (UTC)


What image-serving technology is the [https://www.bayeuxmuseum.com/en/the-bayeux-tapestry/discover-the-bayeux-tapestry/explore-online/ new Bayeux Tapestry website] using, and how can high-res images be downloaded? <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 20:59, 2 January 2025 (UTC)
:I would suggest you could represent the items as a [[struct]] or a [[class]]. Then you would have item.date, item.amount, etc. You would then have an array (or, in many languages a list) of items, and could quickly iterate over them to produce the sums. [[C_Sharp_(programming_language)|C#]] will certainly do this, and I would stronlgy expect [[VB.net]] to be the same. No doubt there are other alternatives. --[[User:Phil Holmes|Phil Holmes]] ([[User talk:Phil Holmes|talk]]) 14:40, 3 November 2010 (UTC)


:@[[User:Pigsonthewing|Pigsonthewing]] Welcome to the Reference Desk for Computing. Are you trying to download all images, or only specific ones? {{User:TheTechie/pp}} <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 00:54, 3 January 2025 (UTC)
: {{ec}}If the set of attributes is fixed, you'd mostly represent each entry as a tuple (aka a struct in C or an object in Java), where each element of the tuple had a type appropriate for the kind of data that attribute would store. If, on the other hand, attributes could be entirely arbitrary, you'd probably use a hashtable to store each of the attribute-name:attribute-value pairs. Then you'd probably have an array of entries (other data structures might be appropriate depending on how you'd be accessing them). Pretty much any modern programming language can do all this very simply. I try not to specifically evangelise, but certainly doing this in [[python (programming language)|Python]] would be straightforward. -- [[User:Finlay McWalter|Finlay McWalter]] ☻ [[User talk:Finlay McWalter|Talk]] 14:46, 3 November 2010 (UTC)
::The former preferably, but an answer for either would be of interest, as the technology is likely in use elsewhere. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 16:46, 3 January 2025 (UTC)
: According to their [https://www.bayeuxmuseum.com/en/the-bayeux-tapestry/discover-the-bayeux-tapestry/explore-online/#termsofuse terms of use], "Access to this panorama is free for a private or public non-commercial use. Any commercial use of this tool is prohibited, '''as well as the extraction of images from this panorama'''" (my emphasis). This may or may not bother you. [[User:Chuntuk|Chuntuk]] ([[User talk:Chuntuk|talk]]) 18:24, 3 January 2025 (UTC)
::Even more, the "images" which get loaded are tiled portions of the actual image. <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:15px"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 19:11, 3 January 2025 (UTC)


:Was just wondering why you say "I do not want to use a spreadsheet", and how hard and fast that restriction is. Sorting line items by category and sub-totalling within categories (plus a whole lot more) is ''exactly'' what pivot tables in MS Excel do for you. If you want the fun and challenge of rolling your own code then that is fine - just as long as you realise that you are doing a 5 mile run when you could take a taxi instead. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 15:12, 3 November 2010 (UTC)
::Exaggeration. Totaling a column in an array takes a line of code. [[Special:Contributions/92.24.178.95|92.24.178.95]] ([[User talk:92.24.178.95|talk]]) 17:33, 3 November 2010 (UTC)
:::That depends entirely on the programming language and functions previously written. Given enough functions written, I could do this entire project is "one line of code" with: <tt>do_all_the_work();</tt>. -- [[User:Kainaw|<font color='#ff0000'>k</font><font color='#cc0033'>a</font><font color='#990066'>i</font><font color='#660099'>n</font><font color='#3300cc'>a</font><font color='#0000ff'>w</font>]][[User talk:Kainaw|&trade;]] 18:24, 3 November 2010 (UTC)
::::It takes one line of code in Basic. [[Special:Contributions/92.24.178.95|92.24.178.95]] ([[User talk:92.24.178.95|talk]]) 18:27, 3 November 2010 (UTC)
:::::Sure, totalling values in an array is easy. But how does the user get the data into the array in the first place ? And how are the results presented back to the user ? And how and where is the data in the array stored when the program is not in use ? And how does the user change the data in the array ? Or what if they change their mind about how they want to analyse the data, or want to change the structure of the data ? Your "one line" program can't do any of that, whereas it all comes for free in a spreadsheet. Your are telling the guy running the marathon "it's easy - you just have to put one foot in front of the other". [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 13:49, 4 November 2010 (UTC)
::::::Some of your questions are answered by reading the original question. The rest of them are simple programming. [[Special:Contributions/92.28.250.172|92.28.250.172]] ([[User talk:92.28.250.172|talk]]) 14:12, 4 November 2010 (UTC)
::::Is there a need to change? at best you would be replacing ''array[n][5]'' (when the 5th element is price or whatever) with ''array[n].price'' , (and using a for next loop over n), even something old like pascal (eg [[freepascal]]) can do this using 'records'. eg http://www.hkbu.edu.hk/~bba_ism/ISM2110/pas048.htm (full object orientated languages can do more, but in the example you gave that would probably be of little use)
::::[[freebasic]] can do the same type of thing .. there will be other examples of languages not far removed from the basic you're using. It's not really any simpler, and you have to learn the new syntax etc. So...[[User:Sf5xeplus|Sf5xeplus]] ([[User talk:Sf5xeplus|talk]]) 19:53, 3 November 2010 (UTC)
Exactly what I was thinking Sf5xeplus; the struct or class things seem difficult and unless there is a function for adding them all up, not any easier. [[Special:Contributions/92.28.241.78|92.28.241.78]] ([[User talk:92.28.241.78|talk]]) 20:21, 3 November 2010 (UTC)


= January 4 =
''link'' The article I forgot to link is [[Record (computer science)]] - just about every language has a version, including newer BASICs, in general they're of good use when you've got strings, and numbers associated with the same item. Easier to read (in principle) but not necessarily simpler or easier when only writing small programs. [[User:Sf5xeplus|Sf5xeplus]] ([[User talk:Sf5xeplus|talk]]) 22:25, 3 November 2010 (UTC)


== Zoomify ==
== Story Management software ==


Is it possible to download the map [http://cartesmich.free.fr/ww2.php ''La ligne de démarcation''] that is shown via Zoomify?--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 22:48, 4 January 2025 (UTC)
Im looking for some software to manage stories (for a load of short stories)
:Yes, if you google "download zoomify image" you will see various ways. [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 23:44, 4 January 2025 (UTC)
::Ah, of course I googled before and found that but was not successful. So I asked here.--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 11:31, 5 January 2025 (UTC)
:::Please mention what you've already tried before and what did not work and what happened instead (e.g. error messages). [[User:Polygnotus|Polygnotus]] ([[User talk:Polygnotus|talk]]) 04:57, 6 January 2025 (UTC)
::::Tried [https://www.reddit.com/r/DataHoarder/comments/h9sb3g/do_you_guys_know_some_way_to_get_the_full_image/?rdt=65502] and of course also the dezoomify tool but got immediately stuck because I was not able to find an URL. Very few programming skills, none regarding HTML, that's why I ask here.--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 10:46, 6 January 2025 (UTC)
:{{Outdent}}
:@[[User:Antemister|Antemister]]:
:I wasn't able to download the file as it was taking forever, but [https://dezoomify.ophir.dev/#http://cartesmich.free.fr/ww2.php this] URL appeared to download the files for 30+ minutes on a fast internet. Let us know if this works. <span style="font-family:monospace; font-weight: bold"> <span style="color:ForestGreen;font-size:1.15em"> [[W:EN:User:TheTechie|<span style="color:#803280">TheTechie@enwiki</span>]]</span> (<span style="color:#324c80">she/they</span> {{pipe}} [[User talk:TheTechie|<span style="color:rgb(90,50,128)">talk</span>]]) </span> 03:19, 8 January 2025 (UTC)
::I've successfully taken images off the [[Imperial War Museum|IWM]] via their source code and dezoomify, but I'm puzzled as to how to extract images here, as Dezoomify appears to be perpetually stuck on 'preparing tiles load'. The longest I've seen it take for large images in the past is a couple of minutes. Like Antemister, I've little programming knowledge, but I think the following elements in the code are related:
::<code>
::<!--Zoomify--><script type="text/javascript" src="ZoomifyImageViewerFree-min.js"></script>
::<!--Zoomify--><script type="text/javascript"> Z.showImage("myContainer", "images/France_LD"); </script>
::</code>
::On going to http://cartesmich.free.fr/images/France_LD/ I get [[HTTP 403|error 403]]. Perhaps this website is savvy about theft of its most high-resolution public domain images. Maybe someone has the patience to hunt about in the browser console. '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 04:51, 8 January 2025 (UTC)
::: If they're public domain images, it's not "theft". Please avoid such misleading and perjorative language. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 10:52, 8 January 2025 (UTC)
::::It's still potentially in violation of their ToS (not that I much care) and could, per my reading of my law (assuming this is an american website, which it isn't) run afoul of something like the Computer Fraud and Abuse Act.
::::<br>
::::The ToS is a reasonable concern, which is why I said theft. '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 15:53, 8 January 2025 (UTC)
:::::Even if all you say were true (It's highly doubtful; there appear to be no published terms of service - much less any that a user agrees to before viewing the site; and in any case we are not all in the USA), it's ''still'' not theft. <span class="vcard"><span class="fn">[[User:Pigsonthewing|Andy Mabbett]]</span> (<span class="nickname">Pigsonthewing</span>); [[User talk:Pigsonthewing|Talk to Andy]]; [[Special:Contributions/Pigsonthewing|Andy's edits]]</span> 16:11, 8 January 2025 (UTC)
::::::You're right--there are no terms (though the host website, free.fr, appears to have a TOS page). '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 16:53, 8 January 2025 (UTC)
Yes, I came to that cited code, but had no idea to open that container
Also tried again dezoomify, and also waited a long time, and after 1-2 hours i get an error message. And it includes a link, [http://cartesmich.free.fr/images/France_LD/TileGroup3/6-1-0.jpg], if you alter the numbers you can find various tiles of the map.is it possible to proceed with that, download that folder?--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 22:34, 8 January 2025 (UTC)


:Hmm! So I pasted this conversation into ChatGPT, and told it to generate code for use in Google Colab. The code is [https://pastebin.com/8hWXWBbD here] (it doesn't really do what it's supposed to, at all, but a start).
so for example, if i make a story with the title '''''[[Example]]''''' i cant make another one with the same title as its already taken (getting rid of duplicates)
:The really screwed-up image it generated is [https://imgur.com/a/c1j43De here]. Hopefully these are of help to someone with more Python experience than I.'''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 02:35, 9 January 2025 (UTC)


{{od}}
can be either offline (on my computer) or online (a bit like a wiki) and for txt and/or doc and/or PDF, i dont mind which
I gave this another try. This time it was able to actually download the image correctly, but only a horizontal section. The code is collapsed below. I think it needs only some slight tweaking.


{{collapse top}}
thanks in advance :D


<nowiki> import os
[[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 16:34, 3 November 2010 (UTC)
::import requests
:I looked up "story management software" on Google and this is freeware that got a favourable review: http://www.spacejock.com/yWriter5.html I don't know if its what you are looking for. Otherwise, have you considered saving Example followed in the title by the date or time, eg "Example 1 1 10"? [[Special:Contributions/92.24.178.95|92.24.178.95]] ([[User talk:92.24.178.95|talk]]) 18:25, 3 November 2010 (UTC)
::from PIL import Image
::# Base URL and directory setup
::BASE_URL = "http://cartesmich.free.fr/images/France_LD/TileGroup8/"
::OUTPUT_DIR = "tiles"
::MERGED_IMAGE = "merged_image.jpg"
::# Ensure the output directory exists
::os.makedirs(OUTPUT_DIR, exist_ok=True)
::# Function to download a tile
::def download_tile(url, save_path):
:: response = requests.get(url)
:: if response.status_code == 200:
:: with open(save_path, "wb") as f:
:: f.write(response.content)
:: return True
:: return False
::# Function to stitch the tiles together
::def stitch_tiles(tiles, tile_size):
:: max_x = max(x for x, y in tiles.keys()) + 1
:: max_y = max(y for x, y in tiles.keys()) + 1
:: # Create a blank canvas for the final image
:: merged_image = Image.new("RGB", (max_x * tile_size, max_y * tile_size))
:: # Paste tiles onto the canvas
:: for (x, y), tile_path in tiles.items():
:: tile_image = Image.open(tile_path)
:: merged_image.paste(tile_image, (x * tile_size, y * tile_size))
:: return merged_image
::# Set parameters for downloading tiles
::tile_size = 256 # Assume each tile is 256x256
::x_range = range(36, 50) # Adjust based on your needs (x-coordinate range)
::y_range = range(24, 40) # Adjust based on your needs (y-coordinate range)
::# Dictionary to store downloaded tile paths
::downloaded_tiles = {}
::# Download tiles
::for x in x_range:
:: for y in y_range:
:: tile_url = f"{BASE_URL}6-{x}-{y}.jpg"
:: tile_path = os.path.join(OUTPUT_DIR, f"6-{x}-{y}.jpg")
:: if download_tile(tile_url, tile_path):
:: downloaded_tiles[(x - min(x_range), y - min(y_range))] = tile_path
:: print(f"Downloaded: {tile_url}")
:: else:
:: print(f"Tile not found: {tile_url}")
::# Stitch the tiles into a single image
::if downloaded_tiles:
:: merged_image = stitch_tiles(downloaded_tiles, tile_size)
:: merged_image.save(MERGED_IMAGE)
:: print(f"Merged image saved as {MERGED_IMAGE}")
::else:
:: print("No tiles were downloaded!") </nowiki>


{{collapse bottom}}
:: nice idea for the date, but say it goes like this
:: * '''Title:''' Hello there 1/nov/10. '''Content:''' Hello and welcome to Wikiedia...
:: * '''Title:''' My userpage 2/nov/10. '''Content:''' This is my user page...
:: * '''Title:''' Hello there 3/nov/10. '''Content:''' Hello and welcome to Wikiedia...
:: title 1 and 3 are the same :(
:: the software is cool :) but its more for long stories rather than loads of small ones
:: still good though :) [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 19:46, 3 November 2010 (UTC)


-- '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 16:09, 9 January 2025 (UTC)
:Online [[Google Docs]] lets you have files of the same name, it stores them by date (last modified)..
:Offline I don't know of an example.[[User:Sf5xeplus|Sf5xeplus]] ([[User talk:Sf5xeplus|talk]]) 19:37, 3 November 2010 (UTC)
:: thanks ill take a look :) [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 19:46, 3 November 2010 (UTC)
:I'm very confused. Do you want a [[document management system]], or a [[word processor]]? You can save files with any filename you want; and you can use a document management system (or even just a Word Document with hyperlinks) to reference each document by title. For example, you can create a "Table of Contents" document in Word, and [http://office.microsoft.com/en-us/word-help/create-a-hyperlink-HA010165929.aspx insert hyperlinks to each other story file]. The text ("title") can be anything you want - you can use the same title for two different links to different story files. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 19:55, 3 November 2010 (UTC)
:: i know its hard to explain :( so lets say its a wiki. I create the page [[Example]] and put the story there so now, i can no longer make another page with the title example because its already there. so its more like a doc management system. does that make a bit more sence? [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 20:16, 3 November 2010 (UTC)
:::I'm unclear: do you want something that a) prevents you from having more than one file with the same title, or b) allows you to have more than one file with the same title, or c) deletes files that have the same content? If it is c), then the freeware Duplicate Cleaner would do that. [[Special:Contributions/92.28.241.78|92.28.241.78]] ([[User talk:92.28.241.78|talk]]) 20:36, 3 November 2010 (UTC)
::::I also think that Sophie is unnecessarily equating "title" with "filename." [[Path (computing)|Filenames must be unique]] (a different file name is required for each file). But you can have the same ''title'' for as many files as you like: the question is, how do you definea title? Well, that depends on your file-type. A plain text file can have a line that says <tt>Title: _____</tt>; or a Word Document actually can save a title as [[metadata]]. If you want an index of documents by title (instead of by file name), Windows Explorer can do this, or other file managers; or you can use a hyperlink to point to each file. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 21:20, 3 November 2010 (UTC)


:::::Sophie could also choose to save many files named ''Example'' if he or she placed each of them in a differently named directory. [[User:Comet Tuttle|Comet Tuttle]] ([[User talk:Comet Tuttle|talk]]) 22:44, 3 November 2010 (UTC)
:Oh, again some progress! What horizontal slide? Maybe iterate through the TileGroup folders?--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 16:56, 9 January 2025 (UTC)
:[[User:Antemister]], it was one of the bottom sections of the map, I have some silly [[2FA]] on my devices and can't access the one I ran it on for a couple of hours. You should be able to run the above code in Colab and ask ChatGPT (or Gemini) for further help. '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 17:02, 9 January 2025 (UTC)
::First heard about Colab but tried, and it seems the Code does something. What is the Folder you got the files downlaoded?--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 17:30, 9 January 2025 (UTC)


{{od}}


[[User:Antemister|Antemister]] In a new cell, type <code>
@92.28.241.78 - a combo between A and C - [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 18:21, 4 November 2010 (UTC)
from google.colab import files
*
files.download('merged_image.jpg')</code> Apologies for putting all of this inside a hat template, I can't figure out how to correct it. '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 18:15, 9 January 2025 (UTC)
:Any text editor or wordprocessor would do a) by default as far as I am aware. For c), get Duplicate Cleaner to scan the directory your files are in. [[Special:Contributions/92.15.10.141|92.15.10.141]] ([[User talk:92.15.10.141|talk]]) 12:49, 5 November 2010 (UTC)
:Again progress, have gotten such a merged image that shows a part of the map. The iteration is just a guess... Shouldnt there be a possibility to list all the files in the folder?--[[User:Antemister|Antemister]] ([[User talk:Antemister|talk]]) 22:58, 9 January 2025 (UTC)
::@[[User:Antemister|Antemister]], I very nearly got it to work, the final image is 12,000x12,000px but has errors. import os
::import requests
::from PIL import Image
::from concurrent.futures import ThreadPoolExecutor
::# Base URL and output setup
::BASE_URL = "http://cartesmich.free.fr/images/France_LD/"
::OUTPUT_DIR = "tiles"
::MERGED_IMAGE = "merged_image.jpg"
::# Ensure output directory exists
::os.makedirs(OUTPUT_DIR, exist_ok=True)
::# Function to download a tile
::def download_tile(group, x, y):
::url = f"{BASE_URL}TileGroup{group}/6-{x}-{y}.jpg"
::save_path = os.path.join(OUTPUT_DIR, f"TileGroup{group}_6-{x}-{y}.jpg")
::try:
::response = requests.get(url, timeout=10)
::if response.status_code == 200:
::with open(save_path, "wb") as f:
::f.write(response.content)
::print(f"Downloaded: {url}")
::return (group, x, y, save_path)
::else:
::print(f"Tile not found: {url}")
::except Exception as e:
::print(f"Error downloading {url}: {e}")
::return None
::# Function to download all tiles (no detection, brute force)
::def download_all_tiles(groups, x_range, y_range):
::tiles = []
::print("Starting brute force tile download...")
::with ThreadPoolExecutor(max_workers=10) as executor:
::futures = []
::for group in groups:
::for x in x_range:
::for y in y_range:
::futures.append(executor.submit(download_tile, group, x, y))
::for future in futures:
::result = future.result()
::if result:
::tiles.append(result)
::return tiles
::# Function to stitch tiles together
::def stitch_tiles(tiles, tile_size):
::if not tiles:
::print("No tiles to stitch.")
::return None
::# Determine the range of x and y coordinates
::all_coords = [(x, y) for _, x, y, _ in tiles]
::min_x = min(x for x, y in all_coords)
::max_x = max(x for x, y in all_coords)
::min_y = min(y for x, y in all_coords)
::max_y = max(y for x, y in all_coords)
::# Create a blank canvas for the final image
::width = (max_x - min_x + 1) * tile_size
::height = (max_y - min_y + 1) * tile_size
::merged_image = Image.new("RGB", (width, height))
::# Paste tiles onto the canvas
::for group, x, y, tile_path in tiles:
::tile_image = Image.open(tile_path)
::merged_image.paste(
::tile_image, ((x - min_x) * tile_size, (y - min_y) * tile_size)
::)
::return merged_image
::# Main script execution
::tile_size = 256 # Assume each tile is 256x256
::groups = range(0, 16) # TileGroup0 to TileGroup15
::x_range = range(0, 50) # x-coordinates: 0–49
::y_range = range(0, 50) # y-coordinates: 0–49
::tiles = download_all_tiles(groups, x_range, y_range)
::# Stitch the tiles into a single image
::if tiles:
::merged_image = stitch_tiles(tiles, tile_size)
::if merged_image:
::merged_image.save(MERGED_IMAGE)
::print(f"Merged image saved as {MERGED_IMAGE}")
::else:
::print("No tiles were downloaded!") '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 03:31, 11 January 2025 (UTC)
:::Here's the link. https://limewire.com/d/50995585-f881-4ff5-9186-e0eb55978a5e#Tcw-4kZBQKVH0GS9yZPb-vUvH8t-V04gV-t8MQp8O7k '''[[User:JayCubby|<span style="background:#0a0e33;color:white;padding:2px;">Jay</span>]][[User talk:JayCubby|<span style="background:#1a237e;color:white;padding:2px;">Cubby</span>]]''' 03:38, 11 January 2025 (UTC)


== question ==


How could I automatically archive web pages I visit <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/140.121.130.67|140.121.130.67]] ([[User talk:140.121.130.67|talk]]) 18:04, 3 November 2010 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->


= January 11 =
:on wikipedia? you could add them to your watch list. For web broswing, they are in your history but im not sure about whole pages. sorry. [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 19:39, 3 November 2010 (UTC)
::You might find the [http://www.archive.org/web/web.php Internet Wayback Machine] useful for looking at older versions of websites - that has archives going back to the early 1990s in some cases. [[User:Chevymontecarlo|<span style="color:#0000FF">Chevy</span>]][[User talk:Chevymontecarlo|<span style="color:#FF0000">monte</span>]][[Special:Contributions/Chevymontecarlo|<span style="color:#008080">carlo</span>]] 21:21, 3 November 2010 (UTC)
:::some pages might not be avilable because if someone has robots.txt in the root page - [[User:Sophie|<span style="font-family:Calibri;font-size:16px;color:#CD2682;font-weight:bold;"><big>S</big>ophie</span>]] <sup>([[User talk:Sophie|<span style="color:#99BADD">Talk</span>]])</sup> 18:23, 4 November 2010 (UTC)
:The [http://amb.vis.ne.jp/mozilla/scrapbook/ Scrapbook] plug-in for Firefox will allow you to archive web pages locally with about as much effort as it takes to bookmark them, but it is not strictly automatic. --[[User:Mr.98|Mr.98]] ([[User talk:Mr.98|talk]]) 21:36, 3 November 2010 (UTC)

== Subnetting ==

The network 131.217.0.0 has been split into subnets using the subnet mask
255.255.255.192.
Find the number of bits that have been borrowed from the host field, the number of
usable subnets, and the number of usable addresses per subnet.
Hence, show the range of usable IP addresses by stating the first and last usable host
addresses for the first and last subnets.

My conclusion is that this is a class B network and hence the number of bits borrowed in 10. The number of usable subnets is therefore 1022 and the number of usable addresses per subnet is 62. How do you do the last part of the question? [[Special:Contributions/115.178.29.142|115.178.29.142]] ([[User talk:115.178.29.142|talk]]) 23:10, 3 November 2010 (UTC)

:The last two numbers of the IP address are 0.0. That is what can be split up. The network mask on the last two numbers is 255.192, or 11111111.11000000. So, 10 bits are for the subnet and 6 bits are for the host. For the first subnet, the 10 binary digits will be 0000000000. For the last subnet, the 10 binary digits will be 1111111111. For the first host, the 6 binary digits will be 000000. For the last host, the 6 binary digits will be 111111. So, for the first subnet, you have 131.217.00000000.00000000 to 131.217.00000000.00111111 (yes, I mixed decimal and binary). In all decimal, that is 131.217.0.0 to 131.217.0.63. The last subnet will replace the 10 zeros for the subnet with 10 ones. -- [[User:Kainaw|<font color='#ff0000'>k</font><font color='#cc0033'>a</font><font color='#990066'>i</font><font color='#660099'>n</font><font color='#3300cc'>a</font><font color='#0000ff'>w</font>]][[User talk:Kainaw|&trade;]] 23:44, 3 November 2010 (UTC)
:: You need to consider, though, that the subnet broadcast address is ''not'' usable as a host's IP. [[User:PleaseStand|''Please'''''Stand''']] <sup>[[User talk:PleaseStand|(talk)]]</sup> 23:51, 3 November 2010 (UTC)

{{od}}Here's a visual. In binary, 131.217.0.0 is (converting each octet into binary, putting them together in order, and breaking it up into "bitfields"):
<pre>
10000011110110010000000000000000
|--------------||--------||----|
original subnet # host
</pre>
For the first address, you want to set the subnet and host bitfields to binary one (assuming that subnet zero is not usable in this problem). For the last address, you want to set the subnet and host bitfields to all ones ''except'' the last bit in each, which should be a zero (the last address in a subnet is the broadcast address and is not available for assignment). Converting back to standard IP address notation will give you your final answer. [[User:PleaseStand|''Please'''''Stand''']] <sup>[[User talk:PleaseStand|(talk)]]</sup> 23:51, 3 November 2010 (UTC)
:And for the last address in the first subnet and the first address in the last subnet, it should be then clear enough what to do. [[User:PleaseStand|''Please'''''Stand''']] <sup>[[User talk:PleaseStand|(talk)]]</sup> 23:56, 3 November 2010 (UTC)

:I was purposely ignoring IP rules to avoid confusion, but I now see that the question specifically states "usable IP addresses". -- [[User:Kainaw|<font color='#ff0000'>k</font><font color='#cc0033'>a</font><font color='#990066'>i</font><font color='#660099'>n</font><font color='#3300cc'>a</font><font color='#0000ff'>w</font>]][[User talk:Kainaw|&trade;]] 23:55, 3 November 2010 (UTC)

Unless this is a class on computer history, you (and your teacher) should probably know that the question is horribly out of date. [[Classful_network]]s were used on the internet from 1981 to 1993. These days terms such as "Class B network" only have meaning in a historical context. [[Special:Contributions/130.188.8.12|130.188.8.12]] ([[User talk:130.188.8.12|talk]]) 13:37, 4 November 2010 (UTC)
:Yes, using network "classes" was a big waste of IP addresses that should have been ended much sooner. In the current [[CIDR]] notation, your original network is 131.217.0.0/16 and the subnets you have broken it into are /26 networks (there are twenty-six bits before the host number part). [[User:PleaseStand|''Please'''''Stand''']] <sup>[[User talk:PleaseStand|(talk)]]</sup> 21:06, 4 November 2010 (UTC)

= November 4 =

== Newsgroup / computer newbie type question ==

Having recently joined a couple of newsgroups (one is alt.usage.english) I have been happily posting. I type in MS Word, and then paste it into the newsgroup. What I would like to do is set up a blank MSWord document template so that it has exactly the proper margins, left and right, so I know that WISIWIG. That is, I know that my MSWord writing will appear just like that in the newsgroup, so I can make it look perfect. I don’t know where else to ask for help, as Google have discontinued their help desk forum. Any idea on how to do that?

Also while I’m here, I’m told that Google does not have the capacity for a sig file on newsgroup contributions. I don’t know why not, but I would like one on my posts. Any idea on how that could be done? [[User:Myles325a|Myles325a]] ([[User talk:Myles325a|talk]]) 04:23, 4 November 2010 (UTC)

:Unless there has been a mighty change in how usenet works, newsgroups do not have any of the formatting you are concerned about. It is plain text. Google performs formatting based on common trends in newsgroups. For example, if I type _this_, Google will make it look like <u>this</u>. Margins do not exist. You are just seeing the text in the width that your browser allows. But, ignoring that this is based on a misconception... you want a document template. Open Word. Get the page set up just like you like. Save it as a template. In the save window, you will see types of files to save. Choose template. Then, next time you want to work, open the template and it will have all your formatting in place. -- [[User:Kainaw|<font color='#ff0000'>k</font><font color='#cc0033'>a</font><font color='#990066'>i</font><font color='#660099'>n</font><font color='#3300cc'>a</font><font color='#0000ff'>w</font>]][[User talk:Kainaw|&trade;]] 12:05, 4 November 2010 (UTC)

::You can send encoded text, e.g. HTML. However it's considered very bad form in the vast majority of newsgroups (well I don't know any that allow it but I always say it's a bad idea to use absolutes). [[User:Nil Einne|Nil Einne]] ([[User talk:Nil Einne|talk]]) 20:08, 4 November 2010 (UTC)

== Building a Storage Area Network Head - Operating System ==

<p>Hello Everyone,</p>
<p>&nbsp;&nbsp; I am exploring the option of building my own SAN head. I'm aware that a SAN head consists of a motherboard, processor(s), memory, a RAID controller, and a load of HDDs; but I want to know what ''software'' a SAN head runs on. I assume that it must have an operating-system which operates the management and assignment of LUNs to multiple hosts, and I want to know what software provides these functions (and whether there are any open-source SAN operating-systems available)?</p>
<p>&nbsp;&nbsp; Thanks as always. [[User:Rocketshiporion|<font color="blue" face="Algerian">Rocketshiporion</font>♫]] 05:43, 4 November 2010 (UTC)</p>

:You can make a network accessible file system using [[Linux]] and [[NFS]], [[Filesystem in Userspace|FUSE]]/[[SSH]], or [[SAMBA]]. Technically, that is a [[file server]]. [[Network-attached storage]], [[storage area network]], and [[file server]] differ in the "layer" that they provide. You'll have a hard time building a SAN out of commodity hardware and free software; and you probably won't reap the cost/performance benefits unless you are scaling to truly enormous enterprise sizes. As CPU costs decrease and performance becomes trivial, file servers are probably your best bet - let the remote system handle the [[file system]] details and provide the attached storage space at a high-level, as a network drive. Regarding specific software: you can run a NAS or file server using any Linux; BSD is popular; and [[FreeNAS]] is basically a pre-configured [[FreeBSD]] installation with fewer general-purpose features. The best choice ultimately depends on your needs. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 06:12, 4 November 2010 (UTC)

::You can build an open source SAN using technologies such as [[Logical Volume Manager (Linux)]] (to create and manage the LUNs) and a block device exporter (eg [http://sourceforge.net/projects/aoetools/vblade vblade] or an [[iSCSI]]-target). Googling 'linux san' will give you various guides and distributions on how to set such things up. Whether you would want a SAN (exporting block devices) or a NAS (exporting file systems) depends a lot on your requirements. [[User:Unilynx|Unilynx]] ([[User talk:Unilynx|talk]]) 06:48, 4 November 2010 (UTC)

<p>&nbsp;&nbsp; The specific purpose is for four diskless computers to each be connected via iSCSI to its boot volume. AFAIK, it's not possible for computers to boot from a NAS or file server. The four diskless computers will also be clustered, and be connected to a shared LUN (which is also to be stored on the SAN). As for cost, all I really need (other than the operating-system) in terms of commodity hardware are; a motherboard, a processor, some RAM, a quad-port Ethernet card and a few SATA HDDs; which I estimate can be obtained for under $2,000. [[User:Rocketshiporion|<font color="blue" face="Algerian">Rocketshiporion</font>♫]] 13:05, 4 November 2010 (UTC)</p>

== BitTorrent ==

I was reading the article on it, including the part where it mentions that computers on the network that have full versions of the file are called seeders. That there's a special name for computers that have full versions implies that there are other computers that have pieces which would seem to be useless to them. Is having a bunch of pieces which are of no use to you (in addition to whatever full files for which you <i>are</i> a seeder) just the cost of being a reputable member of a swarm? [[Special:Contributions/20.137.18.50|20.137.18.50]] ([[User talk:20.137.18.50|talk]]) 13:35, 4 November 2010 (UTC)
:A computer with only some pieces of the file can share those pieces with others, and vice versa. So even if there are no seeders at all, the various pieces across the swarm can account for the entire file and thus the entire file can still be downloaded. This is good because it means seeders aren't the only source for the file [[Special:Contributions/82.44.55.25|82.44.55.25]] ([[User talk:82.44.55.25|talk]]) 13:53, 4 November 2010 (UTC)
:A main benefit of bittorrent is that while you are downloading a file, you can share the parts of the file you already downloaded with other people who are downloading it. Often, more people are downloading a file than there are seeders. So, most people only have parts of the file. As a courtesy, it is common to keep connected after you download a file, becoming a seeder. You no longer need any parts of the file, but you share what you've got for a while just to help others. -- [[User:Kainaw|<font color='#ff0000'>k</font><font color='#cc0033'>a</font><font color='#990066'>i</font><font color='#660099'>n</font><font color='#3300cc'>a</font><font color='#0000ff'>w</font>]][[User talk:Kainaw|&trade;]] 13:56, 4 November 2010 (UTC)

:Nobody has files which are "useless" to them, because they are, presumably, interested in eventually downloading the entire file. So just because I have the last 25% of the file in question and not the first 25%, doesn't mean that the last 25% is useless to me (even if I can't "use" it for anything at this point), because presumably I'm hoping to get the ''entire'' file, and the last 25% puts me that much closer to that goal. Remember that people aren't just hosting because they are being generous — the entire point of a torrent is to distribute the file on all of the computers participating, including those who are participating in distributing it.
:Seeders are special because they have the entire file yet are still distributing — thus they are being somewhat altruistic, because at that point, there is no personal gain to distributing the file (because the only "gain" in distributing is that you get a copy of it yourself). They aren't required but it greatly helps make sure there are redundant copies of the entire file on the network, which speeds things up (because maybe otherwise the only fellow who has on part has a very slow internet connection, thus introducing a bottleneck until others get that part... without seeders, it is not uncommon to see torrents "stuck" at 99%, never quite able to find that last 1%). --[[User:Mr.98|Mr.98]] ([[User talk:Mr.98|talk]]) 14:06, 4 November 2010 (UTC)

: I think there's a basic misunderstanding here, but I'm not sure where. When you join a swarm you have none of the file. While you're downloading you'll be accumulating pieces of the file. The pieces are not, on their own, useful to you because you want the entire file, but you can redistribute those pieces to people who don't have them yet. (Everyone downloads the pieces in a different order, so even if you've only downloaded one piece, you can still help people who are halfway finished.) Eventually, if you keep downloading, you'll have the entire, complete file. (You'll have all the pieces.) You are now a "seeder", and ideally you'll continue distributing pieces to people that need them, though that's not strictly necessary.
: Unless there's a glitch, at no point will you download a 'piece' that you don't personally need to complete a file that you personally are trying to download. [[User:APL|APL]] ([[User talk:APL|talk]]) 15:17, 4 November 2010 (UTC)

== does exist any c syntax that is forbidden in c++? ==

t.i.a. --[[Special:Contributions/217.194.34.103|217.194.34.103]] ([[User talk:217.194.34.103|talk]]) 14:19, 4 November 2010 (UTC)
:<code>int new = 0; </code> and many others. --[[User:Stephan Schulz|Stephan Schulz]] ([[User talk:Stephan Schulz|talk]]) 14:22, 4 November 2010 (UTC)
:: To clarify, C++ reserves some extra keywords. In C they would be valid as variable names or function names, but in C++ they are reserved for the use of the language. Here's a list of C++ keywords not reserved in C :
<pre>asm dynamic_cast namespace reinterpret_cast try
bool explicit new static_cast typeid
catch false operator template typename
class friend private this using
const_cast inline public throw virtual
delete mutable protected true wchar_t</pre>
:: [[User:APL|APL]] ([[User talk:APL|talk]]) 15:09, 4 November 2010 (UTC)
:::And this is valid C89, but not C++
<source lang="c">
int test()
{
int i;
i=1 //**/1;
return i;
}
</source>
:::The code requires // not to be a comment marker, which is true for C89/C90 and older. However, the code is formatted for C99, which will reject it.
:::Also, in C,
:::*The return type can be unspecified (defaults to int), must be specified in C++
:::*The parameter-list can be 'void', must be empty if no params in C++ (which can mean K&R param passing in C)
:::*K&R param passing is allowed (but discouraged)
:::*The parameters to main can be what every you want - in C++ main must be on of
::::*int main()
::::*int main(int, char**)
::::*int main(int, char**, /* any other params */)
:::*In C void* can be implicitly cast to any pointer type; C++ needs an explicate cast. <small><span class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Csmiller|Csmiller]] ([[User talk:Csmiller|talk]] • [[Special:Contributions/Csmiller|contribs]]) 15:27, 4 November 2010 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
:::[[User:Csmiller|CS Miller]] ([[User talk:Csmiller|talk]]) 15:24, 4 November 2010 (UTC)
:See [[Compatibility_of_C_and_C%2B%2B#Constructs_valid_in_C_but_not_C.2B.2B|Constructs valid in C but not C++]]. --[[User:TotoBaggins|Sean]] 18:12, 4 November 2010 (UTC)
:The article linked to by Sean is a very, very good starting point. For more differences, see Annex C of the C++ standard (ISO/IEC 14882:2003). For example, <source lang="c">int main(void) { return main(); /* valid (but useless) C, invalid C++ */ }</source>. Regards, <code>[[User:Decltype|decltype]]</code> <small>([[User talk:Decltype|talk]])</small> 05:20, 5 November 2010 (UTC)

== hard drive ==

Can I leave my external hard drive on 24/7, or should I turn it off when not in use? My computers internal drive is on 24/7, is there a difference between internal and external ? <span style="font-size: smaller;" class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/91.193.69.210|91.193.69.210]] ([[User talk:91.193.69.210|talk]]) 14:51, 4 November 2010 (UTC)</span><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->

:Most computers will put a drive to sleep if it is inactive for a period of time, so leaving the drive powered up is not itself a problem. Any drive will wear out over time (so always make backups) but for the most part drives will outlast computers, unless you keep your computer a long time or make heavy, heavy use of the drive (constant read-write action). --[[User_talk:Ludwigs2|<span style="color:darkblue;font-weight:bold">Ludwigs</span><span style="color:green;font-weight:bold">2</span>]] 15:25, 4 November 2010 (UTC)

::{{fact}} on the claim that "for the most part drives will outlast computers". [[User:Comet Tuttle|Comet Tuttle]] ([[User talk:Comet Tuttle|talk]]) 16:28, 4 November 2010 (UTC)
:::I'd read this as "computers get replaced before hard drives fail", not as "usually other components fail before the hard drive". But yes, a source for either interpretation would be nice. --[[User:Stephan Schulz|Stephan Schulz]] ([[User talk:Stephan Schulz|talk]]) 16:32, 4 November 2010 (UTC)

:::Depending on how you look at it, the MTBF of a hard disk (and all the other components) is less than the average time a computer is in primary use thanks to the software lifecycle. Greenpeace quotes a figure of 2 years for the average PC lifespan in developed countries, but this is not cited. Regardless, it's obvious by the tonnage of computers that show up in the landfill and the number that fly off shelves to replace them that the used life isn't that long. I would be shocked if it were more than 5 years in the US; most HDD warranties are as long. --[[User:Jmeden2000|Jmeden2000]] ([[User talk:Jmeden2000|talk]]) 17:56, 4 November 2010 (UTC)

::::Again, please provide citations. This is a reference desk. Simply discussing warranties and the MTBF claims (which are notoriously exaggerated by the manufacturers) isn't evidence of anything. [[User:Comet Tuttle|Comet Tuttle]] ([[User talk:Comet Tuttle|talk]]) 18:48, 4 November 2010 (UTC)

:::::CT, relax. the point is that a hard disk is not going to unduly suffer by being powered on continuously, unless it is also subjected to extreme conditions (high levels of disk read/writes, excessive temperatures, etc). A hard disk is obviously more likely to fail than the computer itself (by virtue of moving parts), but hard disks are constantly increasing their lifespan through technological improvement, and the average consumer replaces his computer at regular intervals. The OP should not worry about it beyond the normal caution to maintain regular backups. --[[User_talk:Ludwigs2|<span style="color:darkblue;font-weight:bold">Ludwigs</span><span style="color:green;font-weight:bold">2</span>]] 21:50, 4 November 2010 (UTC)
::::::"but hard disks are constantly increasing their lifespan" - well, that's arguable. We have a batch in a large recording system over here where 20% per year are failing...big-brand, heavy duty server class drives at that. Hard drives are optimized for capacity, speed, price, and reliability, and I would expect priorities to be roughly in that order. --[[User:Stephan Schulz|Stephan Schulz]] ([[User talk:Stephan Schulz|talk]]) 21:59, 4 November 2010 (UTC)
::::All of the computers that I've had fail on me (2 of them) have been failed hard drives (well, I had a CD drive fail, but I still used the computer for a bit). There have been many more computers that I've gotten rid of before anything fails, but I would say that a hard drive, with mechanical moving parts, is one of the most likely things to fail on a computer. Interestingly [http://www.pcstats.com/articleview.cfm?articleid=1720 this site] says that power supply issues are the number one way to fry your computer. I've yet to have a power supply problem. [[User:Buddy431|Buddy431]] ([[User talk:Buddy431|talk]]) 01:22, 5 November 2010 (UTC)
:::::Here's a [http://slashdot.org/pollBooth.pl?qid=2048&aid=-1 highly non-scientific poll] of failing parts; storage drives have the plurality. [[User:Buddy431|Buddy431]] ([[User talk:Buddy431|talk]]) 01:24, 5 November 2010 (UTC)

== polynomial shift ==

I have the coefficients of a polynomial of one variable. I want the coefficients of the equivalent polynomial in terms of another variable (''u''=''t''+constant); in other words, the function that defines the same curve with a shifted origin. Before I reinvent the square wheel, is there a more efficient way than expanding <math>{a_n}(u-c)^n</math> and adding up the results? (Or better yet a '''numpy''' library function?) I'd search but I don't know the appropriate keyword. —[[User:Tamfang|Tamfang]] ([[User talk:Tamfang|talk]]) 17:11, 4 November 2010 (UTC)
:You've got a function
f(x)=a<sub>0</sub>+a<sub>1</sub>x+a<sub>2</sub>x<sup>2</sup>+a<sub>3</sub>x<sup>3</sup>+ etc etc
:and you want to know the b's in
f(x)=b<sub>0</sub>+b<sub>1</sub>(x-c)+b<sub>2</sub>(x-c)<sup>2</sup>+b<sub>3</sub>(x-c)<sup>3</sup>+ etc etc
:then [[Taylor series]] will work (in many cases, in particular for polynomials) and gives you b<sub>n</sub>'s fairly trivially, since
b<sub>n</sub>=(1/n!) x d<sup>n</sup>[f(x)]/dx<sup>n</sup> evaluated at x=c
:Is that what you want - it's easier to implement (and quicker I think) than the expansion (especially when it's a long polynomial) , ask if you want pseudocode
:(apologies if that isn't what you are asking, I'm a bit sleepy). <u>I've given you two functions that give the same value for a given x?</u> (on second thoughts it may not be any better than the [[binomial expansion]], maybe, maybe not) [[Special:Contributions/94.72.205.11|94.72.205.11]] ([[User talk:94.72.205.11|talk]]) 20:35, 4 November 2010 (UTC)

:: Treating it as a Taylor series makes eminent sense; it may not be speediest, but it's easy on the programmer. Thanks. —[[User:Tamfang|Tamfang]] ([[User talk:Tamfang|talk]]) 05:59, 5 November 2010 (UTC)

== Windows command prompt FOR loop ==

First, I am really sorry for clearing all previous information by accident. I don't know how it happened.
Second, Does anybody have a solution for this problem?
If I use the [[for loop|FOR loop]] under windows [[command prompt]] as in this example:
<source lang="dos">
for /l %i in (1,1,10) do (@set x=%i
@echo %x% , %i)
</source>

The result is:
<source lang="dos">
)
10 , 1
C:\>(
)
10 , 2
.
.
.
)
10 , 10
</source>
Why does x always take the value of 10 rather than i?--[[User:Email4mobile|Email4mobile]] ([[User talk:Email4mobile|talk]]) 17:54, 4 November 2010 (UTC)

:See [http://batcheero.blogspot.com/2007/06/how-to-enabledelayedexpansion.html this page] for the solution. -- [[User:BenRG|BenRG]] ([[User talk:BenRG|talk]]) 04:46, 5 November 2010 (UTC)

:So all I had to do was just set the local variable at the beginning as in this line:
<source lang="dos">
setlocal ENABLEDELAYEDEXPANSION
</source>
:Thank you very much.--[[User:Email4mobile|Email4mobile]] ([[User talk:Email4mobile|talk]]) 09:03, 5 November 2010 (UTC)

== How has this image been generated? ==

[[File:CGA CompVsRGB Text.png|thumb|right]]
How has this image been generated? I understand that the "crisp" version on the left is simply a screen grab, but I'm asking about the "blurry" version on the right. The "blur" is, after all, only present in the real, analog world, and the computer's memory is completely oblivious to it. So therefore a screen grab would produce an identical copy of the version on the left side, regardless of what the image was viewed on. Grabbing it via the real world instead of straight from the computer's memory, in other words by photographing it, would very likely not produce such a pixel-perfect copy with only the "blur" effect, because various real-world details would induce minute differences. Is the "blur" effect merely a simulation added afterwards, or what magic has been used? [[User:JIP|<font color="#CC0000">J</font><font color="#00CC00">I</font><font color="#0000CC">P</font>]] &#124; [[User talk:JIP|Talk]] 18:56, 4 November 2010 (UTC)

: I think you'd have to ask the person who made it to know for sure. I guess if someone took the left image, made the 3 colour layers into 3 separate layers (e.g. in gimp) and then moved one colour a pixel right, and another a pixel left) you'd get something like this. -- [[User:Finlay McWalter|Finlay McWalter]] ☻ [[User talk:Finlay McWalter|Talk]] 19:05, 4 November 2010 (UTC)
::No, it's a more complex effort. I verified it with xmag, and it's not as simple as shifting one RGB channel left and another right. I've asked the original creator, [[User:NewRisingSun]], about it. Let's see if he responds. [[User:JIP|<font color="#CC0000">J</font><font color="#00CC00">I</font><font color="#0000CC">P</font>]] &#124; [[User talk:JIP|Talk]] 19:49, 4 November 2010 (UTC)
:::The source code used to generate the image is on the image page. Does that help at all? --[[User:Tagishsimon|Tagishsimon]] [[User_talk:Tagishsimon|(talk)]] 20:05, 4 November 2010 (UTC)
::::No. The source code is only usable for direct screen grabs. It has no effect whatsoever on the image quality, because after all, the program itself is a mathematical abstraction, and as far as it is concerned, the image quality is always 100% perfect. [[User:JIP|<font color="#CC0000">J</font><font color="#00CC00">I</font><font color="#0000CC">P</font>]] &#124; [[User talk:JIP|Talk]] 20:27, 4 November 2010 (UTC)
: This is almost certainly a variant of what Finlay has suggested. Definitely generated by taking 3 slightly shifted (+/- 2 pixels) copies of the original image, possibly modifying them and superimposing them in some manner. So an attempt to digitally reverse engineer the imperfections of the analog world. [[Special:Contributions/213.160.108.26|213.160.108.26]] ([[User talk:213.160.108.26|talk]]) 23:34, 4 November 2010 (UTC)


:The image was probably generated with an emulator like DOSBox or MESS, or a program that uses similar algorithms to emulate CGA composite artifacts. Read on for a little bit about how such an algorithm might be created.

:To put the image in context for other responders here, it illustrates the color artifacts seen when the CGA adaptor is connected to an NTSC composite monitor, see [[Color_Graphics_Adapter#Special_effects_on_composite_color_monitors|Color Graphics Adapter - Special effects on composite color monitors]]. I myself was fascinated by the palette images shown a little lower in that section, and wondered how the patterns generated colors on the composite monitor.

::Edit: Just to clarify, in the image shown above, the screen on the left is what you'd see on an RGB monitor. The screen on the right is what you'd see on an NTSC monitor. The CGA adaptor sends different signals for an RGB montor than an NTSC monitor, so it's slightly incorrect to think of them as a "perfect" screen shot and a "blurry" real-world simulation of the same image. The CGA adaptor is using the same video memory pixels to generate both signals, but the RGB signal is able to represent the color of each individual pixel, whereas the NTSC signal must use a color wave that ends up being four pixels wide. <small><span class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Bavi H|Bavi H]] ([[User talk:Bavi H|talk]] • [[Special:Contributions/Bavi H|contribs]]) 02:06, 5 November 2010 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->

:Part of the answer requires you to know about how the NTSC composite signal works, especially the color burst and color encoding. I can't find a good description of the NTSC signal to link to yet. You can find information about how the NTSC signal works online, but you might have to read several different documents to get a good understanding of it.

:The other part of the answer is knowing what signals the CGA adaptor sends on its composite output. Go to [http://www.reenigne.org/blog/crtc-emulation-for-mess/ CRTC emulation for MESS] and scroll down to the section "Composite output" for details about that.

:Basically, for each CGA color, the CGA adaptor composite output generates a square wave shifted by a certain amount with respect to the color burst. In the 640×200 mode, the color wave is four pixels wide, so you can actually use groups of four black-or-white pixels to make your own color wave. If you shift the pattern by one pixel, you'll get a different hue. Here's an example I made with QBASIC running in DOSBox to help understand the order to the black and white patterns: [http://i1018.photobucket.com/albums/af303/bavi_h/cga-composite.png cga-composite.png]

:In the 320×200 modes the color wave is two pixels wide, because the pixels are twice as wide. By carefully calculating where the CGA composite output color wave for each color is sliced and combined, then decoding the wave as an NTSC color signal, you can predict the resulting color on the composite monitor screen.

:After studying this, I began to see how the colors are predicted, but didn't go far enough into the math to understand it all. (For example, I don't yet understand how a square wave is "seen" as a sinusoidal wave of NTSC color signal. ''Edit'': Or how partial or irregular color waves become color fringes like those in the text-mode image above.)

:--[[User:Bavi H|Bavi H]] ([[User talk:Bavi H|talk]]) 01:00, 5 November 2010 (UTC)

::While researching this I also found [http://www.seasip.info/VintagePC/cga.html#ccomp Colour Graphics Adapter Notes - Color Composite Mode] which has a zip file with images captured from an actual CGA adaptor (captured using a TV card with an NTSC composite video input). It includes image captures of the same palettes simulated in the CGA article above. In also includes image captures of Flight Simulator, which is interesting to compare to the Flight Simulator images on the MESS video emulation page linked above. --[[User:Bavi H|Bavi H]] ([[User talk:Bavi H|talk]]) 01:18, 5 November 2010 (UTC)

== who's got money? How do I find an investor with vision? ==

I want to find an investor with vision, so that if I explain to them in a few words what I would like their money for, they will see that (or whether) it works. I don't want to waste my breath on people who wouldn't understand anyway! How do I find these people? If anyone here knows, they can also leave some contact information and I can ask them personally. Thank you! [[Special:Contributions/84.153.205.142|84.153.205.142]] ([[User talk:84.153.205.142|talk]]) 20:42, 4 November 2010 (UTC)

:It depends entirely on the quantity of money you seek and what you plan to do with it. You can start by investigating [[bank loan]]s and [[credit card]] advances. These organizations will happily lend you large sums of money, at market interest-rates, for you to use for almost any purpose. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 21:47, 4 November 2010 (UTC)

::Unfortunately, your request is unlikely to be handed to you like this, because human communication is more difficult than anyone thinks, and everyone has their own opinions about things like risk and how likely your idea is to succeed. Business owners' ability to raise money is a core requirement of being a business owner, for most businesses; and usually they have to pitch their idea and plan many, many times before an investor says "yes". Our article [[Angel investor]] has some links in the References section that may help you. [[User:Comet Tuttle|Comet Tuttle]] ([[User talk:Comet Tuttle|talk]]) 22:24, 4 November 2010 (UTC)

: With the exception of people who already have a track record of building successful businesses, most inventors and entrepreneurs have great difficulty getting an angel investor even to speak to them. If they do, they mostly want to see a working prototype or a business that's generating revenue (''Dragon's Den'', for all its faults, isn't a bad indication of what angel investors are looking for). [[Tony Fernandes]], who started Air Asia after seeing an Easyjet ad, mortgaged his house to pay for it. No-one was interested in James Dyson's ballbarrow, despite his having many working prototypes, so he mortgaged his house too. It took Ron Hickman, inventor of the Black and Decker Workmate years, and apparently about 100 prototypes, before he persuaded someone to market it; and Hickman had an impeccable record of design and engineering management, as the chief engineer of [[Lotus Cars]] he had already designed the [[Lotus Elan]] and [[Lotus Europa]]. [[Paul Graham (computer programmer)|Paul Graham]] (whose investment company [[Y Combinator]] is roughly an angel investor) has a bunch of what he/they look for when investing in new enterprises [http://www.paulgraham.com/articles.html here]. Several VC books I've read come to roughly the same conclusions: they invest in people (that is, people who have a proven track record of making stuff and getting things done) and in working product; some are pretty blunt in thinking that if you're still working at BigCo and haven't quit to work on the project yourself, to your own obvious cost and risk, then you don't believe enough in the thing, so why would they. -- [[User:Finlay McWalter|Finlay McWalter]] ☻ [[User talk:Finlay McWalter|Talk]] 23:09, 4 November 2010 (UTC)

:: Nice overview, Finlay McWalter! Almost the first question any investor will ask (or research) is "What do you have in it?" And the answer should include great amounts (by your personal standard) of time, money and experience. [[User:Bielle|Bielle ]] ([[User talk:Bielle|talk]]) 23:21, 4 November 2010 (UTC)

:The people I know who can drum up quick cash for projects use angel investors (as opposed to venture capitalists — the difference is the amount of money and control, angels being less in both, thus a bit easier to work with, they say). There are lots of sites that come up if you google "finding angel investors"; I've no experience in it (other than chats with friends who have made good on such things), so I can't tell what's good advice or not. I would note that exemplars (like those Findlay names) are not necessarily "normal" models — they are notable because they are rare cases for one reason or another. --[[User:Mr.98|Mr.98]] ([[User talk:Mr.98|talk]]) 00:55, 5 November 2010 (UTC)

= November 5 =

== Problem after installing new video driver ==

Hi Reference Desk,
I recently installed the ATI Catalyst 10.10 drivers for my ATI Mobility Radeon HD 5450 on Win7 64 bit. Now, it seems to be limiting the number of display colours, and when things with colour gradients are visible, for example the background of Microsoft Word, it looks like a compressed JPEG screenshot and there are very visible steps between the colours. I've recalibrated the display, reinstalled the driver, reset to factory settings, fiddled with Windows colour settings, all to no avail. I was wondering if this was a known issue, and/or if anyone had a clue how to fix it?

Thanks
[[Special:Contributions/110.175.208.144|110.175.208.144]] ([[User talk:110.175.208.144|talk]]) 06:30, 5 November 2010 (UTC)
:At a rough guess, you might have been reset to basic colour. Press F1 for help, type Aero and open the Aero troubleshooter and follow the prompts to get Aero back... this might also fix your colour problems and get the 24/32 bit colour gradients back. The troubleshooters in Win7 are surprisingly good and can make some low-level changes when they have to. Worst case scenario - you can go into device driver and rollback the drivers. [[User:Sandman30s|Sandman30s]] ([[User talk:Sandman30s|talk]]) 09:12, 5 November 2010 (UTC)

== Automatic form filling application required ==

Job applications and other bureaucratic documents take too long to fill in neatly. Is there any application (preferably free, with source code in VB6 of VC++6) that I could either use directly or modify to (1) recognise the various fields and columns and common questions that need filling in, by both text and graphics recognition, with a manual mail merge type option if this fails, and (2) using a database, fill in the form in all the right places. Unlike mail merge in MS Word, it would have to fill in lots of separate sections instead of just on (the address) and of course the size would be standard A4-I can't get this size using MS Word, or at least my version, which is a few years old.

Latest revision as of 03:38, 11 January 2025

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:


December 28

[edit]

File disambiguators (1): Explorer/W11

[edit]

Óla! So Explorer adds (n) to a file with a duplicate name to an existing one. Do you have suggestions how to easily identify and delete them? The search option doesn't recognize parentheses, so a search would merely identify files with that number in the title. The reason for asking is that if a folder has a large number of duplicates that should be deleted, it would be easier to sort/select/delete rather than ctrl+click individually. Thank you! 2.28.124.91 (talk) 16:31, 28 December 2024 (UTC)[reply]

https://www.alldup.de/alldup_help/alldup.php and then set it to compare 100% of the content. Polygnotus (talk) 17:16, 28 December 2024 (UTC)[reply]
Thank you Polygnotus, that's great, and freeware too. It looks like it might take some getting used to! Cheers, 2.28.124.91 (talk) 18:13, 28 December 2024 (UTC)[reply]
Use a better search program - FileLocator will find * - Copy (*).*, and I'm sure there are others with will also do the job.
Use the command prompt, eg dir "* - Copy (*).*" works. (You can also use del similarly, but do so with caution and at your own risk.)
Mitch Ames (talk) 09:35, 2 January 2025 (UTC)[reply]

December 30

[edit]

Selecting multiple items in checkbox on this website. Is there an easier way?

[edit]

Please look at this link:

https://www.archonia.com/en-us/search?q-a2%5B0%5D=1&q-a2%5B1%5D=2&q-a2%5B2%5D=3&qf%5B0%5D=3046&filter_string=doctor%20who

On the left of the web page you will see a checkbox "Status" with 3 items checked. The problem I have is that the only way I can get multiple items checked is by editing the URL. If I just click on an item in a checkbox on this website the other items get unchecked. In other words: the checkbox works like radio buttons. I tried a different browser; I tried ctrl-click and shift-click and alt-click. Nope. On other websites (here for example) I do not have this problem. Do you experience the same inconvenience? And if so any ideas on how to do this easier than by url editing? 213.126.69.28 (talk) 11:55, 30 December 2024 (UTC)[reply]

Not necessarily AFAIK, and that's coming from someone with experience in web design. You're unfortunately seeing their poor web design. TheTechie@enwiki (she/they | talk) 00:17, 31 December 2024 (UTC)[reply]

Windows 10 Bin

[edit]

Doing a quick search online I realized that the path to the Windows recycle bin is C:\$Recycle.Bin; however, for some reason I don't understand, it doesn't seem to be the "Recycle Bin" on the desktop, they just seem to be two different paths (explanatory screenshot at the following link: [1]). Are they actually two different paths? If so, why? If not... why aren't the two windows synchronized? 2A01:827:160:D601:2E75:E3BA:BBBF:B55D (talk) 14:35, 30 December 2024 (UTC)[reply]

C:\$Recycle.Bin has the recycle bins for all users. Yours will appear with the normal name and icon, the others will appear as the Security Identifier of the respective account. If you click on the one for your account, it should show the same contents (note Windows Explorer shows the files which are in the recycling bin - it does not show the actual files storing the data used by the recycling bin). As for why they are different, it's hard to say without more information. If you delete something, does it appear in both or just one? Thanks 2603:6011:9440:D700:2080:28C1:577E:41B3 (talk) 23:26, 7 January 2025 (UTC)[reply]


January 1

[edit]

Question(s) about Arch Linux

[edit]

@TheTechie ... A question? Do you used archinstall to install Arch Linux? I think i will install Arch Linux, cause, i want BTW Vitorperrut555 (talk) 23:31, 1 January 2025 (UTC)[reply]

Moved this here as I found this to be a better place for it. As for your question, no, I used text commands. Though I may be able to help. Any specific questions? TheTechie@enwiki (she/they | talk) 00:32, 2 January 2025 (UTC)[reply]
@Vitorperrut555 TheTechie@enwiki (she/they | talk) 00:41, 2 January 2025 (UTC)[reply]
When I installed Arch Linux, I used a live-boot USB. Once booted, it has an "install" icon that can be used to do a basic install. Then, once installed, you can customize it by removing and adding the packages you like. 68.187.174.155 (talk) 15:42, 2 January 2025 (UTC)[reply]
68.187.174.155, I think you're confused. Archinstall is a command on Arch Linux, and the Arch Installer boots in text mode. You may be thinking of an Arch derivative like Manjaro or EndeavourOS, which do indeed boot up in graphical environments. TheTechie@enwiki (she/they | talk) 20:23, 2 January 2025 (UTC)[reply]

January 2

[edit]

Bayeux Tapestry website

[edit]

What image-serving technology is the new Bayeux Tapestry website using, and how can high-res images be downloaded? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:59, 2 January 2025 (UTC)[reply]

@Pigsonthewing Welcome to the Reference Desk for Computing. Are you trying to download all images, or only specific ones? If you reply here, please ping me. Thanks, TheTechie@enwiki (she/they | talk) 00:54, 3 January 2025 (UTC)[reply]
The former preferably, but an answer for either would be of interest, as the technology is likely in use elsewhere. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:46, 3 January 2025 (UTC)[reply]
According to their terms of use, "Access to this panorama is free for a private or public non-commercial use. Any commercial use of this tool is prohibited, as well as the extraction of images from this panorama" (my emphasis). This may or may not bother you. Chuntuk (talk) 18:24, 3 January 2025 (UTC)[reply]
Even more, the "images" which get loaded are tiled portions of the actual image. TheTechie@enwiki (she/they | talk) 19:11, 3 January 2025 (UTC)[reply]


January 4

[edit]

Zoomify

[edit]

Is it possible to download the map La ligne de démarcation that is shown via Zoomify?--Antemister (talk) 22:48, 4 January 2025 (UTC)[reply]

Yes, if you google "download zoomify image" you will see various ways. Polygnotus (talk) 23:44, 4 January 2025 (UTC)[reply]
Ah, of course I googled before and found that but was not successful. So I asked here.--Antemister (talk) 11:31, 5 January 2025 (UTC)[reply]
Please mention what you've already tried before and what did not work and what happened instead (e.g. error messages). Polygnotus (talk) 04:57, 6 January 2025 (UTC)[reply]
Tried [2] and of course also the dezoomify tool but got immediately stuck because I was not able to find an URL. Very few programming skills, none regarding HTML, that's why I ask here.--Antemister (talk) 10:46, 6 January 2025 (UTC)[reply]
@Antemister:
I wasn't able to download the file as it was taking forever, but this URL appeared to download the files for 30+ minutes on a fast internet. Let us know if this works. TheTechie@enwiki (she/they | talk) 03:19, 8 January 2025 (UTC)[reply]
I've successfully taken images off the IWM via their source code and dezoomify, but I'm puzzled as to how to extract images here, as Dezoomify appears to be perpetually stuck on 'preparing tiles load'. The longest I've seen it take for large images in the past is a couple of minutes. Like Antemister, I've little programming knowledge, but I think the following elements in the code are related:
<script type="text/javascript" src="ZoomifyImageViewerFree-min.js"></script>
<script type="text/javascript"> Z.showImage("myContainer", "images/France_LD"); </script>
On going to http://cartesmich.free.fr/images/France_LD/ I get error 403. Perhaps this website is savvy about theft of its most high-resolution public domain images. Maybe someone has the patience to hunt about in the browser console. JayCubby 04:51, 8 January 2025 (UTC)[reply]
If they're public domain images, it's not "theft". Please avoid such misleading and perjorative language. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:52, 8 January 2025 (UTC)[reply]
It's still potentially in violation of their ToS (not that I much care) and could, per my reading of my law (assuming this is an american website, which it isn't) run afoul of something like the Computer Fraud and Abuse Act.

The ToS is a reasonable concern, which is why I said theft. JayCubby 15:53, 8 January 2025 (UTC)[reply]
Even if all you say were true (It's highly doubtful; there appear to be no published terms of service - much less any that a user agrees to before viewing the site; and in any case we are not all in the USA), it's still not theft. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:11, 8 January 2025 (UTC)[reply]
You're right--there are no terms (though the host website, free.fr, appears to have a TOS page). JayCubby 16:53, 8 January 2025 (UTC)[reply]

Yes, I came to that cited code, but had no idea to open that container Also tried again dezoomify, and also waited a long time, and after 1-2 hours i get an error message. And it includes a link, [3], if you alter the numbers you can find various tiles of the map.is it possible to proceed with that, download that folder?--Antemister (talk) 22:34, 8 January 2025 (UTC)[reply]

Hmm! So I pasted this conversation into ChatGPT, and told it to generate code for use in Google Colab. The code is here (it doesn't really do what it's supposed to, at all, but a start).
The really screwed-up image it generated is here. Hopefully these are of help to someone with more Python experience than I.JayCubby 02:35, 9 January 2025 (UTC)[reply]

I gave this another try. This time it was able to actually download the image correctly, but only a horizontal section. The code is collapsed below. I think it needs only some slight tweaking.

Extended content

import os ::import requests ::from PIL import Image ::# Base URL and directory setup ::BASE_URL = "http://cartesmich.free.fr/images/France_LD/TileGroup8/" ::OUTPUT_DIR = "tiles" ::MERGED_IMAGE = "merged_image.jpg" ::# Ensure the output directory exists ::os.makedirs(OUTPUT_DIR, exist_ok=True) ::# Function to download a tile ::def download_tile(url, save_path): :: response = requests.get(url) :: if response.status_code == 200: :: with open(save_path, "wb") as f: :: f.write(response.content) :: return True :: return False ::# Function to stitch the tiles together ::def stitch_tiles(tiles, tile_size): :: max_x = max(x for x, y in tiles.keys()) + 1 :: max_y = max(y for x, y in tiles.keys()) + 1 :: # Create a blank canvas for the final image :: merged_image = Image.new("RGB", (max_x * tile_size, max_y * tile_size)) :: # Paste tiles onto the canvas :: for (x, y), tile_path in tiles.items(): :: tile_image = Image.open(tile_path) :: merged_image.paste(tile_image, (x * tile_size, y * tile_size)) :: return merged_image ::# Set parameters for downloading tiles ::tile_size = 256 # Assume each tile is 256x256 ::x_range = range(36, 50) # Adjust based on your needs (x-coordinate range) ::y_range = range(24, 40) # Adjust based on your needs (y-coordinate range) ::# Dictionary to store downloaded tile paths ::downloaded_tiles = {} ::# Download tiles ::for x in x_range: :: for y in y_range: :: tile_url = f"{BASE_URL}6-{x}-{y}.jpg" :: tile_path = os.path.join(OUTPUT_DIR, f"6-{x}-{y}.jpg") :: if download_tile(tile_url, tile_path): :: downloaded_tiles[(x - min(x_range), y - min(y_range))] = tile_path :: print(f"Downloaded: {tile_url}") :: else: :: print(f"Tile not found: {tile_url}") ::# Stitch the tiles into a single image ::if downloaded_tiles: :: merged_image = stitch_tiles(downloaded_tiles, tile_size) :: merged_image.save(MERGED_IMAGE) :: print(f"Merged image saved as {MERGED_IMAGE}") ::else: :: print("No tiles were downloaded!")

-- JayCubby 16:09, 9 January 2025 (UTC)[reply]

Oh, again some progress! What horizontal slide? Maybe iterate through the TileGroup folders?--Antemister (talk) 16:56, 9 January 2025 (UTC)[reply]
User:Antemister, it was one of the bottom sections of the map, I have some silly 2FA on my devices and can't access the one I ran it on for a couple of hours. You should be able to run the above code in Colab and ask ChatGPT (or Gemini) for further help. JayCubby 17:02, 9 January 2025 (UTC)[reply]
First heard about Colab but tried, and it seems the Code does something. What is the Folder you got the files downlaoded?--Antemister (talk) 17:30, 9 January 2025 (UTC)[reply]

Antemister In a new cell, type from google.colab import files files.download('merged_image.jpg') Apologies for putting all of this inside a hat template, I can't figure out how to correct it. JayCubby 18:15, 9 January 2025 (UTC)[reply]

Again progress, have gotten such a merged image that shows a part of the map. The iteration is just a guess... Shouldnt there be a possibility to list all the files in the folder?--Antemister (talk) 22:58, 9 January 2025 (UTC)[reply]
@Antemister, I very nearly got it to work, the final image is 12,000x12,000px but has errors. import os
import requests
from PIL import Image
from concurrent.futures import ThreadPoolExecutor
  1. Base URL and output setup
BASE_URL = "http://cartesmich.free.fr/images/France_LD/"
OUTPUT_DIR = "tiles"
MERGED_IMAGE = "merged_image.jpg"
  1. Ensure output directory exists
os.makedirs(OUTPUT_DIR, exist_ok=True)
  1. Function to download a tile
def download_tile(group, x, y):
url = f"{BASE_URL}TileGroup{group}/6-{x}-{y}.jpg"
save_path = os.path.join(OUTPUT_DIR, f"TileGroup{group}_6-{x}-{y}.jpg")
try:
response = requests.get(url, timeout=10)
if response.status_code == 200:
with open(save_path, "wb") as f:
f.write(response.content)
print(f"Downloaded: {url}")
return (group, x, y, save_path)
else:
print(f"Tile not found: {url}")
except Exception as e:
print(f"Error downloading {url}: {e}")
return None
  1. Function to download all tiles (no detection, brute force)
def download_all_tiles(groups, x_range, y_range):
tiles = []
print("Starting brute force tile download...")
with ThreadPoolExecutor(max_workers=10) as executor:
futures = []
for group in groups:
for x in x_range:
for y in y_range:
futures.append(executor.submit(download_tile, group, x, y))
for future in futures:
result = future.result()
if result:
tiles.append(result)
return tiles
  1. Function to stitch tiles together
def stitch_tiles(tiles, tile_size):
if not tiles:
print("No tiles to stitch.")
return None
  1. Determine the range of x and y coordinates
all_coords = [(x, y) for _, x, y, _ in tiles]
min_x = min(x for x, y in all_coords)
max_x = max(x for x, y in all_coords)
min_y = min(y for x, y in all_coords)
max_y = max(y for x, y in all_coords)
  1. Create a blank canvas for the final image
width = (max_x - min_x + 1) * tile_size
height = (max_y - min_y + 1) * tile_size
merged_image = Image.new("RGB", (width, height))
  1. Paste tiles onto the canvas
for group, x, y, tile_path in tiles:
tile_image = Image.open(tile_path)
merged_image.paste(
tile_image, ((x - min_x) * tile_size, (y - min_y) * tile_size)
)
return merged_image
  1. Main script execution
tile_size = 256 # Assume each tile is 256x256
groups = range(0, 16) # TileGroup0 to TileGroup15
x_range = range(0, 50) # x-coordinates: 0–49
y_range = range(0, 50) # y-coordinates: 0–49
tiles = download_all_tiles(groups, x_range, y_range)
  1. Stitch the tiles into a single image
if tiles:
merged_image = stitch_tiles(tiles, tile_size)
if merged_image:
merged_image.save(MERGED_IMAGE)
print(f"Merged image saved as {MERGED_IMAGE}")
else:
print("No tiles were downloaded!") JayCubby 03:31, 11 January 2025 (UTC)[reply]
Here's the link. https://limewire.com/d/50995585-f881-4ff5-9186-e0eb55978a5e#Tcw-4kZBQKVH0GS9yZPb-vUvH8t-V04gV-t8MQp8O7k JayCubby 03:38, 11 January 2025 (UTC)[reply]


January 11

[edit]