#python-discussion

1 messages · Page 276 of 1

sturdy rune
#

Hi I am new to this discord, any threads for using ColabFold for folding antibodies?

frosty oriole
orchid pier
#

Damn I'm new idk those

fair bough
#

I’m learning os, reading ostep. Do I learn the basics of c for it?

sturdy rune
vast temple
#

also, how does hwnd mean handler

#

lol

cerulean ravine
vast temple
#

oh

#

still, how does it mean handle

cerulean ravine
cerulean ravine
vast temple
#

ooh i thought the nd was from handle not window

#

lel

#

makes sense

#

does linux also use these handlers?

#

or are they only a windows thing

cerulean ravine
vast temple
#

a legacy of 16-bit operating systems?

#

so they're not a good standard?

orchid pier
tame hinge
#

Probably something with hooking and spying on calls to the windows API and faking responses. Make a fake thing that pretends to be the windows API and keeps track of state and hook everything somehow to replace calls. Novel idea though.

chilly shuttle
cerulean ravine
vast temple
cerulean ravine
vast temple
#

and what does linux use then if im not bothering you

cerulean ravine
vast temple
#

and how is that different from using an id?

cerulean ravine
vast temple
#

its something that identifies something i guess?

#

and a pointer just points to something

#

by id i meant the handle xd

frosty oriole
cerulean ravine
vast temple
#

okay

#

where do you learn all of this, just from working with it over the years?

cerulean ravine
#

though i haven't used the win32 api in a very long time

ornate wren
#

as far i remember from win32 api, a handle is a dword that is not a pointer, its an ID

#

dword is just a 4 byte unsigned? (not sure) integer

cerulean ravine
ornate wren
#

Yeah, obviously win32 is still supported but i'm not sure which is the standard now with windows

#

Thank god i only use cross platform libs

finite rose
#

In old Mac programming before OS X, handle were just pointers to pointers. That let the memory manager rearrange allocations to make more room

ornate wren
finite rose
#

You’d get a handle to a chunk of memory, and if the pointer to the memory changed you could still access it

shell marlin
#

Doesn anyone know
How to add selectable points in mathplotlib

cerulean ravine
ornate wren
#

yeah, but the later option is safer and better overall

#

this usage of safer made me feel like a rust enthusiast which i'm not..

#

Delphi (object pascal) / C++ background

cerulean ravine
ornate wren
#

"index in a table of pointers. "

cerulean ravine
#

in the original mac, the pointer was 16 bits anyway, so it might as well just be a real pointer.

ornate wren
#

all this time i was thinking about real pointers..lol

cerulean ravine
#

or was it? Maybe i'm muddled

#

no, it couldn't have been, the first mac was 128kb

ornate wren
#

on 16 bits computers pointers were 16 bits as far i know

cerulean ravine
#

back to Python!

velvet trout
#

Thank you for your help earlier. I posted it on the #1035199133436354600 channel.
I would like your feedback too!

ornate wren
#

how huge a mistake would be to just jump to develop the endpoints of my application without any auth and then when its convenient add auth?

frosty oriole
#

pretty common tbh

ornate wren
#

I find its something that will waste my time and won't add to the general value right now

cerulean ravine
river quartz
#

Hello, I have finished watching the CS50P course, are there any more popular resources for learning python?

swift sparrow
river quartz
#

are there any recomendations?

rocky gust
#

tic tac toe

#

also

#

!fledgelings

#

wait is that the name of it i forgot

finite rose
#

Motorola 68000, 16/32. 32 bit registers, 16 bit address bus

steel zodiac
#

Why'd the picture change?

cerulean ravine
edgy krakenBOT
#
Kindling Projects

The Kindling projects page contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

rocky gust
#

damn it i was close

cerulean ravine
steel zodiac
#

I thought black history month was all month

steady rain
steel zodiac
#

Yes sir!

fiery yarrow
#

surprising lack of bannables for bhm this year. wonder if june shall provide similar paucity

pallid garden
#

morning

surreal knot
#

i guess helpers wouldn't be in charge of that anyway, mb

robust ledge
surreal knot
#

okay, thanks

vale wasp
pallid garden
pallid garden
#

think of it as a great way to debug

runic flower
pallid garden
#

exactly

#

pride month is another great way to debug the member list

runic flower
#

It is annoying when I'm doing rapid development and the tests aren't stable. But long term tests are critical.

surreal knot
#

oh right valentine's

robust ledge
pallid garden
vale wasp
robust ledge
surreal knot
#

cool

pallid garden
#

except AoC, which is apparently the entire year now

vale wasp
#

AoC - All of Code

runic flower
pallid garden
#

Annum of Code

vale wasp
pallid garden
#

i dont think you should just ignore tests

#

at the very least, triage them

runic flower
river quartz
vale wasp
#

If you're in the process of rewriting the code and the tests aren't relevant they should be ignored/disabled.

ornate wren
tight tree
#

anyone here practice test driven development? It seem like the best way to do things for many things, but I am to lazy for personal projects

pallid garden
#

the thing about tests

steady rain
pallid garden
#

i find that it's beneficial in helping me reframe my thoughts

robust ledge
ornate wren
#

i thought it could be useful to check if the premises are still true

pallid garden
#

often times halfway through writing a test, i would rethink my implementation

#

think of how i can refactor things etc

sullen dust
#

How do people usually host python backends?

vale wasp
robust ledge
sullen dust
ornate wren
vale wasp
cerulean ravine
pallid garden
#

im not a god programmer i dont write good code the first time round, or the second time round, or even the third time round

#

so i find it quite beneficial for my development process

vale wasp
sullen dust
charred siren
#

i am a god programmer ama

ornate wren
vale wasp
#

I don't know what makes one a "god programmer" though.

cerulean ravine
vale wasp
pallid garden
vale wasp
pallid garden
#

im more worried that my tests arent comprehensive enough

#

than writing tests

pallid garden
ornate wren
#

tests are also testing you, lol

robust ledge
cerulean ravine
pallid garden
#

we already have codecov

ornate wren
cerulean ravine
pallid garden
#

we are not doing fuzzing at the moment

robust ledge
pallid garden
#

so there are a lot of input that can cause issues that we are not testing

orchid pier
vale wasp
pallid garden
#

it helps a lot

#

but i realized that there are edge cases that i can miss sometimes

#

i cant think of a concrete example atm, sorry

vale wasp
#

There are always edge cases and it's really hard to find all of them.

cerulean ravine
pallid garden
#

exactly

vale wasp
cerulean ravine
pallid garden
#

im going to suggest that we add property-based testing to the maintainers

frosty oriole
#

hypothesis is great

pallid garden
#

my laziness in writing tests is overruled by the fear that im going to mess up the data of the ~30000 users

finite rose
#

Motorola 68000, 16/32. 32 bit registers, 16 bit address bus

pallid garden
#

anyway i should stop yapping and get back to actually writing the tests

vale wasp
ornate wren
#

its gets easier when you actually start doing

robust ledge
vale wasp
pallid garden
#

another thing about tests: ive found it quite beneficial for other people to understand what your code is doing

#

because i find myself looking at the tests written by other people to understand the code better

#

ok i should actually stop yapping now

bright shoal
#

@frosty oriole reference

vale wasp
bright shoal
robust ledge
# vale wasp The good engineer is the lazy engineer.

💯
Random team member contributing to something I maintain: "So, walk me through setting this up locally will you?"

Me: You want nox -s dev and nox, that's it. That runs everything you need. Look in the noxfile.py if you care to know how it works.

Them: .... I love that.

bright shoal
#

😄

vale wasp
bright shoal
frosty oriole
vale wasp
robust ledge
#

"What do I have to do to be ready for a PR?"
Did you run nox? Did it pass? You're done.

vale wasp
wet fox
#

I wish i could just write python instead of LaTeX for work

vale wasp
# robust ledge "What do I have to do to be ready for a PR?" Did you run `nox`? Did it pass? You...

The one issue I've run into is that I work on a Mac and (for work) PROD is linux and that can, on occasion, cause issues that we can't test properly locally (but are properly tested in CI) which make life a PITA.
For the OSS stuff I've run into issues in Windows/Linux CI that I didn't have locally on my Mac.
So "It passed all the tests locally" doesn't always mean it will pass CI if CI does it properly.

vale wasp
wet fox
#

I tried writing an mcp for it

robust ledge
wet fox
#

Havent given it a real go in python though since it seems like id have to use a mainstream ai api to do it

vale wasp
wet fox
#

Local models on a mactop dont perform well enough

robust ledge
rocky gust
#

how do i take discord out of fullscreen

robust ledge
rocky gust
#

ohhh

#

ty

wet fox
#

I also write on mac and deploy on linux but linux seemingly has less problems than my mac when writing

robust ledge
vale wasp
robust ledge
#

linux: You want to write to the same file as sixteen others right now? Sure, fine. Don't cry at me.

Windows: Excuse me, you cannot touch that file as someone--of whom I know not--was thinking about it at some point.

vale wasp
vale wasp
wet fox
#

interesting

wet fox
#

I tried arch on mac and it was damn good

#

Too bad it lost support

#

Although id never try wsl

#

Would rather use a VM or just launch from a usb drive than deal with microsoft

#

pyright i think is the only microsoft i still use

#

Not even sure if its even theirs

robust ledge
#

WSL on Windows 11 is quite nice. Would recommend if needed.

vale wasp
#

I try to avoid Microslop like the plague. They turned a reasonable OS into malware. Deliberately.

wet fox
#

Yeah i have a vendetta for all the wasted time i spent debugging anything on there

#

Like how does a sound card not even work out of the box on a fresh install like wtf

#

Also why are their ISOs so huge?

#

Easily 25-30GB

#

Might even use steamos before using windows ever again

#

Off topic anywho

wet fox
#

Is pyright owned by MS?

pallid garden
robust ledge
pallid garden
#

it's like macOS size

#

it's not 20gb+

#

i remember win 10 being something like 4gb

#

iirc

robust ledge
#

I remember win3.11 being 7 1.44MB floppies.

#

win3 was even smaller!

vale wasp
sullen dust
vale wasp
#

I remember sitting at the computer changing floppies so often to do basic installs.

robust ledge
vale wasp
wise imp
#

floppies? in python discussion? unimaginable

robust ledge
pallid garden
#

oh no

#

i thought of a better implementation

ionic bluff
#

for the youger ones... A floppy disk is the "save" icon.

pallid garden
#

ughhhhh

#

better now than after it's live on production

wet fox
#

!this

#

Fail

#

Give me Zen!

cold sand
#

Hi, everybody

vale wasp
vale wasp
timid ember
#

They had 1.4 mb of storage the size of your palm, and in less than 20 years, terabytes on micro sansdisk

#

Pretty crazy

pallid garden
cold sand
robust ledge
timid ember
#

crazy

ionic bluff
#

some say the printing press is the greatest invention in human history. Idk, the transitor is right up there.

cold sand
#

Waw!

ionic bluff
#

we literally walk aroud with star trek technology in our hands and we watch... tiktok or whatever kids do these days.

vale wasp
bleak moth
ionic bluff
#

yeah i know just an old man yelling at clouds. We are still turning out engineers and comp scientist.

pallid garden
ionic bluff
timid ember
#

or maybe fertilizer

vale wasp
wise imp
#

dunno, agriculture was definitely more of a discovery than an invention

rocky gust
vale wasp
wise imp
sullen dust
pallid garden
vale wasp
vale wasp
bleak moth
timid ember
#

I think it changes based on your definition of great, the very first discoveries are simple but allowed progression. First isnt super great or complex

wise imp
#

idk, greatness is not reduced by simplicity

#

are we still talking about Python?

sullen dust
#

that hit hard

ionic bluff
#

didnt mean to start a tangent. But I will say cause/effect is not really what I meant.

vale wasp
#

What we see as simple was not simple at the time.

vale wasp
ionic bluff
#

just because a enables b doesn't be b didnt progress us forward.

#

more

timid ember
ionic bluff
verbal wedgeBOT
#
**Have you published any packages on PyPI? If so, what are they?**

Suggest more topics here!

vale wasp
edgy krakenBOT
vale wasp
edgy krakenBOT
vale wasp
#

!pypi render-engine (This one I'm a maintainer on, other people started it though.)

edgy krakenBOT
vale wasp
#

!pypi re-plugin-pack (And this is plugins for Render Engine)

edgy krakenBOT
robust ledge
vale wasp
# edgy kraken

This was was used to create the word searches the PSF handed out at PyCon US last year.

vale wasp
rocky gust
#

!pypi quat

edgy krakenBOT
#

A simple library for working with quaternions and vectors.

Released on <t:1715282629:D>.

rocky gust
#

oops

#

wrong one

vale wasp
#

I actually logged into PyPI to verify the package names before I typed them in.

vale wasp
#

I'm actually thinking of modifying the word search generator from a CLI to a TUI - I think it will make it more usable.

granite wyvern
vale wasp
#

PSF security developer in residence coined the term "slopsquatting" last year.

rocky gust
#

!pypi quaternionpy

edgy krakenBOT
rocky gust
#

this is mine

vale wasp
#

Nice

rocky gust
#

im also working on an api wrapper

vestal jetty
#

Oohh, my lib disappeared

vale wasp
fiery yarrow
#

disappeared from where

vestal jetty
#

I had created a library/framework called Con-re, which was used for testing, executing large commands, and managing specific parts; it even had its own language, called cr.

vestal jetty
vale wasp
vestal jetty
#

But it should still be on my Github :D

#

You can try it, but you'll probably find it unpleasant.🤣

fiery yarrow
#

i'm not seeing evidence that a package called con-re was ever hosted on pypi

vestal jetty
#

Bruh, what do you mean? I remember very well hosting him.

#

Let me see here, I made a project roadmap.

#

I hosted it on TestPyPI, according to the roadmap.

vale wasp
#

It sounds like it wasn't ready for the majors.

vestal jetty
fiery yarrow
#

yours is called conre, without a dash, it seems, but i still don't see evidence of regular pypi having it. though my sources are not absolute

vale wasp
#

Even though I know better I still pronounce (in my head) PyPI as ππ.

fiery yarrow
#

wym know better? that's one of the common pronunciations

vale wasp
#

ππ is PyPy. PyPI is properly pronounced PIE PEE EYE to differentiate.

fiery yarrow
#

or they're both pronounced the same, differentiated by context

vestal jetty
torpid sparrow
#

i say piepie

vale wasp
vestal jetty
#

On TestPyPI, as I said.

fiery yarrow
vale wasp
#

Getting people to follow any guideline...

fiery yarrow
vestal jetty
vale wasp
#

And you added a - where there wasn't one.

vestal jetty
#

*yep

vale wasp
#

Typign is hadr.

vestal jetty
#

In my project folder, there's a hyphen (-) in the middle.

wise imp
#

bold of y'all to assume I have any other context besides con-re

rocky gust
vestal jetty
somber comet
#

guys I want advice for python project idea what should I build

wise imp
vale wasp
#

So msot poelpe wlil be albe to raed tihs wihtout seroius isuse becusae the fisrt and lsat lteter and wrod lentghs remian the smae.

vale wasp
somber comet
vestal jetty
vale wasp
vestal jetty
#

The "con" comes from "container".

#

😃

somber comet
# vale wasp Try doing some ascii art?

true im just creating stuff for a portfolio since I already worked on a Remote Admin Tool, I created some cybersecurity tools for a portfolio project. Man I am just stuck right now.

#

now I am working on a API for invocing as a portfolio project with one of my buddies

vale wasp
somber comet
#

also I want your opinion is it really worng if I use AI for researching and looking stuff up but I am still thinking and learning?

vale wasp
#

You are the only one who can answer that. I will only say that you should not release code for use by other people if you do not fully understand it.

somber comet
#

and plus I also contributed using my own code

#

maybe I am just overthinking again

vale wasp
#

If you release something into the wild you have a responsibility - to a point - to maintain it and address issues in it. You can't effectively do that if you don't fully understand it. That is the only point I am trying to make. LLMs are a tool and if you can use them effectively, more power to you. The issue I have with the code generation is that it tends to be overly complex and, therefore, difficult to understand and maintain.

somber comet
#

this is why for me I always fact check it to see if it works since sometimes it can release redudant code

river quartz
#

i made Mad Libs from https://nedbatchelder.com/blog/202011/mad_libs

wise imp
#

mad!

fossil shadow
#

Hi

timid ember
edgy krakenBOT
#

A Command Line Interface email client written in python.

Released on <t:1759794537:D>.

timid ember
#

Only one 💔

vale wasp
somber comet
vale wasp
somber comet
vestal jetty
#

Who knows, maybe one day I'll launch a real library on PyPI.

vale wasp
#

Not everything on PyPI is a library.

somber comet
#

I think I know what Im going to do for my next project

timid ember
#

All (python) libraries are packages but not all packages are libraries

chilly trout
rocky gust
somber comet
#

theres more

timid ember
#

Icl i havent written anything in a really long time

river quartz
somber comet
#

is there a new code jam?

timid ember
somber comet
#

whens the next code jam and what we going to do?

timid ember
#

It'll be announced at the time of the event

chilly trout
#

is there a project anyones workin on rn

somber comet
#

its like I did everything what else can I do

timid ember
#

Im working on a vehicle dynamics sim

somber comet
#

tbh I may just go create a open source project ngl

oak fulcrum
#

Why is the logo a different color

somber comet
rocky gust
fossil shadow
#

Hi 👋
I’m learning programming.
Can I ask you a question?

timid ember
#

We should make a command !logo-color that just links to the latest post on #changelog icl

oak fulcrum
#

When has anyone ever remembered that lol

oak fulcrum
#

W community

vale wasp
chilly trout
somber comet
#

hey @chilly trout may I dm u?

chilly trout
#

sure, about what?

somber comet
chilly trout
#

why are you writing a discord api wrapper though?

chilly trout
#

is it paid because if not it depends how interesting it is

rocky gust
chilly trout
#

because atp why not just use discordpy

#

tbf discordpy is annoying asf to use

rocky gust
chilly trout
chilly trout
#

is it literally sending http requests

#

idk how discord bot API works but cant you just bind the C library to python

somber comet
#

I lowkey js dont know what to create

#

crikey why is this so hard

chilly trout
#

pretty fun project

somber comet
#

in python though

chilly trout
#

you could always try to create one for youreslf

charred tusk
#

Why am I suddenly getting OSError: [WinError 17] The system cannot move the file to a different disk drive?
Let me sanity check my code

somber comet
#

I dont know cpp though I only know python

chilly trout
vale wasp
chilly trout
#

why even ues windows atp

somber comet
# chilly trout learn cpp

if Im already learning python, golang and js should I learn cpp I mean this can be good since i want to be a software engineer / cybersecurity engineer & red teamer

charred tusk
chilly trout
somber comet
vale wasp
chilly trout
#

i mean its personal preference but automating the exploitation of vunlerabitlies is much cleaner in c

somber comet
vale wasp
somber comet
#

im not trying to stress myself out here lol

chilly trout
#

i mean, if you know how memory works cpp is pretty easy

#

*once youve understood how programming languages work in general

vale wasp
chilly trout
#

*not as a begginer of course

chilly trout
#

once point i will make is that in security research specifically you pretty much NEED to learn C

#

like no way around that

charred tusk
#

Might be Gipppity's fault
Gippity also said I can do this to launch a Textual app from Typer if no Typer subcommand is invoked
But now it's opening the Textual app on every run of the CLI and waiting for the Textual app to be closed before executing the Typer command catlost

app = typer.Typer(name="Xio", invoke_without_command=True, add_completion=False)

app.add_typer(designs_app, name="designs")
app.add_typer(doctor_app, name="doctor")

@app.callback()
def tui() -> None:
    """Launch the Textual interface."""
    XiomaraTUI().run()
chilly trout
#

if your not doing some kinda security research youll be fine

charred tusk
#

I swear I had this before, I just can't remember how I did it

zealous lion
#

what can C do that C++ can't for security research?

somber comet
#

im doing a trade school for SWE they have a project where you have to learn a new language for the capstone project

#

but for now I just plan on prioritizing getting good with python and js (by building stuff of course) than moving on to different langauges to learn

vale wasp
chilly trout
#

its a habit for me to use them interchangably but i really should stop that

#

gets confusing

zealous lion
#

ah

vale wasp
#

They are very different.

chilly trout
#

yeah i know its just the name that sounds similar

#

when im not thinking ill call C c++

vale wasp
#

I know which is unfortunate.

chilly trout
#

or c++ c

somber comet
#

or I may learn c# or C++

#

since for this trade school they have you at least learn 1 other language

vale wasp
somber comet
vale wasp
somber comet
#

or should I build a red teamer chatroom?

rocky gust
#

it's just so i can get some knowledge of working with API's

vale wasp
somber comet
#

im not talking about using c++ for the web backend

zealous lion
#

you just need to use C++ as the primary language for your project?

somber comet
#

I can learn other languages for this capstone project

zealous lion
#

what does "backend" mean then?

#

I would find something you want to make and then find what language is best suited for that

somber comet
#

I am using node.js for backend and python

#

I at least want to learn 1 good enterprise language tbh

zealous lion
#

i'm very confused

vale wasp
somber comet
#

tbh im js all over the place

zealous lion
#

what's your question again

somber comet
#

if im learning and almost getting good with 3 programming langauges should I study more

zealous lion
#

study what?

vale wasp
#

IMO I would focus on projects and pick the best tool for the project. That's how you study and improve. At some point you will find that the best tool for a project is a new language and you will pick up that tool and learn how to use it. The basic concepts transfer, it's the syntax that changes.

somber comet
#

im stressing myself out for no reason ngl

vale wasp
#

Probably. Common theme among humans.

somber comet
#

but I do need help

#

i coded a discord bot but im trying to get it hosted

vale wasp
#

I think you need some focus. It sounds like you're trying to do a dozen things at once and none of them are going well and it's stressing you. Pick one and give it some love, and then move on to the next.

rocky gust
somber comet
vale wasp
somber comet
#

theres no free hosting

vale wasp
#

I can't say with any level of certainty that there is no free hosting. I do not know of any free, general hosting.

rocky gust
#

because at that point you're essentially losing money

somber comet
#

I should at this point try and host it on my old computer

rocky gust
#

keeping servers online has upkeep that's the reason why subscriptions are really prevalent in hosting platforms

vale wasp
#

Do you need something that people reach in to or just something that reaches out?

vale wasp
# somber comet ?

Is it a web service that people call or something doesn't have an external facing API?

somber comet
#

but it sleeps and I have to go call it manually

#

im using render

vale wasp
#

So locally hosting means you will not be able to access it from outside your home network without setting that up - which is risky if you don't know what you're doing (it's really easy to misconfigure a DMZ or firewall.)

solemn rain
#

how to be good

somber comet
vale wasp
#

I pay ~$5/month for a simple droplet on DO.

somber comet
#

tbh I might as well just go host it on my own manually but I would have to make sure I dont get hacked though

solemn rain
sullen dust
#

DO have a free tier aswell btw

solemn rain
#

so why pay monry

solemn rain
#

i thought having a card is enough for billing with free tier

vale wasp
solemn rain
#

ok

austere cliff
#

Guys I've read in Saas books that you should market before / while you build your product but what if somebody stole your idea?

austere cliff
#

Well an idea isn't bound by "law"

solemn rain
#

you can get the patent

sullen dust
dusty ember
solemn rain
#

in corporate i think its common

dusty ember
#

they aren't in corporate; building in public isn't bad advice

solemn rain
#

just look at these mobile phones copying apple

austere cliff
#

The case that I can think off is how a game dev studio that made Unrecord got their idea "stolen" by the studio that made Bodycam game

sullen dust
#

Plus alot of ideas have been done, youtube wasn't the first video streaming platform and netflix wasnt the first movie service

solemn rain
#

it all comes to the fact that who releases the MVP first

sullen dust
# austere cliff Doordash too

Tru the second movers advantage is always missed, people think because something has already been done they need to think of a completely new innovation

solemn rain
sullen dust
#

Generally got no clue

solemn rain
solemn rain
sullen dust
#

But there is always the dodgy marketing stuff that helps these bigger companies make it mainstream

solemn rain
#

yt was not a bigger company it was bought by google..

blissful orchid
#

How's everyone doing today pithink

solemn rain
#

i am so bad

blissful orchid
solemn rain
blissful orchid
#

Hope it gets better then

#

Regardless, anyone here upto something lately? Anything cool y'all been working on

frosty ingot
#

I'm thinking of learning something like fastapi :D

velvet trout
#

Writing the good, right code is hard 🥀

robust ledge
#

I think it's far more likely that someone looked for a direct question, couldn't find one, and moved on.

Full code reviews are time-costly endeavors.

solemn rain
#

what is window to viewport transformation

velvet trout
#

Makes sense

pallid garden
#

let alone an entire codebase

solemn rain
#

is it true that AI agents are making PRs

robust ledge
#

It's true for most PRs

solemn rain
#

open claw

#

so how can maintainers know that

robust ledge
#

How can maintainers know what?

solemn rain
#

maintainers allow these AI PRs?

robust ledge
#

Some do, some don't.

solemn rain
#

i thought everyone rejects it

past shard
#

yo, what do y'all think of using chatgpt in coding

robust ledge
velvet trout
robust ledge
past shard
robust ledge
past shard
vestal jetty
last bison
#

I just learned print("Hello world!") how much more of python is there

solemn rain
#

tab tab tab tab tab ...... tab

last bison
#

am so good

past shard
vestal jetty
#

But if it's for support, analyzing errors, answering programming questions, I recommend it.

velvet trout
# velvet trout The only code reviewer and assistant i have so far

It's a good thing for assistance, it sometimes helps, sometimes not. So you should be the main brain. Use it as an opinion provider. Not for copy pasting code.

I use it for variable naming when i am unable to, if this func/class is becoming too complex, is this an over abstraction? Am i breaking any principles, is there any std way or de-facto way of doing this, is there a built-in solution than making my own version, etc-etc.

last bison
past shard
last bison
velvet trout
velvet trout
vestal jetty
last bison
past shard
past shard
vestal jetty
last bison
solemn rain
#

nah just do input("hello world")

last bison
solemn rain
#

yah

velvet trout
last bison
#

I thought there was only print

past shard
vestal jetty
velvet trout
last bison
vestal jetty
last bison
past shard
vestal jetty
pallid garden
velvet trout
#

I used to wonder, how python prints out to the terminal and why only the terminal? I didn't have the knowledge of std* variants.

I did a thought experiment, since it's written in C, it's probably using printf() or similar.

pallid garden
#

reject if it's bad

last bison
past shard
last bison
last bison
solemn rain
velvet trout
last bison
#

am on part 3 anyway so idk

vestal jetty
past shard
past shard
#

50 day Egypt

solemn rain
#

change the topic

last bison
vestal jetty
#

!topic

last bison
velvet trout
vestal jetty
past shard
last bison
#

I don't know man he was too busy in egypt

velvet trout
#

CPython is the standard implementation of the Python programming language (as defined by its grammar and spec).
The full code is available on GitHub/python/cpython

last bison
velvet trout
#

Lots of my hypothesis about how python used to work and how certain things do that way were answered as i grew up and my brain grew to handle more complexity.

It was a beautiful phrase. The more i learn, the more I see how less & little i know.

vestal jetty
velvet trout
pallid garden
#

c was written in bcpl, and later, c itself

frigid trout
#

So I have this English Flimmaking project. And the teacher asked us to make a video for this topic. Should I make a slide show and just record that and do the remaining stuff or actually use the video software and make the thing needed? If I do print("5+5") it will return a string 55, right?

last bison
past shard
last bison
velvet trout
#

Also a little fun fact, C doesn't have an official implementation reference like Python (Cpython) does. Its defined is a specification (if that's the appropriate way to say)

vestal jetty
past shard
last bison
frigid trout
past shard
velvet trout
vestal jetty
frigid trout
last bison
past shard
velvet trout
frigid trout
velvet trout
#

Zeros and Ones (binary) are not even real language they understand. Its all game of electrons

frigid trout
#

I think so.

velvet trout
last bison
#

so its all just electrons?

velvet trout
#

Yes that's what i understand based on my research

visual juniper
#

always has been

past shard
last bison
past shard
last bison
visual juniper
solemn rain
#

i think you should understand that these code we write in languages are just txt files. the compilers and interpreters are the big dwags

frigid trout
last bison
vestal jetty
#

.topic

verbal wedgeBOT
#
**What made you want to learn Python?**

Suggest more topics here!

visual juniper
past shard
vestal jetty
frigid trout
# verbal wedge

Because I realised that Game Development is not for me yet.

last bison
# verbal wedge

I wanna build airplanes and I think you need python to do that

velvet trout
#

And what's even mysterious is that electrons are the one of the fundamental particles, we don't have scientific understanding of what they're made up of so far. Theories like string theory are trying their best to understand them.

frigid trout
past shard
last bison
frigid trout
#

Yes

past shard
frigid trout
#

You need to know electronics, CAD and coding to be an Aeronautical Enginner

vestal jetty
velvet trout
#

We just don't have an answer to why even stuff like this Exists.

visual juniper
#

for any kind of engineering degree the very first thing u need is math

frigid trout
#

I already know CAD and 3D modeling so yes.

last bison
vestal jetty
last bison
#

but am willing to learn

frigid trout
last bison
frigid trout
#

Since you don't really need to move or get real parts like electronics

frigid trout
frigid trout
frigid trout
#

So it's like Tinkercad but more advance.

last bison
#

yea I got confused

frigid trout
#

I also used Tinkercad before

solemn rain
frigid trout
#

I made a lot in it like a missile model.

frigid trout
last bison
frigid trout
#

You can't really use Python 100% since it's mostly used for Data Science.

solemn rain
vestal jetty
frigid trout
last bison
#

I like math

solemn rain
#

the company gave u visa?

frigid trout
#

Is it the USA?

solemn rain
last bison
past shard
solemn rain
last bison
#

dang

visual juniper
solemn rain
#

i score good marks in math but i don't like studying math

vestal jetty
# frigid trout What?

I was born in Brazil, got a job in the United States after saving for a long time, passed the interview, and spent those savings on the trip. Now I live in the USA.

solemn rain
#

i do it for the sake of degree

frigid trout
vestal jetty
solemn rain
last bison
vestal jetty
frigid trout
visual juniper
# solemn rain what if i don't focus on math

for example , in our electronics , we have to solve circuits and do circuit analysis
and when u actually start doing it , what do you know , its just math , differential equations , different transforms etc
there are subjects like signal processing which use transforms like fourier transform etc and which are all just integrals

visual juniper
vestal jetty
past shard
#

This my first year in highschool chat wish me luck!

frigid trout
vestal jetty
frigid trout
past shard
#

Interesting remarks !

frigid trout
# past shard hmmmm

It's okay if you do it in lower classess but if you do it in higher classess it can cause problems.

last bison
vestal jetty
solemn rain
frigid trout
visual juniper
frigid trout
#

I've made an Arduino project before which was an automatic plant waterer but I lost the that Arduino nano...

vestal jetty
velvet trout
visual juniper
vestal jetty
frigid trout
past shard
solemn rain
#

i mean what kind of pleasure do you get while studying maths. do you get an end product. you don't get a chance to apply your knowledge..

last bison
past shard
last bison
visual juniper
#

solving a circuit literally involves solving an equation

for stuff like image processing , you literally have to apply math , thats the application @solemn rain

vestal jetty
frigid trout
past shard
frigid trout
last bison
last bison
velvet trout
frigid trout
#

Also should for my filmmaking project should I make a slideshow and record that or make the thing in the video software?

past shard
solemn rain
last bison
visual juniper
past shard
last bison
past shard
visual juniper
#

the question is "find the current flowing through this coil in the given circuit" and to solve that you probably need to solve a differential equation @solemn rain

last bison
past shard
frigid trout
# last bison you guys gotta do filmaking?

It's for my English Project the teacher randomly told us this because it's also a group project and she doesn't believe that we will present it in front of the class. It's a new thing for me so I don't know what to do.

solemn rain
#

no time too

frigid trout
#

The topic is about the weather of two states of my country.

visual juniper
last bison
#

or maybe our countys are different so am good

past shard
visual juniper
#

im not saying you will find application for every math concept you learn , but that goes t rue for anything u learn , not just math

frigid trout
solemn rain
frigid trout
#

Our teacher is thinks we can do it

last bison
frigid trout
visual juniper
last bison
frigid trout
#

So should I make a slide show and record it

visual juniper
#

like web dev or whatever

solemn rain
#

i still don't have clear idea on logarithms and euler thing limits stuff

frigid trout
#

or make a video like those commentary YouTubers that you soemtimes see?

past shard
frigid trout
visual juniper
past shard
visual juniper
pallid garden
#

for any self respecting programmer, yea

proud escarp
#

thats very basic math

visual juniper
#

most people know what a log is even before they go to an undergrad degree
so i would very much call it basic math

pallid garden
#

theres no way they are in college

visual juniper
#

not like 4th grader math but still very basic

proud escarp
#

7th grader math

past shard
solemn rain
#

ik the basics but i don't know anything more than that. and i feel its not worth investing time and effort to it

frigid trout
#

The problem of using a slideshow is that I can see my mouse in the video

pallid garden
#

we must be using a different definition of college

ashen cipher
pallid garden
#

their definition of college is probably what we call high school

proud escarp
ashen cipher
#

personally i learned about it (in school) was 9th grade with sort of a mini-introduction at the end of 8th

frigid trout
#

I'm using Microsoft Clipchamp for the video editing

visual juniper
#

if you gradutae high school i would expect you to know what a log is or have heard about it at the very least , doesnt matter if u learn it in 6th grade or 10th

past shard
velvet trout
pallid garden
visual juniper
#

lol

past shard
solemn rain
frigid trout
ashen cipher
visual juniper
ashen cipher
#

i think i learned set notation at the start of 6th

velvet trout
wet fox
#

2ˣ better than log anyway

ashen cipher
velvet trout
ashen cipher
#

switched schools and relearned it 2 years later

wet fox
#

obviously its java.lang.System.out.println

ashen cipher
#

java.lang can be implied

#

.topic

verbal wedgeBOT
#
**What is your favorite Python package?**

Suggest more topics here!

wet fox
#

i wrote all my java in college with explicit java

ashen cipher
#

!pypi imsosorry

edgy krakenBOT
#

Sometimes it can be necessary to call upon the ancient arts...

Released on <t:1739593163:D>.

wet fox
#

like a masochist

pallid garden
#

imsosowwy

velvet trout
ashen cipher
#

its not caught up with the state of the art

pallid garden
#

just use imsosorry as a dependency

ashen cipher
stray field
ashen cipher
verbal wedgeBOT
ashen cipher
#

rejected

pallid garden
#

we must right this wrong

ashen cipher
# pallid garden why is it not planned?

This repository is a learning tool for our community.

Installing a 3rd party package and having the bot be a thin command wrapper around it does not reach this goal.

Anyone is welcome to pickup the outstanding issues around the uwu command if they want to lean about discord bots, regex, or contributing to github repositories themselves.

granite wyvern
pallid garden
#

hmmm it's not uwu

ashen cipher
#

.uwu

ashen cipher
solemn rain
#

its not worth the time

granite wyvern
solemn rain
pallid garden
#

there is a point at which you use something often enough that you dont need to refer to the docs anymore, you just havent reached that point yet

granite wyvern
#

If you're happy to derive it all from first principles, less memorisation is required.

granite wyvern
solemn rain
#

are you software developer

granite wyvern
#

Presently.

visual juniper
#

for the forseeable future

bronze dragon
pallid garden
#

there were a lot of math in qm1 that i completely dont understand at all, and im just memorizing things without knowing their applications at all. it's not until the second half of qm1 and qm2 when i finally understand why those math were being taught

solemn rain
#

you guys actually took time to understand and study maths from basics during university? or your high schools or secondary schools were good that you understood how the concepts work without just memorizing formulas? i mean i just memorized the formulas for school i got good marks but i don't like maths

granite wyvern
bronze dragon
pallid garden
#

in university they were building upon what i learnt in high school

visual juniper
bronze dragon
jade robin
#

math is the one subject where you don't need to memorise everything in high school

granite wyvern
visual juniper
#

once you have gaps in math , you have a really hard time to understand a lot of stuff that is built on top of it

#

and so u just start hating the thing in general

bronze dragon
#

I used to rederive nearly everything in my physics exams, to great success

wise imp
solemn rain
#

you a working professional?

white nova
#

Hello how's everyone doing?! I'm bored any fun python project ideas guys

pallid garden
#

high school i can understand

#

rederiving college physics in exams is WILD

edgy krakenBOT
#
Resources

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

solemn rain
bronze dragon
wise imp
#

if it's a 2 day on-site exam, rederiving does not seem that infeasible

bronze dragon
#

My HS physics curriculum was way broader

pallid garden
jade robin
#

i was about to ask that

#

our exams were a few hours at max

wise imp
jade robin
#

i would absolutely hate that exam

bronze dragon
#

Pydis when joke:

pallid garden
#

is that a joke?

jade robin
solemn rain
#

nice, i might have to re learn math but am not sure whether it would time wasted

pallid garden
#

hackathons are understandable enough

past shard
solemn rain
#

once i get out of university

bronze dragon
#

Yeah but you don't do that for uni or HS

pallid garden
#

exams???

bronze dragon
#

And they're not really exams, yeah

jade robin
#

sleeping in a multi-day contest is "wasted" time in a competition since you're incentivised to just not

#

which is just bad QOL

wise imp
#

our exams are usually 2 hours tops

pallid garden
solemn rain
#

ok

bronze dragon
jade robin
#

or more

wise imp
#

that's debatable

pallid garden
jade robin
solemn rain
#

i should have gone for medical science

#

where there is no math

jade robin
#

that's some copium

wise imp
#

and instead you have to memorise 3 800-page books cover-to-cover, word-for-word

bronze dragon
#

Reminds me of those doctors who published a paper in which they rediscover calculus in the 21st century

solemn rain
jade robin
#

huh

solemn rain
#

not some random words except pharma

jade robin
pallid garden
#

^ this book is 1761 pages long

solemn rain
#

going to graduate in one year. i am planning to look for software dev jobs and hope they don't ask me what is the limit of this function in interview

jade robin
#

as long as it's not data science/analytics etc roles, i kinda doubt that will happen

wise imp
#

try not to apply to any Ltd. then

solemn rain
#

general everything like app/web/engineering

jade robin
solemn rain
#

so final take- learn math from scratch after uni maybe after getting a good job

#

i have to start making some

deep dome
#

Hello!

solemn rain
#

O(inf)

#

hi

deep dome
#

hi!

solemn rain
#

"An Idiot appreciates Complexity, A Genius appreciates Simplicity." 🗿

deep dome
#

i love this quote

solemn rain
#

i agree simple code is better than making optimized code

pallid garden
#

then i shall be an idiot

#

well, i already am

deep dome
#

overcomplicating stuff is bad

past shard
#

would you rather be an idiot who can do anything or be a genius who is useless

pallid garden
#

i am already the former

solemn rain
#

!zen

edgy krakenBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

past shard
deep dome
#

if a genius is useless then theres no point in being genius

solemn rain
#

even python agrees

past shard
#

well if an idiot can do anything it will be idiotic

pallid garden
#

im writing ts right now

past shard
#

Everything he does will be Idiotic

craggy willow
#

we're all the same genus

deep dome
#

troublesome