1,374 karma · joined July 18, 2009
For example, it's great to think of noon as being the middle of the day no matter where you are. There are clearly advantages the other way around as well.
DST is just disruptive, though. "Hey everybody! Let's have two ones o'clock this morning!" That created all kinds of confusion in my house last night when things were running at one I didn't expect to be running until two.
I've worked with really awesome people who are completely lost without [insert proprietary single-platform editor here].
He's going through the same exercise I went through recently where your customer is running your software on Linux and you want to try to make use of the facilities offered by that OS so he can reproduce and diagnose the same issues.
The problem is that Linux just doesn't have good diagnostic tools. Most people don't recognize it because they've never had good tools. It's like being a C programmer who's never heard of a debugger. You can keep adding stuff to your code to try to isolate a bug and keep rerunning tests hoping it hits it where you've instrumented. That seems to be fine. But then you get a debugger and you can suddenly do significantly more on a running system gathering even more information on exactly the part that you care about.
This is what dtrace is. Linux needs something like it. If SystemTap will be that someday, then great. It has to work, though. My attempts to get it functional on Ubuntu and debian left me not feeling too great about the current state of thing (at least on debian, you can get kernel probes in without adding new and poorly documented package repository locations in). In neither case could I get SDTs working, though. For example, with dtrace, I can pretty trivially tell you the exact code paths in any running application on your system that are leading to IOPS. Then maybe I can exclude "known" paths and focus on only areas we don't think there should be any. This will include, for example, paging information. I can decide whether I want that when I'm drilling down. I can then look at another process that's running on the system and see when one is competing with the other for IOPS, CPU time, etc... I do this while the software is running and with minimal impact to the performance of the system.
When SystemTap does these things on my customer's Linux boxes, then I'd call it a dtrace competitor.
I'm an opscode customer, but before that, I was playing around with their free plan.
http://stackoverflow.com/questions/328215/does-anyone-know-o...
Interestingly, g++ compiles it to the exact same code if you remove all the crap that isn't the main with the cout printing a literal string.
Correction, that's all branches and all tags of all ASF projects. Not useful.
> Want to work on Apache httpd? > svn checkout http://svn.apache.org/repos/asf/httpd/
Again, all versions and all tags thereof.
> Maybe you only care about mod_proxy? > svn checkout http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/pr...
That's just the one version.
Similarly, my project wants the latest sources under under specific branches from repositories from five different administrative domains. That's trivial in git. I can move them around freely, lock a revision of a particular repository while letting others move forward, have custom (potentially unpublished or unwelcome upstream) patches to fit into my build system or supported OSes that are tracked along with them.
Subversion has externals for this same reason. It's no excuse for poor repository management.
That was a little too hand-wavy. I'm a little dubious until I see what went into that phase.
I've burned a lot of time trying to get it working on ubuntu -- one of my guys actually did by bringing over a fedora kernel. He said it wasn't easy.
I'm hoping Linux gets something like this in the mainline. I don't care of it's dtrace, systemtap, or something in between. This functionality is critical for both development and operation of production systems. Unfortunately, people don't seem to understand that until they have access to such a tool and realize they can answer all kinds of questions they never knew they could.
The first things I do with sshd on any machine are 1) disable remote root login and 2) disable password login.
Doing more than one thing at once, no matter how trivial, often seems to bite, though.
When I started programming ocaml, I was surprised to find no string primitives for things like split, find, etc... There was only regex. I didn't want to write a regex for doing a simple find or split, so I wrote a string library for my programs. My string library was consistently 4x faster than regex and did only exactly what I wanted.
That was a great explanation, though.
Java 5 was EOL'd in 2009. While it's good to understand some of the fundamentals (wait(long) is actually pretty tricky to use in practice), it'd be ridiculous not to allow anything introduced in the "new" java 5.
http://review.couchbase.org/8560
I pulled this one arbitrarily, it just happened to be the top. It's got a dependency and they change together. It works flawlessly and almost entirely transparently as long as you have a Change-Id (for which there's a simple hook to generate).It's mostly a (very low-volume) mail and web server. It's got ~200MB of web, about 11GB of "cache" files for a photo app I've got (about 31k files totally 11GB). I do a little bit of low volume S3 log processing on it every hour. My home directory is 2.5GB with about 107k files (that includes dropbox). The IMAP store is approaching 2 decades of mail with about 239k files totaling about 4.4GB of data. /root is a bit under 500MB with duplicity caches and stuff. Less than 300 files there.
I also keep a few snapshots I take every hour. There's a total of 347 snapshots across all the subvolumes (there are three).
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 142G 102G 37G 74% /
none 2.0G 192K 2.0G 1% /dev
none 2.0G 0 2.0G 0% /dev/shm
none 2.0G 60K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
/dev/sda1 230M 69M 150M 32% /boot
Overall, it's a small atom box that lives a pretty boring life that I figured would have endless hard drive space given my patterns. That does not seem to be the case.Anything further I can tell you?