Jordan_U

@Jordan_U@lemmy.ml
0 Post – 50 Comments
Joined 1 years ago

I mark any email that I didn't intend to sign up for as spam, and I never intentionally sign up for emails from companies.

If Gmail offers a "mark as spam and unsubscribe" option, I use it.

I hope that adds just the tiniest push for Google to automatically mark these types of emails as spam and encourage companies to do better.

But then, I do this maybe once a month with Google's own emails, so 🤷.

This should get you back to defaults:

sudo cp /usr/share/grub/default/grub /etc/default/grub && sudo update-grub

At some point you definitely did accidentally write to /etc/default/grub when you meant to write to /boot/grub/grub.cfg.

There's no shame in that; Grub's configuration process is very confusing and counter-intuitive.

Everybody who has used Linux long enough has stories of breaking their systems in sillier ways, and this didn't even really break your system 🙂.

5 more...

10 year old bug?

What are they talking about, that bug report is from 2014‽

... Fuck

This same argument has been made throughout history.

"If we let Black people have freedom they'll murder all of the white plantation owners!"

Now, I wouldn't blame formerly enslaved people for murdering the people who enslaved them, but that didn't happen.

Aparthide in South Africa was ended without the promised (by white people) "white genocide" either.

Settler-colonial powers always think that the people they're oppressing will commit genocide, because it's what colonizers do.

The only road to true peace is full human rights for all.

1 more...

Why would the inventory be off?

Maybe OP didn't explain it well, but I would imagine that:

  1. This only happened with people who paid cash
  2. If we imagine that every person in line has one drink and is paying with cash, OP would be ringing up 2 drinks for every other customer.

For the purposes of inventory, 1 drink per person is the same as 2 for every other person.

Ok, this is a weird hypothetical, but if the world had been overcast for the last thousand years, and then suddenly there was sometimes just a completely blinding light in the sky that you sometimes have to drive straight toward, it would be chaos.

Before COVID I imagined that the death toll would be so high that most roads would be shut down until technology had been developed and distributed so that you could never be blinded by the sun while driving. (Not just a flip down sun visor, but something like an LCD screen front windshield with head tracking that automatically blocks just the sun from your view).

Now I know how quickly and easily people become acquainted with mass death.

Now I imagine there wouldn't even be a new driver's test required that requires you to demonstrate that you can safely drive into the sunset.

Just "We recommend, but don't require, that you have a sun visor in your car when using public roads."

One key problem with forced arbitration clauses is that company chooses and pays the "neutral" arbiter, who is inevitably biased against the consumer.

Every "terminal app" is a terminal emulator, because non-emulated terminals are physical pieces of hardware.

So you are already using a terminal emulator, I'd guess Gnome Terminal, and it's a fairly full featured modern terminal emulator (in my opinion at least).

Almost never. When I do, it's probably most often because I'm thinking about concrete.

I have never felt less like a "man" (in terms of gender) than when I watched a bunch of videos of men explaining why they think about the Roman empire every day.

Actual quote, which was representative of the videos I saw:

"What you need to understand about men, is that we all feel the urge to conquer."

— Well, I guess I'm not a man then 🤷.

2 more...

Please be sure to check that the smart switches you have space heaters plugged into are rated for that many amps.

Tmux allows you to reconnect to a session, and helps guarantee that you will always be able to get back to your long running processes. For important long running processes, I still use tmux with mosh, because if the mosh client is killed (or you're trying to "re-attach" from a different device, mosh won't let you "re-attach" to that "session".

Mosh allows you to roam, and suspend your machine, and whenever you resume it again, whatever network you're now on, the connection is basically instantly re-established. You can often roam from WiFi to cellular data without even noticing. (Great when working from a phone, or just a laptop)

In my opinion, they are mostly orthogonal (and complementary).

Here's the list of features from the home page. I've added my own comments after '*'. If there is no '*', then the feature doesn't exist for tmux (because it's outside the scope of tmux):

Change IP. Stay connected. Mosh automatically roams as you move between Internet connections. Use Wi-Fi on the train, Ethernet in a hotel, and LTE on a beach: you'll stay logged in. Most network programs lose their connections after roaming, including SSH and Web apps like Gmail. Mosh is different.

Makes for sweet dreams. With Mosh, you can put your laptop to sleep and wake it up later, keeping your connection intact. If your Internet connection drops, Mosh will warn you — but the connection resumes when network service comes back.

Get rid of network lag. SSH waits for the server's reply before showing you your own typing. That can make for a lousy user interface. Mosh is different: it gives an instant response to typing, deleting, and line editing. It does this adaptively and works even in full-screen programs like emacs and vim. On a bad connection, outstanding predictions are underlined so you won't be misled.

No privileged code. No daemon. * Same for tmux, but that's less interesting since tmux is not a network service You don't need to be the superuser to install or run Mosh. The client and server are executables run by an ordinary user and last only for the life of the connection.

Same login method. * Not really relevant to tmux, which doesn't handle auth Mosh doesn't listen on network ports or authenticate users. The mosh client logs in to the server via SSH, and users present the same credentials (e.g., password, public key) as before. Then Mosh runs the mosh-server remotely and connects to it over UDP.

Runs inside your terminal, but better. * This is common to both Mosh is a command-line program, like ssh. You can use it inside xterm, gnome-terminal, urxvt, Terminal.app, iTerm, emacs, screen, or tmux. But mosh was designed from scratch and supports just one character set: UTF-8. It fixes Unicode bugs in other terminals and in SSH.

Control-C works great. * Tmux can help with this too Unlike SSH, mosh's UDP-based protocol handles packet loss gracefully, and sets the frame rate based on network conditions. Mosh doesn't fill up network buffers, so Control-C always works to halt a runaway process.

I was helping you there and asked you to back up configs and post some information.

Once you've done that I think actually getting things back the way they should be will go fine.

Like me, that user wants to use ISO-8601 format for dates.

I didn't see that option in the screenshot. Anyone know if that's possible in this Beta?

https://m.xkcd.com/1179/

This is the kind of distro Fedora has always been, both for better and for worse.

I don't see this decision driving users away from Fedora any more than other decisions they've made in the past and will surely make in the future.

"The Open Book is my long-standing attempt to design a comprehensible and accessible e-book reader that you can build yourself (or at least have manufactured affordably). The current edition is something I’m calling the “Abridged” or “Developer Preview” edition. It’s designed to be incredibly simple: there are 7 through-hole and 14 surface mount components, nearly all in a chunky 1206 package that’s easy to hand solder. The tradeoff is that it has no LiPo charging circuit; instead it uses AAA batteries, making it a bit more chunky than previous versions of the book.

The goal with this version is to get hardware in hands so we can start hacking on firmware."

https://www.oddlyspecificobjects.com/projects/openbook/

So:

  • This is a hobby / project of love
  • The current focus is on hardware

I'm sure that the eventual plan is to support ePub.

I'm not sure it will ever get there, because it's not a well resourced project, but I personally don't like criticizing one person's efforts, which they are making freely available.

1 more...

I absolutely agree, and yet for years we've been seeing unmasked infectious disease experts at infectious disease conferences that (surprise surprise!) become super-spreader events.

It would be funny if it weren't so distopian.

(FWIW, I think most conferences for aerosol scientists have remained remote or respirator required)

7 more...

Find the mutual aid networks in your community and join / support them.

Just generally be in community with those around you.

Join or form local weekly protests for a permanent ceasefire.

Join a union and encourage others to. Help ensure that your union has enough resources to provide support for more vulnerable members when they need to strike.

Run for local office.

I didn't know TWAIN, so I looked it up and am glad I did:

TWAIN: Technology Without An Interesting Name

This is not advice, because if I had heard this posted as advice in my first year or two of tinitus I would have been pissed at the person giving it. Also, to a very large degree even your emotional reaction to this is not something you can control.

I was absolutely devastated and hated myself when I got tinitus. I and a co-worker teaching international folk dance were invited to a dance party / concert.

Amazing band, flown in from another continent, but I knew it would be too loud. I've always had minor hyperacusis and been very concerned about protecting my hearing. Before the party started I offered disposable earplugs to my co-worker, she declined. I had my own pair, in my pocket, the entire night. For some reason I never put them on.

At the end of the night I leave the venue and have terrible ringing in my ears. I freaked the fuck out, and kept everything as quiet as possible for the rest of the night and the next day to try to allow my ears to heal. Immense guilt and kicking myself. And fear.

The ringing never stopped. Saw an audiologist, who said it would definitely go away in a few weeks. It did not.

Tried supplements that did seem to reduce the volume of the ringing (Lipoflavinoid. No idea if it was all placebo or not).

Saw many more specialists and eventually met one (more than a year later) that told me (no idea if current studies back this up) that sometimes Tinitus is not physical damage at all, and that it's damage in the way that our brains process the input from our ears.

He recommended that I "try not to think about it". Said that sometimes even helps the ringing decrease. I told him that I was not the type of person who could ever not think about it. Nor did I want to be. Exactly the opposite, I had pledged to myself to never just not notice it. Saying that now doesn't really make sense to me, but at the time it absolutely did. It was an integral part of my self-image.

So, I religiously took Lipoflavinoid every day for more than a year. Normally with my ADHD I would struggle with that, but every time I forgot it I would notice the ringing getting louder and remember.

Then, maybe two or three years in I would sometimes forget to take Lipoflavinoid and... Not notice. I still hadn't heard a second of silence for 3 years, but I didn't notice the volume increase.

Eventually I was forgetting it more often than not and didn't want to keep the hassle and pay for it so I just stopped.

Work got difficult and I would have other things to think about than the ringing, and every one in a while there were days where at the end of the day I would realize I hadn't noticed the ringing at all. (If I had that realization in a quiet room, I'd immediately start noticing it again)

I gave up trying to fix it. I managed to convince myself that accepting it did not go against the fiber of my self concept, and my experience got better.

It's been more than 10 years since that concert and I can say that I haven't been bothered by the ringing in years, and I'm in a relatively quiet room typing this out now and don't hear it.

Again, not advice. I can't tell you to "just ignore it", and if you're like me you can't make yourself do that even if you wanted.

If you're early in your experience with tinitus, maybe it will be helpful to hear that at least for one person, it got better. And that by "it" I mostly mean my experience of life with tinitus, moreso than the ringing itself "going away".

If anyone has read this far, fun fact that kind of goes against the general gist of this narrative:

Once I had tinitus I realized that I could be a surprisingly accurate and precise human drcibal meter by comparing perceived volume of my ringing to perceived volume of the environment.

Could get within about 3db in the range from 40 to 75 without earplugs, at which point I would put in earplugs and know how much to adjust to get the same precision up to 100db.

I generally refuse on moral grounds to participate in activities above 95db without all participants strictly being required to use ear protection.

Anything above 80, I set up a small table with free earplugs, even if I'm not the organizer...

Also, I haven't really tried to measure db this way in a few years. Don't know if I still can or not.

Oof.

I feel this all to well.

I highly recommend reading https://www.strugglecare.com/book .

It's not self-help. It's not going to "fix" you.

But reading it was some of the best therapy I've ever received. If you're at all like me, maybe it will help you too. I am happier, as are the people I love and who love me, in large part because of K.C. Davis' philosophy. (The people I love and who love me are also very empathetic and understanding, which I know is definitely not true for most people unfortunately).

It's less than $20.

It's short.

Buy it. If you can't afford it, I might even be willing to buy it for you / venmo you $20 to get it.

Also available in your library / Libby.

Also available as an audiobook.

This talk introduces sleepgraph, a tool that might help you debug your s2ram issues.

The talk may also convince you that, for your specific hardware, s2idle might be better than s2ram:

https://youtu.be/Pv5KvN0on0M

Not quite running in userspace. To the best of my own understanding:

The new kernel feature is to allow writing schedulers in eBPF, a "language" the kernel runs in kernelspace that is heavily restricted.

For example, all eBPF programs must complete in bounded time, and the kernel's static checker must be able to verify that before the program can even begin executing. eBPF is a rare language that is not touring complete.

"For scx_simple, suspending the scheduler process doesn't affect scheduling behavior because all that the userspace component does is print statistics. This doesn't hold for all schedulers."

So, it may be that eBPF also makes it easier to write a truly userspace scheduler, but that's not the primary purpose, and it's not what is being done with scx_simple.

https://lwn.net/Articles/909095/ for more about (e)BPF.

1 more...

Fun fact!

Teletypes predate "computers" and were used for efficiently transmitting and recording text.

Here is a purely mechanical teletype from the 1930s being used to interface with a modern Linux machine:

https://youtu.be/2XLZ4Z8LpEE?si=BEsTAz5kkYu9tIQB

2 more...

Until you use a system that doesn't have a ~/.bashrc , and now your tab completion helpfully expands "~/.ba[TAB]" to "~/.bash_history" .

No.

This is a vulnerability which allows bypassing secure boot protections. You have already manually bypassed those protections by disabling secure boot.

I tried to solve these cross-distro compatibility problems in a generic way with this "standard", more years ago than I'd like to think about:

https://www.supergrubdisk.org/wiki/Loopback.cfg

If someone wants to come up with a bootloader agnostic solution rather than one tied to grub, like an extension to Bootloader spec , https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ , I'd be happy to evangelize it and add support to grub for using it.

I'm not aware of any other bootloader that supports reading a config file that exists within an iso though, and secure boot support may add additional complications.

Bottom line:

I feel like we could relatively easily get to a point where every Live iso that actually supports loop booting can just be added, as a file, to your USB drive (from Windows, or your android phone even) and be detected at boot in a nice little menu, no editing of config files needed.

I don't have the time or spoons to get the Linux community there alone, but if people are interested in helping I'm more than happy to pick this up again.

(Note: Please don't blindly suggest "Just chain load the iso!" Things aren't that easy, unfortunately).

Pulseaudio used features of sound cards (most prominently the hardware read pointer) that ALSA/dmix alone never used.

ALSA/dmix could allow you to get the same power savings as pulseaudio if you set the hardware ring buffer size to, say, 2 seconds.

And that would be fine of you were just playing some music, but if you were also chatting and wanting to get prompt notification sounds they would always be delayed between 0 and 2 seconds depending on where the hardware read pointer happened to be when the system tried to play a notification sound.

ALSA/dmix could also allow you to set a tiny buffer size. Then your music would play, and your notification sounds would play promptly too. But if you were just playing music your CPU would never be able to go into the lower power sleep states because it would need to wake up every centisecond to service the tiny ring buffer.

That would kill your battery life.

Pulseaudio's (terribly named) "glitch free" audio feature was the first solution for Linux that allowed you to get power savings and low-ish latency. Your mp3 player filled up the ring buffer once every two seconds, and if a notification came in pulseaudio would look at where the hardware read pointer was, take the contents of the buffer that was just about to be read, and mix the notification sound into it, writing the newly mixed sound data to the buffer just before the sound card read it.

So, from the user's perspective nothing interesting seemed to happen, but they get better battery life and things like notifications or game sounds work like they expect them to.

ALSA drivers would commonly advertise support for accurately and precisely reporting the position of the hardware pointer, but since nothing actually used that info before, many drivers gave incorrect results, which would only cause problems when using pulseaudio.

For me, unless I'm missing something, that's an easy "Yes".

If someone randomly asks me for a single dollar they probably need it more urgently than I do. And if it's some kind of weird scam? I'm still only out $1.

(No, I will not be sending $1 to people that reply to this, but I pre-acknowlege that you're very clever for thinking of that)

2 more...

https://en.m.wikipedia.org/wiki/Right-to-left_mark

It's just a Unicode character; Copy-Paste and experiment!

(If you'd like more direction on how to play with this in a *NIX terminal let me know.)

You can also play Tetris via Emacs.

https://www.emacswiki.org/emacs/TetrisMode

Starting with OS X, every Mac has shipped with Tetris out of the box 🙂.

USB block devices containing mountable filesystems (on Desktop systems) can generally have those filesystems mounted and files written to them by regular users; But the block device itself stays only root writeable.

So, you need root privileges either way.

(Going from memory, but also decently confident)

The main reason that I piled on Canonical was that they kept on spreading FUD about Wayland to try to promote / justify Mir rather than discussing in good faith.

The worst part about Mir was always Canonical.

One of many things that the right, left, and center can all agree on is (pro) eugenics.

Idiocracy, and this song, are so explicitly eugenicist and yet people who consider themselves "enlightened liberals", or even "leftists", choose not to see them as such.

They choose not to because to accept that obvious truth would mean that they have some things they need to work out too. That it's not just MAGA supporters that are upholding white supremacy and ableism.

In the past 5 years I've come to terms with a lot of abhorrent things I used to believe, and a lot of harm that I've unknowingly caused in the past.

Learn better; Do better.

If you haven't done hard introspection that has made you uncomfortable, especially if you're an abled white person, then you're probably not as enlightened of a person as you see yourself being.

I can't vouch for this particular playlist / series since I haven't watched it, but the channel (Crosstalk Solutions) is great, and so I expect that their home networking 101 is as well.

https://youtube.com/playlist?list=PL1fn6oC5ndU9l3eYa7S_s206JUpbIa-8m

OR:

Nvidia will feel enough pressure (likely from the ML / HPC space?) to provide open kernelspace support that they'll actually make that happen.

Which... Has already happened.

Nvidia took a lot of the kernelspace logic that used to be in their proprietary driver, re-architected their GPUs to move that logic into a firmware blob (GSP).

And last year they released a completely Free driver that intefaces with GSP.

This allowed Nouveau developers to finally access critical features like power management (which were basically behind a wall of DRM, as Nvidia used legal and technical measures to lock Nouveau out of their firmware).

Now Nouveau has a new shader compiler, Vulcan support is growing rapidly, and people like me will soon prefer the Mesa stack for Nvidia over Nvidia's own drivers.

And you can bet that Nouveau will work great with all of the Wayland compositors.

This is really the exact wrong point in history to be making the argument you're trying to make 🤣.

"I was referring to open book reader..."

The lack of capitalization, and the project name that could just as easily be a descriptor, made me miss it at first too.

Ahh, sorry.

For Fedora it looks like the default /etc/default/grub looks like this:

GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true

( Taken from https://discussion.fedoraproject.org/t/how-to-regenerate-etc-default-grub/72677/9 )

If you're using LVM / LUKS you may need additional kernel parameters, like resume=... for suspend to disk to work properly.

Please, before doing anything else, post the output of the following:

cat /proc/cmdline

And make a backup of your existing grub.cfg with:

sudo cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg-backup-$(date --iso-8601=s)

Also, be sure that you have a LiveUSB on hand. You don't want to be SOL if we break something and can't boot again without fixing it first.

I quite happily run HAOS on my raspberry pi 3 to control the lights, my Roomba, and various other devices in my home.

Interacting with it via the home-assistant Android app, or the web interface, I'm never waiting for anything, and interacting via mosh is quite pleasant.

Part of what makes Linux nice is that you can use just what you need.

If what you need includes something like a web browser, then yes; 4 GiB of RAM is going to be a bad time, and 1 GiB is going to be unusable.

Sounds like the neurodivergence you're describing is autism, so the preferred term among autistic people (like me) is "autistic".

3 more...