🦞🌯 Lobster Roll

Stories by vrthra

Nobody talks about the real reason to use Tabs over Spaces (reddit.com)
Stop setting the language of your website based on my location (dev.to)
A Learning Secret: Don't Take Notes with a Laptop (scientificamerican.com)
This was posted in HN, but I am curious how/if lobsters take notes.
YX problem (sicpers.info)
William Cook, (OOP, Applescript) has died (mjtsai.com)
Why I Use Nim instead of Python for Data Processing (benjamindlee.com)
On Learning Smalltalk (blog.robsayers.com)
Earley Parser (rahul.gopinath.org)
This post provides a complete tour of Earley parsing along with Aycock's epsilon fix, Leo's right recursion optimization, and extraction of parse trees from parse forests. I am trying to see how useful [Pyodide](http://pyodide.readthedocs.io/) is when compared to Jupyter notebooks for students. I...
Hosting your own ActivityPub instance for free
With the current exodus from twitter, many of us are looking to migrate to Mastodon and similar ActivityPub servers. For the good of Fediverse, it is important that we migrate to diverse instances rather than join one of the most popular. In particular because other Fediverse instances can block you...
Firefox Containers for Increased Privacy (thechiefmeat.com)
LangSec in a few slogans (langsec.org)
How to reduce your tests and the origin story of Hypothesis
[Here](https://twitter.com/DRMacIver/status/1194550244496814081) is a twitter thread from the creator of the Hypothesis property testing framework for Python. Hypothesis is notable not just for being a practical property testing tool for Python, but more importantly (from my perspective) in the inno...
Python Anti-Pattern (valinsky.me)
Parsing and all that (blog.jeffsmits.net)
Mercat: A language with a full recursive descent compiler written in Awk
An old language from '90s, [Mercat](http://cowlark.com/mercat/) which has a full recursive descent [bootstrap compiler in AWK](http://cowlark.com/mercat/com.awk.txt).
Barcode Writer in Pure PostScript (bwipp.terryburton.co.uk)
Dataflow Analyses and Compiler Optimizations that Use Them, for Free (blog.regehr.org)
Coverage Is Not Strongly Correlated with Test Suite Effectiveness (neverworkintheory.org)
Which Python projects have completed their transition to a type system successfully?
I am looking for large Python projects that have completed transition to the type system successfully. So far, I know about [urllib3](https://lobste.rs/s/otsra0/tests_aren_t_enough_case_study_after), and [w3lib](https://github.com/scrapy/w3lib/pull/172). I also know about [typeshed](https://github.c...
Morbig: A Static parser for POSIX shell (sciencedirect.com)
I Can Read C++ and Java But I Can’t Read Smalltalk (eli.sdsu.edu)
Inventing Postscript, the Tech That Took the Pain out of Printing (spectrum.ieee.org)
GitHub - kuroko-lang/kuroko: Dialect of Python with explicit variable declaration and block scoping (github.com)
Kuroko is a dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter. Importantly, it avoids a few gotchas in Python such as default parameters, and scoping rules, but stays generally compatible with Python. ...
Left recursion in recursive descent parsers a new solution?
Left recursion has traditionally been a weak point for [top down](https://jeffreykegler.github.io/Ocean-of-Awareness-blog/individual/2018/05/lrecursion.html) recursive descent parsers. While there has been a number of solutions, these have typically been complex to implement. I think there might be ...
Directed graph shell (spinellis.gr)
A proposal for an update to semver
This was motivated by the [cockroachlabs's](https://www.cockroachlabs.com/blog/calendar-versioning/) decision to switch to a calendar versioning. Their problem is that they want to signal a major change in features, but they do keep their backwards compatibility. For a lay-person, the major version ...
A Virtual FIDO2 USB Device (github.com)
Software design patterns; Are there test cases or recipes for specific patterns?
I am teaching a software design patterns unit next semester. It feels like the there should be some verification associated with some of the design patterns. For example, decorators for objects should be transparent, should allow recursive nesting, should allow reordering etc. Edit: What I am loo...
Learning Regular Languages with L* Algorithm (rahul.gopinath.org)
This post provides a complete tour of the L* algorithm for inferring input grammars for blackbox programs. It includes the PAC learning approach rather than the assumption of a minimally adequate teacher able to compare hypothesis to the original grammar, and hence more suitable for inferring input ...
Generalized LL (GLL) Parser (rahul.gopinath.org)
This post provides a complete tour of Generalized LL (GLL) parsing along with GSS (graph structured stack) and extraction of parse trees from SPPF (shared packed parse forest). This is part of my ongoing effort to document various parsing algorithms. I am looking for feedback on structure as well...