« first day (3509 days earlier)      last day (1425 days later) » 

12:28 AM
^closed
 
 
1 hour later…
1:50 AM
@roganjosh Didn't see that, but here's the quick version, I might post a mire thorough list later: there are 245 open issues with groupby(), also with the new native 'string' and 'category'. The one that affected me the most is #33482 BUG: groupby on columns does not work with Series...
...I have a column that's a string or categorical with 3 values, but when you groupby() and do e.g. value_counts(), only 2 of those 3 show up in the result!? Yet the grouper object correctly has all 3 items! Insane?!!? Anyway, I'll try to fall back on Python 'object' and use workarounds. Will post more when I found out more...
 
 
1 hour later…
when you add something, it removes the space; for which something else could've taken it's place
 
3:13 AM
@MisterMiyagi something wrong with the threading here??
can anyone here help?
 
 
2 hours later…
user13610918
5:02 AM
does anyone know where the pygame room is
 
@PySnoo I don't recall seeing a separate room for pygame
it's discussed from time to time in this room though
 
user13610918
@tripleee ok
 
6:01 AM
@PySnoo I searched on and I can't find that there's ever been a dedicated room. If you think there's sufficient interest on SO on Python frameworks alone, I suggest you go ahead create one, and have teh wiki say it covers Python game frameworks including pyglet, kivy, cocos-2d/3d-* etc. Presume you want to keep game-programming questions separate from rendering/graphics questions? ...
... (FYI there's already GameDev.SE, but that's not supposed to be about programming or specific frameworks, it's about actual game concepts, algorithms, etc., although people do also post some framework programming questions, so maybe check GameDev Meta for the last word on what their scope is/isn't)
 
@d02d33pak This one: t2 = Timer(3.0, update_board(n, board, window)). A Timer runs only once. Use a regular Thread (preferably daemon=True) that has a while True loop and a time.sleep(3) inside.
 
@smci except one needs 100 rep to create new chat rooms...
 
@JonClements Hadn't checked, but then PySnoo just needs toearn rep from a couple of good answers or questions on SO
@MisterMiyagi I think it's better closed as a dupe into something really basic on "What is threading?"
 
@smci sure - just mentioning it though :)
 
6:16 AM
@smci I don't know if threading is what they want. Could just be some beginner being confused about functions calling functions. Could be generators. Could be coroutines. Could be threads.
 
6:34 AM
@MisterMiyagi Okay that's true. But in that case you could have written a one-line answer (or at least comment) telling/helping them to figure out whether they wanted threads, generators, coroutines. It's not about recursion, at least.
 
6:51 AM
@smci I did ask for clarification 11 hours ago, shortly after the question was posted. The OP has not added any more details since.
 
7:09 AM
If we are using old style %-format string, and the string we are formatting contain extra % strings not part of a format specifier
How can we escape them
 
%%
 
Got it, and if this string is given to us as a function parameter, as in we don't know if such a % string will exist or not
How would I do it?
 
I have this listoflist = [[None, None, None]] which i want to change the values with the output from
 
So the function is something like
 
def _execute():
    user_input = input("type in: ")
    return user_input
 
7:12 AM
def fmt(msg, args):
    print(msg % args)
 
this function works fine when the list of list has only one row
def insertdata(data):

    data_added = False
    n = len(listoflist[0])
    index = 0

    while not data_added and index != n:
        if listoflist[0][index] is None:
            listoflist[0][index] = data
            data_added = True

        else:
            index += 1

        if index == n:
            print("\n The list is full, No more elements will be added \n")


while True:
    insertdata(_execute())
    print(listoflist)
 
@DeveshKumarSingh Shouldn't the parameter be passed in with knowledge of the formatting?
 
@DeveshKumarSingh Whoever is creating a string with %-placeholders in it is responsible for escaping their % signs
 
@MisterMiyagi You mean instead of just args, we passed a fixed number of parameters matching the number of format strings
 
Im trying to extend the function so it can over listoflists with mutiple rows and columns
some one an idea if i should go for 2 while loops or a for loop on top of the while loop `?
 
7:15 AM
@Aran-Fey Agreed, but this format is part of an API call, which is returning a string with a %
 
So what you're saying is that the API returns a string that coincidentally contains placeholders for python's %-formatting, but isn't actually intended for it?
 
Nope. One example of such a string is ipython-pip-magics (1.0.1) - %pip magics for IPython
 
Can you clarify where the string formatting comes into this?
At some point, format-string-with-intentional-% and API-result-with-incidental-% must be merged, no?
 
Okay, let me come up with a clearer example first
 
So what kinds of placeholders do you want to support, then? %s, %r, %a, %(foo)s, etc?
 
7:19 AM
@roblox Why do you start with a listoflist whose elements you replace, instead of, say, a list_of_lengths that tell you how many elements to generate?
 
@MisterMiyagi the "problem" is to replace the elements of a existing list
 
Okay, so the problem in my case was that args can be empty sometimes, and msg might contain a % which is not part of a format specifier
 
@roblox Is this a coding challenge, then?
 
So for e.g
>>> msg
'%pip'
>>> args = ()
>>> print(msg % args)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: not enough arguments for format string
 
Anyways, consider that right now you only operate on listoflist[0][index]. You have to parameterize the [0].
 
7:25 AM
I should be doing print(msg) here conditionally instead of formatting with % args unconditionally
 
Loops are appropriate for this, e.g. for + enumerate or while. map should work as well.
@DeveshKumarSingh I don't understand. Why would you attempt to string-format an arbitrary string?
In what situation do you possibly expect a meaningful result?
 
@MisterMiyagi its a a aporach to solve a problem in my program
 
@DeveshKumarSingh In that case it would be possible to detect that %p isn't a valid placeholder, but what will you do if it actually is a valid placeholder? Like %snake
 
@MisterMiyagi i just looked further, and we are always string formatting a know string, I incorrectly assumed that we were doing it for a arbitrary string
 
XY problem where X doesn't exist
 
7:30 AM
True.
but thanks @MisterMiyagi and @Aran-Fey for the suggestions
 
@MisterMiyagi Ah
 
 
2 hours later…
9:23 AM
@roblox It appears that someone has the exact same problem as you do
Is there some more accurate problem description for the task, e.g. on whichever coding challenge the task comes from?
 
Hello
 
How do I make a stoppable thread? I tried almost all examples -_-
 
If by "stoppable" you mean "killable", then in general you don't.
On CPython, you can use the C-API to raise an exception in a thread.
 
Basically I want to restart a thread if join exceeds a given ammount of time
 
9:29 AM
Can you use multiprocessing for this instead?
 
idk. I am here to ask question as well lol
def timelimit(timeout, func, args=(), kwargs={}):
    class FuncThread(Thread):
        def __init__(self):
            Thread.__init__(self)
            self.result = None

        def run(self):
            print(*args)
            self.result = func(*args, **kwargs)

    it = FuncThread()
    it.start()
    it.join(timeout)
    if it.isAlive():
        raise TimeLimitExpired()
    else:
        return it.result
I tried this
but it doesn't stop a thread
 
That just kills the timelimit function. The thread lives on.
 
As said, if you are on CPython you can raise an exception in another Thread.
 
My bad, I am not on CPython
 
9:34 AM
how brave of you
 
Which implementation are you on, then?
 
plot twist: it's cpython :P
 
If you don't need implicitly shared, memory I strongly recommend multiprocessing.
 
I am on official python, idle
 
heh, called it
 
9:35 AM
lol
 
Meh
So... I tried this but it just doesn't print anything:
import multiprocessing
def spawn():
    print('test!')

p = multiprocessing.Process(target=spawn)
p.start()
 
Windows or linux?
 
Windows
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, --:--:--) [MSC v.1916 64 bit (AMD64)] on win32
 
note stackoverflow.com/a/20222706/5067311 which might or might not be your problem there
 
9:37 AM
Doesn't change the output (or lack thereof), just tested it
 
Before we go too far down the rabbit hole: Is your goal how to kill a thread or how to run a function with a timeout?
 
it works for me on linux
 
user13423578
hi
 
Hello
 
M goal is to just Restart a thread after a timeout
¯_(ツ)_/¯
 
9:40 AM
Oh boy. What editor are you using, @BlackThunder
 
IDLE
Python IDLE
 
Ah ok. Cos I've just found that Spyder gives no output but the regular interpreter does indeed print test!. Another bit of Spyder fun
 
Does anyone know what this code means?
for i in num_entries..1
 
I don't care about which module I use. It can be threading, multiprocessing, anything. But has to be working
 
9:42 AM
@MyWrathAcademia syntax error in Python
 
import multiprocessing, random, time
def spawn():
    while random.random() < 0.9:
        time.sleep(0.1)
    print('test!')


if __name__ == '__main__':
    for _ in range(5):
        p = multiprocessing.Process(target=spawn)
        p.start()
        p.join(timeout=0.5)
        p.kill()
 
@AndrasDeak Does it mean that the range is from num_entries to 1?
 
@MyWrathAcademia it doesn't mean anything here.
@roganjosh filters out IDLE and spyder. Might be the perfect filter!
 
@AndrasDeak thanks.
 
9:44 AM
@MyWrathAcademia Is this Rust? oO
 
@MisterMiyagi Uhh, might be working for ya but for me it did nothing except wait
ig its that print thingy
 
@BlackThunder Did you check out Aran-Fey's link?
 
@MisterMiyagi it's from the Wiki of a C++ repository which is written in what looks like Python to me, or may be it is Pseudo code? Since Python can easily be mistaken for Pseudo code.
 
It's definitely not Python.
 
9:45 AM
Anyways, I will find another strategy rather than restarting thread -_-
 
looks like ruby to me.
 
probably pseudo
 
Interesting. I will assume it is Pseudo then.
 
It hits the Ruby buttons of "do" blocks and looking like Python without colons. The type declarations don't look Ruby'ish, though.
Could be C++ macros...
 
9:53 AM
@AndrasDeak @MisterMiyagi if you saw the code for i in num_entries..1 would you assume it meant iterate once, since num_entries..1 suggests that the range of num_entries is 0 .. 1?
 
@MyWrathAcademia no way to tell without a specification
 
I'd suggest to look at the source code, or ask the maintainers.
 
I'd assume it'd count down towards 0, because what the heck is the point of a loop that only executes once? That's a frickin' if
 
Don't rely on strangers' guesses on the internet when it comes to handling your data right.
 
@AndrasDeak @MisterMiyagi thanks.
 
10:13 AM
Day 2 of my attempts to add first-class types to my compiler. I'm meta-meta-confusion-confused.
 
10:33 AM
Hello everyone!
How can i change Label anchor width - height in Tkinter?
I just want a border-right:1px solid black;
I will just make a picture (1x200px) and put it as border.
 
10:50 AM
stackoverflow.com/q/62000857/4799172 typo, it's just a trailing comma
Closed, thanks
 
11:14 AM
However, it seems sets have been mentioned only briefly as "things that hold unique things" or something
 
does this also belong to LinkBerest? :P chat.stackoverflow.com/transcript/6?m=49388044#49388044
 
heh, no
they're not posting on here... just paying me a couple of pennies to give 'em a bit of advice and stuff with some old questions they have failed at etc...
should do this more often - it's actually quite fun in a way - and definitely gives me more sympathy (which I've always had except for the really, really lazy ones that blatantly don't want to learn) as to why people plonk their homework stuff on here...
 
yeah, not all of them are self-inflicted, I'm sure of that
 
Hello i have run a file in pyinstaller and turn in exe but it says falied to return scripts
 
@AndrasDeak in fact... looking at some of the past practice questions - I'm definitely thinking the tutor doesn't have a clue what they're doing...
 
11:19 AM
:(
 
this had me scratching behind my ears for a bit to fathom what's going on... - in this, you can't change existing lines, but allowed to add new lines:
 
can I shadow main() with a new function?
 
well, the test system just works as long as you have a main that works... but it gets reviewed later so you can't re-write it :)
so for that one - you're only allowed to add lines
 
ugh. What's the expected "solution" for that... thing?
 
the "solution" is in the comments
So errr, you can't just suggest something actually practical like:
 
11:26 AM
Boo
 
Was hoping for an assignment expression in the comprehension...
return [(elem + idx + (total := total + elem) - total) for idx, elem in enumerate(l1)], total sadly has the wrong order :(
 
Subtract total first?
 
@JonClements Do they do a lot of these while-append-pop beauties?
Seems harmful to minors.
 
Ah, you mean total after list
Just reversed the result :P
 
sneaky :P
 
11:35 AM
@MisterMiyagi oh yes :(((((((((((((
@MisterMiyagi you might want a stiff drink first, but gist.github.com/ninjapuppydev/77e466bc3853b6d8e1f46c03c2cfb988
 
"To save yourself time you could use the class MyClass"
Oh. My.
 
for when functools.reduce(operator.mul, list_1) * sum(list_2) just ain't obscure enough :p
 
Do you have any idea what the tutor actually does? That list.pop seems cargo culty.
 
well, not to mention it breaks nicely on empty lists in that class example
I did ask but the mentee and he's just said that's just the way they've been shown
 
Challenge: Design an exercise including the hint (sums := [<list comp producing totals via :=>]) or totals, sums
@JonClements You're saving their poor soul from certain doom, I hope you they realise that.
Should ask for an extra treat.
 
11:44 AM
well, the suggestions I'm making they're very appreciative of - so that's fine by me... they've even said: "oh - well yeah, I get that, that makes sense... I was wondering why...."
@AndrasDeak anyway - ^^^ is what they think would be suitable and expected rather than whatever any of us can come up with
(so take the total before we destroy the caller's input (always a nice thing to do! :p) and then increment inside the while - and obviously add a return)
@AndrasDeak @MisterMiyagi this one took even more "huh... what... I don't get it... what is the purpose of this and what is it even trying to teach anyone!?"
I think it's basically meant to boil down to what would be: sorted(list_1, lambda t: (max(t), t)) but what the yam?
 
Is the existing code meant to be helpful? "Your task is to cut this piece of paper. We've prepared a chainsaw to help you get started."
 
@MisterMiyagi apparently so... you can add lines and adapt lines... (for that one)
 
11:59 AM
Are you allowed to add a # to every line?
 
laurel
 
user6568562
@MyWrathAcademia In the face of ambiguity, refuse the temptation to guess
 
user6568562
12:15 PM
@JonClements I got Vietnam style flashbacks from when I started learning. This kind of exercises isn't helpful to noobs; It only adds to the confusion
 
indeed :( Read ^^^ where I've stated again (I can't quite remember for how many times over the years here I've always been saying it) that whatever some of these courses these students are going on are just beep. There's students that don't give a beep just want their credits or something, and others genuinely want to understand and learn and, if this is their base material... it's so easy to see why they don't
seems like in some sense an educational system of LPTHW :p
 
user6568562
Hahaa, exactly what i was thinking about LPTHW; Pepperidge farms remember when we used to spend hours laughing about how LPTHW didn't want to port to Python 3 because porting was hard
 
user6568562
Those were the good days
 
I thought it was because Python 3 wasn't Turing-Complete
 
user6568562
And you're right; I didn't miss your mentions, yours and the other rooms senseis about the harms of some of "these courses"
 
user6568562
12:23 PM
@roganjosh :D . Well, I read through that "effort" of a book. His official reason was because no one will use Python 3 in production until 10 years down the road
 
Now he just paints and takes photos I think. It's probably better for his blood pressure :)
 
@roganjosh omg... lmao... I'd forgotten that - why didn't that even make it to: sopython.com/wiki/LPTHW_Complaints
 
@JonClements I think it's probably because it was in the ranty post and not part of the course itself (I can't remember whether it crops up in there)
 
user6568562
Haha, I forgot how funny that LPTHW complaints was
 
Gosh, it was 5 years ago that I was working through LPTHW
 
12:31 PM
@roganjosh that could explain a few things... /me ducks and runs :p
 
@JonClements I write perfectly good minimodules and mini-imports, thank you very much!
 
also - what is it with programming courses that focus so much on recursion
 
Wow, I've just had a flashback to my totally bonkers logic about how while True: works. It's evaluating deep philosophical concepts about reality and assumes that the loop should run while we consider our existence to be real
 
I won't go on yet another rant about it, as it is actually a useful technique in some cases, but why oh why so much emphasis on it
oh... but surprisingly they've actually addressed this:
 
user6568562
I totally agree; I find it counter-productive to bombard a student with recursion exercises when they didn't even grasp the concept of identifier assignment yet
 
12:39 PM
pretty much the only positive thing I'm finding right now though
 
@JonClements You can implement with tail-call optimisation?
 
@Mansoor Python doesn't support it natively but you can do it that way - or heck, just use a stack
 
stackoverflow.com/q/60374988/4799172 dupe of stackoverflow.com/q/62000942/4799172 . Neither answer in the former actually addresses the question so I'm hoping that my answer is the better answer, but the former has a better name
 
@JonClements a stack? don't you know that doing everything with recursion is the way to become a true python master?
 
user6568562
Also your mama would be so impressed
 
12:45 PM
on an unrelated note, is there a process through which "historically significant" posts can be deleted
 
@Arne do you mean posts that have a "historical lock"?
 
yeah
the one i linked in particular rubs me the wrong way. I have no clue why it should be preserved.
 
you can ask a mod to delete them, or unlock it, so that the community can vote to delete it if they want - but the entire point of a historically locked post is that it's meant to be frozen in time - just for reference - even if it's not on-topic now etc...
 
hmm, probably not worth the effort
 
out of curiosity - what post were you thinking about?
 
12:51 PM
gets a solid 1/11 from me on agreeability
 
It's certainly not as blatant as Tony the Pony in the fact that it derails itself very quickly and shouldn't be followed
Except, that Tony the Pony advice should be followed. I seem to have no idea what benchmark I'm trying to evaluate against.
 
let's not "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
@Arne best kept historically locked imho. Best case scenario would be some pruning to just ideally one answer (or at best 2/3) and then community wiki lock so that an active community could actively update it... but it just won't work - it's best as is.
 
ok thanks, I'll leave it be =)
If it's been that useful for people in the past, there should be some merit to it
 
that's just my take - if you do feel strongly enough about it, you're always welcome to raise it on meta and see what the community says if you want
probably just not worth the effort and all that
 
1:33 PM
not feeling strong enough about it to meddle with meta ;)
 
1:51 PM
@Arne anyway - how you been?
 
2:18 PM
Question title and the included traceback both show KeyError. Question ends with "I believe it's some kind of syntax error?". I wish people would pay a little more notice of the errors :/
 
It's probably not a reading problem, it's that OP doesn't know what syntax is.
 
@roganjosh the sun hasn't burned out - but good you're keeping optimistic :)
 
@AndrasDeak Fair. Sometimes I do get the impression that some text appears on the screen and the response is "uhoh. It's gone kaboom" and leave it at that, though :)
 
I'm doing a few emails and also trying to think about a what if: "how would you return a sorted list of two lists with exclusive values" kind of thing (without using sets)
 
@JonClements Hey, there's a reason that this is my theme tune. It's just me being me :P
 
2:32 PM
@roganjosh but it's the end of the world and you know it? :p
 
@JonClements if we can put a man on the moon, we'll survive as a species
 
I hate to be a party pooper but "a man" won't ensure the survival of our species :P
but good idea preserving humankind in an off-site repository
 
Well, in that case, I'll turn to my faith. I'm not losing my religion over the end of the world
 
@JonClements sort both first, then always iterate the currently lower-valued list? If both are equal, discard the element
 
@roganjosh we're just waiting for the hammer to fall :p
(not an REM song - I know, but was trying to go with it!)
 
2:41 PM
Oh, I just brain farted bad. I was going to go with "another day in paradise". That's such a faux pas to get them confused. I think my REM knowledge is too limited :)
 
2:53 PM
Is there a reason that you can't see the view count on your own answers but you can on your questions, in your profile? I understand that the thread isn't personal to you as an answerer, but I'm still curious about the topics I'm answering on. The results are paginated so, while it would take a join to pull the figures, I'm not sure it would be particularly heavy
 
I could feel it coming in the air tonight...
 
@roganjosh answers don't have view counts
 
@AndrasDeak sure, but the thread does. That's why I said "I understand that the thread isn't personal to you as an answerer"
 
the "number of people reached" is probably roughly the same figure
 
@JonClements can't complain, this year has brought a couple of nice changes. one of the things I'm a bit sad about is that I can't join any conferences
 
2:55 PM
?
oh real life conferences... yeah :(
 
oh, that could be a good question for this room. "any good virtual conferences that are worth checking out?"
 
3:14 PM
I don't know if he's still doing 'em but @AaronHall was doing a few live sessions
 
that's not what comes to mind when someone says "conference"
 
@JonClements I took a break for a month because kitty was sick and then classes felt like too much to stream working on them. But I want to stream working on my site now...
@Arne if you follow me on twitch, you'll get a notification when I'm on: twitch.tv/aaronchall
 
4:59 PM
Hello
Everyone here?
 
Define "everyone"
 
Every body who is a good programmer or wants to be a good programmer or anyone.
I have a canvas in tkinter and inside this canvas i have two more canvas.
Is it a good practise?
 
you don't need everyone to help you with that
 
Not really. What's the point of that? What can 3 canvases do that 1 canvas can't?
 
Well, i try to make a mp3 player.
And i design the duration bar.
You think one canvas is only what i need?
I want total_time --> white background
current_time --> black border, yellow background
current_position_circle
Aaaaaaaaaa
i will use canvas rectangles
and canvas circle!!!
Great!
 
5:08 PM
yeah, that sounds more sensible
 
wim
@IljaEverilä delvable now
@JonClements That one is actually useful though, and appears actively maintained. The one Arne linked is not useful at all - just historical cruft.
 
How's everyone, by the way? Staying sane with the lockdowns?
 
user13423578
Yep, in Italy the situation is better
 
5:31 PM
@Aran-Fey I made it!!
Now i have to make the animation
Any advice?
 
well, don't use time.sleep
 
while + time.perfcounter it is
 
First of all i must change the cursor from default to ... in current_time circle.
 
5:45 PM
Hmm, 4 questions in probably-as-many hours struggling to use SQLAlchemy with Flask without flask-sqlalchemy. This is a lot compared to what I'd normally see. I wonder if there's been an article
 
@AaronHall same old for me... how's you and the missus doing mate?
 
None of them are easy to solve either. They're all jumbled with different app setups :/
 
@JonClements fighting our way through - she wants to leave NYC, but I think we'll have a faster recovery here.
 
@AaronHall all this beep will work out in the end
as long as you're both fine - that's the main thing
 
6:05 PM
Hexk, why Python doesn't have an overloaded comparison operator for time ?..
 
@NickAlexeev eh?
What do you mean?
 
if time(hours=3.24) > datetime.now().time :
That line says that '>' is not supported.
 
What is time there exactly? Can you give a full MCVE?
 
from datetime import datetime, time
 
Read the error :P
>>> datetime.time(hour=3, minute=16) < datetime.datetime.now().time
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'datetime.time' and 'builtin_function_or_method'
>>> datetime.time(hour=3, minute=16) < datetime.datetime.now().time()
True
"builtin_function_or_method", rather than some sane datetime object
 
6:10 PM
meanwhile I'm still stuck at TypeError: 'hours' is an invalid keyword argument for this function
 
And when in doubt: compare a well-defined object to itself with <= to be sure
@Aran-Fey also hour won't take a float on my python
 
@AndrasDeak I've miss-typed it from another computer. Should be time(hour=3, minute=14) .
 
6:45 PM
ola
 
7:35 PM
@AndrasDeak Thank you!
 
 
1 hour later…
8:51 PM
stackoverflow.com/q/61974171/4799172 needs more detail / no MCVE
 
9:27 PM
Closed, thanks
 
10:11 PM
"good at python" in that user's profile?! 🤦‍♂️
 
We just don't see it. Revolutionaries think outside of the box
 
Hello.
https://www.pygame.org/docs/ref/music.html
If i use the set_pos method to change current time of sound then get_pos method returns something different than i set it before.
There is a comment in rewind method: *please note that this does not restart the counter for pygame.mixer.music.get_pos()*

i didnt realize this at first
Is there any alternative library i can use?
Or how can i take the current playing time, if i change it before few seconds?
 
stackoverflow.com/q/62011228/4799172 unclear. They accepted an answer that makes no sense in relation to the question title
 
I want basic sound functionallities:
a) Play, Pause, Stop
b) Sound Volume
c) Mix with microphone
d) Play speed (example 2x)
 
10:27 PM
e) Seek?
 
Hm AudioSegment i suppose
but i have not searched deeper.
 
the only media player lib I know is GStreamer. It's not easy to use though
on Windoze it's not even easy to install, but that's normal
 
It's not easy? So it's difficult?
Oh, Hard work, but great result!
 
Well, video is difficult. Pure audio shouldn't be too hard
 
One question: Python3.9 is on release?
I tried to import mysql connector and it fails.
 
10:30 PM
How are they related events?
 
There are no related i suppose.
But 3.9 have some great features like tinker drag and drop
I am a little tired.
Excuse me.
@roganjosh where are you from?
 
@ChrisP Manchester, UK. It's on my profile
 
This is an exciting release!
> HTTP status codes 103 EARLY_HINTS, 418 IM_A_TEAPOT and 425 TOO_EARLY are added to http.HTTPStatus.
http was literally unusable without the 418 code smh
7
 
Is this in preparation for when the IoT scales and you're literally trying to POST requests to a teapot?
 
Hmm, errors in the 400 block are client errors, aren't they? So wouldn't that mean that you're posting from a teapot?
 
10:44 PM
Hmm, it's a niche kinda space. So any request a teapot can't answer
 
So... any request
 
... yet
 
Future riddle (py 3.9): Find the (or a?) builtin object that can't be used in a boolean context
> The isAlive() method of threading.Thread has been removed. It was deprecated since Python 3.8. Use is_alive() instead.
500 more changes like this and the stdlib will finally be consistent
then 200 more for builtins
 
Pff, any tutorial of how can i install gstreamer in ubuntu 20.04 (python3.6)
 
10:59 PM
I suspect the answer is "do nothing; it's already installed"
 

« first day (3509 days earlier)      last day (1425 days later) »