Showing posts with label DOS. Show all posts
Showing posts with label DOS. Show all posts

25 October, 2014

Java SE 7 Programming Essentials - my 2nd Java book

English: The cover illustration for the Java P...
English: The cover illustration for the Java Programming book on Wikibooks (Photo credit: Wikipedia)
25-October-2014


About a week ago, I finished reading my 2nd book on Java programming - Java SE 7 Programming Essentials, authored by Michael Ernest. It was basically written for a beginner, but one who is aiming for an Oracle certification, the OCA Java SE 7 (Oracle Certified Associate, Java SE 7).

I have been doing software development since 1996, using PROMIS and VMS, and the very first Windows, and DOS, etc., and I have used .NET in all of my latest applications, but I would admit that I still picked up a lot of fundamental knowledge from this book.

I've come across much of the same topics in another book, C# in Depth, but in Java SE 7 Programming Essentials, they were presented for beginners. Thus, the detailed explanation, which is easy to grasp.

I had to admit that the modifiers was one of the things that became clearer to me, and I am now more aware as to why a class or method is declared public, and not private, or if no modifier is used, what the default behavior is, etc. Very basic, right?

Inheritance and composition is another thing that I was refreshed on, and the use of the 'this' keyword, especially when using inheritance, where properties are also passed down.

Constructors were also discussed, and I learned how you can create your own constructor.

Then there is also the topic on interface, and when it becomes a limitation. Followed by enumeration.

But the one thing I like very much, which I have been looking for so long, is how he presented the acquisition of a business, which needed the merging, or enhancing of the acquired company's business system. Very simple, but that is what I have been looking for - creating your own, and integrating into an existing simple that is built differently - without breaking each other.

Indeed, doing software development is one easy task, but creating a code that is optimized and compact, easy to maintain, and is in all aspect of the highest standards - that is one tough goal, a hard target. But then again, how can you score if you don't have a goal?

Aim high, and hit the mark!

That's what I'm doing now. Patience, and I will hit the mark.

Till then...

03 May, 2014

Colors and more... in the Terminal

Screenshot of a sample Bash session, taken on ...
Screenshot of a sample Bash session, taken on an old release of Gentoo Linux. (Photo credit: Wikipedia)
03-May-2014


I am one who is comfortable using the Terminal, having used the computer since the DOS days, and while Windows with all its graphical interfaces is very much welcome, as it brings with its GUI tons of changes, I would find myself still at ease doing command lines.

And I would consider sprucing up the Terminal the pinnacle of a die hard's declaration... finding comfort in typing text and cryptic commands, also find comfort at least in seeing different colors in the texts and backgrounds. That's it!

So, I am one like that. I have worked on PROMIS since 1996, and DOS since time immemorial, all command-line systems, and I was very much satisfied just seeing the colors come alive on prompts and errors(!) and all.

And now that I am doing Linux, I craved for the same thing, and fortunately, there was help - from the Community.

I would just put a reference to the article, so I don't duplicate anything.

Here's the link: Customizing Bash Prompt

I hope you enjoy tweaking your prompt, to your own liking, etc., etc.

Till then!

Enhanced by Zemanta

22 August, 2013

XCOPY on paths with space

Xcopy | 17th Feb (3/28)
Xcopy | 17th Feb (3/28) (Photo credit: Rob Hayes.)
22-August-2013


I have missed posting a number of articles, and many things that I should have noted down, I have failed to note down. I would recall that this blog was created with the intent of having my own resource later on, and having it published online, also for others who may be looking for the answer(s) to the same question(s) they have in mind.

I must admit that a lot of the important things that I should have logged down, I have forgotten - now that my web applications are running. And that is, even if I still have the links I to the reference articles and posts from other developers like me. Shame...

So just to break the silence, let me just note this down. And hope it helps many others.

I came across the problem of the need to copy some files to other PCs, and I thought it should be a very normal thing. "Easy," I thought to myself. Well, not so, because the file path of both the source and the destination have spaces. The moment I ran my batch file, I got the error(s).

I searched, "xcopy file path with space", and the top few links, I checked. I got what I wanted. The file path with space is simply needing a double quote enclosure. That is like

C:\Program Files

becoming

"C:\Program Files"

and all other definitions or switches remain the same.

Very simple solution, isn't it?

I should now say, till then!

Reference:
using XCOPY when directory has a space in name
Enhanced by Zemanta