Live data from Hacker News

Twelve Days of Shell

12days.cmdchallenge.com

61–70 of 89 posts

Re: Twelve Days of Shell

#63

Meta: the first day of the Twelve Days of Christmas is Christmas Day (December 25) itself: * https://en.wikipedia.org/wiki/Twelve_Days_of_Christmas The days before the 25th are part of the season of Advent: * https://en.wikipedia.org/wiki/Advent

Too many people I know spend their boxing day packing up their tree. Christmas is over before it's barely begun! But that's kind of understandable when Christmas begins in September if you believe the retailers.

Indeed. Christmas lasts until Epiphany (January 6th) or even Candlemas (February 2nd).

Commercialism is likely the culprit for the current state of affairs. By putting the "Christmas season" and the commercialized variety of festivity before Christmas and making Christmas day the big finale, you create a situation during which you can get people to buy, buy, buy. And then it's over.

Compare that with the real deal and as it was traditionally celebrated. Advent is a period of contemplation, waiting, quiet, abstinence from meat -maybe even fasting - in anticipation for the birth of Christ. Then, on Christmas Eve and especially Christmas day, the festivities kick off, and they last until January 6th (the 12 days of Christmas) or Candlemas (40 days of Christmas). And that's when people used to pack up their trees and decorations (either Jan 6th or Feb 2nd).

People today suck at festivity. We're boring.

Re: Twelve Days of Shell

#64
post #13

Earlier quoted context omitted.

Neat. Perhaps it would be even nicer if the "advent" theme was more prominently present, e.g. using the Bible as the target data file to be used. Here's three examples tasks from me: (1) Write an sh script (using only POSIX standard commands) to create a Keywords in Context (KWIC) concordance of the new testament. (2) Write a bash script that uses grep with regular expressions to extracts all literal quotes of what J…

Respectfully, many would find that off-putting. "Advent of X" in tech is entirely decoupled from religion. Keeping it neutral seems to me the "nicest" approach. That said, something like what you described might be a cool exercise for your bible study group. Finally, I appreciated your "incidentally" aside about the origins of philology.

I'll preface this by saying I was never especially bothered or moved by the non-religious use of "Advent of X", for better or for worse. In fact, my remark is inspired only by your comment, concerning its consistency and who has the stronger case.

Specifically, while it is true that certain kinds of words can become decoupled from their original meanings (which is generally normal), in this case, the usage is not so decoupled, especially given that this usage occurs during the religious season of Advent and with the intentional allusion to the religious season of Advent. (Otherwise, what is "Advent of X" without its religious origin and which takes place at the exact same time during the year?)

You can make a much stronger argument that the non-religious usage is a kind of cultural appropriation. That would make your concern entirely backwards. Your wish is to keep it "neutral" to please those who don't practice Advent, as you show a simultaneous lack of concern for the tradition it appropriates from. This involves a tacit claim of possessing the authority to do so as well, but if anything, given the source, if anything, the authority belongs not to the appropriators, but to the Church.

One wonders how a "Ramadan of Code" or "Teshuvah of Shell" would be received.

"Neutrality" is, of course, a bunk concept, and the idea that we ought to be guided by what is "nice" rather than what is "good" is a grave misunderstanding of how decisions ought to be made.

Re: Twelve Days of Shell

#65
I thought there was too much ambiguity to several of the challenges:

I gave up after the following exercise:

On the eighth day of Shell my true love gave to me Eight elves in Santa's Workhop/ ... Hint: Try finding files named after Elves and moving them to the Workshop/ directory.

It turns out, all they want is the files in the ./Elves directory to the ./Workshop directory. But I didn't figure that out.

Re: Twelve Days of Shell

#66
post #11

Hey this doesn’t work : first solution “ls -al” which I use all the time to list directories was rejected in the second question I used awk and was rejected it expected grep I think a beginner could be doing it right but then be told they are wrong as you aren’t evaluating actual commands Best would be to like actually run it* and then check solutions out with awk that it pattern matches * aka give me a shell ok wort…

it also doesn't accept the find command.

Re: Twelve Days of Shell

#68

Earlier quoted context omitted.

Too many people I know spend their boxing day packing up their tree. Christmas is over before it's barely begun! But that's kind of understandable when Christmas begins in September if you believe the retailers.

Indeed. Christmas lasts until Epiphany (January 6th) or even Candlemas (February 2nd). Commercialism is likely the culprit for the current state of affairs. By putting the "Christmas season" and the commercialized variety of festivity before Christmas and making Christmas day the big finale, you create a situation during which you can get people to buy, buy, buy. And then it's over. Compare that with the real deal an…

IMO, commercialism moreso moved into the empty husk left after the Calvinists got to holidays, especially the puritanical sects that took root in the US. Specifically, I blame double-predestination: if you tell a bunch of people with free will that everyone is sorted into two groups, one going to heaven, one going to hell, and that the people going to heaven behave a certain way, it creates a much more oppressive, all-encompassing culture than traditional Christian "apologize and go to heaven because Jesus loves you" teachings. If your concern is not being judged negatively in the afterlife, you basically just need to follow some rules, try to be a generally good person, and you're generally free to do whatever else that isn't covered in the above categories. If you're concerned about demonstrating to others in your community that you are one of the God's chosen, who behave a certain way, that necessarily becomes universal factor in your life, which keeps escalating with time. This preoccupation with not being perceived as "having to much fun" so-to-say killed festivals.

Re: Twelve Days of Shell

#69

I've recently reached a point where I feel I've reached an upper limit with how much efficiency I can extract from my usual toolset/editors. So I've gone on a journey where I'm finally exploring tools that make living in the command line a productive and pleasant experience for me. I've long put off learning or even exploring tmux or learning more than a few handful of vim keybinds. So I started digging into configur…

Not commenting on the larger gist of the comment, only:

> I've been having RSI pain on my right hand due to using mouse too much and in un-ergonomic positions

If you can, try using a left-hand vertical mouse. I use an Evoluent but there are a million brands. Get a cheapo and try it out. I figure it took me about a week to adjust and my wrists have been happier ever since.

Re: Twelve Days of Shell

#70
I use the shell all day every day and I got stopped at the SECOND question.

"lines that contain 'laugh'". lines of what? Doesn't tell you without looking at the answer.

genius.

Post reply on HN