#voice-chat-text-0
1 messages ยท Page 945 of 1
AL?
AL replaces C/AL, but AL doesn't have it's own Wikipedia page
It's what Microsoft's "new and improved cloud" version of their ERP is built in
Only supported in VS Code
Anyone tried Kakoune? ๐
Also doesn't work on Linux, build tools are Windows only
It's honestly great ๐
Whats that
Help is available
bloat

Well I'm glad you asked ๐
No, no, no
oh god don't get him started /s


Want a demo?
"modal text editor"
Erm, it's like vim, but different.
AKA vim
So... emacs evil mode?
Damn it

This is just no
That's just my favourite feature. You can pipe selections through any command ๐
And it has clippy!
Just no
Like, say I want to reformat code with Black.
Yeah
I messed that up...
Yep!
I also have it set up with language servers, so it pretty much has all the features of other editors.
I see you're writing code - would you like me to go ahead and schedule a therapy appointment for your imposter syndrome?
IDK
I tried
Also has Dibert and Cat assistants.
What more could you want?
!eval ```py
class C:
def foo(self):
print('hello')
for _ in range(100):
class C(C):
...
print(C.mro())
c = C()
c.foo()
!eval ```py
class A:
def foo(self):
1+1
B = A
for _ in range(100):
class B(B):
...
from timeit import timeit
print(timeit('x.foo()', 'x = A()', globals=globals()))
print(timeit('x.foo()', 'x = B()', globals=globals()))
Ah 
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 0.07179225794970989
002 | 0.07192551111802459
ยฏ_(ใ)_/ยฏ
Gotta see how far we can increase 100 now...
!eval ```py
class A:
def foo(self):
1+1
B = A
for _ in range(1000):
class B(B):
...
from timeit import timeit
print(timeit('x.foo()', 'x = A()', globals=globals()))
print(timeit('x.foo()', 'x = B()', globals=globals()))
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 0.07099396409466863
002 | 0.07060016691684723
Although I can't quite figure out how the time doesn't seem to depend on how far up the mro the method is? ๐ค
Ahh right.
Ah, I don't know enough about python internals.
I'm going to post it in that channel, and hope someone gets nerd snipped.
Hey Fury
@prime frost :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | For i in range (5):
003 | ^^^^^^^^^^^^^^^^^^
004 | SyntaxError: invalid syntax. Perhaps you forgot a comma?
Bye ๐
How is Wumpy coming along Blue?
Ah
I wrote some code to scrape the API endpoint documentation. I can see if I can find it if that helps? ๐
Back when I considered writing a wrapper.
Then saw how much work it would be.
Ah, it's on a backup drive somewhere. I switched OS recently.
For the last Snowsgiving surprise of 2021, we wanted to give a special someone that holiday trip we promised way back when...to SPACE
(wumpus made it home safe, btw)
Today's the last day of Snowsgiving! make sure you didn't miss anything: https://dis.gd/snowsgivingYT
Wonder if it survived.
You already have to be rich to buy the regular wumpus plushie tbh.
I did some more investigating into that thing 
It seems like creating the deeply inherited class is at least n^2 with respect to the depth of the inheritance.
If any of that sentence made sense.
Cya Rab ๐
So like this part: ```py
for _ in range(n):
class B(B):
...
Takes O(n^2.3) time.
So it's doing something up front, probably to avoid the cost later.
LX could I speak to you privately please
You're most likely looking for modmail
Hello. Please DM @rapid crown for any moderation concerns.
If you need help with something programming related, feel free to claim a help channel: #โ๏ฝhow-to-get-help
no xd just said that they have not left me alone all day sure wue noy is there anyone on the server that scripts in .py files?
I code in Python or what do you mean?
exactly I would like to make a pyrhon script for blender
It is quite a specialist topic, so you are more likely to get help in the Blender server, if there is one.
Although there's a chance it doesn't require specialised knowledge, in which case someone may be able to help you here. If you do open a help channel, make sure to post your question up front, and include any relevant information someone might need to understand what you're asking.
I am learning about Python packaging right now ๐
Also doing university work.
Ah yeah
Yep, I much prefer a declarative configuration.
But this kind of stuff is a bit of a weak area for me ๐
As I haven't really had much need to do any packaging.
One sec. Refreshing client.
๐
I do need to find a good project to work on actually.
Maybe getting more involved with the python bot...
Just import * everything.
which parts of bot
You have an emoji named after yourself?
yes
Might be a couple of name clashes.
Oh right ๐ค
What's the worst that could happen?
Erm, whichever parts I understand 
A lemon version of:

๐
๐
We don't have actual gavels though 
Speak for yourself
Yeah, not very much ๐
Yet
Also Blue had a great idea for a package.
Basically a package that imports everything for you, so you don't have to.
Be prepared for all eventualities.
By just importing every module in the standard lib.
With * no less.
Actually, this is a point of disagreement.
Nah, last come last serve.
Does that make sense? ๐ค
Pick a random order to import the packages in.
I've made a start: ```py
import random
import pkgutil
modules = list(pkgutil.itermodules())
random.shuffle(modules)
for module in modules:
...
Profit?
Yeah same, I'm pretty bored of the music I listen to.

Yeap
To be fair.
I mean, to give each module a fair chance.
Yeah, I mean random error is better than systematic error right?
Because you can average out the effects by running your program repeatedly.
@sweet fern If you're wondering why you can't talk, check out the #voice-verification channel for more information
i will thanks
Sorry what was the problem again? I was distracted.
Oh right.
Hmm ๐ค
So is this like the code that corresponds to the flow chart?
dawai dawai naliwai
๐
Does this work for you? https://stackoverflow.com/a/38206442/17282956
hello hello
How's it goin
o/ โ
o/
Could be better, as a matter of fact(
Eh, doing alright. Nothing special
Eh, doing alright. Nothing special
well, thats always the case, haha
i just reduce the overall system volume
I do get it
SReaperz#0499
hi
o/
walle ate a cucumber whole?
iceman unmute me pwease uWu
that means, read what the channel says
I did ๐
noodle has a fancy headset
I could play with you but I am really bad at that game
@zinc magnet
background
music
I do
what is chess
isnt that like expert mode tic tac toe?
Join the challenge or watch the game here.
@verbal ibex yehor how do I watch?
Ah bye @brave steppe, didn't see you go ๐
Ah lol I may have forgot to say goodbye
Cya!
Gonna play some games
No worries!
oof
Off to eat ๐
LX how much vbucks for unmute?
One billion.
Maybe not actually, I don't know what that is ๐
Maybe it's like the Zimbabwean dollar.
!otn add tim curry the inventor of haskell
:ok_hand: Added tim-curry-the-inventor-of-haskell to the names list.
I used to watch that a fair bit.
I believe I last watched it approximately eight years ago.
!voice @sullen bramble
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thanks
hi @somber heath
I've been here less than 3 days so it wont let me talk D:
I start class soon! ๐
yes sir!
you are my teacher
context is hard with text
I got programming class in 10 mins!
this was tounge in cheek!
how are you doing today?
I get that
when its warm
hi @wind knoll
nvm
yes
class is a bit of python but specialism will be java
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
โข PEP 8 document
โข Our PEP 8 song! :notes:
Naming conventions.
xD
camelCase
Constant: SCREAMING_SNAKE_CASE
Class: PascalCase
Variable/function: snake_case
I'm laughing!!
fortunately teachers are super progressive
xD
I understand why now
and I understand why this is good practice
Thank you for teaching me this Sensei, Arigato!
I hope we cross paths again! take care!
Hello! I am stuck in an exercise where I have to plot a graph of a ball which is thrown vertically. The calculation of the ball's movement is done by eulers method
It is an inelastic collision with the ground so we have to multiply the position and velocity by 0.9
this is the my code so far, but it doesn't do what it's supposed to and I am desperate
for j in range(N):
# here are THE calculations:
t = t + dt
x = (x + v * dt)*0.9
v = (v - g * dt)*0.9
# And here we put those calculations in the arrays to plot later:
time = np.append(time,t)
height = np.append(height,x)
velocity = np.append(velocity,v)
pls help ๐
@frozen jetty ๐
is linked list important for Class(oop)?
Programming courses love to teach people about linked lists. Indeed, they can be a helpful construct to know about. My preference is doubly linked lists. I don't think I've ever had a practical use for them with what I do.
So to answer the question...yes.
That being said, Python's lists and collections.Deque mean that you might not need to do a whole lot of making them, yourself.
Anything you can do with linked lists and whatnot you can do with Python natively in nicer ways.
In actual programming , can't we use normal listes? ( [] )
It would be a weird restriction.
the lists?
where does Linked List help?
In my lesson , he touched me but I didn't get the usage.
The thing is, it's a bit of a lower-level concept. Courses like to teach you about lower-level concepts while getting you to do it in a higher-level language.
Your teacher touched on the subject?
Well, I guess you could look at how you use a for loop to iterate over a list.
He had an example for me.
To do a similar operation, all you'd need to do is look at the head node, grab its value, then follow that node's "next node" pointer.
good evening
Yahoy
U2
Hajaa, you have students, right?
What's your take on...linked lists? ๐ฉ๏ธ
well... I guess sometiems it's helpful to know low level things to develop more efficient applications
Verbiage in the house.
Gas.
So after all I understand it's not necessary but it's good to learn. True?
In Python, you might not have a use for it, but it's good to know how to do it in case called upon to do so.
It's going well
If, later, you start learning another language, such knowledge of linked lists may help.
Thanks
I think I can hear a pair of tawny frogmouths calling.
I got a general idea of that but I didn't learn accurate.
Yes. Maybe I can give you some other examples than linked list but I have to check my facts first huhu
Oh , my Google keyboard suggests me all I want!!!
My English is better with this ๐
true ๐
Ok but I don't want to waste your time.
wanna hear all about how I failed to bake bread yesterday and end up with pie?
I'm not talking for reasons. I don't know what other people's excuses are.
oh sure
prolly work?
Much is possible.
Your words are clear but your meaning is not.
lmao
i meant for this secission in vc who is the host
Serverwise?
Like...vc region?
Well, if it hasn't been set statically to a region, I was in here first this session.
So it could be Australia.
If it hasn't autoadjusted to something else.
Hm. Says Rotterdam.
Oh, we're in 1verboof's backyard, I think.
Like, maybe step outside on his balcony and be able to see the server building.
He is the server
I'll be on in a bit, taking care of some stuff and feeling sick to my stomach. Think it might be some kind of stomach bug going around
๐ฆ
I just want to make sure I don't vom while in vc
Today's stomach bug: Tomorrow's lower intestinal adventures!
Tune in next time for 8 wonderful facts about the colon!
if you're only halfway through vomiting does that make it a semicolon
@molten pewterI love you.
The virus.
ILOVEYOU, sometimes referred to as Love Bug or Love Letter for you, is a computer worm that infected over ten million Windows personal computers on and after 5 May 2000 when it started spreading as an email message with the subject line "ILOVEYOU" and the attachment "LOVE-LETTER-FOR-YOU.TXT.vbs". The latter file extension ('vbs', a type of inter...
41!๐คฏ
well I tried to activate yeast with warm milk and sugar and the yeast won't bloom but I mized it with the flour mix anyway, and now my dough won't rise. So instead of putting it in the oven, I stuffed it with yesterday's chicken and potato and press it in frying pan... so that's the story
I tried to activate yeast with warm milk and sugar and the yeast won't bloom
how warm was your milk and how long did you leave it
It can take a while.
45 degrees celcius.
I usually have it at 40 or colder
colder?
if it's too hot it kills the yeast
๐ฆ 5 degrees surplus kills yeast?
probably not
has anyone seen the eyebros of Jack Black while playing Sax a boom ๐
right?.... maybe the yeast already died
10 minutes
interesting
I also used milk powder+water instead of fresh milk i wonder if that has to do with anything
Right? "Hurdurr net zero by 2050" Yeah. Bullshit. Like they're going to even hit that. Start pushing for negative ASAP.
I mean you can even activate it with warm water and sugar so that seems unlikely
Even at zero...the momentum of the effects is going to continue.
It's like pushing a heavy cart and once it's got all that momentum, we stop pushing and go "Oh, well, we've done all we can do."
Meanwhile it keeps rolling along and will keep rolling along
and it's on a slight decline
I'll test it again tomorrow. if it still won't bloom i'll just get new yeast :/
alright
ayo ayo
Would you use a new social media app where you could only post once a day? thoughts? #Shorts #ytshorts #socialmedia #garyvee
โ
โบ Check out my main YouTube channel here:
http://garyvee.com/youtubeGaryveeSUB
โ
Gary Vaynerchuk is a serial entrepreneur and the Chairman of VaynerX, a modern day communications parent company, as well as the CEO and ...
books arrived
interesting packaging
nice!
wchu get
@rugged root Are you working?
what is a stomach bug
.xkcd 1471
what i just ate (except i didn't take a picture ofo it so this is from google)
ugh so good
are those buns
One sec
.xkcd 2422
I had mine the other week.
Faster than the first two times, too. Really in and out of the place.
Still had to wait 15 minutes after before I could go, but...
I was almost the only one getting one done at the time aside from maybe one of the staff.
First was the busiest. Second was less busy.
They might not know.
I mean, there might be ideas.
Apparent trends.
I got Pfizer.... but tbh i didn't really care what I got as long as I'm vaccinated
wow
@keen skyI mean...it's only plagiarism if you're a student.
"Alright kids, time to turn off your cybernetic implants."
"But Miss! Miss! Mine keeps me alive!"
"Are you a cheater, Sally?"
"...No?"
"Off it goes, then."
there's also a matter of resources. if the questions are highly subjective, you're gonna have to invest more on paying the people to grade them.
fair fair
Children for the children mincing machine.
In a sense standardized testing tests a person's ability to learn things even though the stuff we learn aren't really applicable later in life?
I think the main barrier to designing a better education system is rooted in the complexity of managing a huge number of people in a society. But we're improving for sure.
true
I envy your optimism.
I mean... back in the days in some countries you had to memorizes a bunch of scriptures to get a job in government and civilizations invested more on philosophy rather than science... but now we get to learn math and physics in school alongside other subjects... so I could see that as an improvement.
We're entering an age of regression.
Science marches on, but, increasingly, people are going, "Nope. Don't like that."
ah.. i guess you have point there. it's a shame really
pav bhaji! ๐
yes brother xD it was nice
One sec
Question :
- how to request a user id from models (django) by username ?
i din know ms universe is going on now
Oh, congratulations to India for winning Miss Universe. Not @woeful salmon.
@sleek brookAdmin fiat.
@sleek brook U may ask to LX for it!
Because the duct tape fairy has been by.
ahh nice
Charon.
he was charon 4
Nobody was saying much.
Whoever this nobody is, we should hunt him down and destroy him for being such a blabbermouth.
lets go
I think if all you code in is Python, it's a thing that works.
yep imma running into problems when dealing with camera..
launcher
Yeah, the launcher app doesn't have cam permissions iirc.
hm
For anything that would require a specific permission not included in the launcher app, you'll need to use Buildozer to pack your app up into an APK, and you'll also need to specify said permissions.
O-O thanks for info!
But first, you have to wrangle together your Buildozer environment.
Which is a pain in the arse.
๐
Be prepared to go searching for unlisted missing dependencies and error message diving to see what gets complained about.
Ears are on.
btw i just had an idea in my mind to recast this : https://github.com/anish-lakkapragada/MoreCycle into an android app! what are your thoughts?
The votes may not matter.
Next election, R legislatures will just say "Nope, fraud. We're sending the electors we choose."
SCOTUS now will be all "Well, the constitution says that states can send who they want."
Even for the local elections. "Oh, you mean our opponent got more votes? Nope. You're wrong because we say you're wrong. Even if you're right, there are rules, the ones we wrote that say we still won."
and it'll be a slow drift to a one party system
Unless there's some rather large jolt to the system to knock the momentum to the other direction.
@sullen bramble What do you need?
hi
i want to share my screen as i face one issue in pycharm
here I am unable to talk
in the voice channel
If you have a problem, you're best off grabbing your own help channel and asking for assistance, detailing the problem.
is there any way to talk to you, if you are not busy
I'm not making myself available in that capacity at the present moment.
okay
item == ['x',44], hash('x') == 15
Join a WebRTC video conference powered by the Jitsi Videobridge
@limber helm Here we you can share you screen if you want
@limber helm https://www.youtube.com/watch?v=TAGZxRMloyU
@limber helmhttps://www.youtube.com/watch?v=5rn_MAspYFM
Confused about AOT vs JIT vs Interpretation? Look no further. We'll explore these different compilation processes and get to the bottom of what it all means and how it all fits together.
Hope you enjoyed the video!
Check out this code here:
https://github.com/engineer-man/youtube-code/tree/master/104
Join my Discord server to chat with...
@keen skyhttps://www.youtube.com/watch?v=SC8O3nMO5T4
by Flavien Raynaud
At: FOSDEM 2017
When writing Python code, you might find yourself using lists and dictionariespretty often. But do you really know how they work? Fortunately, theirimplementation as well as their history are (really) well documented. In thispresentation, we will dive into CPython 3.6 internals, explain how these datastructur...
idiom
hey can anyone explain me the pickle dump and load function
!e
class Person:
def __init__(self, name):
self.name=name
print("initializing object")
def get_name(self):
return self.name
p1 = Person("jpen")
print(p1.name)
print(p1.get_name())
@keen sky
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | initializing object
002 | jpen
003 | jpen
!e
d = [[['z',33]],[],[],[['x',44],['y',33]]]
index = 3
for item in d[index]:
if item[0] == "x":
print(item)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
['x', 44]
!e
foo = ["hello", "world"]
for i, value in enumerate(foo):
print(i, value)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | 0 hello
002 | 1 world
d = [[['z',33]],[],[],[['x',44],['y',33]]] <- data
[['x',44],['y',33]] <- list_ref
['x',44] <- (index of this in the list_ref is the index)
^
_find(self,key) : internal helper. Returns (list_ref, index) with the list
and index for the given key. If the key doesnโt exist, returns (list_ref,None)
where list_ref is the list which should contain the corresponding item.
index = key%16 - 1
for item in self.data[index]:
if item[0] == key:
return (self.data[index], index)
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.
:incoming_envelope: :ok_hand: applied mute to @keen sky until <t:1639514917:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 111 newlines in 10s).
!unmute 116307597413318657
:incoming_envelope: :ok_hand: pardoned infraction mute for @keen sky.

Traceback (most recent call last):
File "c:\Users\jackp\Desktop\cs repo\C200-Assignments-jpenczek\Final\final.py", line 73, in <module>
print(d[1])
File "c:\Users\jackp\Desktop\cs repo\C200-Assignments-jpenczek\Final\final.py", line 24, in getitem
raise KeyError(key)
KeyError: 1
@keen sky d['b']
no
on your profile, you're saying, that you're currently studying, but what exactly?
programming.
what language?
everything
nani??
how come?
you're studying every possible language out there?
shouldn't you be studying just one programming language at a time?
we get educated to become full stock front end of back end web devs.
At the same time we have another subject were in we learn other languages such as Python, C# as a popular language to expand our knowledge in programming.
and not like gazillion of them?
The web dev part also comes with subject about data bases, php and so on.
ok
and you're also studying assembly language, correct?
assembly language?
yeh
why dont we just talk
low level language
they haven't given me voice verification
same here
so can't talk
or rather it was taken from me
i can't spam here for 50 msgs
otherwise I would have gotten it by now
while True:
# Hoeveel kinderen?
kinderen = 0
try:
while kinderen <= 0:
kinderen = int(input("Hoeveel kinderen?\n"))
except ValueError:
print("DAT IS GEEN GETAL!")
while ValueError == True:
kinderen = int(input("Hoeveel kinderen?\n"))```
help!!!
ValueError: invalid literal for int() with base 10: 'a'
@sturdy panther you talk funny
while True:
# Hoeveel kinderen?
kinderen = 0
try:
while kinderen <= 0:
kinderen = int(input("Hoeveel kinderen?\n"))
except ValueError:
print("Not the right type")
try this it worked on my system
good night folks
@south current yes, i hve already done this. But i needed help with looping. So while its not number it says "please write aa nummer"
Hey Alexander
hllllo
#help-ramen message @somber heath can you help me in here
No.
The room is dormant.
tell me here then
What does this code achieve?
What's the context?
This may be less a Python question and more an operating system scheduling system question.
like i havent created it yet but i want to msg me in discord every 12 hours
i want to host it somewhere
I think you'd be better off talking to someone who does Discord bots. I do not.
ohkk
@whole bearWrong room, broman.
sorry
But also hey.
i am dumb
@whole bearPretty display image.

@trim remnant@gloomy vigil๐
hi
@whole bearHoy hi.
@broken aspen๐
I'm going to get whacked on the head by the bot at this rate.
I am capable, but I'm keeping quiet for reasons.
I do talk, just less where I am at this time.
hey, I need to go, see yall later
lol
Alas, I don't use Django.
no one is replying there ๐ฆ
when are you joining vc today?
ok i am joining in 5mins
its a trillion
Details.
I am not.
I understand many of the problems rely on understanding preceding problems.
Before.
Things that come before.
There's a story?
It's not a lot.
You're fine.
Hajaja ๐
is it bearable
I do not.
i am not speaking
I can see you guys lighting up.
I can't hear you talking. May be on my end.
Ah, it says RTC connecting.
Restarting client!
Yay, now I can hear you.
I made the mistake of making an exponentially expansive list.
I don't do Javascript.
Nor do I take much interest in esolang stuff.
Which, while impressive...it's a bit...
Self congratulatory.
To put it in less colourful terms.
Dave.
I have nothing to say at the present moment.
Maybe bury it beneath the other things.
I expect there would be some competitive programming competitions that do esolang.
@spring bloom๐
Also hello, @sudden venture.
hey
No, but if the focus was eso.
Like, you have 10 minutes to write eso code of your choosing. Your opponent will them have 30 minutes in which to reverse engineer your code into plain. Round two will be the reverse. The team that reverse engineers their opponent's code correctly the fastest, wins.
Maybe it's not practical.
I don't know.
Okay, but I'm thinking like in person ones.
Proctored.
@whole bear๐
Hoy hi
Ears are on.@gentle flint
You haven't missed a whole heap.
alack and alas
Have you heard of these things called newlines?
Not sure wha tyou mean. Backwards slash n.
There's something to be said for breaking up clauses into separate variables.
Descriptively named variables.
Oh hey, a tuple key. Neat.
Speaking of types, seeing type hint in that code made me happy.
Wow!
Amazing!
Where do I apply?!
๐ข
brasso
yes
it's not really popular i guess
i haven;t really seen it
but it's on shopee and it's sold locally
as in shipped from kuala lumpur but I really hadnt seen it on the shelves
ah
but. it just so happens that I've been looking for sth like this for my pans :^D
I guess i'll order it
boni
it's fine... i'll probably do like a once a year cleaning kind of thing
Much
stainless steel
"Are your pants made of copper, then?"
oh
well my pans need their spa day
the point is
aesthetic
i just want them to look shiny
they don't?
I actually just had mine for a couple of months so I don't really know how stainless steel behaves
haha
never been brassoed huh
ok i supposed i won't need brasso then
i just thought It would be fun
hah
byee
It's Farcebook. The less we all have to do with it, the better.
I accidentally made a rabbit.
Yeah, that's always the thing. Python gets an upgrade, a flood of people come here "Why doesn't so-and-so library work with Python 3.x???"
Theoretically, upgrading Python versions ought not break things.
But it does.
There's something to be said for being patient.
At least it's not petitioning to undo the version.
...
Actually, that gives me an idea.
"Dear PSF. Match cases are stupid and don't belong in Python. Yours, Disgruntled."
I half kid.
I'm sure they're fine.
What framework?
You've got a few options. People like PyQt5.
There's tkinter.
There's pygame.
There's Kivy.
But it does to have comparisons.
I think Beeware's another mobile one, alongside Kivy.
import sys
from PySide2.QtWidgets import QApplication, QLabel
app = QApplication(sys.argv)
#label = QLabel("Hello World!")
label = QLabel("<font color=red size=40>Hello World!</font>")
label.show()
app.exec_()
Flask or Django could give you a web-based UI.
A lot of things are going web, these days.
tkinter has the advantage of being standard library
I know.
It's...ordinary looking.
Ah, yes. Retro.
pyside 2 is outdated
Perhaps a more polite term.
use pyside6
If you know EXACTLY what you want and how it's all supposed to behave...
it went shshshshshsh
from PySide6 import QtWidgets, QtCore, QtGui
class Main(QtWidgets.QMainWindow):
def __init__(self):
super(Main, self).__init__()
if __name__ == "__main__":
app = QtWidgets.QApplication([])
app.setApplicationName("test")
window = Main()
app.exec()
Need window.show() before exec, I think.
yea
https://lichess.org/TExrxno6
anyone Chess?
Join the challenge or watch the game here.
super lets you call a parent's method, here __init__, as if it were the current, child class', ordinarily complicated by having a def __init__ in the child class.
FYI, latest PySide6 is breaking Pylint.
noone? ๐ฆ
Join the challenge or watch the game here.
Join the challenge or watch the game here.
Join the challenge or watch the game here.
๐
haaaaaaaaaaaaaaaaaay
No, Opal. Your computer doesn't like to think about several rather large arrays at once.
But who was phone?
Size hinted?
Position hinted?
Layouts with the above.
Traceback (most recent call last):
File "C:\Users\legga\PycharmProjects\TombolaGui\main.py", line 11, in <module>
PySide6.QtWidgets.QWidget.setFixedSize(1920, 1080)
TypeError: descriptor 'setFixedSize' for 'PySide6.QtWidgets.QWidget' objects doesn't apply to a 'int' object
Red snow. That's...evocative.
import PySide6
from PySide6 import QtWidgets, QtCore, QtGui
class Main(QtWidgets.QMainWindow):
def __init__(self):
super(Main, self).__init__()
if __name__ == "__main__":
app = QtWidgets.QApplication([])
PySide6.QtWidgets.QWidget.setFixedSize(1920, 1080)
app.setApplicationName("test")
window = Main()
window.show()
app.exec()
@rugged root Speaking of sick... ???
I'm good, Joi is still feeling like crap
So you can do "If the person makes this move, make this move"?
Yep
Since you get to a point where there aren't a lot of possible moves, or possible good moves
not conditionally
but apparently you can just tell it move like this when its my turn
Join the challenge or watch the game here.
Re: Thursday
Printer tech will be here within the hour.
Vendor has not given us local admin to install the printer driver on their computers
Vendor wants us to get the printer "completely set up" before they share any more information about the system itself.
The other system of theirs that we have requires a special integration for the printer
I'm afraid that the tech is just going to plug in the printer and leave, and then the vendor's going to share the rest of the project requirements, including some other special printer integration, and ask us why we didn't set this up when we said we completed all printer setup
Join the challenge or watch the game here.
test_QtWidgets.py Fatal Python error: Segmentation fault
Debugging segfaults are always kinda painiful :S
The thing is, I don't understand why updating Python would cause problems. I know it does, so...you know, whatever...
You know a Python version has been out for a while if it is in Debian!
which distro?
even debian stable is on 3.9
not that old
@scenic wind
Did it
Programmers and chess.
its one of my errors running my program.
I changed it from py to exe using auto-py-to-exe
!stream 128363483828977664
โ @woeful salmon can now stream until <t:1639580691:f>.
"I'm not saying you were one of the reasons..."
hemlock's code before python 3.10
https://cdn.discordapp.com/attachments/365116844740444170/920526632370966548/unknown.png
Oh. Is it that time of the day to bring up Vim already?
Hemlock is slowly getting Vimpressed. It is only a matter of time now!
class Main(QtWidgets.QMainWindow):
What was the question? Opening two windows?
Merry Christmas
We haven't made it, yet.
this colleague has a suspicious amount of permissions
Is it... you?
class Settings(QtWidgets.QWidget):
...
class Main(QtWidgets.QWidget):
def __init__(...):
...
self.settings_window = Settings()
self.setCentralWidget(self.settings_window)
!stream 589497499174043800
โ @scenic wind can now stream until <t:1639581606:f>.
no
I was surprised it could animate things.
my colleague
Like full on movements and everything.
this is me @sturdy panther
Huh... Then that does make the permissions quite suspicous, yea!
CSS, I believe.
Word origami.
"Our servers have been tornado-free for _3_ days."
Crucifix?
"Might we interest you in Python-based alternatives for your business?"
The one thing about the SOAP protocol...it's clean.
@scenic wind @woeful salmon Can you two hop off stream for a bit? I've got to attend to some things here at work
And I'd rather not have folks streaming when there isn't a mod around (enforcing current policy)
Actually I have to go now, so sorry in advance
All good
@vast kiln #voice-verification
That'll tell you what you need to know about our voice gate system
.wa s 10 c to f
Eval's up.
@rugged root feeling better today?
hi
Yeah, I'm doing fine. Wife is still feeling less than great, though
glad you're better, and hope she gets well soon
@rugged root
fairy dust mop
emotionally charged battery
nervous energy drink
paper trail mix
buffalo bill of rights
LOlz
Wiki basket๐
One-ended rope
Nicotine eye patch
Loading bar
Murphy's lawbook
Thin blue lime
โWeapons R Usโ gift card
Spark of genius
Remorse code
Old piece of equipment
Stale pizza
Folder N666
Flip side
Intravenous flytrap
Braille โDo Not Touch!โ sign
Jaw droppings
Lava lampshade
Quest-a-day calendar
Magic hate ball
Gift horse mouthwash
Emotional support
Bwhahaa
Weapon: Blade of infinite dullness
Shield: Loading screen
Head: Double eye patch
Body: Armor geddon
Arms: Bad mood ring
Legs: Breeches of etiquette
Talisman: Holy crap
@rugged root I made an accidental rabbit, earlier. https://media.discordapp.net/attachments/412357430186344448/920672619768971294/accidental_rabbit.png
@woeful salmon
#web-development @whole bear try here
thxx
No worries! Sorry we couldn't be of more help
i hope i will find the solution
json.dumps(data, indent=2).encode('utf-8')
thatโs for me?
๐คฃ ok
>>> dat = {"Name" : "Tim", "test": 3}
>>> dat = json.dumps(dat, indent=2).encode('utf-8')
>>> dat
b'{\n "Name": "Tim",\n "test": 3\n}'
>>> json.loads(dat)
{'Name': 'Tim', 'test': 3}
>>>
kinda works i guess
+------------------------------+------------------------------------+
| Intel Code | AT&T Code |
+------------------------------+------------------------------------+
| mov eax,1 | movl $1,%eax |
| mov ebx,0ffh | movl $0xff,%ebx |
| int 80h | int $0x80 |
| mov ebx, eax | movl %eax, %ebx |
| mov eax,[ecx] | movl (%ecx),%eax |
| mov eax,[ebx+3] | movl 3(%ebx),%eax |
| mov eax,[ebx+20h] | movl 0x20(%ebx),%eax |
| add eax,[ebx+ecx*2h] | addl (%ebx,%ecx,0x2),%eax |
| lea eax,[ebx+ecx] | leal (%ebx,%ecx),%eax |
| sub eax,[ebx+ecx*4h-20h] | subl -0x20(%ebx,%ecx,0x4),%eax |
+------------------------------+------------------------------------+
yeah nah I'll stay far, far away from ASM
also Hem it's me lol
I wrote a type checker
a toy language in OCaml, just to study the fundamentals
frankly I don't think I should be touching these as a freshman but hey, I have two courses right now so I have too much free time
yeah, one's practically free and another is just physical education
OCaml is quite nice
Much much simpler, also crazy fast
I think Reason/ReScript maintains compatibility with OCaml syntax
The former two produces more idiomatic JavaScript code so about as performant as something like Elm; the JS compiler for OCaml js_of_ocaml is based on bytecode so there's some overhead in there.
Stolen graph, but the fact that JS is faster than OCaml bytecode is woah
ocamlopt is native, ocamlc is bytecode
like this @woeful salmon
Oh huh, yeah it does seem to have dune and esy for native Reason compilation
Granted I don't know what those two are
Both are build tools, but yeah Reason can be compiled to native, it's really just OCaml with extra syntax
yikes, a tweet blew up
Now I have ten more folks to subject to my feed of Twitter likes
Weapon: Blade of infinite dullness
that's called a club
I joined the blender server and some do not help me and others do not know
๐ซ ๐ซ ๐ซ ๐ซ ๐ซ ๐ซ ๐ซ ๐ซ ๐ซ
you need help with dev or making something in 3D ?
I really want to read Dune but all the shops are sold out on the first book
maybe next year
I don't exactly want to make a python script for blender
I don't exactly want to make a python script for blender
I have used blender to make 3D models
Is there something i can help with ?
have since this server know python language I want to make a plugin for blender with python to import files
https://www.youtube.com/watch?v=5wRVyP9zteA
Man, I love this game ๐ Most hilarious one for sure
All the best Twitch content in one place. Clips of funny, embarrassing, awkward, fails, wins etc from the livestreamer DarkViperAU.
MY LONG VIDEOS: https://www.youtube.com/darkviperau
MY STREAM: https://www.Twitch.tv/darkviperau
Please do not reproduce any of my videos or put them into compilations. Feel free to use them as memes though. Than...
have since this server know python language I want to make a plugin for blender with python to import files
sorry, No idea about that
Only other place I can think of that you might get help is in the #game-development channel? But I can't make any promises
On this server?
Is AWS borked
is msft365 also affected?
You know I'm not sure
I'll be right back

I can't find replit dark mode pls help my eyes hurt
?naem uoy od tahW
deyalp lleW
Good Night everyone!
