Feeds:
Posts
Comments

Archive for the ‘Problems’ 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 »

It was an urgent to me for recharging the amount in mobile.when I was doing with hurry,the app frustrates me

I filled all blank fields and it asked me for the confirmation also.

 

When i clicked the confirm button it throws me

NULLPOINTER EXCEPTION

I think they have done in struts

It frustrates the customer isn’t?

better they can move to Django to avoid these kind of frustrating problem to make unfriendly with customer.

:-)

 

Read Full Post »

Technologies don’t matter. 

Programmers like to talk about technology. Is Ruby better than Python? Which RPC layer is faster? Should Facebook use Python and not PHP? This is great, and you should know and have opinions about those facts (especially if you’ve followed the latter advice). But quite surprisingly, if you look at successful and unsuccessful engineering efforts, there is essentially no correlation between success and the exact types of technologies that are used. What matters is who is working on a team, how they use the technologies, and how they work together. Good software engineering is done by good software engineers. It’s rarely done with the perfect programming language, or the preferred operating system, or using the most hyped new technology. A lot of the hardest challenges in software development concern the way people communicate and work together, not in raw technology.

There are many important corollaries to this: Pick programming languages you or your team use well, or are aligned with the market, or are popular enough you can hire folks. Be pragmatic, not religious about how you solve problems. Learn by working with great engineers, and seeing how they solve problems, not by preferring a particular approach. Realize that effective communication and good engineering culture are even more important than powerful tools

Source : http://www.quora.com/Computer-Programming/Expert-hackers-What-are-your-top-three-insights-for-a-novice-programmer

 

Good to follow it :-)

Read Full Post »

Hi Welcome u,

Old is Gold

Take the old beautiful soup It works fine but new soup has some problem with unicode and string.

sorry If i confused you.

Now for sometime I have been working on the parsing html data in python.For this operation we have the standard module called “BeautifulSoup“.When I was working with this suddenly i have faced the problem “HTMLParserError” after i got to go google.

It says that

“you r using the new BeautifulSoupSome modifications has been done on the new soup module that is the parsing is happening from html rather to use lxml.”

So, again I asked the version to find my soup.

again it says politely,

“navatux@localhost$python

>>>import BeautifulSoup

>>>BeautifulSoup.__version__”

>>>”"” Here you need to notice the output .ie Version

So, I did the same thing and I got the number 3.1.7

again I conducted him.

It says,

“Try to install the version 3.0.1a” will be somewhat good.

Again i need to follow that.

I did it downloaded the exact version and installed(3.0.1a) after uninstalled the old one(3.1.7).

Reference:

http://stackoverflow.com/questions/601166/issues-with-beautifulsoup-parsing?s=0c3dca2e-3f3b-4a13-8d79-c13b1204dd7d

Now it works fine. :-)

If i face any new issue let you know :-)

bye ;-)

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 »

Books

I have gone this week to Roundana in Erode to visit the book fair festival which was very very nice and this is the first time to me that seen this much of books and good organization .The trip was very pleasure for me and enjoyed a lot ,there is no words in my dictionary to explore my emotion after stepped out of it.I think every year which has been conducted this book fair as well as there are more models or leaders had visited and given a talk in this shop day-by-day almost ten days,it is also a fortune to have it.

I have visited all sections almost,Most of the times i couldn’t able to step out of each section ,especially the Tamil novels,English books,leader’s history so nice to read,please have a look on it with your passion

Eventually I have bought four books

1.Main kampf by A.hitler

2.Billgates the software sultan by chokkan

3.learn yoga

4.Kanndhasan kavithaigal

Billgates the software sulthan by chokkan

After reached home stated read Billgates the software sultan the character was awesome,It explore how he became from normal state to enlarged,what were the reasons,what was his talents,so much things elaborated there. finished in almost 10 hrs.

author : http://nchokkan.wordpress.com

Main kampf by A.hitler

It is the autobiography by adolf hitler who had written this couple of volumes when he was imprisoned which i need to read right now …It feels slowly moving anyway the words are good see as a newbie..to keep on going…

learn yoga

It tells about the aasanas which has to make healthier the uses of each aasana…,the ways to do those informations has been attached there,..

Kanndhasan kavithaigal

In my college time I used myself to write some poems in tamil after that it was seemed like the reluctant one, on accout of the long gap,so i bought this book to have a touch with my tamil skills..I hope this ll be great and will occur elegantly ,wish me friends

My belief full thought is books are the absolutely true friends which helps more to lead you in the good way,Those are always the profitable even if you spend more money than your income.

Our the great living leader Dr.APJ Abdulkalam had come the previous year for this great occasion,and he talked that in every each family you should maintain a library,and atleast you should spend a hour for your true friends that meant for books i hope we can achieve this crisp talk by the leaders way.

bye bye :-)

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 »

Avoid Corruption

corruption??

Corruption shows your greedy,

Corruption makes you empty in your life,It creates problem to you

Can you possible to live without corruption??

yaa..you must.. then only you ll be great

Indian Film

I watched a movie INDIAN,I was impressed to see the superior person like old kamal hassan ,He had handled the way to destry the social issues were nice,Especially to reduce the corruption….to talk about corruption it is the biggest problem in out nation that makes rich get richer and poot get poorer as the film #Sivaji said

Really we need to avoid that atleast like the person #Indian grandpa

Think a twise of the film,Not only for entertainment it is’

We are creating problems,We only are searching the solution so we depend others and finally we enter into wrong way”

Only people we must rectify ourself others what todo

Any way The concept is great,we people should keep some basic things which should not make the problem to others

That is important

Read Full Post »

Good challenge!!

How to change the Name”START” in Windows XP TaskBar

Some little story Once I and my few friends  have gone to meet  final year seniors in my fresh year
we have met few of seniors for good interaction.then suddenly my one of the seniors who asked with us “have you known how to change the name”START” in windows task bar ..my few friends had said to them what they thought but at that time i didn’t know what they are asking ..I got the answer after a long time …..

How to change

First you have to have the suite Resource Hacker

After installed Resource Hacker just you can open explorer.exe (c:\Windows\explorer.exe) via Resource Hacker

You can view some of the files which starts from Bitmap in the form of class view

You have to click the plus(+) in String table

it will be extracted after you clicked

Then also you have to expand the string 37 for non classical style
for classical style you have to expand 38

After expanding that you have to choose 1033

Afetr you have chosen that in rightside you can view some contents

In this contents (578 , start)you could edit “start” you can place the string what you want to be displayed

After that click compile script then one important matter is you shouldn’t click save file

you should choose “save as” and save the compiled Resources in the location (C:\Windows\*****.exe)

for example that consider that you have stored explorernava.exe

Then goto the registery editor (regedit)

Follow this by pressing

HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon”

in this winlogon right side you can view shell double click that

change the value data what you have store in the location of (C:\Windows\*****.exe)for example in my
system i have store explorernava.exe

just close that log off your system then you can view the taskbar……

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 173 other followers