1. 36

    Not a small change, but: getting a dog.

    With a dog, I have to go on walks outside way more often than I did before, and it’s doing me a lot of good physically, but also mentally: I don’t know what it is, but I don’t think about work when I’m on the trail with my boy. It’s also an amazing source of love and comfort after a tense Scrum planning or refinement.

    1. 1

      We’ve a puppy for 1.5month and yes, he is a life-changer. But before getting a dog I suggest to dig into this topic and understand: can you take care of someone who doesn’t understand your language(s) (not only the voice, but gestures so on).

    1. 3

      I’m curious why Base62 and not simply Base64UrlSafe, which has a constant time implementation in libsodium.

      1. 1

        Base64UrlSafe

        Hm, constant time, what do you mean by that? Also have tried to find the code (regarding b64) but no luck :(

        1. 1

          See for example https://blog.ircmaxell.com/2014/11/its-all-about-time.html

          It is mostly important for decoding key material if stored encoded, so technically it may not be necessary here to have the encoder/decoders be constant time, but well, better safe than sorry when dealing with security sensitive code.

      1. 3

        Going to create next major release for JWT in Go (https://github.com/cristalhq/jwt) with a few memory optimizations.

        Also probably play with another libs in todo.

        1. 1

          How funny, I’m planning on implementing this library in my project this weekend!

          1. 2

            yeah, life is strange sometimes :)

            ping me anytime btw

        1. 4

          BTW, for the such and similar situations go-critic has checks rangeValCopy and rangeExprCopy

          See docs: https://go-critic.github.io/overview

          Repo: https://github.com/go-critic/go-critic

          1. 1

            Thanks, I integrated it into my codebase. The default sizeLimit of 512 seems rather large, I would expect to see something like 64.

            https://github.com/contribsys/faktory/blob/master/.golangci.yml

            1. 2

              go-critic has a support for config per checker, look for @rangeExprCopy.sizeThreshold on the overview page :)

              And from what I see there is no mention of go-critic config param (oops), we’ll update docs soon.

              1. 2

                Yeah, I dug thru it and config’d golangci-lint. See link above.

              2. 2

                Just in case if you didn’t know: you can change the default size with -@rangeExprCopy.sizeThreshold parameter.

                To get a list of checkers, run: gocritic doc.

                To get info about a checker, run: gocritic doc <checkerName>.

                So, in case of the rangeExprCopy you do “gocritic doc rangeExprCopy” and it tells what parameters are available.

            1. 1

              Surviving coronavirus in Warsaw

              1. 1

                Only for subscribers? (I mean paywall etc)

                1. 2

                  Really? I can see it fine. Where are you located?

                  1. 1

                    Hm, 7hrs ago I saw a paywall….but now don’t.

                    (there is a little chance that modern web was loading too slow that I’ve decided it’s blocked for me)

                1. 3

                  Well, make sense per discussion linked in commit message.

                  BTW, there is an official (?) llvm backend made by Go team and which is needed by Google, what was the point to support inside LLVM repo?

                  1. 1

                    iPhone 6S and 7S (slowly migrating to the later one). Have plans for 11.

                    1. 5

                      https://olegk.dev - simple Hugo generated web-site. Hosted no Github + Cloudflare DNS

                      https://github.com/cristaloleg/cristaloleg.github.io

                      1. 1

                        Nice. I use the same hugo theme as you on mine :)

                      1. 2
                        1. 11

                          I’ve started using Starship and I’m pretty happy with last few weeks.

                          https://github.com/starship/starship

                          1. 26

                            Please, no politics. There are other platforms to share such news and opinions.

                            Leave Lobsters politic-less.

                            Make tech, not politics.

                            1. 2

                              Hm, is there a repo so we can contribute to?

                              1. 3

                                You may try to contact with owner Alex Spartalis

                              1. 1

                                Am I understanding correctly that their main reasons for going back to PHP are so that they can ditch testing and not have to worry about types?

                                1. 1

                                  Yeah, it’s one of the points.

                                  (and btw, see tags, April 1st :)

                                1. 20

                                  What about using the satire tag?

                                  1. 6

                                    IMO, Good enough

                                    https://lobste.rs/t/satire

                                  1. 9

                                    No Dockerfile and Bloated dependencies? I thought that one contradicts the other, no?

                                    1. 4

                                      Docker would be a huge dependency, but this article isn’t arguing that you should depend on Docker. The article is arguing for adding a Dockerfile to make it easier for people to run your project in docker, but unless it’s actually necessary, your project absolutely shouldn’t depend on it.

                                      1. 1

                                        Why so? I don’t get it, can you clarify a bit more?

                                        1. 1

                                          I’d like Chrome, so …

                                          http://dockerfile.github.io/#/chrome -> http://dockerfile.github.io/#/ubuntu-desktop -> http://dockerfile.github.io/#/ubuntu -> https://hub.docker.com/_/ubuntu … but first, I need a Linux VM to run Docker on it! Doesn’t that look bloated to you? Did I miss anything?

                                          1. 2

                                            Sorry, are you counting the Linux kernel as bloat because you want to use a technology your operating system’s kernel doesn’t support?

                                            I agree that Docker is not the leanest piece of tech out there but that seems drastically unfair.

                                      1. 8

                                        Nice summary of a good README, one thing I’d add that really grinds my gears is projects not taking the time to add at least a single sentence explaining what the thing actually does, in a way that people that may not even be involved in the ecosystem at all can understand what problem they are trying to solve.

                                        What most have is something along the lines of “Do what x does but with y”, with both blanks being libraries or concepts people not involved in eg. Kubernetes, OpenStack or the newest JavaScript stuff would maybe know by another name or which might be completely made up.

                                        I try to do this with all my projects, just adding a succinct description I would tell eg. my parents as well as two usage examples does wonders for clarity, in my opinion.

                                        Examples (shameless plug): https://github.com/cbdevnet/midimonster

                                        1. 1

                                          Nice repo and great README, thank for sharing!

                                        1. 4

                                          Migrating ZooKeeper to another DC

                                          1. 8

                                            Sleeping

                                            1. 1

                                              Lucky you

                                            1. 6

                                              Current status: https://media.giphy.com/media/dF7d5Fn8Cbt9m/giphy.gif

                                              Heading to Poland 🇵🇱 for a week’s holiday/exploration. Not taking a laptop, super looking forward to it. Starting out in Warsaw this time, then after a couple of days hiring a car and driving down to Krakow for a long weekend. Not been to Warsaw before, so that’s super exciting to explore. Looking forward to seeing other places on the way down the country too, and then it’ll be my second visit to Krakow so get to explore it a bit more.

                                              1. 3

                                                Welcome to Poland :)

                                                1. 3

                                                  Great choice, and welcome to my beautiful country! ❤️🇵🇱

                                                  As all tourists in Warsaw inevitably visit Stare Miasto, I can recommend the restaurant named Polka. Tourist hotspots in any location generally have lower quality and higher prices on everything, but this place does great Polish food.

                                                  1. 1

                                                    Ooh thanks! We do like the non-tourist, locals-recommended places to go, will check Polka out.

                                                  2. 2

                                                    Always wanted to visit Poland. Hoping to get a chance in a couple of years. Have fun!