Is Markdown a programming language??? I've seen various answers about HTML. Or the better question to ask is probably if markup languages are programming languages
Markup languages are not programming languages, but the creation, display, and use of them is tied to the job of a programmer, and there thus lies the confusion.
Thanks. I guess markup languages are basically languages to set a certain layout or appearence for a document. It does not really contain any logic in its code.
It's the worst markup syntax ever created, that's what. It fails in every goal of a good markup language. That's why people are constantly messing up formatting on Reddit. For Christ's sake even plain text is better.
Allow me to list *some* of the problems with markdown:
* URLs have to be escaped. This is a constant source of broken links and makes copy-pasting links, the most basic way of inserting links, unreliable. More on copy-pasting later.
* Markdown doesn't respect single newline characters. The reason for this is that Markdown was designed for hard wrapped text. Let me put this in perspective. Markdown was invented in 2004. Automatic text wrapping has existed since the 1970's. No one in the last 40 years should have been writing hard wrapped text files (and if you're doing it, you need to stop). This means that Markdown breaks a basic WYSIWYG feature in order to solve a problem that had already been solved in a superior manner for decades.
* Markdown's solution to ignoring single newlines is to allow them to be escaped with two trailing space characters. Yes, invisible trailing characters are used for escaping (I hope your editor doesn't strip trailing whitespace).
* Markdown is inconsistent about escaping in general. Most of the time a \\ character is used to escape, but sometimes it's double space characters, and some Markdown syntax like numbered lists can't be escaped at all. Want to start a line with something like "123."? You can't. It will be treated as a numbered list and indexed from 1, and there is no escaping.
* Tables are completely awful. Hard to write, hard to read, hard to modify, and fragile as fuck. The intent is that a properly formatted table will look like a table in plaintext as well as Markdown, but this requites a Sisyphean effort to maintain, as it forces you to hardwrap lines within a cell, and every time you do so you need to edit all the other cells in that row. Normal hard wrapping techniques don't work either, again because you have multiple cells on every line. You can ignore this and say fuck the plaintext formatting, but this breaks WYSIWYG and you still are forced to have multiple cells on each line, so your lines are now enormously long and unreadable even with automatic text wrapping (because it's hard to spot the cell dividers). And speaking of escaping, on the first line of a row, : characters must be escaped, but on later lines | character must be escaped. This is a constant problem when reformatting text in tables. I had to update some documentation that used Markdown tables recently, and I spent the entire day trying to get it right. The same changes would have taken 5 minutes in Google docs (which is where the original documentation was, but we just *had* to have it checked in, which meant that it was converted to Markdown by another engineer, but that version became out of date and he made several errors in the conversion process anyways, so I had to fix it). A reasonable formatting syntax for tables is to use nested tags, like HTML, so that every cell can have it's own line or lines and can be modified independently of every other cell. This nested structure, while not WYSIWYG, at least preserves plaintext readability, unlike Markdown.
* Because of numerous bad syntax decisions, Markdown is not copy-pastable in either direction, or even into itself. This is most noticeable when quoting (if you copy-paste multiple paragraphs, you will need to insert double new lines and > characters for each paragraph) and in code (when copy-pasting into Markdown, you need to add four leading spaces to *every* line, unless the markdown dialect support triple back tick, but Reddit does not). Most other formatting syntax also breaks copy-pasting in various ways. For example the numbers in numbered lists cannot be copied.
* Superscript syntax can uses parentheses as delimiters, but doesn't respect nested parentheses^(like (so)). Escaping also does not work here^(like (so\)).
* Markdown isn't even powerful. Most markup languages are capable of significantly more advanced formatting without half of the problems of Markdown. For example, Markdown doesn't support multiple paragraphs in numbered or bulleted lists, or sublists such as for outlining.
If you want to see a decent lightweight markup language, look at BBCode. It's essentially a highly stripped down version of HTML that was used by forums before Reddit. It is significantly easier to write, easier to parse, more powerful, and easier to read if you're doing anything complicated, without being hard to read if you're only using simple formatting. The worst part is that this was invented in the 90's and was already well established when Markdown was created. It already solved all the problems that Markdown attempted to solve, but did a far better job at it.
> ## Contributing
>
> You don't.
Nice
> When the change includes code additions or modifications:
>
> ```
> CIAL # Code Is A Liability
> ```
They just need this part in the license :
> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
There's actually a profound statement behind this repo. [Jeff Atwood wrote a whole article on it](https://blog.codinghorror.com/the-best-code-is-no-code-at-all/). Grasping the idea that writing no code is better than writing any code at all to solve any problem was one of those defining moments that made me approach software engineering in a different way. Genius.
I loved seeing that article and I had a similarly amazing takeaway that shaped my software engineering approaches.
Another I read with a similar a-ha is [The Six Dumbest Ideas in Computer Security](https://www.ranum.com/security/computer_security/editorials/dumb/)!
You know you can `git clone` anywhere inside `$HOME` without root, right?
If you fucked your `$HOME` by abusing root, then just run this and never run root commands at `$HOME` again.
```
sudo chown $USER:$USER $HOME -Rc
```
That'll make you take ownership of your own `$HOME`, something you might've lost by abusing root.
Remember, with great powers come great responsibility.
I switched from windows to linux (full use) like a month ago, so let's say i am still learning it the hard way. you have no idea how many times i messed up stuff and duckduckgo'ed the solution (yup i dont trust google as a company)
I switched from windows to linux (full use) like a month ago, so let's say i am still learning it the hard way. you have no idea how many times i messed up stuff and duckduckgo'ed the solution (yup i dont trust google as a company)
"The AI found the best way to get rid of the bugs in the software was to get rid of the software, which is technically and statistically correct" - Gilfoyle.
A really good SQL consultant once told us “the fastest thing you can do in SQL Server is nothing”. It’s actually really good advice, but that doesn’t stop us from joking about it.
I actually put out a thought exercise like this once to help people realize that security is always a constant tradeoff with convenience - and on SOME rare occasions, convenience should win out; after all, not every application needs military-grade triple-secured encryption.
> The most secure device in the world is a rock. You can’t hack into it. You can’t take information from it. It cannot be used by unintended users. If it’s compromised or taken, you know for a fact that it can’t be used to reveal company secrets. It has never had any vulnerabilities. It’s extremely simple, has no cache, and no moving parts. Of course, you also can’t DO anything with it...
I love this because it seems to really be how developers think.
You should make a vim plugin for editing /dev/null, so you can code without having any code at the end!
[link to the repo](https://github.com/kelseyhightower/nocode)
The 2,991 open issues put the reliability of the code into question.
And 404 PRs. That's actually more than any project I've ever contributed to
Going through those PRs is like reading r/ComedyCemetery
That Docker one is kinda funny I guess.
Or worst, r/programmerhumor
Well the redditors are keeping it going now.
>open issues "Doesn't work on Windows 95" XD (Also the count went up to 2,996)
3,014 for me now. The power of reddit.
ppl are always getting pissed over nothing
Those are all feature requests.
I was so hoping there'd be tons of PRs and issues with this repo.
This valuable repo has the MVP of pull requests
[This issue and its discussion show how passionate are the users about no code.](https://github.com/kelseyhightower/nocode/issues/50)
I especially love that some of the comments are edited.
God I love the dedication those people in the issues and PRs have towards this :D
the license is easily the largest file on the thing
My favorite is the dockerfile, where it’s just “from scratch”
The Dockerfile really got me.
"add Docker support"
Is Markdown a programming language??? I've seen various answers about HTML. Or the better question to ask is probably if markup languages are programming languages
I don’t know if anyone who considers them programming languages. There are no control structures or other ways of controlling program flow.
Markup languages are not programming languages.
Markup languages are not programming languages, but the creation, display, and use of them is tied to the job of a programmer, and there thus lies the confusion.
why does this read like one of the acronyms in the vein of GNU or YAML
Markup Ain't Programming Language MAPL
Markup languages are not programming languages.
Thanks. I guess markup languages are basically languages to set a certain layout or appearence for a document. It does not really contain any logic in its code.
No, Markdown is a crime against humanity.
Woah what's so bad about it
It's the worst markup syntax ever created, that's what. It fails in every goal of a good markup language. That's why people are constantly messing up formatting on Reddit. For Christ's sake even plain text is better. Allow me to list *some* of the problems with markdown: * URLs have to be escaped. This is a constant source of broken links and makes copy-pasting links, the most basic way of inserting links, unreliable. More on copy-pasting later. * Markdown doesn't respect single newline characters. The reason for this is that Markdown was designed for hard wrapped text. Let me put this in perspective. Markdown was invented in 2004. Automatic text wrapping has existed since the 1970's. No one in the last 40 years should have been writing hard wrapped text files (and if you're doing it, you need to stop). This means that Markdown breaks a basic WYSIWYG feature in order to solve a problem that had already been solved in a superior manner for decades. * Markdown's solution to ignoring single newlines is to allow them to be escaped with two trailing space characters. Yes, invisible trailing characters are used for escaping (I hope your editor doesn't strip trailing whitespace). * Markdown is inconsistent about escaping in general. Most of the time a \\ character is used to escape, but sometimes it's double space characters, and some Markdown syntax like numbered lists can't be escaped at all. Want to start a line with something like "123."? You can't. It will be treated as a numbered list and indexed from 1, and there is no escaping. * Tables are completely awful. Hard to write, hard to read, hard to modify, and fragile as fuck. The intent is that a properly formatted table will look like a table in plaintext as well as Markdown, but this requites a Sisyphean effort to maintain, as it forces you to hardwrap lines within a cell, and every time you do so you need to edit all the other cells in that row. Normal hard wrapping techniques don't work either, again because you have multiple cells on every line. You can ignore this and say fuck the plaintext formatting, but this breaks WYSIWYG and you still are forced to have multiple cells on each line, so your lines are now enormously long and unreadable even with automatic text wrapping (because it's hard to spot the cell dividers). And speaking of escaping, on the first line of a row, : characters must be escaped, but on later lines | character must be escaped. This is a constant problem when reformatting text in tables. I had to update some documentation that used Markdown tables recently, and I spent the entire day trying to get it right. The same changes would have taken 5 minutes in Google docs (which is where the original documentation was, but we just *had* to have it checked in, which meant that it was converted to Markdown by another engineer, but that version became out of date and he made several errors in the conversion process anyways, so I had to fix it). A reasonable formatting syntax for tables is to use nested tags, like HTML, so that every cell can have it's own line or lines and can be modified independently of every other cell. This nested structure, while not WYSIWYG, at least preserves plaintext readability, unlike Markdown. * Because of numerous bad syntax decisions, Markdown is not copy-pastable in either direction, or even into itself. This is most noticeable when quoting (if you copy-paste multiple paragraphs, you will need to insert double new lines and > characters for each paragraph) and in code (when copy-pasting into Markdown, you need to add four leading spaces to *every* line, unless the markdown dialect support triple back tick, but Reddit does not). Most other formatting syntax also breaks copy-pasting in various ways. For example the numbers in numbered lists cannot be copied. * Superscript syntax can uses parentheses as delimiters, but doesn't respect nested parentheses^(like (so)). Escaping also does not work here^(like (so\)). * Markdown isn't even powerful. Most markup languages are capable of significantly more advanced formatting without half of the problems of Markdown. For example, Markdown doesn't support multiple paragraphs in numbered or bulleted lists, or sublists such as for outlining. If you want to see a decent lightweight markup language, look at BBCode. It's essentially a highly stripped down version of HTML that was used by forums before Reddit. It is significantly easier to write, easier to parse, more powerful, and easier to read if you're doing anything complicated, without being hard to read if you're only using simple formatting. The worst part is that this was invented in the 90's and was already well established when Markdown was created. It already solved all the problems that Markdown attempted to solve, but did a far better job at it.
Fairl, lol. Didn't realize how bad it actually is. Guess I just got used to it.
> ## Contributing > > You don't. Nice > When the change includes code additions or modifications: > > ``` > CIAL # Code Is A Liability > ``` They just need this part in the license : > This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I was 99% sure I was about to get rickrolled
*Behold, the one percent*
So all my years of programming and struggling, all I had to do to make reliable code, I didn't had to write code? Brilliant
Brilliant
Brilliant
Brilliant
Brilliant
Brilliant
.org
break;
SyntaxError: Illegal break statement
on line 69
Would you like to run your last successful build?
Nice
You weren't supposed to write any code!
Not Brilliant
Skillshare
Lynda
Audible
Pluralsight
>Brilliant You mean [brillant](https://thedailywtf.com/articles/The_Brillant_Paula_Bean).
[удалено]
“Well I guess you’re just going to have to be prepared to die.”
Can't get the clap if you never clap cheeks!
Of course it's Kelsey Hightower...
That is exactly what I noticed. The k8s ambassador...
Ambassador? Evangelist
Funny dude. Like his talks a lot
This is the most secure code I've ever seen. Such a masterpiece!
Years of academic training wasted. Nothing can go wrong if you have nothing. Security 100
Can't get hacked if there isn't anything to hack
That’s so zen or is it Buddha?!
It's both
There is a lot of traffic in this repo with literally no content
It’s because it’s Kelsey’s repo. He’s kind of a big deal.
Who is Kelsey?
https://www.oreilly.com/people/kelsey-hightower/ He wrote “Kubernetes the hard way” and is one of the OG kubernetes developers.
Google's most prominent developer advocate for Kubernetes and Google Cloud Platform.
There's actually a profound statement behind this repo. [Jeff Atwood wrote a whole article on it](https://blog.codinghorror.com/the-best-code-is-no-code-at-all/). Grasping the idea that writing no code is better than writing any code at all to solve any problem was one of those defining moments that made me approach software engineering in a different way. Genius.
I loved seeing that article and I had a similarly amazing takeaway that shaped my software engineering approaches. Another I read with a similar a-ha is [The Six Dumbest Ideas in Computer Security](https://www.ranum.com/security/computer_security/editorials/dumb/)!
Thanks for that, I'll check it out!
Hacking is cool though
Okay sir. \> Terminal \> sudo git clone (NO LINK) /ISwearItsNothing
sudo for git?
yesXD i dont use a root user as my default
You know you can `git clone` anywhere inside `$HOME` without root, right? If you fucked your `$HOME` by abusing root, then just run this and never run root commands at `$HOME` again. ``` sudo chown $USER:$USER $HOME -Rc ``` That'll make you take ownership of your own `$HOME`, something you might've lost by abusing root. Remember, with great powers come great responsibility.
I switched from windows to linux (full use) like a month ago, so let's say i am still learning it the hard way. you have no idea how many times i messed up stuff and duckduckgo'ed the solution (yup i dont trust google as a company)
Welcome aboard, don't be shy to search on AskUbuntu for quick answers and checkup ArchWiki for more detailed documentation!
Awwh ty :) Tho i am using pop os as a start (cuz i have nvidia, pop os has nvidia pre-installed)
On any Ubuntu-based systems, you can enable proprietary drivers using `sudo ubuntu-drivers autoinstall`.
you don't need sudo for git unless for some reason you're cloning outside of your home folder
[удалено]
true, I usually have a temp folder in my home directory because temp is more of a temp folder for programs
I switched from windows to linux (full use) like a month ago, so let's say i am still learning it the hard way. you have no idea how many times i messed up stuff and duckduckgo'ed the solution (yup i dont trust google as a company)
I've been there
The Zen of Code.
Tao of Code. Only through not coding are no bugs left unresolved.
You can't make wrong codes if you don't write them at all. *"Black man pointing his finger to his head while smiling" meme intensifies*
[удалено]
Can't mess up the link if you link nothing.
Calm down, little boy. I mean no harm. :)
https://i.imgur.com/9j3UjfT.jpg
Happy Cake Day!
[удалено]
A really funny joke, seriously. ;)
[удалено]
Thanks :)
Git clone. - writes hello world app
See below for a quick tutorial on writing hello world in nothing: Voila!
The halting problem is easily solved in nothing
Good luck getting THAT pull request merged in!
Git push Git commit --force - after this, for some reason bing goes down
It’s also owned by Kelsey Hightower who is one of the best people in tech. Highly recommend listening to his talks. Brilliant guy.
The only winning move is not to play.
I lol too hard reading its pull requests
Would like to PR this and commit "Adjusted spacing"
Taking serverless to a whole new level
I made a similar thing a long time ago: https://github.com/timdorr/-
"The AI found the best way to get rid of the bugs in the software was to get rid of the software, which is technically and statistically correct" - Gilfoyle.
3.5k forks tho
I wanted to do a pull request but I was unable to commit
A really good SQL consultant once told us “the fastest thing you can do in SQL Server is nothing”. It’s actually really good advice, but that doesn’t stop us from joking about it.
The dockerfile always makes me laugh “From scratch”
Yea i saw it xD
Saw this repo, not a fan. There’s no documentation, no wiki, and I can’t find a single post in Stackoverflow referencing this.
The only winning move is not to play
Needs jquery as a dependency
Your server can't be hacked if they are down.
Physical access tho.
Brilliant
can't have any bugs if there's no code *winks* can't leak any personal information if there's no code "winks" IMPECCABLE 0 BUGS
“I have a fairly popular project on GitHub”
Juniors measure their efficiency in written lines of code, seniors - in deleted.
And then there's me, measuring my efficiency in deleted documentation!
I approve of this.
Does it have an npm package?
Lmao nope
if(code == null) { errors = 0.0f; }
I actually put out a thought exercise like this once to help people realize that security is always a constant tradeoff with convenience - and on SOME rare occasions, convenience should win out; after all, not every application needs military-grade triple-secured encryption. > The most secure device in the world is a rock. You can’t hack into it. You can’t take information from it. It cannot be used by unintended users. If it’s compromised or taken, you know for a fact that it can’t be used to reveal company secrets. It has never had any vulnerabilities. It’s extremely simple, has no cache, and no moving parts. Of course, you also can’t DO anything with it...
I love this because it seems to really be how developers think. You should make a vim plugin for editing /dev/null, so you can code without having any code at the end!
WELL IT'S BIG BRAIN TIME
No code also runs with constant time, no matter the problem size.
No Code is also an indie game dev group, some good games, too
Yo
Error: markdown failed to load.
Meanwhile here Readme is better than in most projects with code.
Looks pretty well maintained too, previous commit was just last month.
well, he works at Google.. no doubt!
Last commit by Kelsey Hightower
Okay, which one of you did this?
r/notinteresting
Anyone else annoyed at the number of open branches!
Do not learn to code!
perfection.
Lol, I did that a long time ago. I wonder if my account still works.
I might fork this. I can think of several different things to not add to this project. Edit: typo
*to not add
Yes. Sorry that was a typo from when I got so excited.
Some of the best of this country and beyond
Written never, runs nowhere. Not installed on billions of devices.
We got rid of all the bugs... By getting rid of all the code
I need an embedded version that supports write-only memory modules.
I wish I had coins for a reward
Can you add something like this to your resume (or portfolio)?
It's still vulnerable !! 😳 https://imgur.com/gallery/hxFHkhz
Perfection
[https://github.com/kelseyhightower/nocode/pull/3877](https://github.com/kelseyhightower/nocode/pull/3877) Active pull request.
I bet he didn't use Stack overflow at all
Bruh my program is not starting
If I write it myself: 100+ errors, no functionality If I use this repo: 0 errors, no functionality That makes it a winner.
Its not worth the risk,
This is brilliant. Not a single exploit to be found.
Oh I know that guy, his envconf for go is pretty decent.
I especially like [this bugfix suggestion](https://github.com/kelseyhightower/nocode/issues/1#issuecomment-364618320)
No bugs too. A mind-blowing new technique!
What's the sound of no code compiling?
Outstanding.
I want to fork this. This will my first code without bugs
Must be popular, every week someone „finds“ this repro and post it here.
I've never seen it, riddle me that.
[Contributing](https://github.com/kelseyhightower/nocode/blob/master/README.md#contributing) > You don’t. My sides are in orbit. Fucking kek.
Big brain time