avatar

albertlatham.com

Pipeline Language

Pipeline is a language idea that filters data through a pipeline of functions. A simple pipeline might be System.StdIn -> System.Command(wc -l) -> System.StdOut that takes a line in, reads the number of characters, and spits out the number of characters in the line. True, you can do this with bash. Pipeline is strongly typed. Let's say we want to implement the above newline delimited, character counting functionality. The data enters as a stream.

Environment Variable Resolution in VSCode

Problem Linux environment variables declared in ~/.bashrc aren't pulled into VSCode when it starts. Specifically, I declared a variable export foo\'bar'= in ~/.bashrc. I launch VSCode using its desktop file (via the rofi launcher). Then when I execute a dotnet build process I find that the foo variable is unset in any of the shells that VSCode launches. Solution This issue arises because of how VSCode initializes in different contexts.

About

Christ, Breaking, Making šŸ”—In a few words, I am first a follower of the God of the Bible; Christ is my saviour. Second, I like to break things. I started early in life breaking things. Later in life I learned to fix things and eventually make things. I donā€™t have a software engineering specialty to speak of, and my interests are broad. ā€œJack of all trades, master of noneā€. I have experience with Python, JS, Java, C, C#, Scheme, and a few other programming languages.