Ken Sharpe 23 Light Poster

I think they are both fundamentally important. Those who disagree tend to be mediocre developers, or inexperienced developers.

Ken Sharpe 23 Light Poster

You can also just paint the irises black if you're handy with the paint tool.

Ken Sharpe 23 Light Poster

More than just IE not implementing things, you should be aware that form elements in particular (like drop down lists), have very different support across many browsers. You will not be able to style them all exactly the same no matter how hard you try, so you should design with that limitation in mind.

Ken Sharpe 23 Light Poster

Not true. Just wrap that word in a span, give it a class, and give that class a margin in your css.

Ken Sharpe 23 Light Poster

Yeah, javascript can set the scroll bar location, look into that.

Ken Sharpe 23 Light Poster

You're not wrong in your thinking. If you believe the link is valuable to your visitors and they they will create business for you, then do it. Focus on your visitors first, then your search engine rank.

Ken Sharpe 23 Light Poster

It may not be strictly necessary the the original poster is simply wrong that it will hurt. That's nonsense. Every little bit helps.

Ken Sharpe 23 Light Poster

Anything that sounds tricky won't work. The best way to top the search engines is to write quality content consistently, and for a long time.

You can help your chances by having clean, semantic, valid code. If you don't what that means, google all those words and you'll find a TON of information about the correct way to seo your site.

Ken Sharpe 23 Light Poster

There is no real ASP .NET OSS equivalent. There are options, as mentioned, like PHP and RoR, but they are not as scalable or pwoerful as the .NET framework.

Java is generally considered slower, but it's the common alternative... but it's not open source (yet?)

Ken Sharpe 23 Light Poster

You probably need a separate print style sheet. Google that.

Ken Sharpe 23 Light Poster

I've never heard this before, and a priori it seems wrong. Google indexes information by domain name, not IP address.

If what you read is true, then a site like http://www.kensharpe.net might rank very high, then decide to switch web hosts for whatever reason. The site is moved without a hitch, and there's no visible difference except now the server IP is different. The site now drops in rank because of that?

I don't believe it, I don't think it's true.

Ken Sharpe 23 Light Poster

My understanding is that PercentLoaded is IE specific. Why aren't you doing what most flash videos do, and display the percent loaded actually in the movie?

Ken Sharpe 23 Light Poster

To create a profile like on myspace, you should go to myspace.com and create a new profile.

Silly questions, silly answers?

Ken Sharpe 23 Light Poster

It's not really new. This is how one passes information from a server side language to the javascript. Problem has already been solved, sorry 8)

~s.o.s~ commented: Exactly my point; I wonder how many more posts will it take to convince him. +23
Ken Sharpe 23 Light Poster

Na, you can just measure. If you use ajax instead of refreshing the whole page, you will have a chance right after the ajaz call is made successfully to check the position of the scroll bar. If it's all the way at the bottom, then add the text, and push the scroll even farther. If it's not at the bottom, then the user is scrolling, so update the text but don't move the scroll bar.

Ken Sharpe 23 Light Poster

You need to google something called Regex or Regular Expressions.

Ken Sharpe 23 Light Poster

That code is insane. Horribly inefficient -- here's what you need to do instead.

Execute a query that gets a COUNT of all the records.

Get a random number between 1 and that count. We'll call that X.

Select one record at index X-- NOT with ID X, that won't work, INDEX X.

The one record you have will be your random fact.

Ken Sharpe 23 Light Poster

Not sure about that serk. It'll work, but it's expensive. Might it be cheaper to have a stored procedure check for the record first, then insert if one is not found?

Ken Sharpe 23 Light Poster

Sounds a little like homework, no? Tsk tsk.

Ken Sharpe 23 Light Poster

Yeah, your problem is probably that you're trying to connect to the sql express App_Data database, rather than the the sql server instance you meant to.

Ken Sharpe 23 Light Poster

Well, why don't you contact the sensor manufacturer and ask them? The question has no general answer -- it totally depends on how they are made.

Ken Sharpe 23 Light Poster

You're confusing yourself, that's why you can't find anything on google.

If you have a VB application that needs to upload something to a server, the the vb application needs to connect to the server, and upload it on its own. It has nothing to do with a php web form.

You can have a SEPARATE php web form that can upload images to the same place, but they will never interact -- they are two different programs doing basically the same thing.

So what you're looking for is kind a mini FTP client in VB. Google that instead.

Ken Sharpe 23 Light Poster

Seriously, just start coding. If you hit a problem, google your issue and most of the time, you'll find a solution, if not, ask a specific question on a forum like this one.

Ken Sharpe 23 Light Poster

I didn't understand your post. You want the column to be a link that displays the user name but gives the userid to the click or command methods?

Ken Sharpe 23 Light Poster

Not clear -- you want to find 10 words before, and 10 after any keyword, but only if the words are inside a paragraph?

Like, the keyword is the firs word in a given paragraph, so you'd only want 10 words after?

You just need to search for the line break before, and the line break after, then only search inside that block. Then, search for 10 space characters before and after, and include every character between those two indexes.

Ken Sharpe 23 Light Poster

Just for the record, it's a better idea to have the "complete syntax" as you say, rather than leave it up to interpretation.

For example, let's say your code had worked without specifying the columns. One month from now, you'll want to add a column called "color." You'll add the column, and all of a sudden your code will break because it's trying to insert into the color column but your old code doesn't specify a value.

It's a good idea to be as explicit as you can be.

Ken Sharpe 23 Light Poster

csy is probably correct. Here's how it works:

You tell a datagrid to display certain data. That data is sitting somewhere else, like a database, then a copy of it is made to display in that datagrid.

After that, the datagrid is told (by the user) to change the data (last name in this case), which it does. The data in the database has now changed.

However, the datagrid has a COPY of the data, so just because you changed the database doesn't mean the datagrid knows about the change.

The way you tell the datagrid to get the fresh data is, right after the data changes, you call grid.Refresh, or give it a new datasource like csy said.

Ken Sharpe 23 Light Poster

You're getting yourself a bit confused, Acidburn. ASP .NET and WinForms are two different worlds entirely. ASP .NET is strictly for web-based application development, meaning that everything you display to the user will be a webpage.

WinForms is like a more traditional application.

I know I'm not answering your original question (I am an ASP .NET dev), but if you try to mix up WinForms and ASP, you'll just get frustrated.

Ken Sharpe 23 Light Poster

Normally that exception means that there is a method that is defined in a base class that is meant to implemented in a child class. The child class doesn't implemented it, so the base class throws that exception.

Ken Sharpe 23 Light Poster

What line throws your exception?

Ken Sharpe 23 Light Poster

Paul Graham talks about hackers as artists. You should google his essays, they are fantastic.

Ken Sharpe 23 Light Poster

Good idea, Salem.

Ken Sharpe 23 Light Poster

C++ is the industry standard for engine programming, but a lot of heavy lifting is done by scripting languages like Lua and Python. Also, if you're thinking of web-based games, then you might look at actionscript.

Ken Sharpe 23 Light Poster

Link back here with your work in progress, I'm curious how it turns out.

Ken Sharpe 23 Light Poster

You should just try to implement the game, and go from there. You'll soon discover the scope of objects you need, then you'll be able to ask more specific questions about it.

Ken Sharpe 23 Light Poster
Ken Sharpe 23 Light Poster

Data Dictionaries are for database integration and migration, not for designing modular systems.

Ken Sharpe 23 Light Poster

Online degrees are still generally looked down upon, but if you can find a program associated with a real university, you'll be fine. There are many programs like that, depending on what you'd like to study.

Ken Sharpe 23 Light Poster

If you want to be hired without experience forget certifications. Spend your time actually learning the material and produce some really good work on your own time. When it comes to an interview, talk about the raytracer, or the mp3 management software, that you wrote.

Ken Sharpe 23 Light Poster

In real life application level requirements are just an overview of the functionality the program needs to implement. What it does. Sometimes what it doesn't do. How the users should interact with it. They should be specific, but generally they don't include (pseudo)code.

Ken Sharpe 23 Light Poster

It could very well be a permission error. Does your program have permission to read that file?

Ken Sharpe 23 Light Poster

You'd need to give us a lot more information. Do the sensors have some kind of firmware API already? What format does it output in?

Ken Sharpe 23 Light Poster

Totally agree -- come up with some practical or interesting idea for a program, then just try to do it. You won't know what kind of knowledge you need when you start, so it'll be an adventure of learning. Way more fun and helpful than slogging through tutorials.

Ken Sharpe 23 Light Poster

Yeah, if you know what you're storing, use generics. You could have your top level actually be a Dictionary<string,List<BaseObject>>. the string part would act as the index (like "books," for example) so you could look it up later in the collection, then the list of BaseObjects could be the actual entries. If the list is really just strings then you'd use: Dictionary<string, List<string>> That way you don't have to muck around with Polymorphism.

Ken Sharpe 23 Light Poster

Could you post the real code, because otherwise we're just speculating. It really does look like the property isn't public. If the class is public, and the property is public, then you've got a tricky one on your hands. Let's see the code!

Ken Sharpe 23 Light Poster

I have heard good things from developers who have tried Umbraco, but I have not tried it myself.

Ken Sharpe 23 Light Poster

I think it makes more sense to write it like this:

int value;
foreach(string token in cadena)
{
   if(int.TryParse(token, out value))
   {
      // This is an integer string
      // TBD: Do stuff with integers, result is in value
   }
   else
   {
      // This is a character string
      // TBD: Do stuff with character strings
   }
}
Ken Sharpe 23 Light Poster

That's the right answer -- sql server takes a guess at it, but access assumes that if you don't specify the columns, then you want to insert all the available columns. In your case that's not true -- you just want to insert all the columns except the primary key.