PithyLess - Barren, destitute, devoid of pith.

Soccer ball converts kicking to electricity. Energy crisis averted!

Considering that one quarter of the world's population lives in areas with no access to electricity, a group of Harvard University students capitalized on the popularity of soccer to develop the sOccket: a soccer ball the generates and stores energy.

As the FAQ clearly explains: no, it will not explode, because of a "largely technical explanation". More importantly, if they could get the weight down (currently 21 ounces vs regulation 16 ounces), maybe it could become more than just a high-tech gadget and toy?

Gatorade (with their lightning logo) clearly has a marketing advantage over Powerade and Redbull, but in general it's hard to gain better PR than by kicking a ball around to help children in Africa. Someone, get on this quick!

Check it out here: http://www.soccket.com/

Loading mentions Retweet

Comments [0]

Using Facebook to fight email spam

As you may know, Facebook posts your email addresses in your profile as images. For example, my public email address for 1000it.pl is:

If you go ahead and view the source code you can see that the image is generated by a web API at http://www.facebook.com/string_image.php with 2 parameters (ct is a unique key for every email address and fp is the font size).

What's interesting is the web service does not require any authentication. So we can use Facebook's gracious charity (which I suspect is to make it difficult for you to write a screen scraper to grab all of your friend's emails) and redirect it for a greater good. That is, to protect your public email from spam bots.

Next time you need to post an email address, just pick a font size and post a url instead:

Loading mentions Retweet
Filed under  //   hacks  

Comments [0]

Startup Advice Reading List

Came across Mark Suster's blog today, and spent the afternoon reading through his old entries. 

He offers sound start-up advice and a shorter series on what it takes to be a good entrepreneur. Some of the advice may appear "common sense", but often the best ideas are; that is, ideas so well articulated that everyone thinks they could have written it (except, they didn't). On top of that, the anecdotes offer a glimpse into the world of professional entrepreneurship.

If there was an unofficial reading list for all entrepreneurs, I'd include Mark's series as well as Paul Graham's essays.

What essential reading should be added to the list? Leave a comment!

Loading mentions Retweet
Filed under  //   essays   startup  

Comments [0]

1000it.pl zaczyna robić mały raban w sieci

 

 

 

 

Nasza reklama ukazała się już na Bash.org.pl. A dzięki współpracy z serwisem Django.pl udało nam się rozgłosić naszą akcję Django z całkiem niezłym skutkiem

Stała współpraca nawiązana z Django.pl będzie opierała się na dostarczaniu serwisowi aktualnych ofert pracy dla Djangoistów w Polsce. Pomagamy jednak nie tylko Djangoistom! Gorąco zachęcamy do rejestracji wszystkich jeszcze niezdecydowanych informatyków. Dołącz do nas, a zawsze aktualne i ciekawe oferty pracy będą trafiać prosto do Twojej skrzynki!

Pomóż nam, pomóc Tobie! Zablipuj (#1000it) lub zostań naszym Facebook Fanem:

      1000it.pl Facebook Fan Page

 

Loading mentions Retweet
Filed under  //   1000it   bash   django   praca  

Comments [2]

Akcja Django - praca dla perfekcjonistów (z terminami)

Dwa tygodnie temu rozpoczęliśmy akcję Django.

Dziś możemy już Was zaprosić na: 

Akcja Django przechodzi w otwartą fazę promocyjną. Prosimy o nagłośnienie ogłoszeń, no i nadal zapraszamy do rejestracji pracodawców i informatyków szukających pracy. Nie tylko Python programistów :)

Pierwsi zgłoszeni programiści byli już na rozmowach w sprawie pracy,
więc udało się nam uczynić świat lepszym. Good Karma(TM) nie jest
jeszcze sprawdzony parametr w Google SEO, więc chcemy podziękować
wszystkim za wsparcie i wszelkie reklamowanie serwisu. W szczególności
Django.pl, które pomogło zareklamować akcję.

Loading mentions Retweet
Filed under  //   1000it   django   praca  

Comments [0]

Authenticating postresql accounts

From time to time I still see scripts (eg. deployment scripts via ssh)
that still pass database username and passwords via the commandline.
This is terrible for various security reasons and is uncomfortable to
use (eg. commiting code to your favorite repository without letting
everyone know about your password to your site's live database about
cats).

Especially when the right way to do it actually makes your life simpler:

$ vim ~/.pgpass 
*:*:yourdatabasename:yourusername:yourpassword
*:*:yourdatabasename2:yourusername2:yourpassword2
$ chmod 600 ~/.pgpass

That´s it folks :)

Or feel free to check out the full documentation at
http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html

Loading mentions Retweet
Filed under  //   postgresql  

Comments [0]

1000it.pl - Akcja Django - lepsza praca dla informatyków

Platforma Django podbija serca programistów - ale z tego co zauważyliśmy, ofert pracy jest niewiele, a do tego są mocno rozsiane po różnych serwisach. Dlatego organizujemy wirtualne targi pracy Django:

http://www.1000it.pl/akcja-django

Szukamy kilkunastu firm, które szukają programisty Python / Django i złożą ofertę u nas. Następnie zaprezentujemy te oferty na zbiorczej stronie i wypromujemy w środowisku programistycznym. Dzięki wsparciu Django.pl mamy już pierwsze firmy - dołącz do nich.

 

 

Loading mentions Retweet

Comments [0]

Django + Fabric = easy multi-stage deployment on WebFaction

The django docs do not sufficiently cover best-practices for deployment of a site; just googling about the different ways of configuring multiple settings.py files is proof of that.  Below, I have posted my current approach to multi-stage deployment of 1000it.pl which is currently deployed with the help of  Fabric.

The idea is to have three separate stages: testing, staging, and production. Running

fab deploy

deploys our current SVN HEAD to the test server, which uses a copy of the production database (to safely test all functionality and database migrations without any chance of catastrophic failure). After we have thoroughly tested our new system, we run

fab promote_stage

which promotes our testing system to staging, migrates our production database, and releases all new functionality and templates on our staging domain. Note: at this time our production database has already been migrated, but our production domain is still showing old views/templates. The idea is to check that everything migrated smoothly and then with one command, we flip the switch to our new server:

fab promote_live

Currently the server code is hosted in a subversion repository, while development work is done with git and git-svn. The manner of deploying code to the server is given as an example, it can be easily modified to your needs. The fabfile.py is posted below. It is still a work in-progress, but maybe someone may find it useful. Among other things, we still need to improve automated testing of the test server (eg. twill, selenium) as well as make more elegant rollback procedures.

from __future__ import with_statement
from fabric.api import env, run, local
from fabric.context_managers import cd

env.hosts = ['yourdomain.com']
env.user = 'username'

serv = {}
serv['webapp'] = '/home/username/webapps/yourwebapp'

def update_testdb():
env.warn_only = True
run('pg_dump -Ft -U prodDBuser prodDB | pg_restore -c -O -U testDBuser -d testDB')

def deploy():
with cd(serv['webapp']):
with cd('svntrunk'):
run('svn update')
run('svn export --force . ../site/testing/release/')
with cd('site/testing/release'):
run('python2.6 ./bootstrap.py')
run('bin/buildout \
django:settings=settings_prestaging')
run('bin/django syncdb')
run('bin/django migrate')
run('bin/django test')
 
def promote_stage():
with cd(serv['webapp']):
with cd('site/staging'):
run('rm -rf ./release')
run('mv ../testing/release release')
with cd('site/staging/release'):
run('bin/buildout \
django:settings=settings_production')
run('bin/django syncdb')
run('bin/django migrate')
run('bin/django test')

def promote_live():
with cd(serv['webapp']):
with cd('site/live'):
run('rm -rf ./release')
run('mv ../staging/release release')
with cd('site/live/release'):
run('bin/buildout \
django:settings=settings_production')
run('bin/django syncdb')
run('bin/django migrate')
run('./apache2/bin/restart')

def init():
 local('python ./bootstrap.py', capture=False)

def dev():
local('bin/buildout \
django:settings=settings_dev'
, capture=False)
local('bin/django syncdb', capture=False)
local('bin/django migrate', capture=False)
 local('bin/django test', capture=False)

 local('bin/django runserver', capture=False)

Do you have a better approach? Maybe you're using Capistrano with better results? Do post a comment!

Loading mentions Retweet
Filed under  //   django   fabric   webfaction  

Comments [0]

QR Code

Loading mentions Retweet
Filed under  //   1000it  

Comments [0]

1000it.pl - Szukamy 1000 programistów.

Jeśli jesteś informatykiem i szukasz pracy, to mamy coś dla Ciebie. Uruchamiamy bazę informacji o developerach poszukujących ciekawej pracy. Gdy ruszymy, potencjalni pracodawcy będą mogli się z Tobą skontaktować, więc pomóż nam pomóc Tobie.

Nie jesteś informatykiem, ale chcesz nam pomóc? Ale z Ciebie dobra dusza! Co możesz zrobic? Po prostu podeślij link do naszej stronki znajomym którzy byli by zainteresowani.

Lub nawet kliknij na Retweet poniżej i nie podnoś drugiego paluszka!

Loading mentions Retweet
Filed under  //   1000it  

Comments [0]



Quantcast