You probably use your backspace [delete] key quite a bit. If you have a Macbook Pro, you probably also hit the Open Siri button quite a bit, as it is (in)conveniently located adjacent to the backspace key.
This is quite annoying.
This short guide will show you how to remove the Siri button from your Macbook Pro’s touch bar, or Control Strip, disabling the button without disabling Siri.
Click on the Apple icon and select System Preferences.
🛈 You can also use Spotlight to open System Preferences.
2 – Open Keyboard Settings
Click the Keyboard system preference icon.
3 – Customize the Touch Bar
Click the Customize Control Strip... button.
🛈 In older versions of macOS, the button is labeled “Customize Touch Bar…” instead.
4 – Remove or replace the Touch Bar Siri button
Move your mouse down, off your screen and INTO the touch bar. This will highlight each menu item. Highlight the Siri button, click, and drag the Siri button upward and out of the Touch Bar. It will now disappear.
You can optionally add a new button to replace the Siri button, but I chose to leave it empty because I inadvertently click in the space all the time.
5 – You’re all done!
You go to hell Siri and you die there. Now that you’ve disabled Siri, perhaps you’d like to disable the MacBook Pro Touch Bar and revert it to its former Control Strip glory!
How to Disable the MacBook Pro Touch Bar
NEXT UP
How to Enable the “Popping” Sound When Adjusting the Volume on Your Mac
Starting with MacOS Sierra and High Sierra, your Mac will no longer play a “pop” sound when you adjust your volume. If you prefer to have this sound when you adjust volume up and down (as I do), this guide will teach you how to reenable it. 1 – Open Sound System Preferences Navigate to System
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
I’ve been a pretty die-hard fan of Anycubic’s Kobra series and the 25-point automatic leveling is a huge part of the reason. Of course, many printers can be modified to have automatic leveling, but not many entry-level DIY kit printers come with this feature. That’s what makes the Anycubic Kobra Go so darned unique.
Anycubic’s Kobra Go 3D Printer Hands-On Review
A detailed review on the Anycubic Kobra Go DIY 3D printer
There might still be times when you need to manually adjust the z-distance, but for the most part, the Kobra Go handles itself as smoothly as a dream. Just run the automatic leveling program, wait, and profit!
1 – Turn on the Kobra Go and select the Menu
Turn on the Kobra Go and select the Menu
You make selections on the Kobra Go’s small screen by turning the control knob to the left or right, delightfully familiar for Ender 3 users.
2 – Scroll down and select leveling
Scroll down and select leveling
The menu is easy to navigate, and the screen on the Kobra Go is surprisingly high quality for a kit FDM printer.
3 – Select the Auto Leveling option from the Kobra Go menu
Select the Auto Leveling option from the Kobra Go menu
If you need to adjust the Z Offset, you can do that here, or you can do it from the main page during a print by turning the knob left or right to adjust down or up.
4 – Allow the automatic leveling program to complete
Allow the automatic leveling program to complete
This program runs through 25 points across the print bed, so it can take a few minutes to complete. Go make yourself a smoothie.
5 – Complete!
And that’s it: your automatic leveling is complete!
And that’s it: your automatic leveling is complete! You’re now ready to load in some filament and watch the printer do its thing.
NEXT UP
Blender is one of the most popular open-source 3D creation suites today. It doesn’t cost a dime to use and everything you create is yours to own for good. The community is robust and the dev team still releases new updates on the regular. If you want to get the latest version, you may have
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Whenever a new Raspbian version comes out, the Raspberry Pi Foundation removes the previous version from the Raspbian Downloads page. But sometimes for a project you just need an older version. This short guide provides you with links to download Raspbian Jessie directly from the Raspberry Pi Foundation Image Archive.
1 – Download ZIP file
Download Raspbian Jessie as a ZIP archive directly from RaspberryPi.org:
You can access older versions of Raspbian Jessie in TORRENT format from the Raspberry Pi Image Archives and choosing a date from 2015-09-28 to 2017-07-05.
There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
This short guide will show you how to check how much free space your Raspberry Pi has.
1 – Get to the command line/terminal
Open a new command line/terminal session.
If you’re using Jessie Lite, this is the default state that your Pi boots into.
If you’re using RetroPie, you can get here by pressing F4 on a keyboard or by exiting to the command line through the RetroPie UI.
If you’re using Raspberry Pi OS (formerly Raspbian), simply open a new Terminal.
2 – Run the following command
Run the following command and press enter:
df
This will display the total disk usage for your SD card in columns. If you’d like to make it more readable, you can add the -h flag, which will add G and M units for gigabytes and megabytes:
df -h
🛈 You can see here that I’m using 16% of my available SD card space.
There are several ways to go about running a Minecraft server on the Raspberry Pi. In this guide, I’ll cover how to install Nukkit—a cross-platform Minecraft server that’s super easy to set up on the Raspberry Pi. This server should work with PCs, consoles, and tablets running Minecraft 1.14. I’ll be using a Raspberry Pi
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
If you’ve ever hit the heart icon on a song during your Peloton workout and wondered where you can view it, this guide is for you.
Peloton automatically creates a playlist for the tracks you like during your workouts. Follow these easy steps to connect your Spotify or Apple Music accounts and access the list off of the bike.
You can sync just about everything nowadays, even your Apple watch!
1 – View your music on the Peloton Bike
Go to your profile on the Peloton Bike and select “Music” on the left navigation column. This page will show a list of all songs you have saved during your workouts.
2 – Enter Spotify credentials on the Peloton Bike
From the “Music” tab, click the “Connect” button on the top right of the page to link to your Spotify or Apple Music account. Enter your Spotify username and password, and agree to the terms to proceed.
3 – View your Peloton playlist on the Spotify app
In your Spotify player, open “Your Library” to view your playlists. A new playlist titled “My Peloton Music” should appear in your playlists. If it does not appear, simply refresh the Spotify player by closing and reopening the app.
Get prepped for your next Peloton cycling ride with these accessories.
NEXT UP
How to Clean Vibram Five Finger Toe Shoes Without Ruining Them
Vibram Five Finger shoes are awesome pieces of running gear. But you can also use them for hiking and looking weird around town. Unfortunately, toe shoes start to smell if you don’t wear socks with them every time you wear them. While Vibram claims that the shoes are machine washable, you will ruin them if you wash
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Feel free to skip ahead to see how to find the network security key.
A network security key is a fancy way of saying a Wi-Fi password. Whatever you call it, you’ll want to know how to find the network security key and protect it. It is extremely important to keep your personal or business network safe from all kinds of threats.
The simple truth is that anytime you install a router, the Wi-Fi signal can be detected and connected to anyone nearby. While this may be less of an issue if you’re on your private island, for most of us, that puts us at great risk of people gaining control of networks and inflicting all kinds of damage if we don’t have one.
For these reasons, we decided to put together an informative guide that includes everything you need to keep your home or business Wi-Fi safe.
Why Your Network Security Key is So Important
Stop and think for a second about some of the things you do on the internet. You probably work, socialize, manage your finances, shop, and more. All of this data is fed through your router, and when somebody manages to get unauthorized access, they can intercept it.
From here, they might track your identity or sell your personal information on the dark web. That’s not all. Cybercriminals can also implant malware or spyware on your network to continue inflicting harm even long after they are gone.
Last but not least, even if their intentions aren’t bad and the person just wants a free internet connection, then they’re stealing away bandwidth you pay for!
The Types of Network Security Keys
To you, it might just seem like a Wi-Fi password. But there’s actually a lot going on behind the scenes.
There are now four main types of Wi-Fi security keys:
WEP (Wired Equivalent Privacy)
WPA (Wi-Fi Protected Access)
WPA 2 (Wi-Fi Protected Access 2)
WPA 3 (Wi-Fi Protected Access 3)
The most recent and secure standard is WPA 3, and you’ll definitely want to look for routers that support it. However, WPA 2 is also still pretty good.
WPA and WEP, however, are outdated and more susceptible to attack. You should look to upgrade your router to one that supports one of the newer standards.
Now here’s how to figure out your network security key and how you can change it to a good option for you!
1 – How to find your default network security key
Arris
Once you unbox your router, you can generally find the preset password on a small sticker usually located on the router’s underside. If you can’t find it there, you should also check inside the box the router came in or any accompanying materials.
Generally, out-of-the-box passwords are very complex, which makes them quite secure. However, you know who may have gotten access to your router, so it’s best to change it by going into your router settings.
2 – Changing your network password
It’s quite easy to change any Wi-Fi password. You’ll first need to connect to the network either via Wi-Fi or ethernet.
Next, you’ll need to connect to the router admin setting. Each router is different, but usually, you can get to it by typing: 192.168.1.1/ into your URL bar. Check your router manual, however, as your address might be different. You can also see our router interest page, where we have instructions for logging into most major routers.
Then enter the admin information. In some cases, this is the same password as your default Wi-Fi. In others, there’s a separate admin login. You’ll again be able to find this information in the manual.
Once you’re in, you’ll be able to change the router settings. We recommend changing the login credential and creating a secure password.
How to Create a Secure Wi-Fi Password
The general advice in the world of passwords is that you need some complex, lengthy, and a combination of lower and uppercase letters, numbers, and special characters. You’re looking to make a random, secure password that’s nearly impossible to hack
How to Generate a Random, Secure Password
You might be thinking that it will be a nightmare to remember and share with the people to whom you want to give your Wi-Fi password.
However, it’s easier than you imagine. You can use a password manager like 1Password or NordPass to create, manage, and store these passwords then securely share them when necessary.
3 – How to find your network security key in Windows 10
If you can’t find your password, you can retrieve it through Windows, provided you have a computer that has already connected to your router.
Follow these steps to find the password in Windows 10:
Open Network Connections.
Select the Network and Sharing Center icon.
Tap on Wireless network.
Select Wireless Properties.
Open Security.
Click “Show characters to make the network security visible:“.
4 – How to find your network security key using a Mac
It’s quite similar to find your password using a Mac.
Search for “Keychain Access” in Spotlight Search.
In Keychain Access, enter the name of your Wi-Fi network or scroll down to it.
Click on your network.
Check Show Password to see your network security key.
Enter your Mac password to be able to see it.
Do note, you can also set up an automation to share your password via iOS, but that does take a little time. That’s why we generally recommend using a password manager like NordPass instead.
There are a few reasons you might want to update or reset your WiFi password: making your network more secure, and making your password easier to remember and type. Improved network security You can add an extra layer of security to your network by changing the WiFi password. As long as your new password is
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
As a JavaScript developer, you’ll often need to construct URLs and query string parameters. One sensible way to construct query string parameters is to use a one layer object with key value pairs.
In this guide we’ll cover various ways to turn an object like this:
var params = {
a: 1,
b: 2,
c: 3
};
into a query string like this:
"a=1&b=2&c=3"
1 – Using map and join
If you’re using a modern browser (or node) you can use map to create an array of strings like a=1, then use join to join them together with &.
ES6
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');
Surprisingly, normal YouTube embeds are not automatically sized to the browser window as it is resized. Luckily, you can make YouTube videos responsive and mobile-friendly with some simple HTML and CSS. 1 – The HTML Wrap your embed code in a unique video wrapper (the class name is arbitrary). I chose to use embed-youtube as the selector.
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Today, I stumbled upon a use case where I needed to have a querysets that had objects from different models. Django has a neat “contenttypes framework” which is a good way to achieve this. So here are my notes on what I learned today, and I hope it will help someone in the future. NOTE: If you can design your models from scratch this is not the best approach to follow. Read my note under step 5.
1 – The Models
Let us consider the following models:
class Bmw(models.Model):
series = models.CharField(max_length=50)
created = models.DateTimeField()
class Meta:
ordering = ['-created']
def __str__(self):
return "{0} - {1}".format(self.series, self.created.date())
class Tesla(models.Model):
series = models.CharField(max_length=50)
created = models.DateTimeField()
class Meta:
ordering = ['-created']
def __str__(self):
return "{0} - {1}".format(self.series, self.created.date())
🛈 We can obviously have a parent class in this case with common properties, but we are keeping it simple for purposes of this tutorial.
2 – The Queries
We can get list of Bmw’s and Teslas separately like so:
Here we get the queryset for Bmws and queryset of Teslas, and pass them to the chain function which combines these two iterables and makes a new iterator. We then pass this list to the sort function and specify that we want to sort it by the created date. Finally we say that we want the order to be reversed. Here is the result:
[, , , ]
This is a good approach if the queryset is small. However if we are dealing with larger querysets and need to involve pagination, every time we need to query the entire database and sort by the created date. Even if we slice the list, then we have to manually keep track of our slice index and created date for sorting, and the whole approach could get messy.
🛈 Notice the object types here are of type Bmw and Tesla.
4 – The contenttypes Framework
Django’s contenttypes framework is really a good option for this use case. From the docs: At the heart of the contenttypes application is the ContentType model, which lives at django.contrib.contenttypes.models.ContentType. Instances of ContentType represent and store information about the models installed in your project, and new instances of ContentType are automatically created whenever new models are installed. I would urge you to read up more on it.
5 – Content Types in our models
From the docs:
Adding a foreign key from one of your own models to ContentType allows your model to effectively tie itself to another model class.
So we add a new model to our models called car which uses the Generic Relations.
class Car(models.Model):
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = GenericForeignKey('content_type', 'object_id')
created = models.DateTimeField()
class Meta:
ordering = ['-created']
def __str__(self):
return "{0} - {1}".format(self.content_object.series,
self.created.date())
def create_car(sender, instance, created, **kwargs):
"""
Post save handler to create/update car instances when
Bmw or Tesla is created/updated
"""
content_type = ContentType.objects.get_for_model(instance)
try:
car= Car.objects.get(content_type=content_type,
object_id=instance.id)
except Car.DoesNotExist:
car = Car(content_type=content_type, object_id=instance.id)
car.created = instance.created
car.series = instance.series
car.save()
And we add the post save handler to our Tesla model.
class Tesla(models.Model):
series = models.CharField(max_length=50)
created = models.DateTimeField()
class Meta:
ordering = ['-created']
def __str__(self):
return "{0} - {1}".format(self.series, self.created.date())
post_save.connect(create_car, sender=Tesla)
(and similarly added for Bmw model not show for brevity) So now every time an instance of Tesla or Bmw is created or updated, the corresponding Car model instance gets updated.
🛈 If you can set up your models from scratch, you can think about a better design where you store the type of a Car like ‘Tesla’ , ‘BMW’ in a separate table, and have a Foreign Key to your Cars table as a better alternative. The ‘contenttypes framework’ could come in handy, when you don’t have the liberty to change existing models a.k.a production.
6 – Query using contenttypes framework
Here is an updated query using the contentypes framework that we just set up. Notice how we have both Bmw and Tesla objects returned as Car instances.
>>> Car.objects.filter()
[, , , ]
Here we have returned car objects, so here is how we get to the actual car type a Car instance holds.
>>> car = Car.objects.first()
>>> car.content_object
>>> car.content_object.series
u'Tesla Series 2'
7 – Closing Notes
Although this approach has an overhead of an extra table, for larger query sets I feel this is a cleaner approach.
Let me know what you think or if you have any questions in the comments below.
When learning object oriented programming in Python, there can be a few gotchas when it comes to distinguishing between class and instance variables. In this guide I’ll explain the difference between class and instance variables and provide examples demonstrating various use cases. 1 – Class vs. instance variables First, a quick review if you’re new
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Not exactly pretty yet, so we’ll need to format it. This is especially important for larger objects.
2 – Format the pretty-printed output
To format our object, we’ll need to specify the number of spaces we’d like:
const currentlyDrinking = {
beer: 'Yeungling',
container: 'bottle',
empty: true
};
console.log(JSON.stringify(currentlyDrinking, undefined, 4)); // use 4-space tabs to format and indent the code
Kubernetes secrets are objects that store and manage sensitive data inside your Kubernetes cluster. One mistake developers often make is storing sensitive information like database passwords, API credentials, etc in a settings file in their codebase. This is very bad practice (hopefully for obvious reasons). Most developers know this, but still choose the option because it’s easy.
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.
Changing your WiFi password is a simple way to add more security to your network—after all, it’s much harder to hack a password that keeps changing!
ASUS makes it easy for users to create a new WiFi password. All you need is a computer connected to the ASUS network.
1 – Log into the ASUS router
To set a new WiFi password, you’ll need to log in to your ASUS router. This will give you access to a web-based dashboard with Wireless settings.
You’ll need to have or find your network security key you intend to change if you don’t already have it.
2 – Access Wireless settings
To open the wireless settings, navigate to the following location:
Click Wireless on the left-hand navigation pane
Look under the General tab
Scroll until you see a field labeled Pre-shared key
3 – Set a new WiFi password
To set a new WiFi password, put it in the Pre-shared key field. Try to make a password that’s random and secure or use a password manager like 1Password.
4 – Save your changes
Save the changes and test your new WiFi password with a wireless device.
NEXT UP
There are a few reasons you might want to update or reset your WiFi password: making your network more secure, and making your password easier to remember and type. Improved network security You can add an extra layer of security to your network by changing the WiFi password. As long as your new password is
Introducing Howchoo, an enigmatic author whose unique pen name reflects their boundless curiosity and limitless creativity. Mysterious and multifaceted, Howchoo has emerged as a captivating storyteller, leaving readers mesmerized by the uncharted realms they craft with their words.
With an insatiable appetite for knowledge and a love for exploration, Howchoo’s writing transcends conventional genres, blurring the lines between fantasy, science fiction, and the surreal. Their narratives are a kaleidoscope of ideas, weaving together intricate plots, unforgettable characters, and thought-provoking themes that challenge the boundaries of imagination.