30
May
Today I had a very annoying problem: E-texteditor was slow as hell. Besides that, he had over 50% cpu used. Uhm.. Ok, something is wrong when a simple text editor (ok, not so simple, but you get the point) is using CPU so intensive. I looked on forum and I found next solution (which actually works!).
1) First of all we need to make sure E is not opened (eventually look in Task Manager) and a command prompt: press win+r, then type cmd and press enter.
2) After that, you need to go where E is installed. Mine was (and still is
) in : c:\Program Files (x86)\e. If you have a 32bit windows, I guess you will find in c:\Program Files\e. Anyhow, the fastest way to find it is to right click on the E shortcut, choose properties then click on “find target” big ass button.
3) Next (and last) step is to launch the editor. So just type: e.exe --clearstate --clearundo
That’s all. Now I have a real speed boost and no extra CPU usage
ATTENTION!
Even though this is a good speed improvement, you will loose ALL undo and all opened files. So do this when you actually KNOW what are you doing
24
May
Ok, it’s been so long since last E stable (1.0.32) and I started to think that Alexander dropped the project. Well… I was wrong. And I don’t remember being so happy when I’m wrong 
Anyhow, two weeks ago, another release hit the wild: 1.0.33. This is what was new with it:
- Added simple (but fast) Find in Project dialog.
- Search and Replace now has pop-up history.
- Settings dialog now have page with info about cygwin setup [adamv].
- Settings are now saved in JSON format.
- Repeatedly pressing home key will now toogle between beginning of line and the beginning of the indented text #354 [adamv]
- Improved multi-monitor handling #356 [adamv]
- Fixed shortcuts using windows keys was broken.
- Fixed re-opening previously edited bundle items.
- Fixed problem with unicode paths in projects #342 [tea]
- Fixed inf. loop after deleting bundle item #309 [tea]
With this release i saw a nice (and so waited!) performance boost: from 20 seconds (or even more!!!), the startup time dropped to 1-2 seconds
After a week or so, big surprise (and I mean it!): a brand new version of E! What’s new with this? Let see:
- Added support for Regular Expressions in Find in Project.
- Added keyboard shortcut for Find in Project (Ctrl-Alt-F).
- Fixed some keyboard shortcuts in menu.
- Fixed problem that prevented some bundle shortcuts from being detected.
- Fixed restoration of unsaved files #358.
- Fixed double-click on project pane folders #357.
- Fixed problem when re-opening remote file.
- Fixed cygwin path off-by-one error [adamv].
- Double-clicking projectpane folder now toogles.
- Fixed plain search in ‘Find in Files’.
- Removed old ‘Find in Files’ bundle command (it had conflicting shortcut).
- Fixed adding slash to drive in cygwin path [adamv]
Of course, the download link is here (click).
24
May
This is not web related in any way, but after almost a year with this monitor, I found out how to get into service menu:
- Turn off the monitor
- Hold the `menu` key and `+` key pressed and turn the ‘monster’ back on
- After it’s on, release all buttons then press `-` key. A huge menu will be displayed in top left corner
Ok, so? What can you do with this? You can set some stuff that you usually can’t. Do this on your own risk
13
May
Until two months ago I had a Microsoft Laser 6000. I also runned Microsoft Vista. Hilarious (or not), two MS products doesn’t work together. Or not in the first place.
On some applications, the scroll from the mouse was choppy as hell and kinda impossible to use. I founded two application: winamp and e-texteditor. If winamp is not a big deal (because i use foobar), the real problem was my editor. After few searches on google, i found this solution:
- I installed the driver (intellipoint);
- Go to start -> run -> msconfig -> startup tab -> find and uncheck ipoint.exe;
- And finally, restart your computer
A real pain in the ass was when I wanted to change scrolling speed. I used a system tweaker and change settings from there. After that, restart and saw if is fine. Usually, 3-4 lines for scroll was great.
Few months after, I changed position of my computer and i had to unplug all wires (and trust me, i have A LOT of wires there). Of course, when I plugged all things back, i didn’t put the mouse receiver in the same USB port and it doesn’t worked well. I guess the same problem you will have if you have a notebook, then be sure you plug in the mouse in the very same usb port, because all things will be messed up. Solution? Put the receiver in the same port or redo all settings. I always picked first.
12
May
Today I spent a few hours on trying to figure how the hell should I display only posts with certain custom field. For those who don’t know, a custom field allows you to add some extra information in each post. That information allows you to do various stuff like displaying a custom image on each post and so on. For example, the thing I tried to do today was to make a gender selector for the current project.
The usual way for displaying posts in Wordpress is this:
if (have_posts()) :
while (have_posts()) : the_post();
What I did is this:
$gender = htmlentities($_GET['gender'], ENT_QUOTES, 'UTF-8');
switch($gender ){
case "f":
query_posts('meta_key=gender&meta_value=f');
break;
case "m":
query_posts('meta_key=gender&meta_value=m);
break;
default :
break;
}
After that i continued with regular code:
if (have_posts()) :
while (have_posts()) : the_post();
That’s all!
Of course, i could use an unlisted tag or category, but i also made a neat custom field manager in the “post.php” page that makes administration of those custom fields a breeze.