mayvelous

Me, Myself and Mayvelous

Archive for April, 2006

Cache Error

cache errorRemember that Cache error at the bottom of my site??
Well guess what, it’s gone, finally!

It was nothing! I just created “cache” folder and give 777 access to it.

I did created cache folder before but it was in the wrong directory.
I thought I have to add that in the theme folder and the actual theme folder but no, it has to be at main root.
Well now it’s gone, phhhheeeewwwww!!

Press Alt X

I’ve been using this widget for a while and haven’t write about it. All thanks to Jason who used it in one of his project and forwarded me the link.

mapsurface is a web page activity widget that helps you quickly see how people find, navigate and value the pages of your web site. Press Alt X

Its purpose is to provide an understanding of how users find, navigate and value web pages. It displays this information in a compact widget which sits above the web page. Andy Budd has written anexcellent review which is worth reading.

It’s very easy to implement and interesting to test out, you just need to add a line of JS script in your header section. You have to request for the trial invitation cos’ it’s still in a test drive.

It’s good for a site with lots of hits/visitors so that you can see the activities properly. My site stats won’t be that interesting.
Still I like it, pretty cool stuffs.

mapsurface

Just press Alt X keys and you’ll see the widget pop up. More interesting this is, once you click on “map”, it shows the click through links across the page.

Well I’m loving it and you guys can test it out too so better request invite from mapsurface.com.

My “HE”

He’s my love,
My life, My everything,
I’m blind without him,
He shows me the way,
He got to be with me everywhere,
Without him my world will be faded away,
He help me to see things right,
I am, who I am, cos’ of him,
He’s my old faithful best friend…

My a pair of GLASSES. :D

Thanks to Phwe. Dedicated to all “HIS” lovers.

I was fighting with asp dropdownlist for not being able to combine two columns directly. Say I got the same scenario as the following:

Suppose you want a drop-down list to display both the first name and the last name of each employee in the company.

I should be able to use DataTextField to combine two columns like:

ddlemployeename.DataTextField = "firstname" + ', " + "lastname";

But noooo…it gives me this error:

DataBinder.Eval: ‘System.Data.DataRowView’ does not contain a property with the name firstname, lastname.

You have to go mingle with your storeprocedure or Sqlcommand statement to change the string. Then only you can set that new string to DataTextField. Something like below. Very inefficient!

There is another efficient way of adding multiple fields in Dropdownlist using DataSet and DataTable by adding a new column on fly in DataTable object.
I did tried that method, but didn’t work for me, I’ll have to try again later. Anyway that code is in page 4 of the referenced article, so you can check that out as well.

SQL Statement
SELECT lastname + ‘, ‘ + firstname AS ‘EmployeeName’
FROM Employees

Binding Code
ddlemployeename.DataTextField = “EmployeeName”;

You can use a data-binding expression to set the DataSource property. The expression you use must evaluate to a .Net object that exposes the ICollection interface. You cannot use expressions to set the other properties. The values for DataTextField and DataValueField each must match the name of one field in the data source, so you cannot assign DataTextField by combining two or more fields in the datasource.

What the hell that bold part suppose to mean? For the moment I’ll just change my storeproc for that and play around with DataTable column later.

Any of you have any better way of solving this problem please let me know.
Thanks.

Ref: Data Bound Controls (.PDF)

I’m getting alot of junk and spams to in my inbox each day.
But this one is interesting.

I got this from hack.mm@gmail.com.
What is that suppose to mean?
A warning? A Threat?

Never look down on somebody else.
Do humble yourslefelf. always.
THhrere here’s no master.
In this world, everybody is learner.
Never sptalk about Myanmar IT.Dband d about Mayyanmar IT.
This is the last warning.

Wow I’m impressed, at myself.
I’m getting popular!!! LOL
I’m making more jealous people everyday and more spams in my box.
Amazing!

Anyway…makes me wonder…when did I mention about Myanmar IT??
And when did I look down upon anyone? hmm…interesting indeed.

New Web Resources Sites

So am I imagining or lately people tend to get hungry alot? I’m seeing two new cool sites and they both using food stuff in their logo.

Check these out:
# Think Vitamin – Orange,

Vitamin is a brand new online magazine dedicated to that new web industry.

Vitamin will inspire you, teach you, advise you and sometimes test you with its in-depth features, audio interviews, training sessions and reviews.

It’s updated every week, and it’s free!

# Bite Size Standards – Cookie!

Bite Size Standards aims to offer concise web development tutorials, tips and tricks. Written by designers and developers who are passionate about web standards.

P.S: Thx Jason for link.

Better grab their feeds.
Oh by the way, what’s those letters in bite size standards logo? I can read the big “B” and “S” but what’s that down below? “I-T-E”, “I-S-E”?? What’s that mean?

Coding Check List

I was reading, “Are You Following the Instructions on the Paint Can” article on Codeing Horror, which directed me to The Jole Test: 12 Steps to Better Code and thought I might as well check out his checklist.

  1. Do you use source control?
    Yes, we do. We use Visual Source Safe, VSS, as our source control.
  2. Can you make a build in one step?
    This is a tough one. We did have a batch file which do all those check outs and build all projects at once but the file itself screwed up a few times and we gave up using it (lazy to fix). So answer to this step, no, we can’t make a build in one step (for the moment).
  3. Do you make daily builds?
    I think we do daily builds 90% of the time, well atleast I do final build before I go home everyday. We got a small team so never really happen a serious source breaking. Yes good idea about babysitting punishment.
  4. Do you have a bug database?
    My first impression on this, What’s bug database?, but then he was just talking about Bug Tracking. So yes, we have bug tracking list where we usually update after every build.
  5. Do you fix bugs before writing new code?
    I think half of the time, Yes, the other half, No.”zero defects methodology”, good point.
  6. Do you have an up-to-date schedule?
    Definitely No. We do have some schedule in the beginning but then it keeps falling apart after a few week. All of us really slack at keeping up-to-date schedule.
  7. Do you have a spec?
    Yes, we do but pretty bad spec cos it’s some what incomplete. I hate writing and I don’t like the idea of sending programmers to “an intensive course in writing”. So I propose for “hiring smart program managers” to do all the write up.
  8. Do programmers have quiet working conditions?
    Ah…I guess so, most of the time. Well that doesn’t really affect me since my eyes and ears are pretty well trained. Once I’m into something, I won’t see or hear a thing around me. You can yell right at my ear and I won’t hear you. But if I got stuck or frustrated and lost my concentration, tiny bit of noise would annoy me like hell and there follow my bad mood.
  9. Do you use the best tools money can buy?
    We do have a few grumpy programmers over the tools we got to use. But understanding for the company as it’s a small one and I guess what they provide is not the best but pretty much efficient.
  10. Do you have testers?
    Testers? Ah…does PM count as a tester? No, we don’t have dedicated testers.
  11. Do new candidates write code during their interview?
    Not at all. I did have to explain a functionality of written piece of code during my interview. I guess the main reason I got job was cos’ I was a GIRL which they lack and need to add some feminine in their team. Pretty bias I know, but what the heck, I turn out ok.(I think)
  12. Do you do hallway usability testing?
    Usability test is one thing we don’t do often. So yah we need to improve on this.

To summ up, I guess we do ok considering we have a small team. Ofcos some good points to note and need improvement.

So how did you do with the checklist over your team?

Technorati Tags: , , , ,

Flickr Photos

  • Win's failed macarons and chocolate
    My Sis's failed attempt Macarons
    Max, May, Showey
    May & Showey
    devweb-programs
    blank document upload

Downloads

Twitter Status


Goodie Links


Mayvelous Friends


FlashDen
Text-Link-Ads
oDesk

I'm an Author for Global Voices

Archives