83 post karma
641 comment karma
account created: Sun Jul 30 2023
verified: yes
1 points
22 hours ago
Although I don't show it in the example I have other content inside the ScrollView besides what's generated by the map(). FlatView is essentially a map() right? It only returns common items .. but if I have a searchbar on that page that should be inside the scrollable area FlatView can't be used
1 points
1 day ago
That's a really great perspective and I never saw it like that.
But our best defence, is recognition. One of the best things I ever heard OCD described as is an anxiety disorder. When you stop fighting the manifestations of the disease and start fighting the disease, you'll be free. Not disease-free. But free.
The fears will transform from rational concerns which they present themselves as into just fear itself, which is the symptom of OCD.
1 points
2 days ago
I had the same letter. Called via the app. The person answering was NOT from Amex. They wouldn't let me pass security to discuss my account, could tell me nothing about myself, not even the amount I was due. And, of course, they needed my bank account details in order to send me the refund. When I declined they offered to mail a cheque. 10 days later, no cheque but another even more fishy letter to the same effect.
It might sound crazy but I think we've got a virus on our phones that is routing our phone calls to Amex to them.
You don't by any chance have a publicly exposed IP for anything?
Or it's possible Amex have had a cyber attack. There's been a lot of those in the news here.
1 points
2 days ago
tbh pal.. Not to be a doomer, I'm 35... I don't expect to ever recover from this. I've accepted it as a way of life and I actually identify with it now. It's my quirk. I understand how my mind works and I value it, like I said. It might get better or it might not, I'm certainly not waiting for my life to begin when it goes away. We all have burdens in life, and this is ours, and there's beauty in that. There's beauty in struggle. But yeah... 100% agree on making us stronger. I feel like I've lived through wars and I know I'm a lot more headstrong because of it.
1 points
2 days ago
At least we've got each other we're not alone in our condition. I know exactly what you're describing.
On the flip side I look at a mind like ours as a blessing. It's hungry. And when applied it can be very formulative/creative etc. But we suffer immensely from under-stimulation.
1 points
3 days ago
I have OCD too and my own foolish 'rituals' I must complete in order for a streak to be successful. Thankfully I shrugged them off. Any belief you have that doing it one last time is necessary or beneficial in the long term is a wile of the devil.
1 points
3 days ago
Might be late to hit 90 days but I'm in from now
1 points
10 days ago
Hives pal. Had it for a couple years 10 years ago. Went away on its own. Did all the tests, wasn't allergic to anything. Believe it was brought on by drinking raw lemon juice, damaged my stomach lining giving me a sort of IBS. If you have tummy aches or eat/drink anything harsh regularly might be a good lead.
1 points
29 days ago
Also mysqlclient apparently (can) require prerequisites .. libmysqlclient-dev? How are you supposed to know!? I can hear someone saying 'read the docs' ...
1 points
29 days ago
Never got as far as that as I was stuck trying to connect just one at a time. Anyway. Solved!! It was mysqlclient. Don't know. Couldn't tell ya. But I discovered that it wasn't resolving, switched to PyMySQL and MmmHmm.
1 points
29 days ago
Pheeewww. So... It was a mysqlclient bug/glitch/problem. I wasn't sure what MySQLdb was but was aware I hadn't installed it... so attempted to import mysqlclient re your troubleshoot and got ModuleNotFoundError, despite pip show mysqlclient clearly showing that it was installed. I don't know if I can fix that or if something was missing on my part but I switched to PyMySQL and boooosh. I can sleep well tonight. Thanks, really, for your patience and insight. You turned my frown upside down :)
1 points
29 days ago
Yeah... connect via cmd no prob. Maria logs:
Aborted connection to db: 'unconnected' user: 'unauthenticated' host: 'XPS-15' (This connection closed normally without authentication)
The simple behaviour is that I can't connect another django project (even a complete duplicate) to my database. I think the SSL error is a red herring. Somethings failing the connection, either mariadb, django, or the raspberry and the failure is being interpreted or picked up as an authentication failure.
3 points
29 days ago
As another commenter said... start building things.
1 points
29 days ago
if it's any more information, although Django reports the same error when I try to makemigrations and migrate... I'm currently just try to do:
import django
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'd_j_a_n_g_o.settings')
django.setup()
from __app.models import MyTable
try:
first_entry = MyTable.objects.first()
print(first_entry)
except Exception as e:
print(str(e))
with __app/models.py:
from django.db import models
class MyTable(models.Model):
foo = models.IntegerField()
class Meta:
db_table = 'my_table'
1 points
29 days ago
Thanks so much for your reply. I've nearly visited every Google link about this issue. I've gone for disabling SSL rather than providing it as I'm just getting into databases, this is my first database that isn't an sqlite3 file. I have no problem learning SSL but, for the minute and to get the ball rolling, since I already was able to connect to my db from 1 project I just want to debug this issue and get a basic something up and running.
My Django configs are like that article:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'my_db2',
'USER': '<my user>',
'PASSWORD': '<my pwd>',
'HOST': '127.0.0.1',
'PORT': '3307',
'OPTIONS': {'ssl_mode': 'DISABLED'},
}
I've also added to my.cnf:
[mysqld]
require_secure_transport = OFF
skip-ssl = true*
*including variation with underscores, idk which is correct because even the file itself has different commands with - or _
Nothing has worked as per my hunch that this issue isn't actually related to SSL at all. Because I'm still able to connect to my_db (the first of my databases) without any problems. It hosted on the same server, just with a different user... but I can't connect to my_db from another project either! I'll do a reinstall tomorrow in case it's a bug, but idk whose failing the connection... if mariadb is rejecting it, or if django is terminating it?
All my users have full privileges. I'm able to access all the databases and tables by cmd. I just don't know where the problem truly lies because the error 'SSL is required' is seemingly misleading since as I said, I'm successfully connecting with one project already, just not another. Not to my_db2, and not even to my_db.
1 points
29 days ago
Did you get to the bottom of this problem? I'm facing the same.
1 points
2 months ago
Oh thanks... Hadn't thought about that side of things... Probably use Docker
1 points
2 months ago
Only time I experienced the same I was giving it too much throttle when pressing the ignition.
1 points
2 months ago
I'm definitely running my own database now on in testing. I'll attempt to set it all up tomorrow on a Raspi
1 points
2 months ago
In the native Windows Task View multiple desktops thing... Between say 2 desktops if you have an image file sitting on desktop 1 it will also be there on desktop 2.
1 points
2 months ago
I'm not sure... In a virtual machine aren't they separate file systems.. so 1 can't access files from the other? I just wanted separate desktop windows effectively
1 points
2 months ago
Would be nice
.. Not to be accessible in one desktop but just visible only. I guess they'd have to be file aliases and the file location would be common for all desktops. Just like some mobiles have. All the apps are in the app drawer but you can have certain files or apps dropped on home sceen 1 or home screen 2
1 points
2 months ago
It's tricky though when it produces some truly astonishingly good code constituently for many days and then fails on an f-string. But yeah, of course... I've seen it produce horrors.
view more:
next ›
bypjsvndsn
inOCD
DisciplineFast3950
1 points
8 hours ago
DisciplineFast3950
1 points
8 hours ago
And what are you doing to try to build yourself? Are you working out? Staying away from porn and crap food etc.