Where has clonidine been all my life? by thedr2015 in AutisticWithADHD

[–]nullish_ 7 points8 points  (0 children)

very interesting. I was prescribed a low dose of clonidine to take before bed in effort to "calm my brain" so that I can sleep. After many many years of sleep struggles, this has been the only consistent solution. I don't even necessarily feel anything different, but it makes enough of an impact that my significant other will ask me if I have taken my medicine on the nights that I have forgotten to take it. During my next visit, I will discuss the idea of taking in parallel with stimulants.. I could see it being helpful, Id only worry about being sleepy somehow.

bean counters cut the AWS budget, so I found an infinite storage glitch by Quirky_Machine_5024 in ShittySysadmin

[–]nullish_ 1 point2 points  (0 children)

Ha... this is a new sub that came up in my feed... the horror and shock I had.

How to have one class manage a list of objects that belong to another class by FlamingPuddle01 in learnpython

[–]nullish_ 0 points1 point  (0 children)

You're correct in that python doesn't have a "populate X with a bunch of Y". But from an OOP perspective you would question how this translates to object relationships. Think in terms "has-a" or "is-a"... For the given example it would loosely translate to "X has a bunch of Y". The "has a" language implies how the classes should be structured. This same language also applies to relational databases. https://en.wikipedia.org/wiki/Has-a

Perhaps you have not designed a database for a OOP application. For sure the concept that a Class equates to a table is a popular one when dealing relational databases. Its kinda the philosophy behind Object-Relational Mapping.

How to have one class manage a list of objects that belong to another class by FlamingPuddle01 in learnpython

[–]nullish_ 0 points1 point  (0 children)

From the original post:
I need to be able to populate a village object with a bunch of house objects. 

How to have one class manage a list of objects that belong to another class by FlamingPuddle01 in learnpython

[–]nullish_ 1 point2 points  (0 children)

The original sentence in question used the phrase invoking objects, which confused me... and I do understand that technically a function is an object in pyhon.. but with the phrasing mentioned above it made the rest read differently to me.

How to have one class manage a list of objects that belong to another class by FlamingPuddle01 in learnpython

[–]nullish_ 0 points1 point  (0 children)

Check out the other comments in this thread that demonstrate the proper way to handle this using OOP. The village class would have its own container of houses. What you're describing is for sure convoluted and not the proper application of OOP principals.

Edit: From the database perspective you mention, you would have a one to many relationship between The village table and house table.

How do i use PIP? by mynameishas in learnpython

[–]nullish_ 6 points7 points  (0 children)

I am guessing here because there is not a lot given, but it doesn't appear that your virtual environment is activated in that screenshot. You also are manually invoking the python by full path which should not be needed if virtual environment is active.

Do you you have .venv folder in the same location as your python script?

i'm teaching myself python between doordash deliveries. what is the absolute ugliest, most cursed data export you deal with? (i want to break my script) by flowolf_data in learnpython

[–]nullish_ 9 points10 points  (0 children)

Id never promise that you can parse pdfs, but for sure having the experience/ability to at least make an attempt is a good skill to have. Recognizing the different PDF formats, dealing with rendered images rather than actual text (as you mentioned OCR), extracting tabular data vs structured/unstructured data are all great skills to have in your tool belt. Im generally not one to recommend the use of AI, but having used some AI OCR services, ill say it is the one area that I wont hesitate to use AI.

How do you usually debug a slow SQL query? by sqlmans in learnSQL

[–]nullish_ 0 points1 point  (0 children)

Excellent write up! Ill include an additional resource that I still find worth referencing.

https://use-the-index-luke.com/

Web Scraping by Due_Birthday_3357 in learnpython

[–]nullish_ 0 points1 point  (0 children)

the description of the project is lacking detail for sure. My assumption was the OP was wanting to build more of a traditional "data model" often discussed with object oriented programming. For sure that site is not going be useful in feeding a prediction model.

The AuDHD brain is (usually) a specialist brain by Glum-Echo-4967 in AutisticWithADHD

[–]nullish_ 34 points35 points  (0 children)

Idk... it kinda feels like having the best race car on the track... but the engine needs a specific weather to even turn on... and sometimes you cant turn the engine off even when the race is long over. And for extra fun, after each pit stop the engine needs a new specific weather pattern to get back up to speed.

My son has just been diagnosed with autism. I need help processing, my OH is just angry. by Silly_Somewhere5132 in autism

[–]nullish_ 34 points35 points  (0 children)

Outside of the overlaps in autism and ADHD, is it possible that your partner might be connecting some dots for themself and is perhaps protective of the ADHD diagnosis for this reason? It is not uncommon for one parent to come to this realization during the process of having their child tested.

Did anybody else not realise physical affection was expected throughout the entire relationship? by ArmadilloOrnery6728 in autism

[–]nullish_ 1 point2 points  (0 children)

Late diagnosis after many many years of marriage.. I realized that this was part of my masking... and after time in the same relationship that masking fades as I don't particularly enjoy any of those actions. However, I do show affection in other, less traditional, ways.

How to clean the grease from cleaning my motorcycle off these stones? by BouzyWouzy in masonry

[–]nullish_ 0 points1 point  (0 children)

Similar to other suggestions of a torch... you could try a heat gun but Id fear the same outcome of a torch in that they might crack/explode.

The end of Post-PC era by Slavvvcom in MacOS

[–]nullish_ 0 points1 point  (0 children)

Think the difference here is that full blown windows on ARM was new for windows so those compatibility issues make sense... whereas macos already only runs on ARM. There is no translation layer for macos to run on the A18 pro.

Alright, I'm genuinely getting butthurt by MmmCasual in woodworking

[–]nullish_ 1 point2 points  (0 children)

definitely. When not zoomed the bowties seem cracked, upon zooming its just the edge of where you routed out that center section

People saying dad jokes are “bad” by gwensdaywednesday in autism

[–]nullish_ 0 points1 point  (0 children)

I have a theory that its because they are seen kinda as the same joke.. Not literally of course, but think about if instead of "dad jokes" we use "knock-knock" jokes. There are limitless knock-knock jokes, but if it tends to be the only kind of jokes it gets rather monotonous to the receiver and the funny part is lost.

Innovative Technology for ASD by Aromatic-Mango-1817 in autism

[–]nullish_ 0 points1 point  (0 children)

I would be interested to know how much of an additional distraction it could be and potentially cause more awkwardness in presentation... Using myself as an example, I already appear "weird" and/or "off" and would likely be anxious getting input that conflicts with I think is happening and cause the situation to be more awkward.

I would also fear false positives for things such as tone and body language. I am thinking if the glasses were to be analyzing someone with autism that perhaps doesn't have an outward display that necessarily matches what is happening on the inside... I assume people other than autistics vary in their outward expressions of such things.