What about clicking a checkbox means I'm human? How does Cloudflare determine I'm human from that?
  • nick nick Now 100%

    It uses other signals too, like what other sites you've visited with that checkbox on it, what CloudFlare has seen your IP address doing in the past, etc.

    The google one is able to see if you're logged into a google account and take that into account.

    There's even a new variant of the Google captcha that is invisible and doesn't even bother to show a checkbox.

    13
  • Starbucks is reeling as customers go elsewhere, sales decline
  • nick nick Now 100%

    It's different in different markets. In Australia and New Zealand it's usually a reasonably well made medium-dark blend.

    You'll get much better at any dedicated café, but it's also miles better than sbux (who don't even use real espresso machines).

    1
  • PSA: Alternatives for the most popular lemmy.ml communities
  • nick nick Now 75%

    I enjoy OpenMW and I'm happy to host if you want, although my instance is basically just me and a few friends right now.

    2
  • Totally logical and expected functionality
  • nick nick Now 100%

    I've used a number of different Linux distros (including Debian) on laptops over the years. Although most recently my XPS 15 was running Arch.

    1
  • Kendruleck
  • nick nick Now 100%

    Yep!

    3
  • WWIII
  • nick nick Now 100%

    *rate, comment, and subscribe

    Gotta get those five stars

    5
  • Just ported my awesomewm theme to hyprland + nixos
  • nick nick Now 100%

    That's a nice rice!

    How are you finding awesomewm? I've just been on i3 since forever but I'm always interested to hear about other WMs

    2
  • Computer components cheat sheet
  • nick nick Now 100%

    I think they're lawful evil, more devils than demons.

    13
  • Is TypeScript a fad or is my manager delusional?
  • nick nick Now 95%

    Hi, I've been doing TypeScript in my day-job and hobbies for six and a bit years now. I would not write JS in any other way.

    TS is also a superset of JS so all JS is valid (unless you turn on strict mode). So there is no productivity loss/learning curve unless you want there to be.

    In fact, a lot of people who think they're not using typescript are using it because their editors use typescript definitions for autocomplete and JSDoc type signatures are powered by typescript.

    22
  • Review Please
  • nick nick Now 100%

    In my experience I haven't had an issue because usually the refactorings are small. If they're not I just hop on a call with the person who wrote the MR and ask them to walk me through it.

    In theory I'd like to have time to dedicate solely to code health, but that's not quite the situation in basically any team I've been in.

    3
  • Review Please
  • nick nick Now 88%

    You should refactor as needed as you go because refactoring cases are never gonna be prioritised.

    7
  • be punk, do vidya
  • nick nick Now 100%

    That sounds like bug propaganda right there

    5
  • Open Source VS Company
  • nick nick Now 100%

    There's a markdown entry thing in the drop down menu that'll convert your MD to their formatting.

    2
  • Aotearoa Daily Kōrero 25/3/2024
  • nick nick Now 100%

    By doing this the connections are all severed, the RAM is freed up, and it’s all good again.

    Ah, neat! I didn't think of that. You can limit the size of the connection pool in your lemmy config fwiw.

    https://github.com/wereii/lemmy-thumbnail-cleaner

    Nice, that looks like it's doing a similar thing to my weird mess of SQL and Python that I did last year haha

    Good luck for the migration :)

    2
  • Aotearoa Daily Kōrero 25/3/2024
  • nick nick Now 100%

    cronjob to restart the backend lemmy container

    Fair enough, that'd work. I run my database in a different pod to lemmy (I run this all in kubernetes), and I cannot restart that pod without causing an outage for a bunch of other things like my personal website. I ended up just needing to tune my config to have a maximum RAM usage and then configuring k8s to request that much RAM for the DB pod, so it always has the resources it needs.

    pictrs image cache is 250-300gb

    oof :(
    That's what my custom lemmy patch was, it turned off pictrs caching. That's now in lemmy as a config flag (currently a boolean but in 0.20 it will be on/off/proxy where the proxy option goes via your pictrs but does not cache). I then went back through mine and did a bunch of SQL to figure out which pictrs images I could safely delete and got my cache down to 3GB.

    2
  • Aotearoa Daily Kōrero 25/3/2024
  • nick nick Now 100%

    Interesting. I have some New Relic stuff setup with my cluster but most of that is just resource usage stuff. I ran out of RAM a while back so I've had to be a bit more restrictive about how many connections Lemmy can have to postgres db.

    There’s no progress meter and so far it has taken 2 days 😱.

    Uh oh. I considered updating to 0.5 as part of my 0.18.3-ish (I was running a custom fork I made with some image caching stuff that has since been merged in to real lemmy) -> 0.19.3 upgrade but I'm glad I didn't.

    Thanks for the heads up. Are you migrating to postgres for pictrs too, or sticking with sled?

    2
  • Aotearoa Daily Kōrero 25/3/2024
  • nick nick Now 100%

    These are pretty neat graphs! Is it sourced from the Prometheus logs?

    Just updated to 0.19.3 but the DB migrations failed due to a permissions change I made a while back to my DB, so I had to spend a few hours in the SQL dungeons fixing things.

    4
  • Hong Kong Article 23: Basic rights threatened as law enacted, critics charge
  • nick nick Now 100%

    Yeah, I'm not justifying the annexation.

    1
  • Hong Kong Article 23: Basic rights threatened as law enacted, critics charge
  • nick nick Now 100%

    Technically only some of HK was under the lease, some was indefinitely controlled by the British. However, you're still right because of the military force difference.

    6
  • Voted early the past two elections but I decided that for the first time ever, I'd do it on the day

    67
    22
    www.youtube.com

    cross-posted from: https://kbin.social/m/coffee@lemmy.world/t/431650 > Hope you all find this interesting, delighted I got the chance to have a play with the machine!

    42
    8

    cross-posted from: https://campfyre.nickwebster.dev/post/107235 > Stayed in here for a couple nights last year: > > ![](https://campfyre.nickwebster.dev/pictrs/image/8d94da60-47b1-4d44-a581-d6109168d5b1.webp) > > ![](https://campfyre.nickwebster.dev/pictrs/image/f13fa25e-e9f8-4ba4-82ca-6a4aceaeb3a7.webp)

    163
    14
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCO
    Cozy Places nick Now 100%
    Cabin (geodome) in the woods

    Stayed in here for a couple nights last year: ![](https://campfyre.nickwebster.dev/pictrs/image/8d94da60-47b1-4d44-a581-d6109168d5b1.webp) ![](https://campfyre.nickwebster.dev/pictrs/image/f13fa25e-e9f8-4ba4-82ca-6a4aceaeb3a7.webp)

    32
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Lemmy Support nick Now 100%
    Query to fix modlog

    The modlog page can break if anyone has been banned with an expiry too far into the future, I grabbed this query to fix it from the github issue a while back and refined it a little if it's useful to anyone: ```sql BEGIN; -- The modlog UI breaks for bans too far in the future SELECT * FROM mod_ban WHERE expires > now() + INTERVAL '10 years'; -- Lets just make them permanent as an easy fix lol UPDATE mod_ban SET expires = NULL WHERE expires > now() + INTERVAL '10 years'; -- See our changes SELECT * FROM mod_ban WHERE expires > now() + INTERVAL '10 years'; ROLLBACK; -- replace ROLBACK; with COMMIT; if you're happy ``` This will make any ban with an expiry >10 years into the future permanent and fix your modlog. If this happens a lot it might be worth making this a trigger in your lemmy db.

    8
    2

    shamelessly stolen from https://www.reddit.com/r/TrueSTL/comments/1609zz5/candidate_vivec_setting_the_record_straight/ because it made me chuckle

    3
    0

    # Links [/c/truestl@campfyre.nickwebster.dev](/c/truestl@campfyre.nickwebster.dev) !truestl@campfyre.nickwebster.dev https://campfyre.nickwebster.dev/c/truestl # About (not officially affiliated with /r/TrueSTL) Do you often find yourself wondering about the true nature of Ogrim nipple-piercings? Does the mythology of Space Pirate Captain Harlock make your head spin? Do you want to learn more about the metaphysics of Sword Art Online, your favorite Cambodian Silent Film? Do you find your questions, concerns, and philosophical quandaries unaddressed by Final Fantasy: Online? Worry not. !TrueSTL@campfyre.nickwebster.dev is a place that encourages discussion on any and all facets of CHIM, Dragon Breaks and the Hist, the greater bodies of Elder Scrolls fiction, without judgement or prejudice. Here at !TrueSTL@campfyre.nickwebster.dev, every Muatra is big enough to achieve CHIM.

    33
    7
    nick Now
    42 222

    nick

    nick@ campfyre.nickwebster.dev