#voice-chat-text-0

1 messages ยท Page 171 of 1

scarlet halo
#

make a geometry dash md

#

mod

high acorn
#

i dont think tkinter is a good way to devolop a good game

scarlet halo
high acorn
#

same goes with running python as a backend engiene , especially when it is all about rendering

#

from folder.file import function ..

#

is that what you mean

wind raptor
#

.add_argument("--log-level=3")

scarlet halo
#

orgporse

rocky yew
#

hello

high acorn
#

dont say data science

#

everyone goes for that

scarlet halo
#

were*

high acorn
#

wheare

scarlet halo
#

wear

high acorn
#

i donno spelling

scarlet halo
#

it fine

high acorn
#

@spellis how dare

scarlet halo
#

im sorry ๐Ÿซฃ

high acorn
#

how dare you

scarlet halo
#

hehe

high acorn
#

:0

noble solstice
#

Hello Guys!
What r u discussing?

high acorn
velvet flicker
#

hi

rocky yew
#

my humor is broken!

wind raptor
#

@ everyone talking about pronouns - please don't make light of an issue that is sensitive to some members of the community. We are about inclusivity here and jokes about these things can be hurtful to others and don't belong on the server.

high acorn
#

hezy : your sarcasm level is epic

rocky yew
wind raptor
#

Thanks ๐Ÿ™‚

rocky yew
high acorn
#

ROI is very very important

amber venture
#

i would completely agree with that!!

high acorn
#

philosophy is one such subject , nobody gives a damn

rocky yew
#

insightful

#

not at all zhaxxy deer

scarlet halo
#

@wind raptor yo

wind raptor
#

What did I miss? Had to get something for my kiddos

velvet flicker
#

hi again

#

wonderful

#

silence is very loud guys

#

that was just a joke

wind raptor
#

.topic

viscid lagoonBOT
#
**What is the most satisfying thing you've done in your life?**

Suggest more topics here!

velvet flicker
#

did the spider bit u
i would like a spider-man ๐Ÿ˜

#

@wind raptor so what you been up to

wind raptor
#

@somber heath

velvet flicker
#

@somber heath if you get bit you will somewhat gain immunity

#

@turbid sandal i always wanted a pet squirrel

wind raptor
turbid sandal
#

OpalMist @somber heath

whole bear
#

lol

whole bear
#

@wind raptor what you working on?

#

still using that language you and mustafa made up

#

haven't heard from yall in awhile

wind raptor
elfin bone
#

people

#

of ze python discord

#

i am

#

imperial toucan

#

@scarlet halo fear his snake

#

as i will make it bite ur cock

#

kidding

#

dont mute me

#

sorry

elfin bone
#

theres nothing really to do here so

#

dont blame the guy

#

just monitor and sometimes assist users

whole bear
whole bear
elfin bone
#

?

whole bear
#

I'll try to assist the users cause I'm barely around

#

lol

hearty sphinx
#

Hello

scarlet halo
somber heath
#
somber heath
#

@marsh violet ๐Ÿ‘‹

marsh violet
#

hi

#

@somber heath I am not able to speak here

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

frigid fractal
#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

marsh violet
#

@somber heath I can't speak because I don't have past message history...

somber heath
#

@frigid fractal ๐Ÿ‘‹

night pecan
#

quotient

#

7**2

somber heath
#

@misty spire ๐Ÿ‘‹

night pecan
#

@rugged root could i get stream perms please i want to show them my code

misty spire
night pecan
#

( ]

#

numbers = []
strings = []
names = ["John", "Eric", "Jessica"]

write your code here

second_name = names [1]
numbers.append1)
numbers.append[2]
numbers.append[3]
strings.append("hello")
strings.append("world")

this code should write out the filled arrays and the second name in the names list (Eric).

print(numbers)
print(strings)
print("The second name on the names list is %s" % second_name)

#

Exercise
In this exercise, you will need to add numbers and strings to the correct lists using the "append" list method. You must add the numbers 1,2, and 3 to the "numbers" list, and the words 'hello' and 'world' to the strings variable.

You will also have to fill in the variable second_name with the second name in the names list, using the brackets operator []. Note that the index is zero-based, so if you want to access the second item in the list, its index will be 1.

#

numbers = []
strings = []
names = ["John", "Eric", "Jessica"]

write your code here

numbers.append(1)
numbers.append(2)
numbers.append(3)

strings.append("hello")
strings.append("world")

second_name = names[1]

this code should write out the filled arrays and the second name in the names list (Eric).

print(numbers)
print(strings)
print("The second name on the names list is %s" % second_name)

dry jasper
#

numbers.append1)

#

is missing the (

night pecan
#

ye

#

thansk

misty spire
#

[] represent list/array

#

() is for function call

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

somber heath
#

!e py my_list = ['apple', 'pear', 'orange'] print(my_list[0]) print(my_list[1]) print(my_list[2]) print(my_list[-1]) print(my_list[-2]) print(my_list[-3])

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | apple
002 | pear
003 | orange
004 | orange
005 | pear
006 | apple
stoic chasm
#
x = []
for i in range(1000):
  x.append(i)```
misty spire
#

@stoic chasm you sounds like David Malan ๐Ÿ˜

somber heath
#

!e py my_list = [] for i in range(5): my_list.append(i) print(i) print(my_list)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | [0, 1, 2, 3, 4]
somber heath
#

!e py my_list = list(range(5)) print(my_list)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[0, 1, 2, 3, 4]
somber heath
#
for letter in 'abc':
    print(letter)```is roughly equivalent to...```
letter = 'a'
print(letter)
letter = 'b'
print(letter)
letter = 'c'
print(letter)```
misty spire
somber heath
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

night pecan
misty spire
#

visual studio is for c# development

#

just make a file and add extension of the language

somber heath
#

"Console App"
"There there."

misty spire
#

language is not meant to be learned but meant to understand and used joe_salute

#

right now i am using python in one of my project and even i had not learnt it properly but i have firm grip over cpp and i can say that if u know any language u can use any other language in your project with the help of internet lemon_cowboy

#

yeah its true

#

what's time at ur place rn ?

#

ok good night peeps

#

๐Ÿ‘‹

somber heath
#

@quick thorn ๐Ÿ‘‹

#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

@steady folio @woeful tapir ๐Ÿ‘‹

steady folio
somber heath
#

@proven ice ๐Ÿ‘‹

proven ice
#

HI

final sparrow
turbid sandal
#

hello

#

how is everyone

dry jasper
turbid sandal
#

test message!

dry jasper
whole bear
#

ee

#

ee

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1690825354:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

whole bear
#

alright guys so I made a dist.py code and I can't figure what to do with the json for the dist

#

I'll need one for needed changes eventaully

#

help out if u want

gentle flint
#

hi

#

can't talk cuz I'm in the train

stiff sun
#

Are you coding?

#

Do you guys right now working on a project or what?:

verbal wind
#

Yes

stiff sun
#

why I cant talk I am new

#

I am muted

somber heath
wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

verbal wind
stiff sun
#

oh okoh thanks

dry jasper
somber heath
#

@gentle flint You may be better off typing.

verbal wind
#

@echo garden Congrats

#

/s

gentle flint
verbal wind
#

About MG108 Akko has partnered with its sister brand MonsGeek to release this 100% percent 108-key black & pink themed wired MX keyboard, featuring Akkoโ€™s brand new color matching case with re-imagined bezel design. This full size keyboard is equipped with a wide range of function buttons and numeric area for efficient data entry, allowing it to...

#

Do I go for magical girl blue or hipster black @dry jasper

verbal wind
#

@dry jasper Found the Keychron Q6

#

Full size, custom

#

Just gotta find a seller

#

@dry jasper REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

#

Keychron K4
But mom my Home-End 6-key set

dry jasper
verbal wind
#

@dry jasper Apparently the cheapest full-size full-size with hotswap I have locally is the Akko 5108S

#

Maybe....maybe I'm gonna hold for 200 bucks to get the Keychron Q4

#

But then...the Sennheiser HD6xx is 250....urgh....

#

@rugged root Hemlock can we have more dad jokes

#

Or I can just go with the Ajazz AK35I w/ hotswap, with shipping @ 7-21d it's 88$

rugged root
#

They're not as great when they're forced

#

Be on in a sec, talking to bosses

verbal wind
#

"OpalMist Drop Tips"

#

@rugged root How does a Linux user break up in a relationship? ||chmod +x ./girlfriend||

rugged root
dense ibex
#

!e

print(len("A skilled melee fighter with high endurance and strong combat abilities, specializing in close-quarters combat with various weapon types."))
wise cargoBOT
#

@dense ibex :white_check_mark: Your 3.11 eval job has completed with return code 0.

137
dense ibex
#

Durable melee fighter, excels in close combat, versatile with weapons.

amber raptor
#

just ROT26 it

rugged root
#

A close-quarters combat specialist with high endurance and powerful abilities

dense ibex
#

ty

somber heath
#

Hardy vs durable

rugged root
#

Hem-GPT

somber heath
#

Excels in close combat is superfluous

#

You already have melee fighter

rugged root
turbid sandal
#

hello

#

01101000 01100101 01101100 01101100 01101111 00001010

dusk raven
#

Der Hamming-Code ist ein von Richard Wesley Hamming entwickelter linearer fehlerkorrigierender Blockcode, der in der digitalen Signalverarbeitung und der Nachrichtentechnik zur gesicherten Datenรผbertragung oder Datenspeicherung verwendet wird.
Beim Hamming-Code handelt es sich um eine Klasse von Blockcodes unterschiedlicher Lรคnge, welche durch e...

#

In computer science and telecommunication, Hamming codes are a family of linear error-correcting codes. Hamming codes can detect one-bit and two-bit errors, or correct one-bit errors without detection of uncorrected errors. By contrast, the simple parity code cannot correct errors, and can detect only an odd number of bits in error. Hamming code...

cerulean ridge
#

@dusk raven .png

somber heath
#

A logic gate is an idealized or physical device that performs a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output.
Depending on the context, the term may refer to an ideal logic gate, one that has, for instance, zero rise time and unlimited fan-out, or it may refer to a non-ideal ph...

dusk raven
#

In computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression. The process of finding or using such a code is Huffman coding, an algorithm developed by David A. Huffman while he was a Sc.D. student at MIT, and published in the 1952 paper "A Method for th...

rugged root
formal lotus
#

what

dusk raven
#

Lattice

cerulean ridge
#

Lettuce

#

Let us

dusk raven
#
#

In cryptography, a zero-knowledge proof or zero-knowledge protocol is a method by which one party (the prover) can prove to another party (the verifier) that a given statement is true, while avoiding conveying to the verifier any information beyond the mere fact of the statement's truth. The intuition underlying zero-knowledge proofs is that it ...

#

Dr. agr.

#

Dr. rer. nat.

#

Dr sc. inf.

frozen owl
#

hello :D

rugged root
#

How goes it

frozen owl
#

bad

#

the chess engine alg is sus

#

like i think there's a subtle error

#

but the thing is ive heavily cleaned up my code alr which is good

#

and added some util funcs

#

and cleaned up the repo

#

*net not included lol

#

effortless GPU lol

Tue Aug  1 22:59:15 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 536.67                 Driver Version: 536.67       CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                     TCC/WDDM  | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4060 Ti   WDDM  | 00000000:0B:00.0  On |                  N/A |
|  0%   39C    P8               3W / 160W |   1423MiB /  8188MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1480    C+G   C:\Windows\System32\LogonUI.exe           N/A      |
|    0   N/A  N/A      1488    C+G   C:\Windows\System32\dwm.exe               N/A      |
|    0   N/A  N/A      2544      C   ...rograms\Python\Python311\python.exe    N/A      |
+---------------------------------------------------------------------------------------+
#

from my remote computer

cerulean ridge
#

@amber raptor I genuinely want to talk more about econ with u, if u want.

Do you think that studying teaching is like, futile?
Coz like, you can't predict how student response. You might find a great way to teach python to this particular student, but every student is different, they can react differently to the exact same teaching, so it is ultimately futile to figure out a better way to teach?

somber heath
#

What do you call it when a rhinoceros has a runny nose?

||Rhinorrhea.||

rugged root
#

Love it

amber raptor
cerulean ridge
amber raptor
#

It's worthwhile but it's probably futile as in you will never get 100% success rate.

frozen owl
#

like the courses the unis offer

amber raptor
#

depends on your definition of futile

dusk raven
rugged root
#

Steve's Big Ol' Uni' of Computers 'n Stuff

dusk raven
cerulean ridge
amber raptor
vocal basin
#

"study economics to get hired by a bank, not to understand something"

rugged root
#

Yeah honestly

frozen owl
#

$$$

vocal basin
#

depends on the century

#

"historically" is quite wide in what it means

rugged root
#

True, I was thinking 16th century

frozen owl
#

teachers of alexander the great?

cerulean ridge
rugged root
#

Oh god

#

Thank you brain

#

Bearistotle

cerulean ridge
#

LOL

#

Until the age of 16, Alexander was tutored by Aristotle https://en.wikipedia.org/wiki/Alexander_the_Great

Alexander III of Macedon (Ancient Greek: แผˆฮปฮญฮพฮฑฮฝฮดฯฮฟฯ‚, romanized: Alexandros; 20/21 July 356 BC โ€“ 10/11 June 323 BC), commonly known as Alexander the Great, was a king of the ancient Greek kingdom of Macedon. He succeeded his father Philip II to the throne in 336 BC at the age of 20, and spent most of his ruling years conducting a lengthy military...

frozen owl
#

idk all i know is this lol

rugged root
#

Please correct me if I'm wrong on any of this

#

My comments may be heavily steered by my cynicism

dusk raven
wind roost
#

ngl it sound like HOA to the max

cerulean ridge
rugged root
#

@rugged tundra Yo

rugged root
#

@cerulean ridge Catch you later

amber raptor
rugged root
#

There should always be outside views

#

Whether they're followed or not, if it at least sparks thought, that can make a difference

cerulean ridge
rugged root
#

@wind roost Catch you later

amber raptor
#

Defense spending, Medical Care, Teacher Pay, Universities

vocal basin
#

translating Python into Rust, but this time it's not my code

pallid verge
#

hi

whole bear
#

yo

rugged root
#

@whole bear If you're wondering why you can't talk, check out the #voice-verification. That'll tell you what you need to know about the voice gate

#

@whole bear

vocal basin
#

waiting for github pages deployment

#

last time it took 4 minutes

#

first time it was 3 minutes

vocal basin
#

(very work-in-progress, very useless site)

hoary kayak
#

anyone here programme with C before ?

rugged root
#

Not really, unfortunately

hoary kayak
#

why i am getting this ?

#

anyone know why ?

rugged root
#

No idea

gentle flint
vocal basin
#

39s total

#

(there are no other stages)

gentle flint
hoary kayak
#

its 50c here

#

cd

#

xd

gentle flint
brave oak
#

we dont want you here

stuck furnace
gentle flint
#

thx

vocal basin
#

and that error shows why it's a bad idea to have them there

#
"hello world.c" -> "hello_world.c"
"hello world"   -> "hello_world"
stuck furnace
#

Spiral staircases are a bit of a pita

rugged root
#

Moving ANY kind of furniture up there

#

Nightmare

stuck furnace
#

I'd love to renovate a house ๐Ÿ˜„

rugged root
stuck furnace
#

Minimalist ๐Ÿค”

vocal basin
#

the socket placement though

rugged root
#

That's like... 2 inches between the railing and that door

#

Jesus

#

Okay, it's not as bad as I thought

#

It's about a meter distance

#

Just looks way way way closer

vocal basin
#

"13.999`99 -- an even more confusing way to write numbers"

rugged root
#

That is

#

What

#

What?

terse needle
#

13,999.99 ig

rugged root
#

Why are there double quotes at the front

#

Oh

#

Nevermind

terse needle
#

hahaha

rugged root
#

Whole thing is quoted

#

Yep

#

Okay, in fairness, you can see why I was even more broken

vocal basin
rugged root
#

I refuse

vocal basin
#

another historical one

rugged root
#

That's more normal

#

You see that for money

vocal basin
# vocal basin 99.95

I think I saw this quite a long time ago, near the same time I learned what decimal point means

terse needle
#

wait if 1/3 = 0.333... and 0.333... * 3 = 0.999... then 1/3 * 3 = 0.999... = 1 therefore 1 = 0.999...

rugged root
gentle flint
#

|<----------------------------------------------arm length---------------------------------------------->|
|<-------------------------------------------where the cat is--------------------------------------------->|

rugged root
#

Every time

vocal basin
#

I think the common one also involves the same +0/-0 as ieee 754, but those defined as same thing

gentle flint
vocal basin
#

0.333... * 3 = 0.999.........

rugged root
#

@quasi condor Where the hell are you

quasi condor
#

i left

#

because

#

youtube was more interesting

gentle flint
rugged root
#

@night pecan You're coming in really quiet

gentle flint
gentle flint
whole bear
dry jasper
dry jasper
# gentle flint

ben letterlijk net nog langs ausnutria op de snelweg gereden

flat sentinel
gentle flint
elfin bone
#

it would cost around

#

2k of repair

elfin bone
#

actually

#

i didn't see this

#

8k for sure

#

not repair, bu add ons to make it look nice and not like ur striving off of bean cans

woeful umbra
#

hi guys, i from Brazil, i do not speak much english, can anybody help me in python. Iยดm starting

cosmic bison
#

creating contribution rules for my programming languages standard library. What is your favorite way to do modules and packages? I don't like the way pep8 does them because I think it makes it harder to read

#

pep recommends just doing all lowercase with no delimeters

lavish rover
#

I prefer packages to be same as variables, lower snake case

cosmic bison
#

that makes sense. it does fix the readability problem

vocal basin
#

preferably no camel_Snake_Case because why would that ever be used

cosmic bison
#

one of my ideas was fooBarBaz altho, not sure what it's called. it makes all the current module names valid while still fixing readability.

doing it the same as variables also works with the current set of modules.

#

I just know I want it to be consistent and not a pain in the ass to use

#

all I really care about is consistency

vocal basin
#

that's camelCase

cosmic bison
#

ah

#

I thought CamalCase and PascalCase were interchangeable?

lavish rover
#

Camel means first is lower

#

Pascal means first is upper

vocal basin
#

I've seen "camel case" used to informally refer to PascalCase quite often

lavish rover
#
camelCase
PascalCase
snake_case
kebab-case
SCREAMING_SNAKE_CASE
vocal basin
lavish rover
#

camel_Snake_Case is cursed

cosmic bison
#

very cursed

stoic chasm
#

kebab-case ftw if designing from scratch

unborn storm
whole bear
#

lmaooo

somber heath
#

@whole bear ๐Ÿ‘‹

#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
#

i haven't been on the server for more then 3 days lol

#

question tho

#

what is the best recourse i can use to learn py i'm currently stuck with while loops and loops in general

#

all i have rn are yt tutorials

#

yea ik

#

but

somber heath
#

YouTuber, Corey Schafer, playlist for Python behinners

whole bear
#

another thing

#

ahh

#

do you mind if i add you

#

fair enough

#

so while loops are basically ifs but repeating

#

?

somber heath
#

!e py for letter in 'abc': print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

!e py while True: # if True print('Hello, world.') break

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello, world.
whole bear
#

how long does it usually take to learn python?

#

i can tell already lol

#

thing is though i spend hours studying off videos and understand most of it but

#

whenever i try to write something i cannot remember

#

yea

#

thing is i cant really program much except basic calculators
but i pretty much mostly understand functions and know what the basic stuff is but im not really complaining much since i've been doing this for 3 days

#

somewhat yea

willow lynx
#

List of words= space separated word (input) Weight of word =sum(position of small letters in word) * len(word)
Output list of word in ascending order according to the weight . If the two words have same weight then write the word which appears first

#

How to solve this

#

@somber heath

#

A:1 b:2 positions

willow lynx
#

Aba weight ๐Ÿ˜ฆ 1+2+1)*3

#

'aba'

#

Weight=( 1+2+1)*3

willow lynx
whole bear
willow lynx
#

I wrote the program but it passed only three testcases

whole bear
#

i kind of need someone else to get more involved with in py

#

lol

#

just to integrate it in my head

willow lynx
noble solstice
willow lynx
# noble solstice Question?

List of words= space separated word (input) Weight of word =sum(position of small letters in word) * len(word)
Output list of word in ascending order according to the weight . If the two words have same weight then write the word which appears first

noble solstice
#

testcase?

willow lynx
#

Those were hidden testcases in hacker rank

#

How will you solve the problem

noble solstice
somber heath
#

key

noble solstice
willow lynx
#

I just want to seee how you will solve

somber heath
willow lynx
#

May be I didn't do the right way that's why testcase failed

noble solstice
somber heath
#

enumerate, sum, str.islower, sorted

willow lynx
#

By position I mean position in alphabet

#

How to return if two words have same weight

noble solstice
willow lynx
#

The word which comes earlier in input .as earlier in output as well

somber heath
#

Position in the alphabet ought to not figure into the solution.

willow lynx
#

No a is always 1

#

B is always 2

noble solstice
willow lynx
#

C is always 3

#

And likewise

noble solstice
#

like acaab is aaabc?

willow lynx
#

Yes as per their calculated weight

#

And print word in ascending order of their weight

noble solstice
#

we need to sort according to sum of alphabet
like aab is 4 and acb is 6
so aab then acb?

somber heath
#

Is position in alphabet mentioned in the problem brief?

#

I took position of small letters to mean their index position in the word.

willow lynx
#

Like weight of word acbde will be (1+3+2+4+5)* 5

#

Not index

last wadi
willow lynx
#

If there are two words aba and baa in input

#

Since they have same weight then output aba should come first as in input

#

How to do this

last wadi
#

this is what I usually make in terms of art

cerulean ridge
last wadi
#

@pine depot plotting it out like this might make it easier to make the game

noble solstice
#
a=["lap",'aba',"aab","car"]
import string
result = string.ascii_lowercase
print(result)
# a = sorted(a)
print(a)
from collections import defaultdict
weight = defaultdict()
for x,y in enumerate(a):
    wem = 0
    for z in y:
        # print((ord(z)-96))
        wem+=(ord(z)-96)
    # print(wem)
    weight[y]=wem*len(y)
    
    # print("nnnnnnnnnnnnnn")
print(weight)
a1 = sorted(weight.items(), key=lambda item: item[1] and item[0])

# print(a1)
for l,m in a1:
    print(l)

vocal basin
#

haven't tested
||```py
list(map(itemgetter(1), sorted(zip(map(mul, starmap(mul, enumerate(map(str.islower, words))), map(len, words)), words), key=itemgetter(0))))

last wadi
#

random pixel art I made at some point^^

#

kinda on topic

noble solstice
#

and itemgetter never heard

vocal basin
#

starmap(f, zip(a, b)) == map(f, a, b)

#

itemgetter == lambda x: lambda y: y[x]

#

lowest point so far

vocal basin
#

fixed
||```py
list(map(itemgetter(1), sorted(zip(map(mul, map(sum, map(partial(starmap, mul), map(enumerate, map(partial(map, str.islower), words)))), map(len, words)), words), key=itemgetter(0))))

#

maybe

#

so, that was a solution for another interpretation of the problem

vocal basin
#

(because position instead of position of the alphabet)

#

let the user stretch the game window but still only fill 64x64 pixel space

dry jasper
#

bahn

last wadi
#

thanks^^

rugged root
pine depot
obsidian dragon
pine depot
#
itch.io

A game jam from 2023-08-01 to 2023-08-25 hosted by JackOatley & Gurpreet Singh Matharoo. Make a game at 64x64 resolution or lower! Discord Optional Themes These 10 themes are optional. When you submit your project there will be a short que...

#

Bimzy Dreams by Zizou

rugged root
#

@whole bear If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

cerulean ridge
# amber raptor No, because economy has massive downstream effects. Like so many problems in Uni...

what about https://en.wikipedia.org/wiki/Elizabeth_Warren

would you say she should be kicked out coz she did econ research?

Or she should be respected as a politician coz she got elected to her position?

Elizabeth Ann Warren (nรฉe Herring; born June 22, 1949) is an American politician and former law professor who is the senior United States senator from Massachusetts, serving since 2013. A member of the Democratic Party and regarded as a progressive, Warren has focused on consumer protection, equitable economic opportunity, and the social safety ...

last wadi
rugged root
#

Yeah that tracks

lunar ice
#

hi

obsidian dragon
#

how ot move this down ?

#

@rugged root

rugged root
#

Is that an image you made?

#

Because that cart needs to be lower

#

Like

#

Very much so

obsidian dragon
#

sgv font awsome

rugged root
#

Ah, no idea

obsidian dragon
#

can't use padding

rugged root
#

I haven't done much with svg or art anything

obsidian dragon
#

or maybe can

#

it's just text

rugged root
#

Say something, Tox

pine depot
#

discord voice buggin

rugged root
#

One sec, swapping voice server

pine depot
#

stuck on "rtc connecting"

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 107
Member status: status_online 53,156 status_offline 326,050

Members: 379,206

Helpers: 151
Moderation Team: 37
Admins: 12
Directors: 3
Contributors: 47
Leads: 14

Channels: 269

Category: 28
Forum: 3
News: 10
Staff: 128
Stage_Voice: 1
Text: 92
Voice: 7

rugged root
#

@gentle flint Yo

gentle flint
#

hi

#

I'm consuming stroopwafels

rugged root
#

Nice

gentle flint
rugged root
#

CUDA been?

#

Eh?

rugged root
pine depot
rugged root
#

@amber raptor Install-Script

wind roost
#

H what

#

like some change

vocal basin
#

seems like ATM in Norwegian is minibank
https://no.wikipedia.org/wiki/Minibank

En minibank er en maskin som lar brukere som identifiserer seg med et personlig bankkort og tilhรธrende PIN-kode ta ut kontanter og sjekke saldo pรฅ sine konti til enhver tid. Mange minibanker tar ogsรฅ mot kontanter eller sjekker, og lar folk kjรธpe frimerker og ladekort for mobilabonnement basert pรฅ forhรฅndsbetaling.
Pรฅ den ene side mรฅ kunden gi ...

#

there are resampling options to specify how it "blurs" and whether it does

#

"nearest" is likely the expected option if any interpolation isn't acceptable

#

(or some forms of linear)

pine depot
vocal basin
#

when everyone is speaking, yes

#

it sometimes lowers the quality noticeably

#

but not when just many joined

somber heath
#

@marsh vector ๐Ÿ‘‹

vocal basin
#

not sure when I last used XP outside of VMs, likely 2012

rugged root
#

Yeah same

elfin bone
#

same

#

i used it when i was 5 or something

#

maybe 3

#

i used to highlight

#

things

#

randomly

#

and pretend i was measuring

pine depot
vocal basin
#

2006~2012 -- XP
2010~2014 -- Vista
2014~? -- Windows 8.1
?~2017 -- Windows 10
2017-2017 -- Windows 8
2017~2019 -- Windows 8.1
2019~now -- Windows 10

#

I somehow just didn't use Windows 7

rugged root
#

Huh

#

Yeah that's an odd one to skip

vocal basin
#

wasn't it closed source to being with

#

then they open-sourced parts

#

then decided that no more of that

#

tbf, similar to OpenSolaris situation

#

but no

#

Oracle consumed Sun, closed OpenSolaris source

#

many developers left

rugged root
#

The successor seems to be Illumos

vocal basin
#

yes

#

eh

#

not actually

#

there's open-contribution

#

most open-source projects are open-contribution

#

some aren't

#

drawio, for example, isn't open-contribution

vocal basin
somber heath
#

Stay bull die fusion.

vocal basin
#

only temporary limits exist now

#

base rule is that whoever can read the repo, can PR to it

rugged root
#

Gotcha

vocal basin
#

pyenv?

#

or something else

#

I'd say use venv or equivalent always

#

unless you have lack of space

rugged root
#

pyenv if you need different Python versions

#

Or if you hate yourself, Conda

vocal basin
#

I've always had more issues trying to run something from system python compared to venv

#

just use docker

rugged root
#

Not a terrible option. Dev containers are pretty cool

vocal basin
#

docker still weak at hardware interaction

#

(also, not every system can run docker)

#

it's going to be of a size comparable to venv

#

I think

#

not actually sure how much the dev container thing itself adds

#

likely <500mb, so it's fine

#

time to test

#

with a python2 dev container

#

because that's a temporary container I currently have running

#

was testing this

rugged root
#

Wait what? <> was valid back then?

vocal basin
#

yes

#

and you can make it valid in python3 too, with a joke __future__

#

doesn't work in snekbox, I think

#

!e

from __future__ import annotations
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
vocal basin
#

okay, so future itself works

#

!e

from __future__ import barry_as_FLUFL
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
vocal basin
#

that works too

#

!e

from __future__ import barry_as_FLUFL
1 <> 2
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 2
002 |     1 <> 2
003 |       ^^
004 | SyntaxError: invalid syntax
vocal basin
#

meh

#
>>> from __future__ import barry_as_FLUFL
>>> 1 <> 2
True
>>> 1 != 2
  File "<stdin>", line 1
    1 != 2
      ^^
SyntaxError: with Barry as BDFL, use '<>' instead of '!='
rugged root
#

Weird

#

@formal meteor How goes it

vocal basin
#

pascal uses <> too, iirc

#

2.7

#

I think a spider is trying to make a web on my table

#

!e

print((126864440 - 126694852) / 1024)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

165.61328125
vocal basin
#

this number of MiB

#

(mebibytes, not men in black)

#

!e

print(126694892 - 126694852)
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

40
rugged root
vocal basin
#

so, basically no space remains used after the container is dropped

#

auto-generated name?

#

python:2

#

then attach vs code

#

specialised dev containers should use less space per container, I think

#

but last time I tried it failed

#

also that'd be just a little bit too much of vendor lock-in

#

even though I only use VS Code, I'd still rather have dev environment that theoretically can be used with something less

#

pip always complains

#

(about new version existing)

whole bear
#

Canโ€™t speak yet

#

Hi yโ€™all

rugged root
#

How goes it

vocal basin
#

even if it's built and deployed each day, version of it that you can depend on, usually isn't updated that frequently

whole bear
#

Can I like check how many words I got left before I can like speak or nah cuz it donโ€™t tell me

vocal basin
#

!user in #bot-commands

wise cargoBOT
#
Bad argument

Could not convert "user_or_message" into Member, User, or Message.
Message "in" not found.

#
Command Help

!user [user_or_message=None]
Can also use: member_info, member, u, user_info

Returns info about a user.

whole bear
#

Ok how do I use them i#

#

Wait soo like how many message is 12 like 12 words or 12 messages

#

Valid so I just have to run up like 12

#

I low-key need the help thatโ€™s why I joined

#

Honestly am@deep in might as well

whole bear
#

Never a quitter bestie

#

The beginning of code like I got exams

#

Nope no exam help but like weโ€™re do I go

#

To learn and the most basic basic

rugged root
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

vocal basin
#

"The beginning of code" sounds like a book name

whole bear
#

Am plus I speak better than I write

#

Can u please link that

#

Thank u soo much

whole bear
#

Honestly have been watch some YouTube videos and itโ€™s soo long and doesnโ€™t make sens e

#

How do I voice verified again

#

My bad homies

rugged root
vocal basin
#

depends on knowledge of languages too

rugged root
vocal basin
rugged root
#

Agreed

#

Yeah the Microsoft Store one is ill-advised

vocal basin
#

3.8 sad

rugged root
#

I'll be back in a moment, I have to record this part of the guide I'm making for work

frozen owl
#

it sucks so much

#

bad

#

don't fall into this trap

vocal basin
#

yes

#

I think it's also suggested by powershell when you don't have python installed

#

which is just wrong

frozen owl
#

yeah

#

i wanted to config python one time

#

but since it was a microsoft store install i couldn't do it well

#

so i removed python from microsoft store, argued a bunch with vscode to tell it to sober up and tell it that my py install is not the microsoft store one and finally got shit to work

elfin bone
#

hey guys

#

anyone here a real life software engineer

#

i got a QUESTION

vocal basin
#

what question?

elfin bone
#

i want to know

#

if its bad

#

or not

#

because

#

im very young but

#

i dont know what to do

#

like

#

what should i do

vocal basin
#

what is bad? software engineering?

elfin bone
#

no

#

the job

#

itself

#

not the work

#

the job and its result

vocal basin
#

depends on the country

elfin bone
#

lets do

#

UK/USA

#

soooooooooo

#

anyone here a software engineer

#

ru a software engineer alisa

vocal basin
#

what do you mean by "good"/"bad" in this context?

elfin bone
#

well

vocal basin
#

salary? working environment?

elfin bone
#

i mean a various of things

#

the salary, the environment, if its fun or does it feel like the companies working you to death and you barley have any free time

vocal basin
#

@whole bear
you can use Arduino for prototyping real systems (using other microcontrollers),
as it's a simpler environment than ASICs and others

#

arduino too underpowered for web-scraping

#

sounds more like just a web service

#

that you'd run on a server/pc

#

@whole bear the more details you include (why you need the code, what format you'd prefer, etc.), the better ChatGPT output is going to be

whole bear
#

Thank u soo much

vocal basin
#

you can use push notifications

#

or set up a bot that pings you on Discord

#

or just have a universal interface for all those options

#

I just remember what I should test ChatGPT with

#

how many would it be able to solve

#

okay, so it started good enough:

The issue lies in the function signature. The function f in the bind function is defined as Fn(T) -> Option<T>

#

but then totally failed

pallid hazel
#

dear python..
why you exploit my mistake, just work as intended damnit.

vocal basin
#

I can't spell

#

(I wonder how it would respond if sent that as a prompt)

#

@whole bear discord profile buttons?

#

custom status as if you're playing something

#

that app needs to provide buttons

#

(integration for that "game" or other custom app)

#

similar to how this works, but more restricted

#

colours, I think, are via ansi

#
red
yellow
green
blue
red
blue
yellow
green
blue
#

but this doesn't seem to work in profiles

#

also, I think, doesn't work on mobile

#

background colours are provided by some integrations and by custom profile colours

#

(latter requires nitro)

#

okay, so I got phind (gpt-based thing) to solve one exercise from the site

#

it took 6 prompts

#

to make it add 4 letters

tulip plover
#

while True:
^^^^^
SyntaxError: invalid syntax

high acorn
#

why is this syntax error

vocal basin
#

likely it's inside an expression

#

!e

(
    while True:
        ...
)
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 2
002 |     while True:
003 |     ^^^^^
004 | SyntaxError: invalid syntax
vocal basin
#

this

#

!e

def f()
    while True:
      pass
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     def f()
003 |            ^
004 | SyntaxError: expected ':'
vocal basin
#

this doesn't give that error

high acorn
#

while True:

vocal basin
#

no

#

no that

#

well, sometimes you do want an infinite loop

#

so totally unrelated

#
  • that wouldn't be syntax
#

I'm almost sure the reason is that it's inside expression context instead of statement context

high acorn
limpid matrix
#

Why can't I speak?

vocal basin
wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

vocal basin
vocal basin
#

weird that it doesn't specifically say "can't use while inside expressions" or something

#

maybe it will be improved later

#

while might end up inside an expression for multiple reasons, incuding missing parentheses

#

!e

x = [1, 2
while True:
    pass
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     x = [1, 2
003 |         ^
004 | SyntaxError: '[' was never closed
vocal basin
#

eh

#

so this does get caught

high acorn
#
while i <= 10: print(i); i += 1```
#

how to run this code?/

#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

vocal basin
#

!e
```py
i = 1
while i <= 10: print(i); i += 1
```

limpid matrix
#

Can someone help me with a code Python code on private?

high acorn
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

high acorn
#

i = 1
while i <= 10: print(i); i += 1

#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

limpid matrix
#

I want to speak but I can't speak here

high acorn
#

i gave up

vocal basin
dry jasper
#

!e
i = 1
while i <= 10: print(i); i += 1

wise cargoBOT
#

@dry jasper :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 4
005 | 5
006 | 6
007 | 7
008 | 8
009 | 9
010 | 10
dry jasper
high acorn
#

thanks animmo

vocal basin
#

there are some languages which allow while inside expressions

high acorn
#

now i got it

vocal basin
#

(mainly because nearly everything in them is an expression)

high acorn
#

it could be inside some expression

vocal basin
#
x = while True: pass
let x = while true {};
#

second is Rust

#

Rust also has special syntax for while true

#
let x = loop {};
#
let mut i = 0;
let x = loop {
    if i >= 10 {
        break i;
    }
    i += 1;
};
#

one of the reasons why special case for loop exists is to allow returning a value from a loop using break

high acorn
#

rust is beautiful

#

it looks like javascript a bit

vocal basin
#

one of the many C descendants

high acorn
#

is rust running on c compiler

vocal basin
#

Rust is self-hosted (Rust compiler is written in Rust)

high acorn
#

this is pretty cool , i love the ambiance of this room

vocal basin
#

The code also defines a few other traits and types related to iteration, but without more context, it's hard to say exactly what their purpose is.
"finally, an honest model"

high acorn
#

yeah

#

i got over it anyways

#

i think it simply means , while loop cannot be there synatically

#

interpretter was expecting things like ":",")", or intentation which obiousky was not followed through

dense ibex
#

@somber heath help my digital miner wont work Sadge

dense ibex
#

yes

#

i am sending screenshots

#

one sec

#

when I click start it still stays at 0

somber heath
#

You can set the minimum to the negatives.

#

Is it using power?

dense ibex
#

no

somber heath
#

Alao, set silk touch to on if you want to process stuff better.

dense ibex
#

gotcha yeah makes sense

somber heath
#

It can take a lot of power and the rate of pickup is very slow at first.

#

Like you might get a couple of blocks every minute or so.

dense ibex
#

gotcha yeha

somber heath
#

It takes a fully upgraded miner, adequately powered to gather things at a decent rate.

#

If it says zero after you've clicked start, there's no matching blocks in the area specified.

#

Either increase the area in the config or move the miner.

dense ibex
#

wait then I think I am just an idiot

#

the mod pack I am playing is on a big lava lake

#

I thought it just pulled materials out of thin air KEKW

somber heath
#

No.

#

They have to exist, placed in the world.

#

I saw dirt and trees. You mean there's just that on top of a bunch of lava down to bedrock?

dense ibex
#

yep

#

volcano block is the modpack

somber heath
#

Well, keep it around. It might end up being useful.

dense ibex
#

yeah lol

#

kinda annoying though because I spent like 95% of my playthough so far getting that KEKW

somber heath
#

You'll definitely want a way to get your hands on a crapload of iron, redstone, carbon and other resources.

#

Though Create there's infinite iron and gold.

#

Though Apotheosis and witch spawners there's redstone.

#

Though Apotheosis' Boon of the Earth enchantment, there's all sorts of ores.

#

More annoying to automate that unless you've something enchantable with it that can have infinite durability.

#

Though you can go with extremely high, augmented durability and occasional maintenance requirements.

cosmic bison
tulip plover
#

haitian creole

whole bear
#

gonna make a package for your language on vscode

#

or not

#

I'd love to try out your language tbh

#

your languages seems like it may be very useful in the future ngl

#

I like this

#

fr

#

can u enable dark mode for your website for me @cosmic bison kinda affecting my eyes

somber heath
#

@compact stone ๐Ÿ‘‹

compact stone
somber heath
#

!voice

wise cargoBOT
#
Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

compact stone
#

should i spam for 50 messages

#

oh ok

#

i just joined today

#

i should wait for 3 days.damn

#

by the way what you do with python

#

pictures?

#

oh.image processing?

#

oh i m a newbie programmer.i was lwarning django

#

*i was

#

yeah

#

please

#

you said something about web dev channels

#

got it

#

bruh i m leaving bye.nice to meet you

cosmic bison
#

I hope to eventually make an lsp

#

There is a discord server in the readme. If you join I can explain some more about the language. If you want to try it out, then I can help out with that.

It mostly has support for linux since windows doesn't like exposing stuff like libc.

#

altho, it does a have cross-linker builtin, so it is hypothetically possible to compile for any platform. You may need to modify the linker for that because it checks you host system to know how to do the linking

#

basically the linker packaged with the project (lld) has no driver. So I have to make one lol

#

bit of a pain tbh

#

The language is still in a very very early state. So it isn't production ready. But can be played around with

whole bear
#

cool cool

brazen gazelle
#

@somber heath sorry gtg

somber heath
somber heath
#

@weak nexus ๐Ÿ‘‹

obsidian dragon
#

Do there exist any free versions of these templates? I'm in need of a preformatted template with predefined elements. Here's an example. I specifically require an HTML5 and CSS3 responsive template.
https://pixelarity.com/threshold

whole bear
whole bear
#

please enable dark mode

#

lighting is killing me

uncut meteor
pine depot
#

gt

uncut meteor
pine depot
#
__gt__()
uncut meteor
#

>

pine depot
#
object.__dict__()
uncut meteor
#
vars(object)
dir(object)
rugged root
#

I legit forgot vars was a thing

zenith radish
#
long double operator ""_w(long double);
std::string operator ""_w(const char16_t*, size_t);
unsigned    operator ""_w(const char*);
 
int main()
{
    1.2_w;    // calls operator ""_w(1.2L)
    u"one"_w; // calls operator ""_w(u"one", 3)
    12_w;     // calls operator ""_w("12")
    "two"_w;  // error: no applicable literal operator
}```
rugged root
#
long double operator ""_uwu(long double);
rugged root
#

@scarlet knot When you say Lunix, do you actually mean Linux?

#

Just trying to make sure I'm getting the terms straight

verbal wind
#

@uncut meteor Speaking of Arch, I got shat on the other day because I said I prefer apt's verbosity i.e. apt install over pacman's obtuse switches i.e. pacman -Syu

uncut meteor
#

ye, -Syu requires reading

#

install doesn't

#

i literally just made a script update to do it all for me. should probs just do the same with a install script

rugged root
#

I'll be back, have to do a talk on the new password keeper we're using

verbal wind
uncut meteor
#

mhm

scarlet knot
#

@rugged root yea thatโ€™s what I meant

toxic sigil
#

Yes

uncut meteor
#
if (conditions) break;
{
  // Do things

}
zenith radish
#
if (condition) {
  break;
} else {
  // Do things
}```
uncut meteor
#
for {
  //code 

  if (blah && blah || other conditino) {
  }
}
for {
  //code 

  if (blah && blah 
      || other conditino) continue;
  
  // Morecode
}
zenith radish
#

@uncut meteor

uncut meteor
#
void Run() {

  var task1 = // new Task...;
  var task2 = // new Task...;

  task1.Start();
  task2.Start();

  while (true) {
    // hold open while background threads work
  }
}
#

!stream @whole bear

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1691072684:f>.

gentle flint
#

ffs

#

hang on

#

I don't have fucking Bluetooth on

#

and I'm on my phone

rugged root
#

@willow lynx Yo

vocal basin
#

"well, we failed at building this product, let's label it research project then"

#

guaranteed instability

#

super is weird

#

it's difficult in terms of how it's implemented

rugged root
#

That it is

verbal wind
#

Isn't the "OOP bad" video basically OOP in the wrong place?

vocal basin
#

there are many "oop bad" videos

verbal wind
#

and i oop

#

Rust doesn't have OOP? We need Rust++

vocal basin
#

no we don't

#

it has OOP

#

but different

zenith radish
#

It does have OOP

#

Just not Java OOP

somber heath
#

!e ```py
class A:
def method(self):
print('A', self)

class B(A):
def method(self):
super().method() # A.method(self)
print('B', self)

B().method()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | A <__main__.B object at 0x7f67c32b0350>
002 | B <__main__.B object at 0x7f67c32b0350>
vocal basin
#

Java interfaces + Haskell classes -> Rust traits

verbal wind
#

Haskell....

rugged root
#

Haskell classes?

verbal wind
#

Haskell has classes? Wat...

vocal basin
#

higher-order

#

types can be instances of classes

#

values can't

#

(in Haskell)

#

it's closer to how mathematics defines classes

#

you can define Rust traits and Haskell classes on types you didn't create

#

for example, on standard library types

#

you can't do that with interfaces in C#/Java

verbal wind
#

Hi bored I'm dad @zenith radish

vocal basin
#

still experimenting with repository history visualisation code

#

I don't actually remember what was the last version of those plots I showed here

verbal wind
#

That looks like a fucked up sponge cake