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. I Am Bored

I Am Bored

Scheduled Pinned Locked Moved The Lounge
question
44 Posts 22 Posters 1 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.
  • V Valery Possoz

    knock knock...

    J Offline
    J Offline
    JMK NI
    wrote on last edited by
    #21

    Who's there?

    P G S 3 Replies Last reply
    0
    • A Argonia

      I'm gonna ask you something. Why do you still keep crashing while I try to debug a Xsd ?

      Microsoft ... the only place where VARIANT_TRUE != true

      D Offline
      D Offline
      devenv exe
      wrote on last edited by
      #22

      But why do you still write buggy Xsd?

      "Coming soon"

      A 1 Reply Last reply
      0
      • P Pete OHanlon

        Go read some articles. There are plenty of cracking ones here, and you could actually spend your time productively learning something new.

        N Offline
        N Offline
        newton saber
        wrote on last edited by
        #23

        Pete O'Hanlon wrote:

        Go read some articles. There are plenty of cracking ones here, and you could actually spend your time productively learning something new

        Infinite Upvote!!! And now, a story...(for The Bored) I worked at a place where two devs fought to be the leader of the team for an entire year. While this was going on there was a re-org battle going on at the level above us. These battles took more than a year to get resolved. During that year I worked on one project which took 6 weeks and was shelved anyway. During that year, I read tech books online. One day about 3 months into the dolldrums, one of the two devs fighting to be manager was entirely bored and watching an adult cartoon which I hate. Anyway, he came to me and said, "How do you stay sane?! I'm so bored!!" Keep your mind busy and think about your own future.

        1 Reply Last reply
        0
        • D devenv exe

          If you are truly bored, here is something to play with. Execute in management studio

          WITH
          XGEN(X, IX) AS (
          SELECT CAST(-2.2 AS FLOAT) AS X, 0 AS IX UNION ALL
          SELECT CAST(X + 0.031 AS FLOAT) AS X, IX + 1 AS IX
          FROM XGEN
          WHERE IX < 100
          ),
          YGEN(Y, IY) AS (
          SELECT CAST(-1.5 AS FLOAT) AS Y, 0 AS IY UNION ALL
          SELECT CAST(Y + 0.031 AS FLOAT) AS Y, IY + 1 AS IY
          FROM YGEN
          WHERE IY < 100
          ),
          Z(IX, IY, CX, CY, X, Y, I) AS (
          SELECT IX, IY, X, Y, X, Y, 0
          FROM XGEN, YGEN
          UNION ALL
          SELECT IX, IY, CX, CY, X * X - Y * Y + CX AS X, Y * X * 2 + CY, I + 1
          FROM Z
          WHERE X * X + Y * Y < 16
          AND I < 100
          )
          SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
          REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
          REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
          (X0+X1+X2+X3+X4+X5+X6+X7+X8+X9+X10+X11+X12+X13+X14+X15+X16+X17+X18+X19+
          X20+X21+X22+X23+X24+X25+X26+X27+X28+X29+X30+X31+X32+X33+X34+X35+X36+X37+X38+X39+
          X40+X41+X42+X43+X44+X45+X46+X47+X48+X49+X50+X51+X52+X53+X54+X55+X56+X57+X58+X59+
          X60+X61+X62+X63+X64+X65+X66+X67+X68+X69+X70+X71+X72+X73+X74+X75+X76+X77+X78+X79+
          X80+X81+X82+X83+X84+X85+X86+X87+X88+X89+X90+X91+X92+X93+X94+X95+X96+X97+X98+X99),
          'A',' '), 'B','.'), 'C',','), 'D',','), 'E',','), 'F','-'), 'G','-'),
          'H','-'), 'I','-'), 'J','-'), 'K','+'), 'L','+'), 'M','+'), 'N','+'),
          'O','%'), 'P','%'), 'Q','%'), 'R','%'), 'S','@'), 'T','@'), 'U','@'),
          'V','@'), 'W','#'), 'X','#'), 'Y','#'), 'Z',' ')
          FROM (
          SELECT 'X' + CAST(IX AS VARCHAR) AS IX,
          IY, SUBSTRING('ABCDEFGHIJKLMNOPQRSTUVWXYZ', ISNULL(NULLIF(I, 0), 1), 1) AS I
          FROM Z) ZT
          PIVOT (
          MAX(I) FOR IX IN (
          X0,X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18,X19,
          X20,X21,X22,X23,X24,X25,X26,X27,X28,X29,X30,X31,X32,X33,X34,X35,X36,X37,X38,X39,
          X40,X41,X42,X43,X44,X45,X46,X47,X48,X49,X50,X51,X52,X53,X54,X55,X56,X57,X58,X59,
          X60,X61,X62,X63,X64,X65,X66,X67,X68,X69,X70,X71,X72,X73,X74,X75,X76,X77,X78,X79,
          X80,X81,X82,X83,X84,X85,X86,X87,X88,X89,X90,X91,X92,X93,X94,X95,X96,X97,X98,X99)
          ) AS PZT

          S Offline
          S Offline
          srinivas vadepally
          wrote on last edited by
          #24

          Executed, but don't find what exactly it is..

          D J Kornfeld Eliyahu PeterK OriginalGriffO 4 Replies Last reply
          0
          • S srinivas vadepally

            Executed, but don't find what exactly it is..

            D Offline
            D Offline
            devenv exe
            wrote on last edited by
            #25

            srinivas vadepally wrote:

            Executed

            srinivas vadepally wrote:

            don't find what exactly it is..

            It is Executed

            "Coming soon"

            1 Reply Last reply
            0
            • S srinivas vadepally

              Executed, but don't find what exactly it is..

              J Offline
              J Offline
              Johnny J
              wrote on last edited by
              #26

              It probably formatted your harddrive, emptied your bank account and fucked your wife... ;)

              Anything that is unrelated to elephants is irrelephant
              Anonymous
              -----
              The problem with quotes on the internet is that you can never tell if they're genuine
              Winston Churchill, 1944
              -----
              I'd just like a chance to prove that money can't make me happy.
              Me, all the time

              1 Reply Last reply
              0
              • G glennPattonWork3

                No (strangely not), My role "is not going to be needed for the companies future." :omg:

                A Offline
                A Offline
                Argonia
                wrote on last edited by
                #27

                Oh, I think its great. At least you wont deal with VB(I hope so) I was following some of your posts. Just I had no way to help you :( I am sure you will find a better job. And screw that firm, they didn't know what they had :)

                Microsoft ... the only place where VARIANT_TRUE != true

                G P 2 Replies Last reply
                0
                • D devenv exe

                  But why do you still write buggy Xsd?

                  "Coming soon"

                  A Offline
                  A Offline
                  Argonia
                  wrote on last edited by
                  #28

                  I didn't write it ! Its kinda fun. If you change the active window while debugging xsd VS always crashes. Even with 2013:D

                  Microsoft ... the only place where VARIANT_TRUE != true

                  1 Reply Last reply
                  0
                  • S srinivas vadepally

                    Executed, but don't find what exactly it is..

                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu Peter
                    wrote on last edited by
                    #29

                    http://en.wikipedia.org/wiki/Mandelbrot_set[^]

                    I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                    1 Reply Last reply
                    0
                    • A Argonia

                      Oh, I think its great. At least you wont deal with VB(I hope so) I was following some of your posts. Just I had no way to help you :( I am sure you will find a better job. And screw that firm, they didn't know what they had :)

                      Microsoft ... the only place where VARIANT_TRUE != true

                      G Offline
                      G Offline
                      glennPattonWork3
                      wrote on last edited by
                      #30

                      Quote:

                      Just I had no way to help you Frown | :(

                      Yeah that was a cluster elephant dropped by a VB6/Script kiddie who thinks he can write Windows software! No worries I think it's cured now (you know what I don't really give a flying elephant if its not, if he reports it after mid August!)

                      1 Reply Last reply
                      0
                      • J JMK NI

                        Who's there?

                        P Offline
                        P Offline
                        Pualee
                        wrote on last edited by
                        #31

                        Iwana

                        N 1 Reply Last reply
                        0
                        • S srinivas vadepally

                          Executed, but don't find what exactly it is..

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

                          Use "Select all" on the output, then "Copy". Go to a text editor (or anything using a non-proportionally spaced font) and paste it. Look familiar now?

                          Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                          "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

                          1 Reply Last reply
                          0
                          • D devenv exe

                            If you are truly bored, here is something to play with. Execute in management studio

                            WITH
                            XGEN(X, IX) AS (
                            SELECT CAST(-2.2 AS FLOAT) AS X, 0 AS IX UNION ALL
                            SELECT CAST(X + 0.031 AS FLOAT) AS X, IX + 1 AS IX
                            FROM XGEN
                            WHERE IX < 100
                            ),
                            YGEN(Y, IY) AS (
                            SELECT CAST(-1.5 AS FLOAT) AS Y, 0 AS IY UNION ALL
                            SELECT CAST(Y + 0.031 AS FLOAT) AS Y, IY + 1 AS IY
                            FROM YGEN
                            WHERE IY < 100
                            ),
                            Z(IX, IY, CX, CY, X, Y, I) AS (
                            SELECT IX, IY, X, Y, X, Y, 0
                            FROM XGEN, YGEN
                            UNION ALL
                            SELECT IX, IY, CX, CY, X * X - Y * Y + CX AS X, Y * X * 2 + CY, I + 1
                            FROM Z
                            WHERE X * X + Y * Y < 16
                            AND I < 100
                            )
                            SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
                            REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
                            REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
                            (X0+X1+X2+X3+X4+X5+X6+X7+X8+X9+X10+X11+X12+X13+X14+X15+X16+X17+X18+X19+
                            X20+X21+X22+X23+X24+X25+X26+X27+X28+X29+X30+X31+X32+X33+X34+X35+X36+X37+X38+X39+
                            X40+X41+X42+X43+X44+X45+X46+X47+X48+X49+X50+X51+X52+X53+X54+X55+X56+X57+X58+X59+
                            X60+X61+X62+X63+X64+X65+X66+X67+X68+X69+X70+X71+X72+X73+X74+X75+X76+X77+X78+X79+
                            X80+X81+X82+X83+X84+X85+X86+X87+X88+X89+X90+X91+X92+X93+X94+X95+X96+X97+X98+X99),
                            'A',' '), 'B','.'), 'C',','), 'D',','), 'E',','), 'F','-'), 'G','-'),
                            'H','-'), 'I','-'), 'J','-'), 'K','+'), 'L','+'), 'M','+'), 'N','+'),
                            'O','%'), 'P','%'), 'Q','%'), 'R','%'), 'S','@'), 'T','@'), 'U','@'),
                            'V','@'), 'W','#'), 'X','#'), 'Y','#'), 'Z',' ')
                            FROM (
                            SELECT 'X' + CAST(IX AS VARCHAR) AS IX,
                            IY, SUBSTRING('ABCDEFGHIJKLMNOPQRSTUVWXYZ', ISNULL(NULLIF(I, 0), 1), 1) AS I
                            FROM Z) ZT
                            PIVOT (
                            MAX(I) FOR IX IN (
                            X0,X1,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12,X13,X14,X15,X16,X17,X18,X19,
                            X20,X21,X22,X23,X24,X25,X26,X27,X28,X29,X30,X31,X32,X33,X34,X35,X36,X37,X38,X39,
                            X40,X41,X42,X43,X44,X45,X46,X47,X48,X49,X50,X51,X52,X53,X54,X55,X56,X57,X58,X59,
                            X60,X61,X62,X63,X64,X65,X66,X67,X68,X69,X70,X71,X72,X73,X74,X75,X76,X77,X78,X79,
                            X80,X81,X82,X83,X84,X85,X86,X87,X88,X89,X90,X91,X92,X93,X94,X95,X96,X97,X98,X99)
                            ) AS PZT

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

                            It won't zoom in, damn it! :laugh:

                            Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                            "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

                            1 Reply Last reply
                            0
                            • P Pualee

                              Iwana

                              N Offline
                              N Offline
                              Nagy Vilmos
                              wrote on last edited by
                              #34

                              Go away! I don't like women with lisps.

                              1 Reply Last reply
                              0
                              • A Argonia

                                Oh, I think its great. At least you wont deal with VB(I hope so) I was following some of your posts. Just I had no way to help you :( I am sure you will find a better job. And screw that firm, they didn't know what they had :)

                                Microsoft ... the only place where VARIANT_TRUE != true

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #35

                                Argonia wrote:

                                I had no way to help

                                You help just by being you.

                                You'll never get very far if all you do is follow instructions.

                                1 Reply Last reply
                                0
                                • J JMK NI

                                  Who's there?

                                  G Offline
                                  G Offline
                                  GuyThiebaut
                                  wrote on last edited by
                                  #36

                                  I dunap

                                  “That which can be asserted without evidence, can be dismissed without evidence.”

                                  ― Christopher Hitchens

                                  1 Reply Last reply
                                  0
                                  • S srinivas vadepally

                                    Hey Guys, I am bored..! How about you? Could anyone share a joke...for me...??

                                    K Offline
                                    K Offline
                                    KarstenK
                                    wrote on last edited by
                                    #37

                                    consider doing stuff you ever wanted: NOW!!! - life is short. To understand he true meaning is beeing old :-O

                                    Press F1 for help or google it. Greetings from Germany

                                    1 Reply Last reply
                                    0
                                    • J JMK NI

                                      Who's there?

                                      S Offline
                                      S Offline
                                      Smart K8
                                      wrote on last edited by
                                      #38

                                      It's your mother-in-law, you dimwit. Who do you think it was the Pope? You forgot that we're coming this weekend, didn't you? Now, turn off that computer thingie of yours. You'll be painting the whole house in a different color we picked from a catalog earlier with our daughter, you lazy bum.

                                      1 Reply Last reply
                                      0
                                      • S srinivas vadepally

                                        Hey Guys, I am bored..! How about you? Could anyone share a joke...for me...??

                                        N Offline
                                        N Offline
                                        nilesh sawardekar
                                        wrote on last edited by
                                        #39

                                        Microsoft started to support VB 6.0 Again...

                                        T 1 Reply Last reply
                                        0
                                        • S srinivas vadepally

                                          Hey Guys, I am bored..! How about you? Could anyone share a joke...for me...??

                                          R Offline
                                          R Offline
                                          RogelioP EX DE HL
                                          wrote on last edited by
                                          #40

                                          srinivas vadepally wrote:

                                          I am bored..!

                                          When I'm bored I look around my social network connections for a picture with at least three girl acquaintances on it and drop a comment to the tone of "you two gals look awesome!". Brace for the ensuing drama :cool:

                                          A 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