News for hackers. Stuff that matters.
Re:Ask HN: What TLD do you use for local development? by tdy721 on Monday September 26, 2016 @01:17AM (#12579399)
I use .dev of course! I realize that .test is the sensible choice, but there's some odd WordPress/Serialization benefit to keeping the TLD length the same.

Google bought it up, and I've never seen it in the wild, so it works well for me.

Re:Ask HN: What TLD do you use for local development? by kylehotchkiss on Monday September 26, 2016 @02:00AM (#12579546)
Ha I actually know what you mean, php serialized data having string length as a parameter always confused me
Re:Ask HN: What TLD do you use for local development? by actionscripted on Monday September 26, 2016 @01:00PM (#12583496)
I use .dev as well for everything.

And as WordPress work makes up a big portion of my paycheck I understand the serialization but haven't worried about it since moving to WP CLI everywhere and adding it to project scripts/automation.

  wp search-replace 'someproject.dev' 'someproject.dev'
It'll handle serialization and you can even use it for quick import/export:

  wp export --add-drop-table db.sql

  wp import db.sql