I haven't really gathered any information about this issue. But I'm just gonna continue ranting anyway. Here's the deal! I am browsing the web. I create some bookmarks. Now it is true that you can create bookmarks using del.icio.us but I feel better if it was a more integrated platform specially one that can sync more data than just bookmarks. Firefox add-ons can integrate delicious with Firefox but what about other browsers.
Then came Weave Sync. It is a Mozilla Labs project which is now mature. You can sync your Firefox tabs, history, passwords and bookmarks. You can host your own server of Weave Sync. How great is that.
After a while Google made syncing bookmarks possible in their Chrome browser but it uses their own server and protocols and stuff. And it doesn't sync other stuff.
Now, how hard could it have been for Google to just use Weave as a backend for their bookmarks syncing. Wouldn't it have been much easier. It's a great project. It's open source. It uses JSON as a data format. It would have been great. It would have made moving from Firefox to Chrome even easier for users with all their data easily imported to Chrome and syncing as it did before.
Why not? Maybe Google wanted information about the users, what web pages were they bookmarking. Huh huh? right? Weave Sync encrypts the data so they couldn't use it.
Well anyway there is some good news. There is a project on bitbucket called weaveclient-chromium by philikon. It's developed using python I think so I can't by of much help there but I can't wait for a release it.
Monday, May 17, 2010
Saturday, February 21, 2009
PHP PHPSESSID=session_id() or $_GET['PHPSESSID'] not working ?
for my most recent project i was trying to use the YUI uploader to upload multiple files to the server. As the user is authenticated to get to the page the Session needs to be persisted.
But YUI Loader does not use cookies so that means the request that the YUI loader makes will have a new session.
To resolve this I sent the session ID as http://thewebsite.com/theuri?PHPSESSID=
well this doesn't work either. This seems to be because $_COOKIE variables take precedence over $_GET variables in the global scope or maybe $_GET['PHPSESSID'] is not supported at all now. So this is what i needed to do:
But YUI Loader does not use cookies so that means the request that the YUI loader makes will have a new session.
To resolve this I sent the session ID as http://thewebsite.com/theuri?PHPSESSID=
well this doesn't work either. This seems to be because $_COOKIE variables take precedence over $_GET variables in the global scope or maybe $_GET['PHPSESSID'] is not supported at all now. So this is what i needed to do:
if ($_GET['PHPSESSID']) {The above code should be added anywhere before you use session_start() function. It would be ok to include it in the start of the script.
$_COOKIE['PHPSESSID'] = $_GET['PHPSESSID'];
}
Saturday, June 2, 2007
Sunset
The sunset winds howl the impending darkness of night
the night beckon the creatures of darkness
the night beckon the creatures of darkness
Tuesday, May 29, 2007
Monday, May 28, 2007
Trust!
To make a better future we have to put our trust in a bigger organization. This is where the "government" and the "president" came in. Trust in a person takes some time to build and it lasts as long as a human does. Thats why a government is not the solution. So we will need something that could live forever. Something like a computer system.
A computer system that doesn't need to be upgraded. No human should be able to alter it, not even get close to it. So this thing will need to be guarded. Not by humans of course. It will need computerized robotic guards. These guards should be able to tell the difference between two humans in every possible way. Finger print, eye scan or even DNA test!!! What ever is feasible in the scenario. And they should not be vulnerable to threats, meaning they should be armed and dangerous.
Once the protection of the almighty system is finished we will need this system to identify each human being separately. Well lets see, how about a member system such as in Blogger. You can have a blogger account if you have a Google account and you can have as many Google accounts as you want. Well what we need is something that represents only one account for each single human being, therefore Blogger style member system is not feasible.
So how about making a system which registers the people using their National Identification. No wait. This process is done by humans so a select few people who are in charge of this identification process can bias this by making lots of identifications for themselves. At least its better than the Blogger system where anyone can make thousands of identities for themselves.
So theres one other way. Complicated yes. The system should identify the person on its own, utilizing methods before mentioned as how the robots will identify persons. This way no one can have more than one identity in the system.
Of course this system is to be used to make the decisions of the society through votes. The votes will be counted by this system. So when ever there is an important decision to be made everyone will log into this system and express their opinion and the system will just show the result.
If it were to make decisions intelligently than thats a whole new scenario. It will need AI (Artificial Intelligence). And if it were to have AI then it might need to be upgraded time by time which necessitates human interaction which throws the whole concept off its stand.
So now I feel it necessary to tell you before i conclude, this text does not make sense.
[ I conclude ]
A computer system that doesn't need to be upgraded. No human should be able to alter it, not even get close to it. So this thing will need to be guarded. Not by humans of course. It will need computerized robotic guards. These guards should be able to tell the difference between two humans in every possible way. Finger print, eye scan or even DNA test!!! What ever is feasible in the scenario. And they should not be vulnerable to threats, meaning they should be armed and dangerous.
Once the protection of the almighty system is finished we will need this system to identify each human being separately. Well lets see, how about a member system such as in Blogger. You can have a blogger account if you have a Google account and you can have as many Google accounts as you want. Well what we need is something that represents only one account for each single human being, therefore Blogger style member system is not feasible.
So how about making a system which registers the people using their National Identification. No wait. This process is done by humans so a select few people who are in charge of this identification process can bias this by making lots of identifications for themselves. At least its better than the Blogger system where anyone can make thousands of identities for themselves.
So theres one other way. Complicated yes. The system should identify the person on its own, utilizing methods before mentioned as how the robots will identify persons. This way no one can have more than one identity in the system.
Of course this system is to be used to make the decisions of the society through votes. The votes will be counted by this system. So when ever there is an important decision to be made everyone will log into this system and express their opinion and the system will just show the result.
If it were to make decisions intelligently than thats a whole new scenario. It will need AI (Artificial Intelligence). And if it were to have AI then it might need to be upgraded time by time which necessitates human interaction which throws the whole concept off its stand.
So now I feel it necessary to tell you before i conclude, this text does not make sense.
[ I conclude ]
Thursday, May 24, 2007
Antivirus
Yesterday, i changed my antivirus software to kaspersky antivirus 6. it kicks ass. i was using nod32, and after installing kaspersky it detected some virus that nod32 did not detect and its as light wieght as nod32. it also has registry protection and more features than nod32. so overall its better than nod32 or bitdefender even. u guys should try it out.
There's one sad thing though. They have stopped releasing cumulative updates, so the only option to update is the update feature in the program, so i guess you gotta be connected to the internet to update kaspersky antivirus.
thats all about virus. i think this is gonna keep my system safe for a long time as nod32 has.
There's one sad thing though. They have stopped releasing cumulative updates, so the only option to update is the update feature in the program, so i guess you gotta be connected to the internet to update kaspersky antivirus.
thats all about virus. i think this is gonna keep my system safe for a long time as nod32 has.
My first blogging, my first post
This is just an initial post to fill this empty space. This is the my first blog yet and i dont think i'm gonna be updating this thing often. Cox im damn lazy. so see you, now n then, see this now n then
Subscribe to:
Posts (Atom)