Skip Navigation

Posts
10
Comments
3,495
Joined
2 yr. ago

  • Windows perms are pretty locked down though. Sometimes I can't delete my own files because I need permission from "Administrator" :/

    You can actually use Windows-style permissions (ACLs) on Linux via setfacl.

  • Beaches

    Jump
  • TIL my gender is legs.

  • Because of various privacy legislation, and people not wanting Google to track them as much, they stopped syncing the data to Google servers. As someone who's worked at big tech companies, my guess would be that storing so many people's location history was flagged as an issue during a privacy audit.

    It's entirely local now. You can enable encrypted backups and back up the data, however you can really only have the data on one device now, and the web version is gone.

  • (no taxes on charities).

    What type of taxes are you talking about?

  • That's what the name means :D
    CR2032 is 20mm in diameter and 3.2mm thick.

    Some smart home devices use the CR2450 rather than the CR2032.

  • See if you can find an older Sony Walkman with an SD card slot.

  • That's the price in Japan - it'd likely be higher in the USA, plus the motherboard itself would also cost more due to tariffs.

  • If just the board costs $124, then Nintendo charging $175 for replacement seems totally reasonable. $51 for labour isn't bad.

  • Permanently Deleted

    Jump
  • When you sign for something, they're supposed to verify your signature against the signature on your ID, credit/debit card, etc. Companies have gotten lazy about this, though. For example, the last time a store asked to see the signature on the back of my credit card was maybe 10 years ago?

  • Permanently Deleted

    Jump
  • Plenty of companies don't actually check signatures these days.

  • TypeScript doesn't need the "function" keyword for a method in an object or on a class though.

     
        
    const foo = {
      bar(): string {
       ... 
      } 
    }
    
      

    which I assume is doable because the syntax is unambiguous.

    In PHP's case, the method syntax should also be unambiguous.

  • Permanently Deleted

    Jump
  • There's 29 Microcenters in the USA! One just opened near me.

  • The first programming language I used was Visual Basic (both VBA in Excel, and VB3 then VB6). I think it used redim to resize arrays.

  • TypeScript doesn't need the "function" keyword for a method in an object or on a class though.

     
        
    const foo = {
      bar(): string {
       ... 
      } 
    }
    
      

    which I assume is doable because the syntax is unambiguous.

    PHP's object orientation is similar to languages like Java and C#, which is what I was comparing to.

  • It enforces scalar types (string, int, etc) at runtime if you enable strict mode. There's also static analysis tools like PHPStan and Psalm that will flag issues at build time.

  • Can we talk about PHP functions with typehints too?

     
        
    public static function foo(): string {
    
      

    Practically every other language with similar syntax does this instead:

     
        
    public static string foo() {
    
      
  • Older variants used DIM for arrays and LET for other variables. DIM was originally called that because it was setting the dimensions of the array.

    In modern BASIC variants, DIM has become a backronym: "declare in memory".

  • Permanently Deleted

    Jump
  • A lot of companies have moved towards using Uber or Doordash for same day deliveries.

    I don't like buying stuff from Amazon, but they're the only company I'd trust for same-day at the moment. They directly employ the delivery drivers (via Amazon Flex) so you don't end up with issues where Doordash and Best Buy blame each other and neither takes full responsibility.

  • Permanently Deleted

    Jump
  • Even if there was a signature required, the driver could just forge it.