The 64 poems closest in meaning to this word, arranged to spread the colours (progress bar shows chronological position)
-> file: fediverse/3035 ═════════════════════════════════════════════════─────────────────────────────────── @user-570 I haven't looked into Bevy recently, probably 2ish years ago I'd say. Mostly been using Raylib, and recently I was dipping my toes into Love2D because I liked how they handled concurrency. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/1250 ═══════════════════════════════════════════───────────────────────────────────────── if your IoT device can't be controlled with a BASH script then I'm sorry ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: notes/most-difficult-for-an-mortal ═════════════════════════════════════════════════════════════════════════════════─── To choose to follow the command "stay history" ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧═════════──┘ -> file: fediverse/3587 ══════════════════════════════════════════════════────────────────────────────────── ┌─────────────────────────────┐ │ CW: re: computers-mentioned │ └─────────────────────────────┘ I realized that script was bugged, so... here's a better one. Plus a fun run script too!`#!/bin/bash set -euo pipefail DIR="/home/ritz/programming/chapel/language-files" VER="2.1.0" FIL="chapel-${VER}.tar.gz" URL="https://github.com/chapel-lang/chapel/releases/download/${VER}/${FIL}" NUM_THREADS="16" touch ${DIR}/files rm -dr ${DIR}/files mkdir -p ${DIR}/files wget --output-document ${DIR}/${FIL} ${URL} tar xf ${FIL} --directory=${DIR}/files rm ${FIL} cd ${DIR}/files/chapel-${VER} export CHPL_LLVM=system source ${DIR}/files/chapel-${VER}/util/setchplenv.bash make -j${NUM_THREADS} echo "now testing, to validate LLVM configuration as suggested in the docs:" chpl "./examples/hello3-datapar.chpl" ./hello3-datapar echo "the chapel programming language is now fully installed! Have fun!" cd - ` ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/3034 ═════════════════════════════════════════════════─────────────────────────────────── @user-570 I've messed around with Bevy and the library most similar in C is Raylib. in Lua it'd be Love2D I think. I love the idea of those systems. I haven't built a full game using them but I can conceptualize operations within them easier using a framework like that versus a game engine like Godot. ┌─────────┐ ┌───────────┐ │ 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 │ ╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘ -> file: fediverse/5726 ════════════════════════════════════════════════════════════════──────────────────── ┌───────────────────────────┐ │ CW: programming-mentioned │ └───────────────────────────┘ 🖼
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘ -> file: fediverse/1937 ╔══════════════════════════════════════════════────────────────────────────────────┐ ║ The best tip I have for people new to Linux is every time you solve a problem, │ ║ put the solution in a script. In addition, put the operations necessary to undo │ ║ the operation you just performed into a separate script (or function in the │ ║ same script) │ ║ │ ║ It's not hard. It's very easy. Its basically just typing things into a text │ ║ document instead of entering them one-by-one in your terminal. But now if you │ ║ ever need to solve the same problem twice, you just need to look through all │ ║ the scripts you've written instead of trying to relearn how to fix the thing │ ║ you're working on. │ ║ │ ║ Plus, if you ever need to disable what you did, well there it is, you're good │ ║ to go. You can use chatGPT for things like text parsing or whatever, like "hey │ ║ can you write me a sed command that does this exact thing that I'm going to │ ║ enumerate and spell out for you" followed up by "that didn't quite work, the │ ║ desired behavior was this, but when I ran the script provided it did this" boom │ ║ you're a Linux administrator now, heres your rubber duck. │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═══════════════════════════════════─────────────────────────┴───────────┘ -> file: fediverse/2291 ════════════════════════════════════════════════──────────────────────────────────── you sly dogs, you got me posting again. unrelated, but I think this is the first script I ever wrote!
┌─────────┐ ┌───────────┐ │ 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/1270 ═════════════════════════════════════════════════════════════════════════─────────── "this is too easy" thought the one guys to another, as they glanced about at their trending behavior. -- stack overflow -- sorry I had to interrupt: "what if you used scissors or a knife to cut your diapers and then saw what kind of plants would grow in what conditions?" I betcha could evolve an organism (careful, might be small) that could grow from plastic. I wonder what their fruit would be used like? anyway, as I was saying, if you ever notice that your mortal foes aren't putting up much of a fight, chances are you're being used to do evil. Keep yourself awares, but do research-thought-imagines about the nature of goodness. Picture yourself from the perspective of your foes. Develop conceptions of justice. Validate through mutually experimental contests of charms. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘ -> file: fediverse/1229 ═══════════════════════════════════════════───────────────────────────────────────── @user-883 graphics isn't too bad in C if you use Raylib. Here's my template project: If you ever want to do something with a GUI or a game or something then I definitely recommend that library. It's soooooo nice as a C programmer
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/1867 ═══════════════════════════════════════════════───────────────────────────────────── I like writing updaters!! #!/bin/bash set -euo pipefail #FIXME GAME_DIR="/home/ritz/games/mtg-forge" FILES_DIR="${GAME_DIR}/files" RES_DIR="${GAME_DIR}/resources" mkdir -p "${FILES_DIR}" rm -dr "${FILES_DIR}" mkdir "${FILES_DIR}" mkdir -p "${RES_DIR}" mkdir -p "${RES_DIR}/cache" mkdir -p "${RES_DIR}/userdir" wget -r -l1 --no-parent -P "${FILES_DIR}" -A 'forge-gui-desktop*.tar.bz2' "https://downloads.cardforge.org/dailysnapshots/" mv ${FILES_DIR}/downloads.cardforge.org/dailysnapshots/forge-gui-desktop*.tar.bz2 "${FILES_DIR}" rm -d "${FILES_DIR}/downloads.cardforge.org/dailysnapshots/" rm -d "${FILES_DIR}/downloads.cardforge.org/" cd "${FILES_DIR}" tar xvjf ${FILES_DIR}/forge-gui-desktop*.tar.bz2 cd - cp "${FILES_DIR}/forge.profile.properties.example" "${FILES_DIR}/forge.profile.properties" sed -i "/[#]/ s/(userDir=).*/\1${RES_DIR//\//\/}\/userdir\//" "${FILES_DIR}/forge.profile.properties" sed -i "/[#]/ s/(cacheDir=).*/\1${RES_DIR//\//\/}\/cache\//" "${FILES_DIR}/forge.profile.properties" echo "download complete" ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/3890 ════════════════════════════════════════════════════──────────────────────────────── Linux is great! It can do anything you want it to. Except that thing you want it to do. Why don't you go fix it? It's not hard, all you have to do is run these configure files or operate this doohickey and BAM suddenly you got apes writing machine gun regulation software [I don't think those two things are related] ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘ -> file: fediverse/2484 ╔═══════════════════════════════════════════════───────────────────────────────────┐ ║ @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 │ ╚═════════╩════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse_boost/10 ◀═╦══════════════[BOOST]═══════════════──────────────────────────────────────────┐ ║ ┌──────────────────────────────────────────────────────────────────────────┐ │ ║ │ Webpages should never have been allowed to execute code. │ │ ║ └──────────────────────────────────────────────────────────────────────────┘ │ ╠─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧══════════════════════════──────────────────────────────┴───────────┴─▶ -> file: fediverse/2601 ════════════════════════════════════════════════──────────────────────────────────── @user-249 you can host anything you'd like on a raspberry pi. If the software requirements are within the hardware specs, of course. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: 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 │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: messages/712 ════════════════════════════════════════════════════════──────────────────────────── Linux doesn't teach you to to build a perfect system. It's always breaking, after all. It teaches you to rehearse. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════───────────────┴───────────┘ -> file: fediverse/933 ══════════════════════════════════════════────────────────────────────────────────── @user-643 virtual machines are cool. betcha can't write one using bytecode https://gameprogrammingpatterns.com/bytecode.html ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘ -> file: fediverse/5113 ════════════════════════════════════════════════════════════──────────────────────── any game with the ability to interact with the simulation through command line arguments is a game that is scriptable and infinitely expandable. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘ -> file: fediverse/3577 ══════════════════════════════════════════════════────────────────────────────────── ┌─────────────────────────┐ │ CW: computers-mentioned │ └─────────────────────────┘ I love writing installation scripts like this! If you want to install something on Linux but you have difficulty, talk to me and I'll write you a script like this. I might even make it fancier. This one installs a programming language that is useful for *parallel computing* across *multiple clusters of computers* which could be useful if you want to leverage *multiple CPUs and GPUs with ease* to compute tasks which are far beyond a normal computer. https://chapel-lang.org/download.html
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: notes/elementary-problems ═══════════════════════════════════════════───────────────────────────────────────── it's often considered a sin to defame the works of others. we naturally strive to inspire confidence in our allies, so we always try to be on our best behavior. = so = through meanings interpreted from our behavior, there is a tendency to listen to that which is most outstanding. but not all of the truths can be found in a book, sometimes you need to be [out in the field standing] [like a scarecrow] [silly how strange it seems. that listening brings out our own behavior. it's like it's built into our functioning, that we must obey the pull of the water. I don't understand it, nor do I appreciate any sense of pursuit when I'm using it, I simply wish to understand. I try and write things down, but nobody reads them. or at least nobody responds to them. they used to, but not for every one. I believe the things I do are useful. why would I otherwise do them? but there's not always a = so = correct me if I'm wrong, but there's no reason a windows partition couldn't alter the nature of some of the files in the linux partition? I mean, none of the filesystems from linux are in play, because it's basically just dead weight on the computer when Windows is being booted. why wouldn't it change and alter it? and while yes, something could simultaneously be done in the other direction too - linux spying on the Windows partition. And everything has to be able to be run in a VM without triggering any false positives, so the issues aren't able tobe solved so easily. not with any one bit of guidance, it must always be more thorou. [thorough] I want to play World of Warcraft ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/5839 ══════════════════════════════════════════════════════════════════────────────────── @user-1074 good code isn't always easily read. sometimes the architecture is more important. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════════─────┴───────────┘ -> file: fediverse/6385 ══════════════════════════════════════════════════════════════════════────────────── interpreted programs allow you to change variables at run-time from remote. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════════════─┴───────────┘ -> file: fediverse/1983 ════════════════════════════════════════════════──────────────────────────────────── @user-1037 I guess I'm saying that for non-standard functions (most of them) they should need to make a ticket every time they want to run a function call. Perhaps only in debug mode... ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: notes/comms-box ══════════════════════════════════════════════════════────────────────────────────── there is a requirement for a simple, easy to set-up, and easily replacable system which can be used for comms. Specifically running a variety of different services, such as fediverse instances, matrix for text-comms, VoIP, and distributed computing using Chapel or DistCC or other such capabilities. In addition, it should be able to run a file-server and a web-server which hosts an HTML page for the user. All of this functionality should be operational out-of-the-box, with minimal configuration required. No more than adding a checkbox to a config file in order to activate each individual service. This box should be cheap, and easy to provision. An image must be made, and some bash scripts should be written to easily configure it. In addition, there should be rudimentary programming capabilities included, just in-case a user is left with no other options. It should come pre-configured with SSH access out of the box, so it can be remotely controlled, and the languages included should be: C/C++ Python Lua Bash Rust Chapel This should cover most surfaces in terms of programming capability requirements. In terms of hardware, it need be little more than a SoC such as a Raspberry Pi or other such hardware. It needs at a minimum an ethernet port, and USB ports. The box itself should cost no more than 40$, excluding provisioning and the cost to pay back whatever capital investments are necessary to create such a thing. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════─────────────────┴───────────┘ -> file: fediverse/3748 ═══════════════════════════════════════════════════───────────────────────────────── @user-203 I've been trying to get it to work with raylib but I'm having difficulties with the C interoperability T.T https://www.raylib.com ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════────────────────────┴───────────┘ -> file: fediverse/397 ════════════════════════════════════════──────────────────────────────────────────── lawful neutral boolean logic: if (true or false){ print("this always prints!"); } chaotic evil boolean logic: if (true or false){ print("this expression does not prefer true, and instead starts up two threads to evaluate each side of the \"or\" operator and whichever finishes first is the one that is used, meaning this prints almost exactly 50% of the time"); } ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════───────────────────────────────┴───────────┘ -> file: fediverse/3162 ═════════════════════════════════════════════════─────────────────────────────────── I wrote a script which scrapes every issue of Nintendo Power from a neat and cool archive. please don't use it all at once`#!/bin/bash set -euo pipefail sleep_duration=5 DIR="/home/ritz/documents/nintendo-power" touch "${DIR}/download-bookmark" bookmark=$(cat ${DIR}/download-bookmark) for i in $(seq ${bookmark} 285); do echo "sleeping before downloading number ${i}" sleep ${sleep_duration} formatted_number=$(printf "%03d" ${i}) wget "https://myrient.erista.me/files/Miscellaneous/Nintendo Power Issues 1-285/Nintendo Power Issue ${formatted_number}.cbr" rm ${DIR}/download-bookmark touch ${DIR}/download-bookmark echo ${i} >> ${DIR}/download-bookmark done `
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/1426 ═══════════════════════════════════════════───────────────────────────────────────── I am dogmatic with my code of ethics. Believe me, or don't, contest me, or not, I always will do what I trust. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/5168 ════════════════════════════════════════════════════════════──────────────────────── this is one of the first scripts I wrote I can't believe I put the --no-ls AFTER the argument, ha, what a noob. ah well if it works it works and I can't refactor now because I built it into random scripts and I'd be fixing errors all the time.
┌─────────┐ ┌───────────┐ │ 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/2714 ═════════════════════════════════════════════════─────────────────────────────────── @user-246 👉 :neodog_boop: "beep" ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/4865 ═════════════════════════════════════════════════════════─────────────────────────── ┌─────────────────────────┐ │ CW: computers-mentioned │ └─────────────────────────┘ this is all it takes to send a message to a local LLM. add a third function to get chatbot functionality. a fourth to get a database storing method (even if it's just in .txts) great, you've mastered the technical difficulty in using AI. Now you gotta learn all the other kind of programming so you can use this for situations that need interpretation moment to moment. aka active duty systems. something like "output a 0 if the next text is [category.iter()]: " + output.get_content() + " \n\n output a 1 if the next text is [category.iter()]: " + output.get_content()" or even "describe this thing as most like one of these characteristics" until eventually you get THX-1138 if the characters were computers.
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘ -> file: fediverse/3272 ══════════════════════════════════════════════════────────────────────────────────── Dear Windows: making your software difficult to interface with (like, putting spaces in filenames) is rude. It harms our connected productivity. It's selfish, and it's petulant. We need to agree on common standards if we want any type of cooperatibility between our two approaches. ... oh and there's mac too, but they get it, they can run Bash, ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘ -> file: fediverse/1941 ════════════════════════════════════════════════──────────────────────────────────── @user-579 I've never actually used xbps-src, I usually just compile it using the same tooling that the people who made the program use. If your project doesn't have a make file then it's probably not ready for distribution yet. That's like, the first thing I write! Though I don't use make, I just use BASH and chain together compiler commands and whatnot ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ -> file: fediverse/582 ═════════════════════════════════════════─────────────────────────────────────────── @user-431 I made an alias that overwrites cd so I don't have to do this. The important line is line 27, you could probably accomplish something similar like this: alias cd="cd ${1} && ls -v --color=auto" I also set it up so I can change more than one directory up using ... or .... or ..... also I have a few shortcut scripts, cdir and qcd. cdir creates a quick way to drop a bookmark wherever I'd like, while qcd can make permanent bookmarks. Also qcd makes it so whenever I open a new terminal it opens to the last directory I was in, which is nice if you need a new terminal to do something in the current folder and you don't want to have to walk alllllllll the way back.
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: 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 │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/5211 ═════════════════════════════════════════════════════════════─────────────────────── ┌──────────────────────────────────┐ │ CW: most-of-this-post-is-made-up │ └──────────────────────────────────┘ My computer has an extended password where you have to type the things that most people put in ~/.bashrc in order to get the system fully operational people say "why does it take half an hour to turn your computer on" because I keep forgetting the somatic typing components, beatrice. dear, please give me a moment, I'll have netflux up and running in - ... oh yes thank you, I would have typed netflix in wrong. that helps, and explains this error here where it says it can't find "netfucks" I was like... WHY ISn't this listed in the dependency repository?? [hackers just clone your hard drive megabyte by megabyte every time you start a particular program or use a piece of the system utilities like finder or un-win-rar, so having a longer password won't help] ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════════──────────┴───────────┘ -> file: fediverse/3304 ╔════════════════════════════════════════════════──────────────────────────────────┐ ║ there are distros that have all the functionality you might need built in │ ║ │ ║ why don't you try one of those, ritz? │ ║ │ ║ "no I've been working on this one too long, plus it's just how I like it" │ ║ │ ║ yes but your stuff is always breaking. wouldn't it be better to let someone │ ║ else decide what you should and should not be able to run? │ ║ │ ║ "that's not ideal, it removes agency" │ ║ │ ║ that you didn't want │ ║ │ ║ "but with the removal of agency, you imply trust" │ ║ │ ║ there's nothing wrong with trust │ ║ │ ║ "yes but trust is built upon experience, not honor" │ ║ │ ║ what's wrong with honor? │ ║ │ ║ "nothing's wrong with honor but it's important to realize that you can't honor │ ║ or trust someone that you don't know" │ ║ │ ║ why don't you know them │ ║ │ ║ "... because... you haven't met yet?? are you... listening?" │ ║ │ ║ do you often feel unheard? │ ║ │ ║ "I... what? yeah now that you mention it" │ ║ │ ║ is this a part of your "refusal to interact with consensus reality" complex? │ ║ │ ║ "I don't have one of those, do I?" │ ║ │ ║ mmmm, I think you do. │ ║ │ ║ "... no I don't" │ ║ │ ║ yes, I've seen it within you. │ ║ │ ║ ... anyways~ │ ╠═════════╗ ┌───────────┤ ║ 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/752 ══════════════════════════════════════════════════════════────────────────────────── techbros really wanted to automate IRC so they didn't have to rely on the community knowing and trusting them to remember the commands to make docker containers for their react frameworks and like... yeah I use chatGPT too, because that way I can get what I need without bothering anyone (you aren't bothering people who get off on helping others when you ask for help) ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════─────────────┴───────────┘ -> file: fediverse/5928 ═══════════════════════════════════════════════════════════════════───────────────── what the heck is yocto and why do I need to learn how to use it to create a custom linux distribution for embedded devices?? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════════════════════════────┴───────────┘ -> file: messages/753 ══════════════════════════════════════════════════════════────────────────────────── trusting the "open source community" to properly vett software is absurd because 90% of them just... install whatever and throw libraries and frameworks at problems until they can script their way out of whatever problem they face. the other 10% are focused on very specific tools that are so niche that other people can't even understand when to *use* them much less how they work. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════─────────────┴───────────┘ -> file: fediverse/4218 ╔════════════════════════════════════════════════════──────────────────────────────┐ ║ there are plenty of pieces of linux that are insecure in some way. Including │ ║ x11, if I remember correctly. It is purely convention to not abuse these │ ║ insecurities, and whenever you use someone else's binary software you trust │ ║ that they won't betray you in some way. │ ║ │ ║ pre-built binaries are privacy violations and should be illegal. They are │ ║ security threats because the model they're built upon is necessarily insecure. │ ║ Computers will *never be completely secure* because of how they are built, and │ ║ so we should use locally compiled software and interpreted scripts. │ ║ │ ║ Unless they're too long, or impossible to read. Who reads EULAs these days? At │ ║ least those are written in *english*. │ ║ │ ║ maybe computers aren't worth it. Maybe computers will solve all our problems. │ ║ Who can say, maybe you should *ask an oracle like me* │ ║ │ ║ though do remember that anything you hear can and will be used against you, │ ║ monkey's paw style. So maybe, like... don't? unless you're into magic or │ ║ schizophrenia or something │ ║ │ ║ I wnt 2 be cute and tch cpus │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═════════════════════════════════════════───────────────────┴───────────┘ -> file: fediverse/3085 ═════════════════════════════════════════════════─────────────────────────────────── a package manager that downloads from any package manager to switch between if something goes wrong ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘ -> file: fediverse/1869 ═══════════════════════════════════════════════───────────────────────────────────── oh dear, Mastodon formatting makes that script look weird. Here's the script in picture form so you can reference and fix it: I would edit the original post with backslashes and such but I'm exactly out of characters teehee
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/826 ═════════════════════════════════════════─────────────────────────────────────────── ┌───────────────────────┐ │ CW: cursing-mentioned │ └───────────────────────┘ look... evil doesn't care how "good" good has been. It's not in it's nature. So don't try and build your systems around accepting that behavior. ... what was I saying? is this like, the new "stack overflow" - no that's fucking stupid wait shit content warning okay that's stupid because defining your expression based on what gets you views is a flaw in the human condition. It's a behavior encouraged by the operating outcomes of the method of expression, but it's not part of the expressed message. You're a really shitty prophet you know that? ... I'm sorry my brain is low on RAM I guess, surely it's not outside of my control yep I think itis, damn ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: fediverse/6442 ══════════════════════════════════════════════════════════════════════────────────── fediverse bot which turned your profile private whenever you were offline or inactive ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════════════════════─┴───────────┘ -> file: fediverse/4847 ╔════════════════════════════════════════════════════════──────────────────────────┐ ║ every program should write it's RAM gamestate to disk before shutting down or │ ║ closing the program and then resume from the same spot, change my mind │ ║ │ ║ (every is a strong word) │ ║ │ ║ (when you re-initialize you can clean the state of leaks) │ ║ │ ║ there shouldn't be leaks in the first place. if you have any leaks at all, then │ ║ you need more padding. │ ║ │ ║ (... you mean boilerplate? error correction?) │ ║ │ ║ ... yeah that's what I meant. │ ║ │ ║ (but why save the state at all?) │ ║ │ ║ because then it can learn! │ ║ │ ║ (... you could just write the relevant data to a config file.) │ ║ │ ║ true │ ║ │ ║ ================= stack overflow =============== │ ║ │ ║ the cool thing about being queer is you can be *whatever you want* and │ ║ everyone'll be cool with it │ ║ │ ║ if you kinda suck then you'll figure that out when everyone cool leaves. │ ║ │ ║ then the kind stay with the people who suck and then it's not cool anymore >.> │ ║ │ ║ gah this sucks. party dynamics are hard. especially when the parties are teams │ ║ of 20!! │ ║ │ ║ goarsh that's quite a few │ ║ │ ║ ================= stack overflow =============== │ ║ │ ║ wait n │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═════════════════════════════════════════════───────────────┴───────────┘ -> file: messages/21 ══────────────────────────────────────────────────────────────────────────────────── https://www.redhat.com/en/services/training/ex200-red-hat-certified-system-admin istrator-rhcsa-exam ┌─────────┐ ┌───────────┐ │ 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/1762 ═══════════════════════════════════════════════───────────────────────────────────── This was the first bash script I ever wrote. It's been updated a little, it was a bash alias first, but this is what it looks like now. Kinda shows what kinds of problems I needed to solve most.
┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧════════════════════════════════════────────────────────────┴───────────┘ -> file: fediverse/638 ╔════════════════════════════════════════──────────────────────────────────────────┐ ║ idea: BASH script that runs a game of Majesty through an emulator that included │ ║ an API to interface with x11. You could set a game of this fantasy kingdom │ ║ simulator as your background, and it would move the camera to show you │ ║ interesting events. It could build resources as you directed, through double │ ║ clicking an icon on your desktop or whatever. And the wallpaper would zoom to │ ║ the part that seemed important. Just based on like, which heroes you clicked a │ ║ button that was triggered by a program running in a qt wrapper. Or maybe if you │ ║ said "notify me when this project is completed" or whatever, it'd zoom one of │ ║ it's screens toward the goal that you'd designed - or perhaps it'd just be done │ ║ by an AI. Either way, the result is that you've got an example of a wallpaper │ ║ that displays my favorite game. │ ║ │ ║ gee wish I could make that. First I'd have to learn X, then probably get better │ ║ at BASH, then I'd have to do some kind of input manipulation - probably maybe │ ║ with C? that could interface with a machine learning algo │ ╠═════════╗ ┌───────────┤ ║ similar ║ chronological │ different │ ╚═════════╩═════════════════════════════───────────────────────────────┴───────────┘ -> file: fediverse/634 ═════════════════════════════════════════─────────────────────────────────────────── @user-192 I'd agree with that. it's not designed for performance, not really. Mostly ubiquity, which is it's strength. As long as something can be compiled to a binary, BASH can execute it. That's why it's good, for accomplishing *diverse* tasks that you cannot have the capacity to program yourself. Scientific computations or cultural approximations, things that are beyond your intuitive understanding as a human on this earth, but which compel and align your thinking. I'm sure someone could create a more intuitive or accessible syntax, but syntax isn't the point - the capabilities, what you can do with it, has always defined the purpose of programming paradigms. And BASH is (currently) at the forefront of it's niche, the "terminal" language that handles "command line" applications. Powershell is good, yes... but it's not as good as BASH. Neither is Fish or... the one that starts with a z? zfs? something like that. The acronyms are hard to keep straight sometimes. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: fediverse/790 ═════════════════════════════════════════─────────────────────────────────────────── @user-246 is this... undefined behavior? or does it evaluate to 5 every time it's called? I find that often my art makes me feel intense emotions, not all of them good. But sharing those emotions with others is a tricky task (so I've recently learned) because you can easily overload people with negative feelings - just because you're feeling bad, doesn't mean you need to make others feel bad. Perhaps they were already feeling bad, and if you intensely and sharply poke them with your intense emotions while they're in a vulnerable or safe state/place... you can hurt them, more than you intended by expressing your feelings. balance in all things, as does a wave orbit a central axis so too should our behavior align toward the direction we'd like to travel. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘ -> file: fediverse/5214 ═════════════════════════════════════════════════════════════─────────────────────── @user-1773 what if all programs had legally mandated APIs which had to be called every time text was displayed on the screen which wrote to a piece of shared memory with read-only privileges that could be read by text-displaying applications? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧══════════════════════════════════════════════════──────────┴───────────┘ -> file: fediverse/3878 ════════════════════════════════════════════════════──────────────────────────────── @user-570 that's not actually my script, here's the real one:`#!/bin/bash alias cd="cd-improved" function cd-improved(){ if [ "${1}" = "..." ] ; then builtin cd .. && builtin cd .. elif [ "${1}" = "...." ] ; then builtin cd .. && builtin cd .. && builtin cd .. elif [ "${1}" = "....." ] ; then builtin cd .. && builtin cd .. && builtin cd .. && builtin cd .. elif [ -d "./${1}" ] ; then local target_dir="./${1}" elif [ "${1}" = "cdir" ] ; then local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')" echo ${target_dir} else local target_dir="${1}" fi if [ ! "${2}" = '--no-ls' ] ; then builtin cd "${target_dir}" && ls -v --color=auto else builtin cd "${target_dir}" fi } ` ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘ -> file: 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 │ ╘═════════╧════════════════════════════════────────────────────────────┴───────────┘ -> file: fediverse/5696 ════════════════════════════════════════════════════════════════──────────────────── hey does anyone wanna go over my code for this text adventure game thingy that I spent 2 days on so far?
┌─────────┐ ┌───────────┐ │ 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/4512 ══════════════════════════════════════════════════════────────────────────────────── @user-1687 I use dmenu, so I'm thinking I'll write a script and call it using dmenu. The script will start by using flameshot to grab the snipped part of the screen into the clipboard, and then I need to find an OCR engine (thanks for the google-able term btw!) which can take clipboard contents as input, and output text to the clipboard. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═══════════════════════════════════════════─────────────────┴───────────┘ -> file: fediverse/2622 ════════════════════════════════════════════════──────────────────────────────────── what kind of linux user are you if you don't even *like* reading terminal output? it's USEFUL and INTERESTING information! WHY ELSE WOULD THE PROGRAMMER OUTPUT IT??? ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘ |