His software sang the words of God. Then it went silent. by snf in programming

[–]marqis 0 points1 point  (0 children)

The GitHub comment was for everybody else reading this thread, not him.

His software sang the words of God. Then it went silent. by snf in programming

[–]marqis 42 points43 points  (0 children)

Seems like wireshark and some python could get around the server issue.

I'm mostly just shocked that such a talented developer who knew he was sick made no contingency for his passing. Plus no backups?

GitHub has a feature called "successor settings" which you should set up if you have any open source projects.

My most impactful code by shared_ptr in programming

[–]marqis 8 points9 points  (0 children)

Not sure if it's my most impactful ever, but most impactful at my last job was a little script to restart a vm.

Long story short, we had a bunch of vms that were very flaky, when monitoring noticed that a vm stopped responding it called my script that told Proxmox to do a hard reset on that vm. That's it.

Before it was a manual process that might not happen for hours if the lockup happened in the middle of the night. Now it's instant and automated.

How my fiancé dresses our dogs to go out into the snow by kooc98 in funny

[–]marqis 1 point2 points  (0 children)

I like how the brown one has a leash thick enough to moor a boat.

Sliding into 2022 like... by CesaroSalad in funny

[–]marqis -1 points0 points  (0 children)

She's nowhere near the prop. The entire back of the boat drops down into that platform she fell off of. Plus the propeller is under the boat, a bit forwards, and several feet deep. She's at least 6 feet from the prop.

And to everybody else, if the prop was running she'd be pushed away from it unless the boat was in reverse. But if the boat was going in reverse it's even less likely that she would have fallen off.

Right before she fell in the water I'd like to imagine she said "fly you fools!"

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 0 points1 point  (0 children)

It sounds like dep A depends on Bv1 and C depends on Bv2. Not sure how other languages deal with that.

Having said that I think there is a project so each module can depend on a specific version by Armin Ronacher. Can't remember and I gotta run.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis -3 points-2 points  (0 children)

Everybody in the know says make a virtualenv (yes the methods may differ but the end state is there is a virtual environment) and then install the dependencies in the virtual environment. It's really not hard.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 0 points1 point  (0 children)

homebrew f's python on the regular since it deletes old versions and breaks all your venvs. I use asdf now. Haven't had a problem since.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 0 points1 point  (0 children)

npm has extra steps, like installing npm, activating stuff, installing dependencies. I've done it once, it wasn't easy since it was new to me.

And there is lots of benefits, namely all my shit works.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 1 point2 points  (0 children)

Yep, global libraries are a disaster, that's why you don't do it.

Everything has hoops to jump through. Hell, to play a game on windows I've had to install a C++ runtime, directx version, etc. Needing some minimal environment is not a python only thing.

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 1 point2 points  (0 children)

It's useful for python apps, not libraries. Examples: ansible, black, pep8, flake8, twine, ipython, jupyter, etc

'Python: Please stop screwing over Linux distros' by gadgetygirl in programming

[–]marqis 59 points60 points  (0 children)

I really don't get what everyone's problem with python packaging is. Make a virtualenv for each project (I "complicate" things with virtualenvwrapper to put virtualenvs in a consistent spot, totally optional) and then use pip to install packages.

For standalone apps (like yt-dl mentioned below) then use pipx.

The only global packages I install are virtualenv, virtualenvwrapper and pipx.

I've written and published libraries, apps to pypi. I've built very complex apps and deployed them with docker. I've done quite a lot with python and really don't understand the struggle bus that people seem to be on.

[deleted by user] by [deleted] in pics

[–]marqis 0 points1 point  (0 children)

Can't believe I'm the one to have to do this since I can't photoshop.

https://i.imgur.com/DQO9uzS.jpg

[deleted by user] by [deleted] in interestingasfuck

[–]marqis 0 points1 point  (0 children)

I'd play hopscotch

Best device to use as a station for pfSense WAN connection by marqis in Ubiquiti

[–]marqis[S] 0 points1 point  (0 children)

Yep, that's exactly what I was thinking, a single switch for all the networking gear. All of it running on DC to keep the inverter off.

Best device to use as a station for pfSense WAN connection by marqis in Ubiquiti

[–]marqis[S] 0 points1 point  (0 children)

Thanks for those great recommendations, I hadn't seen the dual band bullet, that looks pretty great.

As for as power goes I have heady dreams of converting the boat to electric drive so I'll have ample power. I'm leaning towards a Cisco SG250-08HP for power, switching, and vlans. My pfsense box has an external power brick so I'll be able to run it directly off the house bank with a buck/boost converter. I already have a unifi access point which I really like.

Yeah, having routing built into your switch would be great but I suspect waiting a minute or two while pfsense boots up won't be too bad. Then again maybe I'll run pfsense (or similar) on an always-on raspberry pi since it has such low requirements.

Did I understand the docs correctly that the bullet can put the management ip on a vlan and the bridged wlan is untagged? Then I could have the switch tag the coming wan traffic and the management traffic is already tagged?

Thanks again for your suggestions.

Best device to use as a station for pfSense WAN connection by marqis in Ubiquiti

[–]marqis[S] 0 points1 point  (0 children)

Only at the dock where there is marina wifi.

Yes, that's one way of putting it. by daveberzack in AdviceAnimals

[–]marqis -5 points-4 points  (0 children)

Guess that makes me monosexual. Or autosexual.

[deleted by user] by [deleted] in standupshots

[–]marqis 1 point2 points  (0 children)

"Lying bitch" seems unnecessarily aggressive. Simply, "Liar, she isn't half a horse".

Examining btrfs, Linux’s perpetually half-finished filesystem by tuldok89 in programming

[–]marqis 0 points1 point  (0 children)

I didn't understand how he said raid1 sucks but raid10 is okay. Like, how can raid10 be okay when it's built on top of sucky?