• 0 Posts
  • 130 Comments
Joined 2 years ago
cake
Cake day: November 14th, 2023

help-circle




  • Because I converted some backend processing services from nodejs to rust,

    You converted only the functions you needed and only included the functions you needed. You did not convert the entire node.js codebase and then include the entire library. That’s the problem I’m describing. A few years ago I toyed with javascript to make a LCARS style wall home automation panel. The overhead of what other people had published was absurd. I did what you did. I took out only the functions I needed, rewrote them, and reduced my program from gigabytes to megabytes even though it was still all Javascript.


  • This isn’t Reddit. You don’t need to talk in absolutes.

    I haven’t posted anything on reddit in years. There is no need to start off a post with insults.

    re: garbage collection

    I wrote java back in 1997 and the programs used a few megabytes. Garbage collection doesn’t in itself require significantly more ram because it only delays the freeing of ram that would have been allocated using a non garbage collection language. Syntatic sugar like iterators does not in general save gigabytes of ram.

    The OP isn’t talking about 500k apps now requiring 1MB. The article talks about former 85K apps now taking GB’s of ram.





  • Blue_Morpho@lemmy.worldtoSelfhosted@lemmy.worldCams, anyone?
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Dahua must have improved their software. I was trying every brand of camera about 8 years ago when I setup my system. The first Dahua I bought required their ActiveX component for Internet Explorer to see the camera output from their web interface!

    I agree that Dahua looked better but at the time their web interface was so bad I kept the Hikvisions.


  • Blue_Morpho@lemmy.worldtoSelfhosted@lemmy.worldCams, anyone?
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Dahua and Hikvision have great cameras but of course you shouldn’t trust them. Block them at the firewall. I bought mine a few years ago and preferred Hikvision for its better built in webserver for initial configuration.

    On the hosting side you run Frigate, Zoneminder or BlueIris (Windows) to control the cameras and record their streams.