I found a lot of people figuring out why instruction similar to this :   Put X to your ~/.bashrc and you can do Y    don't work.  It always turns out that Mac OS X's bash's startup files (or Mac's Bash itself) doesn't source ~/.bashrc file, either in the login shell, or in a shell spawned from window system - like Terminal app in Mac OS X)  Why is this, when all other Unix-like systems with Bash I've worked with before have done this?  PS:  I found what Bash itself says about startup files (which could be helpful) :     When Bash is invoked as an interactive login shell, or as a   non-interactive shell with the --login option, it first reads and   executes commands from the file /etc/profile, if that file exists.   After reading that file, it looks for ~/.bash_profile, ~/.bash_login,   and ~/.profile, in that order, and reads and executes commands from   the first one that exists and is readable. The --noprofile option may   be used when the shell is started to inhibit this behavior.   Source :
I put some alias commands in my .bashrc file, so that they might be loaded everytime I open a new Terminal window. Yet this doesn't happen. I have to select run script: in the Terminal&gt;Preferences&gt;&quot;MyDefaultTheme&quot;&gt;Shell prefpane and add: source .bashrc &amp;&amp; clear for it to work... This seems odd since many tutorials only say you just have to add to the .bashrc file and all is good. Note that I don't run in bash when using the terminal, I like the other (default) one (don't know what it is) better, because it show me where I am all the time eg: &gt;&gt;d54c6b47b:~ romeo$  in stead of: &gt;&gt;bash$  In bash all is loaded as should be. So my question is, why didn't my .bashrc file load automatically and did I have to add the option to call it everytime? Also some tutorial told me to do something like: $alias la=’ls -la’ &gt;&gt; ~/.bashrc  which should write the alias to my .bashrc, this doesn't work either... Note that I'm a UNIX novice, so be gentle.
Unable to see anything after importing .obj file I try to import .obj files from this project:  - the files contain Polygon Mesh Data.  When I import the obj file into blender, the outliner shows a new mesh added, but nothing is visible in the 3D viewport:      Any help will be appreciated. Where to find my Favorites in Google Chrome? Where can I find my Favorites in Google Chrome ?  Where to find the folder that contains them ? How to apply a macro to each column of a table How do I read in the contents of a directory in Perl? Irreducibility check for polynomials not satisfying Eisenstein Criterion. My Question is to check Irreducibility for polynomials not satisfying Eisenstein Criterion.  As an Illustration, to check whether $x^{p-1}+.....+x+1$ for p a prime is irreducible or not, we replaced $x$ by $x+1$ and by using Eisenstein's Criterion for the resulting polynomial we conclude that resulting polynomial is irreducible and so is the original polynomial.  In general, for a given irreducible polynomial $f(x)$ with coefficients in a known U.F.D, is there some element $a$ such that we can apply Eisenstein's criterion to $f(x+a)$?  I am sure there would be no general structure for this but I expect there to be at least some special cases.   Any Reference/suggestion would be appreciated.  Thank You. If $E$ has measure zero, then does $E^2$ have measure zero? Currently I'm just working through measure theory just to see if its something I would like to take.  Unfortunately I am stuck on this problem from Carothers.     If $m^*(E)=0$, then $m^*(E^2)=0$.   Where $m^*$ denotes outer measure and $$E^2=\{x^2:x\in E\}.$$  I toyed with the idea that $I_k &lt; 1 \Rightarrow I^2_k &lt; I_k$.  However I am at a loss as to how to set up a chain of inequalities (which is what I am assuming I need). Show that unit circle is not homeomorphic to the real line Can unconscious characters be willing? This situation came up last week during our session. The party was facing a pretty difficult mob of enemies and one of the party members was knocked unconscious. Seeing the situation worsening, one of the players decided to use the  (DMG p. 197). In the text, it says:     The rod then instantly transports you and up to 199 other willing creatures you can see to a paradise that exists in an extraplanar space.   At first glance I thought this was actually a pretty good time to use the rod. The question came up though, what about the party member who is unconscious? In the end I made the call that the character went with them to keep things moving and more fun.  However, I'm feeling like back pedaling a bit and notifying my players that for future uses, the line "... willing creatures..." will be more strictly enforced as I don't feel like an unconscious creature could be willing.  Did I handle this the right way? Split string containing command-line parameters into string[] in C# I have a single string that contains the command-line parameters to be passed to another executable and I need to extract the string[] containing the individual parameters in the same way that C# would if the commands had been specified on the command-line. The string[] will be used when executing another assemblies entry-point via reflection.  Is there a standard function for this? Or is there a preferred method (regex?) for splitting the parameters correctly? It must handle '"' delimited strings that may contain spaces correctly, so I can't just split on ' '.  Example string:  string parameterString = @"/src:""C:\tmp\Some Folder\Sub Folder"" /users:""abcdefg@hijkl.com"" tasks:""SomeTask,Some Other Task"" -someParam foo";   Example result:  string[] parameterArray = new string[] {    @"/src:C:\tmp\Some Folder\Sub Folder",   @"/users:abcdefg@hijkl.com",   @"tasks:SomeTask,Some Other Task",   @"-someParam",   @"foo" };   I do not need a command-line parsing library, just a way to get the String[] that should be generated.  Update: I had to change the expected result to match what is actually generated by C# (removed the extra "'s in the split strings) Is there a third Holmes sibling? How can I insert a line break in a TikZ node? Simply putting \\ where I want the break doesn't work (see MWE).  Is there a way to make lines break automatically at some specified width?  And can I control the alignment of the text (left, right, centered, justified)?  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node {First line\\second line}; \end{tikzpicture} \end{document} Do you use NULL or 0 (zero) for pointers in C++? i want to add watermark on some videos but problem is because image in some videos its too small and in some videos its too big, (i think it depends on input link resulution)   so all my videos have output '640:360' so how can i make watermark image to be same in all videos not on some videos smaller in some bigger   ffmpeg -i "link" -i "/var/www/logo/logo1.png" -filter_complex 'overlay=10:10' -vcodec h264 -crf 25 -preset superfast -maxrate 600k -bufsize 600k -aspect '640:360' -s '640:360' .... Tsunami dampening mechanisms Encouraged by the zeitgeist let me ask the following:  Is it feasible (now or in the future) to build systems a certain distance of a vulnerable coastline which can serve to dampen a tsunami before it reaches the coast itself?  The following picture comes to mind. We have some device which is small enough to be mounted on a buoy. An array of such buoys can be anchored some distance off the coastline, controlled by computers which are linked into the global tsunami warning network. This setup is quite feasible given what a cell phone can do today.  On the detection of an oceanic earthquake or other tsunami generating event (such as a piece of the Rock of Gibraltar falling into the sea) and given present environmental conditions one can calculate the expected path of the tsunami and its intensity. If a TDS (Tsunami Dampening System) of the type I describe above happens to be deployed in range of the tsunami, all relevant information is conveyed to the TDS controllers by the global tsunami warning system. All this happen in a matter of moments.  This leaves plenty of time (25min - 2hr) for the devices in the TDS array to be activated and to do their job. The question in this case would be - what form could such devices take? Perhaps mini-turbines which could dissipate the incoming energy into the ocean by first converting it to electrical energy.  Any such undertaking involves physical estimates for the size and shape of such an array, the precise capabilities of each device, etc. Many of these concerns involve simple physical questions.  Can you come up with the details of such a system or alternatively outline your own design? If you think that this idea would never work in the first place - for technological, physical or some other reasons - please explain what you think would be the prime obstacle and why? Why do professional print houses use gamut-limiting CMYK? How to install X11/xorg? My 12.04 x64 system won't boot into GUI, but I can still use virtual console with my own account, so apparently it's the Windows Management System that's causing it, how can I reinstall it from tty, what's the apt-get command? Can I connect to a specific access point by BSSID? Is there any way to get Mac OS X to connect to a specific access point by BSSID? I have a network with the same SSID for multiple access points, and I would sometimes like to specify which specific access point to connect to. Is this something Mac OS X can do natively, or is there a third party tool that can do this? How do I get started with RAW photography? Having read about the benefits of shooting in RAW as opposed to JPEG (for example ), I'd like to have a go with it myself. However, I'm not really sure how to go about it.  I can turn RAW mode on in my camera (that's easy!), but what do I do with the files when I get them on to my computer? I presume I need to process them to get the RAW data into something that I can work with, but do I need a specific tool for my camera (a Finepix S5100), or will something like the GIMP do what I want? I'm also a little confused about how I then take advantage of the abilities that RAW gives me when I'm processing it on the computer — do RAW processing tools have more processing options than standard tools? Countdowntimer in minutes and seconds How to implement "select all" check box in HTML?