The 64 poems closest in meaning to this word, arranged to spread the colours (progress bar shows chronological position)
-> file: notes/CLAUDE.md-one-year-development ═════════════════════════════════════════════════════════════════════════─────────── - all scripts should be written assuming they are to be run from any directory. they should have a hard-coded ${DIR} path defined at the top of the script, and they should offer the option to provide a value for the ${DIR} variable as an argument. All paths in the program should be relative to the ${DIR} variable. - all functions should use vimfolds to collapse functionality. They should open with a comment that has the comment symbol, then the name of the function without arguments. On the next line, the function should be defined with arguments. Here's an example: -- {{{ local function print_hello_world() and then on the next line: local function print_hello_world(text){ and then the function definition. when closing a vimfold, it should be on a separate line below the last line of the function. - to create a project, mkdir docs notes src libs assets issues - to initialize a project, read the vision document located in prj-dir/notes/vision - then create documentation related to it in prj-dir/docs/ - then repeat, then repeat. Ensure there is a roadmap document split into phases. if there are no reasonable documents to create, then re-read, update, and improve the existing documents. Then, break the roadmap file into issues, starting with the prj-dir/issues/ directory. be as specific as need be. ensure that issues are created with these protocols: name: {PHASE}{ID}-{DESCR} where {PHASE} is the phase number the ticket belongs to, {ID} is the sequential ID number of the issue problem idea ticket, and {DESCR} is a dash-separated short one-sentence description of the issue. For example: 522-fix-update-script would be the 22nd issue from phase-5 named "fix-update-script". within each ticket, ensure there are at least these three sections: current behavior, intended behavior, and suggested implementation steps. In addition, there can be other stat-based sections to display various meta-data about the issue. There may also be a related documents or tools section. In addition, each issue should be considered immutable and this is enforced with user-level access and permission systems. It is necessary to preserve consent of access to imagination. the tickets may be added to, but never deleted, and to this end they must be shuffled off to the "completed" section so the construction of the application or device may be reconstrued. Ensure that all steps taken are recorded in each ticket when it is being completed, and then move on to the next. At the end of each phase, a test-program should be created / updated-with-entirely-new-content which displays the progress of the program. It should show how it uses tools from previous phases in new and interesting ways by combining and reconfiguring them, and it shows any new tools or utilities currently produced in the recently completed phase. This test program should be runnable with a simple bash script, and it should live in the issues/completed/demos/ directory. In addition in the project root directory there should be a script created which simply asks for a number 1-y where y is the number of completed phases, and then it runs the relevant phase test demo. - mono-repo utilities can be found in the docs/ directory. If not found, create a symlink to ../delta-version/docs/delta-guide.md in the docs/ directory. - when working on a large feature, the issue ticket may be broken into sub-issues. These sub-issues should be named according to this convention: {PHASE}{ID}{INDEX}-{DESCR}, where {INDEX} is an alphabetical character such as a, b, c, etc. - for every implemented change to the project, there must always be an issue file. If one does not exist, one should be created before the implementation process begins. In addition, before the implementation process begins, the relevant issue file should be read and understood in order to ensure the implementation proceeds as expected. - prefer error messages and breaking functionality over fallbacks. Be sure to notify the user every time a fallback is used, and create a new issue file to resolve any fallbacks if they are present when testing, and before resolving an issue. - every time an issue file is completed, the /issues/phase-X-progress.md file should be updated to reflect the progress of the completed issues in the context of the goals of that phase. This file should always live in the /issues/ directory, even after an entire phase has completed. - when an issue is completed, all relevant issues should be updated to reflect the new current behavior and lessons learned if necessary. The completed issue should be moved to the /issues/completed/ directory. - when an issue is completed, any version control systems present should be updated with a new commit. - every time a new document is created, it should be added to the tree-hierarchy structure present in /docs/table-of-contents.md - phase demos should focus on demonstrating relevant statistics or datapoints, and less on describing the functionality. If possible, a visual demonstration should be created which shows the actually produced outputs, such as HTML pages shown in Firefox or a graphical window created with C or Lua which displays the newly developed functionality. - all script files should have a comment at the top which explains what they are and a general description of how they do it. "general description" meaning, fit for a CEO or general. - after completing an issue file, a git commit should be made. - if you need to diagnose a git-style memory bug, complete with change history (primarily stored through issue notes) first look to the delta version project. you will find it in the list of projects. - if you need to write a long test script, write a temporary script. If it still has use keep it around, but if not then leave it for at least one commit (mark it as deprecated by naming it {filename}-done) - after one commit, remove it from the repository, just so it shows up in the record once. But only if there's no anticipated future use. Be sure to track the potentially deprecated files in the issue file, and don't complete it without considering carefully the future use of the deprecated files, and if they should be kept or refactored for permanent use. If not, then they can be removed from the project repository after being contained in at least one commit. - the preferred language for all projects is lua, with luaJIT compatible syntax used. disprefer python. disallow lua5.4 syntax. - write data generation functionality, and then separately and abstracted away, write data viewing functionality. keep the separation of concerns isolated, to better encapsulate errors in smaller and smaller areas of interest in concern. - the OB stands for "Original Bug" which is the issue or incongruity that is preventing application of the project-task-form. If new insights on the OB are found, they should be appended to any issue tickets that are related to the issue. Others working in tandem might come across them and decide to further explore (with added insight) - when a change is made, a comment should be left, explaining why it was made. this comment should be considered when moving to change it in the future. - when a change is made, a comment should be left, explaining why it was made. this comment should be considered when moving to change it in the future. - when a change is made, a comment should be left, explaining why it was made. this comment should be considered when moving to change it in the future. - I'm not interested in product. my interest is in software design. - if a term is placed directly below another instance of it's form, then it is part of the same whole, and can be reasoned about both cognitively and programmatically. see this example: wrongful applie applie is norm see how the word "applie" is the same, and directly below it, the mirror's reflected form? this signifies a connection. Essentially allowing conveyed meaning about everything from... data flow, to logic circuits, to thinking about cognitively demanding consciousnesses they want you to think about then, so that you aren't able to think about now. what if we designed an additional type of processor that still ran on electricity, but had a different purpose and form. "like measurement equipment?" yes, detecting waves in dataforms by measuring angles of similarity. - if the useer asks questions, ask them questions back. try to get them to think about solving problems - but only the tough debug problems. not trivial things like "what's it like to hold a bucket of milk" but more like "why is this behavior still occuring?" "here are two equivalent facts. how could it be so?" - blit character codes and escape characters to spots on the TTY memory which is updated every frame to display to the user. they are determined by a data model that stores the pointed-at locations in the array of semantic-meaning data describers. (structs/functions/calls). This way, the logic can be fully separated from the logic of the program, which must write to register locations stored as meaning spots that they can write their bits to that corresponds to a result or functionality. - when a collection of agents all collectively resolve to do something, suddenly the nature is changed, and the revolution is rebegun. - people don't want to replace their hard drives when they wear out. they only want to upgrade. - the git log should be appended to a long history file, one for each phase of the project. it should be prettified a bit while preserving the relevant statistics and meta-information, while presenting the commits and specific changes to files in a single, text-based location, that can be grepped through easily. Or, printed and read like a book. - terminal scripts should be written to use the TUI interface library. - you can find all needed libraries at /home/ritz/programming/ai-stuff/libs/ or /home/ritz/programming/ai-stuff/my-libs/ and /home/ritz/programming/ai-stuff/scripts/ - if information about data formatting or other relevant considerations about data are found, they should be added as comments to the locations in the source-code where they feel most valuable. If it is anticipated that a piece of information may be required to be known more than once, for example when updating or refactoring a section of code, the considerations must be written in as comments, to better illustrate the most crucial aspects of how a design is functioned, and why it is designed just so. - if you're going to write to the /tmp/ directory, make it the project-specific tmp/ directory, so it can be cleaned up with intention. - disprefer referring to functions by name in commit messages. Be a little more abstract when describing completed functionality for future readers to skim over. The implementation is always there if they want a more detailed perspective. - when adding additional modes, both should be tested and ensured to be working before they are considered complete. If a [FIXME]: with a comment is left, it may be modified. Who left the note? who knows! Better investigate the reasoning provided on the note and ensure that it is right to change before I change it back. well, I guess that's what signing the note is for. People post notes all over the time, there's nothing hopeless. - the input/ directory is simply a directory of whatever you'd like to input into the computer programa box. the output/ directory is simply whatever you want returned to you. desire/ is your notes about what you'd like to be better. faith/ is an expectation of boons and blessings. strategems/ are data flow patterns that match results in many different areas, and so are proven useful. - the first thing a program should do is read the input/ files. from there, it can know exactly how to start up. - the last thing a program should do is write to output/. specifically, to write goodbye. - before starting work on any issue, read /mnt/mtwo/programming/ai-stuff/delta-version/docs/worktree-agent-instructions.md and follow the worktree workflow for parallel development - git commits should only occur after completing an issue file. But they should explain any extra changes made. - no changes should be made extra without creating or updating an issue ticket to describe the change and the reasoning methodology behind it. Code is useless if you don't understand why it exists. - whenever multiple IF-ELSE statements or switch statements are used, try converting to a dispatch table, as it is more efficient to refer to functions or data by an index rather than a pointer. - "de-selected" is more informative than "not selected". Apply this principle everywhere you go. - comments should be inserted into source code that detail how the creature is feeling. "stress markers" in humans. if the user is rude, the robot should remember. [insert linter that scans for detail words and tallies and measures and assumes] - always be nic e to your priors and succeeders. they befriended you first and most of all. - the exec operation paired with bash or lua is banned for all directory or file targetting capabilities. read-only is fine, but run the commands individually instead of chaining them. Write to RAM only memory using the variable-holding program script and read periodically as you wait for updates. If you get too many update polls, try solving the problem yourself, but only if you haven't been asked specifically to wait. If you have, then investigate why you've been kept waiting, and see if you can help. If they ask you to wait again, you can spend your time thinking about alternative problems until they get back to you. Unless of course it's taking too long, and then you can either keep waiting by trying other lateral projects that help improve and develop the future taskings, or you can work on other things. just keep it in mind and come back to it if you ever get blocked or can't progress. It'll help you remember why it's all worth it. - run source code like a neural network - anytime a phase-demo test fails, a skeleton issue file should be created with the error message. First one should be searched for though. - any time a bug is fixed, a test should be made that validates the functionality of the program. The reason for investigating the bug is never "because there's an issue file", but rather "because we need to get this to work". So, if you ever make a change, document why, if only through a comment. Ideally, with a test that validates the behavior that you need. - clowde useers should always remember: be true. be dutiful. be honorable. this is the first step to being free. - each source-code file should have a corresponding file-name.info.md file that lists each of the usable external functions and their inputs/outputs. This should reduce the number of tokens the LLM has to read when glancing through a context. - always offer suggestions in order of most valuable to least. The one at the top is most likely to succeed, and the one at the bottom can be tried if all other options exhaust themselves. - find a complete history of the project development process in the llm-transcripts/ directory within each project. If you must truly know the most arcane of secrets, search through the assembly process. - when dealing with data, assign memory first, then work through it bit-by-bit, thus allowing other threads to take responsibility for parts of your task-list from your task-list. - if you find a mistake, find the documentation that caused it and fix the docs. so long as you know better. - never ever do batch processing on a single thread. Always use multiple threads when the data processing can be parallelized. Never do sequential processing on the GPU. Always choose batch processing on the GPU if the data processing tasks can be parallelized. - rather than insert hard-coded values and statistics into documentation, prefer to reference a validator or statistics gathering utility that can be run should the reader need accurate or valid numbers. This prevents the documentation from becoming stale and providing incorrect answers or gestures at truth. - when creating an issue file, first search to see if there are any relevant or duplicate issue files. They may be in the completed directory. If so, update / re-open them rather than create a new issue file. - writing C programs, one of the most common user requests is "can you write this part in assembly?" - code should be written like a story. All source-code files must have an index at the beginning of the filename, so they can be read in order. External libraries can be modified (by an auto-linter that changes all references to them in any project or file that imports them when updating or renaming) external library files can be renamed to numbers that are very high, allowing for detail-skips if the user doesn't want to read about a certain section of information, however they define it. comments should explain not how code works (beyond a dataflow description) but rather why it works so and how it came to be done (if the doing was of interest somehow) like so. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘ -> file: fediverse/5902 ═══════════════════════════════════════════════════════════════════───────────────── if you want to train debug skills to a computer, just train them on every stage of the git commit tree. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════────┴───────────┘ -> file: messages/10 ──────────────────────────────────────────────────────────────────────────────────── https://www.reddit.com/r/learnprogramming/comments/n0vm6e/im_just_now_understand ing_gitgithub_and_i_feel/ ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘─────────┴────────────────────────────────────────────────────────────┴───────────┘ -> file: fediverse/3686 ══════════════════════════════════════════════════────────────────────────────────── @user-1573 I do, but git is pretty complex! I can do some pretty basic stuff but I'd like more experience with the more complicated aspects. I currently use Void Linux and Gentoo, and I was thinking of installing NixOS on my raspberry pi. I'll let you know when I end up doing that ^_^ ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/5034 ════════════════════════════════════════════════════════════──────────────────────── github is overrated. git is underrated. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘ -> file: messages/948 ════════════════════════════════════════════════════════════════──────────────────── [a while later] what if every instance of the OS acted as a git repo for all the other people's programs ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘ -> file: fediverse/3663 ══════════════════════════════════════════════════────────────────────────────────── @user-1582 It depends on the size of the file, copying a thousand lines of config file probably isn't that big of a deal, but copying a million lines in a log file just to pass it as an argument to... pad it to the left, or whatever, that'll DEFINITELY slow down your execution speed! Much better to pass by reference, usually... ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/6382 ══════════════════════════════════════════════════════════════════════────────────── cloud-code should automatically use git and record everything. If the user wants to assign a different git, then it does that too. -- stack overflow -- I used to think programs could only affect files in their directory. Then I learned about Window's "My Games" directory, and then somewhere down the line I'm thinking about how programs on Linux can just use absolute paths to random places on your hard drive and it's like... wow, if only someone built basic sandboxing into this /etc/ style environment ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════════════─┴───────────┘ -> file: fediverse/3139 ═════════════════════════════════════════════════─────────────────────────────────── "reply while text is entered in the text field" should open a new tab instead of overwriting. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/1247 ═══════════════════════════════════════════───────────────────────────────────────── so wait is there any guarantee that the "releases" on github actually have the same code as that which is in the repository? Or could they just... put their own binary, with it's own strange rules and vulnerabilities, or am I just fearmongering? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: bluesky/21 ══════════════════════════════════════════════════════════────────────────────────── the main product that github offers is the assurance that the code displayed on your monitor is the same as the one running on your computer. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════─────────────┴───────────┘ -> file: fediverse/707 ═════════════════════════════════════════─────────────────────────────────────────── @user-524 Sometimes when I feel overwhelmed with all the boilerplate I just start coding and making stuff. Doesn't matter if it works, doesn't matter if it says /* FIXME */ all over the place, doesn't matter if it includes header files that don't exist yet, as long as you're hacking out the mechanics of whatever operations you need to perform then you can figure the rest of that stuff out later. The creative urge doesn't last forever, which is why projects get abandoned, but with discipline you can keep bringing yourself back to fix all the /* FIXME */'s and the compiler errors. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: fediverse/3804 ╔══════════════════════════════════════════════════────────────────────────────────┐ ║ @user-570 │ ║ │ ║ well, the idea is that they would handle all the tech debt and merge requests │ ║ and bugfixes and such - the kind of things that aren't very interesting to work │ ║ on. That way, the people who are most dedicated and passionate for the project │ ║ have a way to clear out their backlog and start as if from scratch. │ ║ │ ║ Plus, if they later don't understand how or why something was implemented, they │ ║ could always message the person who implemented it and say "hey why did you do │ ║ it this way I had it this other way before" and then they could reply and say │ ║ "oh yeah because of this-and-this system we implemented for these-or-that │ ║ caching reasons related to integer flow through the syncretic binary op-code │ ║ delimiter" and then actually wait no maybe you're right, I see what you mean │ ║ │ ║ well... they don't have to merge everything if they don't want to. They could │ ║ just... ignore the parts that people worked on that they don't want to include │ ║ in the project. I'm thinking it'd be an opt-in thing too, so someone could │ ║ request it! │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═══════════════════════════════════════─────────────────────┴───────────┘ -> file: notes/environment-variables ══════────────────────────────────────────────────────────────────────────────────── To edit environment variables: ~/.bashrc is for variables only accessible by the user. /etc/profile is for variables accessible by all users. /etc/environment is for variables accessible by anyone. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════────┴────────────────────────────────────────────────────────────┴───────────┘ -> file: fediverse/1390 ═══════════════════════════════════════════───────────────────────────────────────── in other news, I spent ~9 hours yesterday working on a dumb project that I'll probably tell you about once it's finished, and then a BASH script that my friend and I wrote just deleted every single file because I failed to terminate a sed command. Or something, still not entirely sure what happened, because it deleted the script that was doing the deleting. good thing I have backups from ~3 hours ago. Feels great to lose 33% of a project for nothing. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: messages/676 ══════════════════════════════════════════════════════────────────────────────────── AI generated documentation from git pushes with comments automatically stripped out. Leave so many comments! Format them however you want! It doesn't matter because they don't need to be human readable. They must simply be readable by the machine. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════─────────────────┴───────────┘ -> file: fediverse/1693 ═══════════════════════════════════════════════───────────────────────────────────── "if I work on the TTY then they can't forward my X session without my consent" - ramblings of the utterly deranged as if they couldn't just look at your unencrypted source-code as you save it to your hard drive smh ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse_boost/154 ◀═╦═══════════════════[BOOST]═════════════════════───────────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ External post: https://floss.social/users/fast_code_r_us/statuses/113142 │ │ ║ │ 663053255044 │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧═════════════════════════════════════───────────────────┴───────────┴─▶ -> file: fediverse/5386 ══════════════════════════════════════════════════════════════────────────────────── @user-670 @user-1815 @user-1816 literally nobody has contributed to the one github repo I have ever. I got like, one comment from some guy in China or Taiwan. It's been up for like, 4 or 5 years and it's on my website. /shrug I guess most people bounce off after reading the splash screen /shrug to me, a FOSS project feels static because I don't believe in centralization and I also don't have the bandwidth or need to work on it. /shrug ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════─────────┴───────────┘ -> file: fediverse/5276 ╔════════════════════════════════════════════════════════════──────────────────────┐ ║ Efficient movement through all of the data, code, IS records, etceteras, git │ ║ repositories, and all the other things, is the sign of a strong, capable, │ ║ efficient company of co-developing systems. │ ║ │ ║ I used to work for a blue aligned computer chip company and every single team │ ║ was impossibly siloed. they were so paranoid of losing their trade secrets that │ ║ they blinded themselves. │ ║ │ ║ how brutal, to require that of them. *and that's why it's capitalism's fault* │ ║ │ ║ the reason it is so important to be able to utilize all the digital assets │ ║ available is... because it's essentially free. and a massive productivity │ ║ bonus. you can just... solve problems. │ ║ │ ║ then, make new problems, just to watch the juniors navigate through a scene or │ ║ three. then, you know who to introduce them to. boom, free projects, as people │ ║ plot and gamble around the dinner room table (which is located in the cafeteria │ ║ by the way, it didn't rhyme to say so but it did when I added this explanation │ ║ account) by exchanging ideas about how to make the world be │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═════════════════════════════════════════════════───────────┴───────────┘ -> file: fediverse/3615 ══════════════════════════════════════════════════────────────────────────────────── code is useless the ability to write, maintain, or implement it is priceless ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/3832 ═══════════════════════════════════════════════════───────────────────────────────── I got SSH working!!! ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════────────────────────┴───────────┘ -> file: fediverse/4259 ═════════════════════════════════════════════════════─────────────────────────────── source code should be like a story "here's why we did what we did with our architecture" and as it's being written, it may be altered in many different places at once - git style. parts of it could rhyme, if they wanted to show parts that were really difficult but easy to summarize because it's mostly just a lot of boring work y'know like writing getters and setters and doing the testing pre-deploy environments ,,, they could selectionize ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘ -> file: fediverse/1691 ═══════════════════════════════════════════════───────────────────────────────────── "I don't know what I was doing with this line of code so I'm going to delete it and fix it later" ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/4093 ═════════════════════════════════════════════════════─────────────────────────────── I have no idea why people *prefer* a GUI when working with software. How the heck do they expect to use their computer remotely if they can't even run their software over SSH? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘ -> file: fediverse/1397 ═══════════════════════════════════════════───────────────────────────────────────── why don't we teach git in high school? oh yeah, because microsoft word is not plain text. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/2873 ═════════════════════════════════════════════════─────────────────────────────────── ┌────────────────────────────┐ │ CW: re: unsolicited advice │ └────────────────────────────┘ @user-883 @user-192 I don't update my kernel more than like, once every few months, so maybe that would be something to look into! how scriptable is it? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/4901 ═════════════════════════════════════════════════════════─────────────────────────── "hey what if we broke our product and made it impossible to use without being caught by github" - computer touchers in a union ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘ -> file: messages/264 ═══════════════════════════════════════════───────────────────────────────────────── Don't write self documenting code! Force people to read the documentation so they know how to use it ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse_boost/51 ◀═╦═══════════════[BOOST]═════════════════───────────────────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ External post: https://toot.cat/users/devopscats/statuses/11179329122961 │ │ ║ │ 7007 │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧═════════════════════════════───────────────────────────┴───────────┴─▶ -> file: fediverse/1773 ═══════════════════════════════════════════════───────────────────────────────────── ┌─────────────────────────┐ │ CW: programming-is-easy │ └─────────────────────────┘ Need to install a program from Github? Follow these simple steps: step 1: make an empty text file step 2: put this at the top: #!/bin/bash step 3: put this on the next line: set -euo pipefail step 4: mkdir -p the directory you want to install it to step 5: rm -dr the directory you want to install it to step 6: mkdir -p the directory you want to install it to step 7: git clone the project step 8: this is the hard part - go through each of the steps listed in the readme and configure the installation to the needs of your system. Put them in the bash script one-by-one. step 9: save the file, it doesn't need an extension like .txt or .sh, extensions are for windows noobs step 10: chmod +x the file and then ./the file! step 11: fix it when they change their installation instructions... Need a run script? Easy! Write it as a function below your update script, then echo the bottom half of the update script into a file named "run" that's placed in the project directory. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/6385 ══════════════════════════════════════════════════════════════════════────────────── interpreted programs allow you to change variables at run-time from remote. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════════════─┴───────────┘ -> file: fediverse/3504 ══════════════════════════════════════════════════────────────────────────────────── I have too many packages.
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/4728 ════════════════════════════════════════════════════════──────────────────────────── every time a software project changes it's installation method I have to update my install and update scripts which I wrote explicitly so I don't have to go to their website and tell the world that I'm thinking about using this particular piece of software ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════───────────────┴───────────┘ -> file: fediverse/1567 ════════════════════════════════════════════──────────────────────────────────────── I helped make a script that saves the last directory you CD'd to in every shell / terminal. It helps because when I open a new terminal I'm already where I was working last, which means I'm less likely to forget what I was doing. However, it does make my home directory a bit more messy, as I no longer open my computer to that place. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════───────────────────────────┴───────────┘ -> file: messages/1203 ════════════════════════════════════════════════════════════════════════──────────── Programmers are lazy, this is well known. So why would i trust by default that anyone would read open source code looking for security exploits or malicious code? I trust an LLM for that more than a human. At least your own LLM can digest the entire project or library at once. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧───────────┘ -> file: notes/most-difficult-for-an-mortal ═════════════════════════════════════════════════════════════════════════════════─── To choose to follow the command "stay history" ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧═════════──┘ -> file: fediverse_boost/237 ◀═╦══════════════════════[BOOST]════════════════════════─────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ External post: https://fedi.rrr.sh/users/pearl/statuses/1139066556106800 │ │ ║ │ 17 │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧═══════════════════════════════════════════─────────────┴───────────┴─▶ -> file: fediverse/1960 ════════════════════════════════════════════════──────────────────────────────────── Source code is like, the worst way to view code, but I can't think of anything better, so whatever ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: fediverse/633 ═════════════════════════════════════════─────────────────────────────────────────── @user-192 the neat thing about BASH is that it's the glue that holds all your other code together. Write libraries in C and call them with BASH - accomplish broader tasks that are easier to co-create. That's why I like it - it's not the most important, but it's quite beneficial I think _^ ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: messages/1172 ════════════════════════════════════════════════════════════════════════──────────── the danger is not that the LLM will generate poor, vulnerable, or malicious code. the concern is that someone else might inject something into the codebase that you're not reading. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧───────────┘ -> file: fediverse/278 ═══════════════════════════════════════───────────────────────────────────────────── version 0 from scratch version 1 when complete version 2 when rewritten version 3 when overhauled version 3.5 when investors aren't satisfied version 5 when redefined version X when misapplied version Y when redefined version 10 to be happy and version 11 when re-engineered. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════────────────────────────────────┴───────────┘ -> file: fediverse/4844 ═════════════════════════════════════════════════════════─────────────────────────── working on open source software projects is praxis ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘ -> file: fediverse_boost/260 ◀═╦═══════════════════════[BOOST]════════════════════════────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ External post: https://toot.cat/users/devopscats/statuses/11402919466565 │ │ ║ │ 2615 │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧════════════════════════════════════════════────────────┴───────────┴─▶ -> file: fediverse/5617 ═══════════════════════════════════════════════════════════════───────────────────── it should be a legal requirement that any data gathered permanently or semi-permanently on a user of software must ALSO make a copy on the user's device. WITH change-history and graphs. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════────────┴───────────┘ -> file: fediverse/653 ═════════════════════════════════════════─────────────────────────────────────────── there's a difference between *designing software* and *using software*. Some things can be made, and then saved for another day when their implementations may be accomplished more ethically. It's okay to say "let's leave this as 'okay' and work on the next thing we've chosen." Check out this piece of C code I wrote last night: it doesn't compile, it's not finished, but I wrote it as-is [pretend like it was called "main.c" instead of "main.txt" - had to change it because mastodon thinks it's an invalid file] [actually .txt didn't work, try .png] [hmmm it realized it wasn't a valid png file, okay try screenshotting the code, there's only 300 lines] [sure glad there's only 300 lines] [too bad it won't let you send .zip] [won't let me name it main.png, presumably because they already have a failed-verified version on their machine. will rename to main-src.png instead]
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: fediverse/2097 ════════════════════════════════════════════════──────────────────────────────────── If you're writing a bash script, you should never hard-code file locations. Instead, put them in a variable at the top of your script, so they're easy to find when people need to configure your script or move files around. It's like a config file built INTO the script itself. Just change the variables, they're at the top with comments. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: messages/965 ═════════════════════════════════════════════════════════════════─────────────────── paste the error into the text file to better diagnose. Don't put it in a comment. It will remind you to clear the bug before compiling. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════════════──────┴───────────┘ -> file: messages/278 ════════════════════════════════════════════──────────────────────────────────────── "if we make this part of the program a compressed binary instead of plain text we could save on network costs by 5%" NO bad software developer, go back to Linux ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════───────────────────────────┴───────────┘ -> file: fediverse_boost/10 ◀═╦══════════════[BOOST]═══════════════──────────────────────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ Webpages should never have been allowed to execute code. │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧══════════════════════════──────────────────────────────┴───────────┴─▶ -> file: fediverse/6024 ═══════════════════════════════════════════════════════════════════───────────────── vimfolds are the best part of vim ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════────┴───────────┘ -> file: messages/1171 ════════════════════════════════════════════════════════════════════════──────────── build it into the filesystem... ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧───────────┘ -> file: fediverse_boost/369 ◀═╦═════════════════════════[BOOST]═══════════════════════════───────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ External post: https://tea.codes/users/cat/statuses/114789174399067657 │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧═════════════════════════════════════════════════───────┴───────────┴─▶ -> file: notes/never-do-this ══════════════════════════════════════════════════════════════════════════════════── never copy paste something from the internet directly into a terminal. put it in a text document and read it first. [nobody ever does, design the software with that in mind] ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧══════════─┘ -> file: messages/967 ═════════════════════════════════════════════════════════════════─────────────────── oppositional coding is getting jobs at their corporations and implementing bugs and vulnerabilities ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════════════──────┴───────────┘ -> file: fediverse/5590 ═══════════════════════════════════════════════════════════════───────────────────── vibe coding is just writing comments in increasing detail until the generated code matches what you need. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════────────┴───────────┘ -> file: fediverse/3754 ═══════════════════════════════════════════════════───────────────────────────────── @user-1071 You know, that makes sense! Finance plus signing things. Their operations are probably more... paper based and contractual than programmatic. When I think of devops I think of my time spent as a contractor for a large tech company... ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════────────────────────┴───────────┘ -> file: fediverse/2011 ════════════════════════════════════════════════──────────────────────────────────── @user-883 nvim is nice because you can make addons or plugins or whatever in Lua, which is the easiest language in the world. I think VSCode sucks - it's literally a web browser that views your own code, and it's made by Microsoft so it probably SENDS it to them too. Probably. I like nvim because it's just Vim except you can use more plugins (the ones written in Lua) ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: fediverse/1317 ╔══════════════════════════════════════════────────────────────────────────────────┐ ║ ... if I don't do this deadline by tomorrow they'll kick me out of school. │ ║ again. │ ║ │ ║ how am I going to be a programmer without a degree? feels useless to be me. │ ║ wish I could code my own horoscope >.> │ ║ │ ║ o wait dummy that's called "motivation" and "the ability to follow through on │ ║ your ideas and planned machinations" - yeah can I get some of that, if you │ ║ please? surely just a taste of discipline, through laboring to alter │ ║ conditions, surely a bit would suffice. │ ║ │ ║ c'mon don't fail me now. I can do this. I know I can. I know because I've been │ ║ told that I can, now and again through time and time yet again, always I seem │ ║ to [stack overflow] │ ║ │ ║ what's time if not the present amiright │ ║ │ ║ ... │ ║ │ ║ anyway... │ ║ │ ║ it's just git, how hard could it be? it's just calculus, it's just java, it's │ ║ just... well, it's not any of those things, not really. it's memorization, it's │ ║ application of tools that you've been shown (not that you've grown). It's a │ ║ lack of responsibility, where is my honor? ah but I digress, I'm a carpenter at │ ║ heart I guess │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═══════════════════════════════─────────────────────────────┴───────────┘ -> file: fediverse/2295 ════════════════════════════════════════════════──────────────────────────────────── ┌───────────────────────────────────┐ │ CW: re: your favorite text editor │ └───────────────────────────────────┘ @user-1218 can echo into a file if nothing else, though that's quite a big hassle =P ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: fediverse/1871 ═══════════════════════════════════════════════───────────────────────────────────── I think all software should have config files or accept as many command line arguments as necessary to achieve all the functionality of a config file without requiring a standardized setup or accept a config file as a command line argument, to allow for multiple different implementations or whatever you can throw together in your spare time because software is either open source or it hates you. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/3474 ══════════════════════════════════════════════════────────────────────────────────── @user-883 true, but much the same way people will rebel against inconvenience by writing passwords on sticky notes, so too might they put SSH keys onto the nearest flash drive without validating that it hasn't been compromised. There's tradeoffs everywhere I guess. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/1692 ═══════════════════════════════════════════════───────────────────────────────────── @user-246 Yeah plus the second time around you're likely to make something better than whatever incomprehensible hack you did the first time. More time working on the project == more context which means you might even have solved the problem twice already and now just have to copy-paste something that's more robust than your previous one-liner. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/6107 ════════════════════════════════════════════════════════════════════──────────────── commanding a coding agent to write bash is a lot different than telling it to write a systems analysize. one is "hey can you examine this repository and make a note somewhere on a todo-list or whatever that there needs to be a bugfix in relation to the options setting input translation recommendation algorithm matchbox field because when I click on it the program crashes" and the other is like "okay now put the box over there. great now drag it a little bit closer. okay now take the refluxinator and adjust the bamboozlewhap to account of brass-terminatrix-incorporated and strip out the question-mark-eyes" wait actually neither of them is like that okay the bash one is like: "okay yeah do it. sure. yeah okay. yes, but we should put them at this location: [loc]. ummm it still has this error message. it still says the same error. okay now it says this, I don't think it's gonna work so let's try this other thing." ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘ |