Views Datasource 6..x-1.0-BETA1 released
Just released a new version of my Drupal module. Views Datasource. Way too many changes and fixes to list, check the README.
Personal blog of Allister Beharry on life and technology, philosophy and religion, knowledge and ignorance; despair and hope.
Just released a new version of my Drupal module. Views Datasource. Way too many changes and fixes to list, check the README.
Posted by s1lent at 8:21 PM Labels: Drupal, programming, views_datasource
1 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by s1lent at 5:17 PM Labels: cdt, eclipse, programming
0
comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Last night I went to bed completely frustrated. I had spent probably 6 hours staring and poking at a piece of code and thinking what on earth could be wrong with it. It seemed functionally identical to the code I had been using as a guide, yet it didn't work. It didn't do anything - generate error messages, any messages at all - it just got silently ignored by the framework. Why, why, why, is all I could think about before going to bed.
But what I've learned and seen reinforced over and over again is - if you get completely stuck, step away from the problem for a while. Take a nap or a shower or watch a movie or do something to take your conscious mind away from it. Sure enough, when I woke up and went back at it, less than 1 hour in I spotted the discrepancy. I had a function included in a class definition, while my example code had the function outside the class. So I took it outside and hey presto it worked perfectly.
It still sucked though to have to go through all that frustration.
Posted by s1lent at 10:09 PM Labels: programming, SoC2008
0
comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest