Archive

Posts Tagged ‘lib’

Fix Perl Issue

November 17th, 2011 Comments off

Need to fix these Perl problem:

Can’t locate Crypt/SMimeEngine.pm in INC (INC contains: /home/dopec/PECTEST /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Opec/Sign.pm line 76.
BEGIN failed–compila…

Categories: Linux, Perl/CGI Tags: , , , , , ,

Help Fixing A Website

October 9th, 2011 Comments off

I have a site using perl and catalyst…
I think something happend to the catalyst…

I need a developer to check my site and tell me why it is not working…

the current error we get when we run a small test file in the cg-bin is:

Can’t locate Michaels.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .). at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Class/MOP.pm line 134
Class::MOP::load_first_existing_class(‘Michaels’) called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Class/MOP.pm line 139
Class::MOP::load_class(‘Michaels’) called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Test.pm line 28
Catalyst::Test::_build_request_export(‘Catalyst::Test’, ‘HASH(0×7471790)’) called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Test.pm line 91
Catalyst::Test::__ANON__(‘Catalyst::Test’, ‘all’, ‘HASH(0×7471760)’, ‘HASH(0x745cfa0)’) called at /usr/lib/perl5/site_perl/5.8.8/Sub/Exporter.pm line 493
Sub::Exporter::_expand_group(‘Catalyst::Test’, ‘HASH(0×7471020)’, ‘ARRAY(0x74715a0)’, ‘HASH(0x745cfa0)’, ‘HASH(0x74717b0)’, ‘HASH(0x745cf90)’) called at /usr/lib/perl5/site_perl/5.8.8/Sub/Exporter.pm line 424
Sub::Exporter::_expand_groups(‘Catalyst::Test’, ‘HASH(0×7471020)’, ‘ARRAY(0x74710a0)’, ‘HASH(0x745cfa0)’) called at /usr/lib/perl5/site_perl/5.8.8/Sub/Exporter.pm line 742
Sub::Exporter::__ANON__(‘Catalyst::Test’, ‘-all’, ‘HASH(0x603eaf0)’) called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Test.pm line 154
Catalyst::Test::import(‘Catalyst::Test’, ‘Michaels’) called at ./test1.pl line 3
main::BEGIN() called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Test.pm line 3
eval {…} called at /usr/lib/perl5/site_perl/5.8.8/Catalyst/Test.pm line 3 BEGIN failed–compilation aborted at ./test1.pl line 3.

Categories: Fix, Linux, Perl/CGI Tags: , , , , , ,

Php Functionality Gd Lib Optical Character Recognition

September 13th, 2011 Comments off

I need a php class with the next functionality:

The class should be able to get these parameters (by POST) for imagecopy GD lib’s function (resource $dst_im , resource $src_im , int $dst_x , int $dst_y , int $src_x , int $src_y , int $src_w , int $src_h) and a parameter with URL for imagegrabscreen – GD lib’s function.
After that the class should use “Optical character recognition” class (for example the free Andrey Kucherenko’s php OCR class. http://www.phpclasses.org/package/2874-PHP-Recognize-text-objects-in-graphical-images.html) and regular expressions in order to get the needed strings The output data will be stored in the mysql db. I will provide the structure of the db.

Categories: OCR, PHP Tags: , , , , , ,

Move Website To New Hosting

March 20th, 2010 Comments off

I am looking for a professional help for maybe 2 hours.

I need to move my Ecommerce website and 1 database to a new hosting account.

The problem is that my OLD hosting account has the full backup disable so we can NOT generate full back up from cPanel.

here is the error message that I am getting:

——————————————————–
Can’t locate Cpanel/CPAN/I18N/LangTags.pm in INC (INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Cpanel/CPAN/Locale/Maketext.pm line 6.
BEGIN failed–compilation aborted at Cpanel/CPAN/Locale/Maketext.pm line 6.
Compilation failed in require at Cpanel/CPAN/Locale/Maketext/Utils.pm line 8.
BEGIN failed–compilation aborted at Cpanel/CPAN/Locale/Maketext/Utils.pm line 8.
Compilation failed in require at Cpanel/Locale.pm line 21.
BEGIN failed–compilation aborted at Cpanel/Locale.pm line 21.
Compilation failed in require at ./pkgacct line 41.
BEGIN failed–compilation aborted at ./pkgacct line 41.
——————————————————–

Please let me know if you can help me with this project. If selected must work on the issue with me immediately.

Thanks in advance

User Interface Using Juce Lib

December 14th, 2009 Comments off

We are looking for a seasoned C++ developer, ideally with a previous experience with the Juce framework (Raw Material Software), to develop a simple user interface for one of our upcoming products. A raw mockup of the UI is included as attachment.

You would only be handling the UI part, with the methods to get/set parameters, dynamically add/remove tracks (columns) and parts (lines), etc..

Please refrain from applying if you don’t have a solid C++ experience and/or you don’t have short term availability.

User Interface Using Juce Lib

October 25th, 2009 Comments off

We are looking for a seasoned C++ developer, ideally with a previous experience with the Juce framework (Raw Material Software), to develop a simple user interface for one of our upcoming products. A raw mockup of the UI is included as attachment.

You would only be handling the UI part, with the methods to get/set parameters, dynamically add/remove tracks (columns) and parts (lines), etc..

Please refrain from applying if you don’t have a solid C++ experience and/or you don’t have short term availability.

Request For Proposal For Forex

September 1st, 2009 Comments off

Request for proposal for Forex Automated trade platform. (stand alone)

I need a stand alone automated trading platform, with a well designed GUI user friendly.
1) Threaded c/c++ ncurses application that can leverage a multi-cpu linux (windows)environment for backtesting and live trading.
2) Fault tolerant to internet outages, power outages the proposed software should be able to pick up where it left off, acknowledge any open trades, and respond accordingly.
3) FIX Protocol – uses quickfix library, can leverage multiple FIX paths to ensure order execution and protective counter trading: to as many brokers as possible to connect to live or demo trading
http://www.quickfixengine.org/
3) Can trade on multiple currency pairs simultaneously.
charting interface for technical analysis
4) Storage of all low level and high level trading and quote information in mysql.
5) Simple c++ strategy interface implemented as a class or object. Strategy interface will have clean hooks to calls in ta-lib, quantlib, and fann. Handoff must include sample strategies demonstrating the use of these three technologies.
6) Backtesting environment should fully automate the process of testing strategy across multiple predefined currency pairs using M1 data, testing multiple values of predefined strategy input parameters with Neural Network hooks.
7) Should leverage existing open source projects like QuantLib and TA-Lib in strategy scripting language: http://ta-lib.org/
http://quantlib.org/
8) GUI or ncurses required, as long as storage of backtesting and live trading information is stored in MySQL in such a way as it becomes easy to model in Excell or custom PHP/MySQL web app.
9) Full source code and documentation handoff. Immediate support upon request (if new version of quickfix breaks compatibility, etc.)
10) Ncurses client should be separate program from main daemon application, using JSON or similar to communicate, or even FIX if it makes sense or API. Multiple clients should be able to talk to the daemon, having identical information on all clients.
11) The server daemon should be able to trade the same strategy across multiple FIX accounts or paths, understanding that the forex, stock data provided from upstream will be different across brokers, and only trade on each data stream at each broker institution.
12) Incorporation of FANN http://leenissen.dk/fann/ into backtesting and / or forward trading. Good design would result in a bonus. An example of NN application to trading can be found at: http://cortex.snowcron.com/forex_nn.htm
13) Server Daemon should be ROCK SOLID STABLE. That means no cheating or shortcuts when programming it. It should not skip a beat when connections fail to FIX brokers or connections from Ncurses clients. Live money will be used to trade it! It should respond to signals for gracefull exit, restart, and statistics (FIX stats, other stats not available from OS, health status.) An snmp interface would be nice. Daemon should also have three logging levels to syslog daemon . debug log, trade log, and information log. All message go to syslog and mysql.

14. some MT4 indicators will be converted to work with this platform.

15. a charting Template coded in MT4 will be used as the base Template for the charting interface on the platform

16. A Large number of Brokers API to be hard coded into the platform, so that end users can easily enter their account Login and password to easily connect to theri respective brokers, to execute trade orders, as demo or live trading. as well as grab quotes.
Open source project that is similar in design to the proposed program: http://www.activequant.org/ – I do not like java though. feel free to pull ideas / code from it.

Please Only Bid if you have done such Job before, and you have knowledge of meta trader launguage

I do need well design interface for it, very attractive to end users, and the chart display should be well defined for end user liking. as well API to connect to various Brokers, through a simple interface

Chart Using Open Source Lib

June 11th, 2009 Comments off

H,,
I am looking for a chart to be created based on any open source library.

The chart needs to be integrated into a php page. I am looking for non-flash and non-flex based charts.

Thank You

C# Lib For Pos Receipt Print

May 13th, 2009 Comments off

Looking for someone who is experienced in POS receipt printers and printing sales receipts using other ordinary printers. We need a C# class library for configuring and handling receipt printing jobs.

It should support popular POS printers, for example EPSON compatible printers that accept ESC/POS commands. It should essentially provide printing via 3 Methods:
1.OPOS drivers
2.Windows drivers.
3.Sending direct commands via COM ports

The main functions required are:
1.Search the system and list all printers that can print receipt using both Windows legacy APIs and Microsoft.PointOfService .NET API;
2.Configuration forms for setting a default receipt printer, default logo image, logo image options, header font size and format, and footer font size and format, etc; and
3.Functions for printing receipts. For example, define an input to this function to be an array of the following types: logo image URL, Barcode, Header1, Header2, Normal1, Normal2, and Footer, each with own format information, such as left and right justifications.

Deliverables:
1. The Class library
2. A demo C# application using the class lib.

Expected delivery time: 2 weeks

Please do not bid if you are not experienced in POS printers.

Magneto Clean Up To Go Live

April 25th, 2009 Comments off

I am almost ready to go live with Magento, but need some help with a few little errors. Need some help reindexing layered navigation and optimizing for speed.

I am trying to run a script and get the following error below. Also, I am timing out whenever I try to run any processes that take over a minute. My max_execution time in my php.ini file is 300. http://www.posdirect.com/phpinfo.php

I’m trying to fix some indexing issues with Magento. Been trying to get up and running for over five months. This bottleneck is killing me.

Here is the fix I’m trying to run: http://chrismckee.co.uk/magento-commerce-layered-navigation-cache-error-part-deux

Running this script in posdirect.com/eee/cm_LCache.php

Get this error:

posdirecatposdirect.com [~/public_html/eee]# time php -q -f cm_LCache.php
Failed loading /usr/local/Zend/lib/ZendExtensionManager_TS.so:
/usr/local/Zend/lib/ZendExtensionManager_TS.so: cannot open shared object
file: No such file or directory
<br />
<b>Fatal error</b>: Uncaught exception ‘Zend_Db_Adapter_Exception’ with
message ‘pdo_mysql extension is not installed’ in
/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php:178
Stack trace:
#0 /home1/posdirec/public_html/eee/lib/Zend/Db/Adapter/Abstract.php(441):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#1
/home1/posdirec/public_html/eee/lib/Zend/Db/Adapter/Pdo/Abstract.php(230):
Zend_Db_Adapter_Abstract->query(‘SET NAMES utf8′, Array)
#2
/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php(259):
Zend_Db_Adapter_Pdo_Abstract->query(‘SET NAMES utf8′, Array)
#3
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource/Type
/Db/Pdo/Mysql.php(45):
Varien_Db_Adapter_Pdo_Mysql->query(‘SET NAMES utf8′)
#4
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource.php(
85):
Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Co
re_Model_Config_Element))
#5
/home1/posdirec/public_html/eee/app/code/core/Mage/Core/Model/Resource/Setu
p.php(62):
Mage_Core_Model_Resource-> in
<b>/home1/posdirec/public_html/eee/lib/Varien/Db/Adapter/Pdo/Mysql.php</b>
on line <b>178</b><br />

real 0m1.738s
user 0m0.414s
sys 0m0.028s

List Structure

April 14th, 2009 Comments off

List structure exercise 1

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

List Structure

April 3rd, 2009 Comments off

List structure exercise 1

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

Vectors And I/o Streams

April 3rd, 2009 Comments off

xercise 2 uses a modified form of the solution to exercise 1.
Vectors and i/o streams exercise 1
Practice with files and string streams

Complete the program ~cs9f/lib/p3.1.cpp so that the program repeatedly recognizes and processes the commands from the following list.

update word number
list names
list quantities
batch file-name
quit

Each legal command must appear on a single line, and have the correct number and type of arguments. The update command must be followed by a word

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

Black Jack C++ Help

April 2nd, 2009 Comments off

Background

For this assignment, you complete a program to play the game of “Twenty-one” (also called “Blackjack”).

The general idea of Twenty-one is as follows. There are two players, the customer and the dealer. The dealer deals a card face down to the customer, then a card face up to herself (the up-card), then another card to the customer and another card to herself, both face down. In most cases, the customer may then ask for more cards, one at a time. The dealer does the same, and the hand is resolved. The object of the game is to be dealt a set of cards whose total value is as close to 21 as possible without going over.

Cards are dealt from a deck of 52. There are four cards in the deck with value 2, four with value 3, and so on up to value 9; there are sixteen cards with value 10 (four 10′s and twelve face cards: four jacks, four queens, and four kings); and there are four cards (“aces”) whose value may be either 1 or 11 depending on the value of a player’s remaining cards. For both players, an ace counts 11 unless the hand total is more than 21, in which case it counts 1.

For our purposes, the actual play of the game proceeds as follows. Each player receives two cards as described above. If the dealer’s cards total 21

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Bear