Archive

Posts Tagged ‘Logic’

Draw Logic Circuit

February 20th, 2012 Comments off

Hi.

I need somenone to draw a 3 different logic circuits (like this one: http://doit.ort.org/course/logic/images/halfadd3.GIF)

(1) The first circuit must:

-take as input a signed integer of 8 bits.
-The result of the circuit must be true only if the integer is equal to -13.

(2) The second circuit must:

-take as input a signed integer of 8 bits.
-The result of the circuit must be true only if the integer is equal to -13, 22 or 0.

(3) For the third circuit you have to build…

Fix Logic On Php File

February 14th, 2012 Comments off

I have a php file that is incorrectly calculating an average, possibly because the logic/formula of where the php is pulling the data from the mySQL table is incorrect. I would like some assistance to get this fixed.

Categories: Fix, MySQL, PHP Tags: , , , , , ,

Propositional Logic

February 8th, 2012 Comments off

Hello,
there are some questions about propositional Logic to be answered , if you have experience please let me knwo.

thank you,

Java Project

September 28th, 2011 Comments off

I need to have an java program doing the below tasks, The following are the deliverables based on the logic
Database: Mysql tables and its structures
All Source code used
All Jar files required for running.
Bug Free, Well Documented code,
If we run Javadoc it should have the comments appropriately.

LOGIC:
1) There are seven differnt property types coming in a separate file, which means there are 7 files to handle each file will have 250 fields in a comma separated file.

2) Create a separate table called realtor_list table with seven to 8 fields, I will give the table struct seperately
3) For every record in step1 per file, You need to insert it to a table using the insertion logic listed in Step:4

4) Insertion:
Insert each of the file into a separate Mysql Table as the logic below,

a) Insert every record in the files into its own table, for file1 table 1, for file2 table2 etc, repeat for all 7 files
b) When you insert, You need to add the key from the realtor_list table, which means there will be one record per
realtor and we need to know for the given realtor we are maintaining the data in seven tables, this field will be
available in the mysql table, We are still coming up logic, there could be one more key depending upon the situation

c) This is daily update, so you need to use logic to insert, I will give the logic separately.

d) There should be logs maintained to ensure that how many record inserted today and how many successful and failed dated.

e) For failures you have to have a failure log which will tell the reason for failure clearly dated.

f) I dont want Threads, Simple code is good enough and we will run through our own scheduler jobs. So not an issue. Code should be JDK1.6 and above.

Categories: Bug, Java, MySQL Tags: , , , , , ,

Add Conditional Logic Autoresponses To Wp Formbuilder Form

August 12th, 2011 Comments off

My client has a form at http://solarbridgetech.com/contact-us/ on their WordPress site that currently sends the same autoresponder to each user who submits the form. The client wants to instead send one of 5 to 7 autoresponders to the user (immediately or within 24 hours) depending upon how the user answers the question.

The form system WordPress is using is FormBuilder plugin.

Changing Logic For Mq4 Code

March 14th, 2010 Comments off

I have a file (mq4) code of EA and a .dll file!
This EA works only with this dll file and only when the dll file is activated.

This EA is restricted with unlock code and account type!

The task is to remove the restrictions and take the code from the dll file into the mq4 file of the EA while saving the performance unchanged. So that the EA can work without this dll file!

Also have the dll file patched so it constantly remains activated.
To test if the dll is active just put the EA on a MT4 platform and do a backtest/strategy test to see if the EA trades.

Categories: Programming Tags: , , , , , ,

Changing Logic For Mq4 Code

March 3rd, 2010 Comments off

I have a file (mq4) code of EA and a .dll file!
This EA works only with this dll file and only when the dll file is activated.

This EA is restricted with unlock code and account type!

The task is to remove the restrictions and take the code from the dll file into the mq4 file of the EA while saving the performance unchanged. So that the EA can work without this dll file!

Also have the dll file patched so it constantly remains activated.
To test if the dll is active just put the EA on a MT4 platform and do a backtest/strategy test to see if the EA trades.

Please contact me if you are interested. I’m willingly to paid USD50 max for this project. Thanks

Categories: Programming Tags: , , , , , ,

Simple Database Operations

February 13th, 2010 Comments off

Included is a ZIP file with 3 files:

callback.php – main script
jos_alphasuserpoints.sql – The database containing the table in question
op-log.txt – the log file

It is simple database and php operations script in which simple logic will be used to manipulate a database table. The database in question is bigger then one table, but this is the only table that should concern you.

A third party server is going to send a string of data to this script in the the following form:

SUCCESS: Fulfillment: http://myserver.com/callback.php?snuid=FSM-ADMIN&affl=test&currency=1234&id=my_unique_id&verifier=alphanum_string Response: GET 200 OK(

!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”

html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en-gb” lang=”en-gb” dir=)

This will be where you come in. The script contains more details in comments. Here is the main part. This is simple database table querying and manipulation. Most of the work has been done, and you should only concern yourself with the following, taken from the script.

//INSERT LOGIC TO CREDIT POINTS TO USERS

//MUST COMPARE SERVER SENT VARIABLE ‘snuid’ AND ALL TABLE FIELDS ‘referreid’

//IF A MATCH EXISTS PROCEED. IF NO MATCH IS DETECTED THE SCRIPT MUST END WITH ‘Callback Validation Failure’

//WITH THE DATABASE MATCH THE SCRIPT MUST THEN GET THE DATA FOR ‘points’ IN THAT ‘referreid’ ROW

//IT MUST THEN ADD THE SERVER SENT VARIABLE ‘currency’ AND TABLE DATA FOR ‘points’

//THEN IT MUST REPLACE ‘points’ IN THE MATCHED ‘referreid’ TABLE ROW WITH THE NEW CALCULATED VALUE

//FINALLY THIS PART OF THE SCRIPT MUST END AND THE DATABASE CLOSED.

//SCRIPT FUNCTIONS
mysql_connect($host,$user,$password);

//SELECT THE DB
mysql_select_db($db) or die( “Unable to select database”);

//DATABASE OPERATION PREP

//CLOSE MySQL
mysql_close();

//THIS IS WHERE THE MOST IMPORTANT PART OF THE SCRIPT SHOULD BE, WHERE YOU WILL CODE THE ABOVE LOGIC

//END INSERT LOGIC TO CREDIT POINTS TO USERS. YOU ARE DONE:) EASY

Serious bids and fluent English speakers only please. I know this is not complicated. I am just not advanced enough to do it. I do understand the logic though.

Script Logic Correction

February 4th, 2010 Comments off

I have a script that shows ads and the queries that shows certain ads to certain countries is not working. So this needs to be restored it did work and all the pieces are in place. This is perfect for skilled coders who can look over the logic with me. Expect a bonus for great code quickly and future projects.

Changing Logic For Mq4 Code

December 1st, 2009 Comments off

I have a file (mq4) code of EA and a .dll file!
This EA works only with this dll file and only when the dll file is activated.

This EA is restricted with unlock code,expiration date and account type!

The task is to remove the restrictions and take the code from the dll file into the mq4 file of the EA while saving the performance unchanged. So that the EA can work without this dll file!

Also have the dll file patched so it constantly remains activated.
To test if the dll is active just put the EA on a MT4 platform and do a backtest/strategy test to see if the EA trades.

Please contact me if you are interested. I’m willingly to paid USD50 max for this project. Thanks

Categories: C/C++, Programming Tags: , , , , , ,

Red5video Streaming Java/flash

September 4th, 2009 Comments off

We need a modification to our red5 java server application

The idea is that a user (or dj) would go to a webpage,
on the page is a flash program which tries to connect to the webcam and sound on the users computer.
the user then streams the video and audio to the server.
the server then streams back to a webpage, or device which can be viewed by as many people as the server can handle.

currently the logic is:

1 input stream = 1 output stream, 3 input streams = 3 output streams

we need to add the ability to do:

x input streams = 1 output stream

We are using red5 server for streaming which we have installed on windows 2008 server. we are streaming to and from red5 using the videowhisper application: http://www.videowhisper.com/?p=Live+Streaming

Basically we are able to create client applications to stream to/from red5 server over RTMP (a streaming protocol) in flash as its quite simple with a bit of flash actionscript knowledge.

However on the server-side, we need to be able to control simultaneous connections/streams from the client application in a dynamic playlist form,
configurable through something like xml or mysql and then combine them into specific broadcast streams.
We would also need the ability to insert flv’s (flash videos) into the dynamic playlist, ability to schedule playlist items (configurable by something like a datetime attribute in the xml or mysql field),
and handle things like automatic switching to the next item in the playlist when a client disconnects (client being the person streaming to the server).

This logic would result in us having similar behavior to windows media server in that, you have a client viewing a specific continuous stream, which could be multiple v

More Ad Logic

July 27th, 2009 Comments off

I need more changes made to the logic that displays
ads

Categories: MySQL, PHP Tags:

Flash As3 Simple Job

July 22nd, 2009 Comments off

I need a person familiar with Flash As3 programming for a simple job.

We’re developing a flash game and need another programmer who can program in-game menu logic.

The logic is quite simple: there are houses (game entities) and the menu which is assigned to each house.
When player presses certain button in the menu, some additional movie clip is set to visible state in the house.
So the house is a set of many small icons and when you press the button – those little icons are set to visible state.

The buttons should check also money logic, so if money is not enough – certain function will be called. And also the small upgrades have simple animation (appearing) so you have to write something like this:

public doUpgrade1():void
{
shop.upgrade1.visible = true;
shop.upgrade1.play();
}

And set the Stop(); on the last frame within the small clip.

If you’re familiar with movie clips and AS3 it’s a very simple task.

There are two types of houses and about 30 upgrades for each house. So you have to make two very similar menus (with different buttons). You will be provided with the detail description and all artwork (houses, menu sketch, button, upgrades) for the job.

Please provide SAMPLES OF WORK IN FLASH AS3 to show me your skills.

Ad Default Logic Finish

June 9th, 2009 Comments off

*** Skilled coders only
*** All code uploaded to server is my property
*** I need this ASAP

On a previous project I had work done where basically using
a count stored in mysql and PHP i would display content, now
I think the logic was not done correctly so this project is
to analyze the result in this file and if a problem fix so the
correct count is incremented in mySQL and content delivered
to the expected percent.

You should be good a looking over the logic of a script to
analyze a problem.

Form Creator Website

June 9th, 2009 Comments off

I am looking to build a clone of formspring.com, I require similar features, however different website design. The website also has to be integrated with PayPal and Worldpay.

Below a list of the required features:

Form Builder
Easy to use form creator allows you to build any type of form to help your business collect data online. The drag and drop functionality allows you to quickly build your form from within the popular web browsers available today (IE 6&7, Firefox, Safari). You can add any kind of form widget (text fields, select lists, radio buttons, check boxes, etc) to your form, and change settings like sizes and layout. The form creator can be used without having to know any HTML or scripting languages.

Data Collection
Data is at the heart of any online form. FormSpring excels in helping you collect, manage, route, and leverage your form’s data. With FormSpring, you can store data in our online database, share that data with others via a simple link, export your data in Excel or Word, and use our API with other databases or applications. More

Work With Script Logic

May 7th, 2009 Comments off

*** Skilled coders only
*** All code uploaded to server is my property
*** I need this ASAP

On a previous project I had work done where basically using
a count stored in mysql and PHP i would display content, now
I think the logic was not done correctly so this project is
to analyze the result in this file and if a problem fix so the
correct count is incremented in mySQL and content delivered
to the expected percent.

You should be good a looking over the logic of a script to
analyze a problem.

Work With Script Logic

April 29th, 2009 Comments off

*** Skilled coders only
*** All code uploaded to server is my property
*** I need this ASAP

On a previous project I had work done where basically using
a count stored in mysql and PHP i would display content, now
I think the logic was not done correctly so this project is
to analyze the result in this file and if a problem fix so the
correct count is incremented in mySQL and content delivered
to the expected percent.

You should be good a looking over the logic of a script to
analyze a problem.

Figure Out And Fix Count Logic

April 18th, 2009 Comments off

*** Skilled coders only
*** All code uploaded to server is my property
*** I need this ASAP

On a previous project I had work done where basically using
a count stored in mysql and PHP i would display content, now
I think the logic was not done correctly so this project is
to analyze the result in this file and if a problem fix so the
correct count is incremented in mySQL and content delivered
to the expected percent.

You should be good a looking over the logic of a script to
analyze a problem.

Domain Appraisal Script

April 12th, 2009 Comments off

Logic has been founded.
A simple and fast job for anyone who can do this.
Give accurate estimation of completion date and working demos by dates within +-2 days range at most.

This domain appraisal script will ask users a series of 7-8 questions depending on the domain name. Logic is provided and directions to be exact. The script will calculate the value of the domain name using the logic described below. Give me an estimate of completion date by. A demo date by. Bid only if you can communicate on a regular basis, if you have problems with communicating and cannot complete project by date of estimation given +-2 days don

Logic Core: Research And Code

April 11th, 2009 Comments off

*** Skilled coders only
*** All code uploaded to server is my property
*** I need this ASAP

On a previous project I had work done where basically using
a count stored in mysql and PHP i would display content, now
I think the logic was not done correctly so this project is
to analyze the result in this file and if a problem fix so the
correct count is incremented in mySQL and content delivered
to the expected percent.

You should be good a looking over the logic of a script to
analyze a problem.

Flash Expert Xml Data Driven

April 9th, 2009 Comments off

Hello,

I am looking for a flash expert, who can work with data driven flash games. We have a roulette game in flash, we have the source code. Logic now is inside this flash source code, i want the logic and other parameters moved to database tables so that if we want to modify the logic it can be easily done by updating the tables.

Flash skin can also be improved.

Here is the flash link.

http://www.swadesi.com/dev/web/casino/launch_game.php?game=4&width=640&height=480&mode=fun

If you dont have good exposure to flashXML, please dont waste time.

thanks

Twmanage

Javascript Analytics Script

April 6th, 2009 Comments off

I need a javascript/css application written that performs a bunch of analytics operations/logic.

The application will be a javascript snipplet of code that you can put on any html page, the application will also use a CSS file to do some of the effects I will explain later.

When a user enters the page:
- The javascript will send an ajax post to a controller file on a PHP backend to indicate
A. The referrer from where the visitor came from
B. The get/post variables sent to the page
C. The Operating System/Browser Version/Desktop Settings of the user
D. The time/date from the users local time
E. The users IP address/geographic region (I will need lat and long of the user)
F. The username of the user(this will be saved in a cookie that can be read and sent back to the controller)
G. The page location(URI) the user is currently on
H. The server response code(whether its 404 error, 302 found, 303, 500 error)
I. Check for another javascript – The javascript application will check the page to see if another javascript function with function name responseCode01() was loaded.

responseCode() will be a function that sends out an ajax post to a php backend controller with the following details about the user’s request:

A. The referrer from where the visitor came from
B. The get/post variables sent to the page
C. The Operating System/Browser Version/Desktop Settings of the user
D. The page location(URI) the user is currently on

After this has all been loaded, the javascript app will then call another php backend controller to check if the page/URL they are on exists in a database, if the URL exists in the database, the javascript will show a popup box on the page (with the page lights turned off), jQUERY has a lightbox API to do this..
The popup contents will be sent back from the ajax controller.

What you will need to send into the ajax php backend controller is:

A – Username of the user
B – IP address and geographic location (Lat and Long of the user)
C – HTTP URI

What will be sent back to you:
A – True if you need to show a popup box, false if you do not
B – The contents of the Popup box if you need to show a popup box
C – How long until you should show the popup box (delay)

What you will need to do is put logic in, if true to show the popup box and show the popup box on the given delay (if delay isn’t sent then put the delay as default — 30 seconds)

After the logic is in place, and the popup box is shown or not shown, you will need to put a floating div at the bottom of the browser that will have two buttons, the first button will state “Report Bug” and you will open a URL that I will provide for you, the second button will be a button called “Send Feedback” which will open a url that I will provide for you.

When the user exits the page, on page exit, you will send another ajax post to a controller with the total time the user was on the page, the username of the user, the IP address, geographic location of the user

Domain Appraisal Script

April 4th, 2009 Comments off

This script will be easy to code because the formula/logic are already design by me. I want your quote on it and the time you think can be completed. My site is a business site, I will only play when the script is complete and transfered.

Here’s the logic behind it and the description. This one is going fast.

You will have to upload this to my site, create a section on the front page for

Three Tier Architecture Proj

March 17th, 2009 No comments

We are looking for a 3 tier architecture site designed in PHP. I always refer to it as a 3 Tier site but you may think of it better as Model, View, Controller. Each layer should communicate to each other using XML. As an example we have included a simple 3 tier architecture signup application, using XML for communication. Please follow this example.

We are a firm of Computer Scientists, so we have created the database and have come up with how we want the logic to be handled in the middle(Logic Layer).

So why do we need you ? Basically we need you to do the processing and actual coding. Also to come up with the xml communication between the layers will be your job.

This project will lead to a constant source of work for the next 6 or 7 months for whomever we choose and can handle the processing or coding with the logic we require.

User-Interaction(Front End)- Dont worry about how the front end will look, this is just to give you an idea of the logic we will be providing you to get this done. Since we are using XML to handle the communication between layers, we will have our front end designed graphically by graphics designers. For right now i just want some bare textboxes and text. :

Front End: -> socialroots.com/tmp/scriptlance.ppt

Logic Layer: After we choose you, we will pretty much tell you how we want the logic layer coded. So the first day or 2 of the bid will be just explaining you how we want this coded.

I have also provided the Database (data Layer): This layer should again communicate with only the 2nd layer using XML. This layer handles all the SQL operations.

Datbase Design: -> http://socialroots.com/tmp/ERDIAGRAM.sql.zip

What we need: Someone who is experienced in the MVC php sites using xml as the communication language between layers.

We will provide database structure and psuedo code or explanations.

I look forward to seeing your comments and bids.

Here is the zip file of the 3 tier architecture signup php program:

socialroots.com/tmp/controller_signup.zip

If you have any creative feedback please let me know.

Java Emulator

March 16th, 2009 No comments

I would like you to make me an emulator in Java
enables the user to design logic expressions using quantum logic gates, simulates them and evaluates the results , it will show how these logic expressions can be performed with testing algorithms . It will contain universal gates which can perform any logic operation and any Boolean expression as the quantum computer would do.

more information about the program will be discussed afterward.

Bear