1. 3
    1. “Yes, And” - Kelly Leonard and Tom Yorton
    2. “The Manager’s Path” - Camille Fournier
    3. “The Art of Action” - Stephen Bungay
    1. 3

      The Manager’s Path is a great book

    1. 1

      ELI5: Why is left-pad infamous?

      1. 6

        This is a good summary. The tl;dr is that a huge number of packages in the node ecosystem depended on it, or depended on other packages that depended on it, etc. When the developer got into a fight with the npm maintainers, he yanked it, and everybody’s builds broke.

        1. 2

          Finally reading How to Win Friends and Influence People. Can’t believe it took me this long to pick it up. Amazing book.

          1. 12

            Any interest in a crustacean private leaderboard?

            1. 9

              I guess competition is healthy, but I have an additional suggestion: crustacean private help board: I don’t know how we’d do it, one big “ask” story/thread would be difficult, we could set up a github project for it and have questions as “issues” perhaps? We could have a wiki on it too.

              EDIT:

              Also, the idea of a lobste.rs joint github additionally appeals to me because I know we all dabble in various esoteric languages and we could have a “rosetta code” type of project where we solve the problems in different languages, and it would be fun to compare these solutions across languages.

              EDIT:

              https://github.com/a-red-christmas

              In case anyone thinks its a good idea … please join up

              1. 4

                Sounds like fun to me, I’m azdle on github too if you’re adding people.

                I agree with @gerikson about not having a daily thread and I think one monster thread would quickly get unwieldy. I created a #lobsters-advent on freenode that we can for discussion.

                1. 3

                  The AoC subreddit is a good place to look for help and tips.

                  I don’t like the idea of “polluting” Lobsters with a daily question thread.

                  I love the idea of a shared code repo.

                  1. 3

                    Please add gustafe on Github!

                    1. 3

                      yumaikas on github. I’d love to join.

                      1. 3

                        Count me in. trevmex on GitHub.

                        1. 2

                          The github web interface doesn’t seem to have a ‘request to join’ button. I think you have to add people manually.

                          1. 4

                            JKowalsky on Github as well, I’d love to join as well!

                            1. 4

                              tftio

                              1. 3

                                daveloyall

                                1. 3

                                  NattyNarwhal, not sure if I’ll do it, but I’d definitely consider it.

                                2. 2

                                  Would you mind adding bpollack?

                                  1. 2

                                    Cool. I’ll add my Haskell solutions :)

                                    1. 1

                                      (Or at least I will if you add PhilArmstrong to the project :) )

                                    2. 1

                                      I’d love to join! My username is Vaelatern.

                                      1. 1

                                        I’ve invited you!

                                        1. 1

                                          And I’ve contributed my clojure solutions!

                                    3. 2

                                      I’d be up for it!

                                      1. 1

                                        Post your ‘join code’?

                                        1. 1

                                          Will do asap!

                                      1. 1

                                        Page 58 FTW. That just blew my mind.

                                        1. 1

                                          I have a n00b question: With something like sway, do I have to install another windowing system underneath it (like we did with X) or is the Wayland Composer the whole GUI package itself?

                                          1. 1

                                            Please excuse the late reply. Also, Wayland is not currently my daily display server.

                                            However, from my limited use and knowledge, the traditional divide between Window Manager and Desktop Environment that we are used to in X-based environments does not look the same in Wayland. From what I have read, it will be more common to build them monolithically. This is just the sense I have gotten from reading about various Wayland compositors and window managers, though I am not aware of the specific technical details as to why.

                                            So sway would be used in a standalone manner, providing both a compositor and window manager. This as opposed to being able to use, say Openbox as the window manager for XFCE or i3 as the window manger for for GNOME.

                                            And now that I say that, since it has been possible in X-GNOME to replace its window manager, I wonder how GNOME in Wayland is constructed differently to either allow or disallow this?

                                          1. 12

                                            I’m reading “The Manager’s Path” by Camille Fournier. It shows you how to not only be a great manager but a great employee as well!

                                            1. 3

                                              I met her at Strange Loop and her talk was great. I’ll check this out.

                                            1. 6

                                              This array_unique would work only for things that are unique according to .toString, so {a: 'val'} and {b: 'val'} would be considered as duplicates. example on jsbin

                                              You can fix it by using Map from ES6, though.

                                              1. 2

                                                Essential functions in JavaScript in vanilla form (inspired by PHP)

                                                I got you, fam: https://github.com/amitmerchant1990/essential-vanilla-javascript-functions/pull/2

                                                1. 1

                                                  Yup. The very first function listed, and it doesn’t work. Pass :D

                                                  Edit: In fact, no need for Map, just use ret_arr.indexOf()

                                                1. 43

                                                  millennials, if you made it this far, I’ll wait while you show yourselves the door

                                                  Glad to see you’re working on sexism – but while you’re at it, maybe check your ageism?

                                                  1. 8

                                                    If you were offended I apologize sincerely. It was only my intention to poke fun at myself as an oldster.

                                                    1. 13

                                                      Since we’re on the topic of subtle sexism, ageism, ism-ism, “If you were offended, I apologize” is a classic non-apology form, so if you want an apology to be taken as an apology you might look at alternative ways of stating similar apologies. Not saying you meant it as a non-apology, just pointing it out.

                                                      Navigating written text and tone is hard!

                                                      1. 4

                                                        Apology accepted :)

                                                        In general, “millennial” tends to be a slur, but “see yourself out” really felt non-welcoming. Just FYI for the future :)

                                                        1. 2

                                                          Way to man up to your mistakes! punches self in face

                                                        2. 0

                                                          Yeah, came here to say this.

                                                        1. 3

                                                          One correction, if you are using the bash one-liner on a Mac, use -v, not -s:

                                                          date -v "$(curl -sI https://www.google.com/|grep -i 'date:'|sed -e 's/^.ate: //g')"
                                                          
                                                          1. -1

                                                            Yeah, this is a rant against anything not UNIX…

                                                            s/Node.js/Java/g and it is the same rant…

                                                            Or Python, Ruby, Perl, Go, etc. Pretty silly.

                                                            1. 2

                                                              I have been journalling my day, (almost) every day, for the last 14 years. The key for me has been a DayMinder G545 and a Paper Mate ComfortMate Ultra.

                                                              I find that the space for one day in a DayMinder is just enough for me to think “hey, I can write that much for today.” I’ve tried other formats, but they have always been too open-ended. With the DayMinder, the space is perfect for me to reflect on my day for 5 minutes of writing time.

                                                              The best part of journalling for me, though, is looking back at any given day. I can take a journal from 10 years ago, open to a random page, read what happened, and the rest of that day comes flooding back into my mind. I write about work, home life, anything I did that day, and the magic of it is that the rest follows.

                                                              I’m not the best writer in the world, but journaling has helped me a lot. I hope it can help you, too.

                                                              1. 1

                                                                That is pretty cool. Reminds me a lot of the demo Dan Ingalls gave at JSConf 2012: https://www.youtube.com/watch?v=QTJRwKOFddc.

                                                                1. 3

                                                                  I am interested in what happens when the hyperproductive developer (i.e. inventor of the system) leaves. That is a position I find myself in often in my professional career and I would love to know how others deal with it.

                                                                  1. 15

                                                                    Hero syndrome is the biggest one I see, and it’s a very widespread issue.

                                                                    Literally in our society the reason we value Firefighters more than a person who walks around telling people not to burn candles in their house.

                                                                    We value doctors more than the sanitation workers who extend our lives by years by making sure we aren’t living in our own feces.

                                                                    We just care alot more about our pound of cure than we do about the ounce of prevention. Especially if the cure is exciting.

                                                                    Nobody gets to give conference talks about how they picked the right tool for the job. It’s much more beneficial for your career to launch a messaging platform on rails and spend the next several years fighting the inevitable fires.

                                                                    I’m literally watching history repeat itself with several “exciting startups” right now. They are getting tons of mileage and interest that they never would have received had they tested their backups or learned a little bit about data storage. Nobody ever wanted to watch a livestream of me setting up a cron job to test backups.

                                                                    The really sad/unsettling thing is that as you become a better engineer you have to seriously ask yourself: “How fireproof should I make this thing? If I spend another day on it, I get nothing. If I spend 0 days on it now and a week firefighting when I deploy to production I get to write a blog post and get thanked by the CEO for saving the company”. I still believe it’s important to do a good job, but it’s also important to go out of your way to make sure people understand the value your robust solutions bring to the table. When shit hits the fan and the foresight you had 1 year ago to degrade gracefully pays off in 0 downtime, you need to gently remind people.

                                                                    1. 3

                                                                      I came here to say exactly this. Out of all of those, Hero Syndrome seems like the hardest habit to kick. It is very tempting as a manager to praise the work of a team that battled through a crisis. It is almost a gut reaction. As a manager, I try to counteract this by recognizing and elevating the everyday, but I still don’t know how to do that and still acknowledge the important work that happens when people rise to a crisis. Any thoughts?

                                                                    1. 3

                                                                      On my android with firefox i get the following results:

                                                                      Within our dataset of several hundred thousand visitors, only one in 200652.0 browsers have the same fingerprint as yours.

                                                                      Currently, we estimate that your browser has a fingerprint that conveys 17.61 bits of identifying information.

                                                                      How do you guys stop people tracking you on the internet?

                                                                      1. 5

                                                                        How do you guys stop people tracking you on the internet?

                                                                        Tor browser (note that their fingerprint doesn’t include IP address), or you don’t. Welcome to the modern Web.

                                                                        1. 1

                                                                          So, the only way to protect from fingerprinting is Tor? There must be another lighter-weight solution out there…

                                                                          1. 2

                                                                            Let us know, if you find something :-)

                                                                        2. 5
                                                                          • uBlock Origin: general purpose adblocker
                                                                          • uMatrix: block everything 3rd party by default, enable on a site-basis. Also enables toggling of User agent spoofing, Referer spoofing and Strict HTTPS.
                                                                          • Privacy Settings: has some nice buttons for toggling features depending on mood; using it to block things like geolocation, battery API etc.
                                                                          • Cookie AutoDelete: remove all cookies, unless whitelisted. I whitelist a few pages that I use enough that it’d be a bother to having to log in on every visit.

                                                                          And now also CanvasBlocker

                                                                          I often pop open a clean Chromium (using chromium --temp-profile) or create a new Firefox profile if I’m visiting sites that for some reason don’t work/don’t want to fiddle with uMatrix settings to get it to work.

                                                                          And of course, Tor Browser for an easy way to browse sites that I really don’t want to know me. And in the extreme that I’d want to be even more secure I’d make a Raspberry Pi dropbox with a wifi dongle and set it to run a VPN (or just SSH) as a tor hidden service and drop it with a battery near a coffee shop/McDonalds/library. …or use my Ubiquiti NanoStation to connect to an open wifi a few hundred meters away…

                                                                          1. 2

                                                                            Having so many extension that inspect and intercept all network requests is unfortunately really bad for browser performance (and the JS/C++ context switches for everyone of those really add up). I recommend picking one of those blockers and figuring out how to make a restrictive superset.

                                                                            Alternatively you could blocklist/nullroute things via /etc/hosts or somewhere else deeper in the network stack. Gives you free anti-tracking in your other applications too.

                                                                            1. 1

                                                                              Thanks for the advice – I’m well aware of the cost, but in day-to-day use it’s not really noticeable.

                                                                              Haven’t gotten around to setting up hosts files on my PCs/the gateway but I should find time to do that soon…

                                                                            2. 1

                                                                              Thanks for Privacy Settings addon. I fiddled with about:config for some time, but the addon is much more convenient.

                                                                            3. 1

                                                                              NoScript for Firefox on Android https://noscript.net/nsa/

                                                                            1. 3

                                                                              I wish they had a hello world or chat program example on the front page of the site. I want to see what Pony is like, but there isn’t anything that is obvious on the front page.

                                                                              1. 8

                                                                                https://github.com/ponylang/ponyc/blob/master/examples/helloworld/main.pony

                                                                                actor Main
                                                                                  new create(env: Env) =>
                                                                                    env.out.print("Hello, world.")
                                                                                

                                                                                And you can play around with it in your browser:

                                                                                http://pony-playpen.lietar.net

                                                                              1. 1

                                                                                Yep, one in the same!

                                                                                1. 3

                                                                                  Interesting! Where did you hear of this? :)

                                                                                  1. 1

                                                                                    It was mentioned at Seattle Lean Coffee by one of the participants there. :)

                                                                                    1. 2

                                                                                      Is that the Lean Coffee being run by Adam Yuret, or someone else?