Jun 29 2010

Mysticism – Faith or Fact?

A friend of mine posted a link to part 1 of this video (this is part 2), which is an interview with Ayn Rand and Phil Donahue. He asks her if she is an athiest, to which she replied “Yes.”. Phil did a tisk tisk noise, and she responded “I could do the same to you, you know?”, which followed with laugher.

Phil: You don’t approve of religion because?
Ayn: Because it’s mystical, because it’s based on faith. Not on reason and facts.

This made me think…I still to this day, using my own mind, do not hold things to be true based on arbitrary assertion. Typically when someone says they have ‘faith’, they have a belief in an arbitrary assertion. This is dangerous. Very dangerous.

But if a person doesn’t know something to be true, yet has enough experience or knowledge that they can trust that something might be true…this can be called ‘faith’, of which I can say I have regarding there being more to life than…well the pursuit of material gain, or satisfying sexual urges. I have faith that I can somehow attain the same sense of life I once had when I was in my youth. The same feeling of freedom, joy, and interest in the mystery of the world, instead of being a tired old curmudgeon that see’s the world as a big math problem that has been mostly solved, where the honest and humble are trampled and left in the dust of the cut throat.

Note: Something anyone must understand about Ayn Rand is her history. She came from Soviet Russia where the majority supported forced altruism, where you had no choice, the government was going to take your money and everything you owned for the “good of the people” as a whole (collectivism). She is not against private charity, or your personal decision to help those in need. She’s against any sacrifice by force/coercion.

The Mystic

I want to further clarify something I learned from Howdie Mickoski recently. I used to think that mysticism was the result of men trying to explain the universe they did not truly understand, only to create a sense of security for themselves in the universe, or to explain what happens to us after we die (out of fear of an unavoidable non-existence). I myself would rather accept a point of non-existence rather than lie to myself with some story of a “Christian” heaven.

Ancient schools known as ‘mystery schools’ were created to teach the ways of attaining this knowing of that which is beyond our mental reasoning/conceptual capacity. It is not because they wanted to be secretive that they are called ‘mystery’ schools, but because of the nature of what is taught that ‘mystery’ is the word used. “Mystery” is related to the Greek word ‘Myein‘.

"A mystic is one who searches for the answers to such questions as who am I, what am I, what is God, or what is the universe? They seek out these answers through acquired knowledge, personal experience, and altered states of consciousness where they attempt to reach the truths beyond the physical world. The experience of mysticism is beyond words. It can never be explained, but the explanations entice others to follow a similar path and experience similar beauty. Mysticism is not religion, yet at the heart of all religion is mysticism. It is not concerned with beliefs, doctrines or rules, but knowing, love, and the realization of a deeper reality.

A mystic is one who searches for the answers to such questions as who am I, what am I, what is God, or what is the universe? They seek out these answers through acquired knowledge, personal experience, and altered states of consciousness where they attempt to reach the truths beyond the physical world. The experience of mysticism is beyond words. It can never be explained, but the explanations entice others to follow a similar path and experience similar beauty. Mysticism is not religion, yet at the heart of all religion is mysticism. It is not concerned with beliefs, doctrines or rules, but knowing, love, and the realization of a deeper reality."

- Howdie Mickoski – Ancient Egyptian Widsom Revealed




Jun 28 2010

WordPress Plugin – Custom Pages?

My Dilema

Okay. I’ve worked on making a WordPress plugin once. It’s pretty easy to make a plugin which replaces a tag such as [another-plugin-tag parameter="value"] with some sort of other HTML code. For instance it’s pretty straight forward to replace [iframe http://www.google.com/ 800 600] with an iframe tag.

Something I’ve found difficult to find however is how you can create custom pages as soon as the plugin is activated, which are accessible using a permalink such as http://www.wordpress-site.com/myplugin/search/ which can submit a form to another URL such as http://www.wordpress-site.com/myplugin/results/ and then provide the results with a URL such as http://www.wordpress-site.com/myplugin/results/id/3/ or anything else pretty like that.

And I’m not talking about searching for posts or pages or anything. I’m talking about extending WordPress to have functionality which is not blog related, while still being a plugin.

I installed the ‘Contact Form 7′ plugin to see how it submitted the form, and then I realized it uses Ajax. Great. I don’t want Ajax.

A Hint of a Solution

I searched online looking for something to explain this, because certainly someone else must have been scratching their head like I have. No guides seemed to explain this to me. I’d search for ‘WordPress plugin permalinks’ and I’d only find plugins that deal with permalinks somehow (not what I was looking for).

And I was ignoring all the documentation on hooks and filters, because I don’t want to filter normal blog content, or hook to some blog content. But I was mistaken. I do want to hook a function to something. It turns out that WordPress has a number of actions which it goes through when loading a normal page, available by name in the Plugin API Action Reference page.

At some point of the page loading the permalink style URL, which is basically made possible by a mod_rewrite rule which says that any address is processed by index.php. The WordPress system determines if the URL relates to a page or post or something, or otherwise provides a 404 style error. Okay, so if I can somehow tell WordPress – “Yes! There is a /myplugin/ page”, or “Yes! There is a /myplugin/results/” page, then I’ll have one step of my solution finished.

After further researching I found that there is an article on how WordPress processes a request, and it even mentions GET and POST submissions. This was also obviously hard because ‘post’ is the term used to refer to the blog post records, so a search on Google for ‘WordPress post request’ didn’t return something relevant.

To Be Continued

I’m going to continue to investigate how to build the type of plugin which provides custom URL’s, without requiring the existence of pages for these URLs, and also somehow block the creation of pages which use the permalink structure used by the plugin.




Jun 25 2010

Beware of Bikes from Walmart

People warned me to not buy a bicycle from Walmart, but I needed a bike and didn’t have the money for a $300+ bicycle at the time. Shortly after purchasing the bike I had to replace the freewheel after it got locked up. Huffy did ship the replacement freewheel to me at no additional charge because the bike was under warranty, however Walmart isn’t a real bike shop which does adjustments and repairs, so I had to arrange for help in getting the old freewheel off and the new one on.

More recently the chain started to come off, and I’d have to put it back on getting my hand all dirty and greasy, and avoid certain gear combinations so it didn’t continue to happen. I figured it just needed to be adjusted or something, so I took it into a local co-operative bike shop – Missing Link. At first the girl who looked at the bike noticed that the cable for one of the derailers was very loose, and that I’d need to make an appointment for them to check it further. I did this and brought it in the following Thursday. Another guy looked at it more thoroughly to draw up an estimate for me. He pointed out that the chain was coming off because the crankset was bent, and that they could try to bend it back. He also pointed out that the foot pedals were shot, the bearings on the back wheel seem to be going. He estimated between $80 – $120 to get it in better condition. I didn’t want to do this, and then have to shell out more again due to other issues which would crop up after another 2 months of riding.

I decided to go to their retail shop (across the street from their repair shop), and check out my other options. I ended up buying a Marin Larkspur hybrid, as I’m looking for a good street commuter bike to get me around until my Isuzu Rodeo is repaired (after I save up approx. $2000). They recommended that I get something with strong wheels such as this model. I’m a pretty heavy guy, so strong wheels it is.

I ended up paying $460 for the bike, and then re-investing into a new rack for the back, a solid U-Lock (instead of a cable lock), and front and rear lights for night time riding. I would have used the other lights I bought from Walmart, but they broke from the tension I put on them mounting them to the new bike. It doesn’t matter anyway. The new lights mount properly and I can easily take them off when I part the bike somewhere, so they don’t get stolen.

I love my new bike. I like how I can bring it back to the bike shop and they’ll fix it up for the next year. Also I like knowing that the bike shouldn’t have any problems like the Huffy. Over the weekend I used the new bike to go do my laundry.

So anyway, I’ve been taking my new bike into work and parking it next to my old bike. I really need to get rid of the Huffy, but I’m not sure what to do with it. A friend of mine suggested that I take it into Walmart and ask for a refund, store credit, or something. I checked for the Walmart return policy online before I left and went all the way over to the Walmart in Oakland. The policy online, and at the store, does not state that bicycles are an exception. At the store it does cite that there are terms regarding certain electronics/computer items. The lady at the custom service desk told me that they will repair the bike, but do not accept returns if the bike has been used. I asked how I can get it fixed, she said the group of people which can fix the bicycles are not available tonight, but will be available tomorrow (I’m not available tomorrow night). I checked for signs back by the bicycles, and also around the custom service area, but nothing pointed out this exception in writing. I don’t have my receipt with me, so I decided to not try to fight it, because I’m sure they’d call me out on that technicality.

I still don’t want to go all the way back there just to be defeated, so here it is online for everyone to know. Walmart will not take back the low quality bicycle you buy from them. If you’re going to buy a bicycle from them, I hope you consider it expendable. I bought a $70 Roadmaster mountain bike from Walmart back in 2007/2008, and it had issues with the brakes, and other minor things, but it was only $70 so I figured you get what you pay for. I didn’t think that after only 2 months of riding a $150 Huffy that it would come to this. I’m going to just donate the Huffy to an organization or someone in need…. but I know now to tell others that seriously, if you want a bike…wait till you have enough money and buy a good one from a bike shop that will maintain and repair the bike…because a Walmart bike will only end up in the trash.


Jun 6 2010

Evolute

Just installed Logic Pro and used it for the first time. Garageband of course was kind of like training wheels for the program, but it’s a different beast than Garageband. But that’s a good thing.

Here is the first track I’ve produced.

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.


Jun 4 2010

Infinite Rays of Appreciation

Underground Bomb

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.


Jun 1 2010

Golden Pot Tree

I made this song a while back. It’s a pretty nice one on acoustic guitar. You might have heard it while on hold for HostDime.com back in 2004-2008.

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.