| Computing desk | ||
|---|---|---|
| < October 6 | << Sep | October | Nov >> | Current desk > |
| 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. |
If I place a cursor on a file directory (folder) and right click on the mouse I expect to see "disconnect" if that is an external hard drive or a DVD drive. I don't see it. What I see is "Shred."
What is the Shred in this context? --AboutFace 22 (talk) 00:12, 7 October 2017 (UTC)
unlink(). And because of how Unix works, the file isn't even freed if any processes still have it opened.) So I think it's accurate to say that typically the "actual data" is not erased. Your other points are relevant, especially with the increasing use of cloud storage (like Microsoft's own OneDrive) which can copy users' data automatically. In a nutshell: if you care at all about other people having access to your data, encrypt it, and ensure it's encrypted if copied to any other storage medium, like an online backup provider. --47.138.160.139 (talk) 20:08, 8 October 2017 (UTC)So, it looks like there is no "eject" anymore, only "shred." You know Windows software is getting more and more difficult to use. --AboutFace 22 (talk) 16:13, 7 October 2017 (UTC)
Well, I think I can enlighten you guys a little. I figured out that "Shred" appears to be McAfee malware. I use Spybot Search and Destroy, paid version, for antivirus and computer protection in general, however McAfee installed their exec without my knowledge and permission once I purchased this HP Pavilion Windows 10 computer. Once in a while I see a popup saying that my subscription has expired. I ignore that. Now I just found an empty folder and decided to shred it. Once I clicked "Shred" in the right click menu, A big McAfee popup came up offering me parameters for the shredding and a hint that I should purchase the full McAfee for this shred to work. I closed the popups and deleted the folder. It worked. --AboutFace 22 (talk) 17:26, 7 October 2017 (UTC)
Is it possible, within a single Java process, to instantiate one version of a class, serialize the object to a ByteArrayOutputStream, and ensure that it deserializes as an instance of a different version of the class when read back in from a ByteArrayInputStream wrapping the output stream's array? What examples are available of how to do so? (What I want this for is unit testing; for instance, to test a readObjectNoData() method, I'll need a class to gain a new parent class between serialization and deserialization.) NeonMerlin 05:29, 7 October 2017 (UTC)
Example, a Minecraft server called "grimworld.serv.nu" cannot be resolved; I can't ping it, and DNS lookup shows "DNS Error - No A records exist for grimworld.serv.nu".
So how come I can connect to it from within the game, which connects to port 25565? What IP address is it connecting to, and how is the traffic being passed?
As I understand it, there are many servers hosted as SOMETHING.serv.nu. So do they somehow redirect traffic to the correct one, depending on the subdomain? Am I actually connecting to just serv.nu, and being passed through to the right server (presumably on different ports)? — Preceding unsigned comment added by 86.20.193.222 (talk) 17:46, 7 October 2017 (UTC)
Minecraft is only communicating with it on TCP, port 25565. I know that, because it has to be permitted through a firewall, and from all documentation I've seen about it.
You can run your own server, and it defaults to that port number - or you can specify it in a 'server.properties' file. Your friends can connect to you, using your external IP address - or, of course, you can pay for domain registration services.
Most servers (as far as I know) just resolve their IP address in the normal way, to a normal address which reponds to "ping", gives DNS info, and so on; for example, minecove.org, play.lokamc.com, mc.drugrun.net - those are random examples out of many thousands.
There is a small utility that can check if the server is online by sending a specific RCON query to that same port; an example of it in operation is here (and source available)
https://dinnerbone.com/minecraft/tools/status/ — Preceding unsigned comment added by 86.20.193.222 (talk) 10:10, 9 October 2017 (UTC)
Yes, I am using the same computer - the one I am writing on now. I am not using a stored server name. I can, now, in Minecraft, "Direct Connect" to "grimworld.serv.nu" and it works fine. Yet I cannot ping it, I can't even resolve the IP addresss to anything.
Still an issue 13 Oct
Sorry for large; but - example, I cannot ping "mineblock.serv.nu", it says "Name or service unknown". But I can connect to it. How come?
Why is it, for example:
date +"%T"
and not, just
date -T
Why bother to type a + or %? What does these mean syntactically?--Hofhof (talk) 19:15, 7 October 2017 (UTC)
date +"The calendar says it's %A and the clock says it's %T"
date command decided to use, so, as demonstrated, you can do more complex stuff. The syntax is almost certainly patterned after C's printf function. People not familiar with the Unix world sometimes don't realize this, but the -X convention for command-line arguments is just that, a convention that software authors voluntarily adhere to. It isn't enforced by the kernel or any other part of the operating system. The arguments are just passed as strings by exec to the program, and it's up to the program to interpret them however it wants. --47.138.160.139 (talk) 20:21, 8 October 2017 (UTC)