=== ANCHOR POEM ===
════════════════════════════════════════════════───────────────────────────────────
@user-1037
Lua with 0 based indexing would be the perfect language (okay maybe LuaJIT)
(i try to hurt as few people as I can as little as I can but it's impossible
to not hurt anyone)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════──────────────────────┴───────────┘
=== SIMILARITY RANKED ===
--- #1 fediverse/2639 ---
══════════════════════════════════════════════════─────────────────────────────────
Lua is 100% better than Python in every way, fite me
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════────────────────────┴───────────┘
--- #2 fediverse/5945 ---
═════════════════════════════════════════════════════════════════════──────────────
lua is my favorite language
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════════════════════════─┴───────────┘
--- #3 fediverse/5765 ---
╔══════════════════════════════════════════════════════════════════────────────────┐
║ Lua is the most fun language to write code in! The reason is because it's so │
║ simple, it distills programming down to it's basics, and there's very few │
║ surprises. Plus, you can use it like a bash script, meaning it's great for │
║ writing little utilities. │
║ │
║ why are we so attached to monolithic massive programs without shared memory? │
║ we could just write to the hard drive by file.io'ing a file and opening it │
║ later in a different program. What's the deal with databases, whatever │
║ happened to just loading things into a datastructure? │
║ │
║ oh, is your filesize too massive? what if we redundancied and abstracted and │
║ concentrically inter-co-acted and thus our familiar forces are defined. │
║ │
║ who are your true foes, in [checks notes] computer programming? um, probably │
║ complexity, probably logical incongruities, probably │
║ future-technical-debt-style incomprehensibilities, probably stuff that doesn't │
║ really have anything to do with the hardware but instead is mostly software. │
║ │
║ essentially, organization, but done on a whim. │
║ │
║ "but $?" │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩═══════════════════════════════════════════════════════─────┴───────────┘
--- #4 fediverse/2638 ---
══════════════════════════════════════════════════─────────────────────────────────
I really do believe that you can write any computer program you'd like with a
combination of Lua, Bash, and C.
Bash to start the program and enable updates / configuration, Lua to handle
the scripting and ordering of events, and C (or Rust) to execute performance
intensive sections. (often in their own threads)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════────────────────────┴───────────┘
--- #5 fediverse/3544 ---
════════════════════════════════════════════════════───────────────────────────────
┌───────────────────────────┐
│ CW: programming-mentioned │
└───────────────────────────┘
"I wish there was a language that was as simple as C but had [insert complex
language feature here]"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #6 fediverse/6437 ---
════════════════════════════════════════════════════════════════════════───────────
if I was writing a programming language, I'd name it C just to fuck with people
(great, now others can decide how it's known)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧═──────────┘
--- #7 fediverse/6256 ---
═══════════════════════════════════════════════════════════════════════────────────
I love Lua
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧───────────┘
--- #8 fediverse/1320 ---
════════════════════════════════════════════───────────────────────────────────────
┌───────────────────────────────────────────────────────┐
│ CW: cursing-mentioned-programming-languages-mentioned │
└───────────────────────────────────────────────────────┘
BASH with the syntax/semantics of LUA and the performance of C would probably
be the perfect language, IMHO
procrastinating again, damnit
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════──────────────────────────┴───────────┘
--- #9 fediverse/5781 ---
image.png
═══════════════════════════════════════════════════════════════════────────────────
┌───────────────────────────────────┐
│ CW: computers-are-far-from-simple │
└───────────────────────────────────┘
could also have a neat visualizer for the data structures you'd build.
[highly recommend that any programmer learn Lua, it's faster than you know]
I name my variables after objects and patterns and I think that's normal
"so wait, she's just not a believer in the rent-economy?" nope I think rent is
too large of a portion of a person's budget, it prevents them from spending on
things that would enable them.
if landlords are too plentiful, their overall share will decrease. This has
been practiced over the ages and the truth always winds up on the streets.
homeless people often have just run away from home, with nothing but what they
carried.
cities should have private fountains in addition to public ones. With at least
10 ft of pathway to each one. [I recommend closer to 20] they should have
plants and glasses and stone and soil deposi[caches, but pronounched "stashes"]
girl you are way too insane for this, why are you dreaming with all your
lights on?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧════════════════════════════════════════════════════════───┴───────────┘
--- #10 fediverse_boost/150 ---
◀═╦════════════════════[BOOST]══════════════════════─────────────────────────────┐
║ ┌──────────────────────────────────────────────────────────────────────────┐ │
║ │ i think my complaints about rust really boil down to “i know what im │ │
║ │ doing and this language is designed for people who don’t” │ │
║ └──────────────────────────────────────────────────────────────────────────┘ │
╠─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═══════════════════════════════════════─────────────────┴───────────┴─▶
--- #11 fediverse/5663 ---
══════════════════════════════════════════════════════════════════─────────────────
I'm going to write some lua code that doesn't do anything useful and which I
don't share with anyone
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════────┴───────────┘
--- #12 fediverse/5180 ---
╔═════════════════════════════════════════════════════════════─────────────────────┐
║ it's trivial to run a C compiler inside of a lua interpretation of a script. │
║ And vice versa - you could totally run lua functions from C. Just point to the │
║ spot in memory where they're stored / operating, and call │
║ "update_class_exhibitor_type_d()" and the linker will come along and say "huh │
║ this looks like something from this library that's part of the requirements up │
║ above" (the "includes" section is where you say which files include the │
║ functions you're going to be calling) and in this particular case it would see │
║ that you need to start up a lua interpreter *inside of the [either compiler or │
║ running program I can't remember]* to properly execute the function of the │
║ function that you're pointing at with a lua-pointer style data object which is │
║ part of a struct that stores all the other lua functions in a spot in memory. │
║ │
║ this would enable you to write computer programs in whatever language you │
║ choose, and build them into one large project. Essentially opening up software │
║ development to ANYONE WHO CAN PROGRAM │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩══════════════════════════════════════════════════──────────┴───────────┘
--- #13 fediverse/5949 ---
═════════════════════════════════════════════════════════════════════──────────────
@user-138
I don't know what it does yet T.T
it's Lua, not C
what's the message? maybe I can help, I'm much better at bash than... actually
I'm not very good at bash, but only the cool kids are.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════════════════════════─┴───────────┘
--- #14 fediverse_boost/414 ---
◀═╦════════════════════════════[BOOST]══════════════════════════════─────────────┐
║ ┌──────────────────────────────────────────────────────────────────────────┐ │
║ │ Some programming languages I’ve tried and liked and would recommend │ │
║ │ to others:C (especially C89/C90/“ANSI C” and C99)posix shell, │ │
║ │ bourne shell, and similar shells (bash, ksh93, mksh)PHPScheme │ │
║ │ (depending on the vibes I’m getting from someone I might │ │
║ │ recommend)Common Lisp (Same caveat as Scheme)Emacs Lisp (Same caveat as │ │
║ │ Scheme and Common Lisp)Motorola 68000 assembly │ │
║ │ │ │
║ │ Some languages I’ve tried and liked but would not recommend to │ │
║ │ others:Hewlett-Packard RPL (Actually I might recommend it to someone │ │
║ │ but it has to be a very specific kind of person)FORTH (same as │ │
║ │ RPL)Commodore BASIC (Microsoft BASIC) for the VIC-206502 assembly (so │ │
║ │ bad it’s good)Z80 assembly │ │
║ │ │ │
║ │ Some languages I’ve tried, did not like, and would not recommend to │ │
║ │ others:COBOL (maybe I could get used to it? I can at least read it. │ │
║ │ Just it’s so painfully like writing SQL statements without being as │ │
║ │ generally useful as SQL database queries)Kotlin (Like that feeling when │ │
║ │ you read words that alone you understand, but together in a sentence │ │
║ │ they make zero sense)JavaClojure (a.k.a. “Let’s make Common Lisp │ │
║ │ but make it worse”)Rust (stands for “Ridiculous Use of System │ │
║ │ Time” or something as far as I am concerned, heavy on memory and │ │
║ │ storage and super slow to compile and reads like Kotlin)TI BASIC │ │
║ │ (TI-82/83/84 style; TI-89 is a little bit better but still not good)C++ │ │
║ │ (unless you’re just writing almost completely C and building it with │ │
║ │ a C++ compiler)x86 assembly (I kind of like it but mostly don’t, │ │
║ │ there are better and more coherent CISC processor ISA’s if you’re │ │
║ │ into that) │ │
║ │ │ │
║ │ I should put Javascript somewhere, so I’ll say that it’s possible │ │
║ │ to write javascript code that I like and can read. Just no one chooses │ │
║ │ to do it anymore. There was a window between the time JQuery started to │ │
║ │ fade and all these stupid fucking “web frameworks” took off that it │ │
║ │ was somewhat tolerable. │ │
║ └──────────────────────────────────────────────────────────────────────────┘ │
╠─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═══════════════════════════════════════════════════════─┴───────────┴─▶
--- #15 fediverse/1233 ---
════════════════════════════════════════════───────────────────────────────────────
low key kinda wish someone would kidnap me and lock me in a room with nothing
but a c compiler and strict orders to only work on whatever I want
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════──────────────────────────┴───────────┘
--- #16 fediverse/3543 ---
════════════════════════════════════════════════════───────────────────────────────
@user-777
my favorite thing about specialization is that not everyone has to do
everything
(translate *that* into C lmao)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #17 fediverse/701 ---
image.png
══════════════════════════════════════════─────────────────────────────────────────
┌──────────────────────┐
│ CW: computer-code │
└──────────────────────┘
totally useless unless you're, I dunno, building a bytecode interpreter or
something
https://craftinginterpreters.com/contents.html
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════────────────────────────────┴───────────┘
--- #18 fediverse/3151 ---
╔══════════════════════════════════════════════════────────────────────────────────┐
║ ┌───────────────────────────┐ │
║ │ CW: re: cursing-mentioned │ │
║ └───────────────────────────┘ │
║ │
║ │
║ @user-1461 │
║ │
║ I'm best at Bash. │
║ │
║ I'm most capable with Lua. │
║ │
║ My favorite is C. │
║ │
║ I'm not a good programmer, I think too hard. Massive systems are too large for │
║ me. I like laying out data, whether that be by files and programs in Bash, │
║ arrays and tables in Lua, or memory and datatypes in C, I like to think about │
║ how programs are constructed. │
║ │
║ Which functions point to which piles of numbers? what do they do when they get │
║ there? │
║ │
║ I think I'm better as an artist. But I can do systems administration quite │
║ well (with Bash and a guiding hand telling me what and why to do) │
║ │
║ ... though I kinda suck at technical sysadmin, like Gentoo. There's too much │
║ terminology - why is data too complicated? Just use data! │
║ │
║ anyway. I sound opinionated, but I listen closely to good arguments and │
║ quickly change my tune when I am incorrected. I am a team player, and I firmly │
║ believe that sometimes a bad plan executed with cohesion and precision is │
║ better than the best play executed too late and with too little strength. │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩═══════════════════════════════════════─────────────────────┴───────────┘
--- #19 fediverse/3148 ---
═══════════════════════════════════════════════════────────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
A big reason why I hate Java is because I write *terrible* Java that would
constantly need to be refactored. Even though it's faster and better, nobody
would understand it, so it would need to be rewritten. Fucking great, that's
why I don't write Java. Fucking Java.
[Java is the main language used in her university studies. The ones she's
currently failing out of.]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧════════════════════════════════════════───────────────────┴───────────┘
--- #20 fediverse/777 ---
══════════════════════════════════════════─────────────────────────────────────────
@user-192
Those are good points. The C in our hearts is elegant, but the C that runs on
every computer in the world is spaghetti.
I'm sure someone's made a language that's "C but simple" - Zig maybe? I looked
into V a while back but got turned off of both of them because neither had
support for multithreading, which is essential in the modern era.
Also, typedefs for structs make me mad -.-
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════────────────────────────────┴───────────┘
--- #21 fediverse/5338 ---
════════════════════════════════════════════════════════════════───────────────────
I asked my girlfriend what was so special about lisp
she said it was "homoiconic"
I asked what that meant
she said that the text that comprised the source code was always a valid data
structure in the language, meaning you could do strange things like develop
new control flow systems or change the behavior of language primitives like +
or -
I asked what was the point, she said I didn't get it
so then she asked me to implement a new control flow operator in my favorite
language, Lua, and I was like "bet"
so I did
and it turns out that in order to do so I essentially created a mini embedded
lisp inside of Lua
(it was a function that took in two arguments and an operator and she's like
congrats that's just lisp)
it was at this moment that I was enlightened
the beauty of lisp
it's true and ultimate purpose
is to write lisp code
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════════════════──────┴───────────┘
--- #22 fediverse/1427 ---
════════════════════════════════════════════───────────────────────────────────────
if you want your game to be playable in 20 years, make sure it runs on Linux.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════──────────────────────────┴───────────┘
--- #23 fediverse/1246 ---
════════════════════════════════════════════───────────────────────────────────────
@user-883
hehe if I don't understand how it works it's difficult for me to use things.
My Linux friends get so exasperated with me because I'm like "cool script
gimme like 2 days to figure it out" and they're like "bro just use these
flags" and I'm like "no"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════──────────────────────────┴───────────┘
--- #24 fediverse/5979 ---
═════════════════════════════════════════════════════════════════════──────────────
whenever you call a function, just pass along the arguments that you don't
know what to do with yet. they'll surely be useful sometime. and, luckily, you
can always search for them from the past, and just insert a "store this value
in this random spot of memory and mark it as needed" then pass it along. used
something? think it's still useful? pass it along (suddenly, formulaic
stateless development, where everything is used until it's no longer needed,
then generated again in a cyclical time-loop cycle which echoes and
reverberates groundhog day but mostly a game-loop, which nobody will
understand unless you're a game dev. but now since I said game dev, anyone can
look it up, so like... not that one, but others like it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════════════════════════─┴───────────┘
--- #25 fediverse/2859 ---
══════════════════════════════════════════════════─────────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
large corporations will often error check *constantly* which slows down their
software to an immense degree.
every time data passes from one function to another, there's like... 15
different tests to check if it's this type or that, or in the right random seed
and it's like... wow can you not, like. design your software intelligently and
then you won't need a bunch of slow-ass if checks every time you want to
update a string???
software should be writable without fucking getters and setters. If it isn't,
then your functions aren't complete.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════────────────────────┴───────────┘
--- #26 fediverse_boost/334 ---
◀═╦══════════════════════════[BOOST]════════════════════════════─────────────────┐
║ ┌──────────────────────────────────────────────────────────────────────────┐ │
║ │ compiler errors per revolution │ │
║ └──────────────────────────────────────────────────────────────────────────┘ │
╠─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═══════════════════════════════════════════════════─────┴───────────┴─▶
--- #27 fediverse/403 ---
═════════════════════════════════════════──────────────────────────────────────────
cursed idea:
a compiler that only accepts source-code with exactly 80 characters per line
(whitespace counts)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════─────────────────────────────┴───────────┘
--- #28 fediverse/3482 ---
════════════════════════════════════════════════════───────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
"Alright I'm not great with syntax so I'm going to write it in pseudocode
first, and then if you'd like I can show you how I work through implementing
the syntax.
But first - do you want a robust solution, a quick solution, or a rapidly
deployed and cheap solution?"
using this trick you can pretend to be competent in any programming language,
except maybe ancient ones like Fortran or strange ones like lisps or Haskell
if they ask you to use a framework or something tho you're kinda boned because
you need to know which functions to call and how to initialize context and
such. When using a framework, the boilerplate is the code, which is why
frameworks suck
"*don't call yourself a programmer*" fuck off
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #29 fediverse/5990 ---
═════════════════════════════════════════════════════════════════════──────────────
I have this local language model framework but it's not built into anything
more than a single-response question. It's runnable as a bash script or lua
require, which is easy enough. Alas, if only I didn't have to use evil
corporate infrastructure to make evil corporate cursed artifacts
[hey don't blame this on us]
oh I'm not, I'm just saying that it'd be cooler if I could build my own tools.
Alas, I'm...
lasy?
n...no
I'm drawn to the power of it
it's got a different magnitude
it's hard for me to apply myself for things that last longer than a "get
stoned", but I try as if every time afterwards I might die.
well, more distraction time, as I wander through claude code
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════════════════════════─┴───────────┘
--- #30 fediverse/5248 ---
═══════════════════════════════════════════════════════════════────────────────────
programming is something that everyone should learn at 14 to be used for
calculating large sums of data, visualizing something they're trying to
explain, or connect two systems that aren't normally connected.
It should not be used as an eternal debug producing machine, nor as a way to
collect and store user information to be sold as the real product, nor to be
collecting and targeting -- stack overflow -- wow, talk about death of the
author, amiright? -- -- endless data hoarding monger machines to point and to
ponder the eternal ramifications of the brutal and violent prompts and their
baggage implied when submitted for each semi-random thought that from the
users mind was displaced.
... "they can sell this" and or "this is mrs selvig" who is this mister and
why is the ms's his-es
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧════════════════════════════════════════════════════───────┴───────────┘
--- #31 fediverse/2484 ---
image.png
╔═════════════════════════════════════════════════─────────────────────────────────┐
║ @user-1271 │
║ │
║ I can help with that. │
║ │
║ I recommend looking at Ollama, which runs an HTTP server on your local machine │
║ (hope you have a decent graphics card) │
║ │
║ then, script some behavior you'd like to implement using Lua and the │
║ LuaSockets library. Also dkjson to handle the json parts. │
║ │
║ then, all you have to do is construct a prompt based on the variables and │
║ desired input/output and push it into a json packet and send it to the HTTP │
║ server. It's less complicated than it sounds. │
║ │
║ what you want it to do and your implementation for it is the hard part. But │
║ perhaps this project of mine will get you started: │
║ │
║ (I can copy-paste it too if you'd like) │
║ │
║ just... don't make a chatbot. chatbots are useless to work on because there's │
║ already so many of them. │
║ │
║ much better I think to use the LLM to process arbitrary information with an │
║ unpredictable form into more predictable patterns which can be utilized │
║ programmatically. │
║ │
║ Feel free to ask any questions. Do keep in mind that training LLMs is │
║ unethical, but using them is whatever. │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩══════════════════════════════════════──────────────────────┴───────────┘
--- #32 fediverse/6251 ---
╔══════════════════════════════════════════════════════════════════════────────────┐
║ "Hi computer, all is well. Can you create me a visualization of this │
║ particular mathematical concept? It should be written in Lua using the Love2D │
║ engine because that's my favorite. I should be able to step through the │
║ calculation steps and modify values at each stage, and by the end we should │
║ have a fully interactable system which works through the general concepts of │
║ this particular kind of math." │
║ │
║ "no no I don't want you to explain it to me, I want a tool - a toy - that I │
║ can play with to better understand it. Let's build it in Lua using the Love2D │
║ engine because that's my favorite. When we're done we can start converting it │
║ to use HTML5 - no javascript! - but for now let's get the system operational. │
║ It should have a config file that can be adjusted with every value we can │
║ think of." │
║ │
║ "can you go through this fully functional system and extract as many values as │
║ you can think of into a config file? make sure there's efficient loading of │
║ those values in the main function (or somewhere similar) as well. ty" │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩═══════════════════════════════════════════════════════════─┴───────────┘
--- #33 fediverse/2003 ---
═════════════════════════════════════════════════──────────────────────────────────
The most important programming language to master is pseudocode.
With a firm grasp of pseudocode in your toolbox, you can solve any problem in
any language.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════─────────────────────┴───────────┘
|