it didn't show in BIOS. what's dmesg anyway?
it didn't show in BIOS. what's dmesg anyway?
@CimmerianX..... I tried your way but it still didn't show up and made a really strange sound.
Hey everyone,
I have got a Sony laptop that stops working and starts showing me this line "Operating system not found" when booting up. I entered the BIOS to check out something after I tried re-installing Win7 but I discovered the internal hard disk not being recognised and it said "hard disk: none". My assumption right now is that the hard disk is dead or may be fixable.
Anyone had this problem before and like to share some steps about how to fix it?
thank you..
@peter... I am an iPhone so I would not know if it is supported or not on Android 4.1 and above but I believe you can download an AIR runtime app on Android based device or even package AIR runtime within your newly made app.
You could use ActionScript3 or Flash to create an AIR app which can run on iOS and android platforms without learning Objective-c or Java.
Hmmmm, I don't think I've understood your question right. Are you saying once users have entered valid data then they should receive a success message?
I've given you an example up there and feel free to redirect your users to a particular page within the ELSE statement after the line that has echo "success".
Not that I have tried but it seems possible that you can modify the auto-increment number
Have a look at this website Click Here
Alternatively, you could code the logic manually by increasing the id by one. For example, you're storing a first userID which normally starts as zero then increment it by one and finally store it in your table.
I hope this helps..
if this solves the problem, please mark it as solved.
Hmmm, the question is why do you want to initialize your variables with empty values?
How about trying this?
1- Separate your PHP file just for the sake of understanding what's going on in your scripts and different pages.
2- Putting the name of PHP file in the action attribute in the form. E.g <form action="validation.php" method="POST">
3- Try this:
<?php
// define variables and initialize with empty values
$fname = $_POST["fname"];
$lname = $_POST["lname"];
$pass = $_POST["pass"];
$errorMsg= "Missing ";
if (empty($fname) ) {
echo $errorMsg + "First name";
}else if (empty($lname) ){
echo $errorMsg + "Last name";
}else if (empty($pass) ) {
echo $errorMsg + "Password";
}else{
echo "Success";
}
?>
Save the above code in a new file called validation.php
My suggestion for the book that you should be reading (if you only want to learn Java from the basics and gradually advancing to higher levels) is Thinking in Java by Bruce Eckel. It is really helpful n useful.
How do you mean "my pc skips the boot from cd"?
Press F10 or F5 when you restart the pc and see a black screen asking you a question on the bottom if you want to go to the BIOS screen.
How would you like us to help you? We can give directions on how to solve the problem but we won't give the code. Do you have any code to show us?
I discovered the problem occurs when I use Microsoft Visual studio. it's annoying when I start typing and see the cursor jumping up or down.
@kamil.metkowski Look, change the data type of the "product_image" to text or varchar whichever you like. It will work the way you've got as <img src="<?php echo $row['image']; ?>" alt="your alt text" />
I don't think you'd have to do encode it to BLOB on the server then decode it on the client side.
@Caperjack.. I disagree with you on this and I really think it is a problem because I've noticed something remarkable when I use Ubuntu on my machine, the keyboard works as expected without any issues that are encountered in Win7.
I'm thinking it might be something to do with a keyboard driver that is not installed or supported?
Thanks
@Jim.. it lasted for 29 yrs. Wow. That's really a long time.
@ScarWars9 ... Good luck and let us know how you go and what it's like.
I know this question doesn't fit in this thread but it might be primarily helpful to the thread owner since he's using images as well as other people who are interested in knowing that area of knowledge.
thanks.
I was told it's not a good practice to store images in a database because they take lots of space in the database?
What is the best solution to that?
@Nutster.. .By the sound of it, you don't have any problems after you removed Unity and its friends/children, do you? How did you go about deleting it?
The reason I want to get rid of it is that it slows my laptop really badly.
and Sometimes, the "enter" key gets hit while I'm typing fast. Is there any way of fixing? It's started casuing this issue when I re-installed the OS(Win7 starter)
That is what I thought before but I don't think I hit the touch-pad by accident.
hi there,
I'm experiencing a problem with the keyboard on my laptop. So what happens is that when I start typing really fast, the cursor goes somewhere else and doesn't stay at the end of a line.
Any idea on how to fix this problem?
Thanks
hhaha.. I like this thread. You're having "a huge problem" as you said. Did you install Ubuntu correctly? what version are you running? did you update your machine using update manager? or
sudo apt-get update
in the terminal
I think you'd go with inheritance to solve the problem. Think of it this way, for example, you're implementing a vehicle and different types of it. You'd have a vehicle class that has the main functionality which is shared by different types such as trucks, cars and so on. In truck and car classes you'd have functions that are just specific to them.
In your example, you'd have the main management industrial tool class which implements functions that will be shared by other classes like electric, hydraulic and mechanic.
in the case of your program catching the error, you'd check for the appropriate errors such as checking the input if it is a number, string or others depending on what the program is expecting. If the program fails in getting the right input, then it throws or deals with the error.
I hope that makes sense and helps you a bit.
Try having a look at Windows.Forms.MessageBox. I am not sure if that is something you want.
or you could always use the alert function in JavaScript.
That doesn't give much info. How are they stored? where are they stored? are they stored in a database, text file or array? is that a website or something else? how much code have you got there?
the solution might be as simeple as posting your code on here and someone nice will give it a quick look and see where the problem is. I think that is the quickest way of letting someone help you debug/write what's missing in the code.
1-Adobe kuler
2- Css thing which is part of Firebug.
Jump on google and search for web development tools or web developer's tools and see what comes up.
What's happenin? you're trying to upload something in a thread. Is that right?
Make sure you add the link to the CSS file. Show us your index page so we know what's exactly going wrong.
I like the interface of 10.10 LTS, it looks great. Also, the problem with unity is that it slows the machine to a point where you think, Ooops hang on there is a problem with the machine I'm using. But there isn't. I've just had a fresh install of 12.04 and it is not responsive and lags. Is that a problem that people(if not all) are experiencing?
I want to disable unity interface on the side and have something like what I had in 10.10. Is that possible?
Hi everyone,
I've just installed ubuntu 10.10 LTS and it is giving me an error that it can't update packages because this version isn't supported anymore.
Is there a way of fixing that? If not, I think I'm downgrading to ubuntu 10.4 which will be supported until April 2013. It sucks that we're kinda pushed to use 11.04 and above. In my opinoin, unity sucks badly and slows my machine.
Cheers,
Hmmmm, it depends on what you like doing. Nobody here is able to say that it is going to be the perfect choice for your future as we don't know what your business/IT skills are like. I heard that a MBA is a good degree but I personally don't like it because I'm doing a bachelor of IT at uni and if I wanted to complete my higher education(master's degree), it would be in either computer science or pure IT.
Good luck with the decision.
You're welcome, a comment in there and pressing the up arrow will do. And if this solves your problem then mark this thread as solved so others can benefit from it.
For operting systems other than windows including Mac OS and Linux, I would go with Monodevelop.
Hmmmmm,If you want to get the avaerage of the inputs that you're getting from your users.
1- Loop through the inputs and store them in one variable by using += operator or variable = variable + array[index] / array.Length.
I reckon you should catch exceptions like FormatException and other ones. your program crashes I enter a string in there.
Try this.
int input;
Console.WriteLine("Enter the number of expriments you want to make:");
input = int.Parse(Console.ReadLine());
int[] index = new int[input];
if (input > 2 && input < 6)
{
int temp = 0;
int avg = 0;
for (int counter = 0; counter < index.Length; counter++)
{
Console.WriteLine("Enter number" + counter + ":");
index[counter] = int.Parse(Console.ReadLine());
temp += index[counter];
}
avg = temp / index.Length;
Console.WriteLine("Average:" + avg + "\nwe have :" +temp + " experiments");
}
else
{
Console.WriteLine("Your input is not valid.");
}
Well, that'll depend on the tasks you've got. What do you want to store? Do you want to store messages from users? how do you determine if the keyword is the right one in user's message? E.g let's say you've got "two" red keywords in your table. So in this case, what message content are working out to send to users? how are you matching keyword(s) from user's message and database?
I'd go with mySql database since it is an open source and you can get it hosted almost on every server. At the end, that is a personal preference.
Hi everyone,
we were taught about Generics and Interfaces at uni and I wasn't sure what the perfect situations are to use interfaces because they don't have implementation in them so they work as a contract to other classes where everyone can implement their methods as long as they extend the interfaces.
As for generics, as far as I understand them, you make your own data structure or data type, right?
that would be greatly appreciated if someone can clarify those points.
I'd say just be yourself and show them what you know already because if you're affraid of the interview and you think you aren't prepared or haven't learnt the things you wanted to learn. there is a possiblity that you may fail it. Take it easy and treat it as a date (if you've been on one)or going to the movies for fun.
Thanks for that. I think I was right. I thought there is a bit more to it than that. The interesting thing that I found when you have static methods is they don't appear when you use the keyword this. Let's you've got this:
public MyClass{
public MyClass(){
this.RingMe(); // OK
this.CallMe(); // not ok because you can't use the keyword this to call static methods
CallMe(); // OK
}
public static void CallMe(){
}
public void RingMe(){
}
}
Is this similar to Java and AS3 and PHP? Anyone know?
Hi there,
Today, I had a chat my lecturer about instance methods and static methods. I thought you make methods with static modifier (let me know in the comments below if I'm wrong) if you want to access them without creatng an instance of the class which they're defined in.
I found in C# if you're creating static methods, you won't be able to access them using the keyword 'this'. But you can still have access to instance methods through the 'this' word.
Is there any difference between those types of methods?
@Kru, yeah sometimes, you get to start learning the basics of a particular programming language with the package of OOP stuff( inheritance, Polymorphism, Encapsulation). Then at some point in time, you try implementing an algorithm that you want to use to solve your a problem. You just feel like you're stuck and can't go anywhere.
Thanks for the suggestion anyway, someone might benefit from it.
Thanks guys for the fantastic cooperation on this. I think data structures and algorithms course might help, don't you guys think?
Hi there,
Welcome to Daniweb community. Of course, you'd be able to extend your knowledge of database systems. Always feel free to ask questions if you're struggling with something so that way you will get things explained to you and that will clear any confusion.
since you're only generating one thing which is a random number, then try printing out in the browser by using this command in JS.
document.writeline("your random number is: " + q1);
I think I will have to play around with those methods and see the difference. But thanks for that. I will put another reply in here after I give them a go!
@ nmaillet.. thanks for the explanation. Although, does the MaxCap stay 16? I mean is it by default?
@Memorath.. the question wasnt stated directly. Yes, it is that why doesnt the ensure capacity method give the exact number of characters that I had in my string as shown in the code snippet I posted in the earlier post?
thank you..