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. Today's Qlikview "You gotta be f*ckin kidding me" moment

Today's Qlikview "You gotta be f*ckin kidding me" moment

Scheduled Pinned Locked Moved The Lounge
22 Posts 11 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.
  • Sander RosselS Sander Rossel

    So I was texting this cute girl when she asked me "What's your perfect date?" I said "dd-MM-yyyy, anything else is just confusing." She never texted back :(

    Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

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

    "Can I compare thee to a summer's day?" Because July the 17th was quite nice, and ... where are you going?

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... 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

    1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      Seems like I've dodged a bullet then! :laugh:

      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

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

      All of you are wrong, yyyy-mm-dd is objectively the best format.

      Sander RosselS R 2 Replies Last reply
      0
      • L Lost User

        All of you are wrong, yyyy-mm-dd is objectively the best format.

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #8

        No it's not, why start with a number that only changes once in a millenium? The least you could do is stick that somewhere in the middle! Start with the day, however, and you'll probably never have to read past the first two digits :)

        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

        W J R 3 Replies Last reply
        0
        • R realJSOP

          Dates. A date is represented as either a floating point value or "datetime". So far so good. I set the date to 0, and the resulting datetime representation was null. Hmmmm. I set it to 1, and the datetime was 31 Dec 1899. Well, okay... I guess. The real adventure starts when you try to find the absolute max datetime that can be represented. There is no documentation that I could find that says what this value is, and I think I know why. That value is 313740917827896, or 31 Dec 4294967295. If you add 1 to the numeric value, the represented datetime becomes 01 Jan 0000. If you continue adding, you can go all the way to 313740918558381, which gives you a datetime of 31 Dec 1999. If you add 1 to that value, it finally overflows into something that evidently cannot be interpreted as a date. If you really want a laugh, I changed that absolute max value to a negative number, and I got a datetime of 4294967292 Jan 1900. Yes, that first number is the DAY. Curiously, it's almost the same value as the max possible year (before it wraps around). I don't know whether to laugh or cry...

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          B Offline
          B Offline
          Brisingr Aerowing
          wrote on last edited by
          #9

          :wtf: Kill it! Kill it with fire!

          What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

          1 Reply Last reply
          0
          • R realJSOP

            Dates. A date is represented as either a floating point value or "datetime". So far so good. I set the date to 0, and the resulting datetime representation was null. Hmmmm. I set it to 1, and the datetime was 31 Dec 1899. Well, okay... I guess. The real adventure starts when you try to find the absolute max datetime that can be represented. There is no documentation that I could find that says what this value is, and I think I know why. That value is 313740917827896, or 31 Dec 4294967295. If you add 1 to the numeric value, the represented datetime becomes 01 Jan 0000. If you continue adding, you can go all the way to 313740918558381, which gives you a datetime of 31 Dec 1999. If you add 1 to that value, it finally overflows into something that evidently cannot be interpreted as a date. If you really want a laugh, I changed that absolute max value to a negative number, and I got a datetime of 4294967292 Jan 1900. Yes, that first number is the DAY. Curiously, it's almost the same value as the max possible year (before it wraps around). I don't know whether to laugh or cry...

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #10

            I can understand exploring the min value boundaries but extending your research to those lengths is just cruel. I obviously dodged a bullet when I delegated that particular load if crap to another developer.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • L Lost User

              All of you are wrong, yyyy-mm-dd is objectively the best format.

              R Offline
              R Offline
              Rick York
              wrote on last edited by
              #11

              It also conforms to ISO 8601.

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                No it's not, why start with a number that only changes once in a millenium? The least you could do is stick that somewhere in the middle! Start with the day, however, and you'll probably never have to read past the first two digits :)

                Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                W Offline
                W Offline
                Wendelius
                wrote on last edited by
                #12

                I don't understand why you're so in love with numbers. Nothing beats localized text so better to use "dddd d MMMM yy". It's just so readable and drops the unnecessary century. We're all at the same millennia here, right? :)

                Sander RosselS 1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  No it's not, why start with a number that only changes once in a millenium? The least you could do is stick that somewhere in the middle! Start with the day, however, and you'll probably never have to read past the first two digits :)

                  Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #13

                  Sander Rossel wrote:

                  No it's not, why start with a number that only changes once in a millenium?

                  Because its sortable as text. That's basically the whole point with making it THE standard. ISO 8601 - Wikipedia[^]

                  Wrong is evil and must be defeated. - Jeff Ello

                  Sander RosselS 1 Reply Last reply
                  0
                  • R realJSOP

                    Dates. A date is represented as either a floating point value or "datetime". So far so good. I set the date to 0, and the resulting datetime representation was null. Hmmmm. I set it to 1, and the datetime was 31 Dec 1899. Well, okay... I guess. The real adventure starts when you try to find the absolute max datetime that can be represented. There is no documentation that I could find that says what this value is, and I think I know why. That value is 313740917827896, or 31 Dec 4294967295. If you add 1 to the numeric value, the represented datetime becomes 01 Jan 0000. If you continue adding, you can go all the way to 313740918558381, which gives you a datetime of 31 Dec 1999. If you add 1 to that value, it finally overflows into something that evidently cannot be interpreted as a date. If you really want a laugh, I changed that absolute max value to a negative number, and I got a datetime of 4294967292 Jan 1900. Yes, that first number is the DAY. Curiously, it's almost the same value as the max possible year (before it wraps around). I don't know whether to laugh or cry...

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    J Offline
                    J Offline
                    Jorgen Andersson
                    wrote on last edited by
                    #14

                    Obviously lacks a few checks. But you can make life a bit easier if you have a look at DateTime.FromOADate Method (Double) (System)[^] and DateTime.ToOADate Method (System)[^]

                    Wrong is evil and must be defeated. - Jeff Ello

                    R 1 Reply Last reply
                    0
                    • J Jorgen Andersson

                      Sander Rossel wrote:

                      No it's not, why start with a number that only changes once in a millenium?

                      Because its sortable as text. That's basically the whole point with making it THE standard. ISO 8601 - Wikipedia[^]

                      Wrong is evil and must be defeated. - Jeff Ello

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #15

                      Real men sort on substrings! ;p And the really very manly men sort Wendelius' format :~

                      Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                      1 Reply Last reply
                      0
                      • W Wendelius

                        I don't understand why you're so in love with numbers. Nothing beats localized text so better to use "dddd d MMMM yy". It's just so readable and drops the unnecessary century. We're all at the same millennia here, right? :)

                        Sander RosselS Offline
                        Sander RosselS Offline
                        Sander Rossel
                        wrote on last edited by
                        #16

                        Great idea, that is now the default format in all my applications :D

                        Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          No it's not, why start with a number that only changes once in a millenium? The least you could do is stick that somewhere in the middle! Start with the day, however, and you'll probably never have to read past the first two digits :)

                          Best, Sander arrgh.js - Bringing LINQ to JavaScript SQL Server for C# Developers Succinctly Object-Oriented Programming in C# Succinctly

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

                          That format is the most sortable.

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                          1 Reply Last reply
                          0
                          • J Jorgen Andersson

                            Obviously lacks a few checks. But you can make life a bit easier if you have a look at DateTime.FromOADate Method (Double) (System)[^] and DateTime.ToOADate Method (System)[^]

                            Wrong is evil and must be defeated. - Jeff Ello

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

                            I'm not sure how something in C# is applicable to the sh|t stain we all know as Qlikview.

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                            J 1 Reply Last reply
                            0
                            • R realJSOP

                              I'm not sure how something in C# is applicable to the sh|t stain we all know as Qlikview.

                              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                              -----
                              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                              -----
                              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                              J Offline
                              J Offline
                              Jorgen Andersson
                              wrote on last edited by
                              #19

                              Just me assuming you were using it via an interface

                              Wrong is evil and must be defeated. - Jeff Ello

                              R 1 Reply Last reply
                              0
                              • J Jorgen Andersson

                                Just me assuming you were using it via an interface

                                Wrong is evil and must be defeated. - Jeff Ello

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #20

                                Qlikview is a stand-alone app with no support for plug-ins, or even real coding talent, although it requires one to be able to figure out workarounds for their arbitrary restrictions, numerous limitations, and bugs that they prefer to call "nuances". As a programmer, Qlikview's "programming" features are an affront to my developer sensibilities. If anyone on the planet was in danger of having physical harm inflicted on them from a carefully aimed shot, it's the sub-humans that invented Qlikview.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                M J 2 Replies Last reply
                                0
                                • R realJSOP

                                  Qlikview is a stand-alone app with no support for plug-ins, or even real coding talent, although it requires one to be able to figure out workarounds for their arbitrary restrictions, numerous limitations, and bugs that they prefer to call "nuances". As a programmer, Qlikview's "programming" features are an affront to my developer sensibilities. If anyone on the planet was in danger of having physical harm inflicted on them from a carefully aimed shot, it's the sub-humans that invented Qlikview.

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  M Offline
                                  M Offline
                                  MarkTJohnson
                                  wrote on last edited by
                                  #21

                                  Thank you for making the mess I code in seem reasonable. "I do love my job, I do love my job. I do, I do, I do, I do I do love my job!"

                                  1 Reply Last reply
                                  0
                                  • R realJSOP

                                    Qlikview is a stand-alone app with no support for plug-ins, or even real coding talent, although it requires one to be able to figure out workarounds for their arbitrary restrictions, numerous limitations, and bugs that they prefer to call "nuances". As a programmer, Qlikview's "programming" features are an affront to my developer sensibilities. If anyone on the planet was in danger of having physical harm inflicted on them from a carefully aimed shot, it's the sub-humans that invented Qlikview.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    J Offline
                                    J Offline
                                    Jorgen Andersson
                                    wrote on last edited by
                                    #22

                                    Sounds like it's even worse than Crystal Reports then.

                                    Wrong is evil and must be defeated. - Jeff Ello

                                    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