background preloader

Programming

Facebook Twitter

BeginnersGuide. New to programming? Python is free and easy to learn if you know where to start! This guide will help you to get started quickly. Chinese Translation/中文版入门 New to Python? Read BeginnersGuide/Overview for a short explanation of what Python is. Getting Python Next, install the Python 3 interpreter on your computer. There are also Python interpreter and IDE bundles available, such as Thonny. At some stage, you'll want to edit and save your program code.

Learning Python Next, read a tutorial and try some simple experiments with your new Python interpreter. If you have never programmed before, see BeginnersGuide/NonProgrammers for a list of suitable tutorials. Most tutorials assume that you know how to run a program on your computer. Some sites offer in-browser coding for those who want to learn Python: Print a cheat sheet of the most important Python features and post it to your office wall until you know the basics well. Need Help? Need help with any of this? Complete list of Beginner's Guide pages. 25+ Best PC repair Utility Tools. Most of the time our PC will get repaired for no reason. It may be due to some corrupt files or may be due to virus.

It’s really very difficult to predict what could have caused the problem. Sometimes even simple issue in registry can also make your PC to reboot automatically. We may think that this errors can’t be solved and almost everyone use to Format the windows drive. Here is the list of some of the best PC tools which are very useful for repairing and fixing the PC errors. Dial-a-fix is a collection of known fixes gleaned from Microsoft Knowledgebase articles, Microsoft MVPs, and other important support forums, that will assist you in repairing problems with your system. LSP-Fix is a free tool designed to fix internet connections damaged by malware or buggy software. This free tool allows you to view nearly everything on your system that is set to automatically run and goes far beyond the capabilities of MSConfig. Ever wonder which program has a certain file or folder open?

The MessagePack Project. How To Remotely Control Any Windows Computer | Guide Goods. Here is a nice prank you can pull on your friends. What were doing is like the title says remotely controlling any computer fast. In this prank you can make there computer Shutdown, Restart or Log Off. There are a few methods and steps you can do to pull this prank off. Method 1: Manually find your victims Ip Address. This involves going to there computer and going to Start-All Programs-Accessories-Command Prompt or Start-Run-And type, CMD. If you didn't know already the command prompt looks like this, From there type ipconfig and click Enter. Copy the Ip Address and your set. Method 2: Another way is to get their Ip Address is by finding a Ip Sniffer. Good we have managed to get our victims Ip Address.

Step 1: Go to the command prompt and type shutdown -i. Click on add then type the Ip Address . If you want you can leave a comment and a countdown. If you want to use this prank but the command prompt is not allowed go to Start-All Programs-Accessories-Notepad. Comment! The Joel Test: 12 Steps to Better Code. By Joel Spolsky Wednesday, August 09, 2000 Have you ever heard of SEMA? It's a fairly esoteric system for measuring how good a software team is. No, wait! The neat thing about The Joel Test is that it's easy to get a quick yes or no to each question. A score of 12 is perfect, 11 is tolerable, but 10 or lower and you've got serious problems. Of course, these are not the only factors that determine success or failure: in particular, if you have a great software team working on a product that nobody wants, well, people aren't going to want it. 1. 2.

If the process takes any more than one step, it is prone to errors. For this very reason, the last company I worked at switched from WISE to InstallShield: we required that the installation process be able to run, from a script, automatically, overnight, using the NT scheduler, and WISE couldn't run from the scheduler overnight, so we threw it out. 3. Read more about daily builds in my article Daily Builds are Your Friend. 4. 5. 6. 7. 8. 9. 10. The Go Programming Language.

Top 15 Security/Hacking Tools and Utilities | Teckh. Time Machine. HTML Quiz. Information Leak. Rediscover the Joy of Coding :: Sniff Out That Smelly Code. As time goes by, things go wrong with any body of code: we get lazy, bad developers contribute code, the original clean architecture gets forgotten, and so forth. Some bad code is easy to spot: it simply "smells" - once you see it, you know it's bad. Refactoring this sort of code to remove the smell isn't often that difficult - and the time taken will be repaid next time you have to make modifications.The following are my ten worst "odors" in code:1. Long FunctionsOver time functions often get longer and longer - extra functionality is added, edge cases are handled, and so forth. However, long functions are difficult to change, and difficult to understand.Each function should ideally do exactly one thing: you should be able to sum it up in one sentence (and the method name should be a summary of that sentence).If you find a function is getting too long, split it into sensible parts.

Void Foo() { try { // ... } catch( Exception e ) { // Throw exception away, or just log it. } } Data Structures and Algorithms with Object-Oriented Design Patte. Chapter 1. Installing Python. A Hidden Gem in HTML. I don’t know how one goes about finding these things, but someone noticed a weird source code for this page. It’s a very basic, unspectacular catalog page for Fujinon Binoculars. But take a look at the source code.

This screenshot is but a tiny part of the madness. Keep scrolling down the code for the full effect. I’ll wait. Apparently, the designer cares very deeply about the 8 point font. It was funny enough to get posted to b3ta and even made the weekly newsletter. This turned out to be about so much more than the 8 point font. Which doesn’t mean anything in itself, but take a look at the Google Earth view from Fujinon’s headquarters as you look toward Mount Fuji, as posted to b3ta. And then overlay the source code (seen in yellow here) onto the image. Just a bit of an “ooga-booga” moment, huh? [via b3ta] Intro - D Programming Language - Digital Mars. “It seems to me that most of the ‘new’ programming languages fall into one of two categories: Those from academia with radical new paradigms and those from large corporations with a focus on RAD and the web.

Maybe it’s time for a new language born out of practical experience implementing compilers.” -- Michael “Great, just what I need.. another D in programming.” -- Segfault D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with the programmer productivity of modern languages like Ruby and Python. Special attention is given to the needs of quality assurance, documentation, management, portability and reliability.

The D language is statically typed and compiles directly to machine code. It is not governed by a corporate agenda or any overarching theory of programming. There are two versions of the language: D version 2 which is recommended for new projects. D version 1 which is in maintenance mode. LLVM D Compiler ldc for D version 1.

WTF Code.