Limonene

@Limonene@lemmy.world

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

Limonene ,

I have three ideas: First, you could switch the desktop environment to one of the ones that has a GUI settings tool to set passwordless automatic sign in. I think Gnome 3 on Ubuntu, and Mate Desktop on Linux Mint have that feature. There are probably others.

Second, you could switch your display manager to "nodm". The display manager is the thing that runs the X server or Wayland, and it starts the greeter (the greeter is the program that shows the login screen). nodm is a special display manager that doesn't use a greeter or ask for a password. It immediately starts the session using the username and desktop environment specified in its configuration file.

I use nodm for my HTPC and it works very well. The only downside is that you have to edit its configuration file, /etc/default/nodm , using a text editor. I'm not aware of any GUI configuration tool for it. However, it's pretty easy to configure.

Third, you could abandon all display managers, and start the session manually, either from a shell script, or over SSH. This is a little more complex. You will probably want to get comfortable with SSH before trying this (SSH is the command-line analog of remote desktop).

Limonene ,

The existence of one or more gods can't be conclusively proven or disproven. So it makes sense to me that some people believe in it and others don't.

Limonene ,

Ugh, an article with popups on loss of window focus. That's an immediate Ctrl+W from me.

Limonene ,

And I thought my ethernet cables were a mess. At least I've never run ethernet cables on stairs.

Limonene ,

What do you expect them to say? That they're proud of this guy? Even though he's clearly a madman?

I know IRL gun nuts, and none of them would identify with this person. Also, none of them subscribe to the fallacy/straw-man of a "good guy with a gun". The ones who carry concealed would remind you that they are carrying for themselves, not for you. If you find an active shooter in a mall, you can count on them... to run away.

Skillful gun nuts know that shooting defensively is never worth the legal hassle unless it saves your life (or a family member's life).

The shooter in this article is nothing like any of the gun nuts I've ever met. This shooter is another Kyle Rittenhouse, someone anxious for a chance to kill a person and get away with it under the excuse of defense.

Limonene ,

If a minimum wage worker started working at age 18, and worked until 67 (the retirement age set by the US Social Security Administration) and worked 40 hours a week every week, they would make less than a million dollars in their life (at the US federal minimum wage of $7.25 per hour).

So, a millionaire with $10M would have to spend more than 10 lifetimes making up the overpayment.

A billionaire with $1B would have to spend more than 1000 lifetimes.

A billionaire with $200B would have to spend 269,745 lifetimes.

Limonene ,

The text of this post appears wrong on old.lemmy.world. It says "Solve x for x^x*x^x^ = 2" with no superscripts. It appears correctly on lemmy.world.

I assume we're meant to find an expression of W() and square roots and stuff, which expresses an exact answer. Since finding a decimal approximation somewhere between 1 and 2 using a binary search would be too easy.

Limonene ,

I believe it is:

spoiler

e^W(W(ln(2))

spoiler
x=W(x)*e^(W(x))

x^(x*x^x)=2
x*x^x*ln(x)=ln(2)
x*e^(ln(x)*x)*ln(x)=ln(2)
u=x*ln(x)
u*e^u=ln(2)
u=W(ln(2))
x*ln(x)=W(ln(2))
e^(ln(x)*x)=e^W(ln(2))
x^x=e^W(ln(2))
x = square-super-root(e^W(ln(2)))
wikipedia says this is equivalent to:
x=e^W(ln(e^W(ln(2))))
but I don't know how they arrive at that.
x=e^W(W(ln(2))

working backwards to verify:
x=e^W(W(ln(2))
ln(x)=W(W(ln(2))
ln(x)*x=W(ln(2))
ln(x)*x*e^(ln(x)*x)=ln(2)
ln(x)*x*x^x=ln(2)
e^(ln(x)*x*x^x)=2
x^(x*x^x)=2
Limonene ,

The easy way: take your existing wiring. Put an 18VAC to 5VDC power supply in parallel with the pushbutton. Then, the output of that power supply goes to the 5V USB input of your camera setup.

The downside is that it will reboot the camera every time someone rings the doorbell, because you are shorting across the camera's power supply.

You can put a resistor in series with the button to fix this. You will need to find a resistance that's low enough to still cause the chime to ring, but high enough not to disrupt the camera's power supply. Maybe start around 20 ohms. If you can't find a working resistor value, you can change the transformer to a 24V or 36V transformer, but make sure to keep that resistor high enough not to burn out the chime, and make sure your 5VDC power supply can handle the increase in input voltage.

Limonene ,

Remember that voltage is measured across a pair of wires, so you can't power the chime with only a single wire. That's part of what makes this difficult -- these doorbell systems only have the bare minimum of wiring in them. Powering the camera and the chime in series with each other is quite difficult. I think a lot of these things just accept the short circuit, and use a battery to power the camera while the button is being held.

Here is what I was proposing, and I think what ch00f was also proposing. Replace "5VDC power supply" in this diagram with "a full bridge rectifier and a bunch of caps" in their description, and also note that your camera probably requires a well regulated 5VDC supply.

https://lemmy.world/pictrs/image/9cc9b05a-485a-4f44-805d-cfbaffdb5ad0.png

Limonene ,

Actually, I think that's a really good idea. Just be aware of possible inductance in the long wires from the transformer area going to the camera. Putting a large electrolytic capacitor next to the camera should fix that.

As for your bell, there are dead simple systems that use a battery-powered stick-on button with a transmitter, and a chime/receiver that plugs into a wall. If you want to be fancy, you could find a way to power the transmitter with that 5VDC, in parallel with the camera... or you could just keep it simple and use the battery that comes with the button. They last near forever.

Limonene ,

The war in Gaza isn't the only thing going on in the world, you know. It's not even the deadliest war going on right now. Take a look at the list: https://en.wikipedia.org/wiki/List_of_anthropogenic_disasters_by_death_toll#Wars_and_armed_conflicts

The current era of the Israel-Palestine war (since October) has a death toll of around 30k. Look at how many other current and recent wars have death tolls of at least that much. Notably, the US-Afghanistan war (around 193k deaths) was ended by Biden.

Limonene ,

Why does the article call the people held by Israel "prisoners", but the people held by Palestine "hostages"?

Limonene ,

Tiktok has some serious problems with censorship. It's been absolutely proven that Tiktok censors content that the Chinese government dislikes. Even if Tiktok/Bytedance insists that they aren't owned by the Chinese government, they are owned by Chinese entities, which subjects them to Chinese government censorship, and may require them to deny that censorship.

https://lemmy.world/pictrs/image/5e8854b3-74f1-40b2-8e2a-f4a379d67189.png

The study: https://networkcontagion.us/wp-content/uploads/A-Tik-Tok-ing-Timebomb_12.21.23.pdf

Article about the study: https://www.nytimes.com/2023/12/21/business/tiktok-china.html

Antipaywall link to that article: https://archive.ph/MLATC

I don't disagree that Facebook, Youtube, and Twitter have their own set of things they censor. I don't disagree that Tiktok is being singled out by Congress. I don't disagree that there are big privacy problems with all of the above platforms.

Limonene ,

The article talks about how presidential candidates (and some other office candidates) get secret security information before they are actually elected. And it says that Donald Trump should not receive that information.

Shouldn't candidates have to apply for a security clearance, if they want this info before they are elected? This could make it a nonpartisan issue, while achieving the same result (since Trump would not be eligible for a security clearance, due to his history of mishandling documents).

Limonene ,

I would be voting "Uncommitted" tomorrow if I didn't already have Covid. It's not so severe that I couldn't vote, but it is definitely contagious enough that I can't safely go to a voting site.

Limonene ,

Do you even know how a primary works? This can't possibly reduce Biden's chance of winning (not in the primary, not in the election).

Limonene ,

What ad blocker? I used uBlock origin without any issue, although I have a lot of custom filters.

White Rural Trump Supporters Are a Threat to Democracy ( www.thedailybeast.com )

In the popular imagination of many Americans, particularly those on the left side of the political spectrum, the typical MAGA supporter is a rural resident who hates Black and Brown people, loathes liberals, loves gods and guns, believes in myriad conspiracy theories, has little faith in democracy, and is willing to use violence...

Limonene ,

Headlines like this are problematic. I think we can all agree that Trump has done a lot of damage to democracy in the US, but are rural Trump supporters really more dangerous than urban Trump supporters? That claim is suspect, and the article provides no evidence to support it (it provides evidence that most Trump supporters are rural, which is a totally different claim.)

And saying that white rural Trump supporters are worse than non-white rural Trump supporters is an even more serious claim. It's racially discriminatory, and seems totally baseless in this article.

The article has no evidence of these claims, and seems to indicate that the book doesn't even make the claims of the headline.

(I'm not objecting to the claims that Trump supporters are mostly rural and mostly white. That is common knowledge.)

Limonene ,

Using a VPN (like Tailscale or Netbird) will make setup very easy, but probably a bit slower, because they probably connect through the VPN service's infrastructure.

My recommended approach would be to use a directly connected VPN, like OpenVPN, that just has two nodes on it -- your VPS, and your home server. This will bypass the potentially slow infrastructure of a commercial VPN service. Then, use iptables rules to have the VPS forward the relevant connections (TCP port 80/443 for the web apps, TCP/UDP port 25565 for Minecraft, etc.) to the home server's OpenVPN IP address.

My second recommended approach would be to use a program like openbsd-inetd on your VPS to forward all relevant connections to your real IP address. Then, open those ports on your home connection, but only for the VPS's IP address. If some random person tries to portscan you, they will see closed ports.

Limonene ,

I am NOT ok with Biden. I'm going to vote for him anyway, because in the next term he will be less bad for Gaza than Trump would be. Even taking into account Biden's current genocide.

Limonene ,

Any citations? I mean, the more recent stuff is obvious, because Trump just comes out and says it. He basically admits he's a Russian agent.

But what about the 1987 full page ad? Is that referring to this: https://www.buzzfeednews.com/article/ilanbenmeir/that-time-trump-spent-nearly-100000-on-an-ad-criticizing-us

If so, that ad doesn't say anything about NATO. The ad recommends pulling support for Saudi Arabia, the Persian Gulf, and most of all Japan. Although Trump's ad is fucking stupid, this ad doesn't say anything about any NATO countries.

Limonene ,

Regardless of whether this narrative is tired, or a decade old, it is still very relevant right now. Trump is a Russian agent. It is essential not to let him hand over the US to Russia.

Limonene ,

Subsidizing solar may help with climate change, but a better choice would be taxing carbon dioxide emissions in proportion to the actual damage that they do. If coal and gas were taxed according to their actual harm, the market price of electricity would increase to its fair price, and make solar viable without needing the government to organize it. However, due to battery costs and short battery lifespans, I suspect the free market would pick nuclear over solar.

Limonene ,

>not a single balance update since the 8th century

You're just begging AnarchyChess to correct you.

Limonene ,

Seeds shouldn't be covered by patents. When you buy a patented item from a patent holder (or a manufacturer that licensed the patent) then First Sale Doctrine says that you can do whatever you want with it without needing to pay for a patent license. In the case of a seed, that means you could resell it to someone, you could roast and eat it, or you could plant it in the ground. But unlike other inventions, a seed's purpose is to create more of itself. By buying a seed, you are implicitly buying the ability to make more seeds. If First Sale Doctrine allows you to use the patented product how you want, then it allows you to grow more seeds, because that's just what seeds do.

Limonene ,

This article seems pretty bogus. In the US, I haven't heard a single person voice any support for Hamas, and at least half the people I know are leftwing. They support the Palestinian civilians, not Hamas.

Can anyone provide a citation for even a single one of the "displays of support for Hamas and radical Islamists from young Western leftists"?

Limonene ,

In many cases, they will cherrypick security fixes and other major bugfixes from the bleeding edge version, and put those fixes in the old versions of the software.

This is the same thing the PHP folks would do while the old PHP is supported. Once the old PHP is out of support but Ubuntu LTS is still in support, then the Ubuntu folks have to put in the extra work to do the cherrypicking.

Limonene ,

C++ user with operator overloading: "T2 minus T1."

Let someone else implement the class. There's probably a library for it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines