HNHacker News
TopNewBestAskShowJobs

nblumhardt

14 karma · joined February 8, 2015

.NET denizen, instigator of the Autofac and Serilog projects, co-founder at https://getseq.net
submissionscomments
nblumhardt··on Better Database Migrations in Postgres
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!)

nblumhardt··on Serilog – Simple .NET logging with fully-structured events
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!

nblumhardt··on Serilog – Simple .NET logging with fully-structured events
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!
nblumhardt··on Strings and the CLR – A Special Relationship
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

nblumhardt··on Exploring Rust (from C#)
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.
nblumhardt··on Exploring Rust (from C#)
I needed that laugh!

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

nblumhardt··on Exploring Rust (from C#)
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 :-)
nblumhardt··on Exploring Rust (from C#)
Thank you - was a bit of an unexpected appearance here so getting onto the erm, technical issues, now...