• 0 Posts
  • 101 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle





  • Excellent - that site is nice and basic. A good first project.

    Seek out some resources on HTML, CSS, basic Linux command line and nginx and start playing around. If you’re on a Mac you can do all this locally then rent a small VPS from digital ocean or the like for about $5/mo to host everything on the web when you’re ready. I can’t speak to options on windows.

    On your last comment it looks scary but if we break it down it’s not bad at all.

    while true ; do Programs are (super) basically made up of if “this” then do “this stuff”, and while “this thing” do “some stuff”. While true means run this next bit of code (until done) forever.

    nc -l -p 80 -c

    nc is a program (netcat) that reads/writes data to a network. - in Linux denote options for the program. These are saying listen, listen on port 80, and run a command.

    echo -e “HTTP/1.1 200 OK\n\n $(date)”’;

    The command netcat will run. This is HTTP protocol magicness and $(date) is a Linux command that prints the date.

    done Ends the loop

    Ez pz.

    If you have a Mac you can probably run this in terminal and check out what it does (do take care in running commands from the internet tho).



  • All good. Learning and exploring is part of the journey! For example hosting a website can be as simple as running a program

    (egwhile true ; do nc -l -p 80 -c ‘echo -e “HTTP/1.1 200 OK\n\n $(date)”’; done)

    or as complicated as an entire application with multiple databases and processes.

    For your first goal - what do you want your website to do? Blog? A bio about yourself? Are you interested in creating the HTML or do you want to focus on getting someone else’s application (eg matrix) up and running?


  • Do you have more specific goals? Running a home server and website isn’t really programming, more sysadmin work. If you want your website to be a web app that’s a different story.

    For arduino work C would be the most directly relatable. It’s a simple language but can be a bit tricky since the language itself doesn’t do much hand holding for you. Arduino does make it a bit easier though.

    The C Programming Language is probably the best programming book ever written for any language.





  • Ok. Probably echo link then. In short - the repeater uses the internet as another transport. Other repeaters can link up, or you can even use their application to activate repeaters right from your computer.

    You can also do similar things with other digital modes (DMR etc) but they require special radios that speak that standard.