Daily Diary (Six months training)

Dec20, 2013

Installed MMS on experimental i.e. Meeting Management System.

http://products.oscc.org.my/mymeeting

Following is the script to install the same.

http://202.164.53.122/~devinder/mms

Faced some problems related to php. Like came to know about sessions functions.

NOTE: Permissions play an important role in command line.

Dec19, 2013

Thought of the day:

“Until and unless you help yourself, no one else is gonna help you either.”

Thursday, and I didn’t go to tcc. It was too cold to go outside actually. So I just decided to stay here and work from here. And it paid off finally. I successfully migrated site to experimental. And now the steps are like crammed to me without any confusion.

Following link proved helpful for the same.:

http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/

Dec18, 2013

I started my day with migration steps again from starting. I had lot of confusions related to databases, phpmyadmin, mysql, users, root etc. which I needed to discuss with some experienced ones. But everybody seems so busy with their own stuff, so i just thought to do it my own as usual. Thanks to Ishpuneet and google facilities. I had asked exp. admins to create a new database for my site on exp. Somehow I got root access for the exp. phpmyadmin and that was the best thing. My all confusions related to it got cleared up. For a moment I forgot about migrations this stuff.

One more thing which I would like to share here is swap files which get generated while editing some files like in vim. These are kind of hidden files which begin with period(.) and in order to list them just apply following command:

ls -a

In order to remove them use:

rm -f .name-ofthefile_u_were_editing.swp

Dec17, 2013

I got to explore two important things today. First was IRC(Interner Relay chat) channels and clients and second one was tmux.

IRC is a protocol which provides a way of communicating in real time with people from all over the world. It consists of various separate networks of IRC servers, machines that allow users to connect to IRC. IRC is very similar to text messaging, but designed around communicating with large groups of users instead of one on one. I Configured irssi- client of the future to have IRC services. For details following links are helpful.
http://www.irchelp.org/

http://www.irchelp.org/irchelp/clients/unix/irssi/irssiatboot.html

Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. And do a lot more. Tmux is hosted on sourceforge.

Dec16, 2013

Inder gave seminar on git. It was informative and things got more clear. Like git status, branches, forks, roll backing, commit access, git patches, commit messages etc.

Dec15, 2013

Signed up with zoho.com. Made presentation using zoho docs.

Zoho Docs is a kind of actually the file synchronization service that lets you sync all your files to the cloud, makes them easy to share with anyone and lets you access your documents from anywhere. It offers variety of features. Explore the following link and have fun. ๐Ÿ™‚

https://www.zoho.com/docs/#allfiles

https://www.zoho.com/

Dec14, 2013

Made a new repository on bitbucket and pushed the code there for the same. Steps to do the same are:

  • Clone the repo on your local machine.
  • Put the source code in it to be pushed there.
  • cd /path/to/your/project
  • git init
  • git remote add originย ย ย  https://username@bitbucket.org/username/repo.git
  • git add
  • git commit -m “first commit”
  • git push -u origin master

Dec 13, 2013

gnome-control-center is an utility which is used to display system settings through terminal.

You can have this facility using following command:

$ sudo apt-get install gnome-control-center

After having this utility installed, you can easily have your desired system setting opened in the system. For example, if you want to have display setting simply type following command in terminal and get it opened.

gnome-control-center display

and enjoy. ๐Ÿ™‚

Dec12, 2013 – Bootstrap

Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.

http://getbootstrap.com/

Dec.11, 2013 – Creating Slide-show using php and HTML

Using globe function we can make images display. Using this kind of .php script we can make a .php script that will make an automatic slideshow of images from a folder.

<?
$files = glob("images/*.*");
for ($i=0; $i<count($files); $i++)
{
    $num = $files[$i];
    echo 'random image'."

";
}
?>

November 25, 2013

I had to go home suddenly. So I just spent two days there. It was refreshing and I simply loved it. ๐Ÿ™‚

November 24, 2013

While working on MMS i.e. Meeting Management system I came to know about SMTP credentials i.e Simple Mail Transfer Protocol specifications. While using MMS it demanded SMTP credentials So I just gave google credentials.

Host name : smtp.gmail.com

Port: 465 or 587

Though using thunderbird you can configure you own gmail account. Refer this one for more details:

https://support.mozillamessaging.com/en-US/kb/manual-account-configuration

November23, 2013

Debian is an operating system composed of free software mostly carrying the GNU General Public License. The operating system is developed by an internet collaboration of volunteers aligned with The Debian Project.

Debian systems can use either the Linux Kernel(known as the Debian GNU/Linux distribution), the FreeBSD kernel or, more recently, the GNU HURD kernel.

Ubuntu is a debian based linux kernel basically with more features and applications to make it more user friendly.

We need to give proper path to our php files if we want to make them run through terminal.

Configuring apache too. If you want to explore more about it just explore /etc/apache_version.

Command to restart apache:

sudo /etc/init.d/apache2 restart

November22, 2013

“Good artists borrow, but great artists steal.”

If you want to know about the current version of php and mysql running in you system, given code will help.

For php:

 

For Mysql:

 

And then my booking booked me for a day.:P

And 21 nov. started with the reading of sir’s mail about http://products.oscc.org.my/aboutmymeeting which is a web application specifically designed to help you to better manage your meetings and get more out of them. Initially developed at the Open Source Competency Center (OSCC), it is the Malaysian governments’ first fully open source software. After going through its documentation I started its installation. There are two options for mymeeting and mybooking. At first I went for mybooking. After having apache and php setting, downloaded its source via SVN. After creating database for it naming mybooking_db one need to give priveleges for user. And then installation started. Instructions were in malay language so I had to use from malay to english.
At third step I got stuck with SMTP specifications, but the help of Rai sir I got it resolved.
And completed all the steps regarding installation. And it showed the last notification which clearly said “congrats! your installation has been successfully completed. Now you can login.”

I was happy seeing the loading page and felt relaxed but instead giving me the login page, it lead me to the first page of installation. I again did the same steps but nothing improved. Still struggling with the blunder I did!

November19, 2013

Netbeans, PhPstorm, Eclipse PDTs are some of the main IDEs being used for php coding. But I am using geany. The first problem I faced yesterday was with configuration of apache. All we need to do is to set the configuration path to our .php files. I just shifted my php folder to /var/www and problem got resolved.

November18, 2013

Read about Eclipse IDE and specifically PDT i.e PhP Development Toolkit. A better way to code php as such IDEs provide various functions like auto correct, code highlighting and various other inbuilt options. So I just tried to install it for ubuntu. During this I came to know about zend engine which is an interpreter for scripting language like php but due to to weak internet connection packages got unbroken and I got EOF errors while unpackaging the tar files. So had to download it again.
Following link works for it.
http://www.eclipse.org/pdt/downloads/

October7, 2013

Its monday today. Start of a new week. I have completed the task given by sir. Using moodle I had to made a course, an online quiz basically. Due to bad internet connectivity I was unable to do so for few days. But today, I finally finished it.

At the end of the day, feeling little relaxed.ย  ๐Ÿ™‚

October6, 2013

Sunday! Was at home for the day.

October5, 2013

A day with lots of technical events in the college. Yeah, second day of tech fest for GNDEC, Ludhiana. After lunch break I reached tcc and came to know about Hadoop-big data meetup which was going to held in Bangalore.

Bangalore Baby Hadoop group

Bangalore, IN
2,530 Baby Hadoopers

It is observed that there are several Hadoop groups existing already, but they deal with advanced topics since they have been there for some time. This meetup group for folks …

Check out this Meetup Group →

And we had to co-ordinate with Navjot Sing Tung to participate in it. But as were already late, so we got it skipped! Better luck next time! ๐Ÿ˜‰

Hadoop is a free, Java-based programming framework that supports the processing of large data sets in a distributed computing environment. It is part of the Apache project sponsored by the Apache Software Foundation. Its a new and emerging technology. For more information visit:

http://www.cloudera.com/content/cloudera/en/why-cloudera/hadoop-and-big-data.html

October4, 2013

GSOC party! Had fun.

October3, 2013

Sick!

October 2, 2013

Though it was a holiday for Gandhi Jyanti. But we were still at tcc, working. It was a rainy day. Enjoyed the weather. ๐Ÿ˜‰

October1, 2013

little busy regarding gate form submission. Rest, I got a new coral draw CD from sir. This time it was in a pdf format. I just had to check the different formats converted by the shopkeeper and then had to compare with ours.

September30, 2013

Started using bitbucket – Free source code host. Previously I have been using Github for code sharing. As bitbucket is famous for private repositories, so I will be uploading my website’s code here. ๐Ÿ˜‰

You can get more to know about this from here:

http://en.wikipedia.org/wiki/Bitbucket

https://bitbucket.org/

September21,2013

Itย  was a super saturday. Had many presentations in tcc today involving Gimp editor, regular expressions, BRL-CAD etc.

September19, 2013

As I had uploaded the website yesterday, so I decided to meet Rai sir and know about his reviews. He was busy with some work there. I waited for a few minutes and then Ishpuneet came in. After few minutes sir started discussion. And we discussed a lot many things related to web development.

September18, 2013

Today I worked on the login page and a twitter plugin.

September17, 2013

In order to connect php with my database in mysql, firstly I went for a plugin named php-exec. And it ran successfully. One stage got okay. But then I stuck up at the second stage. I discussed my problem with vigas. He told me that this plugin is not that much compatible with the theme. We are supposed to check a plugins’ compatibilityย  before applying that into our theme. It could harm our theme and it happened also. Atlast I had to delete this plugin from databases. And I went for another approach i.e. through templates.

September16, 2013

The best thing about programming is that, no matter which language are you learning about, basic concepts of all the main and popular languages are same. They all are inter-related in one or another way. You make your concepts clear about one language, others’ get on their own. This is the real beauty of computing and programming. And I got to remember very beautiful lines from a poem by John Keats which are :

“A thing of beauty is a joy for ever,
Its loveliness increases, it will never Pass into nothingness.”

September15, 2013

It was Sunday. But gave a hours to php.

September14, 2013

Today was a very important day for me. Because it was the first day when I actually realised that my coding career has begun. Yes and it begun with PHP- Hypertext Preprocessor. I have been working on CSS, styling and designing which is called web development. But its’ been one and a half month working on my project and for the first time I felt happy eternally because of my work. Actually I had to connect my database with wordpress theme using php. So I started searching for it. And after some discussions with other GD members I found it more interesting. And I have been studying its tutorials keeping other things aside for the time being. ๐Ÿ˜‰ ๐Ÿ™‚

September13, 2103

Updated accounts on facebook, twitter and gmail for my website on the name of Testing and Consultancy cell. Following are the links for them. Anyone reading it do make a visit and follow or like them accordingly.

For twitter:

https://twitter.com/tccgndec

For facebook:

https://www.facebook.com/pages/Testing-and-Consultancy-Cell-GNDEC-Ludhiana/497681330318981?ref=hl

September12, 2013

It was a good day. Tried to implement db connection through php connectivity in wordpress. After break there was an event regarding LUG i.e. Linux User Group Ludhiana delivered by Inder. It was really motivating. A quality of students came there to attend it. During interviews for executive membersย  we got a lot of talent to explore. Every third or fourth participant was claiming himself to be hacker(interest in hacking). Some were freelancers too. So it felt good to see such programming related passions growing in our college.

August28, 2013

It was a holiday today in the college. And we were supposed to reach tcc at 9 a.m today as sir was going to give presentation. I almost reached on time before sir started. It was on Pine MUA(Mail User Agent). It was wonderful undoubtedly. The most impressive thing that I liked in it was the rotator thing that makes new quotes being displayed with mail every time we write a new one. After that Prof. Ashish Malik gave a presentation on his research based on mind hypnotism. It was also good. A new concept in GD, different from technical concepts.
We had an activity also there which was for sorting and searching by Navneet Ohjha.
After presentations and lunch I again started working on my website. It was working good and I was about to uplaod on experimental but I dont know how the hell on earth my secondary menu got disappeared from the site accidently while styling the CSS file. I spent my whole evening finding it. But all in vain. Maybe its the problem with child theme or something else I was missing. Completely unaware. But I desperately want it on my website. So I put the issue on wordpress forum also. Lets see.

August27, 2013

Loving the work in wordpress. A change has come the way I see anything on browser now. For example, I have never observed facebook before from that angle like its light blue and white color combinations, the sidebars, the menus etc. etc. Whatever I saw online my mind just starts comparing its color schemes, layout and other similar things.:)

After noon I came to know that Inder has repeated his presentation on colors that I had skipped last time. As I was sitting in automation office so I again missed it. But somehow I convinced him to deliver that again and he agreed and indeed it was very helpful. ๐Ÿ™‚

August26, 2013

I reached tcc in a good mood as I was happy with my new wordpress theme but when I open my localhost wordpress It showed me nothing. I got panicked.ย  Jasvir tried to solve the problem but all in vain then we called Gurjot and he did all good. Thanks to him.:)

Problem was in my functions.php that I had imported with rest of the files while making the child theme. We just put ON button in errors log and the problem came on the browser and hence got solved. ๐Ÿ™‚

August25, 2013

sunday. Went for an outing and that was really fun. ๐Ÿ˜‰

August24, 2013

Finally got a new three column theme with two sidebars and two menus. Working in it now. I had to go out with my friends. As it was saturday means presentations day. So I decided not to skip it at any cost so I just made them to wait for few hours. Deepak gave his presentation on souvenir and it was good. I was not willing to leave tcc but my friends were so angry upon me that I had to skip Inder’s presentation. ๐Ÿ˜ฆ

August23, 2013

CSS is really interesting and easy to use. Once you come to know how to use it. Its totally fun. But the problem which I faced today was almost the same which I have been facing for many days. i.e. lack of an appropriate theme for my website. I have already wasted so much time on this one. At last I deleted all the plugins that I installed for the secondary sidebar and started with a new beginning. I again made changes in my php files with a fresh start this time with nivrit. But we concluded that the problem was with child theme. So by the end of the day I decided to change my theme again, and this time a better one which fulfills my all the requirements. ๐Ÿ™‚

August22, 2013

As I have again change the theme So applied changes in its css files. But secondary sidebar was not working in it too. Went through almost all the files required for it. But nothing moved. Discussed the problems with other GD members. They also tried to solve but problem didn’t solve. But in the search of solution to this problem I came to know about many other things. So the thing which I concluded today is the more we discuss more we know. So keep sharing, keep discussing. \m/

August21, 2013

Made a little changes in website . Went to Bhangwant sir and there I discussed a lot about TCC working and achievements.

August20, 2013

was at home. ๐Ÿ˜‰

August19, 2013

After showing it all to sir what I made, and getting reviews and suggestions from sir I attended the presentation by Aman Cheema on moodle upgradation. And after that I went to home.:)

August18, 2013

Though it was a holiday but as I wanted to go home after completing it so I decided to complete it upto some extent. I thought to add social networking sites’ icons to my site. At first I went for a plugin for it. But it didn’t give my good results then I shifted to the options which were already given in my theme. I just applied things from there on my local host only but the signs were not appropriate. Whole day I just spent to know the reason behind this thing. At evening I discussed my problem with gurjot. He tried to made the changes at experimental and there they were the way we wanted. I was amazed that how could this happen? Then I got to know the reason, it was due to icon font rendering. Then I thought to shift the work to my experimental account but net was so slow that I again started making changes at localhost after uploading once it at experimental.

August17, 2013

learnt about CSS elements like P, div, h etc. margins, paddings, borders, color images, pixels, points, percentages, different kind of links like hover, active etc.
Got to know about difference between usage of class(.) and id(#).

August16, 2013

Understood the concept of child theme. Started developing it. Got to know many things. Have started getting CSS.

August15, 2013

Sir put a mail on GD regarding moodle, kind of deadline it was, so everybody just started working on moodle with aman. So I thought another way and just continued with my style.css in my theme and then gurjot suggested me to make a child theme because if I will make changes in the dafault then after upgradation by the wordpress my chnages would go in vain. Read about the child theme from internet and made it and now making changes in it. ๐Ÿ™‚

August14,2013

Yesterday I was done with the moodle installation i.e.2.2. but on my localhost it wasn’t working. Tried to find out the solution and but my mind was into my website’s work so I just quit moodle for th time being and again shifted back to website. Played with the colors and again changed but main thing was to change its style.css file.

August13, 2013

Day started with moodle 2.2.11 installation. But it got halted at second step only. Some error related to archives came in the way. Side by side I was working on my website.ย  Got footer.php changed. And uploaded it on the experimental server finally with the help of gurjot. Thanks to him. Put a mail on GD regarding this and then got a lot of reviews from other gd members regarding color combinations and other loop-holes. ๐Ÿ˜›

Today, it was an active day. Whole of the day I was busy doing one or another thing. I feel happy being busy. As experimental server was not working since two days so I went to the server office along with inder, mandeep and jasleen di and got it working back.
At the end of the day I started working back on moodle. ๐Ÿ™‚

August12, 2013

And the day begun with my tcc website. I have been trying different color templates for so many days, but nothing was so impressive. I discussed about it with some of the gd members and at last in the beginning of the day only I got a much better color combination for it. A sighย  of relief!
Then I decided to upload my website at my experimental account. Did scp for whole of the wordpress1, then exported the wp database from my localhost and then get imported at server. And uploaded the search and replace script on server. But I got stuck at the last step. Something was missing may be wp-config.php. Was about to upload it but unfortunately experimental got down and that work is still pending.
Next I got installed Tcc Automation software on my system with the help of jasvir and his script. After few complications it got installed successfully.task to work upon i.e. moodle. See what happens!
In the evening got a new

August6, 2013

I wanted to add the dynamic pictures in the home page. Gurjot suggested me for a plugin because my theme as such does not support any slideshow thing. At first it could support only one image only, then I installed a plugin called skitter. Now according to my chioce I can add and remove the images. I asked Harjot for the Tcc labs’ pictures. Their size was bigger so I have to now edit them in gimp.

August5, 2013

Back to work. Internet was not working properly, so I decided to make the changes at local host only. Almost all menus are ready. Exploring so that it could get more impressive. In home page I have to add dynamic pictures.

August4, 2013

Its my b’day. Getting a lot of wishes. Happy. ๐Ÿ™‚ ๐Ÿ˜€

August3, 2013
Went to movie with some GD members. Did a little work.

August2, 2013

Today I received sir’s mail about my website. It was obvious. I had shown the least activity because but I was working side by side and I decided to put the site to the experimental. Gurjot helped me a lot. But at that time site was not that active. So I decided to do more changes in it before putting the same into GD.

August1, 2013

Working on it. Trying its features and its going good. ๐Ÿ™‚

july31, 2013

Finally got a new theme. It was working well having a support for two menus, sidebar options left or right and a footer. I just installed it. Before installing a new theme it asks for ftp specifications. I changed the permissions to 777 and problem got resolved. Started adding data into it. Set menus and widgets. Accelerated! ๐Ÿ™‚

july30, 2013

Added a few menus and was doing settings. But progress was very slow. And moreover I was little confused what to add and what to not. Then I discussed the things with gurjot and other friends. Many of them told me that the theme is not so impressive, it looks like a blog page more than a site. So I felt that I must change the theme and I started finding a new one. On hunt..;)

july29, 2013

There were some seminars going on in the tcc hall. So we were supposed to move towards other labs. I went to the cc lab and started working with my website and there was something not ok with it. Then there navdeep di suggested me to reinstall the wordpress. Previously I had installed it using sudo apt-get command but this time i did it through its official site from the package and then named it to wordpress1 and kept the folder into /var/www folder. We have to make a database via phpmyadmin and then name it. And some changes are required to do in wp-sample config file. And then its done. My previous one was also lying there. ๐Ÿ™‚

july27, 2013

As such my site deals with the Training and Consultancy Cell, so I was supposed to know the every required detail about it. So I made a discussion with tcc automation team. Jasvir made me understand many things related to it like details about the labs, different jobs like field work and lab work, ย different tests, ย their costs, different clients and the other required things. I was not satisfied with my theme so I changed it to twenty tweleve before trying many others like leaf, discover etc. But still I wasn’t getting the proper theme as such it was supporting only one menu and there were other problems too. But somehow I continued in it till I get better one.

july26,2013

Today I discussed my problem with gurjot. He is helping me a lot in my work. He is a kind. hearted and very helpful programmer. He suggested me many alternatives for this problem. I finally changed the permissions to 777 i.e
/var/www/wordpress1/wp-content/themes/name of the theme
And it worked. Now my header has been set. And I started with menu bar and started adding date into it. TCC brochure helped me a lot.

july25, 2013

Today I had to start with my work finally. I had the template with me now and after logging in it, it provides me with the working env. in which one can build a website. I started with selection of a theme and then adding the header image in it. I chose twenty ten theme for it but again header was not setting properly. I just then changed the permissions using chmod command previous hurdle was gone, but now it halted at the next step that is second last step. I applied many alternatives like restarting apache, changing permissions etc. but nothing moved…. fed up. Journey starts now. ย ^_^

july24,2013

I have already started installing wordpress on my system yesterday only. Butย  I got a few complication yesterday so I tries solving them and finally succeeded installing it. It works!! ๐Ÿ™‚
Following links could help you out a lot:
http://codex.wordpress.org/Installing_WordPress

july23, 2013

Started with the new work i.e. TCC website. Sir told me to decide the work approach as soon as possible. I thought of wordpress. Its good and fun. A lot more to learn. One of the GD member gurjot has already been working in wordpress. So I started my work after discussing the main points with him. For a website to be made you should have a server and phpmyadmin access, so first of all I have installed LAMP server on my laptop today. Following links could help you out in this.:)
http://priyankacool10.wordpress.com/2011/03/26/how-to-install-lamp-in-ubuntu-10-04/

july20,2013

Its saturday. And I was sure that someway I have to talk to sir about changing my work. So I went to his office. As expected , he was disappointed with our work. I started describing my problem to him, that I have got with dimensions and CAD software. At last I convinced him for the web . And he assigned we with the work of TCC website to be made by me. Feeling happy and excited.:)

july19, 2013

For the two month training too I was with GD family. AT that time I worked on BRL-CAD which is a 3D solid-modeling CAD system. This time I wanted to work on a different approach like some databases and web, all that stuff. So I made my mind to quit the CAD for sometime and have a different work like website. I wanted to talk to sir related to this but somehow I didnt get a chance to do so. He was quite busy with his work. So I thought of tommorrow for the same. In the mean time I continued with my same CAD work, And thus end of the day. ๐Ÿ™‚

july17,2013

Working on the wireframe of the plugin. The basic structure is under-construction. As such this work requires a lot of dimensions and civil experience, so we discussed this thing with some civil students. They made us clear about our doubts for its actual structure. Things has been now more clear. ๐Ÿ™‚

july16, 2013

For past one and half month I have been very busy with my aptitude classes, thats why I feel like giving little disappointments to sir. Today I went to his office and I really felt very bad for my performance. As such am an old GD member so this time he expects more from me. But am not upto the mark. ๐Ÿ˜ฆ
After lunch I discussed the new plugins’ issues with nadar. We discussed that what is required to complete this plugin. Basically it will be completed in three steps.
1) Basic structures
2) Accessing values from user.
3) linking this to ascii file on which navneet di will work.

july15, 2013

Working in LibreCad only. I have made my plugin work properly today. Layers working, Colors too and its taking input from the user as well.
Now we need to work upon an another plugin which is called a tank. That includes beams horizontal and vertical. Nadar has already started working on it.

july13, 2013

Today,ย  its a beautiful day. Previously,ย  I was struggling with some Qt path realted error. Every time I used to run any program in Qt, it started showing up some path related errors and pop-up windows, hence made the program halt creating disturbances in between the execution which annoyed me a lot. So I just kept the other work at aside for a moment and started finding its solution. I found a helpful link related to this error and it worked :

http://askubuntu.com/questions/253785/cannot-overwrite-file-home-baadshah-config-qtproject-qtcreator-toolchains-xml
All I did was, that I changed the path inย  home/devinder/Nokia/.config files which involved .xml files, obviously these are not visible in gui but command mode. Loving the terminal. ๐Ÿ™‚

july11, 2013

Three views made were coming on the same one layer. Next task was to show them on different layers. It took just one function. i.e.
doc->addlayer() and then its parameters and its done.
Along with that, sir today gave us the task of making a system for civil.

july10, 2013

Though I had made functions yesterday only and they were working too. But my plugin was not working properly. It did compile completely, but views were not up to the mark. Then I found that problem was with dimensions . I was always little poor with dimensions and engineering drawing work. After a lot brain storming, I finally got the right solution. Happy. ๐Ÿ™‚

july9, 2013

Being a programmer we are supposed to write our code neat and clean. And using c++ and oops concepts we could do it very easily. So next step was to make functions. I am not that good at oops. But this task gave us a chance to improve our oops and functions’ concepts.ย  Today I actually came to know about the true application of functions.
And I just enjoyed it a lot. Its declaration, definition and calling. All these concepts are now more clear to me. Have started loving c++. ๐Ÿ™‚

july9, 2013

After so many errors finally. it worked out. So many dimensions and confusions as well. ahhhh

july 8, 2013

Views made were having their dimension type values fixed. We were supposed to make to make them dynamic according to the requirements of user. So we started working on it.

july6, 2013

Finally made the three views for the tank. My cad team really works hard, especially Nadar. One conclusion, I have made that more you discuss, better and fast will be the output. But make sure that beforehand you have done enough brain-storming. ๐Ÿ˜‰

july5, 2013

Started with the basic idea. First we had to make a single view, an easier one, that was of top view which contains a rectangle having a cylinder placed at its center. There were two approaches to make a rectangle, as such we do not have as such inbuilt function made for rectangle in librecad libraries, so second approach was to make it through line function. So went to plugin’s files and started struggling with it in its .cpp and .h files. One could get an idea about it from document_interface.h file, which contains all the stuff being involved. I tried but didn’t get the desired output.

july4, 2013

Sir has given our cad team a new project so called a tank project, in which we have to make different views of that namely: top view, front view ant side view. Main task starts from here. Keeping the approach same i.e. plugins, we have strarted working upon it. Gagan had made us the concepts clear about, how does these three views look like in 2D and 3D, so that it becomes easier for us to draw its dimensions. ๐Ÿ™‚

july3, 2013

finally done with the arc plugin. Source is at github with the following link:

https://github.com/DevinderKaur/LibreCad/tree/master/arc%20plugin

july2, 2013

Had to make my own plugin. So started working with its files. Basically making of a plugin involves understanding of two main files, that are .cpp and .h. After going through them for hours, got an idea about the functions and classes used in it. Those are generally based on c++ and qt related files. started working on an Arc plugin with yadvir. Got stuck at qreal. There came around many errors, firstly with its layout and then its connection and execution.

july 1, 2013

Working on Librecad. Sir has assigned us the work of making a plugin in it. Its setup already had one, of a line. So we started by copying the same, renaming it and just checked its working and processing i.e. compilation etc.
We have to use two main commands in this process namely Qmake and Make, obviously after changing the working directory into plugin one. Thus at the end, it got compiled and gave its output.

Leave a comment