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:
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/C}}{{pp-move-indef}}
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/C|WP:CHD}}
[[Category:Non-talk pages that are automatically signed]]
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for accidental language links]]
[[Category:Pages automatically checked for incorrect links]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia reference desk|Computing]]
[[Category:Wikipedia reference desk|Computing]]
[[Category:Wikipedia help pages with dated sections]]
[[Category:Wikipedia resources for researchers]]
</noinclude>
</noinclude>


= December 28 =
{{Wikipedia:Reference_desk/Archives/Computing/2013 November 27}}


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


Ó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/2013 November 29}}
: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 30 =
= December 30 =


== Selecting multiple items in checkbox on this website. Is there an easier way? ==
== listening to wiki ==


Please look at this link:
I am visually impaired and I want to know if there is anything I can use that would read wiki pages to me? perhaps you offer that already? or you can point me in the direction of something to read webpages to me?


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
I would much appreciate any response.


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)
Thank you


: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)
JPM <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/23.241.217.194|23.241.217.194]] ([[User talk:23.241.217.194|talk]]) 03:28, 30 November 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->


== Windows 10 Bin ==
:Do you have a [[screen reader]] ? If so, I believe that should work for Wikipedia, as well as many other sites, although certain things, like text inside an illustration, might not be read. What operating system are you using ? Many include screen readers or at least magnifiers, to help the visually impaired. And, obviously, a large screen helps, too. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 06:32, 30 November 2013 (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)
::StuRat's suggestion of a screen reader is your best option for most articles. Just to add that some articles have spoken versions contributed by users too. The spoken versions won't be completely up-to-date but they are read by real people and so hopefully much better than anything a machine could produce. The list of articles that have been recorded is at [[Wikipedia:Spoken articles]] —[[User:Noiratsi|Noiratsi]] <small>([[User talk:Noiratsi|talk]])</small> 22:49, 30 November 2013 (UTC)


: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)
== Dictionary software for mobile phone ==


I have a Motorola wx260 mobile phone and want to install a English-English dictionary software with pronunciation facility. Is it possible? and How? Thank you.[[Special:Contributions/175.157.126.249|175.157.126.249]] ([[User talk:175.157.126.249|talk]]) 09:23, 30 November 2013 (UTC)
:Is it running Android? If so, you can just go to the Google Play store and download one. <span style="font-family:monospace;">[[User:Dismas|Dismas]]</span>|[[User talk:Dismas|<sup>(talk)</sup>]] 04:46, 1 December 2013 (UTC)


== How can I make such as this file? ==


= January 1 =
[[File:Circle radians.gif|thumbnail|left]] <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/37.238.225.116|37.238.225.116]] ([[User talk:37.238.225.116|talk]]) 11:01, 30 November 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->


== Question(s) about Arch Linux ==
:There are ''hundreds'' of [[free software]] and commercial software packages that can produce animated graphs such as this image. The image is both an [[animated GIF]] and a mathematical plot. You can learn how to use animation by following [http://www.gimp.org/tutorials/Simple_Animations/ GNU Image Manipulation Program's simple animations tutorial]. You can learn how to use [[MATLAB]]'s [http://www.mathworks.com/matlabcentral/fileexchange/21944-animated-gif/content/Animated_GIF/html/AnimatedGif.html imwrite command for animated GIFs]. You can learn how to plot using [[polar coordinates]] using [http://matplotlib.org/examples/pylab_examples/polar_demo.html matplotlib's polar plot demo code]. You can also ask the author of the image you found: he contributes to Wikipedia as [[User:LucasVB]] and ''has already created a tutorial'' for some of his more advanced animations: [http://1ucasvb.tumblr.com/faq ''Frequently Asked Questions: How do you make these?''] [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 16:17, 30 November 2013 (UTC)
{{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 =
== Emergency Website Building ==


== Bayeux Tapestry website ==
So it turns out the 'website builder' service offered by my hosting provider can't do half the things I need for the site, and as a result, I need to abandon it and create a whole new site from scratch myself, including having access to the code so I can edit and insert certain details. And we're due to go live tomorrow, so I have less than 24 hours to do this.


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)
Anyone know somewhere I can download a rough template for a website where I can just fill a few pages with text and pictures and set up a simple shop interface on one page? I have all the FTP software and information on what the site has to include and so on, I just need the actual outline code to put it online, something I doubt I could learn to write myself in a few hours.


:@[[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)
Thank you,
::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)


[[Special:Contributions/213.104.128.16|213.104.128.16]] ([[User talk:213.104.128.16|talk]]) 23:19, 30 November 2013 (UTC)


= January 4 =
:I'm thinking [[Elance]], [[guru.com]]? [[User:Wnt|Wnt]] ([[User talk:Wnt|talk]]) 23:06, 1 December 2013 (UTC)


= December 1 =
== Zoomify ==
== Setting up a website ==


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)
I posted here recently (Hiring a programmer for a job, etc.). After some discussion I realized that more information that just colloquial description is needed, in particular a clear display of formulas. I also want to set up my own website and put there the stuff regarding my patent and underlying math. I was very much impressed by the StuRat website. How does one go about setting something like that up? Thanks[[Special:Contributions/2601:7:7680:626:55A8:CF63:583E:F202|2601:7:7680:626:55A8:CF63:583E:F202]] ([[User talk:2601:7:7680:626:55A8:CF63:583E:F202|talk]]) 02:10, 1 December 2013 (UTC)
:I don't know what site Stu referred you to but you can easily set up a [[WordPress]] site in a short amount of time. <span style="font-family:monospace;">[[User:Dismas|Dismas]]</span>|[[User talk:Dismas|<sup>(talk)</sup>]] 04:48, 1 December 2013 (UTC)
: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).
:Setting up a website requires (at a barest minimum) three things:
: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)
:# A computer that's always on, and has a "static" IP address. Either your own computer - or one that you lease time on that's owned by some kind of service provider.
:# A copy of an "HTTP daemon" running on the computer (you can download "Apache" for free - which is an excellent example of such a tool).
:# A file called "index.html" in a directory known to the HTTP daemon that contains some information in the HTML language.
:Actually, there is a fourth thing - which is that with the above, people would have to access your site as something like: http://208.80.154.225 rather than the more memorable: http://wikipedia.org - and for that, you need to go to a "domain name registrar" and pay some small amount of money to register your ownership of the name and to cause computers around the world to associate "http://joes_plumbing.com" with the IP address of your computer. You can go to places like "GoDaddy" who'll generally charge you $10 per year or so - depending on how "valuable" the name is.


{{od}}
:That's the theory.
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}}
:In practice, as a small business or an individual you're likely to find it hard to get your own 'static' IP address from most providers. That means that you more or less have to go to a web site service provider (I use 'Dreamhost.com') who'll charge you maybe $10 per month to provide you with a slice of one of their many computers that already has a static IP address with Apache already configured nicely. They'll probably do the domain registry thing for you too. So for about $10 down and $10/month, all you need to provide is the HTML file(s) for the website itself.


<nowiki> import os
:This brings us to the next complication. Whilst it's easily possible to write and maintain a simple web site using just HTML commands - you'll probably out-grow that after a while and start to want more sophisticated stuff like style sheets, fonts, images, JavaScript software, client-server stuff in PHP or C++ or something, SQL, web apps, canvas and WebGL graphics...who knows what?!. This puts you on a learning curve that can grow to encompass an entire career path. Another approach is to install some kind of infrastructure on top of the basic system I described above - and that could be WordPress or MediaWiki or any of a couple of dozen other possibilities. You might want to add blogging and forums, storefront software and advertising platforms...again, another career-spanning range of options there too.
::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!") </nowiki>


{{collapse bottom}}
:[[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 05:37, 1 December 2013 (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)
:Also, if you create an account here on Wikipedia, you can create your own specs sheet right on your home page or as a subpage. That is free and accessible whenever Wikipedia is running, which is pretty much always. I recommend this as a first step. Later on you can copy it all to your own web site. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 10:53, 1 December 2013 (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)
Wow, while I slept good people posted a wealth of information for me. Thank you for that. Actually at one point, perhaps 3-4 years ago I did have a static IP address from Comcast, I believe, and also had a registered domain name. Then I moved out of that area, my plans changed, I got tired of software and gave it all up. I got a static IP because somebody told me that with a static IP it would be difficult or impossible for someone to highjack my computed and transmit their junk. Indeed at one point before that while I still had to get dynamic IP addresses every few days or so, exactly that happened and my machine was quarantined I believe. Somehow I had that unlocked and I think that I resolved the issue by acquiring a static IP.
:[[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}}
I also had a server installed on one of my machines but never got it off the ground. I guess my question is: do I have to get a server (hardware plus software or software alone) to set it up? It looks from your post that I can get by without it, correct? I will probably start with a Wikipedia.org page as StuRat recommends. Well, I have my work cut out for me for sure!


[[User:Antemister|Antemister]] In a new cell, type <code>
I just reread SteveBaker's paragraphs and decided that I need to clarify my objective. The whole thing of course acquired its shape after a few posts here and the criticism I met. Provided I will be able to find a programmer to verify that my patent will work in real time, I am planning to approach potential investors and show them the result. The result and the background to it should be handily displayed on a web page. That will be the easiest and most convincing way to argue about implementation. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/174.52.14.15|174.52.14.15]] ([[User talk:174.52.14.15|talk]]) 16:30, 1 December 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
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)
: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)


Many thanks,[[Special:Contributions/2601:7:7680:626:55A8:CF63:583E:F202|2601:7:7680:626:55A8:CF63:583E:F202]] ([[User talk:2601:7:7680:626:55A8:CF63:583E:F202|talk]]) 16:24, 1 December 2013 (UTC)


Also, how can I register here?[[Special:Contributions/2601:7:7680:626:55A8:CF63:583E:F202|2601:7:7680:626:55A8:CF63:583E:F202]] ([[User talk:2601:7:7680:626:55A8:CF63:583E:F202|talk]]) 17:17, 1 December 2013 (UTC)
:There's a "create account" link at the top-right of the screen. [[User:Csmiller|CS Miller]] ([[User talk:Csmiller|talk]]) 20:20, 1 December 2013 (UTC)
:Strictly speaking, you don't need a static IP address. As long as your ADSL router/cable modem offers support for services like [[dynDNS]], you can get a dyndns address, and your modem will inform them when your IP address changes. [[User:Csmiller|CS Miller]] ([[User talk:Csmiller|talk]]) 20:20, 1 December 2013 (UTC)


= January 11 =
Thank you, I appreciate it. How come the Wikipedia says "do not display personal information" but you, Miller, give your own name it seems.[[Special:Contributions/2601:7:7680:626:1021:96A7:A1F0:3245|2601:7:7680:626:1021:96A7:A1F0:3245]] ([[User talk:2601:7:7680:626:1021:96A7:A1F0:3245|talk]]) 04:45, 2 December 2013 (UTC)

:I use my real name and provide my actual email address for anyone who cares. I have (on occasion) had problems with some of the more evil people who frequent this place because of that - but on balance, I think it's better to be open than not. Wikipedia is merely advising you not to presume privacy for *ANYTHING* you post here because everything is out in the open. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 17:46, 2 December 2013 (UTC)

Also this question. In planning for my own website as has been recommended here by you I believe, I consider the following option and would like you to confirm that it's doable. All the formulas I will need can be easily found here in Wikipedia. I would just copy them with right click on my mouse and then paste them on the web page. I believe that pretty circle with radians above has been made this way. Do you think it will work? Correct? Thank you [[Special:Contributions/2601:7:7680:626:D31:C668:489F:577F|2601:7:7680:626:D31:C668:489F:577F]] ([[User talk:2601:7:7680:626:D31:C668:489F:577F|talk]]) 22:34, 2 December 2013 (UTC)

:No! Certainly not! Formulae that you just copy/paste into an HTML file on a web page remain just that...formulae. If you want to convert them into a graph or some other kind of diagram then you need some other software to do that...maybe a spreadsheet program or something like Mathematica. Then you need to take a copy of the resulting image and upload that to your server. With the right skills, you could perhaps write Javascript code to convert a formula into a graph or something - but the mere fact that you're asking this question means that you're not going to be able to do that. IMHO, you need six months or more of learning how web pages work, how HTML is involved and a myriad of other subjects before you're ready to do what you need. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 00:50, 3 December 2013 (UTC)

Steve, I did not expect it from you. Please read my question. Where in the world did I imply that I expect the formulas to be converted into a visual presentation? NEVER. In fact your first sentence seems to answer my question that I can copy and paste formulas in Wikipedia. This is all I wanted to know. The circle with radians was brought as an example because I suspect that it was done exactly this way, by copying and pasting.[[Special:Contributions/2601:7:7680:626:56:2051:F86A:547E|2601:7:7680:626:56:2051:F86A:547E]] ([[User talk:2601:7:7680:626:56:2051:F86A:547E|talk]]) 00:24, 4 December 2013 (UTC) <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/2601:7:7680:626:56:2051:F86A:547E|2601:7:7680:626:56:2051:F86A:547E]] ([[User talk:2601:7:7680:626:56:2051:F86A:547E|talk]]) 00:23, 4 December 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->

== Firefox settings ==

I had a minor problem with McAfee. The support technician, among other things, deleted cookies and other stuff from IE, but now when I go into Wikipedia from Firefox, the format has changed. For one thing, I have to scroll down toward the bottom to get the search box. How can I get my old format back (search box on the left)? Now that I try other sites, the format's screwed up there as well. [[User:Clarityfiend|Clarityfiend]] ([[User talk:Clarityfiend|talk]]) 09:11, 1 December 2013 (UTC)
:Your Wikipedia "skin" may have changed from [http:/upwiki/wikipedia/commons/e/ed/Monobook.css.png Monobook] to [http:/upwiki/wikipedia/commons/8/8c/English_Wikipedia_screenshot.png Vector]. See [[Wikipedia:Skin#How_to_change_the_skin|here]] for information on how to change it back. -- [[Special:Contributions/140.202.10.134|140.202.10.134]] ([[User talk:140.202.10.134|talk]]) 18:49, 2 December 2013 (UTC)
::That wasn't it, but thanks. In the end, I just reset and crossed my fingers. Eventually, I got everything back the way I had it. [[User:Clarityfiend|Clarityfiend]] ([[User talk:Clarityfiend|talk]]) 03:20, 4 December 2013 (UTC)

== Laptop touchpad location ==

Is there a reason that laptop touchpads (mousing interface) are located below the keyboard and not above the keyboard? If they were above the keyboard, accidentally mousing (correct verb?) whilst typing would not be an issue and it would not be necessary to enable/disable the touchpad as needed. <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/129.215.5.255|129.215.5.255]] ([[User talk:129.215.5.255|talk]]) 13:05, 1 December 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->

:If the touchpad were placed above the keyboard, there would be the problem of accidentally pressing keys whilst "mousing" on the touchpad. With care, of course, neither should be a problem. My touchpad on this ancient laptop is slightly recessed, so I've never experienced accidental "mousing". Is it an issue for many people? [[User:Dbfirs|''<font face="verdana"><font color="blue">D</font><font color="#00ccff">b</font><font color="#44ffcc">f</font><font color="66ff66">i</font><font color="44ee44">r</font><font color="44aa44">s</font></font>'']] 17:08, 1 December 2013 (UTC)

::It's a common and irritating issue on older systems but most new computers have software functions that detect the difference between a deliberate finger and an accidental palm or brush-past, and ignore the latter. Often you can enable these functions by downloading updated software for your trackpad (Synaptics drivers, or other as appropriate). I suspect that would be much more difficult to achieve if the keyboard and trackpad were switched--how would the keyboard detect whether your keypresses were deliberate or not? —[[User:Noiratsi|Noiratsi]] <small>([[User talk:Noiratsi|talk]])</small> 18:00, 1 December 2013 (UTC)

:There's this [http://www.pcmag.com/article2/0,2817,2418531,00.asp acer device].
:I think I'd probably like it, but maybe it's a grass-is-always-greener thing and it would annoy me just as much. Hard to tell without trying it. [[User:APL|APL]] ([[User talk:APL|talk]]) 21:34, 2 December 2013 (UTC)

= December 2 =

== Can TrueCrypt volumes be identified? ==

[[TrueCrypt#Identifying_TrueCrypt_volumes]] TrueCrypt volumes can't be identified, but some of those claim are not cited.--[[Special:Contributions/58.251.146.130|58.251.146.130]] ([[User talk:58.251.146.130|talk]]) 06:45, 2 December 2013 (UTC)
:There's no way to distinguish the contents of a TrueCrypt container file from random bits unless you have a decryption key. The best source I can find for this is a footnote in the official documentation ("These parameters are kept secret [...] primarily to make TrueCrypt volumes unidentifiable (indistinguishable from random data) [...]", on page 135 of <tt>TrueCrypt User Guide.pdf</tt>). They're likely to be "identifiable" in other ways, though. -- [[User:BenRG|BenRG]] ([[User talk:BenRG|talk]]) 08:28, 2 December 2013 (UTC)

:: In jurisdictions with a [[key disclosure law]], where the authorities can force someone to provide them access to encrypted data, the presence of a large file containing highly random data is likely to be taken as ''prima facie'' evidence that it is an encrypted container of some sort (particularly if the person in question has TrueCrypt installed). A large random file is evidently not a program, media file, or user document, all of which are non-random and readily identifiable. An unfortunate corollary of this is that if one really ''did'' have a large file of random data, one might be faced with the vexing task of proving the negative, as there's no way to show that random data ''isn't'' a TruecCrypt volume. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 11:45, 2 December 2013 (UTC)
:::In fact a properly set-up TrueCrypt volume ''can'' be completely undetectable and [[deniable encryption|plausibly deniable]]. In short, by encrypting volumes within volumes you can make data appear to represent blank space on one encrypted volume when in fact it is part of ''another'' encrypted volume that, without the proper password, cannot be detected or proved to exist. —[[User:Noiratsi|Noiratsi]] <small>([[User talk:Noiratsi|talk]])</small> 20:30, 2 December 2013 (UTC)
::::What will they do if I just can't or don't decrypt the information? Will they assume me as guilty, or hyptonize me or put me on a Polygraph?--[[Special:Contributions/58.251.146.130|58.251.146.130]] ([[User talk:58.251.146.130|talk]]) 01:36, 3 December 2013 (UTC)
:::::That largely depends on your country, see [[Key disclosure law]]. Few countries use polygraphs in criminal investigations and none use hypnosis, to my knowledge. See [[Rubber-hose cryptanalysis]] for a discussion of key extraction methods. —[[User:Noiratsi|Noiratsi]] <small>([[User talk:Noiratsi|talk]])</small> 08:20, 4 December 2013 (UTC)

== Website Pages ==

I own a domain name on which I am hosting a website, which effectively is a group of different items gathered together for convenience, or at least that is the plan once they are all up and running.

Within the site [domainname].co.uk I host a particular project on [subdomain].[domainname].co.uk, however, I would like to add more information on related items, creating a homepage for them at [subdomain].[domainname].co.uk with links to projects hosted at, for example, [subdomain].[domainname].co.uk/[project]

so far I have been able to upload pre-made templates and other code to [subdomain].[domainname].co.uk, but I am not sure how to move anything to /[project] or upload to that location. Would I need to create the homepage code, and then include a folder called [project] within which I could post the code information for that project? All I want is a basic Wordpress style site, with a banner at the top, a series of blog posts and a few pages with other information, could I download such a thing and post it to [subdomain].[domainname].co.uk/[project], and how would I go about doing this? Or is there some way I can configure my FTP to upload directly to that page?

Thank you,

[[User:Kitutal|Kitutal]] ([[User talk:Kitutal|talk]]) 15:27, 2 December 2013 (UTC)

:Which FTP program do you use? /project is often treated as a folder called project. My FTP program can display folders at the target site and has an option to create a new folder when right clicking in an existing folder. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 15:43, 2 December 2013 (UTC)

::Currently using FileZilla, is that ok? [[User:Kitutal|Kitutal]] ([[User talk:Kitutal|talk]]) 16:16, 2 December 2013 (UTC)

:::I also use FileZilla. Don't you have the described right-click option when you view files on the target server? I don't know whether it can depend on the server. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 16:31, 2 December 2013 (UTC)

::::I'll have another look, see if I can make it work. The other thing is whether it would be possible to download a sample wordpress template for me to use, or would I have to write that all myself? [[User:Kitutal|Kitutal]] ([[User talk:Kitutal|talk]]) 17:39, 2 December 2013 (UTC)

:I don't know the answer - but I have to say that if you're doing any kind of serious web development work, FTP is a horrible way to go. You should try to find out whether you can have a "shell account" on the machine that hosts the site so that you can easily log into it to maintain it. Failing that, consider using something like [[rsync]] or (my personal favorite) [[Unison (file synchronizer)|Unison]] that let you set up the files on your local computer and "sync" them with the files on the server so that whatever arrangement you set up on your local machine gets transferred to the server whenever you decide to do so. This is also good because it allows you to more easily maintain a proper backup of the file system on the server for easy restoration in case of problems. If your service provider doesn't allow you to do such things - then I strongly recommend switching to one who does. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 17:40, 2 December 2013 (UTC)

:Think FileZilla is a good way to go. The only disadvantage I found, was that there was very little documentation, that could find, at the time, to tell me how to make it sing and dance (but it worked). I did some of the things that your asking about (and I'm no expert) but now can't remember clearly enough to help. Hopefully some editors here can provides links to the sources that can help you. So stick with it. Thanks, for reminding me about FileZilla. Now that winter's coming on and the nights are drawing in, I think I'll rent another virtual server and have some fun. I've been thinking of creating a family 'virtual private network', where we can just let each other know what were up to (''– save for perhaps the teenagers that what to keep that sort of thing under the bedcovers''). The emails on it, will also automatically have higher priority, because it is family business and so can't be over looked or get spam filtered... --[[User:Aspro|Aspro]] ([[User talk:Aspro|talk]]) 22:24, 2 December 2013 (UTC)

== JPG to PNG conversion ==

When one converts JPG to PNG, does any damage/generation loss/etc result from the process of MIME format conversion? Someone uploaded [[:File:Pbalson 20060527 IMG 3701.JPG]] to Commons as [[:File:Pbalson 20060527 IMG 3701.png]] (see the "author" line; the Commons image is definitely taken from here, not vice versa), and I'm wondering if we might want to upload the original JPG to Commons. [[User:Nyttend|Nyttend]] ([[User talk:Nyttend|talk]]) 23:12, 2 December 2013 (UTC)

:The JPG is 628 KB and the PNG is 3.46 MB. That seems reason to prefer the JPG whether or not the PNG lost something. [[:commons:Special:Contributions/Spriggy.mcgee]] shows this and the similar conversion of [[:File:Pbalson 20060527 IMG 3702.JPG]] to [[:commons:File:Pbalson 20060527 IMG 3702.png]] were the only edits of the user who created the account 7 minutes earlier. I have no idea why the user converted the images but it probably wasn't for a good reason. I say transwiki the JPG's but with meaningful names, and consider nominating the PNG's for deletion. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 23:33, 2 December 2013 (UTC)

::No information is lost in converting from JPG to PNG, except possibly [[EXIF]] metadata that is not part of the visible image. So file size is really the only issue. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 23:49, 2 December 2013 (UTC)

:::[[:commons:Help:JPEG#JPEG versus other formats]] says: ''However, if the original file is in JPEG, it makes no sense to convert it to PNG: converting a lossy compression into a "lossless" format doesn't buy you anything since the "loss" already occurred in the original, and doing so will only increase the file size.'' [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 00:22, 3 December 2013 (UTC)

: PNG is a lossless file format. When you create a PNG from a JPG, every single pixel that you saw in the JPG file will be there in the PNG, perfect in every regard. However, the reverse is most definitely NOT the case. When a PNG (or any other file format for that matter) is converted into JPG, the "lossy" compression scheme that's behind the JPG file format throws away information that is deemed relatively unimportant to human perception. That's how it manages to compress the file to take up less space/bandwidth. JPG compression is usually fairly good - but it does rely on some assumptions about the viewer that may not be true. For example, it assumes that the image will be presented at a screen resolution of around 50 to 100 pixels per inch, at a reasonable brightness, and is viewed square-on to the eye in the center of the person's field of view. When those viewing conditions are violated, (or if you set the compression level too high) then you'll see artifacts due to the fact that JPG threw away some information that actually matters. This often takes the form of ghostly outlines around objects with sharp color transitions, and in the form of weird colored pixels showing up when you zoom into the image.

: So if you're seeing artifacts in a PNG image that was *ever* at some time in the past a JPG image - then the odds are good that the artifacts were introduced in the original conversion in to JPG, not in the subsequent conversion into PNG.

: Sadly, you can't "repair" an image that's been stored as a JPG because (fundamentally) some information was thrown away and cannot ever be recovered without going back to a version of the image that has never been converted to JPG.
: [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 00:43, 3 December 2013 (UTC)
::Thanks to everyone for the advice. I've uploaded the JPGs to Commons, deleted the local images under criterion F8 (identical image on Commons), and filed deletion requests for the PNGs. [[User:Nyttend|Nyttend]] ([[User talk:Nyttend|talk]]) 03:06, 3 December 2013 (UTC)
:::I agree - that's the right thing to do. The person who uploaded those files probably heard that PNG is a higher quality file format than JPG - which is undoubtedly true. However, if all you have is a JPG, converting it to PNG is just a waste of disk space because the damage has already been done and all you're doing is preserving the exact same ugly artifacts in a more expensive way! But if there is some more original file (like a ".RAW" file taken from the camera or a higher resolution JPG or something) then there is definitely great benefit to making a PNG from that source and replacing the existing JPG file with it. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 03:21, 3 December 2013 (UTC)

= December 3 =
== Mobo Hunt ==
I am searching for a motherboard which can accomodate:
· two Intel Xeon E5-2695 v2 2.4GHz Processors
· two Dual-Width x16 PCIe 3.0 Graphics Cards, and
· four Single-Width x8 PCIe 2.0 Cards

Does anybody here have any ideas where to look, or know a suitable mobo? 13:31, 3 December 2013 (UTC)

:Sure... how about [http://www.supermicro.com/products/motherboard/Xeon1333/#2011 SuperMicro's Xeon Socket2011 selection]? There are certain rack mount systems that have such preposterously immense PCIe capabilities: for example, [http://www.supermicro.com/products/motherboard/Xeon/C600/X9DRG-HTF.cfm X9DRG] supports: " 4 x16 PCI-E 3.0 slots, 1 x8 PCI-E 3.0 (in x16), & 1 x4 PCI-E 2.0 (in x8) slot." Realistically, at this price point, you can phone up the manufacturer (you have a rep, right?) and request that they re-socket the PCIe lanes in the configuration you are seeking, and run a small volume manufacture for you. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 16:51, 3 December 2013 (UTC)

::Or, a little more friendly for the small-business supercomputer: [http://www.supermicro.com/products/motherboard/Xeon/C600/X9DRW-3LN4F_.cfm the X9DRW-3LN4F] provides one 48x PCIe riser slot. You can build your own rack-mount chassis above, using any combination of PCIe risers to break that into the lane allocations as you see fit. You might also need some custom device software to make this do what you expect... this is documented in [http://www.intel.com/content/dam/doc/datasheet/core-i7-lga-2011-datasheet-vol-2.pdf the Core i7 manual] under PCIe port bifurcation. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 18:00, 3 December 2013 (UTC)

:Yikes! I don't know anything about building a rackmount chassis or PCIe port bifurcation. I was hoping for an EATX mobo that would fit in a Supermicro CSE-747TQ-R1400 tower chassis. [[Special:Contributions/119.56.117.57|119.56.117.57]] ([[User talk:119.56.117.57|talk]]) 10:38, 4 December 2013 (UTC)
::...You might want to learn, ''before'' you commit to spending upwards of $5000 per system ''on CPUs alone.'' Are you sure you need what you are asking for? Are you willing to shell out five- and six-figure US-dollar quantities for technical features that you aren't using? [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 19:18, 4 December 2013 (UTC)

::Those PCIe requirements are extreme for anything remotely consumer-grade. You're asking not only for 64 lanes, which is going to be tough to find (the one linked above only has 48), but for those lanes to be in a specific configuration as well. If you don't mind sharing, you could let us know what you're trying to accomplish that has those requirements - maybe we can help with alternative solutions? [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 19:19, 4 December 2013 (UTC)
:::Asus makes the [http://www.asus.com/Motherboards/Z9PED8_WS Z9PE-D8] that has 7 x16 slots, so it could work, but unless I'm picturing it wrong, you're going to be one slot short because of the double-width requirement. Is this a personal project, or is this something you're building for a business? I could get you contact information for the vendor we use for this sort of request, but they won't do much for you if this one motherboard is the only sale they'll ever get through you. [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 20:29, 4 December 2013 (UTC)
::::Well, there's a mismatch between the motherboard and the CPU's published capabilities. ''Somebody'' is making up hardware specs, and I'm betting it isn't Intel: Intel only supports 40 lanes per chip: which you can confirm by reading Intel's [http://ark.intel.com/products/75281/Intel-Xeon-Processor-E5-2695-v2-30M-Cache-2_40-GHz E5-2695 quick technical overview]. So, if there are two CPUs each providing 40 lanes, and the motherboard has "7 x16 slots", where are these PCIe devices going? Some of those are "phony" x16 slots. ''At best,'' you can configure which lanes are going to each socket. But even ''that'' is dubious; because the Asus motherboard uses the [http://ark.intel.com/products/63984/Intel-BD82C602-PCH 602 PCH], for a total of ''8'' PCIe lanes per PCH (...or, 16 total PCIe lanes on the board - ''far'' short of the implied "7 x16" - by a factor of seven times!) (Actually, the clarification is provided in the fine-print of the logic board's specifications, so Asus is not ''totally'' misrepresenting its capability).
::::You can put as many connector-sockets as you desire on a motherboard, but they aren't 16-lanes wide unless ''all sixteen lanes'' are connected to the PCIe root. This Asus board is either a fantastic piece of engineering marvel (perhaps it was designed for a custom use-case); or it is an addled and under-performing platform that was produced a very confused novice computer engineer. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 21:31, 4 December 2013 (UTC)

:The two dual-width x16 PCIe 3.0 cards are an Nvidia Quadro K5000 Graphics Card and an Nvidia Tesla K20X GPU Compute Card, for an Nvidia Maximus configuration.

:This new workstation (for which the budget is US$30K) is for running Autodesk 3D Studio Max in a small-business context, also involving the use of MotionBuilder and Mudbox.
:It is to replace the current workstation, which is built on a Tyan S7025WAGM2NR mobo in a Supermicro CSE-747TQ-R1400 chassis, with 2x X5690's, 48GB RAM, a Quadro 6000, and a Tesla C2075. It's already been upgraded once, from W5580's to X5690's, and I was hoping to re-use the chassis, as it's still in nearly pristine condition after four years.
:I've already bought the two Intel Xeon E5-2695 v2 2.4GHz processors (which cost US$2,247 each, with taxes) and the two Nvidia cards (which together cost US$5,885 - also with taxes).
:I actually intend to install only three x8 PCIe 2.0 cards, but would prefer to have a fourth slot for future expansion. The Asus Z9PE-D8 might do (as the Tesla will overhang the edge of the mobo, not cover one of the PCIe slots), but I'll have to research its quality and reliability first.
:[[Special:Contributions/119.56.116.39|119.56.116.39]] ([[User talk:119.56.116.39|talk]]) 07:49, 5 December 2013 (UTC)
::(This is a response to Nimur's concerns as well) From the basic specs, it sounds like some slots are x8 slots that duplicate the lanes of adjacent x16 slots - so you can use one double-width x16 card or 2 x8 cards. This shouldn't be an issue for your application, but I would find the manual online and double-check that the right number of lanes make it to the slots you'll need to use. It says it supports 4 Teslas, which implies that the bottom slot must be x16, and they expect the last card to hang over the edge like you describe. [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 13:46, 5 December 2013 (UTC)

== Reals in Jython ==
I'm just researching some information on JES programming for my introduction to Information Technology at Melbourne's RMIT. I have unsuccessfully tried to source the answer elsewhere, if anybody can help me I would be much obliged, David Smith.



Why in Jython, (JES) do we get the output 3.9000000000000004 from 1.3 * 3?

and

Why do we get the output in Jython 0.3333333333333333 when we print 1.0 / 3?



Thank you.

David Smith. <small><span class="autosigned">—&nbsp;Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Thesmithster|Thesmithster]] ([[User talk:Thesmithster|talk]] • [[Special:Contributions/Thesmithster|contribs]]) 21:13, 3 December 2013 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->

:I don't know Jython but computers and programs usually store real numbers as binary [[floating point]]. 1.3 and 1/3 have no finite exact representation in binary so rounding occurs. For example, 1.3 may be rounded to a binary number close to 1.3000000000000001. Multiply by 3 and the result when written in decimal may be rounded to 3.9000000000000004. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 22:48, 3 December 2013 (UTC)
::It is technically rounding, but I find it more helpful to realize that every (finite) floating point number is a [[dyadic rational]]. In decimal, all these that are not integers end in "5": 1/2=0.5, 1/4=0.25, 3/4=0.75, 3/8=0.325, etc. Of course, for more negative powers of 2, the decimals are longer: 1/1024=0.0009765625. Those are your choices, so when you want to approximate 1.3, your closest [[IEEE 754]] double choice is 1.3000000000000000444089209850062616169452667236328125 (5854679515581645/2<sup>52</sup>); the next lower choice 5854679515581644/2<sup>52</sup>=1.29999999999999982236431605997495353221893310546875. The exact triple of this quantity is of course 3.9000000000000001332267629550187848508358001708984375, to which the closest double is 3.9000000000000003552713678800500929355621337890625. This is the result you obtained (so the rounding error in the multiplication was as small as possible); the choice to represent it as 3.9000000000000004 (rather than, say, 3.90000000000000036, which is in a technical sense more precise) is a subtle one: rounding to 17 significant figures happens to be necessary and sufficient to avoid having any two double values collide. The unfortunate rounding is actually in representing 1.3; the error in it, multiplied by 3, causes the difference between the observed value and the closest double to 3.9 (3.899999999999999911182158029987476766109466552734375, which we know displays as "3.9" or "3.9000" or so because of another subtle argument about decimals with less than 16 significant digits). --[[User:Tardis|Tardis]] ([[User talk:Tardis|talk]]) 01:05, 4 December 2013 (UTC)

See also: [http://floating-point-gui.de/] <span style="font-family:Euclid Fraktur; background:white;">→[[User:Σ|<font color="#BA0000">Σ</font>]][[User talk:Σ|<font color="#036">σ</font>]][[Special:Contributions/Σ|<font color="#036">ς</font>]].&nbsp;<small>([[User:Σ|Sigma]])</small></span> 06:14, 4 December 2013 (UTC)
::Of course, if you wish to have your arithmetic behave in a more "intuitive" way you can represent decimals with the [http://www.jython.org/docs/library/decimal.html decimal] module in Jython. I haven't looked into the implementation details, but I imagine there is a significant performance penalty as the [[floating-point unit]] can't be utilised directly. [[User:Equisetum|Equisetum]]<small> ([[User talk:Equisetum|talk]] &#124; [[Special:Contributions/Equisetum|contributions]])</small> 11:28, 4 December 2013 (UTC)

::: If Jython's decimal is a wrapper over Java's java.math.BigDecimal (which I think it will be), a 2009 benchmark shows a [https://github.com/fractal/quantifyit/wiki/Performance-compared-to-Java-Types two order of magnitude] slowdown, compared with Java's IEEE <tt>double</tt> type - about what I'd expect. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 16:02, 4 December 2013 (UTC)

:By the way - ''why'' do programming languages still use floating point representation for rational numbers? With all the processing power we have, I'd think they'd have a numeric type "rational" with a specific representation of the repeating digits, and reserve floating point only for irrational numbers at most. [[User:Wnt|Wnt]] ([[User talk:Wnt|talk]]) 14:44, 4 December 2013 (UTC)

::Many languages do support a rational data type, either in the native language or in a library extension. See [[rational data type]] for examples. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]])

:::Interesting page. Come to think of it, I suppose there ''is'' a reason: with some languages like C, I think you can pretty much count on ordinary instructions to run in fairly constant time; but handling ratios means reducing ratios means [[integer factorization]], for which any polynomial time is still elusive. Thinking about it, I suppose the problem isn't that it's much slower but that it could be slower to an unlimited degree. [[User:Wnt|Wnt]] ([[User talk:Wnt|talk]]) 00:18, 5 December 2013 (UTC)
::::: Instead of integer factorization, dividing by the least common divisor can be used, and that can be found much faster than factoring. [[User:Bubba73|Bubba73]] <sup>[[User talk:Bubba73|You talkin' to me?]]</sup> 02:53, 5 December 2013 (UTC)
<small>
::::"I think you can pretty much count on ordinary instructions to run in fairly constant time..." If only! Between [[cache miss]]es, super-scalar [[out of order execution]], and [[dynamic frequency scaling]], constant cycles-per-execution is about the ''last'' thing you can rely on, with modern computers! Intel doesn't even put ''ballpark'' values for clock-cycles per machine-instruction in its reference manuals anymore. In real, big CPUs, ''you can't know'' how long one instruction will take until you execute it. What this means in practice is that the only ''really really real'' [[real time operating system]]s are the ones that run on very primitive microcontrollers, without DRAM and without any caches and without any buffers and without any interrupt-driven I/O, and generally without any of the computer architecture features that have been standard since ''the 1950s''.
::::[[WP:OR]]: I've even managed to make a single instruction (a pointer dereference, something pretty much equivalent to [http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html <tt>movl</tt>]) to require macroscopic amounts of time - ''thousands of seconds'' - to complete its execution. It wasn't easy, and I'm not even ''really'' sure how I did it, but ''nobody'' was happy when I made that happen, least of all myself.
::::Anyway, the [[C language]] specification doesn't imply or encourage machine implementations to have specific execution times for ''any'' operations. This kind of assumption isn't built into the language specification in any way whatsoever; nor is it implied by most implementations. A great counter-example is software floating-point emulation. For example, if you use [[gcc]], the compiler can accept [http://gcc.gnu.org/onlinedocs/gccint/Soft-float-library-routines.html <tt> -msoft-float</tt>] - and the ''exact same C code'' - for example, <tt>x*2.0</tt> or "<tt> (a + ib) / (c + id))</tt>", can either compile into "primitive data operations" that execute as single machine-instructions; or elaborate software functions implementing algorithms with ''a priori'' unknown runtimes. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 01:27, 5 December 2013 (UTC)
</small>

= December 4 =
== Date and Time in 'Pages' ==

Can anyone tell me how to set up automatic updating of 'date & time' on AppleMac's 'Pages' please?[[Special:Contributions/85.211.141.203|85.211.141.203]] ([[User talk:85.211.141.203|talk]]) 06:39, 4 December 2013 (UTC)

:What do you mean by "automatic" updates? If you are using the new [[Pages (word processor)|Pages 5.0]], you can insert a Date and Time field, which can be updated throughout the entire document by clicking "Update." More details are in the [http://help.apple.com/pages/mac/5.0.1/#/tan7248753e Help section on ''Add the page number, page count, or date'']. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 16:01, 4 December 2013 (UTC)

Thank you for this. What I mean by 'automatic' is simply that when ever I open a letter template for example, the date shown is automatically the current date not the previous one when ever the template had been opened. I cannot find "Update" anywhere, and the Apple help page does not provide and answer to my question.[[Special:Contributions/85.211.134.214|85.211.134.214]] ([[User talk:85.211.134.214|talk]]) 09:04, 5 December 2013 (UTC)
:I do not think that Pages (or any other well-designed word-processing software) will do that: essentially, you want the software to automatically modify and save the document every time it is opened. That precludes the user from choosing not to save the document; it prevents a "read only" use-case. Most users do not want software that ''forces'' them to save the document every time it is viewed.
:You might find that the [[file system]] provides the data you are looking for, though. You can query the file's last access-time - even if the access was a read-only access. On a Mac, you can use the Finder to determine the last time the file was opened by pressing ⌘I. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 16:27, 5 December 2013 (UTC)

Thanks again for this, but it is interesting to note that my Mac 'Numbers' pages does automatically show the correct date every day that I open it, trouble is I can't remember how I set it up !! [[Special:Contributions/85.211.207.34|85.211.207.34]] ([[User talk:85.211.207.34|talk]]) 06:53, 6 December 2013 (UTC)

== Best Practices for Converting Text Data Field to Numeric ==

I have inherited an MS Access 2007 database. In this database, the CustomerType field is a string with values such as "University", "Government", and so on. I would like to replace these values with numbers and have a lookup table containing the decode text, since this helps ensure data integrity. However, there are dozens of queries, forms, and reports that may or may not reference this field, as well as quite a bit of VBA code. Are there best practices for doing this type of conversion? In particular, is there any way (short of reviewing every database object and line of code) to minimize the probability that the conversion will make part of the database non-functional, or lead to data errors down the line? Thanks! [[User:OldTimeNESter|OldTimeNESter]] ([[User talk:OldTimeNESter|talk]]) 17:49, 4 December 2013 (UTC)
:If possible I would advise creating a new field to contain the numeric value, and leaving the old field in place. Otherwise there is no way to verify that your old code will work other than testing it. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 15:49, 5 December 2013 (UTC)

== What size flash drive to make disc image? ==

My father has a laptop running Windows 8 that he wants to upgrade to 8.1. I want to make a disk image of it on an external flash drive first. I already have a 1.5T drive myself, but when you go to create the image it says all files on the external drive will be lost.

When I simply backed up all his files manually, it used about 47 G. When I look at his C drive it says he's using just under 80g total.

What size flash drive would I need to make sure it would be large enough to hold the file, but no more expansive than necessary? Walmart says they have a 64 G hard drive for $45. I am wondering if that's reasonable and sufficient, or will he need a bigger one?

Thanks. [[User:Medeis|μηδείς]] ([[User talk:Medeis|talk]]) 19:55, 4 December 2013 (UTC)

:You shouldn't have to lose the contents on the destination if you're just making an image file - restoring an image file to a disc will wipe it. A tool like imagex creates a single file from a disc, and it can be stored on your 1.5TB drive. [http://technet.microsoft.com/en-us/library/cc507842.aspx] [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 20:08, 4 December 2013 (UTC)

::Thanks. I am using whatever tool exists in Windows 8.0, and it specifically warns that all data on the target drive for the backup image will be lost, not the reinstalling that image will overwrite the laptop hard drive. Perhaps you are saying that imagex works differently form the built-in windows tool? In any case, I would rather have this on his own separate flash drive so he has 24 hour access, which he would not to my 1.5T drive. Worse comes to worst I will simply have hime return the 64M drive as too small, but I am trying to avoid the need for that, assuming I can figure out how much sapce the disk image will take ahead of time. [[User:Medeis|μηδείς]] ([[User talk:Medeis|talk]]) 20:47, 4 December 2013 (UTC)

:::In order to create the disk image I first had to partition his hard drive and burn the image there. It was only 20G, so I simply tried clicking and dragging to to my 1.5T drive as you said, and this seems to have worked fine without any warning flags. Thanks! [[User:Medeis|μηδείς]] ([[User talk:Medeis|talk]]) 22:57, 4 December 2013 (UTC)

::::I'm glad it worked for you - I didn't realize 8 had imaging support built in! It probably uses imagex internally, it's the command-line tool that's shipped with Windows for several generations now. Glad it worked out for you - hopefully he won't need the image file at all in the end. :-) My 8 -> 8.1 upgrade ran no problem, although it involved far too many vague progress bars. [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 18:56, 5 December 2013 (UTC)

== Open-ended game classification ==

How would you exactly classify the gameplay of ''[[Utopia: The Creation of a Nation]]''? It is in a way open-ended, meaning that there is no final ending condition that must be reached, the only way the game forcibly ends is when the player loses, when the entire colony is destroyed. But still:
* It's not a "sandbox" game, because it provides a challenge, the player is not free to do whatever he/she pleases, ignoring the current state of the game.
* It's not a "non-linear storyline" game, as there isn't actually a "storyline". It's a city-building game, not an adventure game that follows a plot.
* It's not a "free roaming" game, as the player has a colony to maintain, and must keep the colonists safe and happy. Also there is an alien race that threatens the colony, but destroying the alien race is not the aim of the game, it only makes the game much easier if the player manages to do so.
Having an exact classification would help to better improve the article, particularly the bit where it links to [[open-ended (gameplay)]] (redirecting to [[nonlinear gameplay]]. [[User:JIP|<font color="#CC0000">J</font><font color="#00CC00">I</font><font color="#0000CC">P</font>]] &#124; [[User talk:JIP|Talk]] 20:05, 4 December 2013 (UTC)

: It seems like the problem is with open-ended (gameplay) redirecting to nonlinear gameplay; they aren't synonymous terms. Open ended could mean linear, but without fixed victory conditions. Other simulation games like [[Simcity]] are similarly open-ended. There is a kind of nonlinearity in that you choose what to build and when. In that sense there are multiple paths to success, or to at least avoid failure. --[[User:Mark viking|Mark viking]] ([[User talk:Mark viking|talk]]) 22:01, 4 December 2013 (UTC)

= December 5 =
== p2p ==

how does peer-to-peer softwere find other peers? thank you, [[Special:Contributions/70.114.242.17|70.114.242.17]] ([[User talk:70.114.242.17|talk]]) 10:00, 5 December 2013 (UTC)
: See here: [[Peer-to-peer#Routing_and_resource_discovery]] [[Special:Contributions/196.214.78.114|196.214.78.114]] ([[User talk:196.214.78.114|talk]]) 12:51, 5 December 2013 (UTC)

== Good Game development software ==

I want good game development software that is free, not too difficult to learn (but NOT drag and drop), has high potential and allows you to monetize games that you make.[[User:GameDeveloper15678|GameDeveloper15678]] ([[User talk:GameDeveloper15678|talk]]) 19:13, 5 December 2013 (UTC)

:[[Simple DirectMedia Layer]]? [[Java OpenGL]]? [https://developer.apple.com/xcode/ Xcode]? [http://www.rpgobjects.com/index.php?c=orpg OpenRPG]? You have not specified what you mean by "[[free software]];" you have not specified what you mean by "development;" and you have not specified what you mean by "game." There are too many possible permutations to list everything. Are you an experienced software developer? Do you have a target platform, target audience, target price and budget? You need to lay out those details first, and we can help direct you towards a more suitable resource. From the open-endedness of your question, I infer you are a bit of a novice - which is okay - so probably the best place to start is with an introductory book. Many others can recommend good game-specific books, but I recommend you learn the fundamental elements of software-development, e.g. by following [http://docs.oracle.com/javase/tutorial/ The Java Tutorials], so that you can learn how to implement ''real software.'' It will be difficult, it will be arduous; it may be many months before you get anything that even ''resembles'' a modern graphical game software; but learning how software ''really works'' is the best way to empower yourself to design and create and synthesize new and fun games. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 20:28, 5 December 2013 (UTC)

:There's [[List of game engines]] (the columns ''Notable games'' and ''License'' may be of interest) and, on the other hand, [[Slow programming]]. [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 00:48, 6 December 2013 (UTC)

:As a game developer myself, I'd strongly recommend Unity. The free version is very powerful - and you can cheaply upgrade to the paid version should you decide to make money from your game in the future. It's sufficiently drag-and-drop to help you get a project running quickly - but everything is wide open to programmers, artists and developers who need to go deeper. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 06:49, 6 December 2013 (UTC)

== Audacity's file size .aup ==

Audacity's own file .aup for digital audio seems to me to be saved using a lot less memory than say a .flac or a .WAV, or a .Ogg Vorbis. What is the reason for this? Is this due to file compression, quantization or sample rate or is it merely the way the file is stored? I saved the same file in all these various formats with Audacity being able to do it the cheapest. Anybody have an answer?

Thank you.
David Smith.
Friday 10:50am, 6/12/2013
[[Special:Contributions/122.151.121.84|122.151.121.84]] ([[User talk:122.151.121.84|talk]]) 23:51, 5 December 2013 (UTC)

:The .aup file is just a text-based information file. The actual audio data is stored in a folder with a _data suffix. See [http://audacity.sourceforge.net/manual-1.2/fileformats.html Audacity Reference - File Formats]. It looks like the audio is uncompressed. When I imported a 6.2 megabyte MP3 file and saved it, the total project data took 55 megabytes. --[[User:Bavi H|Bavi H]] ([[User talk:Bavi H|talk]]) 02:57, 6 December 2013 (UTC)

= December 6 =
== Computers without CD drives? ==

I've [https://en.wikipedia.org/enwiki/w/index.php?oldid=584741803 just learned] that I need to buy a new computer, so I'm looking around at different websites and in different stores. To my surprise, Best Buy has lots of laptops ([http://www.bestbuy.com/site/laptop-computers/pc-laptops/pcmcat247400050000.c?id=pcmcat247400050000 link], though it may not be persistent) marked "Note: DVD/CD drive not included", including some with higher-than-average prices. Why would anyone make a computer without a CD drive today? These definitely aren't used 1990s laptops. [[User:Nyttend backup|Nyttend backup]] ([[User talk:Nyttend backup|talk]]) 02:06, 6 December 2013 (UTC)

:Laptops can be thinner and lighter without an optical drive, and many can get by without the drive. See for example the Google search {{Google|laptop without optical drive}}. You can connect an external optical drive to a USB port when you need it, or you may be able to use an internal optical drive on another computer and copy what you need to the laptop, for example via a [[USB flash drive]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 03:16, 6 December 2013 (UTC)
::Most, if not all, PC software is available as a download. I still buy retail games and software, so I prefer the drive, but I certainly don't need one since everything I want is available elsewhere. [[User:Mingmingla|Mingmingla]] ([[User talk:Mingmingla|talk]]) 03:27, 6 December 2013 (UTC)
:::I concur with [[User:PrimeHunter|PrimeHunter]] and [[User:Mingmingla|Mingmingla]]. I can't remember the last time I used an optical drive on my laptop. Games I get from Steam. As far as I can tell, having a CD drive is like having a floppy drive, or a brick in your rucksack. [[User:Dja1979|Dja1979]] ([[User talk:Dja1979|talk]]) 05:25, 6 December 2013 (UTC)

:The options are wide open these days: You can download movies and software from the Internet. You can use a USB memory stick. You can buy an external DVD drive that plugs into the USB port. All of those things are cheap and easy these days - so the DVD drive is heading the way of the floppy drive. Omitting it saves money, makes the laptop lighter and thinner, improves reliability, makes it more splash-resistant. An external USB writeable DVD drive can be purchased for $26 (eg [http://www.bhphotovideo.com/bnh/controller/home?O=&sku=895354&Q=&is=REG&A=details here]) and [http://www.tmart.com/External-Blu-ray-Notebook-DVD-RW-for-Laptop_p106073.html?fixed_price=hk_intl&utm_source=base&utm_medium=organic&utm_term=N00174&utm_campaign=product&gclid=CJ7WtPz_mrsCFcTm7AodI1EAJw this one] costs $30 and has BluRay support too! So it's hardly a big deal to add an optical drive afterwards if you need it. Better still, your external USB drive will still be useful into the distant future. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 06:47, 6 December 2013 (UTC)

::In this frightening modern world, how is an OS usually installed? If I bought Windows 8, would I get a disk, or what? [[User:Card_Zero|<span style=" background-color:#fffff0; border:1px #995; border-style:dotted solid solid dotted;">&nbsp;Card&nbsp;Zero&nbsp;</span>]]&nbsp;[[User_talk:Card_Zero|(talk)]] 11:42, 6 December 2013 (UTC)

:::The standard procedure for new computers is for the operating system to be cloned as an image onto the hard drive, along with all the necessary drivers. This is done with permission <small>(usually)</small> from Microsoft <small>(I don't know Apple's procedures)</small> with a unique identifier if the computer is to be sold, and "cab" files are sometimes included (for additional drivers etc) if the computer is unlikely to have internet access. Updates and extra drivers are usually downloaded by the purchaser from Microsoft's website <small>or Apple etc)</small>. If you buy an operating system, you still usually get a CD, though you might just get a unique identifier to activate a download over the internet. The CD is not essential. For a computer with a wiped hard drive, it is possible to boot an OS from a flash drive (see [[Windows Preinstallation Environment]]), and download a better or updated OS over the internet. I remember (in the old days) installing Windows from floppies (and later from CDs) on a series of computers, but it was a very time-consuming process. Not something that modern retailers want to be bothered with. [[User:Dbfirs|''<font face="verdana"><font color="blue">D</font><font color="#00ccff">b</font><font color="#44ffcc">f</font><font color="66ff66">i</font><font color="44ee44">r</font><font color="44aa44">s</font></font>'']] 12:38, 6 December 2013 (UTC)

:::For Windows, the best advice would probably be to buy that $26 external USB DVD drive and boot from that. For Linux, you make a bootable USB memory stick with a simple version of Linux on it - boot from that, then it pulls in the rest of the OS over the web and installs it onto the hard drive. Easy! Most laptops have a hidden disk partition with a backed up version of Windows on it to restore from in the event of catastrophic problems. [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 16:36, 6 December 2013 (UTC)

::::Given an ISO file of the install media (which Microsoft offers as a download if you buy Windows online), you can use this Microsoft tool [http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool] to make a bootable DVD disc or USB drive. [[User:Katie Ryan A|<span style="border-bottom:solid #88F">K</span><span style="border-bottom:solid #d5f">ati</span><span style="border-bottom:solid #faa">e R</span>]] ([[User_talk:Katie Ryan A|talk]]) 20:44, 6 December 2013 (UTC)

== declare a dynamic array of characters n of size 100 [in C] ==

what the hell does that mean? i did
<pre>
char n[ 100 ];
</pre>

but this was wrong, obviously. this was a question on a test on C programming. i dont know the correct answer, do i need to malloc something? or do:
<pre>
#define SIZE 100
char n[ SIZE ];
</pre>
???[[User:Pop8888888|Pop8888888]] ([[User talk:Pop8888888|talk]]) 02:15, 6 December 2013 (UTC)

:That's not dynamic. Here's how to declare a dynamic array:
<pre>
char *n = malloc (100 *sizeof (char));
</pre>

:"sizeof (char)" could be omitted since it is equal to 1, but I include it because it's good practice. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 02:21, 6 December 2013 (UTC)
::thank you! [[User:Pop8888888|Pop8888888]] ([[User talk:Pop8888888|talk]]) 02:37, 6 December 2013 (UTC)

== Creating decks in a game of War in Java ==

I have a Card class and a Deck class. Each card has a suit and a rank. Now I'm trying to make the game of War play out on my computer. I'm rather new to Java and I have a few lines of code that are each different but Eclipse isn't throwing up a warning or error on any of the lines. They're all slightly different and I'm not sure what I'm doing right/wrong with each. Could you explain, please? The lines are:

<syntaxhighlight lang="Java">
Deck playerTwo = Deck;

Deck playerOneDiscard = new Deck[52];

Deck[] playerTwoDiscard = new Deck[52];
</syntaxhighlight>

Thanks, <span style="font-family:monospace;">[[User:Dismas|Dismas]]</span>|[[User talk:Dismas|<sup>(talk)</sup>]] 08:38, 6 December 2013 (UTC)
:In the first line, you are using the class name itself as an expression. That's a syntax error. In the second line, you are assigning an expression of type <code>Deck[]</code> to a variable of type <code>Deck</code>, which is incompatible. The third line is OK. The variable <code>playerTwoDiscard</code> now refers to an array of 52 <code>Deck</code> object references, all of which are so far <code>null</code>. To actually create the <code>Deck</code> objects, you need to call the class's constructor, like so: <code>Deck myDeck = new Deck();</code>, or call a constructor with parameters if you have one. [[User:JIP|<font color="#CC0000">J</font><font color="#00CC00">I</font><font color="#0000CC">P</font>]] &#124; [[User talk:JIP|Talk]] 10:49, 6 December 2013 (UTC)
::Thank you. Any idea why Eclipse isn't showing any warnings or errors for the first two? <span style="font-family:monospace;">[[User:Dismas|Dismas]]</span>|[[User talk:Dismas|<sup>(talk)</sup>]] 11:12, 6 December 2013 (UTC)

== "Old timey" audio filter ==

What filter is likely used for the Wright Brothers' parts in [http://www.youtube.com/watch?v=1_hKLfTKU5Y this video]? [[Special:Contributions/75.75.42.89|75.75.42.89]] ([[User talk:75.75.42.89|talk]]) 09:50, 6 December 2013 (UTC)

:The voices sound tinny because they have been [[band-pass filter]]ed with a narrow spectrum. The exact parameters and type of filter are nearly impossible to guess, but it might be common to use 300Hz to 3000Hz with soft roll-off. Other "old timey" effects include adding noise: [[white noise]], [[popcorn noise]] (to simulate record scratches), and periodic hums and clicks to simulate a [[phonograph]] turntable. To be honest, I didn't watch the video long enough to hear any of those effects. [[User:Nimur|Nimur]] ([[User talk:Nimur|talk]]) 15:43, 6 December 2013 (UTC)

== PC Power supply unit problem. ==
Some pc here was not turning on and the fan of Power supply unit (Lets call is PSU1) and it was not working.<br />

So I decided to get a working Power supply unit that is being used on another pc (lets call PSU2) and put on this new one to test, to see if the problem was the PSU1. The working Power supply unit didnt worked on this new pc.<br />

I decided to get the PSU1 and test it on another pc, to see if it would work there and it didnt worked (so there IS a problem with PSU1).<br />

Anyway what can be the problem with pc1, the working PSU2 dont work there, dont even turn on the fans.<br />

[[Special:Contributions/201.78.196.29|201.78.196.29]] ([[User talk:201.78.196.29|talk]]) 12:34, 6 December 2013 (UTC)

:It's possible that when PSU1 failed it produced a power surge that damaged things inside the computer. If that happened, there's a good chance that your computer is now a worthless piece of junk. But I wouldn't rule out other possibilities. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 16:02, 6 December 2013 (UTC)
::Forgot to add that when I connect PSU2, and conect the network cable, the network lights start to blink.[[Special:Contributions/201.78.196.29|201.78.196.29]] ([[User talk:201.78.196.29|talk]]) 17:45, 6 December 2013 (UTC)

== can any programming languages brute-force code? ==

Let's say you don't know what expression you want, you just know what asserts it should pass, i.e. you know how you want your expression to behave logically, but don't know how to write it. For simple boolean expressions and the like (no loops and such) couldn't a programming language just brute-force the suitable expression? Do any do this?

Example.

// given integers a return its absolute value

toreturn = ? // compiler or language will brute-force an expression to put here based on the following.

assert (toreturn == a or toreturn == a * -1) and toreturn >= 0

And that's it. This is a childish example of where someone might have a brainfart and have no idea how to calculate the absolute value of an integer, they just know what it looks like: it's positive, and either the original integer or its opposite. (Obviously the answer is simple: <strike>you have to multiply by -1 if the input < 0</strike>).

Brute-forcing the expression that makes the assert true for all integers is simple - there just aren't that many combinations of expresions, and the IDE/language/compiler should be able to discover the "expression" that makes the given asserts true, at least if it's a dual or quad-core 3 ghz computer also with a GPU, that can try billions of variations quite quickly.

Do any languages or IDE's do this? [[Special:Contributions/212.96.61.236|212.96.61.236]] ([[User talk:212.96.61.236|talk]]) 16:00, 6 December 2013 (UTC)

:Not at that level. There are [[declarative programming]] languages in which a program is basically a set of assertions about the result, but as far as I know none of them can handle the example you give. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 16:11, 6 December 2013 (UTC)

:The problem is that unless you're very careful with your "assert", there could easily be an infinite number of ways to do what you ask. Perhaps in your specific case, it's fairly obvious what you want - but in most cases, your "assert" is likely to be under-constrained. I think that a language like [[Prolog]] comes closest to what you want...but I don't think it does exactly that.
: [[User:SteveBaker|SteveBaker]] ([[User talk:SteveBaker|talk]]) 16:45, 6 December 2013 (UTC)

== What is a complete definition of the Digital World? (the one we live and experience through our computers and devices) ==

I am looking for a definition for what the Digital World is. Not the Information Age nor the Digital Revolution and certainly not the Digital World that refers to the one on Digimon animated series. How can someone define the Digital World? [[User:Azwvn|Azwvn]] ([[User talk:Azwvn|talk]]) 17:48, 6 December 2013 (UTC)

: This is just one of those phrases that journalists use when they mean "computers and networks and stuff". It doesn't mean anything much really, and you're as qualified as anyone to define it yourself. -- [[User:Finlay McWalter|Finlay McWalter]]'''ჷ'''[[User talk:Finlay McWalter|Talk]] 20:53, 6 December 2013 (UTC)

== how to recover lost contacts and photos in your android smartphone ==

you can recover your photos and contacts in android phone by going to this link [[http://www.techppp.com/2013/07/how-to-recover-lost-contacts-and-photos.html|How to recover lost contacts and photos in android smartphone]] <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/117.198.151.235|117.198.151.235]] ([[User talk:117.198.151.235|talk]]) 18:09, 6 December 2013 (UTC)</span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->

== Internet Explorer 11 ==

Well, I just allowed my Windows 7 to install IE 11. A popup came in, I clicked OK and here we are. I went into "Turn Windows Features On or Off" and verified that the IE definitely is version 11. The darn thing is my desktop gadgets disappeared and nothing I have tried to do helped to restore them so far. There is a subsection: Control Panel==>Programs==>Desktop Gadgets. None of those links works in fact, like: "Restore Desktop Gadgets Installed with Windows, etc"

Any thoughts? I want my clock and temperature displayed.

Thanks, AboutFace_22[[Special:Contributions/2601:7:7680:626:292D:653A:79EF:947C|2601:7:7680:626:292D:653A:79EF:947C]] ([[User talk:2601:7:7680:626:292D:653A:79EF:947C|talk]]) 19:04, 6 December 2013 (UTC)

== Intel retail package ==

:Hi!!!!
: a fast q and please feel free to DON’T send me to do a Google search
: I need to know if this cpu option comes with the water cooler included
: http://www.newegg.com/Product/Product.aspx?Item=N82E16819116939
:thanks!!! [[User:Iskander HFC|Iskánder Vigoa Pérez]] ([[User talk:Iskander HFC|talk]]) 21:06, 6 December 2013 (UTC)

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]