367 points

If it makes you feel any better, I decided earlier today to experiment with “castnow”, a command-line program for casting to a Chromecast device.

I grabbed the url of a video off of Archive.org, used wget on a box I was ssh’d into to download the video, and then ran my “castnow” command to cast it to the Chromecast.

I got a progress bar and current/total time on the TV, but aside from that only a black screen and no audio.

I tried getting the latest version of “castnow” from the Git repo. I tried transcoding 7 different ways with FFMPEG. A bunch of things.

Finally, copied the video to my local machine and ran it in mpv.

The video itself was solid black with no audio and the Archive.org page had comments on it saying “why is there no video or audio?”

I tried a different video and it worked fine.

permalink
report
reply
92 points
*
Deleted by creator
permalink
report
parent
reply
67 points

Beautiful story. Feel that we’ve all been there. Every now and then, when the assumption is that the stupid piece of tech isn’t working, and there it is, just functioning as intended :)

Thanks for sharing

permalink
report
parent
reply
37 points

This is hilarious

permalink
report
parent
reply
17 points

My desktop background used to be solid black with faint grey text reading “Yes, the monitor works.”

permalink
report
parent
reply
160 points

Back in the dark, old days of Linux I spent 5-6 hours digging through dbus events and X11 configs to get my mouse working. It was unplugged.

In my defense, in those days, Linux was such an insane asylum that diving into dbus and X11 as a first step was usually the logical approach.

permalink
report
reply
48 points

Jesus Christ. I’ve never been so thankful for being a Linux noob in my life. That sounds awful.

permalink
report
parent
reply
41 points

Those days gave me a career so I can’t really complain.

permalink
report
parent
reply
22 points

Remember make

Oh wait. Missing something.

Download it.

Tar unzip make missing something else. Tar unzip make.

1 hour later. What was I doing?

permalink
report
parent
reply
8 points

I owe much of my career to trying to set up Linux From Scratch two decades ago. While it’s a much better experience installing Linux nowadays, there’s a lot to be said for the experience spending your weekend debugging a system will give you.

permalink
report
parent
reply
18 points

Had a similar experience with Mint (of all distros) on an old laptop where it would not detect the headphones I plugged in. Spent like 30 minutes troubleshooting the settings/configuration and googling. Turns out the cable was weird and I just needed to not push it in too deep for it to be detected.

permalink
report
parent
reply
14 points

Been there with those old printer cables that had the two thumb screws. I spent way too long troubleshooting print problems turned out with some cables if you dont screw the thumb screws all the way in you don’t get a good cable connection.

permalink
report
parent
reply
7 points
*

Ah yes the good ol’ LPT ports. Back in the days of pin printers and them catching on fire. Good times.

permalink
report
parent
reply
5 points

I like that it has those little inside bevels to guide the pins. More connectors should have that.

permalink
report
parent
reply
13 points
*

Back in the dark, old days of Linux I spent 5-6 hours digging through dbus events

That’s not possible. In the dark, old days of Linux, dbus didn’t exist yet.

permalink
report
parent
reply
2 points

There’s always a darker, older day

permalink
report
parent
reply
5 points

Or forgetting to enable the third button/wheel in the kernel

permalink
report
parent
reply
4 points

Once helped a nice old lady troubleshooter her computer. Everything was yellow. Checked monitor settings three times. Checked Windows for f.lux. Checked Windows video settings. Reverted drivers. Updated drivers.

Jiggled the cable.

permalink
report
parent
reply
3 points

Ah, good old VGA brings the memories back

permalink
report
parent
reply
4 points

I am still bitching when I have to touch anything dbus, x11 or xdg.
Also, finding where an environment variable comes from is fun too.

permalink
report
parent
reply
3 points

Let’s just hope X11 will soon be gone for good.

permalink
report
parent
reply
1 point

Remember - if an environment variable’s not your fault, it’s your parent’s fault.

permalink
report
parent
reply
3 points

On the bright side you must be tough as bricks now.

permalink
report
parent
reply
154 points

You can always cd’s nuts

permalink
report
reply
36 points
*

mkdir -p eez/nuts

cd eez/nuts

permalink
report
parent
reply
24 points

This is serious, ls not make it a pun thread.

permalink
report
parent
reply
1 point

lol this comment made me subscribe

permalink
report
parent
reply
-20 points

Underrated comment

permalink
report
parent
reply
125 points

No, you just had a 3 hour learning experience.

permalink
report
reply
18 points

Educator here. This is called “discovery learning”. (The alternative to discovery learning, “direct instruction”, would be if someone had told OP about these permissions before OP got themselves into a pickle)

When discovery learning is successful, it leads to better learning outcomes. Compared to direct instruction, you learn the material more deeply and will have better recall of the material, often for the rest of your life. The downsides to discovery learning are that it’s very time-consuming, very frustrating, and many students will just fail (give up) before learning is completed.

Consider yourself one of the lucky ones, OP.

permalink
report
parent
reply
6 points

If discovery learning is frustrating in class, you must adjust it. It can’t be too easy or too frustrating.

And yes, usually the mental model a student forms from a lesson after doing some discovery learning has strong foundations.

permalink
report
parent
reply
5 points

It happened to me countless times that I was suffering with a task for hours and hours and hours, then finally found what the problem was. Then a few weeks later, facing the same issue again somewhere else, I only remembered the fact that I had that same issue weeks ago, but I completely forgot what the solution was.

Weirdly enough, sometimes it’s indeed a lifelong experience and I can remember the solution forever. I don’t really know what it depends on.

permalink
report
parent
reply
8 points
*

Reminds me of the adage “you didn’t pay me $5,000 for turning that bolt. You paid me $5,000 because I knew which bolt to turn.” Experience and knowledge is valuable.

permalink
report
parent
reply
71 points

SELinux enters the chat

Sure you own it, your groups owns it, its permissions are 777, SELinux says GEEEEEEET FUUUUUUCKED.

permalink
report
reply
38 points

Selinux is great. It provides actual security to a system

permalink
report
parent
reply
25 points

But it is hard to operate. Source: did more than audit2allow for years.

permalink
report
parent
reply
5 points

Honestly I’ve never had to do anything but the defaults so I can’t really testify to that.

permalink
report
parent
reply
9 points

But then you get the pleasure of making it submit. My Minecraft server is now running in GNU screen just like I wanted it to, and SELinux can only look on and whimper softly.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments