Click here to Skip to main content
15,886,873 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: React and Material UI Pin
snorkie7-Feb-24 7:26
professionalsnorkie7-Feb-24 7:26 
GeneralRe: React and Material UI Pin
Jeremy Falcon7-Feb-24 9:03
professionalJeremy Falcon7-Feb-24 9:03 
GeneralRe: React and Material UI Pin
pkfox7-Feb-24 10:55
professionalpkfox7-Feb-24 10:55 
GeneralRe: React and Material UI Pin
jmaida7-Feb-24 17:54
jmaida7-Feb-24 17:54 
GeneralRe: React and Material UI Pin
0x01AA9-Feb-24 5:20
mve0x01AA9-Feb-24 5:20 
GeneralRe: React and Material UI Pin
GuyThiebaut7-Feb-24 21:47
professionalGuyThiebaut7-Feb-24 21:47 
GeneralRe: React and Material UI Pin
jochance8-Feb-24 4:50
jochance8-Feb-24 4:50 
GeneralWhy I don't use python Pin
honey the codewitch7-Feb-24 1:39
mvahoney the codewitch7-Feb-24 1:39 
It makes me feel like a crotchety old English teacher.

Python
def receive_message(self, client, client_address)


Yields "'function' object has no attribute 'receive_message'

And my first thought does not go to the code, but to the inanity of the error message.

1. Attributes are metadata. A function doesn't have attributes unless it's marked up. it has a signature, access modifies and storage class indicators.

2. Functions are not "objects". Functions are functions. A function as an object is called a "functor"

3. Am I really fisking a python error message right now?

And by then I've completely given up on the issue.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

QuestionRe: Why I don't use python Pin
CPallini7-Feb-24 1:54
mveCPallini7-Feb-24 1:54 
GeneralRe: Why I don't use python Pin
Richard Andrew x647-Feb-24 2:56
professionalRichard Andrew x647-Feb-24 2:56 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 4:20
mvahoney the codewitch7-Feb-24 4:20 
JokeRe: Why I don't use python Pin
Richard Deeming7-Feb-24 2:57
mveRichard Deeming7-Feb-24 2:57 
GeneralRe: Why I don't use python Pin
Pete O'Hanlon7-Feb-24 2:59
mvePete O'Hanlon7-Feb-24 2:59 
GeneralRe: Why I don't use python Pin
Richard Deeming7-Feb-24 3:18
mveRichard Deeming7-Feb-24 3:18 
GeneralRe: Why I don't use python Pin
Chris Maunder7-Feb-24 3:02
cofounderChris Maunder7-Feb-24 3:02 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 4:19
mvahoney the codewitch7-Feb-24 4:19 
GeneralRe: Why I don't use python Pin
Richard MacCutchan7-Feb-24 4:50
mveRichard MacCutchan7-Feb-24 4:50 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 4:59
mvahoney the codewitch7-Feb-24 4:59 
GeneralRe: Why I don't use python Pin
Chris Maunder7-Feb-24 6:55
cofounderChris Maunder7-Feb-24 6:55 
GeneralRe: Why I don't use python Pin
megaadam7-Feb-24 11:07
professionalmegaadam7-Feb-24 11:07 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 11:09
mvahoney the codewitch7-Feb-24 11:09 
GeneralRe: Why I don't use python Pin
megaadam7-Feb-24 11:46
professionalmegaadam7-Feb-24 11:46 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 11:53
mvahoney the codewitch7-Feb-24 11:53 
GeneralRe: Why I don't use python Pin
megaadam7-Feb-24 12:18
professionalmegaadam7-Feb-24 12:18 
GeneralRe: Why I don't use python Pin
honey the codewitch7-Feb-24 12:32
mvahoney the codewitch7-Feb-24 12:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.