I have to create a main program that will do the following. Create a single object of the class type that you added to your project. Write that single object to the binary file. After the data has been written, open the file to read and load the data back in. Print the data that was read from the file to demonstrate that the file can be read.  Is there anyone that is able to help?
What is meant by "object serialization"? Can you please explain it with some examples?
is it problematic to cluster across two datacenters w/aag? In general is it problematic to cluster across two datacenters that are up to 15-miles apart?  For this one particular project the approach is the following?   2-Node Failover Cluster across two datacenters, one node per datacenter local SAN disks, no shared disks 'Node and FileShare Majority' at third location on-campus employ AAG, failover will be manual; asynchronous mode   Is anyone implementing something like this with success??!?  Thanks so much for the help!! Sometimes I wonder if he is actually/really  as lavish as he   pretends to be.   I know that this sentence can work without either actually or really, but if we were to use one of them to make an impact on the listener, which one should it be? Let $A$ be a ring that is not a field and $M$, $N$ modules over $A$. What conditions on $M,N$ (and maybe also on $A$) guarantee that $\operatorname{Hom}_A(M,N)$ is finitely generated? Is it enough to assume $M,N$ finitely generated? How can one have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter? My computer wont shutdown If I try to shutdown my computer it simply takes me back to the login-screen. I looked around and found :  Type in terminal:   sudo gedit /etc/default/grub Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Change this to:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force" Save the file and close the file.  Finally, in terminal: sudo update-grub   But now there is a new problem when I try step 5 it says:  *myname*@ubuntu:~$ sudo update-grub [sudo] password for *myname*:  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). *myname*@ubuntu:~$    I am new whit linux and dont know what to do. Producing PDF/X compliant document with XeLaTeX Was Hogwarts named such because of a connection to warthogs? Was Hogwarts named 'Hogwarts' because of a connection to warthogs?  Or was it named for hogs and warts separately, or something else entirely? Elementary OS PPA gives “The repository does not have a Release file.” error I am running Ubuntu Bionic Beaver. I was trying to download the pantheon desktop environment on Ubuntu and it didn't work so I gave up. Now when I try to download themes or other things from the terminal I get an error code mentioning Elementary OS even though what I am downloading doesn't have to do with Elementary or pantheon. Here is what the terminal says:   jacob@jacob-MacBookPro:~$ sudo apt-add-repository ppa:tista/adapta -y …                                           E: The repository 'http://ppa.launchpad.net/elementary-os/testing/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://ppa.launchpad.net/mpstark/elementary-tweaks-daily/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Tag scores update is supposed to happen at 03:00 UTC every day. Tag scores are updated by a scheduled job that is time consuming and often times out  (see for example the answers for  and ).  In the past month or two, the issue with not updating the scores has gotten much worse. Tag scores are now regularly not updated for 2-3 days in a row. The job fails more often than it runs which obviously lowers usability and appeal of tag badges (which are not awarded when the script fails) and scores to some extent.  I can also guess that if a job fails on consecutive days, it only makes it harder to make it work as it has more and more tags and answers to recount.  This issue happened in the past but not to the extent it's happening now.  Please do not close it as duplicate. I'm creating a separate post as I've been asked to do it by Adam Lear in a comment for the answer for the first of the linked questions. Other posts reporting this issue have accepted answers which makes them difficult to track for the SE team.  UPDATE  I've been writing down whether the scores were updated or not every day in April.  The results are:  Day      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15   Updated  -   -   -   ✓   -   ✓  -   -   -   -   -   ✓   -   -   -   Day      16  17  18  19  20  21  22  23  24  25  26  27  28  29  30 Updated  ✓   -   ✓   -   ✓   -   -   ✓  ✓   -   ✓  -   ✓   -   -   The update succeeded on 10 days, failed on 20. The situation got somewhat better in the second half of the month. Has something been done about it? $$\displaystyle\int \:\sin^n\left(x\right)\cos^m\left(x\right)\mathrm  dx=\frac{\sin^{n+1}x\cos^{m-1}x}{m+n}+\frac{m-1}{m+n}\int \:\sin^nx\cos^{m-2}x\,\mathrm dx$$  I have been trying to solve for over a week now can someone please help me. How to remove a watermark from a PDF file? I thought this would be a simple task, but it turned out the other way.  The watermark is the very same (overlapping, but transparent) image on every single page. I created the PDF file myself (so no copyright worries here) using PDFCreator 0.9.8.  I have already tried my friend's Adobe Acrobat Pro, but it didn't work. It tries to remove it, but it can't. I tried to remove header/footer, etc., but the watermark just won't disappear.    How can I remove the watermark? Where is the operator panel in Blender 2.8? The tutorial I read is based on 2.79. So I'm not sure if it's still the same name in 2.8. But I can't find anything providing similar functionalities. I'm writing a bash script that needs to delete old files.  It's currently implemented using :  find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete   This will delete of the files older than 1 day.  However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime? I've found some questions and those two badges "Epic" and "Legendary" regarding the "daily reputation cap". What is it and how can I hit it? How can I release and renew my DHCP lease from Terminal? From the Terminal, how can I release and renew my DHCP lease?  Currently, I'm doing the following for the wireless interface, but I'm wondering if there's a better way:  sudo ifconfig en1 down sudo ifconfig en1 up   For the wired interface, replace en1 with en0. How do levers amplify forces? This is really bothering me for a long time, because the math is easy to do, but it's still unintuitive for me.  I understand the "law of the lever" and I can do the math and use the torques, or conservation of energy. or whatever... And I can see that a lever can amplify a force you apply to it  if you apply a force on the longer side of the beam.  If I were to look at the molecular lever and see what actually happens when I push on the lever, and I give acceleration to the molecules, how does it actually happen that more force is transmitted to the other side?  Thank you all  p.s I'm looking just for an explanation in terms of forces and acceleration, it's clear to me how to do this in terms of energy or torques The method format(String, Object[]) in the type String is not applicable for the arguments (...) Geometric proof for irrationality of $\pi$ Is there a geometric proof for irrationality of $\pi$? That would be neat. Eigenvalues of a matrix whose square equals its transpose Let $A$ be a $n\times n$ matrix with $A^2=A^t$. Show that every real eigen value of $A$ is either $ 0$ or $1$ I guess that energy will be used up and, at the end, will contribute to heat the earth, so I see no big differences...  please explain your point of view.