Madmike's Blog

November 27, 2010

php frameworks

Filed under: php — Florescu Radu @ 20:28
Tags: , ,

Just tested the second framework for php. The first was Smarty and the second was is Symfony.
The first one was rather harder to use and you had to do a lot of work by hand and was very buggy.
The second one is rather good comparing to the first.It offers MVC architecture and support for developing an application with this profile.
On the developers site is a very good tutorial which constructs a new fully functional site from scratch in 21 days.

Just reached the 8th day and until now , everything works like clock-work.

Maybe you should try it!


January 27, 2010

Are you a genius or not?

Filed under: Uncategorized — Florescu Radu @ 19:43

If these are true:
2 + 3 =10
7 + 2 =63
6 + 5=66
8 + 4=96
How much is equal to 9 + 7 ?
I expect comments with the results:D
If you find the correct answer you must have an IQ greater or equal than 120.

P.S.144 is the correct answer : Neagu is the winner

December 27, 2009

Interesting AI lectures

Filed under: AI,Bayesian Networks — Florescu Radu @ 08:26
Tags: , , , ,

The best professors in this fields are by my point of view these 2 guys:Ng. Andrew and Prof. Pallab Dasgupta.

I have been watching all their tutorials on BBN and they were very usefull.Just follow the links and you will find more AI lectures with this 2 interesting guys.


Have fun learning with them, Mike

December 4, 2009

Another good thing developed by Microsoft

There was always a time when you needed to make an application that used videos and music ,and you needed to make a player from scratch , you needed to download lots of libraries and many dll for your project.
But now I’ve discovered an useful namespace made by Microsoft : Microsoft.Directx.AudioVideoPlayback.
These library is found in DirectX SDK and the latest version until now can be found here : Download here.

I will include some examples of how easy to use are this libraries:


string filePath=”the location where is your file , including file name and extension”;
Audio audio=new Audio(filePath);

For the 3 state a music and movie could have : Play , Pause and Stop are made 3 methods
audio.Stop(), audio.Play() , audio.Pause() and also 3 states illustrated by 3 properties audio.Paused, audio.Stopped , audio.Playing (all 3 boolean).

Example of music player panel in C#:

public partial class MusicContainer : UserControl
public MusicContainer()

public string Path { get; set; }
public Audio audio=null;
//control loaded and we try to load a movie from disk
private void MusicContainer_Load(object sender, EventArgs e)
if (audio == null)
audio = new Audio(Path);
label1.Text = Path;
//we use the timer to show music/movie progress
//button used for Play
private void button1_Click(object sender, EventArgs e)
if (audio != null)
if (audio.Paused || audio.Stopped)
//button used to pause
private void button2_Click(object sender, EventArgs e)
if (audio != null)
if (audio.Paused)
//buton used for stopping
private void button3_Click(object sender, EventArgs e)
if (audio != null)
if (audio.Paused || audio.Playing)
//show the movie/music progress during playing every second
private void timer1_Tick(object sender, EventArgs e)
trackBar1.Value = (int)(audio.CurrentPosition / audio.Duration*100);
//navigate forward/backward in the movie/music
private void trackBar1_Scroll(object sender, EventArgs e)
audio.CurrentPosition = trackBar1.Value * audio.Duration / 100;

For the movie part is the same as music , but this one has more features.

Movie movie=new Movie(filePath);
Control control="a control that will be the video showing surface";
//or null if you want to take the full form of the container in which movie resides

movie.Fullscreen=true; // if you want to make it full screen

I found this namespace and used it , there are many examples of different players all over the MSDN and I was impressed of the quality of the playback and the useful and easiness to use it.

Have fun making your own player

November 1, 2009

Usefull tool for your files

Filed under: Other — Florescu Radu @ 20:21

Dropbox is a new useful tool that allows your files to be synchronized on several devices like personal computer , notebook , mobile devices .You can download it . And use it like a real shared folder between your computer network.

Use this referral link to register an account:  and I will receive 250 mb extra to my account.

Thanks and be happy in “sinking” your files!

Next Page »

Create a free website or blog at