News for hackers. Stuff that matters.

paisleyrob

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.
That's only because it's got single quotes contained within it.
Re:Host your own OpenStreetMap Map Tiles on Tuesday August 30, 2022 @05:42PM (#32655525)
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.
Re:Host your own OpenStreetMap Map Tiles on Tuesday August 30, 2022 @10:07AM (#32650664)
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.
Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @03:26PM (#20473129)
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...

Re:I swapped my MacBook for an iPad+Linode on Wednesday November 02, 2011 @12:59PM (#3187745)
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.

Re:PostgreSQL 9.1 released on Monday September 12, 2011 @06:16PM (#2989096)
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.
Re:ResizeMyBrowser on Tuesday June 14, 2011 @02:28PM (#2654105)
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.
Re:Hipmunk for the iPhone - here's how we built it on Thursday March 03, 2011 @02:24PM (#2285364)
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.
Re:"PSD is not my favorite file format" on Thursday April 23, 2009 @01:50PM (#576132)
I enjoyed the commit message most:

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