How To Set Up An SVN Repository In 7 Simple Steps. For some time now, I've wanted to have an svn set up on my shared web host similar to what we have here at civicactions.
Having to make changes on my local machine for any personal (non-civicactions client) sites, then scp those files up to my server is ridiculous -- especially since when working on client sites, I've become so used to simply commiting the changes to a repository and then updating that repository on the server side. All that said though, I kept putting off the svn set up because as a simple drupal and civicrm developer, I was afraid that a system admin task like setting up svn would be too involved and maybe a bit over my head. Turns out, I should've done it months ago. It's crazy easy! Step 1 Make sure that svn is installed on your web host. Which svn Lucky for me, my shared host already had svn installed at /usr/bin/svn. Step 2 Create your repository.
Svnadmin create ~/myrepository Step 3 pico ~/myrepository/conf/svnserve.conf and add the following: Step 4 Step 5 svnserve -d. Learn Shortcuts. Work Faster. Vim Commands, Photoshop Shortcuts, Unix Commands, Sublime Shortcuts, or any Editor. Source Checkout - cse481k - Game-based Interface group. Your startup needs a dashboard. Your startup is logging hundreds of metrics.
If it isn’t, you should fix that right now. Your users are awesome – most of the metrics update a few times a second, the slowest only a few times a minute. So how often do you parse those logs and look for what they’re trying to say? Draw a graph or twenty? Once a week? If you’re anything like me, the answer is practically never. Okay … you and I just admitted to only checking up on vital metrics every ~1,200,000 data points. Well, there’s your problem! Stats, not logs About a year ago Zemanta was operating perfectly. Except for a tiny detail – it took them six months to discover that under the right conditions something stopped working. That’s when they started building this: A dashboard of everything! Anyone who knows what’s going on can instantly see if something is wrong. Everything. When I was there to take a look, everything suddenly went red. The perfect setup Making a dashboard of all your metrics is surprisingly simple. 20 lines of code that will beat A/B testing every time.
Zwibbler is a drop-in solution that lets users draw on your web site.
A/B testing is used far too often, for something that performs so badly. It is defective by design: Segment users into two groups. Show the A group the old, tried and true stuff. Show the B group the new whiz-bang design with the bigger buttons and slightly different copy. After a while, take a look at the stats and figure out which group presses the button more often. In recent years, hundreds of the brightest minds of modern civilization have been hard at work not curing cancer. With a simple 20-line change to how A/B testing works, that you can implement today, you can always do better than A/B testing -- sometimes, two or three times better. It can reasonably handle more than two options at once.. The Multi-armed bandit problem The multi-armed bandit problem takes its terminology from a casino. Like many techniques in machine learning, the simplest strategy is hard to beat.
Why does this work? More blog entries. How to be a Programmer: A Short, Comprehensive, and Personal Summary. Debugging is the cornerstone of being a programmer.
The first meaning of the verb to debug is to remove errors, but the meaning that really matters is to see into the execution of a program by examining it. A programmer that cannot debug effectively is blind. Idealists that think design, or analysis, or complexity theory, or whatnot, are more fundamental are not working programmers. The working programmer does not live in an ideal world.
Even if you are perfect, your are surrounded by and must interact with code written by major software companies, organizations like GNU, and your colleagues. Debugging is about the running of programs, not programs themselves. To get visibility into the execution of a program you must be able to execute the code and observe something about it. The common ways of looking into the ‘innards’ of an executing program can be categorized as: Some beginners fear debugging when it requires modifying code.
How to Debug by Splitting the Problem Space. Free Classes. Awesome Instructors. Inspiring Community. When does the course begin?
This class is self paced. You can begin whenever you like and then follow your own pace. It’s a good idea to set goals for yourself to make sure you stick with the course. How long will the course be available? This class will always be available! How do I know if this course is for me? Take a look at the “Class Summary,” “What Should I Know,” and “What Will I Learn” sections above. Can I skip individual videos? Yes! How much does this cost? It’s completely free! What are the rules on collaboration? Collaboration is a great way to learn. Why are there so many questions? Udacity classes are a little different from traditional courses. What should I do while I’m watching the videos? Learn actively! Pygamecheatsheet.png (1188×1374) Programming Achievements: How to Level Up as a Developer [jasonrudolph.com]
Published on Tuesday, August 09, 2011 in better How does a good developer become a great developer?
Forget greatness for a moment: How does a decent developer become a good developer? There is no definitive path from Step 1 to Step n. Heck, it's not even clear what Step n is. And as logically-minded developer types, the lack of a well-defined route can make for a daunting journey from novice to master. I've spent a fair bit of time over the last few years bumping up against this conundrum. What Does Success Look Like? I do my best work when I have a goal with clear, measurable criteria for success. But how do you measure whether you've attained the rank of "really good developer? " Much like the goal of wanting to run a 5-minute mile, we can start by looking at where we are as a programmer versus where we want to be. We've all had specific experiences that clearly advanced our skills as developers.
And what better way to get started with Step 1 than to crowdsource it? Achievements Notes.
Work at a Startup 2012. How to Win a Hackathon - Rummage. How to Win a Hackathon For 30 straight hours this weekend, my co-founder, Matt, and I competed in AngelHack (the biggest hackathon in the nation) for $75,000 in prizes, and the potential for recognition of our startup, Rummage.
The product we built, SnapStore.me, placed first on the West Coast, and second overall: We wanted to share our experience with other hackers/entrepreneurs, and offer some advice on how to make the most of your next hackathon. Why do a hackthon? First of all, why would you subject yourself to a grueling 30 hrs of work to do a hackathon? Get our names out – placing in a competition like AngelHack gives you instant credibility and makes it much easier to start conversations with people who can help your startup/career (which in our case is Rummage). Preparation is Key Hackathon rules vary, but AngelHack encouraged teams to plan their ideas beforehand.
Figuring out the nuances of what you want to build before you’re on the clock is an enormous advantage. Bring sharp tools.
Projects - Weekendhacker. Build It With Me. Bash. Web Programming. Terminology, Syntax, & Introduction - A Beginners Guide to HTML & CSS. Before beginning our journey to learn HTML and CSS it is important to understand the differences between the two languages, their syntax, and some common terminology.
As an overview, HTML is a hyper text markup language created to give content structure and meaning. CSS, also known as cascading style sheets, is a presentation language created to give content style and appearance. To put this into laymen terms, HTML determines the structure and meaning of content on a web page while CSS determines the style and appearance of this content. The two languages are independent of one another. CSS should not reside within an HTML document and vice versa. Taking this concept a bit further, the HTML p element is used to display a paragraph of text on a web page. Common HTML Terms When getting started with HTML you are likely to hear new, and often strange, terms.
Elements Elements are designators that define objects within a page, including structure and content. Tags <a>... Attributes <! Selectors Reset. Help! There’s a patent on my idea! What now? « Startups and IP Strategy. One of the most frequent questions I get goes something like this: “I have a really cool idea, but (name of big company or university) has a patent on that.”
With over 8,000,000 patents issued to date and thousands of new patents issued weekly, the chances are good that there are patents out there that are relevant to your business or idea. Knowingly infringing an active patent can lead to disastrous consequences for your business. So what to do? Well, those people who ask me (or any other patent attorney) have already taken the right first step. Patents are legal documents and can be incredibly difficult to understand for those that are not well versed in the language of “Patentese.”
Issued Patents vs Published Patent Applications First, it is important to know the difference between an issued patent and a published patent application. Is the patent still active? However, Public PAIR will not tell you whether a patent has expired. Check the claims Assignments and Licenses.
Startup skills vs startup ideas. There's an interesting but damaging perversion in the startup world, around ideas vs execution.
Even among those who believe that "ideas are worthless, execution is everything", there is a practical, observable tendency to rate theory over practice. If you were advising someone about how to build a top quality web application, and they didn't know how to program, you'd tell them that first they need to learn to program, probably spend a year or more practicing the craft, before they have a chance to build even a mediocre quality application. Programming is a highly complex activity that takes skill (built through experience) to do well.
You wouldn't simply explain to someone the technical and architectural pitfalls of the application they want to build, give them a process for how to program, and set them off. The same is true for most technical fields. But somehow, despite their renowned complexity, startups seem to be exempt from this rule. Lean startup and the scientific method.
Machine Learning - complete course notes. The following notes represent a complete, stand alone interpretation of Stanford's machine learning course presented by Professor Andrew Ng and originally posted on the ml-class.org website during the fall 2011 semester. The topics covered are shown below, although for a more detailed summary see lecture 19. The only content not covered here is the Octave/MATLAB programming. All diagrams are my own or are directly taken from the lectures, full credit to Professor Ng for a truly exceptional lecture course. What are these notes? Originally written as a way for me personally to help solidify and document the concepts, these notes have grown into a reasonably complete block of reference material spanning the course in its entirety in just over 40 000 words and a lot of diagrams!
The notes were written in Evernote, and then exported to HTML automatically. How can you help!? If you notice errors or typos, inconsistencies or things that are unclear please tell me and I'll update them. Content. Guide-1-Step-2 - Getting started with Handcraft. Podcast Archive. How to Write Google Android Apps.
Want to know how to write Google Android apps? Most Android applications are written in Java – a relatively easy to learn, friendly language for new developers. Aside from the possibility some money, you could actually contribute to the Android community. If you’ve got innovative ideas and the drive to see them spread, the Android market is for you! Let’s get you started on your very first Android application design. Before we get to how to write Google Android apps – first, a bit of overview. Step One: Download & Installation First download and install the latest version of the Java JDK. Second, get the Android SDK – make sure to install the 32-bit ADT-Bundle version for Windows, even if you have a 64-bit system. The Android application design bundle includes all the necessary components, including Eclipse. If you have any problems with Java, uninstall all versions and retry installation.
Step Two: Configure The ADT-Bundle You’ll be prompted to download additional material for the SDK. Developing Android Applications with Java: Overview Week - Build a Flashlight App. Facebook's Repositories - GitHub. Facebook/connect-js - GitHub. Facebook/git-review - GitHub. Facebook/open-graph-protocol - GitHub. Lexical Structure.
A script enabled browser is required for this page to function properly Oracle Technology Network > Java SE > Java SE Documentation > Java SE Specifications Contact Us Report errors in JLS Report errors in JVMS Java Language and Virtual Machine Specifications Java SE 8 The Java Language Specification, Java SE 8 Edition HTML | PDF | PDF with diffs from Java SE 7 Edition The Java Virtual Machine Specification, Java SE 8 Edition HTML | PDF | PDF with diffs from Java SE 7 Edition Java SE 7 The Java Language Specification, Java SE 7 Edition The Java Virtual Machine Specification, Java SE 7 Edition Java SE 5.0 / SE 6 The Java Language Specification, Third Edition The Java Virtual Machine Specification, Second Edition (Updated) Second Edition: HTML | Zipped HTML Updates to the Second Edition: For SE 5.0For SE 6 JSR 337 (Java SE 8 Release Contents) OpenJDK Compiler Group The Java Language Environment JVM Language Summit Copyright © 2014, Oracle and/or its affiliates.
Learning Modern 3D Graphics Programming. Python from Scratch – Create a Dynamic Website. We’ve covered quite a bit of Python in the previous tutorials in this Session. Today, we’re going to combine everything we’ve learned so far to build a dynamic website with Python. Prefer a Video Tutorial? So, how do you get started creating websites with Python? Well, you could do it all yourself, and write a program that runs on a web server, accepting page requests and serving up responses in the form of HTML and other resources.
However, that’s a lot of work, so why go to all the trouble when there are plenty of existing tools out there to do the job for you? Python Frameworks There are quite a few Python web frameworks, but here are some of the best: Django - We're going to use this today. A more comprehensive list can be found on the Python website if you're in need of additional options. Installing Django We'll be performing most of our work today in the Terminal. Terminal Tutorials Consider reviewing these tutorials to get yourself up and running with the Terminal. That should do it! 3MF Project: What's In A GIF - Bit by Byte. We sill start off by walking though the different parts of a GIF file. (The information on this page is primarily drawn from the W3C GIF89a specification.) A GIF file is made up of a bunch of different "blocks" of data.
The following diagram shows all of the different types of blocks and where they belong in the file. The file starts at the left and works it's way right. At each branch you may go one way or the other. I'll show you what these blocks looks like by walking through a sample GIF file. Note that not all blocks are represented in this sample file. Header Block From Sample File: All GIF files must start with a header block. Logical Screen Descriptor From Sample File: 0A 00 0A 00 91 00 00 The logical screen descriptor always immediately follows the header.
Next we have a packed byte. The next byte gives us the background color index. The last byte of the logical screen descriptor is the pixel aspect ratio. Global Color Table From Sample File: FF FF FF FF 00 00 00 00 FF 00 00 00. A successful Git branching model » nvie.com.
The Tools We Work With — Varnish version trunk documentation. About Jarvis - GitHub.