background preloader

Programming Methodology (Stanford)

Related:  Tutorials

Literature | 21L.007 World Literatures: Travel Writing, Fall 2008 History - Podcasts Downloads Nick Farina - An iOS Developer Takes on Android Recently, we released the Android version of Meridian, our platform for building location-based apps. We didn’t use one of these “Cross Platform!” tools like Titanium. We wrote it, from scratch, in Java, like you do in Android. We decided it was important to keep the native stuff native, and to respect each platform’s conventions as much as possible. Now, our platform leverages HTML5 (buzzword, sorry) in many places for branding and content display, so we got a fair amount of UI for free. So, we rolled up our sleeves, downloaded the Android SDK, and got to work. Development Environment Apple has made it pretty easy to start writing iOS apps. Android is a bit more involved. If you want to waste a week or so playing around and not getting work done, you could explore the many tempting alternatives to writing Java in Eclipse. But let’s assume you are on a deadline and want to do things the way that Google endorses. You’re going to just hate Eclipse. Eclipse is a world unto itself. Debugging

0.2 — Introduction to programming languages Todays computers are incredibly fast, and getting faster all the time. Yet with this speed comes some significant constraints. Computers only natively understand a very limited set of instructions, and must be told exactly what to do. The set of instructions that tells a computer what to do is known as software. The computer machinery that executes the instructions is the hardware. A computer’s CPU is incapable of speaking C++. For example, here is a x86 machine language instruction: 10110000 01100001 Second, each set of binary digits is translated by the CPU into an instruction that tells it to do a very specific job, such as compare these two numbers, or put this number in that memory location. Because machine language is so hard to program with, assembly language was invented. Here is the same instruction as above in assembly language: mov al, 061h To address these concerns, high-level programming languages were developed. Here is a simplified representation of the compiling process:

Stanford School of Engineering - Stanford Engineering Everywhere create your personal landing page & contact hub pixelhub By signing in you accept our privacy & legal notice. Please enter the email address you signed up with. We'll send you an email with further instructions (please also check your spam folder). Tell your friends: DooID user? pixelhubHomeWhat is .Pixelhub? © dooid 2014 | generating site … takes less than 5 minutes easy content publishing automated social media updates Easily build a beautiful website. Your website. What is .Pixelhub? Pixelhub is a plug 'n play website builder that allows you to create a crisp, stylish website that is super-easy to edit and almost impossible to mess up. "Pixelhub is different from other website creation applications because the platform encourages its users to build websites that are a reflection of their inner personalities." - Featured in: Check out some Personal Websites built with .Pixelhub: & Designer, Mexico City, MX & Designer, Poznan, Poland .Pixelhub Basic is 100% free. free $6/mo

Chosen - a javascript plug-in for jQuery and Prototype - makes select boxes better Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. Downloads Project Source Contribute Standard Select Turns This Into This Multiple Select <optgroup> Support Single Select with Groups Multiple Select with Groups Selected and Disabled Support Chosen automatically highlights selected options and removes disabled options. Single Select Multiple Select Hide Search on Single Select The disable_search_threshold option can be specified to hide the search input on single selects if there are n or fewer options. Default Text Support Chosen automatically sets the default field text ("Choose a country...") by reading the select element's data-placeholder value. Note: on single selects, the first element is assumed to be selected by the browser. No Results Text Support Setting the "No results" search text is as easy as passing an option when you create Chosen: Limit Selected Options in Multiselect You can easily limit how many options the user can select: Right to Left Support

Object Categorization This section describes approaches based on local 2D features and used to categorize objects. Note A complete Bag-Of-Words sample can be found at opencv_source_code/samples/cpp/bagofwords_classification.cpp(Python) An example using the features2D framework to perform object categorization can be found at opencv_source_code/samples/python2/ BOWTrainer class BOWTrainer Abstract base class for training the bag of visual words vocabulary from a set of descriptors. BOWTrainer::add Adds descriptors to a training set. C++: void BOWTrainer::add(const Mat& descriptors) The training set is clustered using clustermethod to construct the vocabulary. BOWTrainer::getDescriptors Returns a training set of descriptors. C++: const vector<Mat>& BOWTrainer::getDescriptors() const BOWTrainer::descripotorsCount Returns the count of all descriptors stored in the training set. C++: int BOWTrainer::descripotorsCount() const BOWTrainer::cluster Clusters train descriptors. C++: Mat BOWTrainer::cluster() const

YouTube U: The Power Of Stanford's Free Online Education If "Occupy X" is about protesting jagged inequalities, are we due to see "Occupy The Ivy’s" anytime soon? Tuition hikes and rising student debt are conspiring to make post-secondary education more wretchedly expensive every day. At least Stanford shouldn’t lose sleep worrying about encampments. This fall, it’s home to a radical experiment that involves putting three classic engineering classes entirely online, for anyone in the world, for free. Whether it’s an economically smart move for the university is unclear. But the program is a stunning experiment in both distance learning--and in broadening higher ed’s reach to the other 99%. In the late summer, professors leading three traditional Stanford classes--an introduction to AI, to databases and to machine learning--decided to offer their classes online for free to anyone in the world. Professor Andrew Ng is teaching machine learning; professor Jennifer Widom is serving up an introduction to database management.

Electronic Projects For Beginners I made a guide for those people who are still starting with their electronics hobby. I started connecting wires, batteries, bulbs, buzzers and motors when I was 4 years old . Now that I am 13 years old, I now have a good amount of experience to build complicated electronic circuits. Learning electronics isn't that easy but if you put love and passion to it, I assure you that you would enjoy building your own experiments. It takes years of jamming parts, soldering, gluing projects to become a good hobbyist. It took me hours to finish making this guide since there is no software editor in the Sibmit>Guide in the "Submit Instructable Section" I had to type every word and picture using HTML codes which I learned from school. These are my all time favorite projects in instructables, I find them simple and easy to make. How To Solder by: noahw Third Hand by: rstraught Making A Customized Circuit Board by: ASCAS How I built a Solar iPhone Charger ($50) by: akbrennan Basic Electronics by: randofo

architecture - How do I create my own programming language and a compiler for it - Programmers - Stack Exchange Bag-of-Features Descriptor on SIFT Features with OpenCV (BoF-SIFT) Download source VS2008 Project - 229 KB Introduction Content based image retrieval (CBIR) is still an active research field. There are a number of approaches available to retrieve visual data from large databases. You can find a brief description of BoF, SIFT, and how to obtain BoF from SIFT features (BoF-SIFT) with the source code from this article. If you are a developer of CBIR applications or a researcher of visual content analysis you may use this code for your application or for comparing with your own visual descriptor. Background BoF and SIFT are totally independent algorithms. SIFT - Scale Invariant Feature Transform Point like features are very popular in many fields including 3D reconstruction and image registration. The above image shows how a SIFT point is described using a histogram of gradient magnitude and direction around the feature point. Unlike color histogram descriptor or LBP like descriptors, SIFT algorithm does not give an overall impression of the image. 1.

Don't Get Audited! The IRS's Dirty Dozen Red Flags By Joy Taylor, assistant editor, The Kiplinger Tax Letter Ever wonder why some tax returns get intense scrutiny from the Internal Revenue Service while most are ignored? The agency doesn't have enough personnel and resources to examine each and every tax return filed during a year -- it audits only slightly more than 1% of all individual returns annually. So the odds are pretty low that your return will be picked for review. Here are 12 red flags that could increase your chances of drawing some unwanted attention: IRS Audit Red Flags: The Dirty Dozen Making Too Much Money Although the overall individual audit rate is about 1.11%, the odds increase dramatically for higher-income filers. We're not saying you should try to make less money -- everyone wants to be a millionaire. Share Facebook Twitter Google+ Email Pinterest Although the overall individual audit rate is about 1.11%, the odds increase dramatically for higher-income filers.

Sparse files – what, why, and how « UNIX Administratosphere Sparse files are basically just like any other file except that blocks that only contain zeros (i.e., nothing) are not actually stored on disk. This means you can have an apparently 16G file – with 16G of “data” – only taking up 1G of space on disk. This can be particularly useful in situations where the full disk may never be completely used. The operating system (which supports sparse files) knows that the block “exists” but is null, so it provides the zero-filled block out of thin air. There are problems with using sparse files. Another problem is that everything about disk management is based on how many sectors or blocks are used – and the disk size reported for a sparse file is the full size of the file (not the actual number of blocks on disk). Yet another problem is whether backup programs recognize or preserve sparse files. To get the ls command to report actual on-disk sizes (instead of just the file size typically reported) use these options: Here is an example, run on HP-UX:

Related:  StanfordLectures & Handouts