Hacker Newsnew | past | comments | ask | show | jobs | submit | 2014-06-15login
Stories from June 15, 2014
Go back a day, month, or year. Go forward a day, month, or year.
1.I’m Just Now Realizing How Stupid We Are (fool.com)
320 points by tokenadult on June 15, 2014 | 106 comments
2.Smashing Swift (nomothetis.svbtle.com)
281 points by afthonos on June 15, 2014 | 143 comments
3.Jq: A lightweight and flexible command-line JSON processor (stedolan.github.io)
229 points by wtetzner on June 15, 2014 | 55 comments
4.Have You Hugged a Concrete Pillar Today? (gatesnotes.com)
161 points by ekm2 on June 15, 2014 | 114 comments
5.Window into Airbnb’s hidden impact on SF (sfchronicle.com)
148 points by jamesjyu on June 15, 2014 | 107 comments
6. [dupe] Bitcoin security guarantee shattered by anonymous miner with 51% network power (arstechnica.com)
144 points by somethingnew on June 15, 2014 | 62 comments
7.The U.S. Military’s Campaign Against Media Freedom (nytimes.com)
144 points by phildeschaine on June 15, 2014 | 40 comments
8.The Disappearing Universe (medium.com/startswithabang)
134 points by vilda on June 15, 2014 | 64 comments
9.William A. Edelstein, 1944 – 2014 (jeanhannahedelstein.com)
131 points by arthuredelstein on June 15, 2014 | 16 comments
10.Comcast turns 50,000 paying customer homes into public hotspots (extremetech.com)
119 points by jrochkind1 on June 15, 2014 | 137 comments
11.Project Euler is offline (projecteuler.net)
117 points by snth on June 15, 2014 | 19 comments
12.What if Quality Journalism Isn't? (baekdal.com)
103 points by wasd on June 15, 2014 | 46 comments
13.CivClicker (dhmholley.co.uk)
91 points by epsylon on June 15, 2014 | 31 comments
14.Wayland 3D Compositor with Oculus Rift and Razer Hydra [video] (youtube.com)
95 points by jmgrosen on June 15, 2014 | 27 comments
15.FOILing NYC’s Taxi Trip Data (chriswhong.com)
92 points by danso on June 15, 2014 | 49 comments
16.We Need To Talk About Depression (techcrunch.com)
92 points by ajiang on June 15, 2014 | 75 comments
17.Tim Cook, Making Apple His Own (nytimes.com)
89 points by kanamekun on June 15, 2014 | 80 comments
18.The Downward Ramp (nytimes.com)
87 points by Futurebot on June 15, 2014 | 74 comments
19.YunoHost: Aiming to make hosting accessible (yunohost.org)
86 points by kload on June 15, 2014 | 57 comments
20.The End of Cuisine (nytimes.com)
83 points by wallflower on June 15, 2014 | 69 comments
21.Calling Back a Zombie Ship From the Graveyard of Space (nytimes.com)
82 points by mcgwiz on June 15, 2014 | 2 comments
22.Floor – Web development with Rust (cburgdorf.github.io)
79 points by cburgdorf on June 15, 2014 | 26 comments
23.Brotli Compressed Data Format (ietf.org)
77 points by Sami_Lehtinen on June 15, 2014 | 26 comments
24.Twilight Princess Eyes Breakdown (benjones.us)
79 points by JoshTriplett on June 15, 2014 | 5 comments
25.Why the Japanese Don't Litter (japantravelcafe.com)
73 points by jmduke on June 15, 2014 | 59 comments
26.Chrome added an annoying translation feature (user.wordpress.com)
76 points by hanifbbz on June 15, 2014 | 68 comments
27.Userland traffic shaping with OpenBSD and Lua (tedunangst.com)
72 points by zdw on June 15, 2014 | 9 comments
28.Oolite: Elite Re-Invented, Open-Source style (pandoralive.info)
65 points by ekianjo on June 15, 2014 | 20 comments

A functor is a thing that can be mapped over. For example:

    map abs [-1, 2, 3] => [1, 2, 3]
Arrays are the simplest example, but it looks like an iterable. However functors retain shape whereas iterables don't. For example if we had a tree (represented visually):

    oak = -1
          / \
         2   3
If we used oak as an iterable, we would lose the structure of the tree:

    map abs iter(oak) => [1, 2, 3]
However if tree belongs to the functor typeclass (i.e. implements functor interface), then:

    map abs oak => 1
                  / \
                 2   3
The alternatives to functors are:

1. mutate the existing data structure

2. copy a new one and then mutate (two passes)

3. create a new one while mutating (one pass, increased complexity / bugs)

30.Postfix has no public version control (groups.google.com)
63 points by general_failure on June 15, 2014 | 74 comments

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: