history – Origin of Ctrl+P keyboard shortcut to search for files

Just out of interest and history, I wondered if anyone knows the origin of using Ctrl+P to show and search a list of files in editors and IDEs? The ctrlp Vim plugin I believe predates VS Code and Atom by a good few years, both of which also use the same shortcut. Were these inspired by ctrlp, or is there another common ancestor? IdeaJ and the JetBrains suite use Ctrl+Shift+N and R# in Visual Studio uses Ctrl-T.

For context, I switch between a number of different IDEs and editors, including the JetBrains suite, Vim, VS Code and Visual Studio and on different platforms (Linux, macOS and Windows) and have been thinking about putting together some common shortcuts between all of them to retain some level of sanity when switching between them.

Ctrl+P seemed like a good candidate to use for searching through project files and that got me thinking about where it originated. Was there an IDE or editor that predates ctrlp that used this?

Chrome custom search engine – help to make it work on some sites

Can someone help me with a problem I’m having? Setting up custom bookmarks just doesn’t seem to work on some sites.

I for example want one for playstationtrophies.org and it doesn’t display search terms only search.php so searching “Test” I just end up with a “404 Error. Page not found” at


I had this working on FireFox I either downloaded it from the Firefox “find more search engines” or I edited a different one manually.

On Firefox I had the file with the following:

    <os:Url type="text/html" method="POST" template="http://www.playstationtrophies.org/search.php">
      <os:Param name="search" value="{searchTerms}"/>

How can I make this work with Chrome’s simple “%s” for custom searches?

Thank you so much for any help.


Webhostingtalk is devalued in google search

I occasionally need to go the shared hosting offers to buy hosting for my company. I notice in the past few months it has been very difficult to access web hosting talk. First time access, I have to filled in the capcha twice. The new capcha is very painful to the eyes. Every visit to other sections on webhostingtalk I need to fill capcha twice. I don’t think a normal person (person without working) is willing to visit this website the second time. In fact I have lost the habit of browsing this website for interesting information.

Just a few months ago, the “shared hosting offers” keyword in google search in my country always bring webhostingtalk in the first spot, now they are moving to the bottom of first page. It is likely because people start ignoring the forum when they see it listed in google, and the search engine has learned. While this problem is not related to me, since I can use VPN, but I think admins of this forum should be aware of the problem.

macos – 3rd party app to perform regex search on Spotlight index

There is no native way to perform a regex search on the Spotlight index as discussed here:

Is there a 3rd party tool that can do a regex search on the Spotlight index? Or is the Spotlight index designed such that there is no way to search it with regex using any 3rd party tool because the data structures of the index does not support fast regex search?

custom post types – Show search for data extracted from metabox

In custom post type book I have several books published
I just want to show data obtained from metabox field but I have not been able to help me the code that I am showing does not work

   <?php $book=get_post_meta( get_the_ID(), 'name_ebook', true ); ?> return name ebook Paintree

                $loop_args = array(
                 'post_type' => 'book',
                 'order' => 'ASC',              
                 'meta_key' => '$book',  
                 'orderby' => 'meta_value',
               ); ?>

show only search Paintree ebook

right click menu – select search

Is there any way to customise the right click mouse menu that pops up over a highlighted word or phrase?

I normally use Firefox, occasionally Safari or Brave. Normally DuckDuckGo to search, occasionally Google.

But if I highlight something, for example in an iMessage, and right click I’ll always get “Search Google for ….” if search is set to Google in Safari. Or “Search DuckDuckGo for …. ” if that’s how Safari is set.

So at the very least I’d like two options available – for two different search engines as in “Search Google for ….”/”Search DuckDuckGo for …. “.

Valhalla would be the ability to select the browser too.

Is it possible?

Thanks in advance.

optimization – Search Space for Genetic Algorithms

I have not been able to find anywhere a general formula for the size of the search space for Genetic Algorithms (GA).

I would imagine that such a formula would involve the binomial coefficient — maybe Stars and Bars


The reason I ask is because I have developed my own GA and would like to know the search space size as a means to motivate the need for, and usefulness of, metaheuristics like GAs for a manuscript that I am currently writing.

As an example, consider a simple binary (0/1) GA with string length of $L$ = 10 and population size (number of chromosomes) of $N$ = 100. Possible solutions could be:




Since 0/1 can be repeated in any given string (chromosome), there would be exactly $2^N$ possible configurations. This would generalize to $k^N$ for any $k$-ary problem.

I feel this isn’t the whole story.

If I had to guess a closed-form expression using Stars and Bars for the binary GA case, it might be something like $$binom{N + 2^N – 1}{N} = binom{N + 2^N – 1}{2^N – 1} = binom{100 + 2^{100} – 1}{100} = binom{100 + 2^{100} – 1}{2^{100} – 1} sim 10^{2852} $$

Is this the right line of thinking?

Any thoughts are greatly welcomed.

Optimize your URL for search engine

How to do it?

If possible, include keyword in URL but don’t stuff unnecessarily. It should make sense.
Make it short as possible. It is said, 50 to 60 characters is good. If it crosses more than 100, probably you should re-write it again.
It would be good if your page title and URL matches but in doing so, don’t write unclear URL’s.


forms – What is the best practise for a Search button state – should we always keep search button active or make it active after user inputs?

If a user can start search without any text input, they need to receive some meaningful results. It can actually be a feature: maybe your user doesn’t know what to type in, but you think you have something to offer them anyway. Show them your hot offers, suggest something based on your knowledge about user.

There was a conception of “zen search” when you don’t type anything, but get some random results after clicking [Search].

This is not a direct answer to your question, but maybe it can solve your problem. Your button can be always available and always working. No need to disable it. Just show people something good.