₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,273 members, 8,421,111 topics. Date: Friday, 05 June 2026 at 07:20 PM

Toggle theme

Chukxy's Posts

Nairaland ForumChukxy's ProfileChukxy's Posts

1 2 3 4 5 (of 5 pages)

Tech JobsRe: Assembler: Technologist Programmer Needed by chukxy: 2:33pm On Oct 23, 2010
martinsflo:
[b][b]HELLO, fellow nairalanders, please i am a scientist and a researcher whose aim and objective was to develop a device that can plunder signals as at when needed, pls i need people of great ideas on assembling, coupling, and purchasing the parts that i can use to set up the device, this is not a detonator project. any interested programmer/scientist/hacker/computer wizard, interested can contact me here all over the globe ;- highestbravo2niggas@yahoo.com[/b][/b]
Hi martinsflo , I'm interested in working with you if you are to use MC68000,C/Assembler Language to accomplish this task.
RomanceRe: I Am The Most Handsome Guy In Nairaland by chukxy: 10:11am On Oct 09, 2010
This is unbelievable, my fellow nwanna doing this type of thing. Things  has really changed. @CentD I'm disappointed.
WebmastersRe: A Lil Help Plz. How Do I Patent My New Web Application? by chukxy: 12:30pm On Oct 08, 2010
@ikeobidi , thank you the acknowledgement, but you do not use licence for software, the proper term is copyright. For more information, you can contact any attorney specialised in intellectual property.
WebmastersRe: A Lil Help Plz. How Do I Patent My New Web Application? by chukxy: 4:46pm On Oct 07, 2010
@ikeobidi , you do not patent software,publications,music,etc, rather you patent inventions. The software you developed falls under copyright. You protect your copy right by just declaring that all rights reversed(e.g Copyright (C) 2010 SoftWebKey.com - All Rights Reserved ). In this scenario, you can tell them that you are granting them the right to use the software(they should not resell it) but you are not selling the copyright to them. This will automatically protect you when you want to sell it to other people to make use of it.
WebmastersRe: Your Recent Adsense Check Amount: (screenshots ?) by chukxy: 9:18am On Sep 27, 2010
@deyesborn and hostmaker, you guys are too much. Thanks a lot for sharing this important information. I wish you more success.
Have a wonderful week ahead!
ProgrammingRe: Java Tutorials For Beginners (some Lectures In Pidgin) by chukxy: 8:59am On Sep 27, 2010
@donclemo , great job! More power to your elbow.
ProgrammingRe: A Problem With Java Gui Design by chukxy: 9:35am On Sep 26, 2010
Hi naija_swag , that was a great and good chase, more power to your elbow. Yes, it is always good to put your programming skill to practice by doing some projects that come on your way, by so doing, you would develop confidence to tackle more challenging tasks or projects.
Concerning being your mentor,all I will say is that we can always learn together.You can reach me through my website www.softwebkey.com.
Do have a wonderful weekend!
RomanceRe: It Is Unfair: Did He Lie Or Am I Wrong? by chukxy: 8:41pm On Sep 24, 2010
@poster, Yes, it actually hurts so much when you fell in love with someone and suddenly the person call off the relationship; however, that is not the end of the world. It is also a great thing that he told you on time so that he will not end up wasting your time. Now, I think you should pick up your pieces and forge ahead as this life is too short to be wasted worrying about someone who has moved on with his life.I'm glad with your personality, it will not be long before you get someone to love you and you in turn love the person .For now, just hang out with friends and keep yourself busy with activities, you will surely get over it and move on with your life.
WebmastersRe: Website Review by chukxy: 11:44am On Sep 24, 2010
yes, the bug is fixed. Cheers!
BusinessRe: Jonathan To Open Innoson Auto Plant, As Ghana Comes Pleading by chukxy: 9:59am On Sep 24, 2010
@Wily+Wily , why can't we just say our opinion about things without sounding tribalistic. For crying out aloud, we are mature enough to know that this tribal bigotry will not lead us any where and again we are not giving good example for those looking at us as their role models.
WebmastersRe: Website Review by chukxy: 9:32am On Sep 24, 2010
@ogzille, just don't mind Kosovo, your site is professional enough, the only issue you have with your new design is the compatibility issue with IE
which I believe is as a result of CSS you used. Just try to see what you can do about it and you are good to go.

It pains so much, when people just rubbish the effort of someone without minding what the person has put in. It is discouraging and sometimes
the person may end up abandoning the entire project.Even when you are not satisfied with what the person has done, you can still communicate to him professionally without discouraging the person.
WebmastersRe: Very Easy Html/php Quiz :) by chukxy: 11:44pm On Sep 22, 2010
Hi Dual, with the solution you posted I was able to get clearer picture of what you intend to achieve; hence I decided to modify my code to achieve that. The code is pasted below:




<?

$db_name="nairaland";
$connection=@mysql_connect('localhost','spike','9sj7En4') or die(mysql_error());
$db=@mysql_select_db($db_name,$connection) or die(mysql_error());
$sql ="select * from radiobutton";
$result = mysql_query($sql) or die(mysql_error());


$form_block="

<FORM METHOD=\"POST\" ACTION=\"radio.php\">

<table cellspacing=5 cellpadding=5>
<tr><th>Number</th><th>Choice1</th><th>Choice2</th><th>Choice3</th>
</tr>";


while($row = mysql_fetch_array($result))
{
$form_block.="

<tr>
<td>$row[id]</td>
<td><input type=\"radio\" name=\"item[$row[id]]\" value=\"$row[choice1]\" checked=\"checked\">$row[choice1]</td>
<td><input type=\"radio\" name=\"item[$row[id]]\" value=\"$row[choice2]\">$row[choice2]</td>
<td><input type=radio name=\"item[$row[id]]\" value=\"$row[choice3]\">$row[choice3]</td>
<br/>
</tr>";
}
$form_block.="<tr><td align=center colspan=3><input type=\"submit\" value=\"Get Result\"></td>
</tr>
</table>
</form>";
?>
<html>
<head>
<title>Dynamic Generation of Radio Button </title>
</head>
<body>
<? echo "$form_block"; ?>
</body>
</html>


The code above dynamically draws the radio button irrespective of the number stored in the database.




The code below dynamically get the values selected by the user


<?


for($d=0;$d<=count($_POST[item]);$d++)
{

echo $_POST[item][$d];
echo "<br/>";
}

?>


The attached the screen shoot of the drawn table.

WebmastersRe: Very Easy Html/php Quiz :) by chukxy: 7:20pm On Sep 22, 2010
Ok, if it is to retrieve the value from the selected button group, the following would be of help:



<html>
<head>
</head>
<body>

<form method="post" action="radio.php">

<input type = "radio" name = "food[0]" value="stuff1" checked="checked">rice</br>
<input type = "radio" name = "food[0]" value="stuff2">beans</br>
<input type = "radio" name = "food[0]" value="stuff3">Pop Corn</br>

<input type = "radio" name = "food[1]" value="stuff10" checked="checked">flat</br>
<input type = "radio" name = "food[1]" value="stuff2">pointed</br>
<input type = "radio" name = "food[1]" value="stuff3">tiny</br>

<input type = "radio" name = "food[2]" value="stuff25" checked="checked">nokia</br>
<input type = "radio" name = "food[2]" value="stuff2">iphone</br>
<input type = "radio" name = "food[2]" value="stuff3">china phone</br>
<input type="submit" value="printselect">
</form>
</body>
</html>


Then the code below would retrieve the values:


<?


for($d=0;$d<3;$d++)
{
echo $_POST[food][$d];
}

?>



I tried it, I was able to retrieve the values.
Basically, you need to use array in order to loop and get the values.
I hope this helped else I would try further.
WebmastersRe: Very Easy Html/php Quiz :) by chukxy: 5:52pm On Sep 22, 2010
Oga Dual Core , I was waiting for your response.
WebmastersRe: Very Easy Html/php Quiz :) by chukxy: 5:21pm On Sep 22, 2010
I want to be sure the part you are facing challenge. Is it the point you want to retrieve the value of selected radio button from the group?
Or is it the part you want to assign value to radio button with database result?
WebmastersRe: Very Easy Html/php Quiz :) by chukxy: 5:10pm On Sep 22, 2010
Hi Dual Core , I don't think is complex as such, just throw more light on what you set to achieve, let me see what I can do.
WebmastersRe: Help Me Review This Website by chukxy: 2:40pm On Sep 22, 2010
Yes, I'm not contesting that, that was why I said , it looked professional in my first comment. I also think you should increase the result you are getting now by making it give an enticing info of what the site is all about at a glance.Anyways, that is my opinion.
WebmastersRe: Help Me Review This Website by chukxy: 2:05pm On Sep 22, 2010
Hi worldsearc, your website looks cool and professional; however, it took me much time to decipher the purpose of the website.
In other words, I was expecting at a glance to know what the website is meant for. If you can do something on that, it will be great.
WebmastersRe: Website Review by chukxy: 3:52am On Sep 22, 2010
Hi ogzille, I'm using IE 7 and Google Chrome. In Google chrome is okay.
WebmastersRe: Website Review by chukxy: 1:11am On Sep 22, 2010
Hi ogzille , I don't like the flying content, it is distracting and when placed on the main content, it does not align properly making it look
some how. I think you should do something about it. Aside that, it looks ok.
WebmastersRe: Help A Brother! by chukxy: 12:34pm On Sep 21, 2010
Hi johnsonpal, I am not cleared enough with your enquiry but from what I understand, you want to view the trial.php file which you uploaded in your root directory in your server without typing toslaw.2.je/trial.php , in other words you just want to type toslaw.2.je to view trial.php file you uploaded. If that is the case, just make trial.php your index file i.e change the name to index.php. If you change the name to index.php, you can now view it by just typing toslaw.2.je.

I hope that helped else provide more clarification for the challenge you are facing.
ProgrammingRe: Need Materials On Java by chukxy: 9:27am On Sep 09, 2010
Hi youngestpr , I think this link http://download.oracle.com/javase/tutorial/ might be of good help to you.
Best of luck!
ProgrammingRe: A Problem With Java Gui Design by chukxy: 9:16am On Sep 09, 2010
Hi SayoMarvel ,I just sent you mail. I am delighted to hear that you got an improved architecture. I can't wait to tap from it.
Hope to hear from you soon.Have a nice day!
ProgrammingRe: A Problem With Java Gui Design by chukxy: 11:33pm On Sep 04, 2010
@SayoMarvel , Thanks for the response and observation;however, I do not agree with you in terms of my program being prone to errors as I equally developed a class to take care of batch upload of data to any database and the class would ensure that only  correct data is uploaded to database.The only issue I had with my program was it took me more time than I anticipated, so I want to get a better way to do it with less time. In terms of GUI, I did not pay attention to that as I concentrated on the functionality. Anyway thanks.
ProgrammingRe: A Problem With Java Gui Design by chukxy: 11:13am On Sep 04, 2010
@SayoMarvel , you are partly right as it took me  more time than I anticipated to do it. However, the time It took me to get it done
would be compensated by its flexibility, easy to maintain by novice in programming. Please, I would want to compare your method to better the method I  adopted, if you don't mind. The screen shoot is attached.

ProgrammingRe: A Problem With Java Gui Design by chukxy: 9:48am On Sep 02, 2010
@Danyl , lets do it this way. Lets use MVC architecture. You know what I mean:

M - Model
V- View
C- Controller


For the model, we are going to use any of the database such as: ms excel,ms access,mysql,ms- sql, oracle etc.
Any one you feel comfortable using is ok. The next thing is for you to design the table and I think the following fields should come handy:
1. question field(varcha)
2.choice1 field(varcha)
3.choice2 field(varcha)
4.choice3 field(varcha)
5.choice4 filed(varcha)
6.answer field(int)
7.question id(should be the primary key to avoid duplication of question)
After designing and creating the table, you use batch upload to upload the data as you wish and make the initial value of the answer field to be zero.

For the view part of it, you create JLabel objects- one will hold the value of the question , one to hold the result of the candidate,one to hold the time , etc. and other thing you deem fit. Create JRadioButton to hold the four choices as reflected in the table and add same in the Button group. Create 7 button objects to get user inputs and I think the following buttons should come handy

1.StartTest
2.EndTest
3.First
4.Last
5.Next
6.previous
7.Exit



For the controller, you should add actionListener in each of the button listed above and write the event handling code in your action performed method. In this case, when the user clicks on the start test button, all the data you stored in the table will be returned to your resultset object(make sure you set it to editable(true)). then retrieve the result one after the other based on the user click( e.g First button, will retrieve the first question in table and set question label with the value of question one, also will set the values of the radion button accordingly). When the user select the radio button of his choice, it will automatically modify the value of the answer field since it is editable.The modification is based on if the user gets the answer correct, the value can change to one , but if the user gets it wrong the answer field remains zero. At the end of the test, you select the answer field and sum the total marks and update your answer label . Also reset the answer field in your table to the former value to enable other user make use of it.


I think if you do it this way, you can even make online test and the sacability and maintainability will be easy.
ProgrammingRe: Niit Or Aptech ? by chukxy: 9:16am On Sep 01, 2010
@poster as I suggested before, you said you already had HND in Computer related course and you have improved your skill
by reading on your own and the only thing you need now is to get a degree. If that is what you want just apply direct to get what you want.
Concerning, Niit or Aptech. It takes someone who have studied in both schools to say which one is better.

@afam4eva you can not just be making a vague statement. If you are saying NIIT is a crap, you give reason for that not just because you are currently studying in Aptech;hence, Aptech is good and NIIT is a crap.Give concrete reasons so the poster would make an informed decision.
ProgrammingRe: Niit Or Aptech ? by chukxy: 10:29pm On Aug 30, 2010
@poster, since you have HND and all you want is to get a degree, why don't you apply for top-up degree to Uk University direct as it will take
only one year to get that. You can make further enquiry from Global Incl there in Abuja or any other agents that are affiliated to UK universities.
Better still search on line for school that accept HND for top-up programme.
SportsRe: 2010 CAF Champions League (News And Scorelines) by chukxy: 5:02pm On Aug 29, 2010
@honeric01 , thanks for the update.
SportsRe: 2010 CAF Champions League (News And Scorelines) by chukxy: 4:23pm On Aug 29, 2010
Please where can one watch the match online.
CrimeRe: How Police Brutalized A Beauty Queen by chukxy: 8:23pm On Aug 28, 2010
@IyaBasira , thank you the correction is well taken.


Back to topic. So jumping to another lane in a traffic jam is not breaking traffic law, really? Her car over heating is justifiable excuse? And her running late to where she was going is also justifiable? Ok, let set sentiment aside, just put yourself in that traffic warden's shoe. You are saddled with the responsibility of maintaining free flow of traffic.It happened that the traffic is jammed because of impatience and our habit of always want to do the wrong thing(Nigeria factor). Suddenly, you saw people complicating the issue by jumping to another lane.You were able to catch one of the offenders, who at first instance was apologetic of what she did, but on a second thought, she suddenly realised that what she did was right. OK, you asked her to follow you to the police station, she refused. You wanted to take her car key, she was dragging it with you. the next thing she did was to call your oga to order you not to do your duty because she felt she had the connection(Nigeria factor).

Looking at the foregoing scenario, most of you calling for this traffic warden to be killed because of her act, would have done the worse. At first, when
I saw her picture I was so furious with what happened owing to nigerian police precedent and the way most of them act unprofessional in their duty post but after reading the story,I found out that she partly contributed to her ordeal. I am not exonerating the traffic warden for her act as she acted unprofessional. there is a better way she could have handled the situation and still make her pay for breaking the traffic law and still claiming she was right.

For those us  saying that for the fact that 95% of ngerians break traffic law and get away with it; hence, it is a norm to always break traffic law in Nigeria, please think again. The same people would go to another country and keep their traffic laws to the latter but when it comes to Nigeria is a norm to do the wrong thing.With this mindset, you still wonder why things are not changing rather they are getting worse.

Please, let us look at this issue in different perspective, one  from Beauty queen and another from the traffic warden's perspective.
Also let us not pass judgement base on sentiment and the opinion you already had for nigerian police. We should have it at the back of our minds that we can change no matter how normative and juicy our wrong doing seemed to be, we can still change for good. If you believe , just smile for me wink

1 2 3 4 5 (of 5 pages)