Ed P

Forum Replies Created

Viewing 20 posts - 541 through 560 (of 4,843 total)
  • Author
    Posts
  • in reply to: C++ Programming #67804
    Ed PEd P
    Participant
      @edps
      Forumite Points: 39

      Ah thats the thing, the last element pointed to by begin will indeed be one off the end but because begin will be equal to end we do not attempt to assign a value to it.

      Fair point.

      in reply to: C++ Programming #67800
      Ed PEd P
      Participant
        @edps
        Forumite Points: 39

        I think in your specific example, that a post increment is more predictable as then everything within the ‘while group’ is processed. Imo to omit the last element is a potential cause of error as the last element pointed at by *begin has no value. As you said it all depends on context, but ‘while’ loops always need extra care especially if you are iterating through pointers or an array.

        in reply to: C++ Programming #67770
        Ed PEd P
        Participant
          @edps
          Forumite Points: 39

          Is that counter-intuitive behaviour due to the use of a pre-iterator rather than a post iterator e,g begin++ rather than ++begin.

          Give me good old C any day!

          in reply to: New Toy! #67769
          Ed PEd P
          Participant
            @edps
            Forumite Points: 39

            Just for info, you can find Jakemy tools on Amazon for (roughly) the same price. I’m a sucker for tools, but often find that Chinese tool steel is badly tempered and tends to be on the brittle side.

            Nice car, it looks like it could make a good framework to add a Pi Zero and a few sensors and turn it into a fully autonomous vehicle!

            in reply to: C++ Programming #67757
            Ed PEd P
            Participant
              @edps
              Forumite Points: 39

              That explains EVERYTHING!

              in reply to: Edison strikes again. #67753
              Ed PEd P
              Participant
                @edps
                Forumite Points: 39

                As a young Chemical Engineer I had to deal with hydrogen and it issues on almost a daily basis. Imo hydrogen as a fuel will never be a world-saving energy resource. Putting aside the energy intensity of splitting hydrogen away from any compound, once you have it, it is a pig to handle. It leaks through solid steel due to the small size of its molecule, it causes hydrogen embrittlement of metals and even a minor leak is a potentially major issue. Not only is it potentially explosive, if a small leak catches fire there is a real danger that the very hot nearly invisible  hydrogen flame will act almost like a thermic lance and quickly turn a small fire into a big one.

                in reply to: What has happend to games sizes #67588
                Ed PEd P
                Participant
                  @edps
                  Forumite Points: 39

                  Tip, if you do play Valheim in single player do not attempt to build shelter before crafting a hoe and using it to level the site of your shelter. If you don’t the hut will almost certainly collapse wasting time and energy, and probably result in yet another early death. (rinse and repeat)

                  in reply to: What has happend to games sizes #67585
                  Ed PEd P
                  Participant
                    @edps
                    Forumite Points: 39

                    The reason for all this bloat is pure eye-candy plus DRM.

                    in reply to: C++ Programming #67584
                    Ed PEd P
                    Participant
                      @edps
                      Forumite Points: 39

                      Nor me, but it does at least rationalise my irrational viewpoint, which was I think brought about by a view that C++ had become far too bloated. I think I would have been very happy if they had frozen it at the Object C stage as I felt that the owners of C++ were guilty of changing things just to stay in their jobs.

                      in reply to: C++ Programming #67581
                      Ed PEd P
                      Participant
                        @edps
                        Forumite Points: 39

                        I knew I had a good reason for disliking C++; apparently Python is faster!

                        Pdf link

                        in reply to: Strange Problem #67580
                        Ed PEd P
                        Participant
                          @edps
                          Forumite Points: 39

                          The BT Hub1 is utter carp with respect to wifi. I changed to BT Hub2 which comes with a mesh wifi and things are much better, but still subject to the occasional slow downs that Tippon mentions. As wired suffers no such slowdowns it is obviously a malign contention algorithm that BT use for their wifi.

                          in reply to: What has happend to games sizes #67574
                          Ed PEd P
                          Participant
                            @edps
                            Forumite Points: 39

                            On the other end of size ~1 Gb . . .

                            If you want to try a (relatively) cheap but challenging game try the Indie-hit Valheim on Steam. Single player is possible but hard, you spend most of your time just trying to build a shelter and grubbing for food!

                            Some carp at its use of voxels, but I rather like the way they allow a procedural random open world to be generated with a small file size. The graphics may be a little blocky as a result but the textures are nice.

                            Valheim review

                            in reply to: Have to share this #67550
                            Ed PEd P
                            Participant
                              @edps
                              Forumite Points: 39

                              I cannot add to all the comments made by others. Have a great Birthday and many happy returns!

                              in reply to: Heads up GARDEN #67549
                              Ed PEd P
                              Participant
                                @edps
                                Forumite Points: 39

                                You do not need an app, just navigate to  https://radio.garden/ to try it out. Note that the site drives Firefox nuts, so you may need to unwind all the standard Firefox privacy settings.

                                in reply to: Strange Problem #67541
                                Ed PEd P
                                Participant
                                  @edps
                                  Forumite Points: 39

                                  Sounds a bit like a DHCP problem, try the old CLI mantra of:

                                  ipconfig /release

                                  ipconfig /renew

                                  ipconfig /flushdns

                                  See: https://geeksadvice.com/release-and-renew-ip-address/

                                  As to WHY you have problems I can’t really guess, except I would tend to point my finger at your IPS supplier particularly if BT, or that your local cache is corrupt. Maybe someone else has a better idea.

                                  in reply to: AMD Raid Setup #67502
                                  Ed PEd P
                                  Participant
                                    @edps
                                    Forumite Points: 39

                                    I guess if you are in the ‘pro’ gaming world or a Quant trader then millisecs in lag are worth $$$s. For normal mortals like me it is not really relevant.

                                     

                                    in reply to: Perseverance #67494
                                    Ed PEd P
                                    Participant
                                      @edps
                                      Forumite Points: 39

                                      Oh dear, the ‘Waving flag and a fake Moon landing’ all over again!

                                      I suspect that someone has mixed up the pre-flight promo pics with the real NASA pics as there seems to be no way that the equipment on Mars can take that view.

                                      in reply to: Coronavirus – 2019-nCoV #67493
                                      Ed PEd P
                                      Participant
                                        @edps
                                        Forumite Points: 39

                                        No justice either! Unless you are at death’s door SWMBO thinks you only have a cold and are just a wimp.

                                        in reply to: Coronavirus – 2019-nCoV #67486
                                        Ed PEd P
                                        Participant
                                          @edps
                                          Forumite Points: 39

                                          The wife had Covid at the same time – going off chocolate was almost the only impact it had on her.  Man flu all over again!

                                          in reply to: AMD Raid Setup #67485
                                          Ed PEd P
                                          Participant
                                            @edps
                                            Forumite Points: 39

                                            As AMD are into a huge backorder on series 9 CPUs, I suspect that it will be sorted out long before I actually manage to get any hardware, but I’ll check if the usb2 channel is separate from the usb3 channel and use that if required!

                                          Viewing 20 posts - 541 through 560 (of 4,843 total)