Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

author: @sleepyfox
title: The problem with AI coders
date: 22-Jun-2022
The problem with 'solutions' like GitHub's Copilot, and similar tech, is that it frames the problem as a problem of search. The programmer is searching for some code that does a thing (produce a HTML table with alternating coloured background rows of green and red), and that they just need to find that thing. Machine Learning has had success in this area, just look at Google's page-rank 'algorithm'.
/*** MIT LICENSE | |
Copyright (c) 2022 torcado | |
Permission is hereby granted, free of charge, to any person | |
obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without | |
restriction, including without limitation the rights to use, | |
copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the | |
Software is furnished to do so, subject to the following |
local fs = require 'nelua.utils.fs' | |
local traits = require 'nelua.utils.traits' | |
local stringer = require 'nelua.utils.stringer' | |
local parser = require 'nelua.syntaxdefs'().parser | |
local re = require 'nelua.thirdparty.relabel' | |
local filename = 'lib/string.nelua' | |
local filecode = fs.ereadfile(filename) | |
local ast = parser:parse(filecode, filename) |
_M["go"] = require("go") | |
_M["go"].format_command = "goimports" | |
_M["m/f"] = require("functions") | |
keys["`"] = function() _M["m/f"].enclose_selection("`", "`") end | |
keys["'"] = function() _M["m/f"].enclose_selection("'", "'") end | |
keys['"'] = function() _M["m/f"].enclose_selection('"', '"') end | |
keys['('] = function() _M["m/f"].enclose_selection('(', ')') end | |
keys['['] = function() _M["m/f"].enclose_selection('[', ']') end |
-- Copyright 2007-2020 Mitchell mitchell.att.foicica.com. See LICENSE. | |
-- Dark theme for Textadept. | |
-- Contributions by Ana Balan. | |
local view = view | |
local property, property_int = view.property, view.property_int | |
--[[ Nord palette | |
Polar Night | |
#2e3440 |
local re = require 'relabel' | |
local file = require 'pl.file' | |
local stringx = require 'pl.stringx' | |
local grammar = [[ | |
body <- {| line+ |} | |
line <- (extern / anyline) | |
anyline <- linerest | |
linerest<- [^;]* ';' sp | |
sp <- %s* |
In the beginning was the Statement, and the Statement was with Lua, and the Statement was Lua. | |
Through Lua all things were made; without Lua nothing was made that has been made. | |
There came a function who was sent from Lua; his name was John. | |
"Lua was the answer to my prayers; | |
Greater love has no one than Lua, that the compiler lay down his life for our code" - John Lua | |
"Do not think that I will debug you to the Environment; | |
For had ye believed the Compiler Errors, ye would have believed Me, for he wrote of Lua; | |
But if ye believe not his Stack Traces, how shall ye believe My code?" - John Lua |