We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!
I really need to get working on my website. Of course, practically anyone who has ever visited my website knows this. It has been for the past 3 years, the most stunningly unfinished project known to man.
I have realized my demon though. Like a lot of programmers, I get things "working enough" to show results. Then I get bored. Code to input is much less visibly rewarding than code to display. There is all that input validation, bounds checking and 10,000 other fantastically boring tasks you have to do. It's mind boggling. So my website was working to display the data in the database, but you couldn't actually use it to display more.
That's a problem.
I realized that keeping too many different programming languages in mind current up to speed was very draining on me. There are some I dont have a choice in right now. I program VB and VB.NET at work for a living, I have to remember those. But C, PHP, Perl, x86 ASM
It is important to realize this is not any reflection is PHP, just my own limitations as a programmer. I do not have the time to keep current on the syntax needs for so many different languages at once... and my website is the only place I use PHP. It just makes more sense to write it in something that I am using every day.
I will still be targeting Mozilla and Firefox as well as MSIE 6.. I haven't completely sold out. If possible, I would also like to retain HTML 4.01 Strict compatibility, but as yet I have no idea if this is even possible under ASP.NET v1.1.
The appropriate quote at this point in time seems to be by Ovidus, and has been my current sig for many months, ironically:
Video meliora proboque deteriora sequor
Roughly translated from latin:
I see and advocate the better path, but follow the worse.
I have tried to use Smarty and a bunch of other templating engines. I gave up on them all and was *just* about to create a new one when I ran across Phemplate. It was crude, but reasonably fast, and had a moderate feature base. I fell in love with it, and have been using it ever since. Anyone out there, if you're looking, Phemplate is awesome.
Back to the point
So I sent it to the author, given that it's distributed under the GPL, I thought they would like my contributions back. That was about half a year ago, and I never heard back save for a "I'll look at this in a week or so".
Should I continue to submit the changes? I really feel like the recursive loops thing is a big hit. It works really well for me, and I can't see how nobody would have asked for it before... The trouble is that I'm still working from an ancient version of Phemplate, and I think the author is having difficulty patching my changes in. I don't want to have to rework all my changes into the current version, so I kind of understand this too.
I might just have to start making the source code available to everyone.
Okay, so it's time for another quote.... here we go:
Loneliness is the poverty of self; solitude is the richness of self. - Mary Sarton
I haven't heard anything from the placement agency since the failed interview with Arrow. That's just a little bit of a drag. Last time I was in the market, the dot-com boom was still going. Williams was still hiring, WorldCom wasn't firing
The workload at Cav increases steadily. Weekend work is ramping up, they're getting set to purchas_ anothe_ com_any in M_chigan. (Sorry, I can't spell it out). There is definitely stability at Cav, I'm just not sure that there is any rest, and therein lies the problem.
"Vibrant young programmer with 5 years experience seeks immediate full time employment in a management position with a midsize growing company. Candidate company should have proven track record in asset management, and an accountant with at least a four year degree in a financial related field. Sane working expectations and a non-hostile environment are a must; Please, no third parties need apply."
I had an interview at a local company through that recruitment agency. The company was great, their IT Manager was switched on, had great interpersonal skills, and really pitched the job well. I wanted it. Unfortunately that placement agency had sent me on a job for helpdesk support/network admin/(very small amount of) software development. It goes without saying... I didn't get the job. My resume was tuned to my programming skillset. Why do placement agencies do this? Anyway, I still have a job. So no huge issue.
I also went out got the biggest goddamn book on
Looks like I'll be busy for the next little while.
Well. The overwhelming response to my previous journal entry has convinced me I really did only have one option. Quit. However, my bank manager quite effectively showed me that quitting is not quite an option. Drat.
So, I thought, the next best thing is to start a charity in name of myself, and spam some large corporations. After that wave of insanity passed, I registered at the local placement agency, whom I have always had GREAT success with. Also whose books I was still unofficially on (for placement, not salary).
What's that old adage? Time Will Tell.
This is a rant. Sorry if you don't want to read it, or if you think I'm whining. Give it up, this is my journal.
1:00PM Friday I get a memo from a company VP noting that there was a database update scheduled this weekend that a colleague of mine was doing. No biggie. My colleague is (Deservedly) going out of town. No major issues yet.
In leu of this, myself and another colleague MUST perform the update. I might point out that my good friend who is going out of town got told he was doing this an hour before I got told I was. Now let me reiterate.. my buddy DESERVES this weekend off. He has worked probably eight weekends straight.
This update will commence *testing* at 7:30PM Friday, and finish testing around 3am saturday morning. The production run will commence midday saturday, and you can guess roughly how long that will take from the test.
There was no asking if we minded. There was no asking if we had plans. There was no asking
The VPs make the decisions, and to be honest, I really don't think that they have a clue about this stuff. They just decide that it has to be done.
I had to scrap all of my plans for this weekend. This is probably about three weekends out of five that they are doing this kind of thing. I work in excess of 55 hours a week, every week. And that is just on the weekdays. Then you get into the weekend work.
There is no compensation for this. There are no bonuses, there is no apology except from my immediate manager, and let's face it. This is not their fault. It is just expected, all the time, and to be honest, it's burning me out.
What can I do about this short of quit? I'm not knowledgeable enough about local laws (or clueful enough to decode them) to know if they are violating any with these kinds of hours.
Currently the new site is going to be using a MySQL back end, php middle-ground and apache serving up the pages.
I have found a multitude of very reliable, very helpful PHP/MySQL tutorials. The problem is that every tutorial uses the mysql_* functions. This is fine right now, but it's entirely possible that I might switch to postgresql/MSSQL/etc some time in the not-too-distant future if I have to change my hosting company.
I can write my own wrappers without too much difficulty (I think)... but is there a built-in or pre-rolled perl-like DBI for php? Not like as in syntactically, but like as in universal regardless of database?
So I have this friend, who admins for this hosting company. Their servers run some BSD variant, but they hate perl with a passion. No real issue there, I just switched to PHP. I organized the needed DNS changes, and a few days later we have a working domain again. The place holder page seems to work still, including the perl CGI nicenesses like the (insecure) counter and the quoter. neat.
the PHP on the other hand, is really messed up, and will require a heavy rework. This is mainly due to changed autogobals and such. This task would be simplified greatly if there was a way to force variable declaration in PHP, but as far as I know, that is not an option. So instead, I'm gonna have to go through the code and look for all form references. Nasty. Should work better once I'm done though.
Unfortunately my friend hasn't got my database set up yet though, so it may be a while before I can get the PHP working... I'm not fond of the mysql errors that show up right now =P
Wife is calling. I'll write more later.
Okay. So I sat down and had a real think about whether I really wanted to write a SQL interfaced RDBMS. And come to think about it, I really didn't... which isn't really that bad of a thing... after all, who wouldn't jump at the chance to add another language to their list?
So I'm giving PHP a chance... so far, I really like it. There's a lot of functionality that Just Makes Sense(TM). Personally, I don't care for the automatic variable declaration. Experience has taught me that requiring variable declaration is the path towards saving 99% of your headaches... time will tell again.
After using PHP for about three days, it suddenly occurs to me that there is a HUGE security flaw in the way it is making me access form variables. Woah. There is NO WAY nobody has seen this before me. So I check the version number... at this point in time I shall note a second strike on the COMPLETE_IDIOT board for my ISP. They are running some version of PHP from the stone age. And yes, somebody has definitely noticed this security flaw, and it has been patched for close on a year.
This is it. I am changing my hosting company. I have come to the realization that they are completely incompetant. Well... not completely. They managed to write a perl script for their proxy to replace all incoming ads with crappy ads for local companies that they are selling. I wonder if doubleclick would be interested in that information, and the ISP's name?
Off to find a REAL hosting company.
Translated from latin:
It is a sweet and proper thing to DBI for one's country.
So finally I decided to do something about my website. It had been dormant for pretty much a year or so. And even THEN it had just been a placeholder with a few cgi-scripted nicities thrown in. Enter the incompetant ISP.
Aparently my ISP does not have the Perl DBI installed. I have no idea why. So I asked them to install it... given that well... what else can you really do with a website and perl if you don't have DBI? So they say they will.
Long story short, three weeks later they still can't install DBI, and I'm trying to figure out what to do with this website... Either I write a nice little TXT database (Woah, flashbacks of MySQL) or I'm going to learn PHP. Given that I know nothing of PHP, and am fairly moderate at Perl, I think I know which would be easier... We'll See.
When I was a child, christmas was a time to look forward to. Every year I would anticipate putting up the christmas tree even as December 1st rolled around. With every day that passed, another twinkle would appear in my eye, and the zest that defined every minute seemed to just grow stronger and stronger. When I was a child... Now it seems that with every day that goes by, I just seem closer to another day. There is no holiday cheer, there are no twinkles, and certainly, it would appear, there is just no zest left. What happened that could so permanently scar me?
I'm not completely sure, but i have a feeling it has something to do with the difference between the first world haves and the first world have nots. Without a doubt, I was a lucky child. I will never dispute this. I grew up with a roof over my head, food in my stomach, clothes on my back and a set of loving parents. This on its own is much more than a lot children can ever expect. But we did it tough.
As the years moved on, my eyes saw just how tough my parents did it. Throughout every christmas season, they would strive and toil to hide the difference between us and the other kids at school, whom mostly had well-to-do parents, and money seemingly falling out of their pockets. Indeed, my parents did an admirable job sheltering me... but it may be that exact same reason that now shies me away from christmas completely. It is an undesirable time of the year. I dont wish to recall seeing their toils, troubles, trials and pain. And maybe that's selfish. Yes, I know that that is selfish, they tried so hard to hide it from me. The did it FOR me. You might even argue that THAT is the spirit of christmas in its purest form. But to remember everything they went through, for me... that's not desirable.
Then again, maybe that's not the reason at all. I know several families who are doing it just as hard as my family and I ever did. And every year they look forward to christmas with gleaming eyes, getting excited over the smallest things. Are they just naive, and cant see the sadness of it all? I dont think so. They know exactly how sad it can be, they live it every day. What then drives these people to such happiness?
I can only believe that it boils down to pure simplicity. And by that I dont mean that they are simple people, only that they take joy in the simplicity of Christmas. Its not about recognising pain to achieve a goal. Its not even about enduring pain to achieve a goal. It has to be about living FOR the goal, in some way or other.
This christmas, I believe, will be quite a hingeing time in my life. On one side, I have a lived a life of sad christmasses, and on the other, I have shared some of the happiest times of my life amidst that sadness. The answer has to be finding that happiness. Moving back to simplicity, and enjoying every minute for what it is: Another second time around, over and over.