Digg.com now smaller than Reddit

Digg.com is now smaller than Reddit.com in Pageviews, shows numbers from Alexa.com, the web information company. Although Alexas numbers aren’t an exact science, its graphs and numbers are often quoted in mainstream media, giving an approximation to the real life facts.

The userbase of social bookmarking website Digg.com has been in uproar ever since the new Digg v4, in which popular functions such as Upcoming News, the entire Video-section and other key functionality was removed.

Observing Daily Reach (in Percent), Digg’s decline isn’t as clear. Digg.com shows a small decrease in traffic, whilst Reddit.com makes a small jump – before falling back down. These numbers can be misleading though, as a lot of people may visit the new Digg.com to merely observe the changes – before making a hasty retreat.

Observing Daily Pageviews, Digg’s decline is much clearer: Digg.com makes a sharp, downward plunge in Pageviews (a drastic 32,6% decrease in 1 month), whilst Reddit.com makes a solid jump – positioning it just above the former champ. Pageviews may give a good representation of the actual situation, as a decline in Pageviews shows a decrease in the overall user activity on the website.

This makes Reddit.com the world’s largest social bookmarking website per September of 2010, according to Alexa.com.

Kevin Rose, your move.

Advertisements

«Bed Intruder» lyrics

Original video: Youtube
Music by: Gregory Brothers
Words by: Antoine Dodson

«Bed Intruder» lyrics

Well…
Obviously we have a rapist in Linkin Park

He’s climbing your windows
Snatchin’ yo’ people up
Tryin’a to rape ’em, so y’all need to
hide your kids, hide your wife
hide your kids, hide your wife
hide your kids, hide your wife
and hide your husband
‘cos they’re rapin’ errbody out here

You don’t have to come and confess
we’re lookin’ for you
we gon’ find you
we gon’ find you
so you can run and tell that,
run and tell that
run and tell that, homeboy
home, home, homeboy

we got your t-shirt
you done left fingerprints and all
you are so dumb
you are really dumb – for real
the man got away leaving behind evidence
i was attacked by some idiot in the project
so dumb, so dumb, so dumb, soooo

He’s climbing your windows
Snatchin’ yo’ people up
Tryin’a to rape ’em
So y’all need to
hide your kids, hide your wife
hide your kids, hide your wife
hide your kids, hide your wife
and hide your husband
‘cos they’re rapin’ errbody out here

You don’t have to come and confess
we’re lookin’ for you
we gon’ find you
we gon’ find you
so you can run and tell that,
run and tell that
run and tell that, homeboy
home, home, homeboy

See the original Youtube video:


Splitting a string into arrays in Smarty

This isn’t supposed to be a blog about programming, but I’m working a lot with PHP and Smarty these days, and whenever I manage to crack a problem, I get this strange feeling of acchievement. Then I come here to brag.

Anyway, here goes:

«How do I split a string in Smarty template engine?»

Well kind Sir, that’s quite an easy task. Here’s an example:

{assign var=”teststring” value=”31|32″}
{assign var=”testsplit” value=”|”|explode:$teststring}
{$testsplit[0]}<br />
{$testsplit[1]}

Let’s for example say you have a bunch of Meta Keywords that are bundled together in the database (games,game,online,playing) – and you want to separate them, so that you can create keyword-specific landingpages for on-site search optimalization (games – game – online – playing).

Here’s how you do it:
(we’re assuming you have a variable called $MetaKeywords!)

{* Splitting a long string into a bunch of different arrays *}
{assign var=”keywords” value=”,”|explode:$MetaKeywords}
{foreach from=$keywords item=keyword}
<a href=”/index.php?search={$keyword}”>{$keyword|trim}</a>,&nbsp;
{/foreach}

See what we did above? First we begin by telling the system that we want to create a new variable called $keywords. Then we continue by telling that the value we want to split is “,” and finally we tell it what string to use (in this case, $MetaKeywords).
This results in the string stored in $MetaKeywords being split into different arrays named $keyword[1], $keyword[2], $keyword[3] and so on.

Include PHP-file in Smarty

I’m teaching myself PHP and Smarty these days, and today I ran across a common problem:

«How do I include a PHP-file – or execute PHP-code – when using the Smarty template engine?»

After banging my head against the wall for a couple of hours, I finally found the solution. To include a PHP-file in a Smarty template, use the following code:

{include_php file=”/path/to/somefile.php”}

You can also use the following code to run and/or execute PHP-code within Smarty:

{php}
include(“includes/myname.php”);
{/php}

Hope this blog post helps some poor soul one day… Keep hacking.


Top 15 Things We’ll Tell Our Grandkids

Image of the Future

1. Back in my day, we only needed 140 characters.

2. There used to be so much snow up here, you could strap a board to your feet and slide all the way down.

3. Televised contents gave cash prizes to whoever could store the most data in their head.

4. Well, the screens were bigger, but they only showed movies at certain times of day.

5. We all had one, but nobody actually used it. Come to think of it, I bet my Linkedin profile is still out there on the Web somewhere.

6. Chinese

7. Our bodies were made of meat and supported by little sticks of calcium.

8. You used to keep files right on your computer, and you had to go back to that same computer to access them!

9. Is that the new iPhone 27G? Does it have multitasking yet?

10. I just can’t get used to this darn vat-grown steak. Texture ain’t right.

11. Radio? It was a one-man version of Spotify.

12. We used to chop down trees and write yesterday’s news on them. Luckily, that was banned just before you were born.

13. I for one welcomed our new alien overlords.

14. Your grandma and me met a bar. It was a kind of “Second Life beta”, but with actual liquid drinks and smelly people.

15. Back in my day, “Skynet” was still known as “Google”.

First 10 entries courtesy of Wired magazine, Oct. 2009.

PLEASE DIGG: http://digg.com/d319SSd?t


Congo sues Norway for $500 BILLION dollars!

In the Republic of Congo, a surreal scenario is playing out: Two Norwegian citizens, Tjostolv Moland and Joshua French, have been jailed, apparently due to involvement in a murderscene in which an innocent cabdriver was killed. The Republic of Congo claims the Norwegians killed the driver over a money dispute – the Norwegians claims they were nothing more than witnesses to the crime, perpetrated by unknown gunmen in the middle of the jungle.

In any event, the Republic of Congo is furious – and claims that the killing represents an attack on «the body and soul of Congo itself». And what does Congo think would be a good compenstation for such a hideous crime against the Conglonese people? According to the State Attorney of the Republic of Congo, a mere $500 BILLION dollars will suffice.

Jailed Norwegians in Congo. Photo: Jørgen Braastad.

Norwegian media is present at the military tribunal hearings, and reports that the demand was put forth today. The Conglonese State Attorney insists that the two backpackers are undercover Norwegian agents, backing up this brash claim by pointing out that the two Norwegians were in fact equipped with – gasp! – Norwegian drivers licenses at the time of their arrest. As such – Congo claims – the state of Norway is morally and economically responsible for any and all wrong-doings their citizens do abroad.

Even though Norway is one of the richest countries in the world, enjoying the second highest GDP per-capita (after Luxembourg), even Disney’s Scrooge McDuck would have a hard time settling a $500 billion dollar debt. If Congo wins forth in their own military tribunal, God help Norway.

PLEASE DIGG: http://digg.com/world_news/Congo_sues_Norway_for_500_BILLION_dollars

Scrooge McDuck vs. Congo


What does Microsoft have against black people?

Every now and then, a Megacorp does something really stupid. Founded in 1975, you’d think Microsoft knew their way around international business by now – but then something like this shows up:

Compare Microsoft’s international Business Productivity website against
the Polish version of the same website. (Note: These are Actual Microsoft.com URLs)

Notice anything different?

For your convenience, check out this screenshot:

Microsoft website comparison

Microsoft website comparison

In the world of Business Productivity Infrastructure, I guess this is as “WTF??” as it gets.