11 karma · joined November 11, 2012
photon to electron in space to photon' to electron on ground ≃ photon to electron on ground
photon to electron (on ground) to battery (filling station) to electron to battery (car) to electron to kinematics VS raw oil (limited on this very planet) to petrol to kinematics
Also not considering resistance loss and petrol transportation. A little bit more complicated :)
Also "-threaded" gives the usual penalty of bookkeeping and bad caching and stuff. You don't need threads in such a benchmark. Though I am mildly surprised that "node" runs faster with multiple processes :)
go version go1.0.2
runghc 7.6.2
cabal packages of today
Runned with "runhaskell main.hs" on localhost over loopback :) import qualified Network.Wai as Wai
import qualified Network.Wai.Handler.Warp as Warp
import qualified Network.HTTP.Types as HTTP
import qualified Data.ByteString as ByteString
import Blaze.ByteString.Builder.ByteString (fromByteString)
main = do
let port = 8000
Warp.run port app
app req = do
let n = 1024*1024
let bytes = fromByteString $ ByteString.replicate n 100
return $ Wai.ResponseBuilder HTTP.status200 [] bytes* scrape your facebook data and most importantly the references to other accounts
* make accessing facebook available through your own software
* when you post something, it should appear on facebook but also directly into the very own self hosted version of your data
Why?
Use facebook but be ready to leave or parallely use one of the many Free Software wanna be social networks.