Tag Archives: debugging

Youtube video on demo walkthrough of Matlab debugging RSI function for technical analysis

Youtube video on demo walkthrough of Matlab debugging RSI function

Like this? Join my FREE newsletter to learn more

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Walkthrough of Debugging Strategies in our Open Source Trading Platform and Visual Studio with simple moving average trading strategy

Walkthrough of Debugging Strategies in our Open Source Trading Platform and Visual Studio with simple moving average trading strategy

I just posted this 30 minute video for my QuantLabs.net Premium Membership. I will be even doing a live webinar on this. This is the most powerful step in trading strategy development that will make you highly productive. I don’t think even R has a visual debugger like what Visual Studio or Matlab has.

Join NOW to get access to this video

Join my FREE newsletter to follow progress on my trading strategy development

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Interesting notes on Microsoft’s AMP aka Accelerated Massive Parallelism for Visual C++ Visual Studio 2012 with debugging on a GPU!

Interesting notes on Microsoft’s AMP aka Accelerated Massive Parallelism for Visual C++ Visual Studio 2012 with debugging on a GPU!

Start with this easy example:

http://blogs.msdn.com/b/nativeconcurrency/archive/2012/10/01/string-search-sample-with-c-amp.aspx

Moving average demo which started this (also note about the new feature of lambdas in Visual C++)

http://www.drdobbs.com/windows/microsofts-c-amp-unveiled/231600761

Debugging a GPU in this slideshow:

http://www.microsoft.com/en-us/download/details.aspx?id=28114

Some other examples:

http://www.developerfusion.com/article/132336/massive-data-parallelism-on-the-gpu-with-microsofts-c-amp-accelerated-massive-parallelism/

Much easier development and more advanced than Nvidia’s CUDA!

Whoa! This is pretty killer! Join my free newsletter as I build out this new custom HFT platform !

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Youtube video demo of debugging in C++ with Netbeans IDE on Windows and Cygwin Linux like tool

Youtube video demo of debugging in C++ with Netbeans IDE on Windows and Cygwin Linux like tool

http://quantlabs.net/membership.htm

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Last debugging stage in Java application before fully automation of real time Stock Reporting system

Last debugging stage in Java application before fully automation of real time Stock Reporting system

This will be a dandy to show off. I hope to have this ready for debut fairly soon. This will be part of QuantLabs.net’s paid component coming soon. Get registered on our newsletter before we go paid.

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Quant development: “Debugging of Multithreaded and Multiprocess Programs on Linux” at Silicon Valley Code Camp

Quant development: “Debugging of Multithreaded and Multiprocess Programs on Linux” at Silicon Valley Code Camp

We will discuss the connection between Linux kernel scheduler behavior and non-deterministic nature of multithreaded and multiprocessed programs. We will look at the issues faced by a multicore programmer, and look at Maze, a new concurrent development tool. We will discuss Maze architecture and look at the tool in operation. The target audience is software engineers, CS students and researchers, and anybody else who is interested in parallel programming, software testing, and debugging. Participants are expected to be familiar with the concept of a Linux process. The examples will be in C with the use of POSIX threads API.

When: Saturday, October 8th, 2011, 5PM – 6:15PM

Where: Silicon Valley Code Camp 2011 ( Code Camp Venue: Foothill College, 12345 El Monte Road,Los Altos Hills, CA 94022)

Link: http://www.siliconvalley-codecamp.com

 

Why exactly POSIX API ? You always give away performance when you try to gain portability (the principle otherwise known as “there is no such thing as free lunch” – well unless you drink beer 😉 – just saw the excellent part 1 of Ken Burns documentary on prohibition last night !)

 

 

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Adobe even more braindead. How to properly configure Flash Builder 4 for debugging Flash, Flex, and MXML?

Adobe even more brain dead. How to properly configure Flash Builder 4 for debugging Flash, Flex, and MXML?

Once again Adobe proves to be really, really brain dead. I have searched for any tutorials that help me set up Flash Builder 4

http://www.adobe.com/devnet/flex/articles/flashbuilder_shortcuts_tips.html

Anyhow, I don’t see any mentioned of how to set up the configuration of Flash Builder 4 for debugging. It does not appear out of the box as you would expect. If you download Eclipse’s free Java integrated development environment, the debugger out of the box with no additional external tool. With Adobe’s moronic way, you need to ensure you download the embedded debugging Flash player.  Here:

http://www.adobe.com/support/flashplayer/downloads.html

9/20/2010 Updated debugger (aka debug players or content debuggers) and standalone (aka projector) versions of Flash Player 10.1 are available for Flash Builder 4, Flash Catalyst, Flash Professional CS4, and Flash Professional CS5 users. These players contain fixes for critical vulnerabilities identified in Security Bulletin APSB10-22. All users are encouraged to update to the new players. These new players are version 10.1.85.3.

Nice one Adobe. Must have been that pot your stupid engineers smoke. Or sorry, maybe they were born brain dead again.

Anyhooo….

We need proceed in within Flash Builder 4, Run -> Debug -> Other

Under the Main tab under URL or Path to Launch, ensure Use Default is not checked. Also, ensure that Flash Builder will launch your projects SWF file found in the project’s bin-debug folder.

That should fix that so that you can launch the Debug perspective from Flash Builder.

I don’t know why Adobe cannot explain that so simply. I got this resource from this site:

http://blog.johannest.com/2010/10/19/debugging-actionscript-and-javascript-simultaneously-with-flash-builder-4-and-aptana-studio/

Thanks to that author. Also, it appears it is not current for Flash Builder 4 but the above step should work.

Also, you may need to run->Debug->Other. Click Debug in same panel with same options listed below.

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Why does Google kill GWT's potential with this junky anonymous callback classes?

Why does Google kill GWT’s potential with this junky anonymous callback classes?

This becomes debugging hell.

Sadly, I had to resort to GWT’s Label widget to overcome this in Google Translate libray. Final string s don’t work for some reason.

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

C++ interview questions on database, debugging, gdb, arrays

Database:
Suppose your software requires the client to enter information into a database. What do you do if data insertion takes too long?
I said, improve the hardware. Not what he was looking for, but the answer worke
Debugging
in unix one task/process is stuck. How will debug it ?
Attach it to GDB via gdb -p PID and see where its stuck. Now examine various parameter values, to see what they are at the moment (this is convenient the process and libraries were compiled with -g i.e. with debugging information. Otherwise disassemble current (or previous frames) via gdb, and get ready for long session of reading assembly).

Simple function to add two numbers – try to think of all possible ways to debug it –
int range overflow (how to detect) , incorrect inputs, error codes and return values etc.
Arrays:
what all errors is possible if u write past the array bounds?
memory corruption, call stack corruption. In unix, scope is limited to these 2 inside a process. In RTOS, the corruption can span across multiple tasks/processes
you inadvertently overwrite some portion of memory that some pointer or a variable is pointing to when you write past array bounds

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!