01110100110101010101011101100010
Special
iPhone3G or Openmoko Freerunner
Jun 29th

We all have been listening ( reading ) a lot about the new iPhone 3G and how it is different, better and well cheaper from the first generation iPhone and a question came to my mind with Airtel and Vodafone planning to launch iPhone what will happen to Openmoko how many people know about it and well its available in India at a price of around RS. 20,000 by IDA system its really a great Phone to own actually Openmoko Freerunner is the second phone which will run Openmoko software and is similar to the first Neo 1973 its specification are
* Processor -- Samsung S3C2442 500MHz
* RAM -- 128MB
* Flash -- 256MB
* Display -- 2.8-inch diagonal 640 x 480 VGA Color TFT LCD
* Graphics -- SMedia 3362-based 3D graphics acceleration
* Accelerometers -- 2 x 3D accelerometers
* Audio -- "high-quality" audio codec
* USB -- 1 x version 1.1, switchable between client and host modes
* Cellular -- 2.5G tri-band GPRS/GSM (900MHz or 850MHz, depending on region)
* WiFi -- 802.11b/g WiFi
* Bluetooth -- version 2.0
* GPS -- AGPS (assisted global positioning system) receiver
Which is really great Freerunner does not have 3G but well in India at present there is no 3G and i dont think it will be there anytime this year as frequency allocation has not taken place add to that only planning is going on which will take a lot of time so remove all the 3G factor from iPhone 3G …….
Another thing Openmoko Freerunner is a complete Open Source Phone you can download the whole source code and change it according to your wish and well about the applications there will be plenty of applications available for it at no cost
So while many of people around me will go for iPhone 3G ( without 3G ) i am going to FREE MY PHONE!!!!!!
Firefox 3 is here!!!!!!!
Jun 18th

So Finally after a delay of about 1.5 hours Firefox 3 is here and the download link is here World Record here we come
PS – No matter how many people download it will anyway be a world record coz its the first time a record of this type is being done
Help Firefox 3 set a World Record
Jun 1st

Make a Pledge to download Firefox 3 and set a Guinness World Record of most software downloads in a single day i.e. 24 hrs. You can register here. You will receive an email notification about the Download Day.
http://www.spreadfirefox.com/en-US/worldrecord/
Set a world record enjoy a better web!!!!!!!!!
Creating a Simple Chat Application with Python
May 1st
Creating application with Python is very simple, here is a simple chat application made by using the socket module, it has 2 parts First Server and Second client, you run the server first and then connect the client to it, here is the code
Here is the Server Code
#!/usr/bin/env python
from socket import *
from time import time, ctime
IP = ''
PORT = 23456
ADS = (IP, PORT)
tcpsoc = socket(AF_INET, SOCK_STREAM)
tcpsoc.bind(ADS)
tcpsoc.listen(5)
while 1:
print "Waiting for connection"
tcpcli, addr = tcpsoc.accept()
print "connected from:", addr
while 1:
data = tcpcli.recv(1024)
if not data : break
print data
data1 = raw_input(">>")
if data1 == "q;t": break
tcpcli.send(data1)
tcpcli.close()
tcpsoc.close()
Here is the client code
#!/usr/bin/env python
from socket import *
IP = ''
PORT = 23456
ADS = (IP, PORT)
tcpsoc = socket(AF_INET, SOCK_STREAM)
tcpsoc.connect(ADS)
while 1:
data = raw_input("msg>>")
if not data : break
tcpsoc.send(data)
data = tcpsoc.recv(1024)
if not data: break
print data
tcpsoc.close()
the code above might not be properly intended so you can download the code from http://fb.ankurs.com/tcp_server.py and http://fb.ankurs.com/tcp_client.py
enjoy!!!
Manipal Bloggers Meet
Apr 18th

So am at the Manipal Bloggers meet with 4 of my friends and well the updates are coming up on twitter so check my twitter feeds http://ankurs.com/twitter And also check out Manipal Blog feed agregator http://planet.ankurs.com
First Manipal Facebook application
Apr 15th

I have made a facebook application on the lines of all those What ______ are you??? and its What MIT Character are You??? its written in PHP and is well the First Manipal Facebook application as fas as i know….. and well i am seriously waiting for more questions for the app so plz tell me if you have any
PS – Questions on the application were given by Ravi and Ankit, and the final character by Dinkar and Me……
Automatic Login and pop-up block on I-ON
Apr 9th
Are you sick of the same I-ON login page that asks you to enable pop-ups every time you open your browser and try to access the Internet, are you sick of entering your username and password again and again. I think i have a very very simple solution for all your problems. Just copy the below code and save it as any name say ankur.html and just make it homepage of your browser and dont forget to replace “your username” and “your password” to the actual one you are using, now whenever you open your browser TaDa you are all set to go and one more thing if you dont want the pop-up you can just disable them no need to enable them
Copy from here
<script type="text/javascript">
function login()
{
document.loginframe.submit();
}
</script>
<body onload="login()" >
<form name="loginframe" method="post" action="http://192.168.150.2:8080/clntAuth/clntAuth_main.jsp">
<input type="submit" value="Sign In" >
<input type="hidden" name="loginID" value="your username">
<input type="hidden" name="loginpassword" value="your password">
<input type="hidden" name="flag" value="0">
<input type="hidden" name="popcheck" value="0">
</form>
</body>
Till here
This is a very simple method you can understand it just by reading the above code, i knew this method from a long time but have posted it now because of a recent event anyway dont forget to replace “your username” and “your password” to the actual one you are using
Happy Surfing!!!!!
PS – I will really be happy to hear if it helps you or not………..
Google announces AppEngine
Apr 8th
GoogleCode at their second CampFireOne announced App Engine a developer tool that enables anyone to run their web applications on Google’s infrastructure , which will be a closed beta with with only 10000 developers having access on first come first serve basis. its similar to AWS (Amazon Web Services) but takes every thing further. Google App Engine applications are implemented using the Python programming language. The runtime environment includes the full Python language and most of the Python standard library. App Engine also includes a scalable datastore, Django templating system and an open-source Python logging system. Its also provides authentication, analytics and access to Google service APIs. There is also a SDK available for local development. It also has the ability to move apps to the web in just a single command.
Google will also provide 500 MBs of storage and enough bandwidth and processing power to serve 5 Million pages per month along with a free subdomain on appspot.com or you can also use google apps to server the app on your domain
If you’d like to try it out, sign up for access to the preview release (well 10,000 limit has been reached sry hard luck) but you can download the SDK and try building the apps locally till you get an invite. You can also check out their blog http://googleappengine.blogspot.com/ for more updates and info
Moved to a fully hosted http://ankurs.com
Apr 4th
Finally i have moved to a fully hosted WordPress 2.5 blog from my previous warofwords.wordpress.com blog and it rocks!!!!
Hosting is provided by Racked Hosting and the plan is very big for my needs so i am sharing it with Sohil who is going to bring a blog at http://weirdspectrum.com/ soon, he is planning for it right now, it will be up by tommorow.
Updates on my blog will be more regular now, i think i will be very busy this month but i wont let that come in between my blogging.
One thing about Racked Hosting — They Rock!!!!!!!!!! the server is extremely fast, extremely efficient and at a great price
so if you are looking for hosting you know where to go……..
Making Xml dump of MySQL
Mar 18th
Yesterday when i was trying/searching for a way to generate XML file from PHP so as to use it in Project 11, i came across a way to make a direct database/table dump from mysql and its damn easy all you have to do is type
mysqldump -u username -p --xml databasename > data.xml
and it will dump whole database into the data.xml file enjoy!!!!
PS:- Info about Project 11 coming up…..




