Memory leaks have plagued C programs for as long as the language has existed. Many solutions have been proposed, even going so far as to suggest we should rewrite C programs in other languages. But there’s a better way. Presented here is a simple solution that will eliminate the … | Continue reading
Can you use go run for scripting? I wrote a small program to find out. gorun.go package main import ( "fmt" "os" "os/exec" "time" ) func main() { start := time.Now() gogo := fmt.Sprintf(`package main import "fmt" func main() { fmt.Printf( … | Continue reading
I didn’t realize I needed this until I implemented it, and now, oh wow, can’t imagine life without it. Normally, a terminal draws lines of text at fixed intervals. Line 1 starting at pixel 0, then line 2 at 24 pixels, etc. When the text scrolls, line 2 immediately becomes line 1 … | Continue reading
A brain–computer interface for rapid typing. | Continue reading
Walk the streets of Manhattan these days and it's hard to believe that, only months ago, this was one of a handful of "supercities" whose dense concentration of innovative businesses and highly skilled workers was meant to drive economic growth in the 21st century. Six months in … | Continue reading
Companies like Facebook and Twitter expect many employees to work far from headquarters after the pandemic. That calls for a change in corporate cultures. | Continue reading
The increasingly widespread application of AI research has brought growing awareness of the risks posed by AI systems, and recognition that existing regulations and norms in industry and academia are insufficient to ensure responsible AI development. In order for AI developers to … | Continue reading
Execute local commands via Telegram messages | Continue reading