Off Topic
    • Categories
    • Tags
    • Users
    • Groups
    • Amazon
    • OT Fundraiser
    • Register
    • Login

    The OFFICIAL programming thread

    Tech
    22
    1.4k
    10.5k
    Loading More Posts
    • 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.
    • Gators1G
      Gators1
      last edited by

      Isnt this website run on NginX too? Maybe its North Korea knocking LOT offline all the time? How do we stop this commie menace?

      alt text

      1 Reply Last reply Reply Quote 2
      • JamJ
        Jam
        last edited by

        Did WWIIOL go down at the same time?

        "laissez les bons temps rouler!"

        1 Reply Last reply Reply Quote 2
        • KilemallK
          Kilemall Careful, railroad agent @Stu
          last edited by

          @stu said in The OFFICIAL programming thread:

          @tazz said in The OFFICIAL programming thread:

          Ok who was it??

          Rick Moran  /  Feb 3, 2022

          Lone U.S. Hacker Brings Down Entire North Korean Internet – Twice

          Lone U.S. Hacker Brings Down Entire North Korean Internet – Twice

          A lone U.S. hacker who goes by the handle “P4x” is claiming responsibility for shutting

          Tens of people were angered!

          That’s enough to get whole industries that cave into tens of people.

          https://i.imgur.com/hX2CMMZ.jpg

          Never go full Lithu-
          Twain

          No editing is gonna save you now-
          Wingmann

          http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

          http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

          WhoofeW 1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by A Former User

            Okay, I just created a variable called toBeOrNotToBe and I’m feeling rather pleased with myself.

            // Validate is array / not array
            const expectArray = kind === PROPERTY_ARRAY;
            const isArray = Array.isArray(property);
            if (expectArray !== isArray) {
                const toBeOrNotToBe = expectArray ? 'to be' : 'not to be';
                throw new Error(`Expected '${joined}' property ${toBeOrNotToBe} array.`);
            }
            

            I haven’t run the above code yet (it’s part of a bigger module) so it might be buggy.

            1 Reply Last reply Reply Quote 3
            • PakoonP
              Pakoon
              last edited by

              Get thee to a nunnery!!!111

              ♙♙♙ Michael Waltz added you to the group.

              KilemallK 1 Reply Last reply Reply Quote 0
              • KilemallK
                Kilemall Careful, railroad agent @Pakoon
                last edited by

                @pakoon said in The OFFICIAL programming thread:

                Get thee to a nunnery!!!111

                Woudn’t that be a nunarray?

                https://i.imgur.com/hX2CMMZ.jpg

                Never go full Lithu-
                Twain

                No editing is gonna save you now-
                Wingmann

                http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                O 1 Reply Last reply Reply Quote 1
                • WhoofeW
                  Whoofe Gold @Kilemall
                  last edited by

                  @kilemall said in The OFFICIAL programming thread:

                  @stu said in The OFFICIAL programming thread:

                  @tazz said in The OFFICIAL programming thread:

                  Ok who was it??

                  Rick Moran  /  Feb 3, 2022

                  Lone U.S. Hacker Brings Down Entire North Korean Internet – Twice

                  Lone U.S. Hacker Brings Down Entire North Korean Internet – Twice

                  A lone U.S. hacker who goes by the handle “P4x” is claiming responsibility for shutting

                  Tens of people were angered!

                  That’s enough to get whole industries that cave into tens of people.

                  thats what twitter was created for

                  alt text

                  alt text

                  If no set of moral ideas were truer or better than any other, there would be no sense in preferring civilized morality to savage morality, or Christian morality to Nazi morality. In fact, of course, we all do believe that some moralities are better than others . . . . The moment you say that one set of moral ideas can be better than another, you are, in fact, measuring them both by a standard . . . admitting that there is such a thing as a real Right, independent of what people think, and that some people's ideas get nearer to that real Right than others."

                  1 Reply Last reply Reply Quote 0
                  • O
                    oyaji @Kilemall
                    last edited by

                    @kilemall said in The OFFICIAL programming thread:

                    @pakoon said in The OFFICIAL programming thread:

                    Get thee to a nunnery!!!111

                    Woudn’t that be a nunarray?

                    i thought it was a whorehouse.

                    © 2015 - 2025 oyaji

                    1 Reply Last reply Reply Quote 0
                    • Gators1G
                      Gators1
                      last edited by

                      This should be useful to you all…

                      Jim Butterfield Commodore 64 Training Tape - FULL Length C64

                      alt text

                      KilemallK 1 Reply Last reply Reply Quote 1
                      • KilemallK
                        Kilemall Careful, railroad agent @Gators1
                        last edited by

                        @gators1 said in The OFFICIAL programming thread:

                        This should be useful to you all…

                        Jim Butterfield Commodore 64 Training Tape - FULL Length C64

                        I’ve got one buried in a box somewhere.

                        I feel confident it will power up.

                        Have no confidence the floppy drive would though.

                        https://i.imgur.com/hX2CMMZ.jpg

                        Never go full Lithu-
                        Twain

                        No editing is gonna save you now-
                        Wingmann

                        http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                        http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                        1 Reply Last reply Reply Quote 0
                        • TazzT
                          Tazz
                          last edited by

                          Screenshot_20220226-210133-795.png

                          GTFO

                          1 Reply Last reply Reply Quote 1
                          • ?
                            A Former User
                            last edited by A Former User

                            I’ve been playing around with Gtk 3 programming and the api is a hot mess. It’s also a moving target with so much refactoring and deprecation even in between minor version changes. But while searching for answers to problems, I kept coming back to docs and examples in the Vala programming language. I’d never heard of Vala before but apparently it is:

                            an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system.

                            So C with Objects? Sound familiar? Yeah well I’ve been learning it since yesterday and whilst I’ve never liked C++, I kind of do like what I’ve seen of Vala so far. It uses reference counting garbage collection and has a lot of syntactic sugar in the language to make programming in it quite pleasant. I don’t think it’s a replacement for C++, well probably not, but as a C#-like language that doesn’t need a run time like mono or .NET it’s kind of attractive to me.

                            It’s been around since 2006 and hasn’t caught the world by storm so it’s probably not going to now but it might be worth playing with if you have any new Gtk projects in your future.

                            1 Reply Last reply Reply Quote 0
                            • KilemallK
                              Kilemall Careful, railroad agent
                              last edited by

                              So in looking this all up, looks like you do user interface work for apps?

                              https://i.imgur.com/hX2CMMZ.jpg

                              Never go full Lithu-
                              Twain

                              No editing is gonna save you now-
                              Wingmann

                              http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                              http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @Kilemall
                                last edited by

                                @kilemall said in The OFFICIAL programming thread:

                                So in looking this all up, looks like you do user interface work for apps?

                                Me? Yeah, but for work I do javascript / web front end work. Well, full stack (front end and back end) as often as not.

                                But this is just a throwaway personal project that I’m using Gtk for. And yeah, Gtk is a Ui widget library. Gommonly used in Gnome (Ubuntu’s standard desktop environment) but also in other stand alone applications.

                                What I’m actually building is my own task bar and application menu. I forget what the windows terminology is but it’s the bar along the bottom with the start button, the currently running apps and the notifications and clock on theright. Plus the Start menu.

                                1 Reply Last reply Reply Quote 0
                                • KilemallK
                                  Kilemall Careful, railroad agent
                                  last edited by

                                  When it’s web, you gotta attach what the website/UI presentation is doing with the underlying app and ultimately database one way or another. You could probably MAKE the website or thick client BE the app, but boy I’m not keen on exposing everything on the user device.

                                  Someday when the product goes EOL and it doesn’t matter, I’ll have to explain how one product I was admin of worked. I think you would find it horrifying and elegant at the same time.

                                  https://i.imgur.com/hX2CMMZ.jpg

                                  Never go full Lithu-
                                  Twain

                                  No editing is gonna save you now-
                                  Wingmann

                                  http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                                  http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • TazzT
                                    Tazz
                                    last edited by

                                    Screenshot_20220226-210530-248.png

                                    GTFO

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User
                                      last edited by

                                      Not sure if this belongs here but anyway: Tigger was right! Analog > Digital.

                                      Future Computers Will Be Radically Different (Analog Computing)
                                      KilemallK 1 Reply Last reply Reply Quote 2
                                      • Gators1G
                                        Gators1
                                        last edited by

                                        You are dead to me!

                                        alt text

                                        1 Reply Last reply Reply Quote 0
                                        • WingmannW
                                          Wingmann Gold
                                          last edited by

                                          You mean that he is <.5 or he would be >.5 and be 93 to 98% alive.

                                          -= Ez dut galduko itxaropena =-

                                          1 Reply Last reply Reply Quote 0
                                          • KilemallK
                                            Kilemall Careful, railroad agent @A Former User
                                            last edited by Kilemall

                                            @hog said in The OFFICIAL programming thread:

                                            Not sure if this belongs here but anyway: Tigger was right! Analog > Digital.

                                            Future Computers Will Be Radically Different (Analog Computing)

                                            In Traveller Robots, the brains have mixes of linear, parallel and/or synaptic CPUs. This was pretty good stuff given that the ruleset was written in 1986 and parallel computers were mostly in the lab.

                                            Traveller Book 8: Robots - Wikipedia

                                            Traveller Book 8: Robots - Wikipedia

                                            One of the big limits of the robots in the ruleset is that synaptic processors at ‘too high’ percentage where the software and error checking occurs makes robots go crazy. You want more of them, but you don’t want the robot driving your vehicle or operating on a human to lose their marbles.

                                            Kind of shows it’s age though, just designing a vehicle mounted robot brain to drive a car and nothing else is something like Cr30000.

                                            https://i.imgur.com/hX2CMMZ.jpg

                                            Never go full Lithu-
                                            Twain

                                            No editing is gonna save you now-
                                            Wingmann

                                            http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                                            http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post