• 0 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • I always see comments like these online, but they seem kind of absurd to me, coming from a country where it’s not only totally common to walk dogs off-leash, but completely legal. There’s really very few incidents of dogs darting into the streets here, and actually half the ones I’ve ever seen have been dogs on a lead anyway. A well trained dog doesn’t do that.




  • "1" + 2 === "12" is not unique to JS (sans the requirement for the third equals sign), it’s a common feature of multiple strongly typed languages. imho it’s fine.

    EDIT: I did some testing:

    What it works in:

    • JS
    • TS
    • Java
    • C#
    • C++
    • Kotlin
    • Groovy
    • Scala
    • PowerShell

    What produces a number, instead of a string:

    • PHP
    • SQL
    • Perl
    • VB
    • Lua

    What it doesn’t work in:

    • R
    • C
    • Go
    • Swift
    • Rust
    • Python
    • Pascal
    • Ruby
    • Objective C
    • Julia
    • Fortran
    • Ada
    • Dart
    • D
    • Elixir

    And MATLAB appears to produce 51, wtf idk




  • So what’s the deal with GNU? When I first saw it, I was sure the G was silent, or formed a dipthong, like gnat or gnocchi or gnaw or gnarly or gnome or just any word starting with gn in English. But IRL, I’ve only heard it pronounced with a hard G, same with Gnome.








  • guy@lemmy.worldtoPrivacy@lemmy.mlAndroid Microphone Snooping
    link
    fedilink
    arrow-up
    27
    ·
    edit-2
    4 months ago

    It’s scary how accurate they can predict you with what data they have; they don’t need to tap your microphone.

    You’re on a OnePlus; there’s always a status bar icon if the microphone is active.

    Think of what led to your conversation? Everything related to it you saw or searched online that could’ve later triggered you to talk about the subject, could also trigger them to serve you ads about it later. Perhaps your friend was the one, and the ad companies have linked you together, ie. by tracking your location and contacts.

    And now you’ve noticed the adverts, you’ll notice them much more, where you’d normally ignore them completely. Furthermore, if you noticed these ads, you might’ve clicked them or stopped scrolling and stared at them too long in a wtf moment and now the ad companies know, so they’ll serve you a whole lot more of the same.



  • guy@lemmy.worldtoHardware@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    That’s just semantics though. That’s exactly what I meant. No separation of RAM and storage.

    I called it RAM-less, rather than all-RAM, because we already have the concept of virtual RAM on storage. So you could have your files in a file structure and your volatile memory in a virtual RAM file. And you wouldn’t necessarily even need to load files or programs into virtual RAM if you were only reading them, you could have a strict file pointer.




  • Yeah although misinformation is recently on the rise, there is that overabundance of information, I still feel like we’re in perhaps the easiest era ever for verifying facts.

    In the past when I called bullshit on my friend’s factoids, there wasn’t much I could do unless I went to a library and maybe there’d be a book on it, and I’d have not much choice but to trust that book. I believed so much nonsense people told me before that I can look up and discuss on a global knowledge in my pocket now, albeit requiring skill to do properly though