Ok, so last night I was writing some code and I started to drift off. When I woke up in the morning, I found the following oddness in my comments for one of my methods...
What's funny to me about this is that there are no wizards or warlocks in this code. In fact, this is a pretty mundane plugin manager. I probably should have been sleeping instead of trying to hack out those last few lines of code...
One of the things that I absolutely love about Linux is the package manager. It was the thing that took the most getting used to when I switched from Windows, but now that I'm in the habit of apt-getting almost everything I need (especially as a developer) it's hard not to have it on other platforms. This year, I switched my life to Mac and am loving it, but I still miss my package manager. Enter homebrew , a package management system for Mac. I was suspicious for a while about this solution, since I'm not really comfortable with installing packages that aren't part of a trusted repository. My friend David convinced me to give it a try and I think the transparency of the system and the degree to which it keeps things nicely isolated soothes most of my concerns. I run my mac as a non-admin user for day-to-day work. This is a best practice that I think everyone should follow. It did mean that I needed to do things a little bit differently when setting up homebre...
Like many people, I've been trying to upgrade one of my laptops to Windows 10 using the Media Creation Tool and encountering the useless error "Something happened." I searched the internet, and found a lot of posts advising me to change legacy (non-UTF) language settings to "English (US)", which appears to be working for some people but did not help me. I also followed instructions to stop and start Windows Update service, clear update downloads, and none of these worked either. I was finally able to figure out a way to create a USB using the Media Creation Tool. I regularly run as a Limited User for security reasons, and I have an Administrator account that I use only for administering my system. As such, I ran the Media Creation Tool by elevating to admin permissions (for example, context menu Run as Administrator ). Normally, this should work fine, by giving the application the permissions that it needs to run. Most installers work this way, and certai...
On a Windows machine, it's easy to set a file or folder as hidden (or show it again). On Mac, it isn't quite so obvious. There's no option for this from the UI. Like most Unix-inspired systems, OSX follows the convention that filenames are hidden if they start with a dot ( . ), but this doesn't translate well to Windows which doesn't obey this convention. A good example are the annoying .DS_Store files that OSX leaves behind and stick out like a sore thumb on a Windows filesystem. Well, instead of (or in addition to) prefixing files with a dot, you can set the hidden flag on the file and it won't show up. The command: chflags hidden To clear the hidden flag: chflags nohidden To see all files, even the hidden ones, from the command line: ls -la To show hidden files in Finder, use this command on Mavericks: defaults write com.apple.finder AppleShowAllFiles TRUE Use this for earlier versions of the OS: defaults write com.appl...
Comments
Post a Comment