HNHacker News
TopNewBestAskShowJobs

paisleyrob

39 karma · joined August 16, 2007

submissionscomments
paisleyrob··on pigz: A parallel implementation of gzip for multi-core machines
zstd has --adapt:

       --adapt[=min=#,max=#]
              zstd will dynamically adapt compression level to perceived I/O conditions. Compression level adaptation can be observed live by using command -v. Adaptation can be constrained between supplied
              min and max levels. The feature works when combined with multi-threading and --long mode. It does not work with --single-thread. It sets window size to 8 MB by default (can  be  changed  manu‐
              ally, see wlog). Due to the chaotic nature of dynamic adaptation, compressed result is not reproducible.
paisleyrob··on URL is also a shell script that executes some malicious(?) code
That's only because it's got single quotes contained within it.
paisleyrob··on Host your own OpenStreetMap Map Tiles
This very much depends on your use case. I recently did the planet for zoom level 12 as I mentioned elsewhere on this article. I can go into details if you're interested.
paisleyrob··on Host your own OpenStreetMap Map Tiles
Having JUST done this for zoom level 12 for the planet it's tedious. It took 9 days, to export to mbtiles, another 2 days going through pngcrush, and about 40 minutes to make it into a squashfs resulting in a 2.6G squashfs file which houses the 22,368,460 PNG files which are then served up directly via nginx in our case.
paisleyrob··on Adventures Building a Self-Driving RC Car
My mother has found the a motion detector water sprayer works great for this application. Deer comes by and they're sprayed with water.

It looks a lot like this one: https://www.amazon.com/Hoont-Blaster-Repellent-Activated-Spr...

paisleyrob··on I swapped my MacBook for an iPad+Linode
I thought this too. I invested some time because tmux is shipped by default in OpenBSD and thus I don't have to install screen on my firewalls. I even submitted a patch to tmux to remove all the bindings that I didn't care about so in that early transitional period when was using the help screen often, only the commands I actually use come up.

I REALLY like that the hardstatus line equivalent shows the command that's currently executing (think: bash, make, ./configure etc). That said, if you don't use the hardstatus line, I don't think there's much of a reason to switch unless you want multiple different size panes which screen doesn't really support.

paisleyrob··on PostgreSQL 9.1 released
For something like developer testing against frozen snapshots of data, you don't have the CRUD aspects, so turn fsync off (fsync = off in postgresql.conf). You'll note a large speed increase when you're not waiting on the disk to confirm transactions.
paisleyrob··on ResizeMyBrowser
Except most people think: iPhone, iPhone 3G, iPhone 3GS, and iPhone 4. There's an argument to be made that the iPhone 4 is the 4th generation of iPhones.
paisleyrob··on Hipmunk for the iPhone - here's how we built it
I just booked a trip to Key West, FL recently. I used KAYAK and throughout the entire process, I was thinking, there must be a better way. What took me nearly two hours a few weeks ago, would have taken me mere minutes on this site. I will not forget this site.
paisleyrob··on "PSD is not my favorite file format"
I enjoyed the commit message most:

  r11  by paracelsus on Sep 11, 2007   Diff
  Photoshop loader is DONE for now, fuck you Adobe