Easiest process for recording e-learning files at home using free software

1. record using ClearRecord Lite from your mobile  or tablet in long files (or any other free desktop application, but I found this program is really good) — but make sure you don’t have an open door or window in the room, the kids are sleeping and there is no fan or air-conditioner on

2. use Audacity to remove noise using effects -> noise  removal after getting noise profile (you can repeat this process twice)

3. After background noise is removed, split the long file using slice audio file splitter

4. rename split files

5. Create a chain using audacity where you specify  for example: Amplify, normalize, changepitch,
exportwav, then apply to all files , then apply the chain to all the files you renamed (play with different parameters and try it with one audio file until you reach the desired result)

6. you will have a folder called clean with your  final files

7. convert to mp3 using winlame specifying your prefered bitrate

8. Listen to them again to make sure everything is OK


Finally solved: Vista update Error 80072efd

After lots of trials the  solution turned out to be that simple:  disabling the proxy for windows update:

Just run command prompt and type:

netsh winhttp reset proxy


Then restart computer and that’s it!

Batch converting pictures to .eps for your latex documents

And finally I was able to do it in an easy way and for free!!

All other software I found available online either had watermarks or no batch processing option.

I can’t believe I finally found one that works in batch mode and is fast and reliable.

The only drawback is you need to install lots of dependencies before working with it, but it is really not time consuming, just follow the install directions and everything should be fine.

Before finding this program, I have been struggling for days writing windows batch files that execute GraphicsMagick command line commands to do the batch job and I haven’t succeeded to keep the original names of the files and add the .eps extension to it. Here is the for loop I wrote in the batch file when I was using GraphicsMagick: for %i in (*.jpg) do gm convert %i %~ni.eps done; and for some reason it was not working…

Now I discovered Phatch (Photo+ Batch) which is a freeware based on python. That’s why you first have to install some python dependencies. Just download this file, extract it, read the readme file and it’s not difficult.

Then download the Phatch zip for Windows and browse to Phatch.py, make a shortcut from this file to run the application.

Whoever made this, a big fat THANK YOU!

**Updated: how to make the conversion:

Run phatch.py, choose add action , choose save, change type to eps and path to <folder>/ converted, then choose execute action, choose the folder where you have the images, choose batch and then choosecontinue!

Different Keyboard Layouts

As I use different languages in typing, I often forget the layout of the keys of each language.
Here are the layouts of the languages I use (among all layouts provided by wikipedia).

Arabic Keyboard Layout

English Keyboard Layout

French Keyboard Layout

German Keyboard Layout

Originally Posted By Laila Hussein to Thoughts & Tips at 2/19/2009 03:46:00 PM

My First Hello-World Program using LispWorks

I decided to use LispWorks for my AI coursework where we will program in Common Lisp. Here are the steps I went through until now to set up my environment and write my first program, I’m putting them here as a reference for any Lisp newby and for myself.

1. Work through Noran’s 3 Tutorials (Short Tutorials a friend of mine created)

2. To understand more how it works, read this starting with the paragraph entitled “Interactive Programming”

3. Download and Install LispWorks Personal Edition

4. Download Common Lisp Starter Pack

5. Run it and choose select all and continue until it terminates

6. Open LispWorks

7. Load Start.lsp from “My Documents/Lisp Libraries”

8. Create a new file using file->New (or Ctrl-N)

Enter the following into the editor:

(defun hello-world()

(format t “hello, world!”))

And don’t forget to add a new line at the end

9. Save as .lisp

10. Right Click – Definition – Compile (F7)

Something like the following should appear:

;;; Safety = 3, Speed = 1, Space = 1, Float = 1, Interruptible = 0

;;; Compilation speed = 1, Debug = 2, Fixnum safety = 3

;;; Source level debugging is on

;;; Source file recording is on

;;; Cross referencing is on


;;;*** Warning in HELLO-WORLD: FORMAT assumed special


;;; Compilation finished with 1 warning, 0 errors, 0 notes.

—- Press Space to continue, or press Return to view errors and warnings —-

Now press space to return again

11. Choose Windows->Tile Vertically

12. Choose Tools-Preferences-Emulation-Editor Keys Like Microsoft Windows

13. In Listener (the first window on the left): Call the function by typing:


The following should appear:

hello, world!


14. Every time you run LispWorks, you will first have to run Start.lisp and then load the file you want to work on.

15. While still in the listener, Click F1 and then press B. This will show you all the bindings to the keys.

The most important key bindings for me are:

F7 Compile

F8 Evaluate

F1 Help

F11 Go to editor

F12 Go to listener

Ctrl-Shift-S Save all files

Ctrl+Up History Previous

Ctrl+Down History Next

Ctrl+U Uppercase Region

Ctrl+L Lowercase Region

F20 Kill Region

Originally Posted By Laila Hussein to Thoughts & Tips at 11/04/2008 01:47:00 AM

Eclipse Tips & Tricks

As I am using eclipse/CDT for my bachelor project, I thought of making a small googling on some handy eclipse tips and tricks that would make my life easier. Here are some stuff I found:

  • Moving a line of code up and down: Alt + UpArrow moves a line of code up. Alt + DownArrow moves it down – you don’t have to have the entire line selected. This also retains the code comment formatting/spacing,
  • Copying a line(s) of code above or below : Ctl + Alt + UpArrow copies the currently selected line(s) above the current selection. Ctl + Alt + DownArrow copies the currently selected line(s) below the current selection.
  • Viewing all references to the selected construct : Ctl + G will display all references to the selected class, interface, method, or variable. Ctl + g will display all occurences of the selected construct.
  • Drilling down into a method or variable declaration : Click anywhere in the method or variable name, and press F3 to navigate to its definition. Press Alt + Left Arrow to navigate back.
  • Closing all windows : Press Ctl + Shift + F4 to close all editor windows
  • Renaming: Simply highlight a variable, class name or method to rename and right click to select Refactor->Rename. After entering the new name, the variable, class or method is now renamed plus anything in the whole workspace that references it.
  • Finding the matching bracket: To find a matching bracket select an opening
    or closing bracket and press Ctrl+Shift+P (Navigate > Go To >
    Matching Bracket). You can also double click before an opening
    or after a closing bracket – this selects the text between the two brackets.
  • Fix your code indentation with one key stroke (new in 3.0): . Select the code where the indents are incorrect, right click and choose Source> Correct Indentation. (or CTRL+) (Thanks to Eman for this tip!)
  • Navigating between editors: If you open a second editor while you’re editing, you can press Navigate > Backward (Alt+Left Arrow, or the back arrow on the workbench toolbar) to go back to the last editor. Also, you can quickly switch editors using the Ctrl+E keybinding which opens a list of all open editors.
  • Starting new clean sessions: A setting on the General > Editors preference page closes all open editors automatically whenever you exit. This makes start-up cleaner and a bit faster. After that, you can still stop an editor from being closed by using the Pin Editor button which appears in the workbench toolbar.
  • Viewing all keyboard shortcuts: press Ctrl+Shift+L to see a full list of the currently available key bindings
  • Importing files: You can quickly copy files and folders into your workspace by dragging them from the file system (e.g., from a Windows Explorer window) and dropping them into the Project Explorer view.
  • Switching workspace: Instead of shutting down eclipse and restarting with a different workspace you can instead use File > Switch Workspace. From here you can either open previous workspaces directly from the menu or you can open the workspace chooser dialog to choose a new one. This trick is also useful when you change certain preferences that require a restart to take effect (such as the General > Appearance preferences). To restart quickly simply switch workspaces to your current workspace.
  • Finding a string incrementally : Use Edit > Incremental Find Next (Ctrl+J) or Edit > Incremental Find Previous (Ctrl+Shift+J) to enter the incremental find mode, and start typing the string to match. Matches are found incrementally as you type. The search string is shown in the status line. Press Ctrl+J or Ctrl+Shift+J to go to the next or previous match. Press Enter or Esc to exit incremental find mode.
  • Going to last edit location: Navigate > Go to Last Edit Location (Ctrl+Q) takes you back to the place where you last made a change.
  • Converting to lowercase or uppercase: (Ctrl+Shift+Y and Ctrl+Shift+X).
  • Word completion: You can complete a prefix to a word occurring in all currently open editors or buffers by pressing Alt+/. (Ctrl+. on the Mac).
  • Toggle Comment: You can toggle comment on/off for the current line or the selected lines. Press Ctrl+/ or use the action from the drop down menu on right click in editor.
  • Maximize editor: Double-click on the editor tab to maximize editor to full window. Double-click again to restore.
  • Local history: Whenever you edit a file, its previous contents are kept in the local history. Right click in the editor and chose Compare With/Replace With > Local History….

Resources: 1 2 3 4 5

Originally Posted By Laila Hussein to Thoughts & Tips at 6/20/2008 08:55:00 PM

Setting OpenCV environmental variables for Eclipse in linux

  • After installing the CDT Plugin, you can use opencv in eclipse provided that you set the following variables:
  • Open Project Properties
  • Choose Settings
    • In GCC C++ Compiler – in include: enter: /usr/local/include/opencv
    • In GCC C++ Linker
      • in Miscellaneous – Linker Flags: enter: -lcxcore -lcv -lhighgui -lcvaux -lml
      • in Libraries:/usr/local/lib

Originally Posted By Laila Hussein to Thoughts & Tips at 5/01/2008 01:23:00 PM