• 284 Posts
  • 496 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle




  • Discover seems to be the best bet to me so far.

    Discover is on the JCB, UnionPay, Troy and RuPay. (japan, China, turkey, and India respectively). Probably many more.

    Similarly, a JCB card should work wherever Discover is. It’s a billateral alliance.

    Oh, and all Discover cards work on Diners Club International because those two networks completely merged.

    Alliance members are not 100% acceptance. It seems like 95%+ acceptance though (most JCB will accept most Discover cards and vice versa, though you will get confused looks from the locals). It sounds like there’s a lot of old equipment around the countries that break compatibility but cities and other urban areas with new equipment shouldn’t have any problems.


    I’ll probably get a Discover card and start testing this out. I already have Visa and Mastercard but this new censorship issue seems serious enough to make me start supporting a 3rd place competitor.

    Between Discover vs AmEx, it seems like AmEx is about elite club / customer service / returns etc. etc. nice features but I’m not sure if it’s worth the price.

    Discover is free of annual fees, reasonable cash back, mediocre costs for the merchants (better than AmEx anyway and comparable vs Visa) and a surprisingly huge offering of international compatibility (RuPay, JCB, UnionPay, etc Etc). It seems like the winner to me as a 3rd card to experiment with.





  • Ummmm.

    ACH is how you get your paycheck, and it’s being updated to FedNow.

    Zelle is an independent network as well.

    And of course, there is Discover and AmEx.

    There is also cash, check, money order. They still work today, just people largely forgot how to use them.

    IIRC some Brazilian network was getting very popular off of this. If you want to look at non-US options.

    There are plenty of competitors to Visa/Mastercard/Paypal.


  • Great answer!!

    After thinking about all this for a while, I’ve gone with the basic binary tree (leaning towards AVL tree as I expect my use case to be read heavy).

    In my use case, multiple ‘intervals’ can merge together without major penalty (and should be merged together). It looks like a lot of these interval trees (including ph trees) are best when the intervals need to be kept separate.

    There is a part of my algorithm where ph trees might be useful though. I’ll have to give it some though.


    I’m kind of shocked that a basic binary tree ended up being so usable. Its a classic for a reason, lol. I guess I saw the intervals and got confused and overcomplicated things…


  • And typical RAM speeds are 100GB/second for CPUs and 500GB/second on GPUs, meaning 512MB operations are literally on the order of 5 miliseconds for CPU and 1ms on GPU.

    Below certain sizes, the ‘billions of intervals’ is larger than the damn Bitmask. Seriously, 8 bytes per interval (aka one pointer and 0 data) and that’s 8GB for the data structure.

    Instead of a billion 32-bit intervals to store (4GB of RAM at the minimum) it’s obviously a better move to store 500-million byte Bitmasks. And modern GPUs can crush that in parallel with like 3 lines of CUDA anyway.


  • Because CUDA and ROCm/HIP are far easier to program.

    The Khronos competitor to CUDA/ROCm is SYCL not OpenCL.


    SYCL vs these other options is a fun theoretical problem, but only Intel seems to be pushing SYCL at all. OpenCL got stuck in OCL1.2 (the 2.0 release was dead. 3.0+ OpenCL ignores OCL2.0 but it’s too late, OpenCL is seen as a dead end tech these days).

    The biggest issue is that OpenCL is a different language, while CUDA/HIP/SYCL are ‘just’ C++ extensions. This means that if you ever shared data between CPU and GPU in OpenCL (or DirectX or Vulkan for that matter), you have to carefully write and rewrite structs{} to line up between the two languages.

    Meanwhile, CUDA/HIP support passing structs, classes and more between CPU and GPU (subject to conditions of course. GPUs can’t do function pointers or vtables for example, but cpu-only classes can have vtables)








  • The Prius PHEV manual states that there is a battery conditioner: both battery-cooling when its hot and and battery-heating when its cold.

    I assume that a significant amount of the electric charge from L1 charger is going towards battery-heating. Ex: I have a 1000W L1 charger (measured from the wall). If 100W is going to heating, then that’s a 10% loss before other voltage-conversion losses. (The Prius is a 400V battery, so 110V to 400V will incur additional losses).

    The L2 charger likely has 100W of heating in these cold nights as well, but at 3,300W charging, that’s only a 3% loss. Far more efficient. Furthermore, 220V is closer to 400V, so there will be less voltage-conversion losses associated with L2 charging.

    A lot of reasons to favor L2 charger installation. So that’s going to be my recommendation to anyone doing Electric.








  • Netflix has a substantial number of caching boxes owned by Netflix on the edge.

    This means that a neighborhood has a cache server with 20TB of video serving everyone in the neighborhood (and maybe also the next 3 or 4 neighborhoods). So if everyone watches the same episode they only pay for one cloud download / bandwidth cost.

    Netflix outsources cloud for their core infra but then runs very very heavy edges around the world. It’s backwards but if you think about Netflix and the watching pattern of neighborhoods (ex: neighbor likely tells friends a new show is good, then everyone watches it) it’s to the benefit of Netflix to run their infra like this.

    I wouldn’t be surprised if these caching servers help each other out like BitTorrent either to avoid central cloud bandwidth costs.