litchralee
@litchralee@sh.itjust.works
- Comment on Share single service via WireGuard 2 days ago:
Let me make sure I understand everything correctly. You have an OpenWRT router which terminates a Wireguard tunnel, which your phone will connect to from somewhere on the Internet. When the Wireguard tunnel lands within the router in the new subnet 192.168.2 0/24, you have iptable rules that will:
- Reject all packets on the INPUT chain (from subnet to OpenWRT)
- Reject all packets on the OUTPUT chain (from OpenWRT to subnet)
- Route packets from phone to service on TCP port 8080, on the FORWARD chain
- Allow established connections, on the FORWARD chain
- Reject all other packets on the FORWARD chain
So far, this seems alright. But where does the service run? Is it on your LAN subnet or the isolated 192.168.2.0/24 subnet? The diagram you included suggests that the service runs on an existing machine on your LAN, so that would imply that the router must also do address translation from the isolated subnet to your LAN subnet.
That’s doable, but ideally the service would be homed onto the isolated subnet. But perhaps I misunderstood part of the configuration.
- Comment on How does streaming compare to "analog"? 6 days ago:
I’m a bit short on time, but I think “streaming” needs to be broken down into categories of scale. Streaming video from your home Plex server (shout-out to !homelab@lemmy.ml) is a lot different than Netflix’s video delivery system.
The latter intentionally stores the same content in multiple geographies, then with caches at local data centers, and sometimes even caches within your ISP’s network. All of this to distribute the load of millions of users, who can just as easily be in Florida as they might be in Oregon.
Whereas a home server has just one copy of the content, and since it might not always be streaming a video to you, can save power by spinning down drives or other optimizations. It is simply not possible to describe “streaming” when such radically different delivery mechanisms can all plausible be considered as streaming.
- Comment on What are some franchises with characters that personify countries? 1 week ago:
Does a webcomic count as a franchise? satwcomic.com
- Comment on What is a federated alternative to Wikipedia? 1 week ago:
No, I want a decentralized go-to place that I can check many points of view over a subject, just like the Fediverse works today.
I disagree with the premise that multiple POVs on every topic will yield better understandings or discussion. It is the same flaw that Ground News or other services have, which purport to curate POVs from different news media outlets, with the implicit assumption that all the outlets have something useful to offer. This assumption is absolutely balderdash.
The Fediverse is no more – or less – immune from disinformation and other ails, but has better user- and instance-level protections: bans and defederation are effective, because if they weren’t, people here wouldn’t log back on. For Mastodon and Lemmy and other forms of social media, the decentralization has clear and obvious benefits.
A decentralized knowledge-store does not.
There is nothing to fear.
There is everything to fear when knowledge is spread out into small libraries across the land. The historical analog is book-burning incidents that dotted human history, whether to suppress paganism, Mayan culture, or the spread of communism. The modern-day analogy is when Vine went defunct and the content was almost wholly lost to the world. The Fediverse example is when an instance unexpectedly disappears, stranding all its users.
But focusing on a knowledge-store, technology has given us the ability to copy data at rates that outpace all of history’s ecclesiastical scribes put together. We can – and do – preserve the largest datasets (see !datahoarder@lemmy.ml) because it is a matter of resilience. Yet that endeavor has become more difficult precisely because of technology. The Internet Archive faces this issue, because they cannot save what they don’t even know exist.
The Fediverse inhabits a very special Goldilocks zone right now, not unlike Wikipedia, where the availability of interest, capabilities, and materiel allow for the existence of this internet experiment. But fragile it is, and instances are no further than the risk of a DMCA notice, a UK age restriction law, a frivolous but expensive SLAPP suit, or just plain ol running out of money.
If I had spare time and energy and were presented with the option to either: 1) set up a decentralized knowledge store of nebulous benefit, or 2) support the online compendium which I’ve personally used for over two decades now and has helped untold numbers of students and researchers with starting the research into a new-to-them topic, and could do so by using my servers to seed the all-Wikipedia torrents… well, I think the choice is clear.
- Comment on What is a federated alternative to Wikipedia? 1 week ago:
As a website or service, sure. But the Wikipedia has been available to download for offline use since basically its inception. This is how users in places with poor internet connections can still benefit from the Wikipedia. Certainly, the idea of distributing Wikipedia on disc is a bit odd.
But whether it be smuggling books across the Iron Curtain, downloading swaths of paywalled scientific papers from an MIT computer, or accessing information about abortion, the pursuit of knowledge is a chiefly human trait and one not easily suppressed. But if all those, the Wikipedia has the best track record for being openly available and free (as in speech, and as in beer).
- Comment on What is a federated alternative to Wikipedia? 1 week ago:
I think we need to start with what Wikipedia is meant to be, before even considering whether it would be aided through federation. By their own words:
Wikipedia’s purpose is to benefit readers by acting as a widely accessible and free encyclopedia; a comprehensive written compendium that contains information on all branches of knowledge.
Encyclopedias are designed to introduce readers to a topic, not to be the final point of reference. Wikipedia, like other encyclopedias, is a tertiary source and provides overviews of a topic.
Content is governed by three principal core content policies – neutral point of view, verifiability, and no original research.
That describes the content intended to go into the Wikipedia, but we need to also mention the distinction between the Wikipedia itself, the MediaWiki software package which powers Wikipedia, and the Wikimedia Foundation.
With MediaWiki, which is FOSS (GPLv2), anyone can set up their own encyclopedia-style volume of articles to host on the web. And that’s exactly what many fandom websites or technical documentation websites do, because that level of detail would not be accepted into the general-knowledge Wikipedia. And you can hardly blame the Wikipedia for wanting to avoid scope-creep.
Likewise, if someone disagrees with how a topic is discussed in a Wikipedia article, they can go in and make the change, provided that they follow the same rules and procedures as everyone else. Yes there are moderators, but even moderators can be moderated. In a way, Wikipedia is a collective effort that somehow democratized editorship and it’s shocking that it hasn’t devolved into major terf wars.
And that’s where the Wikipedia Foundation comes in. They are both the charitable foundation that keeps the Wikipedia servers running, as well as administering the collection, much like how a museum protects cultural treasures. Dissatisfaction with the limited role that the Foundation plays can be solved by forking the Wikipedia; they don’t assert a monopoly on the collective knowledge, and indeed the entire thing can be downloaded for offline use or to host a mirror under separate administration.
With all that said, Wikipedia as a concept hews very closely to the print version of an encyclopedia. It is functionally a really big book, painstakingly edited by untold numbers of people. The fact that it’s not just a bunch of random blog posts is its stength. Wikipedia is not social media; it is distributed editorship.
But supposing you do want a distributed knowledge base, where there might exist multiple versions of an article, please explain why the World Wide Web doesn’t already accomplish that. If the WWW is too general-purpose for your liking, then perhaps something like the DICT protocol is more palatable?
Despite ostensibly dealing with dictionaries, DICT has been used to offer the CIA World Factbook and the Jargon File, which are more like subject-matter specific encyclopedias. As a standardized protocol – even CURL can fetch DICT entries – the Fediverse doesn’t need another protocol to do the same thing.
- Comment on Current limiting 1 week ago:
I like it!
I once endeavored to do something similar, but it would have been for opening the blinds in the morning and closing them after sunrise.
- Comment on Current limiting 1 week ago:
But could this comparison not be done with some hysteresis?
It can, but analog design is also not my forte.
The part count is not important as long as the parts aren’t terribly expensive, since this is exclusively for my personal use
In that case, the original suggestion of using an ADC and an op-amp would be the most flexible for software. You would, however, need to do some research on wiring an op-amp to amplify the sense voltage to something your microcontroller’s ADC is capable of resolving.
- Comment on Current limiting 1 week ago:
Out of curiosity, what is this project?
- Comment on Current limiting 1 week ago:
Ah, I entirely missed the sense pin when skimming the datasheet.
That said, using a shunt for an inductive load like a motor may have to contend with the corresponding spikes caused when switching the motor. This just means the thing doing the sensing needs to tolerate the spikes. Or mitigate them, with either a snubber or a flyback diode (is this actually doable with an H bridge?).
As for the op-amp and ADC, if we already accept the additional of the op-amp part, it is also feasible to use a comparator with a reference voltage set for the max safe current. The digital output of the comparator can then be fed directly to the microcontroller, providing fast reaction without the sampling time of an ADC. But this would be so quick that the spikes from earlier could get picked up, unless mitigated.
Still, these solutions are adding to the part count. If that’s a concern, then I’d look for a motor driver with this functionality built in.
- Comment on Current limiting 1 week ago:
In that case, I would suggest looking at a different motor driver. The driver you’ve specified doesn’t seem to have any provisions to detect a motor stall, which is something that other drivers can potentially do. Ideally, the driver would detect the back EMF from the stall and inform the microcontroller, which would then decide to stop movement.
An external current sensor might work, but that’s adding to the part count and might not be as capable as built-in functionality within the motor driver. Plus, fancier motor drivers have some neat features that you could take advantage of as well. I think it would be more prudent to consider a different driver before adding additional parts.
- Comment on Current limiting 1 week ago:
I don’t think there’s a good way to adapt this circuit to provide current limiting on the 18v rail. Supposing that it was possible, what behavior do you want to happen when reaching the current limit? Should the motor reduce its output torque when at the limit? Should the 18v rail completely shut down? Should the microcontroller be notified of the current limit so that software can deal with it? Would a simple fuse be sufficient?
All of these are possible options, but with various tradeoffs. But depending on your application, I would think the easiest design is to build sufficient capacity on the 18v rail so that the motor and 5v converter inherently never draw more current than can be provided.
- Comment on Is streetwear a joke? 2 weeks ago:
I think you’ll have to provide some examples – ideally as photos – of streetwear fashion. Without any prior research, I only know the term to mean “comfy clothes” that would fall below the typical bar for “casual” dress code
A quick web search shows examples ranging from perfectly reasonable outfits consisting of normally-proportioned shorts, jackets, pants, and shoes. To some outlandish outfits that are prominently displaying designer brands.
And perhaps that’s the crux of the matter: what shows up on the fashion runway or “haute couture” magazines is never descriptive but prescriptive: a designer brand has a vested interest in getting the masses to believe that something is fashion so that they can move product.
Taken to the logical extreme, there is an idea that designer clothes is intentionally outlandish, precisely so that said clothes would never be worn by “normies” in day-to-day activities, and thus can always (and persistently) be projected as high-end.
Commercialized fashion is not a democratic experiment to see what most people want to wear. It is to move product every season. “Designer streetwear” is a poor approximation for what normal people wear when they just want to grab a sandwich from the bodega and then return to watch another episode from Season 2 of The Rehearsal. Maybe this should be called “real streetwear” to distinguish it from so-called designer goods.
- Comment on Would you ever give up your right to leave a bad review about a company? 2 weeks ago:
Whoops, you’re right. I misread the first sentence as though OP’s brother was hired by the company. In that case, yes, this act would appear to void any clause that would restrict writing a review, whether good or bad.
- Comment on Would you ever give up your right to leave a bad review about a company? 2 weeks ago:
Sadly, this act only covers “form contracts” for the sale of services or products, and doesn’t look like it would extend to contracts of employment. That is, a consumer cannot be bound by a clause that prohibits writing reviews. And if a consumer of the company’s products is also an employee, then this act doesn’t prohibit a “no reviews” clause in the employment contract.
- Comment on Looking to get a new phone with FOSS on it. What should I look into? 3 weeks ago:
A phone with battle scars!
- Comment on Been looking into getting an "Indexed Universal Life" insurance policy. Are these trust worthy? 3 weeks ago:
The other comments correctly explain why an index fund is probably better suited, and will preserve more value by having lower fees. But I will propound on why “universal life insurance” (whether indexed or not) might not be a good fit for you.
To explain, I have to start with what the point of life insurance even is. At its core, life insurance is supposed to provide some benefit to replace your life. That is,
ifwhen you die, you would no longer be generating income to support your family or to honor your debts. Without the benefit of life insurance, the consequences might include destitution for anyone that depends on you, as well as possibly a forced sale of the family home if the mortgage goes into default. In a nutshell, if correctly set up, life insurance should approximate the value of your life, the same way that car insurance should make you whole if something happens to the car.(I recognize that this sounds extremely morbid, to put a price on your life. But with the current socio-economic system, this is a necessary exercise)
A reasonable approximation for how much life insurance to buy is to consider how much monthly income would it take so that your family could continue as-is financially in the event that you disappeared from their lives. If the amount will cover everything from inflation, to future college funds, plus retirement savings that you would have made, then that’s probably the upper-limit for the correct amount of benefit to purchase.
If you have no debts, and have no family to support, there’s little point in buying life insurance. Indeed, it’s not terribly profitable for insurance companies to offer just life insurance, which is why they market other types which are partially life insurance, and partially an investment. Every form of life insurance – except fixed term life policies – have this mix.
So the question is, do you need life insurance? If no, then a dedicated investment vehicle – like an index fund – would make more sense. And if yes, then fixed term life insurance makes more sense because it’s cheap and doesn’t muddle your investment portfolio.
I’m of the opinion that mixing one’s insurance objectives with one’s investment objectives is a recipe for disaster, with the extremely narrow situation where the quirks of USA tax law means that wealthy, savvy people that plan ahead could save some tax dollars. Maybe.
- Comment on [deleted] 3 weeks ago:
The practice of handwritten paystubs is deeply suspicious, in an era where even the most basic of business payroll software can easily generate and print out a paystub directly. But I want to focus on the request for $1232 for 8.8 hours of apparent effort.
That divides out into an hourly rate of $140 per hour! Such a high rate is the near-exclusive domain of a lawyer’s billable hours, as suggested from this 2002 survey by the Oregon State Bar. It is patently absurd to request the services of a lawyer for 8 hours when all it would have taken is an hour for a skilled accountant, or two hours if performed by even the most confused of small-business entrepreneurs.
Unless your employment records extended for decades across multiple corporate entities that went through mergers and acquisitions, that is an unreasonable charge. Your former employer may be confusing the “reasonable fee” provisions for preparing documents persuant to a subpoena.
- Comment on Looking to get a new phone with FOSS on it. What should I look into? 3 weeks ago:
I legit ran it over with a forklift the other week
I have to ask: what circumstance led to this particular incident?
- Comment on How can I easily convert rs-232 serial to TTL levels ? 3 weeks ago:
I suppose the first question is whether you had the baud rate set correctly. The photo of the “cleaned up signals” (not entirely sure what you did, compared to the prior photo) seems to show a baud rate of 38400, given that each bit seems to take about 15 microseconds.
As for the voltage levels, the same photo seems to show 5v TTL. So it doesn’t seem like you would need a level converter from 15v RS-232 levels. This is one of the few times where the distinction between a “serial port” and an RS-233 port makes a difference, but a lot of data center switches will deal using 5v TTL, because the signals aren’t having to travel more than maybe 5 meters
- Comment on Self hosting Signal server 3 weeks ago:
This doesn’t answer OP’s question, but is more of a PSA for anyone that seeks to self-host the backend of an E2EE messaging app: only proceed if you’re willing and able to upkeep your end of the bargain to your users. In the case of Signal, the server cannot decrypt messages when they’re relayed. But this doesn’t mean we can totally ignore where the server is physically located, nor how users connect to it.
As Soatok rightly wrote, the legal jurisdiction of the Signal servers is almost entirely irrelevant when the security model is premised on cryptographic keys that only the end devices have. But also:
They [attackers] can surely learn metadata (message length, if padding isn’t used; time of transmission; sender/recipients). Metadata resistance isn’t a goal of any of the mainstream private messaging solutions, and generally builds atop the Tor network. This is why a threat model is important to the previous section.
So if you’re going to be self-hosting from a country where superinjunctions or the right against unreasonable searches is being eroded, consider that well before an agent with a wiretap warrant demands that you attach a logger for “suspicious” IP addresses.
If you do host your Signal server and it’s only accessible through Tor, this is certainly an improvement. But still, you must adequately inform your users about what they’re getting into, because even Tor is not fully resistant to deanonymization, and then by the very nature of using a non-standard Signal server, your users would be under immediate suspicion and subject to IRL side-channel attacks.
I don’t disagree with the idea of wanting to self-host something which is presently centralized. But also recognize that the network effect with Signal is the same as with Tor: more people using it for mundane, everyday provides “herd immunity” to those most vulnerable in society.
If you do proceed, don’t oversell what you cannot provide, and make sure your users are fully abreast of this arrangement and they fully consent. This is not targeted at OP, but anyone that hasn’t considered the things above needs to pause before proceeding.
- Comment on Lowering power consumption on Opteron 3 weeks ago:
I mean, at the USA average price of electricity of $0.13 per kWh, then for a halving of 70 Watts, it’s about 11 cents per day, or $40 per year. But at the California average price of $0.35, then the savings is 29 cents per day, or $107 per year.
That’s not small money, especially if it’s free to make these gains by ripping out unneeded functionality. But the point is taken that it’ll be hard to find savings from older hardware, which simply didn’t prioritize energy efficiency.
- Comment on Why do i tip my bartender $2 per drink and per bar food order but 20% when I order food from a waitress? Am I tipping wrong? 4 weeks ago:
if you do go to an establishment that pays based on the assumption of tips
In the USA, there are only 7 US States (and Guam) which mandate that the minimum wage be paid prior to consideration of tips. All other states permit some fraction of tips to be considered as part of minimum wage, with some states limiting the employer contribution to as low as $2.13/hr.
This is indeed an absurd situation outside of those seven states, but it also means that it’s nigh impossible to avoid establishments that rely on tips to supplement wages, in the other 43 states.
With this background, I can understand why the earlier commenter views tipping as exploitative, for both the consumer and the staff. The result of either choice – boycotting places that pay less than minimum wage, or not tipping at those places – doesn’t change the fact that the staff are being underpaid, which is the root exploitative practice.
- Comment on Does the AGPL license allows not disclosing the source of third party scripts indirectly interacting with the main software? 4 weeks ago:
My understanding – IANAL – of the central thrust of the AGPL is that if there is software that runs somewhere else and serves the result to a user, then that is considered a “distribution” of the software and thus requires the source to be made available to said users, if they want a copy.
So for your title question, I don’t think the dividing line is whether your software is directly/indirectly interacting with existing AGPL software, but rather the question is whether your software affects the service provided to the user.
Starting with your first scenario, I presume that you mean a server-side NodeJS script, and that would modify the results returned to the user. Thus, I would think this is indeed a distribution and the AGPL’s provisions would require your NodeJS script being made available to the user.
For your second scenario, I’m not entirely sure if you mean a server-side or client-side theme or overlay. If you modify a CSS file that is served to the user, I would think that’s a distribution. But if you’re writing a browser extension that overrides the default CSS file from the server, then no distribution of the server software has been made, I think. If you edit a JavaScript file that is part of the Mastodon package, I suspect that is a distribution, because that file is loaded to the user in order to use the service. But I’m not entirely certain on this.
In the third scenario, a scraper would be consuming the result returned by an unmodified AGPL software package, so there is no obligation to offer the source code for your scraper.
The fourth scenario is also a “use” of unmodified AGPL software, and so you have no obligation to offer your custom script to your users.
- Comment on I got a VPO against me, how fucked am I? 4 weeks ago:
With no other info, I think the only advice available is that you should consult a lawyer for their advice. We neither know your legal jurisdiction, nor the timeline between “trying to get an abusive TTI investigated” and “I got a VPO against me”.
The details in-between matter, but ultimately, if you’re subject to any type of restraining order, that will be controlling for whatever actions it prohibits you from doing. And the only way to lift that is to seek a lawyer’s help to challenge it in court.
- Comment on I got a VPO against me, how fucked am I? 4 weeks ago:
What is a VPO? What is TTI?
- Comment on Why is "mythology" in the public domain in the first place? 4 weeks ago:
OP could make up a new story based on mythology and it’s not in the public domain.
I believe this is generally true. But as I read your comment, I started to think about what scenarios it wouldn’t be true for. So now I’ve lost 20 productive minutes of my evening. But to salvage its value, I’ll share what I’ve brainstormed.
If OP decides a universe following up from Greek mythology – as an example – and then affixes that story into writing, then OP’s copyright will come into existence automatically.
If OP instead hires a stenographer to write down his verbal dictation, and the stenographer later formats the text alongside a copyeditor that OP also hires, then OP still has a valid copyright, over both the raw, stenographic manuscript, plus the final, completed work. The stenographer and copyeditor would not share in the copyright, because it is a work-product that they are handling, rather than a creation of their own effort. Alternatively, their hiring contract waives all claims to the story’s copyright.
If OP instead writes his own manuscript using an open-source word processor like LibreOffice Writer, and then sends the PDF to FedEx Kinko’s to print as a perfect-bound book suitable for light coffee-table reading, neither the printer operator at the shop nor FedEx Kinko’s would share in the copyright, because although they are rendering the work into a more tangible form than an .odt or .pdf file, this is a mechanical function and not one of creativity, which is what intellectual property protects.
Finally, if OP stands at that one weird triangle in NYC and basically improvises the entire story aloud without any note cards or preparation, within full view and earshot of the public sidewalk, and it so happens that three Columbia University students – still disappointed by their school’s capitulation – decide to hear what this strange man on the corner is spouting, and begin writing down OP’s words verbatim, then it may be the case that neither the students nor OP have a valid copyright over the story or itz characters.
What can happen is that although OP’s story is a creative expression, it wasn’t rendered by OP into a tangible or concrete form. And what the students did was the mechanical operation of taking dictation, so their scholarly efforts also don’t imbue any creative effort that copyright laws could protect, apart from maybe the exact sequence of grammatical symbols and guesses on how certain character names might be spelled.
In essence, a public creative process may end up depositing the meat of the story into the public domain, save only for the actual rendition on paper which merely records it. This is no different than republications of older public domain novels, where the only valid copyright is upon the copyediting done to clean up some old words and make it palatable for a modern audience.
IANAL, but I’m beginning to see why the job of IP lawyer might pay so much.
- Comment on Can I self-host on old iPhones? 4 weeks ago:
A Nintendo Wii would also work, as exemplified by this blog running on a NetBSD Wii.
But in all seriousness, the original comment has a point: using a mobile phone as a server is possible but also wastes a lot of the included hardware, like the cellular baseband, the touchscreen, and the voice and Bluetooth capabilities. Selling the phones and using the proceeds to purchase a used NUC or an SFF PC would give you more avenues to expand, in addition to just being plain easier to set up, since it would have USB ports, to name a few luxuries.
- Comment on Why is "mythology" in the public domain in the first place? 4 weeks ago:
I understand the question to be: “why does cultural folklore, passed from person-to-person through the ages, fall into the public domain, in modern conception of intellectual property?”
If that is the question, then the answer is multi-fold: firstly, since folklore predates any organized notion of private rights to certain renditions of an idea (aka intellectual property), they are grandfathered in.
But supposing that making an exception for folklore or mythology isn’t palatable, the practical issue is: who would own said intellectual property for a particular myth? Property – in the Anglo-American sense – must have an owner. Even public property like parks and highways has an owner: the state. Without an owner, assigning intellectual property rights for myths is a pointless exercise.
And finally, remember that intellectual property does not cover ideas per-se, but their rendition in some tangible or concrete form. A book, a movie, an MP3 file, etc. If it’s solely an idea without a creation to go with it – or for patents, the plausibility of producing such a creation – then intellectual property rights cannot attach.
- Comment on Could I just create my own drive format? 5 weeks ago:
I vaguely recall what was effectively a delay-line implemented using terrahertz-modulated lasers aimed at the retro reflector on the moon from Earth’s surface. The data storage capacity was something in either the hundreds of GBs or low TBs. But I can’t find the reference.