Hacker Newsnew | past | comments | ask | show | jobs | submit | 2014-07-04login
Stories from July 4, 2014
Go back a day, month, or year. Go forward a day, month, or year.
1.MayDay PAC (avc.com)
310 points by oskarth on July 4, 2014 | 83 comments
2.Breaking Spotify DRM with PANDA (moyix.blogspot.com)
278 points by ivank on July 4, 2014 | 107 comments
3.CSS is unnecessary given a layout language (pchiusano.github.io)
254 points by mrkibo on July 4, 2014 | 176 comments
4.Stop The JerkTech (techcrunch.com)
243 points by minimaxir on July 4, 2014 | 199 comments
5.Java vs. Scala: Divided We Fail (shipilev.net)
238 points by mritun on July 4, 2014 | 111 comments
6.On being targeted by the NSA (torproject.org)
202 points by bjchrist on July 4, 2014 | 55 comments
7.The March Towards Go (zef.me)
185 points by zef_hemel on July 4, 2014 | 209 comments
8.Psychedelic mushrooms put your brain in a “waking dream,” study finds (washingtonpost.com)
173 points by bjchrist on July 4, 2014 | 83 comments
9.ASA Adjudication on EA Dungeon Keeper (asa.org.uk)
156 points by DanBC on July 4, 2014 | 68 comments
10. [dupe] Farewell Node.js - TJ Holowaychuk (medium.com/code-adventures)
155 points by jjallen on July 4, 2014 | 6 comments
11.How we end up marrying the wrong person (philosophersmail.com)
154 points by zw123456 on July 4, 2014 | 83 comments
12.Germany arrests suspected US spy (bbc.com)
157 points by etimberg on July 4, 2014 | 28 comments
13.Show HN: Vex, a new way to run things in Python's virtualenvs (python.org)
149 points by sashahart on July 4, 2014 | 34 comments
14.Constraint CSS (gridstylesheets.org)
142 points by strictfp on July 4, 2014 | 55 comments
15.Lisping at JPL (2002) (flownet.com)
120 points by luu on July 4, 2014 | 19 comments
16.How Swift could potentially be faster than Objective-C (mikeash.com)
112 points by mnem on July 4, 2014 | 53 comments
17.100M Creative Commons Flickr Images for Research (yahoolabs.tumblr.com)
104 points by kneth on July 4, 2014 | 30 comments
18.Swedish woman's texts could clear Assange (thelocal.se)
99 points by tuukkah on July 4, 2014 | 136 comments
19.Call me maybe: MongoDB (2013) (aphyr.com)
93 points by cirwin on July 4, 2014 | 72 comments
20.A Closer Look at Android RunTime (ART) in Android L (anandtech.com)
95 points by cpeterso on July 4, 2014 | 54 comments
21.Hacking into Internet-Connected Light Bulbs (contextis.co.uk)
96 points by TomAnthony on July 4, 2014 | 40 comments
22.Kallithea: A free code hosting solution for Git and Mercurial (kallithea-scm.org)
85 points by ngoldbaum on July 4, 2014 | 41 comments
23.HP’s fanless Chromebox has a noisy fan inside (geek.com)
74 points by Doubleguitars on July 4, 2014 | 30 comments
24.New AWS region coming soon: eu-central-1 (nilsjuenemann.de)
83 points by nilsjuenemann on July 4, 2014 | 36 comments
25.Interview: Damian Conway (linuxvoice.com)
77 points by benev on July 4, 2014 | 8 comments
26.Could The Ebola Outbreak Spread To Europe Or The U.S.? (npr.org)
85 points by timr on July 4, 2014 | 57 comments

Graphical layout is one of the most underestimated challenges in computer science. Programmers instinctively look at the problem and thing "oh, this is logical, I'll just whip up some basic principles and layout primitives and I'll have this solved in no time!"

No, you won't. Designing a layout framework is really, really hard. Designing one that is simultaneously expressive enough to handle all of the crazy corner cases that pop up on a daily basis AND simple enough to allow "normal people" to actually use and extend it is quite difficult. For example, the Android layout system is suitably expressive but totally mystifying to anyone who hasn't spent a year reading the source for View/ViewGroup/FrameLayout/ViewRootImpl.

The OP's suggestion that there is some singular, beautiful, composable layout system that we could drop in to replace CSS is, frankly, a pipe dream. Or rather, I would be far more convinced if he actually pointed to a spec or pre-existing system that we might base our new system off of [1].

I see only three real possibilities going forward, in order of increasing likelihood:

1. Someone does indeed come up with the One True Layout System (very unlikely).

2. We finally shove bytecode-level runtimes into a browser and let a thousand flowers bloom (even odds).

3. We keep incrementally improving CSS, adding support for various layout relationships that people need (probably).

[1] Elm's system looks neat, but it's not there yet.

28.Easy-Python: Libraries and Resources (readthedocs.org)
73 points by fsp on July 4, 2014 | 5 comments
29.Boto (AWS Python SDK) goes green, top 19 libraries now support Python 3 (python3wos.appspot.com)
62 points by andrewstuart on July 4, 2014 | 13 comments
30.Show HN: Marketplace for Bootstrap themes and templates (bootstrapbay.com)
62 points by cgimmer on July 4, 2014 | 34 comments

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

Search: