You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are what works for an out-of-the-box Ubuntu 25.04 setup running an empty-config Ghostty. Included are my most-used keyboard shortcuts and not an exhaustive list.
DeepSeek R1's response to "how many primes are there between 7800 and 7920?"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# read the full article: https://sectors.app/bulletin/deepseek
Okay, the user is asking how many prime numbers exist between 7800 and 7920. Let me think through the steps needed to solve this.
First, I need to list all numbers in that range and check each for primality. But doing this manually would take too long. Maybe there's a smarter way. Primes are numbers greater than 1 that have no divisors other than 1 and themselves. So for each number in the range, I need to check if it's divisible by any prime number up to its square root.
Wait, the range is from 7800 to 7920. Let me note that the square root of 7920 is around 89, so I need to check divisibility by primes up to 89. The primes up to 89 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89. That's a lot, but manageable.
But maybe I can optimize. For even numbers, they are divisible by 2, so I can skip all even numbers except 2. Since the range starts at 7800, which is even, all even numbers can be excluded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Industry / Selector field for django (list of tuple)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An in-depth guide to Django QuerySet (Django 3.0, updated June 2020).
When QuerySets are evaluated
Internally, a QuerySet can be constructed, filtered, sliced, and generally passed around without actually hitting the database. No database activity actually occurs until you do something to evaluate the queryset. Examples of that "something" that cause a QuerySet to evaluate:
Iteration: QuerySet executes its database query the first time you iterate over it
Docker can be confusing to PC and Windows users because many tutorials on that topic assume you're using a Linux machine.
As a Linux user, you learn that Volumes are stored in a part of the host filesystem managed by Docker, and that is /var/lib/docker/volumes. When you're running Docker on a Windows or Mac OS machine, you will read the same documentation and instructions but feel frustrated as that path don't exist on your system. This simple note is my answer to that.
When you use Docker on a Windows PC, you're typically doing one of these two things:
Run Linux containers in a full Linux VM (what Docker typically does today)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters