ch00f

joined 2 years ago
[–] ch00f@lemmy.world 2 points 16 hours ago

You just vastly improved a family story that we've told numerous times over the years. Thank you for sharing your meth-related knowledge.

Also, I think this hotel was across the street from a house that exploded the previous year, so yeah. Bremerton.

[–] ch00f@lemmy.world 18 points 17 hours ago (1 children)

I'm currently reading Where the Wizards Stay Up Late. According to the book, Eisenhower was annoyed at how much the military branches jumped on projects to secure funding, so he made a non-military department called ARPA. And ARPA invented the internet.

Let's do more of that.

[–] ch00f@lemmy.world 20 points 17 hours ago (3 children)

I've been working on disassembling some 8-bit code from the 90s. Fuckers returned bits from functions using the overflow bit. Nuts.

[–] ch00f@lemmy.world 21 points 1 day ago (5 children)

I once considered moving from Seattoe to Bremerton, WA to take advantage of the much cheaper real estate. In attempt to get a feel for the daily commute, I decided to stay at a Super 8 in Bremerton for a week. 5 minutes into that experiment, I flicked on the AC unit that looks just like this one and it reeked of cat pee.

I did not move to Bremerton.

[–] ch00f@lemmy.world 9 points 1 day ago (2 children)

When the animal council convened to decide what to do with the humans, only two animals stood in our defense.

The first was the dog.

The second was the mosquito.

[–] ch00f@lemmy.world 2 points 1 day ago (1 children)

Nope. I literally popped the SIM out of the sunbeam and into Minimal. They do offer a plan (and I even got a sim card in the mail without asking), but you don't have to use it.

My biggest gripe with the Sunbeam was how insanely slow the T9 was. Texting was a total slog. I don't know if that's everyone's experience, I had a theory that my huge contact list was bogging down the predictive text, but I can't confirm that. Anyway, I'd have to wait a solid half second between keystrokes to keep from missing keypresses. And when you miss a keypress in T9, you basically have to completely delete the word as it's impossible to figure out which letter you got wrong. Oh, and for some reason, it would always suggest names over very common words. Like "Cox" instead of "any."

That and I spilled beer on it so the bottom half of the touch screen doesn't work despite completely dismantling and cleaning it out.

I'll say I liked the size and shape of the Sunbeam and I really liked being able to navigate menus without a touch screen. It was also a great conversation piece. But other than that, it was just too limited. I needed a few apps to get by. I also found it annoying how there was no easy way to send photos from it that I took with my Ricoh camera. And I can't view videos that people send me? Why not? Gifs work!

The Minimal phone is hella buggy at the moment, but it's already better than a lot of early review units I've read about, so I assume it'll all get fixed in due time. Most annoying at the moment is that it takes like a full second to sleep, and if you so much as tap the screen during that second, it wakes right back up again. Oh, and auto-caps first word of the sentence on the keyboard also capitalizes the first letter of any password you're entering. The only work around I've found is to type the first letter twice and delete the first one. I have auto caps turned off for that reason.

[–] ch00f@lemmy.world 22 points 1 day ago (2 children)

Unless you're playing prophunt in which case, you're golden.

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

Well I might be coming from the opposite direction as most. I found myself really distracted with my iPhone when I was out of the house which prompted the move to a dumbphone in 2023. I still used an iPhone at home for web browsing and whatnot.

Over the years, I got frustrated by certain small features that some apps could bring me such as the ability to set my home alarm system or check the location of EV chargers with PlugShare. So I needed some kind of smarterphone and Minimal checked the box.

I'd say that the real benefit of the phone is that the e-paper screen makes it hard to do anything heavily interactive. Scrolling a feed is difficult and watching a video or playing a game is downright out. Yet the keyboard makes sending messages trivial. I was worried moving to a full featured phone that I'd need to remove the web browser to keep me from doom scrolling somewhere, but that's not really a temptation.

Also, if you turn the backlight off entirely, it becomes a really boring object to look at and I don't find myself reaching for it out of instinct. Even checking a message in a dark bar I find myself leaning towards the nearest light source rather than enabling the backlight. Reading books with KOReader in full sunlight is great too.

It has just enough capability to function as a communication or reading device without much else, and it's enabled me to completely stop using my iPhone at home. If I need a full web interface, I get out of bed/off the couch, and move to my PC.

tl;dr: The screen makes it hard to perform passive activities like doom scrolling while the keyboard makes messaging easy.

 

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

[–] ch00f@lemmy.world 22 points 1 day ago (1 children)
[–] ch00f@lemmy.world 8 points 2 days ago (2 children)

Article with basically zero content that overrides the back button? No bueno.

 

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.

 

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

 

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?

 

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?

 

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.

 

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.

 

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?

 

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 2 months ago* (last edited 2 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

21
submitted 3 months ago* (last edited 3 months ago) by ch00f@lemmy.world to c/hardware@lemmy.ml
 

Upgrading a server for the first time in 10 years, so I’m a little out of the loop. I was surprised to find that the RAM I bought didn’t fit.

This is my first time dabbling in ECC RAM, so I figured there was some minor detail I missed when purchasing, but I eventually came across the data sheet for this stick, and the dimensions given don’t match the measurements I’m making. The tip of the caliper should be in the middle of the notch at 68.1mm.

What’s more is that the dimensions in the data sheet seem to match the dimensions on my motherboard. What’s going on here?

[SOLVED] I and Kingston are morons. I ordered RDIMM instead of UDIMM. The Kingston datasheet gives the wrong dimensions.

view more: next ›