• 2 Posts
  • 340 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle


  • nyan@lemmy.cafetoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    That’s because Perl doesn’t do operator overloading in general. Even the equality operator is different for strings (eq instead of ==). As a language, it may look pretty weird and lack some modern features, but the underlying design is surprisingly intelligent and consistent in many ways.


  • It’s almost enough to make me feel nostalgic for the DOS version of Borland Turbo Pascal, which wasn’t bright enough to do any of this stuff. (Well, it could freeze up, I suppose, but the only time I actually managed to do anything like that, it involved a null pointer dereference that would have triggered a segfault on any modern system.)




  • That looks like it might be a separate molding around the edge, mitered at the corner? See if you can figure out how it’s attached—you may be able to pry off the portion that would be running front-to-back in the photo without damaging anything, then cut off the mitered corner on the left-to-right length with a handsaw…

    If it’s edging on a solid slab, pick whichever power saw you think is most likely to cut through in one pass and set up a guide to make sure the cut is straight, that’s all I can say.







  • Hmm. If I’m visualizing this correctly, and depending on the size of the table . . .

    Two pairs of legs with stretchers in between, on pivots that allow them to fold up agains the bottom of the table, slighly offset so that the legs end up alongside each other when folded instead of interfering. If you want them to touch the bottom of the tub, set them up to fold at the “knees” rather than the “thigh”, if you see what I mean. The difficult part is figuring out how to secure them in the extended position. If you’re okay with putting in a couple of bolts whenever you unfold, you could add a couple of supports that link the stretchers to the underside of the table at an angle (pivot at the other end again). Or you could attach a length of wood to one stretcher with a pivot and notch the other end so that when the table is unfolded, it drops over the other stretcher and forms a tight cross half-lap joint.

    All this requires gluing or screwing hinges or bits of wood pierced for dowels or screws to the bottom of the table to form the pivots.



  • nyan@lemmy.cafetoWoodworking@lemmy.caCatwalk for neighbor's cat
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    letting cats roam outside is objectively harmful.

    That’s very situational. If you’re in a rural or semi-rural area that has small wildcats (or foxes or similar) already, adding a handful of domestic cats isn’t going to disrupt anything much. The only reason to keep cats inside in such a place is for their own safety (from larger predators like coyotes, and from highway traffic).

    If you’re in Australia, Antarctica, or a protected island biome with no native small wildcats or canids, or you have a known endangered species in the area that cats are likely to prey upon, that changes the equation. If you’re in a highly urban area, that changes things in a different way, because the danger to outdoor cats from traffic and other human activity rises exponentially.



  • One thing that’s helped me a bit in similar circumstances was to find the manual (by searching on-line, since the paper ones don’t tend to survive in our household). Even 30-50 years ago, they were pretty good at telling you what to absolutely not do, in order to reduce the number of lawsuits flung at the manufacturer. Also a nice-to-have for maintenance purposes.

    (Now if only I could find the one for that damned drill press . . .)