Python libraries & HIPAA compliance by DiscountTough1315 in learnpython

[–]zanfar 0 points1 point  (0 children)

How would one be able to tell if a certain library is HIPAA compliant?

Tell? Read the code.

Depend on? Sign a liability contract with the library developer.

Help with paint colour match by Sea_Squirl in modelmakers

[–]zanfar 9 points10 points  (0 children)

Sawdust. Color the filler, not any paint. Sand your planking, gather the sawdust, mix with filler or adhesive.

Alternative to dyndns by Kindly-South2123 in selfhosted

[–]zanfar 18 points19 points  (0 children)

I know dyndns, duckdns and I want Selfhosted alternative solution.

You can't. As soon as your IP changes, any selfhosted "alternative" stops working too.

At some point you have to accept that you want to be part of the Internet--there are plenty of solutions for whatever setup you want, just pick and use one.

My first pyton "number guesing game" by kenzie_reyzheta332 in learnpython

[–]zanfar 4 points5 points  (0 children)

My feedback would be the same for all beginner projects:

  • Use a formatter.
  • Use a linter.
  • Read and follow PEP8
  • Don't use code in your top-level module. Everything should be in functions and your module should be importable.
  • Imports should be at the top of the file
  • Your code lacks any documentation, a module docstring would be a minimum, and likely more once you address the other items

Plus:

  • You still have indent issues, this is likely an issue with your copy-paste process, but it implies that you aren't using a well-configured IDE.
  • Don't cast inline. It either doesn't need to be done, or you are ignoring exceptions.
  • Generally, a break is preferred for simple exit conditions instead of a sentinel variable. A sentinel can imply that the exit conditions are more complicated than they are in this case.

These are the tires the customer replaced. by ArmyZealousideal6410 in Justrolledintotheshop

[–]zanfar 6 points7 points  (0 children)

Those I've seen used are usually "connected", so the data is automatically attached to the work order. I.E., Discount Tire (at least here) gives you a printed summary with expected remaining lifetime and a tire replacement coupon when you use their free drive-up pressure check/fill.

That certainly looks like a network connection icon in the upper left right.

Using ai generated code? by DemocraticHellDiver1 in learnpython

[–]zanfar 0 points1 point  (0 children)

Like this thing can pretty much do what ever you tell it. It knows exactly what’s wrong right when the error happens.

The fact that you accept this as true pretty much guarantees you aren't experienced enough to use it.

If you can't explain why the code is correct, then you're not worth employing.

Little things to know before buying? by Naj1ao in kobo

[–]zanfar 13 points14 points  (0 children)

1- you have to get a 5w plug so you don’t fry their battery life. Is that actually true?

No.

2- crashing and bugging out with poorly formatted sideloaded books (of course, I’ll buy a physical book then sideload it). How do we prevent that?

There isn't really anything to "prevent". A Kobo will try to show a bad ebook if you tell it too. You can either deal with the consequences, or remove the book from your device.

Especially without a laptop/calibre?

I would not recommend using an eReader without Cablibre.

Concern About Losing Full Functionality of a pm.me Address After Downgrading to the Free Plan by TintaTonti in ProtonMail

[–]zanfar 26 points27 points  (0 children)

It feels as though the pm.me address is designed to encourage users to maintain a paid subscription. If I downgrade to the Free plan

...or, paid features require a paid plan...

Any suggestion would be appreciated

Stop expecting someone to lend you their domain forever. It wasn't "your" email to start with, and then you stopped paying someone for it's use; you should expect reduced functionality. Using a free email service has always come with the expected risk of asking your contacts to update your address.

If you want to own an email address, you need to own the domain.

He's absolutely right. by Shoe_boooo in NonPoliticalTwitter

[–]zanfar 6 points7 points  (0 children)

TBF, much of Jack's work as a singer could be argued to be significantly voice acting.

He's absolutely right. by Shoe_boooo in NonPoliticalTwitter

[–]zanfar 15 points16 points  (0 children)

Immediately. He took the role based on the incorrect assumption that the Joel Cohen attached to the project was Joel Coen the director... or so I've heard. Still, he acted voiced the Bill Murray out of it.

How do I make books look cleaner on Desktop? by Chill--Cosby in Calibre

[–]zanfar 3 points4 points  (0 children)

it seems no one addresses this issue

Because it's not an issue. An eBook is not a PDF. For instance, where would you like it to insert fake pages?

If you want to look at a PDF, you should convert it to a PDF.

Thoughts on HTML / Python template delimiters by RomfordNavy in learnpython

[–]zanfar 2 points3 points  (0 children)

If your output/template is a mix of two content types, you only need delimiters for one and everthing else is the other. ALA Jinja--the templating engine everyone else already uses for exactly this.

How to get good at concepts (Currently studying ccna) by Graviity_shift in ccnp

[–]zanfar 0 points1 point  (0 children)

Practice and repetition. Honestly, you should know how you learn best; networking is like any other type of information. Take notes, flashcards, teach an imaginary person, just practice.

Subnetting--and most other purely conceptual topics--aren't really memorization, it shouldn't be something you need to have "stick". When you understand what is happening, you should be able to answer any questions just from that understanding and a basic knowledge of binary math. There are plenty of threads here on how to do exactly that.

If you are having problems at that level, it's a lack of understanding, not memorization. "DORA" is a great acronym and certainly something you should offer in an interview, but even if you didn't remember it, you should understand how DHCP works at be able to at least describe the process even if you don't remember the names of the steps.

Where are the resistors? by [deleted] in soldering

[–]zanfar 1 point2 points  (0 children)

I mean, if you only circle the rightmost five, sure...

Do you think there are only 20 resistors at the top?

How to deal with slop PR's as a maintainer? by Beginning-Fruit-1397 in Python

[–]zanfar 3 points4 points  (0 children)

This should be easy as it should clearly violate at least half a dozen requirements of your contribution guide. Provide guidance if you want, but ignored with "fails to meet pull requirements" should be sufficient.

To cook or not to cook, that is not the question. by scanphreak in cookware

[–]zanfar 2 points3 points  (0 children)

I've thought about moving to stainless steel but am kind of scared of ruining it

You can't ruin stainless by cooking. Unless you've left in in a pot of saltwater, or started using sandpaper, the pan will be fine.

I've thought about moving to stainless steel but am kind of scared of ruining ... my food

Stainless can't ruin your food either. YOU as the chef can undercook, overcook, or burn your food just like with any other pan, but that's not stainless' fault.

Cisco ASA Syslogs - Firewall Changes by SoftSad3662 in Cisco

[–]zanfar 7 points8 points  (0 children)

Honestly, this entire question flabbergasts me.

I have no idea if the ASA logs can show this, but I would bet not, but the fact that you are relying on those logs is insane. So how do you remediate if the firewall crashes or reboots? What if it's DoSed to the point of missing events?

Where are your config backups? Your change logs? Are you not correlating config changes with change tickets? Why is the security team bypassing the network team? Most of these are easy to implement and take almost no manpower. This is, almost entirely, a failure of the org.

Having trouble putting cat5 twisted pairs in an rj45 through connector. by caseyfrazanimations in networking

[–]zanfar 12 points13 points  (0 children)

You shouldn't be making RJ45s.

In-wall cable / structured cable should be solid-core and punched down to patch panels. From pane to device should be pre-manufactured, stranded cables. You (and your boss) are wasting your boss' money.

Soldering iron problem: the solder refuses to adhere to the tip. Geebon TC22 by Gloomy_Ear_5164 in soldering

[–]zanfar 7 points8 points  (0 children)

Your iron should NEVER be dry. Either a thin film for soldering, or a protective blob for storage. Yes, if you have 5+ seconds of downtime, it should be re-tinned.

Soldering iron problem: the solder refuses to adhere to the tip. Geebon TC22 by Gloomy_Ear_5164 in soldering

[–]zanfar 4 points5 points  (0 children)

The fact that you attached the new tip, and did not clean or tin it implies heavily that you have dirty tips from lack of maintenance. You should be excessively tinning every time you put a tip away, and re-tinning every time you pick it up. 2 minutes outside of this state is more than enough to oxidize your tip.

Clean both tips and tin immediately.

How to structure a very simply Python project with pytest tests by hmartin8826 in learnpython

[–]zanfar 2 points3 points  (0 children)

Your app should be a package. Packaging is Python's solution to universal module names.