Am I missing any? If so, please let me know in the comments below or at the site formerly know as Twitter at @pbeens or Mastodon at mstdn.ca/@pbeens. Thanks!
Am I missing any? If so, please let me know in the comments below or at the site formerly know as Twitter at @pbeens or Mastodon at mstdn.ca/@pbeens. Thanks!
Need a quick program to encrypt or decrypt small amounts of text, such as passwords? Here’s a quick utility I wrote in Python using Google Colab, Google’s implementation of Jupyter Notebooks. You can run the program there or copy it to your own Google Drive first. Note that you’ll need a Google account to access it.
I personally use this utility to encrypt sensitive information in Google Keep, as shown in the screenshot below. I save the URL of the utility with the encrypted text so I can decrypt it quickly.
(For longer notes, I’d honestly recommend a proper password manager that can encrypt notes. I use the Premium version of Bitwarden, which I highly recommend.)
The instructions in the program should be adequate to run it on your own.
Bookmark it in your browser for quick access! (Ctrl-D on your PC or Command-D on your Mac)
While AI has made significant progress in recent years, it is unlikely to replace teachers anytime soon. One reason for this is that AI lacks the ability to understand human emotions and social cues, which are essential for effective teaching. Additionally, AI is not capable of providing the same level of personalized attention that human teachers can provide.
Another reason why AI is unlikely to replace teachers is that education is not just about imparting knowledge but also about developing critical thinking skills and creativity. These skills are difficult to teach using AI, which relies on pre-programmed algorithms and lacks the ability to think outside the box. Furthermore, AI cannot provide the same level of feedback and guidance that human teachers can provide.
Despite these limitations, AI can still play a valuable role in education. For example, it can be used to automate administrative tasks such as grading and record-keeping, freeing up teachers’ time to focus on teaching. Additionally, AI can be used to provide students with personalized learning experiences by adapting to their individual needs and learning styles.
In conclusion, while AI has made significant progress in recent years, it is unlikely to replace human teachers anytime soon. While it can be used to automate administrative tasks and provide personalized learning experiences, it lacks the ability to understand human emotions and social cues and cannot provide the same level of feedback and guidance that human teachers can provide.
Bing Chat AI is a new feature that allows you to interact with Bing in a conversational way, using natural language and ChatGPT technology. You can ask Bing anything, from factual questions to creative requests, and get personalized and engaging responses. However, Bing Chat AI is currently only available on Microsoft Edge, which means you have to switch browsers if you want to try it out. But what if you prefer to use Google Chrome as your default browser? Is there a way to access Bing Chat AI in Chrome without having to install Edge? The answer is yes, using some simple hacks and extensions.
One way is to use the Bing Chat for All Browsers extension³, which lets you access Bing Chat AI from any website. Another way is to use the Bing AI for Chrome extension⁴, which shows you Bing Chat answers alongside Google results. A third way is to change the browser’s user agent to trick Bing into thinking you are using Edge². You can find detailed instructions on how to do that in the article by How-To Geek².
In Python f-strings, the equal sign (=) is used to print both the variable name and its value in a string. It is used to facilitate print-debugging by expanding to the text of the expression, an equal sign, then the representation of the evaluated expression. For example, if you have a variable named x with a value of 5, you can use an f-string like this: f'{x=}' which will expand to 'x=5'⁷.
Bing Chat is an AI alternative to Chat-GPT. I’ve been testing it quite a bit since, at least for now, it is completely free and in most cases does an excellent job.
Here is a test case that worked perfectly for me…
Prompt: How can I compile a Python program into an executable file?
There are several ways to compile Python code into an executable file. One of the most popular ways is to use PyInstaller² which can be installed using pip package manager². Once installed, you can use it to create an executable file by running the following command in your terminal:
pyinstaller yourscript.py
This will create a folder named “dist” in your current working directory which will contain your executable file².
Another way to compile Python code into an executable file is to use auto-py-to-exe¹. You can install it using pip package manager and then launch it by entering “auto-py-to-exe” into cmd¹. Once launched, you can select the python script path into Script Location field and decide whether you need the exe file as One Directory or as one file¹.
Prompt: Using pyinstaller, can my Python program be compiled into a single file?
Yes, it can be compiled into a single file. You can use PyInstaller to create a single executable file by using the “–onefile” option. Here’s an example command:
pyinstaller --onefile yourscript.py
This will create a single executable file in the “dist” folder of your current working directory.
Success?
Absolutely! It worked perfectly with a simple file management program I wrote. Just like the tip above mentioned it would do, it created an exe file in a dist folder that it created that I was able to copy to my Desktop to make it more convenient to run.
Created with Bing Image Creator. Prompt: A person asking an AI chat program about how to compile a Python program into a single file, digital art
I’ve seen all sorts of test cases for ChatGPT, with some responses being good and some bad. Just for the heck of it, I thought I would ask it for some serious financial advice:
With $xx in an RRSP and a current pension of $yy per month, when is the best time to take CPP? I am zz years old.
The answer was amazingly insightful, and pretty much matched up with my own thoughts.
Click image to enlarge
If you’re in a similar situation, why not give ChatGPT a shot and see what it recommends. Remember though that it’s free advice, and shouldn’t be acted upon without a good knowledge of your financial situation and perhaps corroborating advice from your personal banker.
Your thoughts? Would you trust this advice?
What is ChatGPT?
ChatGPT is an artificial-intelligence chatbot developed by OpenAI and launched in November 2022. It is built on top of OpenAI’s GPT-3 family of large language models and has been fine-tuned using both supervised and reinforcement learning techniques.
Canadian Prime Minister Justin Trudeau criticized Google for removing links to Canadian news articles in search results as part of a test for a small percentage of users, stating that it is a “terrible mistake”. However, his comments mislead on several critical issues with Bill C-18, a bill that mandates payments for links to news articles.
It cannot reasonably be said that Google is preventing Canadians from accessing news, since the removal of links from search results does not remove or block the site itself nor prevent anyone from accessing it directly. Furthermore, the bill would require payments to hundreds of broadcasters without any actual journalism or original news content.
Bill C-18 is not about payment for the reproduction of journalists’ work, but payment for links, indexing, and any other mechanism that facilitates access to news. The bill threatens the free flow of information online, and if it passes in its current form, it could create a framework that would threaten the foundational principles for how information flows online.
Google is rightly taking a stand against the bill’s threat to the free flow of information online by considering not linking to Canadian news articles.
(This article has been summarized using ChatGPT from Michael Geist’s excellent article found here. Posted date: 2023-02-25)