Monthly Archive for August, 2009

Page 2 of 3

Which search engine would you choose if you just saw their results? Google, Yahoo or Bing?

Blind Search is a very interesting site which lets you search in Google, Yahoo and Bing simultaneously, but with a particular quality: without showing who is the provider of each result list. So you must vote your preferred results before knowing!

Blind_Search

They have published here the results of the first 8 weeks from the site’s opening (the article is from July). Keep looking at the home page for more current news.

Thanks to Fepe for the link!

Incoming search terms for the article:

Move Facebook Events Box to Top updated to version 1.1

FacebookEventsToTop

I’ve just updated the Move Facebook Events Box to Top to the version 1.1 to solve the problem that made the events box not going to the top sometimes when loading the page or reloading.

Please visit the original post to download the updated version.

Incoming search terms for the article:

Simple C++ List Class

Just as I published some days ago the Simple C++ String Class as a C++ learning exercise, now I am freeing a Simple C++ List Class.

The standard library has a list class. But, while learning, it’s a good idea to know how to develop your own list class.

That’s why I made the List class. It’s not intended for professional projects (for them, you should use the standard library’s list), but as help to learn C++.

template <class TYPE>
class List
{
	/* ... */

public:
	//Construction and destruction
	List() { /* ... */ }
	~List() { /* ... */ }
	
	List(const List& rlList) { /* ... */ }
	
	//Assignment operator
	List& operator=(const List& rlList);

	//Information
	int Length() { /* ... */ }
	bool Empty() { /* ... */ }

	//Element managing
	int Add(TYPE& rtData);
	TYPE* Elem(int nPos);
	bool Delete(int nPos);
	void DeleteAll();
	
	//Search
	int Find(TYPE& rItem, int nStartAt = 0);

	//Operadores
	TYPE& operator[](int nPos) { /* ... */ }	//Elem
	int operator<<(TYPE& rdData) { /* ... */ }	//Add

protected:
	void FreeList();
	void Init() { /* ... */ }
};

//Output
template <class TYPE>
std::ostream& operator<<(std::ostream& oStream, List<TYPE>& rlList);

Keep reading…

Incoming search terms for the article:

3D Pinball for Windows (Space Cadet) Cracker – How To Modify High Scores

Everybody knows the Pinball game that appeared with Windows 95 Plus!… It’s still in current Windows versions…

Pinball_Cracker_Game

Although it may seem incredible, there are still some fanatics of this game…

I’ve made this program in 1999 (some time ago 8-)) to let you modify the High Scores so you could make those fanatics believe you had beaten them…

Pinball_Cracker_Game_High_Scores

(You should be a little more subtle than me)

Keep reading…

Incoming search terms for the article:

Convert Celsius to Fahrenheit Online

Since I’ve been having lots of visits in my wxWidgets version of the Celsius to Fahrenheit converter, I’ve decided to prepare an online javascript version which lets you easily make the conversion.

Celsius:
Fahrenheit:



GNU GPL v3 Convert Celsius to Fahrenheit Online is licensed under the GNU GPL v3

Here is the complete source code:

<script type="text/javascript">
// *****************************************************************************
// Description: Convert Celsius to Fahrenheit Online by NeoEGM
// Author: Ezequiel Miravalles
// Last modification: 16/08/2009
// URL: http://www.neoegm.com/tech/online-tools/convert-celsius-to-fahrenheit-online/
// *****************************************************************************

/*******************************************************************************
	Copyright (C) 2009 Ezequiel Gastón Miravalles

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/

function isNumber(x)
{ 
  return ( (typeof x === typeof 1) && (null !== x) && isFinite(x) );	//From http://snippets.dzone.com/posts/show/6937
}

function Round(number, digits)
{
	return Math.round(number * Math.pow(10,digits)) / Math.pow(10, digits);
}

function CelsiusToFahrenheit(celsius, fahrenheit)
{
	var num = celsius.value;
	
	if (num == "" || !isNumber(Number(num)))
		alert("Please type a number");
	else
		fahrenheit.value=Round((9/5)*num+32, 2);
}

function FahrenheitToCelsius(fahrenheit, celsius)
{
	var num = fahrenheit.value;
	
	if (num == "" || !isNumber(Number(num)))
		alert("Please type a number");
	else
		celsius.value=Round((5/9)*(num-32), 2);
}
</script>

<table>
<tr>
<td>Celsius:</td>
<td><input type="text" name="celsius_field" id="celsius_field" style="width:100px" /></td>
<td><input type="button" value="To Fahrenheit" onclick="CelsiusToFahrenheit($('celsius_field'), $('fahrenheit_field'))" /></td>
</tr>
<tr>
<td>Fahrenheit:</td>
<td><input type="text" name="fahrenheit_field" id="fahrenheit_field" style="width:100px" /></td>
<td><input type="button" value="To Celsius" onclick="FahrenheitToCelsius($('fahrenheit_field'), $('celsius_field'))" /></td>
</tr>
</table>

Incoming search terms for the article:

Cappuccino La Virginia – Friend’s Day

These are two very funny Argentinean advertising spots made by La Virginia for their cappuccino coffees in 2008’s Friend’s Day…

They are both in spanish…

Incoming search terms for the article:

Move Facebook Events Box to Top

Facebook has got very interesting features… One of them is the possibility of having a reminder of your friend’s birthdays and events you have subscribed to…

But (there’s always a but 8-))… They’re not in a very handy place…

So… I’ve decided to make a script to move them to the top :)

FacebookEventsToTop

How do I install it??

Incoming search terms for the article:

How To Fold a T-Shirt (9 Techniques)

These are a some videos I’ve found (some quite old) which teach you how to fold a T-Shirt in different (and, in some cases, interesting) ways…

I watched the first one the last year…

Sometimes I get surprised by the things you can find on Internet…


Technique 1

This is the original video that started with all the T-Shirt folding series: “How To Fold A T-Shirt In 2 Seconds”…

Watch the other videos… There are lots of techniques!

Incoming search terms for the article:

What happens when the CPU heatsink is removed?

This is a very good video I’ve seen some time ago. I think Fepe sent it to me. It’s from Tom’s Hardware Guide.

It shows what happens to different CPUs when you remove their heatsink.

Watch the sequel…

Incoming search terms for the article:

Optical Illusion – Spinning Silhouette

This is a very interesting image I’ve received a lot of time ago in an e-mail. I’ve been searching a bit but couldn’t find the original creator.

The special thing about this picture is that, when you look at it for the first time, it will be spinning either clockwise or counter-clockwise, but if you keep focusing, you’ll watch it rotating to the oposite direction or even bouncing between sides (half circles), either looking front or back.

It’s a good excercise to be mastered.


Incoming search terms for the article: