HNHacker News
TopNewBestAskShowJobs

AaronBBrown

330 karma · joined May 4, 2012

submissionscomments
AaronBBrown··on Devops/Sysadmin Cheatsheet
Looks like a useful tool. Thanks!
AaronBBrown··on Devops/Sysadmin Cheatsheet
It's not bad. It's extremely useful. If someone is so negligent that they run something potentially destructive and then immediately sudo !!, they probably shouldn't be administering systems.
AaronBBrown··on Devops/Sysadmin Cheatsheet
Here's one I like for testing bandwidth between two machines:

  host1$ while : ; do nc -l 6666 > /dev/null; done

  host2$ pv /dev/zero | nc host1 6666 
  156MiB 0:00:17 [9.46MiB/s] [    <=>              ]
AaronBBrown··on Devops/Sysadmin Cheatsheet
I use this one like a dozen times a day.

  user@host$ less /var/log/syslog
  Permission Denied
crap...

  $ sudo !!
  sudo less /var/log/syslog
Woo!
AaronBBrown··on Devops/Sysadmin Cheatsheet
I prefer using tcpdump instead of processlist when dealing with pt-query-digest. You get everything instead of just what happens to show up during the interval specified. This is, of course, assuming that you don't allow localhost socket connections.
AaronBBrown··on Favorite Unix Commands
I often alias `sudo` to `fucking` to help vent my frustrations

    $ rm -rf somedir
    rm: somedir/: Permission denied
    $ fucking !!
AaronBBrown··on What It's Like To Work Future Style
I'm a big fan of pajama working. Just make sure to remember to put pants on (or not stand up) during video conference calls.
AaronBBrown··on What It's Like To Work Future Style
I'm not sure that's exclusive to telecommuting. Having worked about half of my career remotely, and the other half in an office, I wouldn't say that the prevalence holiday/middle of the night calls is much different. Certainly, this is more true of Operations work than say, Accounting.
AaronBBrown··on What It's Like To Work Future Style
Basho, Github, and Percona immediately come to mind. Lots of other companies (including my current home, ideeli) have distributed Tech departments with employees all over the world.
AaronBBrown··on Poll: Do you select text while reading?
I thought I was the only one who did this. Interestingly, I do it much less when using the Clearly Chrome plugin from Evernote. https://evernote.com/clearly/
AaronBBrown··on CodernityDB — pure Python, NoSQL, fast database
What platforms are people trying to run Riak, Redis, and MongoDB on where a package is not available, or a compiler is not available?

add repository.... {apt-get,yum,brew,port} install {mongodb,riak,redis}

I see little benefit in compiling any of these products from source.

AaronBBrown··on CodernityDB — pure Python, NoSQL, fast database
"CodernityDB pure python, NoSQL, fast database"

Is the fact that it is written in "pure Python" really the most important thing to reenforce after the name of the product itself?

Why would I use this over established products like Riak, Redis, MongoDB, etc?

AaronBBrown··on Ditch QWERTY – Your Hands Need Colemak
The first thing I did when upgrading to Lion was to turn off "natural" scrolling. While arguably more natural when using a touchpad (and definitely when using a touchscreen) is entirely unnatural when using a mouse or trackball. It is counter to how every other OS on the planet has worked for 30 years and doesn't provide any efficiency gain.
AaronBBrown··on Ditch QWERTY – Your Hands Need Colemak
"I don't touch type" and "I still hit the 120 WPM sweetspot" does not compute.
AaronBBrown··on Ditch QWERTY – Your Hands Need Colemak
I appreciate the fact that there may be technically better layouts than QWERTY (Dvorak, Colemak, whatever), I'm still unable to understand how this is going to help me as someone who can has been able to touch-type in the 100-120wpm range since middle school (that was over 20 years ago). How much faster do I need to type? By all personal measures, QWERTY is good enough and the fact that it is the standard means that I can sit down at any English keyboard and be able to type at my peak efficiency without having to switch my brain back and forth between two layouts. My fingers can already keep up with my ability to form coherent sentences and in programming/sysadmin work, typing speed is not very important once you get past a certain point. I literally never had the thought, "If only I could type faster, I could get this done more quickly..."

On top of this, as a heavy vi user, the main navigation keys are no longer on the home row for either Colemak or Dvorak, which means I either need to make my editing far less efficient, or remap nearly every key.

I have had many very intelligent people attempt to explain the switch to Dvorak to me, and never heard a good reason to invest the time. I am curious if folks invested the same amount of concentrated time improving their QWERTY skills (relative to the amount of time folks spend learning a new layout) if there would be a similar speed improvement.

AaronBBrown··on Xkcd "Click and Drag" in a "map" interface
This is awesome even though it crashed my phone so hard that I had to do a battery pull! :)
AaronBBrown··on MySQL vs PostgreSQL
You could make the same exact disclaimer about SQL statement and it would be true:

"INSERT modifies data and structures. You should be careful with it, and test it before using it in production. You should also ensure that you have recoverable backups before using this tool."

"ALTER modifies data and structures. You should be careful with it, and test it before using it in production. You should also ensure that you have recoverable backups before using this tool."

It's just good advice to test stuff before you use it in production. Discarding an awesome product simply because the authors (responsibly) mention that you should probably test it out seems overly paranoid and would severely limit your choices. Percona Toolkit is the most well known and reliable set of tools out there in the MySQL ecosystem.

AaronBBrown··on Is MySQL becoming less open source? Test cases go internal now
To be clear, XtraDB is solely developed by Percona. MariaDB has nicely included it, not the other way around.
AaronBBrown··on MySQL vs PostgreSQL
Because there is a disclaimer, you are disregarding a thoroughly tested product that solves your exact problem? One which is released by one of the premier MySQL consultancies with the author of "the" MySQL book as the designer?
AaronBBrown··on Harvard cracks DNA storage, crams 700 terabytes of data into a single gram
What's the latency/throughput on reading the data back?
AaronBBrown··on MySQL vs PostgreSQL
pt-online-schema-change should resolve that issue for you: http://www.percona.com/doc/percona-toolkit/2.1/pt-online-sch...
AaronBBrown··on MySQL vs PostgreSQL
Oh bloody hell, yet another PostgreSQL vs MySQL battle ensues.
AaronBBrown··on What's all this fuss about Erlang?
We use Riak extensively at ideeli. It looks poised to stick around for the long-haul.
AaronBBrown··on Jack Dorsey: Today Starbucks Signed up for Square
One thing about NFC is that it does not require an active data connection, whereas Square does. That may not seem important, but for those of us who live in the middle of nowhere, it's relevant. I'm not sure that it's relevant enough to change wide-scale adoption patterns, but in my small town, there are multiple locations in CDMA black-holes that are PayPass enabled, thus accept Google Wallet. Every single Mobile station, and nearly every other big-chain gas station is already set up for NFC.

According to the Square App, I have to drive 11 miles away to find the nearest accepted location.

Ultimately, I think both will operate in parallel for quite some time until Apple decides to release something and takes over the world of payments overnight. :)

AaronBBrown··on What's all this fuss about Erlang?
"is it being used in more and more important things?"

Riak is written in Erlang.

AaronBBrown··on PostgreSQL Rising
A dev can only override it for their session, not at the global level.
AaronBBrown··on PostgreSQL Rising
That is a comparison from 2006 using MySQL 5.0.20 (ancient!) and as such is completely irrelevant to any discussion on performance in 2012. Dramatic scalability improvements went into late 5.1.x releases, and then even more in 5.5.
AaronBBrown··on PostgreSQL Rising
1. Yes, applications can set sql_mode themselves at the session level. An admin cannot prevent this. http://dev.mysql.com/doc/refman/5.5/en/server-sql-mode.html
AaronBBrown··on PostgreSQL Rising
Thank you for the clarification about the PostgreSQL terminology. That will help me keep track of the progress. I am very pleased that the PostgreSQL community has finally started implementing native logical replication, which is really one of the biggest obstacles to widespread adoption.

Slony, in a word, is awful. It's probably as good as it can be given the limitations of working within a trigger-based world, but in the 3 years I spent maintaining Slony clusters, I lost count of the number of times that I had to take a site offline (sometimes for hours) in order to rebuild from scratch because of a failed schema change. Many times, I was able to recover by careful manipulation of the sl_events table, but far too frequently, the error was unrecoverable. Slony is slow, unreliable, not tolerant of high latency connections, and fragile. It was always one of my greatest frustrations that the PostgreSQL community saw it as a solution given how completely unreliable it is. Perhaps things have changed in the 2 years since I last touched it, but I am skeptical.

Please try to understand that my few objections to PostgreSQL come from actual real world experience with both MySQL and PostgreSQL, not from reading blog posts. Both products have great features as well as unpolished turds...it's just a matter of deciding which color of poop you are willing to clean out of the diaper. :)

AaronBBrown··on PostgreSQL Rising
What version of MySQL? Sounds like the old AUTOINC lock mode behavior. http://insatiabledemand.ideeli.com/post/18850015294/diagnosi...
← PreviousPage 4 of 5Next →