LCD4Linux has some code where it inserts "errors" into some data regarding status bars. Character LCDs are usually limited to 8 special characters that are basically 7x8 pixel fonts, and you can draw on each font with whatever shapes you want within that space.
Anyone know where I can find information on similar algorithms?
Here's the ...
            
           
          
            
            I get a error on my JSP page: 
Script error: "An error has occured in the script on the page"
When I try to run the Eclipse in the debug perspective and I am closing down the browser window of the eclipse where my application is running. 
Because of the error the application hangs, and I am unable to test my application.
Is there any sol...
            
           
          
            
            Hi guys, 
I'm getting this error when trying to insert data from a form into a database. I know what it means, I just can't figure out why I'm getting it. Perhaps I've been starting at it for too long and have missed something?
Here is my code:
<?php
            $q1 = mysql_escape_string($_POST['q1']);
            $q2 = mysql_escape_s...
            
           
          
            
            Hi all,
I need some advice regarding writing a module for the apache web server. This module needs to create a TCP server which will listen to incoming connection from another application in our system. The server is having its own protocol, and I use plain unix functions (socket, bind, listen so nothing fancy around there) to create th...
            
           
          
            
            In Eclipse I get this eror:
  Exception in thread "main"
  java.lang.UnsatisfiedLinkError:
  com.nokia.mid.impl.isa.util.SharedObjects.nativeSetTable(Ljava/util/Hashtable;)Ljava/util/Hashtable;
I can see SharedObjects, but nativeSetTable doesn't seem to be a method. It might however be hidden -> I don't have access to the source code...
            
           
          
            
            I have a stored procedure in SQL Server 2008 that will insert a record into a table.
The sproc looks similar to this:
    -- params
@f1 int, 
@f2 datetime = null, 
@f3 datetime,
@f4 bit = 0 
BEGIN
    INSERT INTO dbo.table
    (fields......)
    VALUES
    (@params.....)
    RETURN @@IDENTITY
END
Prior to running the INSERT stateme...
            
           
          
            
            Hey guys, I'm using the Zend Soap Client library to consume a webservice, like this:
$wsdl = "path_to_wsdl_file";
$client = new Zend_Soap_Client($wsdl);
$client->nfeRecepcaoLote();
And I'm receiving the following errors:
Warning (2): SoapClient::__doRequest() [soapclient.--dorequest]: Failed to enable crypto [CORE/vendors/plugins/nf...
            
           
          
            
            Although I am not new to Python, this is my first attempt at using Glade to design the interface. My Python file looks like this:
import gobject
import gtk
import gtk.glade
class prefs_dialog:
    def __init__ (self):
        # Initialize the dialog
        self.window = gtk.glade.XML("file.glade").get_widget("prefs_dialog")
       ...
            
           
          
            
            Hello!
Im currently trying to move my site from localhost on my machine to my web server. And there is one problem.
Everything works fine, except login form for administration.
At first I thought it was not-saving-as-utf-8-without-BOM problem, but error logs show some strange problem which I never had before. As far as I understand, t...
            
           
          
            
            I'm trying to compile ActionFactory.java file which imports one of my package, RegisterAction.java
Here is the file structure:
/com/masatosan/actions/register/RegisterAction.java
/com/masatosan/redirector/ActionFactory.java
According to the ANT output, I think ANT cannot find RegisterAction.java which is imported in ActionFactory.jav...
            
           
          
            
            Hi,
I've been through all the answers for this error, but something weird happens in my case.
I have:
$result = $mysqli->query("SELECT * FROM table");
while ($row = $result->fetch_assoc())
{
    // data echoed here
}
I have 3 different behaviors of this:
1.On one page this works perfectly
2.On another page it throws the: Call to a m...
            
           
          
            
            $ikona = "layout/achiv/a_icon.png";
//$opis = string of text without quotation marks
$addit = '<img src="'.$ikona.'" onclick="alert(/'On day '.date("Y-m-d H:i:s").' user has '.htmlspecialchars($opis).'/'); ">';
mysql_query("UPDATE `accounts` SET `this_damn_cell`='".$addit."'
WHERE id='".$_POST["id"]."' ") or die(mysql_error()); //error...
            
           
          
            
            Hi!
I have done a small camera app with autofocus in Android. On my nexus one everything works fine but on the htc desire it crashes when i call takePicture() from a Camera object. Here is the stacktrace:
10-02 11:53:58.476: DEBUG/QualcommCameraHardware(19448): takePicture(479)
10-02 11:53:58.476: DEBUG/QualcommCameraHardware(19448): v...
            
           
          
            
            Hello, I'm trying to create a form. Here is my form class:
class RegisterForm(forms.Form):
login=forms.CharField(min_length=5,max_length=15)
password=forms.CharField(min_length=5,max_length=15,widget=forms.PasswordInput)
passwordConfirmation=forms.CharField(min_length=5,max_length=15,label="Re enter password",widget=forms.PasswordInput)...
            
           
          
            
            Let's see this example.
<html>
 <body onload="alert((0.1234*300));alert((0.00005*300))"/>
</html>
Why the results are not as should be 37.02 and 0.015 but 37.019999999999996 and 0.015000000000000001 ?
Ps: 0.00005*300 make error while 0.0005*30 and 0.005*3 are ok.
...
            
           
          
            
            I am using the following code to open a modal box when a button is clicked. Works fine in all browsers but IE7 where I get an error.
This is the code. Have I done something wrong???
            <script type="text/javascript">
$(document).ready(function(){
var dialogOpts = {
      modal: true,
      bgiframe: true,
      autoOpen: false...
            
           
          
            
            I have 4 environments:
Win 7 64 bit
Win 2003 32 bit
Win XP SP3 32 bit
Win 2003 64 bit
In the first 2, my app loads and runs successfully. In the latter 2, I get the following error (shortened):
  System.Windows.Markup.XamlParseException:
  The method or operation is not
  implemented. --->
  System.NotImplementedException: The
  me...
            
           
          
            
            error: dereferencing pointer to incomplete type
The problem line is "gl->point[0] = (struct list *)"
I read somewhere that I could be storing a declaration. If that is the case I need that explained to me.  
struct ref {  
    char **name;
    struct list **point;
};
int main ( ) {   
    typedef struct {
        char **name;
        s...
            
           
          
            
            I'm trying to use OpenID on my site but I get this error:
  Protocol https not supported or
  disabled in libcurl
Can anyone please tell what does it mean? My website is running on shared linux hosting.
I use this script: http://gitorious.org/lightopenid
Thanks in advance
...
            
           
          
            
            I'm trying to use OpenCV to find the RGB values of a pixel in an image. so far I've tried the following:
int blue = ((uchar *)(img->imageData + y*img->widthStep))[x*img->nChannels + 0];
int green = ((uchar *)(img->imageData + y*img->widthStep))[x*img->nChannels + 1];
int red = ((uchar *)(img->imageData + y*img->widthStep))[x*img->nChann...