What’s the best way to identify hidden characters in the result of a query in SQL Server (Query Analyzer)?

Create a function that addresses all the whitespace possibilites and enable only those that seem appropriate: SELECT dbo.ShowWhiteSpace(myfield) from mytable Uncomment only those whitespace cases you want to test. For example: CREATE FUNCTION dbo.ShowWhiteSpace (@str varchar(8000)) RETURNS varchar(8000) AS BEGIN DECLARE @ShowWhiteSpace varchar(8000); SET @ShowWhiteSpace = @str SET @ShowWhiteSpace = REPLACE( @ShowWhiteSpace, CHAR(32), ‘[?]’) SET … Read more

c++ overloaded virtual function warning by clang?

This warning is there to prevent accidental hiding of overloads when overriding is intended. Consider a slightly different example: struct chart; // let’s pretend this exists struct Base { virtual void* get(char* e); }; struct Derived: public Base { virtual void* get(chart* e); // typo, we wanted to override the same function }; As it … Read more

bootstrap 4 responsive utilities visible / hidden xs sm lg not working

With Bootstrap 4 .hidden-* classes were completely removed (yes, they were replaced by hidden-*-* but those classes are also gone from v4 alphas). Starting with v4-beta, you can combine .d-*-none and .d-*-block classes to achieve the same result. visible-* was removed as well; instead of using explicit .visible-* classes, make the element visible by not … Read more

Make floating child visible outside an overflow:hidden parent

You can use the clearfix to do “layout preserving” the same way overflow: hidden does. .clearfix:before, .clearfix:after { content: “.”; display: block; height: 0; overflow: hidden; } .clearfix:after { clear: both; } .clearfix { zoom: 1; } /* IE < 8 */ add class=”clearfix” class to the parent, and remove overflow: hidden;

tech