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

help-circle


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





  • So far as I’m aware, non-occupational pre-nominal honorifics inure to the individual, so generally speaking, if that person doesn’t want to use their title, they don’t have to. And in the same way that most people will go along with someone’s acquired honorific of Dr or Capt or whatever, the same should also apply if someone expressed that their honorific should not used. I have no citation for this, other than what I’ve seen in life.

    As a sidenote, in Britain, I understand that medical doctors are able to use the pre-nominal of Dr, but surgeons specifically will drop the Dr and just use Mr. or Ms.

    Apparently this stems from ages ago when surgeons did not have to have a medical degree, and the doctoral view was that surgeons were akin to butchers. This may have reflected the crudeness of early surgeries. As a result, surgeons developed a history of being Mr – it’s not clear if female surgeons also took on Mr. So after the various laws/rules changed so that surgeons also had to be medically qualified, they still kept the tradition of Mr.

    Thus, a male student of medicine in the UK could go from Mr, graduate to Dr, and then graduate as a surgeon to Mr again. I have no citation for this either, but it’s plausible for the ardently traditional British nation.


  • If you were to properly consider the problem the actual cost would be determined by cost per distance traveled and you essentially decide the distance by which ever you are budgeted for.

    I wrote my comment in response to the question, and IMO, I did it justice by listing the various considerations that would arise, in the order which seemed most logical to me. At no point did I believe I was writing a design manual for how to approach such a project.

    There are much smarter people than me with far more sector-specific knowledge to “properly consider the problem” but if you expected a feasibility study from me, then I’m sorry to disappoint. My answer, quite frankly, barely arises to a back-of-the-envelope level, the sort of answer that I could give if asked the same question in an elevator car.

    I never specified that California would be the best place to implement this process.

    While the word California didn’t show up in the question, it’s hard to imagine a “state on the coast” with “excess solar” where desalination would be remotely beneficial. 30 US States have coastlines, but the Great Lakes region and the Eastern Seaboard are already humid and wet, with rivers and tributaries that aren’t exactly in a drought condition. That leaves the three West Coast states, but Oregon and Washington are fairly well-supplied with water in the PNW. That kinda leaves California, unless we’re talking about Mexican states.

    I’m not dissing on the concept of desalination. But the literature for existing desalination plant around the world showcases the numerous challenges beyond just the money. Places like Israel and Saudi Arabia have desalination plants out of necessity, but the operational difficulties are substantial. Regular clogging of inlet pipes by sealife is a regular occurrence, disposal of the brine/salt extracted is ecologically tricky, energy costs, and more. And then to throw pumped hydro into this project would make it a substantial undertaking, as dams of any significant volume are always serious endeavors.

    At this point, I feel the question is approaching pie-in-the-sky levels of applicability, so I’m not sure what else I can say.


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


  • My recommendation is to start with getting fax to work locally. As in, from port 1 of a single SPA2102 to port 2 of the same. This would validate that your fax machines and the SPA2102 is operational, and is just entertaining in its own right to have a dialtone that “calls” the other port.

    Fortunately, Gravis from the Cathode Ray Dude YouTube channel has a writeup to do exactly that, and I’ve personally followed these steps on an SPA122 with success, although I was doing a silly phone project, not fax project. https://gekk.info/articles/ata-config.html

    If you’re lucky, perhaps fax will Just Work because your machines are very permissive with the signals they receive and can negotiate. If not, you might have to adjust the “fax optimizations” discussed here: https://gekk.info/articles/ata-dialup.html

    And then once local faxing works, you can then try connecting two VoIP devices together over the network. This can be as simple as direct SIP using IP and port number, or can involve setting up a PBX that both devices register against.


  • On one hand, I’m pleased that C++ is answering the call for what I’ll call “safety as default”, since as The Register and everyone else since pointed out, if safety constructs are “bolted on” like an afterthought, then of course it’s not going to have very high adoption. Contrast this to Rust and its “unsafe” keyword that marks all the places where the minimum safety of the language might not hold.

    On the other hand, while this Safe C++ proposal adopts a similar notion of an “unsafe” context, it also adds a “safe” keyword, to specify that a function will conform to compile-time safety checks. But as the proposal readily admits:

    Rust’s functions are safe by default. C++’s are unsafe by default.

    While the proposal will surely continue to evolve before being implemented, I forsee a similar situation as in C where code that lacked initial const-correctness will struggle to work with newer code and libraries. In this case, it would be the “unsafe” keyword that proliferates everywhere just to call older, unsafe code from newer, safe callers.

    Rust has the advantage that there isn’t much/any legacy Rust to upkeep, and that means the volume of unsafe code in Rust proframs is minimal, making them safer overall today. But for Safe C++ code, there’s going to be a lot of unsafe legacy C++ code and that reduces the safety benefit for programs overall, for the time being

    Even as this proposal progresses, the question of whether to start rewriting some code anew in Rust remains relevant. But this is still exciting as a new option to raise the bar in memory safety in C++.




  • For the historical questions, I don’t really have answers, especially where it involves departures from the Western world. I did, however, briefly touch up on Islamic banking, which I’ve always found intriguing as the Islamic faith does not permit charging interest on loans, viewing it as usurious. I’m informed that Christianity also had a similar prohibition on usury, but apparently it fell due to the need to fund the constant wars in Europe.

    I’m not really seeing the difference in feudalism except a members only kind of participation with a crony pool of inbreds, not all that different than the billionaires of today.

    I think the important distinction insofar as stock markets is that the crony pool of inbreds have access, but so too does the commoner. Well, the middle-class commoner usually. And we’ve seen David-vs-Goliath cases where the commoners put up a decent fight against the inbreds’ institutions; the whole GameStonk fiasco comes to mind. An equivalent economic upset would have been wholly impossible at any point during any feudal period in history.

    What are the idealist or futurist potential alternatives between the present and a future where wealth is no longer the primary means of complex social hierarchical display? My premise is that basing hierarchical display on the fundamental means of human survival is barbaric primitivism.

    From conversations I’ve had previously, possible answers to that question are presented in the works of Paul Cockshott, author of Towards A New Socialism. I’ve not read it, but friends in Marxist-Leninist parties have mentioned it. The Wikipedia page, however, notes that it’s an economics book, which could be fairly technical and difficult to read. Sort of like how Das Kapital is more-or-less a textbook, in contrast with how Wage Labour And Capital was meant for mass consumption.

    Wealth extraction neglects the responsibility of the environment and long term planning.

    True. The cost to the environment is not “internalized”, to use the technical term. Hence, it doesn’t need to be paid for, and is thus “free real estate”. Solutions to internalize environmental harm include carbon taxes or cap-and-trade. But the latter is a lukewarm carbon tax because it only looks at the end-result emissions, rather than taxing at the oil well, so to speak.

    I’m curious how humanity evolves in a distant post scarcity future but without becoming authoritarian or utopian/dystopian

    Might I recommend The Three-Body Problem and the trilogy overall by Liu Cixin? This phenomenal hard scifi work describes a space-faring future where the human species faces a common, external threat. After all, much of today’s progress was yesterday’s scifi. So why not look to scifi to see what tomorrow’s solutions might be. It’s no worse than my crystal ball, which is foggy and in need of repair.


  • If you’re in the USA, I cannot understate how useful it may be to refer to the US Bureau of Labor Statistics’s (BLS) Occupational Outlook Handbook (OOH), a resource which I believe has no direct comparison:

    How can I learn about an occupation that is of interest to me?

    The Occupational Outlook Handbook (OOH) provides information on what workers do; the work environment; education, training, and other qualifications; pay; the job outlook; information on state and area data; similar occupations; and sources of additional information for more than 300 occupational profiles covering about 4 out of 5 jobs in the economy.

    As for answering the question, anecdotal conversations I’ve had suggest that the trades (eg glazier, electrician, plumber) in the USA are promising fields, since while the nature of the job might change with different needs, people still require electric wires and piped water. But the OOH could give you more specific outlooks for those specific trades.

    I was once told that plumbers can make very serious sums of money, even if they’re only ever installing supply-side piping. That is to say, the plumbing for water supply, as compared to drainage or sewer pipe, which are generally perceived as less appealing.


  • I’ll take a shot from the hip at this question, but note that I won’t add my customary citations or links.

    The stock market is the paragon of property and trusts, contracts, corporations and law, and the capitalist socio-economic system. The very existence of the stock market implies a society that has some or most of these concepts.

    For example, for shares to be traded, there generally must exist ownership rights upon the shares, distinct from the ownership rights that the company has of its own property. Or if not outright ownership of a share, then the benefit that a share provides (eg dividends). It also implies a legal system that will enforce these rights and the obligations of the company to its shareholders.

    For a tradable company to exist, it must be organized/chartered as an entity distinct from any single person. This is different than the feudal days, when ventures would be undertaken “in right of the King” or some member of the nobility. The feudal method wouldn’t work for modern companies, or else the King/Duke/Count/whatever could stiff the shareholders by just taking all the earnings. The company still needs to be created by legal means, either an Act of Parliament/Congress, by letter patent from the Monarch, or the modern administrative method of applying to the state Secretary of State (USA) or Companies House (UK) as examples.

    Even the structure of a for-profit tradeable company – when compared to a state-owned enterprise, a non-profit, a co-op, or an NGO or QUANGO – is a representation of the values inherent to capitalism. A company is obliged to use the shareholders’ funds – which is held by the company but is owed to the shareholders – to extract the greatest return. But this can come in many forms.

    Short-term value from buying investments and quickly flipping them (eg corporate home buyers) is different than rent-seeking (eg corporate landlords) and is still different than long-term investments that actively work to build up the value (eg startup incubators, private wealth funds, Islamic banking, transit-owned adjacent property). If a for-profit company doesn’t have a plan to extract a return… they’re in hot water with the shareholders, with penalties like personal liability for malfeasance.

    Another way of looking at the stock market is that if you have all the underlying components but don’t yet have a stock market, it would soon appear naturally. That is to say, if the public stock markets were banned overnight, shares would still trade but just under the table and without regulation. But if any critical part underpinning the markets stopped existing, then the market itself would collapse.

    History shows numerous examples where breakdowns of the legal system resulted in market mayhem, or when corporate property is expropriated for the Monarch’s wars or personal use, or when funds invested into or paid out of companies is hampered by terrible monetary inflation.

    As for what the stock market does, its greatest purpose is to organize investments into ventures. Historically, ventures were things like building a ship to sail to the New World and steal obtain goods to sell at home. Merchant ships were and are still very expensive, so few singular persons could afford it. And even if the could, the failure of the venture could be catastrophic for that person’s finances. Better to spread the risk and the reward amongst lots of people.

    What was once the sole domain of the landed gentry and nobility, slowly opened to the nouveau riche during the Industrial Revolution(s), then in turn to everyday people… for better or worse. It’s now almost trivial to buy a share in any particular listed company, but just opening the stock market to everyone would have been chaotic at best. I think it’s NYSE that still has on-floor traders/brokers, but imagine if all shares in that market had to be traded in a single room, with no digital trading. It’s already quite lively on the trading floor today, now add all the trades from middle class Americans on payday. It would become physically impossible.

    Likewise, a pure capitalist stock market would permit awful things like bribing journalists to write fake stories to crash a stock, then buy it for cheap. Or pump and dump scams. And would have no “circuit breakers” that halt a share during so-called flash crashes.

    I’m reminded of a scene from the ITV show Agatha Christie’s Poirot in the episode “Appointment With Death”, where a wealthy woman is not only murdered but her business empire collapses because the murderer also spooks the markets as a double whammy, causing investors to panic and sell up. The relevant implications here is that despite her company not having changed its financial picture, it got cut up for scrap and thus lost most of its value, rendering the business worthless in the end. Companies are usually valued more as a going-concern, above what all its property put together would amount to. Where does that additional value come from? It’s the prospect of a return from this particular assemblage of resources.

    Suffice it to say, the stock market is a lot of things. But I view it as a natural result of certain other prerequisites, meaning we can’t really get rid of it, so instead it should be appropriately regulated.


  • From an urban planning perspective, there are some caveats to your points:

    A new downtown would make a subway very easy and cheap to build, you could cut and cover instead of tunnelling

    Cut-and-cover will make shallow underground tunnels cheaper to construct in almost all cases irrespective of building in an old city center or as part of building a new city center from scratch. In fact, older pre-WW2 cities are almost ideal for cut-and-cover because the tunnels can follow the street grid, yielding a tunnel which will be near to already-built destinations, while minimizing costly curves.

    Probably the worst scenario for cut-and-cover is when the surface street has unnecessary curves and detours (eg American suburban arterials). So either the tunnel follows the curve and becomes weirdly farther from major destinations, or it’s built in segments using cut-and-cover where possible and digging for the rest.

    Cheeeaaap land for huge offices, roads, and even houses

    At least in America, where agricultural land at the edges of metropolitan areas is still cheap, the last 70 years do not suggest huge roads, huge offices, and huge house lead to a utopia. Instead, we just get car-dependency and sprawl, as well as dead shopping malls. The benefits of this accrued to the prior generations, who wheeled-and-dealed in speculative suburban house flipping, and saddled cities with sprawling infrastructure that the existing tax base cannot afford.

    Green field is just so cheap.

    It is, until it isn’t. Greenfield development “would be short term appealing but still expensive when it comes to building everything”. It’s a rare case in America where post-WW2 greenfield housing or commercial developments pay sufficient tax to maintain the municipal services those developments require.

    Look at any one municipal utility and it becomes apparent that the costs scale by length or area, but the revenue scales by businesses/households. The math doesn’t suggest we need Singapore-levels of density, but constant sprawling expansion will put American cities on the brink of bankruptcy. As it stands, regressive property tax policies result in dense neighborhoods subsidizing sprawling neighborhood, but with nothing in return except more traffic and wastewater.

    Either these cities must be permitted to somehow break away from their failed and costly suburban experiments, or the costs must be internalized upon greenfield development, which might not make it cheap anymore.


  • commercial appliances didn’t take any stand-by measures to avoid “keeping the wires warm”

    Generally speaking, the amount of standby current attributable to the capacitors has historically paled in comparison to the much higher standby current of the active electronics therein. The One Watt Initiative is one such program that shed light on “vampire draw” and posed a tangible target for what standby power draw for an appliance should look like: 1 Watt.

    A rather infamous example of profligate standby power was TV set-top boxes, rented from the satellite or cable TV company, at some 35 Watts. Because these weren’t owned by customers, so-called free-market principles couldn’t apply and consumers couldn’t “vote with their feet” for less power-hungry set-top boxes. And the satellite/cable TV companies didn’t care, since they weren’t the ones paying for the electricity to keep those boxes powered. Hence, a perverse scenario where power was being actively wasted.

    It took both carrots (eg EnergyStar labels) and sticks (eg EU and California legislation) to make changes to this sordid situation. But to answer your question in the modern day, where standby current mostly is now kept around 1 Watt or lower, it all boils down to design tradeoffs.

    For most consumer products, a physical power-switch has gone the way of the dodo. The demand is for products which can turn “off” but can start up again at a moment’s notice. Excellent electronics design could achieve low-power consumption in the milliwatts, but this often entails an entirely separate circuit and supply which is used to wake up the main circuit of the appliance. That’s extra parts and thus more that can go wrong and cause warranty claims. This is really only pursued if power consumption is paramount, such as for battery-powered devices. And even with all that effort, the power draw will never be zero.

    So instead, the more common approach is to reuse the existing supply and circuitry, but try to optimize it when not in active operation. That means accepting that the power supply circuitry will have some amount of always-on draw, and that the total appliance will have a standby power draw which is deemed acceptable.

    I would also be remiss if I didn’t mention the EU Directives since 2013 which mandate particular power-factor targets, which for most non-motor appliances can only be achieved with active components, ie Active Power Factor Correction (Active PFC). While not strictly addressing standby power, this would be an example of a measure undertaken to avoid the heating caused by apparent power, both locally and through the grid.


  • How were you measuring the current in the power cable? Is this with a Kill-o-watt device or perhaps with a clamp meter and a line splitter?

    As for why there is a capacitor across the mains input, a switching DC power supply like an ATX PSU draws current in a fairly jagged fashion. So to stabilize the input voltage, as well as preventing the switching noise from propagating through the mains and radiating everywhere, some capacitors are placed across the AC lines. This is a large oversimplification, though, as the type and values of these capacitors are the subject of careful design.

    Since a capacitor charges and discharges based on the voltage across it, and because AC power changes voltage “polarity” at 50 or 60 Hz, the flow of charge into and out of the capacitor will be measurable as a small current.

    Your choice of measuring instrument will affect how precisely you can measure this apparent power, which will in-turn affect how your instrument reports the power factor. It can also be that the current in question also includes some of the standby current for keeping the PSU’s logic ICs in a ready state, for when the computer starts up. So that would also explain why the power factor isn’t exactly zero.


  • A few months ago, my library gained a copy of Cybersecurity For Small Networks by Seth Enoka, published by No Starch Press in 2022. So I figured I’d have a look and see if it it included modern best-practices for networks.

    It was alright, in that it’s a decent how-to guide for a novice to set up sensible, minimum network fortifications. But it only includes an overview of how those fortifications work, without going into the additional depth needed to fine-tune or optimize them for specific environments. So if the reader has zero experience with network security, it’s a worthwhile read. But if you’ve already been operating a network with defenses for a while, there’s not much to gain from this particular text.

    Also, the author suggests that IPv6 should be disabled, which is a terrible idea. Modern best-practice is not to pretend IPv6 doesn’t exist, but to assure that firewalls and other defenses are configured to handle this traffic. There’s a vast difference between “administratively reject IPv6 traffic in/out of the WAN” and “disable IPv6 on all devices and pray no one ever connects an IPv6-enabled device”.

    You might have a look at other books available from No Starch Press, though.