HNHacker News
TopNewBestAskShowJobs

erikcw

671 karma · joined August 10, 2011

erik -at- erikwickstrom -dot- com
submissionscomments
erikcw··on Introducing Heroku Postgres 2.0
The email sent to existing customers mentions price drops for certain plans (text below). With the few plans I glanced at for 2.0, it doesn't look so much like a price drop as it does a storage capacity and max connections drop.

Production plans used to allow 1TB of storage and 500 connections. Now the smallest production plan has dropped to 64GB of storage and 60 connections.

I know Heroku is trying to run a business, and that computing resources do cost money -- but that copy seems a bit misleading to me.

Customer email blast:

""" As someone who is already using a Heroku Postgres production database we’re excited to ensure you’re the first to know about our new release, Heroku Postgres 2.0. This new release continues to build on many of the great features you may already take advantage of as well as a price drop across certain plans. This new release highlights:

Built-in alerts around what you should do for your database, bringing a new level of operational expertise built right into the product. The ability to rollback your database to a specific point in time, similar to how you can rollback bad deploys on Heroku New tiers, with our premium and enterprise tiers including high availability with automatic failover You can read more details about the features included within this release on our blog post.

You will be able to continue using your existing plans. While they will not appear in the addons:list you will be able to visit the legacy pricing page and they will continue working. We will notify you before any changes do occur to existing plans.

Cheers, The Heroku Postgres team """

erikcw··on New Relic now supports Node.js
Does anyone know if New Relic can be used in a more limited capacity with unsupported languages?

I've been building an OpenResty/Lapis app (Lua) and would love to be able to get some visibility into my Heroku dynos.

erikcw··on Drone Pilot Fights for Right to Profit in the Unmanned Skies
"I would rather be on a flight, where I know that the pilots dies with me, should they fail in their appointed task of controlling the aircraft strapped to their bodies.

Similarly, if an aircraft suddenly falls from the sky and lands on my head, my death would be a slightly happier affair for my family, so long as they know the person charged with it's stewardship was also killed (or at least injured) by the accident."

If the cause of the accident is pilot error, then sure. But what about everyone else who has direct impact on the safety of your flight (i.e. mechanics, air traffic control, etc). They share much of the responsibility for the soundness of your aircraft, but are only restrained by their conscience and possible legal recourse.

erikcw··on Melatonin
I've tried it a few times. I find that I sleep like a rock, but have a dull, throbbing headache in the morning. My wife swears by the stuff...
erikcw··on Fingerprints are Usernames, not Passwords
Even without TouchID, iirc on previous iPhone models entering an invalid password 10 times would trigger a wipe. So not a new threat -- just balancing maintaining the confidentiality of your data with the DOS risk.
erikcw··on Rolling your own cloud phone system
Interesting. I've always had much better quality using Twilio to bridge to PSTN than through Twilio Client.

I keep coming back to Twilio Client because the idea of a softphone (and a web based one at that) is so alluring compared to having to deploy more hardware.

If I recall there was also a cost advantage to using Twilio Client (you only have to pay for one leg of the call instead of both legs).

But every time we've tried to deploy it there have been quality and usability issues which have forced us to fallback to PSTN. Never the less, I'll keep trying it every couple of months... :)

erikcw··on Emacs is Dead (2010)
Will you post links to some of these packages? I'm building up my Emacs Python toolkit after many years of being a Vim user (with liberal use of Evil mode of course! :-)
erikcw··on How to serve Django Statics (and not go insane)
Yes, I opened a ticket with them a few weeks ago. Still working with them on a resolution.
erikcw··on How to serve Django Statics (and not go insane)
I've been using CloudFlare on a project and have been mostly very pleased with it.

The only persistant problem that I haven't been able to iron out is that some non-US users of my application can't get any of our javascript assets to load in Google Chrome correctly. VPNing into a US IP seems to fix the problem. Has anyone else had any issues like this?

erikcw··on AWS issues, affecting Heroku and others
I'm also having trouble accessing RedisToGo.
erikcw··on Enhancements to Shell and Vim Productivity
At least for me, macros don't work in Bash vi-mode. Perhaps it is only implemented in emacs-mode? Or maybe it is the readline version I have in OSX.
erikcw··on Enhancements to Shell and Vim Productivity
As a Vim user, I've always been drawn toward using vi keybindings in bash.

However, as a Mac user, all of the Cocoa text widgets more or less support emacs keybindings, so having a working knowledge of basic emacs movement commands has been very useful.

The emacs bash/readline keybindings also have a really neat trick that the vi bindings don't -- keyboard macros!

Ctrl-( to start recording, Ctrl-) to stop, and Ctrl-x to execute.

erikcw··on Program above and beyond your actual ability by using FreeMind
I've been a big FreeMind fan for years. Durring my wife's first year of law school, I persuaded her to try using it for one of her classes. She proceeded to quickly adopt it for all of her classes. Having a mindmap of an area of the law at 30,000 feet, and then be able to zoom all the way down to the minutia was very valuable.

Her peers started adopting it themselves after seeing her "outlines" in study groups. Great tool!

erikcw··on How to Launch a 65Gbps DDoS, and How to Stop One
I wholeheartedly agree. The lack of transparency is CloudFlare's single largest problem from my perspective. I really wish the analytics package offered more than just a few pretty aggregate charts. Insight into failed requests to my backend servers would be a major help in troubleshooting, and with integration into their API, could serve as great early warning for when things are going wrong at the CDN level.

I'd also love to see the option of periodic uploads of raw traffic logs to an S3 bucket or similar. Something akin to how AWS CloudFront handles raw logs. I believe raw logs are currently available on their enterprise packages, but this seems like basic functionality (that would provide much of the needed transparency) and should be included in all of the paid plans.

erikcw··on Abstract Persistence Logic
Does anyone know of any libraries or discussions about using these patterns with Django?
erikcw··on The DOD had two "better-than-Hubble" space telescopes just sitting around.
My understanding is that drones are preferred for long term/constant monitoring. Spy satellites are not placed in geostationary orbit, so they only have a few minutes of exposure per day to a place of interest as they fly over.

The Global Hawk [1] drone is optimized for high altitude loitering. Operating multiple drones in the area is one way to overcome the problem of running out of fuel.

[1] http://en.wikipedia.org/wiki/Northrop_Grumman_RQ-4_Global_Ha...

erikcw··on Heroku Isn't for Idiots: developer time and comparative advantage
Can you share a specific example?
erikcw··on Go Pavlov Yourself (conditioning yourself to code)
Which iPhone app do you using for your "ding"?
erikcw··on Ask HN: How do you stay productive after work?
Here is a link to his HN post to save yourself a Google: http://news.ycombinator.com/item?id=3997642
erikcw··on Compile Vim with Python & Ruby support on OSX with Homebrew
I like to symlink to MacVim like so: /usr/local/bin/vim -> /usr/local/bin/mvim /usr/local/bin/vimdiff -> /usr/local/bin/mvim

Then put /usr/local/bin higher up in my $PATH. Works like a charm.

erikcw··on Poll: Which text editor do you use daily?
I use Quickcursor -- you just setup a global hotkey and it will open the contents of any text widget in the editor of your choice.

http://www.hogbaysoftware.com/products/quickcursor

erikcw··on Vim anti-patterns
And to complement them, the surround.vim plugin: http://www.vim.org/scripts/script.php?script_id=1697
erikcw··on Beating the Talent Crunch with a Distributed Team
We've been using skype chat almost elusively for 3 years. At first, I loved the work flow, but in our case it has devolved into an email replacement for one of our team leads. He daily sends reams of chat messages into the room with the expectation of a synchronous response. Messages routinely get lost in the shuffle. I'm working to get him to use email for these sorts of issues -- status, in progress.

If skype had threaded chat conversations, it would be much more manageable. Until then, I miss gmail... :)

Use the right tool for the job.

erikcw··on Vim Text Objects : The Definitive Guide
I've been learning emacs and hunting for the same thing. Aside from Viper mode, these two manual pages are the best I've found:

http://www.gnu.org/s/libtool/manual/emacs/Expressions.html

http://www.gnu.org/software/libtool/manual/emacs/Moving-by-P...

It has helped, but I'm still wishing there were more equivalents. This just seems to scratch the surface of what Vim can do in this area. If you find anything else that is helpful for this sort of editing task, please post it here...

erikcw··on SSH Tricks
My favorite idiom when dealing with new cloud servers is: ssh-copy-id user@host-ip <Paste random password> ssh !$

Saves copying/pasting the host ip a second time. Trivial Bash trick I know -- but it is a time saver...

erikcw··on Heretical Confessions of an Emacs Addict – Joy of the Vim Text Editor « /usr
I used it without any problems for a number of years. Once the keystrokes make it into your muscle memory, you're off to the races.
erikcw··on Heretical Confessions of an Emacs Addict – Joy of the Vim Text Editor « /usr
I've been a vim user for about 10 years now. I've recently started using emacs for lisp/SLIME dev. The number one feature I miss when I'm in emacs land is vim's "i" and "a" commands.

di" deletes everything between the double quotes. da" deletes everything between including the double quotes themselves

It works with other matching pairs as well (ie di(, di[ di'). I use it constantly. I've searched and search, and have not been able to find an emacs equivalent.

erikcw··on In-Car Algorithm Could Rapidly Dissolve Traffic Jams
This is already possible with traffic lights. Emergency Vehicles are equipped to switch traffic lights in their path to green. It's called Traffic Signal Preemption. Of course, the criminal penalties for abusing the system are pretty stiff...

As a child, I used to dream of such a device as I sat impatiently at traffic lights in the car (naturally asking my parents "are we there yet" every 5 seconds). I was pretty excited to learn that it is a real thing!

http://en.wikipedia.org/wiki/Traffic_signal_preemption

erikcw··on My "Working While Standing" Hack
I picked up an OfficeRunner [http://www.officerunner.com/] headset last year. I spend 4+ hours a day on skype calls -- the ability to step away from my desk has been priceless. I originally looked for an app for my iPhone that would function as a wireless headset. There are one or two in the app store, but they all have latency issues...
erikcw··on Runtime code modification. Erlang? No, Python
I did some googling and it looks like this only works if you're running twisted. Is anyone aware of any options that will work with Django or other long running python processes?
← PreviousPage 5 of 6Next →