Sorry for scaring developers

Norwegian proot with a taste for shitposting Deeply sorry for my photoshop creation

Former account at Kbin

aspe:keyoxide.org:JYRRSWIKLZWX366Y4DONCIEYAE

  • 0 Posts
  • 32 Comments
Joined 5 months ago
cake
Cake day: June 7th, 2024

help-circle

  • I switched from duckdns about a year ago as it failed to resolve the addresses for my jellyfin server. I ended up buying a domain from cloudflare for 3 years for about $4, and I self-hosted ddns updater to automatically grab the dynamic ip, and set it to a subdomain.

    As for your nginx config, I’d imagine you could make 2 separate config files in sites-enabled that are nearly identical, but listen for different domains. Something like this:

    
    #config file 1 
    server {
        listen 80;
        server_name example_a.com;
    
        location / {
            return 301 http://example_c.com$request_uri;
    	#or use an ip instead of example_c.com
        }
    }
    
    #config file 2
    server {
        listen 80;
        server_name example_b.com;
    
        location / {
            return 301 http://example_c.com$request_uri;
    	#or use an ip instead of example_c.com
        }
    }
    
    
    #Or use "proxy_pass http://example_c.com;" in the location tag instead of "return 301..." if you want to reverse proxy the traffic
    
    










  • Maybe building one yourself might be a good idea. I found someone’s old desktop with an 8th Gen i7, 32gb of ram, mobo and Gtx 1070 gpu on the side of the road while on a road trip. Thing was sitting in the rain and slightly rusted, but when I cleaned off the corrosion, stuffed it full of hdds and set it up with truenas scale it’s been running flawlessly with an uptime of almost a year. Been running like that for about 5 years now with the occasional maintenance.




  • I’ve had a usage tier for storage that looks like this

    Temporary storage

    • SD cards - unreliable storage you use temporarily to store pictures and videos before inevitably moving them to a more reliable and permanent solution.
    • USB drives (hdd ssd etc) - used for when you you want to move files faster or more conveniently than over a Lan.

    Permanent storage

    • Nas, internal drives, tape drives, etc - for when you want to store a lot of data with configurations that allow you to use redundancy.

    The issue with super high capacity SD cards for me is that they’re still fragile and prone to failure. When you allow someone to store that much data, it’ll be used as a more permanent medium, and since it has a lot of storage capacity you end up with a bigger data loss when it dies. Imo having 30 128gb SD cards would be better because if one dies or breaks, you lose 128gb and not 4tb.

    Tldr I think 4tb micro sd cards are stupid.


  • I totally get that… Here’s the thing though, at least in Norway a 1tb micro sd card costs 2200kr (~$203). If we extrapolate the price for a 4tb one, that’ll be 8800kr(~$813). If you or a company has the kind of money to spend almost a grand on a storage device, doesn’t that mean that the footage/photos are pretty valuable? If you had the kind of money/were going to record super valuable footage, wouldn’t you work hard to use cameras/recording systems that were capable of recording to redundant drives?

    What I don’t get is what market section this product would even fit in. It’s too expensive for regular consumers, and also has terrible value. It’s not good enough for professional settings because it has no drive monitoring, nor does it have redundancy. It isn’t fast enough for the kind of footage that would require that kind of space(unless you’re recording a month long realtime video).

    Also imagine how horrible the transfer speeds would be for individual photos when the os has to initiate a file transfer. If we say each photo is 20mb, that’s almost 200k photos. Yikes…


  • Sigh…

    A couple of years ago there were discussions on how stupid 20+tb harddrives were, mainly because they are so slow that the time it takes for files to transfer to a spinning disk was too long.

    Let’s say you have a good 20tb drive and it can transfer files at 200MB/s. To fill that drive, it’ll take 1 day and 8 hours of continuous transfer. If it’s failing, and you’re trying to get as much off of it you’re screwed.

    Now let’s think about that micro SD card. It’s 4tb, and let’s be gracious and give it a v90 speed class. That’s 90MB/s. Looking at a calculation for the time it takes to fill it up, we’re sitting at about 14h and 14 minutes. Worst part is that SD cards don’t have SMART, meaning you don’t know when they’ll die.

    From my experience, even good SD cards die in my raspberry pi running pihole, and the cards runs idle almost all the time.

    Also there’s this thing that the higher capacity a storage device gets, the more valueable the data stored on it becomes, not directly because it’s high capacity, but because it’s more trusted by the user.

    Guys, gals and anyone in between, please get a proper storage solution, something that won’t fail spontaneously. If you need that kind of capacity, go for a Nas with spare drives, or at least get an ssd.

    /end rant




  • If you’re the owner of the website, I suggest you look into those php errors

    
    Warning: simplexml_load_file(https://feeds.thefossrant.com/rss_feed.xml): failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /var/www/html/article.php on line 2
    
    Warning: simplexml_load_file(): I/O warning : failed to load external entity "https://feeds.thefossrant.com/rss_feed.xml" in /var/www/html/article.php on line 2
    
    Warning: Invalid argument supplied for foreach() in /var/www/html/article.php on line 5
    
    Warning: Invalid argument supplied for foreach() in /var/www/html/article.php on line 19
    
    Published on: 1970-01-01 00:00:00 UTC
    
    Tags:
    Image unavailable