.NET Core is now Open Source (00:01:04)
Now the community can participate in its development - reporting bugs, fixing bugs, discussing new features, and implementing new features.
White House Holiday Lights (00:03:22)
NASA Orion Test Flight (00:04:58)
NASA is at it again, moving forward into the next (and some might say final) frontier with their official unmanned pilot flight of the spacecraft Orion.
Intro to Hackathons (00:07:29)
A hackathon (also known as a hack day, hackfest or codefest) is an event in which computer programmers and others involved in software development, including graphic designers, interface designers and project managers, collaborate intensively on software projects. — Wikipedia
Check out the WSU EECS Hackathon III.
We won’t be going over specific competitive tips but how to get the most out of your hackathon experience.
Make something cool with your team, and maybe help solve some real problems and win some prizes along the way. Meet new people, make friends, and network! Eat tons of free food and drink.
General Hackathon Process (00:11:56)
- Have an idea of what you want to build
- Work on an ambitious but reasonable project
- Bring the things you need
Understand Judging (00:15:01)
- Be innovative - is your project unique?
- Comfort zone - what did the team learn?
- Adherence to themes - if there are any
- Is it stable - did it segfault during the demo?
- Look and feel - is it beautiful/responsive?
- Technicality - what’s happening behind the scenes?
- Efficient - are selected algorithms appropriate?
- Architected - does it show that the app was designed?
- Purpose - does the app do something?
- Presentation - can the developers communicate the purpose?
A Hackathon Developer’s Toolkit (00:18:32)
Have the tools you need. Know the tools you need.
Version Control (00:19:14)
None of your hard work is real until it’s version-controlled.
Git is our favorite. Here’s a couple of great resources for learning Git:
- The Git Book: Pro Git (Oh look, we use the same base theme!)
- LearnGitBranching, a simplified visual demo-tutorial about how to work with branches.
A couple other popular choices:
Work better together by sharing code and reviewing each other’s work before merging all those great features.
Check out the GitHub Student Developer Pack if you’re a student!
GitHub has a great list of resources for learning Git and GitHub, and even an interactive code school!
- Standing around someone’s screen, squinting at a branch diff, talking about it for a while, then letting them merge it and push to your private remote (wherever that is, hopefully somewhere safe).
A Comfortable Text Editor (00:27:53)
There’s tons out there, so have fun and explore the possibilities. Once you find one that feels good and has the features you need, stop looking and get to work.
The big ones:
Chris stands corrected - turns out there was a Sublime Text 3 build (3065) released just a few months ago, and an even newer build on the dev channel. It is true that Sublime Text 3 is still in beta though, with the latest stable release (2.0.2) back in July 2013.
Features we like:
- Syntax highlighting
- And being able to quickly change it
- Keyboard document navigation
- Jump to file
- Jump to line
- Global search
- Lexical navigation
- Multiple cursors
- Automatic refactorings
- Multiple documents
- Split frames
A Debugger (00:35:52)
var_dump()to chase down where everything goes wrong? Stop that. There’s a better way.
Examples of debuggers:
- GDB, the GNU Debugger, for native applications written in languages like C, C++, Ada, and several others
- PDB, the Python Debugger
- Visual Studio has a built-in debugger for managed and unmanaged code
- IntelliJ IDEA and other IntelliJ-based IDEs have built-in debuggers for their respective platforms
Pen and Paper (00:46:14)
Or whiteboard and marker.
Either way, you need to communicate ideas with your team, and good pictures are still the best medium.
Make sure you have a common language, so your pictures make sense. UML is a fairly popular graphical language designed for communicating software ideas. The official UML spec is pretty big and complicated, though, so feel free to just stick to the parts that everyone can understand, and even modify it to be more useful to your particular team; that’s how you use other languages designed for communicating with humans, right?
Dia, VioletUML, and Visio are some popular UML drawing tools, if you want to keep your diagrams and photos of the board aren’t enough. Just be careful not to spend the whole hackathon making drawings instead of actually building your product!
Continuous Integration (00:49:46)
Continuous Integration is about knowing the health of your project without having to go check.
Let a continuous integration service like TravisCI build (and maybe test, if you spent the time to write those) your project every time code gets pushed, and know right away when something breaks. The last thing you want is to be in the 23rd hour with pages full of build errors.
Package Managers (00:52:20)
Downloading libraries and managing dependencies is something a computer can do. Let the computer do that for you.
A few of the big ones:
- Bower, for web libraries
- NPM, for Node.js modules
- NuGet, for .NET libraries
- RubyGems, for Ruby libraries
- Pip, for Python libraries
The Cheerio library isn’t at cheer.io, it’s here: http://cheeriojs.github.io/cheerio/.
Pick apart any HTTP traffic, tamper with it, or send arbitrary requests.
Fiddler lets you analyze HTTP (and HTTPS!) traffic for any client that can use an HTTP proxy, including web browsers, other desktop applications, and devices like phones and tablets. It’s not too complicated to get up and running and can be invaluable for debugging your app across multiple devices.
If you’re not using HTTP or need something much lower-level, Wireshark is a great open source cross-platform tool for general traffic analysis.
Platform as a Services (PaaS) (00:59:46)
Don’t spend a bunch of time doing devops work.
Do you need a server? Are you deploying an application? Decide how far down your platform needs to be, and stop there. It’s not very fun to spend two hours hunting down an
sshd_config issue when you could have been designing or coding instead.
Here are some examples; give them a try:
Don’t waste time writing boilerplate! Scaffold your web apps with Yeoman.
$ yo angular
generator-angular also has sub-generators that can scaffold parts of your app as you’re writing it:
$ yo angular:controller
Treat your frontend like the Legos it should be.
Polymer is a web components framework from Google.
Chris meant to say “by designers for programmers”, when talking about Twitter Bootstrap.
A few good places to find web components:
From our combined handful of experiences with hackathons, we want to remind everyone to get up, walk around, eat food, talk to people, and enjoy the event. Oh yea, don’t forget to sign up for the hackathon if they have a registration.
- Be innovative
- Be inspired
- Have fun