#voice-chat-text-0
1 messages ยท Page 76 of 1
have you guys watched the tv show 'Severance'?
pov: me being the only one who didnt get it
Someone else dc'd
@dark ice I am, just can't do the talky talk
Yep
Classic
It absolutely is a good place to think
I'm not an admin - was going to say
Classic
Such a classic
What's brown and sticky?
A stick
Sorry
what is scss?
peaky blinders
It's a super set of CSS
super computer still sucks
Mr Hemlock covered in honey.
Or what hemlock said
its for like graphics?
So it adds additional functionality - HA, nice opal - on top of CSS
It just lets you tweak styling in HTML files more easily or differently
alr thanks
since when do monkeys do what they see
Peer pressure
You're looking blue
its even more difficult for the person who has to tell them the news
Hi Jim! i know you have a family, but you gotta go
I'm still bummed out that I haven't been able to dedicate the time to admin duties as I'd like
But I know our team is friggin awesome. I know I left it in good hands
And in fairness, the role color with the wreath looks really nice
Shareholders and Executives
@mild quartz Yo
To a point
Depends on how low their up front wages are
That really only works when all their basic needs are met
Yes, and it's $100
thts nice ....what switches?
gateron yellow pro v2
is tht a switch name?
Yes
Not sure, they came with the keyboard I didn't get them separately
Got the option to get the board with switches + keycaps
?they have software or fn change
@rugged tundra You keep saying ACH API
ACH through what
Your bank?
Bro courage
Bro courage accounts
Provided to YouTube by The Orchard Enterprises
Kiss Me Goodnight, Sergeant Major ยท Arthur Askey
Arthur Askey
โ 2011 Xelon Entertainment
Released on: 2011-09-26
Auto-generated by YouTube.
What would be the main benefit of them unionizing
@rugged tundra I feel like you're looking at buzzwords before getting a grasp of what they are or fully relate to. You can tap into an ACH API, yes, but you'll still have to be tying it to and working with a bank
@mild quartz I'm just not sure what benefit they would get from unionization in their case. To me most unions get formed because there is a form of exploitation of workers in that field
With how much those jobs (programming specific in this case) make and get compensated, I don't know if it is beneficial
I could see this for IT
But not programmers as a whole
Exactly
Potentially
Blue collar
Yep
Tech doesn't really have that problem per say
Again, I think IT and more specifically the techs going out on the field work could benefit from that
But Programming, Software Engineers...
It would hurt more than help
Take with a grain of salt, of course
I'm mainly talking out of my ass
But I am a smart ass soooooooo
OH That reminds me
Anokhi
I have a thing for you
@mild quartz https://youtu.be/9X_ViIPA-Gc
REMASTERED IN HD!
Official video of Meat Loaf performing I'd Do Anything For Love (But I Won't Do That) from the album Bat Out of Hell II. Buy It Here: http://smarturl.it/b9gf4g
Watch more remastered videos! https://www.youtube.com/watch?v=hTWKbfoikeg&list=PLDNtAuXIhbEPLcw6HLBLkVJl_MUd0DFW2
Follow Meat Loaf:
Facebook | http://www.facebook.co...
Sounds right
Supreme ad-lib
I miss being able to talk
I feel so naked without it
@formal ember Yo
How goes it
Oh huh
I forgot that distutils was deprecated
Yo sapo
@young dome ๐
What're folks up to in here?
Datos= pd.DataFrame([[Informe_No, Municipio,Muestra[0][0]]],columns=['Informe No','Municipio','Muestra No'])
if len(Muestra)>1:
for i in range(len(Muestra)):
if i ==0:
pass
else:
Datos.append(????????????)
print(Muestra[i][0])
print(len(Datos))
return Datos```
hi how i can append that list
in the way i have this
Datos.append([[Informe_No, Municipio,Muestra[i][0]]])
``` is nto working
Hello
@quasi condor How's it going Mr. Bucket?
Let's not be having any chocolate factory references
help guys ๐ฆ
What's new in your world
Unfortunately I'm busy with work and so I'm having to hop between here and there. You'll likely have an easier time getting help using our help system. See the #โ๏ฝhow-to-get-help channel for more details on that
Sorry
@quasi condor https://www.youtube.com/watch?v=caMIkwTPBwA
Get ta fuck
cheer up charlie
charlie's lucky day will come along, till that day you got to stand strong, charlie
This pleases me
@ancient lily Welcome back
How's it going
Well that's good
Better is always better than worse
Decent so far. No major IT fires to deal with
Going to be working on the ethernet jacks for the walls a little later today
And I find that relaxing
So should be smooth sailing
Like the cable from your computer to your router
So in our office, we have ports in the wall that are fed through the ceiling all the way to our server room
So we can just plug into the jack and then into the computer yeah
It's nice
But we had a pipe burst near the end of December and they had to tear out the walls and a whole lot of crap
And some of those cable ends got fucked up
Eh, this is the least awful part of all of it
It was really really bad
Lots of damaged files, computers, having to have the carpet, walls, and cubicles replaced...
Having to replace a couple jacks is easy peasy
Yep
So we own the building that we work in, and it has 3 office fronts: Ours and two others
In our office, only my area was the one that was severely damaged and flooded
Which eh, I can live with, I'm adaptable
But the other two office fronts....
So I was the one that found the burst first
And once I closed off the water main, I went to check the other two office fronts
The furthest one had like 2 inches (whatever it is in cm) of standing water. Opening the front doors was like opening a flood gate
And it was like that in their ENTIRE office
Ceiling tiles had gotten waterlogged and fell, the womens bathroom was trashed, and every office door we opened in there released another mini flood because the doors are so low to the ground they acted as a seal
Surprisingly they didn't get much damage
Worst they got were some water lines
But worst thing for them, the water burst right over their server room
Aallllll of the stuff in there got screwed
Nope
If memory serves, they're stock brokers
And most of what they do has them remoting into servers over in New York
So they didn't lose a lot a lot
But certainly enough to be crappy
Exactly
We're moving the folks in the center office front back, the far folks are almost done, and I'm wanting to make sure they're settled before I bother getting my setup back where it should be
I'm our inhouse IT for context
Nah, as in I work in the office here. We have our MSP (managed service provider) who handles things like network administration, server maintenance, security, etc. I'm more boots on the ground "Hey this isn't installing, why isn't my printer working, help it's making a bad sound" kind of stuff
The front line before we have to call our MSP
It's not my only duty here, kind of grew into it. Technically my title is Administrative Support
But I'm just kind of a jack of all trades around the office
Some days I wish I was a programmer, other days I'm glad I'm not
@pliant atlas Sup
How goes it
I can hear you, you don't have to type if you prefer
it was so damn hard
Dipped or crashed
His Discord crashes
A lot
@pliant atlas What made the paper so bad?
@keen lark Yo
Oh jesus
So glad I'm not a student anymore
None taken
I'm only 33
Crap one sec
Talking to our IT one sec
all good
So what're you folks up to now? (still on the IT call)
we were talking about how bad I am at chess
I've just started to play for like a couple of months now
Just thinking about play chess makes me anxious anymore. We've got some folks on staff who have been playing obsessively. In my mind I'm like "Oh we can just do a fun game of it"
Nope
They take no prisoners
speaking of "nerdy podcasts"
https://oxide-and-friends.transistor.fm/
what's the template?
looks like error with <> in the template
```jinja
template here
```
can you send this file?
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Register{% endblock %}</h1>
{% endblock %}
{% block content %}
<form method="post">
<label for="username">Username</label>
<input name="username" id="username" required>
<label for="password">Password</label>
<input type="password" name="password" id="password" required>
<input type ="submit" value="Register">
</form>
{% endblock %}
Finally, one more thing done
Hobby
I'm not a programmer by trade
!stream @vast light
โ @vast light can now stream until <t:1675966161:f>.
Yep
โค๏ธ
and base.html?
@whole bear Yo
Always watching
does anyboy know why in tkinter a buton stays as pressd until multile functions are done this makes no sense as other buttons in the same script releas after the assigned function is called?
this
@vast light
Hard to know without seeing the code.
its a bit messy code do you want me to send all code or just the snipped where i think the problem exists
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.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.
Toss it all in there
Which button does it
Command+Option+I
in the playerGame Function either the stand Button or the Hit button when it bust which both trigger the script to call itself and then call a new script
Looking
the best web scraper is a non-existent web scraper
lichess has quite a good API, iirc
Does this happen when there's multiple players, one player, both
I don't remember if minesweeper.online has public API
So no matter how many players it happens as soon as thr scipt wants to call an extern function
they don't seem to have explicit rules against using API outside of the site itself
both chess.com and lichess provide tools for analysing blunders in your own games
chess.com charges for it
lichess rate-limits it somewhat
@rugged root
!stream @verbal zenith
โ @verbal zenith can now stream until <t:1675967402:f>.
Gotcha. Sorry, I'm bouncing back and forth between here and work
No worries
And I don't know when I'll be able to dedicate a lot of time to this. It might be easier to open a thread using the help system. See the #โ๏ฝhow-to-get-help channel for more details on that
compile to WASM
hi magicalgirl
That sounds like a ..... WASM idea
Ok thx
Anyone hungry? ๐
gib
Well I wasn't until you showed that
It is one of popular.
More popular with fried Onion. ๐
I made it. ๐
I don't eat that
hi dawg
Aaha. ๐
good job ๐
This is my goto. ๐
I would eat them all.
I take about 8 for one meal. just to keep hunger for next meal 
does anyone here use jupyter notebooks and python scripts together?
importing modules from notebooks?
that's the easy part, I'm talking about developing modules and running it in the notebook
make main() function in the script, run main() from notebook
That doesn't work if you make changes to the module.
!d importlib.reload
importlib.reload(module)```
Reload a previously imported *module*. The argument must be a module object, so it must have been successfully imported before. This is useful if you have edited the module source file using an external editor and want to try out the new version without leaving the Python interpreter. The return value is the module object (which can be different if re-importing causes a different object to be placed in [`sys.modules`](https://docs.python.org/3/library/sys.html#sys.modules "sys.modules")).
When [`reload()`](https://docs.python.org/3/library/importlib.html#importlib.reload "importlib.reload") is executed:
I'm looking at something involving importlib
I found this too: https://stackoverflow.com/questions/64158622/jupyter-does-not-see-changes-in-the-imported-module
I have a file called "Notebook.ipynb". I want to import my own module into it patterns.py. Let's say in patterns.py I have a variable a=1. If I print it in Jupyter after importing it, I e...
with %load_ext autoreload %autoreload 2
autoreload is less controlled
you might want to only reload the module when running a specific cell, which isn't provided by autoreload
@uncut meteor it needs html, that's why it argued about syntax
Do you have a separate code cell to house the reload code in?
if I understand the previous error messages correctly
I'd probably put import and reload in the same cell
just to make sure the module doesn't get reloaded when further cells are executed
so, like, if
cell1: import/reload
cell2: use the module
cell3: use the module
without running cell1, cell2 and cell3 should use the same module
unless cell1 is ran, shouldn't reload
import importlib
imported_module = importlib.import_module("model")
importlib.reload(imported_module)
from model import Perceptron```
That's what I have in it's own cell.
@verbal zenith
copilot reproduces bugs
reproduce bugs?
ฮฮฮฮฮฃฮคฮ ฮฮฮฮ ฮคฮฮฅฮกฮฮฮ
if code like this is frequent enough, it will eventually be written by copilot too
int *new_array() {
int array[] = {0, 1, 2, 3};
return array;
}
@fallen marten We aren't. Also please use English, as it's an English only server
can you modify the output of pip freeze?
Hey. It doesn't mean we are the turks literally. It's just a support phase for turks, who suffer earthquake
Or should you leave it the way that it is? There are a lot of dependencies that are installed by my main libraries, I'm not sure if those should be included or not.
in what sense modify?
Okay, sure. But if there's no context or conversation about that topic, it just comes off as random spam
use venv
But I gotchu, I never post like this again
I am.
what are you using pip freeze for?
requirements.txt?
that probably shouldn't be auto-generated to such extent
Don't listen to Hemlock - he is
pip freeze > requirements.txt
Is the the normal way to generate the requirements file?
@vast light Could also just bring it up to the professor.
with enough effort/enough lack of care, pip freeze output can be impossible to install as requirements.txt
I mean yes. Just not in this instance
because of transitive requirements conflicts, upgrading, all that
Are you using anything like poetry or PDM?
it is an easy but unreliable way
I'd say requirements.txt file shouldn't be generated in the first place
Sounds good, I can write my own then.
pip doesn't do this as well as npm/cargo do
Typically why you use something else to handle that kind of project management/requirements stuff
Like what? Docker?
docker is good for checking if you fucked up the requirements file
Fair
Good prep for the real world, though
Plenty of times you'll get unfinished things or not enough info and you just have to wing it
Command + Shift + I
Isn't it?
Flask doesn't have ASGI
Have a good one
I'm a tired old man
Losing momentum
Still have so much to do
What do fish have to do with chess
@quasi condor What're you up to Mr. Chaplin?
Right now - nothing
@pallid hazel sup
Trying to persuade some scrubs to go to Hungary with me
hola
Why?
- I want to go to Hungary
- there's an F1 Grand Prix there
- I want to sell their kidneys
Fair, neat, and that tracks
mi amgo Mr.Hem-sai .. im currently plugging in an algorythm to work from 6 data sources and its not very pretty, but working atm..
Oooo, neat
it wouldnt be a pain cept for its live data and keeps changing :/
@pallid hazel you might know the answer actually. Why are some coax ends shaved down on one side?
I genuinely don't know
easier to start when putting it on i think
Makes sense
Shaved?
.uwu
mi amgo mw.hem-sai .. im c-cuwwentwy pwugging in an awgowythm to wowk fwom 6 d-data souwces a-and its nyot vewy pwetty, but wowking atm..
what the fu
Embrace the UwU!!
Yeah, notice how part of it is flat and doesn't have the threading
I think I remember one of our old TVs having two sides like that
But the ease of putting the coax on makes sense
And grip for pliars when removing them
That'd only be on the female connector
ye because if can actually go in before you needing to screw it
Since those have the locking nut
Well no
I need help I donโt understand this
this sounds nuts
Because COAX hates you
Okay, I'm going to actually get up and take care of the annex wiring. Back later
who uses coax nowadays
coax is still good for hdtv and radio comms
very fragile aswell
@vocal basin can i export env variable with docker run command?
sat eq uses coax also
you mean set env variable in the container?
sat eq?
whats eq
yes. with docker run command
equipment
sphinx compatibility moment
Why wouldn't it?
I think most if not all coax is shielded
@ivory schooner ๐
Ok thanks
hi
I've just went through five hours of trying to help someone to write software in C++
the thing is, I know and respect C more than C++
whereas they know almost nothing in terms of programming in general
it was a superset
C got some things that C++ didn't
over time
also, C++ lost compatibility and some other aspects that C provided
what got the situation even more difficult, is the fact that half the code base is in Kernel/Driver space
idk why use C++ in the kernel, but, eh, it's targeting windows, so can be forgiven
@blazing anchor ๐
it's limited to near zero standard library functionality
like Rust with no_std
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath I'm just spreadin the happines
My purpose is to make others laugh
medium??
It's 10pm for me it's quiet time
@vocal basin One thousand apologies if that hit you.
?
(idk what you're referring to)
so, the initial trouble was that there's no string in the kernel
hello sir
hello
!e py if True: print('A')``````py if False: print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
A
!e py print(1 + 1 == 2)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
doing good man
those explanations !๐
Operator precedence.
you may join a python learning program as well
if you wish to
!e py if False: print('A') elif True: print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
B
there are tons of them available all frm the best unis as well
!e py if False: print('A') ... elif True: print('B')
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 4
002 | elif True:
003 | ^^^^
004 | SyntaxError: invalid syntax
if, elif else
In an if stanza, you will always have...
if ... #Exactly one if clause
...
elif ...: #Zero or more elif clauses.
...
else: #Zero or one else clause.
...```*In this order*.
Writing at the same indentation level with another if or any other code terminates the current stanza.
if ...:
...
... #If/elif/else stanza terminated```
if ...:
...
elif ...:
...
if ...: #Above stanza terminated, new stanza begins
...```
wait do you hear tht opal as well?
or m trippin?
yeh
alright am good....woosshh
yeh its fine
!e py if False: print('A') elif True: #If none of the above clauses (including elifs) were triggered, but this is print('B') #Do this
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
B
!e py if False: print('A') elif False: print('B') elif True: print('C') elif True: print('D') else: print('E')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
C
Note how D was not printed, even though its condition was truthy.
Because there was an above clause that was triggered.
An if stanza only ever runs one of its indented code sections.
If any.
Once one clause is triggered, it abandons subsequent checking.
!e py if 0: print('A') if 1: print('B') if -1: print('C')A demonstration how conditionals work off the truthiness of objects.
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | B
002 | C
!e py if '': print('A') if 'abc': print('B')
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
B
@whole bear ๐
oooo
my reference was not for a particular person
you may have misunderstood my poin
your voice is breaking @somber heath
cant hear you
@blazing dove ๐
The usual response
hi @somber heath
facing this error
https://paste.pythondiscord.com/teboratago
while opening my exe
it is single file but becuase of the gui
it also have some other file
so I am making a dir instead of 1 file
pyinstaller --noconfirm --onedir --windowed --icon "C:/Users/Vatsal/OneDrive/Documents/python projects/bg remover/images/icon.ico" --add-data "C:/Users/Vatsal/OneDrive/Documents/python projects/bg remover/fonts;fonts/" --add-data "C:/Users/Vatsal/OneDrive/Documents/python projects/bg remover/images;images/" --add-data "C:/Users/Vatsal/OneDrive/Documents/python projects/bg remover/gui.ui;." --hidden-import "scipy.libs" "C:/Users/Vatsal/OneDrive/Documents/python projects/bg remover/main.py"
basically this looks so complex so there is another module which provides a ui for this shit
this program is used widely
It worked for me for all my 2-3 exe
but there is some problem with the pyinstaller
because it not able to import some
scipy files
so I added hidden import
for that but still didn't worked out
yeah after importing the hidden import
the folder is stiill
not present
So I think I have to do it manuaaly
wait let me do it
ok
the exe is running now
but I think there my be problem with
the gui
that's why I am not able to see it
it worked
@somber heath
@prime plaza ๐
right now it just importing some images and then removing the bg and saving them in a output folder
example
thanks
bro
@whole bear ๐
Hello
@pliant atlas ๐
hello
andrew schulz
you called it student.py
so you have to do from student import Student
if you called it Student.py you would have done from Student import Student
does python have stacks?
m not so good with stacks though
no way
:{ sadly
@winged hinge please leave
diameter is thiccc
woah you talk hella fast
saving that time
very fast
deez kids slow asf
ok boss man
@winged hinge
you talk very fast verboof
lethim cook
cook what
@somber heath I was tol lazy to click
I never stated into motivation
so I learned code to spend 4 hours automating something that would have taken 2 minutes to complete
@somber heath how do I see the number of messages that have been counted?
weird
lol
I typed user in there
#bot-commands
hi @sturdy terrace
@somber heath
Hello! This time I do not have my microphone. My apologies.
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hello.
did you need python help?
I do need but not now. I am still learning keras.
I am bored. That is why I joined, to listen to you guys.
@obsidian dragon On the off chance you were actually curious: https://github.com/MrHemlock/auto_guild
good morning
I'll be back when I get coffee
@acoustic saffron ๐
Hi Hi!
im surprised ive not gotten a helper role, or honarary title with how often i help people in the help topics.. just saying.. sad noob..
How do I get permission to talk?
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Oh, okay cool!
French?
In like the help threads or in specific topical channels?
HA
Cuppa, yeah
Can go either way
threads
Noted
OH dude
Joe actually has a cease and desist letter premade for the joe mamma jokes
I cannot make this shit up
It's so amazing
The level of shitposting that we have is just next level
She okay though?
Doesn't seem infected or anything?
Leave out some penicillin on toast
Probably yeah
Give them a tiny pegleg
So it becomes a pirate
And then it gets a budgie as a companion
Well yeah
They could probably do a few raids on enemy... um.... trees?
Yarr
I've been back
He doing alright?
I know he's been hating work
Fuck if I know
Yes
It's amazing
I'll have to find it
Anyway, LP
Fair
Okay, I lied, there are two things I've made that I'm proud of. The other thing was a small tool for work. Very simple
Very effective
Such wow
@visual yacht Yo
joe who?:{}
Hello Mr Hemlock
Also hello to @sharp urchin, @cunning lake @surreal wyvern and @acoustic saffron
There, I'm caught up now
hello sir:}
What's new with you, cruiser?
wait you arent the admin anymore?
Nah, I stepped down
I didn't have the time or ability to dedicate to admin duties, and I wanted to make room for someone who can
nm trynna solve sum on leetcode lately ...wby?
bye mr hemlock
Still voice domain lead, mind you
ohh i see
So I still have full control here
:{ wanted to scream
๐ will patiently wait for the day
Hey Cracked
@somber heath I'm sorry you ruin your sleep schedule for me
Yes it is
Let me have this
Nope
Head cannon
Canon?
Whatever
โค๏ธ
Ooo... Healthy Slice feels like a good band name
Eh
I'll take it
How great Opal is
'tt'.strip('t')```
That'd be an empty string, wouldn't it?
you might wanna change your "about me" section as well:}
OH GOD DAMN IT
thank me later:{}
Took me a solid second
But that's so good
You're a treasure
You laugh
But we should do that
Or like a single article
Okay so
I have a very niche program that I made for work - OHH that's gooooood
ummm can i buy one?
java oop go brrrr
The thing we'd be writing?
hi hem
Hey speedro
We'd probably just be writing it as an article or something
No idea if we'd be able to get enough for a full book
Although...
It's understandable
This one
Say what it's doing
You and I might just be broken, Opal
Yeeeaahhhh
There we go
Hell yes it is
@flint torrent ๐
It's so good though
Haii
Be staff for almost 5 years
Then you'll get the variety of role colors
I think Lemon was the one who got the gradient just right
It's a bit broken up now with the extra ones interspersed
@gentle flint Sup
Python Discord = PyDis
Our server is Python Discord
!e
str = []
for i in range(3):
str.append(chr(88))
print(str)
@hoary olive :white_check_mark: Your 3.11 eval job has completed with return code 0.
['X', 'X', 'X']
nice
joe mama
Someone before Joe
joe who:{}
@rugged root had one of these before?
But Joe became owner like... really shortly after
seems like poop
Looks great
for a second i thought thats a beetle
Neat
shut up kid
am i wrong boss man
i mean ...yeh obv
seems better from this angle
why would someones poop be crispy?
poop can be green or red asfar as i know
Sure, but not layered like that typically
it can be blue as well ๐ฅด
:{}
yeh but def not a rainbow
Yeah yeah
ye i was just talking about the chocolate
Okay so
it can be black๐
I have the little database picker for work
thats lgbtq :/
pause
By database I mean Lacerte Document Management System picker
hushhhh...
I think so yeah
I'm doubting myself though
I can't remember if it copies all the needed files into the venv
Wait
rasbian linux?
From Windows to Linux?
what
try eating black grapes
No it won't work
and then taking out the monster
wait you are actually going to install raspy os on your laptop?
Not the venv itself
are you crazy?
Ehhhhhh
I'm not sure I understand.
I'd have to think. Typically it's better to just package it or have it download the relevant libraries
Copying the downloaded libs is... messy
@whole bear ๐
Sure, I'm just saying best practice is to not port all the libraries yourself
that would take a long time....
Something like PDM or poetry
a very long time....
Python dependency management and packaging made easy
It essentially lets you set up a project file structure that someone can then use to replicate the environment
you did it by code?
i have a question, why we can do python -m django --version
and we cannot do python -m time --time
if we are doing python -m django --version
import django
django.version()?
like this
You have to install django from pip, yes
so it only works with not built in library?
Right
no
Source code: Lib/timeit.py
This module provides a simple way to time small bits of Python code. It has both a Command-Line Interface as well as a callable one. It avoids a number of common traps for measuring execution times. See also Tim Petersโ introduction to the โAlgorithmsโ chapter in the second edition of Python Cookbook, published by OโReilly.
Kind of
the peotry github repository is massive
You can use it to make a requirements.txt
With a setup file
However, PDM and poetry just let you do it more easily
You don't need to pipe it
what?
too long
how can I understand whether it can run from command line or not?
LMAO
lets get to minecraft sumday?
Yep, I was wrong, ignore me. About the freeze bit
you can be a bird in minecraft nowadays
you can be a bird in tdy's world too
m a wallmart cart
ye but thats limited
Okay, screw it.
apart from wz its valo for me
I'm making this thing
doesnt exist anymore
Well nevermind, hmm
is it? shd i reinstall then?
Sorry, was trying to figure out if I wanted to make a repo - well I might as well make the repo anyway....
wz servers are gonna shut down
wz2 doesnt have cheaters
also have heard abt wz2
I'm apparently very conflicted
thts nice i was seeing a clip from it the other day ...seems fun when i guess you can talk to your ingame enemy
its all fun and games until they start talking about interesting stuff they will do later
๐น aight bet....time to install it
@glad sandal Yo
@midnight agate How's it going
Sorry to everyone I've missed saying hi to
Hello
Bouncing back and forth with work as per usual
:D
Nice
ah its the alien guy?
what keyboard would you recommend? i mean keychron is good but too loud
Hello @midnight agate
keychron has different switch options
I'm alright. Mulling over something I want to rewrite
Trying to figure out if it's worth doing so
as i know brown are quiet
I am considering nuking my windows partition and installing Debian
Hello
Browns are OK. Reads are quite and linear which means its not completely smooth
My homey g funk brother yo
yes, dictiionary
so its like fast as you go down and then slows down twards the end
i can send a code if you want i have solved this
but you can get blacks, yellows, pandas, bananas, etc... if you want it to be less noisy
I've talked about the program before https://paste.pythondiscord.com/onevalomas
Currently I have the database names and paths hardcoded
like
!code
dict_of_num = {
'I':1,
'V':5,
'X':10,
'L':50,
'C':100,
'D':500,
'M':1000,
}
Planning on making them dynamically loaded
More just trying to figure out if it's worth doing
tell me the loudest one
its the blue switches right?
the cherry mx blue switches?
yeh clickies are there even in red
i like analog keyboards they are way better
No?
why they are so satisfying
Reds are linear
linear is just way better tbf
Not for typing
ye
Tactile of some sort helps with typing
but atleast its has some difference as you go down , i like it
analogs have way better checking for clicks, as soon as you let it go there are no more analog signals
pair them with yelows
This isn't the one I was thinking of but it shows what I mean with the blues https://www.mozanox.com/blogs/new/diagrams-and-differences-of-various-switches-of-mechanical-keyboard
Mechanical keyboards are becoming more and more popular now. In view of the fact that many people do not understand the difference between the various switches of mechanical keyboards, the editor uses a diagram to illustrate the differences between black switches, red switches, green switches, tea switches and white sw
Green is a modified version of blues
Oranges are quite but are tactile i like them
This is going to drive me bonkers
Yellows are linear so way better software control
There was a site that showed gifs of not only the MX Cherry switches, but also older ones like Torque and buckling springs
It was really interesting
I know, but the diagrams and animations were neat
they are linear in a way weird
They aren't
They're tactile. Pressing the key slowly buckles the spring, and then at a certain point it snaps a tab forward that actuates the switch itself
It's the buckling part that's important
how are hyperX keyboards?
man that would hurt
Tactile
amazing
But the buckling springs have a great feel
They're not all they're quacked up to be.
its a very good keyboard
Beat me to it
One 2 or V2 are good
A fowl move on your part
fowl?
panda switches are god tier
not tht panda
never had miya duckies
So what else are folks up to?
Fowl meaning a type of bird, but also a pun on the word foul meaning bad
a pun i presume you made yourself
Yes, but I'm sure I'm not the first
here is numpad
thats amazing
I kind of like it in the center
no ..nvr
woah why is cap lock down arrow
get a RK then
its being demotivated in here
whats tht?
royal kludge
its 131$ in here
for me
my budget is close to a 100
so i guess
this ones a 100
get a razer keyboard then
aight imma chk it out later
ducky>razer innit?
@rugged root how to stream code?
meh
can someone explain the meaning of this question please?
Write a Python program to check the nth-1 string is a proper substring of the nth string in a given list of strings.
what does "proper substring" mean here?
['a', 'abb', 'sfs', 'oo', 'de', 'sfde']
Output:
True
Input:
['a', 'abb', 'sfs', 'oo', 'ee', 'sfde']
Output:
False
Input:
['a', 'abb', 'sad', 'ooaaesdfe', 'sfsdfde', 'sfsd', 'sfsdf', 'qwrew']
Output:
False
Input:
['a', 'abb', 'sad', 'ooaaesdfe', 'sfsdfde', 'sfsd', 'sfsdf', 'qwsfsdfrew']
Output:
True```
it means that liist[index] is substring of list[index + 1]? for example ["a", "abb", "sbb"] "a" is substring of "abb". but this example i belive have some wrong outputs
yeh thanks for the help
@somber heath explained it
