[-] chaospatterns@lemmy.world 3 points 1 week ago

Ah yeah. Mono didn't support WPF, but Mono did support running WinForms apps natively on Linux without using Wine.

[-] chaospatterns@lemmy.world 24 points 1 week ago

.net core is the future but Mono is still important for running legacy .net framework applications like ones that use WinForms or WPF. That's pretty much it. Anything new should go straight to .net core.

[-] chaospatterns@lemmy.world 1 points 2 weeks ago

There's a set of special topics under homeassistant/ that devices also publish to that describe what each topic does and how HA should present it. HA will subscribe to everything under that root topic to discover all your MQTT devices.

[-] chaospatterns@lemmy.world 1 points 2 weeks ago* (last edited 2 weeks ago)

Just updated and it looks like this one fixed the log spam:

json_loads was called from hacs, this is a deprecated function which will be removed in HA Core 2025.8. 
Use homeassistant.util.json.json_loads instead, please create a bug report at https://github.com/hacs/integration/issues

It's a little weird they don't have a download update button on the new HACS dashboard for an individual repository, now you have to go to Settings > Updates. I also wish I could hide new and available repositories and only show the ones I have installed (you can't seem to select Pending Restart, Pending Update, and Downloaded at the same time.)

[-] chaospatterns@lemmy.world 1 points 2 weeks ago

As a professional software dev, I worked with pretty much every OS daily. My personal computer was a Windows, my work laptop was a Mac, and I ran my code on Linux so I was familiar with the things I liked and disliked about each. I also ran my own set of server with my websites, mail servers, and various research projects to learn and grow.

Then I decided it was time to order a new laptop and I didn't want to go to Windows 11 because I felt Microsoft was going too much into features I didn't want like Ads, more tracking, pushing AI. Don't get me wrong, I like AI, but it was too much about forcing me to use it to justify their stock valuations.

I also was working on reducing my usage of big tech, setting up self hosted services like pi-hole, Home Assistant, starting to work my own Mint alternative. It just felt natural to get a Framework laptop and try running Linux on it.

I still have a Windows desktop for games and other things, I still use Mac at work. I still like the Mac for it's power efficiency and it doesn't get as hot. Linux has some annoyances here and there, like dbus locking up, or weird GNOME issues, or for a while my screen would artifact until set some kernel params, or the fact that my wifi card would crash and I had to replace it with an Intel card, but I'll stick with it.

[-] chaospatterns@lemmy.world 2 points 4 weeks ago

I actually have a double sided male A cable. I was shocked when I got it but I have this laptop cooler that has two A ports on it, presumably to allow a pass through but I'm always nervous that I'll plug it in and fry something.

[-] chaospatterns@lemmy.world 2 points 4 weeks ago

There's two main ways of doing geo-based load balancing:

  1. IP Any-casting - In this case, an IP address is "homed" in multiple spots and through the magic of IP routing, it arrives at the nearest location. This is exactly how 1.1.1.1 and 8.8.8.8 work. It works fine for stateless packets like DNS, however it has some risks for stateful traffic like HTTP.
  2. DNS based load balancing. A server receives a request for "google.com", looks at the IP of the DNS server and/or the EDNS Client IP in the DNS query packet and returns an IP that's near. The problem is that when you're doing Wireguard, it goes phone -> pi-hole (source IP is some internal IP) -> the next hop (e.g. 1.1.1.1 or 8.8.8.8), which sees the packet is coming from your home/pi-hole's public IP. Thus it gets confused and thinks you're in a different location than you really are. Neither of these hops really knows your true location of your phone/mobile device.

Of course, this doesn't matter for companies that only have one data center.

[-] chaospatterns@lemmy.world 2 points 4 weeks ago* (last edited 4 weeks ago)

Sorry, what do you mean route it directly? Maybe I didn't clarify well enough.

My DNS is routed over the VPN but Internet traffic is routed directly. The problem is the load balancing is done based on where the DNS server is so say Google even though the traffic egresses directly to the internet bypassing the VPN it still goes to a Google DC near my home. Not all websites do this so its not always an issue.

[-] chaospatterns@lemmy.world 1 points 4 weeks ago

Yes, but if you hit a company doing DNS based load balancing, DNS is going to return an IP that's near to your DNS server which may not be near your device. That's going to add to the latency.

[-] chaospatterns@lemmy.world 2 points 4 weeks ago

I have Wireguard and I forward DNS and my internal traffic from my phone over the VPN to my pi-hole at home. All other traffic goes directly over the Internet, not the VPN. So that means only DNS encounters higher latency.

However, because a lot of companies do DNS based geo load balancing that means even if I'm on the east coast all my traffic gets sent to the West Coast because my DNS server is located there. That right there has the biggest impact on latency.

It's tolerable on the same continent, but once I start getting into other continents then it gets a bit slow.

[-] chaospatterns@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

Yes fiduciary duty to the shareholder is sometimes misunderstood but this is in scope.

Everything can be securities fraud:

https://archive.is/p2YHV

Or:

https://www.bloomberg.com/opinion/articles/2019-06-26/everything-everywhere-is-securities-fraud

[-] chaospatterns@lemmy.world 7 points 1 month ago

Or just used wired connections. This is targeting wifi cameras and doorbells.

79

Windows and macOS have similar clients (Hass.Agent for Windows and Home Assistant for macOS).

I've found these kinds of clients useful because I can remotely wake-up or sleep computers, track how long they are turned on for, and automatically pause my lights and music when my webcam turns on.

169
75
40
153
submitted 2 months ago* (last edited 2 months ago) by chaospatterns@lemmy.world to c/technology@lemmy.world

I thought the model of 3D printing models of the chips to be a really cool way of visualizing how these chips work.

From the YouTube summary

How does your phone track its position in space? MEMS devices! Phones use small micro mechanical chips called MEMS, to monitor accelerations and rotations. These are fabricated using semiconductor technology, but are tiny little moving mechanisms.

Today we're decapping a six axis IMU (MPU-6050, on a GY-521 breakout board, containing three accelerometers and three gyroscopes), looking at it under the SEM, printing up some models, doing some high speed video recording, and talking about how these little MEMS devices work.

CAD/STL models (fair warning, it's a very challenging print!): https://www.printables.com/model/413667-mems-model-six-axis-imu-device

view more: next ›

chaospatterns

joined 1 year ago