I flew a long range flight carrying my laptop, a quite heavy one, inside a neoprene briefcase on the passenger cabin. The recommendation by the aircrew is to place them in the compartments above or below the front seat. However, during take-off and landing, the vibrations on the plane are quite strong and, as a result, it received minor damages.   Placing them in the above compartments might be equivalent as placing it in the floor, underneath the front seat, with the added hindrance of additional luggage.  I considered the alternative of holding it vertical by the handle while sitting, so it won't be any contact with the aircraft's floor. This is impracticable during cruise, but I thought it could be better during the take-off and landing segments.  Other option I considered is to wrap it with completely with bubble wrap before boarding the plane.   The damage the laptop sustained was not great, but I am afraid of further damage as the date of my return flight approaches.  The question is:     Which is the safest way to transport a laptop during flight?    I don't think it's an inappropiate question, as the requirements are clearly defined and surely must be an optimal way to transport heavy tech while travelling. Even if, for some reason, it's deemed unsuitable or off-topic, I truly believe that it's an important subject, and I would be most pleased to receive your input.
I flew a long range flight carrying my laptop, a quite heavy one, inside a neoprene briefcase in the passenger cabin. The recommendation by the aircrew was to place it in the overhead compartment or under the seat in front of me. However, during take-off and landing, the vibrations on the plane are quite strong and, as a result, it received minor damage.   Placing them in the overhead compartment might be equivalent to placing it on the floor under the seat, with the added issue of additional luggage in the compartment shifting.  I considered the alternative of holding the laptop by the handle while sitting, so it won't be any contact with the aircraft's floor. This is impracticable during cruise, but I thought it could be better during the take-off and landing segments. Another option I considered is to wrap it with completely with bubble wrap before boarding the plane.   Which is the safest way to transport a laptop during flight?
Converting the beta coefficient from matrix to scalar notation in OLS regression Deleting missing data with CountryData How do I get and modify the source code of packages installed through apt-get? How can I get bash to perform tab-completion for my aliases? I have a bunch of bash completion scripts set up (mostly using bash-it and some manually setup).    I also have a bunch of aliases setup for common tasks like gco for git checkout. Right now I can type git checkout dTab and develop is completed for me but when I type gco dTab it does not complete.    I'm assuming this is because the completion script is completing on git and it fails to see gco.    Is there a way to generically/programmatically get all of my completion scripts to work with my aliases?  Not being able to complete when using the alias kind of defeats the purpose of the alias. bash command for each file in a folder I have a set of files on which I would like to apply the same command and the output should contain the same name as the processed file but with a different extension.  Currently I am doing rename /my/data/Andrew.doc to /my/data/Andrew.txt I would like to do this for all the .doc files from the /my/data/ folder and to preserve the name.  I tried several versions but I guess I have something wrong in the syntax as I an new to linux. I know this is a total noob question but then again, when it comes to PostgreSQL I am a total noob...    I have installed the OpenGeo suite on my computer, running Windows 7, 64-bit.  I have downloaded the tutorial data and have been working through it.  I would like to access the database that I have made with ArcGIS so I can start learning about how that works.  However, when I try to connect to the database using the "Add Database Connection..." I can't seem to figure out what to put in for 'Instance' - everything I've tried (localhost, localhost,54321, my IP address with and without the port, my computer name) doesn't seem to work.  I installed and created the nyc test database according to all the instructions in the OpenGeo tutorial pages but am at a total loss here.  I know this must be an easy thing to deal with, I just can't get my head around it.  Can someone with more experience throw me a bone on this one?    Frustratingly enough, QGIS connects to the database with almost no effort and everything works fine - but my organization is heavily ESRI focused and switching to QGIS is a long shot...  EDIT Thanks everyone for pitching in on this.  I really appreciate the advice, it's what makes this site great.  I have installed    OpenGeo Suite 3.0.1 with no extensions ArcGIS Desktop 10.1, no license for server   I just went to the Opengeo website and downloaded the Windows installer and installed the default configuration. I have tried every permutation for the instance name that I can think of - using colons and commas, my machine name, localhost, postgresql, server, my IP address, random curse words, anything I can think of.  I have been using port 54321 instead of 5432 because that is what the OpenGeo workshop told me to set up my 'nyc' practice database to use.    It seems that localhost should work, here is a shot of the server properties from pgAdmin: Changing Default Apache version on MacOS Sierra A DHS sweep of the network showed that one of the researchers Macs is running a non-safe version of Apache (2.4.25) and they would like him to update to at least 2.4.27.  He is having difficulty getting MacOS to use the new version of Apache rather than the one installed by default with Sierra. His issues are:  Mac OS X 10.12.6 Sierra   I have installed httpd 2.4.27 . . .  /usr/local/apache2/bin/ but the default httpd running is located at /usr/sbin/ I cannot install a new httpd into /usr/sbin/  - no write persmissions for sudo I made a root user active - but "root" does not have write permissions for /usr/sbin/ either   I cannot find any source on the web that describes how to change the httpd path from the default system version (/usr/sbin/httpd) to a new USER installed version, like /usr/local/apache2/bin/httpd  What steps am I missing? I think I have found the final answer $\left(4 \left[\frac{2t \cosh(4t) - \sinh(4t)}{t^2}\right]\right)$ but need to verify it. How to evaluate  $$\det\begin{bmatrix}1+x_1y_1&amp;\cdots &amp; 1+x_1y_n\\ \vdots &amp; \ddots &amp; \vdots \\ 1+x_ny_1 &amp; \cdots &amp; 1+x_ny_n\end{bmatrix}$$?  I tried factorisation but I have no idea. I could not factor anything out... I need a hint to kick off.   Edit: A conjecture due to multilinearity: if we let $v_j=(x_1y_j,\cdots,x_ny_j)^T$, then my guess would be $$\det\begin{bmatrix}1+x_1y_1&amp;\cdots &amp; 1+x_1y_n\\ \vdots &amp; \ddots &amp; \vdots \\ 1+x_ny_1 &amp; \cdots &amp; 1+x_ny_n\end{bmatrix}=\det(1,v_2,\cdots,v_n)+\det(v_1,1,\cdots,v_n)+\cdots+\det(v_1,v_2,\cdots,1)=\color{red}{0}$$ where $1$ denote $(1,\cdots,1)^T\in \Bbb K^n$,$\Bbb K$ the underlying number field. How many connected components does $\mathrm{GL}_n(\mathbb R)$ have? To evaluate limit of sequence $\left(\left( 1 + \frac1n \right) \left( 1 + \frac2n \right)\cdots\left( 1 + \frac nn \right) \right)^{1/n}$ How do I evaluate the limit of the following sequence $$a_n  = \left(\left( 1 + \frac1n \right) \left( 1 + \frac2n \right)\cdots\left( 1 + \frac nn \right) \right)^{1/n}$$   I tried to take log and then using cauchy $1^{st}$ theorem of limits but I coudn't do it.  Could someone kindly help? Let $X(n)$ denote number of all permutations of $\left\{1,\ldots,n \right\}$ that have only cycles of even length. Let $Y(n)$ denote number of all permutations of the same set that have only cycles of odd length. Count $X(2n)-Y(2n)$.   I don't know even how to start. I counted this sum for $n=1,2,3$ and it seems that it is always equal to $0$, but it doesn't help with calculating it in general. How to make read-only file system writable? At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it.  Are there some possible reasons for the player's file system to change permissions in this way?  I tried using chmod:  $ sudo chmod a+rw SGTL\ MSCN/  chmod: changing permissions of `SGTL MSCN/': Read-only file system   SGTL MSCN is the mount point of the digital audio player.  What else can I try to make it writeable? Google chrome is reading characters backwards With proper nouns, we don't use the except for river names, newspaper names, etc.  I want to know why we use the with White House. I mean, under which rule can we categorize it? What could other similar examples for that rule be? $f \in L^1$, but $f \not\in L^p$ for all $p > 1$ "Find an $f \in [0,1]$ such that $f \in L^1$ but $f \not\in L^p$ for any $p &gt; 1$."  I've thought about doing something like $$f(x) = \frac{1}{x}$$ where $|f|^p = \frac{1}{x^p}$ doesn't converge when $p &gt; 1$.  But this function isn't itself in $L^1$.  Could someone please give me a hint for how to solve this problem?  I wish there were a situation where you had convergence on the closed half disc $[0,1]$ and divergence on $(1, \infty)$, rather than my current predicament where I have convergence on the open half-disc $[0, 1)$ and divergence on $[1, \infty)$. How to list files installed by a snap package? After a snap has been installed with sudo snap install [package] how can I list the files which have been installed by the snap? Difference between int[] array and int array[] I have recently been thinking about the difference between the two ways of defining an array:   int[] array int array[]   Is there a difference? How can I completely remove a objects (e.g. particle system or groups used in particle systems) in blender using python?  The problem is this: I have a script, with which I create a scene (e.g. adding some normal objects and some group of objects with a particle system). For a research study I would like to repeat that that several times, without restarting blender. So I can create a scene, delete everything, e.g. with a script like this:  import bpy scn = bpy.context.scene for obj in scn.objects:     obj.select = True bpy.ops.object.delete()   If I rerun the script to recreate the scene with objects using particle system, the latter is not shown in the scene anymore (only the placeholders of the particle system). Now I'm not sure where exactly the problem lies, but I guess not everything is immediately deleted, running the script above. Only the startup of blender helps (but that's not what I want) or pushing the purge button. The purge button seems to start the command:  bpy.ops.outliner.orphans_purge()   But I can't get this piece of code to run in the console. It says that "the context is incorrect". Is there a way to purge the unused data by python script? Thanks a lot for any help. Is there something wrong with VertexConnectivity