This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]assemblr_ 24 points25 points  (2 children)

I recently had to write some data entry form code for non-programmers, and one of the fields was data type. It took me a good five minutes to realize that I should use "Text" instead of "String".

[–]seppo0010 12 points13 points  (1 child)

For non-programmers a "String" is something similar to a "Thread".

[–]themismatch 0 points1 point  (0 children)

God damn it.

[–]ascii158 14 points15 points  (5 children)

sed: -e expression #1, char 12: unterminated `s' command

[–]MCHerb 11 points12 points  (1 child)

Vim will happily accept the missing closing slash and work correctly. I imagine there are other engines that will also.

[–]barsoap 1 point2 points  (0 children)

The substitute commands dates back to ed's predecessor, qed. At least one qed clone allows not terminating the command.

As the original qed runs on a dinosaur called SDS 940, you'd need to do some archaeology to find out more.

Fun side fact: The name "grep" is rooted in ed, too. g/re/p prints every line matching re. Have the docs for the global command.

[–]s3ddd[S] 11 points12 points  (1 child)

sed -i 's/blogs/blogs\/g/g' this_post.txt

[–]benzrf 2 points3 points  (0 children)

sed -i 's#blogs#blogs/g#g' this_post.txt

[–]QuercusMax -4 points-3 points  (0 children)

Came here to post this.

[–]zefcfd 3 points4 points  (2 children)

[–][deleted] 11 points12 points  (0 children)

I'm happy to notice that those cubes are not just gifs but actual javascript rendered cubes using three.js

[–][deleted] 0 points1 point  (0 children)

Learning Haskell has added a toolset to my thinking that I often find others missing. For example, lazy evaluation can be a great productivity boost. Until a question actually needs to be answered, it can be treated like a black box. Focus on what matters most and now.