1. 9

    The thing with git stash is that it essentially just duplicates everything you can do with branches and commits, but, IMHO, not really better. I don’t really see anything in this article that’s a clear advantage of stashing either.

    And commands such as git stash apply stash@{1} are just … ugh.

    The problem I had with git stash is that I would build up a queue of 7 different things, and then figuring out what’s what isn’t too easy. Making a named (local) branch is just a lot easier.

    1. 8

      I typically use stashes when I’m not ready to commit.

      For example, I’ll often work on something for an hour and then realize I forgot to git pull. To fix, I stash, pull, and then stash pop. If I later decide I don’t want to commit the code, I can just reset --hard and move on. If I’d instead committed, I would have to modify history or add a revert commit.

      I almost never revisit old stashes and I periodically drop all my stashes to minimize clutter.

      1. 3

        Same workflow here. I recently learned about git pull —autostash which is 1 command instead of 3.

      2. 6

        The problem I had with git stash is that I would build up a queue of 7 different things, and then figuring out what’s what isn’t too easy. Making a named (local) branch is just a lot easier.

        Have you tried adding comments to your stashes? To me this is what helped to make it understandable and usable.

        1. 5

          One nice thing about stash is that it can preserve both the index and the working tree. So if you are in the middle of a change and have git added some files but not others, git stash push followed by git stash pop will restore your previous state in a way that git commit -a wouldn’t.

          1. 2

            For the record, you can name your stashes when you create them to make it easier to know what’s what.

          1. 3

            openlibrary.org deserves a mention here, which allows you to create book lists that others can subscribe to via Atom.

            1. 11

              It reminds me of The Haskell Pyramid: several (maybe even most?) of the benefits of programming in Haskell come from basic constructs.

              Hail Occam’s razor, Pareto principle, KISS principle and similar reasonings, once again, in a world full of (essential, but mostly incidental) complexities. 🙂

              1. 1

                Thanks for sharing that… maybe I’ll give haskell a try after all!

              1. 15

                I wish I could buy a beer for the Emacs developer who decided that nbsp should be visually called out with a special underline in your buffers.

                1. 7

                  Was it definitely an nbsp? For all its wonderful verbosity, the commit message doesn’t actually say what the offending character was.

                  ETA: I see that the blog post does mention nonbreaking spaces, albeit only in passing.

                  1. 4

                    I also found it strange that he doesn’t mention it explicitly… Oh well, clearly it wasn’t that important ;^)

                1. -1

                  For all their talk about low-tech, for them it’s obviously just an aesthetic, not something they practice.

                  This is a low-tech website. It doesn’t need CSS or images or any of the other stuff this site is built on, and it conveys information much better than this site does.

                  1. 9

                    CSS isn’t exactly high-tech though. The linked site isn’t all talk, either.

                    1. 8

                      The stylesheet is 3kb and you don’t have to use it. Why care about css that minimalistic when the page loads several images, with the header image being 2,900% the size of the stylesheet? Weird priorities.

                      1. 1

                        Images can be used to convey information. CSS is just frippery, at least as that site uses it.

                        1. 2

                          Contextualization is information and CSS contextualizes. Anyways, it’s absurd to liken CSS to the great founding member of famous rock band King Crimson when I doubt he has to spend time doing web design. Jokes aside, the page works completely fine without the miniscule stylesheet, and it’s really not that hard to turn it off. I can show you if you like.

                          1. 0

                            When you stop joking around I’ll take you seriously. So far, nothing you say is worth very much.

                            Also, using the downvote mechanism to disagree discredits your arguments.

                            1. 1

                              Also, using the downvote mechanism to disagree discredits your arguments.

                              I didn’t downvote your post, don’t be so full of yourself, and lighten up :) we’re talking about stylesheets, not taxes. It’s not that serious of a topic.

                              1. 1

                                I think that might have been me. CSS is 25 years old, and is quite low tech. You may not like it, and you don’t have to use it, but that doesn’t make it “high tech”.

                        2. 1

                          This seems like the spark of a very interesting conversation - how do we define “low tech”?

                          1. 3

                            Standing on a mountain and banging two electrically charged rocks together? Oh, you said ‘spark’ already. Hah! :)

                            1. 2

                              If I pull out a 20-year-old computer, meaning something like Windows 98 and IE5, because I have nothing better, will the website be functional using that browser?

                              What about a 23-year-old computer with Netscape 3? What about NCSA Mosaic?

                              What about just a 10-year-old iPad with iOS 5 on it?

                              For an English-language website which is only sharing information as text and perhaps some images, there is no good reason except effort required that the answer to those questions can’t be “Yes”.

                              Example: http://hike.qdb.us/demo_oct15/

                              1. 1

                                I dunno about IE5, but it works fine in text-only browsers like Lynx and Links.

                                1. 1

                                  Lynx will actually handle a lot of things that, e.g., IE6 will not, because it is actively maintained. One of the hardest stumbling blocks standing between a retro browser and a modern bare-bones site is TLS versions (and ciphers). I run a self-consciously retro front-end for a modern web service, but I keep the TLS up to date because it handles logins. Lynx works fine on it (because it’s compiled against current OpenSSL), while anything older than early Firefox releases usually won’t (because of dropping support for SSL and for TLS 1.0).

                                  1. 2

                                    Yeah, I just tried to get a Win98 VM to go so I could actually try it. Finding an Ethernet driver for it that worked was far more work than it should have been, so I just saved it as a file and loaded it into the VM.

                                    The rendering of the page itself wasn’t exactly pretty or flawless, but worked okayish: see here (offer good until 2020). Does look better when you just take out the CSS entirely though.

                              2. 1

                                That is interesting. I suppose there are two different spectrums: one for human technological achievement, and the other for personal technological fluency. Relative to a state-of-the-art web app, this website/server is decidedly low-tech, but to my grandmother, it’s anything but.

                                1. 1

                                  I personally like to call it “Lo tech”

                                2. 1

                                  yarchive is low-tech because it’ll render correctly in the simplest possible web browsers. The linked site conveys information using images and a permanent footer, neither of which will render in low-tech rendering engines. There’s very little way to claim the linked site is as low-tech as yarchive.

                                  1. 0

                                    What you’re saying sounds like some robert “frippery” to me, because this page renders just fine with (external) css completely disabled!

                              1. 1

                                Any visual/spatial thinkers out there? How do you take notes?

                                1. 1

                                  I wish there was a piece of software that organized notes into graphs so you could arbitrarily link notes together based on tags and such. There’s Tinderbox for macOS, but it’s $250…

                                1. 1

                                  > rcpt from: test@example.com

                                  mail from: test@example.com

                                  250 2.1.0 OK b26si1910042pgs.432 - gsmtp

                                  How do I do this part? When I hit return after the rcpt line, I immediately get a 503.

                                  1. 2

                                    I think this may just be a typo in the OP. Leaving out the rcpt from: line and just using the mail from: line worked for me.

                                    1. 2

                                      Sorry, it should be mail from: test@example.com

                                      The second line is actually the command being echoed back at the user but for some reason, I ended up with “rcpt from” instead of “mail from”. It should be fixed now

                                    1. 2

                                      The Emotional Life of Your Brain by Richard J. Davidson with Sharon Begley.

                                      1. 32

                                        While I agree to some but not all the points, it is a beautiful chiasmus with the other post it points to:

                                        • HTML document promoting plain text
                                        • plain text document promoting HTML

                                        Hats off for that point.

                                        1. 8

                                          Hats off for that word!

                                          1. 4

                                            Wouldn’t that be antimetabole where the format is | HTML | plain text | plain text | HTML |?

                                            I’ve never heard of either, but that’s what I got from the wikipedia definition. Thanks for the rabbit hole!

                                            1. 2

                                              In rhetoric, antimetabole (/æntɪməˈtæbəliː/ AN-ti-mə-TAB-ə-lee) is the repetition of words in successive clauses, but in transposed order; for example, “I know what I like, and I like what I know”. It is related to, and sometimes considered a special case of, chiasmus. – wikipedia

                                              Looks like the definitions reach each other. Linguist expert out there? :)

                                          1. 3

                                            Lindy hop and balboa (swing dance) in Chicago.

                                            1. 1

                                              Connecting to level 1, why do I get -bash: fork: retry: No child processes when I try to ls?

                                              1. 1

                                                Did they turn it off?

                                                1. 3

                                                  a Chrome-application is an similar to a

                                                  1. 2

                                                    Thanks, should be fixed now :-)

                                                  1. 4

                                                    The fact that it’s posted on Vixra alone makes this quite suspicious.

                                                    (For those who don’t know: Vixra is kinda a competing service for Arxiv, which is a popular preprint service. While Arxiv has some basic quality controls, Vixra has none - which means it’s the favorite publication destination for free energy fans, ufologists and the likes.)

                                                    1. 2

                                                      Vixra is kinda a competing service for Arxiv

                                                      Wow, no kiddding… it’s literally Arxiv backwards.

                                                    1. 2

                                                      I have auto-update turned on, but yes, I did get a batch of updates 11 hours ago.

                                                      1. 4

                                                        Seems like just an advertisement for the service that’s hosting this blog post.

                                                        1. 3

                                                          Corporate blogs usually are (with some exceptions).

                                                        1. 2

                                                          Is this overlapping text intended? http://ibb.co/cPn4CR

                                                          1. 1

                                                            Good catch paluche!!!

                                                          1. 9

                                                            What do you expect talking to a PR person on twitter about hypertext transfer protocols?

                                                            1. 10

                                                              I’d expect them to be SOMEHOW trained to identify dangerous activity, especially if money is involved. Banks really need to be at the front line of IT security.

                                                              1. 4

                                                                Indeed, everyone in the company I work for receives security training, not just technical people, and we have about 20k employees. One of the primary red flags is anything that doesn’t use HTTPS. Ignorance of security practices is not an excuse when you work for a bank, no matter what position you are in…and if the bank is not providing their employees this training then I would wager they have very serious flaws in many other parts of their organization. Especially and most dangerously, flaws that are invisible to the public. This type of behavior and attitude with their public website is very telling of what nastiness likely lies below the surface.

                                                                1. 4

                                                                  I’d expect them to be SOMEHOW trained to identify dangerous activity, especially if money is involved.

                                                                  Hmm. I wouldn’t say so. To be honest everybody has a different field of expertise, and I wouldn’t blame a PR person for not knowing IT security “basics”.

                                                                  The person didn’t react very well, but definitely did the right thing of transmitting the issue to the relevant dpt.

                                                              1. 1

                                                                Whose comment is that at the top?

                                                                1. 1

                                                                  The URL says /resources/text/Knuth_Don so I would assume that the comment is from Donald Knuth.

                                                                1. 9

                                                                  I dislike having a tally of total karma on profiles. I think this same feature is responsible for a lot of disingenuous titles on reddit, posted by people who just want to make their number go up.

                                                                  1. 4

                                                                    Then the solution is the make the number of disingenuous titles go down.

                                                                    1. 2

                                                                      Consider that the same behavior may happen regardless of visibility of karma. A bad actor could judge their success based on rank of their submission and the outrage in comments.

                                                                      1. 1

                                                                        I think there could be benefits in making that private. The user should still be able to see their own total karma though to encourage the “right sort” of contributions and as a bit of back pat.