[-] litchralee -1 points 4 days ago

If there were changes in 2020 to 2024 inclusive, then yes, I'd write it as 2020-2024. But if not inclusive, then I'd write 2021-2023.

[-] litchralee 32 points 1 month ago* (last edited 1 month ago)

The other answers have touched upon the relative efficiencies between a phone charger and a desktop computer's PSU. But I want to also mention that the comparison may be apples-to-oranges if we're considering modern smartphones that are capable of USB Power Delivery (USB PD).

Without any version of USB PD -- or its competitors like Quick Charge -- the original USB specification only guaranteed 5 V and up to 500 mA. That's 2.5 W, which was enough for USB keyboards and mice, but is pretty awful to charge a phone with. But even an early 2000s motherboard would provide this amount, required by the spec.

The USB Battery Charging (USB BC) spec brought the limit up to 1500 mA, but that's still only 7.5 W. And even in 2024, there are still (exceedingly) cheap battery banks that don't even support USB BC rates. Motherboards are also a mixed bag, unless they specifically say what they support.

So if you're comparing, for example, the included phone charger with a Samsung S20 (last smartphone era that shipped a charger with the phone) is capable of 25 W charging, and so is the phone. Unless you bought the S20 Ultra, which has the same charger but the phone can support 45 W charging.

Charging the S20 Ultra on a 2004-era computer will definitely be slower than the stock charger. But charging with a 2024-era phone charger would be faster than the included charger. And then your latest-gen laptop might support 60 W charging, but because the phone maxes out at 45 W, it makes no difference.

You might think that faster and faster charging should always be less and less efficient, but it's more complex since all charging beyond ~15 Watts will use higher voltages on the USB cable. This is allowable because even the thinnest wire insulation in a USB cable can still tolerate 9 volts or even 20 volts just fine. Higher voltage reduces current, which reduces resistive losses.

The gist is: charging is a patchwork of compatibility, so blanket statements on efficiency are few and far between.

54
submitted 1 month ago by litchralee to c/[email protected]

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.

20
submitted 1 month ago* (last edited 1 month ago) by litchralee to c/[email protected]

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 34 points 1 month ago* (last edited 1 month ago)

[2,600 men and women, with an average age of 64 years old] were surveyed about their physical activity over their lifetime. As part of the study, researchers took X-ray images to evaluate signs of arthritis in their knee joints.

The study can not prove cause and effect, given it was an observational study that assessed osteoarthritis at one point in time.

Credit where it's due, the editor has written a headline which actually comports with the merits of the study, not overstating the benefits of cycling on elderly knee arthritis. And the author takes care to do the same. The article also discusses the risks specific to elderly cyclists, and identifies the aspects of cycling which are low-impact.

Overall, an informative read.

[-] litchralee 44 points 1 month ago* (last edited 1 month 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.

3
submitted 1 month ago by litchralee to c/freebies

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

5
submitted 2 months ago* (last edited 2 months ago) by litchralee to c/freebies

Use the code on the Walgreens app and the website to claim the same offer twice!

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

6
submitted 2 months ago by litchralee to c/freebies

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

2
submitted 2 months ago by litchralee to c/freebies

Use the code on the Walgreens app and the website to claim the same offer twice!

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

2
submitted 2 months ago by litchralee to c/freebies

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

2
submitted 3 months ago by litchralee to c/[email protected]

Will Ramos and ABR was not on my 2024 bingo card. I'm not complaining.

Piped

Invidious

4
submitted 3 months ago by litchralee to c/freebies

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

6
submitted 3 months ago by litchralee to c/freebies

The offer will apply only if there are two 5x7 prints in your cart.

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

2
submitted 3 months ago by litchralee to c/freebies

Use the code on the Walgreens app and the website to claim the same offer twice!

When uploading photos using the desktop website, make sure to select Full Resolution in the Upload Preferences.

8
submitted 3 months ago* (last edited 3 months ago) by litchralee to c/[email protected]

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 38 points 3 months 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.

[-] litchralee 32 points 4 months ago* (last edited 4 months ago)

"That's worth waiting for". No, I don't think I agree. Ebikes enable people to do something they otherwise cannot do right now: get somewhere mostly nearby but too far to walk, with low emissions and high personal autonomy. To say that people should deprive themselves of that ability in wait for an evolution in batteries is asinine, and ignores the very real and tangible benefits that can be realized today.

[-] litchralee 33 points 5 months ago

For other people's benefit and my own:

PWA: Progressive Web App

[-] litchralee 37 points 5 months ago

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

[-] litchralee 57 points 5 months ago

For other people's benefit beyond my own:

RIIR: "Rewrite It In Rust"

[-] litchralee 31 points 5 months ago* (last edited 5 months ago)

As an aside, I will say that the examples from the OSM Overpass API are pretty nifty for other applications. For example, I once wanted to find the longest stretch of road within city limits that does not have a stop sign or traffic light, in order to fairly assess ebike range by running back and forth until out-of-battery. I knew at the time that OSM had the data, but I didn't know it could be queried in such a way. Would have saved me some manual searching, as well as broadening to include rural roads just outside the city.

[-] litchralee 87 points 5 months ago* (last edited 5 months 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 33 points 7 months ago* (last edited 7 months 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: ‹ prev next ›

litchralee

joined 1 year ago