#voice-chat-text-0
1 messages · Page 377 of 1
Ya joined this server almost a year back still I am unverified.
You know what you need for it right?
50 messages
Go here #voice-verification and check again :p
I had started learning python so I came here to connect with people.
Fair enough!
I got verified 😳
Yay 😁
Btw are you also from india?
Nope! Sorry.
@timid marten
I can't talk
good how about you ?
I really wouldn't be able to understand you
I am only 14 ig
huh ?
I guess u are an adult
I am almost a teen
:/
aw thats fine
how old ru ?
oh k
yeah
just chilling
i am making a math project
I am designing a map of a hospital
so that old people won't get lost ig
can you spell it
i really couldn't hear it
AutoCAD
i will check rn
but i wont be able to write so
oh i was thinking about an easy model that people at the age of 45 - 70 would be able to understand
It looks a bit complicated
my friend is very good at blender
he is making a model
and i will write some codes so that i will be able to render it
but i have zero idea which module i gotta use
i have only 2 week knowledge of python
yk like pyvista or curses ?
aren't those called modules ?
yeah
but i don't know which one to use
i wanna also make it easy for people who don't know how to use pc
yeah
exactly
alr
i will check ig
it's cool
what do you usually do on python ?
so it is like png to jpg ?
like you give the file and it changes it ?
oh i have zero idea 😆
I really don't know about excel or math
sjdnfsd
It is cool
don't do that
u r cool
hold it
i have pydeck
i found that
i found pydeck
by seacrhing
it is for map making
so i will check if it helps me
also if i have poor english pardon me
my native launguage is turkish
yeah I don't get those sfjsvfgs
bruh
ok i am "pip installing" pydeck currently
yeah
i think powershell works better tho
yeah yeah
it looks like hacker type of stuff
yk the downloading
ohh pydeck wasn't the think i needed oh my gooooooooooood
i am so dumb
how about i just get lazy and do this the good old 2d modeling
I am also gonna use this on a race so i think i shouldn't do that
like the goverment will look at our project and they will say if it is good or not
and if they like it they invest on you
well they got the money and i don't
bruh
who got out ?
oh gtg
hey
will this work ?
error_channel = bot.get_channel(alLogs)
if error_channel:
await message.delete()
print("Error handling anti-link action: Insufficient permissions")
logs_message = discord.Embed(
title=":link: Anti-Link System :link:",
description="I don't have permission to ban the user. Please add me the necessary permissions.",
color=discord.Color.red()
)
await error_channel.send(embed=logs_message)```
:incoming_envelope: :ok_hand: applied timeout to @onyx void until <t:1733235361:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
!unmute 1069627458791420025
:incoming_envelope: :ok_hand: pardoned infraction timeout for @onyx void.
stuff at work broke (without me involved in it)
what do u mean ?
(I was responding to voice chat)
oh ok
@indigo forge
ig its wrangling over some budget bill stock manipulation by his wife.
So what kind of Python help were you needing
🛑
I wanted to ask, is it possible that during dataframe merges
That indexes are spawned
Like I'm reset dropping that bitch
Next thing I know its back
Or am I an idiot
Wait I think I get what you mean
Might make sense here
hold up
I crave for coke
cola or..
ahm yes
cola
Kinky
Milien sounds sweden
My picture was in sweden
Yes I said it that way
Cause im quirky
snapshot on each change
Oh SNAPshot
empirically stabby
Talk about stabing, Animmo has bullets in his pfp
When you get shot is that technically being stabbed by a bullet?
pierced, certainly
yes
yo man
not sure about stabbed
np
panic! at the parliament
hi
what yall doin in vc
Chillin'
eh idk
Bein' where it's at'n
Enjoyin' and vibin'.
meowin'
makes sense
umm
I read fetus
Bruh
me too
BRuH
I know it's working, but for some reason this particular file is being a pain
it happens
Weird, it's JUST on this file
good
fm -rf 
الله اکبر :)

rm -fr -- remove for real
Oh you know what
I'm thinking this isn't one that'll be auto fixed
I have no idea why I thought that
intrest BatmanConfused
Yeah, I'm an idiot
basedPyright is the thing calling it out, not ruff
So I don't have a rule to fix it
Yep, I'm just dumb
Hmm
I want to make it not use Optional but I really really REALLY don't want to do it by hand
I could do it via regex but....
Eh
I just ate an rpg to the face.
is it even regexable
It is
Were you trying to use Optional?
Sure, but it'll always have Optional[]
So I just have to check for the closing bracket
I've seen | None as better practice.
Optional["Stuff[Aaaaa]"]
ALSO, since I'm doing from __future__ import annotations it's not an issue
Shit, good point
Hmm
Fine ant shawl.
hi
Optional[Annotated[str, Field(examples=[":]]]]]"])]]
You Dimitri
yeah ?
Sorry, meant Yo
oh ok
brain-integrated spellcheck malfunction
My hands are not typing what I'm thinking today
hehe me too 🙂
Do you like my new anti-Linker ??
from datetime import datetime
import pytz
import discord
from theboys import *
banned = False
@bot.event
async def on_message(message):
if message.author.bot:
return
try:
entry = await message.guild.fetch_ban(discord.Object(id=message.author.id))
if entry.reason and (entry.reason.startswith("[Anti-Link]") or entry.reason.endswith("[Anti-Link]")):
bannedByAntiLinkSystem = True
else:
bannedByAntiLinkSystem = False
except discord.NotFound:
bannedByAntiLinkSystem = False
if any(link in message.content.lower() for link in possibleLinks):
logs = bot.get_channel(alLogs)
try:
with open(antilink_file, 'a') as file:
file.write(f"{message.author.id} - {message.content} - {datetime.now(pytz.timezone('Europe/Athens')).strftime('%Y-%m-%d %H:%M:%S')}\n")
user_links = {}
with open(antilink_file, 'r') as file:
for line in file:
user_id = line.split(' - ')[0]
user_links[user_id] = user_links.get(user_id, 0) + 1
if user_links.get(str(message.author.id), 0) >= 3:
await message.guild.ban(message.author, reason="[Anti-Link] Sent more than 2 links")
await message.author.send("You have been banned for sending links more than 2 times.")
bannedByAntiLinkSystem = True
return
await message.delete()
if "discord.gg" in message.content.lower():
link_type = "Discord"
else:
link_type = "Website"
await message.author.send(
f"Please do not send links! If you do this 3 times, you will get banned. "
f"Link Type: {link_type}"
)
greek_time = datetime.now(pytz.timezone("Europe/Athens"))
formatted_time = greek_time.strftime("%Y-%m-%d %H:%M:%S")
logs_message = discord.Embed(
title=":link: Anti-Link System :link:",
description=(
f"**User**: {message.author}\n"
f"**Message Content**:\n```{message.content}```\n"
f"**User ID**: ```{message.author.id}```\n"
f"**Link Type**: {link_type}\n"
f"**Time/Date**: {formatted_time}\n"
f"**Script Version**: SS_AntiLink V2.1\n"
),
color=discord.Color.red()
)
if logs:
await logs.send(embed=logs_message)
except discord.Forbidden:
error_channel = bot.get_channel(alLogs)
if error_channel:
await message.delete()
print("Error handling anti-link action: Insufficient permissions")
logs_message = discord.Embed(
title=":link: Anti-Link System :link:",
description="I don't have permission to ban the user. Please add me the necessary permissions.",
color=discord.Color.red()
)
await error_channel.send(embed=logs_message)
except Exception as e:
error_channel = bot.get_channel(alLogs)
if error_channel:
await message.delete()
print(f"Error handling anti-link action: {e}")
logs_message = discord.Embed(
title=":link: Anti-Link System :link:",
description="An unexpected error occurred while processing the message.",
color=discord.Color.red()
)
await error_channel.send(embed=logs_message)
await bot.process_commands(message)
Ooo, that's actually pretty cool
thanks 🙂
@prime coral @hybrid lance 👋
Hi
do recommend and changes ?
Hello everyone!
hi
Hello👋
What are you guys doing?
Just your friendly neighborhood IT guy.
I'm fighting in Iraq clearing insurgents.

😅 😂
what?
No no, the oh wait was for me
Was thinking about the regex for swapping out the Optional thing
okkkk
!d ast.unparse
ast.unparse(ast_obj)```
Unparse an [`ast.AST`](https://docs.python.org/3/library/ast.html#ast.AST) object and generate a string with code that would produce an equivalent [`ast.AST`](https://docs.python.org/3/library/ast.html#ast.AST) object if parsed back with [`ast.parse()`](https://docs.python.org/3/library/ast.html#ast.parse).
Warning
The produced code string will not necessarily be equal to the original code that generated the [`ast.AST`](https://docs.python.org/3/library/ast.html#ast.AST) object (without any compiler optimizations, such as constant tuples/frozensets).
Warning
Trying to unparse a highly complex expression would result with [`RecursionError`](https://docs.python.org/3/library/exceptions.html#RecursionError).
Added in version 3\.9\.
what is the !D?
documentation
!help d
!docs [symbol_name]
Can also use: d, doc
Look up documentation for Python symbols.
Subcommands:
!docs cleardoccache <package_name>
Clear the persistent redis cache for package.
!docs deletedoc <package_name>
Removes the specified package from the database.
!docs getdoc [symbol_name]
Return a documentation embed for a given symbol.
!docs refreshdoc
Refresh inventories and show the difference.
!docs setdoc <package_name> <inventory> [base_url]
Adds a new documentation metadata object to the site's database.
It'll let you search through the Python docs and a few others
okay thats intresting
You get to see a few other things than most people, AF
By default, it's !d is !docs getdoc
bro how did you get this ??? @rugged root
Shit, they're getting close. I'm sorry Nancy, kiss junior for me.
By doing a short quiz and being a mod/admin. It's not a thing you can get anymore
damn i wanted this too
@drifting latch are you currently in where I think you are?
@rugged root another Rust thing to play with https://doc.rust-cqrs.org/
Sgt. Ace, KIA.
Ooooooooooooooo
Pretty
not really client-side-friendly
so it's time to write a SQLite thing for it
or sled
though sled does not have async
and neither does SQLite make too much sense to use with async directly
I mean how often are you going to need async for SQLite
If your demands hit that then you're doing it wrong
and cqrs-es is very async
when non-blocking is a requirement
Fair
the more embedded it gets, the more async/non-blocking it gets because of resource constraints
threads aren't cheap
it's not really concurrent on its own
I'd be curious to see how async wrappers around SQLite work
Support for the SQLite database via the aiosqlite driver.
DBAPI
Documentation and download information (if applicable) for aiosqlite is available at: https://pypi.org/project/aiosqlite/
Connecting
Connect String:
sqlite+aiosqlite:///file_path```...
Threads and sentinels?
We got there in the end
ye saudi dont have tax system, tahst why people go there
That's what I think of when I hear Sentinel
Good ol' X-Men
So it's just a side running queue?
yes
It's still synchronous just not blocking
@ivory salmon @opaque jungle 👋
it's synchronous and blocking in implementation
Yo
you just get an asynchronous non-blocking interface to it
it's okay-ish, because when the disk gets slow, all requests are expected to block
and now realise each stat here is a computed by separate thread
https://ccms.parrrate.ru/stats/
New row die verge ant.
There's a lot of ants
@rugged root how much RAM do you expect this to take?
80HD.
Work's domain filter is bouncing it
I would think... your RAM usage may be higher but the demand on it isn't as long
Are they persistent threads?
many threads spawned at the start of the program
* 19
16 stats + 2 ratings + 1 event log
@grave python 👋
hello
@rugged root https://youtu.be/sNjWpZmxDgg
for ~36 threads (including main and whatever is doing IO)
more lightweight than expected
but still somewhat much
idk mann
maybe
"I as admin will end you. I as Hemlock will high five you."
https://www.nonpaints.com/en/crop-caramel-wheel-with-thread
This caramel wheel from CROP is made of special rubber, which smells like caramel, so the disc does not scratch car paint while grinding and removing the sticker on the car.
what?
I would just keep sniffing it.
It was middle-eastern.
Dancey type.
Dananana, shake your hips, and so forth.
I had ambitions of world domination and challenging the malaysia special forces.
We lived different lives.
@rugged root @peak depot There is a unit called "Human rights and how to gain them"
💀 💀 💀 💀 💀
HA
That's insane
I love it
Your uni sounds like they have a great sense of humor
soooo... it´s for women only?
💀 💀 💀 💀 💀 💀 💀
high school makes you think that you have to care about what people think about you
Me now ☝️
"Oh ma gawd, Jessica. This guy Ar-sth said he liked me, like bruh. Like I don't even know ya, like whatevaa! I said nuh thank yeh!"
"Oh ma gaawwd! That's sooo cringe, aww dude."
Highschool in a nutshell.
Are you even good friends?
Otherwise, I pretty much guarantee you you'll just embarrass yourself.
He won't get kicked out.
What do you think Middle-east is?
He'll just get a stern "Don't do that at school please."
Kids these days know more than adults. Conservatism has no meaning for them.
I 100 percent bet none of the kids are remotely religious.
Yeah, no.
God, I remember back in my highschool there was this friend group of boys and girls. By the end of the 2nd year they had practically swapped partners to exhaustion of the possible sets.
@vale merlin What's the issue you're having?
Need this to be an email signature.
ChatGPT. Why
lambda match: f"{match.group(1)} | None" if "|" not in match.group(1) else f"({match.group(1)}) | None"
Why do you hate me
So fucking gross
ChatGPT sucks ass.
It's hit and miss
It has forced me to write everything on my own. Blessing in disguise.
Yes. The mag is empty by the time it is about to hit the target.
How I can do it in python turtle ?
I am not sure if this is the place to bring it up, but I am trying to voice verify. It is saying You have been on the server for less than 3 days, But when I use !user I see
Joined: 3 days ago```
Timezone issue?
it's 3 full days, whereas the date display rounds
Perfect. Thanks
😭😭
new day .. new energy
Hi lol
@lean heath 👋
👋
@317279909112446976 🙂
😀
It's winter here
@restive yacht 👋
hello
We can sit here silently in the call
Procrastination
Yes indeed
Well I am supposed to be studying for my ap calc exam
You should ignite the conversation again by asking me another question
Questions
Ask me a question about questions
Haha
Sure
Sydney?
What brings you into this thriving video call with me on this momentous day?
Wow
Pandemic brought you here?
I think I’ll go study now, don’t want to fail my ap calc exam!
Break both hands.
I’ll do it for you
Andrew Tate's Hustler's University, aka The Real World, was recently attacked by an unknown group of hackers. Let's reverse engineer the tech stack and find out how the hack was performed.
#tech #hacker #thecodereport
💬 Chat with Me on Discord
🔗 Resources
Wayback Attack https://youtu.be/N3ZGNT5S5IU
XZ Hack https...
bro got humbled
@obsidian dragon If your burger is malfunctioning, does that mean you have to run a deburger on it?
a reburger
cause u need 50 messages in here
Oh man
did u leave and join again?
ig
ago
welcome
How do i open and parse pcap file?
idk
oh ok np
hii
nobody moves ! 🚨 👮♂️
??
@hardy sinew @vestal pier 👋
hai
Hello
@idle jolt 👋
hey
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
idk if they are in the vc
- Go to a different server.
- Look for free offers.
- Be in a good country.
ok thanks
find giveaways
maybe use microsoft rewards to get amazon giftcards
and then use them amazon giftcards to get google play ones
then get nitro with that
there could be a tts vc bot here
okie dokie
can i have permission for sharing my screen?
I kinda feel like having a break from making my project thingy for today
I have made a kinda version of discord bot streaming before
@timid marten Audio bleed. 😁
but it just has to be done through an image
Rip me again.
and edit the image 5 times per second so u kinda geta stream
!e py for value in 'abc': print(value)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
MCreator is open source software used to make Minecraft Java Edition mods, Bedrock Edition Add-Ons, and data packs using an intuitive easy-to-learn interface or with an integrated code editor. It is used worldwide by Minecraft players, mod developers, for education and by STEM workshops.
!e
print("e")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
e
!e py for value in range(3): print(value)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
!e
while true:
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | while true:
003 | IndentationError: expected an indented block after 'while' statement on line 1
what happens if you do while true print?
Create animated videos using blocks, items and the lovable characters from Minecraft.
!e
import time
while time.sleep(1):
print("e")
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 4
002 | print("e")
003 | ^
004 | IndentationError: expected an indented block after 'while' statement on line 3
@terse rose
guys
I finally typed it
Here is wut im doing:
I record Minecraft footage with my rotation and position coordinates on the screen.
An OCR reads that stuff every frame of the video then puts all the data in a JSON file every frame.
A script in blender converts that data from the file and changes it all into keyframes for the camera in blender's rotation and position so I can then add things into blender and it basically just skips me having to motion track.
and idk any easier way to do that
I said wut it is
ye
so then it converts it to blender
ye
its basically skipping the motion tracking step
well adding things like liquid physics into minecraft footage
ot anything really
motion capture from minecraft and output motion to blender
But not in real time
this @hardy sinew
Create animated videos using blocks, items and the lovable characters from Minecraft.
no I mean I don't want it to do it in real time thats why
Ill get an example someone made
too realistic minecraft slime. Minecraft RTX ON
If you want to show additional support ♥️
Buy Me a Coffee: https://www.buymeacoffee.com/BeefYT
This video now probably has the most time spent out of all my videos. I apologize for not uploading too frequently, these take a lot of time, I wish it was faster. I appreciate the new support on my oth...
that's what made me wanna do it
but they used motion tracking to do that
but I wanna skip that step bc it takes too long
but what i'm saying is that video is a render and not real time or a mod
Hello gaiz.
£ ?
poundland
y
its my favorite shop
opal
do u like poundland
oh ur not in bri'ish
it is
each of these meme was a word one of you said
what if we make a bot which listens to what vc says and posts searched tenor gifs for words people say
interesting idea
I wouldnt say its violating privacy as long as it doesnt save recordings
with my thing I said about theses just one problem still
and its that minecraft is dum and doesnt update the position coordinates every frame
so I gotta figure out how to get around that
Why would it?
but like what im trying to make ti do is this so that I can put anything in blender into minecraft footage
Rotation is client side?
x y z yaw pitch
pitch is the top number
Because server has to agree
hmm
I can still use some way to make it do it accurately
by skipping frames and slowing down minecraft tick rate
so im trying that now
I was afk
here ?
what
nothing
o
also do you have any idea of how I can you know use a 3d model and just walk in it with wasd
what do u mean
Is that possible in python ?
oh
like a game ?
like pygame?
Can I use 3d models ?
At this rate, you might as well make a game engine?
not sure
Well..use a game engine :p
I don't know man
i am trying to make a map like thing
and i wanna be able to make you see where you need to go with wasd
lemme check pygame ig
new mic in 1~2 days;
so I can stay muted with higher quality
Was gonna say
Nice!
-r * without / or f
this will skip hidden and protected files
or error on protected
or ask
Oh, AF you might know or probably not, but I'm going to be annoyed by it anyway
So I'm trying to configure something in ruff. Trying to have ruff just add the trailing commas to function calls and definitions and what have you. I found a rule for it, but it mentions that it's redundant because the formatter already enforces consistency for trailing commas. But I can't find where that is or how to configure that and it's irking the shit our of me
An extremely fast Python linter and code formatter, written in Rust.
An extremely fast Python linter and code formatter, written in Rust.
random stuff order: mic, cursed-looking sd card reader, micro sd card, power strip, rpi4 b 8gb
Question, my code doesn’t seem to recognize “said.”
When counting word occurrence as in punctuation it doesn’t read it and will say 0 times
!e
if 1+1 == 2:
print("e")
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 2
002 | print("e")
003 | ^
004 | IndentationError: expected an indented block after 'if' statement on line 1
blocke
huh?
why is discord embedding in reverse order
the video game minecraft blocke
ruff and stuff is often configured in pyproject.toml
!e
sentence = (input("Sentence:"))
s2 = sentence.split()
word = (input("Word to look for in sentence:"))
count = 0
for i in s2:
if i.casefold() == word.casefold():
count = count + 1
print(f"There are {count} occurrences of '{word}' in the sentence")
at least from what I've heard
Because...
Yeah I've got the configs there
I thought casefold() would be able to detect punctuation but it seems not, would I add something to the line for punctuation?
!d re
Source code: Lib/re/
This module provides regular expression matching operations similar to those found in Perl.
Both patterns and strings to be searched can be Unicode strings (str) as well as 8-bit strings (bytes). However, Unicode strings and 8-bit strings cannot be mixed: that is, you cannot match a Unicode string with a bytes pattern or vice-versa; similarly, when asking for a substitution, the replacement string must be of the same type as both the pattern and the search string.
also going to relearn quite a lot of vocal stuff, since I haven't practiced that much recently
:(
is it too wok?
Nah it's just not necessary for my ears XD
Mmmm.. stir-fry....
Too wok...
@timid marten it's over

Ahab. "Call me Ishmael...."

I can hear the nose bleed
Love it
brb
assignment is done mostly based on anatomy not genetics
wut do u mean britain is transphobic
the percentage of misassignment is considerable
Agreed
@quartz beacon studies show that kids realise a bit earlier
a pistol IS safer than a shotgun
erm
I... what?
are you from south of north?
east
pikachu vtuber
it's my character in a pickachu onsie, requested my hemlock
do yo have a request
what sould my character do?
be vappy
Hello guys I'm Marcus:)
hi
Hello to everyone who I haven't said hello to
don't be mean to Vanity, she is always objectivly correct
hi
huh

Hello Hemlock
How goes it
ai
ai art is fine unless u make money from it on its own
and u cant copyright ai images I think
u cant
sus
wut
@wind raptor
Vaporeon
tru
Would it be these ones @rugged root :
https://docs.astral.sh/ruff/rules/missing-trailing-comma/
and
https://docs.astral.sh/ruff/rules/trailing-comma-on-bare-tuple/
Checks for the absence of trailing commas.
Checks for the presence of trailing commas on bare (i.e., unparenthesized)
face recognition
For the missing-trailing-comma rule, at the bottom it has this:
That's where my confusion is
I see that, but I don't think it does enforce it
is it python related if Vanity is playing games?
I'm not giving stream perms for that No, it's not relevant
@grave python Yo
@quick shuttle And yo to you as well
Hello
An extremely fast Python linter and code formatter, written in Rust.
I like JetBrains stuff but you need a lot of RAM to run it.
Exactly
I don't like pycharm
and tbh idk what or how to use the interpreter
it uses so much stuff ye
the one called 'python 3.13'
with a black background
how do I run my code on it 😦
windows
nope, doesn't work for me
I don't really need to worry about it now
if Im honest
all my python is in a dedicated python folder
you don't know how much I wanna get somewhere with coding lmao
Are there any things in particular that you're feeling unsure about with it?
Like things you need clarified?
the difference between Lists, Tuples and Dictionaries because that hurts my brain 🙂
abwab
I got summoned elsewhere to link Access 2003 database into ASP from around the same era
!e I'm guessing you know how to use lists already:
ham = [1, 2, 3, 4]
print(ham[2])
print()
for num in ham:
print(num)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 3
002 |
003 | 1
004 | 2
005 | 3
006 | 4
with non-ASCII table names
yup
!e
ham = [1, 2, 3, 4]
ham[2] = "eggs"
print(ham)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[1, 2, 'eggs', 4]
(also sets)
THERE'S ANOTHER ONE?
why did I start python
oh ok
you really like eggs
eggs are good
foo bar baz ❌
egg egg egg ✅
!e
print("gay")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
gay
code
!e
code
nvm
!e
ham = {"bacon": 3, "pork": 2, "spam": 37}
print(ham["bacon"])
print()
ham["bacon"] = "I'm different now"
print(ham)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 3
002 |
003 | {'bacon': "I'm different now", 'pork': 2, 'spam': 37}
code
Holy C is the superior lanuage to C, C# and C++
@lethal shell
does it have the C# one?
I didn't see it there
actually, every other language
Holy Java Script
to space and back
ArnoldC for life
IT REMINDS ME OF HASHBROWN
that's also what Rust's implementation of HashMaps is called
python confusing af, and this is an easy language? i hate coding
in C++ it's also sometimes referred to as STL
more commonly known as the iphone 6
over time STL and C++ standard library got partially synonymous
And apologies for my crappy explanations. I'm feeling wonky today
also stands for
Standard Template Library
Software Technology Lab
i was using code in my class and wanted to use a variable in a print so I did:
print(f"lets use {variable} for a project")
and my teacher said it was wrong
what if Python 3.5
she is a computer science teacher 😦 Im glad I have a good TA he actually knows multiple languages
But it is good to know about the other ways to make a string or have variables in them
!e
print(f"{1 + 2 = }")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1 + 2 = 3
That is good. A lot of professors become stuck in their ways or they focus on one language but are forced to teach another and they try to force the way of doing things from one on the other
!e
print(0.1 + 0.2)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0.30000000000000004
repr by default
i love doing this
i found it one day when bored in class
!e
print(f"{'1' + '2' = }")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
'1' + '2' = '12'
further annoyance to @rugged root
you need to !s to remove quotes on the last one
@rugged root and in early times the proportion was opposite because software was seen as "easier"
compared to hardware and stuff
!e
from decimal import Decimal
total = Decimal(.1) + Decimal(.2)
print(total)
print(float(total))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0.3000000000000000166533453694
002 | 0.30000000000000004
"0.3000000000000000166533453694"
What?
!e
from decimal import Decimal
total = Decimal('.1') + Decimal('.2')
print(total)
print(float(total))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0.3
002 | 0.3
Wait
also, is truncating in Python a thing?
You have to do it in quotes?
!e
from decimal import Decimal
print(Decimal(.1))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0.1000000000000000055511151231257827021181583404541015625
How do you mean? Like telling it to only go up to a certain number of decimal points?
!d round
round(number, ndigits=None)```
Return *number* rounded to *ndigits* precision after the decimal point. If *ndigits* is omitted or is `None`, it returns the nearest integer to its input.
For the built\-in types supporting [`round()`](https://docs.python.org/3/library/functions.html#round), values are rounded to the closest multiple of 10 to the power minus *ndigits*; if two multiples are equally close, rounding is done toward the even choice (so, for example, both `round(0.5)` and `round(-0.5)` are `0`, and `round(1.5)` is `2`). Any integer value is valid for *ndigits* (positive, zero, or negative). The return value is an integer if *ndigits* is omitted or `None`. Otherwise, the return value has the same type as *number*.
For a general Python object `number`, `round` delegates to `number.__round__`.
Can also do it with string formatting
like, taking off a certain part of the number, so if I truncated 3.14159 to 4 significant figures, it would be 3.141, while if I rounded it, it would be 3.142
I think that is what you meant
Yep, you can do that
have been gaming since before I can remember, PC only
is it weird that I name my variables 'q', 'l', 'r', then I just do the alphabet, skipping q, l and r
oki
Trying to remember how to do it cleanly
You really really shouldn't be doing single character variables
it's easier to remember thooo
so what should I name them?
Short but descriptive variable names are what should be used
people = ["Cindy", "Jim", "Linda"]
total_people = len(people)
Stuff like that
@tall ridge I see you lurking. How've you been?
So I'm learning fetch-decode-execute in Computer Science and I thought it would be funny to write a random question generator with the subject, so for the fetch questions, can I do f1, f1 etc and then d1, d2, and then e1, e2
Yeah it's a bit funkier with comp sci stuff
@lethal shell defcon?
But you can also do stuff like make a fetched list and just append new values to it
whuh?
(that one has those same mentioned issues, but, as claimed, more and worse)
i mean the cycle of a cpu
it's the theory section
Sorry, I was a CIS major rather than comp sci
I forgot you folks have to go through all the theory stuff like that
I just don't wanna a right a huge list saying
[fetch1, fetch2, decode1]
when I could do
[f1, f2, d1]
You guys have fun :D
Yeah in those cases it makes sense
Imma go dip.
Later dude
sadly, but it's fun for me
With what you're talking about, that makes sense to use f1 and f2 and what have you
ok, that's good
So long as the context makes sense then it's fine
But when you start doing other stuff that isn't the theory crap, descriptive variable names are better
And even with fetch1 and stuff, it's not that much more to type
hey kids
there are like 8 questions i need to do, 2 for decode and I think only one for execute
let me write it out
Go for it
[fetch1, fetch2, fetch 3, fetch4, fetch5, fetch6, decode1, decode2, execute1]
is it a crazy day today @rugged root @peak depot
fetch = [1, 2, 3, 4, 5]
decode = [6, 7]
execute = [8]
all_of_them = [*fetch, *decode, *execute]
But yeah, I get what you mean
last time I was on skateboard - got massive road rash - then I quit @rugged root
* in that context means unpack
So I'm taking out all the values from fetch for example and dumping them into the other list
why is the VC on about sexism and body expectations?
oh ok
It's a general vc chat
Lots of different topics get covered
Most of the time it's coding, but just depends on who's here
ik I just came back into the VC fully and I hear something about body expectations lmao
Yarp
"real tweet? likely
real account? probably not"
Sammo and Jackie Chan went to same theater school @rugged root
first fat guy - I ever seen do a back flip
Oh really? Huh I didn't actually know that
theater and acrobatics
Jackie was very young , did a movie with Bruce Lee
Sammo and Jackie got into the biz young
:x: Your 3.12 eval job has completed with return code 1.
001 | /home/main.py:2: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?
002 | []()
003 | Traceback (most recent call last):
004 | File "/home/main.py", line 2, in <module>
005 | []()
006 | TypeError: 'list' object is not callable
https://youtube.com/watch?v=WkbnUi1KRQY an interesting combination
Not totally sure WHY this happened, but I dig it.
Patreon: http://www.patreon.com/pomplamoose
Spotify: https://spoti.fi/2qMSpJB
CREDITS
Lead Vocals: Nataly Dawn
Keys/Mixing/Mastering: Jack Conte
Engineer: Pete Min
Drums: Sarab Singh
Guit: Brian Green
Bass: Nick Campbell
Background Vocals (left): Loren Battley
Background Vocals (right): Sarah Du...
yup
@raw carbon Hey buuuuuuuuuuuuddy
i think I'm trying to bit off more than I can chew now
my highest accomplishment is creating replaying rock paper scissors bro
Competitive thumb wrestling
Been hanging in there
i gtg, everyone have a good day 🙂
You as well
thx
he's using the Benejezerat voice from Dune @rugged root
I need this
Download & Stream This Song Here: http://pmjlive.com/essentials2
Experience PMJ Live: https://pmjtour.com
Shop PMJ Music/Merch: http://www.shoppmj.com
Follow Us On Spotify: http://www.pmjlive.com/pmjspotify
Sign up to get videos to your inbox: http://www.pmjlive.com/newsletter
Meghan Trainor's "All About That Bass," in the style of PMJ ft. K...
@peak depot
All about the bass
I'm okay. I just moved into a new apartment.
quite gooood
That's always stressful
Ralph Bakshi , did a version of THE LORD OF THE RINGS , cartoon
Actually my life is pretty awesome compared to most people. I have a tendency to compare myself to my peers and then I fall short.
Yeah that's always a struggle
to do Donald , have to reduce your language set , mucho