Spiga

Programming Scientists

Part VII Form How to be Programmer

Programming scientists are very advanced programmers, who instead of working on developing applications, work on developing computing technologies such as encryption, programming languages and data mining algorithms. This level is seldom achieved without academic study and dedication.
1. Accumulate the scientific knowledge equivalent to a B.A./Diploma degree in computer science. This can be done either by:
o Taking an actual academic degree (which is what usually happens)
o Getting the courses' outlines for such a degree from one of the modern universities and taking the courses either by self study or as separate courses. This could be achieved theoretically, but the recommended path is the first.
2. Decide a field of specialty. The more specific, the better. This depends on your preferences, however, here is a list of some of the major topics in computer programming science:
o Algorithm Design (searching, sorting, encryption, decryption ans error detection in communications are some examples)
o Programming Languages/Compiler Design/Optimization
o Artificial Intelligence fields (Pattern recognition, Speech recognition, Natural language processing, Neural Networks)
o Robotics
o Scientific programming
o Supercomputing
o Computer Aided Design/Modeling (CAD/CAM)
o Virtual reality
o Computer graphics - Computer graphics is usually wrongly confused with graphical design or graphical user interface design. Computer graphics is the field of studying how to represent and manipulate graphics in computer systems.
3. Consider getting a higher academic degree such as M.A. or even PhD.
4. Learn the technologies and programming languages related to your programming field of choice.

Source : wikihow.com

System Programmers

Part VI from How To Be Programmer

Programming scientists deal with the science of programming not the specific implementations of it. Do not tie yourself to a specific platform.
1. Follow the first three steps for Desktop Applications Programmers.
2. Take an introductory course in Linear Algebra.
3. Take a course in Calculus.
4. Take a course in Logic and/or Discrete Mathematics.
5. Introduce yourself to different bare operating systems. This can be done by:
o Getting an idea on how operating systems are installed.
o Learning how to install different operating systems on one PC(This is optional but recommended).
o Installing more than one operating system. Do not install any helping packages on the systems, use the bare functionalities provided by the operating systems.
6. Take a course(or alternatively read books) on computer hardware architecture.
7. Develop an understanding of the different computer hardware platforms.
8. Get an introductory familiarization with the assembly language of the hardware platform/operating system of choice (you will later learn the assembly of other platforms/systems)
9. Learn the ANSI C and C++ languages, along with the concepts of procedural programming.
10. Understand and practice C/C++ standard libraries on the platform of choice especially Standard Template Library (STL) and maybe Active Template Library (ATL).
11. Search online resources, books and courses to get an understanding of the C-flavor of your specific platform.
12. Practice creating advanced code with C and C++.
13. Learn more advanced Assembly
14. Take a course in operating systems design
15. Find and read documentations of your specific platform of choice(this will be easier if you choose a Unix-based operating system). Understand the system you will be working with later very well.
16. Practice your acquired knowledge. First create small system utilities. It is usually useful to:
o Trying to recreate small tools that are already there on your system.
o Trying to port utilities available in other operating systems to yours.
17. This is the only place were the first programming language matters. Learn ANSI C first, not C++, not C#, not Java and not D. Then learn C++.
18. Restricting the first language to C and C alone is because systems programming requires that the programmer be familiar with the following concepts:
o Real and full compilation of source code.
o Low level object output files.
o Linking binaries.
o Low level machine-language/assembly programming. The C language is said to be a disguised/easier to learn assembly by some. It also supports inserting assembly language code in code whenever you please and it is only procedural (like assembly).


Computer and Information Scientists, Research in the USA have a Mean Annual Salary of $100,640

Source : Wikihow.com

Library/Platform/Framework/Core Programmers

Part V from How To be Programmer

Core programmers are merely advanced programmers who made the transfer from programming applications to programming code units to be used by other programmers.
1. Learn a programming language that supports building reusable components/packages if you have not done so already in 1.
2. Take an advanced course in UML and ORM. Most library developers use one or both of them.
3. Take a course in software engineering.
4. Learn at least modular, component-based, object oriented, and event-driven programming techniques and concepts. The more programming paradigms and languages you cover the more successful you become as a library/package programmer.
5. Learn more about the different operating systems and programming frameworks supported by these operating systems.
6. Focus your learning efforts on platform-independent frameworks, programming languages and technologies.
7. If the programming languages you learned so far have ANSI/ISO/IEEE/W3C standard versions, master the standards. Try to use standard code whenever possible.
8. Try to mimic simple, already established libraries, especially open-source ones. This is useful during the early phase of becoming a library/package programmer. Start with simple packages like units conversion and intermediate scientific calculations packages. If you are a collage student, make use of your non-programming courses by trying to implement their equations and scientific core as libraries.
9. Search for and try open-source packages in your field of programming. First download binaries/executables of the package. Try to use it and find its strong and weak points. After you've done that, download the source and try to figure out how it was done. Try to recreate those libraries or parts of them. At first do that after you've seen the code and later before you see the code. At later phases, try improving those libraries.
10. Learn the different approaches used to distribute and deploy components to programmers
11. Usually, library/package programmers tend to think recursively and/or iteratively of all problems they are presented with. Try to think of each problem as a collection of smaller problems (a sequence of simpler tasks) or as a repeated process of reducing the problem's scope to smaller scopes and then piling those scopes upon each other.
12. Library/package programmers tend to generalize. That is, when presented with a simple specific problem, they usually think of a more general problem and try to solve that general problem which will automatically solve the smaller one.

Source : wikihow.com

Distributed Applications Programmers

Part IV from How to be Programmer

Distributed application programming is considered by many to be one of the hardest to learn and requires diverse knowledge in computer and communication technologies.
1. Take a speed introduction to telephony systems and their hardware. This step is optional. However, it is very useful in understanding network topologies.
2. Familiarize yourself with networking hardware architectures and devices such as hubs, switches and routers.
3. Take a course in networking protocols and essentials. You need a good understanding of the Open Systems Interconnection (OSI) model, Ethernet, IP, TCP, UDP and HTTP before you start programming distributed applications.
4. Learn the XML language and familiarize yourself with it.
5. Do step 2 and 3 in "prepare yourself for desktop application programming"
6. Start by learning a shell scripting language. For Windows based programming, that would be any script that works with Windows Scripting Host. For Linux based programming, Bash scripts and Perl will be sufficient. Javascript is strongly recommended for this in both platforms for the following reasons:
o It is supported by almost any scripting host in any operating system (Windows Scripting Host supports javascript by default, most Linux distributions has a package for javascript scripting console support).
o It is considered to be easier to learn by many developers.
o It has an ALGOL derived syntax which familiarizes you with much more other programming languages when you need to choose a second programming language (C, C++, C#, Java and J# all have ALGOL derived syntax)
o By learning javascript, you familiarize yourself with client-side scripting of web pages which is a bonus side-effect!
7. Apply only procedural programming using your scripting language of choice at first. Later, you can use more advanced programming techniques and paradigms according to your scripting language and what it supports. All scripting languages has some procedural programming aspects at some level.
8. Use the scripting language you learned to write scripts that perform communications between machines. Learn what is necessary for doing that. Simple communications will suffice.
9. Make a transfer to a desktop scripting/programming language. Preferably, one that is a multi-paradigm language such as Python. Take a simple introduction to that second language. Java is considered by most programmers to be the language of choice for many reasons. However C# is gaining momentum fast in this field. Java and C# are preferred for the following reasons:
o They are object oriented programming languages which shields programmers in large teams from implementation details as they both supports components (units of code, pre-compiled, that perform a certain task and can be used in other programs)
o They support event driven programming as well as OO and procedural programming at some level.
o The framework that the language is built upon is distributed by nature (in the case of Java).
o The availability of many ready-made packages that deal with networking both as open source code and framework built-in packages; makes it easier for programmers to build upon the work of others.
10. Concentrate more on the core features of the language, especially those supporting networking. Pay less attention to user interface elements such as outputting, window design and techniques, and user interface elements.
11. Take a course on distributed applications design and architectures. This can be done using books, online tutorials or academic courses. However, understanding the architecture of distributed applications and its concepts is necessary.
12. Learn about building serviced components and services using your programming language of choice.
13. Learn one or more of the following technologies. It is recommended that you get at least an introduction to all of them. Most distributed application programmers do not stop at one or two programming languages, but learn at least one programming language on each operating system. That is because if you want your application to be "distributed", you should provide a version of it at least for each major operating system.
o Common Object Request Broker Architecture (CORBA)
o Simple Object Access Protocol (SOAP)
o Asynchronous JavaScript and XML (AJAX)
o Distributed Component Object Model (DCOM)
o .NET Remoting
o XML Web Services


Source : wikihow.com

Desktop Application Programmers

Part III From How to be Programmer

Most desktop programmers write code for business solutions, so getting an idea about businesses, their organizational and financial structure will be a big time saver.
1. Learn about the different computer hardware architectures. An introductory level course in digital circuits design and another in computer architecture is useful, however, some see it as being advanced for a starting point, so reading two or three tutorial articles [1] [2] might suffice, then you can go back to this step later, after you learn your first programming language.
2. Learn an entry level (kids) programming language[13]. Don't be shy to learn such a language just because you're older than being called a "kid". These programming languages can ease up the pain in learning your first programming language tremendously. However, this step is optional. It can also be done before the preceding step
3. Get an introduction to the procedural, object oriented, and functional programming paradigms.
4. Take an introductory course in one of the procedural programming languages. No matter what language you choose later to be your language of choice, it will require procedural programming at some level. Also, procedural programming is reported by most programmers to be the easiest to use as a starting point to get the idea of programming in general.
5. Learn at least one advanced modeling technique such as UML or ORM.
6. Start writing some small console or console-like applications (you can make use of common small exercises in programming languages books)
7. Take a more advanced course in the programming language you choose in 1. Make sure you understand the following concepts well and that you can apply them with relative ease before going forward:
o Inputting and outputting information to users of a program.
o The logical flow and the execution flow of programs in procedural languages.
o Declaring, assigning and comparing variables.
o Branching programming constructs such as if..then..else and select/switch..case.
o Looping constructs such as while..do, do..while/until, for..next.
o Your programming language syntax for creating and calling procedures and functions.
o Data types and manipulating them.
o User defined data types (records/structs/units) and their use.
o If your language supports overloading functions, understand it.
o The memory accessing methods of your language of choice (pointers, peeking..etc)
o If your language supports operators overloading, understand it.
o If your language supports delegates/function pointers, understand it
8. Apply the advanced techniques you learned.
9. Take an introductory course in at least one more programming language in another programming paradigm, preferably one of the following paradigms (it is recommended to learn one programming language of each paradigm, and most advanced programmers do, however, you usually start with one, work for a while applying your knowledge and practicing it, then learn the other later on, after you already had a real-life experience in programming).
o Object oriented paradigm.
o Logic programming paradigm.
o Functional programming paradigm.
10. Try to compare the two programming languages you learned so far to see the strengths and weaknesses of each one. Usually this is done by:
o Taking simple samples of your early work in the first programming language and re-write it using the second programming language.
o Creating a new project and try implementing it using both languages. Sometimes, depending on your choice of project and languages, you might not be able to implement the project in one of the languages!
o Writing a cheat-sheet or summary-table comparisons between similar constructs in the two languages and features unique to each of the languages.
o Try finding ways to mimic features that is unique to one of the two languages using the other language.
11. Learn visual programming concepts using one of the languages you learned (almost all programming languages have versions/libraries that support visual programming and others supporting console or console-like programming). This can be accomplished by:
o Get an introduction to event driven programming. Most visual programming relies in some level on events and events handling (using the programming language you choose)
o Try as many desktop software as you can and understand what the software does. Most software development companies offer beta-testing versions of their products which you can use to test the software. Keep up to date on user interface advancements.
o Read some articles or tutorials on graphical user interfaces.
12. Start applying your knowledge on small software projects you design. Try applying your programming expertise on problems you face in your day-to-day life. For example, write programs that rename files in mass, compares text files visually, copies the names of files in a directory to memory/text file, and things like that. Keep it simple at first.
13. Create a virtual graduation project which you should complete to the end, applying the techniques of visual programming you learned so far.
14. Widen your understanding of the visual framework/library/package you learned before by taking advanced courses, paying extra attention to detail and learning more tips and tricks for your framework from online resources.
15. Search for other packages/libraries of visual elements for your programming languages and learn them.
16. Taking a course in graphics (not graphics design) will be very helpful for programmers welling to write appealing user interface elements.
17. Game programming is considered, in most of its parts, desktop programming. If you intend to become a games programmer, you will need to learn more about game programming after you finish these steps. A graphics course is a must for game programmers and the second language of choice in the preceding steps should be a logic/functional programming language (preferably Prolog or Lisp).


Distributed applications use services and serviced components to distribute the workload of a big computing task

Source : wikihow.com

Web Programmers

Part II From How to be Programmer

Web applications reside in a web server and are accessed via a web browser
Web applications are software components designed to work on top of the internet architecture. This means that the applications is accessed through a web browser software such as Firefox or Internet Explorer. Being built on top of the Internet architecture does not necessarily require an active connection to the internet. It means that web applications are built on top of standard web technologies such as HTTP, FTP, POP3, SMTP, TCP, and IP protocols, HTML, XML, Coldfusion, ASP, JSP, PHP and ASP.NET languages along with many other web technologies. Corporate intranets are examples of web applications that might not require an active internet connection.
1. Browse many diverse websites to learn about how they usually look like. (right click, then click view source) The diversity meant is in the type/content of the website not the quantity of websites visited. Generally, you will need to visit at least one site belonging to each of the following types of websites:
o Corporate Presence Sites (Commercial corporate, Not-for-profit corporate/organization, Governmental organization)
o Web Indexing Engines (Search Engine, Meta Search Site, Specialized Search Engines, Directories)
o Data Mining Sites
o Personal Sites
o Informational/Encyclopedic Pages (Wikis, Data Sheets, Technical Specification, and Manuals Listing Directories, Blogs and Journals, News and News Agencies Sites, Yellow Pages)
o Social Sites (Social Portals, Bookmarking Sites, Note Taking Sites)
o Collaborative Sites (this includes other categories mentioned above like wikis and blogs)
2. Learn at least one brainstorming technique/method and a software that is used to implement that method (for example: brainstorming diagrams and MS Visio)
3. Get familiar with website structuring (creating conceptual web diagrams, site-maps, and navigation structures).
4. Take a crash course on graphics design and learn at least one graphics editing/manipulation software package (this is optional but strongly recommended)
5. Learn the basics of the internet infrastructure. This includes getting a basic idea about:
o Base web services protocols (HTTP, FTP, SMTP, and POP3 or IMAP4)
o Web server software (preferably, one for the platform you will be working on mostly)
o Web browsing software.
o Email server and client software
6. Learn the HTML and CSS languages, along with some "what you see is what you get(WYSIWYG)" software package for editing HTML.
7. Learn XML and XML related technologies such as XSL and XPath (optional but recommended)
8. Create simple static websites until you are familiar with and comfortable around HTML
9. Learn a client-side scripting language (most users either learn Javascript or VBScript, but some learn Perl or another language instead) and DHTML
10. Familiarize yourself with the client side scripting language you learned. Try to reach your potential using only that language. Only go to the next step after you've at least become familiar with your client-side scripting language
11. Learn at least one server side programming language. If you choose to restrict yourself to one server software, learn one of the programming languages supported by that software. If not, learn at least one programming language on each server software.
12. Create a pilot project for yourself after you finish learning the server-side programming language.
13. Obtain your own website and start experimenting online within your own page.

Source : Wikihow.com

How to be Programmer

1. Prepare yourself for becoming a programmer:
o Take at least one introductory course in Mathematics (i.e. introductory calculus as it significantly improves your experience as a programmer).
o Take an introductory course in logic, discrete Mathematics or both.
o Learn at least one of the following program conception techniques. As you advance in programming you'll need to learn almost all of them. The methods are listed in the most often used order.
- Flow Charting (globally considered the easiest to learn)
- Pseudo-Code
- Unified Modeling Language (UML)
- Object Relational Mapping (ORM)
1. Learn simple database concepts such as tables, views/queries and procedures. You can use any simple database package to do this, such as MS access, DB V, Fox Pro, Paradox. MySQL is a particularly good database to learn because it's free, commonly used, and databases are commonly accessed with SQL queries.
2. Learn about programming paradigms (an introduction is enough for now), the most important being procedural, object oriented, functional,logic and declarative programming.

2. Decide what type of programmer you are/want to be. Programmers generally fall under one of the following categories:
Web Programmer
Desktop Application Programmer
Operating System (OS) Oriented (tied to a single operating system or set of operating systems)
Platform Independent
Distributed Applications Programmer
Library/Platform/Framework/Core Programmer
o System Programmer
 Kernel Programmer
 Driver Programmer
 Compiler Programmer
o Programming Scientist

3. Learn the technologies and programming languages related to your programming field of choice.

Source :Wikihow.com

Powerfull Searching With Microsoft Access



Background I Create this Toturial because I wish to collect my friends data and also easily do searching with only typing of random keyword, I can to find the data in table.
Only with Microsoft access.

Making simple program for the Searching of data with Microsoft Access we can do with step following.

Create a table in Microsoft access, Design table like this :




Picture 1 : Desain Table.

Try input some data of your freinds.

Now try to make a form, by click Object Form, select New, at window designed form select Form wizard -> OK., corresponding to picture hereunder.



Picture 2 : Create of Form.


Enter in mode of Design view, right click at form select;choose Properties.
Arrange properties following
Record selector = No.

Then form background setting become white colour by right click form > Fillback Collor, Chose white colour

Arrange all box text properties :
Back Style : Transparent
Border Style : Transparent

Adding 1 Object of Frame at Header Form
Add 3 Object of Option, placing in Frame
Add each 1 TextBox and 1 Button.

To make procedure searching of data, Right click Button Command, Click Menu of Build Event.. last selected Code Builder
type this code in window code.

Option Compare Database

Private Sub Command19_Click()
Dim SqlName As String
Dim SqlEmail As String
Dim SqlBlog As String

If IsNull(Me.Text20) Then
MsgBox ("Please input a word before search..."), vbOKOnly, "Pesan"
Exit Sub
End If

If Me.Frame6 = 1 Then
SqlName = "Select Name, email, blog from Freinds where name like '*" & Me.Text20 & "*'"
Me.RecordSource = SqlName
ElseIf Me.Frame6 = 2 Then
SqlEmail = "Select Name, email, blog from Freinds where email like '*" & Me.Text20 & "*'"
Me.RecordSource = SqlEmail
Else
SqlBlog = "Select Name, email, Blog from Freinds where blog like '*" & Me.Text20 & "*'"
Me.RecordSource = SqlBlog
End If

End Sub

Adding a Button command at Header Form and give Caption “Browse All Data”
This step is equal to Command Button before all for the typing of code.
This Button Command function to present all datas in table.
Following this Code :

Private Sub Command21_Click()
Dim SqlAll As String

SqlAll = "Select * from freinds"
Me.RecordSource = SqlAll
End Sub

This our practice end result :



Picture 3 : End Result.

To add and edit data, you can do direct in Form.
That way simple tutorial of Microsoft Access, useful hopefully .

You can download Database File here : Freinds.rar

DATA MANIPULATION WITH VISUAL BASIC.NET 2005 (PART I)


Input, Edit, Delete is standard program which always there at the time of a programmer make application.

In this article I try submitting way of making Input, Edit and Delete. We will use Supplier data that I create in SQL Server 2005.

This Article very simple to be practiced, For the friend of beginner of this article hopefully can assist in deepening knowledge of programming.

Please Download the Article in Microsoft Word format and name of file partI.zip (56.55KB)

Thanks,

See you in next article.

Source of image : http://n6299105.blogspot.com/2008_05_01_archive.html

AlternatingRows DataGridView in Visual Basic.NET 2005


AlternatingRows DataGridView in Visual Basic.NET 2005








Create a procedure like below , I give name of Datagridview GridSupplier and procedure with name GridBerwarna

Sub GridBerwarna()
With Me.GridSupplier
.RowsDefaultCellStyle.BackColor = Color.BlanchedAlmond
.AlternatingRowsDefaultCellStyle.BackColor = Color.Azure
End With
End Sub

Then we call the procedure like this :


‘ Prosedur panggildata
Sub PanggilData()

’ Another code here….

……………

……………

……………


Call GridBerwarna()

End Sub

Related Links

BlogCatalog

free counters