Programming Leftovers
-
Thorsten Ball ☛ Glad I did it in Go
The eight year anniversary of Writing An Interpreter In Go is coming up. This year again, just like every time I look back to November 2016, I find myself thinking: man, I’m glad I used Go for these books.
-
University of Toronto ☛ Go's new small language features from 1.22 and 1.23 are nice
Recently I was writing some Go code involving goroutines. After I was done, I realized that I had used some new small language features added in Go 1.21 and Go 1.22, without really thinking about it, despite not having paid much attention when the features were added. Specifically, what I used are the new builtins of max() and min(), and 'range over integers' (and also a use of clear(), but only in passing).
-
FreeBSD ☛ Why Your Open Source Project Should Prioritize Security: Lessons from FreeBSD’s Proactive Approach
FreeBSD, one of the most respected and enduring open source operating systems, has taken a proactive stance on security that offers valuable lessons for other projects.
FreeBSD’s existing security posture is rooted in a comprehensive, proactive approach to securing the operating system. It includes risk management through continuous monitoring, code reviews, and static analysis, focusing on identifying and mitigating vulnerabilities before exploitation. The structured incident response process, adherence to security governance, and emphasis on a robust security architecture ensure FreeBSD maintains a resilient security framework. These efforts are supported by community engagement and regular security audits, enhancing the platform’s overall reliability and trustworthiness.
-
Rlang ☛ Understanding Character Variables in C: A Beginner’s Guide
Character variables are fundamental building blocks in C programming, serving as the foundation for text processing and string manipulation. For beginner C programmers, understanding how to work with character variables is crucial for developing robust and efficient programs.
-
Rlang ☛ Automated random variable distribution inference using Kullback-Leibler divergence and simulating best-fitting distribution
Fitting multiple continuous parametric distributions on a vector of data, use Kullback-Leibler divergence for checking distribution adequation, and simulate best-fitting distribution
-
Zach Daniel ☛ Serialization is the Secret
Now that you understand that rebinding isn’t mutation, you can see the fact that the value of a given variable will never change. This lends itself to well to understandable code. For example, in Javascript, objects are mutable, and are passed to functions by reference. Which means that calling functions can do “surprising stuff”:
-
Medevel ☛ Vercel and Netlify as CI/CD Platforms: Why You Should Consider These 6 Free Open-Source Alternatives
Vercel and Netlify are leading platforms for Continuous Integration and Continuous Deployment (CI/CD) in modern web development. They offer seamless experiences by automating deployment, integrating with Git repositories, and supporting fast, global-scale web application delivery.
-
Qt ☛ Qt Contributor Summit 2024: Highlights