Skip Navigation

Posts
7
Comments
3,351
Joined
2 yr. ago

  • Why are there so many moth posts these days? Isn't that an old meme?

  • (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.

  • 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.

  • 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?

  • 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.

  • They're independent contractors but they're still working for Amazon, and Amazon does the job of recruiting and training them. My point was just that they have to take responsibility rather than saying "that's Doordash's fault and you need to speak to them"

  • 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".

  • 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.

  • Does your FedEx still check signatures? In my area they stopped during it during COVID and never started doing it again. Even on packages that need a direct signature, they'll leave them without collecting a signature.

  • The standard window for a chargeback with both Visa and MasterCard is 120 days. Don't let the retailers bully you into thinking otherwise.

    Usually just threatening to do a chargeback, without actually doing it, is sufficient to get them to comply. Every chargeback costs the company money (usually around $10 to $50 depending on the bank) and time (dealing with the bank, collecting evidence, etc) even if they win the dispute, so they try to resolve issues without the customer involving the bank.

  • If you pay for a device, you should be able to do whatever you want with it. Apple having so much control over it means that you don't fully own it.

  • Tuya make Zigbee products too... They're just not good Zigbee products. I don't think they're officially Zigbee certified and have some weird behaviour, similar to some of the older generation of Aqara devices (their newer ones are fine though)