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...
Read more →

10 Habits of a Happy Node Hacker

This post is from 2013 - check out the update!

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.

1. Start new projects with npm init

npm includes an init command which walks you through the process of creating a...

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

Read more →

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.

Understanding X-Request-ID on Heroku

Each HTTP...

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.

Orange Oasis

Fri., March 7th and Sat., March 8th Brass House - 115 San Jacinto Blvd (@ 2nd St)

Heroku will be a part of ExactTarget’s Orange Oasis at Brass House. Close to the convention center, but out of the noise and crowds of SxSW, we’ll have a Purple Pavilion inside the Orange Oasis. Please stop by and say hello, or schedule a private meeting or demo with one of sales or technical reps.

Hours:

Friday, March 7th

  • 1p - 4p Meetings and product demos
  • 4p - 6p Join us for Happy Hour

...

Read more →

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