Friday, October 21, 2016

Windows Update Error 8024402C

1. Go to Administrative Tools/Services and find the Windows Update service. Stop it.
2. Go to C:\Windows\ and rename the SoftwareDistribution folder to something like SoftwareDistribution.old
3. Restart the Windows Update service.
4. Click the Check for Updates button on the Windows Update screen.
5. Windows will perform the check - it may take some time, so leave it running. Eventually it will successfully complete.
6. You can then delete the SoftwareSistribution.old folder.

Source:
http://www.sevenforums.com/windows-updates-activation/218303-windows-wont-update-error-8024402c.html

Saturday, October 15, 2016

bash history with timestamps

This is definitely something useful!
How to attach timestamps to the history of the bash commands?
Simple:  just set (in the way you like to have your time format) the bash variable HISTTIMEFORMAT

For example to have the format: day/month/year - hours:minutes:seconds" type this:

export HISTTIMEFORMAT="%d/%m/%y - %H:%M:%S: "

and then just run history

That's it!

Source
 stackoverflow

Thursday, October 13, 2016

"Server is either down or too busy to respond" with AppStatusCheck

If you got this problem (and your server IS up and running!) it means you haven't set the correct JDBC driver in your AppStatusCheck.tra file.

The path to the JDBC driver (for example ojdbc6.jar) must be set in the property

tibco.class.path.extended

That's it!

Tuesday, October 11, 2016

What every programmer / computer scientist should know about X

Here are some useful references for Programmers/Computer Scientists.

What every programmer / computer scientist should know about X where X is:

  • Memory: What Every Programmer Should Know About Memory by Ulrich Drepper (2007) Recommended by Scott Meyers. Links: pdf, pdf
 
  • Floating point: What Every Computer Scientist Should Know About Floating-Point Arithmetic by David Goldberg (1991).  Recommended by John Farrier at CppCon 2015. Links: pdf, pdf,
More to come... ;)