679 karma · joined March 3, 2019
Oh... like teal?
local print = print
("hello"):format()
local foo = func
("args to func"):itreturnedatable("!")https://web.tecgraf.puc-rio.br/~lhf/ftp/lua/#limath
luajit does have integers (try 5ull+6), bit operations via the bit library (absorbed from lua5.2)
Lots of default functionality missing so you MUST have these packages: inspect, luaposix, lrexlib-pcre, lrexlib-posix, lpeg, luastd/stdlib, luasocket, luahttp, luasec, luacheck, penlight
* luajit is unnecessary in almost all cases, you don't need the speed.
* use lsp or luacheck whenever you write something, entr -c luacheck file on everything.
* patterns are not regex which means they do not support lookups, backtracking or |, so you must install lrexlib-pcre or lrexlib-posix (frankly I never need pcre so I stick to lrexlib-gnu or lrexlib-posix).
* overload _ENV so it auto requires unknown things, I have a lua wrapper that does this and it makes it a joy not having all of my scripts with a bunch of require"posix" on all of them
* install inspect to inspect tables
* os.execute and io.popen only accepts strings as parameters which means you should overload it and make a function that accepts tables as well.
* 5.4 is still lacking support for many libraries, 5.3 has most of the libraries.
* assignments default to the global environment so you have to use local keyword or set _ENV to error on assignment (or better yet, don't care, just local _ENV = mymodule)
Overall, Lua is just a mixture of C with a pascal syntax and garbage collection (and also tables which is a weird data structure)
refetching terminfo capabilities seems an easy fix, you also get sigwinched which I imagine happens on a new terminal.
Mind you, I don't use abduco but do use dtach sometimes, I've accepted that I need screen and tmux with all its warts, like instead of using a scripting language like TCL/Lua for configuration it built its own frankenstein language that is severely limited.
The software world was basically created by Xerox and AT&T research.
Secondly, XDG is a much better standard than FHS and actually supports normal users, needing to be root to install a random application is a security vulnerability waiting to happen.
Lastly XDG is not complicated at all. its around 10 envvars pointing to directories that you have to mkdir, its preferable that you put these paths in your .login as a shellscript so they're static, that's it, that's all.
And its well supported, nearly everyone is moving and using $XDG_CONFIG_HOME which is $HOME/.config instead of throwing their configuration files into $HOME/.MYPROGRAM
FWIW I would love if Everyone just used $HOME/.local/$FHS that way everything is reused
But then again a /tmp/usr/$USER or /var/cache/usr/ should also exist, nobody cares.
Honestly if there is no comma to separate the values, then its not csv maybe Csv for character separate values or asv for anything separates values but you're right, this makes it hard how everyone is doing whatever. IMV supporting "" makes supporting anything else redundant.
How do you do this simply? you read each line, and if there's an uneven number of ", then you have an incomplete record and you will keep all lines until there is an odd number of ". after having the string, parsing the fields correctly is harder but you can do it in regex or PEGs or a disgusting state machine.
Mixing email with the drive service in the account is actively hostile.
It's why OK Boomer is an insult.
But what do I know.
https://www.npr.org/2025/02/19/nx-s1-5302705/doge-overstates...
Its not damning to call something broken, plenty of software has bugs that make it unusable and are broken to many people. In fact, many tools have been made in anger at other tools not doing what you want them to do. This is just the software inception cycle. You should be allowed to be angry at the brokenness of software... its what allows improvement.
That's opinion.
> plenty of safe nuke plants running and they are building more for datacenters
Yeah, and they were doing it safely.
> not really a problem of government spending unless you are saying they should pay more? not sure what youre getting at
You do, you're just ignoring it on purpose.
> Yes it can I mean afterall we had no income tax during the industrial revolution
And now you do, because it was necessary, back when it was implemented... this is just ignoring economic history.
Also, Industrial revolution!? the 1800s!? huh!?
Of course there was small government back then, the government only worked for landowners, not blacks or even women. Just white land owners. There wasn't even plumbing back then on most of america, barely any public utility, hell there wasn't even electricity, there was literally nothing to do apart from not dying of cholera.
plus the slaves/women did everything for free and if they died you just replaced them.
> this was true when we hired people based on merit and not immutable characteristics.
Pretty sure you're still hiring doctors and people with degrees, just now you have to hire a black one sometimes. what's so bad about a 1% in diversity hires?
(also trans people have mutable charactistics, ha)