Add new in magento
How to add custom Modules in magento
How does lookup in $PATH work under the hood? There're way too many articles/resources on the web that teaches people HOW to set the environment variable PATH so that they can use the short hand of java or python etc instead of the absolute path in command line interface.  What I'm interested to know is that what's behind the scene when we type in the command and hit enter (similar to ).  Here is my guess:   read the command (parse/preprocess stdin to get the right arguments $@) command lookup command execution (program started, consume memory, stdout/stderr to shell) re-render the emulator by relevant environment variables (e.g. $PS#, $PROMPT, etc)   The part I want to figure out most is the command lookup. Obviously, the $PATH is consumed by some background function and separated by : / ;as delimiters, then what happened? Do we use a hash table (key: basename of the file, value: absolute dirname of the file) to store the binary files under those PATHs, or some other hooks?   NOTE: I originally thought it was hash table as I can use [ -z hash [command] ] to check if a command is available in current env, but when I use hash | grep python I get nothing from the output while which python works as anticipated. (I think the mechanism might be shell specific, but I want to get more insights into it.) Are there any journals that pay reviewers? Being a young researcher myself I received a comment from my colleague that some of the journals are paying reviewers for the reviewing process.  When I gave it a thought, it started to make more sense. In case of high quality, respected journal, an institution may consider itself privileged to have a reviewer of such journal and allow the reviewer to dedicate small proportion of his/her daily activities just on the reviewing process.  The reviewer being paid, has more obligations to provide thorough in depth review.  Does that hold true for some journals or is it just a myth? Add "upload media" button in meta box field I have a custom post which has a meta tag that needs to be using a file upload (for video files). I am wondering, what is the correct way of adding an "Upload" button that points to the WordPress media uploader and sets the url of the selected uploaded file to the text field that caused that associates the upload button.  I am not looking for code on creating the actual meta tag option, but for a way to actually add a Wordpress media upload button properly. Detecting current iPhone input language How to create & execute a script file Is there a way to create and execute a script file in Ubuntu 14.04?  Perhaps something like Windows batch files.  Specifically, I mean the default scripting language of the Ubuntu terminal (Bash).  How do you make a text file containing bash commands which will be run by the Ubuntu terminal from the top of the file to the bottom. Render issue - Model doesn't appear to be on any layers and won't render Really odd on this... using Blender 2.75... I started modelling and lost the objects from the 3d view, but they were still showing in the object lists on the outlier... I was able to copy them and continued working... when I did a test render I discovered that only the original lost objects were rendering and nothing that I had modelled over the previous 2/3hrs was showing up...  I have no idea what I did but I created another 3d view and the original bits showed up along with the layer buttons which had been missing from the screen which I thought was just a new feature from  2.75...!  Picture to show the 2 screens, top one doesn't render but bottom one does    Any idea's what I've done? Displaying dynamic table in Data Driven Pages environment? I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a polygon). Thus, I have an attribute table where labels are stored for those specific polygons.   How can I have that table displayed on the map, with only the attribute values per sheet, rather than all 2000+ values?   I am looking for a simple, dynamic solution. Dynamic Table partitioning on a daily basis I have a SQL Server database which contains two tables -- Acks and Logs.  These two tables are related in logic but not in a relational database way. Basically, every message that comes in gets saved in the Log table and, if our server acknowledges it, then that ack gets stored in the Ack table.  We are storing around 5 million Acks and 3 million Logs a day. I am trying to partition these two tables on a daily boundary so that we can easily remove older partitions from the table, and also improve query performance.  I haven't done table partitioning before, so I have been reading some on-line tutorials, however I am stuck on one thing. All the tutorials I have followed seem to manually add filegroups and manually add boundaries.  I want SQL Server somehow to do this daily, and this is what my question is about. I need it to create the new filegroups for the next day, every day at, say, 22:00. Then at 24:00 the inserts should start filling up the new day's partition.  Can anyone point me in the right direction on how to achieve this? Either a comprehensive tutorial or some good old advice will do as well.  My second question: can I somehow apply the same partition function to the two different tables?  They both have a datetime(2) column on which I want to partition, and the same rules  will apply.  How does that then fit in with my filegroups? Do I need a single filegroup for the day? Will each table have a file in that filegroup, or will both tables save to the same file in the filegroup?  Do I have to make a .mdf and .ldf for each filegroup? Or is there still one log file for the entire database? When does SQLiteOpenHelper onCreate() / onUpgrade() run? I'm trying to show that if $f$ is a continuous function on $[0,1]$ and $\int_0^{1} f(x)e^{nx}\,{\rm d}x = 0$ for all $n = 0, 1, 2, \dots$, then $f(x) = 0$.  I'd like to use Weierstrass approximation theorem to find a sequence of polynomials $p_m$ that converge uniformly to $f(x)$. Then we could say $\lim\limits_{m\to \infty} \int p_m(x)e^{nx}\,{\rm d}x = \int f(x)e^{nx}\,{\rm d}x = 0$, but I'm struggling to deduce that then all the $p_m$ are zero which would give the result. How can I schedule timer to power on and off device? Should we have a tag for significant points in time? There are many discussions about the current incidence. For example:          Should we have a whole tag for this incidence? In general, if in the future there are more crises and incidences like this, should they have their own tags too? I feel it's fine, as we have specific tags for individual events like . And, should we have a  tag?    Related:        Note that these questions are specifically about the conflict 2019, while this question is simply about creating meta tags for significant events. This is a basic question on Box-Jenkins MA models. As I understand, an MA model is basically a linear regression of time-series values $Y$ against previous error terms $e_t,..., e_{t-n}$. That is, the observation $Y$ is first regressed against its previous values $Y_{t-1}, ..., Y_{t-n}$ and then one or more $Y - \hat{Y}$ values are used as the error terms for the MA model.  But how are the error terms calculated in an ARIMA(0, 0, 2) model? If the MA model is used without an autoregressive part and thus no estimated value, how can I possibly have an error term? Allow users to leave an anonymous comment when voting I don't know if people don't explain why they up or down vote because they don't care or because they don't want the person to know they voted on an answer (or question)... But, it might be nice to be able to leave a comment anonymously as to why it was voted.  It could give us more insight as to people's thoughts on posts.    Really, I think this would come into play a lot more dealing with down votes more than up votes, but I could see it being beneficial in both situations.   See also Mirror changes to side of cube across all six sides Change email login to another id How to install the Pantheon desktop environment? How to make DNS server propagate faster if you are a site owner? It's often the case that I want to change name servers because my site is messed up.  Well, it takes a very long time for the name server to propagate.  Is there something in DNS, or registrar or anything I can do to speed that up.  Flushing my dns server using  and it rarely works How should you interview for QA *Automation* positions? jQuery Datepicker with text input that doesn't allow user input How do I use the jQuery Datepicker with a textbox input:  $("#my_txtbox").datepicker({   // options });   that doesn't allow the user to input random text in the textbox. I want the Datepicker to pop up when the textbox gains focus or the user clicks on it, but I want the textbox to ignore any user input using the keyboard (copy &amp; paste, or any other). I want to fill the textbox exclusively from the Datepicker calendar.  Is this possible?  jQuery 1.2.6 Datepicker 1.5.2