Skip Navigation

Posts
0
Comments
1076
Joined
3 yr. ago

Aussie living in the San Francisco Bay Area.Coding since 1998..NET Foundation member. C# fan https://d.sb/Mastodon: @dan@d.sb

  • I'm confused as to why T-Mobile is on that list but neither AT&T nor Verizon are.

  • A lot of restaurants add on an extra fee if you pay by card

    In the US, this is pretty recent... It's only been allowed since last year. Previously, MasterCard and Visa's merchant agreements both said that merchants must not charge a fee for paying by card, and the store could have their MC/Visa agreement terminated if they were caught charging fees. Some stores got around this by offering a cash discount rather than charging a fee for cards. There was a big lawsuit and the rules got changed as a result.

    In Australia, there's a lot of rules around card fees/surcharges. I linked to an article in my previous comment. The business can't charge more than it costs them to process card payments, and they're only allowed to list it as a separate fee if they have a fee-free way of paying (like with cash). If they only take card, they need to include the card fee in the advertised prices.

  • This is one of the reasons merchant fees are so high in the USA.

    In Australia, merchant fees for a medium-sized business are an average of 0.75 to 1.5% for credit cards and 0.25% to 1% for debit cards, according to the Reserve Bank of Australia (https://www.accc.gov.au/consumers/pricing/card-surcharges).

    In the USA they're often over double that. Some payment processors charge 3% or more for credit card processing.

  • I'd love to see an integration with PhotoStructure in addition to Immich.

  • If this was done in the USA, a lot of airlines would struggle or even collapse if they couldn't figure out how to adapt.

    The four biggest airlines in the US (United, Delta, American and Southwest) all lose money on flights. The way they make a profit is through their co-branded credit cards. The banks pay the airlines to purchase miles from them to use as points, and one of the primary ways the bank makes the money to do that is from interest payments.

    https://www.investopedia.com/the-four-biggest-us-airlines-all-lost-money-flying-passengers-last-year-8781856

    I'm not saying that interest rates shouldn't be limited, just that there'd be some major impact since a lot of the financial industry is funded by interest payments.

  • Their products are still solid. Any brand can have issues with their batteries (other companies use the same cells), and I don't see a reason to avoid their non-battery products like cables and chargers.

  • I've got a PowerCore 20000k (20Ah). I wonder why the 10Ah version is "fire-prone" but the 20Ah version isn't.

  • How's it compare to Hoarder/Karakeep?

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

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

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

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

  • had to upgrade due to DDOS

    If you keep getting DDoS attacks, then I'd recommend getting DDoS protection from your hosting provider, or using Cloudflare. A lot of hosting providers can provide DDoS protection if you pay a bit extra per month.

  • They have their systems only they use, therefore they can easily make them on Linux or emulate.

    Also, a lot of systems are web-based (and therefore automatically multi-platform) these days.