Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

hperrin

@hperrin@lemmy.world

I’m Hunter Perrin. I’m a software engineer.

I wrote an email service: port87.com

I write free software: github.com/sciactive

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Court Bans Use of 'AI-Enhanced' Video Evidence Because That's Not How AI Works (gizmodo.com)

A judge in Washington state has blocked video evidence that’s been “AI-enhanced” from being submitted in a triple murder trial. And that’s a good thing, given the fact that too many people seem to think applying an AI filter can give them access to secret visual data.

hperrin ,

Gmail sucks so much that I made my own email service. But at least this is good.

hperrin ,

In fact, forget the email service.

hperrin ,

You still have to worry about that with Flatpak. Like, don’t give a calculator app permission to read all your files and access the internet.

hperrin ,

I wouldn’t say it’s great for me, because I have to use it for some people who just refuse to use an open source alternative.

Selfhosted Wireless Cameras

I currently have a couple of (amazon) Blink cameras. I would like similar cameras but that are self hosted. Yes these basically are however the HW-Sync module sucks its slow. I've tried other chinese brands which are slower. I was about to buy the Eufy Homebase setup it seemed perfect easy low power cameras. However their "self...

hperrin , (edited )

I’m working on something that you could use to build one out of a raspberry pi. Or an old laptop. Or a mini pc and webcam. Basically anything that runs Linux and has a camera.

https://github.com/sciactive/soteria

It uploads video to a WebDAV server. I’m designing it to work well with my WebDAV server, Nephele. Nephele supports encryption at rest and Amazon S3 compatible servers.

It’s not going to be as feature rich as other solutions, but it’s killer feature is that you can watch your footage even if all of your cameras are offline, but Amazon/Google/whoever can’t ever watch your footage.

How should I do backups?

I have a server running Debian with 24 TB of storage. I would ideally like to back up all of it, though much of it is torrents, so only the ones with low seeders really need backed up. I know about the 321 rule but it sounds like it would be expensive. What do you do for backups? Also if anyone uses tape drives for backups I am...

hperrin ,

I have a machine at my parents’ house that has a single 20TB drive in it. I’ll log in once in a while and initiate an rsync to bring that up to current with my RAID at home. The specific reason I do it manually is in case there’s a ransomware attack. I won’t copy bad data. That’s also the reason I start it from the backup machine. The main machine doesn’t connect, the backup machine does, so ransomware wouldn’t cross that virtual boundary.

hperrin ,

It’s just over ssh. They’ve both got their own subdomains.

hperrin , (edited )

Port87? (At least I hope, because I made it. :)

hperrin ,

On Linux file systems it basically is. A file name is just a label for an inode, and the same inode can have as many file names as you want.

hperrin ,

I use a dash (hyphen) instead of a plus. It’s worked everywhere I’ve tried it. You can still use a plus if you want, but the address it shows for a label in the UI is with a dash.

hperrin ,

find has a way to search by inode.

hperrin ,

I’m funding the project myself, and I should be able to fund it for many years. Of course the goal is to become profitable, and that will mainly be done through business and enterprise accounts. I’m working on a custom domain feature though, which would allow you to bring your own domain. That way, you could ensure that your email addresses will always be yours.

hperrin ,

I use an Epson EcoTank, and I love it. I can print photos (and have).

hperrin ,

When I read a very long RFC, I’d rather read it as an ink sprayed dead tree than a PDF.

hperrin ,

I keep a lot of binders of them for reference. I just prefer having it in a binder with all my notes and bookmarks in it. But yeah, eink is so much more comfortable to read than an LCD.

hperrin ,

sudo shred ./truth.txt

hperrin ,

The lost+found directory is a special directory in Linux file systems created by fsck or mkfs where inodes are placed when they exist but aren’t in the file structure.

https://www.baeldung.com/linux/lost-found-directory

hperrin ,

I’d rather have it land when it has time to be thoroughly tested. That’s the way software development works best.

hperrin , (edited )

You can’t move anything there, it’s a “character special file” that can’t be deleted. If you pipe something there, it does nothing. (As opposed to something like /dev/stdin, that prints what you pipe to it on stdin.) Character special files act kind of like named pipes, except they’re handled by the kernel on one side. They’re raw device files.

hperrin , (edited )

Just try it. I’m literally telling you the truth. It is not a drive, and you cannot move files to it. It doesn’t have a file system, and you can’t create one on it. It cannot be mounted like a drive. Drives are block special files, and /dev/null is a character special file, not a block special file.

hperrin ,

Fun fact: when you reply to a noreply email address, your email is rerouted to the No Reply Email Center (NREC) in New York, where it’s printed out and shredded to make confetti. Every year, Macy’s buys the vast majority of this confetti to use in their Thanksgiving parade. If everyone stopped doing that, they’d run out of confetti.

hperrin ,

Put them all behind a firewall and configure it to block outgoing connections. Then forward the ports you need to the internal machines. Then only something connecting from the outside can talk to them. They won’t be able to initiate a connection.

(Keep in mind, this would also block things like DNS lookups, in case that’s important to you.)

hperrin ,

I’ve got something I’m hoping to see on here in a couple weeks.

I started work yesterday on a self hosted security camera system that uses v4l2 (so it works with webcams).

https://github.com/sciactive/soteria

Locally, I've got it loading the stream from the camera, encoding, and muxing, then pushing to a filesystem write stream, but I’ve discovered software based encoding in single threaded WASM is just too slow for what I’m trying to do. I’m going to rewrite it today to use FFMPEG externally for encoding.

It’s meant to be used with my WebDAV server

https://github.com/sciactive/nephele

which supports encryption and storage in a S3 compatible service. So you’ll get the benefits of a cloud security camera, but Google/Amazon/whatever won’t have access to your video.

hperrin ,

I’m gonna wait until it’s ready to install. Right now it’s just in the early stages of development.

hperrin ,

There’s a few. You can search for “open source security camera” to find them.

The reason I’m building mine, instead of going with another solution is because I have a hard requirement that if all of my devices are offline, destroyed, or stolen, I want to still be able to see my videos (so cloud storage is required), and I want everything that goes into the cloud to be end to end encrypted.

That basically means everything necessary to view videos has to be stored in the cloud except the decryption password. So anything with a local database or unencrypted storage is out.

Some existing systems support some of those requirements, but afaik, there aren’t any that support all of the above (at least not easily). With Soteria and Nephele, if all of your cameras are offline and your WebDAV server is offline, you can just spin up a local WebDAV server with your S3 info, and you’ve got a working client to view all of your footage.

Having that can really help when something goes wrong. For example, I currently use Google Nest cams, and I was able to tell why my cameras went offline while I was away when the camera caught the transformer down the street blowing up right before the video cut out.

hperrin ,

Do the Hokey Pokey and you turn yourself around…

hperrin ,

My first distro was Ubuntu 8.04, but my first experience with Linux was Damn Small Linux.

Funny enough, Damn Small Linux just had an update after all these years.

hperrin ,

In general, unless your service is pretty big, just following best practices for security and moderation should be fine. Once you get to a certain user base size, laws start kicking in regarding what data you can collect, how you can manage it, what responsibilities you have with regard to that data, etc.

That being said, seeing as you are not a citizen, I’d advise you to just provide the resources to someone else who can do all the hosting for you. That way they’re assuming all the liability.

hperrin ,

I’m not far-left, I’m extreme far-left. Radical far-left if you will. I want everyone to have healthcare and adequate housing. (spooky noises)

hperrin ,

I think that kid is mostly crying because he’s got so many extra fingers that he doesn’t have a middle finger to return the gesture.

hperrin ,

Bring your own router. Don’t plug things directly into the ethernet jacks in hotel rooms. Plug your router into there and connect to it instead. If you can then VPN into your home network, even better.

hperrin ,

Man, Distrotube is such a fuckin wacko.

hperrin ,

Keep in mind 10% of America lives in California, where the gun laws are better.

hperrin ,

I think it’s a bit more often than once a week.

hperrin ,

School shootings aren’t a gang problem, and school shootings are way more common in the US than any other developed country.

hperrin ,

That’s not true. Gun homicide rate in California is 4.7. Gun homicide rate in Arizona is 5.9.

Are you thinking of the total number? Because California’s huge population is going to skew that.

Also California has much larger cities than Arizona, and population density plays a factor.

hperrin ,

This reminds me of Sloth from Fullmetal Alchemist.

hperrin ,

I run Stable Diffusion with ROCm. Who needs CUDA?

hperrin ,

I use Fedora. It works great, with some tweaks to the startup script.

hperrin ,

It’s called that because it’s Never the Value you Might Expect.

hperrin ,

If you reboot, it might have a different name in /dev/, just like ethernet ports.

hperrin ,

Use a systems rule to give it a consistent name based on its MAC address, driver, etc. I just had this exact same problem setting up my servers.

root@prox1:~# cat /etc/systemd/network/10-persistent-10g.link 
[Match]
Driver=atlantic

[Link]
Name=nic10g

root@prox1:~# cat /etc/systemd/network/10-persistent-1g.link 
[Match]
Driver=igb

[Link]
Name=nic1g

hperrin , (edited )

I wrote a WebDAV server you can use as the frontend for it that can encrypt everything you upload.

https://hub.docker.com/r/sciactive/nephele

There’s something I’m using that Backblaze doesn’t support, so I’m fixing that right now.

Edit: Ok, I fixed the issue and updated it on Docker. It now works with Backblaze. It’s a bit slow, but I’m not sure if that’s just my connection or Backblaze.

How to drop files from Android to home server?

I'm looking for an easy way to upload files from my Android smartphone to my home server. is there a - ideally dockerized - solution for that? Some simple web GUI where I can click on "Upload" and the files will be saved to a certain directory on my home server?...

hperrin ,

Nextcloud has to have a specific file structure in its data directory. It sounds like OP wants to serve a particular, already existing directory, so in that case, Nextcloud wouldn’t work.

hperrin ,

Ah, ok. And it works when something outside Nextcloud changes the files?

hperrin ,

I started working on this yesterday.

https://github.com/sciactive/soteria

Locally, I've got it loading the stream from the camera, encoding, and muxing, then pushing to a filesystem write stream, but I’ve discovered software based encoding in single threaded WASM is just too slow for what I’m trying to do. I’m going to rewrite it today to use FFMPEG externally for encoding.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • incremental_games
  • meta
  • All magazines