• 0 Posts
  • 24 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.



  • I got a little curious too and just did a small amount of digging. The DHS latest report (Q2 FY 2023) can be found here:

    https://www.dhs.gov/immigration-statistics/special-reports/legal-immigration

    “About 11,700 refugees were admitted to the United States in FY 2023 Q2 (Table 2), a 113 percent increase from FY 2022 Q2, when only about 5,500 refugees were admitted.”

    So about 4000 a month, 1000 per week and 150 per day.

    That includes countries other than South America:

    “76 percent of refugees arrived from the top five countries of nationality: Democratic Republic of Congo, Burma, Syria, Afghanistan, and Colombia“

    I haven’t found a great source on illegal immigration yet.

    Edit: I got also got curious about the scale of this number so I looked up births per day (from some random sites) in the US and it seems like that’s about 10,000. Number of deaths per day seems to be around 8,000. So a net of about 2,000 people are added to the US per day “naturally”.

    Last edit: Found some info by the cbp: https://www.cbp.gov/newsroom/stats/nationwide-encounters

    Looks like an increase but nothing crazy. I don’t know what an “encounter” is either.






  • They now have unlimited searches for $10/mo. That’s what got me to try it out.

    You are correct though. I really do not like having all of my search history tied to my credit card (and then me). What helps me justify that is that instead of me being the product like google, by paying I’ve become the customer. Hopefully that incentivizes keeping them on the up and up.

    I did come across searnxg in this thread. It looks like that can be self hosted so I’m gonna give that a try as well.






  • Oh cool man. Thanks for checking back in. I probably sat on this decision for a 2 or 3 weeks and about 2 years later I’m still happy.

    Just the other day I went out my side door, and in the front. Didn’t have any phone, fob, keys, etc on me and the front door was locked. I was able to get in no problem and I thought to myself…man if I had a fob like I wanted I would be waking back around the house…so glad I got this thing lol.


  • Im curious to see what gets recommended here. I went through the same thing with about the same requirements a year or two ago and came up empty handed.

    I ended up with a Schlage Camelot and am super happy. I really wanted RFID because I thought using our phones or a fob would be super convenient but in reality the most convenient way to enter is to just put a code in. You don’t have to bring anything with you, you don’t have to fish something out of a pocket or bag, just enter your pin, spin the dial and you’re in.

    https://a.co/d/ayI5ndv