Syndicate content

delete

Thunderbird is so slow... it's nearly unusable!?

I have been using Thunderbird for a long time and yet I still did not know about the Compact feature.

A while back, i would use my Local Folders to save Junk, Draft, and Sent emails. This is really fast by default. But at some point I had a problem and reverted to using the remote folders which worked.

The problem was that Thunderbird would tell me that my Local Folders were full even though looking at them they were clearly empty.

The way this works is really annoyingly bad:

1. it accepts emails in a file, like the good old days, it uses one file for any number of emails

2. it adds new ...

The C++ delete operator, will it do what you expect?

It has always been weird to me to see that the delete operator was not actually going to call all the destructor on objects. That is, if you create a class B that derives from a class A, deleting an object when cast to A does not (by default) call the destructor defined in class B.

The result is that ALL classes should define their destructor as virtual. This doesn't make sense because you shouldn't have to have a virtual table in all your objects just for the destructor to work right. On the other hand, class A has no way to know that it will be derived by class B so its destructor

local delete, incoming edit upon update

Today I tried to move an SVN folder to another.

In my first attempt, I tried to copy the folder to a sub-folder that was not in SVN. The result is that the move failed, but nothing seemed to change in the SVN environment.

So I tried again, this time making sure that the destination folder would be an SVN folder.

The second time, however, it failed. The move instruction reported a conflict... Then the svn commit would not work. The SVN system was thinking that I changed something with the first svn mv as the failure did not clear the conflict.

svn mv a tmp/a-1.x        # fails saying tmp/ ...

rsync: delete_file: rmdir "<path>" failed: Directory not empty

I have different scripts that synchronize different hard drives for either backup or just synch-ing my development system with one of the production systems.

I got an error for a little while after I created a folder on a destination as I wanted to make sure that the source folder was being copied...

That generated an error as follow:

  rsync: delete_file: rmdir "<destination>" failed: Directory not empty (39)
  rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]

The fact is that the source file was a softlink and not a folder. So ...

Deleting a database in Synergration

Synergration AccessBooksRT is a tool we use to get a copy of QuickBooks tables in an MS-Access database.

It works great for our purpose and transformed some super sluggish forms into lightning fast forms. We still use QODBC for some of the work (updates) but 99% now goes through the database generated by Synergration instead.

/var is 99% full...

Problem

On Unix systems, you create partitions and assign them a folder such as /usr, /home, and /var. Many people like to put different things on different partitions. Very frankly, it is often complicated to do that, so if you don't have a real need, only break up the /home and /tmp folders from the rest. The /var is a good idea to break up if you use databases or very heavy logs. The /etc can be separate mainly for ease of backup.

Compressed CSS & Boost when developing

On my sites, I'm using boost to allow much faster access time (close to instantaneous in comparison to hitting Drupal and all the database accesses...)

The result is great! But it generates some problems when you test a page. It does not get refreshed... Easy, you can clear the cache. Not advisable when your cache is around 10,000 files. A better way, is to go to that page and click on "Flush Page" (available in one of the blocks offered by boost.)

SVN and executables

One of the annoying thing with Subversion (SVN) is that at times it will add a execute flags to your files and there does not seem to be a function to easily remove that execute flag.

Doing a chmod on your file and trying an update, status or commit does not work. One way is to (1) copy your file, (2) delete the file from your SVN, (3) re-add the file after you carefully changeed the mode with a "chmod 644" or something similar. But of course, that means you lose your history...

[toc hide:1]

QODBC and update of table lines

Today I bumped in another problem.

Some QuickBooks tables cannot properly be updated with QODBC. In my case it was the SalesOrderLine table. The first error I got was:

Error parsing complete XML return string (8)

I just couldn't be sure what that meant...

I had looked at the XML output closely and noticed that the identifier of a line was improperly shown in a separate tag.

The fact is, I just could not update multiple lines with FQSaveToCache flag set to 1.

Associate & De-associate (or Un-associate) a label in MS-Access

Problem: Associate, easy! De-associate... but how?!

The association of a label with another widget is easy to obtain. You want to do that especially if you want to hide the widget or apply some similar effects to it so both, the widget and its label are affected. This is especially true if you hide the widget.

Syndicate content Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

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

  • IDE
  • VLC
  • cluster
  • scan

    In software, scanning means checking the content of memory or a disk for something. In hardware, you have scanners that read the colors on a piece of paper. In the C language, you have a function called sscan() (String Scan,) which I recommend you avoid, but is used to scan the content of a string.

  • status