Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Reading To Learn Tech?

Reading To Learn Tech?

Scheduled Pinned Locked Moved The Lounge
tutorialcomsecurityhelpquestion
34 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R raddevus

    I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #2

    Do they distribute the source code that accompanies the book somewhere? You may be able to use that to fill in the gaps, at least in this case.

    To err is human. Fortune favors the monsters.

    R 3 Replies Last reply
    0
    • R raddevus

      I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #3

      I got into the third sentence and then got lost. (I'm slow, I need everything.)

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      R 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I got into the third sentence and then got lost. (I'm slow, I need everything.)

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        R Offline
        R Offline
        raddevus
        wrote on last edited by
        #4

        OriginalGriff wrote:

        I got into the third sentence and then got lost. (I'm slow, I need everything.)

        I knew there were more of me out there. :rolleyes:

        1 Reply Last reply
        0
        • H honey the codewitch

          Do they distribute the source code that accompanies the book somewhere? You may be able to use that to fill in the gaps, at least in this case.

          To err is human. Fortune favors the monsters.

          R Offline
          R Offline
          raddevus
          wrote on last edited by
          #5

          honey the codewitch wrote:

          Do they distribute the source code that accompanies the book somewhere? You may be able to use that to fill in the gaps, at least in this case.

          Sheesh, it's like you expect me to do everything. :rolleyes: It's a good point. I will look and see if code is on github. Probably is (but I'm slow, I need everything -- handed to me on a sliver plate). :laugh:

          1 Reply Last reply
          0
          • H honey the codewitch

            Do they distribute the source code that accompanies the book somewhere? You may be able to use that to fill in the gaps, at least in this case.

            To err is human. Fortune favors the monsters.

            R Offline
            R Offline
            raddevus
            wrote on last edited by
            #6

            I went to the official book site: Real-World Cryptography[^] and found a Code download. I downloaded it and it had only 4 files (with file extension .adoc) ???:confused: I opened up the one that seemed to be the one for the MAC source (mac.adoc) but it was a bunch of notes to the author (from editors). No source code. I feel a bit vindicated. :rolleyes: Let the ignorance via laziness continue!!! EDIT - CROSSLINKED - this was a reply to codewitch.

            1 Reply Last reply
            0
            • H honey the codewitch

              Do they distribute the source code that accompanies the book somewhere? You may be able to use that to fill in the gaps, at least in this case.

              To err is human. Fortune favors the monsters.

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #7

              I replied but it got crosslinked -- see it here[^]

              1 Reply Last reply
              0
              • R raddevus

                I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #8

                For me, this happens for one of two reasons. First, I didn't pay enough attention to the early material, so that when the author uses it later I get lost. I go back, read the early stuff again, and the newer material starts to make sense. Second, the author forgot the most important rule in writing: consider your audience. They take small, easy steps in the beginning. Once that part's done, they think they can change over to much bigger steps, having forgotten that their reader might still be learning the material and needs smaller steps.

                Software Zen: delete this;

                R 1 Reply Last reply
                0
                • R raddevus

                  I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                  A Offline
                  A Offline
                  Amarnath S
                  wrote on last edited by
                  #9

                  I'd expect a 'Hello MAC World' program at least within three chapters which gives all instructions from scratch. Otherwise beginners will get switched off.

                  R 1 Reply Last reply
                  0
                  • G Gary Wheeler

                    For me, this happens for one of two reasons. First, I didn't pay enough attention to the early material, so that when the author uses it later I get lost. I go back, read the early stuff again, and the newer material starts to make sense. Second, the author forgot the most important rule in writing: consider your audience. They take small, easy steps in the beginning. Once that part's done, they think they can change over to much bigger steps, having forgotten that their reader might still be learning the material and needs smaller steps.

                    Software Zen: delete this;

                    R Offline
                    R Offline
                    raddevus
                    wrote on last edited by
                    #10

                    I am often guilty of your first point, but your 2nd point is definitely the one I’m talking about running into very often. :thumbsup::thumbsup:

                    G 1 Reply Last reply
                    0
                    • A Amarnath S

                      I'd expect a 'Hello MAC World' program at least within three chapters which gives all instructions from scratch. Otherwise beginners will get switched off.

                      R Offline
                      R Offline
                      raddevus
                      wrote on last edited by
                      #11

                      Yep that’s exactly what I was thinking. The sample almost got me there but not quite. I will def take time & get it working just wanted to see it running real fast to feel some success.

                      1 Reply Last reply
                      0
                      • R raddevus

                        I am often guilty of your first point, but your 2nd point is definitely the one I’m talking about running into very often. :thumbsup::thumbsup:

                        G Offline
                        G Offline
                        Gary Wheeler
                        wrote on last edited by
                        #12

                        That's the primary reason why I no longer buy tech books very often. The writing is really poor.

                        Software Zen: delete this;

                        R 1 Reply Last reply
                        0
                        • G Gary Wheeler

                          That's the primary reason why I no longer buy tech books very often. The writing is really poor.

                          Software Zen: delete this;

                          R Offline
                          R Offline
                          raddevus
                          wrote on last edited by
                          #13

                          There are a couple of publishers (O’Reilly, Manning, No Starch) who still (actually) edit most of their materials but problems still leak through.

                          G 1 Reply Last reply
                          0
                          • R raddevus

                            There are a couple of publishers (O’Reilly, Manning, No Starch) who still (actually) edit most of their materials but problems still leak through.

                            G Offline
                            G Offline
                            Gary Wheeler
                            wrote on last edited by
                            #14

                            I do like the O'Reilly quick references. They're brief and give you the basic information without fluff and a lot of worthless screen captures.

                            Software Zen: delete this;

                            1 Reply Last reply
                            0
                            • R raddevus

                              I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                              E Offline
                              E Offline
                              englebart
                              wrote on last edited by
                              #15

                              I am with you on the crates/imports. Maybe “add them at the bottom of the examples as comments” would be a good publishing guideline for all code samples. ? They are kind of noisy at the top

                              1 Reply Last reply
                              0
                              • R raddevus

                                I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #16

                                Upvoted. Anything that I don't know is rumor and noise. I need everything.

                                Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                1 Reply Last reply
                                0
                                • R raddevus

                                  I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                                  R Offline
                                  R Offline
                                  rnbergren
                                  wrote on last edited by
                                  #17

                                  I have been using linkedin learning (formerly lynda) It has a combination of videos/text etc... Usually they consider everything but not always. Like you I need everything. I find I learn best if I have all of the following Examples!!! Good real world examples Listing of requirements to get them working (the thing it seems you are missing) Someone talking me thru steps 1.2.3.4.5. opps 4 again (I am slow I need everything) Someone having written out those steps 1.2.3.45 opps did 5 too fast again. What was 4? Again Examples to review. again because mine still isn't working (I am slow I need everything) If any of the above is missing. I am not sure I am going to learn that. ymmv

                                  To err is human to really elephant it up you need a computer

                                  R 1 Reply Last reply
                                  0
                                  • R rnbergren

                                    I have been using linkedin learning (formerly lynda) It has a combination of videos/text etc... Usually they consider everything but not always. Like you I need everything. I find I learn best if I have all of the following Examples!!! Good real world examples Listing of requirements to get them working (the thing it seems you are missing) Someone talking me thru steps 1.2.3.4.5. opps 4 again (I am slow I need everything) Someone having written out those steps 1.2.3.45 opps did 5 too fast again. What was 4? Again Examples to review. again because mine still isn't working (I am slow I need everything) If any of the above is missing. I am not sure I am going to learn that. ymmv

                                    To err is human to really elephant it up you need a computer

                                    R Offline
                                    R Offline
                                    raddevus
                                    wrote on last edited by
                                    #18

                                    Thanks for sharing that. I feel like I'm the only one who gets stuck sometimes. At work, any time I mention any problem everyone be like, "Oh no, we've never seen that. It must just be you." Yes, it's just me. Then I search & there is StackOverflow answer with 1 million upvotes :laugh:

                                    1 Reply Last reply
                                    0
                                    • R raddevus

                                      I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                                      C Offline
                                      C Offline
                                      CPallini
                                      wrote on last edited by
                                      #19

                                      I feel your pain. There are far too many books like the one you are reading.

                                      "In testa che avete, Signor di Ceprano?" -- Rigoletto

                                      1 Reply Last reply
                                      0
                                      • R raddevus

                                        I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                                        M Offline
                                        M Offline
                                        markchagers
                                        wrote on last edited by
                                        #20

                                        Related: how, when you try to follow an online tutorial and the first steps go well, and then some weird error suddenly pops up and blocks all progress.

                                        J R 2 Replies Last reply
                                        0
                                        • R raddevus

                                          I'm reading a book right now (Real-World Cryptography - Manning Publisher[^]). In chapter 3 it provided a code example of how to generate a MAC (Message Authentication Code) using Rust. It didn't give the crates (import libraries) that were required. :| (I'm slow, I need everything.) Also, the example was two functions for generating and then reading the MAC but there was no example of the input (I'm slow, I need everything). Which brings me to my point. Do you notice that books get you so far into a subject (about 1 - 3 chapters) and then they get so far out there that you cannot move on further? You're just stuck. The author has left me behind. (I'm slow, I need everything.) So I have a lot of books that I read first 3 chapters & then fall into oblivion. (I'm slow, I need everything.) Well, that is my experience. Does that happen to you?

                                          J Offline
                                          J Offline
                                          jochance
                                          wrote on last edited by
                                          #21

                                          Many languages seem to have raced to having the simplest/shortest example of Hello World by tucking away or automating a bunch of the plumbing that makes the sausage. You find tons of example code out there lacking usings, imports, and other bits similar to your example. Some of those only put the man behind a curtain because if you were to reveal him it would suddenly become an overwhelming amount of worm cans and rabbit holes. Still, I can't help but shake my head at it sometimes. I wouldn't want to be a rookie right now. Too many curtains hiding central figures and too many 'black boxes'. Many of them, you would not even know they exist which is sort of the first step to ever even being able to want to go looking for them in order to understand more. Mostly, those curtains/boxes, they are not totally bad things. Productivity is great and those things that tend to be "ok as default" or "*most* always handle themselves"... it's nice not to worry about or even see them. The problem comes when you really want to know every detail, but you can't even be sure you do. Unknowable unknowns.

                                          R 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups