[-] ch00f@lemmy.world 2 points 40 minutes ago

It’s popular because the companies that run it are profiting enough to keep doing it.

Is this even true? I thought most of these companies were still in the "chuck VC money into the furnace" phase.

[-] ch00f@lemmy.world 1 points 1 hour ago

Now do the stoplight post in the background.

[-] ch00f@lemmy.world 5 points 15 hours ago

"The loser in an argument about the meaning of the word 'hoverboard' is anyone who leaves that argument on foot."

[-] ch00f@lemmy.world 3 points 23 hours ago

beyond trivial issues

I'd argue that 10-15% of issues are trivial issues and are worth investigating even without a schematic if the alternative is just throwing something away.

[-] ch00f@lemmy.world 3 points 1 day ago

I can top that. I got a broken $100 BlueYeti microphone for $10 on eBay. The USB cable they shipped it with was bad.

[-] ch00f@lemmy.world 26 points 1 day ago

You don't have to fix everything, but just doing stuff like replacing connectors and capacitors could probably save 10% of the shit that we throw away, and it's not that hard to try.

[-] ch00f@lemmy.world 7 points 1 day ago

pay to have the unit returned, spend valuable technician time diagnosing and fixing an issue and then pay to ship the repaired unit back.

My point is that in a better world, people could fix this kind of thing themselves. Like offer a discount for their trouble and have them or their mechanic aunt come by and fix it.

[-] ch00f@lemmy.world 52 points 1 day ago

What's the joke here?

[-] ch00f@lemmy.world 103 points 1 day ago* (last edited 1 day ago)

Meanwhile, my Wi-Fi router requires a PhD in reverse engineering just to figure out why it won’t connect to the internet.

I do think people in general could benefit from maybe $100 in tools and a healthy dose of Youtube when it comes to this point. My PC of 10 years wouldn't boot one morning because my SSD died. There wasn't anything too important on it that I hadn't backed up, but it was still a bummer. I took it apart, and started poking around. Found a short across a capacitor, so I started cycling capacitors. Sure enough, one was bad. Replaced it. Boots just fine. (Moved everything to a new SSD just in case).

All I needed for this job was a multimeter and a soldering iron (though hot air gun made it slightly easier).

I think the "black box" nature of electronics is mostly illusory due to how we treat our devices. A friend bought a walking treadmill that wouldn't turn on out of the box. She contacted the company, they told her to trash it and just shipped her a new one.

She gave it to me, I took it apart. One of the headers that connects the power switch to the mainboard was just unplugged. It took literally 10 minutes to "fix" including disassembly and assembly, and all I needed was a screwdriver.

Yet there's zero expectation of user maintenance. If it doesn't work, trash it.

Scroll through maker TikTok

This guy might be looking in the wrong places.

[-] ch00f@lemmy.world 5 points 1 day ago

You might just be in the market for a moped.

The license requirement of a vehicle is for the safety of everyone on the road, and a 20+mph vehicle is inherently dangerous no matter the shape and should be subject to regulation.

[-] ch00f@lemmy.world 62 points 2 days ago

So in Seattle last week there was a man who accidentally shot himself in the leg while driving his car. He called 911 because he obviously needed help, but tried to tell cops that he was shot by a stranger while driving. They asked why there were no entry holes in his car, and I think he went to jail for being a dumbass.

Anyway, how do we know JFK didn't accidentally shoot himself and then try to cover it up because he was so embarrassed.

[-] ch00f@lemmy.world 69 points 4 days ago

The children yearn for crocodile dentistry.

7
10
submitted 2 months ago by ch00f@lemmy.world to c/dumbphones@lemmy.world

Just got my Minimal Phone last week after two years between a LightPhone II and Sunbeam F1. Ask me anything.

3
submitted 2 months ago by ch00f@lemmy.world to c/fpga@lemmy.ml

So I'm new to FPGAs. I've got a project that runs fine at 100MHz on an Altera chip. I'm trying to downscale to an iCE40UL. It runs fine at 70MHz, but bumping to 100MHz and certain clocks act up/don't show up at all.

So in theory, I know there's an issue with signal buffering or routing or something, but I've never actually had to deal with this practically, and I'm struggling to find any online resources.

The iCEcube2 software comes with a floor planner that helps visualize which blocks are being used that looks like this.

Here you can see my (buffered) 100MHz clock is feeding a lot of blocks. Probably part of the issue.

I can move things around on this floor planner, but in doing so, what is my goal for optimization? Do I want to literally shorten all the traces? (as in, do the blocks in the floor planner indicate their literal locations on the chip?) or what else is the goal?

Unfortunately, I don't think I have access to any simulation tools unless there's something I'm missing, iCEcube2 is very barebones.

3
submitted 2 months ago by ch00f@lemmy.world to c/selfhost@lemmy.ml

I’m running funkwhale in docker. This consists of a half dozen docker containers one of which is postgres.

To run a backup, funkwhale suggests shutting down all of the containers and then docker compose running pg_dump on the postgres container. Presumably this is to copy the database when nobody is accessing it.

For some reason when I do this, I get an error like:

pg_dump: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
	Is the server running locally and accepting connections on that socket?

It would seem that postgres isn’t running. I see the same error with other commands such as psql.

If I fully boot the container and then try exec-ing the command, it works fine.

So it would seem that the run command isn’t fully booting the instance before running the command? What’s going on here?

The container is built from postgres:15-alpine

15
submitted 2 months ago by ch00f@lemmy.world to c/selfhosted@lemmy.world

I'm moving my music library to a funkwhale instance, but I don't want to have to keep two copies of every song (one imported to Funkwhale, one on a local drive).

It looks like Funkwhale will let you download a single song at a time from your own library , but there doesn't seem to be a similar button for albums or playlists.

The files themselves are obfuscated in whatever indexing system it uses, so there's nothing to be done there.

Anyone know how this is possible?

3
submitted 3 months ago by ch00f@lemmy.world to c/selfhost@lemmy.ml

Just got Whisper working on my local server so I can send it audio files via curl POST request and receive transcribed text.

Are there any keyboard plugins for phones that could be directed to a personal server running Whisper to replace functions like Siri/Google assistant voice transcription?

5
submitted 3 months ago* (last edited 3 months ago) by ch00f@lemmy.world to c/techsupport@lemmy.world

Over the week, I've been slowly moving from mdadm raid to ZFS. My process was:

  • create ZFS pool on secondary server
  • rsync all files over to zfs server
  • Nuke mdadm array on primary and set up zpool
  • ssh dataset from secondary server to primary server.

This is 15tb of data and even over gigabit, it took a day and a half to transfer. It finally finished tonight, and somehow I'm the owner and group of every single file. In addition to this generally being weird, it also broke some docker volume binds, and I generally don't want it.

It looks like the same is the case for the files on the secondary server too, so it must have happened during the initial rsync.

Fortunately, I also rsynced to some offline drives which kept ownership fine.

Anyway, I'm trying to figure out how the hell this happened. The rsync command I used was:

sudo rsync -ahu --delete --info=progress2 -e ssh /mnt/MONSTERDRIVE/ ch00f@192.168.1.65:/bluepool/monsterdrive/

At least I'm pretty sure this is what I used. I had to reverse-i-search to find it.

This is similar to the command I use when backing up to cold storage which has worked fine in the past. My understanding is that -a is shorthand for -rlptgoD where -o is "preserve owner."

So how could this have happened?

Does it matter that the secondary server doesn't have the same users as the primary server?

[SOLUTION]

From what I read online, using rsync over ssh as I did does not establish root permissions on the receiving end. So while I have the rights to modify the owners on the local side, I can only set the owners to the user I ssh'd as on the receiving side. Thus, I was the owner of every file.

The solution is two fold. First, I need to specify --rsync-path "sudo rsync" This tells the receiving side to use rsync as a super user.

Secondly, because there is no way to enter a super user password on the receiving side, I added a file to /etc/sudoers.d/ with

ch00f ALL=NOPASSWD:/usr/bin/rsync

This makes it so that the ch00f user doesn't need to enter a password when running rsync as a super user.

I don't think this is a security hole, and it got it to work.

3
submitted 3 months ago by ch00f@lemmy.world to c/support@lemmy.world

Just noticed this a week or so ago. When I try to scroll the feed on lemmy.world, my page will halt and go even though I'm scrolling consistently on my trackpad. No other website has this problem to my knowledge.

Info: Framework 13 AMD laptop 32 gigs memory Firefox 136.0.1 64-bit

Any ideas? It's really irritating.

32
submitted 3 months ago by ch00f@lemmy.world to c/selfhosted@lemmy.world

I'm hosting a few services using docker. For something like an openstreetmap tileserver, I'd like it to remain on my SSD because high speed improves performance, and the directory is unlikely to grow and fill the drive.

For other services like NextCloud, speed isn't as important as storage size, so I might want it on a larger HDD raid.

I know it's trivial to move the volumes directory to wherever, but can I move some volumes to one directory and some volumes to another?

71
submitted 4 months ago* (last edited 4 months ago) by ch00f@lemmy.world to c/mildlyinteresting@lemmy.world
53

You always hear about gun sales in the US, but you never hear about what happens to the guns at the end of their lifecycle. I assume guns wear out eventually, and I assume you can't just chuck them in the garbage when they do. What happens to them?

6
submitted 4 months ago* (last edited 4 months ago) by ch00f@lemmy.world to c/techsupport@lemmy.world

I'm working on trying to streamline the process of ripping my blu-ray collection. The biggest bottlneck in this process has always been dealing with subtitles and converting from image-based PGS to textbased SRT. I usually use SubtitleEdit which does okay with occasional mistakes. My understanding is that it combines Tesseract with a decent library to correct errors.

I'm trying to find something that works in the command line and found pgs-to-srt. It also uses Tesseract, but it appears without the library, the results are...not good:

Here's the first two minutes of Love, Actually:

00:01:13,991 --> 00:01:16,368
DAVID: Whenever | get gloomy
with the state of the world,

2
00:01:16,451 --> 00:01:19,830
| think about
the arrivals gate
alt [Heathrow airport.

3
00:01:20,38 --> 00:01:21,415
General opinion
Started {to make oul

This is just OCR of plain text on a transparent background. How is it this bad? This is using the Tesseract "best" training data.

Edit: I’ve been playing around with ocr-to-pgs which also uses tesseract and discovered that subtitles having black outlines really messes with it. I made some improvements.

https://github.com/wydengyre/pgs-to-srt/pull/348

view more: next ›

ch00f

joined 2 years ago