Live data from Hacker News

Searching for “notepad” on DuckDuckGo yields zero results

duckduckgo.com

1–10 of 44 posts

Re: Searching for “notepad” on DuckDuckGo yields zero results

#7
Using POST, HTTP/1.0 and lite.duckduckgo.com, with no Javascript of course, I got results. Not suggesting any of those are requirements. I'm just reporting that the no results experience is not universal.

Here is the first page of results:

  https://notepad-plus-plus.org/
  https://onlinenotepad.org/notepad
  https://apps.microsoft.com/store/detail/9MSMLRH6LZF3?hl=en-us&gl=US
  https://notepad-plus-plus.org/downloads/v8.5/
  https://sourceforge.net/projects/notepadplusplus.mirror/
  https://notepad.js.org/
  https://notepad-plus-plus.org/downloads/v8.1.9.3/
  https://notepad-plus-plus.org/downloads/v8.1/
  https://support.microsoft.com/en-us/windows/help-in-notepad-4d68c388-2ff2-0e7f-b706-35fb2ab88a8c
  https://www.techspot.com/downloads/2010-notepad.html
  https://github.com/notepad-plus-plus
  https://www.onlinenotepad.io/
  https://anotepad.com/
  https://www.howtogeek.com/902619/open-notepad-in-windows/
  https://notepad.plus/
  https://community.notepad-plus-plus.org/
  https://www.digitalcitizen.life/start-notepad-windows/
  https://notepad.uptodown.com/windows
  https://www.dictionary.com/browse/notepad
  http://www.my-notepad.net/
  https://notepad.id.uptodown.com/windows
  https://notepad-classic-windows-10.en.softonic.com/
Below is a quick script for DuckDuckGo searching, if only want first page of results. yy025 makes HTTP from URLs. yy046 URL-encodes input, e.g., "+" to %2B. The address 127.22.10.55 is a TLS forward proxy.

         usage: echo query string|1.sh > 1.htm
                firefox ./1.htm
                links -no-connect ./1.htm
    
         #!/bin/sh
         
         h=duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion
         h=lite.duckduckgo.com
         read x;
         x=q=$(echo "$x"|yy046);
         export httpMethod=POST;
         export Content_Type=application/x-www-form-urlencoded;
         export Content_Length=${#x};
         export httpVersion=1.0;
         export Connection=close;
         echo https://$h/lite/|yy025|if sed w/dev/stderr;then 
          echo $x;echo $x >&2;fi \
         |socat stdio,ignoreeof tcp:127.22.10.55:80

Re: Searching for “notepad” on DuckDuckGo yields zero results

#9
post #2

What causes this?

They used to have this thing where developers could build Instant Answers through a program called DuckDuckHack.

It would load a carousel at the top with results for like jobs, recipes, etc.

It used regex to match the search query. Looks like they have a bad one.

Re: Searching for “notepad” on DuckDuckGo yields zero results

#10
post #4

For that query, the Chrome developer tools console spits an error like so: >d.7527c434450544045365.js:1 Uncaught (in promise) SyntaxError: Invalid regular expression: /^(https?://)?([\w\.-_]*\.)?notepad++\./: Nothing to repeat (at

Was someone trying to be funny, to change a "notepad" search for "notepad++", forgetting that + has a specific meaning in regex? Same error occurs with a search for "notepad++", though, but not "notepad+", funnily enough.
Post reply on HN