workBLOGS . VF6 and corruption

Filed Under (Visual FoxPro, work.BLOG) by WildFire on 16-05-2004

Since the day I upgraded to Visual Foxpro 8, I considered it knocking out VF6 in all departments. And indeed it does prove itself far superior than the last version that was bundled with Visual Studio. That was until yesterday when I discovered that a certain Database Utility application I created could open databases that were corrupted by power interruption and ‘magical reboots’ (possibly caused by computer viruses).

I have already installed NAV on a client’s computer which could possibly have eradicated that ‘magical reboot’ problem but I created a patch still… just in case. Problem is, when I tested it last week on the client’s computer, the patch won’t work so I have to use that old but reliable Database Utility I have created to open the corrupted database and delete the last record which is often a blank one. After that the corrupted database is fixed.

It was yesterday when it came into my mind that probably the reason that UTILS can do these things was because it was compiled in VF6… and after a number of isolating-the-problem experimentation, I found out that the said theory was right. You see, when VF6 encounters a corrupted database, it still opens it during the use DatabaseName line but when you do the database manipulations such as Append Blank/Replace (Add) or Delete it generates an error. With Visual Foxpro 8… once it encounters a corrupted database, even in the start (use DatabaseName line), it generates an error at once.

However Visual Foxpro 8 still has an advantage, it displays the name of the corrupted database while VF6 just points to the line of code where the error occurs. Here are the exact lines:

VisualFoxpro 6

Fatal error: Exception code=C00000FD
Called from – frmProfile.frame.page_03.cmdgc_add.click line 6…
Called from – main line 2…

VisualFoxpro 8

Error loading file – record number 12. FRMPROFILE . Loading form or the data environment : Table ‘f:\hra\communit.dbf’ has become corrupted. The table will need to be repaired before using again.

Combining the strengths of both version, I created a small module patch in VF6, compiled it in .exe form and called it from the main VisualFoxpro 8 module using the ShellExecute API.

DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, STRING cAction, STRING cFileName, ;
STRING cParams, STRING cDir, INTEGER nShowWin

ShellExecute(0, ‘open’, ‘FIX-0_545.exe’, ”, ”, 1)

I’m still studying how the Flush+TableUpdate approach could also help solve this problem but for now I’m using the patch above and an auto backup feature that copies the database to a different folder every five hours.

I also added two features to that Database Utility application yesterday, a feature that saves the structure of the database and the indexes along with it which is useful for documentation and reference related things and a MERGE databases feature. It was a special addition since it was done with my little Angel on my lap playing with a diskette and a floppy drive while I’m doing it.

workBLOGS . smasn and FX

Filed Under (Random.links, work.BLOG) by WildFire on 15-05-2004

One of the ways I measure how busy I was for the past few days is by the number of unread rss feeds this reader of mine is getting. And with 128 feeds to monitor the pile is indeed that huge sometimes. Good thing I’m already over with that ‘I-have-to-read-them-all’ syndrome and with this rss reader, I can set them to remain there forever organized on folders so I can just return and scan things if time permits. That’s a big IF these days but hopefully hopefully hopefully… in the future, I’ll find some time.

It has been a really busy two weeks (nCount(‘busy’, line) = nCount(‘busy’, line) + 1), spanning to four visits on three different clients. The latest was yesterday (since it’s already 2AM… again) where I have to install the Integrated Library System I’m working on for the past eight months to its third client. The school and the ambience of the place was nice which reminds me of my high school campus back in Davao, but it is the travel that was a little hard compared to the other client visits.

We have to wait for almost two hours for the FX Taxi to fill up before it decided to move its arse. That was quite a long two hours spent hoping that the humans passing that part of the place would have a same destination as mine or some family of ten would show up which would automatically fill that FX. It even come to a point where I was exercising mind control on some humans hoping I could make them ride the FX and fill the vehicle up so we can start moving. And another point where I was hoping Godzilla would appear out of nowhere.

Sometimes I wonder how some humans can tolerate systems that makes you wait doing nothing except exercise mind control and call on the gods of thunder and speed. How I wish in the future there will be a networked system that can make you monitor the departure and arrival of these vehicles even if you’re at home so you can choose to watch a lame show in TV instead of doing nothing. For now the only thing I can do in line with that is to store in my photo-mem the frequency they use in their radio communication systems.

The travel back home was even harder, especially for qs who always come with me during client visits. Unlike me who can ride virtually any vehicle available in this country, qs can’t ride some of them without having to protect her contact lens, her pearly white skin, her hair, her pair of levi’s, shoes… to a name a few. These are the days we wished the old driver was still here and could accompany us on our client visits just like he used to.

Tomorrow’s client visit was re-scheduled which means I can have more time to relax and do some blogs.

… and exercise this dormant mind control powers of mine hoping it would work the next time around.

[initialize.random.links]
The rise of interface elegance in open source software
Canon PowerShot S60
Archaelogists claim discovery of the library of Alexandria
[terminate.random]

workBLOGS . Your system…

Filed Under (work.BLOG) by WildFire on 13-05-2004

If you’re a programmer/systems developer visiting one of your clients, be sure to program yourself and the tasks you would do there first. Plan. Scribble things on paper. Live up to your work. You can’t consider yourself a programmer/developer creating systems and programs for somebody else’s company when you yourself are not systematic and organized to begin with. It’s like talking peace and having a rocket launcher on your shoulder, a combat knife on your left hand and hand grenades around your chest.

Simulate things. Create folders and dump all the databases and files there. See every possible problem… every possible ‘hole’. Test on different OSes. I remember when I was creating the APIs for Project Sophieia, after doing and testing things I was jumping in joy… ‘I have conquered API! I have conquered this API!’… only to be dragged down when I found out that such API won’t work on Windows 2000. So I researched, tweaked and customized further, lose quite a number of sexy neurons and fats until it worked in all the units of the client’s internet laboratory.

I was so delighted that I even offered to present it on the upper management of that client. It was too late when I realize that she’s using Windows XP. Boom.

Test and test… and test once more. Acquire old PCs if you can and install different OSes. Dual boot if lResourcesShortage = T. This is one of those reasons why software development comes a little expensive compared to other things.

Be sure though that the product you are developing is worth it… and would stand the test of time and the fierceness of my fire-breathing pet dragon in case it comes within inches of your project.

workBLOGS . 2AM

Filed Under (GFX, Visual FoxPro, work.BLOG) by WildFire on 06-05-2004

Before today… make that yesterday, since it is already 2AM and I have just decided to call it a day in terms of database-related works, it was a consecutive three day client visits for me. It is quite a busy start for this week. And it will be busier in the days to come since I’m targeting to complete most of these projects by the end of May.

Haven’t done much surfing lately too so I can’t give you interesting links for now. What I do these days is copy the links that my RSSReader grabs for me and save this batch on an Excel file which I will later copy and paste inside HTTrack for some midnight-to-morning ‘pulling’. So far I haven’t read those articles yet.

I’m also planning to take some time to do some updates at pixelcatalyst.lair which I have been neglecting these days. PixelWorkz, the site from where pixelcatalyst.lair was derived will turn five years this 19th of May so probably I’d be uploading some stuff which I haven’t had the time to upload for months already. These would include the artworks I submitted to DepthCore during last month’s Submergence release and something related to the on going collaboration between me and ShadowElement. Add a batch of tutorials and some stock photos.

OK… this feed just came in: West Wind Html Help Builder 3.25 released.

article . a new generation

Filed Under (Random.links, Visual FoxPro, work.BLOG) by WildFire on 03-05-2004

From the Editor: The Birth of a New Generation by David Stevenson. .NET Rocks! interviews DonXML.

Beware of sasser. Rumors claim that it can cause baldness and irritation of the skin. More info and helpful links here.

workBLOGS . The Boss

Filed Under (Random.scribbles, work.BLOG) by WildFire on 29-04-2004

After visiting a client yesterday and installing some program upgrades and at the same time fixing some corrupted index files, I met my former boss (although I still consider him as my boss up to this day). Since this country is composed of 7000++ islands apart, it took more than a year and five more planned meetings that didn’t pushed through before yesterday.

You see… my former officemates in the ComCen department (and even the students of the same school) considers our Boss an influential and motivational person in terms of molding your 512-bit skills, making you a better programmer/IT-individual. Not only skills are developed but visions and philosophies in life, as well.

We discussed a lot of things, from IT-related projects and developments in our country to his 1000 grams of vitamins C. Topics which includes humorous grudges to our previous employers (they’re funny now but they were not that funny before) were also the spice of the day. From software development to pricing the project to his clothing problem. Like me when traveling, The Boss also refrains from washing clothes and packs things enough to last. Problem arrives when vacations and travels are extended. I usually ‘recycle’… Boss prefers buying new clothes.

There are a lot more insightful things discussed in that short meeting which would take longer than the release of Longhorn if I’ll discuss them all here but overall it was very nice meeting him again.

Hopefully he had solved his clothing-related problems by now.

workBLOGS . freons are friends

Filed Under (work.BLOG) by WildFire on 29-04-2004

I decided to create a patch to my ‘im-in-a-freon-less-room-and-i-can’t-work-well’ problem. So armed with two arms and a key I decided to invade the Simulation Room which has an air conditioning unit for almost two months already.

For those who have no idea how hot and uncomfortable it is to work in an air condition-less room in this part of the world in this part of the year I’ll give you an overview. It’s like being tied arms and feet in the middle of the desert with no water, no clothes accompanied by seven fierce vultures surrounding you, calculating which part of your body would be their appetizer. The calculation of which part of your body would be the main course… buffered in the background tasks in their bald heads.

And you won’t even mind them having turns pecking on you for you’re concentrated on a certain algorithm you are working on to solve a certain problem. Neurons generate much heat when they’re processing things. Add the existing heat of your environment already and the vultures and for sure the desired output is indirectly proportional to the combined heat. Well at least, it depends on which side are you rooting for, the vultures or me.

So what can a poor database programmer like me do?

Beg… rant… coo… woo the upper management. Do some ‘pray-overs’ for the management’s soul. Chant the words ‘aircon-aircon’ subliminally in their ears when they’re around. Pretend to be sick. Trust me I’ve done them all.

I can’t blame them though. A ‘tight budget’ is hard wall to break through. And considering that I am still alive working on my IT room for a year now sans the aircon, my plead is below the company’s priority.

But heaven loves programmers… especially cuddly ones like me. For some heavenly-infused turn of events this Simulator Room is now vacant after a week of summer classes. And now I’m an invader of this room… along with my WinAmp and, of course, VisualFoxpro.

There is really a big difference when you’re working inside a comfortable room. It makes you refrain from thinking horrible things and focus more on your database projects in a faster pace. I was able to finish phase one of a five page-tabbed prototype of a new project named Valhalla in four hours.

Let’s all recite our creed… ‘Freons are friend…’

THOUGHTS . clients and freelancin’

Filed Under (work.BLOG) by WildFire on 19-04-2004

One of the joys of freelancing is meeting new clients. Especially if those clients are recommended by one of your clients.

JOY++ if your new client is cheerful, nice to talk to and is open to ideas of innovation. Add more happy smiles if she treats you to a great lunch (and a free coke in can).

I’ve been concentrating on freelance projects for almost a couple of years since I decided to transfer places and leave my old work. So far… I’m happy with the outcome. Last month, I was even ready to leave the regular job I’m in to focus more on freelance projects, but I do have a lot of things to accomplish on that job. One cannot just left responsibilities behind.

Besides I’m beginning to have this affinity for that WindowsXP infused Shanara on that office of mine.

If there’s a tip I could give about freelancing (which I know other ‘good’ and honest freelancers know already and is a common sense to start with) is to take good care of your clients. Taking good care would mean that not only you will deliver reliable services (in my case database programs), but suggest ways for them to improve the ‘other systems’ existing in their place.

Give cheaper alternatives to them… like suggesting OpenOffice. Just imagine the amount of money they could save especially if these are institutions that have 100++ computers running in their community.

Introduce them to utilities one can find abundantly in the ‘net that delivers and improves the performance of computers.

There are a lot more you can do which are often a derivative of sharing what you know already to begin with. Don’t hesitate sharing those things.

Though online dictionary.com defines ‘freelancing’ as this:

free�lance
n. also free lance (frlns)

A person who sells services to employers without a long-term commitment to any of them.
An uncommitted independent, as in politics or social life.
A medieval mercenary.

… I don’t agree with it. In fact you should be the opposite.

Well… being a ‘medieval mercenary’ sounds cool though. It reminds me of a rugged version of TheGreenLantern in improvised armor plates armed with home-made weapons with a vision to change the world and is actually doing it.

THOUGHTS . work and elbows

Filed Under (work.BLOG) by WildFire on 12-04-2004

I usually start the week by scribbling down on a piece of folded newsprint the things I am suppose to finish for the week. This includes pseudocodes and program flows, database structures and such. Things were going smoothly until I discovered the joys of cleaning one’s elbows… inside your office.

I cleaned and cleaned and got obsessed with cleaning my elbows. I was even beginning to look at other employees’ elbows, comparing which ones are darker or lighter than mine. This went on for three hours until I decided to rearrange the office room by making a tower of hanoi using the CPUs, monitors, keyboards+mouse and the voltage regulators of the three computers in that room.

Now it is already 9:41 in the evening, I’m at home and still looking at my elbows every now and then.

THOUGHTS . VS2005 and orcas

Filed Under (Random.scribbles, Visual FoxPro, work.BLOG) by WildFire on 04-04-2004

There are some things in here that I do not like. But it doesn’t mean that I don’t respect it.

I seldom give comments on things I haven’t tried, but I must say that I don’t like the notion of creating database-related programming language solutions that tends to mold ‘lazy database programmers’ in the guise of ‘personal productivity’ which claims ‘to help developers overcome their most pressing challenges in minimal time’.

For you to overcome ‘pressing challenges’ in minimal time, you must have experience. And experience you will gain in the hard and longer way of writing ‘codes’.

Before I’ll continue allow me to state that I do have great respect behind the minds and developers of this so-called ‘approach of the future’. In this era where time is considered ‘gold-ier’ than before, it is indeed a great achievement to be able to trim down the development period of whatever project. I am also referring to database related things here which I believe is different when you’re developing a different type of application say a word processor, a spreadsheet or a software that calculates(nDistance, DetermineNearest(human(HealthCondition(X, Y, Z)), lReferencePoint=You)) has to be if You(lDecision = !visit(bathroom), nDays) for that said Human not to kiss the floor.

The baby-sitting type of approach to program development I believe is needed but in some ways I feel that it is the responsibility of the database programmer and not the PL itself. I want to extend the outmost limits of the control I have on the code I create. It is my code; get your hands off it� now! Yes… you, MissPL-with-the-white-shirt.

I also cringe at the idea of that ‘fill-in-the-blanks’ type of programming. Decades ago parameters were invented and even in these days, this is one of the greatest things a programmer can include in his arsenal. That would be next to OOP and one level behind neuron-pumping-trance/technotronic beats WinAmp plays while you’re coding/’developing’.

If one has to trudge that path of fill-in-the-blanks-because-I’m-too-lazy, let the programmer himself create his own user define function that fills in the blank.

This is probably one of the many reasons I left VisualBasic for VisualFoxpro five years ago. I want to have more control of the flow, the code, the logic, and to see more clearly what each line does instead of allowing a line or two of reserved words produce things for me. Call me ‘old school, call me ‘traditional’� call me whatever you want� but for now this is where I stand.

But do continue in this innovation of yours, great minds. Who knows in the future I might be convinced to jump on this jelly-looking bandwagon of yours. Besides, humans always have choices.

But for now I’ll dwell in this thrill and the art of pounding the keys, whispering longer eloquent words that only a digital loving silicon can fully understand.

THOUGHTS . what makes you… you?

Filed Under (Random.scribbles, work.BLOG) by WildFire on 01-04-2004

On our way home after a client visit this day, I was too tired from two weeks of almost virtually having no sleep creating Project Sopheia, that I was able to sleep in the bus. In the middle of the travel, I have this realistic dream that I was passing this part of the road where we usually pass on our way home. We’ve been passing that part for almost a year now and I was not quite surprised that the image projected in my dreams was so realistic and not the usual fuzzy, distorted and dragon-filled weird type of dream.

I woke up just minutes before reaching that part and ironically, the bus driver decided to use a different route… for reasons unknown to me… for the first time. I wasn’t even aware this alternate route exists until that moment.

It didn’t bother me that much, we’re at home now and as usual I’m still in front of the computer at two in the morning. I was even about to sleep when I realized what if I was not dreaming? What if there�s this certain portal that took a part of me (or worse the whole part of me) and it was a parallel world journey that was manifested in that dream.

What if dreams are a sort of ‘bug’ in that system of body snatching, swapping and bouncing beyond parallel dimensions. What if it is this very bug that causes dreams? What makes me sure that this is really me? That I am really what I am. Besides, what makes you so sure that you are really you?

What if some species in time are able to grab memory already, compress, decompress and store it on a different body. How will that body recognize? What if all this soul searching, journeying inwards is caused by this swapping of entities or whatever you call the human body and soul? You tend to look for the ‘original’ you… beyond time, beyond space. That’s the whole quest of out lives� forever looking for that part of us, that very self that was snatched while we are abducted from one dimension to another.

How will I know? How will you know?

THOUGHTS . browse and freons

Filed Under (Visual FoxPro, work.BLOG) by WildFire on 30-03-2004

So true.

It’s already 3AM… I’m up re-writing two forms/modules after realizing that a certain function, which will remain nameless for now, won’t work anymore after it was compiled into an .exe file. I overlooked that part BIG TIME and discovered the flaw just when I was about to start ‘burning’ files into a CD-R and selecting which type of dream channel I’d be visiting tonight.

Anyway… the freon’s back eventhough I have to stop coding every 320.198725 seconds just to do this little chant so that the fuse would remain intact.

Well… just another day in the life of a Foxpro programmer.

snippet . VFP Port listener

Filed Under (Random.links, Visual FoxPro, work.BLOG) by WildFire on 29-03-2004

Just as I was wrapping up the client/server features of Project Sopheiai, I found this VFP Port Listener wiki thread. Ah well… I guess I’ll stick with my database approach for now since I am ‘passing’ large amount of data and from what I’ve heard, ports are being used by binary-loving-K-Paxians and other two bit alien lifeforms as a means of teleportation these days.

I’m still finishing up the iOpenLogic section of that project but to give you an overview, the server part clicks on a certain client list inside a grid which will return the programs running on a ‘client computer’ and the sites being browsed as well. In other words SERVER is monitoring if clients are browsing porn related materials or just chatting.

On a different note, Amazon and RSS _is_ a sexy combination.

THOUGHTS . WinAPI

Filed Under (THIS.site.matters, Visual FoxPro, work.BLOG) by WildFire on 26-03-2004

WinAPI in FoxPro is sometimes frustrating… if not always. I know that it did helped me last week while I’m solving some things. I know that it is challenging (Really it is!). I know that it handles memory more efficiently. What I don’t like is the idea that I can’t seem to do a thing without a reference or without ‘Googling’. Worse I’m slowly being transformed into a copy-and-paste declare-lovin’ pink-eyed monster with three fangs.

Is it even possible to be able to know (and memorize) all those parameters without a book?

Converting things from downloadable VB/C/Delphi snippets is not that easy too. Probably it is easier for VB/C/Delphi programmers but we’re talking about Foxpro here… we’re talking about getting used to a PL with clear, eloquent and straightforward syntax and semantics. I even have to lookup each WinAPI code used inside another WinAPI code, do that lame trial and error approach isolating each variable while calling on the guardians of the seas and skies just to add a shadow on a certain box. So frustrating that I’m beginning to hear Photoshop voices mocking me using the last seven letters of the alphabet.

But I’ll get back to charm you, Miss WinAPI. One of these days. It’s quite hard tackling you after sleeping at 4AM for almost 12 consecutive days.

On the lighter side of things, Foxpro.catalyst is now available in RSS Feeds with the help of GMM-RS, an add-on for the Greymatter scripts this site is using. Installation is straightforward but if you’ll hit a roadblock, just download this RSS.pm file, upload in a directory named XML inside your cgi-bin folder and type the words ‘Format C: /u /s’ on your DOS window.

THOUGHTS . heat

Filed Under (work.BLOG) by WildFire on 24-03-2004

I’m not quite satisfied with my output this day. I did finished some things, I even refrained from going online the whole day to focus on what I�m doing� but still I can�t call this day a productive one. Not in my terms. Adding to this problem, I’m even having this ‘too-many-things-to-do-so-little-time’ syndrome.

So at 12 midnight I’m opening up the trace window of this day to debug where things have gone wrong. In spite of this feeling of being unproductive I have done a couple of things that are good enough to consider that this was not a waste in terms of development production. Probably the real problem is why am I having this annoying feeling of un-productiveness.

The day started out fine… before I took my lunch I was able to finish the IUMS client part and was able to jump into a different project that involves the upgrade of the SASM module to version 2. I was even playing this newly discovered butterfly-effect-blanket game with my little girl for almost an hour in between coding.

Simon and Garfunkel were even kind enough to play in the background while I was into programming. Soulful songs this time that includes Scarborough Fair, Bridge over Tro-oh-oubled Water and Bright Eyes and not the usual Paul Oakenfold SwordFish trance music, ColdPlay chants, angst-inducing-grinds of Nine Inch Nails nor Enigma’s slide-into-the-soul type of sound. But I don�t believe the change of music caused this feeling of un-productivity, neither the lack of internet connection. Nor did it help soothe that feeling of discomfort summer heat brings.

Then I think I’m left with nothing else to blame but the heat. Yes it is summer already in this part of the world and the heat is really depressing. It�s more like:

if lHeat > lTolerableLimit
nWork = (nForce * nDistance) / (nTemperature * 10000000)
lSatisfaction = .F.
else
nWork = (nForce * nDistance)
endif

I think it is indeed the heat.

If only the fuse connected to the air conditioning unit in this room did not had this feeling that he is somehow involve in that Mission Impossible sequel and do that self-destruct move five months ago, I would not be suffering from this plight. And since there is a ‘happy tradition’ in this home to wait for a year before things are being attempted to be fixed, it means I would be waiting for seven more months before I can taste freon once again. That is if even the attempt is successful.

Three fans… simultaneously running already (make that five if you�d include the two fans inside the CPU)… still there’s this feeling of unquenchable thirst from inside. And it doesn’t even involve blood.

ARGH. I’m not making any sense anymore.

workBLOGS . L

Filed Under (Visual FoxPro, work.BLOG) by WildFire on 20-03-2004

The final punch to that quest is delivered this afternoon. The disabling of task switching and locking of other tasks is finally compatible with Windows 2000/XP. Converting an API-related algorithm using Delphi’s source code as the basis is not too easy considering that you have to declare which DLL exactly are you using and the paremeters needed. Unlike Delphi, you also have to declare each WinAPI procedures used inside a DLL. I’m using WinLock.dll by the way to accomplish things which also calls LoadLibrary, GetProcAddress, EnableWindow and FindWindow. The first two procedures are inside KERNEL32.dll while the latter two… inside USER.dll. The locking part was accomplished after a number of compiles and reboots while it took me quite some time to figure out how to unload and deactive that lock. Luckily, Avatar came to the rescue and pointed out that procedures in DLLs are often case sensitive.

declare UnLockKeys in WINLOCK.dll integer FHook, ;
string cUnLockKeys

Generates this error:
Cannot find entry points UnLockKeys in the DLL

It should be UnlockKeys. However…
=UnLockKeys(GetProcAddress( FHook, ‘UnlockKeys’), 0)

… does not generate the mentioned error. Quite weird if you ask me (Probably related to why some programmers/developers are labeled as weird sometimes). I’m creating a separate HTML for this and the whole locking/disabling process.

workBLOGS . winAPI lock

Filed Under (Visual FoxPro, work.BLOG) by WildFire on 20-03-2004

Yesterday when faced with the task to find a process to lock the computer when a certain time limit expires, my approach was to insert a reboot WinAPI code in a modal form that literally reboots the computer when the password expires. Research time was quick and limited… thus the ‘semi-lame’ approach in solving the problem.

A day after, with Avatar’s key help (he really _is_ existing and not just a figment of my imagination) and of course support.microsoft.com, DelphiFAQ (Yup Delphi rocks!), Google, Foxite, Tek-Tips, a new LogiTech mouse and two cans of coke… I can now [a] disable the ALT+F4 key by macro substituting with the ON KEY LABEL, [b] hide the task bar, [c] disable the task window (in Windows ME/9x), [d] disable alt+ctrl+del (still in Windows ME/9x not that bulletproof in Windows 2000 i think), [e] hide the Windows Start button and [f] shutdown Internet Explorer. How’s that for a cruel start?

Remind me to post the snippets later… and someone should really help me convince Avatar to start his own techno/work-blog.

The client visit was a little tiring since every time I visit that place I have to check the programs installed in 10 different computers located in 6 different offices/sections. But it was fruitful nonetheless. More on that one later and the thoughts that was buffered in my mind while I was sitting on that slow moving bus.

I did promised myself to have an early sleep (I deserve one!) after this visit… 01:30AM is indeed early.

workBLOGS . THURSDAY

Filed Under (work.BLOG) by WildFire on 19-03-2004

Technically it is Friday already since the clock shows that 02:53 digit. But since my day ends when i drift into the circuit of dreams, it is still Thursday for me. That would be four days of me dwelling in this room (make that six if you’ll include Saturday and Sunday) without going out aside from semi-regular snacks and a two hour visit to a client last Tuesday morning. In this room… virtually alone with this computer, a bunch of papers and cans of sugar inducing coca cola drinks… i am (I’m beginning to sound like master yoda already). Of course there’s that regular child howls and ‘smell-the-roses-interruptions’. Like everytime when my lovely two year old girl would ask for a pen and a paper, chant the words ‘work work work’ and grab a seat beside my work table.

Tomorrow I’ll be out once again in this room as I will be visiting another client. This week is an initial phase of a test I’m doing to assess if I could give up my regular job and concentrate on free lance related projects. If you have two babies who consume P1,250 worth of milk every five days, things are quite different. You don’t addobject(decisions, life) on the fly and hope that you could CTRL+Z things afterwards.

I’m also considering the notion of opening a sort of iOL section (I’ll discuss that later) in this site which will discuss system development related matters. Sophieai, the code name I gave to this project i’m working on for the past few days… will be the first example. Probably by discussing some things with fellow programmers, IT enthusiasts and even students I might find an alternative to that reboot-PC-if-user-times-out approach of mine. I’m suppose to lock the computer and render the alt-tab and alt-ctrl-del useless but my WinAPI knowledgebase is quite limited. But i’m working on it. Even in dreams.

workBLOGS . encryption

Filed Under (work.BLOG) by WildFire on 17-03-2004

I was creating a very simple encryption algorithm this afternoon. Too simple that it even didn’t reach 20 lines of code. I was hoping someone out there in cyberspace could test things and find out or assess how lame things are. Hehe. [“,]

Just please include how many minutes, hours or light years it took you to solve this problem. Thanks.

The Pattern/Sample Data:

2414739118 – VNQRWRUOQQ
0955501563 – RNWRXNTKRI
0372592769 – QIPOPIPMWO
0312355527 – XMSLURYKRR
5561830050 – QNPJVRTJQL
1203615355 – SKTRWOQMUQ
7095810211 – QRQNXOXPUO
0292351958 – WQYLUIRQVO
4352908758 – QJWNRQULVM
0042801895 – QJUNVNQJVN

Now given the data pattern above, can you give the character equivalent of these number patterns.

0115874255
5793006998
0114609609

Feel free to post your answers. If you can ‘assemble’ the algorithm too that would make things even better. Happy decrypting!