#off-topic-lounge-text
1 messages · Page 24 of 1
That's not spam
Spam is repetitive, context matters
Then you didn’t complete the task you needed
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?
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
Sounds like what’s supposed to happen
@willow nymph 👋
ok thanks, I'll check it out
Oh sorry but I have to live enough 1h and 30m
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
Hello
no i think hack and slash should be 3th
🌊
i like 3th way way batter than first
3d fallout isn't turn based
VATS slwos time
doesn't pause
I believe Fallout 1/2 was turn basd
i liked BDO was better if you did something liek that would be better i think
I SO WISH I CAN TALK !!! LOL
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. <-----
Issue with diablo as FP is the mob counts
can't see shit compared to what you've gotta
O_O
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
you could just make everthing AOE
@ancient current 👋
Im stealing gray matters from your brain without you all knowing it
lol yeah i know the feeling
The start is always hard, makes me feel dumb for not having the right neurons connections
I set up an AI image to make fantasy type images of what I'm working on for the game that I'm working on. So it gives me more inspiration. and it automatically makes it every 10 seconds and posted on my right screen. So it's kind of cool.
it has like 10k diff words combos so its kinda funny what it does
But I’m quite indecisive on various aspects of it
@nocturne kraken 👋
EHH but i was some really odd stuff like a Like a whale floating on code, which was really cool image.
he can't hear you he nots on voice 😛
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
@keen berry 👋
the problem is i can't find a way to keep a reel of image don't get me board.
HI
I’ll figure out my code, I’m sure you’ll find a solution for yours, you already came this far
oh gtg 👁️👁️ need food, supermarket on the day, perfect timing
i wish i could steam.... want to join a call real fast to show you what i mean?
maybe later
the server doesn't feel that inclusive as others ones do
Yes ! As soon as I’m home I’m free
point stands but have fun 🙂
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
@rapid rivet 👋
Hi
You are an Arab?
Yes
From which kingdom.
Jordan
✌️😣😖
@vast summit 👋
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
Another beautiful day
Just leave the country
Prepare to be able to do it at least
I hope I never need to go there for a long time
I hear uprooting and moving is as easy as ordering avocado toast. Just like walking the dog. The wife and kids love it too!
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...
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"
HolyLang's bootstrap compiler. Contribute to chadsec1/HolyLang development by creating an account on GitHub.
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
That is not so smart idea 🙂🙂🙂🙂🙂
😂. Why!!!!!! Why someone make this
Open private bro @inner lily
@leaden ore 👋
In a figurative sense, leaving aside that we are all of us mortal.
It's more of a psychological pain than physical.
I love you
@shut jay 👋
hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@finite junco 👋
@boreal helm 👋
hi
same
Hey can you open my mic please?
I do not possess that capability. Like any great and mythic adventure, the power is within you.
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.
Bro stop playing with me man
gang chill
I'm not playing with you. If you follow the instructions in #voice-verification you can unmute yourself.
@lucid walrus @shell olive 👋
I'm not a moderator. I'm not an administrator.
gang @night lily is friendly hes trying to exsplane that he doesnt have the ability
why u being mad
i dont have permission to ummute yet
Opal is just our official greeter
Unofficial, please.
@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'
yo @night lily Could you please tell me how I can get voice access?
!pypi ursina
i have to copy this?
pip install ursina
should i open my screen
i cant even do it
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
try to run in terminal
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
@finite junco which code editor are you using?
@jovial drum 👋
hello
!voice @jovial drum
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
exactly
@night lily Hey?
You joined voice without mic permissions.
Oh ye
So I waved to indicate the text channel for the voice chat.
good plan
UCL Night - Visca Barca sleeping.
I meant the voice channel
WHY AM I STILL SUSPENDEDDD
wdym?
I cant open my micc
i am in this dc server for more that 3 days
bruh i have to be active in here
Just go chat in any of the topical conversation channels. Or in #python-discussion . It'll pass by real quick trust me
ok
guys i installed linux
in a vm.
and somehow my courser is faster than my daily drive windows11pro
someone explain hwo
Hey there
@unborn oracle they won't help you
In that server
I asked for help in general chat and they muted me
what happend?
whats that?
microcontroller
oh ok
i mean the script is in python
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
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
yea ik
i've changed programming languages quite a bit in the last years
got from pyton to java script
then html
lol when i finsihed i went to roblox making game
but
unreal doesn't really require c++
then i came back to pthon
i go to a course
i to exams that u rlly know that about python then they change our level if we pass exam'
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
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
cool
i wanna make a simple unit converter program with tinker
just to remember some stuff
Hey there, can you help me??
with what?
Rpi 4
hello
Hello
sup
cant talk lol
thank you
its moring for me bro'
tell em what i have to do agian
@blazing mantle 👋
Helllo
@blazing mantle I figured.
okay
@distant jetty 👋
hi
🌊
@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?
Negligble amounts.
XD
Please don't speak too quickly so I have time to translate with Google Translate
Lol
Ho okay
Which is am utli step process
Easy but takes time
I don't think I'd ever lend a friend my car
I can't do the verification because apparently I haven't been on the server for more than 3 days.
Otherwise, how long have you been scripting in Python?
About ten years.
@young dew 👋
Did you create this?
hello
Looks like AOE2 to me, but I might be off
anyone wanna watch my live stream?
hey everyone
VYRA.ADV | 3rd Place at Robofest Gujarat 5.0 | India's Biggest Robotics Competition
We were told this was an engineering college-level competition. We showed up as 9th-10th grade school students. We walked out with 3rd Place and ₹2,00,000.
This is VYRA.ADV — Versatile YOLO Robotic Architecture, Autonomous Driving Vehicle. An AI-powered auton...
we won a robotics competition - Robofest 5.0 : using a raspberry pi 5 and pure grit
kind a first time I'm contributing so I thought if I did something wrong
Did you read the first reply
yeah
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
oh okay thanks
the world isn't real
@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
everything is an illusion
American Psycho perfectly illustrates the suppressed male anger
and just corporate hellhole slavery in general
Hello everyone, anyone interested in a conversation so we can get verified?
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
What’s up man? How you doing?
hey sorry was helping someone else in a different chat
So what do you want to talk about @foggy vigil
Well, what do you code?
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
What practice problems?
I also have a multi-monitor setup so i can work while i chat
just ones i get from a book
All python related?
yes
Do you have any hobbies?
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
Oh alright then, are you quite new to python or have you been using it for a while?
I have been using it for 5-6 years
Ever used an other programming languages?
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
I’m not very knowledgeable about software related things.
What’s kept you going with python?
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
Whats the coolest thing you think you’ve made?
Well do you mean by my definition of cool
Ye
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
Oh, do updates to text editors really change that much?
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
What do you think makes a good text editor?
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
How long you think the core features will take you?
And is coding a text editor quite difficult or no?
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
You come across any tricky issues so far, or has it been quite a smooth process?
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
Before this project anything difficult?
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
Have you found being in this server has helped quite a bit with your python programming?
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
Well, you seem to be a pretty nice guy for helping me with this.
thanks but might i ask what do you mean helping you with this
To get my voice verification
ah ok I forgot that's what started this chat
Ye, haha
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
Yeah i’ve got it now, thank you for this.
your welcome good luck with your future programming
Thank you
What do you want?
where do i promote my coding lounge dc server
Alas, to do so would be in contravention of established prohibition.
!rule 6
@wooden matrix 👋
bye bro
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@austere hawk
?
^
ty
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...
hi @surreal verge

@willow nymph i don't have permission to speak in this channel, mind switching to a different one?
Oh me too
@nimble pewter 👋
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)
he professional @spice ridge ask him about it!
This is an off-topic-lounge
#career-advice might be what you're looking for.
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 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
well, biophysics was the general stuff about how biological system work viewed from the laws of physics
examples?
sorry about pressing you for specifics this just really interests me
all good if its too much effort
thermodynamics, a bit of chemistry, and then how some systems of the body work like vision, audition, how the lungs work
makes sense
Also, the heart, and how radiation is used in medicine
cell components? brain structures? mid brain, substantia nigra, ventral segmental area, etc?
specifics about the heart like beta receptors? or just surface still
as I said, genereal.
the structure of the nervous system itself, as a whole, not looking into specifics of tiny parts of organs
i wonder why they are making you learn about radiation, sounds pretty interesting and not really anything i know much about apart from basics
ye got it
radiation is used in a lot of stuff, eg, the PET scan is Positron Emition Tomography
yep very true
also, x-rays are, well, x-rays lol
yep
they're also used in treatment too, the isotope I-131 because it likes to go to the thyroid glands
also non ionizing radiation mechanisms like mri?
ofc
yeah
my government actually gave me iodine pills for if nuclear war breaks out 💀
for thyroid protection
funn't
pretty funny
like id say thyroid wouldnt be too important to protect
compared to other things
but
It is
why
Hormones are a hell of a thing to have without any sort of control

thyroid isnt rly needed
if you can dial in the t4 dose of like 80-160mcg or so
then its mostly totally OK
Id really prefer automatic regulation over being pilled-in for life
im actually the opposite
my hormones are totally sub optimal
youll turn into a robot? lol
id rather be biologically performant than deal with a sluggish composition that will just hold me back basically
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
general brain structures?
more like globally, not really went into details
the whole purpose of those classes were to prepare us for stuff like Anatomy I etc
for example medically im not hypothyroidic, however being on T4 makes me feel a crap ton better because my TSH dangles between 3-7 which just makes me unnecessarily tired
those are really where ill cry lol
yeah
totally understandable lol
but hey look at it as fun
its really interesting
like really really interesting
what are you studying?
and you know that much? damn
memorization is an insane skill to have in these kinds of stuff
I lack in that a bit
Well TBH id argue that you could easily do the same with a bit of brain training and optimization
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
ofc you can, memorization is a skill
but, its hard to get
try something like dual n-back training and just doing daily reading
I find doing dual n-back coupled with writing notes on everything I learn boosts my memorization
that alongside very good quality sleep ofc
Ill look it up, thanks
np
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
damn
but i avg 8h of good sleep now with avg falling asleep time of 5 minutes
I need to take notes from this lol
may seem like effort but having good sleep is truly insane
youll suddenly start remembering everything you did the day before and even reading something once will just be stuck in the upper chamber
I always try it, but its basically impossible, my family just doesn't mind sleeping as late as possible and I can't sleep, they always call me for something at some point
Oh yeah you definitely need to try to make some rules with them not to disturb you after X time
id kms if this was the case for me lol
lol
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
Obsidian is a note-taking app?
yeah
Is it good?
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
oh, that sounds cool
yeah its great
guys
Guys
@night lily
In help channel.
Hmm?
I am helping someone
Ok
@digital obsidian 👋
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.
sprinklx
springk lyx
I just joined now the channel
I really have a huge question...
Well a bit of coding
I am a beginner..
Jkff
huge question
just copy the message
Ohhh
'#'
theres also different size
single
double
triple
not only python..... recently i use c++ mainly
Ohh 😯
@pastel jay 👋
I actually am a bignner for python though question was different
I started coding just 15 days ago
cool
How's it like being a programmer
🤔
i started coding just 4 years ago and i am beginner for python
Crazyy
So many coders
its hard to describe but you will be completely different
the way you see the world will be different
Elaborate I really wanna know right now I am in a phase of life where I have to decide a carrier 😆it'll be helpful to know if you are okay with telling me
if you want to learn programming as carrier id suggest getting CS class
Career.
lol
Computer Science
i like carrier lol
i cant explain with words
It's a different word with a different meaning.
You love it 🤔😁
yeah but im going with miss's vibe lol
we could probably contain some fighter jets....
I was thinking telecommunications.
lol
i havent seen this... but yeah
school project
took me only hour
well its long since i dont understand bash syntax completely
I'm glad that I found this server, but my English is too bad to communicate by voice.
💀 Reborn from death… but not as a hero.
I’ve become something else — an Undead Hunter.
In this Minecraft survival adventure, I rise again with one goal:
hunt, explore, and dominate everything that stands in my way.
🔥 What to expect:
• Exploration & dangerous encounters
• Intense hunting mechanics
• Cinematic moments & progre...
<@&831776746206265384>
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
:incoming_envelope: :ok_hand: applied warning to @acoustic pecan.
Wrong server
Yeah mb
How do I join vc
I dunno why it isn't working I tried verification
It will tell you.
I have anxiety I don't like texting
It should give you a message why when you push the button.
Just be active in different text channels
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.
That's the right way to use it, if at all. Viewed through the lens of competence.
Of understanding.
A lot of other people don't have that.
hi
@reef rune 👋
@hallow shore 👋
Where r all talking??
I need a good friend
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
Please consider removing your post.
Really
<@&831776746206265384>
!warn 1101813308027306034 circumventing windows activation falls under our rule 5
:incoming_envelope: :ok_hand: applied warning to @steep cradle.
Omg why bro i would have removed the message after reading rule
I'll direct your attention to the timestamps.
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.
I am speechless
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.
That's the reason I asked in Offtopic
Yes I well not speak English
Explain.
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.
Take a gap year and evaluate your journey.
Understand what you genuinely like to do and is healthy for you both financially, mentally and physically.
Earning a disposable income is important but enjoying what you do with little to no compromise to your well being is much more important
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
So gap years are a normal thing for people in devleoping countries? Just take a year off?
Yes for IT professionals
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.
IT professionals in most developing countries are in the top 5% of income earner
What could be an appropriate solution as per you?
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
i do like programming but currently i have alot of mental and physical illnesses. i blame them for my procrastination. or my will power isnt strong enough to continue working despite sickness.
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
I can not speak English
You help me
Perhaps. Later. Not now.
🦘
What
Good
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
@night lily . I was saw this picture somewhere . I just wanted to know more about it , I thought you know more about it
@inland glade 👋
what kind of work do you do
*i mean what kind of projects do you take on
Hey any idea on what's the best website for a two dimentional weekly when to meet poll?
why are you asking in a txt chat that is ment for Off-topic lounge vc?
Is there any off topic channel here?
I just thought people here might know something
I also have found a cool website
Why do they have such names though
they change daily
I bet I would notice if they had the same name as the category name
it literally says: Off-topic/General above them
#community-meta Great place to discuss the server.
I see you've been here over 2 years... this channel is relatively new, like months old (well, renamed)
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.
Yeah I barely use Discord
I get it but does that even matter? I honestly wouldn't care
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
Python Staff hire Milien 😄
hello theres
hello everybody
Sudo apt -install coffee
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"
https://github.com/chadsec1/HolyLang
@strange sigil hello
hello
go to rules
got it i got verified 🎊
Also.
what
what? this is off-topic-lounge-txt channel.
Why you've send it ? (Just curious)
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
ok thank you for the remind
It's also supposed to be the text chat for hte voice channel #764232549840846858
so when noone's in there, there really shouldn't be too much going on here
Pain
you know this
@violet wing
@violet wing
!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())```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 | True
002 | False
!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```
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Trondheim
!e
user_input = ''
default = 'Anonymous'
name = user_input or default # use input if given, else default
print(name) # Anonymous
:white_check_mark: Your 3.14 eval job has completed with return code 0.
Anonymous
!e
print("\`\`\`\n# goon\`\`\`\")
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | print([1;31m"[0m\`\`\`\n# goon\`\`\`\")
003 | [1;31m^[0m
004 | [1;35mSyntaxError[0m: [35munterminated string literal (detected at line 1); perhaps you escaped the end quote?[0m
!e
ʤ,ʣ=1.79175946923,1.94591014906;print(str(round(2.718281828 ** ʤ))+str(round(2.718281828 ** ʣ)))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
67
hehe
!e
print(''.join(__import__('builtins').map(lambda x:str(round(2.718281828**x)),(1.79175946923,1.94591014906))))
:white_check_mark: Your 3.14 eval job has completed with return code 0.
67
!e
print("\n# goon\n")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
001 |
002 | # goon
!e
print("```\n# goon\n```")
:x: Your 3.14 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m1[0m
002 | print([1;31m"[0m
003 | [1;31m^[0m
004 | [1;35mSyntaxError[0m: [35munterminated string literal (detected at line 1)[0m
!e
print("\```\n# goon\n\```")
:warning: Your 3.14 eval job has completed with return code 0.
[No output]
!e
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 | \`\`\`
:white_check_mark: Your 3.14 eval job has completed with return code 0.
\`\`\`\n# goon\n\`\`\`
!e
print(r"\```\n# goon\n\```")
:white_check_mark: Your 3.14 eval job has completed with return code 0.
\
!e
code
!e [No output]
hi
!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()
@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.
!e print('abc')
You are not allowed to use that command here. Please use the #bot-commands channel instead.
def __init__(self):
def something(self, a, b, c):
def doing_something(self):
Before you edited 'a' would've been 'self'
%
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)
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
why is it so long?
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'
Thanks
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)
So, in fact "modified" receives - implicitly -, a parameter so?
modified has a closure attached to it with values for message and function
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
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)
kivy
spellbook = {}
for spell in proba2.spells_name:
spellbook[spell['name']] = Spellbase(**spell)
!paste
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.
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()
!source
@frank glade https://pypi.org/project/playsound/
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.
It's not what I was waiting for, but thanks
Yeah sorry. Short of just taking that code out and running only specific things, there isn't really much that can be done
ALT+SHIFT+E will execute in console.
CTRL+SHIFT+A will let you search for hotkeys.
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.
@buoyant kestrel if you arent too busy, cold you talk out my code with me?
@ember scaffold
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)
!codeblocks
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!')
oh new channel
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']
@primal bane did you write Node class?
No, but i cannot change it. it is given sir
i cant figure why that first backward node is doing that
I dont quite grasp the concept of bacward and forward node in a linked list? what is supposed to mean?
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
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?
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
I see
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
you dont really check
added_node.get_type()
to skip forward nodes if it is bacwards
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
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 ?
bacward cannot be on the left side of forward orange
all of the forward on the left, all of the backward on right
while True: pass
```?
nvm
this looks good? (forward 2 apple)(forward 4 orange)(backward 4 banana)(backward 4 strawberry)(backward 3 kiwi)
it had error
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
while True == True:
... print("ai")
File "<stdin>", line 2
print("ai")
^
IndentationError: expected an indented block
let me try out pet
!e
while True:
print('cool')
You are not allowed to use that command here. Please use the #bot-commands channel instead.
hmmmm
wait
i think u did it
wtf
let me test some other ways
can i please tell me what u changed?
I started from refactoring your loop
