• Home
    • Recent
    • Calendar
    • Register
    • Login
    Iron Heart Forum
    Iron Heart Forum

    Iron Heart Fall/Winter 2025 Collection Preview - Now Live

    Random Rants

    General Chat
    406
    13.4k
    4.3m
    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.
    • GilesG
      Giles
      IHUK Crew
      Joined:

      Yep, that is a major fail…..

      "OK face up to it - you're useless but generally pretty honest and straightforward . . . it's a rare combination of qualities that I have come to admire in you" - Geo 2011

      last edited by 1 Reply Last reply Reply Quote 0
      • GraemeG
        Graeme
        啓蒙家
        Joined:

        It's Monday, so obviously time for another rant from the world of job hunting.

        I've got a coding test to do, and I have to write an Android app that does the following:

        • Read in JSON data from a file.

        • Request permission to use the phone's location service.

        • Use the location service and the data from a file to find the nearest city. (Given everything is in latitude and longitude, than involves looking up an algorithm to calculate distance from these.)

        • Make a call to a web service to request weather data for that city.

        • Display the data in a simple UI.

        • Have a fallback to display a message that the app needs location permissions to be enabled to work properly.

        Apparently this is all to be completed in two and a half hours and it's a timed test. I think that each step is probably a couple of hours work. (Any developers here with any thoughts on my estimates?)

        I had a crack at the test last week, got part of the way through, and basically submitted a note saying that you've got to be kidding if you expect this to be done in the given timeframe. I emailed the testing company to raise my concerns, and their reply was that other people complete it within two and a half hours, but it's a real achievement to do that.

        I'm currently about ten hours in, with another five hours to complete it. And that's recycling a little code from another project…

        I'll probably write another rude email to the testing company.

        last edited by 1 Reply Last reply Reply Quote 0
        • S
          Snowy
          Joined:

          What's the testing platform?

          I could probably do the below in 2hrs now, and I'm not a SDE. It wouldn't be optimal, but it'd work.

          Read in JSON data from a file.
          Request permission to use the phone's location service.
          Use the location service and the data from a file to find the nearest city.
          Make a call to a web service to request weather data for that city.
          Display the data in a simple UI.
          Have a fallback to display a message that the app needs location permissions to be enabled to work properly.

          This, I'm not sure if there's an easy way to solve that counts. There's URLs and libraries that solve this out there many of them.. https://stackoverflow.com/questions/20169467/how-to-convert-from-longitude-and-latitude-to-country-or-city  for EG If that counts, yeah I could do it in 2hrs.

          Use the location service and the data from a file to find the nearest city. (Given everything is in latitude and longitude, than involves looking up an algorithm to calculate distance from these.)

          last edited by 1 Reply Last reply Reply Quote 0
          • GraemeG
            Graeme
            啓蒙家
            Joined:

            It's written in Kotlin (or Java) on the Android platform, so it's a bit more verbose than JavaScript.

            I used the Haversine formula to get distances between latitude and longitude coordinates. It's not necessarily accurate, or efficient when used on an enormous array of values, but it works.

            https://www.movable-type.co.uk/scripts/latlong.html

            The part that I found tricky was the permissions system, which I hadn't used before.

            last edited by 1 Reply Last reply Reply Quote 0
            • S
              Snowy
              Joined:

              I suspect your quality bar is too high for these. As a hiring manager who dishes out coding assessments more mundane than what you're doing here, I only assess for functional or correctness, performance and edge case handling mostly not expected at all. Not about what you know, it's how well you can google and throw something together that makes some kind of sense. Lower your standards  😃

              last edited by 1 Reply Last reply Reply Quote 0
              • GraemeG
                Graeme
                啓蒙家
                Joined:

                Thanks. I think that I'm just a bit burnt out by continually job hunting, picking up a short contract, and repeating. I feel like I spend more time writing coding tests than production code.

                last edited by 1 Reply Last reply Reply Quote 0
                • S
                  Snowy
                  Joined:

                  Good luck! Contracting is a tough gig for sure (I did 10 years, happy to leave it to the younger folks these days)

                  last edited by 1 Reply Last reply Reply Quote 0
                  • setandsettingS
                    setandsetting
                    Raw and Unwashed
                    Joined:

                    New York is now subtropical? No more UHFs for me, IH gotta make those lightweight shirts!

                    https://www.nytimes.com/2020/07/24/nyregion/climate-change-nyc.html

                    last edited by 1 Reply Last reply Reply Quote 0
                    • J
                      Jett129
                      見習いボス
                      Joined:

                      I definitely wore my UHFs less than in any previous season. I live in NJ.

                      last edited by 1 Reply Last reply Reply Quote 0
                      • GilesG
                        Giles
                        IHUK Crew
                        Joined:

                        https://www.bbc.co.uk/programmes/articles/53W0N5dWNCC2dcSgWHmlbzM/fast-fashion-five-things-to-think-about-before-you-start-shopping

                        "OK face up to it - you're useless but generally pretty honest and straightforward . . . it's a rare combination of qualities that I have come to admire in you" - Geo 2011

                        last edited by 1 Reply Last reply Reply Quote 0
                        • dinobarnesberlinD
                          dinobarnesberlin
                          啓蒙家
                          Joined:

                          Organizing a Viking Funeral for all of my sub standard items this summer.

                          Wont be shedding a tear –- ive crossed over to the other side.

                          last edited by 1 Reply Last reply Reply Quote 0
                          • hajdukH
                            hajduk
                            啓蒙家
                            Joined:

                            [emoji38][emoji38]

                            Envoyé de mon iPhone en utilisant Tapatalk

                            "Ignorance, allied with power, is the most ferocious enemy justice can have" James Baldwin.

                            last edited by 1 Reply Last reply Reply Quote 0
                            • Bfd70B
                              Bfd70
                              Raw and Unwashed
                              Joined:

                              last edited by 1 Reply Last reply Reply Quote 0
                              • Stuart.TS
                                Stuart.T
                                Raw and Unwashed
                                Joined:

                                Brits have been a holiday blight on many countries for decades… We CANNOT handle alcohol responsibly... Now we are inflicting it on ourselves. We disgust me...I say 'we' because responsible citizens more often choose not to intervene when there are problems, 'we' don't help the situation, but are happy to moan and tut. I've had many a run in with drunken idiots discarding their bottles in the streets over the past few months. It makes me seriously consider straight edge again.

                                https://www.bbc.co.uk/news/uk-england-devon-53751362

                                last edited by 1 Reply Last reply Reply Quote 0
                                • organisysO
                                  organisys
                                  Raw and Unwashed
                                  Joined:

                                  They are experiencing a Chavalanche, sadly !

                                  ::)

                                  Pride of Japan :-)

                                  last edited by 1 Reply Last reply Reply Quote 0
                                  • HeavyGenesH
                                    HeavyGenes
                                    Raw and Unwashed
                                    Joined:

                                    I suffer for my IH passion living in SoCal but the heat wave with high humidity we’ve been having is making it impossible for me to wear any IH I own. Gets me heated.

                                    Sent from my iPhone using Tapatalk

                                    Cheers! 

                                    last edited by 1 Reply Last reply Reply Quote 0
                                    • GilesG
                                      Giles
                                      IHUK Crew
                                      Joined:

                                      Oh dear.  I think Levi's have really lost the plot.  These are so wrong on so many levels…..

                                      https://www.them.us/story/levi-denim-chaps-pride-month-2020

                                      "OK face up to it - you're useless but generally pretty honest and straightforward . . . it's a rare combination of qualities that I have come to admire in you" - Geo 2011

                                      last edited by 1 Reply Last reply Reply Quote 0
                                      • dinobarnesberlinD
                                        dinobarnesberlin
                                        啓蒙家
                                        Joined:

                                        @Giles:

                                        Oh dear.  I think Levi's have really lost the plot.  These are so wrong on so many levels…..

                                        https://www.them.us/story/levi-denim-chaps-pride-month-2020

                                        These Alphabet people have crossed the line 😃

                                        last edited by 1 Reply Last reply Reply Quote 0
                                        • neph93N
                                          neph93
                                          見習いボス
                                          Joined:

                                          @dinobarnesberlin:

                                          These Alphabet people have crossed the line 😃

                                          The point of the article is that the LBGTQ community find the Levi’s product mentioned deeply problematic. My favourite quote is «Even the party gays didn’t ask for these». It was a pretty naive move on Levi’s part.

                                          «Stevie Heighway on the wing!
                                          We had dreams, and songs to sing…»

                                          • Dame Vera Lynn
                                          last edited by 1 Reply Last reply Reply Quote 0
                                          • GilesG
                                            Giles
                                            IHUK Crew
                                            Joined:

                                            That was my fave too….

                                            "OK face up to it - you're useless but generally pretty honest and straightforward . . . it's a rare combination of qualities that I have come to admire in you" - Geo 2011

                                            last edited by 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright Iron Heart 2025.