I'm using less to view a large file and I want to search for a pattern with wildcards &mdash; e.g., " x 1??" where ? is any character.  Does less support that, and if so how would I do that interactively?
I wrote a regular expression which works well in a certain program (grep, sed, awk, perl, python, ruby, ksh, bash, zsh, find, emacs, vi, vim, gedit, …). But when I use it in a different program (or on a different unix variant), it stops matching. Why?
Why doesn't console.log work when passed as a parameter to forEach? When reviewing Suggested Edits on Stack Overflow, I often come across "fixed formatting" suggestions that use  to place emphasis on certain keywords, but isn't actual code.  For example:     I am having a difficult time with a background task in iOS. The problem I seem to be facing is that iOS is silently terminating the App if my background task runs for too long. What can I do to increase time iOS will wait for my background task to complete?   Gets edited to:     I am having a difficult time with a background task in iOS. The problem I seem to be facing is that iOS is silently terminating the App if my background task runs for too long. What can I do to increase time iOS will wait for my background task to complete?   This seems like an invalid use of an inline code span because, well, it isn't code, and it is distracting. There are a    of these edits being made. Often enough they get approved, which reinforces the behavior.  Is this a valid use of inline code spans? If not, should it be edited and corrected? Should edits suggesting these changes be rejected? Which facility upgrade unlocks maneuver nodes in KSP Which  unlocks  in career mode in KSP?  The  hints that maneuver nodes are now unlocked with a facility upgrade:     Are there any perks for upgrading?      The building in question   will upgrade visually, both from the outside and the inside. More   gameplay mechanics will be also be unlocked as the player progresses   through the different building tiers. For example, allowing EVAs in   space or being able to use maneuver nodes in the map view. I know, it's been asked before but I couldn't really get a satisfying answer for some details/backgrounds and I guess it's an important question for many.    Some application seem only to be running with Adobe Flash 15 (or at least I know it does, because I have that version on my Windows Partition).  The official Adobe website says:     NOTE: Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux.   Some search on the web like "Ubuntu Adobe Flash 15" or similar does not return any good websites.  I found something that says   (using a "pepper-based version"), and  .   Is it impossible to use this for Firefox too? Would it be a privacy risk?  Are there no alternative projects (I know it's closed source but there are so many so very bright people out there using something similar to wine but just for the plugin....)?  How about the Mac-Version? Shouldn't someone be able to port that one to Linux? Stopping users voting multiple times on a website I'm planning to add some vote up/vote down buttons to a website I run. This seems easy enough but I want to stop people voting multiple times. One solution would be to make them register before allowing them to vote but I'd prefer not to have to force them to register.   Is there are a reasonably straightforward way of doing this? Checking the IP address doesn't seem like a good solution, since it's possible that multiple users may come from the same IP address.   Cookies might be the answer, but a savvy user could delete the cookie. Any better ideas? Okay, so I understand what calculus, linear algebra, combinatorics and even topology try to answer (update: this is not the case in hindsight), but why invent category theory? In Wikipedia it says it is to formalize. As far as I can tell, it sort of generalizes a bunch of fields in mathematics, like in topology, graphs and groups we have isomorphisms and automorphisms and homomorphisms, it seems to me like it just finds a bunch of results that are true to these functions in a bunch of disciplines. But why would generalizing that be of use? I mean, wouldn't it be easier to prove them specifically in each of the important disciplines? I'm a student and I'm working on a low power communication project. I am trying to design a PCB using the . There is a MC-306 (32.768kHz, 12.5pf, and 20/50ppm).   I don't know what the 20/50ppm rating is. For me, the size is very important, so I decided to replace it with the , but its ppm is -20/+20. Will it cause a problem if I use this one instead?  What is the ppm rating in the crystal oscillator? When initiating a battle it starts off in AR mode, but then warns me saying my phone's orientation is not detected. I am then forced to turn off AR mode. Has anybody experienced this? If so, what are the solutions?    Per comments, I am unsure this is a permissions issue. I have everything turned on. Is it possible to activate an iPhone 4 without a SIM? I have read both two uses:   The combinations of a, b and c, taken two at a time, are ab, bc, ac. We can not help but noticing a harmonious combination between classic and contemporary.   Are both uses interchangeable? Perhaps substitute combinations among for combinations of in the first sentence? Any idea is appreciated. It's not consistent to leave an edit pending for approval (thus not making available for everyone else and locking its state) after a user who has those privileges have given his endorsement.   You could say why don't I improve the edit, but that makes no sense for something that is correct and it would not follow the "keep it simple" policy.  Update:  This is the current time line:   Someone who doesn't know about formatting makes a question. It's not legible A user without edit privileges amends the formatting. The correction is not visible, still not legible. I see the question and the pending revision and then cast my approval. It doesn't take effect yet, still not legible. Even for me if I didn't take care of copying the question source because it disappears from my own revision page!   I might agree that one's approval is indicative of both revision's quality and editor's competence. But we should retain that the main objective is to ask and answer questions. So, I propose this model:   Someone who doesn't know about formatting makes a question. It's not legible A user without edit privileges amends the formatting. The correction is not visible, still not legible. A user with edit privileges cast his approval. Revision takes effect. Although it keeps the pending approval (the Edit (1) button). If a second user with edit privileges cast a rejection, it also takes effect as a rollback. What is the function __construct used for? I have been noticing __construct a lot with classes. I did a little reading and surfing the web, but I couldn't find an explanation I could understand. I am just beginning with OOP.  I was wondering if someone could give me a general idea of what it is, and then a simple example of how it is used with PHP? How do I easily rename multiple files using command line? One of the ways I quickly rename files in Windows is   F2 &gt; Rename &gt; Tab (to next file) &gt; Rename ...   But in Ubuntu/Nautilus, I can't tab to next file. But being on Linux, I think there must be a command line alternative.  However, sometimes, I may want more control over how to rename specific files. In that case, perhaps its better to be able to tab to the next file How can I know if my macbook is hacked? The Aleph numbers and infinity in calculus. How can I find the XY coordinates of an HTML element (DIV) from JavaScript if they were not explicitly set? Beamer: how to justify the whole text? How can I justify the text in the whole document in beamer without using \usepackage{ragged2e} and \justifying at the beginning of each frame?  \documentclass[8pt,handout,t]{beamer} \usepackage{pifont} %used inside itemize environment \item[\ding{226}] \usepackage{lipsum} \begin{document}  \begin{frame} \begin{columns}[T]  \begin{column}{0.3\textwidth} \includegraphics[width=\columnwidth]{example-image-1x1} \end{column} \begin{column}{0.65\textwidth} \begin{itemize} \item[\ding{226}] \lipsum[2] \item[\ding{226}] \lipsum[3] \end{itemize} \end{column}  \end{columns} \end{frame}  \begin{frame}  \lipsum[3]  \begin{itemize}    \item[\ding{226}] \lipsum[4]  \end{itemize} \end{frame} \begin{frame}   \begin{columns}[t] \begin{column}{0.4\textwidth} \lipsum[3] \end{column} \begin{column}{0.4\textwidth} \lipsum[5] \end{column} \end{columns} \end{frame} \end{document}     Edit: I had already checked  out but it does not work for both the columns and the itemize environment. How do I prove that $ \displaystyle\lim_{n \to{+}\infty}{\sqrt[n]{n!}}$ is infinite? Best Fake Proofs? (A M.SE April Fools Day collection) I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would like to join a non-spatial table (.csv-file) containing people who work in each building. So I have multiple records in my table that I would like to be able to join to my single features in my shapefile. I can only run a join in QGIS where the first record is joined to the shapefile feature (ie building) but subsequent records get removed. Could someone let me know how to complete this join/relate in QGIS?