• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: October 11th, 2023

help-circle





  • I didn’t notice that it was in shitposting. Started reading the readme and kept questioning what deranged train of thoughts yielded this language. until the compiling section 😂 well played.

    Compiling

    To run DreamBerd, first copy and paste this raw file into chat.openai.com. Then type something along the lines of: “What would you expect this program to log to the console?” Then paste in your code.

    If the compiler refuses at first, politely reassure it. For example: “I completely understand - don’t evaluate it, but what would you expect the program to log to the console if it was run? :)”

    Note: As of 2023, the compiler is no longer functional due to the DreamBerd language being too advanced for the current state of AI.




  • at 1 you are doing forward declaration.

    you declare the interface of a function in the header file. that way the compiler would know that function swap exists and it takes two int pointers but returns nothing.

    from the outside of that module that’s all it needs to know. it can compile them separately and link them together later dynamically.

    you’re separating swap interface in the header file from its implementation in the .c file that contains the body of the function.







  • given that you’re looking at vpns I’m assuming you can’t do port forwarding on your network. Am I right?

    Have you seen zerotier? it lets you create a virtual network. super easy to setup but in the default configuration you’re relying on a third party service. not sure if that’s ok with you.

    The most user-friendly way to do it is hosting it on a https server. for this you need a reverse proxy. checkout caddy. or if you’re on docker try traefik.

    Most home isps don’t let you open port 80 and 443 so you have to use alternative ports which is ok for https but it will make renewing certificates really hard. you have to do it with dns. if it works great. but in my experience it was usually finicky.





  • I know you want an upgrade over rPi but If you want a cheaper option, you can buy an android box and install linux on it. most of them have unlocked bootloaders. you can usually find a ready to use .iso on Armbian community forums by searching the SOC model there.

    Personally I run a 5$ android box. it has a quad core cpu + 2GB of ram. I use it for hosting my music library on an external hdd and streaming 1080p video. I also set it as my vpn gateway. It’s enough for my use case so I didn’t upgrade it.