• 1 Post
  • 172 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle
  • I don’t have a complete answer, but the mechanization of warfare should have a lot to do with it. Things like the semi-automatic pistol – they would have called it an “automatic” pistol during that era – the modern hand grenade, the airplane for reconnaissance (although lighter-than-air balloons might have been used? IDK), and other weapons wouldn’t have really appeared for the Mexican-American War (1846-1848).

    Or did you mean the Spanish-American War (1898)? I think the same logic still stands, especially since train networks would have been more fully developed by the turn of the century.




  • For other examples of countries-in-countries, we can look to Switzerland, Germany, and the USA. A casual observation of all three are that their first-level political subdivision is known as a “state” and not “province” or “territory”.

    Swiss history – which I admit I’m not that clear on – shows that the modern sovereign state formed as a loose confederation of smaller kingdoms unifying together. Indeed, the foundational document of the modern Swiss Confederation in 1848 directly drew inspiration from the USA Constitution of 1789. However, they made some modifications, such as having a 7-person Federal Council, which together fulfill the role akin to the American President. That is, the role of Head of State and also Head of Government (aka a Prime Minister). This style of executive governance hews more closely to the rich Swiss traditional of direct democracy, rather than that of a purely representative republic.

    Germany, specifically the successor state of West Germany post-WW2, and then the unified state of Germany post reunification, is a federal republic. A republic to restore the functions of the earlier Weimar Republic, and a federation of states because of USA influence in drafting the Basic Law – Germany’s Constitution – following WW2. But unlike the USA federal system, the German system would mimic the parliamentary system of Westminster, being that of the United Kingdom. So while governmental power is distributed amongst the several states and the federation, the governance would be through indirect election of the Prime Minister. The idea is that by dividing power this way, no mustached fellow with fascist ideas could take control of the organs of power again.

    Finally, examining the oldest continually-operating example, the USA currently is composed of a strong federal entity and 50 US States that wield all remaining power not reserved to the federal government. But initially, this is not what the American Founding Fathers had in mind at all. The late 1700s envisioned the original 13 colonies of the early United States of America to be independent countries that confederated for common causes, like defense and foreign policy. The precursor to the US Constitution – the Articles of Confederation (1777) – tried this, but problems quickly arose because each State had their own currency, debt levels, legal systems, and often undermined each other to advance their own position, such as favoring in-state citizens in lawsuits filed by out-of-state citizens. This made trade difficult and the federal government had little power to do anything about this.

    Even with the revised US Constitution document, the whole weak federal government thing continued until the 1860s during the American Civil War, with the aftermath being a federal government that fully asserted its powers under the US Constitution. Any notion of US States being country-like would have fully evaporated by then, especially during Reconstruction when the Guarantee Clause was used to install military governance in the defeated southern states until reintegration into the Union. Such a thing would be impossible for a modern country/sovereign state.

    Fun fact: the Guarantee Clause is why a US State cannot convert itself into a hereditary monarchy. The Constitution does not allow for a Monarchy of South Carolina, and we’re probably all better off for it anyway. Although if the role was an elected position – like with the Co-Prince of Andorra – then that might be permissible.

    To that end, the modern US State is still a sovereign entity, in that certain things are wholly within their domain and not of the federal government’s. But US States are still beholden to the US Constitution, use the same money as the Union, and must honor interstate commerce and contracts from in- and out-of-state, as well as judicial rulings from the federal court system. But this dual sovereignty system post 1860s continues to evolve, with some states encroaching on federal authority, such as with border control.

    Aspects of these three example countries find their way into most of the modern governments of Western countries, so hopefully this was a useful explainer.


  • I’ll take a cursory stab, but other references exist for the minutiae of how these things came to be.

    Britain == United Kingdom

    Great Britain == an island wholly within the UK

    United Kingdom: a sovereign state (eg USA, Germany) composed of the constituent countries of England, Scotland, Wales, and Northern Ireland, plus a few overseas territories.

    Briton: a British citizen, or someone tracing their ancestry to the UK constituent countries

    The short answer for why a country (UK) can have countries (eg Scotland) in it is because the notion of sovereign states (the modern definition of countries) only came into existence in the 18th century or so.

    Canada, formerly the Dominion of Canada, formed from the British North American holdings plus the French parts that the British bought (ie Quebec). Granted self governance in the 1860s, independence in the 1930s, and finally full “patriation” in the 1980s to remove all vestiges of the UK from Canadian laws. However, the independent Monarchy of Canada remains, and just happens to coincidentally follow the exact same selection rules as the British Monarch. So the King of Canada will be the same person as the King of the United Kingdom, even though the Government of Canada is no longer controlled by the Government of the United Kingdom. In both sovereign states, the King is a figurehead from where authority and governmental legitimacy emanates, and the current King of Canada continues the tradition since Queen Elizabeth II that the Monarch’s appointed Governor-General of Canada shall represent the Monarch in all Canadian matters, meaning the Monarch will not directly involve themselves. In fact, it’s frowned upon for politicians to involve the Monarch directly, except to kindly ask for a new Governor-General (see 1975 Australia).

    Why still keep the Monarchy of Canada? The voters haven’t chosen otherwise, to pursue a republic or any other form of government. The same applies in Australia, although it’s slightly more complicated as each Australian State derives their state-level authority from the Australian Monarch, whereas Canadian provinces exist as a part of the singular Canadian confederation; each Australian State would have to sever their connection to the Monarch, or could do so piece-meal. Nevertheless, with the Monarch delegating power within each of his “realms” to the respective Governor-General, becoming a republic is a matter of passing bills in the parliamentary system. Barbados did exactly this in 2022, replacing Queen Elizabeth II with a republic. Countries formerly part of the British Empire (circa 1930) usually join The Commonwealth of Nations, which just means they’d like to keep trading with each other but without the whole colonialism thing.

    The end of the British Empire was basically slow-going, since once some parts (eg Canada) received a measure of devolved powers (like having their own parliament), the door was swung open for other parts to demand the same. Post WW2, with the status of the UK greatly diminished in deference to the USA and USSR, overseas colonies became expensive and untenable. Plus, one of the basic tenets of the United Nations – put in place to avoid yet another world war – was the right to self determination. So the colonies had to go free.

    Ironically, the Scottish Parliament was not restored until 1998, having legally stopped existing with the Acts of Union 1707 that merged England and Scotland into the United Kingdom, with a single parliament but otherwise separate institutions and laws. To this day, the English Parliament has not been restored, and thus England affairs are directed by the UK Parliament at large.

    The British Isles includes both the Island of Great Britain (where Wales, Scotland, and England are) plus the Island of Ireland (where the Republic of Ireland, and Northern Ireland are), and a few smaller islands. So yes, every part of Great Britain is a part of the UK sovereign state, but the UK also includes the Isle of Mann and the upper part of the Island of Ireland, and some others.

    In all circumstances, “Ireland” means the Republic of Ireland; that republic is almost never called “southern Ireland”. The whole history of British colonialism in Ireland is long, sordid, and full of misery, culminating with The Troubles of the 1960s and still causing concern post-Brexit due to the EU border basically dividing the Island of Ireland.

    TL;DR: everything about British history is messy. Even their former colonies have messy history, despite some being at most a few hundred years old.



  • To start, let’s verify that Bluesky the app is indeed open-source. Yep, it is. But that’s not the same as having all the machinery be open-source, where anyone could spin up their own, compatible service; maybe named ExampleSky. To be compatible, ExampleSky would need to use the same backend interface – aka protocol – as Bluesky, which is known as ATProto. The equivalent (and older) protocol behind Mastodon and Lemmy is ActivityPub.

    ATProto is ostensibly open-source, but some argue that it’s more akin to “source available” because only the Bluesky parent company makes changes or extensions to the protocol. Any alternative implementation would be playing a game of chase, for future versions of the protocol. History shows that this is a real risk.

    On the flip side, Mike Masnick – founder of Techdirt, author of the 2019 paper advocating for “protocols, not platforms” that inspired Bluesky, and recently added member of the board of Bluesky, replacing Jack Dorsey – argues that the core ability to create a separate “Bluesky2” is where the strength of the protocol lays. My understanding is that this would act as a hedge to prevent Bluesky1 from becoming so undesirable that forking to Bluesky2 is more agreeable. To me, this is no different than a FOSS project (eg OpenOffice) being so disagreeable that all the devs and users fork the project and leave (eg LibreOffice).

    But why a common protocol? As Masnick’s paper argues, and IMO in full agreement with what ActivityPub has been aiming towards for years, is that protocols allow for being platform-agnostic. Mastodon users are keenly aware that if they don’t like their home instance, they can switch. Sure, you’ll have to link to your new location, but it’s identical to changing email providers. In fact, email is one of the few protocol-agnostic systems in the Internet still in continued use. Imagine if somehow Gmail users couldn’t send mail to Outlook users. It’d be awful.

    Necessarily, both ActivityPub and ATProto incorporate decentralization in their designs, but in different fashions. ActivityPub can be described as coarse decentralization, as every instance is a standalone island that can choose to – and usually does – federate with other instances. But at the moment, core features like registration, login, or rate limiting, or spam monitoring, are all per-instance. And as it stands, much of those involve a human, meaning that scaling is harder. But the ActivityPub design suggests that instances shouldn’t be large anyway, so perhaps that’s not too big an issue.

    ATProto takes the fine-grained design approach where each feature is modular, and thus can be centralized, farmed out, or outright decentralized. Now, at this moment, that’s a design goal rather than reality, as ATProto has only existed for so many years. I think it’s correct to say for now that Bluesky is potentially decentralizable, in the coarse sense like how Mastodon and Lemmy are.

    There are parts of the Bluesky platform – as in, the one the Bluesky organization runs – which definitely have humans involved, like the Trust and Safety team. Though compared to the total dismantlement of the Twitter T&S team and the resulting chaos, it may be refreshing to know that Bluesky has a functional team.

    A long term goal for Bluesky is the “farming out” of things like blocklists or algorithms. That is to say, imagine if you wanted to automatically duplicate the blocks that your friend uses, because what she finds objectionable (eg Nazis) probably matches your own sensibilities, then you can. In fact, at this very moment, I’m informed that Bluesky users can subscribe to a List and implement a block against all members of the List. A List need not be just users, but can also include keywords, hashtags, or any other conceivable characteristic. Lists can also be user-curated, curated by crowd sourcing, or algorithmically generated. The latter is the long goal, not entirely implemented yet. Another example of curation is “Starter Packs”, a List of specific users grouped by some common interest, eg Lawsky (for lawyers). Unlike a blocklist which you’d want to be updated automatically, a Starter List is a one-time event to help fill your feed with interesting content, rather than algorithmic random garbage.

    So what’s wrong with Bluesky then? It sounds quite nice so far. And I’m poised to agree, but there’s some history to unpack. In very recent news, Bluesky the organization received more venture capital money, which means it’s worth mentioning what their long term business plan is. In a lot of ways, the stated business plan matches what Discord has been doing: higher quality media uploads and customizations to one’s profile. The same statement immediately ruled out any sort of algorithmic upranking or “blue checks”; basically all the ails of modern Twitter. You might choose to take them at their word, or not. Personally, I see it as a race between: 1) ATProto and the Bluesky infra being fully decentralized to allow anyone to spin up ExampleSky, and 2) a potential future enshittification of Bluesky in service of the venture capitalists wanting some ROI.

    If scenario 1 happens first, then everyone wins, as bridging between ActivityPub and ATProto would make leaps and bounds, and anyone who wants their own ATProto instance can do so, choosing whether they want to rely on Bluesky for any/all features or none at all. Composability of features is something that ATProto can meaningfully contribute to the protocol space, as it’s a tough nut to crack. Imagine running your own ATProto instance but still falling back on the T&S team at Bluesky, or leveraging their spam filters.

    But if scenario 2 happen first, then we basically have a Twitter2 cesspool. And users will once again have to jump ship. I’m cautiously hopeful that the smart cookies at Bluesky can avoid this fate. I don’t personally use Bluesky, being perfectly comfortable in the Fediverse. But I can’t deny that for a non-tech oriented audience, Bluesky is probably what I’d recommend, and to opt-in to bridging with the Fediverse. Supposed episodes of “hyping” don’t really ring true to me, but like I said, I’m not currently an invested user of Bluesky.

    What I do want to see is the end result of Masnick’s paper, where the Internet hews closer to its roots where interoperability was the paramount goal, and the walled gardens of yore waste away. If ATProto and ActivityPub both find their place in the future, then IMO, it’ll be no different than IMAP vs POP3.


  • Pew Research has survey data germane to this question. As it stands, a clear majority (79%) of opposite-sex married women changed their family/last name to their husband’s.

    But for never-married women, only a third (33%) said they would change their name to their spouse’s family name. 24% of never-married women were unsure whether they would or wouldn’t change their name upon marriage.

    From this data, I would conclude that while the trend of taking the husband’s last name is fairly entrenched right now, the public’s attitude are changing and we might expect the popularity of this to diminish over time. The detailed breakdown by demographic shows that the practice was less common (73%) in the 18-49 age group than in the 50+ age group (85%).

    Pew Research name change data

    However, some caveats: the survey questions did not inquire into whether the never-married women intended on ever getting married; it simply asked “if you were to get married…”. So if marriage as a form of cohabitation becomes less popular in the future, then the change-your-family-name trend could be in sharper decline than this data would suggest.

    Alternatively, the data could reflect differences between married and never-married women. Perhaps never-married women – by virtue of not being married yet – answered “would not change name” because they did not yet know what their future spouse’s name is. No option for “it depends on his name” was offered by the survey. Never-married women may also more-strongly consider the paperwork burden – USA specific – for changing one’s name.

    So does this help answer your question? Eh, only somewhat. Younger age and left-leaning seem to be factors, but that’s a far cry from cause-and-effect. Given how gradual the trend is changing, it’s more likely that the practice is mostly cultural. If so, then the answer to “why is cultural practice XYZ a thing?” is always “because it is”.




  • I am a software engineer by trade, so when I started cooking, everything and every tool was intimidating, because I had no idea how it worked nor what it was meant for. I knew nothing about knives besides not to drop one, didn’t know the difference between a wok and a skillet, and didn’t understand how oil creates a non-stick surface on a non-non-stick pan.

    What helped me was a book that wasn’t like a recipe or cook book, but something closer to a food and kitchen textbook. The Food Lab by Kenji Lopez-Alt goes into some excruciatingly scientific detail about the role of different kitchen implements, and then showcasing recipes that apply theory to practice. Each step in the recipes thoroughly describe what to do, and the author puts a lot of content onto his YouTube channel as well.

    It was this book that convinced me to buy, strip, and season a cast iron pan, which has already proven its worth as a non-sticking vessel comparable to my old Teflon-coated pans. And I think for you, reading the theory and following some of the recipes might develop sufficient experience to at least be comfortable in an active kitchen. It’s very much a chicken-and-egg problem – if you’ll pardon the poultry pun – but this book might be enough to make progress in the kitchen.

    Also, since it was published in 2015, it’s very likely available at your local library, so check there first before spending money to buy the book. Good luck with your culinary development!


  • I was once working on an embedded system which did not have segmented/paged memory and had to debug an issue where memory corruption preceded an uncommanded reboot. The root cause was a for-loop gone amok, intending to loop through a linked list for ever member of an array of somewhat-large structs. The terminating condition was faulty, so this loop would write a garbage byte or two, ever few hundred bytes in memory, right off the end of the 32 bit memory boundary, wrapping around to the start of memory.

    But because the loop only overwrote a few bytes and then overflew large swaths of memory, the loop would continue passing through the entire address space over and over. But since the struct size wasn’t power-of-two aligned, eventually the garbage bytes would write over the crucial reset vector, which would finally reboot the system and end the misery.

    Because the system wouldn’t be fatally wounded immediately, the memory corruption was observable on the system until it went down, limited only by the CPU’s memory bandwidth. That made it truly bizarre to diagnose, as the corruption wasn’t in any one feature and changed every time.

    Fun times lol


  • I’m not a water or energy expert, but I have occasionally paid attention to the California ISO’s insightful – while perhaps somewhat dry – blog. This is the grid operator that coined the term “duck curve” to describe the abundance of solar energy available on the grid during the daylight hours, above what energy is being demanded during those hours.

    So yes, there is indeed an abundance of solar power during the daytime, for much of the year in California. But the question then moves to: where is this power available?

    For reference, the California ISO manages the state-wide grid, but not all of California is tied to the grid. Some regions like the Sacramento and Los Angeles areas have their own systems which are tied in, but those interconnections are not sufficient to import all the necessary electricity into those regions; local generation is still required.

    To access the bulk of this abundant power would likely require high-voltage transmission lines, which PG&E (the state’s largest generator and transmission operator) operates, as well as some other lines owned by other entities. By and large, building a new line is a 10+ year endeavor, but plenty of these lines meet up at strategic locations around the state, especially near major energy markets (SF Bay, LA, San Diego) and major energy consumers (San Joaquin River Delta pumping station, the pumping station near the Grapevine south of Bakersfield).

    But water desalination isn’t just a regular energy consumer. A desalination plant requires access to salt water and to a freshwater river or basin to discharge. That drastically limits options to coastal locations, or long-distance piping of salt water to the plant.

    The latter is difficult because of the corrosion that salt water causes; it would be nearly unsustainable to maintain a pipe for distances beyond maybe 100 km, and that’s pushing it. The coastal option would require land – which is expensive – and has implications for just being near the sea. But setting aside the regulatory/zoning issues, we still have another problem: how to pump water upstream.

    Necessarily, the sea is where freshwater rivers drain to. So a desalination plant by the ocean would have to send freshwater back up stream. This would increase the energy costs from exorbitant to astronomical, and at that point, we could have found a different use for the excess solar, like storing it in hydrogen or batteries for later consumption.

    But as a last thought experiment, suppose we put the plant right in the middle of the San Joaquin River Delta, where the SF Bay’s salt water meets the Sacramento River’s freshwater. This area is already water-depreased, due to diversions of water to agriculture, leading to the endangerment of federally protected species. Pumping freshwater into here could raise the supply, but that water might be too clean: marine life requires the right mix of water to minerals, and desalinated water doesn’t tend to have the latter.

    So it would still be a bad option there, even though power, salt water, and freshwater access are present. Anywhere else in the state is missing at least one of those three criteria.


  • It’s a straightforward question with a not-so-straightforward answer. I’m not any sort of lawyer, but I will borrow the classic lawyer answer of: “It Depends”.

    To start, the question of legalizing cannabis – meaning its sale, distribution, and consumption is as easy as for any other good – is distinct from the question of decriminalizing cannabis, which means it’s not a criminal offense to grow, sell, or consume.

    Right off the bat, we can say that the US President cannot fully legalize cannabis nationwide with the stroke of a pen, because the several states can (and already do?) have their own laws and regulations on cannabis and other drugs, parallel to the federal laws. But decriminalization is feasible, since the federal statues that criminalize cannabis are based on the drug schedules, which are regulations issued by DEA pursuant to authority granted by Congress. And that matters because most drug defendants are prosecuted under federal law.

    Of course, the several states could start writing their own laws to criminalize cannabis, but that would be kinda weird since the majority of states already allow medical marijuana, and a fair number allow recreational marijuana. So re-criminalizing cannabis would repeal those rather popular laws.

    So we move to how the DEA can amend the drug schedules, or how the US President can instruct the DEA Administrator. Because Congress is the grantor of such authority to the DEA and other executive agencies, and seeking to prevent regulations from whimsically flip-flopping with the passing breeze, Congress introduced the Administrative Procedures Act (APA) in 1946.

    As the name suggests, the Act sets up the rules for how regulations issued by agencies shall be performed. Most of the rules mirror those of Congressional procedure, meaning that the agency must conduct hearings on proposed rule changes openly, with the opportunity for the public to submit comments. That is, regulations suddenly appearing from behind closed doors is not permitted.

    Part of the rules require fixed timelines, such as a number of days for sending in comments, plus a number of days for publishing the full text of the proposed rule into the Federal Register, before the rule can become active.

    Furthermore, the Act instructs the judiciary to review regulations if someone raises a challenge to the adopted regulation. Among the things the judiciary will look at is whether the regulation is improperly “arbitrary and capricious”, meaning the regulation was pretextual and is instead serving a goal outside of what Congress intended for the agency to be doing. That link describes some examples deemed to be impermissible.

    If the US President issued a brief, non-explanatory executive order to remove cannabis from the drug schedules, thus shortcutting the rulemaking procedure and the period for public comment, a court challenge could arise where someone claims the regulation is arbitrary and capricious, since Congress would have expected the DEA to do a full, extensive job of considering the implications of drug availability. If the executive order does not do a similarly extensive consideration of what the DEA staff would do, then the court challenge would stand a decent chance. To be clear, the regulation via executive order would be struck down on procedural grounds, per the APA.

    What if instead, the US President sternly instructs the DEA Administrator to immediately consider descheduling cannabis? This is more likely to withstand challenge, since the DEA staff would go through their normal evaluation procedure, even if it’s at an expedited rate. Thoroughness is one way to avoid being struck for arbitrary-and-capriciousness.

    But there’s still a wrinkle, due to the recent demise of Chevron Deference, a doctrine where federal courts generally defer to the subject-matter experts within an executive agency if the enabling law was silent, so long as the APA’s other requirements were met. This leads to the weird possibility that a federal judge – who is unlikely to be well-versed in drug and social implications – can substitute the learned opinion of doctors and scientists within DEA with their own judicial opinion. If this sounds similar to the very arbitrary-and-capricious issue from earlier, you’d be right: a single person – in the judiciary, no less – writing regulations for drug policy is hardly what Congress intended in authoring the Controlled Substance Act in the 70s.

    The overall answer is that the US President has significant sway over the DEA Administrator and can expedite the rulemaking process to deschedule cannabis, thus decriminalizing it at the federal level. But even an un-expedited rulemaking process would attract legal challenges like flies to flypaper, slowing down when the regulation comes into force. And if a federal judge decides to do so, they can outright cancel the descheduling regulation, choosing to not defer to the DEA, even if the DEA articulated their reasoning well. While it would make logical sense that such a judge must have jurisdiction over DEA, which is headquartered in Washington DC, the reality is that federal agencies can be challenged in any federal court, including ones with, uh, very outspoken opinions on federalism.

    A more permanent change would be to decriminalize/legalize through Congress, since at that point, no future administration could roll that back. We’ve seen how fragile some rules or rulings can be, namely in the case of Roe v Wade being undone, as the decision was never codified into law, which would have made it much safer from judicial challenges.

    It really depends.



  • This article indicates that the USA FDA allows for up to a 20% margin of error for values required to be on the Nutrition Facts label. The article also describes multiple methods of measuring the calorific value of food, either by burning it in the not-so-TSA-friendly-named bomb calorimeter or through methods that have standardized the calorific value of each constituent nutrient.

    It’s also the case that not every foodstuff is perfectly identical to all other products. A banana is hardly going to be constituted exactly like another banana, and even the most basic measurement of mass will not match up to other bananas. Yet some sort of “standard” banana must be assumed in order to print the nutrition label.

    As an aside, I do fondly remember making a bomb calorimeter in chemistry class using a polystyrene cup as the insulation. It worked remarkably well, IIRC, being within 10% of what we were given as the expected value. Obviously, real measurements would be far more controlled than what some college freshmen can manage, but the concept is sound, if only measuring what the food provides, not necessarily what the human digestive tract can extract.

    As an aside to an aside, celery appears to not be a negative-calorie food, even after considering human digestion.


  • I live in a sunny climate (California), so I’m genuinely curious: would the solution to icy roads be winter tires? And does winter tire == snow tire?

    I understand studded tires are also an option, but I think their use in this state is heavily curtailed or outright prohibited because of the damage they inflict on the road surface.

    I don’t think I’d ever want to tackle ice in an automobile, although I’m told studded bicycle tires are very competent in winter and don’t have as many performance penalties as their car equivalent. I’d probably try that at least once in this lifetime.




    1. The return value of time.time() is actually a floating-point number … It’s also not guaranteed to be monotonically increasing, which is a whole other thing that can trip people up, but that will have to be a separate blog post.

    Oh god, I didn’t realize that about Python and the POSIX spec. Cautiously, I’m going to guess that GPS seconds are one of the few reliable ways to uniformly convey a monotonically-increasing time reference.

    Python has long since deprecated the datetime.datetime.utcnow() function, because it produces a naive object that is ostensibly in UTC.

    Ok, this is just a plainly bad decision then and now by the datetime library people. What possible reason could have existed to produce a TZ-naive object from a library call that only returns a reference to UTC?