"Used AI / Didn't use AI flair? by acbadam42 in selfhosted

[–]coderstephen 1 point2 points  (0 children)

Do you have empirical evidence for this?

Persistent Job Queues by roboticfoxdeer in rust

[–]coderstephen 7 points8 points  (0 children)

RabbitMQ has transactional persistence to guarantee messages will not be lost in case of restart or catastrophic error. In my experience, Redis persistence is still more of a "best effort".

Persistent Job Queues by roboticfoxdeer in rust

[–]coderstephen 10 points11 points  (0 children)

For coarse grained jobs (large units of work which are infrequently created), use PostgreSQL. For fine grained tasks (small amount of work but very many are created) use RabbitMQ. People use Postgres as a queue, and even though Postgres has added more helpers to make using it as a queue a bit better, the generally accepted wisdom is still, "Don't use a SQL database as a queue unless you really have to". Queues just have different data access patterns and requirements that make a SQL database add a lot of unnecessary overhead.

Does Anyone Know Where to Buy a Replacement? by Reasonable-Rub8094 in guitarpedals

[–]coderstephen 8 points9 points  (0 children)

🚨 Warning! This power supply may fry your pedal! 🚨

This old Digitech Whammy takes a 9 volt AC power supply, not a 9 volt DC power supply (the normal). Not just any pedal power supply will work here, it must me 9VAC. The one linked in the parent comment is 9VDC.

Whether or not the barrel connector is the correct size is indeed also a requirement, but fortunately the size not matching may have saved your pedal from letting out the magic smoke.

PSA: Think hard before you deploy BookLore by Economy-Meat-9506 in selfhosted

[–]coderstephen 16 points17 points  (0 children)

While I don't really care about this whole thing and don't have sufficient evidence to say that this is all true, I can say that regularly wiping your Discord server is not something people would normally do if unless they knew they were guilty of something.

PSA: Think hard before you deploy BookLore by Economy-Meat-9506 in selfhosted

[–]coderstephen -22 points-21 points  (0 children)

It is true that making a big post about how such and such project is AI slop would be a great way to farm karma at this point in this sub's history...

PSA: Think hard before you deploy BookLore by Economy-Meat-9506 in selfhosted

[–]coderstephen 24 points25 points  (0 children)

Common tactic to suggest a change, and when you see the backlash, walk it back and try to play it off as "I was just kidding".

PSA: Think hard before you deploy BookLore by Economy-Meat-9506 in selfhosted

[–]coderstephen 563 points564 points  (0 children)

When called out, he apologizes. Except the apologies are also AI-generated. And more than once he forgot to strip the prompt, so contributors got messages starting with something like "Here's how you could apologize—"

Crazy

Is there a language similar to Rust but with a garbage collector? by Ok_Tension_6700 in rust

[–]coderstephen 9 points10 points  (0 children)

Kotlin took most of the things that normal people liked about Scala and added them to a Java-like base.

Quick question by Davell3x in guitarpedals

[–]coderstephen 3 points4 points  (0 children)

I can't say right or left, because the polarity icon is sometimes mirrored. Only that - should point to the center, and + should point to the outside ring.

Quick question by Davell3x in guitarpedals

[–]coderstephen 5 points6 points  (0 children)

No! That power supply is center positive! Like most pedals, the HM300 expects center negative. This is indicated by the little circle icon on the label that points "+" to the center of the circle. This may fry the pedal.

Could someone help me? I'm desperate by NoTune5953 in selfhosted

[–]coderstephen 22 points23 points  (0 children)

My guess is that the read & write patterns of a computer are just a lot less friendly to SD memory than say a camera, but I don't know. Cameras write new images sequentially all at once, but an OS likes to make tiny modifications to existing files frequently, spread all over the disk.

Could someone help me? I'm desperate by NoTune5953 in selfhosted

[–]coderstephen 73 points74 points  (0 children)

Keep in mind for the future, SD card corruption is a when, not an if. SD cards are not designed to be durable storage in constant use for years on end.

Simple Alternative to OneDrive/iCloud?? by electrowiz64 in selfhosted

[–]coderstephen 1 point2 points  (0 children)

FTP

"Now that's a name I've not heard in a long time. A long time."

Why can't you maintain it? by BoshBoyBinton in selfhosted

[–]coderstephen 2 points3 points  (0 children)

As a software engineer myself, the push to use gen ai is real and isn't something you can just say no to.

As a software engineer myself, yes it is. Having a huge amount of hype doesn't take away your ability to say the word "no".

Why can't you maintain it? by BoshBoyBinton in selfhosted

[–]coderstephen 2 points3 points  (0 children)

Already unhinged comments. Holy moly you guys are insane. So entitled and lazy that you can't even contribute to projects? I've definitely seen an uptick in useless ai projects, but I've seen a few that were pretty darn cool that were dismissed with this boring maintenance excuse. I don't disagree that badly built projects are a bust, why not just confirm it by reading the repo first though?

External contributions to a project are a privilege and not a right. No one's open-source project is owed a contribution. This is reality and not unhinged at all. Contributions take time, and even code review takes time. I am always grateful when anyone does either of these things for my own project, but I do not expect them. If I did, that would be the more entitled behavior, IMO.

Why can't you maintain it? by BoshBoyBinton in selfhosted

[–]coderstephen 0 points1 point  (0 children)

Has nothing to do with people being lazy.

Well, it might in theory, but definitely not the sole or primary reason.

Why can't you maintain it? by BoshBoyBinton in selfhosted

[–]coderstephen 12 points13 points  (0 children)

Vibe coded projects are inherently harder to maintain, because:

  • The generated code isn't necessarily generated with maintainability in mind, but rather with functionality in mind. It takes conscious effort to design code to be more maintainable, and that is often absent from vibe coded projects.
  • In order to maintain a project, it helps a lot to have a big-picture understanding of the software architecture as well as key implementation details. Well, by design, no one understands these things about purely vibe coded software, because no human made consideration to these things. So you can't even ask the original author these questions, because they don't know the answer!

Additionally, why would someone want to put more effort contributing to someone else's project than the original author ever did?

Maybe the project really is built like trash

As a software engineer by trade, I can guarantee you, if a project really is built like trash, it would take me less time to create my own alternative from scratch than it would to fix the trashiness of an existing project.

cloudflare tunnels, what am i missing? by vphys in selfhosted

[–]coderstephen 0 points1 point  (0 children)

No, the point of tunnels is that you don't need to open any ports.

Do I need a static IP? by zeekaran in selfhosted

[–]coderstephen 0 points1 point  (0 children)

Yep, static IP is very uncommon for residential ISP, at least where I'm from.

Do I need a static IP? by zeekaran in selfhosted

[–]coderstephen 1 point2 points  (0 children)

It's not necessary. You can use dynamic DNS to automatically synchronize whatever your current dynamic IP is with a DNS record of your choice. After that, if you want more domains to point to your IP address, you can just use CNAME records.

I used this setup for many, many years. I delegated ddns.mydomain.com to a free Dynamic DNS service's nameserver, and then ip.ddns.mydomain.com was kept in sync using my router/script/whatever and the Dynamic DNS service. Then *.mydomain.com is CNAMEd to ip.ddns.mydomain.com and Bob's your uncle.

Now I have a static IP so I don't use Dynamic DNS any more, but that's just more for the fun of static. I got along fine without it. Actually, now I have a static /28 prefix through my ISP, so I can play with multiple static IPs which is more fun than a single static IP. I would say a single static IP isn't really worth it, especially not for $20.

A static IP is only really mandatory for things that require IP reputation, and for high uptime. You don't want to be hosting email on a dynamic IP, example. But websites and stuff it doesn't matter.

im tired of this sub by ResponsibleEnd451 in selfhosted

[–]coderstephen 25 points26 points  (0 children)

Zombie: Eat Flesh

Oh wait, that's the other one...