• 0 Posts
  • 30 Comments
Joined 3 years ago
cake
Cake day: July 2nd, 2023

help-circle
  • I understand what is happening.

    I think that breaking a constant evaluated value into an expression that is still a constant comprised entirely of literals is bad.

    Extract the constants (100 and 1) to NAMED constants if you wanna do this.

    Edit: You also mentioned it might just be a side effect of a minifier. Maybe it is. I’ve got tons of grace if that’s the case, since the dev has little if any control. Be like if I was roasting someone for what a compiler did.

    You’re obviously the js expert, so I’ll defer to you on expected minifier behavior, but there are 3 specific reasons that id be surprised (based on what I think a minifier should do)

    • there is a defined variable that already exists “random”, i would any minifier worth it’s salt to make the variable name smaller

    • since the expression (100 + 1 - 1) is a constant expression, I similarly would expect a minifier to reduce constant expressions to thier evaluated value (especially if the evaluated value is fewer characters than the expression) aka, just collapse to “100”

    • there is still a ton of extraneous whitespace



  • Windex007@lemmy.worldtoFediverse@lemmy.world•*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    108
    arrow-down
    2
    ·
    edit-2
    4 months ago

    I’m glad they were around because they were singlehandedly posting an obscene amount which really helped lemmy not feel like a ghost town back then.

    But, they clearly had mental health issues. No healthy person would post whatever he was doing… probably 1000 posts a day (did the math: 100 posts avg per day. One post every 14 minutes for 2 years straight). Considering HOW unwell they were, they were relatively good natured. But you could see thier worldview was rooted in pretty serious personal issues.

    They were tedious, and frustrating, condescending, and a know it all. Absolutely couldn’t admit they were wrong… not even admit that weren’t perfectly right. But… they weren’t ok.

    I was glad when they disappeared, but mostly because I was really hoping they had been intervention-d by loved ones. To go cold turkey one day must have been BRUTAL for them.

    All in all I think he was the right person at the right time. Thier faults actually DROVE engagement, which was important for a blossoming platform. I don’t think anything they said or did was out of malice.

    A complicated person. I really hope they’re doing better.



  • Windex007@lemmy.worldtoSelfhosted@lemmy.world•Cams, anyone?
    link
    fedilink
    English
    arrow-up
    18
    ·
    11 months ago

    I see it supports many cameras, but you need to pull them apart and use a serial hookup to flash the firmware… but for the wyze cams and a few others you can flash them directly with an SD card.

    I liked how cheap the wyze cams were but desperately wanted to get them offline. This was my silver bullet.





  • If you’re just running a few services, and will only ever be running a few services, I agree with you.

    The additional burden of starting with proxmox (which is really just debian) is minimal and sets you up for the inevitable deluge of additional services you’ll end up wanting to run in a way that’s extensible and trivially snapshotable.

    I was pretty bullish on “I don’t need a hypervisor” for a long time. I regret not jumping all-in on hypervisors earlier, regardless of the services I plan to run. Is the physical MACHINEs purpose to run services and be headless? Hypervisor. That is my conclusion as for what is the least work overall. I am very lazy.





  • For the record, I fucking hate Plex.

    But this is a disingenuous simplification of where the gap is.

    Me, my brother-in-law, and friend all share our libraries with the same elderly relatives.

    The GAP is that great grandma has to log in/out between servers to find content that may or may not be on an individual server. Plex lets you search/aggregate from all sources without having to jockey credentials and servers.

    It’s not a giant ask. I heard a fucking absolutely brain-dead take that “that would require a centralized server which is against Jellyfins core ideology”.

    So, I dunno. Maybe it isn’t YOUR use case, but it’s MY use case. Doesn’t make me a shill. I’m still pissed as hell.

    But don’t fucking pretend that there is feature parity when there isn’t, and don’t accuse me of being a shill just because Jellyfin literally doesn’t support my use case. I WISH it did. I HATE PLEX.







  • I’d never looked at them before, but yeah that super flower super modular supply looks pretty sweet. It looks like it has a ton of ports that I assume can be wired up as whatever you need.

    For me, the splitters were just generic: they plug to an existing molex out connector and give you 5 SATAs on a ribbon.

    https://a.co/d/gXtQ3Qp is what I’d bought, just for reference. The power supply I used them with wasn’t modular (ancient) and so whatever it had was what there was.

    Maybe I misread, but if you are planning on having two different PSUs in play for the same system, it’s my understanding that it’s important to make sure the DC outputs share a common ground, which might be a little extra wiring.


  • Depending on how power hungry the drives are, and if your PSU has enough spare power, you can get cable splitters. I had some spare molex ports which I plugged a cable from Amazon that split it into 5 SATA power connectors.

    You don’t want to infinitely split cables though, as tempting as that can be, because there are real electrical limits to doing that. Also just because a power supply is rated at X watts, that’s the total. Hard drives will use the 5V and 12V rails and usually there are individual limits on each rail.

    Upgrading the PSU is another option. Probably the cleanest easiest best solution IMO. But even then, you probably can’t find a PSU that’ll give you 12 SATA connectors out of the box so you’ll probably need some splitters in there anyways.

    In my case specifically, I’ve actually got a second power supply (because i already had it and it was otherwise just gathering dust) powering the extra drives. It’s a bit more complicated to get set up but, it’s an option as well.

    Edit: also if you’re asking yourself where can you physically PUT the drives, I 3D printed these and slapped some fans on them:

    https://www.thingiverse.com/thing:4875498