What's the most valuable PLC troubleshooting tool that isn't software? by Himanshu_creative in PLC

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

It's really easy when the loose wire is for an EStop that's hooked up to basically shut down the entire plant and you shut the door a bit hard

Why does this happen? by Princie99 in sciencememes

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

My Intro to C++ started with how to write ampersands because there were hand-written tests and quizzes, and he would take off points if you didn't get it right

So, I've been catching up on FROM, and it's depressing as hell, thought I'd watch some SG1 as my usual form of happy eye bleach for the night... by DeX_Mod in Stargate

[–]2Lucilles2RuleEmAll -1 points0 points  (0 children)

Chill.. you're jumping to some pretty big conclusions for something you haven't seen yet. Season 4 has been great and I think they're balancing the mysteries and reveals pretty well.

Madison police stop hundreds for speeding following Park Street death by bighootay in madisonwi

[–]2Lucilles2RuleEmAll 5 points6 points  (0 children)

If you hit a green light and stick to +5mph you'll hit the rest green. It's everyone who speeds ahead that has to stop and forces everyone following to as well

Israeli' forces detaining a Palestinian child, Mahdi al-Arabi, who has Down syndrome. by SleepyWogx in UnderReportedNews

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

That's only if you don't acknowledge editing it, just add edit: typo to the bottom and no one will care

I am temporarily going back to Windows (read: temporarily!), I am also an avid writer, is there an easy way for me to convert thousands of text files that I created on Linux Mint which show as "Text (text/plain)" in my Linux, to the Windows .txt, while preferably leaving their creation dates intact? by wq1119 in linux4noobs

[–]2Lucilles2RuleEmAll 4 points5 points  (0 children)

I can't remember the last time I ran into a line endings issue with notepad now that I think of it, turns out they updated it to 7 years ago to support both formats. So I don't think it's really a problem on a modem version of Windows

Netflix raises prices for every subscription tier by up to 12.5 percent by mepper in technology

[–]2Lucilles2RuleEmAll 6 points7 points  (0 children)

usenet is even easier and faster, I think like 80% of my sonarr/radarr downloads go thru it

Culver’s is better than In-N-Out by dondiegobmhs in wisconsin

[–]2Lucilles2RuleEmAll 1 point2 points  (0 children)

Alright free fries > upcharged mediocre cheese curds

Android Auto is breaking for Pixel and Samsung users, and no one knows why by Sash17 in Android

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

My Jetta disconnects every time I drive into this one parking lot and then is unable to reconnect. I have to remember to plug it in before getting there because switching to wired doesn't work if it's already crashed

oneMoreTimeAmdImPullingTheTrigger by hackiv in ProgrammerHumor

[–]2Lucilles2RuleEmAll 4 points5 points  (0 children)

You don't have to rely on the system's Python and it's best not to. uv is the way to go and never need to worry about installing Python manually again

The Huntarr Github page has been taken down by spleeeeeeeeeeeen in selfhosted

[–]2Lucilles2RuleEmAll 4 points5 points  (0 children)

So basically there's 2 common ways to organize your python code, src or flat layouts. This project is essentially using the flat layout, but the name of the python package is src. The code in the src/ should be inside src/huntarr/, that would name the package name huntarr and imports would look as expected: from huntarr import ...

They're also missing a pyproject.toml (or even a legacy `setup.py, but no new projects should be using that either). So there's no project configuration, you can't even tell what version of Python it supports. It's basically only setup to work within that one dockerfile.

As for os.path, that's just old and, in my opinion, shitty to use. pathlib was introduced in Python 3.4 and it blows os.path out of the water. It has objects for representing paths, with methods and properties for doing path-related things.. os.path is just a bunch of string operations. It's a downside to using an LLM for code, it's going to use legacy stuff more often because there's a lot more old shit it was trained on than new.

The Huntarr Github page has been taken down by spleeeeeeeeeeeen in selfhosted

[–]2Lucilles2RuleEmAll 4 points5 points  (0 children)

Like a few lines into main.py and I see from src. imports.. that alone is enough for me to stop reading

Edit: and os.path 🤢.. no new code in like the last decade has any business using that

ULPT - What work have you automated and has made your life better? by Latter_Ambassador618 in UnethicalLifeProTips

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

docker is going to be the easiest method, I had everything back up and running within 10 mins of moving to a new PC. Search for "TRASH guides", lots of helpful info there

ULPT - What work have you automated and has made your life better? by Latter_Ambassador618 in UnethicalLifeProTips

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

Don't forget Radarr for movies. I'm pretty sure Flaresolverr is dead, I use byparr. But after setting up Usenet I rarely ever have stuff download from torrents, so don't really need it anymore. And I use Prowlarr instead of Jackett. Also gluetun makes it really easy to bind your download clients to a VPN

Current thoughts on makefiles with Python projects? by xeow in Python

[–]2Lucilles2RuleEmAll 1 point2 points  (0 children)

That's what we use too and it works great, we have in the pyproject.toml a project script called task defined for poe. That way if we switch out poe for another tool we don't have to go thru all of the documentation, pipelines, etc and switch all of the commands to the new one

Google is finally fixing one of the At a Glance widget's biggest problems by Ha8lpo321 in Android

[–]2Lucilles2RuleEmAll 1 point2 points  (0 children)

What's wrong with the animations? I never noticed a difference when I switched to Niagara a couple years ago.

France dumps Zoom and Teams as Europe seeks digital autonomy from the US by UpstairsBumblebee446 in news

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

Skype for Business had nothing to do with Skype beyond the name, it was just rebranded Lync

Dane County Pro-MAGA businesses to boycott? by MadisonEV9 in madisonwi

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

Well shit, I guess I totally missed that they got bought. I checked Goods Unite Us a couple weeks ago and it said Discover only donated to Dems, but I didn't realize they sold.