chaospatterns

joined 1 year ago
[–] chaospatterns@lemmy.world 5 points 2 days ago* (last edited 2 days ago)

This is my biggest challenge with this extension. What's clickbait to one person is not to another. Several times I've come across titles that get mangled when rewritten to lose key points. Or the image gets replaced with a random screen grab. There's a difference between somebody doing the YouTube face and a title with "the craziest stunt you've ever seen" and an artist photo with a title saying the "a crazy stunt jump through a burning hoop". I'm okay with the latter but dearrow will often remove crazy. The is just an contrived example

One person could still say "crazy" makes it clickbait, but having some adjectives are fine

[–] chaospatterns@lemmy.world 2 points 2 days ago (1 children)

If you are port forwarding. I recommend not exposing it on the default port of 25565 and instead expose it as a random port. Then, assuming you have a domain name, create an SRV record that points to your IP and port. This will cut down on the drive by scanners who scan by ports, but won't totally eliminate it. If you do use the SRV record, your friends won't even notice there's a different port.

[–] chaospatterns@lemmy.world 80 points 3 days ago (12 children)

The alternative is to let certain countries de facto claim a region because others are too afraid to call them on their BS

[–] chaospatterns@lemmy.world 3 points 2 weeks ago (1 children)

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

[–] chaospatterns@lemmy.world 23 points 2 weeks ago (3 children)

.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 3 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 3 weeks ago* (last edited 3 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 3 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 1 month ago (1 children)

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 1 month 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 1 month ago* (last edited 1 month ago) (1 children)

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 1 month ago (1 children)

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.

 

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.

 

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 ›