Showing entries 23776 to 23785 of 44076
« 10 Newer Entries | 10 Older Entries »
Happy 8th Birthday SmugMug!

We have at least four birthdays here at SmugMug.  I started working on the first lines of code for the project, which was decidedly not a photo-sharing site at the time, in October of 2001.  Then in August of 2002, we decided to shift gears and build a photo-sharing site “as a side business.”  Finally, we launched SmugMug and signed up our first paying customers in November of 2002.

But as far as the government is concerned, February 27th, 2002, is the day we were born.  It’s our official incorporation date and probably marks the day I finally wore my father’s resolve down enough that he agreed to come on board.  :)  (Which, incidentally, is also the best decision I’ve made running this company).

So Happy Birthday SmugMug!  You’re 8!

Here’s to many more profitable, independent, customer- and employee-focused years!


[Read more]
Getting user’s rank using mysql query

In this article you’ll learn how to get user’s rank in mysql query. Check the link http://thinkdiff.net/mysql/how-to-get-rank-using-mysql-query

How to get rank using mysql query

Some days ago I was working in a quiz project. Where user will play quiz and for each correct answer they will earn points. One of the task of this quiz application was, to get rank of a particular user. Now I am showing how could I solve this problem using mysql query.

Here is the table structure:

CREATE  TABLE IF NOT EXISTS `quiz_user` (
`uid` BIGINT UNSIGNED NOT NULL ,
`participated` SMALLINT UNSIGNED NULL DEFAULT 0 ,
`correct` SMALLINT UNSIGNED NULL DEFAULT 0 ,
`wrong` SMALLINT UNSIGNED NULL DEFAULT 0 ,
`created` DATETIME NULL ,
`updated` DATETIME NULL ,
PRIMARY KEY (`uid`) )
ENGINE = InnoDB

This table contains user records of quiz game. Here is an examples:

uid participated correct wrong created …
[Read more]
5 useful MySQL Command Options-pager-prompt-rehash-tee-system

There are set of commands that MySQL itself interprets. You may use “help” or “\h” at the mysql> prompt to list them. Below are the 5 most useful MySQL Command…

The post 5 useful MySQL Command Options-pager-prompt-rehash-tee-system first appeared on Change Is Inevitable.

Facebook patch for MySQL 5.1

The Facebook patch for MySQL 5.1 has been published on launchpad. It is based on MySQL 5.1.44. The patch has a few nice features with more to come. The target audience for the patch are other providers of MySQL (MySQL, MariaDB, Percona, OurDelta), but feedback from others is welcome.

The death of Memcached is greatly exaggerated



There are many reactions going around to MySQL and Memcached: End of an Era, especially to the statement "it's clear the MySQL+memcached era is passing".
I think that really depends on what you mean by "era" and "passing".
The era of memcached being THE cutting edge technique for getting speed at scale may be "ending", but not because memcached is failing, but because there are additional (not replacement, additional) techniques now emerging.
When I was doing MySQL Professional Services, back when I started, most of my gigs had just barely heard of "sharding MySQL plus memcached".  By the time I left that world, everyone had heard of it, many were doing it, and some very few were doing it well. Since then, we've all reached the point where nearly everyone who NEEDS it is doing it. And still the load …

[Read more]
on NULL and NOT IN

I’ve been trying to think of something “big” to write about for so long, I haven’t written anything.  So I’ll write about something “small” that I found out the other day.

It turns out, ‘NOT IN’ and ‘NULL’ can have an odd (to me) effect.

Say you are doing something like

SELECT a FROM table1
WHERE a NOT IN
(SELECT a FROM table2);

If there are any NULLs in the table2′s a column, you will never get any results from this query.
Here’s an example:

– first, here are the two tables I used:

mysql> select * from test1;
+——+
| a    |
+——+
|    1 |
|    2 |
|    3 |
|    4 |
|    5 |
|    6 |
+——+
6 rows in set (0.02 sec)

mysql> select * from …

[Read more]
Kontrollkit – new version is available for download!

Just a quick notice to let everyone know that there is a new version of Kontrollkit available. There are two new scripts included as well as some good updates to the my.cnf files. You can download the new version here: http://kontrollsoft.com/software-downloads kt-mysql-systemcheck – generates a report for point-in-time system status that is useful for troubleshooting MySQL [...]

PBMS version 0.5.011 beta has been released.

A new release of the PrimeBase Media Streaming daemon is now available for download at
http://www.blobstreaming.org .

This release has been focused on getting S3 storage back into PBMS.

What's new:

  • The PBMS daemon now provides two storage methods for BLOB data: local storage and S3 storage. Using S3 storage, repository records are kept for each BLOB the same as in local storage but the actual BLOB data is stored remotely on an S3 server. Click here to see my earlier posting on S3 storage.
  • When using S3 storage the PBMS daemon holds the public/private keys but the actual transfer of BLOB data, both upload and download, is done directly between the client application and the S3 server.
  • Backup and …
[Read more]
QA-Testing Definitions-Interview Questions: Part-II

QA-Testing Definitions-Interview Questions: II (F – S): Data Dictionary: A database that contains definitions of all data items defined during analysis. Data Flow Diagram: A modeling notation that represents a functional decomposition of a system. Data Driven Testing: Testing in which the action of a test case is parameterized by externally defined data values, maintained […]

Showing entries 23776 to 23785 of 44076
« 10 Newer Entries | 10 Older Entries »