Zen Coding
Download Squad has a quick review, with video, of Zen Coding (Google Code project page here), an extremely well-thought-out accelerator for anyone who codes HTML. Its syntax is CSS-like. Zen Coding has been around for a while — here's its author Sergey Chikuyonok's introduction in Smashing Magazine from last November — and it has now picked up support for more than a dozen editing environments, including Notepad++ and TextMate.
FP*1 gets you "First Post"
There doesn't appear to be support for Vim but that already has another script called snipMate http://www.vim.org/scripts/script.php?script_id=2540
bang goes my karma... again...
don't mock the Notepad++....it's very powerful, yet lightweight and unbloated.
I'm sure many slashdotters here also live by the "Notepad++ code"....
yea...Ctrl-D is very useful.
So is Ctrl-T
Tab and Shift-Tab for formatting.
Also like "nano" but I still prefer N++ since it's got syntax highlighting, support for tab-formatting AND tabs....etc.
It's a specialized Lisp REPL, or something like it.
For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
Is there a better commentary on the west's general inability to grok zen than our endless bastardization of the word, zen?
ideopath @ play
such as:
* What is the sound of one interrupt flapping?
* If an exception gets thrown in an operating system, and no one is around to catch it, does it make a sound?
When I "write HTML" I'm actually writing HTML, CSS, JavaScript, PHP and SQL queries at the same time. On a good day. What the hell, why not add another syntax?
Looks like an automated coding editor, will be nice to use with abbreviated languages like HAML and SASS
TFA shows how Zen lets you type in a terse message and have it expanded into a chunk of html code and describes it as sheer genius. Thats neat but I have nedit macros which do pretty much the same thing. They are time savers for sure.
But nothing which you couldn't do a thousand ways. With perl, awk or sed.
http://michaelsmith.id.au
When I first started watching the video demonstration linked to from the project page I though "nice" but after a while of watching obscure string after obscure string I realise that I'm probably better off just trying to memorise HTML instead of HTML *and* whatever the hell this is.
In my case, Bluefish or Quanta Plus are more than enough, don't need to learn another syntax.
...crappiest article ever to get frontpaged on slashdot.
It's a couple hundred words worth of "OMG!" with a code example.
Find free books.
I don't think that word means what you think it means.
MABASPLOOM!
Emacs users can find the relevant package here with screenshots and demonstration Youtube video.
How to program the onboard computer of the Liberator
I don't understand what macros have to do with Zen Buddhism? If you haven't read a few of these sutras: Vajracchedika Prajnaparamita Sutra, Saptasatika Prajnaparamita Sutra, Lankavatara Sutra, Shurangama Sutra, Saddharma Pundarika Sutra, Avatamsaka Sutra, Platform Sutra, etc. You probably don't know much about Zen. And yes, I live in East Asia and talk to Zen Buddhist monks on a regular basis. It's Buddhism, not your hippie ideas about minimalism and exotic art.
I recommend sass and haml for doing css and html respectively.
http://haml-lang.com/
http://sass-lang.com/
*head explodes*
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
The master told me to mediate on the sound of one parenthesis closing. I am ashamed that I don't know what this means. Or was that his point.
Some drink at the fountain of knowledge. Others just gargle.
link
Help stamp out iliturcy.
How very Zen that is...
z0mg zen! As far as I am concerned it's a nice gimmick. If you are going to 'Zen' up your html, why not go all the way and switch to Haml? You actually code in this CSS-like syntax and let Haml compile it to html for you.
I prefer Sublimetext on Windows computers. It's a free-shareware program that mimics TextMate almost fully. ZenCoding package is also available for SublimeText.
That's already compltley Zen to me. :)
Writing source code is called "programming", not "coding". Coding is converting readable text to some sort of encrypted text.
And for the observant reader, yes writing Perl source code can be both called programming and coding.
You code in java,C++,javascript, but HTML is a formatting language - you do not code in it because it isn't a coding language. I know it makes fluffy web page designers feel like their playing with the big boys to talk about "coding" in HTML but you might was well talk about "coding" .ini files.
HTML is a formatting language, not a programming language
Zen philosophy also has the principle of "nothing superfluous". You see something of this in the iPod, or an old Lotus sports car. No irrelevant decoration, no junk, just form fitting function as perfectly as possible.
Zen is not a religion; it is a way of life. Zen masters are famous for anti-religious statements, like the sermon that is said to have gone "What are the spiritual masters? The spiritual masters are a dirty toilet". You do not have to believe in and kind of God to follow Zen, but it helps if you can find an advisor who you relate to. Zen masters, like rabbis, will put off anyone who they think is not yet ready for teaching, or unsuited to their kind of teaching.
However, you show in your third paragraph that you don't have a clue what schizophrenia is either. My advice to you is to do the research, proper research, before posting bullshit. And until you start to overcome your childish and self-important prejudices, you are nowhere near ready even to approach Zen.
From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
Programming includes elements of analysis, system design, algorithm specification, library selection, test methodology and all the other things you have to do to make a computer do what you want. Coding is the process of converting the results of all these specifications and decisions into something that can be compiled, by writing source code. Traditionally, they were done by quite different people (and the compilations and run done by a third group.) A lot of bad code results from design while coding. The functions should be clearly separated.
From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
You code in java,C++,javascript, but HTML is a formatting language - you do not code in it because it isn't a coding language. I know it makes fluffy web page designers feel like their playing with the big boys to talk about "coding" in HTML but you might was well talk about "coding" .ini files.
What is a .ini file? It sounds like complicated programming to me.
All of these accelerators just show how much *crap* all sgml derived notations really are.
Is it just me, or does anyone else have a hard time believing that anyone (that reads /.) spends THAT much time "coding" HTML, that dealing with a compressed format... which will surely go over well with one's colleagues... and is a good candidate for a code-obfuscation contest... would be useful?
Those who do not learn vi are doomed to reimplement it. Poorly.
IrfanView Is one piece of non-game proprietary software I've recently bought a license for. My license allows me to use it in any context, even if I'm working for an organization (non-profit, goverment, school, private sector, anything). It's distributed as shareware and provides excellent lightweight image editing tools as well as strong support for camera RAW.
I've used it for years and finally paid for it (my bad). It's been such an excellent piece of software that the license i got was well worth it. Cost: $10EUR.
While not officially supported, it runs well under a base wine environment (though the installer needs some help).
The True Path To Enlightenment (TM) lies in using Reverse Zen Notation (TM):
So "div#page>div.logo+ul#navigation>li*5>a" becomes
a>5*li>ul#navigation+div.logo>div#page
What one fool can do, another can. (Ancient Simian Proverb)
Corrected quotation, from the Great Master:
That was Zen; this is Tao.
And remember, the numbers you can count are not the real numbers.
Your statement does not make sense.
At least, I think it doesn't, but perhaps I miss some sort of reference to pop culture or something. I'm noted for that, not getting those references.
I stared at your comment for a long time and am (still, but it's wearing off) mesmerized by it. It holds some sort of spell over me. I'm not sure how and why. Must be severe cognitive dissonance or something. Or maybe I need to up my meds again.
Anyway, just thought I'd let you know. So you can refrain from it in the future. Or not, and cause me more weird times.
Thank you for your reply.
Hey - big surprise - HTML coding with CSS like syntax!!
Guess what: HTML is based off of SGML, which used a LISP-like language (scheme?) for stylesheets.
+1 for yet another wheel reinvention. I guess thats what we do though. yeah.
I know this is Slashdot, but since when is elitism considered "insight?"
A code is simply a system of rules that you use to translate one form of communication into another form. If that's all you're doing when you're programming, turn in your keyboard now. Writing HTML is coding but it is not programming. Programming is writing a program - a system of instructions which inform the computer how to perform a novel task. HTML is scripting however, even if the script is trivial - it says "Do what this says" to the interpreter.
If you are the sort of guy who tries to impress people by saying you're a "coder" you probably deserve the confusion you get. If you're a software developer, say you're a software developer. If you're a systems programmer, say you're a systems programmer. Don't try to redefine the word "code" to mean "only people who I consider my equals."
The land shall stone them with the bread of his son.