Ir al contenido principal

Slow Start Menu Solution (Windows XP)

This might possibly work for other Windows versions.
I finally found the solution to the crappy start menu taking forever to load submenus! Thank you Phancy who pointed out to this solution in http://www.computing.net/answers/windows-xp/very-slow-start-menu-please-help/20993.html#10. You're a genious!

Simply delete EVERY F***N desktop.ini file in ALL start menus that affect you (wait there's more than 1? Yes, the beautiful complications of Microsoft developments). HOW? It can get tricky if you're a novice user, here the step-by-step guide:

0. You should know Windows (XP at least) keeps your start menu in the C:\Documents and Settings\[Username] foder. "C" can change depending on which drive letter is assigned to the drive or partition from where Windows is running. Obviously, [Username] is to be changed by YOUR user name, ie "Patrick" (shold be your Windows screen name used at the home screen if you use that. BUT there's also an "All Users" folder in here that ALSO affects you (and all users) so make sure to apply these changes to both these folders.

1. Go into the User folder (do this twice [at least], for "All Users" and for you [Username] folder) and locate the "Start Menu" folder. eg C:\Documents and Settings\All Users\Start Menu

*Ahh theres yet another trick, the desktop.ini files we're after are hidden! To show these files go into the "Folder Options..." entry in the "Tools" menu in the explorer window, then chose the "View" tab and find the "Hidden files and folders" branch in the advanced settins list. Make sure the "Show all hidden files and folders" option is checked.

2. You have to browse manually the whole tree-structure of the "Start Menu" folder (meaning go into every possible subfolder systematicaly) and delete the translucent "desktop.ini" files!

That should do it. Enjoy a fast-loading start menu again :)

-Jop

Comentarios

Entradas populares de este blog

sqlalchemy ProgrammingError can't adapt type numpy.float64 - Python troubleshooting

Are you getting a

sqlalchemy.exc.ProgrammingError: (ProgrammingError) can't adapt type 'numpy.float64'
???

It's because psycopg (psycopg2) - which is used inherently by SQL Alchemy but if you're just dealing directly with alchemy you might not know this - has no idea how to make the numpy.core.numerictypes.float64 (complete type path: another thing they don't tell you) a string for SQL querying.

Simple solution, add:

# solution by Jorge Orpinel found at rehalcon.blogspotcom
import numpy
from psycopg2.extensions import register_adapter, AsIs
def addapt_numpy_float64(numpy_float64):
return AsIs(numpy_float64)
register_adapter(numpy.float64, addapt_numpy_float64)
somewhere in the program.

For a more complete reference of the problem see http://initd.org/psycopg/docs/advanced.html#adapting-new-python-types-to-sql-syntax

I don't git it.

A lot of people praise git. I liked it at first, now I don't geet it.

Some weird stuff I've found in git, in no particular order:

You can pretend to be anyone. Just change your [user] name and email in .git/config and commit away. As long as when you push you use valid credentials, the commits will be recorded as from someone else. (At least this is possible on GitHub, I know git doesn't implement any specific user access control.)
* I guess you could try to enforce signing commits but as anything besides the basics, that gets pretty complicated on git.Steep learning curve that keeps getting steeper. Ok: git init, git add, git rm -r, git commit -am, git remote add, git fetch, git merge -ff, git push and pull -u of course, git checkout -b, git reset --mixed, git revert HEAD ... Those are just some of the basics... Ever tried to incorporate git subtree pull -P prefix --squash > into your workflow? I have, it's not fun (keep reading).Its super complicated to collaborate…

Dockerize your Django App (for local development on macOS)

I'm writing this guide on how to containerize an existing (simple) Python Django App into Docker for local development since this is how I learned to to develop with Docker, seeing that the existing django images and guides seem to focus on new projects.

For more complete (production-level) stack guides you can refer to Real Python's Django Development with Docker Compose and Machine or transposedmessenger's Deploying Cookiecutter-Django with Docker-Compose.

Pre-requisitesAn existing Django app which you can run locally (directly or in Virtualenv). We will run the local dev server with manage.py runserver.A requirements.txt file with the app dependencies, as is standard for Python projects; including MySQL-python.Working local MySQL server and existing database. (This guide could easily be adapted for other SQL engines such as Postgres.)Install Docker. You can see Docker as a virtual machine running Linux on top of your OS ("the host"), which in turn can run con…