This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sat May 10 19:57 2014 Time and Allocation Profiling Report (Final) | |
| distributed-process-ring +RTS -p -N -H512M -M2G -A1024k -RTS --unsafe-send --parallel -s10000 -i10 | |
| total time = 4.67 secs (4665 ticks @ 1000 us, 1 processor) | |
| total alloc = 897,096,752 bytes (excludes profiling overheads) | |
| COST CENTRE MODULE %time %alloc | |
| MAIN MAIN 100.0 100.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE DeriveDataTypeable,ScopedTypeVariables #-} | |
| module PingPong where | |
| import Control.Concurrent ( threadDelay ) | |
| import Control.Distributed.Process | |
| import Control.Distributed.Process.Node | |
| import Network.Transport ( closeTransport ) | |
| import Network.Transport.TCP | |
| server :: DynamicT -> Process () | |
| server st = do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %%% @author Pankaj More <pankajm@pankaj_y9402> | |
| %%% @copyright (C) 2014, Pankaj More | |
| %%% @doc | |
| %%% | |
| %%% @end | |
| %%% Created : 5 Feb 2014 by Pankaj More <pankajm@pankaj_y9402> | |
| -module('pingpong'). | |
| -compile(export_all). | |
| -import(timer,[sleep/1]). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %%% @author Pankaj More <pankajm@pankaj_y9402> | |
| %%% @copyright (C) 2014, Pankaj More | |
| %%% @doc | |
| %%% | |
| %%% @end | |
| %%% Created : 5 Feb 2014 by Pankaj More <pankajm@pankaj_y9402> | |
| -module('pingpong'). | |
| -compile(export_all). | |
| -import(timer,[sleep/1]). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <algorithm> | |
| #include <list> | |
| #include <stack> | |
| #include <map> | |
| #include <string> | |
| #include <cstdio> | |
| #include <iostream> | |
| #include <ostream> | |
| #include <utility> | |
| #include <cstring> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from collections import deque | |
| class Tree(): | |
| def __init__(self,data): | |
| self.data = data | |
| self.left = None | |
| self.right = None | |
| def __repr__(self): | |
| return self.data | |
| def postOrder(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn misclassify [w' dataset] | |
| (matrix (filter #(> | |
| (sel (mult | |
| (last %) | |
| (mmult w' ((comp trans matrix) %))) 0 0) 0) (to-list dataset)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Kindle format | |
| ls *.pdf | xargs -P 8 -n 1 briss -s | |
| # 2 -page per sheet for printout | |
| ls *.pdf | xargs -P 8 -n 1 pdfnup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: haskell | |
| branches: | |
| only: | |
| - source | |
| env: | |
| global: | |
| - secure: "EwN3tW0Nu471w8/a3BJaCOpv8wZnMea+yklWSjAXIr0qSzNg9NASkLYvcufHTKv85NyWoiAVCYLueTmKCajExaN5H1pFVA1jOogaizKTawneb9EbJYzKilVnJHKB8dEEHoo6FaLbMCGdEzT48edIY7g0i2zy3W/xt/Y8jUjhyPk=" | |
| install: | |
| - cabal install hakyll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3proxy 0.6.1-3 | |
| acroread 9.5.5-3 | |
| android-notifier-desktop 0.5.1-2 | |
| android-sdk r22.0.4-1 | |
| antlr3 3.4-1 | |
| argtable 2.13-1 | |
| arm-elf-binutils 2.23-1 | |
| arm-elf-gcc-base 4.7.2-1 | |
| aurvote 1.5-2 | |
| avbin 8-1 |
NewerOlder