Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Sunday, May 17

Prambanan's Project no 1

When a monster starts to code again,
tadaaaaaa~ 
*antara bangga ato sedih, uda lupa diri saia ini :v

"Prambanan's Project", almost done in 3 days..
still need to add progressive-feature

Sunday, November 13

codecademy

... le me try, le me exercise, le me type some code ...

I had a job to review some webs, then make prototype of them.
I'm still newbie in this area, so I'm very excited on it

codecademy.com
Codecademy is the easiest way to learn how to code. It's interactive, fun, and you can do it with your friends..

Agree, I'm start to love Javascript in here..
Lots of courses there, and it looks like a puzzle in my brain, where first I didn't have basic in this area, and now I'm starting to get their logic, esp in JS and his 'famz'..

Beside of that, I'm still thinking: how to make a prototype like codecademy
#curious.. curious.. curious....

--- day 6 ---

Wednesday, January 26

hail for debugging

... PHP versus .NET ...

My default programming language is PHP (actually based C)
When I need to debug code, I usually write this statement in most places.
  • print_r(....)
  • print or echo
Why we debug manually (with write code too)? Because we can't see truly PHP's code in there. Server has interpreted PHP's code to HTML's code. To display the value of variables, we need to print them manually, one by one.
Unfortunately, debugging in PHP is wasting time or not efficient >,<

Now, I must learn lots of thing about .NET framework [C.O.D]
What an interesting experience.. I saw my Senior debugging, and I was enjoying on that moment. For the very first time, I use some breakpoints appropriately for debugging (haha).
These are some steps that I use for debugging:
  • set some breakpoints
  • F5 to start debugging
  • F10 to go to next statement
  • F5 (when debugging) to go to next breakpoints / process
  • I could observe each value of the variables by hovering them :D
Debugging in .NET framework is cool and efficient. Programmer should be like this. Slowly but sure, I love to code with .NET framework too.. Thanks you, Senior, you've made me realize and open my mind.

*oups, 3:14 am....

--- you just need more carefulness & patient when debugging ---

Monday, June 28

penguin.. oups, linux....

. . . . . .

Lots of issues & problems
Many arguments
Much experiences too
Success and Failure is so thin
And it has become a habit

This is hard to tell, the truth
Maybe,
Not only possible, but surely
I must to familiarize with penguin
Oups, Linux..

--- have a penguin day, guyz ---

Tuesday, June 1

connecting XAMPP with Oracle

Usually, we find System or Software that use Apache server, MySQL database and PHP programming language. All of them have been integrated into 1 package, that we knew as XAMPP. XAMPP is great, huh?

Then, I had a new experience to run system that used Apache server, PHP script and Oracle database. I've been using XAMPP 1.7.1, and I didn't want to install another Apache server. And I used Oracle Database 10g XE.
The problem was : how can we integrate XAMPP with Oracle database ?

These are some configurations you should set ::
  • open php.ini
  • set register_global ON
  • set short_open_tag ON
  • uncomment extension = php_oci8.dll
  • uncomment extension = php_oracle.dll
  • don't forget to save the change on php.ini
  • then, rename these 3 files :: oci.dll, ociw32.dll and orannzsbb10.dll in \xampp\php and \xampp\apache\bin
  • restart the server
Tadaaa, you have successfully set it..
I hope this could help others :D

Sunday, May 9

extra project 02 - database system

=== List of Grade (May 09) ===
You can access it from this list of grade.
Do protest based on existing procedures,
so we could serve appropriately..


=== Case - Extra Project 02 ===
You can access it from this extra project 02.
Please look at the rules and the question properly..


have a great experience, guyz....

Thursday, April 1

4th part of my life

... my life divided into 4 part ...

a child at home sweet home
(Magelang)

teaching assistant at campus's lab
(Yogyakarta)

programmer at office
(Magelang)

freelancer programmer
(everywhere)

--- thanks God, these are very myself ---

Monday, March 22

i am evolving

... my last statement :: work to play & play to work ...

It just an ordinary day.. And without any special purpose, I checked my account on Wakoopa (a social network for tracking your software. I was shocked, "my development" is 41%.

N.B :: the blue one >> internet usage, the orange one >> utilities, the red one >> development, the purple one >> office

Am I too serious on coding?
Nope, because I always enjoy for coding or programming. Coding become my lifestyle. There is a proverb like this, "time is money". But for lee, "time is coding", hahaa....

--- work to play & play to work, huh ? ---

Monday, March 8

solving C-zar's problem

... C-zar need help ...

First, I want to say that, this problem was given for the benefit of the students. Students would get extra-value in their Database System and also have experience for analyzing real case. Based on this case, we could knew that: "sometimes theory is not the same as reality, but theory become our basis for determining decision".

C-zar's problem was one of the cases that happen in the real world. In terms of database design, this case was the bad one. And as a candidate DB designer or system analyst, you should be more sensitive about each part of DB (tables, columns, rows, data types, constraints and etc). Did you still remember about the requirement?....

It's only migrate from DB MySQL to DB Oracle, it means that we can't Create, Update, Delete data, because data is the most important thing for the company. Imagine if we could insert or delete data freely, the company would get BIG problem. We have no right to manipulate the data itself carelessly. So, DML is not our focus in this problem.

Hmmmmmm, how about the System? Until now, there was nothing wrong with the Information System, because the company running fine. Managers still use Information System properly.

Then, what is the real problem in here?
C-zar can't migrate well because she didn't understand about the old DB design. The old designer not consider in terms of data structure, normalization and conventional design. Consequently, the next developer like C-zar would have difficulty. These are the problems ::
  • Identifier naming is not clear. What is ileb table? What about val or olet column? Is the naming according to their functionality??
  • Ordering data types irregularly and inappropriate. Is tgl in varchar(6) or date?
  • The minimal key is Primary Key, because we could create references from this key.
  • Constraints are applied to enforce business rules and to enforce data integrity.
  • C-zar couldn't predict the new table or new column, like gd4n6 table.
  • Many to many detected in ileb table.
You'll get more points, if you give these normalization's solutions ::
  1. Split olet column into supplier.ileb and staff.ileb. Redundancy still detected in here.
  2. Split ileb table into Purchase table for receiving note and Product_Purchase table for recording of products purchased. Note that, a note consists of many products.

Do you have another arguments? Just make your comment in here..
(nb :: don't forget to check my comments)

You can see your's grade in this link....

--- thanks to the candidates of DB designer or system analyst ---

Saturday, February 20

finally I got new title

... what a wonderful day ...

Amalia Indranandita, S.Kom, CEH

Previously, I never imagine that I wil get this new title..
I took CEH certification, because my buddies were interested in it, I just curious and then follow them. CEH (Certified Ethical Hacker) certification is a professional certification provided by the International Council of E-Commerce Consultants.

From CEH course, I realized that the computer world is not safe enough, especially when Internet was so powerful. I became aware of computer security, even more sensitive..

--- Hackers are here. Where are you ? ---

Saturday, February 6

am i dedicated enough?

... i love to dedicate in education ...

I didn't realize before, but now I am sure that I was born to dedicate in education. I am blessed with this unique talent. Why i called it unique talent? Because some peoples could not dedicate well, they have different purposes. Sometimes they were M.O.P or we knew it as Money Oriented Programming (I based on IT :p). They also didn't know about big responsibilities behind this job. They even think that teaching was a simple one. And based on my observation, I concluded that: not all smart people could teach well too....

Why I love to dedicate?
  1. The first reason: I could comprehend more about that lesson. I must prepare it before teaching and if I don't know about X, I would discuss with others.
  2. Teaching is very challenging, because it is not easy for delivering lesson to others, they have different comprehension. So I always modify my way to teach. Challenging, right?
  3. It make me more confident..
  4. I realize that I was a social one, I need others and others need me too. Then I would try to give my best to others :D
  5. I love psychological too. I could observe others intensively.

Then, peoples around me always ask me: Would I become a lecturer?
It's not a bad idea, because I love to teach :D
But from this moment, I still enjoy my status, as a lab's assistant (teaching practical work in lab), as a programmer in office and a freelancer too..

What is my next decision? My answer it: ~~~ just let it flow ~~~

--- would I become a lecturer ??? ---

Tuesday, January 26

What is dropbox?

What is Dropbox?
Dropbox is software that syncs your files online and across your computers.

With Dropbox, your files are always in sync.

Dropbox lets you share files easily.

With Dropbox, online backup is automatic.

Dropbox lets you go back in time to undelete or undo changes to files.

Dropbox is a simpler alternative to what you may have used in the past.

I took all of these from Dropbox website.
You can download Dropbox, view video demo and find out another Dropbox's features from my referral link: https://www.dropbox.com/referrals/NTQyNjYyMzI5
(click this referral link and you'll get 2.25GB, when you click from original site, you'll only get 2GB)

The reason that i write this article :
  • I use Dropbox as an alternative online storage (2GB even more).
  • As a programmer, I could sync the same project's files to all of my teams instantly and automatically. It's looks like subversion, huh?
  • Sharing files easily with everyone.
  • Storing or backing up my documents

Friday, January 22

email obfuscator

... never hear this term before >,< ...

At the first time, some plurker set their status about Computer Security, especially their homework's topic. Hmmmmmm, I don't care~e~e~e~e~eee.... (singing 2NE1's song).
People always do like this: ask first before learning. Bad habit..
Then somebody chatted and asked about email obfuscator and i started to find out what is the meaning of that term. These are some explanation about that:
email
: electronic mail, bla bla bla....
obfuscate
: make unclear
email obfuscator
: is tool for webmasters that obfuscates e-mail addresses that you enter, making them less vulnerable to spammers who use e-mail harvesting software, also called spam-bots

[tried some online email obfuscator (google keyword : "email obfuscator")]
~Ahaaa~ i got it.. It is like encode-decode or encrypt-decrypt theory. Usually, email obfuscator is generate into:
** ASCII representation -- i couldn't find the right pattern, aaaaarrrrgh....
** Unicode representation -- simple one
** any others?

Let's analyze this experiment :D
email address : lee@gmail.com
obfuscated email :
'\u006c\u0065\u0065\u0040\u0067\u006d\u0061\u0069\u006c\u002e\u0063\u006f\u006d'
>> '
\u006c' == 'l'
>> '\u0065' == 'e'
>> '\u0040' == '@'

Yap yap yap, 'lee@gmail.com' generated into obfuscated email address.
Then, what? Is this experiment could explain the real function???
(i love "then, what?" moment, ha3..)

Remember about spam-bots..
They catch email address from the source code, but they couldn't (or not yet) detect those real email address, because its generated into obfuscated one.

How about the user itself?
~Tadaaa~ we still get the right email address : lee@gmail.com
Email obfuscator is trickier then spam-bots, right?

Wednesday, January 20

work vs play

... i was very impressive ...

This was a little part of my life
I'm a perfectionist one. Everything must be scheduled orderly. Of course, I'm good at organizing too.. who, what, where, when, why, how, I would make decisions based on that question's word.

Lee's Evolution
I'm very glad, i got Information Technology on my study. Awesome, I was evolving become the new one. My new hobby is playing some code or we usually called it coding (part of programming). Someday, I made a conclusion: work to play and play to work, this would be my programming's lifestyle.

Now and Future
Now, i was doing some projects (jobs).
An office's programmer at Friday-Saturday and 3 hours a day to finish my office's job. And as a freelance's programmer with my buddies at Monday-Thursday. I was very blessed, i had wonderful jobs. I could work in everywhere and any time.

--- remember what i said, work to play and play to work ---

Saturday, January 16

are you C programmer enough?

could you solve this problem?

Someday, Mr. Willy gave me a site that consist of Programming Interview Questions (because our basic was an IT programmer). Lots of challenge cases in there, of course I love it. And I tried to solve some cases too.

This is a simple one, that always made me enthusiastic..
[based on C language programming]
What's the "condition" so that the following code snippet prints both HelloWorld ?
if "condition"
printf ("Hello");
else
printf ("World");

Output : HelloWorld