analysis

N-grams: Explanation + 2 applications

Hello! I want to implement some applications with n-grams (preferably in PHP). Which type of n-grams is more adequate for most purposes? A word level or a character level n-gram? How could you implement an n-gram-tokenizer in PHP? First, I would like to know what N-grams exactly are. Is this correct? It's how I understand n-grams...

SQL Server Metrics

Hello, We are using SQL Server as our database server. We've built a consumer product and are looking to build a dashboard that has metrics on our user base. We're a team of two and were wondering if SSAS or if TSQL was the way to go to get metrics. Caveats We're not up to speed on SSAS so there would be a learning curve The data n...

Flesch-Kincaid Readability: Improve PHP function

Hello! I wrote this PHP code to implement the Flesch-Kincaid Readability Score as a function: function readability($text) { $total_sentences = 1; // one full stop = two sentences => start with 1 $punctuation_marks = array('.', '?', '!', ':'); foreach ($punctuation_marks as $punctuation_mark) { $total_sentences += su...

Free tools for local HTTP packet sniffing/intercepting?

I'm currently using HTTP Analyzer V5 trial version which expires very soon. Are there any [good] free tools for sniffing and inspecting the contents of HTTP packets, in a similar way to the above mentioned tool? ...

Custom C# / .NET Code Analysis

What kind of a tool could examine source or assemblies and tell if StringBuilder was ever used? or if the ObjectDataSource was used? I'm open to source analysis or reflection, but also need to know the right way to do this against Web Applications. UPDATE: I guess I'm looking for a tool that you could insert into a build process that w...

Tiff Analyzer

I am writing a program to convert some data, mainly a bunch of Tiff images. Some of the Tiffs seems to have a minor problem with them. They show up fine in some viewers (Irfanview, client's old system) but not in others (Client's new system, Window's picture and fax viewer). I have manually looked at the binary data and all the tags s...

.Net Analysis tools

Possible Duplicate: What static analysis tools are available for C#? At work we tend to use two tools for analysing our projects, FxCop to analyse our managed code and StyleCop to have consistent code layout. I found these tools pretty much by accident and it has led me to wonder what other tools are available that I might of ...

Download and extract information from emails in gmail

I want to download mails from all items and do some analysis on the mails. this will probably involve 2 distinct components. download the mails using IMAP parse unstructured data in the emails to extract information from them. no - its no the usual extract email adresses from the mails. probably quite a bit more complex than that. i...

do you rely on your memory or consult references and use a lot of intellisense?

I am asking because I am living my 40s. I have noticed I do not code as much as I use to when I was in my 20s and part of my 30s. Basically, today I dedicate more time to analysis and design, then I give away the design to programmers and they do the coding. But, this have affected my coding productivity because I must consult references...

Analyzing time-dependent, event log from SQL

I have an event log in a SQL Server database. Essentially it records when a call was made and when that call ended at a call center (as two different records), as well as a few other details. I am trying to get an idea of how many phone lines are being used at any given time with this data. I can't think of any good way to have a SQL que...

Learning how to analyse a project

Hi, I've just stumbled into the job of analysing a project for one of my company's clients (an SMB). I am a .Net developer (5 years) with little experience in analysing software (UML from school). We've just finished two weeks of talking with the users and got a nice big list of requirements. Obviously we've filtered out the most impor...

UML class model how to model many to many relationship

I have read several tutorials on what a UML model should contain and what not. As a developer I always think in terms of a relational data model where you could never have a many to many relationship between tables. Now with a UML class model, I've read that if they don't provide added value, you could just skip the linktables. However ...

Sql Server 2005 Analysis Service -cannot connect to sql browser

This is my first attempt at using Business Intelligence development studio. I have set up the project and now trying to deploy my changes. When I run the project I get an error ensure that sql browser is running. Done- setting up cubes & mining structure. Checked that database instance is correct. I have checked that sql2005 is running....

C: Sorting Methods Analysis

I have alot of different sorting algorithms which all have the following signature: void <METHOD>_sort_ints(int * array, const unsigned int ARRAY_LENGTH); Are there any testing suites for sorting which I could use for the purpose of making empirical comparisons? ...

Frequency Analyzer in C#

Hi, I'm looking for a C# source code that performs a frequency analysis on a WAV file and displays the results in a graph, similar to the one displayed in apps like WavePad. Do you know where I can find such a code? Thanks! ...

Mysql - Find unused tables and columns

Let's say we have "system A" comprising a MySQL database, with several tables. After a while you want to optimize system A by removing any unused tables and/or columns, system A being quite large and difficult to overlook. Is there a tool or method that lets you run the system for a while, and then do an analysis which prints out general...

Speed up text comparisons (with sparse matrices)

I have a function which takes two strings and gives out the cosine similarity value which shows the relationship between both texts. If I want to compare 75 texts with each other, I need to make 5,625 single comparisons to have all texts compared with each other. Is there a way to reduce this number of comparisons? For example sparse m...

Reading Website pages

Hi, my question is as follows: assume there is a website called website.com/a the website is being developed using PHP, Perl, Ruby and other languages. i want to be able from my website to read this website pages, execute the code and then analyse the HTML result page tags and getting the content using PHP. it's like reading news f...

What kind of specs, documents, analysis do you get from superiors when starting a project?

I currently work in a small business (15-20 employees, 5 programmers) where most projects are custom built CMS and a few web applications products. Since I started working there, I have worked on many projects, but specifications for each project vary a lot. Sometimes we get a little detail, a Word document telling what the client want...

Example of a school website (college and highschool) which is functional and accessible

I'm looking for good example of school websites that I can get some inspiration it could be Highschool or College. I'm planning to build a template or platform of a school website; And I want to provide a good solution for a school which don't have website yet. I want to get some Ideas how school website pages being structured and what...