News for hackers. Stuff that matters.

nblumhardt

Re:Better Database Migrations in Postgres on Wednesday September 13, 2017 @12:01AM (#15235430)
Another x-plat CLI option is Piggy - https://github.com/datalust/piggy - a side-project still early days of development, but may be interesting for the lack of (e.g. JVM) dependencies. It's a self-contained binary for Win/Mac/Linux.

DbUp, upon which Piggy is based, is a popular option in the .NET space: https://dbup.github.io/.

(Neither attempt the protections that I think strong_migrations is offering - TIL!)

Thanks for the reply! NLog's configuration story is certainly impressive; I think the differences in approach make them hard to compare directly on some of these however (for example, most sinks based on network I/O do asynchronous batching by default in Serilog).

Just on the topic of console output, you might enjoy the "literate console" - https://nblumhardt.com/2015/06/contender-for-nets-prettiest-... - for a different take on colored console output :-)

Cheers!

https://github.com/serilog/serilog-settings-configuration (JSON) and https://github.com/serilog/serilog-settings-appsettings (XML) should have pretty much everything covered - anything particular missing? Cheers!
Re:Strings and the CLR – A Special Relationship on Wednesday June 01, 2016 @06:42PM (#11818876)
Great post. So the follow-up question is, how much work would be involved in mirroring all that in a native UTF-8 encoded string type? :-)

Windows interop, and 8/16 conversions, would obviously be an expense, but ~half the storage requirements of UTF-16 have to represent a substantial CPU/RAM saving.

Guess it's too much cruft and complexity to introduce into .NET now, but who knows? https://twitter.com/terrajobst/status/717935598904807424

Re:Exploring Rust (from C#) on Wednesday March 23, 2016 @07:17AM (#11343442)
Ah yes, my bad - the "value types go on the stack" simplification is a bit sloppy. It's a useful way to describe it to make the comparison - but definitely not for understanding C# in this case.
Re:Exploring Rust (from C#) on Wednesday March 23, 2016 @06:44AM (#11343305)
I needed that laugh!

And some good news, serving a static copy from the original domain/URL, so all might not be lost :-)

Re:Exploring Rust (from C#) on Wednesday March 23, 2016 @05:57AM (#11343140)
Thanks - kicked off a resize, that may not have been the best idea. That'll teach me for hanging on to mainframe-era blogging technology :-)
Re:Exploring Rust (from C#) on Wednesday March 23, 2016 @05:45AM (#11343101)
Thank you - was a bit of an unexpected appearance here so getting onto the erm, technical issues, now...