I need to clear the terminal cache, I have tried with history -c but it clears the cache in that terminal session, but if I open another session and type history it shows all the previous commands.
I want to clear all previous commands from the history of my server. I used history -c and it seems all things are cleared but when I ssh to the server, all the commands are still there.  How can I clear them permanently?
Why don't authors include in their publications the duration of the research? Best way to parse RSS/Atom feeds with PHP I'm currently using  but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP? Photoshop CS6 Resize Rectangle with Rounded Corners This question is about Photoshop CS6. Hopefully the feature was added in this version. Before posting I looked up Google and  and  but didn't find an answer for CS6.  So the question is: Is there a feature within CS6 or a script that allows to resize a vector element with rounded corners without using the Direct Selection Tool (white arrow tool) and not changing the border radius? What would be great would be something like simply using the transform tool or something like a grid resize tool. I have a statement,     Either p or q   and I have to write it in terms of logical connectives but I don't get which logical connector should I be using? Here is what I did (I think there could have been a better way to do this)     $(p \lor q ) \land (\neg((p \Rightarrow q) \land (q \Rightarrow p)))$ I have several input and option elements on my page, each (well almost) have an event attached to update some text on the page once they change. I use jQuery which is really really cool :)   I also use Microsofts  framework, utilizing the UpdatePanel. The reason why I do that is that certain elements are created on the page based on some server-side logic. I don't really want to explain why I use the UpdatePanel - even if it could (it can with quite some effort) be rewritten to use only  I still want that UpdatePanel.  You probably guessed it - once I have a postback on the UpdatePanel the jQuery events stops working. I actually was expecting this, since the "postback" is not really a new postback so my code in document.ready that binds the events won't be fired again. I also confirmed my suspicion by reading up on it in the jQuery help libraries.  Anyway I'm left with the problem of rebinding my controls after the UpdatePanel is done updating the . I preferably need a solution that does not require adding more .js files (jQuery plug-ins) to the page but something as simple as being able to catch the UpdatePanel's 'afterupdating' where I can just call my method to rebind all the form elements. Are film capacitors affected by DC bias? After looking around, I have found quite a few things about how DC bias reduces effective capacitance for a ceramic, or electrolytic capacitor, however nothing seems to talk about the effect on film capacitors. I've found a couple of papers about film caps (such as: ), and they mention frequency and temperature, but I can't find anything about DC bias reducing capacitance.  I have obviously checked the data sheet of the component I plan on using (), but there isn't anything about DC bias in that (unless I've just failed at spotting it).  This suggests to me that they aren't affected by DC bias, but that seems a bit of a bold claim, and I can't see that stated anywhere.  Are film capacitor values affected by DC bias? If so, can anyone point me to some data about what the roll off is?  I am planning to use some film capacitors in an application with 48-60V DC across the capacitors and a ripple current around 30 amps. If I enter my password correct first time, I login as normal.  If I enter my password wrong, it says invalid password. If I attempt to enter the correct password now then the screen freezes and doesn't go to dock as normal. I must restart using a physical button or shutdown to get out. Login works normally after restart, assuming I get it right first time.  EDIT:  After entering a wrong password, if I click cancel and then go back to my user to login, it works fine. How to choose between learning algorithms I need to implement a program that will classify records into 2 categories (true/false) based on some training data, and I was wondering at which algorithm/methodology I should be looking at. There seem to be a lot of them to choose from -- Artificial Neural Network, Genetic Algorithm, Machine Learning, Bayesian Optimization etc. etc., and I wasn't sure where to start. So, my questions is:  How should I choose a learning algorithm I should use for my problem?  If this helps, here is the problem I need to solve.    The training data: The training data consists of many rows like this:    Precursor1, Precursor2, Boolean (true/false)   The run I will be given a bunch of precursors. Then,     I choose an algorithm A from different algorithms (or dynamically generate an algorithm), and apply it on every possible combinations of these precursors and collect the "record"s  that are emitted. The "record" consists of several key-value pairs*. I apply some awesome algorithm and classify these records in to 2 categories (true/false). I will generate a table that has the same format as the train data: Precursor1, Precursor2, Boolean   And the whole program is scored based on how many true/false I got right.  *:"Record"s will look like this (hope this makes sense)  Record         [1...*] Score -Precursor1             -Key -Precursor2             -Value   There are only a finite number of possible Keys. Records contain different subset of these keys (some records have key1, key2, key3... other records have key3, key4... etc.).  I actually need 2 learning. One is for step 1. I need to have a module that looks at the Precursor pairs etc. and decide what algorithm to apply in order to emit a record for the comparison. Another is for step 2. I need a module that analyzes the collection of records and categorize them into the 2 categories (true/false).    Thank you in advance! How to typeset subscript in usual text mode? It's easy to make subscripts in math mode: $a_i$.   How do I make a subscript outside math environment, likethis? How can one cite theorems of references? How do I set environment variables from Java?  I see that I can do this for subprocesses using . I have several subprocesses to start, though, so I'd rather modify the current process's environment and let the subprocesses inherit it.  There's a System.getenv(String) for getting a single environment variable. I can also get a Map of the complete set of environment variables with System.getenv(). But, calling put() on that Map throws an UnsupportedOperationException -- apparently they mean for the environment to be read only. And, there's no System.setenv().  So, is there any way to set environment variables in the currently running process?  If so, how?  If not, what's the rationale?  (Is it because this is Java and therefore I shouldn't be doing evil nonportable obsolete things like touching my environment?)  And if not, any good suggestions for managing the environment variable changes that I'm going to need to be feeding to several subprocesses? Why I cannot ping 192.168.0.108 (my computer IP?) Ipconfig says that my IP is 192.168.0.108 C:\Users\vbcbu&gt;Reply from 192.168.0.108: Destination host unreachable.ip 'Reply' is not recognized as an internal or external command, operable program or batch file.  C:\Users\vbcbu&gt;ipconfig  Windows IP Configuration   Ethernet adapter Ethernet:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Local Area Connection* 12:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Local Area Connection* 13:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  Wireless LAN adapter Wi-Fi 2:     Connection-specific DNS Suffix  . : www.tendawifi.com    Link-local IPv6 Address . . . . . : fe80::3804:2d04:a591:7142%6    IPv4 Address. . . . . . . . . . . : 192.168.0.108    Subnet Mask . . . . . . . . . . . : 255.255.255.0    Default Gateway . . . . . . . . . : 192.168.0.1  Ethernet adapter Bluetooth Network Connection:     Media State . . . . . . . . . . . : Media disconnected    Connection-specific DNS Suffix  . :  C:\Users\vbcbu&gt;  I can ping router at 192.168.0.1 I can't ping 192.168.0.108 C:\Users\vbcbu&gt;ping 192.168.0.1  Pinging 192.168.0.1 with 32 bytes of data: Reply from 192.168.0.1: bytes=32 time=2ms TTL=64 Reply from 192.168.0.1: bytes=32 time=24ms TTL=64  Ping statistics for 192.168.0.1:     Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 2ms, Maximum = 24ms, Average = 13ms Control-C ^C C:\Users\vbcbu&gt;ping 192.168.0.8  Pinging 192.168.0.8 with 32 bytes of data: Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable.  Ping statistics for 192.168.0.8:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),  C:\Users\vbcbu&gt;ping 192.168.0.8  Pinging 192.168.0.8 with 32 bytes of data: Reply from 192.168.0.108: Destination host unreachable. Reply from 192.168.0.108: Destination host unreachable. What should I do if a user posts sensitive information as part of a question or answer? I've observed several incidents where users inadvertently posted detailed, sensitive information. For example, a Server Fault user who posted a question with working login credentials to his actual production server, or the Stack Overflow user who posted actual medical records as example data for his question.   What should be the procedure for handling such cases? To hyphenate or not? I have a dataset for which I have multiple sets of binary labels. For each set of labels, I train a classifier, evaluating it by cross-validation. I want to reduce dimensionality using principal component analysis (PCA). My question is:  Is it possible to do the PCA once for the whole dataset and then use the new dataset of lower dimensionality for cross-validation as described above? Or do I need to do a separate PCA for every training set (which would mean doing a separate PCA for every classifier and for every cross-validation fold)?  On one hand, the PCA does not make any use of the labels. On the other hand, it does use the test data to do the transformation, so I am afraid it could bias the results.  I should mention that in addition to saving me some work, doing the PCA once on the whole dataset would allow me to visualize the dataset for all label sets at once. If I have a different PCA for each label set, I would need to visualize each label set separately. Prove that $\mathbb Z^n$ is not isomorphic to $\mathbb Z^m$ for $m\neq n$ Prove that $\mathbb Z^n$ is not isomorphic to $\mathbb Z^m$ for $m\neq n$.   My try:  Let $\mathbb Z^n\cong \mathbb Z^m $. To show that $m=n$.  Case 1: Let $m&gt;n$. Now that $\mathbb Z^m$ has $m$ generators whereas $\mathbb Z^n$ has $n$  generators and an isomorphism takes a generator to generator ; that is the contradiction.  Please correct me if I am wrong.  The case  $m&lt;n$ also follows similarly. How can I compile, run and decompile C# code in Ubuntu terminal? Of Half-elven and mortal life I have a product key for windows 8.1 (Single language edition or not that i can't remember). I have currently windows 10 pro installed.  I am planning to install windows 10 Home so i activate with windows 8.1 key.  So my question is will i be able to activate it if the Product Key is Windows 8.1 Single Language and i install Windows 10 Home(Multiple language edition) or vice versa. Permutations on word $MISSISSIPPI$. In how many ways can the letters of the word $MISSISSIPPI$ be rearranged ?   I am confused on whether it is  $\dfrac{11!}{4!4!2!}$ or $\dfrac{11!}{4!4!2!}-1$  since it is given rearranged and not arranged.