• 1 Post
  • 48 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle







  • itsnotlupus@lemmy.worldtoLinux@lemmy.mlraw man files?
    link
    fedilink
    arrow-up
    28
    ·
    edit-2
    1 year ago

    You can list every man page installed on your system with man -k . , or just apropos .
    But that’s a lot of random junk. If you only want “executable programs or shell commands”, only grab man pages in section 1 with a apropos -s 1 .

    You can get the path of a man page by using whereis -m pwd (replace pwd with your page name.)

    You can convert a man page to html with man2html (may require apt get man2html or whatever equivalent applies to your distro.)
    That tool adds a couple of useless lines at the beginning of each file, so we’ll want to pipe its output into a | tail +3 to get rid of them.

    Combine all of these together in a questionable incantation, and you might end up with something like this:

    mkdir -p tmp ; cd tmp
    apropos -s 1 . | cut -d' ' -f1 | while read page; do whereis -m "$page" ; done | while read id path rest; do man2html "$path" | tail +3 > "${id::-1}.html"; done
    

    List every command in section 1, extract the id only. For each one, get a file path. For each id and file path (ignore the rest), convert to html and save it as a file named $id.html.

    It might take a little while to run, but then you could run firefox . or whatever and browse the resulting mess.

    Or keep tweaking all of this until it’s just right for you.





  • More appropriate tools to detect AI generated text you mean?

    It’s not a thing. I don’t think it will ever be a thing. Certainly not reliably, and never as a 100% certainty tool.

    The punishment for a teacher deciding you cheated on a test or an assignment? I don’t know, but I imagine it sucks. Best case, you’d probably be at risk of failing the class and potentially the grade/semester. Worst case you might get expelled for being a filthy cheater. Because an unreliable tool said so and an unreliable teacher chose to believe it.

    If you’re asking what’s the answer teachers should know to defend against AI generated content, I’m afraid I don’t have one. It’s akin to giving students math homework assignments but demanding that they don’t use calculators. That could have been reasonable before calculators were a thing, but not anymore and so teachers don’t expect that to make sense and don’t put those rules on students.






  • I’ve been an immigrant for about 25 years now. Not sure if that counts, but I’ve been slacking and haven’t gotten a citizenship yet, so… probably?

    I can confirm that I’ve up until now always been on one of the health plans my employer made available to me. It certainly made things easier that I was never out of job, and all of those jobs provided great benefits (typical white collar computer nerd stuff.)

    However, I stopped working last year, and my 18 months of COBRA (a continuation of employer-provided coverage after leaving a job, except you pay yourself the premiums your employer was paying (about ~$2000/month for me)) are running out very soon, so I’m discovering the bizarro world that is US healthcare without an employer plan.

    I’ve contacted some insurance brokers to help me find a new plan, and each one of them has tried to push weird non-ACA-compliant plans to me under false pretenses (ie. they’ve actively lied to me about what the plans were.)
    Sometimes the awful stereotypes about a profession are awful for a reason.

    Which leaves me with the ACA marketplace, where every single plan is significantly worse than anything any of my employers ever offered, both in terms of breath of network, prescription coverage, and geographical coverage. I didn’t mention the famously terrible mental health insurance coverage because it was already impossible for me to get in-network care there even with my employer plan.

    And then if you figure out which is the least bad plan in the 100+ sad plans offered to you, and you commit the faux-pas of googling them, you’ll get a deluge of screaming victims of those plans wishing they had picked anything else because their experience was a literal nightmare.

    So that’s encouraging.

    In specific terms, the ACA healthcare.gov site I linked above lets you put a list of doctors and medications to see which plans support them, and the answer for me is “none.” None of the plans available would cover all the medical care me and my wife are getting on an ongoing basis.
    So it becomes a matter of picking and choosing what I’m going to pay out of pocket.
    For example, right now I pay $0 for various insulin pens, but a great number of those plans won’t cover those, or cover a little bottle of insulin instead you’re expected to use with disposable needles each time you’ll fill yourself and inject yourself with, and hopefully not fuck it up. Out of pocket, with some “discount card” (GoodRX or whatever), a month supply of the pens would add up to roughly $800. So something that was “free” to us (if you ignore the large insurance premiums) is going to feel like quite the luxury instead.

    One of the aforementioned lovable insurance brokers suggested that I create a fake company in order to be eligible for reasonable employer-sponsored plans and avoid this nonsense. Sounds great, except for the whole fraud thing and the risk of getting found out and denied at the time when I’d need it the most (which would probably also be when an insurance provider would look the closest to try to find any reasons to deny a large claim.)

    And then, there’s the quasi-scam that targets religious (and/or desperate) people, known as “health care sharing ministries.”
    They appear to be very affordable plans with great coverage, managed by “faith-based organizations.”
    They are not insurance, and ostensibly claim to simply “share the burden” of healthcare across all their members.
    Notably, they are not actually obligated to meet any of the (low) bars set by the ACA, or to simply pay any of the insurance claims their members send them, and so sometimes they don’t. Tough break.

    At the end of the day, I’m still going to pick an ACA plan and just pay out of pocket whatever isn’t covered. I just have to settle on a plan, which feels like picking from a set of shrunken and half torn blankets the one to use on my bed.

    Anyway… what would I change? Nothing obviously. All is for the best in the best of possible worlds.




  • I was watching the network traffic sent by Twitter the other day, as one does, and apparently whenever you stop scrolling for a few seconds, whatever post is visible on screen at that time gets added to a little pile that then gets “subscribed to” because it generated “engagement”, no click needed.
    This whole insidious recommendation nonsense was probably a subplot in the classic sci-fi novel Don’t Create The Torment Nexus.

    Almost entirely unrelated, but I’ve been playing The Algorithm (part of the Tenet OST, by Ludwig Göransson) on repeat for a bit now. It’s also become my ring tone, and if I can infect at least one other hapless soul with it, I’ll be satisfied.