Live data from Hacker News

From novice to master, and back again (2013)

blog.djmnet.org

61–70 of 150 posts

Re: From novice to master, and back again (2013)

#61
post #17

This reminds me of an old joke I heard a while back, which is that the opposite of "it's like riding a bike" is "it's like the UNIX command line". No matter how many times you do it, you will have to re-learn it every single time.

I use the `ln` command a lot. I use the `man ln` command _almost_ as much.

I generally only need `ln -s `. I know the -s means symbolic link, but in my head I read it as "source", since that's how I remembered the order long ago.

Re: From novice to master, and back again (2013)

#62
post #52

Twice in the last decade I've been completely stuck on something, googled extensively, finally found the answer ... which I wrote, on Usenet, 25 years ago.

Worse : You Google a question and realise you yourself asked it many moons ago and it never got answered.

Re: From novice to master, and back again (2013)

#63
post #17

This reminds me of an old joke I heard a while back, which is that the opposite of "it's like riding a bike" is "it's like the UNIX command line". No matter how many times you do it, you will have to re-learn it every single time.

I use the `ln` command a lot. I use the `man ln` command _almost_ as much.

Mnemonic: “What you have to what you want”

Re: From novice to master, and back again (2013)

#64
post #47

Earlier quoted context omitted.

I use the `ln` command a lot. I use the `man ln` command _almost_ as much.

i've always considered manpages to be sort of part of the unix command line experience. since they're fast, it's no matter. but yea, it took me many years to wire down ln's target link_name semantics for some reason. what helped for me was to reason about the single argument form. ln -s ~/opt/junk/bin/thinger creates a link to thinger in the current directory. this single argument form is easy to remember, if you wan…

Funny, I always reason about the 3+ argument form... For example, what does ln -s foo bar baz do? Well it can't create a foo symlink that points to bar AND baz, but it could create multiple symlinks - bar and baz - that point to the file foo. Therefore the first arg is the file you want to point to, and the rest of the arguments are symlinks you want to create (of which there happens to usually only be one).

Edit: this line of reasoning works for common usage of a lot of other utils too, like zip/tar etc. Even grep - is it grep FILE PATTERN [PATTERN ...] or grep PATTERN FILE [FILE ...] ?

Re: From novice to master, and back again (2013)

#65
post #14

Zen Koan: Before I began my studies in Zen, I thought a tree was a tree and a stone, a stone. When I started to study Zen, I could see that a tree was not a tree, and a stone was not a stone. Now that I am a Zen master, I know that a tree is a tree and a stone is a stone. -- Source: my buddy in college I think you come full circle to learn that you can only keep so much in your head at one time and that you're always…

There's a poplar meme called "midwit meme"[0]. I guess it's a popular observation. [0] https://imgflip.com/i/6peco7

I’m more of a redwood meme guy myself.

https://i.imgflip.com/1kuv83.jpg

Re: From novice to master, and back again (2013)

#67
post #28

Earlier quoted context omitted.

I get a little offended by people who think stackoverflow is a character flaw. I go there because it will tell me things like if you get the arguments to ‘dd’ wrong you’ll zero out the drive you were trying to back up. That the function breaks if you pass in null for the second parameter. Or that it simply doesn’t work properly.

I think that using dd is a character flaw.

To expand on this, people needlessly cargo-cult arcane dd commands, but on many (most?) systems, "cp foo.iso /dev/sdb" will do the same thing, but with possibly even better performance!

Re: From novice to master, and back again (2013)

#68
post #52

Twice in the last decade I've been completely stuck on something, googled extensively, finally found the answer ... which I wrote, on Usenet, 25 years ago.

Worse : You Google a question and realise you yourself asked it many moons ago and it never got answered.

Worst: you find your own answer that says: “Nvm, fixed the issue.”

Re: From novice to master, and back again (2013)

#69
post #15

Zen Koan: Before I began my studies in Zen, I thought a tree was a tree and a stone, a stone. When I started to study Zen, I could see that a tree was not a tree, and a stone was not a stone. Now that I am a Zen master, I know that a tree is a tree and a stone is a stone. -- Source: my buddy in college I think you come full circle to learn that you can only keep so much in your head at one time and that you're always…

Related: The Egg http://www.galactanet.com/oneoff/theegg_mod.html

Thank You!

Re: From novice to master, and back again (2013)

#70

Zen Koan: Before I began my studies in Zen, I thought a tree was a tree and a stone, a stone. When I started to study Zen, I could see that a tree was not a tree, and a stone was not a stone. Now that I am a Zen master, I know that a tree is a tree and a stone is a stone. -- Source: my buddy in college I think you come full circle to learn that you can only keep so much in your head at one time and that you're always…

Reminds me of how after learning how CPUs, memory, operating systems etc work I thought "wow, it really is all ones and zeroes". A simple phrase but it became more meaningful with deeper understanding.

Sorry, but ”computers work by ones and zeroes” is one of my pet peeves.

It is true in the sense that 1 and 0 are common representations for true and false in computer science, but really, it is false and almost certainly establishes magical thinking in the layperson.

Modern computers run on electricity, and in electrical circuits such as computers, true/false is represented as a transistor semiconductor being in a conducting or non-conducting state. Current can either flow, or it can’t.

In fact, one could build a computer out almost anything that lends itself to both being on and off, and to being controlled by its on/off state (or that of another equivalent assembly).

Post reply on HN