Wikipedia:Reference desk/Archives/Computing/2017 July 22

Computing desk
< July 21 << Jun | July | Aug >> July 23 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 22

edit

Color separation with a webcam output.

edit

I need to know a few things about color separation at the webcam output. From what I've read so far it seems to be possible even with ordinary consumer style webcams. Is it the correct assumption or a more industrial type is needed? I would appreciate any pointers in this direction. I can program in C,C++ and if I get some background information, I can code the implementation. Thanks. - --AboutFace 22 (talk) 00:12, 22 July 2017 (UTC)[reply]

this stuff is really OS-dependent, for example Linux programs use the v4l (Video For Linux) interface while in Windows they may use Video for Windows (somewhat obsolete), DirectX as well as TWAIN and WIA (stills only.) Extracting the various color components (if that's what's meant by color separation) and perhaps converting between color spaces (if the interface returns RGB but you want YUV) OTOH is just bit manipulation and math. 80.171.95.115 (talk) 04:12, 22 July 2017 (UTC)[reply]

Thank you, --AboutFace 22 (talk) 15:09, 22 July 2017 (UTC)[reply]

View Wikipedia without the issue templates

edit

I want to read Wikipedia articles lurkingly without EVER seeing ANY issue templates, i.e. "This article needs additional citations for verification.", "The neutrality of this article is disputed." etc. For my own personal reasons, I want to read articles just like they are without being notified of issues with the article. Is there any existent mirror website or something that has all Wikipedia articles with the issue templates removed? (Including "who?" or "clarification needed" templates next to individual sentences, especially) Philmonte101 ๐Ÿ˜Š๐Ÿ˜„๐Ÿ˜ž (talk) 09:27, 22 July 2017 (UTC)[reply]

since you have a logon you could set up a stylesheet to inhibit display of these. I added #ambox{ display: none } and it seemed to stop the boxes with yellow stripe on the side, but I could not find out how to stop "dubious" or "citation needed" but expect it is possible. Graeme Bartlett (talk) 09:45, 22 July 2017 (UTC)[reply]
@PseudoSkull and Graeme Bartlett: The CSS #ambox selects code with id="ambox" while .ambox selects class="ambox". Maintenance templates use classes and not id's. Many maintenance templates have one or more of the classes ambox, Inline-Template, noprint. These three classes can be hidden with this in your CSS:
.ambox, .Inline-Template, .noprint {display: none;}
I don't know how many other things it will hide. noprint is a general class for hiding content which should not be included in printing on paper. It messes with the page layout for me so you may want to omit , .noprint from the code. PrimeHunter (talk) 15:11, 22 July 2017 (UTC)[reply]
This is actually for the Help desk question. --AboutFace 22 (talk) 15:10, 22 July 2017 (UTC)[reply]

Freeze Wikipedia

edit

I also need to freeze the entirety of Wikipedia on some mirror website, so that I only see changes to the site as they appeared at the time I froze. Any way to do this? Philmonte101 ๐Ÿ˜Š๐Ÿ˜„๐Ÿ˜ž (talk) 09:29, 22 July 2017 (UTC)[reply]

See Wikipedia:Database download. Graeme Bartlett (talk) 11:44, 22 July 2017 (UTC)[reply]
(edit conflict)The current dump of all of en-wikipedia is 14GB, as a compressed archive, and expands to 58GB. That's just the articles, without images, talk or history. Instructions on how to use it are on wp:Database download. However, you need to be technically proficient to set it up locally. On a different tack, it might be possible to automatically request, that for each article you visit, the page for a given date is shown. You can use the 'View History' link to navigate to the state of an article for a given date. LongHairedFop (talk) 11:47, 22 July 2017 (UTC)[reply]
See Kiwix --Hans Haase (ๆœ‰้—ฎ้ข˜ๅ—) 21:09, 22 July 2017 (UTC)[reply]
If you want to do something like analyze Wikipedia pages, you probably want to use Quarry on WMF Labs, which allows you to run queries against a copy of the Wikimedia databases. Otherwise, try telling us the goal you want to accomplish. Avoid the XY problem. --47.138.161.183 (talk) 21:32, 22 July 2017 (UTC)[reply]

getting latency without ping

edit

I have a server that's accepting HTTPS requests, but is configured not to respond to ICMP requests for security reasons. Is it possible to get the latency to such a server without using ping? Covfefe beans (talk) 13:32, 22 July 2017 (UTC)[reply]

You can use TCP ping. See also this. Ruslik_Zero 13:43, 22 July 2017 (UTC)[reply]
nmap can do TCP ping and much much more, and is an invaluable tool for anyone trying to debug network issues. Also, ignoring ICMP requests doesn't make a system any more secure. All it does is, as you have seen, make troubleshooting harder. (I understand you might not have control over whether the machine responds to ICMP.) --47.138.161.183 (talk) 06:43, 23 July 2017 (UTC)[reply]

BlueStack installation problem

edit

Hello,

1) I'm failing to install it in another location (D drive or so) from the starting point.

2) My research in the internet points (two distinct examples found) to relocate it in another directory folder...

Could you guide me please. Point (1) is the better solution for me. If not Point (2). I'm using Windows 7 Ultimate

116.58.204.218 (talk) 15:36, 22 July 2017 (UTC)[reply]

The default installation drive, directory, and file names are those most likely to work. StuRat (talk) 22:02, 23 July 2017 (UTC)[reply]

What prevents the same Bitcoin address being assigned more than once?

edit

With so many different wallet applications and the fact installing one directly to the hard drive or opening an account on a site like Coinbase wouldn't it be possible for the assigned addresses to conflict? --2601:642:C301:119A:F0CF:E20F:6AAC:A06F (talk) 19:45, 22 July 2017 (UTC)[reply]

Looks like yes, it's theoretically possible, but the probability is so low it will effectively never happen. (With Bitcoin, there are plenty of more likely issues to worry about, like its high volatility making your Bitcoins worthless when you want to spend them, or, if using an exchange like the aforementioned Coinbase, the exchange losing or stealing the Bitcoins you deposited with them.) --47.138.161.183 (talk) 00:06, 23 July 2017 (UTC)[reply]