Skip to content

Instantly share code, notes, and snippets.

@agam
agam / gist:5974455
Last active December 19, 2015 15:09
Haskell Core for an interation example
------------------------------- Core -----------------------------------
Result size = 148
lvl_r1MQ :: Type.Integer
lvl_r1MQ = __integer 0
lgo_r1MR
:: Type.Integer
-> [NaryTree Type.Integer]
@agam
agam / gist:5974501
Created July 11, 2013 10:55
Haskell assembly output for an iteration example
.data
.align 8
.align 1
.globl __stginit_Main
.type __stginit_Main, @object
__stginit_Main:
.globl __stginit_ZCMain
.type __stginit_ZCMain, @object
__stginit_ZCMain:
.section .data
@agam
agam / gist:5979297
Last active December 19, 2015 15:49
Microsoft memo
Today, we are announcing a far-reaching realignment of the company that will enable us to innovate with greater speed, efficiency and capability in a fast changing world.
Today’s announcement will enable us to execute even better on our strategy to deliver a family of devices and services that best empower people for the activities they value most and the enterprise extensions and services that are most valuable to business.
This company has always had a big vision — to help people realize their full potential. In the earliest days, it was by putting a PC on every desk and in every home. We’ve come farther than we could have imagined. The impact we have collectively made on the world is undeniable, and I am inspired when talented new hires say they chose Microsoft because they want to change the world — that’s what we do today, and that’s what we’ll do tomorrow.
Sharpening Our Strategy
About a year ago, we embarked on a new strategy to realize our vision, opening the devices and services chapter for Micr
#include <stdint.h>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
using namespace std;
void cin_discard_newline() {
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include "Poco/Net/ServerSocket.h"
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include "Poco/Net/SocketAddress.h"
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
using namespace std;
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <limits>
#include <string>