How to move files from Ubuntu to iPhone
What is the current state of apple device (iPhone, iPod, etc.) support?
As a mod when should I vote to close content that is not flagged? Is the .minecraft folder hidden on a Mac? Is there any tool available for extracting the X, Y and Z coordinates from a .las file and exporting them to a .csv or similar file? How can I ask a person in which order in his family among the siblings? My colleague he have two brothers. I want to know, he is first/second/third son of his parents, ie., the order in the family among their siblings.  I can simply ask     Are you first son of your family?   It simply give some predictions, I don't want to that.  Is there a better way to ask the question? When to spell out numbers How to handle a deliberate duplicate question I got  question in review. First sentence is:     I know there is a  question, but no answers.   And indeed the two questions are virtually identical. I started to flag as duplicate - but the original question had no answer at the time, so it wouldn't be correct and apparently . (I didn't go so far as to try to submit the flag).  What is the proper action here? How do we want such a question to be handled? Should both (or more) questions stay open indefinitely until either is answered and somebody gets the good idea to do the duplicate linking?   As the new question is essentially a bump to the front page (perhaps with re-tagging), especially in the case where the OP knows that a previous question exist, perhaps something should be done to enable bumping re-emphasizing without writing the new question.  As I wrote this,  actually got an answer. So the old one should now be closed as a duplicate of the new - but my question remains for the case where all known/found duplicate questions have no answer?  Ironically, just before asking this, the "Questions that may already have your answer" gave me ... (Although the suggestion has no answer). So it has been asked before - the comment there even suggest the ability to re-emphasize. SQL Server 2008 server cannot connect to itself with alias name or "localhost" We have a SQL Server 2008 ENT 64bit SP3 server running Server 2008 R2 Standard SP1 64-bit.  This is also a windows/sql clustered environment.  There is the cluster alias for the server, and then we have 2 AD DNS aliases as well for the server  Suddenly I can't connect to the sql instance in Management Studio, or with a Powershell Invoke-SQLcmd IF I am doing it from that actual server, when using one of the dns alias names, or "localhost".  If I use the Cluster alias name it works and if I use the other dns alias name it works.  Using management studio with the non-working dns alias I get "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication."  If I use localhost, I get "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)"    Shared Memory and TCPIP are enabled in SQL Server Config manager but named pipes is not.  But we've NEVER had named pipes enabled, and don't have it enabled on any of our other sql servers and they're set up the same (clustering, dns aliases...etc) and are having no issues.  I've Googled around and had a view people suggest listing what other SQL servers it can see (cmd prompt sqlcmd -L)  If it do it from a good server I see all other servers on my network including the "bad" one.  If I do that command from the "bad" server, I get no results at all.  Pretty much checked everything from this blog and it's all ok except the sqlcmd -L issue I just mentioned above.    Windows firewall is not enabled.  This was working just fine for a couple of years.  I'm not sure when this started happening, but I know that at some point, it was not happening.  And the other kicker...it's only happening locally to this server.  If I connect with management studio or run a powershell Invoke-Sqlcmd from another machine, or my local machine connecting to the "bad" server, it works fine no matter what alias I use.  I'm stumped.  I think it sounds like an issue with the AD alias (there are 2 ad aliases, 1 works locally the other doesn't)...but not being able to connect with localhost makes me question that.  any help is greatly appreciated. Sometimes, a question is perfectly solved by suggestion or actual resolution given in "comments" under it. In such case, how to mark that answer (comment) as "Accepted Answer"? Due to this, the question remains unanswered even if solution is provided in comment. Load R package from character string Let $f_n(x) : \mathbb{R} \rightarrow \mathbb{R}$ be defined as $\dfrac{x}{n}$. Is $f_n$ uniformly convergent?   With "$(a_n)$ is limited and $(b_n)$ converges to 0 $\Rightarrow (a_nb_n)$ converges also to 0" i would guess that $x\cdot \dfrac{1}{n}$ converges uniformly but $x$ is not limited in this case. So does ist converge uniformly or not? I am trying to list all the files from dir1, dir2, dir3 and dir4 which might be anywhere in as a sub directory of my cwd using the find command. I tried the following with no success:  find . -type f -regextype posix-egrep -regex 'dir1/.+|dir2/.+|dir3/.+|dir4/.+'   I tried posix-extended as well. How can I list these files? Windows file copy dialog: Why is the estimation so... BAD? I know that the Windows copy dialog (in Windows&nbsp;XP) stores the copy in memory first, and it is still copying after the dialog closes, so the time is off, but why is the estimation of the time it will take to make a copy so inaccurate, even when memory copying has been disabled (in Vista and Windows&nbsp;7)? It seems so arbitrary! How does the whole copy procedure work, and why can't Windows estimate it correctly? Fedora 25 and disabling whatever is listening on port 111 I've got a Fedora 25 x86_64 stand alone workstation. Something is listening on port 111 (identified with an nmap scan):  $ sudo lsof -i :111 COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME systemd   1 root   36u  IPv4  15170      0t0  TCP *:sunrpc (LISTEN) systemd   1 root   37u  IPv4  15171      0t0  UDP *:sunrpc systemd   1 root   38u  IPv6  15172      0t0  TCP *:sunrpc (LISTEN) systemd   1 root   39u  IPv6  15173      0t0  UDP *:sunrpc   I disabled the Sun gear on the port with the following commands:  $ sudo systemctl disable rpcbind $ sudo systemctl disable sunrpc Failed to disable unit: No such file or directory   After reboot the port is still open.  It appears something other than Sun gear wants to listen on port 111. Or maybe systemd is not respecting my wishes to disable the unused service. Or maybe something else...  How do I determine what is trying to listen on the port, and how do I disable it?    From below:  $ sudo systemctl -a | grep -E "rpc|port"   var-lib-nfs-rpc_pipefs.mount          loaded    active   mounted   RPC Pipe File System   abrtd.service                         loaded    active   running   ABRT Automated Bug Reporting Tool   auth-rpcgss-module.service            loaded    inactive dead      Kernel Module supporting RPCSEC_GSS   fedora-import-state.service           loaded    active   exited    Import network configuration from initramfs   fedora-readonly.service               loaded    active   exited    Configure read-only root support   rpc-gssd.service                      loaded    inactive dead      RPC security service for NFS client and server   rpc-statd-notify.service              loaded    inactive dead      Notify NFS peers of a restart   rpc-statd.service                     loaded    inactive dead      NFS status monitor for NFSv2/3 locking. ● rpc-svcgssd.service                   not-found inactive dead      rpc-svcgssd.service   rpcbind.service                       loaded    inactive dead      RPC Bind   rpcbind.socket                        loaded    active   listening RPCbind Server Activation Socket   rpc_pipefs.target                     loaded    active   active    rpc_pipefs.target   rpcbind.target                        loaded    active   active    RPC Port Mapper How can we discipline a strong-willed, misbehaving 5 year-old? My 5 year old son receives and fears punishment but repeatedly exhibits the same unacceptable behaviors.  He's always been strong-willed, and is usually the kind to view a statement like "Don't do that" as an open invitation to do it.  We've tried redirection or distraction tactics, but he is still so narrowly focused on doing the original behavior.  Even worse, he will typically do the prohibited behavior and flagrantly tell us or show us that he's done it.  Repeatedly, even after punishment.  (He's in time out right now for this very thing).  He's consistently punished, yet he continues down the same self-destructive path each time.  When he is punished, we explain what he did wrong, why he's being punished, and why he shouldn't do what he was told not to do.  Sometimes he'll even tell us first why he's in trouble, so it makes me wonder if he's acting out for the inevitable negative attention he gets.  I think he gets plenty of love and positive attention- he's an only child and stays with a relative during the day.  We're trying to give him a good, fun childhood, but we need to figure out how to effectively discipline him.    His repeated misbehavior includes:   Yelling at the top of his lungs in public (stores, friends' houses, etc) Running away from us (at parks, stores, parking lots, etc) Talking back and disrespecting authority figures Hurting animals even after we explain why it's wrong Repetitive nuisance behaviors (repeating himself, banging his fists, kicking walls, intentionally crumbling food on floors, etc) Repeatedly asking us why he can't do something even after it's been explained to him Basically, most bad behaviors that young children may do, but repeated over and over again, even after discipline   He gets a warning to stop the behavior, then depending on the severity of what he's done (and where we are), he'll either go to time out or lose a privilege (such as taking away a favorite movie or missing out on an activity).  Going to time outs and losing privileges really upset him, but still do not ultimately deter him from the bad behavior.  It's like he can't help himself.  My spouse and I are getting worn down.  We try to model good behavior and encourage him to be well-mannered and respectful.  This behavior mortifies us.  It seems we can't even enjoy life as a family because our son is so disruptive and unresponsive.  Most public outings have to be cut short or eliminated because he consistently misbehaves and doesn't respond to our discipline.  After he's misbehaved, when we try to have heart-to-heart talks with him about his behavior and why we expect him to mind us, he usually has a little trouble expressing himself, and a lot of times we get the same nonsensical responses from him (Us: Why did you do [bad behavior]?  Him: Because I didn't want to).  He also doesn't like to make eye contact.  We don't usually feel like we've gotten through to him.  Is there another discipline tactic we could try?  Or does it sound like we need to see a professional at this point?  We're at a loss, and don't want things to spiral further out of control as he gets older (and even begins school).  We just want him to understand that his behavior isn't always acceptable.  Thanks for reading.  Update (from comments below): My spouse and I disagree on spanking, as we had different experiences with it. He feels it's necessary sometimes. Since our son failed to improve after time outs and taking away items/privileges, I grew to agree with him and we used it for select bad behaviors. It didn't work any better. However, when he was spanked, he was always told why. I didn't mention that we have used it because I was afraid it would distract from the original question, but since it has already come up [in comments], yes, it has been explored, but with no better results than our other tactics. How to create a fancy table of contents for Beamer How can I create a fancy-looking table of contents for a Beamer presentation?    \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \begin{document}  \frame{ \tableofcontents }  \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{}  \end{document} How to login into PewDiePie's Tuber Simulator? I did one of the following and can't play PewDiePie's Tuber simulator with the progress linked to my account:   I logged out and can't login I logged out and tried to login in another device I tried to login on a second device without logging out My device broke and I can't login from another one I restarted my device / reinstalled the game and my progress didn't save   And possibly even:   I don't know how to login I forgot my login name and password   How can I fix each of these problems, and can I prevent them somehow? Formula to this pattern? $1$, $11$, $21$, $1211$, $111221$, $\ldots$ I have this pattern:  1 11 21 1211 111221   I'm guessing it's a fibo pattern, been at it for hours now. Anyone know? ATI Radeon HD 7770 no GPU rendering? Run a GUI program at startup Academic dishonest: Possession of unauthorized materials during an exam that you didn't even know existed So unfortunately during an exam, I had the misfortune of using an eraser (with cover) that was not mine and had a small amount of words inside it unknown to me. I did not know this was the case, as I don't have a habit of unraveling erasers or looking at them closely?  However, now I face the problem in trying to defend myself against the accusation of me cheating.  I'm specifically concerned on my university's blank statement of "possession of unauthorized materials during an exam" is considered academic dishonesty. Seems like student conduct has all the power in trying to prove academic dishonesty, despite none of my test containing any of what to me is  unreadable, small notes.