This is just a good reminder of human nature to make bad choices (using JS) and stick with them forever.
- 5 Posts
- 151 Comments
MTK@lemmy.worldto Linux@lemmy.ml•Open TV, the fast and open-source IPTV player for Linux, launches on Android and iOS today!91·5 days agoAn open source IPTV client (TV channels over tge internet)
If you are programming on a computer and not punching holes in paper you are just a little bitch script kiddy.
https://en.m.wikipedia.org/wiki/Computer_programming_in_the_punched_card_era
MTK@lemmy.worldto Programming@programming.dev•This Overly Long Variable Name Could Have Been a Comment | Jonathan's Blog3·8 days agoMy philosophy is that anyone familiar with the code shouldn’t need the comments to understand it, and anyone who isn’t should be able to with the comments.
This means that I have semi long names like “this_variable_varies” would be about the max name size I would use. But I also use plenty of small functions and I use comments to explain big chunks of code with just a simple goal and method description.
I sometimes find my code a bit overly verbose, but I know I would rather see that then some code that I need to de-obfuscate mentally.
MTK@lemmy.worldto Programming@programming.dev•AI Models from Google, OpenAI, Anthropic Solve 0% of ‘Hard’ Coding Problems373·20 days agoPlease babe! Just one more parameter, then it will be AGI!
MTK@lemmy.worldto Selfhosted@lemmy.world•What is a self-hosted small LLM actually good for (<= 3B)English14·26 days agoRAG is basically like telling an LLM “look here for more info before you answer” so it can check out local documents to give an answer that is more relevant to you.
You just search “open web ui rag” and find plenty kf explanations and tutorials
MTK@lemmy.worldto Selfhosted@lemmy.world•What is a self-hosted small LLM actually good for (<= 3B)English141·26 days agoHave you tried RAG? I believe that they are actually pretty good for searching and compiling content from RAG.
So in theory you could have it connect to all of you local documents and use it for quick questions. Or maybe connected to your signal/whatsapp/sms chat history to ask questions about past conversations
Yeah, personally I just looked for second hand high vram gpus and waited. I got 2 titan Xp (12gb vram) for only $180 each.
MTK@lemmy.worldto Linux@programming.dev•Now Ubuntu is Also Ditching Xorg Completely for Wayland!1·27 days agoTried wayland on arch with modern drivers on a few different DEs and everytime I eventually switched back to Xorg.
One simple example, manually configuring the resolution of a monitor with a mode that is “not compatible” with the monitor. Xorg does it pretty easily with xrandr, wayland seems to have no option for the user to do that.
I know there is all of that AI hate, which i’m all for. But taking models to run locally does not benefit the AI companies. If anything this is the way to make something that is actually good out of that hot mess.
MTK@lemmy.worldto Linux@programming.dev•What is your most useful Linux app which others might not know about (please don't just give the name but a link and why it is good for you) ?2·28 days agoLocalsend for easy file sharing between devices
My personal best is $4K because of one unchecked option.
You could use an llm with an mcp to the local filesystem and hope it can do it for you
MTK@lemmy.worldto Programmer Humor@programming.dev•Ramsay's kitchen nightmares, but for software development13·28 days agoAnd it will always end with a more modern and streamlined infrastructure that they never update again and then two years later there is an article that shows how they all went bankrupt.
MTK@lemmy.worldto Programming@programming.dev•Trusting your own judgement on 'AI' is a huge risk1·1 month agoThat is actually missing an important issue, hallucinations.
Copying from SO means you are copying from a human who might be stupid or lie but rarely spews out plausible sounding hot garbage (not never though) and because of other users voting and reputation etc etc, you actually do endup with a decently reliable source.
With an LLM you could get something made up based on nothing related to the real world. The LLM might find your question to be outside of it’s knowledge but instead of realizing it it would just make up what it thinks sounds convincing.
It would be like if you asked me how that animal that is half horse and half donkey is called and instead of saying “shit i’m blanking” I would say “Oh, that is called a Drog” and I couldn’t even tell you that I just made up that word because I will now be convinced that this is factual. Btw it’s “mule”
So there is a real difference until we solve hallucinations, which right now doesn’t seem solvable but at best reduced to insignificance (maybe)
MTK@lemmy.worldto Linux@programming.dev•Now Ubuntu is Also Ditching Xorg Completely for Wayland!312·1 month agoI love wayland, but you can’t deny that it still lacks support and stability.
But maybe this is one of those chicken or the egg, maybe we need the transition to push the quality
MTK@lemmy.worldto Programmer Humor@programming.dev•Types of development but more realistic24·1 month agoI think this should show internals of the car and have them all have a finished car but agile is like 50% zipties and AI is just a bunch of wheels and screws in a car shaped contianer.
# Checking validity of each file for file in directory: content = file.read() for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"): if keywords in content: return True # File is Invalid and fake news return False