PGG Forums

Men's Interests => Music, Movies, TV shows and Pop Culture => Topic started by: carpediem on January 10, 2011, 10:19:40 PM

Title: programming
Post by: carpediem on January 10, 2011, 10:19:40 PM
Just a thread for programming related stuff.

Talk about anything related to programming here: languages, coding, style, problems, algorithms, optimization, software engineering, etc.
Title: Re: programming
Post by: noyskie on January 11, 2011, 02:15:12 PM
carpediem, ang cool nito! salamat at naisip mo...

i'm involved sa Siebel Development, sino dito ang Siebel Developer din?
Title: Re: programming
Post by: maykel on January 11, 2011, 02:19:06 PM
Quote from: noyskie on January 11, 2011, 02:15:12 PM
carpediem, ang cool nito! salamat at naisip mo...

i'm involved sa Siebel Development, sino dito ang Siebel Developer din?
nice!!!  ngayon ko lang nadinig to.. pangOracle app ba eto?

Ako kasi ay simpleng .Net Developer lang na unti unti ay nagiging VBA developer.:(
mas bumababa ang aking rango :(
Title: Re: programming
Post by: noyskie on January 11, 2011, 02:56:01 PM
Yup! binili na siya ni Oracle...
Title: Re: programming
Post by: maykel on January 11, 2011, 03:09:01 PM
ano ba ang magandang pagaralan na Programming language.
ang alam ko lang kasi ay .net. VB pa, yung pinakamadali pa ang alam ko. :D
Title: Re: programming
Post by: carpediem on January 11, 2011, 09:20:53 PM
@darkstar: ok yung mga MIT courses. but has anyone actually tried them?

@noyskie: when you say Siebel Developer, do you mean using the native Siebel database procedural language to program the Siebel database? Ano tawag sa language niya? For example Oracle - PL/SQL, MS SQL Server - T-SQL

@maykel: check out http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html , nandun yung latest trends ng languages. The language award of 2010 goes to Python, because it was the biggest winner in terms of growth.
Title: Re: programming
Post by: carpediem on January 12, 2011, 05:27:40 PM
(http://img831.imageshack.us/img831/6669/whatsoftwaredevelopment.jpg)
Title: Re: programming
Post by: ๑۞๑BLITZ๑۞๑ on January 12, 2011, 09:38:03 PM
Wow may ganitong topic na pala. Cool.

Sana may mag upload ng tutorials ng mga makalumang languages c++ ska ng assembly. hehe
Title: Re: programming
Post by: marvinofthefaintsmile on January 13, 2011, 10:37:31 AM
main ()

{

printf("I love PGG!");

}
Title: Re: programming
Post by: eLgimiker0 on January 13, 2011, 12:21:36 PM
ASP .NET here and VB .Net pero Newbie.. ehehehe.. but currently working for a project. sana makatulong ako dito at matulungan nyo din ako :D
Title: Re: programming
Post by: noyskie on January 13, 2011, 04:31:19 PM
Quote from: carpediem on January 11, 2011, 09:20:53 PM

@noyskie: when you say Siebel Developer, do you mean using the native Siebel database procedural language to program the Siebel database? Ano tawag sa language niya? For example Oracle - PL/SQL, MS SQL Server - T-SQL


Siebel is a CRM application which I think is made using java language. For it's database, you may use almost any; on my project we use Oracle 10g(doesn't know what it means). As a developer I also use PL/SQL to check,validate or audit data from the database but of course I think Siebel can automate this.

Siebel is a configurable application using objects such as Views, Screens, Business Objects, Business Components, Tables, Applets, Workflows etc. Should configuring these objects would still not meet the business requirement; the developer may opt to Siebel Scripting by using java or VB language but this should be used as a last resort.


Mas clear na ba si siebel sa inyo?
Title: Re: programming
Post by: carpediem on January 13, 2011, 09:27:01 PM
^ I see. I thought Siebel has their own database software. Oracle database din pala ginagamit niya.

Oracle 10g is the database software by Oracle. (Oracle is the name of the company that created the database also named Oracle.) 10g is a release version.

Btw, Siebel (the company) was acquired by Oracle years ago.
Title: Re: programming
Post by: carpediem on January 13, 2011, 10:41:14 PM
Quote from: darkstar13 on January 13, 2011, 10:42:59 AM
Quote from: carpediem on January 11, 2011, 09:20:53 PM
@darkstar: ok yung mga MIT courses. but has anyone actually tried them?

yes, i have tried it. pero dahil hindi naman talaga ako programmer, i mean mainframe lang ang alam ko, so tinamad na rin ako.
ok naman sya, hindi lang talaga ako interested at the time i tried

*salutes*

Mainframe/COBOL programmer - the "Ancients" of the IT world  :)

I think I already gave this remark before. Mukhang highly paid kayo kasi rare na kayo. Pero, sabi mo somewhere na magreresign ka na rin? Career shift?
Title: Re: programming
Post by: eLgimiker0 on January 15, 2011, 11:15:57 AM
Anyone here already watched "Antitrust"? ehehe..

Story about programmer. :)
Title: Re: programming
Post by: carpediem on January 16, 2011, 10:43:32 PM
Quote from: ๑۞๑BLITZ๑۞๑ on January 12, 2011, 09:38:03 PM
Wow may ganitong topic na pala. Cool.

Sana may mag upload ng tutorials ng mga makalumang languages c++ ska ng assembly. hehe

Bakit C++ and assembly? Are you a student, or working on embedded systems?
Title: Re: programming
Post by: maykel on January 17, 2011, 08:55:36 AM
Love ko ang logic at ang pagprogram. ang ayaw ko lang ay ang gumawa ng documentation specially ang paggawa ng flow chart.
Title: Re: programming
Post by: eLgimiker0 on January 17, 2011, 09:26:05 AM
same tyo bro maykel, ako gusto ko yung system design, analyze at development/programming
Title: Re: programming
Post by: carpediem on January 17, 2011, 11:07:22 AM
Hehehe wala naman ata programmer who likes documentation. Kaya nga "How the project was documented" - null.
Title: Re: programming
Post by: maykel on January 17, 2011, 11:18:41 AM
Quote from: carpediem on January 17, 2011, 11:07:22 AM
Hehehe wala naman ata programmer who likes documentation. Kaya nga "How the project was documented" - null.

sabagay... ngayon ko lang narealize na kaya pala sa groupings nung college, may kinukuha na programmer at may kinukuha ng taga gawa ng documentation.

Pero ang ayaw ko talaga ang paggawa ng flow chart. ako din kasi minsan ang gumagawa nun eh.
Title: Re: programming
Post by: marvinofthefaintsmile on January 17, 2011, 11:54:15 AM
i do the programing and the documentation. i love to write eh..
Title: Re: programming
Post by: niceako on January 17, 2011, 12:32:30 PM
Used to be a programmer...now doing documentation as an analyst
Title: Re: programming
Post by: maykel on January 19, 2011, 12:06:14 PM
is now focusing myself on VBA. Since this will be my next project. :(
Title: Re: programming
Post by: vortex on January 21, 2011, 08:29:05 AM
Wow may mga Programmers pala dito. I am a Computer Science graduate. Pero Network Engineer ang work ko ngayon...hehehe...Mas matimbang sa akin ang ICT eh. Pero gusto ko rin ng programming hindi lang ako talaga excellent sa programming... :). Pero parang angsarap balikan at pag-aralan, kaya lang mahirap...hahaha
Title: Re: programming
Post by: maykel on January 21, 2011, 08:31:10 AM
Quote from: vortex on January 21, 2011, 08:29:05 AM
Wow may mga Programmers pala dito. I am a Computer Science graduate. Pero Network Engineer ang work ko ngayon...hehehe...Mas matimbang sa akin ang ICT eh. Pero gusto ko rin ng programming hindi lang ako talaga excellent sa programming... :). Pero parang angsarap balikan at pag-aralan, kaya lang mahirap...hahaha

nice!!!! ako naman gusto kong pagaralan ang Networking. gusto ko kasi magkaroon ng CISCO certification eh.
Title: Re: programming
Post by: vortex on January 21, 2011, 08:39:07 AM
Quote from: maykel on January 21, 2011, 08:31:10 AM
Quote from: vortex on January 21, 2011, 08:29:05 AM
Wow may mga Programmers pala dito. I am a Computer Science graduate. Pero Network Engineer ang work ko ngayon...hehehe...Mas matimbang sa akin ang ICT eh. Pero gusto ko rin ng programming hindi lang ako talaga excellent sa programming... :). Pero parang angsarap balikan at pag-aralan, kaya lang mahirap...hahaha

nice!!!! ako naman gusto kong pagaralan ang Networking. gusto ko kasi magkaroon ng CISCO certification eh.
Ako rin eh, gonna take CCNA din this year. Ilang beses na naudlot kaya hindi na ako papayag na maudlot pa ngayon. hahaha...Dami sources sa Net working ka na po ba?Gusto ko rin matuto ulit mag-program, as in yung matuto nang husto...hahaha...
Title: Re: programming
Post by: maykel on January 21, 2011, 08:41:46 AM
Godbless sa pagkuha ng CCNA!!!!!
Nagwowork na ako. web app developer for 2 and a half years sa isang BPO. :)
Makakaya mo naman matutunan ang programming. Basta ba naprapractice mo sya ng madalas.

Title: Re: programming
Post by: vortex on January 21, 2011, 08:50:23 AM
Quote from: maykel on January 21, 2011, 08:41:46 AM
Godbless sa pagkuha ng CCNA!!!!!
Nagwowork na ako. web app developer for 2 and a half years sa isang BPO. :)
Makakaya mo naman matutunan ang programming. Basta ba naprapractice mo sya ng madalas.


Thank you Sir!!!hehehe...sana nga, pero focus muna dito sa work ko...dami pa kailangan malaman at aralin eh.Nakaka-baliw na nga... ???haha
Title: Re: programming
Post by: maykel on January 21, 2011, 09:43:52 AM
Quote from: vortex on January 21, 2011, 08:50:23 AM
Quote from: maykel on January 21, 2011, 08:41:46 AM
Godbless sa pagkuha ng CCNA!!!!!
Nagwowork na ako. web app developer for 2 and a half years sa isang BPO. :)
Makakaya mo naman matutunan ang programming. Basta ba naprapractice mo sya ng madalas.


Thank you Sir!!!hehehe...sana nga, pero focus muna dito sa work ko...dami pa kailangan malaman at aralin eh.Nakaka-baliw na nga... ???haha

haha... ganun naman talaga. ganito na lang. kapag pursigido na akong magaral ng networking, papaturo ako sayo. at kapag desidido ka ng matuto ng programming, I can offer my help to you.
Title: Re: programming
Post by: vortex on January 21, 2011, 10:10:39 AM
pede rin... ;)
Title: Re: programming
Post by: eLgimiker0 on January 24, 2011, 10:52:09 AM
Question and Suggestion:


Asp .NET Gridview


Connection between your tables from Dbase to Gridview. anu mas magandang way?

Thru code ko kasi sya connect, pero may mga nbabasa ako na mas maganda daw kung thru datasource.

balak ko kasing magpalit ng way.

Thanks
Title: Re: programming
Post by: marvinofthefaintsmile on January 24, 2011, 11:09:27 AM
I think masmagnda ung me code kc pwedeng icustomize.. pero masmadaling gawin ung me datasource.
Title: Re: programming
Post by: carpediem on January 24, 2011, 03:22:22 PM
Programming is like sex because:

Title: Re: programming
Post by: arthur_allen30 on January 24, 2011, 03:23:54 PM
lol.........funny hehehe
Title: Re: programming
Post by: eLgimiker0 on January 24, 2011, 08:36:31 PM
Quote from: marvinofthefaintsmile on January 24, 2011, 11:09:27 AM
I think masmagnda ung me code kc pwedeng icustomize.. pero masmadaling gawin ung me datasource.

tama bro marvin, mas madali din magupdate :)
Title: Re: programming
Post by: arthur_allen30 on January 24, 2011, 08:40:45 PM
TAMA.....(ANG ALIN???)

BASTA TAMA..........
SABI NYO TAMA ....,,,,TAMA NA YUN......
Title: Re: programming
Post by: maykel on January 24, 2011, 08:48:49 PM
my motto! Google is my friend!!!kapag hindi alam kung paano,isearch lang kay google.
Title: Re: programming
Post by: arthur_allen30 on January 24, 2011, 08:54:35 PM
May motto...Ligo is my friend..pag mejo namamaho..
ligo lang ng ligo...hehehe
Title: Re: programming
Post by: maykel on February 01, 2011, 02:56:05 PM
WAAAAAAAAAAAAA!!!!!!!!!!
I really hate macro/VBA.. :'(  :'(
Title: Re: programming
Post by: carpediem on February 01, 2011, 09:08:56 PM
^ hehehe. then don't use it (read: quit).
Title: Re: programming
Post by: eLgimiker0 on February 07, 2011, 11:23:43 AM
ahaha. every time na nagproprogram ako, talagang parang nagbburst ako. ahahaha
Title: Re: programming
Post by: marvinofthefaintsmile on February 07, 2011, 11:31:34 AM
^^ relax lng dapat.., unahin mo ung basics... start on small program codes.., use function calls, tpos saka plang ung big ones.., It's like thinking someone dear to you.. if u kept thinking all at once, youll be overwhelmed.. so think one thing at a time lng..,
Title: Re: programming
Post by: eLgimiker0 on February 11, 2011, 01:23:51 PM
Meron nakapag try na ng flash catalyst dito? worth it ba matuto nito?
Title: Re: programming
Post by: Hitad on February 15, 2011, 08:15:26 PM
<?php

$tanong = array('K','u','m','u','s','t','a',' ','g','u','y','s','?',' ');
foreach($tanong as $sabihin) { echo $sabihin.''; }

print 'Ang ';

for($x=0;$x<=1;$x++){
echo 'kati&nbsp;';
}

print 'ng braso ko.';
?>

  :P
Title: Re: programming
Post by: Hitad on February 16, 2011, 09:10:06 AM
^ hahaha yung isang sentence non-sense: "Ang kati kati ng braso ko".
btw anong language pala yan?   :)
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 09:24:17 AM
SELECT 'Fin' FROM Friends INNERJOIN 'Jean' FROM Friends WHERE Sex=True INNERJOIN 'Maria' FROM Friends WHERE Sex=True;

^^ Threesome?

EROTIC SQL.
Title: Re: programming
Post by: carpediem on February 16, 2011, 10:13:46 AM
^ syntax error ata sa part ng

innerjoin 'Jean' from friends
innerjoin 'Maria' from friends

@darkstar: COBOL much?
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 10:21:22 AM
^^ CORRECT!! You have a gud eye ah. Hehehehehehe!!
Title: Re: programming
Post by: carpediem on February 16, 2011, 10:42:16 AM
inner join?

what about left outer join, right outer join, full outer join, cross join, natural join?

what about union and intersect?

lol
Title: Re: programming
Post by: Hitad on February 16, 2011, 10:43:36 AM
Kinakabahan ako sa job application ko. Sana matanggap ako, I need to force myself in getting used to OOP.
I usually do procedural programming kasi dati...
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 10:44:47 AM
Quote from: carpediem on February 16, 2011, 10:42:16 AM
inner join?

what about left outer join, right outer join, full outer join, cross join, natural join?

what about union and intersect?

lol

what about shape?
Title: Re: programming
Post by: Hitad on February 16, 2011, 10:46:24 AM
May web developers ba dito? I need tips for an entry level applicant like me +_+_+_+_+
Title: Re: programming
Post by: carpediem on February 16, 2011, 10:59:52 AM
@marvs - anong shape?

@hitad - anong tips kailangan mo? hehe
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 11:19:31 AM
^^ pinakamahirap na ADO command na ginamit q 6 years ago.., I'm not using SQL today na.., mejo 'higher' view na kase ang gngwa q.. No programming anymore for me., more of documentations and analysis na lang ang task q ngyon..,

Simplified Syntax
   SHAPE {parent-statement}
   APPEND Aggregate
        | ({child-statement} [As Alias]
          RELATE parent-field TO child-field | parameter-marker
                 [, parent-field TO child-field | parameter-marker ...])
          [, Aggregate | ({child statement})...]

   SHAPE {non-normalized-statement} [AS Alias]
   COMPUTE Aggregate
         | Alias
         | ({child-statement} [As Alias] RELATE parent-field TO
                                        child-field | parameter-marker)
           [, Aggregate | Alias | ({child-statement}...)]
   [BY grouping-field [, grouping-field]]

   SHAPE {non-normalized-statement} [AS Alias]
   BY grouping-field [, grouping-field]
Title: Re: programming
Post by: maykel on February 16, 2011, 11:26:55 AM
Quote from: marvinofthefaintsmile on February 16, 2011, 09:24:17 AM
SELECT 'Fin' FROM Friends INNERJOIN 'Jean' FROM Friends WHERE Sex=True INNERJOIN 'Maria' FROM Friends WHERE Sex=True;

^^ Threesome?

EROTIC SQL.

Wrong syntax in general...

-INNERJOIN should be "inner join".
-Two "FROM"  wherein I can only see one "SELECT".
-Missing "ON" from "Inner Join"
- Out put is incorrect. :) the output should be "Fin" because you already a possible output using SELECT 'Fin'

OOOPPPSSSSS
Quoted:
Quote
EROTIC SQL.
a new version of SQL... :)

Sorry kung daming puna but I value this thread personally because I think this particular thread will help a soon to be programmer.
Title: Re: programming
Post by: maykel on February 16, 2011, 11:30:43 AM
Quote from: carpediem on February 16, 2011, 10:59:52 AM
@marvs - anong shape?

@hitad - anong tips kailangan mo? hehe
Shape - use for hierarchical recordset.

Shape is explained in this site: http://support.microsoft.com/kb/189657
Title: Re: programming
Post by: carpediem on February 16, 2011, 11:38:45 AM
^ Hopefully this thread could help a newbie, however with the way we joke, baka ma-confuse pa hehehe  ;D

I see. So Shape is an ADO command, not really SQL.
Title: Re: programming
Post by: maykel on February 16, 2011, 11:39:49 AM
Quote from: carpediem on February 16, 2011, 11:38:45 AM
^ Hopefully this thread could help a newbie, however with the way we joke, baka ma-confuse pa hehehe  ;D

I see. So Shape is an ADO command, not really SQL.

yup. pero hindi na ata sya supported ng recent programming language.
Title: Re: programming
Post by: maykel on February 16, 2011, 11:42:01 AM
Quote from: Hitad on February 16, 2011, 10:46:24 AM
May web developers ba dito? I need tips for an entry level applicant like me +_+_+_+_+

Tip.... maging familiar ka muna sa OOP.
anung language ba ang gusto mong gamitin?
Title: Re: programming
Post by: Hitad on February 16, 2011, 11:50:22 AM
Quote from: maykel on February 16, 2011, 11:42:01 AM
Quote from: Hitad on February 16, 2011, 10:46:24 AM
May web developers ba dito? I need tips for an entry level applicant like me +_+_+_+_+

Tip.... maging familiar ka muna sa OOP.
anung language ba ang gusto mong gamitin?

I meant to say share infos please. Sorry. Just want to ask kung ano gagawin sa commencement term ng isang beginner sa company? Kung ano yung pinagagawa sa mga new employees during their training?
Title: Re: programming
Post by: maykel on February 16, 2011, 11:54:33 AM
uhhmmm..
Ako kasi, since hindi pa ako ganun kaconfident sa skills ko sa programming, naghanap ako ng opening na may provided na training. In that case eh mas maeenhance pa ang skills ko.
With regards naman sa pagaapply, dapat may alam ka na kahit konti dun sa inaaplyan mo.

paxenxa na hirap kasi akong magadvice dahil hindi ko alam ang current situation mo.
Title: Re: programming
Post by: maykel on February 16, 2011, 12:13:27 PM
Quote from: carpediem on February 16, 2011, 11:38:45 AM
^ Hopefully this thread could help a newbie, however with the way we joke, baka ma-confuse pa hehehe  ;D

yeah.. tama ka dyan.. I must admit na may mga post din akong walang kwenta dito sa thread na to. pero sana naman in the near future eh maging healthy ang mga posts dito.
Title: Re: programming
Post by: Hitad on February 16, 2011, 12:32:58 PM
Quote from: maykel on February 16, 2011, 11:54:33 AM
uhhmmm..
Ako kasi, since hindi pa ako ganun kaconfident sa skills ko sa programming, naghanap ako ng opening na may provided na training. In that case eh mas maeenhance pa ang skills ko.
With regards naman sa pagaapply, dapat may alam ka na kahit konti dun sa inaaplyan mo.

paxenxa na hirap kasi akong magadvice dahil hindi ko alam ang current situation mo.


Yes pafs alam ko naman kung ano talaga yung inaaplayan ko.
I'm confident enough na makukuha ko yung position na yun ^_^
Extra effort lang ako sa pagsasanay ko ngayon kasi kelangan ko maka-adapt sa company environment as quick as possible. May mga kakilala kasi ako sabak agad sa trabaho ni hindi man lang nagreview ayun parang nabigla yung katawan nila, habol agad sa deadline.
btw thanks maykel ^_^
Title: Re: programming
Post by: maykel on February 16, 2011, 01:05:32 PM
Good to hear na confident ka sa skills mo.

Sa working environment, kung madali ka namang magadjust eh siguro eh hindi ka ganun mahihirapan. Siguro sabihin mo sa manager/supervisor mo na beginner ka pa lang.
Pero para sa akin mas magandang training yung sabak ka agad sa project. kasi dun mo malalaman kung gaano ka kaflexible at kung paano ka magmanage ng time.
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 01:37:11 PM
^^ tuloy feel q n prang elder na q sa IT world.. Start working in IT when I was 19 pa.., Hehehehe..,
Title: Re: programming
Post by: carpediem on February 16, 2011, 02:29:47 PM
@Hitad

Since you said OOP, I'm guessing you are applying for a programming job in Java/.NET.

Usually kasi kapag big or established na yung company, meron na silang sariling in-house na frameworks. They'll assume that you already have a good grasp of OOP programming knowledge, and you'll just be trained in these in-house frameworks.

Advise ko lang is not to be constrained in these frameworks. Kasi in-house mga yun and hindi ginagamit outside the company.

Aside from learning about "how" to do things in these frameworks, try to look at "why" - why do they design it this way? Why do they implement it this way? Why use this framework instead of some other existing frameworks, like open-source frameworks? Etc.
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 02:38:34 PM
^^ napaflashback 2loy aq during my programming days.., OOP -Object Oriented Programming..
Title: Re: programming
Post by: Hitad on February 16, 2011, 02:43:49 PM
Quote from: carpediem on February 16, 2011, 02:29:47 PM
@Hitad

Since you said OOP, I'm guessing you are applying for a programming job in Java/.NET.

Usually kasi kapag big or established na yung company, meron na silang sariling in-house na frameworks. They'll assume that you already have a good grasp of OOP programming knowledge, and you'll just be trained in these in-house frameworks.

Advise ko lang is not to be constrained in these frameworks. Kasi in-house mga yun and hindi ginagamit outside the company.

Aside from learning about "how" to do things in these frameworks, try to look at "why" - why do they design it this way? Why do they implement it this way? Why use this framework instead of some other existing frameworks, like open-source frameworks? Etc.

Thanks carpediem now I know why they put an "OOP (Object Oriented Programming) and OOP architectural skills" requirement. Sana madaling maintindihan yung framework nila better sana kung open source :P
Btw I'm applying for the PHP Programmer position.
Title: Re: programming
Post by: marvinofthefaintsmile on February 16, 2011, 02:48:12 PM
^^ I dunno.., pero prang mas mabenta ang mga commercialized na languages like microsoft .net kesa sa mga open source like php.,

Dq n matandaan masyado ang OOP.. Basta it deals with objects and classes.,
Title: Re: programming
Post by: Hitad on February 16, 2011, 02:55:18 PM
^
Regarding sa computer software application it's possible. Pero nowadays sa web development a lot of companies are enforcing knowledge in open source tools. That's what I know :)

Madami din ako nakikitang companies na naghahanap ng may knowledge sa Drupal, Joomla, CodeIgniter to think na open source sila.  :D
Title: Re: programming
Post by: carpediem on February 16, 2011, 03:08:32 PM
@Hitad - Oh ok PHP pala. Kasi wala masyado OOP in PHP, since it's a fairly new development for the language. Just be disciplined in using PHP as it tends to promote bad code.

@marvs - Ang advantage kasi ng commercialized languages is meron silang backing from large companies - .NET from M$, Java from Sun now Oracle. Especially M$, malaki and malakas yung PR machinery nila. That's why these two tend to be more embraced by big companies.

Between Java and .NET, since Java is mostly open source now, it is favored by more people, especially the open source community and the academe.

A big limitation on .NET is that it is limited to the Windows platform. While Java is available virtually everywhere. Kaya nga Android is on Java.

But we should not look down on scripting languages like PHP, Python, and Ruby. Remember that these languages power the new generation of sites like Facebook (PHP), Youtube (Python), and Twitter (Ruby).
Title: Re: programming
Post by: Hitad on February 16, 2011, 03:50:29 PM
@carpediem haha thanks. Yeah every language is gold. Btw nag eevolve na rin ang OOP ng PHP due to security reasons, like noon PHP 4 pa we declare variables inside a class using the "var" keyword now we use "public", "protected" and "private" parang java rin lang.
Title: Re: programming
Post by: Hitad on February 17, 2011, 01:44:05 PM
Hello guys. Gusto ko sanang malaman ang importance and purpose of abstraction in OOP?
Title: Re: programming
Post by: Hitad on February 17, 2011, 03:06:17 PM
Okay na pala na gets ko na... hehehe
It's like in RPG games, a Warrior class which contains the abstract attack function therefore lahat ng child classes like cannon fodders, bosses under the warrior class meron dapat attack function din ^_^
Title: Re: programming
Post by: maykel on February 18, 2011, 10:26:54 AM
Worth bang pagaralan ang AJAX, LINQ at JQUERY?

Kasi may tutorial videos ako dito pero tinatamad akong pagaralan kasi nakakaantok ang boses nung nasa tutorial.hehe
Title: Re: programming
Post by: carpediem on February 18, 2011, 11:53:52 AM
Abstraction is not an invention of or exclusive to OOP. It can be achieved in other programming paradigms, like procedural (OOP actually is just an extension of procedural programming).

Abstraction is merely a way to hide the implementation details of certain processes or steps. It is a way to manage complexity in code.

For example, when you use a "sort" function for an array/list/collection in a certain programming language, you as the programmer generally do not want to know how the function is implemented, or what sorting algorithm (insertion sort, mergesort, quicksort, hash sort, etc.) is used (although knowing the details can help).
Title: Re: programming
Post by: carpediem on February 18, 2011, 12:01:46 PM
@maykel - AJAX and jQuery I think.

LINQ I am not sure - it's an MS addition in .NET. Unless you are going to code in .NET, it won't be useful. Although I heard they say it's nice, at some point parang may nagsabi na hindi na nila itutuloy sa future .NET versions. I don't know if true. But it is known that MS has a not so good track record in supporting language features and technologies.
Title: Re: programming
Post by: Hitad on February 18, 2011, 12:18:20 PM
Quote from: carpediem on February 18, 2011, 11:53:52 AM

Abstraction is merely a way to hide the implementation details of certain processes or steps. It is a way to manage complexity in code.


@carpediem

It is also a way of retaining information relevant to a certain class wherein we cannot leave out any function that is already declared abstract from the parent class, as all the methods are required to utilize :)
Title: Re: programming
Post by: carpediem on February 18, 2011, 01:23:43 PM
^ Nope. You are talking about the OO concept of inheritance. The term abstract class is not really related to abstraction.
Title: Re: programming
Post by: maykel on February 18, 2011, 01:44:59 PM
Quote from: carpediem on February 18, 2011, 12:01:46 PM
@maykel - AJAX and jQuery I think.

LINQ I am not sure - it's an MS addition in .NET. Unless you are going to code in .NET, it won't be useful. Although I heard they say it's nice, at some point parang may nagsabi na hindi na nila itutuloy sa future .NET versions. I don't know if true. But it is known that MS has a not so good track record in supporting language features and technologies.

Thanks sa insight carpediem. siguro magagamit ko din ang LINQ since loyal sa .NET ang company ko. haist!!!! ano kaya ang magandang unahin sa tatlong yan
Title: Re: programming
Post by: carpediem on February 18, 2011, 01:54:39 PM
^ AJAX, just for the concepts and basics. No need to get too deep, because there are frameworks that simplify the implementation, like jQuery. Thus jQuery next.

LINQ only if you want to code a lot in .NET.

All of these coming from a non-web developer (at least in profession).
Title: Re: programming
Post by: marvinofthefaintsmile on February 18, 2011, 02:26:38 PM
^^ yeah, i think IN nmn ngyn ang AJAX.. db combination ito ng Java at XML.. Asynchornous Java And XML = AJAX?
Title: Re: programming
Post by: Hitad on February 18, 2011, 04:02:21 PM
Quote from: carpediem on February 18, 2011, 01:23:43 PM
^ Nope. You are talking about the OO concept of inheritance. The term abstract class is not really related to abstraction.

Nope I'm quite referring about abstraction per se. I dont know how abstraction is carried out in other languages though. Inheritance begins with the keyword "extends" so it can be present at most times.

In php it's like this:

In games all playable characters can use all abstract methods. However non-abstracts are optional.

<?php

abstract class character{
   
    abstract public function attack();
   
    abstract public function item();

    public function magic();
   
}


// this script below will return a syntax error if all abstract functions declared above are not used.

class Human extends character{
   
   public function attack(){
       echo 'dealt 100 damage';
   }
   
   public function item(){
       echo 'used healing potion';
   }

  // The whole script will run free from errors. Why? because the method "magic" is not abstract
      and it is okay to not to call the method.
}


?>



Title: Re: programming
Post by: Hitad on February 18, 2011, 04:21:39 PM
Quote from: marvinofthefaintsmile on February 18, 2011, 02:26:38 PM
^^ yeah, i think IN nmn ngyn ang AJAX.. db combination ito ng Java at XML.. Asynchornous Java And XML = AJAX?

JavaScript marvin hindi java hehehe....
and AJAX is not a programming language, it is a technique.
Title: Re: programming
Post by: carpediem on February 18, 2011, 04:33:46 PM
The "abstract" keyword used to describe the functions in the "abstract class" Character is just incidental. The Human class is required to supply the implementations of the "abstract functions" because it inherited these functions from the parent class, or the parent class delegated the implementation details to its child classes.

An abstract function delegates the implementation to child classes. A virtual function (e.g. Magic()) gives implementation details, but allows child classes to modify it, allowing polymorphism.

An abstract class is just a class that you cannot instantiate, because it contains abstract functions.

Thus, the usage of the "abstract" keyword there is not really abstraction in the strict concept of the term.
Title: Re: programming
Post by: Hitad on February 18, 2011, 04:49:54 PM
There is an essence about the abstract keyword, if we look at the synonyms, one is "concept" hence it is deemed essential :]
Therefore my comments and yours are right based from characterization.
Title: Re: programming
Post by: carpediem on February 19, 2011, 12:33:41 AM
Uh. Never mind. Just bear in mind that different OO languages tend to define things in their own ways, and thus mix up a lot of terminologies. Different terminologies may actually mean the same, while some terminologies get implemented in different ways in different languages. For example: base class vs parent class, class methods vs static methods, instance methods vs member functions, attributes vs members vs instance variables, abstract classes vs interfaces, etc.
Title: Re: programming
Post by: carpediem on February 23, 2011, 12:37:30 AM
If programming languages were tools:

(http://thenextweb.com/shareables/files/2010/07/28126_540-500x746.jpg)

If programming languages were boats (http://compsci.ca/blog/if-a-programming-language-was-a-boat/)
If programming languages were religions (http://blog.aegisub.org/2008/12/if-programming-languages-were-religions.html)

Search for other "if programming languages were" in Google.
Title: Re: programming
Post by: eLgimiker0 on February 23, 2011, 01:02:46 AM
^ nice  post.. by the way, what can you say about ruby? in your own opinion.

any comments about that language. im still studying that language, but lately, naka focus ako sa .NET.
but willing to learn ruby.
Title: Re: programming
Post by: carpediem on February 23, 2011, 01:14:34 AM
^ Ruby is quite an elegant language. Very similar to Python, it is one of those cool languages right now that makes you productive and happy. :) Its most popular web framework is called Rails.

It's worth it to learn the language.
Title: Re: programming
Post by: eLgimiker0 on February 23, 2011, 01:21:40 AM
tried it before but unfortunately, naubusan ako ng time na yun.

tried it with netbeans. thanks carpediem.

thanks, but ang alam ko.. mabilis sila magupdate.. siguro dahil medyo bago palang sila.

I'll give some time para makapag focus ulit diyan.. thanks :)
Title: Re: programming
Post by: Hitad on February 23, 2011, 09:11:15 AM
Quote from: carpediem on February 23, 2011, 12:37:30 AM
If programming languages were tools:

(http://thenextweb.com/shareables/files/2010/07/28126_540-500x746.jpg)


LOL I've seen lots of these on facebook. 
I've also found one stupid diagram:

(http://i51.tinypic.com/234d9c.jpg)

If I may commentate, everything is just plain prejudice.
Title: Re: programming
Post by: carpediem on February 23, 2011, 02:37:38 PM
@eLgimiker0: hindi naman ata mabilis mag update. in any case mostly backwards-compliant naman na hindi magbe-break yung codes written in earlier versions. you should not worry if you are not going to work on very advanced or experimental features of the language

@Hitad: there is some truth to that diagram. Those programmers in the higher parts of the diagram are generally more "elite" than those in the lower parts, although the diagram just depicts the subjective impressions of the programmers, and not the objective skills.
Title: Re: programming
Post by: eLgimiker0 on February 23, 2011, 03:30:18 PM
Quote from: carpediem on February 23, 2011, 02:37:38 PM
@eLgimiker0: hindi naman ata mabilis mag update. in any case mostly backwards-compliant naman na hindi magbe-break yung codes written in earlier versions. you should not worry if you are not going to work on very advanced or experimental features of the language

@Hitad: there is some truth to that diagram. Those programmers in the higher parts of the diagram are generally more "elite" than those in the lower parts, although the diagram just depicts the subjective impressions of the programmers, and not the objective skills.

thanks carpediem, what can you say about this one?

http://accidentaltechnologist.com/ruby/10-alternative-ruby-web-frameworks/


yung ibang company, hindi din rails ang ginagamit, pero pinagaaralan ko ngayon yung rails.

thanks again
Title: Re: programming
Post by: carpediem on February 23, 2011, 03:48:02 PM
^ I honestly do not know. You really have to try using one to give comments.

Of all those in there, I've only heard about Merb and Sinatra.

Advise ko lang is learn the language first, without the web framework. Later na yung web framework kung established na foundation mo sa language.
Title: Re: programming
Post by: eLgimiker0 on February 23, 2011, 03:52:51 PM
thanks sa advice.. from the scratch ang aral ko sa ruby, thanks. you inspired :)
Title: Re: programming
Post by: marvinofthefaintsmile on February 24, 2011, 09:39:55 AM
I need Java Developers!!

Responsibilities:

As a member of the team, you must have the ability to design, implement and support web applications. You must also have the ability to utilize Java/J2EE and other open source technologies.

Skill/Experience Desired:
•   Solid knowledge in developing web applications using technologies such as HTML, JavaScript, CSS, AJAX, DOJO
•   Knowledge in Struts 2.0, Spring 3.x and iBatis is an advantage
•   Familiarity with open source development tools like Maven or ANT
•   Exposure to J2EE containers like JBoss, Websphere
•   Experience working with Oracle database

Requirements:
•   Candidate must possess at least a Bachelor's Degree in Computer Science, Computer
•   Engineering, Mathematics or any related IT course
•   Strong Object Oriented Programming experience using Java. Preferably with J2EE or JEE experience.
•   Strong technical analysis and design skills
•   At least 2 years relevant working experience in the related field
Title: Re: programming
Post by: Hitad on February 26, 2011, 03:51:21 PM
Nakakabaliw. Kakaumpisa ko pa lang gumamit ng MVC framework, nangangapa pa ko, pero parang gusto ko na gumawa ng sarili kong framework. Mukhang challenging kasi. Sakit sa ulo shet  :o
Title: Re: programming
Post by: carpediem on February 28, 2011, 05:19:56 PM
@marvin: OT - mukhang malaki yung referral incentive dyan a lol
Title: Re: programming
Post by: marvinofthefaintsmile on February 28, 2011, 05:23:02 PM
^^ hmm.. well... not really.
Title: Re: programming
Post by: Hitad on March 01, 2011, 08:27:39 PM
Java work... hmmm di kasi ako naging interested sa Java. Bwisit kasi yung prof ko dati, hindi interesting yung pagtuturo niya which affected my study habits. Parang wala lang.
Title: Re: programming
Post by: Hitad on March 10, 2011, 10:06:57 AM
I've decided to self study java for this day lang. I'll see how it goes .
I believe madaming java masters dito  :-*
Title: Re: programming
Post by: carpediem on March 10, 2011, 11:23:53 PM
^ so how's the cup of java?
Title: Re: programming
Post by: eLgimiker0 on March 10, 2011, 11:38:44 PM
similarity ang java at c# DAW, tama ba?
Title: Re: programming
Post by: ram013 on March 11, 2011, 04:41:57 AM
I have a book ng Java dati and self study lng madali lng din almost may similarity with C
Title: Re: programming
Post by: Hitad on March 11, 2011, 08:29:14 AM
Quote from: carpediem on March 10, 2011, 11:23:53 PM
^ so how's the cup of java?

Okay naman. Ni-review ko lang yung mga lessons namin na di ko binigyan ng pansin. Now I get it. Pero di pa ko nakakarating sa bandang magco-connect sa database, fundamentals of Java OOP lang.   :D

Mejo nanibago lang ako sa pagdeclare ng variable kasi strict siya it needs to be declared before calling it. Sa PHP kasi kahit isabay na sa pagcall and declaration pwede.
Title: Re: programming
Post by: carpediem on March 11, 2011, 09:30:02 AM
^ Java is a statically typed language, while PHP uses dynamic typing.
Title: Re: programming
Post by: marvinofthefaintsmile on March 11, 2011, 09:35:03 AM
nalimutan qn magsulat ng PHP...
Title: Re: programming
Post by: Hitad on March 11, 2011, 09:47:51 AM
Yup. PHP is interpreted. Mejo interesado na ko sa Java, saka na lang ako mag-aral ulit pag magagamit ko siya, gusto ko sana gumawa ng kahit simple application lang w/ database.
I've just realized na I need to review JavaScript kasi nag Jquery ako agad lol and I'm trying to make my own framework in PHP.
Gusto ko rin kumuha ng short course about Java para pandagdag sa resume. Meron kaya nito sa Tesda?
Title: Re: programming
Post by: eLgimiker0 on March 17, 2011, 05:55:34 AM
fibonacci logic

X
Input
Temp1=0
Temp2=1
Sum = 0

   X=0; x<=input;x++
   {
      If x<=input then
        {
           Print sum
           Temp1 = temp2
           Temp2 = sum
         }
    }

Tama ba?
Title: Re: programming
Post by: Hitad on March 17, 2011, 09:11:09 AM
Quote from: eLgimiker0 on March 17, 2011, 05:55:34 AM
fibonacci logic

X
Input
Temp1=0
Temp2=1
Sum = 0

   X=0; x<=input;x++
   {
      If x<=input then
        {
           Print sum
           Temp1 = temp2
           Temp2 = sum
         }
    }

Tama ba?


parang static yung sum....
Title: Re: programming
Post by: carpediem on March 17, 2011, 10:18:47 AM
yup, you need to update sum for each iteration. hindi mo kailangan yung if statement sa loob, since by definition ng looping conditions mo, x is less than or equal to input.
Title: Re: programming
Post by: eLgimiker0 on March 17, 2011, 11:07:58 AM
Quote from: eLgimiker0 on March 17, 2011, 05:55:34 AM
fibonacci logic

X
Input
Temp1=0
Temp2=1
Sum = 0

   X=0; x<=input;x++
   {
     
       
           Print sum
           Sum = temp1 + temp2
           Temp1 = temp2
           Temp2 = sum
         
    }

Tama ba?


Title: Re: programming
Post by: carpediem on March 17, 2011, 11:30:05 AM
^ may mali :)

fib(0) = 0, fib(1) = 1, fib(2) = 1, fib(3) = 2, fib(4) = 3, fib(5) = 5, .....

try mo implement sa actual code yung sayo, and makikita mo walang output yung fib(0) mo, and yung sequence mo is 1,2,3,5, ....
Title: Re: programming
Post by: Hitad on March 17, 2011, 01:41:48 PM
anong language yan? or baka pseudocode lang? Ma-try nga rin yang Fibonacci sequence 4 years ago ko pa yan ngawa lol. Try niyo rin bubble sort :P
Title: Re: programming
Post by: carpediem on March 17, 2011, 01:49:34 PM
try nyo both iterative and recursive implementation
Title: Re: programming
Post by: Hitad on March 17, 2011, 01:56:49 PM
^
Hindi ko na matandaan yang methods na yan :/


but anyway. Here's my pseudocode for the fibonacci ek ek.. :D

------

var input = 5;
var first = 0;
var second = 1;

var seq = NULL;     //Sequence

for var x=0; x<input; x++
{
     print first;
     seq = first + second;
     first = second;
     second = seq;
 
}


Title: Re: programming
Post by: carpediem on March 17, 2011, 02:09:48 PM
^ good. try to implement a function instead of a program

that's iterative. recursion is when a function calls itself
Title: Re: programming
Post by: Hitad on March 17, 2011, 02:22:27 PM
^
haha ganun ba. So vocabulary ko lang pala ang sablay  :P
Title: Re: programming
Post by: eLgimiker0 on March 24, 2011, 04:50:50 PM
hingi sana ako ng guidelines and advice sa paggawa ng portfolio

yes, naka pagresearch na din ako sa google.

pero since maraming magagaling na programmer dito, hingi ako ng advice.. thanks :)
Title: Re: programming
Post by: carpediem on March 24, 2011, 10:50:19 PM
^ portfolio? you mean resume or CV?
Title: Re: programming
Post by: eLgimiker0 on March 25, 2011, 11:32:03 AM
portfolio ng mga nagawa kong system.

thanks carpediem
Title: Re: programming
Post by: carpediem on March 25, 2011, 09:35:04 PM
ahaha di ko ata alam kung ano yun. could you give an example?

kung about resume or CV pwede pa ako magbigay ng konting suggestions
Title: Re: programming
Post by: eLgimiker0 on March 25, 2011, 11:29:27 PM
diba pag photographer ka, meron kang collection ng mga kuha mo at gagawan mo sila ng mga portfolio mo, parang ganun, yung mga design mo sa paggwa ng website :)
Title: Re: programming
Post by: carpediem on March 26, 2011, 08:40:26 PM
Hmm sorry I'm not a web designer.

I guess you have to have samples of your work to showcase and display your abilities.

This is not limited to web designer positions. Recruiters of other positions sometimes require you to give them sample projects and codes you have developed.
Title: Re: programming
Post by: carpediem on April 02, 2011, 11:38:38 PM
It's summertime!

(http://i.imgur.com/n0GRR.png)
Title: Re: programming
Post by: carpediem on April 09, 2011, 01:10:29 AM
(http://i.imgur.com/fRF0l.jpg)
Title: Re: programming
Post by: carpediem on May 04, 2011, 12:12:32 AM
Thus spake the master programmer:

"Let the programmers be many and the managers few - then all will be productive."



from The Tao of Programming
Title: Re: programming
Post by: Hitad on May 05, 2011, 12:08:11 PM
Any php programmers here? Just want to ask some few questions. lol
Wala kasi akong makitang magic method sa php manual na nag-auto call ng function without manually calling it....

And oh... just resigned from my work wahahaha! I hate my previous kuripotpot company.
Title: Re: programming
Post by: carpediem on May 06, 2011, 09:53:42 PM
^ para saan ang auto-calling?
Title: Re: programming
Post by: Hitad on May 07, 2011, 12:17:34 AM
Gusto ko kasing gumawa ng class per page wherein gusto kong mag-auto run yung methods without manually calling them.
This concept is  similar to those of standard MVC frameworks. Gusto ko kasi gumawa ng simple framework XD
Title: Re: programming
Post by: carpediem on May 07, 2011, 12:46:17 AM
May introspection ba ang PHP? You need some sort of "hooks".
Title: Re: programming
Post by: Hitad on May 07, 2011, 10:09:54 AM
Di ko ma-gets. lol  ;D
Title: Re: programming
Post by: carpediem on May 07, 2011, 10:44:28 AM
Reflection or introspection is the ability a programming language provides you to inspect the runtime properties of an object (or a type) and possibly lets you modify these properties at runtime.

Check the Wikipedia entry:
http://en.wikipedia.org/wiki/Reflection_(computer_science)
Title: Re: programming
Post by: Hitad on May 07, 2011, 12:03:35 PM
Just researched about it. I'll read more about it. Meron siya sa PHP manual.
Thanks for telling me  ;D
Title: Re: programming
Post by: Hitad on May 31, 2011, 12:06:57 AM
Do you guys agree that the best programmers are Mathematicians?
Title: Re: programming
Post by: Chris on May 31, 2011, 12:45:18 AM
Quote from: Hitad on May 31, 2011, 12:06:57 AM
Do you guys agree that the best programmers are Mathematicians?


yes. in my opinion:

math + logic = programming
Title: Re: programming
Post by: ram013 on May 31, 2011, 12:51:59 AM
Agree
Title: Re: programming
Post by: Chris on May 31, 2011, 01:04:26 AM
i think the major problem of programmers or software development professionals is what will happen to their career if their programming language of expertise "dies". or in short, if it becomes obsolete?
Title: Re: programming
Post by: ram013 on May 31, 2011, 01:13:15 AM
that's true kaya dapat laging nag-uupdate sa mga software

ang maganda nman kasi sa programmer dpat logic ung nadedevelop kasi kahit anung languages pa yan madali n lng

it's the same logic for programming different lang ang mga commands
Title: Re: programming
Post by: noyskie on May 31, 2011, 01:14:17 AM
pero para sa akin as long as you have the basics of programming + a good logic, you can always learn new languages. right?
Title: Re: programming
Post by: Chris on May 31, 2011, 01:22:07 AM
^^ i agree, but as I've seen in many IT companies, their requirements are something like this:

has 2+ years of hands-on experience on *put programming language here*


that's why it won't be easy if you are coming from one language and moving on to the another. that is at least what a few of my former officemates say.
Title: Re: programming
Post by: ram013 on May 31, 2011, 01:26:53 AM
^ mahirap sa umpisa mag move from one language to the other pero learning takes time

for companies na nagrerequire ng experience, i believe sa hiring process may actual exam nman and I think from there they could see if you would fit for the said post
Title: Re: programming
Post by: carpediem on May 31, 2011, 11:29:02 AM
Quote from: Hitad on May 31, 2011, 12:06:57 AM
Do you guys agree that the best programmers are Mathematicians?


Not necessarily, although the better programmers tend to be those with good mathematical background. Computer science is basically applied math.
Title: Re: programming
Post by: marvinofthefaintsmile on May 31, 2011, 11:41:51 AM
ung iba eh actual hands on...

I remember when I applied at Fujitsu Ten Solutions.. Grabe.. Its like 150 kame applicants.. Tpos naging 70.. tpos naging 35.. tapong nagin 20.. tapos 3 na lang kameng natira.. Sa final interview.. bumagsak aq.. huhuhuhu.. Bale C++ ata ang language na gamit para sa mga robotic machines... Ngayon eh ANSI C  na ang gamit ko.. Well. at least magka-maganak nmn cla..
Title: Re: programming
Post by: carpediem on May 31, 2011, 11:44:23 AM
Quote from: Chris on May 31, 2011, 01:22:07 AM
^^ i agree, but as I've seen in many IT companies, their requirements are something like this:

has 2+ years of hands-on experience on *put programming language here*


that's why it won't be easy if you are coming from one language and moving on to the another. that is at least what a few of my former officemates say.

That's a problem, because requirements like that are usually specified by HR, and not technical people. Kapag HR ang naghi-hire, kahit sobrang galing mo, pero hindi mo nasatisfy yung requirement like that, hindi na nila babasahin ang resume mo at automatically bagsak ka na.
Title: Re: programming
Post by: marvinofthefaintsmile on May 31, 2011, 11:46:19 AM
kanta tayo..

"Ang buhay programmer ay masayang tunay!
masayang tunay! masayang tunay!
Ang buhay programmer ay masayang tunay!
Masayang tunay!!!"
Title: Re: programming
Post by: darkstar13 on May 31, 2011, 12:08:40 PM
haha! +1000.

ito ay song version ng 'I love my job' mantra.
Title: Re: programming
Post by: carpediem on May 31, 2011, 12:50:31 PM
"Magprogram ay 'di biro
Maghapon nakaupo
'Di man lang makatayo
'Di man lang makayuko."
Title: Re: programming
Post by: darkstar13 on May 31, 2011, 12:55:26 PM
does anyone of you work in a standing desk?
uso kasi yun ngayon eh, since maraming studies ang naglabasan na sitting for long period of time (like what programmers do) is dangerous to our health
Title: Re: programming
Post by: Hitad on May 31, 2011, 01:05:28 PM
yep dangerous nga yung palaging nakaupo kaya every our dapat tumatayo tayo, galaw-galaw I've just learned my lessons hohoho.

Kung ayaw niyo magka-almuranas sundin niyo advice ko  ;D
Title: Re: programming
Post by: Hitad on May 31, 2011, 01:15:58 PM
Quote from: carpediem on May 31, 2011, 11:29:02 AM
Quote from: Hitad on May 31, 2011, 12:06:57 AM
Do you guys agree that the best programmers are Mathematicians?


Not necessarily, although the better programmers tend to be those with good mathematical background. Computer science is basically applied math.

Indeed.
Honestly hindi ako magaling sa math. I got really mediocre grades before as I find it boring plus the teachers who are boring tolo. I'm quite fortunate that I did pass them all. 

Title: Re: programming
Post by: carpediem on May 31, 2011, 08:36:41 PM
Quote from: Chris on May 31, 2011, 12:45:18 AM
math + logic = programming

sabi ng isang teacher namin dati:

algorithms + data structures = program
Title: Re: programming
Post by: Hitad on June 01, 2011, 10:35:45 AM
Quote from: Hitad on June 01, 2011, 10:33:52 AM
Hi guys ano nga ulit yung "hooks"?
Tried to research pero ready-made frameworks na kasi yung mga nakikita ko..
Are they just the usual functions with that name? thanks1
Title: Re: programming
Post by: carpediem on June 01, 2011, 03:15:52 PM
^ I'll try to answer your question through very rough examples. A "hook" lets you customize behavior by allowing you to provide additional actions on certain events. For example (in pseudocode):

Class MyParentClass
  procedure before_action1() { null }

  procedure action1() { ...... }

  procedure after_action1() { null }

  procedure before_action2() { null }

  procedure action2() { ...... }

  procedure after_action2() { null }

  procedure run() {
    before_action1()
    action1()
    after_action1()
    before_action2()
    action2()
    after_action2()
  }

Here we have a parent class that does two actions, 1 and 2. The before and after procedures are very simple implementation of hooks, and these do nothing by default. In a child class, you can provide your own actions to these hooks (and they will be called automatically by definition of the parent class), thus customizing your own class -- you "hook" your own actions before or after an event is called.

Sometimes it can also be done dynamically, for example:

Class MyClass
  private hooks = []

  procedure register_action(a_proc) {
    hooks.add(a_proc)
  }

  procedure run() {
    ......
    for proc in hooks
      proc()
    ......
  }

Here the class has a private array which you can provide your own procedures via register_action(). All of the procedures in there will get executed when run.
Title: Re: programming
Post by: Hitad on June 01, 2011, 09:39:11 PM
Wow thanks carpediem. That was very fundamental. I commend you for that. Many thanks for explaining it!!
Title: Re: programming
Post by: ram013 on June 01, 2011, 10:02:18 PM
Galing...bow! Master
Title: Re: programming
Post by: eLgimiker0 on June 03, 2011, 09:25:45 AM
carpediem, isa kang dakilang nilalang
Title: Re: programming
Post by: Hitad on June 03, 2011, 05:09:44 PM
Quoteguys pano kaya ako makakgawa ng ganitong program. Gusto ko kasi ganito ang mangyari:
for example pag nagkaron ng method chaining like:



var wrapper = new Foo();
wrapper.append('<level1>').wrapper('<level2>').wrapper('<level3>');
wrapper.output();  

// should display
<wrapper>
       <level1>
             <level2>
                     <level3>
                    </level3>
            </level2>
       </level1>
</wrapper>
---

pero pag hindi naman method chaining like:

var wrapper  = new Foo();
wrapper.append('<level1>');
wrapper.append('<level2>');
wrapper.append('level3');
wrapper.output();

//should display

<wrapper>
     <level1>
     </level1>

     <level2>
     </level2>

     <level3>
     <level3>
</wrapper>


sinusubukan ko kasing gumawa ng simple xml builder. Kanina ko pa iniisip yung logic using OOP pero di ko makuha  :'(
Baka kasi may hindi ko napag-aralang scope.

EDIT: SOLVED. lol
Title: Re: programming
Post by: carpediem on June 03, 2011, 11:31:50 PM
The latest rumor is that MS might be starting to abandon .NET. They demoed Windows 8, showcasing the latest "Tiled" mode of the OS, that is based on HTML and JavaScript. However .NET and Silverlight were never mentioned.

Microsoft refuses to comment as .NET developers fret about Windows 8 (http://www.itwriting.com/blog/4443-microsoft-refuses-to-comment-as-net-developers-fret-about-windows-8.html)
Title: Re: programming
Post by: Hitad on June 07, 2011, 11:04:26 PM
Ang weird ng structure ng javascript. Everything is an object, kaya I often make mistakes dati nung di pa ko gumagamit ng framework like jquery.
Title: Re: programming
Post by: carpediem on June 08, 2011, 09:52:52 PM
Ganun talaga yung mga object-oriented languages, especially those "pure" ones, where even primitives like numbers and characters are objects. For example in Ruby,

5.upto(10) { |i| print i }

will output 5678910
Title: Re: programming
Post by: Hitad on June 09, 2011, 01:50:49 PM
So how is ruby like? I'm like choosing between python and ruby as the next language I'll try to learn.
Title: Re: programming
Post by: carpediem on June 09, 2011, 02:19:11 PM
^ Actually I don't know Ruby. haha! Though I read quite a number of reviews about it, comparing it to Python. I know Python.

These two languages are very similar. Both are scripting languages, and give you the power to quickly get things done. They both try to make programming as fun as possible.

Python is more readable. In fact readability is probably the main aim of Python. It is claimed to be "batteries included", such that most you'll need are already included in its standard library, and if you need extra functionalities, they most probably already exist as additional libraries and can be downloaded and imported to your programs.

Ruby seems to be more OO, as I think it was designed to be OO from the ground up. Because of this, it is more elegant in terms of "OOness". (Just the impression I got from what I've read.)

It all boils down to personal preferences. Check their entries in Wikipedia and try to check sample codes and syntaxes and see which one suits your taste better. :)
Title: Re: programming
Post by: Hitad on June 09, 2011, 05:19:20 PM
^
Wow sinearch ko nga sa wikipedia. I find ruby matipid sa code hahahaha
Hindi ko pa alam kung alin sa kanila. By the time siguro na uber bihasa na ko sa web development saka na ko mag-aaral nun. Mejo fresh pa me  8)

--
kakatapos ko lang mag-aral ng regular expression (intermediate), it's really a nice tool! Dati deadma lang ako...
Title: Re: programming
Post by: eLgimiker0 on June 09, 2011, 05:23:44 PM
Hitad, hindi pa ganun ka stable yung Ruby, nag uupdate pa din sila pero marami na din gumagamit at ngsabi na maganda ang ruby. tried it before pero hindi ako nagtagal. i used ruby on rails. maganda din pagaralan. gusto ko din pagaralan yan pag may mas mahabang time. for now SharePoint ang gamit ko. ahahaha

Thanks carpediem  :D
Title: Re: programming
Post by: carpediem on June 09, 2011, 06:28:13 PM
@Hitad: Matipid in a good way :). Ruby and Python are succinct languages. Kaya usually yung mga multi-line codes in other languages, pwedeng one-liner lang sa Ruby and Python.

For example (I'll use Python because it's the one I know), you want to extract the elements of a comma-delimited string to a list:

str = "apple, banana, cherry"
fruits = str.split(", ")


You variable friuits will be a 3-element list containing the fruits without the comma+space. (I think meron din ganyan sa PHP?)

Another example, suppose you want to multiply by 2 each of the element of an integer list that is even, and filter out the odd numbers:

int_list = [0, 1, 2, 3, 4, 5, 6]
int_list = [ n * 2 for n in int_list if n % 2 == 0 ]


The variable int_list will now contain 0, 4, 8, 12.

As you can see, succinctness is a beneficial characteristic that lets us wrap our understanding around the code more easily, and lets us focus on the intention of the code, without the need to wade though some unnecessary stuff. This also lets us do things more quickly.
Title: Re: programming
Post by: Hitad on June 09, 2011, 10:07:19 PM
@eLgimiker0
Thanks sa pag-update! wew, bigyan ko muna time sarili ko. Ano nga pala yung SharePoint? hehehe bago lang sa tainga ko yan  ;D

@carpediem
Yep I was actually positive about that, if that was vague 8)
Quote from: carpediem on June 09, 2011, 06:28:13 PM
str = "apple, banana, cherry"
fruits = str.split(", ")

Yes meron na rin to sa php but the term is explode like:

$array = explode ('~',  'pinoy~guy~guide') ;

then to re-connect them it'll be:

implode($array);

about the second example, that's really neat lol, in php it will take a bit more effort to code:

$int_list  = array(0, 1, 2, 3, 4, 5, 6);

foreach($int_list as $value){
    print($value % 2 == 0 ? $value * 2 : NULL);
}

I'm quite familiar with the succinctness because of the demand of frameworks in the job description.
Frameworks like the following are almost omnipresent in any job description I see :/
Tapos baba pa sweldo dito lol.

[url = http://framework.zend.com/]zend[/url]
[url = http://codeigniter.com/]codeigniter[/url]
[url = http://www.symfony-project.org/]symfony[/url]



Title: Re: programming
Post by: Hitad on June 13, 2011, 08:39:50 PM
Just discovered something new but still vague to me. The term is "closure"  :-[
Title: Re: programming
Post by: carpediem on June 13, 2011, 09:59:03 PM
You have to have some experience with functional programming to get the purpose of closures.

A closure is a function defined with "free variables" inside it. These free variables are not local to the function or arguments (parameters) of the function.

Check the Wikipedia entry. There are some examples.
Title: Re: programming
Post by: Hitad on June 13, 2011, 10:34:42 PM
Yep javascript is a prototype-based language.
Just discovered closure while exploring JS. Hate ko talaga to kahit simple lang, pero maraming "kakaiba"
meron daw kasi memory leak issues pag sa IE and some related matters kaya ko to na-encounter.
Iba naman ang definition sa php ng closure, anonymous functions daw but then that's not the same as the javascript case. geeez

Title: Re: programming
Post by: carpediem on June 24, 2011, 12:01:58 AM
baka eto nakita mo. someone explains closure in JS http://stackoverflow.com/questions/111102/how-do-javascript-closures-work
Title: Re: programming
Post by: Hitad on June 24, 2011, 12:42:27 PM
wahehehe.. Matagal ko na rin nakita yan. I'm through with closures, naintindihan ko naman kahit papano  8)
btw how often do you guys make use of recursive functions? Palagi ba?  :'(
minsan ko lang kasi nagamit when I was making a file tree. I'm not really good with this technique since I'm not mathematician. Like the fibonacci thingy which drived me insane as fak!
Title: Re: programming
Post by: carpediem on June 24, 2011, 03:26:33 PM
sometimes recursion is a great convenience, especially when the requirement can be expressed recursively. for example traversing a tree structure.

in practice, a recursive solution is usually less efficient than the corresponding iterative one because of the overhead.

medyo magulo sya at first, kasi kailangan mo i-keep track sa utak mo kung ano nangyayari or kung ano dapat mangyari. pero once nasanay ka, madali lang din. masmadali nga minsan kasi mas expressive nga ang recursive solution.

sabi nga nila, "To iterate is human. To recurse, divine."
Title: Re: programming
Post by: eLgimiker0 on June 24, 2011, 03:36:42 PM
(http://lolsnaps.com/upload_pic/1844.jpg)
Title: Re: programming
Post by: Hitad on June 24, 2011, 04:00:12 PM
^I've never seen a female so good at programming. I hope I could see one. hohohoho...

P.S. Ay meron pala, yung classmate ko dati  :o

Quote from: carpediem on June 24, 2011, 03:26:33 PM
"To iterate is human. To recurse, divine."
Recursive functions are nightmare to visualize.
I would rather buy the first sentence. (http://planetbob.net/skype/SkypeEmoticons_updated/animated/emoticon-0147-emo.gif)
Title: Re: programming
Post by: carpediem on June 24, 2011, 06:28:47 PM
Some trivia:

The first computer programmer was Ada Lovelace, for whom the Ada language was named :)

Grace Hopper developed COBOL, the third oldest programming language I think.
Title: Re: programming
Post by: Hitad on June 24, 2011, 10:58:36 PM
Wow di ko alam yan ah. Uhmazing!  :o
Title: Re: programming
Post by: carpediem on June 25, 2011, 11:07:28 PM
Programming challenge:

Using Philippine Peso denominations (not including centavos), how many ways can you make a sum of 100 Pesos?

(The denominations to be used are 100, 50, 20, 10, 5, 1)

For example:
- one 100-Peso bill
- one 50-Peso bill + one 20-Peso bill + two 10-Peso coins + one 5-Peso coin + five 1-Peso coins.
Title: Re: programming
Post by: Hitad on June 26, 2011, 11:47:14 AM
^
Are we going to make a program for that?
O sasabihin lang kung ilang posibilitad?  :)
Also ok lang mag recur yung isang no. ?
Title: Re: programming
Post by: carpediem on June 26, 2011, 12:04:26 PM
^ Yes make a program to count the number of combinations. Well kung magaling ka sa math baka pwede i-solve mathematically, although I don't know how. :)

Not sure what you mean by recur yung isang no. Basically we want the number of ways we can form a sum of 100 pesos. The previous example gives two ways, another way is:

- one 50-Peso bill + ten 5-Peso coins.
Title: Re: programming
Post by: Hitad on June 26, 2011, 01:59:01 PM
hmmm... seems like major steps I can think of:

1. create an array based on the denominations given.
2. we need to loop through that array.
3. add same number to self (current array) highest value that is less than or equal to 100.
4. if it is higher than 100, change the second addend to the next value in the array based from the current loop until it reaches one

Bukas ko na to gagawin sa php siguro.

Tinatapos ko pa kasi tong premium shopping cart ko lol.
Title: Re: programming
Post by: vortex on June 26, 2011, 02:07:36 PM
^^^wow...ano kaya ang mangyari sa akin kapag naging programmer ako?ComSci ako pero sa IT Network ako involved. Hindi ko hate ang programming pero hnd ako nage-excel, madali ako tumigil. Nung college once I was done with the basic ipinapasa ko na sa ka-grupo ko yung ibang task.Sinasabi ko nalang yung dapat maging output then siya mag-execute sa coding. hehehe.Minsan nga naiisip ko parang gusto ko mag-aral ng programming eh.
Title: Re: programming
Post by: Hitad on June 26, 2011, 08:42:25 PM
^sundin mo ang iyong puso  :D
Personally, wala akong interes sa programming dati until may prof akong nagbigay ng individual project then ayun parang mejo naging hilig ko na. Bihira lang ako makakita ng compsci grad na ayaw sa programming ah hehehe  8)
Title: Re: programming
Post by: carpediem on June 26, 2011, 09:14:32 PM
essential skill na ang programming ngayon. basta may computer, may programming, and computers are everywhere.
Title: Re: programming
Post by: vortex on June 28, 2011, 06:54:28 AM
Quote from: Hitad on June 26, 2011, 08:42:25 PM
^sundin mo ang iyong puso  :D
Personally, wala akong interes sa programming dati until may prof akong nagbigay ng individual project then ayun parang mejo naging hilig ko na. Bihira lang ako makakita ng compsci grad na ayaw sa programming ah hehehe  8)
Well siguro Networking ang itinitibok ng puso ko. Eversince nag-job searching ako 2nd choice ko lagi programmer. Hehehe...
Title: Re: programming
Post by: vortex on June 28, 2011, 06:57:23 AM
Quote from: carpediem on June 26, 2011, 09:14:32 PM
essential skill na ang programming ngayon. basta may computer, may programming, and computers are everywhere.
siguro nga,uy just to share lang,naka-graduate ako nung College kahit walang computer. Buti nakapasa ako as Intern sa ICT Center namin kaya dun ako gumagawa ng ibang Programs(Minimal to average lang). Wala sa may kung may computer iyan o wala eh nasa determination na rin  :D. May isa pa akong classmate na walang computer pero isa siya sa nag-e-excel sa amin sa programming. Gumagawa nga siya ng codes thru pen and paper(tapos trace lang ng output).hahaha...wala lang share ko lang.
Title: Re: programming
Post by: Hitad on June 28, 2011, 10:57:23 AM
@carpediem LOL I tried the problem you just provided but I felt lazy figuring out the logic. Bubble sort made my brain suffer for an hour eto pa kaya. Tinamad na 'ko hahaha maybe elgimikero can answer that  ;D

I researched about it and it's a part of the compsci books called number partition.
I hope I could learn those theories. Somehow I would like to pursue Computer Science as well!
Title: Re: programming
Post by: eLgimiker0 on June 28, 2011, 11:09:53 AM
@hitad: ahaha, balak ko sanang gawin kahapon kaya lang, meron pumasok sa isip ko na iba. btw, sana magawa ko this week.eheh, at hindi ako magaling magprogram. ahahah. si maykel ang magaling  :D
Title: Re: programming
Post by: carpediem on June 28, 2011, 04:24:43 PM
@Hitad: Ah, ano ba yung course mo? Why do you want programming work? Medyo mahihirapan ka nga if you just started programming.

Actually di ko alam na it's called number partitioning, although I suspect that there must be math in it, probably in permutations/combinations. Common yung problem sa compsci, about change-making problems.
Title: Re: programming
Post by: Hitad on June 28, 2011, 04:51:28 PM
Information Technology.
Hindi naman ako starter sa programming. Been programming 2 years na.
Yung mga pinag-aaralan namin ay hindi talaga as intensive sa compsci since hindi lang
programming ang coverage ng IT.
Compsci is more on theories talaga.
We only use higher level languages which compsci people develop.

Title: Re: programming
Post by: carpediem on June 28, 2011, 09:20:53 PM
^ I see. So you studied stuff like system analysis and design, project management, database systems, etc.
Title: Re: programming
Post by: Hitad on June 28, 2011, 10:34:33 PM
^
Yep. Some boring subjects like Management of Information Systems. Meron din yata sa compsci ang SAD?
Naalala ko na naman yang subjects na yan, minamalas ako sa groupings plus procrastination.
Therefore late submission of projects  ;D
Title: Re: programming
Post by: eLgimiker0 on June 29, 2011, 12:28:28 AM
carpe, im more on SAD, dBase system. hingi sana ako ng advice sayo kung ano yung maganda practice pagdating sa paggawa ng mga system. microsoft product pala ang mga gamit ko.


@hitad: comsci din ako, pero wala akong SAD, pero naenroll ko sya sa hindi inaasahan pagkakataon.
Title: Re: programming
Post by: vortex on June 29, 2011, 07:28:04 AM
^^^ :o Wow...
Title: Re: programming
Post by: vortex on June 29, 2011, 07:30:35 AM
Quote from: Hitad on June 28, 2011, 10:34:33 PM
^
Yep. Some boring subjects like Management of Information Systems. Meron din yata sa compsci ang SAD?
Naalala ko na naman yang subjects na yan, minamalas ako sa groupings plus procrastination.
Therefore late submission of projects  ;D
Thesis at Methods of Research ng CompSci ata ang katumbas ng SAD/SSD sa IT. Student ka pa lang po ba?Or working?Saan? :D
Title: Re: programming
Post by: Hitad on June 29, 2011, 10:14:21 AM
@kilo
Parang may narinig ako about that year 2003 din kwento ng teacher ko pero di ko alam kung siya yun.
Sobrang geek na yan, siguro walang tigil sa harap ng screen.
O di kaya eh combination ng magaling at masipag!
Title: Re: programming
Post by: marvinofthefaintsmile on June 29, 2011, 10:18:19 AM
I also know some back in college.. Bale 2 sila, both nerdy din.. Yung the rest ng mga girls na mahilig magtsismisan at magdaldalan bout love eh nagsibagsakan nung graduation. nalapnos ang 3/4 ng buong ggraduate nun.. Mostly guys ang gumaradweyt and some ladies..
Title: Re: programming
Post by: carpediem on June 29, 2011, 12:07:14 PM
@Kilo: Hmm, is she still in the country? Siya ba yung may popular blog?
Title: Re: programming
Post by: eLgimiker0 on June 29, 2011, 12:34:22 PM
anyone here familiar with edmx?
Title: Re: programming
Post by: Hitad on June 29, 2011, 01:16:07 PM
guys pa-help ako!!  :P
Nadala ako sa problem ni carpediem .
Gusto ko kasi mag-generate ng website names.
Gusto ko lang malaman kung pano kunin yung permutation for ex:
goat
ogat
oagt
oatg
gaot
agot
etc..

May nakita akong codes pero hindi ko pero... alam ko nasa Discrete Math ito ~_~
Title: Re: programming
Post by: eLgimiker0 on June 29, 2011, 01:33:24 PM
array?

nasa isip ko kanina index.ahaha
Title: Re: programming
Post by: Hitad on June 29, 2011, 01:34:53 PM
kahit string results or array may do. I just really need to generate those names XD
Title: Re: programming
Post by: eLgimiker0 on June 29, 2011, 01:56:00 PM
lets wait for the expert, ahaha, carpediem, maykel and vortex :D
Title: Re: programming
Post by: carpediem on June 29, 2011, 03:15:33 PM
Hehe sobrang lapit na sa problem ko.

It's basically permutations without repetitions, which is n! or n * (n-1) * (n-2) .. * 1. In the example it's 4! = 24 ways.

One algorithm using iterative method is to have a loop for each position of the string that iterates through the choices. For the example we'll have 4 nested for loops. There should be checking within each loop that we don't use the same character already being used by any of the outer loops in the current iteration.

1234
1243
1324
1342
1423
1432

2134
2143
2314
2341
2413
2431

....

Try it out first.

Another algo is using a recursive method...
Title: Re: programming
Post by: Hitad on June 29, 2011, 04:20:49 PM
^ Is it normal that my brain is like freezing lol..
Title: Re: programming
Post by: carpediem on June 29, 2011, 05:51:45 PM
Quote from: eLgimiker0 on June 29, 2011, 12:28:28 AM
carpe, im more on SAD, dBase system. hingi sana ako ng advice sayo kung ano yung maganda practice pagdating sa paggawa ng mga system. microsoft product pala ang mga gamit ko.

Depends on what's your target. Broad na rin kasi ang pwede gawin sa IT. Pwedeng programmer, web developer, web designer, database administrator, system administrator, etc.

My suggestion is not to invest too heavily on any particular technology, given how fast development is nowadays.

For using the Microsoft stack, I'll say again be careful with it. There's a risk of "vendor lock-in" using Microsoft - their products like .NET, SQL Server are only available in Windows, and are not available or a pain to setup in other platforms like Unix, Linux, Apple OS (which is a variety of Unix). By the way most servers in the Internet are powered by Linux.

As an example - VB. I am not sure if you are familiar. Dati eto yung flagship ng MS. Nung nistart nila yung .NET to compete with Java, they decided to abandon VB6 and stop support for this in their new OS. The user and developer communities were just abandoned. I've read that there are other instances like this. The most recent one that is alarming .NET developers is the demo of Windows 8 suggesting that the OS might be moving towards HTML and JavaScript. (See my post in the same thread (http://www.pinoyguyguide.com/forums/index.php?topic=1754.msg164593#msg164593).)

Well anyway, the point is to diversify your skills. Aside from "leveling up" vertically, you should also acquire skills horizontally. Don't limit yourself to one skill or technology. Learn about the whole "stack".

Quote from: eLgimiker0 on June 29, 2011, 12:34:22 PM
anyone here familiar with edmx?

hmm. sa MS yata ito? what is it about?
Title: Re: programming
Post by: Hitad on June 29, 2011, 07:39:03 PM
^
May VB parin yata. I've seen Visual Basic Express 2010 and it's free... I downloaded it from MS Site xD
Title: Re: programming
Post by: carpediem on June 29, 2011, 08:17:04 PM
It seems to be a converter of VB6 to VB .NET. Totally different ang VB6 and VB .NET.
Title: Re: programming
Post by: Hitad on June 29, 2011, 10:49:19 PM
Is that so. VB 6 lang ang nagamit ko at Delphi na event driven prog. lang.
Title: Re: programming
Post by: Hitad on June 29, 2011, 10:52:09 PM
Quote from: marvinofthefaintsmile on June 29, 2011, 10:18:19 AM
I also know some back in college.. Bale 2 sila, both nerdy din.. Yung the rest ng mga girls na mahilig magtsismisan at magdaldalan bout love eh nagsibagsakan nung graduation. nalapnos ang 3/4 ng buong ggraduate nun.. Mostly guys ang gumaradweyt and some ladies..

Ang dami kong classmates na ganito dati! Buti nga sa kanila lol. Mga wala ng ginawa kundi magchismisan, ayun nagsibagsakan. Yung mga tao din na akala mo pumapasok lang sa school para makipagbarkadahan. Ayun nagsbagsakan rin lol.  ;D
From 40 students 7 lang kaming natira.
Title: Re: programming
Post by: ram013 on June 30, 2011, 04:08:56 AM
I think ung mga theories sa Data Structures would be definitely resolve the case of the 100 peso and ung kay ELG. U can try the bubble, recursive and  I forgot the rest
Title: Re: programming
Post by: maykel on June 30, 2011, 05:10:08 AM
Quote from: eLgimiker0 on June 29, 2011, 01:56:00 PM
lets wait for the expert, ahaha, carpediem, maykel and vortex :D
awts... mahina ako sa ganyan... pang illogical na logic lang ang meron ako.
Title: Re: programming
Post by: Hitad on June 30, 2011, 08:20:22 PM
^
lol interesting....

--
nakuha ko na yung permutation mas mahirap pa lang i-analyze yung double recursion na fibonacci lol. Nakuha ko lang yung formula sa java excel na nagoogle ko..
kelangan lang i reduce until 1 na lang yung natirang string.

i.e. "win" 

bale yung sequence:

n
in
ni
win
iwn
inw
wni
nwi
niw

so we have 6...
Title: Re: programming
Post by: mangkulas03 on June 05, 2012, 10:12:26 PM
message niyo ako kung kailangan nio ng trabaho... meron ako alam. :)
Title: Re: programming
Post by: arkin on June 06, 2012, 01:38:08 PM
anung work po?
Title: Re: programming
Post by: jelo kid on June 06, 2012, 02:10:32 PM
Quote from: arkin on June 06, 2012, 01:38:08 PM
anung work po?