[erlang-questions] Charging your phone with Erlang

Zvi exta7@REDACTED
Sat Feb 7 18:55:48 CET 2009

Sorry John,
but you better charge your phone with Basic with it's superior GOTO

10 GOTO 10


John Hughes-7 wrote:
> Here's a little tip.
> Imagine you're in a hotel room with your laptop, but you forgot your phone 
> charger. Luckily, you can plug in the lap-top, connect your phone to it
> with 
> a USB cable, and then the phone charges... but only while the laptop
> remains 
> awake. So you need a way to prevent Windows (in my case) from putting the 
> laptop into stand-by mode during the night.
> Simple! Start the Erlang shell, and type
> 1> F=fun(F)->F(F)end, F(F).
> The shell will sit there 'till morning, keeping your machine awake and
> your 
> phone charging. (Thank you, tail-call optimisation!)
> It's no doubt more environmentally friendly to remember your phone
> charger, 
> but I'm only human and this tip has served me well a number of times!
> John 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

View this message in context: http://www.nabble.com/Charging-your-phone-with-Erlang-tp21887632p21890719.html
Sent from the Erlang Questions mailing list archive at Nabble.com.

More information about the erlang-questions mailing list