litchralee

joined 2 years ago
[–] litchralee@sh.itjust.works 0 points 2 days ago* (last edited 2 days ago) (1 children)

Hi! My low-spec gaming rig is primarily a product of: 1) ~~cheapness~~ frugality where I want most of the same PC to last 6-10 years, 2) not upgrading my GPU because the whole situation with 3070 GPUs, and 3) not being too much into gaming, except for Cities Skylines, American Truck Simulator, and MSFS2020.

Cities Skylines is more CPU intensive, so my few-years old Ryzen can handle that. I'm sure ATS and MSFS2020 could look better, but ultimately I get more value out of the feel of the gaming wheel and joystick than what I can see on-screen. To each their own.

[–] litchralee@sh.itjust.works 6 points 2 days ago (4 children)

If I understand the Encryption Markdown page, it appears the public/private key are primarily to protect the data at-rest? But then both keys are stored on the server, although protected by the passphrase for the keys.

So if the protection boils down to the passphrase, what is the point of having the user upload their own keypair? Are the notes ever exported from the instance while still being encrypted by the user's keypair?

Also, why PGP? PGP may be readily available, but it's definitely not an example of user-friendliness, as exemplified by its lack of broad acceptance by non-tech users or non-government users.

And then, why RSA? Or are other key algorithms supported as well, like ed25519?

 

Must have exactly five 4x6 glossy prints.

Use the code on the Walgreens mobile 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.

[–] litchralee@sh.itjust.works 4 points 3 days ago* (last edited 3 days ago)

Directly answering the question: no, not every country has such a consolidated library that enumerates all the laws of that country. And for reasons, I suspect no such library could ever exist in any real-life country.

I do like this question, and it warrants further discussion about laws (and rules, and norms), how they're enacted and enforced, and how different jurisdictions apply the procedural machine that is their body of law.

To start, I will be writing from a California/USA perspective, with side-quests into general Anglo-American concepts. That said, the continental European system of civil law also provides good contrast for how similar yet different the "law" can be. Going further abroad will yield even more distinctions, but I only have so much space in a Lemmy comment.

The first question to examine is: what is the point of having laws? Some valid (and often overlapping) answers:

  • Laws describe what is/isn't acceptable to a society, reflecting its moral ideals
  • Laws incentivize or punish certain activities, in pursuit of public policy
  • Laws set the terms for how individuals interact with each other, whether in trade or in personal life
  • Laws establish a procedure machine, so that by turning the crank, the same answer will output consistently

From these various intentions, we might be inclined to think that "the law" should be some sort of all-encompassing tome that necessarily specifies all aspects of human life, not unlike an ISO standard. But that is only one possible way to meet the goals of "the law". If instead, we had a book of "principles" and those principles were the law, then applying those principles to scenarios would yield similar result. That said, exactly how a principle like "do no harm" is applied to "whether pineapple belongs on pizza" is not as clear-cut as one might want "the law" to be. Indeed, it is precisely the intersection of all these objectives for "the law" that makes it so complicated. And that's even before we look at unwritten laws.

The next question would be: are all laws written down? In the 21st Century, in most jurisdictions, the grand majority of new laws are recorded as written statutes. But just because it's written down doesn't mean it's very specific. This is the same issue from earlier with having "principles" as law: what exactly does the USA Constitution's First Amendment mean by "respecting an establishment of religion", to use an example. But by not micromanaging every single detail of daily life, a document that starts with principles and is then refined by statute law, that's going to be a lot more flexible over the centuries. For better/worse, the USA Constitution encodes mostly principles and some hard rules, but otherwise leaves a lot of details left for Congress to fill in.

Flexibility is sometimes a benefit for a system of law, although it also opens the door for abuse. For example, I recall a case from the UK many years ago, where crown prosecutors in London had a tough time finding which laws could be used to prosecute a cyclist that injured a pedestrian. As it turned out, because of the way that vehicular laws were passed in the 20th Century, all the laws on "road injuries" basically required the use of an automobile, and so that meant there was a hole in the law, when it came to charging bicyclists. They ended up charging the cyclist with the criminal offense of "furious driving", which dated back to an 1860s statute, which criminalized operating on the public road with "fury" (aka intense anger).

One could say that the law was abused, because such an old statute shouldn't be used to apply to modern-day circumstances. That said, the bicycle was invented in the 1820s or 1830s. But one could also say that having a catch-all law is important to make sure the law doesn't have any holes.

Returning to American law, it's important to note that when there is non-specific law, it is up to the legislative body to fill those gaps. But for the same flexibility reasons, Congress or the state or tribal legislatures might want to confer some flexibility on how certain laws are applied. They can imbue "discretion" upon an agency (eg USA Department of Commerce) or to a court (eg Superior Court of California). At other times, they write the law so that "good judgement" must be exercised.

As those terms are used, discretion more-or-less means having a free choice, where either is acceptable but try to keep within reasonable guidelines. Whereas "good judgement" means the guidelines are enforced and there's much less wiggle-room for arbitraryness. And confusingly so, sometimes there's both a component of discretion and judgment, which usually means Congress really didn't know what else to write.

Some examples: a District Attorney anywhere in California has discretion when it comes to filing criminal charges. They could outright choose to not prosecute person A for bank robbery, but proceed with prosecuting person B for bank robbery, even though they were working together on the same robbery. As an elected official, the DA is supposed to weigh the prospects of actually obtaining a guilty verdict, as well as whether such prosecution would be beneficial to the public or a good use of the DA office's limited time and budget. Is it a bad look when a DA prosecutes one person but not another? Yes. Are there any guardrails? Yes: a DA cannot abuse their discretion by considering disallowed factors, such as a person's race or other immutable characteristics. But otherwise, the DA has broad discretion, and ultimately it's the voters that hold the DA to account.

Another example: the USA Environmental Protection Agency's Administrator is authorized by the federal Clean Air Act to grant a waiver of the supremacy of federal automobile emissions laws, to the state of California. That is to say, federal law on automobile emissions is normally the law of the land and no US State is allowed to write their own laws on automobile emissions. However, because of the smog crisis in the 70/80s, the feds considered that California was a special basket-case and thus needed their own specific laws that were more stringent than federal emissions laws. Thus, California would need to seek a waiver from the EPA to write these more stringent laws, because the blanket rule was "no state can write such laws". The federal Clean Air Act explicitly says only California can have this waiver, and it must be renewed regularly by the EPA, and that California cannot dip below the federal standards. The final requirement is that the EPA Administrator shall issue the waiver if California requests it, and if they qualify for it.

This means the EPA Administrator does not have discretion, but rather is exercising good judgement: does California's waiver application satisfy the requirements outlined in the Clean Air Act? If so, the Administrator must issue the waiver. There is no allowance of an "i don't wanna" reason for non-issuance of the waiver. The Administrator could only refuse if they show that California is somehow trying to do an end-run around the EPA, such as by trying to reduce the standards.

The third question is: do laws encompass all aspects of everything?. No, laws are only what is legally enforced. There are also rules/by-laws and norms. A rule or by-law is often something enforced by something outside the legal system's purview. For example, the penalty for violating a by-law of the homeowner's association might be a revocation of access to the common spaces. For a DnD group, the ultimate penalty for violating a rule might be expulsion.

Meanwhile, there are norms which are things that people generally agree on, but felt were so commonplace that breaking the norm would make everything else nonfunctional. For example, there's a norm that one does not use all-caps lock when writing an online comment, except to represent emphasis or yelling. One could violate that norm with no real repercussions, but everyone else would dislike you for it, they might not want to engage further with you, they might not give you any benefit of the doubt, they may make adverse inferences about you IRL, or other things.

TL;DR: there are unwritten principles that form part of the law, and there's no way to record all the different non-law rules and social norms that might apply to any particular situation.

[–] litchralee@sh.itjust.works 2 points 5 days ago* (last edited 5 days ago)

Explanation that maybe got away from me

Lmao, I for one am here for this history

 

This offer is for exactly one 8x10 glossy print. Use the code on the Walgreens mobile app and the desktop website to claim the same offer twice!

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

[–] litchralee@sh.itjust.works 4 points 5 days ago* (last edited 5 days ago) (1 children)

The bike seems fine at a cursory glance. What I wanted to comment about was this:

But here’s my two cents: Most US motorcycle riders tend to lean toward heavier, higher-displacement bikes, owing to long-distance riding and highway commuting. The W175’s output may feel underwhelming for most American riders, essentially restricting its market appeal to commuters or moped-class buyers.

That seems to me as: 1) probably correct, and 2) really devastating for what motorcycling will be in the next few decades in the USA. Already, the rate of motorcycle registrations (8.1 million in 2011, to 8.6 million in 2020) is not keeping pace with population growth (311 million in 2011, 343 million in 2020). Then add the likelihood that if younger folks are less inclined to want to drive (indicated by lower new driving license issuances), they're also probably even less likely to want to ride a motorcycle.

On that last comparison, the link does explain some of the factors for why under-25's might delay or never obtain a driving license, and some will apply directly to motorcycles as well: the costs, especially insurance, and a growing irrelevance of needing to go somewhere just to connect with friends, when the Internet and smartphones can do that. I personally do value seeing people face-to-face but that's becoming less of a predominant view amongst younger folks.

And all that before we look into what makes learning to ride a motorcycle harder than learning to drive an automobile. While some riders may just have a knack for motorized two-wheeling, I would hazard that many riders learned or knew someone who rode, and that's how the prospect of even wanting a motorcycle came into being. This is not unlike most other human endeavors: someone else is doing it, it looks fun, I wanna do it too.

But if there are fewer riders overall, no parent or distant relative that rides, fewer instances of nonfictional motorcycles depicted in movies, scaremongering stories in the news about how a motorist murders a motorcyclists and gets away with it, then I can't really blame people for thinking that motorcycles are more like skydiving and less like everyday transport. Sadly, it seems that as an activity, motorcycles are approaching what aviation calls the death spiral, when it will only be a matter of time before it disappears from view.

Keeping the discussion germane to that original quote from the article, I think the explosion of ebikes -- and good, ol fashioned acoustic bikes -- has filled a large gap in demand, where people want cheap, simple, short-range mobility. It's often quoted that of trips that Americans make, the majority are less than six miles (10 km) away. And so ebikes meet a good portion of that need, and what disadvantages they have (eg weather exposure, road hazards, motorist hazards) are compensated by being ridiculously cheaper than driving and insuring an automobile.

So that kinda leaves only the commuter or touring use-cases left for motorcyclists. I personally am bullish on a slow-but-positive-growth for public transportation in the USA, and given that costs for all motorized transportation have historically gone up over time, the difference will be that public transportation can split those costs over more people. So growing transit ridership can overcome rising costs, making it the cheaper option at some crossover point, at least in or near urban areas. In such case, the commuter scenario on a motorcycle would make less sense than it does now.

Will there be enough motorcycle enthusiasts in future to support a functioning domestic market? The winds are not in its favor.

 

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

[–] litchralee@sh.itjust.works 21 points 6 days ago (1 children)

Please explain what you mean by "rotate". The thermostat is physically turning in-place, as though a wall clock?

[–] litchralee@sh.itjust.works 10 points 1 week ago* (last edited 1 week ago) (1 children)

To many of life's either-or questions, we often struggle when the answer is: yes. That is to say, two things can hold true at the same time: 1) LLMs can result in job redundancies, and 2) LLMs hallucinate results.

But if we just stopped the analysis there, we wouldn't have learned anything. To use this reality to terminate any additional critical thinking is, IMO, wholly inappropriate for solving modern challenges, and so we must look into the exact contours of how true these statements are.

To wit, LLM-induced job redundancies could come from skills which have been displaced by the things LLMs can do well. For example, typists lost their jobs when businesspeople were expected to operate a typewriter on their own. And when word processing software came into existence for the personal computer, a lot of typewriter companies folded or were consolidated. In the case of LLMs, consider that people do use them to proofread letters for spelling and grammar.

Technologically, we've had spell-check software for a while, but grammar was harder. In turn, an industry appeared somewhere in the late 2000s or early 2010s to develop grammar software. Imagine how the software devs at these companies (eg Grammarly) might be in a precarious situation, if an LLM can do the same work. At least with grammar checking, even the best grammar software still struggles with some of the more esoteric English sentence constructions, so if an LLM isn't 100% perfect, that's still acceptable. I can absolutely see the fortunes of grammar software companies suffering due to LLMs, and that means those software devs are indeed threatened by what LLMs can do.

For the second statement, it is trivial to find examples of LLMs hallucinating, sometimes spectacularly or seemingly ironic (although an LLM would be hard-pressed to simulate the intention of irony, I would think). In some fields, such hallucinations are career-limiting moves for the user, such as if an LLM was used to advise on pharmaceutical dosage, or used to draft a bogus legal appeal and the judge is not amused. This is very much a FAFO situation, where somehow the AI/LLM companies are burdened with none of the risk and all of the upside. It's like how autonomous driving automotive companies are somehow allowed to do public road tests of their beta-quality designs, but the liability for crashes still befalls the poor sod seated behind the wheel. Thoss companies just keep yapping about how those crashes are all "human error" and "an autonomous car is still safer".

But I digress.

My point is that LLMs have quite a lot of capabilities, and people make a serious mistake when they assume its incompetence in one capacity reflects its competency in another. This is not unlike how humans assess other humans, such as how a record-setting F1 driver would probably be a very good chauffeur for a limousine company. But whereas humans have patterns that suggest they might be good (or bad) at something, LLMs are a creature unlike anything else.

I personally am not bullish on additional LLM improvements, and think the next big push will require additional academic research, being nowhere near commercialization. But even I have to recognize that some very specific tasks are decent using today's availabile LLMs. I just don't think that's good enough for me to consider using them, given their subscription costs, the possibility of becoming dependent, and being too niche.

[–] litchralee@sh.itjust.works 1 points 1 week ago

Ah, I see. That works too, but I usually find it easier to set the subnet mask for the first interface, so that there's no hard-coding of a route to every intended destination, even if it's just one.

With ifconfig, that might look like:

ifconfig tun11 172.17.3.11 netmask 255.255.255.0

With the moden "ip" command, it's even less typing:

ip addr add 172.17.3.11/24 dev tun11
[–] litchralee@sh.itjust.works 1 points 1 week ago (2 children)

So I gave tun11 an IP again with ifconfig, then added a host route to the first machine

Out of curiosity, what were these commands? I'm a bit confused because I figured that just adding the IP+mask would be sufficient, without having to explicitly add a host route.

[–] litchralee@sh.itjust.works 1 points 1 week ago (4 children)

BTW, from your username, are you familiar with !Dullsters@dullsters.net ?

[–] litchralee@sh.itjust.works 3 points 1 week ago* (last edited 1 week ago) (6 children)

Let me make sure I understand the background info. Before things crashed, you had two machines that shared a two-way laser serial link, and so your testing involved sending from one machine to the other, as a way to exercise the TUN driver. Now that the second machine is dead, you wish to light up a spare two-way laser serial link. But rather than connecting to the second (dead) machine or some third machine, this spare link is functionally a "loop back" to the existing machine, the one that's still alive. And you wish to continue your testing with this revised setup, to save yourself from having to commute to the office just to reboot the second machine.

Do I have that right? If so, firstly, it's a Saturday in all parts of the world lol. But provided that you're getting sufficient rest from work, I will continue.

As it stands, you are correct that the Linux machine will prefer to pass traffic internally, when it sees that the destination is local. We can try to defeat this, but it's very much like cutting against the grain. This involves removing the kernel stack's tendency to route packets locally, but only for the traffic going to/from the TUN interfaces. But if you get this wrong, you might lose access to the machine, and now you have 0/2 working machines...

IMO, a better solution would be to move at least one of the TUN interfaces into its own "network namespace". This is the Linux kernel's idea of separate network stacks, and is one of the constituent technologies used to enable containers (which are like VMs but more lightweight). Since you only require the traffic to exit on one TUN netif and come back in on the other TUN netif, this could work.

First, you create a new namespace (I'll call it bobby), then you move tun11 into the bobby ns, and then you run all your commands in a shell that's spawned within the bobby ns. The last part means you have access to all the files and your filesystem, but because you're in a separate network namespace, you will not see the same netifs that would show up in the "default" namespace.

Here are the commands, but you can check this against this reference too:

ip netns add bobby
ip link set tun11 netns bobby
ip netns exec bobby /bin/bash

From inside this shell, that's how you access tun11 (and only tun11). You'll want to open a second SSH connection to your remote machine, which will naturally be in the "default" namespace and will allow you access to the tun10 netif (but not tun11).

Good luck!

[–] litchralee@sh.itjust.works 4 points 1 week ago* (last edited 1 week ago) (1 children)

For a single password, it is indeed illogical to distribute it to others, in order to prevent it from being stolen and misused.

That said, the concept of distributing authority amongst others is quite sound. Instead of each owner having the whole secret, they only have a portion of it, and a majority of owners need to agree in order to combine their parts and use the secret. Rather than passwords, it's typically used for cryptographically signing off on something's authenticity (eg software updates), where it's known as threshold signatures:

Imagine for a moment, instead of having 1 secret key, you have 7 secret keys, of which 4 are required to cooperate in the FROST protocol to produce a signature for a given message. You can replace these numbers with some integer t (instead of 4) out of n (instead of 7).

This signature is valid for a single public key.

If fewer than t participants are dishonest, the entire protocol is secure.

 

This offer is for exactly one 8x10 glossy print. Use the code on the Walgreens mobile app and the desktop website to claim the same offer twice!

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

 

Must have exactly five 4x6 glossy prints.

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.

 

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

When I moved into my home many years ago, there was this lock-box mounted to the water main on the side of the house. I figured it was one of those used by real-estate agents to store the house key for viewings, but months passed and it still remained there. No one from my buyer's agent's office had a clue what this was, and the seller of the house had already moved out-of-state.

Recently, I had some plumbing work done, and that also included replacing the main water valve for the house, allowing this lock box to come free from the plumbing. Now inspecting it up close, and looking up the model online, I realized that it has an alphabet wheel and uses a three-letter combination.

As it happens, Thanksgiving weekend was upon me, and since I was bored, I figured I'd try all the possible combinations. Just 17,576 possible combinations, how bad could it be?

The most immediate problem was that due to being out in the elements, the dial did not turn easily. It would move, but was rather rough. And since the knob is only ~1 cm diameter, this is an incredibly un-ergonomic endeavor. I had to stop after the first 100 tries, due to the finger exhaustion.

Knowing this would be untenable for the long-run, I decided to build my way out of this problem. Since a combo lock involves making rotations that almost go all the way around, I drew inspiration from rotary telephone dials, where one's finger starts with the intended number and then swivels the dial around.

But whereas a rotary telephone dial only needs 10 positions, I needed to fit 26 positions, one for each letter. I decided on each hole being 17 mm to comfortably fit any of my fingers, but that also dictated the overall diameter of the wheel. But that's good, since a larger diameter wheel means more leverage to overcome the rough lock movement. It also happens to be that this wheel has a diameter of 180 mm, which is just enough to fit in the 200 mm bed of my 3d printer.

Using FreeCAD, I designed this wheel so that it fits around the splines of the lockbox dial, which held remarkably well. I had thought I would need Blu Tack or something to keep it together.

CAD design for lockbox dial wheel

Using this wheel, I'm able to "dial" combinations much quicker using one hand, while holding the lockbox with my other hand to press the lever down to test the combination. This should be good.

(note: some parts of this story were altered to not give away identifying details)

 

When I moved into my home many years ago, there was this lock-box mounted to the water main on the side of the house. I figured it was one of those used by real-estate agents to store the house key for viewings, but months passed and it still remained there. No one from my buyer's agent's office had a clue what this was, and the seller of the house had already moved out-of-state.

Recently, I had some plumbing work done, and that also included replacing the main water valve for the house, allowing this lock box to come free from the plumbing. Now inspecting it up close, and looking up the model online, I realized that it has an alphabet wheel and uses a three-letter combination.

As it happens, Thanksgiving weekend was upon me, and since I was bored, I figured I'd try all the possible combinations. Just 17,576 possible combinations, how bad could it be?

The most immediate problem was that due to being out in the elements, the dial did not turn easily. It would move, but was rather rough. And since the knob is only ~1 cm diameter, this is an incredibly un-ergonomic endeavor. I had to stop after the first 100 tries, due to the finger exhaustion.

Knowing this would be untenable for the long-run, I decided to build my way out of this problem. Since a combo lock involves making rotations that almost go all the way around, I drew inspiration from rotary telephone dials, where one's finger starts with the intended number and then swivels the dial around.

But whereas a rotary telephone dial only needs 10 positions, I needed to fit 26 positions, one for each letter. I decided on each hole being 17 mm to comfortably fit any of my fingers, but that also dictated the overall diameter of the wheel. But that's good, since a larger diameter wheel means more leverage to overcome the rough lock movement. It also happens to be that this wheel has a diameter of 180 mm, which is just enough to fit in the 200 mm bed of my 3d printer.

Using FreeCAD, I designed this wheel so that it fits around the splines of the lockbox dial, which held remarkably well. I had thought I would need Blu Tack or something to keep it together.

CAD design for lockbox dial wheel

Using this wheel, I'm able to "dial" combinations much quicker using one hand, while holding the lockbox with my other hand to press the lever down to test the combination. This should be good.

(note: some parts of this story were altered to not give away identifying details)

 

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

 

This offer is for exactly one 8x10 glossy print. Use the code on the Walgreens mobile app and the desktop website to claim the same offer twice!

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

 

Must have exactly two 5x7 glossy prints.

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

 

Must have exactly “5x7 Cards, Premium Cardstock 120lb” product in cart, quantity six. In the design tool, it will show as “5x7 Flat Card Set, 120lb”. In the shopping cart, the cards should be $23.99 before applying the code, bringing the cost down to $0.00.

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

 

I happened across a QR code outside of Vancouver, Washington's City Hall about the current progress of selecting a new flag for the city. The thumbnail of this post is the current flag. There are six finalists under current consideration.

I personally like...Vancouver Washington flag finalist number 6 Finalist flag #3 by Nathan Hunter. It is geometrically simple yet depicts the history as a fort along the river. If this were a map, a simple square would indicate a fortification or building, so this makes sense to me. The creator also notes of the subtle letter V, although I'm not sure I would have seen that.

Also, I like that the colors are unconventional yet meaningful. The natural inclination for coloring a river would be blue, but white makes more sense here as the river also forms the border between the US States of Washington and Oregon, precisely where Vancouver is located. That the top half uses the green from Washington's flag, and the bottom half using blue (almost) from Oregon's (bizarrely two-sided) flag, is icing on the cake.

Do I think this flag also looks like the square-root symbol from mathematics? Yes, but that's why it would be a good flag: many ways to depict and ways to riff on any perceived similarities. Much like the UK's Union Jack, the more that a design can be remixed yet still recognizable, that should make for a better flag. That's why I personally prefer fewer squiggly lines on flags that depict rivers, because ultimately, most people don't orient their mental picture of a city based on squiggly lines, but rather with straight lines. See how the London Tube map was created.

For a smaller town like Vancouver -- overshadowed by the major Canadian city of the same name, and by adjacent Portland south of the river -- depicting the geographical position is more relatable than describing the abysmal Pacific Northwest weather, flannel, or whatever else stereotypes may exist but aren't Vancouver, WA-specific. So I think a geographic flag makes sense in this context.

view more: next ›