Zsh redirect to /dev/null and pipe
zsh I/O redirection: redirecting and then piping; what is going on?
Why is ++i considered an l-value, but i++ is not? Badge Name is Blue? Now some random badges on the Profile page for the mobile web is now blue! This is seemingly weird as the default and now permanent color for Badge name text is white. Here's the problem here:     Ahhhh! Now it has invaded the desktop/computer version too! Now seemingly, every version has badges with blue text. Android app has the same issues too! Can the badge color be fixed from blue to white on the mobile version please? I'm just trying to review basic terminal commands. Having said that, how do I create a text file using the terminal only? When I want to edit a tag of a question I get following message:     Your edit will be placed in a queue until it is peer reviewed.      We welcome all constructive edits, but please make them substantial. Avoid trivial, tiny one-letter edits unless absolutely necessary.   Now the question is: are tag edits (adding a needed tag to an under-untagged, replacing a mis-used tag) substantial enough?  For example the proc-tag-wiki is just about a Ruby feature called proc - but currenlty some questions about Oracle Pro*C (a embedded SQL preprocessor) or the Linux /proc filesystem are also tagged with proc. Btw, what tag should be used for /proc?  Say I come across a Pro*C Question which is tagged with proc - is a change to proc-sql considered substantial or not? How do rich people guarantee the safety of their money, when savings exceed the FDIC limit? I am curious how a millionaire would guarantee the safety of his money, given that the FDIC only insures up to $250K of an individual's deposits at a bank.  If someone had $3 million that they wanted to put into the bank, would they have to open up 12 different bank accounts and deposit $250K into each one, so that all of his money is insured by the FDIC?  Or is there an easier way to guarantee the safety of all his money? I'd say Microsoft have a way of bending the rules and I know that McLaren have won the championship. While this sounds strange, I believe it is correct English (sorry, I'm not native).   But when it's a small company, would you still use it this way? Is a company always plural, or are small companies singular? I.e., would you say Bakery Johnson makes fine bread or Bakery Johnson make fine bread? Is it My book seller, Woody's, have moved or is it has moved? How to list all installed packages I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system.  How would I do this? Is there any way I can separate a List&lt;SomeObject&gt; into several separate lists of SomeObject, using the item index as the delimiter of each split?  Let me exemplify:  I have a List&lt;SomeObject&gt; and I need a List&lt;List&lt;SomeObject&gt;&gt; or List&lt;SomeObject&gt;[], so that each of these resulting lists will contain a group of 3 items of the original list (sequentially).  eg.:   Original List: [a, g, e, w, p, s, q, f, x, y, i, m, c] Resulting lists: [a, g, e], [w, p, s], [q, f, x], [y, i, m], [c]   I'd also need the resulting lists size to be a parameter of this function. Can't pair apple wireless keyboard Keyboard: Apple Wireless Keyboard (model number MC184LL/B)  System: Macbook Pro Early 2011 running OS X 10.8  The keyboard gets detected and when I try to pair it, the system asks to enter some numbers through the keyboard.   However when I press the key (on the wireless keyboard) nothing happens, the only key that seems to work (i.e. to move to the next key in the code) is 0. I can also press enter to confirm but it always fails (since the only code I can enter is 0000...0).   I've also tried pairing from the bluetooth preference and changing the passcode option. However this won't work either.   Any ideas? The keyboard was paired with another MacBook Pro (I don't have access to it anymore). Is there any method to 'reset' the keyboard to factory settings? Information on month old flights Where can I get flight info for a flight a month ago for an insurance claim? Flight stat sites will only show a weeks worth of data. I am trying to install Packet Tracer 7.3 (latest version) on Ubuntu 20.04 but do not succeed to so so because of two dependencies which are not installable ("libdouble-conversion1" and "qt-at-spi").  However I successfully installed the previous version (7.2.2) which was available in an Ubuntu installer format (.run file) but I nothing happens when I run it from my gnome desktop.  I am quite a newbie in Linux so I appologies if answers are obvious...  Thanks in advance ;-)  Denis How do I connect Android devices to a WiFi AP and mobile data network simultaneously? When I turn WiFi on, my 3G connection shuts down, which is fine in most cases. However, I need to connect to a LAN at work that is not connected to the internet and I'd prefer not to lose my data connection when I connect to the work intranet. How can I keep both connections active? Ideally, I could limit this desired behavior to this one SSID because I want it to continue to operate with the default behavior for all other WiFi connections.  If that can't be done, prefer a solution that is easy to toggle on and off. I'm using a Samsung Galaxy Nexus (Verizon Wireless) on CyanogenMod 9. Trouble understanding Landau & Lifshitz writing about Lagrangians and Galilean Relativity We have two inertial coordinate systems, $K'$ and $K$. $K$ is moving with infinitesimal velocity ${\epsilon}$ relative to $K'$. Using Galilean relativity we can transform this into $v'=v+{\epsilon}$. Here Lagrangian is only a function of speed $L=L(|v|^2)$. $L'$ may differ from $L$ only by a total derivative of function of coordinates and time, i.e. $L'=L+\frac{d}{dt}f(q,t)$  $"$We have $L'=L(|v|^2+2{v}·{\epsilon}+{\epsilon}^2)$. [1. ] Expanding this expression in powers of ${\epsilon}$ and neglecting terms above the first order, we obtain $L(|v'|^2)=L(|v|^2)+\frac{\partial{L}}{\partial{|v|^2}}2v·{\epsilon}$ [2.] The second term on the right of this equation is a total time derivative only if it is a linear function of the velocity $v$ $"$  I understand nothing in the quoted part. How do we get [2.]? Why does $\frac{\partial{L}}{\partial{|v|^2}}2v·{\epsilon}$ being a linear function of velocity imply that it's a total time derivative? What is ISCAS85 benchmark? What is ISCAS85 benchmark? I find it in a , is there any simulator for it? Where should the period go when using parentheses? For example:     In sentence one, I use this example (which has a parenthesis at the end.)   Should the period be inside, or outside of the parentheses? What about if the entire sentence is a parenthetical (as below)?     (Where does the terminal punctuation go here?)   Is there a hard and fast rule? Looking at moving my laundry upstairs, and the right answer is to combine two adjacent closets to get the width and move one of their walls a foot or two into the kitchen to get the depth.  The kitchen floor is 10-inch-square tiles. It would be sort of nice if that continued on into the laundry closet. I do have a full bundle of spare tiles in the basement.   Question: Could/should I plan on the new wall coming in on top of the existing tiles (presumably having to drill to secure the footer without shattering them), or should I plan on removing the ones under the footer and fitting cut pieces back in afterward? Using notify-send with cron I am using Arch Linux with KDE/Awesome WM. I am trying to get  notify-send to work with cron.   I have tried setting DISPLAY/XAUTHORITY variables, and running notify-send with "sudo -u", all without result.  I am able to call notify-send interactively from the session and get notifications.  FWIW, the cron job is running fine which I verified by echoing stuff to a temporary file. It is just the "notify-send" that fails to work.  Code:  [matrix@morpheus ~]$ crontab -l * * * * *  /home/matrix/scripts/notify.sh  [matrix@morpheus ~]$ cat /home/matrix/scripts/notify.sh #!/bin/bash export DISPLAY=127.0.0.1:0.0 export XAUTHORITY=/home/matrix/.Xauthority echo "testing cron" &gt;/tmp/crontest sudo -u matrix /usr/bin/notify-send "hello" echo "now tested notify-send" &gt;&gt;/tmp/crontest  [matrix@morpheus ~]$ cat /tmp/crontest testing cron now tested notify-send  [matrix@morpheus ~]$    As you can see the echo before &amp; after notify-send worked. Also I have tried setting DISPLAY=:0.0   UPDATE: I searched a bit more and  needs to be set. And after hardcoding this using the value I got from my interactive session, the tiny little "hello" message started popping up on the screen every minute!   But the catch is this variable is not permanent per that post, so I'll have try the the named pipe solution suggested there.   [matrix@morpheus ~]$ cat scripts/notify.sh #!/bin/bash export DISPLAY=127.0.0.1:0.0 export XAUTHORITY=/home/matrix/.Xauthority export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BouFPQKgqg,guid=64b483d7678f2196e780849752e67d3c echo "testing cron" &gt;/tmp/crontest /usr/bin/notify-send "hello" echo "now tested notify-send" &gt;&gt;/tmp/crontest   Since cron doesn't seem to support notify-send (at least not directly) is there some other notification system that is more cron friendly that I can use? Is indefinite integration non-linear? How can I install the latest Netbeans? In Ubuntu Software Center the Netbeans version is netbeans 7.0.1+dfsg1-5ubuntu2 but Netbeans 8.1 is available in the Netbeans website. What is "it" in the following sentence: It is clear that Bob likes doughnuts I am very confused. Unless I am mistaken, I know "it" has to be a noun of some sort, but I am unable to figure out what noun "it" is referring to.   What is "it" in the following sentence:      It is clear that Bob likes doughnuts.   Heres another couple of examples:     It is impossible to fly.