« first day (4611 days earlier)      last day (330 days later) » 

2:29 AM
42
Q: What changes were made to the Code of Conduct on May 31, 2023?

CaseyThere is no clear delineation of what is new/changed and what is the same among the "updated" code of conduct announced on May 31, 2023. What was changed/added?

...people discussing that it has no diff or changelog. Just a complete rewrite.
 
 
9 hours later…
12:00 PM
brief cbg all
 
cbg
 
@smci There, and then I rallied people in here for some issues I was having. I was pretty furious after thinking about it last night but I've calmed down now sorry. I didn't think GPT stuff would get to me so soon but finding out that the problems I was tackling come straight from a machine, rather than a person I thought was working on my side, is not how I operate.
@JonClements cbg pup, how's it going?
 
same old same old... interesting new display picture you got there... how you doing
 
I'm not too bad, thanks. And I decided to change to something static after I lost my gravatar in the big shake-up :)
May 12 at 6:58, by roganjosh
I think I might take Paul's lead and upload a character. This is Professor Mori-artemisinin from my old not-to-be PhD days. A confused antagonist for Shirlock Holmes given the fact he's the root cure to hundreds of millions of malaria cases each year
 
How can I get this code to work? how do I point that the specificy where the first "attr" is coming from? Its a pyspark dataframe: fb.select(expr(stack_expr)). \
filter("value IS NOT NULL AND value != ''"). \
join(a, attr == a.attr, "inner")
 
1:09 PM
Why is Pylance in VSCode still whining about incorrect types even when disabled? Python > Analysis: Type Checking Mode: off, linting off
 
 
2 hours later…
3:28 PM
Hi
I set the input sizes to 100, 100 for images
i saved the model
The input size is 512.
it was supposed to be 100
how can i fix?
 
4:11 PM
Come on @Laura. Do you really expect us to go through all that?
@MLEN Please see our formatting guide for code. It's not clear at all what you're asking about that code, though
 
 
2 hours later…
6:07 PM
@PM2Ring thanks for your reply. This was indeed helpful and I find the term tail recursive, which seems to apply to my case.
Compare the wiki to tail call here en.wikipedia.org/wiki/Tail_call
@PM2Ring This is in fact the case where I currently try to pin a name on. I hope that further reading in the wiki will let me feel comfortable by naming that feature.
@NordineLotfi Had exactly the same thought before, but it kinda felt too abstract to me. But a good suggestion as well, thank you.
 
6:22 PM
@roganjosh Just to note a copy of all display images you've used are kept so if you did want an old one back and you can find a friendly mod - they can dig it up for you...
 
Much appreciated! I could have grabbed one myself but I just took the plunge. I've come to live with this icon. Much better than I did from losing roganjosh for my real name
 
I like it... just thought I'd mention it :p
 
Prof. Mori-artemisninin has character. I'm not sure what character, but he used to cheer me up :P
 
I suppose it does make your mouth into a smile shape just saying the name :)
 
I was quite proud of that pun, if you can call it that. I think it'd be a "wry" smile when they write my biography :P
 
6:28 PM
Saw something the other day that kind of made me chuckle ('cos I have too dark a sense of humour)... "Do you think it's okay to kill off characters in my book?" - "I guess so - what kind of book is it?" - "My autobiography"
 
Love it
@JonClements did you ever watch Sean Lock?
 
Yup... genius... Him and Jon Richardson doing carrot in the box is comedy gold :p
 
Carrot in a Box!
 
Oh sweet... Season 6 of Black Mirror comes out in 2 weeks!
 
That, and his proudest achievements :D
 
6:32 PM
and some of the stuff he came out with on 8 out of 10 cats does countdown...
I love watching "An America Reacts..." videos... especially EB... youtube.com/watch?v=Ij1ouyP1FkA is fun...
@roganjosh did you see the carrot in the box with Lee Mack?
 
I've seen all of them. Lee Mack is a different beast, you need to watch Mack Speed
I don't know how much is editing, but he's quick
 
he's awesome on Would I Lie To You... he's just so spontaneous...
I'm a massive David Mitchell fan...
 
Mitchell rants are also high on my watch list
 
when he starts ranting... oh yeah...
 
brb, shop closes soon
 
6:39 PM
Pick us up a a bottle of London Pride? :p
@roganjosh if you haven't seen it... try and find a 3 part program called Ambassadors with Mitchell and Webb... it's disappointing it didn't go further as really enjoyed it
 
In case someone is interested in that topic as well. I found that cyclic execution comes very close to my needs. en.wikipedia.org/wiki/Cyclic_executive
 
What are your needs?
 
@Thingamabobs so I guess, it's like iterative vs recursive, except it's iterative + repeated execution
 
It's very different asking for a term to repeat something and actually what you need it to do
 
6:56 PM
@NordineLotfi is what I said, looking back I guess It's not the same. I guess cyclic execution could work, or maybe "cyclic iteration"?
 
Well it is a generic function that calls after in tkinter over and over again. The exact implementation isn't final yet. What's for sure, the ordinary technique of tkinter.Widget().after(ms, repeat_my_function) is not a really efficient way. So I'm implementing a feature that does that, but better and as an intended way of doing this. Now my biggest problem seems to name it.
 
@Thingamabobs that's something I also wanted recently, since I had a feeling it might hit a recursion limit like in normal Python (or at least waste ram)
 
I don't use tkinter but all of my gut is telling me that this is broken. It has an event loop
 
I though about after.recur but that is clearly wrong. So I searched for a intuitive and technical correct name for it. So now, I think I end up calling it after.cyclic
 
@roganjosh most GUI framework have an event loop though? why would this be broken
 
7:00 PM
Because they're not using the event loop. They're seemingly trying to inject another loop inside it
 
@roganjosh No I don't use a infinite loop, neither I mean by better the frame stack. Tkinter creates a new frame, where a local wrapper function is computed and registered in the tcl interpreter. Calling after.(ms, repeat_this_function) is at least a memory leak, even when it's small. I intend to fix that in my project.
 
Nothing I said would imply an "infinite" loop. It would be O(n^2) I guess. I'm out of my depth on this one
 
How does that leak memory? Is the function not unregistered after tcl calls it?
 
The memory of that name, as far as I understand the matter, I belief it was about 8 bits so not a big deal, will never be freed. Also since there is a unique name for each after call the strings increase. It's not that big of a deal, just a little improvement and a intended way of doing this.
Compare this stackoverflow.com/a/55909879/13629335 as foundation of my thoughts
 
7:17 PM
In the nicest possible tone, that's absurd. You know that python dictionaries do the same?
 
Could be the case, I'm not familiar with it. Would like to learn more about :P
 
Python doesn't give memory back to the OS easily. If this concerns you, you probably shouldn't be building in python
 
now you are getting unnecessarily sarcastic
 
@roganjosh Python usually correctly garbage collect memory, but tkinter does not always do it as consistently
 
7:21 PM
@Thingamabobs that wasn't sarcastic
That's exactly what Nordine's link is talking about, too. I might be British but I'm not always being sarcastic :/
 
it does say the same thing on the surface, but if you try it yourself, and use .after extensively, you will notice yourself a small but growing memory leak
I don't know if this affect all version, but I know this affect mine at least
 
In the masterchef final tonight... one of the contestants is doing a rogan josh... :)
 
A dog's dinner, I assume
Well, the meal is very tasty, it's just me that's a shambles :P
Still, I've now read that answer thrice. It's not a memory leak, it just expands the memory footprint by the page size? It might get there incrementally, but it's not unbounded?
 
7:36 PM
ah, I admit it's hard for me to explain/prove my point when I don't have a small MRE
I think you can only notice what I'm saying if you use .after and monitor the memory externally (use a subprocess to launch the tkinter app, and use psutil and matplotlib to monitor the memory)
you also need a decent amount of time too. You won't notice it right away AFAIK
 
@roganjosh It's quite interesting how lists scale and allocate etc...
 
I don't think it's a memory leak. It's just reserving heap space
 
The page size will cap it. I'm happy to be proven wrong but I don't think (from that answer) that it's gonna crash my laptop
 
well, I never implied the memory leak would crash yours (given I know you have more computing power than me)but generally speaking, if I know it'll waste say, 1GB after X hours running, then I'll think it's a waste and want to prevent that (this is an example)
 
7:40 PM
But that's what python dictionaries do
 
I know, and you make a good point
 
They don't shrink in memory footprints if you delete keys
 
I will try to make an MRE when I have time anyway
 
Why are we not all up in arms about "memory leaks" with python dictionaries?
I think I'll drop out of this one
 
either way, you made a good point. It's good to make MRE too, for making sure it's happening, etc
I have to thank this room though. Thanks to everyone here, I managed to greatly know how good MRE are. I made a dozen of POC and MRE on my gist.github, so I think I got it on that point
it's great for rubberducking, you can also find the answer to your problem by yourself since it's in a smaller form and easily debuggable, etc
 
8:01 PM
Woohoo... Taskmaster final... rbrb for now
 
 
4 hours later…
11:39 PM
@roganjosh Dude, don't burn out, esp. if you're "but a contractor". There was organizational folly and cargo-cultistry aeons before GPT. There will be some organizations where people get ahead with AI-based corner-cutting... some will succeed, some will blow up, some will end in tears...
 
11:59 PM
@roganjosh and Nordine L How to force Python dictionary to shrink?, et al. Assume we care about locking and thread-safety.
 

« first day (4611 days earlier)      last day (330 days later) »