The Linux Page

time

Marking a Subversion tree with a label

Subversion Labels?

At this time, Subversion does NOT support simple labels.

This would be neat, but it simply isn't available.

What I usually want to do is mark all the files in a folder with a label to mark that point in time as a specific version. There is no feature in Subversion to do that.

There are many different things you can do to circumvent this problem.

[toc hidden:1]

Dates in MS-Access & QODBC

Working with MS-Access and writing SQL queries to run via QODBC to get data from QuickBooks, I ran in a problem with dates.

I needed to sum the sub-total of all the rows for a given year. So that is pretty simple SQL1:

SELECT SUM(subtotal) FROM Invoice WHERE YEAR(TimeCreated) = YEAR(NOW())

That does not work. So I tried to generate the year in the macro code and sticked that to the statement:

SELECT SUM(subtotal) FROM Invoice WHERE YEAR(TimeCreated) = 2009

And that does not work either.

I tried ...

  • 1. Although at first I tried with BETWEEN, I simplify my samples here

MS Access classes

As most people know, all of the MS-Office macros are written in Visual Basic.

Visual Basic is for sure a huge whole lot better than the BASIC I had on my Apple //c. For one thing, it does not require line numbers and you can declare functions, procedures, and have local variables (FOR loops that use the variable I do not overwrite the variable I of the FOR loop from the calling function!)

Since MS-Access 2007, we have the possibility to create classes!

RETURN not working in Visual Basic & Arrays...

RETURN statement in BASIC

Like many programmers, I switch between languages quite often.

I have worked with BASIC before since I had an Apple //c and used other Apple ][ computers that had some (really bad, early) BASIC language in their ROM.

At the time, the worst part was the line numbers. You had to write in BASIC as if you were writing assembly language. And I'll skip the numerous problems with memory...

PAD File

PAD File Module for Drupal

Introduction

You can find my PAD File module on Drupal.

It is intended for any company and individual that has executable files for download but its customers and potential customers. The PAD File describes the content of such executable to the target machine (robots that spider the Internet for PAD Files).

With the module you can create, import, update and delete PAD Files as necessary. It automatically generates the XML files and maintains them on your website without you having to do anything about it.

It is also intended ...

Enhanced DLLs

Pre-Pre-Scriptum: Please, look for the edll library. It is now available as a free library for MinGW.

top -> top -o cpu

Hard to believe, but the FreeBSD top utility does NOT sort by CPU usage by default. I guess there is some other magic. 99.9% of all the system you run now a day will have way more processes that can be displayed in one window. This means you need to have the processes that use the most CPU at the top to see what's running and taking too much time.

Javascript: setTimeout()

The other day, I wrote a module for Drupal. Up to here, no problem. What I wrote required a small amount of Javascript to make a dropdown menu feature work. That worked just fine under Mozilla and FireFox, and even Safari & Konqueror.

When I tried with Internet Explorer, nope. Not working at all.

The function I was using goes like this:

Visual C++ for free!

Download a free copy of your C++ development environment! (Visual C++ v8.0)

Yes! Microsoft is doing the same thing as Linux: they offer their IDE for free with their fully compliant C/C++ compiler (as well as other bits if you are interested, I only want C++ on my end!)

At this time, the link is like this: ... (does not work anymore...)

It may require a bit of digging to get older versions but they should remain available. (but who wants the old stuff anyway?!)

I don't have links anymore and the one I had before doesn't work... it make still be available, but you'll have o

Compiling zlib for Win32 with MinGW

I have had a BIG problem with compiling zlib. Now I have my own normal configure.ac file, but the most important part of that compile was for me to find out how on Earth can you generate the dynamic library (.dll and .dll.a files) instead of the static library (.a only file)?!

Syndicate content Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

Find the page/content you are looking for with our index.

  • CPU
    Central Processing Unit--what actually enables a computer to do things. The most well known are the Intel and AMD processors, although there are thousands of them.
  • Made to Order Software

    Made to Order Software is my company. m2osw for short. We offer many different types of software including some for Drupal (the CMS used for this very site.)

  • enhanced
  • root
  • 2

    Computers use binary, thus the number 2 is very important in computing. You will find it everywhere.