diff --git a/M1-intro/L2/index.html b/M1-intro/L2/index.html index d167e3b..7df09a0 100644 --- a/M1-intro/L2/index.html +++ b/M1-intro/L2/index.html @@ -31,7 +31,9 @@
I would rather be more knowledgeable at searching in general than knowledgeable about what I am searching for. If I am more efficient at searching, I can find anything. If I am more knowledgeable about a single subject, I am only good at searching within that subject.-
This cannot be emphasized enough. Senior engineers often use search engines to find answers to their software questions. If senior devs do it, why wouldn't you?
+This cannot be emphasized enough. Senior engineers often use search engines to find answers to their software questions. If senior devs do it, why wouldn't you?
+ +Note: If you prefer to leverage Bing search or Bing Chat then scroll down to the "How to Bing and Chat" section.
Here are some tips for using Google effectively to find an answer to your problem. We'll then walk through an example.
@@ -111,6 +113,57 @@* | - before: after:
Microsoft has enabled much of the same syntax that Google uses and then some more. In addition with the advent of ChatGPT and its inclusion in Bing Chat. Examples of Bing Search features include:
+ ++
Finds pages that contain all the terms preceded by the + symbol. E.g., vs code +consensys +truffle
" "
Finds the exact words in a phrase. E.g., "ConsenSys academy" truffle
site:
Targets the specified site for the search results. E.g., site:consensys.net ganache
( )
includes the contained words in the results. Note: inserting a – symbol before the brackets will exclude the grouped words from the search. E.g., site:consensys.net ganache -(product suite)
AND
/ OR
Using AND will return results that contain all the words (default search behavior) whereas OR will return results that contain either of the words specified. NOTE: AND / OR need to be capitalized. E.g., site:consensys.net ganache AND zkevm
contains:
Results contain sites that have links to the specified file types. E.g., zkevm contains:xlsx
ext:
Results contain only sites with links to the specified extension. E.g., zkevm ext:pdf
filetype:
Results contain only pages with the specified file type. E.g., zkevm filetype:pdf
inanchor:
, inbody:
, intitle:
Results contain sites where the meta data is filled with the specified terms. E.g., zkevm inbody:EVM
language:
Results contain only sites in the specified language (Language code)loc:
, location:
Results contain only sites from a specific region (Country / Region Code)prefer:
Results are focused on the emphasized search term. E.g., zkevm prefer:polygon
feed:
Returns RSS or Atom feeds on the search term. hasfeed:
returns sites that contain an RSS or Atom feed specified. E.g., site:consensys.net hasfeed:zkevm
For more information on Bing Search, check out the Bing Search Operators documentation. (PS: This HTML response code was auto-generated by GitHub Co-Pilot based on the previous section. This is another tool to help a developer with respect to speed and quality.)
+ + To leverage Bing Chat to investigate / research issues and starting points use the URL https://chat.bing.com/. + +Bing Chat is so much more than just a search tool. LEarning to leverage its power can greatly increase your ability to deliver quality code quickly. Take this example of the networking error described in the following section.
+ +Using the prompt: I want you to be a solidity smart contract programmer. I am getting the following Truffle error "Something went wrong while attempting to connect to the network. Check your network configuration. Could not connect to your Ethereum client with the following parameters: - host > 127.0.0.1, - port > undefined, - network_id > *". What is the reason for the bug?
Chat returns 3 areas to review with 4 links to the sites that provided some of the details. Click through to read the repsonses in more detail.
+ +One of the suggestions was to check if my Ethereum client was running. Simply clicking it gives me the next auto-generated response.
+ +Here are a few other links to refer to with regard to ChatGPT:
+ +Now that you've learned some basic search techniques, let's walk through the thought process when trying to solve a programming error message on our own.