corroded

joined 1 year ago
[–] corroded@lemmy.world 2 points 2 days ago (1 children)

That's kind of the point I was trying to make. They feel so different, I can't imagine one being a viable alternative to the other.

[–] corroded@lemmy.world 6 points 2 days ago (3 children)

I couldn't care less what happens to the wine industry, but are people really using weed as an alternative? They're completely different experiences. I enjoy drinking, but cannabis is in no way pleasurable to me at all.

[–] corroded@lemmy.world 8 points 4 days ago

This is very situational. I'm not a contractor, but I spend a significant portion of my time doing hobbies that require power tools. I don't need a drill that will last for an entire day at a jobsite. Ryobi works fine for me. On the other hand, I wish I had never spent $600 on a cheap planer; I knew I'd want a better one eventually,, and sure enough, I found a need to upgrade after a few years. Now I've spent $3600 on planers. I could have just gone with the $3k one and saved myself $600.

If I'm going to use it once, I borrow it. If I'm going to use it every few months, I buy a cheap one. If I'm going to use it every week, then it's worth it to me to buy something I can keep for at least a decade or two.

[–] corroded@lemmy.world 2 points 6 days ago

I agree with you to a certain point.

When somebody finishes high-school and becomes an adult, they should develop a useful skill that they can turn into a career. This might be going to college for STEM, it might be a trade-school, or it might be an apprenticeship as a skilled tradesman. I wouldn't discount all liberal arts degrees either; a degree in graphic design can be well worth the time.

The important thing is that people entering the workforce can say "I'm a doctor," "I'm a plumber," "I'm an auto mechanic," "I'm a software developer," etc. Be able to say "I do something."

Going to college for an undergraduate degree in art history? That's something you should do after you're already established in your career and you feel like you'd like to learn something more. Going to school to learn to be a chef, paint cars, build furniture, etc, they might not be STEM or law degrees, but they're useful.

I guess in summary, kids should go to school to learn a useful skill. Adults should go to school for whatever they want.

[–] corroded@lemmy.world 5 points 6 days ago (5 children)

It really depends on how far back you want to look.

If the US was to suddenly stop projecting its interests internationally, then as others have mentioned, then likely the world work become somewhat more socialized. European countries would probably step up and try to keep China in check, but without the US contributing to these efforts, it would cause a significant strain on their military resources.

If the US was to take an isolationist policy 100 years ago, then there is a good chance that WW2 would have been won by the Axis. The Allied forces likely would have put up a good fight, but I'm not sure they would have emerged victorious against the combined Axis forces. The war in the Pacific would have raged on much longer, and without nuclear weapons, there would have been an extreme loss of life invading Japan. At the very least, WW2 would have lasted much much longer than it did. Depending on the outcome, plenty of countries might currently be speaking German and debating if they should tear down 80-year-old statues of Hitler.

[–] corroded@lemmy.world 5 points 6 days ago

A lot of boomers are really particular about well-manicured yards, pristine gardens, etc. Squirrels do not help with this.

I love seeing little divots where our squirrels bury nuts. If they eat some of our plants, then I put a cage around it or plant new ones. Seeing the little guys play and eat the food we put out for them far outweighs any minor landscaping problems they cause.

[–] corroded@lemmy.world 1 points 6 days ago

I thought I spelled something wrong; I didn't, and now I'm lost. Aren't most non-fiber connections asymmetrical connections?

[–] corroded@lemmy.world 185 points 6 days ago (10 children)

The problem isn't that Harris is being held to a higher standard. The problem is that Americans think of elections the same way they think of a sporting match. It's "my team is going to win!" not "I'm going to vote for the candidate that is best aligned with my beliefs." A huge number of the people who are voting Republican are doing so because the Republican party is their "team," and damn it, their team is going to win even if it kills them.

Many years ago, I was discussing politics with a coworker (always a bad idea, but whatever). It went something like this:

"So, you don't think the less-fortunate should be able to afford medical care?" "No, of course not, everyone should be able to see a doctor."

"You don't think gay people should be allowed to marry?" "I'm not gay, but they can do whatever makes them happy."

"You support the war in Iraq, then?" "I support our troops, but the war is kind of a waste."

"We definitely should legalize weed, right?" "Um, I'd smoke it if I didn't get drug tested."

"So why are you voting Republican, then?" "My family is Republican; we always do."

[–] corroded@lemmy.world 1 points 6 days ago (1 children)

This is only true when you have a single transmission medium and a fixed band. Cable internet is a great example; you only have a few MHz of bandwidth to be used for data transmission, in any direction; the rest is used up by TV channels and whatever else. WiFi is also like this; you may have full-duplex communications, but you only have a very small portion of the 2.4Ghz or 5Ghz band that your WiFi router can use.

Ethernet is not like this. You have two independent transmission lines; each operates in one direction, and each is completely isolated from any other signals outside the transmitter and receiver. If your ethernet hardware negotiates a 10Gb connection, you have 10Gb in one direction and 10Gb in the other. Because the transmission lines are separate, saturating one has absolutely no effect on the other.

[–] corroded@lemmy.world -1 points 6 days ago (3 children)

You are absolutely correct; I phrased that badly. Over any kind of RF link, bandwidth is just bandwidth. I was more referring to modern ethernet standards, all of which assume a separate link for upload and download. As far as I am aware, even bi-directional fiber links still work symmetrically, just different wavelengths over the same fiber.

If you have a 10GBaseT connection, only using 5Gb in one direction doesn't give you 15Gb in the other. It's still 10Gb either way.

[–] corroded@lemmy.world 2 points 6 days ago (2 children)

This is a really good explanation; thank you!

There is one thing I'm having a hard time understanding, though; I'm going to use my ISP as an example. They primarily serve residential customers and small businesses. They provide VDSL connections, and there isn't a data center anywhere nearby, so any traffic going over the link to their upstream provider is almost certainly very asymmetrical. Their consumer VDSL service is 40Mb/2Mb, and they own the phone lines (so any restriction on transmit power from the end-user is their own restriction).

To make the math easy, assume they have 1000 customers, and they're guaranteeing the full 40Mb even at peak times (this is obviously far from true, but it makes the numbers easy). This means that they have at least a 40Gbit link to their upstream provider. They're using the full 40Gb on one side of the link, and only 2Gbit on the other. I've used plenty of fiber SFP+ modules, and I've never seen one that supports any kind of asymmetrical connection.

With this scenario, I would think that offering their customers a faster uplink would be free money. Yet for whatever reason, they don't. I'd even be willing to buy whatever enterprise-grade equipment is on the other end of my 40/2 link to get a symmetrical 40/40; still not an option. Bonded DSL, also not an option.

With so much unused upload bandwidth on the ISP's part, I would think they'd have some option to upgrade the connection. The only thing I can think is that having to maintain accounts for multiple customers with different service levels costs more than selling some of their unused upload bandwidth.

 

This is more "home networking" than "homelab," but I imagine the people here might be familiar with what in talking about.

I'm trying to understand the logic behind ISPs offering asymmetrical connections. From a usage standpoint, the vast majority of traffic goes to the end-user instead of from the end-user. From a technical standpoint, though, it seems like it would be more difficult and more expensive to offer an asymmetrical connection.

While consumers may be connected via fiber, cable, DSL, etc, I assume that the ISP has a number of fiber links to "the internet." Those links are almost surely some symmetrical standard (maybe 40 or 100Gb). So if they assume that they can support 1000 users at a certain download speed, what is the advantage of limiting the upload? If their incoming trunks can support 1000 users at 100Mb download, shouldn't it also support 1000 users at 100Mb upload since the trunks themselves are symmetrical?

Limiting the upload speed to a different rate than download seems like it would just add a layer of complexity. I don't see a financial benefit either; if their links are already saturated for download, reducing upload speed doesn't help them add additional users. Upload bandwidth doesn't magically turn into download bandwidth.

Obviously there's some reason for this, but I can't think of one.

[–] corroded@lemmy.world 90 points 1 week ago (11 children)

This is kind of a shit article. Most of these are just old hardware that eventually had modern improvements, not "trends."

A "trend" is cold cathode black lights inside the case, not a silly naming scheme for CPU revisions.

 

I generally try to stay informed on current events. With the exception of what gets posted here, I normally get my news from CNN. I tend to lean left politically, but not always.

The problem I always run into is that every news site I read, regardless of where they stand on the political spectrum, is always filled with pointless bullshit. Specifically, sports, celebrity news, and product placement. "Some shitty pop singer is dating some shitty actor" or "These are our recommendations for the best mass-produced garbage-quality fast fashion from Temu" or "Some overpaid dickhead threw a ball faster than some other overpaid dickhead."

What I'd love to find is a news source that's just news that matters. No celebrity gossip, sports, opinion pieces, etc. Just real events that have an impact on some part of the world. Legislation, natural events, economic changes, wars, political changes, that kind of thing.

Does this exist, or is all journalism just entertainment?

 

A few months ago, I upgraded all my network switches. I have a 16-port SFP+ switch and a 1GB switch (LAGG to the SPF+ with two DACs). These work perfectly, and I'm really happy with the setup so far.

My main switch ties into a remote switch in another building over a 10Gb fiber line, and this switch ties into another switch of the same model (on a different floor) over a Cat6e cable. These switches are absolute garbage: https://www.amazon.com/gp/product/B084MH9P8Q

I should have known better than to buy a cheap off-brand switch, but I had hoped that Zyxel was a decent enough brand that I'd be okay. Well, you get what you pay for, and that's $360 down the toilett. I constantly have dropped connections, generally resulting in any attached devices completely losing network connectivity, or if I'm lucky, dropping down to dial-up speeds (I'm not exaggerating). The only way to fix it is to pull the power cable to the switch. Even under virtually no load, the switch gets so hot that it's painful to touch. Judging from the fact that my connection is far more stable when the switch is sitting directly in front of an air conditioner, that tells me just about all I need to know.

I'm trying to find a pair of replacement switches, but I'm really striking out. I have two ancient Dell PowerConnect switches that are rock solid, but they're massive, they sound like jet engines, and they use a huge amount of power. Since these are remote from my homelab and live in occupied areas, they just won't work. All I need is a switch that has:

  • At least 2 SFP+ ports (or 1 SFP+ port for fiber and a 10Gb copper port)
  • At least 4 1Gb ports (or SFP ports; I have a pile of old 1GB SFP adapters)
  • Management/VLAN capability Everything I find online is either Chinese white-label junk or is much larger than what I need. A 16-port SFP+ switch would work, but I'd never use most of the ports, and I'd be wasting a lot of money on overkill hardware. As an example, one of these switches is in my home office; it exists solely so I have a connection between my server rack, two PCs, and a single WAP. I am never going to need another LAN connection in my home office; any hardware is going to go in the server rack, but I do need 10GB connectivity on at least one of those PCs.

Does anyone have a suggestion for a small reliable switch that has a few SFP+ ports, is made by a reputable brand, and isn't a fire hazard?

 

I have been using the BlueIris NVR integration (from HACS) for quite some time, and it works great for triggering BI from HA. I've trying to do the opposite now: Fire off automations in HA whenever BI detects motion on one of my cameras.

I've never used MQTT before, so I'm learning as I go, but I think I have most of my setup configured properly. I've installed Mosquitto and the MQTT integration in HA. I've configured BI to connect to HA, and running "Test" in the "Edit MQTT Server" menu in BI shows a good connection and no errors. I've set my cameras to post an MQTT event when the alert is triggered (and I've verified that the alerts are in fact being triggered).

Nothing happens in HA, though. The "Motion" sensor for my camera in HA stays at "Clear." In fact, the history shows no change at all, ever.

I have the events in BI set up as follows: On Alert: MQTT Topic - BlueIris/&CAM/Status and Payload - { "type": "&TYPE", "trigger": "ON" } On Reset: Exactly the same, but change ON to OFF.

I've tried change the MQTT autodiscovery header in HA from "homeassistant" to "BlueIris," and it made no difference. The Mosquitto logs show a login from HA, so I feel like I'm close, but I'm not sure where else to look.

Edit: I installed MQTT explorer, and I've verified that the messages are making it to Mosquitto, and they appear to be correctly formatted.

UPDATE: I set the MQTT integration to listen to the MQTT messages coming from BI, and sure enough, they were coming through just fine. For some reason, the BI integration just wasn't seeing them. Digging through the system logs, I saw some errors "creating a binary sensor" coming from the BI integration. The only thing I can think is that because I didn't have MQTT set up when I first installed the BI integration, something went wrong with the config (although I had already rebooted the system several times). I re-downloaded the BI integration and re-installed it, and now everything works perfectly.

 

This isn't strictly "homelab" related, but I'm not sure if there's a better community to post it.

I'm curious what kind of real-world speeds everyone is getting over their wireless network. I was testing tonight, and I'm getting a max of 250Mbit down/up on my laptop. I have 4 Unifi APs, each set to 802.11ac/80Mhz, and my laptop supports 2x2 MIMO. Testing on my phone (Galaxy S23) gives basically the exact same result.

The radio spectrum around me is ideal for WiFi; on 5Ghz, there is no AP in close enough range for me to detect. With an 80Mhz channel width, I can space all 4 of my APs so that there's no interference (using a non-DFS channel for testing, btw).

Am I wasting my time trying to chase higher speeds with my current setup? What kind of speeds are you getting on your WiFi network?

 

I've noticed recently that my network speed isn't what I would expect from a 10Gb network. For reference, I have a Proxmox server and a TrueNAS server, both connected to my primary switch with DAC. I've tested the speed by transferring files from the NAS with SMB and by using OpenSpeedTest running on a VM in Proxmox.

So far, this is what my testing has shown:

  • Using a Windows PC connected directly to my primary switch with CAT6: OpenSpeedTest shows around 2.5-3Gb to Proxmox, which is much slower than I'd expect. Transferring a file from my NAS hits a max of around 700-800MB (bytes, not bits), which is about what I'd expect given hard drive speed and overhead.
  • Using a Windows VM on Proxmox: OpenSpeedTest shows around 1.5-2Gb, which is much slower than I would expect. I'm using VirtIO network drivers, so I should realistically only be limited by CPU; it's all running internally in Proxmox. Transferring a file from my NAS hits a max of around 200-300MB, which is still unacceptably slow, even given the HDD bottleneck and SMB overhead.

The summary I get from this is:

  • The slowest transfer rate is between two VMs on my Proxmox server. This should be the fastest transfer rate.
  • Transferring from a VM to a bare-metal PC is significantly slower than expected, but better than between VMs.
  • Transferring from my NAS to a VM is faster than between two VMs, but still slower than it should be.
  • Transferring from my NAS to a bare-metal PC gives me the speeds I would expect.

Ultimately, this shows that the bottleneck is Proxmox. The more VMs involved in the transfer, the slower it gets. I'm not really sure where to look next, though. Is there a setting in Proxmox I should be looking at? My server is old (two Xeon 2650v2); is it just too slow to pass the data across the Linux network bridge at an acceptable rate? CPU usage on the VMs themselves doesn't get past 60% or so, but maybe Proxmox itself is CPU-bound?

The bulk of my network traffic is coming in-and-out of the VMs on Proxmox, so it's important that I figure this out. Any suggestions for testing or for a fix are very much appreciated.

 

I'm looking for a portable air conditioner (the kind with 1 or 2 hoses that go to outside air). The problem I'm running into is that every single one I find has some kind of "smart" controller built in. The ones with no WiFi connectivity still have buttons to start/stop the AC, meaning that a simple Zigbee outlet switch won't work. I could switch the AC off, but it would require a button-press to switch it back on. The ones with WiFi connectivity all require "cloud" access; my IoT devices all connect to a VLAN with no internet access, and I plan to keep it that way.

I suppose I could hack a relay in place of the "start" button, but I'd really rather just have something I can plug in and use.

I can't use a window AC; the room has no windows. I'll need to route intake/exhaust through the wall. So far, I can't find any "portable" AC that will work for me.

What I'm looking for is a portable AC that either:

  • Connects to WiFi and integrates with HA locally.
  • Has no connectivity but uses "dumb" controls so I can switch it with a Zigbee outlet switch.

Any ideas?

 

I just set up a local instance of Invidious. I created an account, exported my YouTube subscriptions, and imported them into Invidious. The first time I tried, it imported 5 subscriptions out of 50 or so. The second time I tried, it imported 9.

Thinking there might be a problem with the import function, I decided to manually add each subscription. Every time I click "Subscribe," the button will switch to "Unsubscribe," then immediately switch back to "Subscribe." If I look at my subscriptions, it was never added.

My first thought was a problem with the PostgreSQL database, but that wouldn't explain why some subscriptions work when I import them.

I tried rebooting the container, and it made no difference. I'm running Invidious in a Ubuntu 22.04 LXC container in Proxmox. I installed it manually (not with Docker). It has 100GB of HDD space, 4 CPU cores, and 8GB of memory.

What the hell is going on?

-1
submitted 5 months ago* (last edited 5 months ago) by corroded@lemmy.world to c/unpopularopinion@lemmy.world
 

As is stands, parents are able to claim their children as dependents on their tax returns, which lowers their overall tax liability and in effect means that the parents either pay less in taxes or receive a higher return at the end of each year.

Until they reach the age at which they can work, children are a drain on society. They receive public schooling and receive the same benefit from public services that adults do, yet they contribute nothing in return. At the point that they reach maturity and are gainfully employed and paying taxes, they become a functioning member of society.

If a parent decides to have a child, they are making a conscious decision to produce another human being. They could choose to get a sterilization surgery, use birth control, or abort the pregnancy (assuming they don't live in a backwards state that's banned it). Yet even if they decide to have 15 children, the rest of society has to foot the bill for their poor decisions until the child reaches adulthood.

By increasing taxes on parents instead of reducing them, you not only incentivize safe sex and abortion, but you shift the burden of raising a child solely to the individuals who are responsible for the fact that that child exists.

I am a strong advocate for social programs: Single-payer healthcare, welfare programs, low-income housing, etc, but for adults who in turn contribute what they can. A child should only be supported by the individuals who created it.

 

The majority of my homelab consists of two servers: A Proxmox hypervisor and a TrueNAS file server. The bulk of my LAN traffic is between these two servers. At the moment, both servers are on my "main" VLAN. I have separate VLANs for guests and IoT devices, but everything else lives on VLAN2.

I have been considering the idea of creating another VLAN for storage, but I'm debating if there is any benefit to this. My NAS still needs to be accessible to non-VLAN-aware devices (my desktop PC, for instance), so from a security standpoint, there's not much benefit; it wouldn't be isolated. Both servers have a 10Gb DAC back to the switch, so bandwidth isn't really a factor; even if it was, my switch is still only going to switch packets between the two servers; it's not like it's flooding the rest of my network.

Having a VLAN for storage seems like it's the "best practice," but since both servers still need to be accessible outside the VLAN, the only benefit I can see is limiting broadcast traffic, and as far as I know (correct me if I'm wrong), SMB/NFS/iSCSI are all unicast.

 

I've been running HA for a while, and it's been working well; I haven't had to change much in a few months. That being said, it's fun to tinker with it, and I'm curious to hear what kind of automations the rest of the community is using. What automations are you most proud of? What are your favorite? What kind of interesting automations have you written?

My personal favorite is an automation that displays the current "apparent" temperature on a Hue bulb. It takes an average of the temperature, humidity, and luminance around my property and uses the average to compute an "apparent" (feels like) temperature. Then it applies a cosine function to the apparent temperature (to approximate how people feel temperature change), uses the resulting value to calculate a level between blue and red in CIELAB (a perceptually uniform color space), converts the results to RGB, and sets the color value of the hue bulb. The result is a bulb that changes color so that the change in color (as perceived by the eye) mirrors how the temperature "feels" outside. Ultimately what that means is that we can look at a small lamp with the hue bulb and say "It feels cold outside; we should put on a coat." It's probably overkill, but it was a fun programming exercise. We've started saying things like "It's really blue today, I don't feel like going out."

I'd really enjoy reading what kind of interesting automations everyone else has written.

 

I have a decent amount of video footage that I'd like to share with friends and family. My first thought was Youtube, but this is all home videos that I really don't want to share publicly.

A large portion of my video footage is 4k/60, so I'm ideally looking for a solution where I can send somebody a link, and it gives a "similar to Youtube" experience when they click on the link. And by "similar to Youtube," I mean that the player automatically adjusts the video bitrate and resolution based on their internet speed. Trying to explain to extended family how to lower the bitrate if the video starts buffering isn't really an option. It needs to "just work" as soon as the link is clicked; some of the individuals I'd like to share video with are very much not technically inclined.

I'd like to host it on my homelab, but my internet connection only has a 4Mbit upload, which is orders of magnitude lower than my video bitrate, so I'm assuming I would need to either use a 3rd-party video hosting service or set up a VPS with my hosting software of choice.

Any suggestions? I prefer open-source self-hosted software, but I'm willing to pay for convenience.

view more: next ›