Lurker News

Comments (983) 199 threads

Earlier comments
virtualized1 reply#
Solid State Drives.

In 2012 I did not expect that you could still buy $2000 laptops with spinning rust in 2017.

dsschnau#
yeah but that's just because spinning platters are still cheaper by the byte - if you don't care much about performance you buy that. But any computer worth using (imo) has a ssd in it, and that's been the case since 2012.
vog1 reply#
Parser generators. They get better and easier to use every year (PEGs being the newest kid on the street), but we still see loads of buggy ad-hoc parsers with loops and regexes. And many of those bugs turn into actual security issues.
Jeff_Brown#
Yes, these are great! Text.Megaparsec.Expr blew my mind. It lets you write something that can evaluate expressions like "(3 + 4/(-2)) * 7" -- a nested expression parser, with prefix, postfix and infix operators of varying associativity and precedence -- in 12 lines of code. I made a repo about it [here](https://github.com/JeffreyBenjaminBrown/megaparsec/tree/mast...).
smt88#
Google Glass

Load more comments