599 reputation
823
bio website thehappypath.net
location Seattle, WA
age 33
visits member for 4 years, 2 months
seen Jul 23 at 14:31

256th Generalist badge. It really should be gold :)


I love AI, psychology, spirituality, philosophy, mathematics, food, art, brain teasers, board games, and telling people they're doing it wrong.

I love music - Bjork, Patrick Wolf, Radiohead, The Knife, The Decemberists, Squarepusher, Dalek, The Smashing Pumpkins, Lemon Demon, MF Doom, Blonde Redhead, David Bowie, Stone Temple Pilots, Battles - I love music. Grooveshark is my friend :)

I am a Strange Loop.
Wound like there's no tomorrow.
I forget there is.


I have written a whole bunch of automation for all sorts of programming tasks (CI, deployment infrastructure, code generation, test case generation, test lab/deployment automation infrastructure, and a whole boat load of automated E2E, integration, and unit tests).

I've programmed mostly in C# for the last 7 years, though occasionally in a myriad of other tongues (C++, C, JavaScript, VB.Net, Java, batch scripts, Lua, Lisp, various DSLs and Python).

I've done a bunch of web programming lately, though I also like API design, and I like programming desktop applications and Windows daemons even better. As boring as desktop apps and services may sound, they're easy to write, and have a nice robust feel to them, much like crunchy peanut butter.

I dig Open Source Software.


Jul
19
comment Is there a way to move the current window to another desktop without using a mouse in OS X?
It's working for me without the control key...? Just click, drag, wait patiently. Not the easiest thing to do with a touchpad...
Jun
11
comment Getting console2 to work nicely with UAC
Not sure if this qualifies as an answer for this question, but I'm interested in software like this in general. I'll give it a shot :)
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
The fact that you've given it thought gives me enough comfort to use the code you've provided :)
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
Tried to edit the question to make it less inaccurate, based on JdeBP's comment.
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
@Synetech: Can you clarify which part is incorrect? Is it the part JdeBP already mentioned on the OP (that you can have multiple entries with the same domain) or is there something else I've missed? :)
Mar
13
comment Expected behavior with duplicate NT hosts file entries?
Can't remember if I did or not, as I was working with this between 3 to 8 months ago. But good point and thanks for checking into this. Do you have multiple adapters, and can you check if the adapter preference settings I mentioned in my self-answer have any impact?
Mar
13
comment What's the closest equivalent of Little Snitch (Mac program) on Windows?
If you're doing development/reverse engineering work as opposed to simply trying to monitor your PC, I might suggest something like Fiddler or Wireshark. Those programs are designed around actually viewing, recording, debugging, modifying, injecting into, and replaying network streams, rather than just getting high level (executable/port level) control of program access. They're not a lot like Little Snitch IIRC, but they're much more helpful for dev work.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Then again, the whole DOS system is full of poor design decisions and lack of fixes for backwards-compatibility reasons, so I guess I wouldn't put it past them to intentionally have made a bad call here :) Okay, rant over!
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Alright. Since you continued the thread... lol. Windows never has any idea of my intent when launching cmd.exe, and this doesn't change depending whether or not I have elevated. There was already a default, and there is no compelling reason to change it, as there is no new info provided. I speculate (since I didn't work on the team that implemented UAC or patched cmd.exe after UAC was added) that this is just a quirk of cmd.exe, and that this whole "change" in behavior wasn't intentional. It is probably just a by-product of the multiple-token thing, and the order in which system calls are made
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I was going to reply to this with a rebuttal. But I realized it is both idle speculation, and quite OT, so I'll just drop it :) Again thanks for your help. I'll accept for now, and reply later if I find anything gets broken by this fix.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
Thanks, I'll give this a shot! Just a comment: If this is true, seems like lame rationale to me :) The only file I routinely edit with elevated privileges is under system32 is the hosts file. The rest of them are almost always under %ProgramFiles%/%ProgramFiles(x86)%, a custom directory in the root, or a file for a different account under C:\Users.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I've tried to edit my question to try to show that what I'm expecting is different from what Windows does by default. Please let me know if what I'm asking has problems, maybe a) the wording isn't clear b) it doesn't make logical sense due to how permissions work, or can't be done c) something will be broken if this is worked around.
Mar
13
comment Start elevated command prompt in %UserProfile% directory by default?
I understand that there are two sets of tokens involved, but how is the token related to the user profile? For example, the environment variable %UserProfile% is not changed under this elevated command prompt, and if you type CD %UserProfile% you'll end up in that directory. If you create files, the owner is still "you", etc. I know drag-and-drop is broken by elevated programs, but is anything else? Should the environment/path actually be different? "your expected outcome is false, and the actual outcome is expected" - yes I know this is how it works on a fresh install. I want to "fix" it.
Mar
13
comment How can I make wireless transfers faster on a Linksys WRT54G running DD-WRT?
+1 for useful info. Am I correct that IPerf is source-only? JPerf (on the same page) seems to have a pre-compiled Windows-friendly executable, which might be helpful depending on the client machines.
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
+1; Works great! I'd add HKEY_CLASSES_ROOT\Directory\shell\runas:Extended="" etc. so that this appears on the shift+right-click menu rather than the right-click menu. Also, you have - for keys. Doesn't that delete the keys and sub-values? Shouldn't you leave the existing keys there, or is it probably safe/won't conflict?
Mar
13
comment Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7
-1 I don't seen any evidence that this will elevate by default under Windows 7, as the OP asked. It will add a link that already exists under Windows 7, but won't add elevation. Can you provide details to the contrary?
Dec
15
comment Is there free OCR software that works well for source code?
No bins, but now that I've gotten a "we've tried it once, it worked", I will give it a shot :)
Dec
15
comment Is there free OCR software that works well for source code?
@Aaron: Coding for this is a last resort, tho one I may take eventually, depending on the outcome.
Dec
15
comment Is there free OCR software that works well for source code?
Notice the windows tag on my post. I think I saw this before and dismissed it because it was for Linux, and I don't want to have to break out MinGW or Cygwin to get the thing working. Please correct me if I'm wrong. I'd be willing to try it if those are supported targets and foolproof instructions exist. I don't see any mention on the main page...
Dec
12
comment Is there free OCR software that works well for source code?
@hometoast: I plan to use it to fix people's Stack Overflow blunders quickly, where they posted screenshots of code they could have copy/pasted in. I can manually edit it. I just need more accuracy than the mess I've got so far :)