IRC

The IRC Protocol IRC is a very simple communication protocol that allows users to chat in real time. IRC is very lightweight, but does not encrypt messages by default. Using IRC Server To be able to communicate, users must connect to a server. Each server has its own rules, bots and commands. The IRC protocol itself does not implement encryption, however, SSL Certificates can be used to establish a secure connection with the server. Every message sent can be read by the server, including private messages between users. Separate IRC instances can communicate. This concept is often called server federation. This allows for users in different servers to send messages to each other. ...

5 min · 974 words · TrudeEH

Logic Gates

NOT Invert the input. Truth Table Input Output 0 1 1 0 AND Output 1 only when both inputs are 1. Truth Table A B Output 0 0 0 0 1 0 1 0 0 1 1 1 OR Output 1 if at least one input is 1. Truth Table A B Output 0 0 0 0 1 1 1 0 1 1 1 1 NAND An AND gate followed by a NOT gate. ...

1 min · 165 words · TrudeEH

Memory

Remembering Data An OR gate could be used to store a single bit. If the input A is changed to 1, the OR gate will output 1, and then receive it. Even after the input A is set to 0, the output does not change. The OR gate “remembers” that, at one point in the past, the A input was set to 1. The inverse can be done with an AND gate. To remember either a 1 or a 0, we can do the following: ...

3 min · 433 words · TrudeEH

Password Manager [PASS]

Password Managers A password manager is a program responsible for saving all your passwords. You could have a single password and use it for everything, but if an attacker gets a hold of your password on just one service, they would have access to all of your accounts. Different services may have different requirements for passwords, too. To mitigate these issues, it’s recommended to use a password manager, and a unique password for each service. There are many options available, however, pass is one of the simplest ones. ...

3 min · 524 words · TrudeEH

Python

Python3 Documentation number: Replace with a number. *object: Any number of objects. [, ndigits]: Anything between [] is optional. Run Python Code Python is an interpreted language. It is not compiled like C. python hello.py Skipping the compiling step makes the language easier to use but at the cost of performance. Print Print information on the console. print("hello, world") answer = "Some Text" print(f"Your answer is: {answer}") # formatted string (any type) print("Your answer is: " + answer) # answer must be string print("Your answer is:", answer) # answer can be any type print("Same line", end="") print("!" * 4) # "!!!! # '' and "" do the same. Input Prompt the user for information. ...

15 min · 2996 words · TrudeEH