[-] litchralee@sh.itjust.works 66 points 4 weeks ago

PS: Reddit doesn't allow edit post titles, needed to repost

But this is Lemmy.

1
submitted 2 months ago* (last edited 2 months ago) by litchralee@sh.itjust.works to c/dull_mens_club@lemmy.world

A while ago, I wrote this overview of California's Coast Rail Corridor project, which would run conventional trains between the existing, popular, state-subsidized commuter rail systems in Northern and Southern California. This is nowhere near as sexy as high-speed rail, but imagine a single seat that rolls through the rice paddies outside Sacramento, past the oil refineries of Richmond in the Bay Area, down through Oakland adjacent the Coliseum, bisecting Silicon Valley, then hugging the coast of Central California towards the beaches of Santa Barbara entering Los Angeles County and then further to San Diego.

Then make it affordable and timely, and all of a sudden there's a way to spend time watching the scenery slowly, while also being practical. Trains are much less of a slog than sitting on a bus. High speed rail is important and laudable, but this humble, rather dull project will likely carry passengers between north and south a decade or more before high speed rail does, which is why the state is pursuing it in parallel.

I hope this type of content is an alright fit for this community.

[-] litchralee@sh.itjust.works 37 points 3 months ago* (last edited 3 months ago)

As it happens, this is strikingly similar to an interview question I sometimes ask: what parts of a multitasking OS cannot be written wholly in C. As one might expect, the question is intentionally open-ended so as to query a candidate's understanding of the capabilities and limitations of the C language. Your question asks about Python, but I posit that some OS requirement which a low-level language like C cannot accomplish would be equally intractable for Python.

Cutting straight to the chase, C is insufficient for initializing the stack pointer. Sure, C itself might not technically require a working stack, but a multitasking operating system written in C must have a stack by the time it starts running user code. So most will do that initialization much earlier, so that the OS's startup functions can utilize the stack.

Thjs is normay done by the bootloader code, which is typically written in assembly and runs when the CPU is taken out of reset, and then will jump into the OS's C code. The C functions will allocate local variables on the stack, and everything will work just fine, even rewriting the stack pointer using intrinsics to cause a context switch (although this code is often -- but not always -- written in assembly too).

The crux of the issue is that the initial value of the stack pointer cannot be set using C code. Some hardware like the Cortex M0 family will initialize the stack pointer register by copying the value from 0x00 in program memory, but that doesn't change the fact that C cannot set the stack pointer on its own, because invoking a C function may require a working stack in the first place.

In Python, I think it would be much the same: how could Python itself initialize the stack pointer necessary to start running Python code? You would need a hardware mechanism like with the Cortex M0 to overcome this same problem.

The reason the Cortex M0 added that feature is precisely to enable developers to never be forced to write assembly for that architecture. They can if they want to, but the architecture was designed to be developed with C exclusively, including interrupt handlers.

If you have hardware that natively executes Python bytecode, then your OS could work. But for x86 platforms or most other targets, I don't think an all-Python, no-assembly OS is possible.

235

(Does this community allow posts about product restorations? I didn't forge these skillets, but I did make them usable and appealing again.)

cross-posted from: https://sh.itjust.works/post/30170080

(long time lurker, first time poster)

A few months ago, a friend convinced me on the benefits of cast iron skillets. Having only used Teflon-coated non-stick pans, I figured it would be worth a try, if I could find one at the thrift store. Sure, I could have just bought a new Lodge skillet, but that's too easy lol.

So a few weeks pass and I eventually find these two specimens at my local thrift store, for $5 and $8 respectively. It's not entirely clear to me why the smaller skillet cost more, but it was below $10 so I didn't complain too loudly. My cursory web searches at the store suggested that old Wagner skillets are of reasonable quality, so I took the plunge. My assumption is that the unmarked, smaller skillet is also a Wagner product.

10-inch skillet ($5) 9-inch skillet ($8)
a crusty 10-inch cast iron skillet with "Wagner" vaguely visible in the inscription
a crusty 9-inch cast iron skillet; no brand name

It's very clear that both these skillets are very crusty. Initially, I tried to remove the buildup using a brass wire brush. This was only somewhat successful, so I switched to a stainless steel wire brush. That also didn't do much, except reveal some of the inscription on the bottom.

the 10-inch skillet after stripping with a wire brush, with "Wagner Ware Sidney" and "1058 1" visible in the inscription

Some research suggested I could either do an electrolysis tank, a lye bath, or try lye-based oven cleaner. For want of not over-complicating my first restoration attempt, I went with the oven cleaner method, using the instructions from this video: https://www.youtube.com/watch?v=2Pvf0m9jTeE

For both skillets, I had to apply the oven cleaner six times to finally shift all the crud, each time leaving the skillets in the garbage bag for a full day-and-a-half in the sun. In between applications, I would brush off more buildup, with the handle root and the skillet walls being the most stubborn areas. The whole process smelled terrible and hunching over the garage utility sink to brush pans is not my idea of a pleasant time.

Nevertheless, having stripped both pans, I proceeded with six rounds of seasoning with very old corn oil -- it's what was handy -- at 450 F (~230 C) using my toaster oven. This happened over six days, since I wanted to use my excess daytime solar power for this endeavor. I wiped on the oil using a single blue shop towel, to avoid the issues of lint or fraying with paper towel.

I don't have a post-seasoning photo for the larger skillet, but here's how the 9-inch skillet turned out. I think I did a decent job for a first attempt. And I'm thrilled that these are as non-stick as promised, with only minimal upkeep required after each use.

9-inch skillet, top side, with "7" inscribed on the handle

9-inch skillet, bottom side, reading "9 3/4 inch skillet"

[-] litchralee@sh.itjust.works 37 points 5 months ago* (last edited 5 months ago)

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.

91
submitted 5 months ago* (last edited 5 months ago) by litchralee@sh.itjust.works to c/micromobility@lemmy.world

We live in a very strange timeline where the Ontario Premier is outdoing American governors on what constitutes "really dumb ideas". If you live in Ontario, I would urge you to watch to the end of the video and file a public comment during Bill 212's consultation period, ending on 20 November 2024.

https://ero.ontario.ca/notice/019-9266

[-] litchralee@sh.itjust.works 33 points 6 months ago

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.

19

The median age of injured conventional bicycle riders was 30 (IQR, 13-53) years vs 39 (IQR, 25-55) years for e-bicyclists (P < .001). Scooter riders had a median age of 11 (IQR, 7-24) years at the time of injury vs 30 (IQR, 20-45) years for e-scooter riders (P < .001) (Table 1 and Figure 3). As a group, those injured from EV accidents were significantly older than those injured from conventional vehicles (age, 31 vs 27 years; P < .001) (eTable 1 in Supplement 1).

e-Bicycles have lowered barriers to cycling for older adults, a group at risk for physical inactivity.9,10 Biking has clear-cut physical and cognitive health benefits for older adults, so this extension of biking accessibility to older e-bicyclists should be considered a boon of the new technology.22,23 However, as injured e-bicycle riders are older than conventional bicyclists, the unique safety considerations for older cyclists should be a focus of ongoing study.

There is a popular conception that ebikes are ridden recklessly on streets and sidewalks by youths, doing dangerous stunts, riding against traffic, not wearing helmets, and incurring serious injury to themselves and others as a result. This conception is often used to justify legislation to restrict or ban ebike use by minors. However, the data suggests quite the opposite, as it is older riders which are racking up injuries.

The data does not support restrictions on ebikes, but rather their wholesale adoption, especially for audiences which are at risk of inactivity or disadvantaged by a lack of transportation options. Ebikes are not at odds with conventional bicycles.

The California Bicycle Coalition offers this succinct summary:

“We think this backlash against e-bikes is the wrong direction for what we want for safer ways for people biking and sharing the road,” said Jared Sanchez, the policy director for the California Bicycle Coalition. “We don’t believe that adding restrictions for people riding e-bikes is the solution.”

They also have a page on how to fight against "bikelash", aka naysayers of bicycles and bikes: https://www.calbike.org/talking-back-to-bikelash/

[-] litchralee@sh.itjust.works 52 points 9 months ago* (last edited 9 months ago)

At its very core, an insurance company operates by: 1) pooling policyholder's risks together and 2) collecting premiums from the policyholders based on actuarial data, to pay claims and maybe make a small profit. But looking broader, an insurance market exists when: a) policyholders voluntarily or are obliged to obtain policies, b) insurers are willing and able to accept the risks in exchange for a premium expected to support the insurance pool, and c) the actuarial risks are calculable and prove true, on average.

The loss of any of A, B, or C will substantially impact a healthy insurance market, or can prevent the insurance market from ever getting started. For some examples of market failures, the ongoing California homeowner insurance crisis shows how losing B (starting with insurers refusing to renew policies near the wildland-rural interface) and C (increase in insured losses due to climate change) results in policies becoming unaffordable or impossible to obtain.

As a broader nationwide example, an established business sector that operates wholly without insurance availability is cannabis. A majority of US States have decriminalized marijuana for medical use, and a near-majority have legalized recreational consumption. Yet due to unyielding federal law, no insurer will issue policies for marijuana businesses, to protect from risks that any business would face, such as losses from fire, due to a product recall or product liability, or for liability to employees. These risks are calculable and there's a clear need for such policies -- thus meeting criteria A and C -- but no commercial insurer is willing to issue. Accordingly, the formal market for cannabis business insurance is virtually non-existent in the USA.

With these examples, we can see that the automobile insurance market meets all three criteria for a healthy market, but it's how these criteria are met which is noteworthy. Motorists in the USA are obliged to insure in every state except New Hampshire and Virginia: it is a criminal offense to drive a car without third-party liability insurance, meaning the motorist might spend time in jail. Note: NH and VA won't send a motorist to jail, but they do have administrative penalties for driving without "financial responsibility", which includes insurance or a bond at the DMV.

The exact requirement varies per state, with some requiring very low amounts of coverage and others requiring extra coverage like Personal Injury Protection (PIP, aka no-fault insurance). The point is that criteria A is easily met: motorists want to avoid jail, but also want to avoid the indignity of being sued after having caused a road incident, in addition to protecting their apparently only viable mode of transportation.

Insurers can take into account the overall trends in national risks trends for automobiles (eg new car safety, through the Insurance Institute for Highway Safety, IIHS) as well as local or hyper-local risks (eg hail damage in the southeast, property crime in a particular zip code). And as a large country with nearly as many cars as people, many insurers are willing to meet the demand. This satisfies criteria B and C.

So well-organized is the automobile insurance market that you could almost say that it's vertically integrated: the largest nationwide insurers have contracts in place with every dealership network, auto collision chain, new and used parts dealers, as well as automatic data sharing with state DMVs, plus with firms like CarFax that buy information. Despite each state being slightly different, the insurers have overcome and achieved a level of near uniformity that allows an efficient market to exist.

Things are drastically different for the American healthcare system and for American health insurance companies. While most think of their healthcare provider as a national name like Anthem Blue Cross or Kaiser Permanente, the reality is that each state is an island, and sometimes counties in a state are enclaves. Even federal programs like Medicaid and Medicare are subject to state-level non-uniformities. For example, hospitals can be either privately operated (eg religion-affiliated, or for-profit) or run by a public entity (eg county or state), and can exist as a single entity or form part of a regional hospital network. Some entities operate both the insurance pool as well as providing the health care (eg HMOs like Kaiser Permanente) while others dispatch to a list of contracted providers, usually being doctor's own private practices or specialist offices.

With so many disparate entities, and where healthcare is a heavily-regulated activity by each state, the cost of insurable risks -- that is, for routine healthcare services -- is already kinda difficult to compute. Hospitals and doctors go through intense negotiations with insurers to come to an agreement on reimbursement rates, but the reality is that neither has sufficient actuarial data to price based on what can be borne by the market. So they just pass their costs on, whatever those may be, and insurers either accept it into their calculations, or drop the provider.

Suffice it to say, there are fewer pressure to push the total cost of healthcare down, given this reality, and more likely prices will continue to climb. This fails criteria C.

financial flow in the US healthcare system Source

Briefly speaking, it's fairly self explanatory why people would want health insurance, since the alternative is either death or serious health repercussions, paying out-of-pocket rates for service, or going to the ER and being burdened by medical debt that will somehow haunt even after death. Criteria A is present.

As for Criteria B, that was actually resolved as part of the Affordable Care Act (ACA). During discussions with the drafters, insurers bargained for an obligation for everyone to have insurance (aka the individual mandate, bolstering criteria A), in exchange for an obligation to issue policies for anyone who applies, irrespective of pre-existing health conditions. Thus, Criteria B is present for all ACA-compliant policies in the USA, even though the individual mandate was later legislatively repealed.

So to answer your question directly, the costs for healthcare in the USA continue to spiral so far out of control that it causes distortions in the health insurance market, to everyone's detriment. Specific issues such as open-enrollment periods, employer subsidies, and incomprehensible coverage levels all stem from -- and are attempts to reduce -- costs.

Enrollment periods prevent people from changing plans immediately after obtaining an expensive service, like a major surgery. Employer subsidies exist due to a federal tax quirk decades ago, which has now accidentally become an essential part of the health insurance and health care situation. And coverage levels try to provide tiered plans, so people can still afford minimal coverage for "catastrophic" injuries while others can buy coverage for known, recurring medical needs.

But these are all bandaging the bleeding which is unchecked costs. It would take an act of Congress -- literally -- or of state legislatures to address the structural issues at play. The most prominent solution to nip costs is the bud is to achieve the same near-vertical integration as with automobile insurance. This means a single or very few entities which have contracts in place with every provider (doctors and hospitals), negotiated at once and uniformly, so as to achieve criteria C. The single-payer model -- which Medicare already uses -- is one such solution.

Going further would be the universal healthcare model, which discards the notion of health insurance entirely and creates an obligation for a government department to provide for the health of the citizens, funded by taxes. This means doctors and hospitals work at the behest of the department for the citizenry, or work privately outside the system entirely, with no guarantee of a steady stream of work. Substantial administrative savings would arise, since the number of players has been reduced and thus simplifies things, including the basic act of billing and getting paid for services rendered.

These models could be approached by individual states or by the nation as a whole, but it's unclear where the Overton window for that idea currently is.

[-] litchralee@sh.itjust.works 37 points 9 months ago* (last edited 9 months ago)

I've never seen such a sign, but I'll take a guess what it might be referring to. Here in California, the definition of a freeway does not have anything to do with number of lanes, speed limits, the presence of freight traffic, or any affiliation with the National Highway System. Instead, it is defined in the California Vehicle Code section 332 as:

a highway in respect to which the owners of abutting lands have no right or easement of access to or from their abutting lands or in respect to which such owners have only limited or restricted right or easement of access.

This roughly corresponds to what the Wikipedia describes in its page on "controlled access highways", a term which includes the California and USA federal government's term of freeway or the eastern US states' term of expressway or the British motorway. That is, a road which all ways onto and off of the road are carefully crafted.

There are many roads in California and the United States which will meet the requirements outlined by the Interstate Highway standards, and will look and feel like an interstate freeway, from the signs and lane markings and shoulder sizing.

But none of that matters for the California legal definition of freeway. Indeed, some freeway-looking roads will have signs that say "end freeway" or "start of freeway" with no other visual cues. And this is because the California Department of Transportation (CalTrans) has not acquired the property rights from adjacent landowners to prohibit building driveways onto the public right-of-way.

To clarify, a right-of-way is not an individual right like free speech or freedom against unreasonable searches. Rather, it's a legal term referring to a property right, namely a grant of access on/over some piece of property in order to cross it. In the case of public roads, the property right is held by a public entity, and that means the public can use it. Since a right-of-way is a type of property, there are rights implied by a right-of-way. So a right-of-way right. Yeah, lawyers named things badly here. Anyway...

A feature of public rights-of-way is that any adjacent private properties can connect to and travel upon the right-of-way. The rationale -- to oversimplifying things -- is that if the public entity could deny the right -- including to build a driveway -- then a property could end up with zero ways to access it without trespassing, making it impossible to enter or exit, which makes the property near worthless. It is an age-old rule from English Law that rendering property worthless is bad, so private property rights necessarily comes with an implicit ability to connect to adjacent public rights-of-way.

But property rights are a bundle which can be sold separately by their owner. For example, many suburban property owners don't own the rights to minerals underneath the land, since the preceding developers sold that right to someone else. And so the state -- through CalTrans -- or the city or county can buy (often through eminent domain) just that single right from the property owners. Thus, the properties along a road might -- unnoticeable to the naked eye -- not be legally allowed to build a driveway, having shed that legal right away by forced-yet-fully-compensated sale.

To that end, it's possible that a sign warning against illegal driveways is the state's way of preventing future land owners from trying to build such driveways, since those owners would lose in court. If the state has acquired such rights, it's usually because the road is planned to become a freeway or expressway (a limited-access road, in California terminology), or they wish to preserve that possibility early and for cheap. So far as I'm aware, in California the right is only ever acquired for state roads, with the sole exception of the expressways in Santa Clara County, because they planned well ahead in the 60s.

Other states may be similar, by extrapolation.

TL;DR: OP's state might be hedging their bets to build a future freeway, and wants to prevent future legal issues with landowners, since the state knows it would win those cases

110

cross-posted from: https://sh.itjust.works/post/22165919

This entry of mine will not match the customary craftsmanship found in this community, but seeing as this was formerly a pile of miscellaneous, warped scrap 2x4 segments recovered from old pallets, I think I've made a reasonable show of things.

This bench is for my homegym, designed to be stood upon, which is why there's a rubber mat inlaid on the surface, a leftover of the gym floor. My design criteria called for even the edge of the top surface to support weight, so the main "box" of the bench uses 2x4 segments mitered (badly) together at 45 degrees, held together with wood glue.

I then routed the inner edge to support a 1/2" plywood sheet, which is screwed into the box. And then the rubber mat is glued down to the sheet, so there are no visible screws.

Finally, the legs are also 2x4 segments, cut so the bench sits 43 cm (~17 inch) from the floor; this is only coincidentally similar to the IPF weightlifting bench standards. I used screws instead of glue, just in case the legs needed to be shortened later.

All edges were rounded over with a 1/2" bit, as the bench is expected to be picked up and moved frequently. And everything stained in cherry and clear-coated.

Some of the annoyances from using scrap included:

  • Stripping old paint off. Awful chemicals, awful scrubbing, awful disposal.
  • Sanding away twists along the 2x4 segments
  • Filling nail holes or arranging them so they don't draw attention
  • My lack of experience with clamping and gluing wood that's not dimensionally consistent

wood bench beside a leg press

If I were to do this again, I'd figure out a way to reduce the amount of routing needed for the inner edge, since I essentially removed 0.75 inch by 1.5 inch of material all around the edge. This took forever, and perhaps a CNC machine would have simplified things, in addition to squaring and planing the surfaces before mitering.

78
submitted 9 months ago* (last edited 9 months ago) by litchralee@sh.itjust.works to c/woodworking@lemmy.ca

This entry of mine will not match the customary craftsmanship found in this community, but seeing as this was formerly a pile of miscellaneous, warped scrap 2x4 segments recovered from old pallets, I think I've made a reasonable show of things.

This bench is for my homegym, designed to be stood upon, which is why there's a rubber mat inlaid on the surface, a leftover of the gym floor. My design criteria called for even the edge of the top surface to support weight, so the main "box" of the bench uses 2x4 segments mitered (badly) together at 45 degrees, held together with wood glue.

I then routed the inner edge to support a 1/2" plywood sheet, which is screwed into the box. And then the rubber mat is glued down to the sheet, so there are no visible screws.

Finally, the legs are also 2x4 segments, cut so the bench sits 43 cm (~17 inch) from the floor; this is only coincidentally similar to the IPF weightlifting bench standards. I used screws instead of glue, just in case the legs needed to be shortened later.

All edges were rounded over with a 1/2" bit, as the bench is expected to be picked up and moved frequently. And everything stained in cherry and clear-coated.

Some of the annoyances from using scrap included:

  • Stripping old paint off. Awful chemicals, awful scrubbing, awful disposal.
  • Sanding away twists along the 2x4 segments
  • Filling nail holes or arranging them so they don't draw attention
  • My lack of experience with clamping and gluing wood that's not dimensionally consistent

wood bench beside a leg press

If I were to do this again, I'd figure out a way to reduce the amount of routing needed for the inner edge, since I essentially removed 0.75 inch by 1.5 inch of material all around the edge. This took forever, and perhaps a CNC machine would have simplified things, in addition to squaring and planing the surfaces before mitering.

42
submitted 10 months ago* (last edited 10 months ago) by litchralee@sh.itjust.works to c/imadethis@lemm.ee

cross-posted from: https://sh.itjust.works/post/20965205

This is the story of how I turned a 15" Titan adjustable dumbbell to be 80 cm (31.5 inch) long. Why? Because I have a space-constrained home gym but still wanted a leg press, and so I had to remove its original barbell.

In its place, I built a pair of wood mounts for a normal barbell to rest upon, covered in that earlier post. However, since this machine is wall-adjacent, such a barbell would have to fit inside the width of the leg press, so about 80 cm. But must also be wider than the spacing from outside-edge to outside-edge of the wood mounts, which is 60 cm.

wooden mounts where a leg press barbell would be

Such a short barbell -- or long dumbbell -- does not readily exist commercially, with the narrowest one I've seen being 48 inch barbells, which are still too wide. So I decided to build my own, using my spare Titan dumbbell as the base.

To start, the Titan dumbbells are excellent in this capacity, as the shaft diameter is 28 mm -- not 32 mm as the website would indicate -- which is a common diameter, if I am to cut short a cheap barbell to replace this dumbbell's shaft.

In keeping with my preexisting frugality, I purchased a cheap 1-inch barbell, hoping that it adopts the Olympic 28 mm shaft diameter, and not the 29 mm deadlift bar shaft diameter, as the Titan collars have small clearances. Matching neither, I find that this bar is closer to 23 mm, which although will fit into the existing collars, poses its own issues.

Nevertheless, this 7 ft barbell can conveniently be cut in half to yield two 42 inch segments. And then the included bar stops can be loped off, and then the length further refined to 77 cm, thus hiding the marks from the bar stop within the Titan collars, and also centering the (meh) knurling from the cheap bar.

But perhaps a picture will be more explanatory. Here, the original collar is dismantled at the top, showing the original shaft with a groove cut into it, about 1/4-inch from the end. Into that groove would fit two half-rings with an inner diameter of 20.4 mm and an outer diameter of 40 mm. In fact, all the parts inside the collar use 40 mm outer diameter, except the spacer cylinder, which is smaller at 37 mm. All of these parts are held captive within the collar using the C-ring and the geometry of the collar itself.

To deal with the difference between the collar expecting 28 mm, and the cheap bar's 23 cm, I designed an ABS 3d printed part in FreeCAD to act as a bushing, upon which the original Titan brass bushing will ride upon. This ABS bushing is held captive by way of its center bulge, which fits within the dead space inside the collar.

As for how I cut the groove into the end of the new shaft, I still don't own a lathe. So the next best is to mount an angle grinder onto a "cross slide vise" taken from a drill press, with the shaft secured in a wooden jig to only allow axial rotation manually. The vise allows precision control for the cutting wheel's depth, with me pausing frequently to measure how close the groove is to the desired 20.4 mm inner diameter. This is.... not a quick nor precise process. But it definitely works.

After reassembling both collars onto the new shaft and lubricating with white lithium, the final result is a long dumbbell (or short barbell) with Titan's 3.5 inch collars on the end, with 63 cm of shaft exposed and 80 cm from end to end. The ABS bushing is remarkably smooth against the brass bushing, after some sanding with 180 grit. The whole dumbbell weights 5.48 kg empty.

Here is the comparison with the stock Titan dumbbell. It's pretty amazing how the knurling conveniently lined up. It fits well onto the wood mounts of the leg press.

Don't ever talk to me or my son ever again

But why would I do all this just to add a weirdly long 3.5-inch collar dumbbell to a leg press, when it already can accept weights underneath the carriage? I will answer that in a follow-up post.

32

As is their custom, FortNine delivers a two-wheeler review in the most cinematic way possible, along with a dose of British sitcom humor.

I'm not sure I'd ever buy one, but I'd definitely borrow it from a friend haha. I've said before that I like seeing what novel ideas people will build atop two wheels, and this certainly is very unique.

27

The title describes the gist of things. In 18 months of owning my Bikonit MD750, I've traveled over 2100 km (1300 miles) in day, night, and rain; swapped out four sets of tires trying to lower the rolling resistance; built my own new set of 29" wheels with ebike-speed rated tires; and have taken it on mixed-mode adventures by using light-rail as my range extender.

It's the latter where the weight is a small issue, as the light rail train has three stairsteps onboard, which I have to carry the bike up and onto. 43 kg is kinda a lot, although that does include all the things I will need for a day out. I can pursue getting stronger to lift it more easily, or convincing the transit department to acquire low-floor trains, but I'd like to know my options:

What are some Class 3, mid-drive ebikes currently available in the USA, that weigh less than 43 kg (95 lbs)? Ideally, less than 25 kg (55 lbs) too, as that's the most common weight restriction for buses. I want to see what y'all can recommend, irrespective of price or range or other considerations.

I'm not likely to terminate my investment in this current ebike, as it's provided sterling service thus far. But I wonder if maybe what I have has already been outmoded by the latest developments in this ever-changing slice of the mobility space.

TY in advance!

57

cross-posted from: https://sh.itjust.works/post/20133956

With the exception of the weight stack for my functional trainer and its change plates, I wanted all my subsequent equipment to be metric. To that end, I saw some cheap 45 lbs CAP bumper plates, and figured that I could make them into metric with not too much effort.

Some rough math prior to purchasing suggested that these plates -- with a width of 68 mm -- could be slimmed down from 20.4 kg (45 lbs) to nearly 20.0 kg, by boring two 2" holes (51 mm). To keep balance, the holes should be on on diametrically opposite ends. And should be neither too close to the edge, nor too close to the center, since the plate still needs to absorb a drop without deforming. That the bored holes are 51 mm is a fantastic happenstance, nearly identical to the center hole for Olympic-spec plates.

Examining each plate before drilling, I found that the silkscreen letter A in "CAP" is well-centered diametrically, although it doesn't line up with the matching logo on the back side. Also, since these are cheap CAP plates, the initial weight tolerances are pretty poor. 45 lbs should be 20.41 kg (2 sig figs), but my first four plates registered at 20.58, 20.51, 20.64, 20.56. That's nearly an extra half pound!

To drill the holes perfectly plumb, I did the work on a drill press using a 2-inch hole saw. Because the saw wasn't deep enough to go through the full width in one pass, I started with a 1/4-inch (6 mm) pilot hole straight through the tip of the letter A in "CAP". Then I drilled from both sides with the hole saw until a ~200 gram rubber core fell out. Repeat for the second bore.

To finish, I took some sandpaper to remove the old "45 lbs" markings, then used my label maker to affix new values. All plates are still high, but ranged from 20.030 kg to 20.105 kg. Not too shabby, I think.

In a happy coincidence, the position of these bored holes is perfect for one's thumbs when grasping the plate like a steering wheel, making it easier to pick up when laid flat on the floor. I also added a strip of blue electrical tape around the perimeter to make it easy to identify these as 20 kg.

In the end, I got the cheap metric plates I wanted, and it came with a usability improvement as well. I've not dropped these yet, so time will tell how they hold up.

[-] litchralee@sh.itjust.works 42 points 11 months ago* (last edited 11 months ago)

But they have also garnered a cult status among young people, who are using them to get around with friends, take their surfboard to the beach and commute to school.

Hmm, it's almost like young people aren't being given other viable transportation options, so they flock to the mode which affords them freedom and flexibility. Should we be surprised then, that the artificial barrier for youths was breached one day, and that day is now?

IMO, the story starts far earlier, with poor government policy failing to provide transport for all. I'm no expert on Australia transport priorities, but whatever they've been doing for the last so-and-so years clearly isn't working for the youth. So it's no surprise that these councils are being caught off-guard, when their negligence finally comes to bear.

9
submitted 1 year ago* (last edited 1 year ago) by litchralee@sh.itjust.works to c/micromobility@lemmy.world

This September 2023 report by staff at the US Consumer Product Safety Commission compiles injury and fatality data involving micromobility devices, using data that was available at the time of publication. As the report notes multiple times, the aggregate data is fairly coarse and CPSC staff could only follow up on so many reports.

Nevertheless, the report offers some rather interesting insights on e-scooters, hoverboards, and ebikes, although at 42 pages, some might prefer to just read the Executive Summary -- which is just 4 pages -- and skim the figures and tables.

Some of my takeaways from the report:

  • ER visits for e-scooters have been at least double that of ebikes, although ebike data was below the reporting minimum so that data was estimated (page 10)
  • E-scooters and hoverboards ER visits by female/male are 35%/65% and 55%/45%, but ebikes are disproportionate at 24%/76% (page 12)
  • Two-thirds of hoverboard ER visits are for 5-14 year olds, the largest group of any age range for any micromobility device (page 13)
  • The vast, vast majority of ebike ER visits were incurred while riding on a public road or public property. No surprise there. (page 14)
  • July has the most ebike ER visits (14% of annual total), and January/February the least (3% each of annual total) (page 15)
  • The report has a whole section dedicated to e-scooters, starting at page 17
  • One-third (32%) of treated e-scooter injuries indicated the rider was carrying or holding onto something, with 61% indicated not holding, and 7% unspecified (page 21)
  • 13% of treated e-scooter injuries indicated the rider was wearing a helmet, with 51% unspecified (page 22)
  • Between 2017 and 2022, using available data, CPSC found 104 deaths related to ebikes. These deaths skew heavily male (84 deaths) and 25+ years old (87 deaths) (page 23-24)
  • 58 of 104 ebike deaths involved collisions with motor vehicles, the leading cause. The data does not specify whether the ebike or motor vehicles or both were in motion at time of collision (page 25)
  • 8 of 104 ebike deaths involved pedestrian collisions, composed of six pedestrians and two ebike riders
  • 2 of 104 ebike deaths involved fire by the ebike batteries
  • 18 of 104 ebike deaths involved collisions with terrain, roadway features, or wayside obstacles (page 25)
  • Of 59 ebike injury reports that CPSC staff followed up, 28 identified fire hazards, the leading cause. 24 of 59 involved non-brake mechanical issues, such as bicycle components failing or detaching (page 28)
[-] litchralee@sh.itjust.works 38 points 1 year ago

I'm not a Rust developer (yet), but I understand its strength in this regard as: Rust is statically memory safe by default, and code which isn't statically memory safe must be declared with the unsafe keyword. Whereas C++ has not deprecated C-style pointers, and so a C engineer can easily write unsafe C code that's valid in a C++ compiler, and no declaration of its unsafeness is readily apparent to trigger an audit.

It's nice and all that C++ pioneered a fair number of memory safety techniques like SBRM, but the debate now is about safety by default, not optional bolt-on safety. All agree that the overall process to achieve correct code is paramount, not just the language constructs.

14

Additional coverage: https://www.sacbee.com/sports/outdoors/article286750940.html

USDA press release: https://www.fs.usda.gov/detail/tahoe/news-events/?cid=FSEPRD1168193

A new trail in Tahoe National Forest in California would permit Class 1 ebikes, after the Forest Service (part of the US Dept of Agriculture) concluded that:

Class 1 e-bikes are equipped with a motor that provides assistance only when the rider is pedaling and ceases to provide assistance when the e-bike reaches the speed of 20 mph. Studies completed during project analysis indicated that Class 1 e-bikes are similar to traditional mountain bikes in terms of components, relative speeds and impacts to trails.

The inclusion of Class 1 e-bikes as an approved use on the trail expands access to individuals that may not be able to walk or ride a traditional bicycle as far or long.

As the new trail sections to be constructed would create a 72 mile (115 km) route, ebikes will prove useful to those hoping to make the full trek as a day trip. Other trails parallel to or intersecting this new trail would remain subject to their existing rules regarding ebikes, equestrians, and automobiles and motorcycles.

[-] litchralee@sh.itjust.works 37 points 1 year ago

Oh wow, that might be the shortest-representation IPv6 DNS server I've seen to date: 2620:fe::9

[-] litchralee@sh.itjust.works 59 points 1 year ago

For other people's benefit beyond my own:

RIIR: "Rewrite It In Rust"

[-] litchralee@sh.itjust.works 89 points 1 year ago* (last edited 1 year ago)

OSM can definitely find you a bank near a freeway ramp, but it can also find you a bank near a creek to make an inflatable boat getaway. What it can't do is arrange for decoys to confuse the police while you eacape.

The inflatable boat robber was ultimately caught and sentenced a year later.

[-] litchralee@sh.itjust.works 33 points 1 year ago* (last edited 1 year ago)

I'm not a lawyer, but I'm willing to have some fun with this idea.

A cursory review of the relevant California Government Code section 420 -- blaze it! -- provides a description of the California state flag, and also a picture of it. Or it would in the print version of the code. While there doesn't appear to be a specific bit of law which authorizes the state to retain the copyright on the flag, there is case law which disallows the state from retaining copyright for "government documents", with exceptions which wouldn't apply here. So it's reasonable to assume that California doesn't have the copyright on its state flag, with it likely being in the public domain.

This would suggest that Minnesota could indeed use the flag to mean something else, the same way anyone can with public domain material. Now, if this occurs outside of California, that state could not enforce any sort of rules pertaining to how the flag is used. Even within the state, California's authority to control how public domain material -- or more broadly, any material at all -- is circumscribed by the First Amendment in any case. The exception would be for those agencies and subdivisions of the state itself, which it can and does control. See Gov Code section 435, which disallows cities from having confusingly similar flags. The other exception would be uses of the flag which perpetuate fraud or some other related crime, since then it's not the speech being punished but the conduct, which happens to involve a flag-related expression. But neither of these really speak to the flag being used by another sovereign entity within the state.

Supposing for a second -- and this is where we're really departing from reality -- the several states had embassies at each other's state capitals, but without the equivalent protections afforded by the Vienna Convention on Diplomatic Relationships. And by that, I mean each state buys land in other states, without creating sovereignty issues, owning that land as any other individual or corporation could. In such a case, if the Minnesota Embassy in Sacramento were to fly the flag of California as its own, what could California do? If they drafted a law like section 435 that applies to individuals, the First Amendment would present a barrier. If the law applies to out-of-state entities, it might run against the Dormant Commerce Clause, in a very broad interpretation of interstate commerce. If they apply it to all sovereign entities operating within the state -- which would include the Minnesota Embassy, since the State of Minnesota owns it -- then the thorny question of state sovereign immunity in state court would arise.

In a California state court, would the State of Minnesota have sovereign immunity? If instead of Minnesota, it were a foreign country like Scotland, the answer would be a resounding yes. But here is a state vs state issue. The proper venue would be a court with original jurisdiction over states, and there's only one of those: the US Supreme Court.

As to what the state of California would assert as a cause of action? I suppose they could raise a criminal violation of their freshly-drafted law, with the risk of devolving into whether a US State has its own rights of free speech, which other states must respect. Alternatively, they could raise an action in equity, such as a tort (MN's use of the flag is costing CA somehow) or defamation (MN's use of the flag asserts falsehoods about CA).

At this point, we're deep into legal fanfiction and it's time to stop haha. Needless to say, I think the situation in real life would be messy if it were to happen.

view more: next ›

litchralee

joined 2 years ago