• 0 Posts
  • 184 Comments
Joined 1 year ago
cake
Cake day: December 29th, 2023

help-circle


  • Math.min isn’t the minimum integer; it’s the minimum of a list (and max visa versa)… the min/max of an undefined list is the same… IDK what it is, but this probably the most reasonable of the “WTFs” they could have put there i think… other languages would throw an exception or not compile (which JS definitely SHOULD do instead of this, buuuuut lots of JS has aversions to errors)

    *edit: okay the curiosity was killing me: Math.min() is Infinity and Math.max() is -Infinity



  • idk i think our aussie plugs are a good middle ground: they’re about mid way between UK and US in size, are not reversible, don’t have a fuse (but laws govern the type of current things can handle: extension cords MUST be 10A which covers a standard 10A home circuit - i believe there’s some extra built into the rating too), power boards the same, and have a 10A safety switch built into them which prevents daisy chaining over the current just like the fuse

    repairability probably not so good, buuuuut i’ve never had a cable break so maybe we do something different with the construction that solves that need?


  • Pup Biru@aussie.zonetoLemmy Shitpost@lemmy.worldsus
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    “screens for everything”.
    “screens for three diseases”.

    you never answered my question about what other diseases are relevant to the conversation

    these are the STDs that are actually relevant to talk about. there are no others, unless you have some information on some novel new STD, in which case i’d love to hear about it

    caution information and talking about sex is not FUD

    i agree! what is FUD is overstating the risks with statements like “pustules on your genitals” and suggesting that there are relevant STDs that aren’t well tested/treated/prevented

    there are risks, but the risk of contracting STDs if using condoms is very low. the risk of contracting antibiotic resistant STDs is also incredibly low

    there is, however, and actual risk in stigmatising these things so that people don’t talk about them and educate themselves

    getting an STD is absolutely fine! get tested, get treated, tell sexual partners, no drama… that’s exactly what the public health messaging is because that’s what works to keep people healthy

    mitigate risks, don’t pretend like they’re irrelevant.

    of course: you should always mitigate risks… but don’t act like something is more dangerous than it is… you’re making out here like having sex is as dangerous and base jumping, and that’s such an unhelpful position to take that it is actually dangerous to people’s health

    this is exactly the issue with “abstinence based” sexual education: if you go too hard, people won’t actually trust when they hear the real risks because people have overblown the risks in the past


  • Pup Biru@aussie.zonetoLemmy Shitpost@lemmy.worldsus
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    it’s a lot of risk that is worth considering before making an informed decision

    i would agree that there is some risk and it’s always worth being educated but stigma and FUD contribute to people not wanting to talk about sex

    “getting tested” doesn’t cover most STI’s unless you’re symptomatic

    patently untrue. a standard STI screen covers HIV, chlamydia, and gonorrhea

    these are by far the most common STIs that’s cause anyone issues without other complications, and tests accurately catch them within weeks. standard public health advice is STI tests every 3mo for sexually active individuals (and in fact if you’re on PrEP to cover you against HIV, you get a 3 month script so it’s pretty much ensured)

    HPV, Herpes, and many others are diseases for life

    the HPV vaccine is very effective, herpes i’d agree with but causes minimal issues for the enormous majority of people without complications, and i don’t know what you mean by “many other”. if you can list them, id be happy to engage but otherwise the rest of that is more FUD

    skill in knowing who to trust…

    nope not at all! it’s public health. it has very little to do with trust, other than trying to limit as much as possible to people who know that telling their sexual partners when they get a positive test result is a healthy thing to do, and they won’t be berated for it… the main thing here is that you should feel confident that your sexual partners are going to tell you ASAP when you’ve been exposed, and that more than anything reduces that 3mo timeline and keeps everyone safe… but that only happens when people don’t stigmatise and fear the outcome

    … i guess it also helps that here in australia STI tests are free and treatments all cost a couple of $

    or you can just make sure everybody “gets tested” but that’s not how getting tested works.

    as i’ve stated previously, it is with PrEP and with gay men - i don’t know much about the heterosexual community, but we have very active sexual health campaigns and they work



  • Pup Biru@aussie.zonetoLemmy Shitpost@lemmy.worldsus
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    would you like to elaborate?

    because

    • HIV is preventable through PrEP
    • gonorrhoea is curable with antibiotics
    • syphilis is curable with antibiotics
    • chlamydia is curable with antibiotics
    • mgen is curable with antibiotics
    • many of the above are preventable with DoxyPEP
    • herpes is treatable
    • HPV is preventable through vaccination

    and your “pustules on my genitals” is just complete FUD





  • i’m currently in the US supporting a queer minority group with services to provide access to an event to a global audience… i’ve done it every year, and this year i’m here only because i’d promised and it seems awful to that group to walk away

    next year is going to be really hard: my presence here adds value to the economy and in some small way takes away from the boycott, helps to reinforce american centrism and gives advantage to US citizens (they can attend far easier, etc), not to mention im literally taking a risk that i could be detained for weeks and then banned from coming back

    … but on the other hand, if i don’t come am i abandoning the community? am i abandoning a vulnerable group that needs support, and to be shown they’re not alone now more than ever? that globally, queer is normal, fine, valued - that they’re wanted and what’s happening is not normal

    i hate that im having to make these choices, and i hate that i feel bad even for feeling conflicted when im not even living through it




  • idk about elsewhere but at least a portion of roads here (australia) are paid through vehicle registration which is why they wouldn’t be considered free, we don’t have pensions like elsewhere; we have super funds which i guess are more like 401ks - it’s your money, and most people would consider the public school system free education

    we also have free public transport in some places, and that’s explicitly labelled as free

    everyone is well aware taxes pay for it; there’s no need to label it as a paid service





  • Pup Biru@aussie.zonetoProgrammer Humor@programming.devYes, But...
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 months ago

    Resource not found Data not found (client error). Data not found (server error)

    they are all the same thing; there is no useful, practical distinction between them

    if we request a list of objects and nothing was found, because we asked for a date when there was no data, its not an error. But i suppose many still just throw around exceptions still instead of handle them properly

    it’s an empty array: not found when requesting something specific is an error… that’s different to here is the complete set of 0 objects… like like if you have an array and request an index that doesn’t exist you get an exception, but that doesn’t mean an empty array is exceptional: it is in fact very valid

    using an error code for a non-error

    well, it is an error though. you have requested a URI for an object that doesn’t exist: it doesn’t matter whether it’s a resource or an individual thing

    remember that HTTP youre asking the server for some object matching a URI: please give me the object matching /users/bananoidandroid and /userssssss/bananoidandroid may both not be found for the exact same reason: the object referenced by that string does not exist

    here’s the spec definition for 404

    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    when you’re dealing with specs, deciding not to follow them because you feel like they’re wrong is not appropriate… this leads to bugs and issues in compliant tools because they make assumptions about what things mean

    200 means the thing that you asked completed successfully

    here’s the definition of 200:

    The request has succeeded. The information returned with the response is dependent on the method used in the request, for example:

    GET an entity corresponding to the requested resource is sent in the response;

    HEAD the entity-header fields corresponding to the requested resource are sent in the response without any message-body;

    POST an entity describing or containing the result of the action;

    TRACE an entity containing the request message as received by the end server.

    *edit: when talking about compliant, standard tools the classic example is transparent cache: a GET should not transform the resource and thus a GET with response of 200 can be cached… an API that uses a GET to modify a resource may cause transparent proxies (or CDNs) to significantly mishandle the user request… same goes for 200 vs 4xx and 5xx: proxies know that 200 means what it means and may cache based on that, where 5xx should never be cached and 4xx is probably dependant on which specific 4xx