• 22 Posts
  • 166 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle

  • I’m okay with the “human-readability,” but I’ve never been happy with the “machine-readibility” of XML. Usually I just want to pull a few values from an API return, yet every XML library assumes I want the entire file in a data structure that I can iterate through. It’s a waste of resources and a pain in the ass.

    Even though it’s not the “right” way, most of the time I just use regex to grab whatever exists between an opening and closing tag. If I’m saving/loading data from my own software, I just use a serialization library.





  • 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.



  • 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.


  • 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.


  • 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.






  • I think you might be misunderstanding what I’m trying to say. I’m not discounting the value of human culture. I enjoy various types of art, and I am grateful for the people who produce it.

    What doesn’t interest me in the slightest is urban “culture.” By that I mean going to restaurants, attending parties, seeing live music, walking to the corner pub, etc. I haven’t done any of these things in years, and I’m happy. If I discover a musician I like, I’m going to spend some money and buy their record, but I don’t need to be surrounded by a crowd of people listening to them live.

    You mention the term “anti-social behavior,” but that doesn’t describe everyone who’d rather live in a rural area than a city. Some of us just like our peace and quiet. As far as subsidizing roads and shipping to rural areas, you like to eat, right? Where do you think the food came from? You live in a house or an apartment, right? Where did the wood, concrete, and raw materials come from? A huge amount of agriculture and production comes from rural areas, and it’s always going to be necessary to have roads and infrastructure to support this. The fact that I live in the same area that supplied your food doesn’t mean that your tax dollars are paying for roads solely so that I can drive on them.

    I understand that people like you enjoy the busy life of a city and that you can legitimately take advantage of what a city offers. I’m not like that. Large gatherings of people don’t make me happy; they just make me want to leave. My original argument was that a lot of people live in cities because they have to for work. Some of them, like you, live in cities because it makes them happy. For the people that live in urban areas because they have to, I was speculating that many of them might move to more rural areas given the option. I’m not trying to shit on your lifestyle (although I do have strong negative opinions about bicycles on roadways), and I would hope that you extend the same courtesy. Life is short, and in a perfect world, everyone could live in a place that they enjoy.