Wikipedia:Reference desk/Archives/Computing/2016 June 29

= June 29 =

Median of medians - mutual recursion
Hello,

According to the wikipedia article, when we want to find the median of medians in the procedure pivot(list, left, right), we use mutual recursion to call select(list, left, right, n) procedure. Why don't we recurse on the procedure pivot instead? Thanks, 212.179.21.194 (talk) 06:59, 29 June 2016 (UTC)

remove security device from network map
Hello,

I have a Swann DVR for some security cameras. When i go to the "Network" folder in windows, it shows up as an "Other Device" named "SWANN (IP Address)".

I would like to be able to connect to this device using its ip address, which i know, but NOT have it show up in the network map. Is this possible?

216.173.144.188 (talk) 13:21, 29 June 2016 (UTC)


 * Probably (maybe by telling it not to communicate over NetBIOS) but it doesn't make anything more secure. Any malicious agent with access to your LAN will just dump traffic and/or port scan the whole LAN to find out what's on it. --71.110.8.102 (talk) 17:14, 29 June 2016 (UTC)

The presumption here is that the LAN is safe against outside attackers generally. This is more a concern for someone with physical access, presuming they aren't keen enough to have software to do what you suggest.

216.173.144.188 (talk) 17:47, 29 June 2016 (UTC)


 * What is your threat model? What are you hoping to accomplish by making the device not appear in the network map? --71.110.8.102 (talk) 18:07, 29 June 2016 (UTC)

I thought this was spelled out pretty well. What i hope to accomplish is to remove the device from the network map, to lessen the threat coming from someone who could gain physical access, but perhaps doesn't have the technical know-how to do ip scans and things of the like.

Does anyone know if my original question is possible? 216.173.144.188 (talk) 14:28, 30 June 2016 (UTC)
 * You could turn off "network discovery" on your computer, but it's pretty trivial to turn it back on.I doubt there is an easy way to do this in a "home network". You would probably need to put the swann behind a switch on a different subnetwork or something, from what I've seen "home routers" don't support multiple subnets. Doesn't your swann device have a password? Vespine (talk) 23:16, 30 June 2016 (UTC)

It does have a password. Hiding it from the network map alltogether is just a nice added measure... noone on any PC on the network would even know it exists to be accessed in that way. Perhaps subnetting is possible. 216.173.144.188 (talk) 12:55, 1 July 2016 (UTC)

Phrase “autocomplete”, or rather: Automatic phrase continuation suggestions, application for Windows 7 ?
I seem to remember that in the early versions of Writer, the word processor in OpenOffice.org (and LibreOffice.org?), there was a “Phrase autocomplete”, or rather: an “Automatic phrase continuation suggestion feature”. I believe it used the last few hundred (or few thousand) words you had typed in, to make it's predictions. I want this feture, for example in notepad.exe, as a typing aid to save time when typing in texts where some text strings (words and/or phrase parts), and variants of them, tend to be often repeated. Q: Are there any free software (/shareware) solutions available today to do this in Windows 7 ? --Seren-dipper (talk) 22:07, 29 June 2016 (UTC)


 * Notepad++ has a feature like this ("Auto-Completion" in the preferences), but it only suggests single words, and only words in the same document (regardless of recency). -- BenRG (talk) 04:46, 30 June 2016 (UTC)


 * @BenRG In most cases I will need the predictions to be based on at least all the other text files in the same folder, or folder tree, (not just the open document), but Notepad++ "Auto-complete" surely will be somewhat helpful (for typing the words in longer, single, text files), so thanks for the tip!, but it's not quite what I need . --Seren-dipper (talk) 11:10, 30 June 2016 (UTC)