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

help-circle










  • I’m usually on the documenting side of things. If something like this starts unfolding, I produce text or HTML files anyway, they go on github/lab/whatever, and I wash my hands of what happens next.

    In the end I write documentation mostly for myself. When the company can’t figure things out over Discord or whatever ephemeral chat interface they use, I get called anyway.




  • Hm, I wonder if I could make these students more miserable by introducing a CPU that permits static operation, then clocking that with a true random number generator?

    So now it has output that is deterministic from the standpoint of the CPU but nondeterministic to an outside observer. Probably wouldn’t affect the O(n) notation though, come to think of it. It would be funny though.


  • To be honest, it’s an accidental lamp. I didn’t have many free GPIO pins on that ESP32 development board, so I needed to push some of the entropy bits though pins that were also assigned to an RGB LED.

    The flashing light was giving me a headache, so I put a diffuser over it.

    It flashes different colors wildly. Because of the nature of the underlying signal and it’s varying frequency, this looks pretty cool if you put a rolling-shutter camera (like on a smartphone) really close to it.




  • Saigonauticon@voltage.vntoSelfhosted@lemmy.worldMy first website
    link
    fedilink
    English
    arrow-up
    30
    ·
    edit-2
    1 year ago

    Plain old static HTML is fine, and you can host it on a potato! Here are some design tips to keep it easy to read. None of them are objectively correct, and you are already doing some of them. They are just some suggestions as you move forward:

    1. Don’t use dark-on-dark fonts. Use near-black on off-white or at least something high contrast.
    2. Break up content using horizontal rules <hr> and various headers <h1 to h6> You can style both of them in css. This keeps things easy to find and read.
    3. Generally, do not center-align text if it is more than one line. If you need to display blocks of text side-by-side, put each in a container then left-align the text within those containers.
    4. Use a bigger font than you think is strictly necessary.
    5. My preference is to use sans-serif fonts. Google makes some good free ones. Sometimes I’ll go back and make titles serif only.
    6. Resize and compress your images. A bit higher resolution than you need but with lower quality is usually better than the reverse (for jpegs)


  • Oh, it’s common in my country to use a smartphone to ‘scan’ documents by actually just taking a lousy photo of them. It’s so prevalent that when you tell someone to do a scan they usually do this instead.

    I bought a cheap canon scanner for 50$ and it’s pretty perfect for legal documents. A little slow maybe. I use SANE, then do lossy compression too.

    In rare situations I’d then post process the PDF to even worse quality using ghostscript, for example when a foreign visa application form requires a scan of a really long document, but doesn’t accept sizes over 2MB.