Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kujtim Hyseni

@Kujtim Hyseni
About
Posts
48
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C to Java translation
    K Kujtim Hyseni

    Yes, but I am receiving un-correlated values, how to get 133 instead of -123 - I mean what modifications or things I have to do at the end?

    Java java

  • C to Java translation
    K Kujtim Hyseni

    How do you mean, can you explain me more ?

    Java java

  • C to Java translation
    K Kujtim Hyseni

    When I translate the C code to C# it works fine because in both C and C# there is unsigned 8 bit integer type "byte" (values from 0 to 255) while in Java "byte" is signed 8 bit integer (values from -128 to 127). What operations might have effect when signed used instead of unsigned?

    Java java

  • C to Java translation
    K Kujtim Hyseni

    Hi, is there a reliable tool which can convert completely a C code to Java. C code contains only bit operations such AND, OR ... XOR, addition, subtraction and like and is not dependent on particular library. The tool should convert the code completely i.e. without my intervention after translation.

    Java java

  • Code to convert from C# to Java (with goto)
    K Kujtim Hyseni

    I am afraid that I can't rewrite the code since it is ported from 8051 assembler to C#. I thought we could do something with

    if/else

    to

    goto

    ?

    Java csharp java help question

  • Code to convert from C# to Java (with goto)
    K Kujtim Hyseni

    Hello, I have the following code in C#:

    public void encrypt()
    {
    SeaX11:
    ...
    if (Cnt != 47) goto SeaX12; //cjne Cnt,#47,SeaX12 ;when halfway through, swap keys, other key schedule and other key used
    goto SeaX21; //ljmp SeaX21

        SeaX12:
            ...
            goto SeaX11; //ljmp  SeaX11
    
        SeaX21:
            ...
            if (Cnt != 1) goto SeaX22; //cjne  Cnt,#1,SeaX22
            goto SeaX23; //sjmp  SeaX23
        SeaX22: goto SeaX21; //ljmp  SeaX21
        SeaX23:
            return;
    

    }

    to convert in Java. Can anyone help with this?

    Java csharp java help question

  • Variable not updated
    K Kujtim Hyseni

    Here are the details of the problem: I have a class MISPSerial (instance named ms) which deals for stream of bytes to arrive via serial port. In my class which contains the main method I wait for the variable (ms.isDataReady) in MISPSerial which tells that the stream is received completely. So my main method waits for the stream to be received and then continues with instructions that follow. What would you suggest?

    Java question

  • Variable not updated
    K Kujtim Hyseni

    What do you suggest instead ... ?

    Java question

  • Variable not updated
    K Kujtim Hyseni

    It changes somewhere else but it doesn't affects the change in while in other words it doesn't appears changed, unless I use a tricky solution so instead of

    while(!ms.isDataReady);

    I put

    while(!ms.isDataReady) Thread.sleep(1);

    Java question

  • Variable not updated
    K Kujtim Hyseni

    Hello, I have a code which checks some variable which has to be changed from false to true in other class, but, even if it changes it does not appears. More details, I have the code:

    ms.isDataReady = false;
    ...
    while(!ms.isDataReady);

    the loop while waits forever in my main method even if

    ms.isDataReady

    becomes true in

    ms

    's appropriate method. What I should do?

    Java question

  • Username/password protected database
    K Kujtim Hyseni

    I need to secure only one particular database in SQL Server so I could access it only with certain predefined username/password. So, I am login in SQL Server as windows authenticated or sa and see all databases with details, but, for one database I want to see her in list but cannot access further without user/pass.

    Database database sql-server sysadmin

  • CheckedChanged doesn't fires
    K Kujtim Hyseni

    Hello, in my ASP .NET page I have created check box double clicked it, it then created,

    chbCalcPrim_CheckedChanged

    method but it never fires. I am changing the state of it i.e. in checked or unchecked but that method is never executed. What is the problem, should I use any script?

    ASP.NET question csharp tools help

  • Other Serial Port (COM) library in Java
    K Kujtim Hyseni

    jschell wrote:

    I am also curious what "sometimes" means? Does that mean on one computer this sometimes happens? Or that on many computers this sometimes happens?

    No, it does not depends on computer but on ports. I had installed bluetooth which occupied few ports for which listing (identifying: more precisely an instruction

    CommPortIdentifier.getPortIdentifiers();

    ) RXTX took around four minutes. But when I uninstalled bluetooth and manually deleted (from Device Manager) the ports, the newly installed port for communication with my microcontroller could be identified "in a moment".

    Java java com question

  • Other Serial Port (COM) library in Java
    K Kujtim Hyseni

    Hello the standard RXTX (http://rxtx.qbang.org/[^]) communication library is not suitable because priory to occupying the specified port it lists all available ports is the system. This is time consuming because sometimes it delays up to 4 (four) minutes to list the ports. Is there any other library which lets to assign (occupy) the specified port directly by giving its name without listing all the ports in the system?

    Java java com question

  • Java SE or EE
    K Kujtim Hyseni

    Hello, I am in doubt whether to install Java SE or EE. SE is newer in version than EE, but I need EE because I plan to work with web services. In other words EE edition I found comes with Java 6, while SE with Java 7 (I found EE with 7 but named Web Profile). Here are the links I plan to use, for SE http://java.com/en/download/index.jsp[^] and EE http://www.oracle.com/technetwork/java/javaee/downloads/index.html[^]. What do you suggest (which one to install or how to combine if possible)?

    Java java html database oracle wcf

  • Cannot Register New Server in SQL Server 2008
    K Kujtim Hyseni

    And ... ?

    Database database sql-server sysadmin

  • How to secure a database?
    K Kujtim Hyseni

    You didn't provided solution, that is just an article of capabilities. I need short and precise guide. By the way, I don't use MySQL nor Oracle.

    Database database sql-server sysadmin security tutorial

  • How to secure a database?
    K Kujtim Hyseni

    Can you give any details (how to consider another database)?

    Database database sql-server sysadmin security tutorial

  • How to secure a database?
    K Kujtim Hyseni

    Hi, I want to secure a database in SQL Server 2008. Here is the situation description: I am using both 'windows' and 'sa' authentication. When I create a database (logged as 'windows' authenticated) I can see and change it (create tables, stored procedures) from logged as 'sa' authentication or vice versa. So, there is no difference whether I create it logged as 'windows' or 'sa'. But, what I need is to secure a particular database i.e. even if I am logged as 'windows' I want the particular database to be accessed only by providing a username and password. Do you have any idea how to resolve this?

    Database database sql-server sysadmin security tutorial

  • Cannot Register New Server in SQL Server 2008
    K Kujtim Hyseni

    Yes I hit 'test' but I got the following message: ------------------- Testing the registered server failed. Verify the server name, login credntials, and database, and then click Test again. Additional information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40- Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) Yes I am using Windows authentication (in fact I can login via 'sa' also).

    Database database sql-server sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups