₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,406 members, 8,445,356 topics. Date: Tuesday, 14 July 2026 at 09:35 PM

Toggle theme

Yawatide's Posts

Nairaland ForumYawatide's ProfileYawatide's Posts

1 2 3 4 5 6 7 8 ... 54 55 56 57 58 59 60 61 62 (of 160 pages)

WebmastersUba Web Pay: Is It Like This? by yawatide(op): 12:17pm On May 09, 2011
Geez! I am working on a site that is incorporating a Nigerian payment gateway for the first time and the client sends me 2 forms to fill out: checklist and setup form. Set up form is okay but the checklist made me feel like I was in medieval europe. Na so dem dey do una for there?

Check out a couple of the 65 questions asked, just to set up online payment:
1) What is the distance between the primary data center and the disaster/backup facility? Is the backup facility on a different power grid than the primary facility? Are the facilities served by the same or different telecommunications provider?

2) Are cryptographic techniques (encryption, digital signatures, key management etc) applied to electronically transmitted and stored data? Does your organization have a management system in place to oversee and protect the use of cryptographic techniques such as secret or public keys using a consistent, agreed upon set of standards, procedures and secure methods?

I mean, when I set up PayPal or other non-Nigerian online payment systems, I am "in and out" in 5 minutes or less. 65 questions? Are you kidding me? I immediately kicked the form back to the client asking him to fill it out, e jo.

So, am I going kolomental or is this what you guys have to go through as well? If so, no wonder it is difficult to legally set up businesses in Nigeria, generally speaking.
WebmastersRe: How To Secure Your Website by yawatide(f): 9:57pm On May 05, 2011
Slyrox is a "penetration tester"?

Hmmmm. . .
WebmastersRe: How To Secure Your Website by yawatide(f): 5:47pm On May 05, 2011
Nice cover. Reminds me of the matrix movie tongue

On a serious note, thanks for writing this. I have downloaded it and will read it in due time. I did a quick browse and noticed that I am already doing some of what you suggested bu there is nothing wrong in reinforcing what you already know.

Once again, thanks for sharing the knowledge. As dhtml would say, "Muchas gracias amigo" cool
WebmastersRe: Bugs Nomenclature :: E.g. Embezzlement Bug by yawatide(f): 12:49pm On May 05, 2011
Every web app, especially one as this, should be tested as thoroughly as possible. The client should be made to also test for all possibilities. This is why those who can afford it hire a separate staff for testing.

Having said the above, you don't try to sugar coat the bug. Just apologize and say you will look into it and promise, in so many words that it won't happen again and finally, offer something in return for the inconvenience. For example, if you are hosting the site, you might want to waive the current or next year's hosting renewal fee.

good luck!
WebmastersRe: Quiz For Dual Core :: How Will You Compile A Php Script That. . . by yawatide(f): 5:05pm On May 02, 2011
Dual Core:
i no for take am o! Over to you cool
WebmastersRe: Mysql Quiz :: Foreign Key Constraint Bug by yawatide(f): 12:57pm On May 02, 2011
Okay but this isn't what I had in mind sha. There is mysql syntax that you could have run when you set up the tables initially, something that would boil down to this in english, "this is the primary key and this is the secondary key and when you want to drop table with primary key, delete all tables with secondary key as well since they are related".

Again, this might not fit into your situation but I remember reading this 3 or so years ago.
WebmastersRe: ***Search Engine Optimization Tutorial Part1 (rank #1 on google in 2weeks)*** by yawatide(f): 12:55pm On May 02, 2011
I have found that registering with google analytics and google webmasters also helps.
WebmastersRe: Quiz For Dual Core :: How Will You Compile A Php Script That. . . by yawatide(f): 12:54pm On May 02, 2011
dhtml:
did you bother running the code or did you just get so overwhelmed that you passed it by fiat? tongue
WebmastersRe: Mysql Quiz :: Foreign Key Constraint Bug by yawatide(f): 7:07am On May 02, 2011
I don't remember either and I have never done it but I have a MySQL book and I remember reading it on there 4 years or so ago.
WebmastersRe: Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code? by yawatide(f): 8:08pm On May 01, 2011
I don't think there is a way to detect javascript via php. You could detect user agents though, which in itself can get tricky.

Why not just employ progressive enhancement/graceful degradation in your coding? Give the user top of the line but provide appropriate fall back for those who don't support javascript?
WebmastersRe: Mysql Quiz :: Foreign Key Constraint Bug by yawatide(f): 7:39pm On May 01, 2011
Vague question. This is like asking, "I have 7 children and they all did something bad. In what order do I spank them?"

1) Where is the database schema?

2) There is a mysql query to run, an extra condition, that would cause the drop to ignore the constraints but was the "other query" that would ensure this other query running without error, ran first?

3) What is the relationship b/w these 7 tables (this is probably related to #1 above)?

Sorry if it appears as if I think too much,or did I miss anything obvious? I don't just jump to answer questions, I need to know more wink
WebmastersRe: Javascript Slideshow by yawatide(f): 12:41pm On May 01, 2011
Google will give you pretty much anything you need.
WebmastersRe: What Are The Advantages And Disadvantages Of Using Table For Layout by yawatide(f): 8:55am On Apr 29, 2011
1) Have you compared the SMF version of this NL versus the current SMF version?
2) Bandwidth isn't just about tables. Do you know if other optimizations have been carried out, behind the scenes?
3) I assume you are aware that yahoo.com does a lot more "work" than NL does.
WebmastersRe: Css Quiz: A "tricky" One by yawatide(op): 9:54pm On Apr 28, 2011
emeka.D:
Very good! Your solution will indeed work across the board.

The key point here is that IMG won't respond to text-align: center because it isn't text. Also, it is an inline image so directly centering it via margin auto won't work either. So you have to first of all convert it to a block element, like you have.

I will give you 99%. Why not 100%? cool

Your inline style could have been better written: margin: 0 auto;

Yep, I know, I am picky but hey, you will be a better developer and will thank me for it in the future cheesy

Time to come up with something even trickier wink
WebmastersRe: Css Quiz: A "tricky" One by yawatide(op): 9:05pm On Apr 28, 2011
Zahymaka is back from the dead tongue

Your code may not be consistent across all browsers. For instance, it doesn't work on firefox (or at least the one on my machine cheesy).

I have encountered this issue on many occasion in the past but today I set out to find a once-and-for-all solution. . . and I think I have.

Your solution is going in the right direction, though not quite there yet. Try again wink
WebmastersRe: Css Quiz: A "tricky" One by yawatide(op): 4:40pm On Apr 28, 2011
@omni:
Let's say you have a page, centered or not is not the issue. On this page you have 2 paragraphs, separated by an image. Let's assume this image is an ad. By default, this image will be left-aligned. Now let's say your manager approaches you and says that the current alignment looks funny and he thinks the best solution would be to center it so you proceed to find a solution for this, via CSS only.

Does this make more sense?

@dhtml:
I agree 100%. Doesn't this pretty much give you a snapshot of the members of this board, with respect to calibre? I have often been tempted to stop visiting and commenting but love draws me back.
WebmastersWhat Happened To Lasg Website Now? by yawatide(op): 4:12pm On Apr 28, 2011
As of the last time I visited it (last year or so), I loved the site to death. I have been following the site from "birth" and must confess the one they had before now was definitely the best. I am referring to the "eko oni ba je" version of last year that allowed you to do pretty much everything online. To me, it was the best stage government website out there, both in terms of design and functionality.

The one I am seeing now is like a step backwards to me. Your thoughts?
WebmastersCss Quiz: A "tricky" One by yawatide(op): 4:09pm On Apr 28, 2011
Using *CSS only*, how would I center a 50px by 50px image on a page.

Please note: I said CSS only. In other words, no HTML (valign, halign, etc), no Javascript, no nothing other than CSS.

CSS is more efficient anyways.
WebmastersRe: What Are The Advantages And Disadvantages Of Using Table For Layout by yawatide(f): 3:33pm On Apr 28, 2011
Though I know how to use Div as well but using table makes my work faster.
Do you read the Bible? If you do, are you familiar with the portion that says (in part), "straight is the road that leads hell"? My point: Making work faster isn't always equated with making work efficient.

Here is the answer to your question, in a nutshell:

Use tables only when you are presenting tabular data on your page(s). Don't use it for layout because:
1) Tables weren't originally meant for layout
2) Tables add unnecessary weight to your pages which means those will low bandwidth will take forever to download such pages
3) Using tables for layout makes the code harder to read and maintain, especially if you don't indent

Good luck!
WebmastersRe: Login Form by yawatide(f): 1:01pm On Apr 26, 2011
Didn't someone answer this already on another thread?
WebmastersRe: The Margin Top/bottom Css Quiz : Reminds me of quantitative aptitude! by yawatide(f): 1:01pm On Apr 26, 2011
@bouzymill:
Congrats on the safe delivery an on the arrival of your first baby.

Yep, there are better ways of approaching the problem but I think, IMHO, OP was just asking for a solution based on the code at hand, as opposed to the best way to approach a solution.
WebmastersRe: The Margin Top/bottom Css Quiz : Reminds me of quantitative aptitude! by yawatide(f): 10:02pm On Apr 24, 2011
@youngbobby:
I think, and I am pretty sure, that OP asked, "what would you add to the spacer class . . ." If you look closely, you will notice that there is no spacer class associated with the div tag surrounding the span tags.
WebmastersRe: The Margin Top/bottom Css Quiz : Reminds me of quantitative aptitude! by yawatide(f): 1:04pm On Apr 24, 2011
I didn't say you shouldn't post CSS questions o. I am only saying make them clearer. BTW, as confusing to me as they might have been, I do enjoy them. They help stimulate my brain wink

One advantage of coding for a long time is that I have pretty much seen everything, codewise, under the sun, from the good to the bad to the ugly and to the terribly ugly cool
WebmastersRe: The Margin Top/bottom Css Quiz : Reminds me of quantitative aptitude! by yawatide(f): 4:44am On Apr 24, 2011
Though I have not, due to time (and better things to do) verified this for myself, my understanding is that inline elements, SPAN being one of them, don't respond to top/bottom margin and padding, only left and right.  This might be browser-dependent though.

Again, I haven't verified this from an official (as in w3c) source though I have experienced the above on several projects that I have worked on, over the years.

I think, IMHO, it is better for you to post an image of your question than type it out in English. I personally find your questioning very confusing (no offense).

To answer your question:
I would probably make use of line-height.
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 12:01am On Apr 23, 2011
Wow! what was meant as a "simple" quiz has blown up into full-fledged debate.

rock on boiz!
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 8:53pm On Apr 22, 2011
In your font-size: blah blah blah. If you do not know the properties of the various formating tags, you will only be doing trial and error
to get the right size. Which is not always too professional.
Uhhmmmm, what is firebug for? tongue
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 4:54am On Apr 22, 2011
Html has no element <address>
Actually it does: http://www.w3.org/TR/html401/struct/global.html#h-7.5.6

Please note:
It may seem like I am hunting you down or trying to make you look bad. This is far from the case. I am doing what I am doing because there are newbies who will be reading this, and other, threads and I don't want them to be mislead. In the end, the integrity of this board is (hopefully) maintained.
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 11:17pm On Apr 21, 2011
First of all Nobody does inline styling any more, that is the reason CSS was created to take care of design properties colors,hieght,transparency e.t.c
1) Actually, CSS was created to separate content from presentation. In order to do this, you can use one of 3 methods: inline, page level or stylesheets. inline is obviously bad because it adds unnecessary weight to the page and makes stuff hard to read and maintain and reuse

2) Are you sure "nobody does inline styling anymore"? Have you seen some of the sites posted here for review? This isn't to say that inline styling is bad in all circumstances but there are those who use it as a religion though, and that is bad.
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 9:02pm On Apr 21, 2011
1) how many would know (or would care to know) that H2 has a font-size of 18px?
2) doesn't the ability to control behaviour via css nullify this?
WebmastersRe: How To Update Users Last Login Time by yawatide(f): 3:54pm On Apr 21, 2011
If I tried this UPDATE lastlogin SET lastlogintime = NOW() WHERE(SELECT username FROM users WHERE username = $sessionuser);
The above query doesn't make sense. Let's say the username is "larry". What the above translates to is:
UPDATE lastlogin SET lastlogintime = NOW() WHERE(larry);

Now, possible answer (and forgive me in advance for not using the right syntax. I assume you can do that on your own):

I assume that your users table has an auto_increment ID field, say user_id. When the user logs in successfully, you store the username in session, as it seems you have and store the user_id in a var, based on the same select statement that gave you the username. I further assume that your lastlogin_id in the lastlogin table is the secondary key that matches the primary key of user_id of your users table.

Your UPDATE query could then look like this:

UPDATE lastlogin SET lastlogintime = NOW() WHERE lastlogin_id = $variable_you_are_storing_user_id_in

As long as lastlogin_id and user_id match, the timestamp wil be unique for each logged in user

Make sense?
WebmastersRe: My First Css Quiz / Convert This Css Into Html! by yawatide(f): 3:30pm On Apr 21, 2011
font hasn't been disabled. I happen to work with a guy who sent me a file recently with the bloody tag all over it. It is deprecated.

Back to the quiz:
The question is as clear as muddy water to me cool

1 2 3 4 5 6 7 8 ... 54 55 56 57 58 59 60 61 62 (of 160 pages)