Wednesday, April 6, 2011

Lonely red piano story

Pics from ph-art

Sorry, pics are not displayed, need to figure out how to embed. but if you click, you will be redirected.

Update: Pics should be visible by now, i got it :)


Thursday, March 17, 2011

VS Express Edition - Start external program solution

"As you've noticed, this functionality is not available in Express. This is one of the many places where the IDE has been simplified..." words of Luke Hoban on social.msdn.microsoft.com.

It's not simplyfication, it is just taking away basic functionality and getting money from users. The postbuild event idea is not bad, but will start the application every time and I am not sure about debugging, if you need to attach to a process or it is done automatically. Here comes a solution, you need to edit the .user file of your project: .vcproj.user for C++ or .csproj.user for C#, probably similar for VB.

For C++ find a Configuration and edit|add DebugSettings:


<debugsettings
Command="C:\Program Files\Adobe\FrameMaker7.1\FrameMaker.exe"
WorkingDirectory=""
CommandArguments=""
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine=""
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>


C#:

<project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<propertygroup condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<startaction>Program</startaction>
<startprogram>C:\Program Files\Adobe\FrameMaker7.1\FrameMaker.exe</startprogram>
<startarguments/>
<startworkingdirectory/>
</propertygroup>
</project>



Good luck debugging your libraries with Express edition.

Wednesday, March 2, 2011

Instantchess reset free game limit

Ever wondered how they are doing (instantchess dot com)? Changing the nick soes not help. It works from the same network but different computers. So it is not filtered on IP. Cookies? Good one, but no! And that didn't let me sleep. Flash cookies!!! Very smart. Will not tell you how to clear those beauties but Google will show you the proper Macromedia page.

Oh, on the other hand any person familiar with web and flash, or just a well informed person knows things like this. Companies like to hide things in flash/cookies and many times they are also harnessing this feature. So just spreading common knowledge, think people, smart things make you stupid!