• 0 Posts
  • 486 Comments
Joined 2 years ago
cake
Cake day: February 1st, 2024

help-circle




  • I do something similar — I have a raspberry pi and a HD, with daily rsync and snapshots (monthly retained indefinitely, weekly retained for a month, daily retained for a week). It’s at family’s house, connected to my home via WireGuard via a VPS. Tailscale (or anything really) would also work here.

    It’s a great setup! Just have some watchdog reboot if it can’t talk to home (a simple cronjob with ping -c1 home.lan || reboot or similar).

    Even our “slow” 35Mbps upload speed is way more than enough for incremental rsyncs of my Immich library. The initial sync was done in person, though.







  • The think the objection is that this is specifically targeted at women, and it’s something that someone might be self conscious about.

    “Free coffee to shortest/tallest/skinniest/fattest man” would be also be offensive IMHO, because it’s singling out people for a trait for which they maybe don’t want to be singled out.

    Crude humor is great, if all parties are in on the joke; I believe the point that parent was making was that all parties are not necessarily in on the joke.




  • qjkxbmwvz@startrek.websitetolinuxmemes@lemmy.worldsiempre lo hago
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 month ago

    Some would call the former command cat abuse.

    In short, unless you want the contents of a file printed to stdout (or multiple files concatenated), the command can probably be written without cat, instead using the filename as an argument (grep pattern file) or IO redirection (cmd < file).

    Stylistics and readability are another thing though.






  • It’s interesting that, with Python, the reference implementation is the implementation — yeah there’s Jython but really, Python means both the language and a particular interpreter.

    Many compiled languages aren’t this way at all — C compilers come from Intel, Microsoft, GNU, LLVM, among others. And even some scripting languages have this diversity — there are multiple JavaScript implementations, for example, and JS is…weird, yes, but afaik can be faster than Python in many cases.

    I don’t know what my point is exactly, but Python a) is sloooow, and b) doesn’t really have competition of interpreters. Which is interesting, at least, to me.