The Open Source of Hovering Ideas

Posts tagged “coding

Still C.S.S. featuring VJ-Dawg


Parody rap verse from “Still D.R.E” performed by “Dr. Dre Featuring Snoop Dogg”

[Intro: VJ-Dawg (Ash Bee)]
Yeah bro, Still coding with ya
Still the refactoring is a mess
Still HTML and CSS
It’s same ole UI thang, ni**a
(LOL.. Guess who’s back
Still refactoring that shit, huh VJ?)
Oh for sure, now you rap about it.

[Verse 1: AshBee]
It’s still AshBee ni**a, representing UI Team ni**a
Before I rap my hack, I can’t “trust” you back
Cause frequently ideas change when things going on “track”
You’ll notice me around with my T-shirts black.
Now, we are into CRO, but some say its UI will fell off
How bro, My last project was “The Platform”
They want to know if he can still manage it
They keep designs changed, they want to know how can I deal with it

If you ain’t reach the deadlines
AshBee is the name, I’m ahead of your commits
Still… Playing TT everyday, still making my Oreo muffins
Still… Not loving new coffee machine (Uh huh)
Still… Rocking on my lowers with Adidas stripes
Still… Got respect for the engineer bhais
Still… The design changes, still the PM irritates
Since the last code release, ain’t too much changed.

[Hook: VJ-Dawg (AshBee)]
Still… I’m representing for the frontend all across VWO
Still… Kindly make your design finalized before we code
(Still… Taking my time to refactor the shit
And making room for creativity, it’s the CSS)

[Verse 2: AshBee]
Since the last time I heard from the lead, Kush went on sabbatical
Well.. Hell… Me, VJ and .PNG, we dipping inside the code again
Found all the files, fixed’em one by one
Opening pull requests, doing twice or thrice a week
Still… I stay close to the features
And make sure everything works and looks fine as expected
My PR comments are like a soundtrack I wrote to the beat
Treat my work like passion, I code till I sleep
Wake up in the A.M., compile the shit
I put my iminagination in UI you’ve even seen
Ain’t mere a fix, it’s been optimized and maintainable all the way through
Following the commandments of “The Mighty Kush Krew”
I’m still working, after post-production
More tweaks and refactoring beyond satisfaction
Applying things modular, flexible and extensible
Even I try to make’m all possibly unbreakable

[Hook: VJ-Dawg (AshBee)]
Still… I’m representing for the frontend all across VWO
Still… Kindly make your design finalized before we code
(Still… Taking my time to refactor the shit
And making room for creativity, it’s the CSS)

[Outro: VJ-Dawg]
New UI change?
Merged that in ya mother-fu**ing master branch
Updated Version 4.4.3
Explained that shit up, in the styleguide
Check out the new SASS directory
No monolithic, more segregated, less “shame”
Some of them might be really tacky hacky
Didn’t get it? Seems like you’re from backend 😛
That’s another backhod rap, AshBee!

me rapper


Straight Outta Production


Parody rap verse from “Straight Outta Compton” performed by “N.W.A”

You are now about to witness the Bakchodi of Software Development

Straight Outta Production
Crazy UI developer named “Ash Bee”, dude
From the team named “Coders with Attitude”
Projects I get involved, QA bugs got solved
Merge conflicts? and even they got resolved
You too, designers, if you f**kin’ confuse me
Even PMs are gonna come and get me
Clear Mockups, that’s what I’m looking out
And sensible use-case, consider that to show out
Git/Stash starts to mumble, JIRA wanna rumble
Sprint-wise, Every story and estimate crumbles.
Here’s my commit log to keep you dancin’
Subtle but scary like Marilyn Manson.
WebStorm IDE is the tool
Don’t make me use Sublime Text like a fool
My code’s running fine, and unit cases clearly
I’m knockin’ sprints out of box, daily
Yo weekly, monthly and yearly
With some awesomeness and creativity
DAMN Agile development, You can’t f**k with me.
So when I’m in your pull-request, your typo don’t suck
Coz’ my reviweing comments are lengthy as f**k
As I leave at 7 PM, believe I might be coding till midnight
but when I come back next day 12 noon approximately
It’ll be released “Straight Outta Production”.

2


C/C++ Programming on Linux using GCC


Hey Guys !! I’m back again with some Technical Stuff once again.

Well Just few days back, I was in search for a place where i could get proper techniques of C/C++ Programming under Linux Platforms using GCC. Actually, I’ve mostly used Windows in my Life and as a matter of fact, I’ve used either Turbo C++ or Dev C++ under Windows Platforms. I even didn’t required anything else so far. But since my MAD Professor insisted us to practice C++ in Linux, my search for E-books, Documents and Softwares beings,  for understanding C/C++ in Linux using GCC/G++ compiler, begins.

It took me a while to figure out that Linux is in fact the best Operating System or OS, for typical Non-Gamers unlike me. 😛 And whenever I DO login Windows, even by mistake, I am greeted by a slew of viruses and a painfully slow speed. Anyways, I figured I should do even my C programming on Linux. It was there in my coursework from college you know!

There are two ways in which you can program in C in Linux:

1) Use an IDE (Integrated Development Environment) like Netbeans or Codeblocks.

OR

2) Use the inbuilt GCC compiler, like I did.

GCC basically stands for GNU C Compiler. Its not actually an IDE, but it kinda works when you get used to it. Plus, its easier to setup. Many people (including me) were in a total state of confusion at first, but hey, turns out its pretty simple!

Let me illustrate the steps you need to take to compile and build a program on a Linux machine.

1) Type out your code in a text file (on gedit) and give it a “.c” extension. It actually works. Atleast in Ubuntu 10.10 Maverick, your pre-processor code will have a different colour than the rest, and so on, like a normal IDE.

2) Go to Applications -> Accessories -> Terminal. Use the command “cd” to navigate to the directory where your “.c” file is stored. Eg: If your file is stored in “Documents” under the root folder, the type “cd Documents” in the terminal.

3) If your filename is say, “code.c”, then type “gcc code.c -o code”. This compiles and builds your required file.

4) Type “./code” to run your program. And Its all done !!

And of course, if u need to use C++, just replace gcc” by “g++”. And save the file as “.cpp”. The rest is all basically the same. Even sometimes, It can happen that GCC may not be installed in your OS. Not a problem. It will automatically prompt you to install it in a couple of simple steps, which require you just pressing “y/n”.

At the end of the day, Linux programming may not give you a very distinct advantage, but hey, its different! Its a skill that you’ll need to learn eventually maybe and since I got to know how to get with it easily, so why not learn it now? 😉


My 1st C/C++ Game – Rattle Snake Game


Well Guys !!
After studying and practicing more like HELL in Programming for years, I’ve finally came to one of its very cool and fascinating application : Gaming, on which I’ve made – A Rattle Snake Game in C/C++ Programming Language.

It’s a very Simple and Common Game, not that complicated and even not that challenging. However, It’s a great step to Get Started with Game Programming in C/C++. I’ve made this Game using logically sound Algorithms, Concepts on Arrays, Structures and Loops, and also DOS Graphics. However, It requires some nice Skills and more Practice to Built and Run such a program.

I’ve just done the Gaming Part, where you’ll get to see the whole body of the Snake (including its Head and Tail as well :P) moving accordingly to Player’s Key Movements.The Snake’s body gets increasing after consuming the Food/Egg on its way,which is quite animative. As obvious, the Game gets Over, when the Snake structs the Walls or even its own body foolishly :P. Moreover, I’ve designed an Instructions Menu for getting an Help in moving the Snake and a Scorecard which would keep an updated score during the Game, which hopefully would be an attractive and helpful thing to get notice upon. 8)

I would upload all its screenshots probably on my upcoming Post.

So far, I’ve laid emphasis on the Gaming Part,which has been completed and running successfully. But, Certain Animations are still required to make Game Intro, Menus and Outro are yet to be done. So, There’s an unfinished job for completing it in a whole. Hopefully, I’ll be able to complete’em just before my College Holidays.

As a matter of fact, many Elite Programmers have made so even more better than me, on various Programming Languages like – JAVA, PASCAL, C#,FORTRAN, PIKE, PHP etc. alongwith some  Modern Graphic Techniques like API, OpenGL etc., which are quite more compatible to Run successfully on my Platform as compared to mine.

But the purpose of making this Game, is simply understanding all the concepts which I’ve leaned so far and exploring furthermore in the filed of Game Programming.

Soon, I’m gonna upload the Full Game, when I’m done with its Finishing Work. Hopefully, It comes soon ASAP. 😉

P.S. :- It’s very very easy to play Game in your PCs and Laptops. But it’s F*cking too Hard to make such Games through Programming Languages.