• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle



  • I’d feel like you could get better advice if you give more details, and maybe ask about LGBT friendly cities in some of the LGBT communities.

    ABQ isn’t bad, but it’s not homeless friendly, and it gets cold in the winter. You could live outside of Albuquerque in the east mountains for relatively cheap but would need a vehicle to get into town.

    But seriously, there’s more going on there that I think you might be able to use advice on.







  • This.

    One of the reasons indexing starts at zero is because back when we used to use pointers and memory addresses, the first byte(s) of an array were at the address where the array was stored. Let’s say it is at 1234. If it was an array of bytes, the first data element was at 1234, or 1234 + 0. The second element would be at 1235, or 1234 + 1. So the first element is at location 0 and the second at location 1, where the index is actually just an offset from the base address. There may be other/better reasons, but that’s what I was taught back in the 90s.

    Counting always starts at 1 (if we’re only using integers). You don’t eat a hamburger and say you ate zero hamburgers.