Archive

Posts Tagged ‘Output’

Vector.cpp

January 31st, 2012 Comments off

The file must be called vector.cpp
This program will store in miniVector v a list of 15 random integers from 0 to 99, then it will output the vector, sort the vector, then output it again sorted. The miniVector class is on page 250.
Program Definition
1. Create program definition with the following templates and methods:
// output miniVector v
template
void writeMiniVector(const miniVector& v);
// use insertion sort to place miniVector v in descending order
t…

Script Output Test (15 Minutes)

January 15th, 2012 Comments off

This a very simple test that you are going to perform on my website that. The whole test project should not take you more than 15 minutes. Below are the steps for the test:

1) Log on to the administrative section of one of my websites. The winning programmer will be given the the username, password and the url for the administrative page.

2) On the top of the page click on Keywords Maker link. See the uploaded keywordsmaker.gif file.
3) Locate the text box labeled Add test item.
4) Enter…

Simple Php Scrap Script

January 3rd, 2012 Comments off

Thank you for having interest to this project.

I need PHP script which could scrap news from 2 sites (input) and then send the data to WordPress (output). Later, this PHP script will attach to CRON Scheduler on webhosting and will do news scraping automatically on 2 hours basis.

I have made PHP script for the output and this will make your job a lot easier because you know exactly what kind the output which I need.

Project details is on file attach.

I am on tight budget, if you are…

Changing The Qualities And Output Type Of A 3-d Printer Prog

December 22nd, 2011 Comments off

The software I want to change is the program. Which slices up STL files into slivers. using a cutting plotter, vinyl and cardboardyou can assemble basic models in real life.

There are 3 issues I want changing with the program.

1.in the Tool and Material Library, (which is used to change some of the geometry in me RPP file which is created with the program) I want to set my internal border thickness to 0.00 so that it disappears completely off the RPP file. At the moment it stays there, I…

Text Sort Program With Excel Output

December 15th, 2011 Comments off

Please take a look at the screenshot, it will help you understand it: http://img210.imageshack.us/img210/3092/programv.png

I need a software designed that is capable sorting/processing a large amount lines of text and outputting into excel.
It should easily work with 50,000+ keywords and 2000 Groups and not freeze up.

Column A will contain the group keywords. Column B will contain the keywords to be sorted.

The keywords in column B should be sorted into the keyword of column A. If the …

Accounting Software – Output

November 25th, 2011 Comments off

We are looking for someone who has experience with a wide variety of accounting software packages. The deliverable will be two items:

1)A listing of 10 to 15 of the most commonly used accounting software packages in North America. Please include the source of where this information was obtained; and

2)Output of the three accounting statements (Balance Sheet, Income Statement, Cash Flow) to Microsoft Excel (eg. CSV or XLS) or other format (see below).

The goal of the project is to dete…

Sql Dbase & Php Site With Jquery Ajax

November 3rd, 2011 Comments off

We want to stream or push certain text outputs to an audience. We have a spreadsheet which is monitoring a large dataset for changes and values. Once certain criteria is met we generate an output in real time to the SQL dbase. The spreadsheet typically generates a few thousand lines of output per day.

1. The output will be similar to this

INSERT INTO TableName (Company, Field1,Field2,Field3) VALUES (ABC,10,8,Yes)

The dbase will take that line and input the values into the corresponding Company Name, Fields1, 2, 3 in the dbase.

2. The dbase will perform a count on how many instances a particular output is received for a Company.

3. Publish in real-time from SQL to webpage, using JQuery, AJAX or any other technology, Pls specify what tools you will use.

4. Users need to be able to select filters on the queries/data stream, PHP scripting for users to select based on multiple fields that tie back to the SQL dbase fields.

5. User registration and permissioning.

6. Clean and minimalist website design. Around 10 pages max.

7. Ideally should be in CMS form where I can update some pages when I need to or add in components.

In order to be considered, pls outline what technologies you would use, and what similar projects you have done. Any portfolio reference is welcome. Any questions or clarifications are also welcome. Thank you.

Magento Tuning

October 28th, 2011 Comments off

Four Magento jobs in one.
Coder must have excellent experience with Magento.

1. Make Fooman Speedster work on a multi site environment.
At the moment Speedster is installed but disabled because it breaks css on site2. It works great on site1. Mulitsite is setup according to this:
http://dx3webs.com/front/2010/08/magento-multistore-setup-under-plesk/

2. Fix small problem with missing html output on bundled producs. The output is from J2T Points & Rewards.
The text: “With this product, you earn xxx loyalty point(s).” is missing on some products. It is probably a theme issue.

Example correct output: http://www.lowbrassmusic.com/fnugg-t-shirt/t-shirt-make-fnugg-not-war
Example of missing output: http://www.lowbrassmusic.com/tuba/tuba-and-piano/pie-jesu-from-requiem-op-48-no-5

3. Fix problem with Magento not using correct email template when sending out New Password. It always uses default.

4. Fix problem with wishlist. If customer is logged in and adds a bundled product to the wishlist without choosing product options, the entire store suddenly slows down 300%.

Magneto version: 1.5.1
Dedicated server with root access.

Please contact me before bidding if you have any questions. I also would like you to look at the problems on the frontend (2-4) before accepting the job. We would like to avoid ANY misunderstandings don’t we?

Powerpoint Or Flash Presentation

October 28th, 2011 Comments off

** Please read this entire job description before posting as there is instructions to follow for bidding **

I am looking for a designer who can take a plain vanilla PowerPoint presentation and make it look sharp and eye catching for a trade show.

The source file is a PowerPoint presentation – plain and simple and not a huge amount of pages. The expected output is a PowerPoint or Flash presentation that scrolls or animates the text in the source file. The output resolution should be appropriate for a 1920×1080 monitor.

Esthetics are important – we want it to look good and eye catching, but not too flashy. The output needs to be clean, crisp and professional.

I have attached the basic PowerPoint presentation – if you can provide a sample of your work or what you would propose, it would help in the decision process.

We are looking for someone who knows they can do a good job – bid with confidence as I am a long time ScriptLance user with excellent references.

Contract funds in escrow upon project commencement, paid out after final product received. Will consider milestone payments if applicable.

When placing a bid, please refer to my name “Aaron” in your bid so I know that you have read the full details of this posting and agree with the terms.

Scraping Items From An Ebay Store Output To Ebay Excel File

October 12th, 2011 Comments off

I need software or script to scrape all listings from an ebay store (about 5500 items and number increase daily as more listing will be listed). The output must be compatible with ebay for quick relist. The description of each item will need some changes such as policies, company name. The pictures need to be saved to a folder and each item will have picture links to be included.
I would like the exact items from this ebay store output to a file, so I can relist to my ebay store. The pictures will be hosted on my server or auctiva.
Items are Jewelry, so you will need to record all item specifications and output to a file that is compatible with ebay. If you have not done this please do not bid.
If you are going to do this manually I need a big team that is able to get 5500 items done in no more than 1 week.
Right now I’m looking for a script that I can run monthly to update new items. Please specify which method you are going to use for this job, Script or Manual. I won’t be paying more for manual job.

Scripting + Database Conversion 2

October 2nd, 2011 Comments off

I’ve setup an Excel file in which I have monitored the value of Dutch coins. I’ve acquired the values from the year 1996 up to 2011. You can see the data on sheet2.JPG

Frankly what I want is this Excel file to be published on a webpage (already have a domainname for it). The output should look like the on output on sheet1.JPG

There in the blue fields one can choose a denomination of the coin and than a certain year. The data is than extracted from sheet2 and put in the tables and also graphs.
So the website user should also be able to choose its own coin and year and the site should than give the proper output and the graphs should be generated accordingly.

As said I have already acquired allot of data from past years, preferably I want this data to be converted into the database so I don’t have to put it in manually again.
Also I want to be able to add new years in the future. So when I have values for the year 2012 I want to be able to easily add it to the database.

Later on I most probably want the script/database to have more functions but these are currently the main functions I’m looking for.

I would like the project to be finished within 2 weeks after the project start.

Don’t hesitate to ask any additional questions if you think you need some things clarified before you make your bid.

Looking foreward working with you.

Windows Notificaiton System

October 1st, 2011 Comments off

Requirement/Scope of Work
==========================
It will be two programs. One run on client side (Windows 7 & XP) and another on server side (Windows Server 2008 R2).

Client side (2 utilities):
[1] A utility to randomly create local administrator password and update to server database.
[2] A utility to notify user about the last logon time.

Server side (Single program):
[1] Keep up to 3 password history generated on client side in database. Administrator can do a web based login and query the computer records.
[2] Email notification to users about their last logon time if greater than 30 days (or any value that desired) then a notification will be sent. Administrator can generate report from the system as well.

Appendix:
———-
Technical Details:

1) Query “msDS-LastSuccessfulInteractiveLogonTime” attribute (instead of LastLogonTimeStamp) on Active Directory with additional email attribute

Sample Script can be found at http://www.rlmueller.net/Last%20Logon.htm

Info on “msDS-LastSuccessfulInteractiveLogonTime”:
http://msdn.microsoft.com/en-us/library/ms677437(VS.85).aspx

2) Send an email via SMTP to the list of user [output of #1] that has the last logon day is great than 30.

3) Create a popup message box based on user logon name.

4) Administrator can logon through web based to view the local administrator password and user last logon details.

References:
http://www.rlmueller.net/ADOSearchTips.htm
http://msdn.microsoft.com/en-us/library/ms676855(v=VS.85).aspx (E-mail-Addresses attribute)

Expected Output

Step #1 output (script provided from the URL)
===============================================
CN=Lola Jacobsen,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never
CN=Terry Adams,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;7/29/2010 6:08:11 PM
CN=Jimmy Bischoff,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never
CN=Mark Brown,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never

Note: Need additional info which is the email attribute. Account without email attribute will be ignore/discard

Step #2 Output
==============
Dear Terry Adams,

You last logon time is on 7/29/2010 6:08:11 PM. Your account will be inactive soon. Please logon before [last logon + 30 days].

Please contact IT Helpdesk at 1800-Helpdesk if you have any question.

Thank you,
IT Helpdesk

Step #3 Output
===============
Dear Terry Adams,

You have successfully logon to server. Your next logon to server must not later than [today date + 30 days].
Exceeded the allowable period, your account will be disabled. Please contact IT Helpdesk at 1800-Helpdesk if you have any question.

Step #4 Output
==============
Name Logon Name Email Last Logon Date
Lola Jacobsen Lola.Jacobsen Lola [ a t ] abc com Never
Terry Adams Terry.Adams terry [ a t ] abc com 7/29/2010
6:08:11 PM

Refererence:
http://blogs.dirteam.com/blogs/jorge/archive/2008/02/11/showing-last-logon-info-at-logon-in-windows-server-2008.aspx

Fedex Script Macro Or Something

September 19th, 2011 Comments off

Site: www.fedex.com/Tracking

Brief: Currently FedEx allows you to enter up to 30 tracking numbers for tracking information. I need a script, macro, program, something that connects to FedEx api, ANYTHING that will allow me to run over 30 tracking numbers at a time and generate a browser output or excel output of the delivery status.

Example: I have a excel file with 200,000 fedex tracking numbers. I need to be able to copy and paste or upload or import the file and get an output of the tracking number + the delivery status next to it (initiated, delivered, etc…)

Please know what you are doing and let me know how you propose to get this done.

Windows User – Lastlogondate

September 18th, 2011 Comments off

Platform: Windows 2008 R2

Program: 64 bit Windows Application or VBScript

Program Logic:

1) Query LastLogonTimeStamp on Active Directory with additional email attribute
Script can be found at http://www.rlmueller.net/Last%20Logon.htm

2) Send an email via SMTP to the list of user [output of #1] that has the last logon day is great than 14.

3) Produce a simple HTML report based on step #2

References:
http://www.rlmueller.net/ADOSearchTips.htm
http://msdn.microsoft.com/en-us/library/ms676855(v=VS.85).aspx (E-mail-Addresses attribute)

Expected Output

Step #1 output (script provided from the URL)
===============================================
CN=Lola Jacobsen,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never
CN=Terry Adams,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;7/29/2010 6:08:11 PM
CN=Jimmy Bischoff,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never
CN=Mark Brown,OU=FIM Accounts,OU=Lab Objects,DC=woodgrovebank,DC=com;Never

Note: Need additional info which is the email attribute. Account without email attribute will be ignore/discard

Step #2 Output
==============
Dear Terry Adams,

You last logon to server is on 7/29/2010 6:08:11 PM. Your account will be inactive soon. Please logon before [last logon +

14 days].

Please contact IT Helpdesk at 1800-Helpdesk

Thank you,
IT Helpdesk

Step #3 Output
==============
Name Logon Name Email Last Logon Date
Lola Jacobsen Lola.Jacobsen Lola[a t]abc com Never
Terry Adams Terry.Adams terry[a t]abc com 7/29/2010 6:08:11 PM

Drupal – Xml Datafile Output For Web App

September 16th, 2011 Comments off

I have a drupal website and we just designed a web app for smartphones. I have a database that we created in Drupal and output in XML. I am using a php script to query the xml file to display the data in the web app.
I need the following:
1) Help with the output of the data in our web app
2) need to make the phone number field a link so you can click it and dial on the phone
3) Need to make the email field a link as well so you can send email from the web app
4) Need to be able to integrate with google maps to display map of the resulting location

The Drupal and XML work is done. we just need help with the query and output for the web app page.

Php Or Html Output To Pdf

September 16th, 2011 Comments off

Objective is to submit FORM resulting in PDF format.
Possible use of “TCPDF”

On my website I use a basic html form that calls a Perl script
resulting in a html document.

To see this in action –
Go here:
http://kaktus.com/forms/qcd/frm1.html
scroll to bottom and us this email address to gain access.
test@test.com
—————————————————–
Here is what I wish to accomplish.
User to have choice of 2 output formats … either html or PDf

In addition –
Either or both resulting formats may be emailed to the user
————————————————
I have fooled around with “TCPDF” and feel it is probably the
best solution. However, I am not a programmer, therefore, I am
receptive to any suggestions or ideas you may have.

Perhaps it is possible using “TCPDF” to capture the existing html result and
converting that to PDF. Thus avoiding changing existing
forms and scripts. This procedure would save a lot of work.

Please submit your proposal with an explanation of how
you would accomplish the entire task.

Java Applet – Display Remote Html With Js

September 9th, 2011 Comments off

I’m looking for a simple Java applet (including source code, of course) and the corresponding PHP page. All I need the applet to do is get the HTML contents of a remote URL and display it on the page using Javascript.

I’ve done my research and I think I’m probably 80-95% there but I must be doing something wrong. I’m developing in Eclipse and I did include the reference to plugin.jar so that the applet compiles. I’m just looking for someone to help me finish it off. I NEED THIS DONE IN THE FORMAT BELOW. I DO NOT WANT SOMEONE TO START FROM SCRATCH. If your bid is over $100, don’t bother. Here is the code:

***** BEGIN INDEX.PHP *****

<!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”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
<script type=”text/javascript”>
function update(updatetext)
{
document.getElementById(‘update’).innerHTML = updatetext;
}
</script>

</head>

<body>
<applet code=”GetHTML.class” width=”300″ height=”300″ style=”border:1px solid #000;” mayscript=”mayscript”>
<param name=”useragent” value=”<? echo $_SERVER['HTTP_USER_AGENT']; ?>” />
<param name=”url” value=”http://www.google.com” />
</applet>
<div id=”update”>
No change yet
</div>
</body>
</html>

***** END INDEX.PHP *****

***** BEGIN GetHTML.java ******

import java.applet.*;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.PrintStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import netscape.javascript.JSObject;

public class GetHTML extends Applet
{
public void init()
{
String output = getUrlContent(getParameter(“url”), “GET”);
JSObject mainWindow = JSObject.getWindow(this);
mainWindow.eval(“update(‘” + output + “‘);”);
}
public void stop()
{

}
private String getUrlContent(String url, String httpMethod)
{
try
{
URL u = new URL(url);
HttpURLConnection conn = (HttpURLConnection)u.openConnection();
conn.setRequestMethod(httpMethod);
conn.setRequestProperty(“User-Agent”, getParameter(“useragent”));
InputStream is = conn.getInputStream();
ByteArrayOutputStream output = new ByteArrayOutputStream();
byte[] buffer = new byte[1024];

for (int bytesRead = 0; (bytesRead = is.read(buffer)) != -1; )
{
output.write(buffer, 0, bytesRead);
}
return output.toString();
}
catch (Exception e)
{
e.printStackTrace();
}
return null;
}
}

***** END GetHTML.java ******

Scripting + Database Conversion

September 8th, 2011 Comments off

I’ve setup an Excel file in which I have monitored the value of Dutch coins. I’ve acquired the values from the year 1996 up to 2011. You can see the data on sheet2.JPG

Frankly what I want is this Excel file to be published on a webpage (already have a domainname for it). The output should look like the on output on sheet1.JPG

There in the blue fields one can choose a denomination of the coin and than a certain year. The data is than extracted from sheet2 and put in the tables and also graphs.
So the website user should also be able to choose its own coin and year and the site should than give the proper output and the graphs should be generated accordingly.

As said I have already acquired allot of data from past years, preferably I want this data to be converted into the database so I don’t have to put it in manually again.
Also I want to be able to add new years in the future. So when I have values for the year 2012 I want to be able to easily add it to the database.

Later on I most probably want the script/database to have more functions but these are currently the main functions I’m looking for.

I would like the project to be finished within 2 weeks after the project start.

Don’t hesitate to ask any additional questions if you think you need some things clarified before you make your bid.

Looking foreward working with you.

Simple Script To Parse Csv List Of Events Then Output Csv

September 5th, 2011 Comments off

Background:
We are trying to measure our annual workload, across our clients. The input file lists events that occur seasonally for each client. Each client + season + event_type combination has certain tasks associated with them, and those tasks queue off of the events to start and end. So, for instance, we might build invoices (we’ll call it ‘task_1′) starting 14 days after event type_A occurs at a client, and ending 3 days before the next event_type_B at the same client. Each task has specific rules for which event_types they queue off of (see: “Task Rules” below). This is what I want to know: On a given day of the year, how many clients are we performing task_1 for? How many clients are we performing task_2 for that same day? etc.

Requirements:
* IMPORTANT: Please optimize your code for readability, rather than efficiency–I don’t care how slowly it runs; I need to be able to read it. I have some programming knowledge, but please err on the side of simplicity and modularity.
* I would prefer this in Python, maybe C#, but any common scripting language will do (if you can’t do it in those).

Input: “DatesToBeProcessed Sample.csv”
* This is the exact format of the input file, with one exception: I nulled the client names.
* Iterate through the dates in range (make range all of 2011)
* Apply the rules below to sum how many clients for which we’re performing each task on a given date in range.
* Allow for updating or adding task rules.
* Do not count events for clients with #N/A in the team column towards any task’s sum.

Output: “sample output.csv”
* This file is an example of the output I’m looking for, with random output for sums of clients under each task.

Task Rules:
I can handle the specific rules, as long as you can give me a way to handle something like this example:
Example: We are performing task_2 for a given client if today is between 14 days after event_type_a of a season with major_status of 1 (Boolean), and 7 days before event_type_b of the next season with major_status of 1.

I guess, looking at this, you’ll first need to iterate through the input file and get a (list? array? dictionary? I don’t know the right term) of seasons, each with an array of events…

Add Css To Php Email Output

August 31st, 2011 Comments off

I have dynamic php contact form. Right now when the form gets submitted I’ll receive an email with plain text. I need to add some CSS so the email I receive looks little nicer. Change the font color and text size and maybe image.

I need this to be done asap;)

thanks

Php Correction

August 27th, 2011 Comments off

I recently installed PHP on my computer so I could use dreamweaver to update my website. When I tested the installation by going to “localhost” On my browser, I received an error. I know it has something to do with my website installation on my hosts site but I do not know how to fix it. Anyone out there able to fix this? My project will pay $15 USD.

The error message received is:

document.location.href=’install/install.php’”; include_once (‘includes/global.php’); include_once (‘includes/functions_login.php’); include_once (‘includes/functions_item.php’); if (eregi(‘logout’, $_GET['option'])) { logout(); } include_once (‘global_header.php’); if (isset($_GET['change_language'])) { $all_languages = list_languages(‘site’); if (in_array($_GET['change_language'], $all_languages)) { $session->set(‘site_lang’, $_GET['change_language']); } $refresh_link = ‘index.php’; $template_output .= ‘

‘ . MSG_SITE_LANG_CHANGED . ‘

Please click ‘ . MSG_HERE . ‘ ‘ . MSG_PAGE_DOESNT_REFRESH . ‘
‘; $template_output .= ”; } else if (isset($_GET['change_skin'])) { $all_skins = list_skins(‘site’); if (in_array($_GET['default_theme'], $all_skins)) { $session->set(‘site_theme’, $_GET['default_theme']); } $refresh_link = ‘index.php’; $template_output .= ‘

‘ . MSG_SITE_SKIN_CHANGED . ‘

Please click ‘ . MSG_HERE . ‘ ‘ . MSG_PAGE_DOESNT_REFRESH . ‘
‘; $template_output .= ”; } else { include_once (‘global_mainpage.php’); } include_once (‘global_footer.php’); echo $template_output; ?>

Create WordPress Shortcodes To Work With Woo Themes

August 17th, 2011 Comments off

I need three shortcodes to work with Woo Themes’s Feature Pitch theme.

shortcode #1
Modify 22 lines of code into a short code. I managed to turn the code into a shortcode myself but the output shows at the top of the page because I used echo rather than return. Your job is to convert the 22 lines into a shortcode that I can output anywhere on the page. Additionally, I need you to add the shortcode attributes into the code. See attached woo code I need converted to a shortcode

shortcode #2
I need a series of small related shortcodes that will create the identical output as seen in the attached file.

The key requirements are:
1 – I need to be able to call a shortcode from within a shortcode.
2 – No tables

Basically, instead of using s single shortcode like this:

[prodcut_block img="dir/file.png" title="My H1 Title" embed="[a short code inside a shortcode] file=”[a short code inside a shortcode]” text=”Closing text”]

I want to use do this instead, so that I can change easily change the order in the output, i.e. if I want the title over the image or the title under the img, etc.

[img image="/directory/file.png"]
[product title="Main Heading"]
[player embed="[a short code inside a shortcode]“]
[dwnlink file="[a short code inside a shortcode]“]
[txt text="This file is one sale!"]

As you see in the attached screen capture, I want a basic two-column layout with the image in the left column and the rest of the attributes in the right column. However the left column need to autosize to the height of the right column so the image will vertical center to the left content no matter what the height of the right column is.

I will provide the basic naming and css requirements such as shortcode names, padding, margin, etc.

shortcode #3
Similer to #2 only the output is different. See attached

All together this should take 1 to 3 hours to complete so no crazy high bids. I am can modify code a little but I am not a functional coder at all but I not know to supervising coders and what it takes to get a job done. This is a easy and small job.

Php Encoding

August 17th, 2011 Comments off

Hello,

Everyone I need a simple PHP Script ( 1 files script ) . I don’t need any GUI or anything.

The Script should do the following:

1. I set a string in a variable.
2. It should encode the string ( Preferably in CP1251 or any other encoding if you believe it will work )
3. The output after encoding should be echo to the screen.

Both the echo of Input and Output should be 100% same in the web browser however when I look into the source code of the page it should show the encoded characters in the source code.

For example:
Input: are
Output on browser: are
Output page source code: & # 1 0 7 2 ; r e

Input: the
Output on browser: the
Output page source code: t h & # 1 0 7 7 ;

( I have added spaces between each character the browser would make it look like the original text )

Regards

Categories: GUI, PHP Tags: , , , , , ,

Lab 6: Strings And Collections

August 2nd, 2011 Comments off

Scenario/Summary

In this lab, you will create three programs:

Index.java
Index2.java
ThreeArrayLists.java

Deliverables

Program files for the following program:

Index
Index2
ThreeArrayLists

At the beginning of ALL your programs, put the program name, your name, and a brief description of the program.

Example:
/***********************************************************
Program Name: Index
Programmer’s Name: Nana Liu
Program Description: This program checks the occurrences of characters, etc…
************************************************************/

How to submit your assignment:

The programs MUST have the same names as the assignment title.
Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
You must use a zipped folder to send your Weekly Assignment to the Dropbox. Do not send subfolders within your zipped folder. Place ALL of the .java and .class files for the week into the one zipped folder. The zipped folder should be named: YourLastName Week 6, and this zipped folder will contain all the weekly programming assignments.
Put all program source files in a Word document with a screen shot of all your program output.

L A B S T E P S

STEP 1: Index (10 points)

Write a Java GUI application called Index.java that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

Sample Program output:View Output Description

STEP 2: Index2 (10 points)

Write a Java GUI application called Index2.java based on the program in Step 1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.

Sample Program output:View Output Description

STEP 3: ThreeArrayLists (20 points)

Write a program called ThreeArrayLists.java that declares three arrayLists referenced by the objects named priceList, quantityList, and amountList. Each arrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers.

The numbers that should be stored in price are 10.62, 14.89, 13.21, 16.55, 18.62, 9.47, 6.58, 18.32, 12.15, and 3.98.
The numbers that should be stored in quantity are 4, 8.5, 6, 7.35, 9, 15.3, 3, 5.4, 2.9, and 4.8.

Your program should pass object references to these three arrays to a method named extend(), which should calculate the elements in the amount array as the product of the corresponding elements in the price and quantity arrays (for example, amount [i] = price[i] * quantity [i]).

After extend() has put values into the amount array, create a method that displays the results of all three lists. Appropriate formatting techniques need to be used to produce a formatted output.

Sample program output:

1) 10.62 * 4.0 = 42.48

2) 14.89 * 8.5 = 126.56

3) 13.21 * 6.0 = 79.26

4) 16.55 * 7.35 = 121.64

5) 18.62 * 9.0 = 167.58

6) 9.47 * 15.3 = 144.89

7) 6.58 * 3.0 = 19.74

8) 18.32 * 5.4 = 98.93

9) 12.15 * 2.9 = 35.24

10) 3.98 * 4.8 = 19.1

Get Search Result From Zillow Output As Html

July 18th, 2011 Comments off

This is a very simple project for the right person – I want you to get XML data from the Zillow API based on a user search, and return the results on a simple HTML page. Samples of both search form and HTML page attached.

The search form should take a US house address like “340 N Oakhurst Dr APT 206 Beverly Hills, CA 90210″ and search that address via the Zillow API – more info here: http://www.zillow.com/howto/api/GetDeepSearchResults.htm

You need your ZWSID (API key) – get it here: https://www.zillow.com/webservice/Registration.htm

Here’s a live sample of the data returned by the search – plug in your ZWSID in the URL below:

http://www.zillow.com/webservice/GetDeepSearchResults.htm?zws-id=%3CZWSID%3E&address=2114+Bigelow+Ave&citystatezip=Seattle%2C+WA

All server-side coding should be done in PHP.

The search should be fault-tolerant – if someone puts in an address that’s not found, display a clear English-language message (not just an error number).

Optional: Extra bonus $10 if you make the search form recognise and accept MLS number also and return correct results for that number.

Optional: Extra bonus $10 if you test input and output and ensure it’s valid xHTML and works in all major browsers (IE7,8,9, FF4/5, Chrome latest, Safari latest). (I have attached sample output but it’s not valid)

If there’s any important details that I’ve left out let me know and I’ll clarify here.

Web Hosted Software

July 1st, 2011 Comments off

I am looking for someone to create a Basic software for me that will find the competitors of a website

I the software will be hosted on a webpage
Input criteria will be a website address
Select search engine by checkbox
google
bing
yahoo

select number of pages (drop down menu)
1-10 of each serps

results type (drop down)
all
paid search listings
organic search listings

Output will be:
urls of organic competitors based on selection of google bing, yahoo
button to download the urls in txt format

Optional outputs:
Traffic value or volume of each output,
overlap keywords
keyword count

Example:
Search for competitors for this website
thedietsolutionprogram.com

Will output the results pages of competitors
Organic
Google ppc
yahoo ppc
see attached

advanced software #1
this would be a separate software hosted on a different page
put in the url of the competitor and will output all of the urls on that domain

Advanced software # 2
Find keywords a site is using
input: type in url

output: keywords of that site that are being used to drive traffic by organic and ppc (google, yahoo)

Vb Script For Bar Code – Modification

June 22nd, 2011 Comments off

We need an existing VB script modified. The script looks at an image loadfile (See “current input.rar”), identifies the

An (unsigned) Integer Calculator

June 16th, 2011 Comments off

Write comments in your program, a discussion of what you see (and why), when you run this program (there should be some unexpected results).

Sample Output (no user input required):

INT_MIN=-2147483648
INT_MIN SQUARED=0

Squaring powers of 10, storing in INT (32 bit)
10 squared = 100
100 squared = 10000
1000 squared = 1000000
10000 squared = 100000000
100000 squared = -2147483648

FLT_MAX=3.4028234663852886e+038
FLT_MAX DOUBLED=1.#INF000000000000e+000

FLT_MIN=1.1754943508222875e-038
FLT_MIN DIVIDED BY 10 =1.1754946310819804e-039

DBL_EPSILON=2.2204460492503131e-016
((2+DBL_EPSILON)+DBL_EPSILON)=2.0000000000000000e+000
(2+(DBL_EPSILON+DBL_EPSILON))=2.0000000000000004e+000

.2 summed 100 times =1.9999999999999961e+001
.2 summed 10000 times =2.0000000000003176e+003

L A B S T E P S

STEP 1: (Unsigned) Integer Calculations (10 points)

(i)
Locate the smallest (negative) integer, INT_MIN, and print it. Then square INT_MIN and print the output.

(ii)
Find the smallest power of 10 that when squared in C++ gives the wrong value. Present output that indicates the power chosen and the incorrect result that C++ calculates.

STEP 2: (Single-Precision) Floating Point Calculations (20 points)

(iii)
Find the largest real value, FLT_MAX, and print it. Then double FLT_MAX and print the resulting value.

(iv)
Find the smallest positive real value, FLT_MIN, and print it. Then divide FLT_MIN by 10 and print the resulting value.

(v)
If e represents double-precision machine epsilon for C++ (DBL_EPSILON), calculate 2 + e + e first by adding the numbers (using a computer) from left to right and then from right to left.

(vi)
Sum (DO NOT MULTIPLY) repeated copies of 0.2:

100 times and print the output to as many digits as possible. Does it equal 20.0?
10,000 times and print the output to as many digits as possible. Does it equal 2000.0?
______________________________________________________________________________________________________________________________________

Here is a list of helpful include files:
#include <iostream>
#include <iomanip>
#include <math.h>
#include <float.h>

Categories: C/C++, Calculator, Math Tags: , , , , , ,

Excel Macro Needed

June 9th, 2011 Comments off

I need an excel macro that can do the following:

Input:
The macro should evaluate a two-column table with columns labeled “Word” and “Frequency”. The “Word” column will have a word value like “dog” and a frequency number like “5″.

Output:
For each word,frequency row in the macro, the macro should output a line of text printing the word the same number of times as the frequency.
So for an Input row with word as “dog” and frequency as “5″, the output would be:
dog, dog, dog, dog, dog;

The output must be in the same excel spreadsheet as the Input table. It must include the comma punctuation and the semi-colon at the end of each line.

Please see the attached photo for a sample of Input data and output for the macro.

T-shirt Design Software 2

May 25th, 2011 Comments off

I own a small screen printing company. We want to implement an online ordering website. The niche I want to cover is the very basic, larger quantity shirt orders. I want to keep it very simple and very cheap for my customers. I have researched several online design tools (ie: like the one used by customink.com) these are too robust and expensive for what I have in mind. Basically I want to be able to offer limited options for shirt style and color, very basic graphics and fonts. I would be targeting the trade show, event shirts, construction companies…etc. market. I want the customer to design their shirt online and then submit and pay for their order. I need the output of their design to be in a vector format. I use CorelDraw, not Adobe so I need compatable graphic file output for that platform. From the Admin side, I need to be able to control what choices the customer has and the end price, which needs to be calculated based on a few minor factors, like shirt color, number of print locations and quantity. Basically, I just need an application for the customer to choose the shirt, a basic graphic and text, submit the order and pay for it. Then I need to be able to administer the choices available to them and receive the graphic output of their design.

T-shirt Design Software 2

May 25th, 2011 Comments off

I own a small screen printing company. We want to implement an online ordering website. The niche I want to cover is the very basic, larger quantity shirt orders. I want to keep it very simple and very cheap for my customers. I have researched several online design tools (ie: like the one used by customink.com) these are too robust and expensive for what I have in mind. Basically I want to be able to offer limited options for shirt style and color, very basic graphics and fonts. I would be targeting the trade show, event shirts, construction companies…etc. market. I want the customer to design their shirt online and then submit and pay for their order. I need the output of their design to be in a vector format. I use CorelDraw, not Adobe so I need compatable graphic file output for that platform. From the Admin side, I need to be able to control what choices the customer has and the end price, which needs to be calculated based on a few minor factors, like shirt color, number of print locations and quantity. Basically, I just need an application for the customer to choose the shirt, a basic graphic and text, submit the order and pay for it. Then I need to be able to administer the choices available to them and receive the graphic output of their design.

Google Adwords Api Php Script 2

May 22nd, 2011 Comments off

We are looking for a skilled PHP develeper with experience in Google API programming.
We need a function which would return us certain values of Google Adwords API for given keywords. These would be e.g.

- get the estimated monthly search global and local, average CPC, estimated clicks, estimated cost for each keyword (and maybe some other available information if possible)

If possible this should be done with several keywords in one request. Something like that:

$inputArray[base][language] = “chosen language”;
$inputArray[base][country] = “chosen country”;
$inputArray[base][maxCPC] = “chosen max CPC”;
$inputArray[1][keyword] = “keyword1″;
$inputArray[2][keyword] = “keyword2″;

function yourFunction ($inputArray)
{
do whatever needs to be done

$feedback[1][keyword] = “kewyord1″;
$feedback[1][localSearches] = “output local Searches”;
$feedback[1][globalSearches] = “output global Searches”;
$feedback[1][avgCPC] = “output avg CPC”;
$feedback[1][estimatedClicks] = “output estimated clicks”;
$feedback[1][estimatedCost] = “output estimated cost”;
$feedback[2][keyword] = “kewyord2″;
$feedback[2][localSearches] = “output local Searches”;
$feedback[2][globalSearches] = “output global Searches”;
$feedback[2][avgCPC] = “output avg CPC”;
$feedback[2][estimatedClicks] = “output estimated clicks”;
$feedback[2][estimatedCost] = “output estimated cost”;
// and so on

return ($feedback);
}

Something like that. For further queries please PMB.

IMPORTANT: You really need to be experienced and skilled in that kinda stuff, since I am sorry I currently lack the time to a lot of debugging…

TIMELINE: The sooner the better.

Change Search Result Output Wp Custom Fields Search Plugin

May 18th, 2011 Comments off

I am using the WP Custom Fields Search Plugin (http://wordpress.org/extend/plugins/wp-custom-fields-search/) on a WordPress site that is running on the Shopperpress Theme (http://shopperpress.com/)and I need to change the WP Custom Fields Search results output from text links to a gallery view format to match the rest of my site.

If you go to this page (which uses the WP Custom Fields Search Plugin):

http://www.thebeercanguide.com/advanced-beer-can-search-2/

and do a search for “beer can” you’ll see how the results are currently displayed.

And this is what I want the search results to look like:

http://www.thebeercanguide.com/?s=Beer&Search.x=0&Search.y=0

This is pretty straight-forward, but if you have any questions just ask.

Thanks!

Construction Estimating Software

May 17th, 2011 Comments off

Ok here is my situation. I have a construction company that needs estimating software created. The problem is is that the development would be best if I can do it as it needs complete customizing as I use it. So I need to be able to create templates with groups of tasks & materials with certain hours & costs associated with each labor or material item, and then be able to edit those groups when I want to. Let me explain:

A customer wants a new shower. So in the software, I have created a number of different types of templates for shower bases, walls, fixtures, & details. So I start by selecting “Tile base”… as soon as I do this, the software generates the list of materials & costs required to build a tile base along with every task and associated hours to build the base.
Then I add a 2nd template to the estimate regarding the shower walls. I select “Ceramic Tile Walls w/Mosaic Border.” So now the software does the same thing and adds all the labor & material items with costs to the estimate.

So I keep adding templates until the job is finished. There are always individual items that I can create & add as well. I need to be able to customize location of the template output as well. So I can create a category header called “shower” and then place the template output items in that category. If I want to move it for whatever reason to a different category that I created then it must be easy to do so.

On output, the software will generate the file into a pdf that I can email to my client. I need to be able to customize the layout of the output or I can give you my current estimates and we can use that same layout.

I also need to be able to create cover letters, intro letters, a customer feedback form, and add my legal contract. In these documents I can move my logo around, change font & size, create tables and lines etc. There also needs to be custom fields that the customer’s name, address, phone numbers, email, etc goes into on specified locations. Rates also need to be customized, so when I change it in one area, it changes it in the legal contract, on the estimate, and any other place where I would have it documented. If it works better for me to simply import my documents into it that I already created that works fine as well.

So I pretty much need the shell created and then I can begin creating the templates.

If you know of a software that already does this or an easy to use language that I can create it in myself then please advise and I will send you $100 if it gives me exactly what I need.

Please see the attached estimate that I currently use… the output needs to look similar to this.

Google Adwords Api Php Script

May 6th, 2011 Comments off

We are looking for a skilled PHP develeper with experience in Google API programming.
We need a function which would return us certain values of Google Adwords API for given keywords. These would be e.g.

- get the estimated monthly search global and local, average CPC, estimated clicks, estimated cost for each keyword (and maybe some other available information if possible)

If possible this should be done with several keywords in one request. Something like that:

$inputArray[base][language] = “chosen language”;
$inputArray[base][country] = “chosen country”;
$inputArray[base][maxCPC] = “chosen max CPC”;
$inputArray[1][keyword] = “keyword1″;
$inputArray[2][keyword] = “keyword2″;

function yourFunction ($inputArray)
{
do whatever needs to be done

$feedback[1][keyword] = “kewyord1″;
$feedback[1][localSearches] = “output local Searches”;
$feedback[1][globalSearches] = “output global Searches”;
$feedback[1][avgCPC] = “output avg CPC”;
$feedback[1][estimatedClicks] = “output estimated clicks”;
$feedback[1][estimatedCost] = “output estimated cost”;
$feedback[2][keyword] = “kewyord2″;
$feedback[2][localSearches] = “output local Searches”;
$feedback[2][globalSearches] = “output global Searches”;
$feedback[2][avgCPC] = “output avg CPC”;
$feedback[2][estimatedClicks] = “output estimated clicks”;
$feedback[2][estimatedCost] = “output estimated cost”;
// and so on

return ($feedback);
}

Something like that. For further queries please PMB.

IMPORTANT: You really need to be experienced and skilled in that kinda stuff, since I am sorry I currently lack the time to a lot of debugging…

TIMELINE: The sooner the better.

Convert Xml To Rss – Different Output Feeds

April 30th, 2011 Comments off

We need our xml feed (over 12,000 properties from www.girasolhomes.co.uk) converted into many different RSS feeds for our property related websites, these will be a combination of areas, house types and price ranges, it will also include eliminating countries and regions, so it will be a combination of many dynamic factors and so we need a RSS/XML expert to produce RSS output feeds with simple scripts and pieces of code. These will be for wordpress sites and we may need a search bar integrated into the feed.

Our output feed is http://xml2u.com/Xml/Girasol%20Homes%20Ltd_589/1548_Default.xml

Good programmers needed, no time wasters please, full spec available

Google Maps Api Version 3 Custom Marker Output/directions

April 21st, 2011 Comments off

I am looking to upgrade my Google Custom Marker API. The new code will reduce the size of the map a bit, there will be a custom output box on the right of the map that will display a list of markers that are available on the current field of view on the map. The box will also have a custom scroll box to a maximum of 100 custom markers.

The second thing I would like to integrate is the directions api into my source so that the user can get directions by clicking on the currently available custom markers.

http://www.hotsoupsoftball.com/fields/

Vb 2010 Program – Depreciation To A Salvage Value Of 0

April 11th, 2011 Comments off

Visual Basic 2010 – Depreciation to a Salvage Value of 0 See attached. I need the program written as well as the output box. (I think that the attachment needs rotated, but its Depreciation to a Salvage Value of 0 part a and b with the little chart at the bottom.

Specific requirements:
I need the program written as well as the output box. (the attachments are the same, one just is not rotated correctly). But it says Depreciation to a Salvage Value of 0 and I need parts a and b done under that (there is a sample of the output).

Java: Strings And Collections

April 8th, 2011 Comments off

STEP 1: Index

Write a Java GUI application called Index.java that inputs several lines of text and a search character and uses String method indexOf to determine the number of occurrences of the character in the text.

Sample Program output: View attachment STEP 1

STEP 2: Index2

Write a Java GUI application Index2.java based on the program in project1 that inputs several lines of text and uses String method indexOf to determine the total number of occurrences of each letter of the alphabet in the text. Uppercase and lowercase letters should be counted together. Store the totals for each letter in an array, and print the values in tabular format after the totals have been determined.

Sample Program output: View attachment STEP 2

STEP 3: ThreeArrayLists (20 points)

Write a program called ThreeArrayLists.java that declares three arrayLists referenced by the objects named priceList, quantityList, and amountList. Each arrayList should be declared in main() and should be capable of holding a minimum of 10 double-precision numbers.

The numbers that should be stored in price are 10.62, 14.89, 13.21, 16.55, 18.62, 9.47, 6.58, 18.32, 12.15, 3.98.

The numbers that should be stored in quantity are 4, 8.5, 6, 7.35, 9, 15.3, 3, 5.4, 2.9 4.8.

Your program should pass object references to these three arrays to a method named extend(), which should calculate the elements in the amount array as the product of the corresponding elements in the price and quantity arrays (for example, amount [i] = price[i] * quantity [i]).

After extend() has put values into the amount array, create a method that displays the results of all three lists. Appropriate formatting techniques need to be used to produce a formatted output.

Sample program output:

1) 10.62 * 4.0 = 42.48

2) 14.89 * 8.5 = 126.56

3) 13.21 * 6.0 = 79.26

4) 16.55 * 7.35 = 121.64

5) 18.62 * 9.0 = 167.58

6) 9.47 * 15.3 = 144.89

7) 6.58 * 3.0 = 19.74

8) 18.32 * 5.4 = 98.93

9) 12.15 * 2.9 = 35.24

10) 3.98 * 4.8 = 19.1

Categories: GUI, Java Tags: , , , , , ,

Reformat & Compare Txt Input

March 11th, 2010 Comments off

I have a list of phone models in a text file (see attached), the current format is:

Nokia: 2690, 2700 Classic, 2710 Navigation Edition, 2730 Classic, 3109 Classic, etc

O2: Cocoon, Ice, XDA Argon, XDA Atmos, XDA Exec, etc

I need it to be:

Nokia 2690
Nokia 2700 Classic
Nokia 2710 Navigation Edition
Nokia 2730 Classic
Nokia 3109 Classic
O2 Cocoon
O2 Ice
O2 XDA Argon
O2 XDA Atmos
O2 XDA Exec
etc

I need all models in a full list with no gaps in an output in text form also

I also need to be able to insert another text file which will then compare to the first with an output of any that are on the second, but NOT the first, i.e.:

1st txt file: Nokia: 2690, 2700 Classic, 2710 Navigation Edition, 2730 Classic, 3109 Classic

2nd txt file: Nokia: 2690, 2700 Classic, 2710 Navigation Edition, 2730 Classic, 3109 Classic, 3110 Classic, 3110 Evolve

The output will have the 2 additional models:

Nokia 3110 Classic
Nokia 3110 Evolve

But none of the others as they will already have been picked up in the first output.

There will only be phone models added, none removed, so if a model is not in the 2nd output when compared to the 1st, this can be ignored, only NEW models need to be picked up

-Any question, just ask

Bear