main
members
work
about me

Updates

Search site
page: « 1 ·· 37 38 39 40 41 »
avatar
Paul(admin)
post

Hairy Guns video

Post replyCan't edit post
Watch topicCan't delete post
Wednesday, November 18 2009, 15:41
Here's a silly 8-second video of a Hairy Guns member. The number of views determines how many bonus points we get for the quiz tonight!
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

L4D Launcher (version 1.4)

Post replyCan't edit post
Watch topicCan't delete post
Saturday, November 14 2009, 4:53
Left 4 Dead launcher
The newest version of L4D Launcher is available, updating it to version 1.4.1.41673!
Network scanning has been significantly improved, and you can now use L4D Launcher to play your favorite Left 4 Dead add-on maps, too. It's also become easier to find the map you want to play, as they're sorted by game type.

Update November 15th, 2009: I've fixed the bug Mathijs reported in the comments below.
Update December 11th, 2009: Modified install locations are automatically detected via Steam's application list.
Update May 15th, 2010: updated to version 1.5.
Rating:
Actions:Post replyWatch topic
Mathijs: Kewl! Fun stuff! Little bug report: when...Post reply Show 3 comments
Paul: Thanks, Mathijs! I fixed it right away in...
Paul: Here's a heads-up to those watching this...
avatar
Paul(admin)
post

PHP 5.3.0 NTS doesn't load some modules

Post replyCan't edit post
Watch topicCan't delete post
Wednesday, November 11 2009, 13:25
This puzzled me for a bit: I downloaded the latest version of PHP for Windows, 5.3.0 non-thread-safe (NTS). Since PHP is only running in a single process, I thought I'd grab the faster non-threaded version.
As a result, many of my modules stopped loading, including php_gd, php_mysql and php_openssl, extensions you really can't live without.
I only really noticed the problem when all my locally hosted sites reported "DB Error: extension not found." Looking in Apache's error.log, the problem was revealed:
Warning:  PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
The moral of this story: save yourself the headache. Download the thread-safe PHP binaries instead.
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

L4D Launcher (version 1.3)

Post replyCan't edit post
Watch topicCan't delete post
Saturday, November 7 2009, 17:36
L4D Launcher
L4D Launcher
I made some modifications to the L4D Launcher, updating it to version 1.3.1.33234.
New features in L4D Launcher include storing preferences, and the long awaited option of being able to specify a nickname. Note that on some versions of Left 4 Dead you will need to specify the "in INI" option to write the player name into the game's rev.ini file.

Update November 7th, 2009: I've updated the application to display a "Fix uninstall path" so the user isn't prompted with that dialog each time the Launcher is started.
Rating:
Actions:Post replyWatch topic
Paul: Version 1...Post reply Show 2 comments
Paul: Here's a heads-up to those watching this...
avatar
Paul(admin)
post

L4D Launcher (version 1.2)

Post replyCan't edit post
Watch topicCan't delete post
Thursday, November 5 2009, 23:43
Left 4 Dead launcher
I made some modifications to the L4D Launcher, updating it to version 1.2.
You can now specify a preferred player (Bill, Francis, Louis or Zoey) and a few small bugs were fixed.

Update November 6th, 2009: I've made some minor modifications, including a bugfix for fixing the Left 4 Dead install location and improved network scanning in version 1.2.1.26431.
Update November 7th, 2009: updated to version 1.3.
Update November 14th, 2009: updated to version 1.4.
Update May 15th, 2010: updated to version 1.5.
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

Carbide.c++: Keep the emulator open!

Post replyCan't edit post
Watch topicCan't delete post
Monday, October 12 2009, 17:43
Something that wasn't entirely obvious to me since developing for Symbian is that you can actually keep the WINSCW emulator open when building. This saves a lot of time opposed to having to restart it after each execution.
So remember: just close your application and you can build and relaunch it in a fraction of the time!

On an unrelated note, you can distinguish between the emulator and the phone release by using the __WINSCW__ constant. For example:
#ifndef __WINSCW__
iAccelerometer = CRDAccelerometer::NewL(*this);
#endif
(Because RDAccelerometer doesn't compile for the emulator.)
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

Carbide.c++: "Cannot start Ecmt manager"

Post replyCan't edit post
Watch topicCan't delete post
Sunday, October 4 2009, 19:44
I've run into this problem on each fresh installation of Carbide.c++, but I keep forgetting how to fix it. The resolution consists of two parts.
Error: Cannot start Ecmt manager

Ensure Java is in the Environment Path

Go to the Windows' System Properties and click "Advanced system settings". There, under "Environment variables", make sure that your JRE installation path appears somewhere. Note that the string is delimited with semi-colons.

Edit the config.properties file

Navigate to your S60 SDK installation path (e.g. C:\Symbian\9.1\S60_3rd). From there, open the following file:
\Epoc32\tools\ecmt\config\config.properties
Edit the line containing epdt.java.version.start to include your installed version of JRE. For Java 1.6, append ,1.6,6.0 so the line appears as follows:
epdt.java.version.start=1.4.1,1.4.2,1.5,5.0,1.6,6.0
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

Error C1083 in Visual C++ 2008 Express

Post replyCan't edit post
Watch topicCan't delete post
Monday, September 14 2009, 12:57
After opening a project in Visual C++ 2008 Express Edition that I had built on a different machine running Visual Studio 6, I ran into the following error:
fatal error C1083: Cannot open include file: 'afxwin.h':
No such file or directory
I discovered that it could easily be fixed by editing the RC resource script of the project:
  1. Right-click on the RC file and select "View code"
  2. Replace the include statement containing afxwin.h to windows.h.
  3. Save the document and recompile.

Be wary that there are some differences between the two files, and are not entirely interchangeable. I'm not sure exactly what these differences are as I haven't run into any problems so far. Feel free to drop a comment if you have a more robust solution.
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

Download through PHP: unreliable Content-Length

Post replyCan't edit post
Watch topicCan't delete post
Friday, August 7 2009, 16:38
The CrimsonBase website verifies downloads by passing them through a robust PHP script similar to the one published by Andrew Johnson in his article about PHP-controlled file downloads.
Andrew makes a very important comment at the end of the article:
"If you compress files with Zlib, mod_deflate and so on the Content-Length header won't be accurate so you'll end up seeing "Unknown size" and "Unknown time remaining" when downloading files."
I would like to stress this: if your browser doesn't appear to be obeying the headers generated by your PHP script—especially Content-Length—it is fairly likely that Apache's mod_deflate extension is enabled.
You can easily disable it for a single script using the following line in an applicable .htaccess file:
SetEnvIfNoCase Request_URI ^/download\.php no-gzip dont-vary
where download.php is here assumed to be in the download script located in the server's root directory path (e.g. www.crimsonbase.com/download.php). (That's because the regular expression is ^/download\.php.)
Rating:
Actions:Post replyWatch topic
No comments.Post reply
avatar
Paul(admin)
post

LaTeX: Wrong figure numbers in subfloat

Post replyCan't edit post
Watch topicCan't delete post
Tuesday, August 4 2009, 16:14
I've been puzzled by some incorrect figure numbers in my LaTeX document recently. I have a figure, 2, with two subfigures, 2a and 2b, but when referencing them, I get figures 1a and 1b.
It turned out you have to put the \label commands in the correct order, like so:
\begin{figure}[b]
\caption{Detail of cameras on a Nokia N95 smartphone}
\label{fig:cameras}
\centering
\subfloat[User camera located above screen]{
\label{fig:user_camera}
\includegraphics{images/front_camera.png}}
\hspace{2cm}
\subfloat[Perspective camera on backside of device]{
\label{fig:perspective_camera}
\includegraphics{images/back_camera.png}}
\end{figure}
Also, make sure that \caption always precedes \label as Luke Maciak suggests.
Note that as Matthias mentions in the comments below, you may have to put the \caption and \label after the \subfloats. I haven't determined yet when one or the other should be done, but just remember that moving them around may resolve your problem.
Rating:
Actions:Post replyWatch topic
Matthias: Thanks for your post! I had a similar...Post reply Show 2 comments
Graham: Matthias- that has allowed me to heave a...

More updates

Click here to view older updates. (39 pages remaining)
Search site
page: « 1 ·· 37 38 39 40 41 »
Members have extra privileges. You can login or register.
© 2005–2010 P. F. Lammertsma
No members currently online; 577 hits today by 186 unique users