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. Sometimes I think

Sometimes I think

Scheduled Pinned Locked Moved The Lounge
csharpcomtoolsquestion
21 Posts 19 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.
  • E Electron Shepherd

    Post some samples of the code you wrote when you were just starting out. I bet it's reeaalllyyy good... Making mistakes and getting things wrong is part of learning.

    Server and Network Monitoring

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

    Ok, here you go :) (small snippet)

    wait:
    push bc
    ld bc,$0010
    -: in (c)
    jp p,{+}
    djnz {-}
    +: pop bc
    ret
    outlps:
    ld b,(hl)
    inc hl
    -: call wait
    outi
    jr nz,{-}
    ret
    _inittab: .db 10, $18, 3, 5, 1, $F2, $80, $40, $20, $10, 8
    init:
    ld c,$10
    ld hl,_inittab
    jp outlps

    Apparently I didn't like comments, but for simple functions like these I'll forgive myself.. I'm not sure whether it works, but it's trying to initialize the LCD of a TI-83+/84+ (written about 6 years ago, when I was 13) note: the "wait" works because you never have to wait longer than 256 cycles of that loop

    A 1 Reply Last reply
    0
    • E Ennis Ray Lynch Jr

      Some developers have never written code before.

      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #11

      Think no more. I and the rest of the world confirms your suspicions :)

      xacc.ide
      IronScheme - 1.0 RC 1 - out now!
      ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

      1 Reply Last reply
      0
      • L Lost User

        Ok, here you go :) (small snippet)

        wait:
        push bc
        ld bc,$0010
        -: in (c)
        jp p,{+}
        djnz {-}
        +: pop bc
        ret
        outlps:
        ld b,(hl)
        inc hl
        -: call wait
        outi
        jr nz,{-}
        ret
        _inittab: .db 10, $18, 3, 5, 1, $F2, $80, $40, $20, $10, 8
        init:
        ld c,$10
        ld hl,_inittab
        jp outlps

        Apparently I didn't like comments, but for simple functions like these I'll forgive myself.. I'm not sure whether it works, but it's trying to initialize the LCD of a TI-83+/84+ (written about 6 years ago, when I was 13) note: the "wait" works because you never have to wait longer than 256 cycles of that loop

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #12

        harold aptroot wrote:

        note: the "wait" works because you never have to wait longer than 256 cycles of that loop

        Someone should review your code. :)

        There are only 10 types of people in this world — those who understand binary, and those who don't.

        modified on Tuesday, January 19, 2010 1:55 AM

        L 1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          Some developers have never written code before.

          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

          T Offline
          T Offline
          thatraja
          wrote on last edited by
          #13

          yeah, some people spending most of time in canteen :laugh:

          1 Reply Last reply
          0
          • A Abhinav S

            harold aptroot wrote:

            note: the "wait" works because you never have to wait longer than 256 cycles of that loop

            Someone should review your code. :)

            There are only 10 types of people in this world — those who understand binary, and those who don't.

            modified on Tuesday, January 19, 2010 1:55 AM

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

            Or maybe not, the required wait time is 10 microseconds (except when broken), the CPU frequency is fixed at 6 or 15MHz (and it is not in any way pipelined), so you only need to waste 60 cycles at 6MHz or 150 cycles at 15MHz, the loop takes 4+10+12=26 cycles (if I remember the timings correctly which is a big if) so it needs at most 6 cycles (out of the 256 it can do) Btw, the reason for limiting the number of iterations at all is preventing accidental "death by infinite loop" in case the LCD gets turned off (which any program could do at will)

            1 Reply Last reply
            0
            • E Ennis Ray Lynch Jr

              Some developers have never written code before.

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

              H Offline
              H Offline
              Hired Mind
              wrote on last edited by
              #15

              What I don't understand is: how is it that some of these so-called software developers get college degrees? I don't have a degree, and I've worked with some really brilliant people that did. But I've also worked with quite a few people that have nice bright shiny degrees that couldn't write a line of code, or conceptually design a simple sort algorithm, or have no concept of recursion, etc. It's like their entire time in college was spent getting other people to do their homework.

              D M 2 Replies Last reply
              0
              • H Hired Mind

                What I don't understand is: how is it that some of these so-called software developers get college degrees? I don't have a degree, and I've worked with some really brilliant people that did. But I've also worked with quite a few people that have nice bright shiny degrees that couldn't write a line of code, or conceptually design a simple sort algorithm, or have no concept of recursion, etc. It's like their entire time in college was spent getting other people to do their homework.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #16

                Hired Mind wrote:

                What I don't understand is: how is it that some of these so-called software developers get college degrees?

                Hired Mind wrote:

                It's like their entire time in college was spent getting other people to do their homework.

                Asked and answered. They also probably picked a course load that was heavy on theory classes that they could BS through and as light on actual coding as possible.

                3x12=36 2x12=24 1x12=12 0x12=18

                B 1 Reply Last reply
                0
                • W wout de zeeuw

                  You referring to WPF? :laugh:

                  Wout

                  P Offline
                  P Offline
                  peterchen
                  wrote on last edited by
                  #17

                  That's exempt, not a single developer touched it, only Program Managers.

                  Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                  1 Reply Last reply
                  0
                  • D Dan Neely

                    Hired Mind wrote:

                    What I don't understand is: how is it that some of these so-called software developers get college degrees?

                    Hired Mind wrote:

                    It's like their entire time in college was spent getting other people to do their homework.

                    Asked and answered. They also probably picked a course load that was heavy on theory classes that they could BS through and as light on actual coding as possible.

                    3x12=36 2x12=24 1x12=12 0x12=18

                    B Offline
                    B Offline
                    Buzzby 0
                    wrote on last edited by
                    #18

                    Back in the day (mid 80's) there was a wide variation in CS curricula. I spent 3 years in a University CS BS program which would've made me a great mathematician - but unemployable as a software engineer. In that time I'd had only 3 programming related courses (Cobol, Univac Assembly and then UCSD Pascal) - then I transferred to a smaller college that was a strong engineering (including Electrical Engineering) school with a strong liberal arts requirement. At the new school I was immersed, up to my eyeballs with coding projects. Solitary and team, microprocessor assembly, Unix and Vax C. Wrote compilers, real-time systems, word processor, database applications, GUI's. It seemed impossible, but it wasn't. I think you need a school that supports a thriving EE program - I think there's a strong correlation and you can get a lot more hands-on courses there. I recently took an online course through University of Iowa for the HCI program - it was basically a machine vision course and it was a delight since there were ton's of coding assignments and a semester project. So, perhaps that (schooling and vagaries therein) has something to do with it.

                    No matter where you go, there you are.

                    H 1 Reply Last reply
                    0
                    • B Buzzby 0

                      Back in the day (mid 80's) there was a wide variation in CS curricula. I spent 3 years in a University CS BS program which would've made me a great mathematician - but unemployable as a software engineer. In that time I'd had only 3 programming related courses (Cobol, Univac Assembly and then UCSD Pascal) - then I transferred to a smaller college that was a strong engineering (including Electrical Engineering) school with a strong liberal arts requirement. At the new school I was immersed, up to my eyeballs with coding projects. Solitary and team, microprocessor assembly, Unix and Vax C. Wrote compilers, real-time systems, word processor, database applications, GUI's. It seemed impossible, but it wasn't. I think you need a school that supports a thriving EE program - I think there's a strong correlation and you can get a lot more hands-on courses there. I recently took an online course through University of Iowa for the HCI program - it was basically a machine vision course and it was a delight since there were ton's of coding assignments and a semester project. So, perhaps that (schooling and vagaries therein) has something to do with it.

                      No matter where you go, there you are.

                      H Offline
                      H Offline
                      harlam357
                      wrote on last edited by
                      #19

                      Agreed - I spent a lot of time in mathematics courses as well. I'm really not sure where I was supposed to use all that calculus in day-to-day coding. Likewise, early programming courses focused on data structures and algorithms, not application implementation. Although I really do enjoy understanding an avs binary search tree implementation, having coded one, I'm really not sure the price paid to get that (n log n) sort overhead is worth it. List<T>.Sort() works great for me. ;)

                      1 Reply Last reply
                      0
                      • H Hired Mind

                        What I don't understand is: how is it that some of these so-called software developers get college degrees? I don't have a degree, and I've worked with some really brilliant people that did. But I've also worked with quite a few people that have nice bright shiny degrees that couldn't write a line of code, or conceptually design a simple sort algorithm, or have no concept of recursion, etc. It's like their entire time in college was spent getting other people to do their homework.

                        M Offline
                        M Offline
                        Mateusz Jakub
                        wrote on last edited by
                        #20

                        From my own experience it is possible, that most people finish school or uni without writing code. I end almost every semester writing things for 3+ people, so you can found one in four or five developers who know something, others pay cash, so I don't have anything against it. I'm getting money :laugh: so I don't care.

                        1 Reply Last reply
                        0
                        • E Ennis Ray Lynch Jr

                          Some developers have never written code before.

                          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

                          G Offline
                          G Offline
                          ghle
                          wrote on last edited by
                          #21

                          :omg: Intending to go to page 1 of the lounge, voted 1 instead. My bad.

                          Gary

                          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