IngeniousRocks (They/She)

Don’t DM me without permission please

  • 2 Posts
  • 141 Comments
Joined 10 months ago
cake
Cake day: December 7th, 2024

help-circle

  • If you’re planning on using LLMs for coding advice, may I recommend selfhosting a model and adding the documentation and repositories as context?

    I use a a 1.5b qwen model (mega dumb) but with no context limit I can attach the documentation for the language I’m using, and attach the files from the repo I’m working in (always a local repo in my case) I can usually explain what I’m doing, what I’m trying to accomplish, and what I’ve tried to the LLM and it will generate snippets that at the very least point me in the right direction but more often than not solve the problem (after minor tweaks because dumb model not so good at coding)








  • I’ve got a 8GB swap drive nowadays (yes I know its awful for flash memory, idc) but the vm.swappiness isn’t adjustable on FreeBSD so it just simply isn’t swappy enough. Rarely ever goes above 128MB swap in use, it orefers to crash.

    Its not an active project for me as of right now but I plan to make a tool to adjust the swappiness at some point when I figure out what chunk of code is responsible for it in the kernel. At that point I’ll be able to use it to drastically increase memory related stability, until then though the 2005 era business PC remains a lumbering creature, with much care needed to keep it from crashing.


  • Firefox ESR will open, and can navigate to lite.duckduckgo.com or other lightweight sites. Attempting to use multiple tabs results in OOM killer killing firefox, or the whole system locking up, whichever comes first.

    This machine exists as an exercise in ascetism. By denying myself modern amenities I seek to free myself from distraction, enabling me to do more, higher quality work.

    what can you run with only one gig of RAM

    Mostly just text editors and terminal apps. For me, this is a good thing, for most I assume its a dealbreaker.

    Occasionally I’ll boot the machine off a USB HDD with windows 95 on it for retro gaming. It handles that like a champ.





  • So there’s some data its concatenating from some lists and running some checks on. If one if the checks succeeds it runs a function called clearInfo, I don’t know js so idk if that’s a built-in or if they defined it elsewhere in the script. If that check fails it runs clearInterval. This is all wrapped in a function called setInterval, and it looks like if all the checks succeed and the interpreter isn’t moved to a different section of code by those functions called earlier then it will set whatever this interval is to 10000, presumably milliseconds. That’s the big block in the middle.

    The top block calls some code referencing a document, which appears to be stored as a list, index 12 is referenced and another obfuscated argument is applied to it.

    The bottom block appears to be defining a function that will interact with the document referenced above. Calling the function showInfo and presumably concatenating and formatting some data into a pretty output for a user to get info regarding the document being referenced.

    Someone who actually knows js could probably tell you more, I know python and c++ and this looks kinda like python but the syntax is a bit different so I could be way off