Tim’s Blog
-
JSON Objects
Answered a question on StackOverflow that I thought is worth posting about. It’s surprising how many people try to work with JSON without knowing javascript. Most JSON either returns objects {} or arrays []. The first thing you learn about JSON is that you can just eval the object. In the case of arrays, you […]
-
Fun With the GAC
The .Net GAC (Global Assembly Cache). It’s where all shared .Net components can live. However, if you have to step through the code of one of these assemblies things can get exciting… Let’s say that I have a Business Object dll named business.dll and I have it in my GAC. And a project in which […]
-
Keeping Temporary Files Out Of The Way In Emacs
Found some very useful emacs info in this this blog post. Put the following into your config and your temporary and autosave files will not clutter up your project directory. (defvar user-temporary-file-directory (concat temporary-file-directory user-login-name “/”)) (make-directory user-temporary-file-directory t) (setq backup-by-copying t) (setq backup-directory-alist `((“.” . ,user-temporary-file-directory) (,tramp-file-name-regexp nil))) (setq auto-save-list-file-prefix (concat user-temporary-file-directory “.auto-saves-“)) (setq […]
-
How I Use ASP.Net Skins and Themes
Recently reading some discussion of themes, and skins were listed as bad, because they cut out the designer and required duplication for any non-server control element. As in the following: I want all my text input’s to have a blue background. So I said background=”blue” in an asp.net skin file, and create a blue style […]
-
Ceteris Paribus
From Wikipedia.org: W. Ross Ashby wrote in his “Introduction to Cybernetics” (1956): “Science stands today on something of a divide. For two centuries it has been exploring systems that are either intrinsically simple or that are capable of being analysed into simple components. The fact that such a dogma as >>vary the factors one at […]
Got any book recommendations?