Since 2008 or 2009 I work on Apple hardware and OS: back then I grew tired of Linux desktop (which is going to be MASSIVE NEXT YEAR, at least since 2001), and switched to something that Just Works. Six years later, it less and less Just Works, started turning into spyware and nagware, and doesn't need much less maintenance than Linux desktop — at least for my work, which is system administration and software development, probably it is better for the mythical End User person. Work needed to get software I need running is not less obscure than work I'd need to do on Linux or othe Unix-like system. I am finding myself turning away from GUI programs that I used to appreciate, and most of the time I use OSX to just run a terminal, Firefox, and Emacs. GUI that used to be nice and unintrusive, got annoying. Either I came full circle in the last 15 years of my computer usage, or the OSX experience degraded in last 5 years. Again, this is from a sysadmin/developer ki
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'zlib' | |
require 'rexml/document' | |
File.open("CONTENT.tda") do |zipped_f| | |
File.open("CONTENT.tda.tdz", "r") do |index_f| | |
while record = index_f.read(8) | |
size = record.unpack("V*")[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
degrees | |
1 - 111.132km | |
0.1 - 11.1132km | |
0.01 - 1.11132km | |
0.001 - 111.132m | |
0.0001 - 11.1132m | |
0.00001 - 1.11132m | |
0.000001 - 11.1132cm | |
0.0000001 - 1.11132cm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
#include <errno.h> | |
main( int argc, char ** argv, char ** envp ) | |
{ | |
if( setgid(getegid()) ) perror( "setgid" ); | |
if( setuid(geteuid()) ) perror( "setuid" ); | |
envp = 0; /* blocks IFS attack on non-bash shells */ | |
system( "/path/to/bash/script", argv, envp ); | |
perror( argv[0] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Copyright (C) 2017 Upper Stream. | |
# | |
# See the bottom of this file for licensing conditions. | |
# | |
#set -x | |
set -e |
this is a rough draft and may be updated with more examples
GitHub was kind enough to grant me swift access to the Copilot test phase despite me @'ing them several hundred times about ICE. I would like to examine it not in terms of productivity, but security. How risky is it to allow an AI to write some or all of your code?
Ultimately, a human being must take responsibility for every line of code that is committed. AI should not be used for "responsibility washing." However, Copilot is a tool, and workers need their tools to be reliable. A carpenter doesn't have to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Name: XCCS (XC-3-1-1-0) to Unicode | |
# Unicode version: 12.0 | |
# Table version: 0.1 | |
# Table format: Format A | |
# Date: 6-Aug-2020 | |
# Author: Ron Kaplan <Ron.Kaplan@post.harvard.edu> | |
# John Cowan <cowan@ccil.org> | |
# | |
# This file contains mappings from the Xerox Character Code Standard (version |