background preloader

Chapter 1. Installing Python

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. 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] 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. void Foo() { try { // ... } catch( Exception e ) { // Throw exception away, or just log it. } } In general, doing nothing with an exception is a mark of bad code. // This is hacky...// TODO: This is bad. ...then you know something needs to be done.9.

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. 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. There are currently four implementations: Digital Mars dmd for Windows 1.0 2.0 , x86 Linux 1.0 2.0 , Mac OS X 1.0 2.0 , and x86 FreeBSD 1.0 , 2.0 . LLVM D Compiler ldc for D version 1. Gnu D compiler gdc . D.NET compiler alpha for .NET for D version 2.

The Joel Test: 12 Steps to Better Code by Joel Spolsky Wednesday, August 09, 2000 Have you ever heard of SEMA? 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. Breaking the build is so bad (and so common) that it helps to make daily builds, to insure that no breakage goes unnoticed. 4. Bug databases can be complicated or simple. 5. 6.

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. 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. Great your done, now you can use this prank where ever you, want when ever you want. Comment! Get all our new articles sent straight to your email!

The MessagePack Project 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. 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? RawCopy is a tool designed to copy the contents of one harddrive to another. Unlocker helps delete locked files with error messages like: I hope that you guys like my collection of software.

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

Related: