This is Adam Marchetti's Typepad Profile.
Join Typepad and start following Adam Marchetti's activity
Join Now!
Already a member? Sign In
Adam Marchetti
Recent Activity
Yes, there's a good way to speed up your boot time: Use ANY OTHER DISTRO but Ubuntu! My Zenwalk system boots up in about 5-10 seconds. Then bam, login screen. (Yes, I will admit XFCE starts up horrendously slow. But is choice of DE what we're really measuring?)
Toggle Commented Oct 20, 2010 on Speeding Up Your PC's Boot Time at Coding Horror
// ==UserScript== // @name Google Homepage Mods // @author Adam Marchetti // @description Minimalizes Google's search page // @include http://www.google.com/ // @include http://www.google.com/webhp* // ==/UserScript== function removeByID(id){ var x = document.getElementById(id); if (x){ x.parentNode.removeChild(x); } return x; } // The "I'm Feeling Lucky" button is stupid var lucky = document.getElementsByName('btnI')[0]; var par = lucky.parentNode; if (lucky){ lucky.parentNode.removeChild(lucky); par.parentNode.removeChild(par); } // Google puts up stupid logos too var logo = document.getElementById('logo'); logo.src = "http://hackerlogo.com/images/HackerLogoSticker.gif"; logo.width = 198; logo.height = 198; // Decruft the bottom of the page removeByID("prm"); removeByID("footer"); // In case the above doesn't work removeByID("fctr");
Toggle Commented Oct 20, 2010 on Google's Number One UI Mistake at Coding Horror
You know, it's really funny to see all this Windows vs Mac debate, when, in the field of package management, Linux distributions (yes, even Slackware source + checkinstall) has been kicking their a**es for years now. Netpkg is the best, by the way. Nobody wants to type "apt-get install foo" when you can type "netpkg foo". Portage is nice, if you run a Cell processor. Never used BSD, so can't comment on ports.
Toggle Commented Oct 2, 2010 on What's Wrong With Setup.exe? at Coding Horror
Some idiot forgot to upgrade the GLIB and GTK+ dependencies for Linux. `vim configure`, here I come...
> Take that, capitalism! I think that one line, under your comment to the GPL, deserves a white-hot GTFO
Toggle Commented Sep 25, 2010 on Pick a License, Any License at Coding Horror
@Bill Karwin "or require the Fn key on some laptops." On a smart laptop, the BIOS lets you negate this behavior. I have a Dell Inspiron, and one of the first things I did was change that behavior.
Toggle Commented Aug 2, 2010 on The Opposite of Fitts' Law at Coding Horror
Depends on how many editors you are using. Generally, I'm pretty good about opening up my Python scripts (which is where this debate acutally matters , no?) in a single IDE; they're one time only, generally. But I've opened up a Python script in several different editors: - Geany - VIM - Emacs It's sad to say, but my favorite CLI editor, VIM seems to be causing all the trouble. Eventually, I'll find the time to find out how big a VIM tab stop is and write a script to de-VIMify a script (or change VIM's tab size).
Toggle Commented Jul 26, 2010 on Death to the Space Infidels! at Coding Horror
@ Brooks M. 1. The difference between "source code" and "binaries" is irrevelant. They all end up working the same way, after all. 2. Nobody in their right mind (except package managers / noobs) would download a binary to a Linux program. 3. "Something that just works" is subjective bullcrap put out by OS vendors I shall not name. For me, Slackware "just works". I don't know nor care about what "just works" for you. 4. And "without using your brain" is becoming a thing of the past with autoconf and automake and...
Toggle Commented Jul 26, 2010 on Oh, You Wanted "Awesome" Edition at Coding Horror
I wonder what POSIX has to say about this? I did a quick "newline or linefeed" search into the word query, but nothing came up for me, execpt various names of header files. Is this behavior defined anywhere as being a UNIX platform standard?
Toggle Commented Jul 26, 2010 on The Great Newline Schism at Coding Horror
> The REAL issue with F/OSS, which a few comments have hinted at in passing, is what developers seem to forget about behind the F/OSS flag of Get the Source and Fix It Yourself Faster than Proprietary - you're putting maintenance and bug fixes on your customers. While this might work for enterprises that can afford to hire developers to write and maintain this software, the premise falls flat on its face once you reach the consumer market. > That's why "wrapper" corporations, like Red Hat, are successful. Selling FOSS is not an oxymoron. That's also why Vim and Emacs are so successful: do you know any NON-programmer that uses them, or any (*NIX) programmer that HASN'T? On the other hand, programmers are more likely to contribute to what they use. So, if I don't use a project (like GNOME, for example), I wouldn't contribute to it. OpenOffice, as so many have noticed, suffers from this.
Just to make a minor correction: A host of IDE's can use #region directives, and not just with C# and VB.NET. C and C++ IDEs are guilty of this crime also.
Toggle Commented Jul 20, 2010 on The Problem With Code Folding at Coding Horror
> I'm a little uneasy about the idea that the ultimate user interface we > end up with in the next ten years will bear more resemblance to a >command prompt .. Why? What's so bad about a CLI? What's to miss? Bad UI design, loads of clicking and mouse moving? The only thing I can grant you is that the mainstream shell for Windows (cmd.exe) is a load of crap. But even Powershell can fix this, or emulating a *NIX shell (ZSH being my favorite) though a port/Cygwin. Or is it just a personal phobia of yours?
"And for a few laughs, you can install the BSoD screensaver on a coworker's computer when they're not around." There's also a really good hack for XScreensaver, but it can simulate dozens of different systems.
Toggle Commented Jul 12, 2010 on The Many Faces of (Windows) Death at Coding Horror
"the operating system took care of defragmentation all by itself in the background when I'm not using the computer?" What if the FS was designed to have minimal fragmentation? Who ever defrags their ext3, reiserfs, xfs... partitions?
It's refreshing to see Jeff get the crap kicked out of him in the comments. Though it is interesting for me, someone who likes C and Python, to see people defending C++ with the same things that make C great, and yet nobody seems to really be mentioning C itself. Hmm... For all you C++ fanatics, by the way, Google for "C++ FQA".
Toggle Commented Jul 12, 2010 on The Problem With C++ at Coding Horror
> A simple date is the most direct way to communicate this to the user. Version numbers are more effective, and that's why you never hear in conversation: "So, do you have Windows September 12, 2008 yet?" "No, but do you have Internet Explorer October 9, 2004 yet?" Also, is it not easier to communicate: "You have version 3.18" vs. "You have the build of the program from September 28, 2010"? The only place where dates have relevance are for people using cutting edge (i.e SVN trunks) or the developers themselves.
Toggle Commented Jul 12, 2010 on What's In a Version Number, Anyway? at Coding Horror
"Everybody knows that Unix is superior, and that the REAL question is Emacs vs. vi. :)" Not vi, ViM. ViM is superior :) The problem with the Mac vs PC holy war: there aren't any others for those users. EMACS vs VIM, KDE vs GNOME, everything from DE's to file-systems are subject to a holy war (or at least argumentative USENET posts). That's something I love FOSS: nothing is good enough for either side.
Toggle Commented Jul 12, 2010 on Because They All Suck at Coding Horror
Brandon Paddock wrote "To those claiming Linux doesn't have this problem: You're wrong. A 32-bit Linux OS will have the exact same limitations, right down the the kilobyte." There's an compilation option in the Linux kernel, High Memory Support. I don't use it (I run a Dell laptop, 3 GB RAM), but it should work if it made it into the kernel.
"It's far more cutthroat than the commercial software market could ever be. " This makes better software. Think about it: if Linux became popular overnight, what would happen to Microsoft and Apple? Or what would happen if people could fork the Windows/OSX codebase? Or what would happen if there were only 2 Linux distros?
> Personally, I think Microsoft's really got its stuff (developer tool-wise) together in the last 5 years, and I haven't heard of an IDE better than Visual Studio. Do Perl and Python developers even HAVE an IDE, or do they just use vim or Emacs? Yech. I don't think I'd want to work in such an environment, but certainly we can learn a lot from "the other half". (And look what's happening with C# 3.0... quite a bit of inspiration from Lisp and Ruby, I suspect.) > Wow. Could you actually make a decent comment, instead of having a whole paragraph rant against Linux users and Python/Perl programmers (the "other half", as you call us)? I'd like to see your Visual Studio start up before Vim on a console via SSH, by the way. And search Wikipedia for "Python IDE". You'd be suprised.
Toggle Commented Jul 12, 2010 on Giving Up on Microsoft at Coding Horror
Wow. They really suck at giving it any effort. That's okay though: it keeps clueless, demanding consumers from adopting Linux anyway (the kind of people who clog up normally good forums). Let them stay and waste money on tech support and new licenses every 5 years.
Toggle Commented Jul 12, 2010 on The End of the "Microsoft Tax" at Coding Horror
I thought .NET was supposed to help, not incite arguments like: (foo == String.Empty) vs (foo == "") (By the way, the second is cleaner. If you don't agree, you can go sit on a tack) Why is there EVEN a String.Empty value anyway? MS did a really good job creating pointless entries like that in .NET. What's next, a FooBar type so that n00bs reading documentation can actually compile the examples? /MSRant I agree with ALeX, by the way. All I ever use (as a hobbyist) is C and Python.
Toggle Commented Jul 12, 2010 on The Best Code is No Code At All at Coding Horror
What about all we owe to Bell Labs UNIX, and, especailly, Berekly BSD? What happened to universities innovating? Why are they not doing it now? I wonder, if we sent the computer age back 20 years to CLI's and USENET, if we'd be doing more now. It's a shame most don't know what a CLI is anymore. (NOTE: I'm mostly speaking for my generation here. I was born in the mid 90's)
Toggle Commented Jul 12, 2010 on Gates and Jobs, Then and Now at Coding Horror
Simple solution: make the Idle Process non viewable. I don't know about Mac, but even though every OS has such a process, I would think most *nix OS's don't show you. In TOP, for example, it has a row at the top, that says: "95.3 id" I'd rather have the more cryptic abbreviation than having to deal with an idle process that the OS is dumb enough to show me.
"There probably won't ever be any open source billionaires." But that's not really a bad thing, is it? Anybody wanna bet that Steve Balmer couldn't write even 100 lines of Python?