How to install / Configure Mantis For Apache-PHP-PostgreSQL combination → I wanted to write this blog a long back, but better late than never. Three years back I was working on a project where we had used Mantis Bug Tracker for managing our bugs list, for that, I had to install it on a server from where our teams could access it to log the software bugs and update the fixes. Important learnings - with new php versions, I faced few issues with postgresql configs, then while setting up database instance for mantis I faced few issues with postgres port configs and how to give it on mantis config files, database user grant problem. I had to set up everything from scratch so learned a lot. (Note - mantisbt → mantis bug tracker) Why I have written this post → at that time I could not find any resource on web which would give me good tutorial on how to install mantisbt on Apache and PostgreSQL. So I wanted to put it on web so others could some of thei...
Here is one interesting modification to LOVCombo ux plugin in ExtJS 3.4. The original ExtJS ux Lovcombo i.e.Ext.ux.form.LovCombo plugin was developed by Jozef Sakáloš and can be still found at http://lovcombo.extjs.eu/ . In Ext 4.x onwards, similar modifications can be applied to combo-box through plugin property. Following modification to Ext.ux.form.LovCombo, enables it to have "Select All", "Deselect All", "Text Filtering on values", "bubbling up and down of selection events". Its just a toolbar added in xtemplate of combo-box's dropdown list, and this toolbar has all these buttons, filter text-fields, etc. Here is how it looks like - It has five features - 1) Select All / Deselect All checkbox - to check/uncheck all values and its not part of your data, so selection / deselection logic is separate from user's data. 2) Text Filter - In case of long lists, this will be handy, to filter out values and select /deselec...
"Probabilistic Bag data-structure" Recently I was working on a NLP problem, wherein I needed this (this data-structure is a pretty simple thing which is already being used in industry also, I am sure). So here few important features or requirements that I had : NOTE: Any randomized data-structure works well only when it uses random-number generators which generate uniformly distributed values over the range. A probabilistic, randomized bag of objects data-structure with - a) Each object having some weight, b) Selection from this structure should be random but should be influenced by their weights c) The weights are positive and multiple objects can have same weight (there is no upper bound on weights but a lower bound of 0). So I searched online and there were some real great responses - I am basically consolidating them - There are many ways you can build such structures - 1) Using Lists : There are 2 main approaches using list Storing unique objec...
Comments
Post a Comment