Programming Leftovers
-
Emacs standing alone on a Linux Kernel
Of course, quite a number of syscalls are missing from emacs (not available as elisp primitives), so as it is, it would be hard enough to do EVERYTHING with emacs, but this is a starting point.
-
Linux Fu: Reading Your Memory’s Memory
Linux users have a lot of software to be proud of. However, there is the occasional Windows program that does something you’d really like to do and it just won’t run. This is especially true of low-level system programs. If you want to poke around your CPU and memory, for example, there are tons of programs for that under Windows. There are a few for Linux, but they aren’t always as complete or handy. Recently, I had half the memory in my main desktop fail and I wanted to poke around in the system. In particular, I wanted to read the information encoded in the memory chips configuration EEPROM. Should be easy, right? You’d think.
-
Something unclear in the Common Lisp standard
There is what I think is a confusion as to bound declarations in the Common Lisp standard. I may be wrong about this, but I think I’m correct.
-
Reddit: If you want to slurp our API to train that LLM, you better pay for it, pal
In a move seemingly designed to stop being used as a free training library for large language models, megaforum Reddit said it's going to begin charging companies who make excessive use of its data-downloading API.
-
Reddit to charge for access to its API to counter free data scraping by AI companies
The company said it will now start charging for access to its application programming interface, an API that has been used by AI companies such as Microsoft Corp.’s Bing AI and OpenAI LP’s ChatGPT models, to train their chatbots. Reddit has been one of the most valuable resources in this regard, with its 57 million users chatting about almost every topic under the sun since it was established in 2005. In terms of training large language models, LLMs, Reddit’s data is priceless.
-
Use autoloading and namespaces in PHP
In the PHP language, autoloading is a way to automatically include class files of a project in your code. Say you had a complex object-oriented PHP project with more than a hundred PHP classes. You'd need to ensure all your classes were loaded before using them. This article aims to help you understand the what, why, and how of autoloading, along with namespaces and the use keyword, in PHP.
-
Talk to your cluster with this open source Python API wrapper
Open source projects that create a wrapper around an API are becoming increasingly popular. These projects make it easier for developers to interact with APIs and use them in their applications. The openshift-python-wrapper project is a wrapper around openshift-restclient-python. What began as an internal package to help our team work with the OpenShift API became an open source project (Apache License 2.0).
This article discusses what an API wrapper is, why it's useful, and some examples from the wrapper.
-
A Winter’s Tale: Improving messages and types in GDB’s Python API
As a winter associate at Trail of Bits, my goal was to make two improvements to the GNU Project Debugger (GDB): make it run faster and improve its Python API to support and improve tools that rely on it, like Pwndbg. The main goal was to run symbol parsing in parallel and better use all available CPU cores. I ultimately implemented three changes that enhanced GDB’s Python API.
-
rc: a new shell for Unix
rc is a Unix shell I’ve been working on over the past couple of weeks, though it’s been in the design stages for a while longer than that. It’s not done or ready for general use yet, but it is interesting, so let’s talk about it.