• 1 Post
  • 41 Comments
Joined 1 year ago
cake
Cake day: July 5th, 2023

help-circle


  • GamingChairModel@lemmy.worldtoProgrammer Humor@programming.devEvil
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    Ok so most monitors sold today support DDC/CI controls for at least brightness, and some support controlling color profiles over the DDC/CI interface.

    If you get some kind of external ambient light sensor and plug it into a USB port, you might be able to configure a script that controls the brightness of the monitor based on ambient light, without buying a new monitor.



  • You say that it is sorted in the order of most significants, so for a date it is more significant if it happend 1024, 2024 or 9024?

    Most significant to least significant digit has a strict mathematical definition, that you don’t seem to be following, and applies to all numbers, not just numerical representations of dates.

    And most importantly, the YYYY-MM-DD format is extensible into hh:mm:as too, within the same schema, out to the level of precision appropriate for the context. I can identify a specific year when the month doesn’t matter, a specific month when the day doesn’t matter, a specific day when the hour doesn’t matter, and on down to minutes, seconds, and decimal portions of seconds to whatever precision I’d like.


  • This isn’t exactly what you asked, but our URI/URL schema is basically a bunch of missed opportunities, and I wish it was better designed.

    Ok so it starts off with the scheme name, which makes sense. http: or ftp: or even tel:

    But then it goes into the domain name system, which suffers from the problem that the root, then top level domain, then domain, then progressively smaller subdomains, go right to left. www.example.com requires the system look up the root domain, to see who manages the .com tld, then who owns example.com, then a lookup of the www subdomain. Then, if there needs to be a port number specified, that goes after the domain name, right next to the implied root domain. Then the rest of the URL, by default, goes left to right in decreasing order of significance. It’s just a weird mismatch, and would make a ton more sense if it were all left to right, including the domain name.

    Then don’t get me started about how the www subdomain itself no longer makes sense. I get that the system was designed long before HTTP and the WWW took over the internet as basically the default, but if we had known that in advance it would’ve made sense to not try to push www in front of all website domains throughout the 90"s and early 2000’s.


  • Your day to day use isn’t everyone else’s. We use times for a lot more than “I wonder what day it is today.” When it comes to recording events, or planning future events, pretty much everyone needs to include the year. Getting things wrong by a single digit is presented exactly in order of significance in YYYY-MM-DD.

    And no matter what, the first digit of a two-digit day or two-digit month is still more significant in a mathematical sense, even if you think that you’re more likely to need the day or the month. The 15th of May is only one digit off of the 5th of May, but that first digit in a DD/MM format is more significant in a mathematical sense and less likely to change on a day to day basis.


  • Functionally speaking, I don’t see this as a significant issue.

    JPEG quality settings can run a pretty wide gamut, and obviously wouldn’t be immediately apparent without viewing the file and analyzing the metadata. But if we’re looking at metadata, JPEG XL reports that stuff, too.

    Of course, the metadata might only report the most recent conversion, but that’s still a problem with all image formats, where conversion between GIF/PNG/JPG, or even edits to JPGs, would likely create lots of artifacts even if the last step happens to be lossless.

    You’re right that we should ensure that the metadata does accurately describe whether an image has ever been encoded in a lossy manner, though. It’s especially important for things like medical scans where every pixel matters, and needs to be trusted as coming from the sensor rather than an artifact of the encoding process, to eliminate some types of error. That’s why I’m hopeful that a full JXL based workflow for those images will preserve the details when necessary, and give fewer opportunities for that type of silent/unknown loss of data to occur.


    • Existing JPEG files (which are the vast, vast majority of images currently on the web and in people’s own libraries/catalogs) can be losslessly compressed even further with zero loss of quality. This alone means that there’s benefits to adoption, if nothing else for archival and serving old stuff.
    • JPEG XL encoding and decoding is much, much faster than pretty much any other format.
    • The format works for both lossy and lossless compression, depending on the use case and need. Photographs can be encoded in a lossy way much more efficiently than JPEG and things like screenshots can be losslessly encoded more efficiently than PNG.
    • The format anticipates being useful for both screen and prints. Webp, HEIF, and AVIF are all optimized for screen resolutions, and fail at truly high resolution uses appropriate for prints. The JPEG XL format isn’t ready to replace camera RAW files, but there’s room in the spec to accommodate that use case, too.

    It’s great and should be adopted everywhere, to replace every raster format from JPEG photographs to animated GIFs (or the more modern live photos format with full color depth in moving pictures) to PNGs to scanned TIFFs with zero compression/loss.



  • In addition to the stone/clay based works that you might be thinking of, I find certain metalworking sculptures to be interesting, too. Alexander Calder made a bunch of red steel sculptures, almost architectural art, in addition to things like dynamic mobiles. Louise Bourgeois’s “Maman” is an interesting one, too.

    There are small metal sculptures, too. From little trinkets made from wire, to welded metal parts, to elaborate chandeliers, these all involve artistic creativity in manipulating materials in a three dimensional space, and it’s a skillset that I admire and respect (and do not have any, myself).


  • Weight distribution and jiggle control is something I can’t relate to though

    It’s not hard. Put on a really heavy backpack and leave the straps super loose, and go try to move around, maybe a few athletic moves that involve changing speed or direction. Compare to a tight backpack with a waistband and shoulder straps properly strapped to your body, and try to move around again. The straps help control the extra motion so that you’re in better control.

    Or run around in shoes 5 sizes too big. Or go for a run with your arms loose and intentionally left limp, swinging around like pendulums.

    The whole world has a million examples of why providing bracing and support makes for more efficient and comfortable movement.





  • Or is a by product of its former format, the live laughs with a crowd while filming?

    This is the reason. Television comedy derives from stage shows where the audience sits in one direction from the stage.

    A lot of early television comedy programming was often from variety shows, where the live studio audience is an important feedback mechanism for the actual performers. A standup comic needs a laughing audience to respond to (and often, so do other stage performers, including sketch comedy).

    So television comedy comes from that tradition, and a live audience was always included for certain types of programs. Even today, we expect variety shows to have audiences. For example, John Oliver’s show without an audience felt kinda weird while that was going on in 2020. And even some pre-filmed sketch comedy shows, like Chappelle’s Show, would record audiences watching the pre-recorded sketches as part of the audio track for the broadcast itself, while Chappelle himself was filmed essentially MCing for that audience and those sketches.

    So sitcoms came up on sets with live performances before studio audiences, just like sketch comedies and variety shows or daytime talk shows. That multi camera sitcom format became its own aesthetic, with three-walled sets that were always filmed from one direction, with a live audience laughing and reacting. Even when they started using closed sets for safety and control (see the Fran Drescher stuff linked elsewhere in this thread), they preserved the look and feel of those types of shows.

    Single camera sitcoms are much more popular now, after the 2000’s showed that they could be hilarious, but they are significantly more expensive and complicated to shoot, as blocking and choreography and set design require a lot more conscious choices when the cameras can be anywhere in the room, pointed in any direction. So multi camera still exists.


  • I sync if I have a good Internet connection, like from my hotel room or whatever, by VPNing into my home network where my NAS is. There are distributed DNS type solutions for a lot of the big NAS brands, where they’ll let you access your data through their service, but I never set that up because I already have a VPN. So my NAS and firewall are configured not to allow outside connections to that device.

    But if I haven’t synced laptop to NAS yet, then copies exist on both my camera SD cards (redundant double SD card) and my laptop.


  • 3-2-1 backup is important. I’ve been burned with lost files before, so I now make sure they’re available in multiple places.

    I also encrypt everything. My laptops can’t be unlocked by anyone except myself: Apple Filevault on my Apple laptop, LVM on LUKS on my Linux laptop. If something happens to me, my laptops must be wiped completely to be useable as a used device.

    My NAS keeps my backups of all my documents and media (and as a hobbyist photographer, I have over a terabyte of photos and videos I’ve taken). It’s encrypted, but I’ve written the key down on paper and put it in my physical documents. If something happens to me, someone who goes through my physical documents will have access to my digital files.

    I pay a cloud service (Backblaze) for cloud backups. I trust the encryption and key management to not actually give the service provider any access to my files.


  • I disagree with your premise. The 111th Congress got a lot done. Here’s a list of major legislation.

    • Lily Ledbetter Act made it easier to recover for employment discrimination, and explicitly overruled a Supreme Court case making it harder to recover back pay.
    • The ARRA was a huge relief bill for the financial crisis, one of the largest bills of all time.
    • The Credit CARD Act changed a bunch of consumer protection for credit card borrowers.
    • Dodd Frank was groundbreaking, the biggest financial reform bill since probably the Great Depression, and created the Consumer Finance Protection Bureau, probably one of the most important pro-consumer agencies in the federal government today.
    • School lunch reforms (why the right now hates Michelle Obama)
    • Children’s Health Insurance Program (CHIP or SCHIP): healthcare coverage, independent of Obamacare, for all children under 18.
    • Obamacare itself, which also includes comprehensive student loan reform too.

    That’s a big accomplishment list for 2 years, plus some smaller accomplishments like some tobacco reform, some other reforms relating to different agencies and programs.

    Plus that doesn’t include the administrative regulations and decisions the administrative agencies passed (things like Net Neutrality), even though those generally only last as long as the next president would want to keep them (see, again, Net Neutrality).