Feeds:
Posts
Comments

Archive for the ‘Prob_system’ Category

Got the seminar from @shanmuganandhg

1. What is the size of data?
2. What is your ram size?
3. Will the data fit into your ram?
4. So, If you need to run the analysis for the streaming data,everytime will you do the computation for the whole amount of data(sequential logic) or else
storing the computed state into memory(combinational logic) and processing from it for the streaming data?

After took the decision from the fourth question

5.Think about How to be implemented For example, In python(consider main memory,low data size) or postgres(table,large data size)

Hint:

If you want to do sequential logic you can also think about colocation of the data(grouping the data).This will make the job simpler.

Read Full Post »

#My Mistake

Hi Friends,

Happy to meet you all again after nice nap

Yesterday something happened to me by mistake,Actually In my task I need to move the contents of one person who blogged in our django product to his wordpress account So obviously i got a little overview then i discussed with senior person he removed some glitches in my view which was helpful to get it,then after sometime i was doing to copy the content manually to move after a couple of minutes i got scold for my stupendous action from him then i realized it eventually .Because as a developer whatever we do is ,should be in programmatic way and thinking is absolutely important,was my ever bid mistake; then atleast got the view clearly now itself and I started to do it just in django to make the victim’s all contents as a text file in django . That was my immediate work to finish it.So I had gotten his userprofile object and from that I was trying to get his all content

Up=UserProfile.objects.get(email=’XXX’)

wp=WebPage.objects.filter(userprofile=up)

for w in wp:

fin.write(‘\n’+'######PAGE TITLE:#######’+str(w.page_title)+’\n’)

fin.write(‘######PAGE CONTENT######’+'\n’)

fin.write(str(w.page_content)+’\n’)

This was my snippet to make a text file with his content i did the required procedure in python to create a text file it was not revealed here

Again i faced a problem here to move

While I am using this code to move the all contents as a text format which is shown a error “Unicode error”,because it consistes some othe wide characters apart from ascii that was the general one .and my hand was having my chin

I got solution which solved that problem = Unicode error in django it was given saltycrane(search in google)

Use smart_str() and smart_unicode()

This is the elegant way to get the format of string or unicode in django

fin.write(‘\n’+'######PAGE TITLE:#######’+smart_str(w.page_title)+’\n’)

……………………

……………………

It grabs the contents in the correct format and taught a lesson to think thoroughly !!!

Thanks for your time !!!

regards,

Navaneethan R

Read Full Post »

List Processing Problem

Hi friends,

Good morning,I have doubts

Here I use the code to select the result for id from mysql db

ConnString = “DSN=mysqldb”,
{ok, Conn} = odbc:connect(ConnString, []),
{selected, _Cols, Results} = odbc:sql_query(Conn, “SELECT * FROM marks where id=1″),
io:format(“~p”,Results),
i get the output in terminal {1,45,55,67,89}

Here I wanna to process each field seperately,How to seperate each field in the above tuple?

I wanna print the result 1,45,55,67,89 individually

http://groups.google.co.in/group/erlang-programming/browse_thread/thread/ef9cc459f0fdea2f/97ea5ee7bbee4034?hl=en#97ea5ee7bbee4034

this helps me ;-) thanks

Edited:

Read Full Post »

I wanna to put my problems over here,Hope i ll get your suggestion to use it

For my web application “HiPe Result publisher in Erlang” we need to use the database to store data,so we headed into it.

Just we used to start “mysql” and created a table followed by inserted some values those are described here:

CREATE DATABASE `test`;

CREATE TABLE `test`.`test_table`
(
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`first_name` VARCHAR(45) NOT NULL,
`last_name` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE =
InnoDB;

INSERT INTO `test`.`test_table`
(
`first_name`,
`last_name`
) VALUES
(‘Matt’, ‘Williamson’), (‘Matt’, ‘Williamson2′), (‘Matt’, ‘Williamson3′);

inserted;

after that,

We have started to enter the code to connect with the database in erlang

In erlang shell,<by typing the ‘erl’ in terminal’>
1)application:start(odbc).

ConnString = “DSN=mysqldb”.

2){ok, Conn} = odbc:connect(ConnString, []).
3)Results = odbc:sql_query(Conn, “SELECT * FROM test_table”).

but here,I got “Exception error,no match of right hand side value{error,”No SQL-SERVER INFORMATION AVAILABLE”},connection to database failed}.

http://www.erlang.org/cgi-bin/ezmlm-cgi/4/38545

The same problem posted by some one but i need to get the answer

waiting for your valuable one!

Read Full Post »

Hi friends,

I need to create a free domain ,so i have chosen to create a domain in CO.CC ,but i had some problems with it

I have refered many sites that how to create a new free domain?,by following that

1.I registered my account  Registeration

2.I entered my domain name after that it doesn’t show anythingi don’t what i to do

When i am clicking the option “check availability” it doesn’t responses

Domain name

2.

After i clicked “check availabilty” option it doesn’t response anything

Doesn't response

After this stage i ve tried so many times,then Eventually i got successsss

www.jawaharlal.co.cc <Name of our uncle>

final domainNotes:

Yaa..really it is a zany work …nothing to worry…due to my slow internet connection i got fuss….but just i need to mention about my work here ..Be happy…

Read Full Post »

Hi Friends,

Good morning”"

I am using ubuntu hardy heron Lxde which is very interesting to use and too awesome,recently It has’t enter into root and any user  just xserver starts and it does’t further enter into GUI ,I don’t know “What was going there with hardy”

I had posted my problems in ubuntuforums and i got some suggestions then

I had pushed to reinstall my hardy then i have installed lot my packages which was installed in my hardy already (prev) by the method of my some previous posts

All the packages was installed successfully!! but then it sucks to install update also any other package using Nic card(Bsnl) …conflict problem occurs

Then i have searched the solution to replace my repository,eventually i got

sudo apt-get install upgrade

sudo apt-get install update

which works fine

Now i am installing the packages whatever i want in my hardy,still i want to use solaris with my hardy…..searching????

Read Full Post »

Any one can say how to add some plugins to customize our wordpress blog?

please step it detaily??

i have tried it..and i got failure….

so i am going to reboot…

If any one have knowing please share here!!!

Read Full Post »

Friends,

I am using wordpress blog….In this blog just i want to make extra design,so i ve refered some few sites that to add the plugin in my database, so for i have refered that how to add the plugin ..

In my terms”

I ve installed wamp server ….By this server i ve reached phpadmin by configuring some changes in wordpress software(i have done it)

The changes are that i e ve created a database name “wordpress”

This also ve been mentioned in wp-config (usename,password,database name)

Then i got admin account and password …at that time i ve activated my plugin with help of admin account but in case the outcome(widget) hasn’t been displayed in my blog..I don’t know the reason

After few days my admin account hasn’t worked for the appropriate password also i want to know how to have admin account again using phpadmin

Now i haven’t any idea about wordpress and mysql relationships to update the blog..

I ‘d like to know the concept of the ysql with wordpress and how it works ..if you have it please send to me immediately friend

If you have any information regarding this i ‘d like to get it from you….

mail id:  navaneethanit@gmail.com

Read Full Post »

Passwd file removed

Hai Friends,

I have installed ubuntu hardy OS……the day was tided with my hardy

After some days unfortunately i ve deleted the file passwd in the location of         /etc/passwd…then i didn’t know what to da  just i messed,then i restarted my system next it didn’t display the login prompt(GUI)…..what could i do

I have copied the file passwd from livecd hardy then i did paste in the location …it doesn’t works…

If you have any idea regarding this please share with me..***

——-

with reckons

Navanee

Read Full Post »

XP,Vista,Windows 7

you are slaved by windows

Dear friends,

This is the post by myfriend.In his laptop he has installed Vista,Windows7 respecitve order .after some days he wants to install Windows XP with them

Finally he got XP only he just was not doing at that time also didn’t know what happened there .

Then i have the software that names Vista Boot suite it is related to configuring BCD of that OS

Then he was using that software tried to make triple boot perhaps he got Vista and windows 7 except XP but he wants triple Boot Os

He is  thinking about that  <<<——–

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 173 other followers