News for hackers. Stuff that matters.
Re:Bash aliases for Harry Potter enthusiasts by LeoPanthera on Sunday June 12, 2016 @12:29AM (#11886646)
One of my favourites is "ffs=sudo" so that when I forget to sudo a command I can type "ffs !!"
Re:Bash aliases for Harry Potter enthusiasts by Hamcha on Monday June 13, 2016 @09:44AM (#11893782)
I actually have a "ffs" alias for when I work on a project with multiple people (or from multiple computers), except it does a "git stash && git pull --rebase && git stash pop" (because "ffs" is my reaction when I try to "git push" and can't)
Re:Bash aliases for Harry Potter enthusiasts by sullyj3 on Sunday June 12, 2016 @04:28PM (#11890078)
Re:Bash aliases for Harry Potter enthusiasts by 0xcde4c3db on Sunday June 12, 2016 @12:31AM (#11886655)
This reminds me of GNU Screen's "nethack" command, which translates a bunch of the error messages to Nethack-themed ones [1]. It looks like it's been removed and won't be in the next release, though.

[1] http://git.savannah.gnu.org/cgit/screen.git/tree/src/nethack...

Re:Bash aliases for Harry Potter enthusiasts by gcr on Sunday June 12, 2016 @01:49AM (#11886834)
Nooo!~~ so sad! this is a piece of hacker history being removed from a GNU tool!

"A blast of disintegration whizzes by you!"

Re:Bash aliases for Harry Potter enthusiasts by gboudrias on Saturday June 11, 2016 @10:07PM (#11886300)
Hmm, these are actually not bad!

This is a bit much though: "alias wingardiumLeviosa=mv"

Re:Bash aliases for Harry Potter enthusiasts by PascLeRasc on Saturday June 11, 2016 @11:39PM (#11886517)
That's because it's LeviOsa, not Leviosa.
Re:Bash aliases for Harry Potter enthusiasts by iKlsR on Sunday June 12, 2016 @02:53AM (#11887001)
Actually its leviooosAAUUUGHH. https://youtu.be/FWtO0cfgewY?t=19
Re:Bash aliases for Harry Potter enthusiasts by metaphor on Sunday June 12, 2016 @12:16AM (#11886612)
Seriously just interpreted this as Harry Potter grammar correction using upper camel case.
Re:Bash aliases for Harry Potter enthusiasts by sandworm101 on Sunday June 12, 2016 @12:46AM (#11886686)
I'm distressed to realize that I actually get the references, the result of a christmas with young family members. I think I've got about a year until that dreaded stage show comes to town. Hopefully they will have aged-out of the craze by then.
Re:Bash aliases for Harry Potter enthusiasts by geofft on Sunday June 12, 2016 @01:02AM (#11886721)
People with taste don't "age out of the craze". I've been rereading the books on my commute over the last few weeks, and they're every bit as good as I remembered them being some 15 years ago.

If you end up with tickets for Cursed Child that you don't want, I'll gladly buy them from you.

Re:Bash aliases for Harry Potter enthusiasts by sandworm101 on Sunday June 12, 2016 @03:02AM (#11887026)
> I've been rereading the books on my commute

That's what they are for. Short 10-15minute chapters that demand little to nothing of the reader. Each scene is encapsulated, with magical objects or principals appearing and disappearing to both create and answer problems. Re-read Tolkien and see the difference.

I got bored of the entire elitist theme. The wizarding world is a metaphore for the english class system, something that imho shouldn't be promoted in a kids book. Hogwarts is a grammar school. Magic is latin. Wizards are the ruling class and mugals the illiterate peasants. Even the four houses map onto established classes and royal struggles (see the war of the roses). It's all been done to death.

Re:Bash aliases for Harry Potter enthusiasts by sullyj3 on Sunday June 12, 2016 @04:31PM (#11890097)
The wizarding world is portrayed as backward, stagnant and racist, in contrast to the muggles, who make continuous progress.
Re:Bash aliases for Harry Potter enthusiasts by sandworm101 on Sunday June 12, 2016 @05:10PM (#11890245)
Except that that progress is impotent. There are several instances in the books were mugal tech is belittled as irrelevant to a world where such problems can be waved away (dentistry, flying cars etc). And wizard conflicts go on without input from mugals even where they do much of the dieing. The message is that there is a world of elites fighting battles that we illiterate peasants cannot understand. We should just trust that those who attended Eton have is all in hand.

And there is a parallel justice system akin to the ecclesiastical courts of the past whereby initiates avoid the laws governing the lay peasantry.

I would disagree with the world being racist. There is a faction that promoted blood lines, but not necessarily blood lines tied to race. It's elitism rather than racism.

Re:Bash aliases for Harry Potter enthusiasts by dllthomas on Sunday June 12, 2016 @02:57AM (#11887008)
I read the first one for the first time, recently. It was okay. Just okay.
Re:Bash aliases for Harry Potter enthusiasts by nathancahill on Sunday June 12, 2016 @12:55AM (#11886704)
You must be fun at christmas parties
Re:Bash aliases for Harry Potter enthusiasts by adontz on Sunday June 12, 2016 @12:45AM (#11886683)
Hm. I was sure avadaKedavra will be pkill and not rm.
Re:Bash aliases for Harry Potter enthusiasts by pimlottc on Sunday June 12, 2016 @04:49AM (#11887259)

    alias reducio='zip -r'  # $reducio zippedName thingToZip
    alias engorgio=unzip  # $engorgio zippedName
zip, and not good old tar.gz? Kids these days! ;)