Skip Navigation
Why is 0.1 + 0.2 returns 0.30000000000000004 in JavaScript?
  • It's how CPUs do floating point calculations. It's not just javascript. Long story short, a float is stored in the format of one bit for the +/-, some bits for a base value (mantissa), and some bits for the exponent. As a result, some numbers aren't quite representable exactly.

  • interestingasfuck @lemmy.world RagingHungryPanda @lemm.ee
    Asbads: The Original Windmills of the Middle-East » Explorersweb
    explorersweb.com Asbads: The Original Windmills of the Middle-East » Explorersweb

    Through Iran and Afghanistan, you can find some odd-looking structures made from clay and wood. These are the world’s oldest windmills, called "asbads."

    Asbads: The Original Windmills of the Middle-East » Explorersweb
    0
    What are your favorite leftist news sources?
  • Means TV, but it's a subscription version of YouTube for leftist content and it's a cooperative. The Means Morning News channel is 80s/90s cheesey and a decent news summary that ends with the Rich Dick award

  • Removed
    How to tell my actual internet speed usage?
  • I don't think you'll be complaining on any of them. Was having gigabit nice? Of course, but 350 is plenty. Most services won't even transfer that quickly to you and you can run a lot of video streams on that.

    But the main way to tell would be if your router has a traffic meter on it since it has all devices going through it. Otherwise if you're mainly on PC you can use the task manager to see how much is going on and out

  • NSFW Deleted
    [Serious] Had unprotected sex with 2 sex workers what should I do?
  • I don't know what country you're in, so something specific can be difficult to say as to where to go. It can often take a few days (3ish sometimes) for some tests to show positive, but get tested and "test where you play". It should be cheap or free. It probably isn't a big deal, so don't freak out, just get tested. Go to a clinic or a doctor's office, or call them first.

  • Demented Babbling Rapist has 50% of the Vote
  • Ok, let me try. I'll start with the first phrase:

    Gboard: Religion is such a great thing to do with it but I don't think it will be a good day for you guys to come over and watch the first episode of the office does Jim and I are you doing today I left the house today and the next day or so I can get the room for the next day or so I can get the room for the next....awwwww

    I never talk about the office lol

    Here's with Kubo keyboard: Religion is such a great thing that I think it is a good thing that I think it is a good thing that... Boo

  • Oxygen
  • In Becky Chambers' Wayfarer series, there is a species who actually breathes methane. The focus though is less on how that actually happens and more on how they navigate as the only species for whom oxygen is toxic. It's a great series, btw. It's a not-quite-as-optimistic as star trek future, but still optimistic and with a vast range of species who are all intermingling as learning how to get along.

  • Recommendation for Email-Provider
  • Proton and its services have been pretty good. Some things to know about proton mail:

    • Search is only for titles, as content is encrypted
    • You can do search in the body in your browser. It downloads your email into the browser and searchers locally. It takes a while to do this and build up indexes. I haven't had too much issue searching for things though.
    • Since they don't read your email, no automatic calendar events if there isn't a .ics

    The VPN had been great

    The storage isn't enough for me to be able to move off of my main cloud provider. There also isn't a way to pin a file on Android for it - and the 500gGB of space is less than I use

    The Pass app is handy and it's easy to make aliases, though it often doesn't know to fill in, doesn't do it, or something, and I need to open the app to copy paste. Pretty trivial though.

    I'm sticking with them. I don't really have a reason to leave. The aliases are really nice, the catch is that it's not easy to have them go to a sub email address that I use - it has to go to your primary email. Not a huge deal though.

  • For some sick reason
  • I recently was talking with someone in south America about things in the US, most of which they hated, then when I got to "yeah, a lot of people sell plasma to help get through school" they were like "WTF! I hate your country! Here we do it as a donation! And you do it to help get through school!?" 😂

  • Hostels baby

    If this is not the right place for memes about travel, feel free to remove

    1
    My Spanish seems to have gone to shit the past few days

    One of the fun parts about traveling and speaking another language: sometimes my Spanish is really good, but the past few days people haven't been able to understand me and asked me to switch to English. Maybe I got lazy, maybe my mouth is moving weird, but it happens. It comes back eventually. I hope

    edit: the other part about it is that it does feel embarrassing, because I'm just ordering a coffee and failed to do that. Eh, whatever.

    6
    Old man anime - you're about to die bc you're 30

    I think I've out-aged the medium 😅

    Wow! You're so ancient! You're like 30!

    Could you not? !sad pepe

    29
    Old man anime - you're about to die bc you're 30

    I think I've out-aged the medium 😅

    Wow! You're so ancient! You're like 30!

    Could you not? !sad pepe

    1
    Google Maps lists of places I've been to and thought were interesting

    I hope this helps some people that are traveling. These are links to Google Maps lists I made of places in different cities I've been to that I thought were interesting. You can subscribe/follow the list to add it to yours. These lists aren't complete travel guides, just places I wanted to save or was told about, sorted by name. Some of them have a lot of places, others not so much. I left off lists that only had a few places. I hope someone may find them helpful one day!

    Antigua, Guatemala

    Buenos Aires, Argentina

    Cali, Colombia

    Chicago, USA

    Medellin, Colombia

    Merida, Mexico

    Mexico City, Mexico

    New Orleans, USA

    New York City, USA

    Oaxaca, Mexico

    Quito, Ecuador

    Rosario, Argentina

    0
    The rule of economics

    Wanna feel rich with little money?

    0
    I've been enjoying this book and thought others might as well - "Nowhere for Very Long: The Unexpected Road to an Unconventional Life" by Brianna Madia

    cross-posted from: https://lemm.ee/post/39289735

    > NEW YORK TIMES BESTSELLER • WALL STREET JOURNAL BESTSELLER • USA TODAY! BESTSELLER > > In this beautifully written, vividly detailed memoir, a young woman chronicles her adventures traveling across the deserts of the American West in an orange van named Bertha and reflects on an unconventional approach to life.

    0
    A Story about the Tourism Industry in Oaxaca, Mexico - and a story of censorship

    Bianca Graulau

    While reporting on the inequality and unequal treatment between tourists and locals in Oaxaca, Mexico, Bianca was told to not mention the hotel chain because they were affiliated with the company.

    In Oaxaca, there is a water shortage that has a great impact on the people there and in the surrounding area. But if you're a tourist, you may not even know.

    > This story was censored by a big and well-known media company. So I decided to tell it on my own. I look into the following question: does the current tourism model in Oaxaca lead to deeper inequality?

    2
    I keep breaking the game by hiding - hag spoilers

    Edit: trying to figure out the spoiler tag...sorry

    Edit 2: I tried three ways and nothing worked, but spoilers below

    I've run into a lot of times where needed things don't trigger bc I'm hiding

    spoiler hag

    >! For example, when rescuing Mayrina the first time, I snuck past them and tried to talk to her, which triggered the cutscenes and hag transformation.

    Combat was supposed to start, but didn't. So I went into the fireplace thinking that was a good escape route and into the lair, where she, in hag form, told me I shouldn't be sneaking around and to leave, but with the normal lady's voice.

    Then, when rescuing from the cage, I used the druids thorn whip to yang Mayrina down. Combat triggered and she acting like she was still in the cage instead of running through the open door behind us.

    I tried a second time and she ran through, but disappeared. When I went back, she was outside the cage. I thought she was the hag bc she had 0 damage, so I cast blindness on her and she ran...somewhere.

    Also, the hag never rendered, but I could see her vision outline.

    Anyway, now I think I actually have to fight the hag. I read something about a water trick, so I'll try that was well.

    But jeez, with all the warnings to run away from a hag, I thought I'd be able to do that.

    Of course leaving an angry hag alive is no good, so 🤷‍♂️!<

    2
    Looking for a way to get automatic calendar event creation from email

    This is a feature that I miss, along with attachments on calendar events. I was thinking of building something myself using NLP and NER to read an email and extract calendar details from it, but I'd need access to an API to be able to do that and the API is no longer public. Is there any way to either get access to these APIs or some other workaround for this?

    5
    Proton mail - high energy usage when background loading of mail is turned ln

    I noticed my battery drained really quickly since getting proton mail, but the energy use in Androids battery report would only show a few percent. I went from being able to go w whole day with plenty of battery left it having to charge once or twice a day. I turned off the background email loading and my battery levels are back to normal.

    0
    A way to reply to a ban

    Hey there! I recently got server banned b/c I was sharing a link in men's communities and I was mistaken for a bot.

    I didn't have a way to respond to the ban. I was just logged out. I didn't see a link or even which mod did the ban so that I could reply to them, but then I couldn't get into my account to reply anyway.

    It'd be nice to maybe get a "if you think this was in error" email or something.

    Although I know that if lemmy was the size of reddit, people would hook that email up to chatgpt, so :/

    Anyway, it'd be a nice feature to have. I doubt I'll need it again, but I was quite confused as to what to do.

    3
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RA
    RagingHungryPanda @lemm.ee
    Posts 22
    Comments 149