Syndicate content

character

Bad move for PHP unpack()! So unpack() stopped working?

Today I noticed many errors on one of my websites. Looking closer into it, I noticed that the code for the mo_references Drupal module stopped working.

It took me some time, especially because the code seemed to work just fine as all the files could easily be displayed.

Actually, that was not the case. The unpack() character 'a', which I used, was transformed from a simple string that gets trimmed, to all the characters, including the NULL characters. Ouch! Now we have to use the 'Z' character instead.

I use it to unpack() a tar file by loading 512 bytes of data in a ...

log4cplus bug in handling %q in older versions

In the last few days I've been trying to find the reason for a slowness in one very specific case in a software. It looks like it crashes and since it includes many try/catch with (...) it certainly captures the fact, but contrary to what it is expected to do, this one does not get logged! In any event, I wanted to prove that the area where we first were looking was not affected, and sure enough it was not. The problem is somewhere else. However, to prove that I needed to have a way to log milli-seconds because things happen very fast and a 1 second decimation is definitively not enough.

Ignoring .svn, CVS, *~, .o, ... in bash auto-complete

Ever wondered whether you could ask bash auto-complete to ignore some of your files?

You can with the FIGNORE feature and the bind feature:

export FIGNORE=CVS:\~:.o:.svn
bind 'set match-hidden-files off'

You had one or both of these lines to your .bashrc file and then the .svn and CVS folders won't be used anymore! Add all the extensions you don't like in there and you'll feel better soon!

Note: The \ in front of ~ is to avoid the bash expansion of that character.

CSV format

A quick CSV (Comma Separated Values) reference:

1) Row separator

  \n   \r\n

In order to separate lines, use a newline character sequence.

Most loaders probably support the \r sequence too. (Especially on MacOS/X)

[toc hide:1]

No AfterUpdate event on Check Boxes in MS-Access?!

Symptoms

  1. My checkbox does not have an AfterUpdate event
  2. When running, I cannot de-select that check box once selected

Discovery Process to Solution

In MS-Access, you often want to run an action after the user changed something in a form.

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.

  • embedded

    Embedded software is a reference to software written to work in a piece of hardware equipment. At first, this was code written directly for a specialized processor such as an FPGA or a DSP. Today, regular computers will be used for applications such as a medical device or a kiosk and it is also called embedded software, even though these just are desktop applications...

  • force
  • jQuery
  • root
  • svn