๐Ÿš€ UllrichLumina

All Posts

Thumbnail for Posts

Right mime type for SVG images with fonts embedded

๐Ÿ“‚ Categories: Html
๐Ÿท๏ธ Tags: Svg Font-Face Mime-Types

This is the usual SVG mime type imagesvgxml And it works great However when embedding an SVG font chrome tells you the mime type is incorrect obviously because

Thumbnail for Posts

Should functions return null or an empty object

๐Ÿ“‚ Categories: C#
๐Ÿท๏ธ Tags: .Net Function Return-Value

Locked This question and its answers are locked because the question is offtopic but has historical significance It is not currently accepting new answers or

Thumbnail for Posts

Should I Dispose DataSet and DataTable

๐Ÿ“‚ Categories: Programming

DataSet and DataTable both implement IDisposable so by conventional best practices I should call their Dispose methods However from what Ive read so far

Thumbnail for Posts

Should I initialize variable within constructor or outside constructor duplicate

๐Ÿ“‚ Categories: Java
๐Ÿท๏ธ Tags: Java

This question already has answers here Should I instantiate instance variables on declaration or in the constructor 15 answers Closed 11 years ago When I use

Thumbnail for Posts

Should I use stdfunction or a function pointer in C

๐Ÿ“‚ Categories: C++
๐Ÿท๏ธ Tags: Function C++11 Callback Std

When implementing a callback function in C should I still use the Cstyle function pointer void callbackFuncint Or should I make use of stdfunction

Thumbnail for Posts

Simple non-secure hash function for JavaScript duplicate

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Hash Md5 Sha1

This question already has answers here Closed 12 years ago Possible Duplicate Generate a Hash from string in JavascriptjQuery Can anyone suggest a simple ie

Thumbnail for Posts

Size-limited queue that holds last N elements in Java

๐Ÿ“‚ Categories: Java
๐Ÿท๏ธ Tags: Collections Queue

A very simple amp quick question on Java libraries is there a readymade class that implements a Queue with a fixed maximum size ie it always allows addition of

Thumbnail for Posts

SQL Server add auto increment primary key to existing table

๐Ÿ“‚ Categories: Programming

As the title I have an existing table which is already populated with 150000 records I have added an Id column which is currently null Im assuming I can run a

Thumbnail for Posts

SQL Server Text type vs varchar data type closed

๐Ÿ“‚ Categories: Programming

As it currently stands this question is not a good fit for our QampA format We expect answers to be supported by facts references or expertise but this