DFI Computer Programming thread

Haldilal

लड़ते लड़ते जीना है, लड़ते लड़ते मरना है
Senior Member
Joined
Aug 10, 2020
Messages
29,501
Likes
113,319
Country flag
India's approach to training programmers and web developers has not worked very well. A list on the best web developers by nation. Chinese students do programming in their language; Indian students don't. We must open up programming via all Indian languages ASAP.
EhERt4JWoAA3Dyz.jpeg
 

Suryavanshi

Cheeni KLPDhokebaaz
Senior Member
Joined
Jun 5, 2017
Messages
16,330
Likes
70,173
India's approach to training programmers and web developers has not worked very well. A list on the best web developers by nation. Chinese students do programming in their language; Indian students don't. We must open up programming via all Indian languages ASAP.
View attachment 58015
Developing in their own language?
Do Chinese program in mandarin?
This is the first time I'm hearing it.
 

Haldilal

लड़ते लड़ते जीना है, लड़ते लड़ते मरना है
Senior Member
Joined
Aug 10, 2020
Messages
29,501
Likes
113,319
Country flag
Developing in their own language?
Do Chinese program in mandarin?
This is the first time I'm hearing it.
Yes most of the programmers do programming in their launguage.
 

Suryavanshi

Cheeni KLPDhokebaaz
Senior Member
Joined
Jun 5, 2017
Messages
16,330
Likes
70,173
yo my niggas. I have a query.

When opening a file in Python or any language uses reverse slash like this one "/" when depicting path and not the usual "\".
is it because the "\" is reserved for Escape sequence?
 

Spindrift

Senior Member
Joined
Nov 29, 2011
Messages
2,643
Likes
8,588
yo my niggas. I have a query.

When opening a file in Python or any language uses reverse slash like this one "/" when depicting path and not the usual "\".
is it because the "\" is reserved for Escape sequence?
Yes, it is a special character called the escape character. You can escape the escape char by using double backslash for example C:\\Users\\Documents, but I prefer using the builtin function os.path.normpath() when dealing with file paths.

for example:
Python:
import os

somefile = os.path.normpath("C:/Users/data.json")
with open (somefile) as f:
    #do something here
 

Spindrift

Senior Member
Joined
Nov 29, 2011
Messages
2,643
Likes
8,588
Sir is pycharm good enough for small projects?
Do u have any better recommendation?
It depends on your preference, I for example use sublime text for standalone scripts and use Visual Studio Code for projects, but a lot of my colleagues do use PyCharm.
 

Peter

Pratik Maitra
Senior Member
Joined
Mar 3, 2014
Messages
2,938
Likes
3,341
Country flag
India's approach to training programmers and web developers has not worked very well. A list on the best web developers by nation. Chinese students do programming in their language; Indian students don't. We must open up programming via all Indian languages ASAP.
View attachment 58015
Dude programming languages have nothing to do with mother tongue. English is used in all known programming languages be it C,C++, Python,Java. The reason being most of the development in this field was done by Americans,British,German and Canadian experts of CS.

Also one does not need to learn Queen's English to be a top coder. The reason why the Chinkies are doing well is because they have invested in the educational institutions of their country and have given their students support in pursuing CS degrees abroad. China doing well has nothing to do with them coding in Mandarin,if such a thing even exists. Look up the number of Chinese students in US universities. Otoh in India only IIT,BITS,NIT,JU and a few select institutions have alumni who go abroad. Chinese parents use most of their wealth on their single kids to give them an education abroad. Also as China is a more wealthier nation with better QoL than India and some of these well trained Chinese return back to their native soil to be a part of the workforce there. Indian research is also very poor. Very few IITians end up doing their PhDs in India instead they opt for a plump IT coolie job abroad or a professors post in an US University after doing their grads there.As a consequence our research work is done by people who have neither the motivation nor the mental acumen(barring a few) to bring out some top notch innovation in their fields. Also majority of the Indian researchers and even professors(barring the ones from Elite institutions) end up plagiarising their work from well known foreign researchers. You will be astonished to find out how many plagiarised papers have been sent to foreign journals for publishing.(Read up Quora) Imagine the gall of these people who do such fraudulent acts. Also I would not even go to the topic of predatory journals in which has mushroomed in India recently.(China also has the same problem of predatory journals btw) The thing is for original research you require time,effort and money. Indians cannot be great researchers when they are being nagged to settle down,get married and earn a decent living. People require financial aid to be good thinkers and researchers. Most of the doyens of mathematics like George Cantor,Godel,Boltzmann went mad or senile. They were supported by their states and some of them were so engrossed in their work that they forgot to eat,bathe or even maintain their mental faculties.

Coming to coding in Indian langauges it can be done as Coding is nothing but writing a mathematical and logical sequence to get a desirable and valid output. Coding is a form of applied mathematics. However such an indigenous effort will hardly make a dent in the world of computing. The thing is most coders from reputed institutions already understand and converse in English. A vernacular language will hardly help in improving the quality of coders who come from affluent backgrounds and understand English very well.

Instead GoI should divest effort in the form of scholarships and research posts for CS graduates. The fact of the matter is to do well in any field you have to invest money and resources. Wealth is what nurtures intelligence and talent.
 

Haldilal

लड़ते लड़ते जीना है, लड़ते लड़ते मरना है
Senior Member
Joined
Aug 10, 2020
Messages
29,501
Likes
113,319
Country flag
Dude programming languages have nothing to do with mother tongue. English is used in all known programming languages be it C,C++, Python,Java. The reason being most of the development in this field was done by Americans,British,German and Canadian experts of CS.

Also one does not need to learn Queen's English to be a top coder. The reason why the Chinkies are doing well is because they have invested in the educational institutions of their country and have given their students support in pursuing CS degrees abroad. China doing well has nothing to do with them coding in Mandarin,if such a thing even exists. Look up the number of Chinese students in US universities. Otoh in India only IIT,BITS,NIT,JU and a few select institutions have alumni who go abroad. Chinese parents use most of their wealth on their single kids to give them an education abroad. Also as China is a more wealthier nation with better QoL than India and some of these well trained Chinese return back to their native soil to be a part of the workforce there. Indian research is also very poor. Very few IITians end up doing their PhDs in India instead they opt for a plump IT coolie job abroad or a professors post in an US University after doing their grads there.As a consequence our research work is done by people who have neither the motivation nor the mental acumen(barring a few) to bring out some top notch innovation in their fields. Also majority of the Indian researchers and even professors(barring the ones from Elite institutions) end up plagiarising their work from well known foreign researchers. You will be astonished to find out how many plagiarised papers have been sent to foreign journals for publishing.(Read up Quora) Imagine the gall of these people who do such fraudulent acts. Also I would not even go to the topic of predatory journals in which has mushroomed in India recently.(China also has the same problem of predatory journals btw) The thing is for original research you require time,effort and money. Indians cannot be great researchers when they are being nagged to settle down,get married and earn a decent living. People require financial aid to be good thinkers and researchers. Most of the doyens of mathematics like George Cantor,Godel,Boltzmann went mad or senile. They were supported by their states and some of them were so engrossed in their work that they forgot to eat,bathe or even maintain their mental faculties.

Coming to coding in Indian langauges it can be done as Coding is nothing but writing a mathematical and logical sequence to get a desirable and valid output. Coding is a form of applied mathematics. However such an indigenous effort will hardly make a dent in the world of computing. The thing is most coders from reputed institutions already understand and converse in English. A vernacular language will hardly help in improving the quality of coders who come from affluent backgrounds and understand English very well.

Instead GoI should divest effort in the form of scholarships and research posts for CS graduates. The fact of the matter is to do well in any field you have to invest money and resources. Wealth is what nurtures intelligence and talent.
Yo @Peter nibba tell some more things about it so what can be done to encourage the programme based economy.
 

Peter

Pratik Maitra
Senior Member
Joined
Mar 3, 2014
Messages
2,938
Likes
3,341
Country flag
Yo @Peter nibba tell some more things about it so what can be done to encourage the programme based economy.
As I have stated GoI should set aside a sizable portion of their budget for education and development of educational infrastructure. Keep in mind that we have allowed Chinese hegemony of technology in the form of mobile apps,gaming simply because we have no suitable alternative to them. Remember how Indian rip off apps like Chingari etc came and went in no time.

What we require is to prevent brain drain and retain the top IIT talents in our country through the form of well paid posts and other benefits. We need to cut down all useless social benefits and policies and make our country a meritocracy as China has done. All the indolent people pursuing useless degrees and PhDs in liberal arts and humanities should get their stipends slashed. Instead the money saved on these futile expenditures should be utilised for science and engineering students. Also we should not shy away from recruting foreign talent in our universities. Having said that I personally feel we have enough local talent to prove our mettle but we just cannot retain it. I again reiterate to get excellence in any craft you require money. Wealth alone generates wealth. If we can develop a robust technological workforce by investing in home grown tech we can easily earn millions from exporting our tech. Along with that we can get independence from our reliance on vested Chinese and US players who rule the technological world. It will be a win win situation for us.
 

Suryavanshi

Cheeni KLPDhokebaaz
Senior Member
Joined
Jun 5, 2017
Messages
16,330
Likes
70,173
What exactly does he wants to do or make? In other words what's the workflow?
Interactive Map based educational portal basically. Suppose a kids is preparing for UPSC he will refer to that site for interactive learning. Basically BYJUs with map.
 

Suryavanshi

Cheeni KLPDhokebaaz
Senior Member
Joined
Jun 5, 2017
Messages
16,330
Likes
70,173
What's the purpose of the Map in that app?
The map of look like this.


When the mouse is brought over a river it will highlight and on clicking it will display a pop up windown.
The window will have detail of the map.
-Length
-Citeies on the river it's significance
-History
Etc
 

IndianYonko

Senior Member
Joined
Aug 21, 2020
Messages
1,813
Likes
7,918
Country flag
The map of look like this.


When the mouse is brought over a river it will highlight and on clicking it will display a pop up windown.
The window will have detail of the map.
-Length
-Citeies on the river it's significance
-History
Etc
And what is your frontend techstack?
 

Latest Replies

Global Defence

New threads

Articles

Top