Forgot password? Sign Up

Blogs about: Programming

The best in Programming-related posts from around the WordPress.com community, updated daily.

Featured Posts
The Latest Posts in Programming
Recently posted on WordPress.com Subscribe
Notiziario online
FRANCESCO DI FUSCO

Notiziario online. Compattare un array dinamico di numeri interi. dopo aver eliminato eventuali numeri perfetti

How to become a good programmer or may be a good coder?
Life is toooo short.Use C++

Okay Fellas, So lately a lot of newbies to the programming world google “how to become a good programmer” and yeah even i did.And that too in second year.That’s too late.I have been getting comments on my blog which I delete, and worst of all ,facebook friend requests from random girls and asking problems such as how much to code or which book to read,Blah Blah Blah. What the fuck I know ? I am just a kid at 19 who is not so bad not so good.But they do get insistent and I’m never smart enough to keep silent and still not come out as rude.However what I am tempted to tell you all is some conventional stuff – read maths, code a lot, code clean,programming languages,books and other shit. I have seen lot of people who lacks interest in the practical version of theory in my class.After all,the stuff we learn in our college(aka School) is not going to help you in industry or firm unless you don’t have a practical implemantation for the same.All i want is t

Selamat Jalan, Ya
ANTARA AKU DAN KAU
Friday Linked List (06/01/12)
Art & Logic Developer Blog
Cargo-Bot App
ICS iPad Tools
Learning Terminal (OS X) Part 2: Starting
Mahbubzaman's Blog

How to open Terminal, well there are several ways to do that 1. Open spotlight (cmd + space) and write terminal (like Windows + r then cmd) 2. Open Launchpad and then under Utilities you have terminal 3. Keep the terminal in the Dock 4. Make keyboard shortcut http://www.shadowlab.org/Software/spark.php http://www.red-sweater.com/fastscripts/ Now if you want any help regarding any commands Type man yourCommand man ls If you want to change the Terminal look, go to Preferences (cmd + ,) and change it your own way. You can set a background image also

The Constructor Pattern
sweden::erasmusLife

JavaScriptにクラスの概念はありませんが,functionをコンストラクタのように動作させる,つまりその関数によって創りだすオブジェクトを初期化することでコンストラクタの機能をサポートしています. C++等と同様`this`により生成オブジェクトを参照します. // the constructor pattern function Bass(name, year, owner) { this.name = name; this.year = year; this.owner = owner; this.toString = function() { return this.maker + "was crafted in" + this.year "."; }; } 実際にそのオブジェクトを生成するには,例えば以下のようにできます. var bass1 = new Bass("Yamaha", 1990, "John"); var bass2 = new Bass("Fender", 1966, "Kameda"); console.log(bass1.toString()); console.log(bass2.toString()); ただこれだと,継承が定義し難い,新しくオブジェクトができるたびにtoString()を再定義してしまうなどの問題点があります(こういった関数は同じクラスのオブジェクト全てで共有されるべき).よって以下のようにprototypeを用います.この場合は各Bassオブジェクトが共通のprototype関数にアクセスします. // the constructor pattern function Bass(name, year, owner) { this.name = name; this.year = year; this.owner = owner; } // prototype Bass.prototype.toString = function() { return this.name + " was crafted in " + this.year + ".";

Why I love coding
Henrik Warne's blog

I love coding. Ever since I bought my first computer (a VIC-20), I’ve been fascinated by computer programming. For many years I never thought of why I enjoyed it so much – I just knew I did. But that changed when I read The Mythical Man-Month by Fred Brooks. Most people associate that book with Brooks’s law: adding people to a late project makes it later. But for me, that is not the best part of the book. The best part is one page at the end of chapter one, entitled The Joys of the Craft. There, Fred Brooks quite eloquently put into words what I love about coding. 1. The sheer joy of making things. Programming is fundamentally about creating  solutions to problems. At the end of the day, you have created something that didn’t exist that morning, and that is in and of itself satisfying. 2. The pleasure of making things that are useful to other people. One of most satisfying aspects of the job as a programmer is seeing code you wrote deployed in a live system and

TODO rarely gets revist
Sharing thoughts

How many times have you forgotten to go back to TODO stuff & fix it? I don’t think I have for even 5-10% of times. They usually are left there forever. I’m NOT suggesting not to use it but be caution with it, use some sort of tool (Most IDEs have that) to find out TODO & fix it. Making it part of your Sprints will streamline the process of fixing TODOs.

11340 – Newspaper
A path through UVa

// // main.cpp // 11340 - Newspaper // // Created by Panks on 31/05/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #include <iostream> #include <map> #include <cstdio> using namespace std; int main (int argc, const char * argv[]) { int t,in; double answer; char letter; int vals; string line; map<char, int> values; cin>>t; while (t--) { answer=0; cin>>in; while (in--) { cin>>letter>>vals; values.insert(pair<char, int>(letter, vals)); } cin>>in; getchar(); while (in--) { getline(cin, line); for (int i=0; i<line.size() ; i++) { if (values[line[i]]) { answer+=values[line[i]]; } } } answer/=100; printf("%.2f$\n", answer); values.clear(); } return 0; }

Werner Loewe, FH5 FSA, Horiz. Milling Machine Operating Instructions Manual 1959
Industrial Machinery Manuals Blog

http://www.industrialmanuals.com/werner-loewe-horiz-milling-machine-operating-instructions-manual-1959-p-2299.php   Werner Loewe, FH5 FSA, Horizontal Milling Machine, English & German, Operating Instructions Manual Year (1959) This Manual Covers Models: FH5 FSA Fritz Werner This Manual Includes: Wiring Diagrams General Arrangement Drawing Specifications General Instructions Installing instructions Construction Details Electrical Equipment Operation Maintenance Appendix This Manual Has  55 Printed Pages. Year 1959 http://www.industrialmanuals.com This Manual Includes: Operation Manuals Maintenance Manuals Covers Models: FH5 FSA Categories: Horizontal Milling Machines Manufacturer: Werner

Learn How To Hack Tutorials
learnhowtohacktutorial

There are different methods of coughing somebody’s e-mail account. However, an online coughing software can fix all your problems in just a few moments as when in comparison to other methods. Googlemail records are the mostly used e-mail options on the globe. This is the most well-known foundation where individuals discuss electronic mails, images and records. Moreover, individuals socialize with each other through talk programs or search engines plus. Sometimes, for having each and every details about them and to keep an eye on your associate , you want to see his/ her consideration actions. However, it may be possible that your associate does not tell you about his/her account details. In that situation, you experience disappointed and think that there may be some application through which you can become able to know the code of your lover’s consideration or you can understand how to compromise into. However, you will get the remedy to all your issues in the following par

Open Quicksilver selection in new iTerm window / tab
Genba's Tech Thoughts

I’m not very happy with the iTerm plugin for Quicksilver. It does provide an action for opening Quicksilver’s current selection (i.e. an alias to a directory) in iTerm, but it isn’t very fine tuned, actually. What it does is just open current selection into a new tab in the first opened iTerm window, which is an unwanted behavior in the 99.999999% of the occasions. The most handy behavior would be that the Quicksilver action opened current selection either in a new window (if there are no iTerm windows in your current Space) or in a new tab in the frontmost iTerm window of the current Space (if there are iTerm window in your current Space). Writing the scripts Given that this has bothered me since the very first time I used this Quicksilver action and that I’m surprisingly keen on hacking a bit, I’ve taken courage and started researching AppleScript in the net. After taking a quick look at some introductory material and taking some inspiration, and making

Lotus Traveler and iPhone agenda mark private
myLife2.0

One of my manager dislikes the switch from blackberry to iphone because he couldn’t set his calendar entries as private. Of course you should care about the issues of you VIP. To manage this, I have done the following : 1. Add a view to his database which display the caldendar entries with a “#” in the subject. 2. Create an agent in a second database which monitor a list of mail databases every 5 minutes. 3. The agent process all the entries in the view and remove then from the view. Each document is mark as private… The VIP has only to put a “#” in the description of the caldendar entry. Simple but not perfect, there is a window of 5 minutes in which the document is not private… I haven’t found a better handler to manage it… I could give you the database if you are interested. Greetings