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

  • 5 Posts
  • 1.02K Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle








  • dan@upvote.autoProgrammer Humor@lemmy.mlOverflow
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    22 days ago

    In E2E tests you should ideally be finding elements using labels or ARIA roles. The point of an E2E test is to use the app in the same way a user would, and users don’t look for elements by class name or ID, and definitely not by data-testid.

    The more your test deviates from how real users use the system, the more likely it is that the test will break even though the actual user experience is fine, or vice versa.

    This is encouraged by Testing Library and related libraries like React Testing Library. Those are for unit and integration tests though, not E2E tests. I’m not as familiar with the popular E2E testing frameworks these days (we use an internally developed one at work).



  • It’s the radical moderators and developers of Lemmy that censor and delete posts and comments that fit their narrative.

    The entire point of Lemmy and other decentralized and federated systems is that no one entity is in control of it. It’s not like a site like Reddit where the whole thing is controlled by one company.

    They can only delete posts and comments from servers they’re moderators of. That’s probably just a few servers out of the thousands that exist. Nobody’s forcing any user to use those servers. If you don’t like the moderation on one server just move to a different one.

    I’m hoping there will be a fork or new federation project that doesn’t have baggage.

    Why fork it if the software works well as-is?

    You can run your own Lemmy server and defederate from every other server if you want to, or only federated with a few hand-picked servers.







  • I solved this by installing solar panels. They produce more electricity than I need (enough to cover charging an EV in when I get one in the future), and I should break even (in terms of cost) within 5-6 years of installation. Had them installed last year under NEM 2.0.

    I know PG&E want to introduce a fixed monthly fee at some point, which throws off my break-even calculations a bit.

    Some VPS providers have good deals and you can often find systems with 16GB RAM and NVMe drives for around $70-100/year during LowEndTalk Black Friday sales, so it’s definitely worth considering if your use cases can be better handled by a VPS. I have both - a home server for things like photos, music, and security camera footage, and VPSes for things that need to be reliable and up 100% of the time (websites, email, etc)




  • specifically it has physical buttons below the screens to control the entire car with physical buttons. That was a hard requirement of mine.

    I’d love to get an EV with physical buttons too. My current car is a 2012 Mazda 3, but I want to get a EV to take advantage of my solar panels.

    The Kona looks nice. Do you know if it supports Qi wireless charging, and wireless Android Auto?