Just a thread for programming related stuff.
Talk about anything related to programming here: languages, coding, style, problems, algorithms, optimization, software engineering, etc.
carpediem, ang cool nito! salamat at naisip mo...
i'm involved sa Siebel Development, sino dito ang Siebel Developer din?
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 :(
Yup! binili na siya ni Oracle...
ano ba ang magandang pagaralan na Programming language.
ang alam ko lang kasi ay .net. VB pa, yung pinakamadali pa ang alam ko. :D
@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.
(http://img831.imageshack.us/img831/6669/whatsoftwaredevelopment.jpg)
Wow may ganitong topic na pala. Cool.
Sana may mag upload ng tutorials ng mga makalumang languages c++ ska ng assembly. hehe
main ()
{
printf("I love PGG!");
}
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
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?
^ 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.
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?
Anyone here already watched "Antitrust"? ehehe..
Story about programmer. :)
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?
Love ko ang logic at ang pagprogram. ang ayaw ko lang ay ang gumawa ng documentation specially ang paggawa ng flow chart.
same tyo bro maykel, ako gusto ko yung system design, analyze at development/programming
Hehehe wala naman ata programmer who likes documentation. Kaya nga "How the project was documented" - null.
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.
i do the programing and the documentation. i love to write eh..
Used to be a programmer...now doing documentation as an analyst
is now focusing myself on VBA. Since this will be my next project. :(
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
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.
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...
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.
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
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.
pede rin... ;)
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
I think masmagnda ung me code kc pwedeng icustomize.. pero masmadaling gawin ung me datasource.
Programming is like sex because:
- One mistake and you have to support it for the rest of your life. (Michael Sinz)
- Once you get started, you'll only stop because you're exhausted.
- It takes another experienced person to really appreciate what you're doing.
- Conversely, there's some odd people who pride themselves on their lack of experience.
- You can do it for money or for fun.
- If you spend more time doing it than watching TV, people think you're some kind of freak.
- It's not really an appropriate topic for dinner conversation.
- There's not enough taught about it in public school.
- It doesn't make any sense at all if you try to explain it in strictly clinical terms.
- Some people are just naturally good.
- But some people will never realize how bad they are, and you're wasting your time trying to tell them.
- There are a few weirdos with bizarre practices nobody really is comfortable with.
- One little thing going wrong can ruin everything.
- It's a great way to spend a lunch break.
- Everyone acts like they're the first person to come up with a new technique.
- Everyone who's done it pokes fun at those who haven't.
- Beginners do a lot of clumsy fumbling about.
- You'll miss it if it's been a while.
- There's always someone willing to write about the only right way to do things.
- It doesn't go so well when you're drunk, but you're more likely to do it.
- Sometimes it's fun to use expensive toys.
- Other people just get in the way.
lol.........funny hehehe
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 :)
TAMA.....(ANG ALIN???)
BASTA TAMA..........
SABI NYO TAMA ....,,,,TAMA NA YUN......
my motto! Google is my friend!!!kapag hindi alam kung paano,isearch lang kay google.
May motto...Ligo is my friend..pag mejo namamaho..
ligo lang ng ligo...hehehe
WAAAAAAAAAAAAA!!!!!!!!!!
I really hate macro/VBA.. :'( :'(
^ hehehe. then don't use it (read: quit).
ahaha. every time na nagproprogram ako, talagang parang nagbburst ako. ahahaha
^^ 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..,
Meron nakapag try na ng flash catalyst dito? worth it ba matuto nito?
<?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 ';
}
print 'ng braso ko.';
?>
:P
^ hahaha yung isang sentence non-sense: "Ang kati kati ng braso ko".
btw anong language pala yan? :)
SELECT 'Fin' FROM Friends INNERJOIN 'Jean' FROM Friends WHERE Sex=True INNERJOIN 'Maria' FROM Friends WHERE Sex=True;
^^ Threesome?
EROTIC SQL.
^ syntax error ata sa part ng
innerjoin 'Jean' from friends
innerjoin 'Maria' from friends
@darkstar: COBOL much?
^^ CORRECT!! You have a gud eye ah. Hehehehehehe!!
inner join?
what about left outer join, right outer join, full outer join, cross join, natural join?
what about union and intersect?
lol
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...
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?
May web developers ba dito? I need tips for an entry level applicant like me +_+_+_+_+
@marvs - anong shape?
@hitad - anong tips kailangan mo? hehe
^^ 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]
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.
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
^ 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.
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.
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?
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?
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.
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.
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 ^_^
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.
^^ tuloy feel q n prang elder na q sa IT world.. Start working in IT when I was 19 pa.., Hehehehe..,
@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.
^^ napaflashback 2loy aq during my programming days.., OOP -Object Oriented Programming..
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.
^^ 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.,
^
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
@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).
@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.
Hello guys. Gusto ko sanang malaman ang importance and purpose of abstraction in OOP?
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 ^_^
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
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).
@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.
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 :)
^ Nope. You are talking about the OO concept of inheritance. The term abstract class is not really related to abstraction.
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
^ 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).
^^ yeah, i think IN nmn ngyn ang AJAX.. db combination ito ng Java at XML.. Asynchornous Java And XML = AJAX?
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.
}
?>
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.
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.
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.
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.
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.
^ 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.
^ 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.
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 :)
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.
@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.
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
^ 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.
thanks sa advice.. from the scratch ang aral ko sa ruby, thanks. you inspired :)
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
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
@marvin: OT - mukhang malaki yung referral incentive dyan a lol
^^ hmm.. well... not really.
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.
I've decided to self study java for this day lang. I'll see how it goes .
I believe madaming java masters dito :-*
^ so how's the cup of java?
similarity ang java at c# DAW, tama ba?
I have a book ng Java dati and self study lng madali lng din almost may similarity with C
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.
^ Java is a statically typed language, while PHP uses dynamic typing.
nalimutan qn magsulat ng PHP...
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?
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?
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....
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.
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?
^ 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, ....
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
try nyo both iterative and recursive implementation
^
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;
}
^ good. try to implement a function instead of a program
that's iterative. recursion is when a function calls itself
^
haha ganun ba. So vocabulary ko lang pala ang sablay :P
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 :)
^ portfolio? you mean resume or CV?
portfolio ng mga nagawa kong system.
thanks carpediem
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
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 :)
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.
It's summertime!
(http://i.imgur.com/n0GRR.png)
(http://i.imgur.com/fRF0l.jpg)
Thus spake the master programmer:
"Let the programmers be many and the managers few - then all will be productive."
from The Tao of Programming
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.
^ para saan ang auto-calling?
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
May introspection ba ang PHP? You need some sort of "hooks".
Di ko ma-gets. lol ;D
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)
Just researched about it. I'll read more about it. Meron siya sa PHP manual.
Thanks for telling me ;D
Do you guys agree that the best programmers are Mathematicians?
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
Agree
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?
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
pero para sa akin as long as you have the basics of programming + a good logic, you can always learn new languages. right?
^^ 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.
^ 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
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.
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..
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.
kanta tayo..
"Ang buhay programmer ay masayang tunay!
masayang tunay! masayang tunay!
Ang buhay programmer ay masayang tunay!
Masayang tunay!!!"
haha! +1000.
ito ay song version ng 'I love my job' mantra.
"Magprogram ay 'di biro
Maghapon nakaupo
'Di man lang makatayo
'Di man lang makayuko."
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
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
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.
Quote from: Chris on May 31, 2011, 12:45:18 AM
math + logic = programming
sabi ng isang teacher namin dati:
algorithms + data structures = program
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
^ 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.
Wow thanks carpediem. That was very fundamental. I commend you for that. Many thanks for explaining it!!
Galing...bow! Master
carpediem, isa kang dakilang nilalang
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
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)
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.
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
So how is ruby like? I'm like choosing between python and ruby as the next language I'll try to learn.
^ 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. :)
^
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...
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
@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.
@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]
Just discovered something new but still vague to me. The term is "closure" :-[
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.
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
baka eto nakita mo. someone explains closure in JS http://stackoverflow.com/questions/111102/how-do-javascript-closures-work
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!
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."
(http://lolsnaps.com/upload_pic/1844.jpg)
^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)
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.
Wow di ko alam yan ah. Uhmazing! :o
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.
^
Are we going to make a program for that?
O sasabihin lang kung ilang posibilitad? :)
Also ok lang mag recur yung isang no. ?
^ 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.
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.
^^^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.
^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)
essential skill na ang programming ngayon. basta may computer, may programming, and computers are everywhere.
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...
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.
@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!
@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
@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.
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.
^ I see. So you studied stuff like system analysis and design, project management, database systems, etc.
^
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
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.
^^^ :o Wow...
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
@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!
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..
@Kilo: Hmm, is she still in the country? Siya ba yung may popular blog?
anyone here familiar with edmx?
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 ~_~
array?
nasa isip ko kanina index.ahaha
kahit string results or array may do. I just really need to generate those names XD
lets wait for the expert, ahaha, carpediem, maykel and vortex :D
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...
^ Is it normal that my brain is like freezing lol..
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?
^
May VB parin yata. I've seen Visual Basic Express 2010 and it's free... I downloaded it from MS Site xD
It seems to be a converter of VB6 to VB .NET. Totally different ang VB6 and VB .NET.
Is that so. VB 6 lang ang nagamit ko at Delphi na event driven prog. lang.
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.
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
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.
^
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...
message niyo ako kung kailangan nio ng trabaho... meron ako alam. :)
anung work po?