Thursday, December 22, 2022

ChatGPT



If you're not familiar with ChatGPT, it is a machine learning model that has been trained on a massive dataset of human conversations. Essentially, it's a chatbot on steroids, capable of generating natural-sounding responses to a wide variety of input. This makes it incredibly useful for tasks like customer service chatbots, language translation, and text generation.

But what sets ChatGPT apart from other chatbots is its ability to understand the context and maintain coherence in conversations. It uses a transformer architecture, which allows it to process input in a way that takes into account the relationships between words and the context in which they're used. This means that ChatGPT can follow along with a conversation and generate responses that are relevant and make sense within the context of the conversation.

In addition to its impressive language processing abilities, ChatGPT is also capable of generating responses that are appropriate for a wide range of situations. This makes it particularly useful for tasks like customer service chatbots, where it can provide helpful and accurate responses to a variety of questions and concerns.

One of the most interesting applications of ChatGPT is in the field of language translation. By training the model on a large dataset of translated conversations, it's possible to use ChatGPT to generate accurate translations in real-time. This could be especially useful in situations where human translators aren't available, like in online chatrooms or emergency situations.

However, it's important to note that machine translation is still not on par with human translation, and it likely won't be for the foreseeable future. While ChatGPT and other language models can produce high-quality translations in many cases, there are still situations where the translations may not be entirely accurate or may not capture the full meaning of the original text.

In addition to its potential uses in language translation, ChatGPT could also be used to build chatbots for customer service or to assist with tasks like scheduling and information retrieval. These chatbots could be particularly useful for businesses looking to provide fast and efficient service to their customers, and they could also be used to help individuals manage their daily lives more efficiently.

Another interesting use for ChatGPT is in text generation. The model could be used to generate content for social media posts, news articles, or other types of written content. This could be particularly useful for businesses that need to produce a large volume of written content on a regular basis, as it could save time and resources that would otherwise be spent on creating the content manually.

But as with any technology, it's important to approach the use of ChatGPT with caution. There are potential risks and ethical concerns to consider, and it's important to put appropriate safeguards in place to ensure that ChatGPT is used ethically and responsibly.

Overall, ChatGPT is a powerful tool that has the potential to revolutionize the way we interact with computers and communicate with one another. Its ability to understand and respond appropriately to a wide range of input makes it a valuable asset for a variety of applications, and it will be interesting to see how it is used in the future.

Wednesday, December 21, 2022

Spinning up Minecraft Server


With my kids home for the holiday break, I decided to spin up a Minecraft server for us to play on.  In the past, I used a Raspberry Pi for hosting Minecraft servers.  (For running a Minecraft server on a Raspberry Pi, these instructions are great)  One of the reasons that I am not using a raspberry pi for this new server is that it can get overwhelmed when there is a lot of activity on the server at once. (e.g. when the kids spawn a lot of chickens at once)

I currently have an Intel NUC, that I use to run several servers in our house, including  Plex and Home Assistant servers, running in separate VirtualBox VMs. I figured that I could use another virtual machine for the Minecraft server.

MineOS Turnkey is a Linux distribution that has everything that you need for running a Minecraft server.  In addition to the OS itself, it also includes the MineOS webapp, which enables various Minecraft server jars to be downloaded, and the various instances to be started & stopped.

It is fairly easy to create a virtual machine for the Minecraft server.  First, download the ISO image from the mineos-node site.  Then create a new virtual machine in VirtualBox.  I specify that this will be a 64-bit debian based OS, and allocate 2 Gb of RAM for it.


100 Gb should be enough for the server, so I create a dynamically allocated disk image for it.

That is pretty much all that is needed for creating the virtual machine, but there are a few settings that I like to tweak.  Since I don't have any audio connected to the computer that I run VirtualBox on, I disable audio for this virtual machine.  To make it easier to connect to the server, I switch the to bridged network mode.


At this point, select the mineos-node ISO image for the optical drive of the virtual machine, boot the machine, and run through the setup.

After the installation, the virtual machine should be accessible on the subnet that the host is running.  Once you log into the web interface, you can select which Minecraft server you want to run, and configure it to automatically startup, when the virtual machine starts.

Have fun playing!





2022 Xbox in Review


In previous years, Microsoft provided tools to generate infographics that reflected the activity of Xbox players.  This year, Microsoft didn't make this tool available, but TrueAchievement has made their #MyYearOnXbox tool available that will generate a graphic with the gameplay information from an Xbox profile.

With the tool, you will need to sign into your Xbox account via OAuth, where it will read the games that you have played from your profile.

From my generated image, you can see that the game that I spent the majority of my time in was Far Cry 6 (while I was isolating when I had COVID)

[via Windows Central]



Sunday, December 18, 2022

Self-custody and hardware wallets


Self-custody, or the act of holding and managing one's cryptocurrency rather than entrusting it to a third party, has become increasingly popular recently as more people have become interested in owning and using digital assets. (This is especially relevant with the bankruptcies/failures of centralized exchanges, such as BlockFi, Celsius, and FTX) One way to achieve self-custody is through the use of hardware wallets, which offer a secure and convenient way to store and manage cryptocurrency. In this blog post, we'll explore the benefits of self-custody and how hardware wallets can help you achieve it.

One of the main benefits of self-custody is that it allows you to retain full control over your cryptocurrency. When you entrust your cryptocurrency to a third party, such as an exchange or online wallet, you are relying on that party to keep your assets safe and secure. However, there is always a risk that the third party may be hacked, suffer a technical failure, or otherwise be unable to fulfill its obligations to you. By holding your cryptocurrency, you can eliminate this risk and manage your assets, giving you complete control over your investment.

Hardware wallets are a secure and convenient way to achieve self-custody. These devices are specifically designed to store and manage cryptocurrency and offer several advantages over other storage methods. For example, hardware wallets are offline, meaning they are not connected to the internet and are therefore much less vulnerable to cyber attacks. They also typically have multiple layers of security, such as a password or passphrase, to protect against unauthorized access.

In addition to the security benefits, hardware wallets are also very convenient to use. They are portable, so you can take them with you wherever you go, and they are easy to set up and use, even if you are new to cryptocurrency. Many hardware wallets also have built-in screens, allowing you to easily view and manage your assets without the need for a separate device.

I like the Ledger line of hardware wallets.  They support a large number of coins across several blockchains.  In addition, the ledger wallets support storing and managing NFTs.  The Ledger Live software integrates with several services for managing your assets.

Another advantage of self-custody is that it allows you to take advantage of the full range of options available in the cryptocurrency market. When you hold your cryptocurrency, you are free to buy and sell any digital asset you choose, rather than being limited to the options offered by a particular exchange or wallet provider. This gives you more flexibility and control over your investment and allows you to take advantage of opportunities as they arise.

In conclusion, self-custody and hardware wallets offer several benefits for those interested in owning and managing cryptocurrency. By retaining full control over your assets and using a secure and convenient storage method, you can protect your investment and take advantage of the full range of options available in the cryptocurrency market. Whether you are a seasoned investor or just starting with digital assets, self-custody and hardware wallets are important considerations.




Friday, December 16, 2022

PiKVM v4


The PiKVM v4 kickstarter has launched.  With the v4 version, there are new two different versions of the PiKVM.

The PiKVM V4 Mini uses a small fanless case, and has a lower power consumption than the PiKVM V3.

The PiKVM V4 Plus has the features of the V3 version and adds support for an LTE card and additional USB host support.

Home Assistant SkyConnect


I have been running Home Assistant for a while now, slowly transitioning from SmartThings.  In subsequent posts, I will describe more of my experience with Home Assistant, but today I received a Home Assistant SkyConnect, that I am excited about setting up over this holiday break.

The Home Assistant SkyConnect is a USB Zigbee adapter that directly connects Zigbee devices to Home Assistant.  (I am currently using a SmartThings hub to connect my Zigbee devices, and using the SmartThings integration in Home Assistant)

One thing that I am very interested in for the SkyConnect, is that it is updatable through Home Assistant, and they are planning an upgrade to add Thread support.  With this upgrade, it should support Matter devices.

With Matter's multi-admin support, and when SmartThings adds Matter support, I hope that this will make it easier to finish the migration to Home Assistant.

Sunday, December 11, 2022

PiKVM

 This weekend, I needed to backup a number of computers, and wipe them in preparation for recycling.  As I didn't want to disconnect the monitor and keyboard from my normal workstation, the PiKVM has been quite helpful.


The PiKVM is a raspberry pi based KVM (keyboard, video, mouse) device that allows you to control and view a computer over a network.  

I have been using the PiKVM for a while.  It has been especially helpful for setting up new computers, or managing some of the headless computers that I manage.  For backing up and wiping the computer, one of the PiKVM features has been very useful. 

The PiKVM has the ability to have images stored on the raspberry pi mounted on the connected computer.  I have a few linux distro images stored, that allows me to boot and manage connected computers.

The V4 version of the project has been announced, and should be launching soon on Kickstarter.

Printing Across VLANs: A Secure and Scalable Solution

In my previous configuration, I used a CUPS server with multiple network interfaces to enable printing from computers on restricted networks...