Hacking Hack on Heroku

Anytime a new language comes out it’s fun to immediately download it and give it a try. Yesterday Facebook announced Hack, a programming language they developed for HHVM which interoperates seamlessly with PHP. Facebook itself is already running on Hack, and it looks to deliver some exciting improvements from its PHP influence, we thought we’d make it a bit easier for you to run your own apps on Hack by working with them to create a Heroku buildpack. To highlight a few of the awesome things about Hack:

  • Many PHP files are already valid Hack, so you can just start with an existing PHP project
  • Gradual typing, which lets dynamic and statically typed code play well together
  • More language features including: collections, lambdas, and run-time enforcement of return types and parameter types
Read more →

10 Habits of a Happy Node Hacker

For most of the nearly twenty years since its inception, JavaScript lacked many of the niceties that made other programming languages like Python and Ruby so attractive: command-line interfaces, a REPL, a package manager, and an organized open-source community. Thanks in part to Node.js and npm, today's JavaScript landscape is dramatically improved. Web developers wield powerful new tools, and are limited only by their imagination.

What follows is a list of tips and techniques to keep you and your node apps happy.

Read more →

SxSW Starts Today!

SxSW Interactive starts today. The crowds have arrived, the sessions have begun, and the ExactTarget Orange Oasis is open. Please stop by and say hello at the Heroku purple pavilion there, or schedule a private meeting or demo.

Check out the SXSW Fitbit Leaderboard from ExactTarget while you are here. This Heroku app logs and tracks your steps at SxSW. You can join the Leaderboard by logging into Fitbit, and sending a mail to fitbit@exacttarget.com.

Also join us for the Heroku SxSW meetup on Sun from 5 - 8p. We'll have food, a haiku poetry slam, and drinks.

Have a great (and safe) SxSW, and hope to see you there. The Heroku Team

HTTP Request IDs improve visibility across the application stack

Visibility into your application is necessary to properly analyze and troubleshoot issues as they arise. One of the key factors to good visibility is using logs as event streams and treating them as the canonical source of what happened on an app.

The challenge with using logs is to correlate events across the stack consisting of your application's code and Heroku's platform components. Today, we are releasing new functionality that makes this simple. By using the emerging X-Request-ID convention, you can easily correlate multiple log entries to individual HTTP(s) requests.

HTTP Request IDs are now enabled on all Heroku apps.

Read more →

Join us at SxSW Interactive

Every year tens of thousands of people descend on Austin, TX for SxSW Interactive to learn about the latest in digital technologies. This year Heroku is descending as well and we want to see you there.

Read more →

Browse the blog archives or subscribe to the full-text feed.