background preloader

The Tao Of Programming

The Tao Of Programming
Translated by Geoffrey James Transcribed by Duke Hillard Transmitted by Anupam Trivedi, Sajitha Tampi, and Meghshyam Jagannath Re-html-ized and edited by Kragen Sittler Last modified 1996-04-10 or earlier Table of Contents Book 1 - The Silent Void Thus spake the master programmer: ``When you have learned to snatch the error code from the trap frame, it will be time for you to leave.'' Something mysterious is formed, born in the silent void. If the Tao is great, then the operating system is great. The Tao of Programming flows far away and returns on the wind of morning. The Tao gave birth to machine language. The assembler gave birth to the compiler. Each language has its purpose, however humble. But do not program in COBOL if you can avoid it. In the beginning was the Tao. Programmers that do not comprehend the Tao are always running out of time and space for their programs. How could it be otherwise? The wise programmer is told about Tao and follows it. The highest sounds are hardest to hear.

» 9 Mindfulness Rituals to Make Your Day Better “Smile, breathe and go slowly.” - Thich Nhat Hanh, Zen Buddhist monk Post written by Leo Babauta. Are you simply moving through your day, without fully living? I did this for many years. It was as if life were just passing by, and I was waiting for something to happen. I always felt like I was preparing for something later. The Hacker Manifesto by +++The Mentor+++ Written January 8, 1986 Another one got caught today, it's all over the papers. "Teenager Arrested in Computer Crime Scandal", "Hacker Arrested after Bank Tampering"... Damn kids. They're all alike. But did you, in your three-piece psychology and 1950's technobrain, ever take a look behind the eyes of the hacker?

Why Learn Assembly Language? Introduction "Assembly language? Isn't that the hard to read instructions on how to assemble your brand new computer desk?"... Alternative theories of consciousness: some interesting ideas summarised and discussed. It is remarkable how poor a showing the whole idea of immaterial spirits now gets in both science and philosophy: after all, for many centuries most Europeans, including the brightest and most sophisticated thinkers, took it for granted that the explanation of consciousness lay in a spiritual realm, whereas now, as Searle has said about the existence of God, it isn't so much that everyone is a sceptic as that the question never even arises. Given that ideas from the Christian tradition are rather poorly served, it can hardly be surprising that other religious views are scarcely reflected at all in contemporary Western discussions of consciousness, in spite of the undeniable interest of many of them. In these pages we are currently no better than anyone else in this respect (but at least we are ashamed of ourselves). However, the spiritual view does have one able and well-qualified scientific champion in the shape of Sir John Eccles.

How Speeding The "Most Important Algorithm Of Our Lifetime" Could Change This Modern World Last week at the Association for Computing Machinery's Symposium on Discrete Algorithms (SODA) a new way of calculating Fast Fourier Transforms was presented by a group of MIT researchers. It's possible that under certain situations it may be up to ten times faster than the current way we do these. At this point you are probably wondering: What the hell is he talking about? Let me explain, because improving these three little letters--FFT--may change your life. Here's a quickie explainer: Fourier transforms are a mathematical trick to simplify how you represent a complicated signal--say the waves of sound made by speaking.

Low Level Details When I started programming many of the elements we take for granted now, did not exist. There was no DirectX and not many compatible libs were available for the free compilers of the day. So I had to write my own code for most basic programs, keyboard handlers, mouse handlers, video memory accessors, rasterizers, texture mappers, blitters… the programs I wrote then were 100% my own code and I had to be able to handle anything and everything. Personally I’ve always been interested in what was going on under the hood so this suited me just fine. I always dug into the details and I almost always end up programming as close to the bone ON the hardware (or OS) as I possibly can both to eek out as much performance as possible AND to satisfy my own hunger for knowledge.

Inspiration and Encouragement for Mindful Living Hi Gorgeous Soul! If you're new here, you may want to subscribe to the email newsletter to receive exclusive updates that uplift and inspire. Thanks for visiting! MIT crowdsources and gamifies brain analysis There are around 100 billion neurons in a human brain, forming up to 100 trillion synaptic interconnections. Neuroscientists believe that these synapses are the key to almost every one of your unique, identifiable features: Memories, mental disorders, and even your personality are encoded in the wiring of your brain. Understandably, neuroscientists really want to investigate these neurons and synapses to work out how they play such a vital role in our human makeup. Unfortunately, these 100 trillion connections are crammed into a two-pound bag of soggy flesh, making analysis rather hard. At the moment we know that neurons trigger an electrical signal, and that hormones affect the speed at which signals cross between synapses, and that somehow this results in a mental image of a naked Kristen Bell from her Veronica Mars period, but that’s about it.