797 karma · joined Apr 13, 2016 (10y ago) · 302 submissions
Contact:
$ echo aG5AcHJvdG9uZXQuc2gK | base64 -d
comment 9mo ago · link · parent
Say what you want about LLM-assisted software development, the chances are high that it will stay, meaning a non-trivial part of code will be written by an LLM.
So is it better to have
- git commit (mostly only code)
- magic or blackblock (meaning back and forth by developer with LLM, before commit)
- git commit (mostly only code)
...
(rinse and repeat)
or - git commit (prompt and/or code)
- git commit (prompt and/or code)
...
(rinse and repeat)
Obviously for that to work the LLM output has to be deterministic and a commit chain has to be pinpointed to a specific weight blob.comment 1y ago · link · parent
If you wonder how to quit (if started from a terminal):
It's `ESC 0`. Or "exit" like from a shell. Took me some time I have to admit (q, ctrl-c, ctrl-q, F10, ESC all did not work).
comment 1y ago · link · parent
comment 1y ago · link · parent
But what about the "scanned" document part? How do you handle that? Your PDF rendering engine probably just says: image at pos x,y with size height,width.
So as parent says you have to OCR/AI that photo anyway and it seems that's also a feasible approach for "real" pdfs.
comment 2y ago · link · parent
comment 2y ago · link · parent
Which is also cool! You're obviously both inspired by Unix `tail`. I wonder if we will get a POSIX/Linux layer on top of Kubernetes ... where pods/services somehow map to processes/systemd etc. ;)
comment 2y ago · link · parent
It's pretty standard to print the usage string if the tool is invoked with invalid arguments. However the program should then also exit with non-zero, otherwise it can be inconvenient to use in scripting.
comment 3y ago · link · parent
You are of course correct (sorry to sound like a language model), I missed the printf.
comment 3y ago · link · parent
My rule of thumb is to use Bash to write simple scripts, if they fit on the command line and have just one level of loop or if-else (lines can get very long, though ...). However for more complicated stuff I use the alternative programs (find, sed, awk, ...), as they behave more predictable.
Furthermore I am not sure one should use such simplified versions, that are just wrong:
is_float() {
# Usage: is_float "number"
# The test checks to see that the input contains
# a '.'. This filters out whole numbers.
[ -z "${1##*.*}" ] &&
printf %f "$1" >/dev/null 2>&1
}
I mean having a '.' in the string does make it a non-integer, but what about other floats like 2e3?comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
> Recently this has been my thought... that my future projects should be AGPL from day one.
If that means that companies can't use it, because that would mean, if they use it they would be required to open-source their managed SaaS solution ... that's a feature?