peterg75

joined 2 years ago
[–] peterg75@discuss.online 2 points 2 months ago

Make a habit to use timeshift or similar backup utility if you continue "exercising your skills". Those allow you to roll back to last known good config.

[–] peterg75@discuss.online 2 points 2 months ago (1 children)

It all depends on what you are trying to accomplish with this mode. If your goal is to do basic documents, web browsing, media consumption, or email/chat/etc, then the Motorola latest phones are more than capable. I'm pairing my phone with a portable display and a foldable keyboard/track pad combo (Bluetooth). It is perfectly capable of day to day light computing. I've even done some very light python programming using PyDroid.

[–] peterg75@discuss.online 6 points 2 months ago (26 children)

My Motorola Edge+ 2023 has desktop mode when connected to an external display.

[–] peterg75@discuss.online 2 points 3 months ago* (last edited 3 months ago)

I've had solar installed on my roof for 3+ years. Best home upgrade I have made by far, IMHO. I agree that buying them or financing them is much better than leasing. Firstly, you take advantage of the tax rebate, also it's much better when the time comes to sell the house.

I wouldn't wait for the tech to advance though. You may lose out on the tax rebate if the current US admin deems that "woke".

As for my experience with them, it's been phenomenal. I basically pay $12/month between April and October. My annual electricity bill is down by about 95%.

[–] peterg75@discuss.online 3 points 3 months ago (2 children)

Own.

Was super lucky that my wife was able to sell property in her home country after we got married and got her mom and her here to US. Also was one of the fortunate ones to have cash during the sub-prime recession so was able to get a super cheap mortgage.

I generally love owning the house although sometimes I miss renting, when something needs fixing. I'm pretty handy, so I do a lot of the jobs myself, but it could be a big chore.

Still, I'd rather have my own property and the freedom to do what I want with it, like installing solar panels, TV antenna, paint any color I like, etc.

My long term plan involves some sort of downsizing, possibly a live-aboard sail boat, although my wife is sceptical on that one. We're probably going to end up getting a condo in one of the cheaper states.

[–] peterg75@discuss.online 1 points 3 months ago (1 children)

LOL. No worries, all good now. It was me not the site.

[–] peterg75@discuss.online 4 points 3 months ago

Shut up and take my money!!!

[–] peterg75@discuss.online 2 points 3 months ago

within 6 months running it as a desktop OS with KDE it broke twice during update to the point that it was easier to reinstall than to fix. it maybe better a a barebones setup, but as a desktop, I had issues with it.

[–] peterg75@discuss.online 3 points 3 months ago

I'm not sure where did you get an idea that I was complaining about something. I've been running Linux for over 15 years. I know how to maintain my system. I was simply saying that I found a distro that's better FOR ME than the one I was using.

[–] peterg75@discuss.online 3 points 3 months ago

It the breakage happens, hopefully Timeshift will save me. That's the best thing that I learned while running EndeavourOS.

[–] peterg75@discuss.online 1 points 3 months ago

I am finding that out too. much better than Manjaro's repos.

[–] peterg75@discuss.online 1 points 3 months ago (4 children)

While I don't have much in a way of hard data, it feels much snappier. Also, it seems to utilize less ram. I believe the difference lies in the Cachy's repo. A lot of the apps I use daily are not installable from Manjaro repos and so I had to use flatpaks and AppImages. AUR was also a hit or miss for me. Catchy, on the other hand had most of the apps I use in it's repo. Things like Tutanota desktop client and Zen browser as an example.

 

I first started using Manjaro after being on Debian/Ubuntu derivatives for years. Mint used to be my daily driver, then LMDE for a while. After struggling with Endeavour OS, through 2 or 3 breaking updates requiring a reinstall I made Manjaro with KDE Plasma my home for several years.

Manjaro was stable and, I thought blazing fast, compared to Mint. Everything just worked and was cutting edge. I thought my distro hopping days were over and I found the one that works for me.

Recently I've been reading about Cachy OS and decided to give it a whirl on my test Dell Latitude. Turns out that, I had no idea how fast and lean Linux could be on that off-lease business laptop! I know have it installed on my main Laptop and it's leaps and bounds faster than Manjaro, has none of the bloat and just works! I know it's early, but I think I have found a new home! I have timeshift set up just in case, so I'll see how stable it is over the next few months, but so far I am impressed.

Highly recommend everyone who's into Arch and rolling release to try it.

 

Hello, Python Community!

Has someone been able to successfully connect to an IBM Informix DB with a Python app? I have the following environment: DEV: Windows 11 Python 3.13.3 64-bit VS Code

DB: IBM Informix 12.10 hosted in Azure I'm able to connect to it usind DBeaver (JDBC)

I have tried the following libraries to try to establish the connection: ibm_db: Traceback (most recent call last): File "c:\Users\peterg\source\python\dbApp\ibm_db_test.py", line 1, in <module> import ibm_db as db ImportError: DLL load failed while importing ibm_db: The specified module could not be found._

pyodbc: I have an ODBC DSN connection established Traceback (most recent call last): File "c:\Users\peterg\source\python\dbApp\pyodbc_test.py", line 3, in <module> conn = db.connect("Dsn='DSN_NAME'") pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')

JayDeBeAPI: I have downloaded the same JAR files as DBeaver uses and copied them to a dir local to the project and added the CLASSPATH variable: set "CLASSPATH=%PROJECT_ROOT%\Java\jbc-4.50.10.1.jar:%PROJECT_ROOT%\Java\bson-3.8.0.jar"

File "c:\Users\peterg\source\python\dbApp\JayDeBeApi_test.py", line 3, in <module> dbConn = db.connect("com.informix.jdbc.IfxDriver", "jdbc:informix-sqli://hostname:port/db_name:INFORMIXSERVER=server_name", ['user', 'pass']) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jaydebeapi\__init__.py", line 412, in connect jconn = _jdbc_connect(jclassname, url, driver_args, jars, libs) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jaydebeapi\__init__.py", line 221, in _jdbc_connect_jpype jpype.JClass(jclassname) ~~~~~~~~~~~~^^^^^^^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jpype\_jclass.py", line 99, in __new__ return _jpype._getClass(jc) ~~~~~~~~~~~~~~~~^^^^ TypeError: Class com.informix.jdbc.IfxDriver is not found

PyInformix: SADeprecationWarning: The dbapi() classmethod on dialect classes has been renamed to import_dbapi(). Implement an import_dbapi() classmethod directly on class <class 'pyinformix.ifx_jdbc.InformixJDBCDialect'> to remove this warning; the old .dbapi() classmethod may be maintained for backwards compatibility. engine = create_engine('informix+ifx_jdbc://hostname:port/db_name;INFORMIXSERVER=server_name;delimident=y;user=user;password=pass') Traceback (most recent call last): File "c:\Users\peterg\source\python\dbApp\PyInformix_test.py", line 5, in <module> conn = engine.connect() File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\engine\base.py", line 3274, in connect return self._connection_cls(self) ~~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\engine\base.py", line 146, in __init__ self._dbapi_connection = engine.raw_connection() ~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\engine\base.py", line 3298, in raw_connection return self.pool.connect() ~~~~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 449, in connect return _ConnectionFairy._checkout(self) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 1264, in _checkout fairy = _ConnectionRecord.checkout(pool) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 713, in checkout rec = pool._do_get() File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\impl.py", line 179, in _do_get with util.safe_reraise(): ~~~~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\util\langhelpers.py", line 146, in __exit__ raise exc_value.with_traceback(exc_tb) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\impl.py", line 177, in _do_get return self._create_connection() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 390, in _create_connection return _ConnectionRecord(self) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 675, in __init__ self.__connect() ~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 901, in __connect with util.safe_reraise(): ~~~~~~~~~~~~~~~~~^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\util\langhelpers.py", line 146, in __exit__ raise exc_value.with_traceback(exc_tb) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\pool\base.py", line 897, in __connect self.dbapi_connection = connection = pool._invoke_creator(self) ~~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\engine\create.py", line 646, in connect return dialect.connect(*cargs, **cparams) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\sqlalchemy\engine\default.py", line 625, in connect return self.loaded_dbapi.connect(*cargs, **cparams) # type: ignore[no-any-return] # NOQA: E501 ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jaydebeapi\__init__.py", line 412, in connect jconn = _jdbc_connect(jclassname, url, driver_args, jars, libs) File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jaydebeapi\__init__.py", line 221, in _jdbc_connect_jpype jpype.JClass(jclassname) ~~~~~~~~~~~~^^^^^^^^^^^^ File "C:\Users\peterg\AppData\Local\Programs\Python\Python313\Lib\site-packages\jpype\_jclass.py", line 99, in __new__ return _jpype._getClass(jc) ~~~~~~~~~~~~~~~~^^^^ TypeError: Class com.informix.jdbc.IfxDriver is not found

IfxPy:

Uanble to install, seems that it does not support the latest Python 3 version.

Any help would be appreciated. I can attach the sample code of every method I tried if that would help.

 

It may be just me, but all images appear to be broken when browsing to Discuss.Online in the web browser.

 

Let's resurrect SCM on Lemmy!

 

Not sure if I'm missing something, but I have changed my password on one of my accounts and couldn't find an option in Sync to update it. Is there an option? I had to remove the account and re-add it back to update the password which, IMHO, is a less than ideal way of handling this scenario.

 

I have been using Lemmy for a while now and decided to "branch out" from Lemmy.world to another instance. I used lasim to migrate all of my subscriptions over to the new account on Discuss.online. What I was expecting is to have the default view which is Everything, sorted by Hot, be somewhat similar between instances, but it is completely different. Can someone explain this? Does every instance build its own statistics that are used for the "Hot" and "Active" sort?

 

Is there an easy way to migrate from one instance to another? I’d love to be able to move my subscriptions and profile settings at the very least.

view more: next ›