Text

3D printers become more affordable!

The first sub-$400 3D printer, The Buccaneer, passes $500,000 on Kickstarter in just 4 days !

Via The Next Web ; Via KickStarter ;

Text

What if there is a density of reality in which time is 3 dimensional? According to some types of String Theory, what you do right NOW can potentially cause what happened 5000 years ago in our interaction with linear time, because what we do to an electron effects both its past and its future according to string theory. We experience linearity, but what if time progression was nothing more than a series of universal cause-effect relationships randomly interconnected throughout time as a whole?

Time

Via Spirit Science ;

Tags: en science spirit
Text

Compile Python 2.7 on CentOS

CentOS doesn’t have Python 2.7 by default, so if you want/ need to install it, this is what you do:

su

yum install tk-devel tcl-devel 
yum install expat-devel db4-devel gdbm-devel sqlite-devel zlib-devel bzip2-devel
yum install openssl-devel ncurses-devel readline-devel
yum install git gcc

wget http://python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2
tar xf Python-2.7.5.tar.bz2
cd Python-2.7.5
./configure --prefix=/usr/local

# Always use Alt-Install !
# otherwise, you will overwrite Python 2.6 installation and your system WILL crash
make && make altinstall
# This will take some time...

# Test python 2.7
python2.7

Python 2.7.5 (default, May 31 2013, 14:00:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

Ok, now installing Distribute, the main Python package manager. It’s very important to have!

wget http://pypi.python.org/packages/source/d/distribute/distribute-0.6.tar.gz
tar xf distribute-0.6.tar.gz
cd distribute-0.6
python2.7 setup.py install

# You could also install PIP, but current version (1.3) doesn't work at all.
# So you can either install version 1.2 manually, or wait for a bug fix.

If you need to install Python compiled libraries, this is how you do:

# Install LXML parser
yum install libxslt-devel libxml2-devel
easy_install Cython
git clone git://github.com/lxml/lxml.git lxml
cd lxml
python2.7 setup.py build --with-cython install
python2.7 -c "import lxml"


# Install My Sql Python client
yum install mysql-devel
curl http://superb-sea2.dl.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz | tar zxv
cd MySQL-python-1.2.3
python2.7 setup.py build
python2.7 setup.py install
python2.7 -c "import MySQLdb"

Alternatively, you can try to install Python from a repository:

# Download and import the rpm gpg key
cd /etc/pki/rpm-gpg/
wget -q http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias
rpm --import RPM-GPG-KEY-puias


# Create the repository file as /etc/yum.repos.d/puias-computational.repo
vim /etc/yum.repos.d/puias-computational.repo

# :: Paste this ::
[PUIAS_6_computational]
name=PUIAS computational Base $releasever - $basearch
mirrorlist=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch/mirrorlist
#baseurl=http://puias.math.ias.edu/data/puias/computational/$releasever/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias


# Confirm the repo is functional
yum repolist | grep -i puias
# * PUIAS_6_computational: puias.math.ias.edu
# * PUIAS_6_computational   PUIAS computational Base 6 - x86_64


# Check Python 2.7
yum search python27

Hope this helps!

Tags: en python
Text

HTC One released

Today was released a new HTC phone. The specs are amazing:
- Chipset Qualcomm APQ8064T Snapdragon 600 ;
- CPU Quad-core 1.7 GHz Krait 300 ;
- GPU Adreno 320 ;
- 2 GB RAM ;
- running Android 4.1, upgradable to 4.2 ;
- Screen size 4.7 inches, 1080 x 1920 pixels ;
- Corning Gorilla Glass 2 display ;
- Camera 4 MP, 2688 x 1520 pixels ;
- Wi-Fi 802.11 a/ac/b/g/n, Wi-Fi Direct, DLNA, Wi-Fi hotspot ;
- Li-Po 2300 mAh battery.

Full specs ;
Via Thenextweb ;

Tags: en android phone
Text

HTC One X released

Today was released a new HTC phone. The specs are amazing:
- Chipset Nvidia Tegra 3 ;
- CPU Quad-core 1.5 GHz ;
- GPU ULP GeForce ;
- 1 GB RAM ;
- running Android 4.0 ;
- Screen size 4.7 inches, 720 x 1280 pixels ;
- Corning Gorilla Glass display ;
- Camera 8 MP, 3264x2448 pixels ;
- Wi-Fi 802.11 a/b/g/n, Wi-Fi Direct, DLNA, Wi-Fi hotspot ;
- Li-Po 1800 mAh battery.

Full specs ;
Via Thenextweb ;

Tags: en android phone