linguist parents of a programmer who don't approve of their child's decision to not persue the family craft:
"so anyways, when are you gonna learn a REEAL language?"
"There are always open spots in German"

seen from Kazakhstan
seen from France
seen from China
seen from United States
seen from United States
seen from China

seen from United States
seen from United States
seen from Hong Kong SAR China
seen from Vietnam
seen from United States
seen from United States

seen from China
seen from Finland

seen from United States
seen from Brazil
seen from United States
seen from China
seen from Uzbekistan
seen from China
linguist parents of a programmer who don't approve of their child's decision to not persue the family craft:
"so anyways, when are you gonna learn a REEAL language?"
"There are always open spots in German"

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Augmented assignment operators in python
Augmented assignment operators in Python combine addition and assignment in one statement. Instead of writing a = a + 1, you can write a += 1. This can make your code more concise and readable.
There are many augmented assignment operators in Python, including:
+= (addition)
-= (subtraction)
*= (multiplication)
/= (division)
//= (floor division)
%= (modulus)
**= (exponentiation)
&= (bitwise AND)
|= (bitwise OR)
^= (bitwise XOR)
<<= (bitwise left shift)
>>= (bitwise right shift)
Augmented assignment operators can be used with any Python variable, including numbers, strings, lists, and dictionaries.
Here are some examples of how to use augmented assignment operators in Python:
Python
# Add 1 to the variable a a = 1 a += 1 # Subtract 2 from the variable b b = 10 b -= 2 # Multiply 3 by the variable c c = 5 c *= 3 # Divide 4 by the variable d d = 10 d /= 4 # Floor divide 5 by the variable e e = 10 e //= 5 # Take the modulus of 6 by the variable f f = 10 f %= 6 # Raise 7 to the power of 2 g = 7 g **= 2 # Perform a bitwise AND operation on the variables h and i h = 10 i = 5 h &= i # Perform a bitwise OR operation on the variables j and k j = 10 k = 5 j |= k # Perform a bitwise XOR operation on the variables l and m l = 10 m = 5 l ^= m # Perform a bitwise left shift on the variable n by 1 bit n = 10 n <<= 1 # Perform a bitwise right shift on the variable o by 1 bit o = 10 o >>= 1
Augmented assignment operators can be a powerful tool for writing concise and readable Python code. They can be used with any Python variable, and they can be used to perform a variety of arithmetic and bitwise operations.
I love you thriftbooks <3
Literally could get four books for less than the price of one on Amazon.
But since I'm broke, I love you Oceanofpdf even more <3
(I just downloaded all four of those books for free instead!! :D)
Codetober Day #29
29. Do you think programming is an art form?
It absolutely can be! I admit to a bit of bias but asking me that question is the same as asking me "are video games art" and my answer to that is "absolutely." The thing is, it looks like a bunch of lines of code on a screen to a lot of people, even people who write the stuff, but we're capable of doing amazing things with it. From mundane details to the wildest transitions you've seen on a web page, ALL of it requires programming to an extent, so I would say, with full confidence, that programming is an art form.
Codetober day 12
Whups I guess I forgot to make one yesterday.
Anyhoo, I've been a busy bee. I learned some data structure stuff. Did some job scoping around my city to see what was up.
And I was exaughsted from, like, 2 straight weeks of studying I decided to relax and designed a programming language.
And I started learning rust again. I stopped the last time due to not understanding borrowing, and how many of the libraries out there seem to be over engineered and hard to use.
But I'm giving it another go.
13. What do you do/want to do with programming?
My dream is to be a game dev content creator. Like Randy or TanTan. And make cool games.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
#codetober 2023. 10. 05.
So the question arises:
What language should I write my next project in?
C++
Rust
Other... (comment/reblog)
IDK/IDC/Show Results
propaganda:
C++: my strong suit, will make progress quicker, kinda know what to do next. Too familiar tbh.
Rust: the perfect opportunity to finally try it in a medium sized project, building up the knowledge in the go. Probably will be very slow in the beginning, might discourage me.
Today's goal is coming up some basic design (language independent) on the whiteboard to see the connections and interfaces I might need.
I want to decouple the "business logic" from the visualisation as a design principle. Also want to keep things simple and performant.
What's your favorite programming language? Why?
Easy question: C++
The expressiveness of the template metaprogramming is unparalleled. No other language I know of can do the same with the same flexibility. I recently wrote a Tower of Hanoi solver that creates the steps for the solution in compile time (and gives the compiler error message of the solution to prove it is done before anything is ever ran). It even has an addition to generate the steps and the states it goes through as ASCII art at compile time using TMP. And this is not even that advanced usage, just a little toy example.
It's somewhat a love-hate relationship.
Lists in python
Lists in Python are a type of sequence data type. They are mutable, meaning that they can be changed after they are created. Lists can store elements of any type, including strings, integers, floats, and even other lists.
Lists are represented by square brackets ([]) and contain elements separated by commas. For example, the following code creates a list of strings:
Python
my_list = ["apple", "banana", "cherry"]
Lists can be accessed using indices, which start at 0. For example, the following code prints the first element of the list my_list:
Python
print(my_list[0])
Output:
apple
Lists can also be sliced, which allows you to extract a subset of the list. For example, the following code prints a slice of the list my_list that contains the first two elements:
Python
print(my_list[0:2])
Output:
['apple', 'banana']
Lists can be modified by adding, removing, or changing elements. For example, the following code adds an element to the end of the list my_list:
Python
my_list.append("orange")
The following code removes the first element of the list my_list:
Python
my_list.pop(0)
The following code changes the second element of the list my_list:
Python
my_list[1] = "pear"
Lists can be used to perform a variety of tasks, such as storing data, iterating over data, and performing data analysis.
Here are some examples of how to use lists in Python:
Python
# Create a list of numbers numbers = [1, 2, 3, 4, 5] # Print the list print(numbers) # Add an element to the list numbers.append(6) # Remove an element from the list numbers.pop(0) # Sort the list numbers.sort() # Reverse the list numbers.reverse() # Iterate over the list for number in numbers: print(numbers)
Output:
[1, 2, 3, 4, 5] [2, 3, 4, 5, 6] [3, 4, 5, 6] [6, 5, 4, 3] 3 4 5 6
Lists are a powerful tool for working with collections of data in Python. They can be used to perform a variety of tasks, such as storing data, iterating over data, and performing data analysis.
yeah sorry guys but the machine escaped containment and is no longer in my control or control of any human. yeah if it does anything mortifying it's on me guys, sorry