#off-topic-lounge-text

1 messages · Page 24 of 1

thorny scaffold
#

xD

#

sent a f request or I end up spamming here and I get banned

#

all the time.

sand dock
#

Spam is repetitive, context matters

thorny scaffold
#

Then you didn’t complete the task you needed

sand dock
thorny scaffold
#

cat ears?,

#

PUBG style

#

but why

#

that’s just spam-call with 4 sims in one

#

@sand dock get chocolate or fav food, you complete tasks, you need the snack

#

. . .

#

if your brain is bad and says “ you didn’t do enough” , force it with something you like

#

Eating pickles = you’re pregnant Pim, happy for you
@sand dock

#

do you think that animals have the concept of math and calculations?

thorny scaffold
#

im EU, at least in my zone, in the weekends most shops are closed except ofc the party-oriented ones

#

also VSc finished installing, ima go and code, c ya guys in 2 days when I get unmuted

#

yeah that’s how its supposed to be

spiral elk
#

Sounds like what’s supposed to happen

night lily
#

@willow nymph 👋

willow nymph
#

hi

#

Sorry but dont know why I dont have permission to do anything

night lily
willow nymph
#

ok thanks, I'll check it out

willow nymph
#

So maybe I just listening you

#

ok I understand

#

hey @night lily, I think I need a sleep, so nice to meet you and @obtuse nebula

#

take care

pale ember
#

what are you guys up to ?

#

ohh fun

thorny scaffold
#

Hello

pale ember
#

no i think hack and slash should be 3th

void talon
#

🌊

pale ember
#

i like 3th way way batter than first

void talon
#

3d fallout isn't turn based

#

VATS slwos time

#

doesn't pause

#

I believe Fallout 1/2 was turn basd

pale ember
#

i liked BDO was better if you did something liek that would be better i think

#

I SO WISH I CAN TALK !!! LOL

thorny scaffold
#

Same

#

Wait 3 days 🥲

void talon
#

You'll get there

#

just type for now

thorny scaffold
#

Can’t do

#

Im driving

#

XD

pale ember
#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

You have not been active enough on the server yet. <-----

void talon
#

Issue with diablo as FP is the mob counts

#

can't see shit compared to what you've gotta

thorny scaffold
#

:D

#

I am

#

But there’s traffic

#

Im bored

pale ember
#

O_O

thorny scaffold
#

And here I see a lovely active vc

#

Also working on my first python project so maybe staying next to other programmers, make me steal some brain juice

pale ember
#

you could just make everthing AOE

night lily
#

@ancient current 👋

thorny scaffold
#

Im stealing gray matters from your brain without you all knowing it

thorny scaffold
pale ember
thorny scaffold
#

That’s pretty cool indeed

#

Im doing a simple automated File Filter tool

pale ember
#

it has like 10k diff words combos so its kinda funny what it does

thorny scaffold
#

But I’m quite indecisive on various aspects of it

night lily
#

@nocturne kraken 👋

nocturne kraken
#

Hello

#

@night lily What's up

pale ember
pale ember
thorny scaffold
#

I like the concept of using ai hallucinations and randomness to gain inspiration, because the common patterns seen in artists in other drawings they do, like Pinterest or similar could end up giving you too much of a similar idea, so it feels as if you copied it .. from something already done by someone else

@night lily

night lily
#

@keen berry 👋

pale ember
keen berry
#

HI

thorny scaffold
#

oh gtg 👁️👁️ need food, supermarket on the day, perfect timing

pale ember
#

i wish i could steam.... want to join a call real fast to show you what i mean?

pale ember
#

the server doesn't feel that inclusive as others ones do

thorny scaffold
pale ember
#

point stands but have fun 🙂

void talon
#

I thoguth the ceasefire lasted like 8 minutes

void talon
#

Never vote for anyone who's primary concern is a small nation in the middle east

#

is what we do

#

If we want our elected officials to worry about America

night lily
#

@rapid rivet 👋

rapid rivet
#

Hi

fringe jetty
rapid rivet
#

Yes

fringe jetty
rapid rivet
#

Jordan

native bay
#

✌️😣😖

night lily
#

@vast summit 👋

void talon
#

In America we work very hard to make the dumbest motherfuckers happy

#

THat's what we do

#

fuck the intelligent

#

just do anything and everything for the absolutely most vile willfully ignorant shitbags

vast summit
#

hello guys

#

how is yall's day

void talon
#

Another beautiful day

carmine sphinx
#

Prepare to be able to do it at least

#

I hope I never need to go there for a long time

void talon
frail jay
#

has anyone seen any..

#

motherboards?

lean sun
#

Here

#

@final prawn you can share here

#

Maybe SS if it's not published to the web

stray crescent
#

Instagram: https://instagram.com/krzysztofiwaneczko
Facebook: https://www.facebook.com/krzysztofiwaneczko
Management: BOOK MY ARTIST +48 510 291 466 ; kontakt@tomaszmadzielewski.pl

UTWÓR "ZATRZYMAJ SIĘ"
Muzyka: Krzysztof Iwaneczko
Tekst: Dorota Kopka, Krzysztof Iwaneczko
Dyrygent, orkiestracja: Maciej Bąk
Miks / Mastering: Łukasz Kaczma...

▶ Play video
mild totem
toxic raptor
#

I made a new programming language more secure than Rust

#

It uses some of python keywords for readability btw, like "range" and "and" and "or"

timid fjordBOT
#
Voice verification

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

lapis stag
#

That is not so smart idea 🙂🙂🙂🙂🙂

#

😂. Why!!!!!! Why someone make this

#

Open private bro @inner lily

frail jay
#

would anyone like some art for free

#

I'm lowk bored

night lily
#

@leaden ore 👋

leaden ore
#

Hi

#

How are you?

night lily
#

In a figurative sense, leaving aside that we are all of us mortal.

#

It's more of a psychological pain than physical.

leaden ore
#

I love you

night lily
#

@shut jay 👋

shut jay
#

hi

night lily
#

!voice

timid fjordBOT
#
Voice verification

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

night lily
#

@finite junco 👋

finite junco
#

@night lily

#

i cant open my mic

#

i need to be in the dc server

#

for 3 days

night lily
#

@boreal helm 👋

boreal helm
#

hi

boreal helm
leaden ore
night lily
night lily
# leaden ore Bro plz just do it bro

When I say I don't possess the capability, I'm not saying that I do not want to, I'm saying that I do not have the ability, even if I intended to unmute you.

finite junco
night lily
#

@lucid walrus @shell olive 👋

#

I'm not a moderator. I'm not an administrator.

finite junco
#

gang @night lily is friendly hes trying to exsplane that he doesnt have the ability

#

why u being mad

lucid walrus
#

i dont have permission to ummute yet

obtuse nebula
#

Opal is just our official greeter

night lily
#

Unofficial, please.

finite junco
#

@obtuse nebula loll

#

opal i have to wait 3 days right to unmute my self?

#

yo @night lily would u mind helping me make a game in python after i get my voice

#

Yo

#

u see this code

#

from ursina import *
from ursina.prefabs.first_person_controller import FirstPersonController
app = Ursina()
player = FirstPersonController()
Sky()

boxes = []
for i in range(20):
for j in range(20):
box = Button(color=color.white, model='cube', position=(j,0,i),
texture='grass.png', parent=scene, origin_y=0.5)
boxes.append(box)

def input(key):
for box in boxes:
if box.hovered:
if key == 'left mouse down':
new = Button(color=color.white, model='cube', position=box.position + mouse.normal,
texture='grass.png', parent=scene, origin_y=0.5)
boxes.append(new)
if key == 'right mouse down':
boxes.remove(box)
destroy(box)

app.run()

#

when i click run

#

it says

#

like when i run it

#

it says this

#

Traceback (most recent call last):
File "C:\Users\LEGION\Desktop\Python\Minecraft.py", line 1, in <module>
from ursina import *
ModuleNotFoundError: No module named 'ursina'

lucid walrus
#

yo @night lily Could you please tell me how I can get voice access?

night lily
finite junco
#

how do i do it

#

idk that

#

can u fix the code for me

night lily
#

!pypi ursina

timid fjordBOT
#

An easy to use game engine/framework for python.

Released on <t:1765059240:D>.

finite junco
#

i have to copy this?

#

pip install ursina

#

should i open my screen

#

i cant even do it

night lily
#

@lapis stag 👋

finite junco
#

i have already done that

#

no one has massaged

lapis stag
#

I cant talk till now 🙂🙂

#

Its too much

#

@night lily

finite junco
#

opal

#

quick quastion

#

i found how to instal ursina

#

i go to command prompt

#

@night lily

#

but it says this

#

'pip' is not recognized as an internal or external command,
operable program or batch file.

#

can u help

lucid walrus
#

try to run in terminal

finite junco
#

now it says this

#

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • pip install ursina
  •   + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
lucid walrus
#

@finite junco which code editor are you using?

finite junco
#

like where do i use python

#

?

#

i use idle

#

wait ill be right back

lucid walrus
#

i suggest you to use vs code

#

or try to use this "py -m pip install ursina"

night lily
#

@jovial drum 👋

jovial drum
#

hello

hasty spade
#

hey vn

#

you good?

night lily
#

!voice @jovial drum

timid fjordBOT
#
Voice verification

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

hasty spade
#

exactly

night lily
#

@wide dagger 👋

#

@frail tundra 👋

frail tundra
#

@night lily Hey?

night lily
frail tundra
#

Oh ye

night lily
#

So I waved to indicate the text channel for the voice chat.

frail tundra
#

Nvm im good with normal chat

#

Bro

#

i decided

#

imma learn html css and js

void talon
#

good plan

jade ridge
#

UCL Night - Visca Barca sleeping.

glad radish
#

can anyone help me java

#

am cooked

#

i have exam tommorow

nocturne osprey
#

I meant the voice channel

finite junco
#

WHY AM I STILL SUSPENDEDDD

nocturne osprey
finite junco
#

I cant open my micc

#

i am in this dc server for more that 3 days

#

bruh i have to be active in here

nocturne osprey
finite junco
#

ok

delicate saffron
#

guys i installed linux

#

in a vm.

#

and somehow my courser is faster than my daily drive windows11pro

#

someone explain hwo

kind heart
#

Hey there

kind heart
#

@unborn oracle they won't help you

#

In that server

#

I asked for help in general chat and they muted me

unborn oracle
#

really?

#

why

finite junco
#

what happend?

unborn oracle
#

i asked for help on a raspberry pi server

#

i keep getting an error

finite junco
#

whats that?

unborn oracle
#

microcontroller

finite junco
#

oh ok

unborn oracle
#

i mean the script is in python

finite junco
#

yo

#

u know pthon well?

#

u wanna help me on my project?

unborn oracle
#

i don t really know python that well i mean i have been learning it for 4 years but i still can t form a simple game on it

finite junco
#

i am making minecraft

#

i am working on it

#

like i am not doing it by my self

#

i watch a tut

#

u should watch tut u will imporve

#

u know i found somthing i hated coding but when i listen to a song and i code i like it

#

like song makes it better

unborn oracle
#

yea ik

#

i've changed programming languages quite a bit in the last years

#

got from pyton to java script

#

then html

finite junco
#

rn i am python i am trying to go to c++ cuz

#

most games make in c++

unborn oracle
#

and now i am learning once again python

#

it's harder but for game dev sure

finite junco
#

but

unborn oracle
#

unreal doesn't really require c++

finite junco
#

then i came back to pthon

finite junco
#

i to exams that u rlly know that about python then they change our level if we pass exam'

unborn oracle
#

i tried making a game only got a flashlight and some basics mechanics like health bar and stamina on it after 2 weeks

#

cool

#

im going to a html and css course right now

#

and i gotta finish my project

finite junco
#

my teacher game me homework that u make a game

#

i want tu suprize her and

#

i will ask her one condition

#

can i wear my headones wile i am coding at course

#

like i can code normaly

#

i always get ditracted

#

i cant focus

unborn oracle
#

cool

#

i wanna make a simple unit converter program with tinker

#

just to remember some stuff

kind heart
finite junco
kind heart
errant glade
#

hello

foggy vigil
#

Hello

night lily
#

@elfin oracle 👋

elfin oracle
#

sup

#

cant talk lol

#

thank you

#

its moring for me bro'

#

tell em what i have to do agian

night lily
#

@blazing mantle 👋

blazing mantle
#

Helllo

night lily
#

@blazing mantle I figured.

blazing mantle
night lily
#

@distant jetty 👋

distant jetty
#

hi

night lily
#

@errant steeple 👋

#

@grand belfry 👋

#

@obsidian cape 👋

#

@tired bolt 👋

void talon
#

🌊

night lily
#

@fossil tartan 👋

fossil tartan
#

Hey

#

I'm a new dev

#

I'm french

#

Hw ar u ?

#

Hi @mellow solar

#

I don't understand lol i'm so bad in english

#

Do you know a little french by the way?

night lily
#

Negligble amounts.

fossil tartan
#

XD

night lily
#

What exists in English.

#

English being a melange.

fossil tartan
#

Please don't speak too quickly so I have time to translate with Google Translate

#

Lol

fossil tartan
#

Why can't I talk in voice chat?

void talon
#

Gotta pass the gate

fossil tartan
void talon
#

Which is am utli step process

#

Easy but takes time

#

I don't think I'd ever lend a friend my car

fossil tartan
#

I can't do the verification because apparently I haven't been on the server for more than 3 days.

void talon
#

Yep

#

That's the time taking part

fossil tartan
#

Otherwise, how long have you been scripting in Python?

night lily
#

About ten years.

fossil tartan
#

OMG

#

I only started yesterday...

night lily
#

@young dew 👋

mellow solar
fossil tartan
young dew
fossil tartan
#

Ciao everyone

#

👋🏼👋🏼👋🏼👋🏼

void talon
distant cape
#

anyone wanna watch my live stream?

vast tusk
#

hey everyone

#

we won a robotics competition - Robofest 5.0 : using a raspberry pi 5 and pure grit

celest ravine
celest ravine
# runic girder Ah

kind a first time I'm contributing so I thought if I did something wrong

runic girder
celest ravine
#

yeah

runic girder
#

Idk if they’re making a valid point or not but you should just respond saying yeah this is a real person and maybe say why you created the issue

#

I don’t think they’re trying to be mean or anything

celest ravine
#

oh okay thanks

old stratus
#

the world isn't real

kindred kiln
#

@little burrow #python-discussion message

Yes ofcourse nothing really does, but that doesnt mean theres some other great movies out there you know. Its still very relevant

old stratus
#

everything is an illusion

kindred kiln
#

American Psycho perfectly illustrates the suppressed male anger

#

and just corporate hellhole slavery in general

foggy vigil
#

Hello everyone, anyone interested in a conversation so we can get verified?

civic fjord
#

I dunno about all that but I thought American Psycho was a perfect example of what happens when you push someone too far

#

@foggy vigil if you want to talk to me I would be interested

foggy vigil
#

What’s up man? How you doing?

civic fjord
#

hey sorry was helping someone else in a different chat

#

So what do you want to talk about @foggy vigil

foggy vigil
#

Well, what do you code?

civic fjord
#

right now i am doing some prectice problems from a workbook

#

i like to do some every morning to keep python sharp in my mind before i work on a project

foggy vigil
#

Cool man

#

Do you have any hobbies?

foggy vigil
civic fjord
#

I also have a multi-monitor setup so i can work while i chat

civic fjord
foggy vigil
#

All python related?

civic fjord
#

yes

foggy vigil
civic fjord
#

it depends on what you feel is a hobby

#

also I guess you could say python started as my hobby

#

now however i am trying to make it a career

foggy vigil
#

Oh alright then, are you quite new to python or have you been using it for a while?

civic fjord
#

I have been using it for 5-6 years

foggy vigil
#

Ever used an other programming languages?

civic fjord
#

well yes and no i use one made for a game engine called godot and the langauge is called gdscript and but i am not sure if that counts

foggy vigil
#

I’m not very knowledgeable about software related things.

#

What’s kept you going with python?

civic fjord
#

honestly I enjoy it, it gives me a fun challenge everyday, I get to create all kinds of awesome things and It gives me purpose

foggy vigil
#

Whats the coolest thing you think you’ve made?

civic fjord
#

Well do you mean by my definition of cool

foggy vigil
#

Ye

civic fjord
#

well then i would say my current unfinished project my custom text editor i am working on because i got sick of getting a good text editor but then a update ruins it where i have to look for one over and over again

foggy vigil
#

Oh, do updates to text editors really change that much?

civic fjord
#

depends on the update but yes sometimes they wreck a text editor for some while making it better for others not to mention i prefer to use free open source software for my work

#

it's not even because it's free that i use open source it's because i like that it's being shared to those that need it so they can find a good alterative so i use it to support the devs

foggy vigil
#

What do you think makes a good text editor?

civic fjord
#

well right now i am focusing on my core features i want to build and it depends on the user for me i like being able to have simplistic features but be able to make professional looking docs

#

i also like having a notepad like feature to add notes in places i need them

foggy vigil
#

And is coding a text editor quite difficult or no?

civic fjord
#

honestly it depends on how many bugs there are how i might figure out the logic and various other factors for now i gave myself a step by step goal by that i mean i set a short term and a long term goal as well as steps each day

#

also any project can be hard if you make it hard but if you take it one step at a time and don't focus on the full project then it's easier

foggy vigil
#

You come across any tricky issues so far, or has it been quite a smooth process?

civic fjord
#

actually i only started this project yesterday and i didn't get much done because i didn't expect to have visitors like i did yesterday this is the first day i have time to focus on it

foggy vigil
#

Before this project anything difficult?

civic fjord
#

all programmer's face difficulty it's not about difficulty it's about having 3 things 1 (the attitude) to keep going no matter how hard things look and to push past the problem 2 (knowledge) to know when things aren't going to work knowledge to know how to code 3 (passion) passion for the project. passion to build it or to design it without those things a programming project is just a job it's those things that turn it from a job to a career

foggy vigil
#

Have you found being in this server has helped quite a bit with your python programming?

civic fjord
#

honestly i can't answer that because i haven't been very active in this server not because i don't want to be but because my life is so busy right now but what little i am in here yes it has been helpful and i hope i have been as helpful to others as they have been to me

foggy vigil
#

Well, you seem to be a pretty nice guy for helping me with this.

civic fjord
#

thanks but might i ask what do you mean helping you with this

foggy vigil
#

To get my voice verification

civic fjord
#

ah ok I forgot that's what started this chat

foggy vigil
#

Ye, haha

civic fjord
#

well if your done i need to focus on my code so have a nice day

#

if not however i don't mind chatting a while longer

foggy vigil
civic fjord
#

your welcome good luck with your future programming

foggy vigil
timber bough
#

hlo

#

Anyone active

pseudo nimbus
silk trout
#

does anyone know how to make stuff on python?

#

if u do DM me

slow prism
#

where do i promote my coding lounge dc server

night lily
#

!rule 6

timid fjordBOT
#

6. Do not post unapproved advertising.

night lily
#

@wooden matrix 👋

wooden matrix
#

bye bro

night lily
#

@mild locust 👋

#

@warm linden 👋

#

@austere hawk 👋

sand dock
#

!voice

timid fjordBOT
#
Voice verification

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

sand dock
#

@austere hawk

austere hawk
#

?

sand dock
austere hawk
#

ty

sand dock
#

Chad (Old English: Ceadda; died 2 March 672) was a prominent 7th-century Anglo-Saxon monk. He was an abbot, Bishop of the Northumbrians and then Bishop of the Mercians and Lindsey People. After his death he was known as a saint.
He was the brother of Bishop Cedd, also a saint. He features strongly in the work of Bede and is credited, together wi...

night lily
#

@inland hollow 👋

#

@queen gyro 👋

lucid walrus
#

hi @surreal verge

lucid walrus
#

hi @crude pulsar

#

i dont have voice verified right now

crude pulsar
#

Hi Cryo

#

.help

#

.help

zenith path
edgy lake
#

@willow nymph i don't have permission to speak in this channel, mind switching to a different one?

night lily
#

@nimble pewter 👋

chrome vine
#

Good evening everyone, how are you all doing?

Can someone help me?
I've been studying Python for a while but haven't reached the junior level yet. Could someone tell me what a junior developer should know?

(I'm looking for a job in this field)

final delta
mellow solar
#

This is an off-topic-lounge

carmine sphinx
#

Is there a professional way of learning the exact type/variant/version of a mechanical part as we just see it from any type of machine as anything?

The source of the question comes from my goal. I'm trying to learn if there is a railcar that fits a certain monitor handle arm for walls so I can move the monitor freely in any axis along the wall in addition to the moving parts of the monitor arm, I want to have this combination to gain even more flexibility so I can position my monitor in certain ways which wouldn't be possible otherwise

proven ivy
kindred kiln
#

@proven ivy Can you go about more detail about what you are learning in biophyiscs, ethics, and anatomy?

#

im actually really interested because i might study it too

proven ivy
#

well, biophysics was the general stuff about how biological system work viewed from the laws of physics

kindred kiln
#

sorry about pressing you for specifics this just really interests me

#

all good if its too much effort

proven ivy
#

thermodynamics, a bit of chemistry, and then how some systems of the body work like vision, audition, how the lungs work

kindred kiln
#

makes sense

proven ivy
#

Also, the heart, and how radiation is used in medicine

kindred kiln
#

cell components? brain structures? mid brain, substantia nigra, ventral segmental area, etc?

kindred kiln
proven ivy
#

as I said, genereal.
the structure of the nervous system itself, as a whole, not looking into specifics of tiny parts of organs

kindred kiln
proven ivy
proven ivy
#

also, x-rays are, well, x-rays lol

kindred kiln
#

yep

proven ivy
#

they're also used in treatment too, the isotope I-131 because it likes to go to the thyroid glands

kindred kiln
#

also non ionizing radiation mechanisms like mri?

kindred kiln
#

my government actually gave me iodine pills for if nuclear war breaks out 💀

#

for thyroid protection

kindred kiln
#

pretty funny

#

like id say thyroid wouldnt be too important to protect

#

compared to other things

#

but

kindred kiln
proven ivy
#

Hormones are a hell of a thing to have without any sort of control

kindred kiln
#

you can just take t4

#

and t3

#

problem solved

proven ivy
kindred kiln
#

thyroid isnt rly needed

#

if you can dial in the t4 dose of like 80-160mcg or so

#

then its mostly totally OK

proven ivy
#

Id really prefer automatic regulation over being pilled-in for life

kindred kiln
#

my hormones are totally sub optimal

proven ivy
#

youll turn into a robot? lol

kindred kiln
#

not everyone's cup of tea

#

like yes the pituitary gland will continue to secrete TSH so if you supplement t4 its easy to get it dialed in

proven ivy
#

the whole purpose of those classes were to prepare us for stuff like Anatomy I etc

kindred kiln
proven ivy
#

those are really where ill cry lol

kindred kiln
#

but hey look at it as fun

#

its really interesting

#

like really really interesting

proven ivy
#

what are you studying?

kindred kiln
#

nothing im deciding what i should study

#

or do you mean what i study at home?

proven ivy
#

and you know that much? damn

#

memorization is an insane skill to have in these kinds of stuff

#

I lack in that a bit

kindred kiln
#

Memorization is also a learned skill, like yes some people have naturally superb memorization but it can also be taught and practised to an extent

proven ivy
#

but, its hard to get

kindred kiln
#

I find doing dual n-back coupled with writing notes on everything I learn boosts my memorization

#

that alongside very good quality sleep ofc

proven ivy
#

Ill look it up, thanks

kindred kiln
#

np

proven ivy
kindred kiln
# proven ivy oh yeah, i definitely need this

well for me since i run super hot at night:

water cooled blanket to keep temps down
blue light blocking glasses from 8PM

extended release melatonin from 8PM

instant release melatonin 10-20 minutes before bed + magnesium bisglycinate and valerian root

#

i have adhd so ive always had insomnia growing up

kindred kiln
#

but i avg 8h of good sleep now with avg falling asleep time of 5 minutes

proven ivy
#

I need to take notes from this lol

kindred kiln
#

youll suddenly start remembering everything you did the day before and even reading something once will just be stuck in the upper chamber

proven ivy
kindred kiln
#

id kms if this was the case for me lol

proven ivy
#

lol

kindred kiln
#

i get extremely agitated and angry when people ruin my sleep

#

but yeah something like obsidian or something for keeping notes is definitely a good way to keep things memorized

#

anyways thanks for all the info about what you're learning

kindred kiln
proven ivy
#

Is it good?

kindred kiln
#

very

#

i personally self host Outline

#

I used Obsidian before and just prefer the completeness and triviality of Outline

#

But Obsidian is basically this universal tool that you can tweak entirely to your liking

#

thousands of plugins you can install

proven ivy
#

oh, that sounds cool

kindred kiln
#

yeah its great

warm otter
#

guys

spiral elk
#

Guys

mellow solar
#

@night lily

night lily
#

In help channel.

mellow solar
#

Hmm?

night lily
#

I am helping someone

mellow solar
#

Ok

night lily
#

@digital obsidian 👋

gentle remnant
#

I just finished "AI 2041" by Kai-Fu Lee and Chen Qiufan. It’s a fascinating blend of sci-fi and reality that shows how AI will reshape industries, ethics, and our daily lives over the next two decades. https://youtu.be/NfVLHftAuOU?si=5hSx97j6cf6zxtUQ

Explore the future of AI through the lens of Kai-Fu Lee and Chen Qiufan’s "AI 2041." This video breaks down how storytelling and science come together to predict the next 20 years of human evolution.

▶ Play video
night lily
#

@native quiver 👋

#

@visual raven 👋

lean sun
#

sprinklx

visual raven
#

Hello

#

I don't actually have permission to speak

lean sun
#

springk lyx

night lily
visual raven
#

I just joined now the channel

#

I really have a huge question...

#

Well a bit of coding

#

I am a beginner..

#

Jkff

lean sun
#

you need "#" to make it big...

#

*huge

visual raven
#

Iwait

#

Wait

#

huge

#

Hehe

lean sun
#

huge question

visual raven
#

How did you do taht

#

That

#

???

lean sun
#

just copy the message

visual raven
#

Ohhh

lean sun
visual raven
#

huge question

#

Ohh

#

Wow 😲

#

Crazy

#

If didnt knew taht

#

That

lean sun
#

theres also different size

single

double

triple

visual raven
#

Wohh

#

You are a coder

#

?

lean sun
#

no....

#

im a programmer

visual raven
#

Zamn

#

So you know python..?

lean sun
#

not only python..... recently i use c++ mainly

visual raven
#

Ohh 😯

night lily
#

@pastel jay 👋

visual raven
#

I actually am a bignner for python though question was different

#

I started coding just 15 days ago

lean sun
#

cool

visual raven
#

🤔

pastel jay
#

i started coding just 4 years ago and i am beginner for python

visual raven
#

So many coders

lean sun
#

its hard to describe but you will be completely different

#

the way you see the world will be different

visual raven
lean sun
#

if you want to learn programming as carrier id suggest getting CS class

night lily
#

Career.

lean sun
#

lol

lean sun
visual raven
#

Do you enjoy it

lean sun
lean sun
night lily
#

It's a different word with a different meaning.

visual raven
#

You love it 🤔😁

lean sun
#

yeah but im going with miss's vibe lol

lean sun
night lily
lean sun
#

lol

lean sun
#

school project

#

took me only hour

#

well its long since i dont understand bash syntax completely

pastel jay
#

I'm glad that I found this server, but my English is too bad to communicate by voice.

nocturne kraken
mellow solar
#

<@&831776746206265384>

drifting spruce
#

remove this, we dont allow advertisement here

#

!warn 567699792495378432 you have a history here that shows you should know our #rules, if you break them again you will get permanently removed

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied warning to @acoustic pecan.

mellow solar
#

Wrong server

balmy brook
#

Yeah mb

tiny depot
#

How do I join vc

night lily
tiny depot
#

I dunno why it isn't working I tried verification

night lily
#

It will tell you.

tiny depot
#

I have anxiety I don't like texting

night lily
#

It should give you a message why when you push the button.

desert loom
#

I don't have permission to speak in the voice chat

#

@vapid wind

nocturne kraken
fluid rune
#

hi

#

In this AI era where AI assists with coding, I'm questioning my approach. I ask AI for ideas and code, but instead of copy-pasting, I have it explain each line to understand its function. However, I still feel like an impostor, lacking confidence because I'm not writing the code entirely myself, even though I understand what each line does.

night lily
#

Of understanding.

#

A lot of other people don't have that.

night lily
#

@visual spire 👋

#

@reef rune 👋

reef rune
#

hi

wintry osprey
#

Ohh

#

Hi

#

Oh

#

Well, it's alright

#

I've been not quite available here

#

I see

night lily
#

@reef rune 👋

night lily
#

@hallow shore 👋

hallow shore
#

Hiiii

#

Why is my speaking option not working??

night lily
hallow shore
#

Where r all talking??

ivory rock
#

I need a good friend

night lily
#

!rule 5

timid fjordBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

night lily
#

Please consider removing your post.

runic star
night lily
#

<@&831776746206265384>

round estuary
#

!warn 1101813308027306034 circumventing windows activation falls under our rule 5

timid fjordBOT
#

:incoming_envelope: :ok_hand: applied warning to @steep cradle.

steep cradle
night lily
#

That was the length and breadth of the time I was willing to allow to pass.

#

I'm actually quite sorry. It sucks, I know, but there is an existential risk to the server if messages like that are allowed to exist.

steep cradle
#

I am speechless

night lily
#

It's not good if this server develops any kind of reputation where that kind of circumvention of a potentially very litigious company's software is given safe harbour.

#

Please understand and accept my regrets.

steep cradle
#

That's the reason I asked in Offtopic

ivory rock
#

Yes I well not speak English

ivory rock
#

I well not speak English

#

I need help you

night lily
tidal dome
#

I am so sick of working/learning from home. i am sitting home since last 10 years. i learned programming and studied at home. i made only 30k$ in 5 years with freelancing. i procrastinate to improve my programming skills and apply for more projects. i feel like i have wasted years. i failed so many interviews but i still decline to make progress. i am thinking of getting coworking space membership. its 40$/month. getting out of home may improve my brain and i stop being lazy. environment change may help? what do you suggest.

final delta
void talon
#

A gap year? In this economy?

final delta
# void talon A gap year? In this economy?

Depending on the country and individual this may not be true.

The economy in western countries appears to be limited cause of AI but developing countries are not as much affected by AI as the west, primarily because of less Service Sector participation

#

It takes time to explore new paths and more importantly a free and boring time is must to understand yourself

void talon
#

So gap years are a normal thing for people in devleoping countries? Just take a year off?

void talon
#

A freelancer who is struggling for money is not an "IT Professional", not in my book at least. And I'm not sure a gap year is the solution for someone wiht a procrastination issue.

#

I say this as a procrastinator myself.

final delta
#

IT professionals in most developing countries are in the top 5% of income earner

final delta
void talon
#

Less procrastinating, more coding

#

IMO

#

i failed so many interviews but i still decline to make progress.

#

Or accept programming is not the field they want, either step up or down, no point in shuffling in circles if they , " feel like i have wasted years"

#

I prefer to encourage trying more, not quitting

tidal dome
#

next thing i am thinking to do is to go get coworking space membership. great working environment might force me to continue studying and working on projects. sitting home and thinking about problems can only destroy my career

ivory rock
night lily
#

What form of help?

ivory rock
#

In learning python

night lily
#

Ask questions.

#

Indicate difficulties.

ivory rock
#

You help me

night lily
#

Perhaps. Later. Not now.

ivory rock
#

In arrive to goal

#

Where are you from

night lily
#

🦘

ivory rock
#

What

night lily
#

🕷️ 🐍 🦈 🪼 ☀️

#

🇦🇺

ivory rock
final delta
# tidal dome i do like programming but currently i have alot of mental and physical illnesses...

In my opinion, procrastination is a survival mechanism to overcome an unhealthy work environment or routine, there might be a high chance that you have a bad routine / activity which compromises your body and mental well being.

I don't know how I can help or anyone out here in the python community can help with your concern, if it were a programming question we would be more helpful and accurate but it's about you and your life which can't be judged or assessed by me or anyone as we may not have the right idea about your circumstances and you

spice ridge
#

@night lily . I was saw this picture somewhere . I just wanted to know more about it , I thought you know more about it

night lily
#

@inland glade 👋

stray crescent
bold coyote
#

what is this place

#

the text chat for the vc chat

bold coyote
#

*i mean what kind of projects do you take on

bold coyote
#

he never answered

#

Thus Spoke Zarathustra

carmine sphinx
#

Hey any idea on what's the best website for a two dimentional weekly when to meet poll?

mellow solar
carmine sphinx
#

I just thought people here might know something

#

I also have found a cool website

mellow solar
#

3 off-topic channels

carmine sphinx
mellow solar
#

they change daily

carmine sphinx
#

I bet I would notice if they had the same name as the category name

mellow solar
#

it literally says: Off-topic/General above them

carmine sphinx
#

Yes

#

And it's smaller + never highlighted

void talon
void talon
#

You found this at the bottom of the list in the "Voice" section, but didn't stumble across hte offtopic channels. It fascinates me how frequently that happens.

carmine sphinx
void talon
#

Why people do what they do? It doesn't "matter" per se, but it fascinates me

#

I could go on living without knowing for sure

final delta
woeful beacon
kind sedge
#

hello theres

grim goblet
#

hello everybody

green patrol
#

Sudo apt -install coffee

mellow solar
toxic raptor
mellow solar
fleet python
#

@strange sigil hello

kind sedge
#

hello

kind sedge
#

anyone can help me out how can i verify mic

#

anyone there

winter robin
kind sedge
keen copper
#

bnjr

#

who can help me to do this i d like to know

final kestrel
#

what its talking about

mellow solar
final kestrel
mellow solar
final kestrel
#

Why you've send it ? (Just curious)

void talon
#

Because solving programming schoolwork is very on topic for this server (thoguh we don't do people's assignments)

#

and this is a place to talk about literally anything but code

#

so it's strange that people often find this channel and seek* programming guidance

#

when it's literally the one place on the server that's explicit purpose is not to code

final kestrel
#

ok thank you for the remind

void talon
#

so when noone's in there, there really shouldn't be too much going on here

steep cradle
#

@rugged ivy Photography

#

@strange sigil do you eat baguette a lot ? just asking

strange sigil
#

Pain

steep cradle
#

you know this

rugged ivy
#

YES

steep cradle
#

Eintopf also

#

Bratkartoffeln is just french Fires

rugged ivy
steep cradle
#

aircraf carrier

#

@rugged ivy u are playing war thunder

lone hollow
#

@violet wing

#

@violet wing

rugged ivy
lone hollow
#

!e

def loud():
    print("loud() ran!")
    return True

# 'or' short-circuits: True or ??? is always True, so loud() is skipped
print(True or loud())

# 'and' short-circuits: False and ??? is always False, so loud() is skipped
print(False and loud())```
timid fjordBOT
lone hollow
#

!e

string1, string2, string3 = '', 'Trondheim', 'Hammer Dance'

# Empty string is "falsy", so 'or' moves on. 'Trondheim' is truthy, so it stops there and returns it.
non_null = string1 or string2 or string3
print(non_null)  # Trondheim```
timid fjordBOT
lone hollow
#

!e

user_input = ''
default = 'Anonymous'

name = user_input or default  # use input if given, else default
print(name)  # Anonymous
timid fjordBOT
rugged ivy
#

!e

print("\`\`\`\n# goon\`\`\`\")
timid fjordBOT
# rugged ivy !e ```py print("\`\`\`\n# goon\`\`\`\") ```

:x: Your 3.14 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print("\`\`\`\n# goon\`\`\`\")
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1); perhaps you escaped the end quote?
rugged ivy
#

!e

ʤ,ʣ=1.79175946923,1.94591014906;print(str(round(2.718281828 ** ʤ))+str(round(2.718281828 ** ʣ)))
timid fjordBOT
rugged ivy
#

hehe

#

!e

print(''.join(__import__('builtins').map(lambda x:str(round(2.718281828**x)),(1.79175946923,1.94591014906))))
timid fjordBOT
rugged ivy
#

!e

print("\n# goon\n")
timid fjordBOT
rugged ivy
#

!e

print("```\n# goon\n```")
timid fjordBOT
# rugged ivy !e ```py print("```\n# goon\n```") ```

:x: Your 3.14 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     print("
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1)
rugged ivy
#

!e

print("\```\n# goon\n\```")
timid fjordBOT
rugged ivy
#

!e

print("\`\`\`\n# goon\n\`\`\`")
timid fjordBOT
# rugged ivy !e ```py print("\`\`\`\n# goon\n\`\`\`") ```

:white_check_mark: Your 3.14 eval job has completed with return code 0.

001 | /home/main.py:1: SyntaxWarning: "\`" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\`"? A raw string is also an option.
002 |   print("\`\`\`\n# goon\n\`\`\`")
003 | \`\`\`
004 | # goon
005 | \`\`\`
rugged ivy
#

damm it

#

!e

print(r"\`\`\`\n# goon\n\`\`\`")
timid fjordBOT
rugged ivy
#

!e

print(r"\```\n# goon\n\```")
timid fjordBOT
mellow solar
steep cradle
#

!e

timid fjordBOT
#
Missing required argument

code

steep cradle
#

!e [No output]

gusty ingot
#

hi

buoyant kestrel
#

!e

class Student:
  def __init__(self, name, age, favorite_subject):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def introduce(self):
    print(f"Hi!  I'm {self.name}, and I'm {self.age} years old.  My favorite subject is {self.favorite_subject}.")

billy = Student("Billy", 5, "math")
sally = Student("Sally", 6, "science")

billy.introduce()
sally.introduce()
timid fjordBOT
#

@buoyant kestrel :white_check_mark: Your eval job has completed with return code 0.

001 | Hi!  I'm Billy, and I'm 5 years old.  My favorite subject is math.
002 | Hi!  I'm Sally, and I'm 6 years old.  My favorite subject is science.
buoyant kestrel
#

@main root

#
billy.introduce()

# can also be thought as 
Student.introduce(billy)
languid warren
#

!e print('abc')

timid fjordBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

buoyant kestrel
#
def __init__(self):
main root
#

def something(self, a, b, c):

def doing_something(self):

tough fossil
#

Before you edited 'a' would've been 'self'

main root
#

%

buoyant kestrel
#
class SpellBase:
  def __init__(self, energy_points, hit_chance):
    self.energy_points = energy_points
    self.hit_chance = hit_chance

  
class Attack(SpellBase):
  def __init__(self, energy_points, hit_chance, damage):
    super().__init__(energy_points, hit_chance)
    self.damage = damage

  def deal_damage(self, enemy):
    pass
#
fireball = Attack(5, 95, 20)
ice_bolt = Attack(2, 85, 5)
main root
buoyant kestrel
#
class SpellBase:
  def __init__(
    self,
    name,
    energy_points,
    hit_chance
  ):
#
class SpellBase:
  def __init__(self, name, energy_points, hit_chance):
    self.name = name
    self.energy_points = energy_points
    self.hit_chance = hit_chance

class Recharge(SpellBase):
  def __init__(self, name, energy_points, hit_chance, charge_amount):
    super().__init__(name, energy_points, hit_chance)
    self.charge_amount = charge_amount

  def charge(self, player, opponent_spell):
    if opponent_spell in ["big bad mojo", "other_mojo", "mojo_deluxe"]:
      return
    player.energy_points += charge_amount
#

tolt = Recharge("tolt", 5, 100, 25)
tolt.charge(player_1)
#
class Player:
  def __init__(self, other_parameters_here):
    self.stunned = 0

  def cast_spell(self):
    if not self.stunned:
      do_the_spell_thing()
    else:
      self.stunned -= 1
meager anvil
#

why is it so long?

odd drum
#
def pregreeting(message):
    def nested_decorator(function):
        def modified_function(age):
            print("Je suis une fonction appelée en amont de {}".format(function))
            print("J'ai reçu comme paramètre du décorateur \"{}\" ".format(message))
            print("Et comme paramètre de la fonction initiale {}".format(age))

        return modified_function

    return nested_decorator


def greeting(age):
    print("Bonjour, j'ai {}".format(age))


decorator = pregreeting("Je m'appelle Frédéric")(greeting)  # Équivalent à @decorator("Je m'apelle Frédéric")
decorator()
#

TypeError: modified_function() missing 1 required positional argument: 'age'

meager anvil
#

decorator expects age

#

decorator(12)

odd drum
#

Thanks

meager anvil
#

pregreeting("Je m'appelle Frédéric") returns nested_decorator which is ready to be called with function

#
nested = pregreeting("Je m'appelle Frédéric")
modified = nested(greeting)  # Équivalent à @decorator("Je m'apelle Frédéric")
modified(12)
odd drum
#

So, in fact "modified" receives - implicitly -, a parameter so?

meager anvil
#

modified has a closure attached to it with values for message and function

odd drum
#

What you mean, is that, there is a closure behind the behavior of "modified"; as a process we can't see, because of python background stuff (working flow)?

#

It's just terrible to explain that with my pretty limited English XD

meager anvil
buoyant kestrel
#
spell_stats = # the spell numbers you got from the file
new_spell = SpellBase(*spell_stats)
#
spell_stats_dict = # assumes that you only have the key/value pairs for what the spell uses
new_spell = SpellBase(**spell_stats_dict)
#
spell = {
  "name": "Greg",
  "energy_cost": 5,
  "damage": 20
}

new_spell = SpellBase(**spell)
frank glade
#

kivy

buoyant kestrel
#
spellbook = {}

for spell in proba2.spells_name:
  spellbook[spell['name']] = Spellbase(**spell)
#

!paste

timid fjordBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

primal bison
#

main file:

import psycopg2
connection = psycopg2.connect(user="XXXXX",
                              password="XXXXXX",
                              host="XXXXXX",
                              port="5432", dbname="XXXXXX")

cursor = connection.cursor()

class User:
    def __init__(self, username):
        cursor.execute(f"SELECT userid FROM generaluserinfo WHERE username = '{username}';")
        self.userid = cursor.fetchall()[0][0]

class Groceries(User):
    def add_to_groceries(self, product):
        cursor.execute(f"INSERT INTO GROCERIESDB VALUES({self.userid},'{product.productname}', {product.amount});")
        connection.commit()

class Product:
    def __init__(self, productname, amount):
        self.productname = productname
        self.amount = amount

Test file:

from unittest.mock import Mock
class Test_Groceries(unittest.TestCase):
    def test_add_to_groceries(self):
        connection = Mock()
        cursor = Mock()
        g = Groceries('jamesbond')
        g.add_to_groceries(Product('durian fruit', 2))
        connection.commit.assert_called_once()
        cursor.execute.assert_called_with(f"INSERT INTO GROCERIESDB VALUES(1006,'durian fruit', 2);")

if __name__ == "__main__":
    unittest.main()
buoyant kestrel
#

!source

timid fjordBOT
buoyant kestrel
buoyant kestrel
main root
buoyant kestrel
#

So what you could do is do the whole if __name__ == "__main__": part and only put the functions you want to run in that part.

odd drum
#

It's not what I was waiting for, but thanks

buoyant kestrel
#

Yeah sorry. Short of just taking that code out and running only specific things, there isn't really much that can be done

odd drum
#
ALT+SHIFT+E will execute in console.

CTRL+SHIFT+A will let you search for hotkeys.
hazy python
#

Hello! So I am having trouble with this problem, in where it keeps saying that function has no attribute times_called. The function returns a reference to a function defined inside it: this internal/returned function takes one argument, and then when it is called the first time it computes the first function passed to function_cycler on its argument; when called the second time it computes the second function passed to function_cycler on its argument. I also need determine how function_cycler‘s returned function object can store an attribute named times_called: it stores the number of times function_cycler has been called. Apparently I can use rebinding with a nonlocal declaration? but im not sure where im going wrong.

hazy python
#

@buoyant kestrel if you arent too busy, cold you talk out my code with me?

primal bison
#

@ember scaffold

hazy python
#

def function_cycler(*fs : callable) -> callable:
#if called with no arguments, function_cycler should raise the TypeError exception

if len(fs) < 1:
    raise TypeError 
else:
    for function in fs:
        def innerfunc(x):
            times_called = 0
            return function(x)
    return innerfunc 

cycler1 = function_cycler( (lambda x : x), (lambda x : x**2))
print('Cycler 1:',[cycler1(x) for x in range(1,11)],'... times called: ',cycler1.times_called)

buoyant kestrel
#

!codeblocks

timid fjordBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
These are backticks, not quotes. Backticks can usually be found on the tilde key.
• You can also use py as the language instead of python
• The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
hazy python
pulsar lava
#

oh new channel

primal bane
#
linked2 = LinkedList()
linked2.add('forward', 1, 'a')
linked2.add('forward', 2, 'b')
linked2.add('forward', 3, 'c')
linked2.add('forward', 4, 'd')
linked2.add('forward', 5, 'e')
linked2.add('forward', 6, 'f')

print(linked2)
['a', 'b', 'c', 'd', 'e', 'f']

linked2 = LinkedList()
linked2.add('backward', 1, 'd')
linked2.add('backward', 2, 'e')
linked2.add('backward', 3, 'f')
linked2.add('backward', 4, 'g')
linked2.add('backward', 5, 'h')
print(linked2)
['d', 'h', 'g', 'f', 'e']
meager anvil
#

the last one supposed to be h g f e d?

#

@primal bane where is your code?

primal bane
#

petsqui, have u seen the sourcode?

#

oh i was wondering that

meager anvil
#

@primal bane did you write Node class?

primal bane
#

No, but i cannot change it. it is given sir

#

i cant figure why that first backward node is doing that

meager anvil
#

I dont quite grasp the concept of bacward and forward node in a linked list? what is supposed to mean?

primal bane
#

so

#

If it is backward with a given num, it will count from back of the list to the front

#

and if, lets say, the number is 2, then it will be the second the last item

#

and plus, every forward has to be in front(on the left side) of the backward

#
linked = LinkedList()
linked.add('forward', 2, 'apple')
linked.add('backward', 4, 'banana')
linked.add('forward', 4, 'orange')
linked.add('backward', 3, 'kiwi')
linked.add('backward', 4, 'strawberry')
print(linked)
['apple', 'banana', 'orange', 'kiwi', 'strawberry']
#

here, u can see that banana should be after orange.

#

petsqui, do u think u can figure something out?

#

or recommend a better algorithm to do the same

meager anvil
#

so when I insert backward node I go from the end to start until I meet a bacward node with number higher than my number or until I hit forward node with any number?

primal bane
#

hmm,, so if i have a backward node,

#

First, i have to go pass all the forward nodes

#

bacause backward is put after the forward nodes.

#

then, I have to put in the descending order of num

#

so num 5 of backward comes first, 4 of backward after

#

so on.

#

I hope this is clear

meager anvil
#

I see

primal bane
#

okay

#

Im wondering, if my algorithm for this is too unclear or not efficient, then thinking of changing the algo

#

But it seems like the algo performs well but there is unwanted value being carried somewhere when I start the backward nodes

meager anvil
#

you dont really check

#

added_node.get_type()

#

to skip forward nodes if it is bacwards

primal bane
#

oh

#

so are u saying that the type of my added is not in the function right?

#

is not being used

#

well, the thing is,

#

there is no way to skip

#

but just traverse over all of them and check

#

if it is backward

#

right?

#

well, u know, i think im gonna restructure all of it again

#

too confusing

meager anvil
#
linked = LinkedList()
linked.add('forward', 2, 'apple')
linked.add('backward', 4, 'banana')
linked.add('forward', 4, 'orange')
linked.add('backward', 3, 'kiwi')
linked.add('backward', 4, 'strawberry')
print(linked)
#(forward 2 apple)(backward 4 banana)(forward 4 orange)(backward 4 strawberry)(backward 3 kiwi)

doesnt with look right @primal bane ?

primal bane
#

bacward cannot be on the left side of forward orange

#

all of the forward on the left, all of the backward on right

spark bridge
#

any one can loop 2 line code for infinite?

#

no body????🥲

meager anvil
#
while True: pass
```?
spark bridge
#

no

#

loop 2 word same as
Ai
Ai
Ai
Ai
Ai
Ai
Ai

#

...

#

any one else

#

?

primal bane
#

while True == True:
print('ai')

#

like this?

#

yea pets

meager anvil
#

nvm

#

this looks good? (forward 2 apple)(forward 4 orange)(backward 4 banana)(backward 4 strawberry)(backward 3 kiwi)

primal bane
#

yeaaaaa

#

did u get that??

spark bridge
#

it had error

meager anvil
#
class LinkedList:
    # DO NOT modify __init__() part; No additional class variables are allowed
    def __init__(self):
        self.head : Node = None
        
    def add(self, typ, num, string):
        added_node = Node(typ,num,string)
        previous = None
        current = self.head
        while current is not None:
            if typ == 'forward' and (current.get_type() == 'backward' or num < current.get_num()):
                break
            elif typ == 'backward' and current.get_type() == 'backward' and num > current.get_num():
                break

            previous, current = current, current.get_next()
        
        if previous is None:
            added_node.set_next(self.head)
            self.head = added_node
        else:
            added_node.set_next(current)
            previous.set_next(added_node)

    
    def __iter__(self):
        current : Node = self.head
        while current is not None:
            yield current
            current = current.get_next()

    def __str__(self):
        return ''.join(
            f'({n.get_type()} {n.get_num()} {n.get_string()})' for n in self
        )

idk if code is correct tbh

spark bridge
#

while True == True:
... print("ai")
File "<stdin>", line 2
print("ai")
^
IndentationError: expected an indented block

primal bane
#

let me try out pet

meager anvil
#

!e

while True:
    print('cool')
timid fjordBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

meager anvil
#

hmmmm

primal bane
#

wait

#

i think u did it

#

wtf

#

let me test some other ways

#

can i please tell me what u changed?

meager anvil
#

I started from refactoring your loop