Onlot is on Product Hunt. Oh, Common!

For those who know me, I don’t get angry often, but stories like this piss me off immediately.  I am contributing to the Product Hunt, from time to time.

PH is a good product where you can find newly created products organized by categories. They allow you also to vote for newly added products and based on the vote of the community they receive some love – mainly some traffic and great visibility.

The key thing is – you should not encourage your users or followers to vote for you product/project/app, but to leave the community to decide whether is good or not. Also PH is a great platform for receiving very valuable feedback.

All that said, As an active member of the community I am receiving almost every day requests to up-vote something via one of my channels – twitter, facebook, mail, etc, which is clearly violation of the community “rules”, but recently I am bugged by a guy called Kostya Rypta, on several channels at the same time to up-vote something called Onlot.

Maybe is a good product, maybe not, but my love goes everywhere and I really want to scream that PH is not a marketing platform to put your links and to get some clicks by spamming people to up-vote, but it’s something more magical.

 

How to get number of twitter followers for any account (including yours) with PHP

I needed a few days ago a way to get my twitter followers’ count for an app and I did a small research on StackOverflow. One of the advices was to use another service for that, because the twitter API doesn’t support that anymore.

Yeah, but it does :) Here’s how to get it:

  1. Register your app from here
  2. Pull TwitterAPIExchange.php from here.
  3. Then write this piece of code and s/YOUR DATA HERE with the corresponding field from the point one. (see above)
<?php
require_once('TwitterAPIExchange.php');
$settings = array(
    'oauth_access_token' => "YOUR DATA HERE",
    'oauth_access_token_secret' => "YOUR DATA HERE",
    'consumer_key' => "YOUR DATA HERE",
    'consumer_secret' => "YOUR DATA HERE"
);

$url = 'https://api.twitter.com/1.1/users/show.json';
$getfield = '?screen_name=bogomep';
$requestMethod = 'GET';

$twitter = new TwitterAPIExchange($settings);
$output =  $twitter->setGetfield($getfield)
    ->buildOauth($url, $requestMethod)
    ->performRequest();
	
	
$rs = json_decode($output, true);
echo $rs['followers_count'];
?>

 

Adding more? In order to fight with  twitter API limitations you can “cache” your variable and refresh it every 15 min:

<?php
require_once('TwitterAPIExchange.php');
$settings = array(
    'oauth_access_token' => "YOUR DATA HERE",
    'oauth_access_token_secret' => "YOUR DATA HERE",
    'consumer_key' => "YOUR DATA HERE",
    'consumer_secret' => "YOUR DATA HERE"
);

$url = 'https://api.twitter.com/1.1/users/show.json';
$getfield = '?screen_name=bogomep';
$requestMethod = 'GET';

$twitter = new TwitterAPIExchange($settings);
$output =  $twitter->setGetfield($getfield)
    ->buildOauth($url, $requestMethod)
    ->performRequest();
	
	
$rs = json_decode($output, true);
$f_count = $rs['followers_count'];
apc_add ('total_count', $f_count, 900);
echo apc_fetch('total_count');
?>

Enjoy and follow me on twitter @bogomep:)

Developers Will Never Need To Leave Vim Again, especially under Fedora

As a proud Fedorian, vi user under Fedora and as a developer (well from time to time) I  must share this news that combines my two worlds.

The problem

The truth is everybody needs to do multitasking today. The real cost of it  is hidden, but you’ll definitely lose at least 40% of your productivity if you are constantly switching between apps. Let’s try and do some other stuff in between. :)

40%: This is too much!

The solution

Developers keep on switching between their editors, emails and bug trackers. What if you can get bug reports right where you will fix them? Imagine the immediate gain in productivity!

Continue…

Help a freelance journalist in #Crimea. He needs urgently a laptop.

THIS is important: A friend of mine Jan Husar (freelance journalist and a good guy) is in #Crimea and he needs a new laptop to continue working and spreading the word live about what is going there. If you respect transparency and care about independent news, please help him.

If you can provide the laptop for him, please contact him directly via Facebook.

If not a donation will be an option too:
PayPal: rejden@gmail.com
BitCoin: 138rcMV11TUc3dpnRVvEdwqM9HudZr8xsV

 

See here some of his recent work

Some more updates on Bulgarian #mozilla community.

Long time no see :)

We have a new design on our community website, based on the official Mozilla wordpress theme:

Mozilla bulgaria Website

 

Finally we had fully localized homepage for Mozilla Addons and Mozilla Addons for developers.

Previous Week:

Screenshot from 2013-05-16 15:05:03

 

Now:

Screenshot from 2013-05-16 15:06:08

We are trying to organize our community better and to make the localization better. So you may expect some news on that pretty soon.

Have a nice day,

Mozilla Bulgaria

Changedu.org is mentioned as “Open Training Tool” from Smashing Magazine

I am really happy when someone mention a project I am involved with, especially in SmashingMagazine :) Click here to read the amazing article from Christian Heilmann:

In this article I’d like to discuss the changes happening on the Web and argue that its future is not as problematic and endangered as a lot of people make it out to be.

Oh, you can visit changedu.org now, if you want, but I recommend to read the entire article.

I want to change how the education works, but I need your help.

Hello,
I am leading an initiative to be launched soon for changing the education methods arround the world. I need a little help from you.

We need press-partners from every country in the World and in every US and Canada and Australia state. We are looking for very powerful, but modern medias – only one per country/state.

Can you comment here if you know media in your country/state that is really awesome and powerful and want to help us. (Mainly spreading the word and distributing our donation to a school throughout the country/state)?

I just need the website if you don’t have more detailed information.

You can send me an email to shopov.bogomil@gmail.com as well.

Deadline – August 28, 2012.

PLEASE share this with your peers!

Thank you!

Fosdem protocol for Mozilla Firefox (fosdem:about)

I just uploaded for approval an Add-on that defines FOSDEM protocol.

What is FOSDEM?

FOSDEM is a two-day event organized by volunteers to promote the widespread use of Free and Open Source software.

Protocol?

This Add-on:

  • defines FOSDEM protocol  (see bellow)
  • it’s showcase how to create your own protocol for Mozilla Firefox

Supported commands:

fosdem:about – learn more about the event
fosdem:venue – learn more about the venue and transportation
fosdem:schedule – see the latest schedule
fosdem:2003 to fosdem:2011 – see the archive
fosdem:2012 – see the info about the 2012 event

Notice

If you are fan of Fosdem and Firefox – please install it (click on the link) to have fun and to help me develop it more.

A special “Thank you” goes to Mike Kaply and Wladimir Palant

See you at Fosdem in 2 weeks.