#voice-chat-text-0
1 messages · Page 905 of 1
and save it in a ps1 script
if on windows
i use poetry when doing packages only
that i rarely do
I don't know to much about this but poetry works perfect to manage all the dependencies and virtualenviroments its really easy, even it have an option I guess to export a requirements.txt for venv and so if you want work with it in the future
Oh nice, I'm not that Pro yet xD
but yeah, for me Poetry makes easy all this stuff with dependencies and virtual environments
its not about being new or veteran but just preference as i said
some people like pre-existing tools
and there's ppl like me who like doing stuff myself so i know how everything i use works
some like creating from scratch, that's me
exactly
yeah that's the idea
the van version
yeah
tesla is the best
is the besla
[CmdletBinding()]
param (
[Parameter(ParameterSetName="Create", Mandatory=$false)]
[switch]
$Create,
[Parameter(ParameterSetName="Create", Mandatory=$true)]
[string]
$Version = 3.9,
[Parameter(ParameterSetName="Activate", Mandatory=$false)]
[switch]
$Activate
)
if ($Create -eq $true) {
py -$Version -m venv .venv && .\.venv\Scripts\Activate.ps1 && pip install black && pip install flake8 && pip install isort
} elseif ($Activate -eq $true) {
.\*venv*\Scripts\Activate.ps1
}
simplified version of how most my python projects start (i have a package script that also has a -New and -Init option that sets up Src layout in current or new directory)
i dont think theres much you can do!
yes!
by the way, is the voice verification still a thing
?
Yeah, exactly
@zenith radish guitige grauwende grijsaard
See posts, photos and more on Facebook.
and for those of you who don't visit facebook
anyone know html ?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
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.pythondiscord.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.
i started with cheating in video games with lua scripts
what i added to the project: go, yaml, toml
what github sees in there: go, shell??????
HTML is Hyper Text Markup Language
btw what's HTML for?
nothing better then watching @haughty pier stream
I can't believe I got Python 10 just tweaking this default.nix file...
too bad it doesn't have structural pattern matching yet. I guess I need unstable branch...
Python 3.10 is already in release candidate 2.
I tried explaining but you left... 😛
No, I have no recommendations that come to mind.
what is this.......
Building the Python 3.10 release candidate now...
hello
hi!
hey@tranquil raven
hey guys
👀
what help?
Many guy watch the live😆
I am just watching and doing my program hw
He was live
But i think he rest now
Ok😆
hi , i'm north ... vietnam 😛
hey guys
does this just mean that its checking if n is equal to 0 or 1?
if n in [0,1]:
return 1
and returning 1 if so
darkness
fog
gloom
mist
puff
smog
smoke
steam
vapor
veil
billow
dimness
film
fogginess
frost
haze
haziness
murk
nebula
obscurity
overcast
pother
rack
scud
sheep
smother
thunderhead
brume
mare's tail
nebulosity
ol' buttermilk sky
pea soup
woolpack
Games: business
play
sport
adventure
amusement
athletics
distraction
diversion
enterprise
festivity
frolic
fun
jest
joke
lark
line
merriment
merrymaking
occupation
pastime
plan
proceeding
pursuit
recreation
romp
scheme
sports
undertaking
On in a bit, trying to quickly put out some work fires
How the crap did Fury not get bot muted
IDK, but he only posted twice. 😄
hi guys
sup all 👋
How goes it
HEY LEMON
autopep8 song of yours is way too good
its my everyday exercise song now xD
It's so good
ikr
:Sex = Split Explorer in VIM
For context, it's a VIM command
another call...
ah, to open two files with vim with the window split vertically, vim file1 file2 -O - that's a capital O
Ctrl-W then left-arrow and right-arrow to switch from window to window
a number, N followed by G in command mode will goto line number N.
no number, it goes to the end.
Neat
One other reason I like relative line numbers is it's easier to see right where my cursor is.
Fair
I have relative line numbers in my emacs too. they made it built-in, so it's less hacky, faster, and more first-class support.
Is LP trying to build twitch?
or if you wanna open multiple files but not have them on top at the same time
:ls to look at all running buffers
:bn switch to next buffer
:bp switch to prev buffer
:w write to buffer (save buffer)
:wa write to all buffers (save all)
:bd delete buffer (quit buffer)
:wqa write to all buffers and quit (save all and quit)
@woeful salmon nice... attempts to commit all commands to memory... did not succeed.
Game streaming service
it takes time to memorize but maybe I should take notes...
So like PS Now or whatever Geforce's is
well if you just think of what they mean its kinda simple
bn buffer next
bp buffer previous
bd buffer delete
wa write all
w write
wqa write and quit all
I wish it was
It's still strong in SAP
Since it's their product
Unless they killed it recently
The privacy dashboard
But Microsoft let’s you flip a ton more switches to off because Microsoft revenue isn’t reliant on this data, compared to Google
I used a userscript I made to do that
I prefer to deal with companies and looking at their revenue
You can display Gmail on your browser in "Standard view" or "Basic HTML view." Depending on whether your browser works with Gmail, you might see one view or the other.
Standard view
If you're using
You can flip GMail between the two using links
so https://mail.google.com/mail/u/0/?nocheckbrowser#inbox is the newer standard view
no wait i'm confused
odd ... still the SPA
ahahahah
AH! Wrong link
2nd link is the old
OMG THE NOSTALGIA!!!
Sure, but mina, GMail is easy to show example of SPA vs Server Side Rendering
XBMC
oh they actually have it
https://www.hyperxgaming.com/us/landing/cloud9
Take a look at Cloud9's official gaming gear including a personalized Cloud Alpha headset and FURY S mouse pad.
Model : RDA0028
a friend just told me that his company replaced a back end with 25 servers with just 1 go server and its just as fast
o- o i know go is fast but is it really that fast?
Blue smoke goes brr.
Maybe, it depends on migration and server migration
Cross code. Happy code.
During rewrites it’s common some inefficiency can be fixed so they can speed up.
Also it could have been really old PHP vs modern Go
print(g"Hello, world.")```
g-string?
another call...
You're a popular man, Aaron
I mostly pretend to be a fly on the wall
When there are versions of Python that will run your code with a thing being unordered then in another version, that thing being ordered, then it behooves one to write in such a way that accounts for that.
Unless you're explicitly specifying version.
You're one of my faves
so the way I got my nix shell to work with backspace was I dropped the --pure flag, which means I have more things on my path, including ncurses and kitty, and I wonder if those are sufficient to add to my shell so I can keep --pure for analytical and pedantic purposes...
It's the first time I've heard of kitty
it's one of like three terminal emulators who support ligatures (without qualification), and it's the first of the three that I tried (because it came first and it uses Python), and it seems to work...
until I have issues...
Wonder if blessed does
there's also a lot more things on my path that are symlinked in directories that are intended to be used that way so the only way to know is to experiment... so I guess I get to experiment some more...
Ah, ncurses ... that explains a lot
You cannot even easily embed nucrses inside ncurses
it certainly could, but one tell that I was not getting my shell set up correctly was my PS1 setting function is failing due to tput, which is giving me these errors: tput: unknown terminal "xterm-kitty"
also, when using --pure I'm also lacking environment variables like TERMINFO and TERMINFO_DIRS
People are always complaining about how shitty their internet connection is.
Is your terminal using something like screen / etc. as a reference?
but I usually get my environment variables and shell functions to fall into my environment even when using --pure
If so, try setting TERM to that
Newbernetes?
You can probably test if TERM is set to that and then just adjust as needed ... while adding an "identifying environment variable" so you know you are running inside of it
like how BASHPID (?) exists
1976 was the year of the American Bicentennial, 200 years of independence and this booty shaker of a song hit the charts one week after the 4th of July entering at #79 and then #1 nine weeks later on September 11. Definitely the song of the summer of 76, it also spent four weeks at #1 on the R&B/Soul charts. KC was surprised at these accomplishm...
Install an accelerometer into your hardware. Shaking it triggers the restart.
I both love and hate this idea
ok, installing an accelerometer into my arduino now
What's icon on the right? Is this an organization contact? How to remove?
(Address is not saved in personal info)
"paste"?
looks like a clipboard
but to remove, check your browser settings
jinx
User reports address not in their clipboard
It's not
It's in their Browser
It's likely a stored email
It's just saying paste this email address
I disable the Auto-Complete for most stuff.
Browser personal info is completely empty
Huh
For stuff like "name" / "address" / etc., I totally disable it.
For password stuff, I just leave it at prompt
What's the site if you can say?
It is NOT a normal clipboard
It's likely stored in the browser for auto-complete
User reports multiple sites
... like I said
Do they have any kind of password manager or browser extension?
Browser personal info is empty
Didn't think of that one
Looks like this, which is what made me think it'd be an organizational thing
Could also be a school computer (student laptops can show that message as well)
Edge?
Yeah
I assume Professional or whatever?
Windows edition, I mean
I'm the global admin, so I have permission to remove it if it is organizational, I just don't know how.
Edge with AAD
@amber raptor Have you ever encountered this? Possibly having auto-fill emails and stuff be managed by the organization?
Check the computer's settings ... what was it called again for the Computer Permissions related stuff?
Control Panel > Administrative Tools > [whatever it is]
(or cloud based area according to @amber raptor - admin(dot)office(dot)com )
@sweet lodge ^
Or @crystal fox if you know
I've just never seen something like that
It’s buried somewhere in admin.office.com
Hmm. Not a contact (nor a guest)
A thrice-weekly webcomic written and illustrated by Reza Farazmand. New comics every Monday, Wednesday, and Friday.
If you are not IT admin, ask them
I'm the only IT admin
Then it’s buried in there
A thrice-weekly webcomic written and illustrated by Reza Farazmand. New comics every Monday, Wednesday, and Friday.
trolled
SCSI
It's keeping the last email the user copies.
I've never seen that before. Might be new?
Possible, still news to me
A SCSI connector ( SKUZ-ee) is used to connect computer parts that use a system called SCSI to communicate with each other. Generally, two connectors, designated male and female, plug together to form a connection which allows two components, such as a computer and a disk drive, to communicate with each other. SCSI connectors can be electrical c...
Doing the same for me too.
Skimmed the Edge release notes, didn't see anything.
Interesting
Auto fill is basic feature….
Yeah, autofill I got - but it's automatically prepending the last copied email to the top of the autofill list, and not letting me clear it, that parts new to me
it used to be
Structured English Query Language
SEQUEL
now its
Structured Query Language
S Q L
not
SEQUEL
Auto Fill with learning/checking clip board is basic feature
This SQLite tutorial teaches you everything you need to know to start using SQLite effectively. You will learn SQLite via extensive hands-on practices.
Microsoft isn’t going to announce it from rooftops. Gold stars for basic features aren’t really a thing.
@prime lichen Sorry, I typically don't accept friend requests until I get to know folks better
Nothing personal at all
And Edge is tied to Chromium so feature could have come from them.
Welcome to modern applications
It's ok
The thing is I am new in programming
So I think you guys can help me out about the problems I faced in the programs
hi
Can you tell me some online youtube channels to learn python as a beginner
Absolutely!
!resources So we have plenty on our site. Typically I suggest the websites for "Automate the Boring Stuff" and "A Byte of Python". If you prefer videos, we have a section that links to a couple channels that are excellent.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Ok thanks for helping me out
hey
I am having hard time debugging my code
how are you
Good, 'bout yourself?
What's going on with it?
Can anyone help me about c ++
im a french kid of 13 and i coding python about 6 month do you have some tuto for be better ?
What settings should I use to auto save my c ++ codes
Not sure on that, Wiz. I can point you to some C++ focused servers
Actually I use print statements to debug. getting frustrated seeing all prints
What you guys prefer me as a beginner for learning python vs code or pycharm
import sys
def debugPrint(*args, file=sys.stderr, flush=True, **kwargs):
pass
if __debug__:
def debugPrint(*args, file=sys.stderr, flush=True, **kwargs):
print(*args, file=file, **kwargs)
# ...
debugPrint('foo')
# or
if __debug__:
debugPrint('foo')
thanks
I actually suggest either Thonny or Mu Editor (both of which are listed in the Tools section of the resources page). They let you focus more on learning the language instead of having to mess with learning the editor on top of the language
Ok

If it makes you feel any better, I'm mainly guessing
bye all
still know more than me 😢
i cant even make an app yet
all i know is fundamentals
Just keep trying stuff. Even if you're not making a whole program, just try out new little concepts or things you want to better understand
And ask questions
That's always important
Never be afraid of asking something, even if you think it might sound stupid
We all started somewhere, and we didn't know any of this at the start either
What kind of stuff can I start making with python
if u want to make mobile app go for flutter or native
I dont mean apps like as in mobile apps
almost anything
set of instructions that perform some operation
I usually just say apps for anything u make that can be used
Programs, apps, scripts, thingies, bane of existence, etc.
first learn C and then come to python
if u learn python u will not understand some low stuff
it is always good to go from hard to easy
// Some ugly JavaScript ... ignore it
'use strit';
for (let text.process.argv[2], patt = /\S+/, mo; (mo = patt.exec(text)) !== null; console.log(mo[0])) ;
rather then easy to hard
C is not that hard
pointers is somewhat confusing
i agree
i prefer c over java
java is too code to write
You really think I should learn C before python?
My first language is C
I agree with what Helmlock says, Python first.
and iam happy i choose it becoz of academies
Rust is also interesting
i like forloop in rust
same like python
my school is teaching me c++, I'm learning python on my own and know javascript/react pretty decently for a beginner
Onething i hate in Rust is let keyword and that mutable concept
Just another way to define a function.
Well, the body of the lambda has to be an expression.
Hemlock i can say onething Learning C u can learn any language easily
compare to python
If you say so
programming is not the languages but the concepts
Rust Document is So damn nice
whichever you learn till you understand the concepts you will be fine in any language
agree, but learning C helps in logic building
I think python isnt a bad first language because its easier to learn the concepts of things
then when you go to something like c or c++
you don;t have to worry ab concepts as much
just the abstraction or whatever
it also depends on what the person wants to do as a programmer
>>> def add(a, b):
... return a + b
...
>>> add
<function add at MEMORY_ADDRESS_IN_HEX>
>>> add = (lambda a, b: a + b)
>>> add
<function <lambda> at MEMORY_ADDRESS_IN_HEX>
lambda *args, **kwargs: x
is equivalent to
def lmbda(*args, **kwargs): return x
except the lambda is a single expression, so you can in-line them in dictionaries or function calls or whatever, and def cannot.
not everyone's coding embedded systems where you need to deal with kbs of memory
>>> lambda:None
<function <lambda> at 0x7f348f2500d0>
and the lambda doesn't know its name
I think my biggest issue is how I chose to learn python and javascript. I kinda did the step by step handholding learning (freecodecamp etc). So now I know the fundamentals but I'm afraid to build projects especially the thought of making something that can't be done in less than an hour or two. I know this is a terrible mindset though bc a MAJORITY of things wont be done that fast.
agree but learning low level is always helpful
I think I first learned QBASIC on my own (back in the Windows 95 / 98 days)
how old are u?
30's
oh
my school teaches me DS&A im mostly just worried about the software development process of things
dsa using which language?
Old enough to remember when my 2 year younger brother purchased a Nintendo 64 from the local supermarket
i think c or c++
c++ and python
So say I wanted to make a Python Authentication app that generates a random code i can use for 2FA on websites like twitter etc @rugged root
would that be possible?
True but again mostly but not always as someone doing front end web development for example would never need lower level things
even back end till you're decent enough with your data structures and algorithms you don't need to be dealing with anything low level
I think that'd be a cool first project if that's not too hard
ANYTHING IS POSSIBLE IN PYTHON
Ah okay that makes sense
Do you have any recommendations then? I'm more interested in like backend stuff
Cisco uses python for network stuff
my friend is working
this proof is enough to show the power of python
!projects
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Cisco uses Python to manage network equipment. Not for actual networking.
We got a whole huge list of potential projects and ideas
Yeah for controlling devices
and VMS
Just pointing out that actual packet handling isn’t python.
Wouldn't algorithms be useful though for things like search?
Like how is discords search so fast?
they use tools
Typically those are premade solutions
thank you for this website btw
The kind of folks who make those are doctorates. They've made battle tested solutions
Any time!
he told me that they are providing Hardware support for start ups
Typically if you're doing things like cryptography (which would include the 2FA stuff), password solutions, some search engine solutions (although that's worth picking apart and trying to make a basic one) then you're going to be using a prebuilt solution
From beginners to pro, sometimes it's just better to use something that someone did already if it works
are using libraries and apis necessarily bad? or are these prebuilt solutions different from those?
Oh no they're a necessity
They're there to save you time
So that you don't have to reinvent the wheel each time
not everyone code everything
libraries are built by smartest people to make life of developers easy
and they maintain it
idk where i heard it and who said it but theres a saying: "the best developer codes the least"
going by that the less code you have to maintain the better the project is gonna be
To a point
You are in #voice-chat-text-0 but not in #751591688538947646 ?
Ig i'll just start with something simple like a cli weather app and image scraper
You still need to look at existing solutions to see if they're actually going to do what you need
Not a bad policy
I didn't know you could tag voice chats that's cool
and entire project gonna messed up
because a lot of people doing one thing they’re good at, is better than one person doing everthing theyre ok at
I'd rather not explain how ... Trolls would abuse it.
Yep! <#channel_id_here>
🤦🏻♀️
thats fair
Is this for me?
i never saw one person building everything except some smartest people on earth like Dennis Ritchie.
and some other legends who spend everysecond improving
yeah this is talking extremes
but in general if there is a library or project that does what you need, then you're most likely better off using it
tyty
even if you have to do things differently from how you originally planned it
Happy to help
Eh
i program in notepad++
kidding i use vscode it just seems the easiest imo
👀 meanwhile indian houses -> no wood everything is concrete
1 earthquake we all die
No mere tile-matching solitaire game, this is a full implementation of Japanese Mahjong. A fun, strategic variant of the classic Chinese 4-player game!
$4.99
mind hopping here? #voice-chat-text-1
ooo can i help
word = "coding"
you should make your word a random.choice from a wordlist
the put ur user input guess in a while loop with a certain amount of lives
Hello
if guess in word:
== is not-> !=
did LP say they're a backend swe
What size monitor do u guys recommend for programming? or should are u guys 2+ monitor andys
i know a dude that got taught himself programming last year of hs then got a job like 4 months after graduating dude makes like 90k a year now 2 years later @whole bear
I have a pc already
i do plan on getting a 16in MB soon
im waiting for m1 to come to the 16 inch
m1 was so nice when i had it for MBA
@whole bear I switched to Linux while doing my MBA and never regretted it
@zenith radish Does it not? https://dev.to/ssoteloserrano/installing-doom-emacs-on-windows-23ja
if they sold a manual for that shit im like 100000x sure u can find a pdf on the internet first result google serach @haughty pier
windows
proprietary: no privacy
wait for Microsoft forever to fix any bug
your os looks and feels as Microsoft wants not how you want
bloated
background processes hog all the memory
lacks unix tools like xxd, less, nano, vim, sed, awk, grep, etc (there's powershell alternatives but alot of them are harder to use and not as accessible as powershell community is much smaller)
...
linux
memory efficient
most distros have minimalist versions that come without bloat
has GNU utilities (unix utilities but better :p sux for mac and bsd users)
has package managers easy to install stuff
you own the os just switch out whatever
open source so you can fix bugs yourself (although if you can't someone else will eventually if you just make an issue)
elitist communities
too many choices
systemd haters (its not as bloated as ppl say its just not only a boot manager.... systemd is a whole suite of tools)
...
what is on your harddrive that you hate closed source software so much @haughty pier
u use wifi so thats where ur privacy left already
Do you think the vaccine is a microchip @haughty pier
GNU utilities are still more convenient then posix compliant ones like mac's :p change my mind lol
@haughty pier http://www.openra.net/
a big issue with people moving from windows to linux is often that they try to find same software they used on windows in linux instead of looking for alternatives made for linux
those software are mostly the ones that aren't on any distro's repo and you have to either compile from source or use snap
And the free software doesn't typically have the same support or the same features. Open source does not mean better, but it also doesn't mean worse
agreed
word = "coding"
guess = (input('enter the right answer: ')) #end-user will try to guess a right word
if guess in word == "coding":
print('Congratz you are not hanged')
else :
print('Try again')
says invalid syntax without lining the line
where it is invalid
comparing open and closed source is like comparing 2 different countries
both would have good and bad places
nice people and shitbags
you can't really say 1 is all good or 1 is just bad even if 1 has a slightly better image
^ for most people
but for developers who can actually read and understand the code
open source mostly wins as we do actually get more benifits be it customizability, ability to contribute to our favorite project, etc
Hello
✅ @coarse birch can now stream until <t:1632855264:f>.
@coarse birch
how you get the privilege of speaking mates?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Is there someone know how i cab sum:
Sqrt(1) + sqrt(2) + sqrt(3) +.... sqrt(n)
In general
I'll be on in a moment, going to hop in the van for deliveries
@coarse birch you need to exit from the python interactive console if you want to run your program
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
#Percent Omega ,Radial
manual_spans_reversal = [(16,32),(183,212),(227,243),(257,282),(527,562),(587,601),(767,797),(849,873),(887,912),(961,1051),(1068,1096),(1292,1308),(1353,1366),(1741,1757),(1770,1786),(1803,1857),(2124,2137),(2160,2173),(2204,2224),(2241,2341),(2375,2415),(2432,2457),(2775,2795),(2806,2853),(2911,3002),(3114,3124),(3152,3174),(3532,3551),(3609,2624),(3887,3952),(4223,4241),(4329,4347),(4532,4563),(4652,4671),(4682,4697),(4937,4973)]
total_count = 0
total_frames = 0
overlap_count = 0
overlap_frames = 0
for i in manual_spans_omega:
total_count += 1
total_frames += (i[1]-i[0])
check = 0
for j in ranges_omega:
if (j[0] > i[0] and j[0] < i[1]):
if check == 0:
overlap_count += 1
check = 1
overlap_frames += (min([i[1],j[1]]) - j[0])
elif (i[0] > j[0] and i[0] < j[1]):
if check == 0:
overlap_count += 1
check = 1
overlap_frames += (min([i[1],j[1]]) - i[0])
percent_called = (float(overlap_count)/total_count)*100
percent_overlap = (float(overlap_frames )/total_frames)*100
print(percent_called, percent_overlap)
I must be listening to stuff I cannot understand
what would the line look like to find if j is there and not i
@coarse birch are you trying to make hangman?
Ok
Ah yes sun tzu and his quotes
Idk if it’s a bad joke
Who said “is it good to be a coder”
You don’t @haughty pier ?
Bruh
Idk if I can answer it
Cuz I’m young and unintelligent to the world
@rugged root turning 14 in few months
I have no idea what SQL is
Harder then C?
@zenith radish sounds hard to do that
I’m going to go now
Bye now
yeah hangman
Help on built-in function print in module builtins:
print(...)
print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
...
flush: whether to forcibly flush the stream.
the above was retrieved via help(print)
also, for your entire Python process:
python --help
...
-u : force the stdout and stderr streams to be unbuffered;
this option has no effect on stdin; also PYTHONUNBUFFERED=x
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I joined today so
Can't
@haughty pier
Lienucks
@terse needle Lie nuks
It's not loading Aron
Is this a terminal
I am back
Hi
@haughty pier I am so opinionated that my opinions cancel out each other leaving me with no opinion
Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows. It includes its own declarative language to describe system configuration.
Ansible was written by Mic...
The fast, feature-rich, GPU based terminal emulator Fast Offloads rendering to the GPU for lower system load, Uses threaded rendering for absolutely minimal latency, Performance tradeoffs can be tu...
hmm, looks like the VPN still won't let me talk or listen.
@leaden comet Hey man, I'm just listening in the chat. I'd say I'm an intermediate python programmer, but I don't have any advanced level courses I can take currently. Could you recommend how to begin to learn structuring for larger projects? I recently took on a large project and I'm having issues learning standard practices of organization and structuring. I hope this isn't too vague. I can give an example if needed lol.
@wary meadow ty
@leaden comet @wary meadow Will do. I'm trying to deploy a local webserver for home automation/stats, with authentication, create a live updated GUI from SQLite db, and I understand how to do 90% of it. The issue is putting it all together, it becomes a hodgepodge of disgusting code. In reality it's because I'm extremely limited in time due to my job and studies.
....flask....
lol
I need it to be light
raspberry pi running the deployment, and ESP32 boards gathering info/receiving commands and doing things.
I'll give it a watch. are you guys doing cybersecurity at all?
Yeah, I want to release my project in about a year so, I can do multiple versions lol
naw, security scares me so much.
I'm going for it after I graduate in December
very well paid jobs in that field
CCENT
@leaden comet lol fuck, drink the cool aid
Stupid question: What does it mean exactly to deploy a webserver? Why can't a raspberry pi execute the python coded files and run the webserver itself, without the frameworks in this picture? I it considered unsafe, inefficient or something else?
@leaden comet
your raspberry pi can be a server
So, just execute the code is the same thing as deploying it? I just wanted to make sure I wasn't missing something here.
okay okay, gotcha ty ty
I have no type of mentor or someone irl to talk to about this stuff so this is cool. Yeah, I use pycharm on my pc and have a repository
ssh and do that, yeah
lol
Great, joined your disc, I can bother you all the time with stupid questions.
sure!
@leaden comet @wary meadow I'm currently and AV/Control Technician. I'm finishing a degree in MIS, and then doing those certs above.
@haughty pier @errant nova That looks really cool. I will try to run it an play with it this weekend!
@errant nova what do you think of this? https://www.python.org/dev/peps/pep-0621/
people keep joining voice chat without voice perms - there's a voice-chat information channel above that tells you how to get the voice role, though, you just need to be a member of the server here for so long and post so many text posts...
@haughty pier too tired to look at it now - but I'll see tomorrow
i have one doubt ?!
Do I just text enough right?
Yeah I won't violate any rules
Fail for me
I have lived in Canberra for 3 yrs
Still having trouble telling the difference lol
Life was nice back there
Not stressful
What car do u have?
Had this in Aus
Lots of memories
Yes I'm a car guy
Yea
Not gonna be better for me
I wanna visit Australia some day again
I gtg
I have a Physics quiz after I get up
Peace
i cannot stand my mic
oh well
i would not mutilate myself with esoteric langs
why did i choose the path of implementing chess and not using the chess package and have everything clean and ready
i guess because of my "too good for dem all" nature
i regret every decision i make
@strong arch u have any suggestions for the undo mechanic
now uh thanks @somber heath @strong arch
NOW UH THANKS @strong arch
pascal is a lovely lang
oh my
that is actually so great
everything can just be expressed in symbols and poof we have concise math exprs
actually some new lang I love
hi @somber heath
do not scroll to the bottom of the servers member list or face yor worst fears
i found a bug in discord
@somber heath ^^^
look at the video
i bugged the member scroll thing
yeaaaa
that happends to my bot
@somber heath
Let me show you my code
I can’t do anything
Bcuz I am not voice verified yet
It is my probelm
But Tommorow I can talk
Bcuz
I checked
I should be 3 days in the server
It is Day 2
heyyy opal
Why don't you reply to dm's 😦 @somber heath
@somber heath, my birthday coming in few days
I believe I made myself clear as to why.
A point you've elected to disregard.
@somber heath can you pls join code help 0
hola to whoever was that one xd
@somber heath HOLA
yeeeeeh lmaooo
yeah i can work with it
i've heard way worse mics
naaah just a little cracked
volume is ok
no problemo
@somber heath hello
@somber heath Hello
@somber heath i m sorry but would u mind repeating that
@somber heath okay cool
how r u
I feel terrible right now!
!zen
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!
I am making an bot whihc can help me with my studies
I am using for my school uses
Bcuz
I want some past data for future exams
Yea
Yea
Like an recap
Basically
Started making it yesterday
Ok
I am going to make an fresh new code
Yep
No
No
I am going just leave the old one
Make an new one
But
This time
I am going to make the chat bot myself
Yea
Opal
I have an doubt
I am going to take full couse tutorial and take the most important for my chat bot
Will it work
I am really new
So I don’t have clue of idea
But I am going to do it
It
Ig
Corey Schafer, YouTube. Playlists. Python.
Yoo
Opal
I am on the code right now
Oh
So
Made an fresh new code
But this time
I made an new code
I mean file
Sorry
I am new
Let me try
Dude
My first attempt failed
Just an simple Print command
I opened Hello word
Come on
Why
Why I am so bad at python
Oh
I have an idea
Opal
Opal
It takes time and practice and experience. 🙂
Yep
But first I need read python
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
What does it do
I am doing all my thing on my iPad
I am just 12
It is not python
It is Python Programming Interpreter
3.7
I to upgrade I need spend money
Guys
I made the first code work
Which the print code
Just Hello world
Now
I am going to an calculator
I am an high school student
LOl
LOL
Yep
I need to make this study bot
Quick
So I have to learn fast
So cya
Can I make guis
Guys
@somber heath can I make guis
@somber heath
Python comes with tkinter.
How do i verify my voice
There are other, third party gui frameworks.
How much days are u there
Ok
Let me try this out
Idk since my friend send me to join 😂
Python and iPads are probably a bit of a nonstarter.
Apple wants everything in their walled garden to be Apple.
For touchscreen things, there is Kivy.
Cover your Python foundational knowledge, first.
Hey @whole bear!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
!paste @whole bear
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.pythondiscord.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.
With adequate foundational knowledge, you can know enough to teach yourself other modules and frameworks.
!ytdl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
@somber heath
Opal!!!!!!!!!
GGGGGGGGGGGGuuuuuuuuyyyyyyysss
@somber heath
Do you have bunch of tutorial Codes
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...
@strong arch Refrain from trying to post links like lmgtfy, it's dismissive and intimidating to beginners. You're free to teach people to find their own answers, but do it in a friendly way.
@somber heath hey wats up man
Opal isn’t here
Random question: do you guys think graduating with $8,000 to $10,000 of debt from college is chum change?
Americans be like
I would need to see the rest of the code to get an idea of what you're doing.
import pyttsx
recognizer = sppech_recognition.recognizer
while True:
try:
with speech_recognition.Mircrophone() as mic:
recognizer.adjust_for_ambient_noice (mic, duration = 0.5)
audio = recognizer.listen(mic)
text = recognizer.reocgnize_google(audio)
text = text.lower()
print("Recognized{text}")
except speech_recognition.UnknownValueError():
recognize =speech_recognition.Recognizer()
continue```
@somber heath :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | ...
003 | ^
004 | SyntaxError: unexpected EOF while parsing
You have a with that you don't make a codeblock indent for.
What should I’d o
Presumably you have code you want to have run within the context of mic representing a...listening microphone?
No
I want to the bot to listen to me
And not the mic listen
Here's how I use a with elsewise.
with open("file.txt", "r") as file:
text = file.read()```
with, the context manager, is a codeblock-requiring thing.
As in four spaces...the one indent.
I don't know.
It's your code.
How long have you been doing Python?
Right.
So. Go on Youtube. Find Corey Schafer.
Go to his playlists.
Find the "Python for beginners" playlist.
Go through that.
Get yourself oriented.
I want get a key about what is an codeblock
Are u playing some louder music in the universe
Don't worry about doing any bot code or voice recognition or anything like that.
Dude
Not until you've built your foundational knowledge.
Then you can build on top of it.
Ok
hi
helo
nice
@zenith radish why don't use an editor like vscode?
alr alr
ten thousand open tabs lol
@zenith radish you are learning from experience i see
i browser can barely handle 10 open tabs
hmm
In this Python Beginner Tutorial, we will start with the basics of how to install and setup Python for Mac and Windows. We will also take a look at the interactive prompt, as well as creating and running our first script. Let's get started.
Mac Install: 1:25
Windows Install: 5:44
Installs Complete: 8:37
Watch the full Python Beginner Series he...
Here's that playlist I mentioned earlier.
hello everyone,i am new here to phython and this community
did by any chance anyone here are majoring in information system?or are preparing to be one?
wassup too✌️
@coarse cape ye
helooooo 👋
:0 how good is the debugger mate?
it's good, I use dap-mode to connect to GDB
and GDB is as good as debuggers get imo
i am currently starting this course,its really well made
@whole bear yo
hello too
hey
helo, and i gtg
hello
» args-kwargs
» async-await
» blocking
» botvar
» class
» classmethod
» codeblock
» comparison
» customchecks
» customcooldown
» customhelp
» decorators
» defaultdict
» dict-get
» dictcomps
Off-topic channels
There are three off-topic channels:
• #ot0-psvm’s-eternal-disapproval
• #ot1-perplexing-regexing
• #ot2-never-nester’s-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
I like you, @stuck furnace
Oh right, forgot I didn't log off of my machine yesterday
im back 👋
Was wondering why everything was already up and running
Hemlock, wont you be joining us?
I just sat down
voice chat seems busy , my bad
show it?
Hello Hemlock
G'evening
hemlock did you lose weight btw? i'm looking at your profile pic and i remember you streaming day before yesterday your face looked much thinner in the stream
I might have a little
Haven't checked my weight in a bit
I know I'm a bit heavier than I'd like
My diet says otherwise
no one gonna stream eh?
i missed that mate 😦
If my internet's nice to me I'll go stream
TIME ZONESSSSS
Probably configuring my shell
@zenith radish which lang mate?
Go
i can help in c++, js, py and rust
SCREW IT
wait
plain c or objective?
idk objective c
ah
im an enum addict 🥲
i do everythin with OOP
I find it weird how when I'm learning new languages, the first time I do it, I'm super stumped, and when I come back everything just makes sense
c isnt object oriented innit?
ikrrr, same here
I used to not understand Rust lifetimes now I do
rust goes brr but its very young
c++ wont be replaced anywhere in the next 30 years or so
go is a google chad lang
ive never used it before
"Oh, what's 'static?"
...
"Oh, it just means it lives arbitrarily"
hehe
Part of that intuition comes from tooling honestly
Rust is great at helpful compiler errors
any good rust and c++ ide's?
Emacs
ive used vscode, im scared of tememetry
anything that has LSP support really
any cool doom emacs configs you got there
I understand Rust lifetimes when I read about them, then I attempt to code something even slightly non-trivial and it breaks and I have no idea how to fix it.
@zenith radish which one again?
CLion
Don't use Doom :P
I have a vanilla Emacs config
