=== ANCHOR POEM === ═══════════════════════════════════════════════════════──────────────────────────── @user-570 yes you could certainly use a database for that, but databases are significantly more complex. For a game, yeah a database is a good idea. especially if it's a multiplayer game. For a script or small program, use small files to store data. I personally like the idea of "plain-text" files because it allows your users to modify them if need be, while databases tend to be more locked down. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘ === SIMILARITY RANKED === --- #1 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 │ ╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘ --- #2 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 │ ╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘ --- #3 messages/1170 --- ════════════════════════════════════════════════════════════════════════════════─── look, it's easy enough to solve bitrot. Just store three copies of the file and synchronize them everytime you open them. Like, an in-software raid array, except with less expense because a .png is what, 2mb? great, now they're 6mb. Nobody will notice except people who really should be buying more hard drives. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════════════════════════════════──┘ --- #4 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 │ ╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘ --- #5 fediverse/1238 --- ╔═══════════════════════════════════════════════───────────────────────────────────┐ ║ did you know you can run runescape classic offline, locally, just for your own │ ║ server? You can keep several computers ready for a LAN party, each with their │ ║ own accounts ready to go. │ ║ │ ║ "Oh we're level 30 this time because so-and-so is hosting and this is how far │ ║ their computer has levelled up." │ ║ │ ║ vim ~/games/runescape-classic/credentials.txt │ ║ │ ║ at least, I think you can. I know it's singleplayer, so worst case scenario │ ║ you can all be doing the same things at the same time in your own games. Maybe │ ║ split up for a mission or two, but it can get hectic if everyone's in the same │ ║ room. │ ║ │ ║ = │ ║ │ ║ a game jam where everyone works on the same project, uses the same asset list, │ ║ but builds their own collection of minigames. │ ║ │ ║ common functions could be shared, and art references distributed and together │ ║ they could design a whole land. Like, there's no reason minigames can't be │ ║ fully fledged experiences. You can have as many as you want, all in the same │ ║ engine and built from a massive (yet sandboxed) environment. │ ║ │ ║ an all in one game. │ ╟─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧════════════════════════════════════────────────────────────┴──────────┘ --- #6 bluesky#27 --- ═══════════════════════════════════════════════════════════════════════════════──── you can have as many processes running on a computer as you please, just make sure they're all named chrome.exe so the user doesn't suspect a thing. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘ --- #7 fediverse/3039 --- ═══════════════════════════════════════════════════════──────────────────────────── @user-570 I'd LOVE a game which taught toki pona!! You've brought some of this up before. I'm uninterested in co-opting some existing thing in a way I then can't support myself off of. Well my points are these: MMOs are difficult because of the added complexity in their networking an open source networking solution exists however no open source client solution exists but one could be written, which is about as hard as making a game using Bevy or Raylib or Love2D, and if one were written, then games could easily be made on-top of them which you would then support yourself off of. I mean... I'd want to support myself too haha, and I can think of like 100 different games that could be made in an engine like that. the idea is that by opening up more design space you can apply your ideas as an early pioneer in a particular design direction that hasn't been able to be explored because the up-front investments in making an MMO are huge. Meanwhile, with this system you could script them in Lua very easily. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘ --- #8 fediverse/5212 --- ════════════════════════════════════════════════════════════════════─────────────── the reason you start with a game engine is because then you'll have tools to make however-many games you want. Tools that you know intimately enough that you can debug and improve them without breaking your creative flow by learning something new halfway through a project the whole point of individualized projects instead of viewing each computer as a complete and total whole (why do we need servers again?) is that you can paint a picture of where the design of the program is intended to go, such that all the considerations are in place and whatever issues or struggles you might face along the way are adequately addresssed, -- stack overflow -- [because I mistyped addressed] -- -- if you know what "stack overflow" means you have intimate knowledge of the technology, and can probably guess what it means in context when I say it. "nuts I lost that train of thoguht" -- stackl ov ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘ --- #9 fediverse/3154 --- ═══════════════════════════════════════════════════════──────────────────────────── ┌───────────────────────────┐ │ CW: re: cursing-mentioned │ └───────────────────────────┘ @user-1461 yes... I like tree shapes, you have to address them differently. Lots of pointers, in my experience, which can be kinda fun. I also like large heaps / soups of data that points to one-another. Structs thrown in a pile with pointers to each other. It's great! So long as those pointers can also point back, and you can properly trace how data flows through the system... That's the hard part, I think. trees though... You can start by just saving a "next / previous" with one or both being arrays of pointers to the next or previous entries. Note: plural, entries. That's the fun part - non-linear trees teehee ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘ --- #10 fediverse/3151 --- ╔══════════════════════════════════════════════════════────────────────────────────┐ ║ ┌───────────────────────────┐ │ ║ │ CW: re: cursing-mentioned │ │ ║ └───────────────────────────┘ │ ║ │ ║ │ ║ @user-1461 │ ║ │ ║ I'm best at Bash. │ ║ │ ║ I'm most capable with Lua. │ ║ │ ║ My favorite is C. │ ║ │ ║ I'm not a good programmer, I think too hard. Massive systems are too large for │ ║ me. I like laying out data, whether that be by files and programs in Bash, │ ║ arrays and tables in Lua, or memory and datatypes in C, I like to think about │ ║ how programs are constructed. │ ║ │ ║ Which functions point to which piles of numbers? what do they do when they get │ ║ there? │ ║ │ ║ I think I'm better as an artist. But I can do systems administration quite │ ║ well (with Bash and a guiding hand telling me what and why to do) │ ║ │ ║ ... though I kinda suck at technical sysadmin, like Gentoo. There's too much │ ║ terminology - why is data too complicated? Just use data! │ ║ │ ║ anyway. I sound opinionated, but I listen closely to good arguments and │ ║ quickly change my tune when I am incorrected. I am a team player, and I firmly │ ║ believe that sometimes a bad plan executed with cohesion and precision is │ ║ better than the best play executed too late and with too little strength. │ ╟─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧═══════════════════════════════════════════─────────────────┴──────────┘ --- #11 fediverse/5765 --- ╔═══════════════════════════════════════════════════════════════════════───────────┐ ║ Lua is the most fun language to write code in! The reason is because it's so │ ║ simple, it distills programming down to it's basics, and there's very few │ ║ surprises. Plus, you can use it like a bash script, meaning it's great for │ ║ writing little utilities. │ ║ │ ║ why are we so attached to monolithic massive programs without shared memory? │ ║ we could just write to the hard drive by file.io'ing a file and opening it │ ║ later in a different program. What's the deal with databases, whatever │ ║ happened to just loading things into a datastructure? │ ║ │ ║ oh, is your filesize too massive? what if we redundancied and abstracted and │ ║ concentrically inter-co-acted and thus our familiar forces are defined. │ ║ │ ║ who are your true foes, in [checks notes] computer programming? um, probably │ ║ complexity, probably logical incongruities, probably │ ║ future-technical-debt-style incomprehensibilities, probably stuff that doesn't │ ║ really have anything to do with the hardware but instead is mostly software. │ ║ │ ║ essentially, organization, but done on a whim. │ ║ │ ║ "but $?" │ ╟─────────┐ ┌───────────┤ ║ similar │ chronological │ different │ ╚═════════╧════════════════════════════════════════════════════════════┴──────────┘ --- #12 fediverse/1614 --- ════════════════════════════════════════════════════─────────────────────────────── wondering if anyone's ever made a computer that could only run programs written in interpreted languages. Like, no binaries allowed. Would probably be slower, but if my iphone is good enough for NASA to get to the moon then odds are it's good enough for me. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘ --- #13 fediverse/1668 --- ════════════════════════════════════════════════════─────────────────────────────── @user-777 if you pick a solution that lets you download your conversational data, then you can either import it into a new application if you need to switch or store it for future training / analysis purposes. also depends on how long you think you'll be using it. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘ --- #14 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 │ ╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘ --- #15 fediverse/3574 --- ════════════════════════════════════════════════════════─────────────────────────── @user-1564 I love the concept of this! Maybe if HTTP is too complex, you could try another simpler server? I don't know the complexity of the programs I use every day, but I'm sure there's one that's very simple. Even just a simple IRC style chat server that just... sends text from person A to person B depending on their username (like a glorified Router or Switch) Reminded of this video tbh...: https://www.youtube.com/watch?v=gGfTjKwLQxY ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘ --- #16 fediverse/5405 --- ══════════════════════════════════════════════════════════════════════───────────── can't stop thinking about a visual programming editor that can be interacted with in the same way that people are used to (think chromebooks dragging and dropping icons in a web UI) but produces a text-file full of code and all the required compilation scripts for any language the user requires... seriously, programming is not THAT different between the different languages. especially the main ones. they're all essentially variables and function calls at the end of the day, so why not abstract away all the extra details and build something that n00bz can actually use to build things. I technically could make this but I don't have the bandwidth and I don't think it's important really? who can say, the tools tend to co-create the solutions in my experience. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘ --- #17 fediverse/111 --- ══════════════════════════════════════════───────────────────────────────────────── @user-95 that's why I like programming - it's my favorite form of spelling. i'm not very good at remembering all the names and the numbers, but I like to think I can make things do a function. ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═══════════════════════════════════────────────────────────────────────────┘ --- #18 fediverse/1634 --- ════════════════════════════════════════════════════─────────────────────────────── hello I'd like a computer that has multiple CPUs, each with shared data and separate data. I feel like I could run a lot of cool tests on them, especially when not connected to the internet or running a proprietary operating system like not-BSD ┌─────────┐ ┌───────────┐ │ similar │ chronological │ different │ ╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘ --- #19 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 │ ╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘ --- #20 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 │ ╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘ |