Comments by "" (@sirtra) on "ThePrimeTime" channel.

  1. 15
  2. 11
  3. 7
  4. 5
  5. 4
  6. 2
  7. 2
  8. 2
  9.  @MasterHigure  why not use 0x69 as the start? Conceptually there is nothing preventing that, it hypothetically could be done, but when you get down into the nitty gritty it's problematic with the way in which binary systems work and programmers think. If you skew from 0 it throws everything else off - humans didn't choose to use sizes that are powers of 2, it's a byproduct of the underlying system. Take just 4 bits, if 0001 is the first entry, 0010 is 2nd, 0100 is 4th - if as a human you then look at it in two halves, so 2bits + 2bits meaning 01 + 00 what comes naturally to you as to what that represents? Is the 01 representing 1st or 4th or 5th entry? Why did i suddenly add 5th? Well if 01 is normally the 1st entry plus there is 2 other more significant bits to the right, with each bit having 2 values, making 4 combinations.. then using typical calculation methodology 01 plus 4 would be 5! Yet it should be 4 if you count in sequence from 0001 right? It essentially creates a scenario where it becomes an unclear exception to the way of thinking elsewhere from a programatic point of view. If you then throw in signed vs unsigned bytes into the mix it gets a whooooole lot more complicated. All for what gain? How is the programmer benefitting from this? Do the pros outweigh the cons overall? Will it cause other unforeseen issues in the long run? It makes debugging much harder as you have to translate or compensate for this weird exception and always be left second guessing, ie 4th or 5th? What are the pros beyond feelings as i'm really not seeing any from a technical standpoint - conceptually sure, it may feel more comfortable or natural for certain people starting at 1 but honestly, i see it only causing more issues than it improves. All the programmers i know, myself included, don't have any difficulties throwing +1 when ever it's needed (eg output to log files) to be more human friendly. Each to their own though, if you think the nightmare of 1 based indexing is better, go right ahead! It can be done in most languages...
    2
  10. 2
  11. 2
  12. 2
  13. 1
  14.  @billeterk  measuring and pointers are actually much closer related than you think (i think). Consider this, you're in a car at the start of a very long drag strip called DDR4. You press the trip button on your odometer so its reset and now reading 0. There are little marker signs on the side of the road every 1024 meters. You drive forward and pass 4 of those signs and are now 1 meter past the 4th sign. What is the reading on the odometer for your trip so far? 4097 The same can be done for time. It's all relative and context dependent. I'm assuming i don't need to spell out how this analogy relates to memory and pointers. End of the day, anyone who is a serious programmer should be well adjusted to starting at zero and pointers etc. If you can't wrap your head around starting at 0 vs 1 and/or are relying on a high level compiler to do basic stuff for you, imo you won't make it as a programmer or developer long term. I view it in a similar way to the OS wars, if you're incapable of using windows, mac and linux and have a strong aversion to one of them - like to the point where you refuse to use one or feel the need to waste time whining about how X or Y is better and you'll never use Z you won't make it in the tech world. I prefer to use the best tool for the job. Sometimes it's about efficiency, sometimes it's about speed and sometimes it's about functionality etc. Each to their own though, there are many ways to skin a cat... but some people ONLY like hairy cats.. i'm fine with all kitties 😉
    1
  15. 1
  16. ​ @keoghanwhimsically2268  it's not being anal, its about being legally and technically correct. Fairly important aspects given the context of the video, no? The recipe for Coca Cola and Colonel Sanders 12 herbs and spices are examples of intellectual property that is not and can not be protected by copyright. Copyright is actually very niche in the world of business - it's moreso about books, movies, music etc. The logos for Coca Cola and KFC (the picture of Colonel Sanders) are examples of things protected NOT protected by copyright but by trademarks. Sonic the Hedgehog and Super Mario Brother are examples of things which are protected by both trademark and copyright - which depends on context. If i were to create a game with a little blue echidna that ran really fast and collected coins called Super Mario Echidna that would breach copyright but not trademark. If i were to create an online poker game and called it Sonic the Hedgehog Poker, even if it didnt include the little blue hedgehog or anything else relating to that little guy this would be a breach of trademark. Likewise if i called it SillyPoker but then threw a large picture of a blue hedgehog that resembles Sonic as the cover art or title screen etc. Distinction is very important and anyone with the opinion that it doesn't matter, or worse that Intellectual Property as a whole should not exist, has not and likely never will create anything of value. Don't be that guy. No one should want to be that guy and yet i see several of them here in this thread. Throwing 12 herbs n spices over some chicken aint complicated or difficult, almost anyone could do it - but figuring out which 12 and the ratios to give an intended outcome or result is. Colonel Sanders was not a giant multinational company, it was these protections which allowed him to go from a nobody to a somebody. Same with McDonald's and just about every other western multinational company. The law protects both large and small, and those abusing it both large and small, should also face repercussions. The alternative of scrapping all these protections will essentially result in even more cheap knock-off stuff not only from China but from anywhere, anytime by anyone - is that a world you want to live in?
    1
  17. 1
  18. 1
  19. 1
  20. 1
  21. 1
  22. 1
  23. 1
  24. 1