I’ve posted a new primer — this one on git. It gives an overview of how git works conceptually and hopefully it can help it become more approachable for people who read it.
>> A git Primer
Four years ago I wrote about a way to encode the latitude and longitude of any point on the Earth’s surface to 10m of accuracy with a 10 character code. Apart from a modification to the way the check digit is calculated, the code remains unchanged.The idea is this: instead of giving people addresses, or coordinates, you can give them something like a post code for any point on the Earth’s surface. This can then be entered into a GPS device and decoded. Thus a business can provide its 10:10 code and know that people will be able to find it.
As computing resources continue to grow, efficiency falls further behind another concern when writing code, though. That concern is the cleanness of the code itself. Mostly, this boils down to readability and comprehensibility. Programmers need to be able to read and comprehend your code — programmers that will come along after you have moved on and even when you come back to your own code in six months.
Without readability and comprehensibility, you cannot easily reuse your code. You will be forced to reinvent the wheel many times over if you decide it is easier to write from scratch than use what you have already written when that would otherwise serve perfectly well. When writing open source software, the same problem applies to other people. Even worse when writing open source software, if your code is unreadable or — once read — incomprehensible, nobody else will bother looking at the code very much; you will not get any feedback on it other than (perhaps) complaints about that, you will not get code contributions, and ultimately your “open source” will be so opaque as to be effectively closed. It may be easier for others to just rewrite the needed functionality and put your project “out of business”. This is happening to GNU Screen right now.
I’ve always known this. An interface to a tool, and it’s ability to be understood and used properly, is more important than how effective it is. But this is only true when all tools are mostly effective. That’s why this has only become true in the last decade or so. Before then it was all about effectiveness.
Ideally, people would learn to program the same way “normal” people learn to play instruments: Slowly over several years, with lots of practice. However, this is not practical at the university level.
The foreign language model is closer to being practical. At Grand Valley, students study a foreign language for four semesters before beginning a serious study of literature and composition in that language. In theory, I think a similar model would for programming would be much more effective. As with foreign language, students could test into the appropriate place in the four-semester sequence. However, I see two problems.
Great analysis.
Description: Reports of crime that have been verified.
Agency Name: San Francisco Police Department
Time Period: Last 90 days rolling
Frequency: Daily
Location of dataset: http://apps.sfgov.org/datafiles/download.php?file=sfpd_incidents
Format: KML, shapefile, CSV
I love that great cities such as New York and San Francisco are making this type of data available.
Many are confused by the terms decompiler and disassembler. As with most confusion of this type, most just use the words interchangeably. Don’t do that; they are not the same.
Decompilers get you to source code; disassemblers get you to assembly. ::
The force is strong with this one.
Google today launched the Google API Explorer, a tool that lets developers explore the application programming interfaces the company has made available and even test the API functions without leaving the app.
The API Explorer supports the Buzz, Custom Search, Diacritize, Moderator, Shopping, Translate and URL Shortener APIs. Google plans to make more available fairly quickly.
tcpdump Tutoriallsof Introductiongit Primerfind Command lsof Commandtar Referencelsof TutorialDaniel Miessler | 1999-2012 | Share Alike
Powered by Linode