i've been asking claude this exact question since the very beginning, and here's what we built so far:
two words first
CLAUDE.md is a plain text file claude code reads at the start of every session. whatever you write there, it "remembers"
a hook is a tiny script claude code runs automatically before or after it does something. it can block the action. claude can't talk its way around it
level 1: a mistake log
a file called learnings.md. when something goes wrong, claude writes what happened and what the fix was. it doesn't load every session, it's just the record. mine has 58 entries.
paste this to claude:
make a learnings.md in this project. whenever we hit a mistake with a lesson in it, add a dated entry: what happened, the fix, and where it came from. add a line to CLAUDE.md telling you to do this.
level 2: a few rules that load every session
when a mistake keeps coming back, turn it into a rule in CLAUDE.md. keep it to a few. i cap mine at 3 and swap one out to add one. i had 12 once and it was too much change at once.
paste this:
add a "lessons" section to CLAUDE.md, max 3 lines. add this lesson: [your mistake and what to do instead]. put the reason in an html comment next to it.
the reason matters. without it, a later session "cleans up" the rule because it doesn't know why it's there.
level 3: hooks for things that must never happen again
rules can still get forgotten in a long chat. hooks can't. this is where "enforces it without me babysitting" actually happens.
mine, for example:
one stops claude from running a kind of python command that kept freezing my chats
one makes deleted files go to a _to_delete folder instead of being gone for real
one sends the chat back if it forgets a summary line i want at the end of every reply
paste this:
make a hook so that [the mistake] can't happen again. it should check the actual command or file, not words in your reply. show me how to test it.
that last part matters. when i checked my hooks, the ones that looked for words in the text were wrong about half the time.
the loop
mistake → log it → keeps happening? make it a rule → still happening or it's costly? make it a hook
two more that helped
a handoff file: before a long session ends, claude writes where things stand, so the next session starts there and not from zero
don't trust "fixed". have claude (or a second claude) actually test it before you believe it
start with level 1 and 2 today. hooks once you know which mistakes are worth it
I will be blunt, since you have previously disregarded well-meaning advice.
You do not have the knowledge or technical experience to develop a project of this magnitude. It is irresponsible of you to promote this publicly. Anyone foolish enough to run a client in their own machine will waste their time and computing resources.
These issues pale in comparison to the most glaring one: your submission validation and aggregation process. Here is a list of the issues I could find:
A client can claim any amount of steps and tokens processed, with zero validation from the server. If an attacker claims a ridiculous token amount, during aggregation their delta essentially becomes the entire round's updates while honest contributions shrink to noise.
Related to the previous point, if a client claims a large amount of local steps, the primitive safeguards you have implemented will grow accordingly. This means an attacker can slowly increase the amount of steps they are allowed to submit, with no upper bound.
There is zero server-side evaluation: the server automatically accepts whatever the clients send. This means that there is no way for the server to know if the loss reported by the client is the real model loss.
You have no rate limits or time-gate machinery. Anyone can register any number of accounts (literally the only restriction is that the email address contains an @). An attacker can submit a delta immediately after registering. Moreover, they can submit the same poisoned deltas as many times as they want, and they will all get rolled into the final model update.
You (try to) implement a subnet blacklist. However, it is trivial to spoof the X-Forwarded-For header to get around this.
As a proof-of-concept, I wrote a small script to submit a poisoned result: a carefully crafted delta matrix targeting ten top-of-vocab reserved tokens (151,659 to 151,668); by construction, these tokens do not appear in the training corpus, and the weights associated to them should stay stable across model iterations. This means that if any of said weights change after submitting the poisoned deltas, then it is very likely it was caused by my attack, and not by normal model learning. The higher the number of reserved weights that change, the higher the likelihood my attack was rolled into the model update; having all 15,360 weights (1,536 weights per token * 10 tokens) change is virtually impossible by normal means. For extra certainty, I alternated the delta sign between every pair of tokens (so the first token delta had a positive sign, the second one negative, the third one positive, etc.)
To make the attack even harder to detect, I even took the time to make it look like a real client by waiting for the appropriate time between requests (although this wasn't necessary at all, I could have submitted deltas every millisecond until your server crashed). Here is the metadata of my submission:
Submission time (UTC): 10:12 a.m.
User: SwarmySwarm
Round: 275
Chunk: 2,918
Tokens claimed: 4,915,200
Loss claimed: 3.3069
Steps claimed: 300
I am currently number 11 on the leaderboard, with a trust score of 0.51 (increased from the default value of 0.5). The leaderboard displays the claimed stats.
After the round had finished and the model was updated, I downloaded the updated model and compared it with the previous iteration. The weights associated with all ten tokens changed by exactly the same magnitude: 0.00429. Moreover, they exhibit the previously mentioned striped sign pattern. This is confirmation that my poisoned data was rolled into the model.
You will not be able to solve these problems. Companies have thrown millions of dollars and hundreds of engineers and scientists at it, and they have all failed. Whatever half-baked solution your LLM manages to cook up will not work, for the following reasons:
Any consensus-based solution (FLTrust, blockchain) is trivial to bypass with such a small userbase. Having no account authentication makes this even easier.
Server-side validation with a trusted executor has additional problems:
Verifying every submission means training on every chunk sent to clients, which completely defeats the purpose of federated training.
Random spot checks run the risk of missing a poisoned result (again, further compounded by the fact a single attacker can create an arbitrary amount of clients)
In summary, I'd advise you to stop development, take down the webpage and server (which I'm pretty sure is just your PC behind a CloudFlare tunnel), and ask yourself (or Claude) why you are doing this, and if you really have the skills and expertise to see it to fruition. If not, please close your LLM and try to actually learn: learn to program, learn about machine learning and deep learning, learn about LLMs, learn about cybersecurity, learn about federated training (the paper I linked above is a good addition), and please stop exposing stuff to the internet if you don't understand how it works.
Yes, pick one path and stick to it because I’ve seen firsthand what trying to do everything at once does to people. I’ve seen a lot of my friends burn out or believe they’ve mastered something (you never truly master anything, btw), yet struggle to debug even basic problems when asked. For me, although I’m not much of a DSA person, my learning path was HTML/CSS → JavaScript → Tailwind CSS → React with JavaScript → TypeScript → React with TypeScript. Then I moved to backend development, learned about HTTP, REST APIs, Express.js, databases (MySQL, PostgreSQL, and MongoDB), authentication, and deployment. After that, I moved on to Next.js. These are just the bare minimum. Then comes the fun part: cloud technology. I learned how different AWS services work and earned my AWS Certified Cloud Practitioner and Solutions Architect certifications. I also started learning system design, followed by CI/CD, Jenkins, Terraform, Docker, infrastructure management, monitoring and observability with Prometheus and Grafana, and networking. I even created my own homelab to experiment with different technologies and learn about caching strategies, message queues, asynchronous processing, scalability, and distributed systems. Simply storing things in Redis isn’t all there is to caching; there are many other techniques, strategies, and trade-offs involved. A few years back, I also learned Python and FastAPI, although I personally didn’t like them much for larger projects due to performance considerations. That’s more of a personal preference and depends on the project’s requirements. One more thing: once you learn Express.js and understand how to properly write and structure a backend or frontend application, you’ll start understanding concepts like global error handling, middleware, validation, separation of concerns, and why they are important. Some of these things you’ll have to implement manually, while other frameworks will provide built-in mechanisms that you should know when and how to use. Focus on understanding concepts rather than simply getting your project to work. Just because your project works doesn’t necessarily mean it’s well-designed, maintainable, scalable, or reliable. Once you understand the underlying concepts, you’ll start recognizing common patterns across different languages, frameworks, and technologies. The same applies to system design. You’ll gradually understand why certain architectural decisions are made, what problems they solve, and what trade-offs they introduce. I’m still learning new things every day, and there’s always something new to explore. What I’m trying to say is, stick to one path and keep building on top of your existing knowledge. Knowledge never goes to waste. Don’t just learn a technology for the sake of adding it to your resume. Understand why it exists, what problems it solves, how it works under the hood, and what its limitations are. And trust me, when AI hallucinates—and it will—it’s your brain, debugging skills, understanding of fundamentals, and system design knowledge that will help you solve problems.
First, learn your tool; understand in detail how your computer functions (computer hardware). Then, learn how to operate it (system administration and automated processing), including various operating systems (Unix, Linux and its core distributions, Windows, and Windows Server). I recommend learning C, C++, or Rust for low-level programming; Python for rapid prototyping; Bash for scripting on Linux; and PowerShell for scripting on Windows. Following this, familiarize yourself with your device's environment, specifically computer networks; I suggest using Jeremy's IT Labs and his series on CCNA and CCNP. Only after completing these steps would I advise diving into cybersecurity.
If you are serious about learning cybersecurity, use TryHackMe to gain a broad overview, they cover a wide range of topics but turn to other platforms to delve deeper into specific areas:
Use an AI (any will do; DeepSeek, for instance, is free and sufficient for this purpose) to test your theoretical knowledge through open-ended questions on specific subjects, or to generate practical exercises.
As I mentioned before, websites like PortSwigger for web security.
Pwncollege for low-level concepts and exploitation.
Let's Defend and HTB (Hack The Box) for defensive security; HTB is also excellent for offensive security.
BreachLabs for general hacking (think of it as an "on-steroids" version of OverTheWire).
Crackmes.one for cracking and reverse engineering.
RootMe for a variety of security challenges.
Ransomleak for a better understanding of real-world security scenarios.
pwn.guide for specialized guides on vulnerabilities.
Ired.team, arguably one of the best resources for "Red Team" methodology. Hacktricks, arguably one of the best references for penetration testing methodology.
PayloadAllTheThings for anything related to ready-to-go payloads (If you reach that point you'll learn what it means)
VulnHub for setting up and studying vulnerable systems.
Exploit-db, a database of vulnerability proof of concepts and other cool stuff.
For Red and Blue Teaming in specific, any website offering a matrix, such as MITRE ATT&CK, MITRE D3FEND, MITRE ATLAS, InsiderThreatMatrix.com, the MITRE Fight Fraud Framework, the DISARM Framework, PR3TACK, the GenAI matrix from ttps.ai, etc.
Also, read books. If you are serious about your learning, dive into classic cybersecurity texts such as The Art of Hacking, The Hacking Handbook, Hitchhiker's Guide to Online Privacy, Red Team Field Manual (RTFM), Hacking: The Art of Exploitation, The Art of Deception, Practical Malware Analysis, or The Web Application Hacker's Handbook.
Another piece of advice: don’t just mindlessly follow the learning paths on platforms like HackTheBox or TryHackMe. Write up your own reports (writeups) and post them on GitHub, categorizing them by the platform for each challenge you complete (and I don’t mean just simple step-by-step solution guides), you’ll thank me in 4 years.
My response to the COO: I have reviewed the HTML. In my assessment, we should not yet distribute this version as an official management tool to the managers.
My main concern is code maintainability and who will be responsible for it. As it is currently set up—with the presentation, calculations, and Excel handling packed into a single, very hard-to-read code file—I do not consider it feasible to carry out a thorough, reliable human review every time changes are made. Before using it as a daily work tool, we need a comprehensible structure, version control, documentation, and someone with the dedicated time and technical expertise to maintain it.
This means agreeing from the outset on who will troubleshoot issues, review changes, and update libraries. We cannot take on that support indefinitely, nor can we rely on asking an AI for every single modification without being able to verify what changed and whether the outcome is correct.
I had understood that the original idea was to prepare something simple: a static HTML page to showcase a proposal. However, this file now has a different scope—it contains a significant amount of JavaScript and external libraries that read and modify the Excel file. It is effectively a management application, and it requires a development and maintenance structure that reflects that.
I am also concerned about the choice of technologies without having first agreed on how we are going to maintain them. For the applications I develop, I use Python and Flask. If I am going to take ownership of this application, I propose working within that environment, using a structure I can review, test, and maintain. We can still take advantage of the current design and everything learned from the mockup.
Additionally, I have security concerns regarding its creation via AI. We need to review what code and libraries are being introduced, where they come from, and what commands are being executed. If the tool has access to company files, credentials, or data, an incorrect instruction or a compromised dependency could cause problems even before the application is deployed. Working within a LAN does not eliminate those development-process risks.
It is worth establishing this foundation right now to avoid ending up with another hard-to-maintain solution, similar to the issues we are already familiar with regarding certain macro-enabled Excel and Access files. Continuing to expand this file without proper structure will only increase the review workload, our dependency on AI, and the cost of making changes.
To move forward in a way that is straightforward and secure for both of us, I propose that you define the requirements and prepare the prompts and static HTML mockup, while I handle the implementation, testing, and deployment, after agreeing in advance on the scope and time commitment. We can finalize what we need for investment management and determine how we will develop and maintain it before rolling it out to the rest of the managers.
In a selfish way im glad to see it's not just me feeling this way, it's a shame as I have really enjoyed my first few weeks coding in HTML and JS, I think the only language I enjoy more is python honestly. But yeah it just feels like there's a large disconnect between the learning objectives of the class and the way in which were instructed to attain them.
I understand that AI makes the lives of teachers a living hell in terms of evaluating wether students learned the course curriculum. However I don't believe that returning to old school written tests where you most of the time end up infodumping your short term memory and then forgetting most if not all of what you were evaluated on right after is not the method I think is best.
One of the big things that got me into CS was how this style of evaluation was never a part of its courses, I personally detest with a passion this style of evaluation in any context but especially for CS. To my understanding computer science like alot of courses wants you to become a better communicator , problem solver and planner (among many other things).
This format of evaluation allows for very little if any opportunity to display skills that are actually relevant in a workplace environment, even an environment post or in tandem with this class. If you pull up to your coop and proudly stroll into your bosses office with code hand written and proof that you did so in 45 minuites I'd love to meet one that woio greet you with a look of utter bewilderment.
There's something funny about being instructed by the course to use VSVode as your text editor but honestly most text editors I use now have similar features where it's constantly and quite accurately giving you the option to press tab to have it autofill the code it thinks you're trying to write out. You're also frequently instructed within the tutorials to copy and paste the code he already writes. This leads to atleast the experience for me being that even by following the instructions as I understand them and not using AI I still end up actually coding very little.
So I find the potential argument of "the written evaluation is important as if you were actually writing the code in the tutorials yourself you'd have had ample opportunity to have memorized the structure and syntax of the language. A language mind you that you were introduced to two weeks ago and any prior knowledge is not a pre requisite for the course as far as I'm aware.
And yeah I completely agree with the time it takes to do the tutorials and assignments, especially soul crushing when j realized that the assignment I put a month's worth of time into is worth half the ammount that one of the tests that you're given at most an hour and a half to do.
I know it's not exclusive to this class but I dislike the decision in any class to make it an automatic course failure if you fail the final exam. Makes everything else you do in the course seem abit less Meaningful as atleast I always have it in the back of my mind that this could all be for nothing if I fail to show up mentally, or physically for 3 hours at 9 am on the 14th of December.
Might just be me being old fashioned but I also really dislike the constant use of AI in the lecture material, tutorials and assignments. Dunno if the written portions of any are, but the inclusion of the pictures alone I just find to be visually unappealing and also just puts the thought in the back of my mind that more could be aswell.
Anyways, that's all to say that I really dislike and disagree with the evaluation breakdown of the course and the formatting of the tests. I think a pretty implementable short term fix would be to allow students to prepare cheat sheets / post ones you allow and let us print them / provide them with the test. Project based portfolios on GitHub or something where you can see the commit history of the project and / or have students explain their code and coding decisions either in writing, recording or to a TA in aab or something.
Might not be feasible due to the number of students in the class but something along those lines I think would evaluate students in a way that prepares them alot better for future classes and the real world after.
Hey. this song came on my random mix in the car and i found this thread from a few years ago. I read a bunch of comments and then got to yours. It has been 2+ years since you posted this comment and I genuinely want to see how you are doing now a days. I hope you are still active on reddit so you can read this and hopefully respond.
I'm a bit older then you, however I am and have been in similar situations in my life and have thought about and wanted a lot of the same things as you have described in your comments here. Life is pretty crappy for me and has been for years, I too am super lonely, have been for a long time, and desperate to find someone to love and to be loved by someone. It is really hard to push through the days most of the time, plus I usually feel like I'm not even worthy of having someone because of what I have to offer, which is not a lot, only have myself to offer. a brief info about my situation, i was a contractor that specialized in bathrooms and kitchens, did every single step from demo to plumbing to electrical to tiles. I took on a second job about 15+ years ago, to deliver auto parts to local mechanics around the middle of long island, a few hours, a couple times a week. my first delivery of my very first day, i get into a head on collision with a van, while driving a small chevy hatchback. amazing luck, right?!?! I broke my back, requiring an extensive lumbar fusion. those few seconds changed my life forever since now I couldn't even do the job i was great at and have been doing it since 13 with my dad. I didn't take great care of my teeth growing up either, and during the crash i had broken a lot of teeth that then started to fall out, or turn into abscesses, making my face balloon out, forcing myself to go to the ER and have a novice dentist try and yank out the problem tooth, and novacane was not effective lol, leaving me with virtually none now. <from experience, between 15hr back surgery/recovery, shingles, kidney stone passing, and tooth abscess extractions, by far the worst pain was the tooth abscess extraction lol, then kidney stone, back, shingles haha> now i'm broke, depressed, and have no teeth, as well as being dependent on heavy pain medicine which i take seriously and have almost never had a problem with in the long time ive been on them, i take that stuff seriously because ive witnessed someone abuse them and know what could happen. in the last few years my weight has dropped down to around 125-135 lbs at my lowest, and im 6'4. i have to try really hard to stay in the 140-low 150s now a days or else i cant even function at all with the world constantly spinning. i'm now in my early 40s, was unfortunately, but very very thankful to be able to move in with my parents, but we have been struggling with the finances the last few years due to the political climate and all that crap. from growing up and living most of my life on long island, to now in middle Florida, the very small amount of friends I had up north virtually faded away when i moved. so yeah, I have nothing to even offer a potential girlfriend or friend, and I have lost most of my confidence to even try to find one. without having teeth as well as being on pain meds makes me look and seem like a crackhead, the stigma is ridiculous! every day, even with pain meds, my pain level is almost constantly a 6/10 that spikes up to 9 if i move or twist the wrong way, or do even light physical labor/movements. before surgery i couldn't lift a gallon of milk without nearly passing out from pain. the fusion I got was the best of the best at the time, done at a high rated hospital in NYC at the HSS by the same orthopedic surgeon that was the surgeon for a bunch of the NY Yankees, he bragged about it to me quite a few times and had yankees merch all over his offices, too bad I'm a mets fan tho haha. but now the tech is so much better/different that most people who had this fusion are/will be suffering for the rest of our lives without additional surgeries. with todays knowledge, my doc down here has wished that they never did it that way, even though it was the correct and best way 15+ish years ago, but its too late for that heh. i also have to try and talk without opening my mouth, and I legitimately can't remember the last time I was able to actually smile. on a lighter note, i think id be a pretty solid ventriloquist heh.
That wasn't even brief like i said it would be, my bad, but here is what i was getting to There are maybe 2 days of every month that i actually feel as decent as I'm able to, and those are the days that I try to put myself out there to maybe find someone, even for a regular platonic friendship or anything. I have subjected myself through some evil and destructive thoughts, wishing that I would not wake up the next mourning, or that I would be diagnosed with a terminal illness, which is very messed up to even think... but here I am, I'm still here, still trying to make it to the next day, trying to think and find reasons to keep going. helping my dad who has been going through some really crappy medical issues, and helping my mom with that stuff and doing anything i can to make their lives easier like cooking meals for us and cleaning the house and taking care of the exterior of the house, ect. are the main things that keep me going day after day.
I see your reddit bio says you are studying Music Technology and are a musician, as well as a game dev. I have been a musician since 3rd grade, I started with an electric bass, then took orchestra from 4th until i graduated high school. and can play all of the standard 4 string orchestra instruments. i also taught myself guitar and drums, and have wanted to learn the piano/keyboard but could never buy one. in the past 10ish years, I have been self learning a few different coding languages as well <mostly LPC code, which is derived from C+/lisp/perl/pike/and some of java and python/lua, plus html and css for websites>, as I have helped make an online multiplayer game, a MUD<multi-user dungeon>. they are really old text based games and ours was pvp heavy and we have had about 250 people who have played it on and off most of our lives, since 1995 lol. each version we make, about 30-50 people play hard, while like 10-15 of their friends casually play. we make a new theme every year or two and wipe to keep it fresh and fun. i passed the reins to a former player 2 years ago and hes a new coder, he means well, but you know what that means, its super ai vibecoded stuff... some interesting ideas and concepts, but a lot of slop haha, and only a few regulars playing. during covid i made a good one and we had a solid 50 players going hard since everyone had extra time, was fun.
Your comments here has definitely resonated with me and a few other people who have replied. I truly hope that you are still active here to see this, and are doing better then when you wrote these out, even if just a little bit, We don't know each other yet, but I will be here if you ever need to talk about anything, at virtually any time, it seems like we have a few common interests too. sometimes just talking or typing shit out can help bring things to the surface that you didn't know you needed to say or do. I sort of feel that right now after typing all of that crap out above. i don't feel much better tbh, but reading back what i wrote might have made me think of stuff a little differently. Don't hesitate, I'll be here any time if you need to randomly chat or vent frustrations or anything. idk what i can do, but if it is possible ill do what I can do to help.
3rd sem student here, computer science. I know C, python, mysql, html, css and I was learning java and doing dsa side by side too. But as my exams and end terms are coming so I am focusing on those and now O am feeling lost. And I really wants to get an internship after 2 year. How to apply for internships? What's the process and I heard about the apps like internshala and all people sayd the companies are fake in it, is it true?
I'm a professor in Robotics at the University of Michigan. Your mechanical engineering studies connect directly to robotics: forces, motion, mechanisms, and design all belong here. As you encounter those subjects, connect them to programming, electronics, and experiments with robots.
We have a battle-tested roadmap in our undergraduate robotics program, and you can borrow its structure for self-study. We teach computational mathematics and programming alongside projects, then build toward sensing, actuation, control, and autonomy. The degree requirements show how those pieces fit together. These courses have been taught to successive groups of students; ROB 101 began in 2020, and ROB 102 has also been taught at partner institutions.
Start with our free online course materials. Depending on the course, these include lecture videos, textbooks, notes, homework, and projects. Public materials are available for independent study, although some assignments, university services, and hardware labs require enrolled access or adaptation.
For your camera-guided arm goal, I would suggest the following topic order. Your starting point depends on what you can already do independently in programming, mathematics, and electronics. Try the goals below to identify what needs work, and build on subjects you already understand. Use demonstrated understanding to decide when to move on.
Make programming and mathematics useful together. Work through ROB 101: Computational Linear Algebra and selected ROB 102 / Hello, Robot! lessons. Vectors, matrices, coordinate systems, and least squares will keep appearing in robotics. ROB 102 introduces programming through feedback, navigation, and planning, beginning with C++. Keep using Python for your own experiments; ROB 101 uses Julia, which you can learn through its supplied examples. Start with a small project: collect or simulate sensor measurements, plot them, and fit a calibration curve. Check its accuracy on new measurements. Learn basic Git as you go.
Goal before moving on: Write and debug the calibration program, explain the matrix equation it solves, and show whether the calibration improves accuracy on measurements you did not use to fit it. Adapt the program to a changed input without following a solution line by line.
Understand one actuator and close a feedback loop. Use ROB 201: Calculus for the Modern Engineer to connect calculus to differential equations, simulation, and feedback. Use your existing ME coursework where it already provides that understanding. Selected ROB 311: How to Build Robots and Make Them Move lectures cover motors, drivers, mechanical modeling, and control. Simulate a motor, then measure and control the speed of a small motor with an encoder. Plot the target and measured speed. Change the load and explain what happens. The full ROB 311 ballbot build needs particular equipment; a motor experiment is a manageable adaptation.
Goal before moving on: Explain how the input affects motion, compare a model's prediction with a measured response, and demonstrate how feedback responds to a load change. Identify a limitation, such as the motor's available torque. You can establish the modeling and control ideas in simulation, then test them on hardware when available.
Build an arm whose motion you can predict. Begin with a two-link arm in simulation. Compute where its tip goes from its joint angles, then solve the reverse problem: which angles reach a requested point? Michigan's AutoRob materials cover forward and inverse kinematics and motion planning; approach them once your programming and linear algebra are comfortable. Build a lightweight version that reaches marked points or moves a pen. Measure endpoint error and repeatability. Add a gripper and vertical motion as later steps. This gives your ME skills an immediate role in stiffness, torque requirements, and backlash.
Goal before moving on: Reach several specified points, recognize targets outside the arm's workspace, and explain the difference between predicted and actual tip position. For a physical arm, check its position with an independent measurement and report how consistently it returns to the same target.
Add perception and integrate the system. Start with a fixed camera and colored blocks or markers on a flat surface. Learn camera calibration and how an image location becomes a location in the robot's coordinates. First demonstrate reliable reaching, then picking and placing under controlled conditions. Learn basic probability and measurement uncertainty alongside this.
Goal before adding more general object recognition: Complete repeated pick-and-place trials within a defined workspace, report successes and failures, and trace errors to vision, calibration, motion, or the gripper. Expand the task when you can explain the system's current limits.
ROS 2 becomes useful when you have components to connect. I would introduce it once you can write and debug a small program and understand your sensor and actuator interfaces. Work through the official ROS 2 tutorials, then connect your camera, target estimate, and arm commands. Learn nodes, topics, coordinate transforms, and recording/replaying data as your project needs them. You can begin in simulation on your existing computer.
ROS 2 goal: Trace a sensor measurement through the system to the resulting command, and use recorded data to investigate a failure before adding more components.
For hardware, I would start with your laptop plus one Arduino or ESP32, a breadboard, wires, a multimeter, and a simple sensor. For the motor experiment, add an encoder-equipped motor, a suitable driver, and a power supply matched to it. Keep motor power off the microcontroller's output pins. A Raspberry Pi can come later if the robot needs an onboard Linux computer; your laptop can handle early vision experiments. Buy parts for the next experiment.
For a later book on arms, Modern Robotics by Kevin Lynch and Frank Park has a free preprint and accompanying learning resources. Start it after the mathematical foundations are in place.
At every stage, change something the tutorial did not specify and predict the result before running it. Keep the code, measurements, and a short explanation of what failed. Find a classmate or robotics club to compare results with. A small robot whose behavior you can explain is a substantial achievement.
33
Looking for a real persistent memory setup for Claude (no AI gurus)
u/ThePsyPaul_
in
r/ClaudeAI
•
8d ago
i've been asking claude this exact question since the very beginning, and here's what we built so far:
two words first
level 1: a mistake log
a file called learnings.md. when something goes wrong, claude writes what happened and what the fix was. it doesn't load every session, it's just the record. mine has 58 entries.
paste this to claude:
level 2: a few rules that load every session
when a mistake keeps coming back, turn it into a rule in CLAUDE.md. keep it to a few. i cap mine at 3 and swap one out to add one. i had 12 once and it was too much change at once.
paste this:
the reason matters. without it, a later session "cleans up" the rule because it doesn't know why it's there.
level 3: hooks for things that must never happen again
rules can still get forgotten in a long chat. hooks can't. this is where "enforces it without me babysitting" actually happens.
mine, for example:
paste this:
that last part matters. when i checked my hooks, the ones that looked for words in the text were wrong about half the time.
the loop
mistake → log it → keeps happening? make it a rule → still happening or it's costly? make it a hook
two more that helped
start with level 1 and 2 today. hooks once you know which mistakes are worth it
21
CrowdGPT - A collaboratively trained LLM.
u/fuwafuwa7chi
in
r/LocalLLaMA
•
Oct 27 '26
I will be blunt, since you have previously disregarded well-meaning advice.
You do not have the knowledge or technical experience to develop a project of this magnitude. It is irresponsible of you to promote this publicly. Anyone foolish enough to run a client in their own machine will waste their time and computing resources.
By your own admission, you vibe coded this project. Even then, you didn't do a particularly good job: your client code is a gigantic 3.5 LOC Python file, with hardcoded secrets and configuration parameters, as well as embedded HTML for some reason.
These issues pale in comparison to the most glaring one: your submission validation and aggregation process. Here is a list of the issues I could find:
@). An attacker can submit a delta immediately after registering. Moreover, they can submit the same poisoned deltas as many times as they want, and they will all get rolled into the final model update.X-Forwarded-Forheader to get around this.As a proof-of-concept, I wrote a small script to submit a poisoned result: a carefully crafted delta matrix targeting ten top-of-vocab reserved tokens (151,659 to 151,668); by construction, these tokens do not appear in the training corpus, and the weights associated to them should stay stable across model iterations. This means that if any of said weights change after submitting the poisoned deltas, then it is very likely it was caused by my attack, and not by normal model learning. The higher the number of reserved weights that change, the higher the likelihood my attack was rolled into the model update; having all 15,360 weights (1,536 weights per token * 10 tokens) change is virtually impossible by normal means. For extra certainty, I alternated the delta sign between every pair of tokens (so the first token delta had a positive sign, the second one negative, the third one positive, etc.)
To make the attack even harder to detect, I even took the time to make it look like a real client by waiting for the appropriate time between requests (although this wasn't necessary at all, I could have submitted deltas every millisecond until your server crashed). Here is the metadata of my submission:
I am currently number 11 on the leaderboard, with a trust score of 0.51 (increased from the default value of 0.5). The leaderboard displays the claimed stats.
After the round had finished and the model was updated, I downloaded the updated model and compared it with the previous iteration. The weights associated with all ten tokens changed by exactly the same magnitude: 0.00429. Moreover, they exhibit the previously mentioned striped sign pattern. This is confirmation that my poisoned data was rolled into the model.
You will not be able to solve these problems. Companies have thrown millions of dollars and hundreds of engineers and scientists at it, and they have all failed. Whatever half-baked solution your LLM manages to cook up will not work, for the following reasons:
Server-side validation with a trusted executor has additional problems:
In summary, I'd advise you to stop development, take down the webpage and server (which I'm pretty sure is just your PC behind a CloudFlare tunnel), and ask yourself (or Claude) why you are doing this, and if you really have the skills and expertise to see it to fruition. If not, please close your LLM and try to actually learn: learn to program, learn about machine learning and deep learning, learn about LLMs, learn about cybersecurity, learn about federated training (the paper I linked above is a good addition), and please stop exposing stuff to the internet if you don't understand how it works.
5
5th semester, Tier-3 college, zero coding skills and a 7.3 CGPA. I want to turn my life around. Where do I start?
u/notzodiac3k
in
r/btech
•
7d ago
Yes, pick one path and stick to it because I’ve seen firsthand what trying to do everything at once does to people. I’ve seen a lot of my friends burn out or believe they’ve mastered something (you never truly master anything, btw), yet struggle to debug even basic problems when asked.
For me, although I’m not much of a DSA person, my learning path was HTML/CSS → JavaScript → Tailwind CSS → React with JavaScript → TypeScript → React with TypeScript. Then I moved to backend development, learned about HTTP, REST APIs, Express.js, databases (MySQL, PostgreSQL, and MongoDB), authentication, and deployment. After that, I moved on to Next.js.
These are just the bare minimum. Then comes the fun part: cloud technology. I learned how different AWS services work and earned my AWS Certified Cloud Practitioner and Solutions Architect certifications. I also started learning system design, followed by CI/CD, Jenkins, Terraform, Docker, infrastructure management, monitoring and observability with Prometheus and Grafana, and networking.
I even created my own homelab to experiment with different technologies and learn about caching strategies, message queues, asynchronous processing, scalability, and distributed systems. Simply storing things in Redis isn’t all there is to caching; there are many other techniques, strategies, and trade-offs involved.
A few years back, I also learned Python and FastAPI, although I personally didn’t like them much for larger projects due to performance considerations. That’s more of a personal preference and depends on the project’s requirements.
One more thing: once you learn Express.js and understand how to properly write and structure a backend or frontend application, you’ll start understanding concepts like global error handling, middleware, validation, separation of concerns, and why they are important. Some of these things you’ll have to implement manually, while other frameworks will provide built-in mechanisms that you should know when and how to use.
Focus on understanding concepts rather than simply getting your project to work. Just because your project works doesn’t necessarily mean it’s well-designed, maintainable, scalable, or reliable.
Once you understand the underlying concepts, you’ll start recognizing common patterns across different languages, frameworks, and technologies. The same applies to system design. You’ll gradually understand why certain architectural decisions are made, what problems they solve, and what trade-offs they introduce.
I’m still learning new things every day, and there’s always something new to explore.
What I’m trying to say is, stick to one path and keep building on top of your existing knowledge. Knowledge never goes to waste.
Don’t just learn a technology for the sake of adding it to your resume. Understand why it exists, what problems it solves, how it works under the hood, and what its limitations are.
And trust me, when AI hallucinates—and it will—it’s your brain, debugging skills, understanding of fundamentals, and system design knowledge that will help you solve problems.
P.S. Used AI to fix my grammar :p
Edit- It’s a marathon not a sprint my friend
3
How to get into web pentesting
u/Anonymous_Apexio
in
r/Cybersecurity101
•
8d ago
First, learn your tool; understand in detail how your computer functions (computer hardware). Then, learn how to operate it (system administration and automated processing), including various operating systems (Unix, Linux and its core distributions, Windows, and Windows Server). I recommend learning C, C++, or Rust for low-level programming; Python for rapid prototyping; Bash for scripting on Linux; and PowerShell for scripting on Windows. Following this, familiarize yourself with your device's environment, specifically computer networks; I suggest using Jeremy's IT Labs and his series on CCNA and CCNP. Only after completing these steps would I advise diving into cybersecurity.
If you are serious about learning cybersecurity, use TryHackMe to gain a broad overview, they cover a wide range of topics but turn to other platforms to delve deeper into specific areas:
Use an AI (any will do; DeepSeek, for instance, is free and sufficient for this purpose) to test your theoretical knowledge through open-ended questions on specific subjects, or to generate practical exercises.
As I mentioned before, websites like PortSwigger for web security.
Pwncollege for low-level concepts and exploitation.
Let's Defend and HTB (Hack The Box) for defensive security; HTB is also excellent for offensive security.
BreachLabs for general hacking (think of it as an "on-steroids" version of OverTheWire).
Crackmes.one for cracking and reverse engineering.
RootMe for a variety of security challenges.
Ransomleak for a better understanding of real-world security scenarios.
pwn.guide for specialized guides on vulnerabilities.
Ired.team, arguably one of the best resources for "Red Team" methodology. Hacktricks, arguably one of the best references for penetration testing methodology.
PayloadAllTheThings for anything related to ready-to-go payloads (If you reach that point you'll learn what it means)
VulnHub for setting up and studying vulnerable systems.
Mind maps by this author (a bit dated, but still relevant): https://www.amanhardikar.com/mindmaps.html
Exploit-db, a database of vulnerability proof of concepts and other cool stuff.
For Red and Blue Teaming in specific, any website offering a matrix, such as MITRE ATT&CK, MITRE D3FEND, MITRE ATLAS, InsiderThreatMatrix.com, the MITRE Fight Fraud Framework, the DISARM Framework, PR3TACK, the GenAI matrix from ttps.ai, etc.
Also, read books. If you are serious about your learning, dive into classic cybersecurity texts such as The Art of Hacking, The Hacking Handbook, Hitchhiker's Guide to Online Privacy, Red Team Field Manual (RTFM), Hacking: The Art of Exploitation, The Art of Deception, Practical Malware Analysis, or The Web Application Hacker's Handbook.
Another piece of advice: don’t just mindlessly follow the learning paths on platforms like HackTheBox or TryHackMe. Write up your own reports (writeups) and post them on GitHub, categorizing them by the platform for each challenge you complete (and I don’t mean just simple step-by-step solution guides), you’ll thank me in 4 years.
27
Non-technical COO "discovered" AI coding, generated an entire dashboard in a single HTML file, and now wants me to review and maintain it.
u/boyrok
in
r/sysadmin
•
Sep 22 '26
My response to the COO: I have reviewed the HTML. In my assessment, we should not yet distribute this version as an official management tool to the managers.
My main concern is code maintainability and who will be responsible for it. As it is currently set up—with the presentation, calculations, and Excel handling packed into a single, very hard-to-read code file—I do not consider it feasible to carry out a thorough, reliable human review every time changes are made. Before using it as a daily work tool, we need a comprehensible structure, version control, documentation, and someone with the dedicated time and technical expertise to maintain it.
This means agreeing from the outset on who will troubleshoot issues, review changes, and update libraries. We cannot take on that support indefinitely, nor can we rely on asking an AI for every single modification without being able to verify what changed and whether the outcome is correct.
I had understood that the original idea was to prepare something simple: a static HTML page to showcase a proposal. However, this file now has a different scope—it contains a significant amount of JavaScript and external libraries that read and modify the Excel file. It is effectively a management application, and it requires a development and maintenance structure that reflects that.
I am also concerned about the choice of technologies without having first agreed on how we are going to maintain them. For the applications I develop, I use Python and Flask. If I am going to take ownership of this application, I propose working within that environment, using a structure I can review, test, and maintain. We can still take advantage of the current design and everything learned from the mockup.
Additionally, I have security concerns regarding its creation via AI. We need to review what code and libraries are being introduced, where they come from, and what commands are being executed. If the tool has access to company files, credentials, or data, an incorrect instruction or a compromised dependency could cause problems even before the application is deployed. Working within a LAN does not eliminate those development-process risks.
It is worth establishing this foundation right now to avoid ending up with another hard-to-maintain solution, similar to the issues we are already familiar with regarding certain macro-enabled Excel and Access files. Continuing to expand this file without proper structure will only increase the review workload, our dependency on AI, and the cost of making changes.
To move forward in a way that is straightforward and secure for both of us, I propose that you define the requirements and prepare the prompts and static HTML mockup, while I handle the implementation, testing, and deployment, after agreeing in advance on the scope and time commitment. We can finalize what we need for investment management and determine how we will develop and maintain it before rolling it out to the rest of the managers.
9
COMP2406 Please Read if you are taking it with Mark Lanthier
u/Edivh
in
r/CarletonU
•
Oct 13 '26
In a selfish way im glad to see it's not just me feeling this way, it's a shame as I have really enjoyed my first few weeks coding in HTML and JS, I think the only language I enjoy more is python honestly. But yeah it just feels like there's a large disconnect between the learning objectives of the class and the way in which were instructed to attain them.
I understand that AI makes the lives of teachers a living hell in terms of evaluating wether students learned the course curriculum. However I don't believe that returning to old school written tests where you most of the time end up infodumping your short term memory and then forgetting most if not all of what you were evaluated on right after is not the method I think is best.
One of the big things that got me into CS was how this style of evaluation was never a part of its courses, I personally detest with a passion this style of evaluation in any context but especially for CS. To my understanding computer science like alot of courses wants you to become a better communicator , problem solver and planner (among many other things).
This format of evaluation allows for very little if any opportunity to display skills that are actually relevant in a workplace environment, even an environment post or in tandem with this class. If you pull up to your coop and proudly stroll into your bosses office with code hand written and proof that you did so in 45 minuites I'd love to meet one that woio greet you with a look of utter bewilderment.
There's something funny about being instructed by the course to use VSVode as your text editor but honestly most text editors I use now have similar features where it's constantly and quite accurately giving you the option to press tab to have it autofill the code it thinks you're trying to write out. You're also frequently instructed within the tutorials to copy and paste the code he already writes. This leads to atleast the experience for me being that even by following the instructions as I understand them and not using AI I still end up actually coding very little.
So I find the potential argument of "the written evaluation is important as if you were actually writing the code in the tutorials yourself you'd have had ample opportunity to have memorized the structure and syntax of the language. A language mind you that you were introduced to two weeks ago and any prior knowledge is not a pre requisite for the course as far as I'm aware.
And yeah I completely agree with the time it takes to do the tutorials and assignments, especially soul crushing when j realized that the assignment I put a month's worth of time into is worth half the ammount that one of the tests that you're given at most an hour and a half to do.
I know it's not exclusive to this class but I dislike the decision in any class to make it an automatic course failure if you fail the final exam. Makes everything else you do in the course seem abit less Meaningful as atleast I always have it in the back of my mind that this could all be for nothing if I fail to show up mentally, or physically for 3 hours at 9 am on the 14th of December.
Might just be me being old fashioned but I also really dislike the constant use of AI in the lecture material, tutorials and assignments. Dunno if the written portions of any are, but the inclusion of the pictures alone I just find to be visually unappealing and also just puts the thought in the back of my mind that more could be aswell.
Anyways, that's all to say that I really dislike and disagree with the evaluation breakdown of the course and the formatting of the tests. I think a pretty implementable short term fix would be to allow students to prepare cheat sheets / post ones you allow and let us print them / provide them with the test. Project based portfolios on GitHub or something where you can see the commit history of the project and / or have students explain their code and coding decisions either in writing, recording or to a TA in aab or something.
Might not be feasible due to the number of students in the class but something along those lines I think would evaluate students in a way that prepares them alot better for future classes and the real world after.
1
What’s the story behind Adam’s song?
u/tritian
in
r/Blink182
•
2d ago
Hey. this song came on my random mix in the car and i found this thread from a few years ago. I read a bunch of comments and then got to yours. It has been 2+ years since you posted this comment and I genuinely want to see how you are doing now a days. I hope you are still active on reddit so you can read this and hopefully respond.
I'm a bit older then you, however I am and have been in similar situations in my life and have thought about and wanted a lot of the same things as you have described in your comments here. Life is pretty crappy for me and has been for years, I too am super lonely, have been for a long time, and desperate to find someone to love and to be loved by someone. It is really hard to push through the days most of the time, plus I usually feel like I'm not even worthy of having someone because of what I have to offer, which is not a lot, only have myself to offer. a brief info about my situation, i was a contractor that specialized in bathrooms and kitchens, did every single step from demo to plumbing to electrical to tiles. I took on a second job about 15+ years ago, to deliver auto parts to local mechanics around the middle of long island, a few hours, a couple times a week. my first delivery of my very first day, i get into a head on collision with a van, while driving a small chevy hatchback. amazing luck, right?!?! I broke my back, requiring an extensive lumbar fusion. those few seconds changed my life forever since now I couldn't even do the job i was great at and have been doing it since 13 with my dad. I didn't take great care of my teeth growing up either, and during the crash i had broken a lot of teeth that then started to fall out, or turn into abscesses, making my face balloon out, forcing myself to go to the ER and have a novice dentist try and yank out the problem tooth, and novacane was not effective lol, leaving me with virtually none now. <from experience, between 15hr back surgery/recovery, shingles, kidney stone passing, and tooth abscess extractions, by far the worst pain was the tooth abscess extraction lol, then kidney stone, back, shingles haha> now i'm broke, depressed, and have no teeth, as well as being dependent on heavy pain medicine which i take seriously and have almost never had a problem with in the long time ive been on them, i take that stuff seriously because ive witnessed someone abuse them and know what could happen. in the last few years my weight has dropped down to around 125-135 lbs at my lowest, and im 6'4. i have to try really hard to stay in the 140-low 150s now a days or else i cant even function at all with the world constantly spinning. i'm now in my early 40s, was unfortunately, but very very thankful to be able to move in with my parents, but we have been struggling with the finances the last few years due to the political climate and all that crap. from growing up and living most of my life on long island, to now in middle Florida, the very small amount of friends I had up north virtually faded away when i moved. so yeah, I have nothing to even offer a potential girlfriend or friend, and I have lost most of my confidence to even try to find one. without having teeth as well as being on pain meds makes me look and seem like a crackhead, the stigma is ridiculous! every day, even with pain meds, my pain level is almost constantly a 6/10 that spikes up to 9 if i move or twist the wrong way, or do even light physical labor/movements. before surgery i couldn't lift a gallon of milk without nearly passing out from pain. the fusion I got was the best of the best at the time, done at a high rated hospital in NYC at the HSS by the same orthopedic surgeon that was the surgeon for a bunch of the NY Yankees, he bragged about it to me quite a few times and had yankees merch all over his offices, too bad I'm a mets fan tho haha. but now the tech is so much better/different that most people who had this fusion are/will be suffering for the rest of our lives without additional surgeries. with todays knowledge, my doc down here has wished that they never did it that way, even though it was the correct and best way 15+ish years ago, but its too late for that heh. i also have to try and talk without opening my mouth, and I legitimately can't remember the last time I was able to actually smile. on a lighter note, i think id be a pretty solid ventriloquist heh.
That wasn't even brief like i said it would be, my bad, but here is what i was getting to There are maybe 2 days of every month that i actually feel as decent as I'm able to, and those are the days that I try to put myself out there to maybe find someone, even for a regular platonic friendship or anything. I have subjected myself through some evil and destructive thoughts, wishing that I would not wake up the next mourning, or that I would be diagnosed with a terminal illness, which is very messed up to even think... but here I am, I'm still here, still trying to make it to the next day, trying to think and find reasons to keep going. helping my dad who has been going through some really crappy medical issues, and helping my mom with that stuff and doing anything i can to make their lives easier like cooking meals for us and cleaning the house and taking care of the exterior of the house, ect. are the main things that keep me going day after day.
I see your reddit bio says you are studying Music Technology and are a musician, as well as a game dev. I have been a musician since 3rd grade, I started with an electric bass, then took orchestra from 4th until i graduated high school. and can play all of the standard 4 string orchestra instruments. i also taught myself guitar and drums, and have wanted to learn the piano/keyboard but could never buy one. in the past 10ish years, I have been self learning a few different coding languages as well <mostly LPC code, which is derived from C+/lisp/perl/pike/and some of java and python/lua, plus html and css for websites>, as I have helped make an online multiplayer game, a MUD<multi-user dungeon>. they are really old text based games and ours was pvp heavy and we have had about 250 people who have played it on and off most of our lives, since 1995 lol. each version we make, about 30-50 people play hard, while like 10-15 of their friends casually play. we make a new theme every year or two and wipe to keep it fresh and fun. i passed the reins to a former player 2 years ago and hes a new coder, he means well, but you know what that means, its super ai vibecoded stuff... some interesting ideas and concepts, but a lot of slop haha, and only a few regulars playing. during covid i made a good one and we had a solid 50 players going hard since everyone had extra time, was fun.
Your comments here has definitely resonated with me and a few other people who have replied. I truly hope that you are still active here to see this, and are doing better then when you wrote these out, even if just a little bit, We don't know each other yet, but I will be here if you ever need to talk about anything, at virtually any time, it seems like we have a few common interests too. sometimes just talking or typing shit out can help bring things to the surface that you didn't know you needed to say or do. I sort of feel that right now after typing all of that crap out above. i don't feel much better tbh, but reading back what i wrote might have made me think of stuff a little differently. Don't hesitate, I'll be here any time if you need to randomly chat or vent frustrations or anything. idk what i can do, but if it is possible ill do what I can do to help.
2
lateposting but 12 LPA from t2.5 college!
u/Kindly_Drama_8735
in
r/PlacementsPrep
•
14d ago
What's your tech stack?
3rd sem student here, computer science. I know C, python, mysql, html, css and I was learning java and doing dsa side by side too. But as my exams and end terms are coming so I am focusing on those and now O am feeling lost. And I really wants to get an internship after 2 year. How to apply for internships? What's the process and I heard about the apps like internshala and all people sayd the companies are fake in it, is it true?
7
Absolute beginner trying to learn robotics where should I start? Any courses or project recommendations?
u/RoboticsSavant
in
r/AskRobotics
•
Oct 16 '26
I'm a professor in Robotics at the University of Michigan. Your mechanical engineering studies connect directly to robotics: forces, motion, mechanisms, and design all belong here. As you encounter those subjects, connect them to programming, electronics, and experiments with robots.
We have a battle-tested roadmap in our undergraduate robotics program, and you can borrow its structure for self-study. We teach computational mathematics and programming alongside projects, then build toward sensing, actuation, control, and autonomy. The degree requirements show how those pieces fit together. These courses have been taught to successive groups of students; ROB 101 began in 2020, and ROB 102 has also been taught at partner institutions.
Start with our free online course materials. Depending on the course, these include lecture videos, textbooks, notes, homework, and projects. Public materials are available for independent study, although some assignments, university services, and hardware labs require enrolled access or adaptation.
For your camera-guided arm goal, I would suggest the following topic order. Your starting point depends on what you can already do independently in programming, mathematics, and electronics. Try the goals below to identify what needs work, and build on subjects you already understand. Use demonstrated understanding to decide when to move on.
Make programming and mathematics useful together. Work through ROB 101: Computational Linear Algebra and selected ROB 102 / Hello, Robot! lessons. Vectors, matrices, coordinate systems, and least squares will keep appearing in robotics. ROB 102 introduces programming through feedback, navigation, and planning, beginning with C++. Keep using Python for your own experiments; ROB 101 uses Julia, which you can learn through its supplied examples. Start with a small project: collect or simulate sensor measurements, plot them, and fit a calibration curve. Check its accuracy on new measurements. Learn basic Git as you go.
Goal before moving on: Write and debug the calibration program, explain the matrix equation it solves, and show whether the calibration improves accuracy on measurements you did not use to fit it. Adapt the program to a changed input without following a solution line by line.
Understand one actuator and close a feedback loop. Use ROB 201: Calculus for the Modern Engineer to connect calculus to differential equations, simulation, and feedback. Use your existing ME coursework where it already provides that understanding. Selected ROB 311: How to Build Robots and Make Them Move lectures cover motors, drivers, mechanical modeling, and control. Simulate a motor, then measure and control the speed of a small motor with an encoder. Plot the target and measured speed. Change the load and explain what happens. The full ROB 311 ballbot build needs particular equipment; a motor experiment is a manageable adaptation.
Goal before moving on: Explain how the input affects motion, compare a model's prediction with a measured response, and demonstrate how feedback responds to a load change. Identify a limitation, such as the motor's available torque. You can establish the modeling and control ideas in simulation, then test them on hardware when available.
Build an arm whose motion you can predict. Begin with a two-link arm in simulation. Compute where its tip goes from its joint angles, then solve the reverse problem: which angles reach a requested point? Michigan's AutoRob materials cover forward and inverse kinematics and motion planning; approach them once your programming and linear algebra are comfortable. Build a lightweight version that reaches marked points or moves a pen. Measure endpoint error and repeatability. Add a gripper and vertical motion as later steps. This gives your ME skills an immediate role in stiffness, torque requirements, and backlash.
Goal before moving on: Reach several specified points, recognize targets outside the arm's workspace, and explain the difference between predicted and actual tip position. For a physical arm, check its position with an independent measurement and report how consistently it returns to the same target.
Add perception and integrate the system. Start with a fixed camera and colored blocks or markers on a flat surface. Learn camera calibration and how an image location becomes a location in the robot's coordinates. First demonstrate reliable reaching, then picking and placing under controlled conditions. Learn basic probability and measurement uncertainty alongside this.
Goal before adding more general object recognition: Complete repeated pick-and-place trials within a defined workspace, report successes and failures, and trace errors to vision, calibration, motion, or the gripper. Expand the task when you can explain the system's current limits.
ROS 2 becomes useful when you have components to connect. I would introduce it once you can write and debug a small program and understand your sensor and actuator interfaces. Work through the official ROS 2 tutorials, then connect your camera, target estimate, and arm commands. Learn nodes, topics, coordinate transforms, and recording/replaying data as your project needs them. You can begin in simulation on your existing computer.
ROS 2 goal: Trace a sensor measurement through the system to the resulting command, and use recorded data to investigate a failure before adding more components.
For hardware, I would start with your laptop plus one Arduino or ESP32, a breadboard, wires, a multimeter, and a simple sensor. For the motor experiment, add an encoder-equipped motor, a suitable driver, and a power supply matched to it. Keep motor power off the microcontroller's output pins. A Raspberry Pi can come later if the robot needs an onboard Linux computer; your laptop can handle early vision experiments. Buy parts for the next experiment.
For a later book on arms, Modern Robotics by Kevin Lynch and Frank Park has a free preprint and accompanying learning resources. Start it after the mathematical foundations are in place.
At every stage, change something the tutorial did not specify and predict the result before running it. Keep the code, measurements, and a short explanation of what failed. Find a classmate or robotics club to compare results with. A small robot whose behavior you can explain is a substantial achievement.
0
This guy was super salty about this shotgun blast.
u/Mixedjellyaddict
in
r/WarDogs
•
7d ago
BUILD IT WITH CLAUDE - copy everything between the two lines into Claude
=========================================================================
Two ways to use this:
A) EASIEST - change the ready-made tracker: start a chat, upload
WardogsCashTracker.zip, paste the prompt below, then say what you want
changed (new rank names, colours, another overlay...).
B) BUILD YOUR OWN from scratch: paste the prompt below on its own. Claude
will ask you for short screen recordings of your own game to learn from.
Use a Claude that can run code and create files (claude.ai with code
execution / file creation turned on, or Claude Code). Build it in stages;
long builds can take several messages - just say "continue".
-------------------------------------------------------------------------
I want you to build (or, if I uploaded WardogsCashTracker.zip, extend) a
free stream tracker for the game WARDOGS. I'm not a coder: give me
plug-and-play files and simple instructions, but make the code clean, safe
and stable. Work like a lead developer with a QA team: test everything you
build against real footage and tell me honestly what you could and couldn't
verify.
WHAT IT DOES
Reads my screen (pixels only, like OBS) while I play and shows stream
overlays in OBS / Streamlabs:
(green up / red down), my current cash, a step chart that goes green
when money rises and red when it drops (profit area green, loss area
red, one dashed $0 line), and my last 3 changes as +/- pills.
kills / deaths / assists. Optional joke line with ?roast=1.
Ranks: 0 kills with deaths = "Meat for the Grinder" (playful roast);
under 1.00 = "Weenie Dog"; 1.00-1.49 = "My Dog"; 1.50-2.99 = "Top Dog";
3.00+ = "Wardog"; nothing yet = "Unranked". With 0 deaths K/D = kills.
Use whole-number maths for the cut-offs and cut (don't round) the shown
K/D to 2 decimals. Session K/D sets this rank.
(I tap my current role), each role in its own fixed colour, bars that
grow left for losses and right for profits, time played and $/hour.
Breaks over 15 min count as 15 min.
rank from season K/D, how often I pick each team (Lonestar, Valkyra,
Manticore) as count + %, and wins / losses / win % per team.
Plus a CONTROL PANEL web page: auto-read on/off, which cash number to track
(left/right) and which monitor, role buttons, team buttons, Won/Lost,
-/+ fixes for kills/deaths/assists, role-profit table, overlay previews at
real size, OBS URLs with Copy buttons, callsign and season settings.
LOOK
Military "contractor" style that matches WARDOGS: dark olive-black plates,
sand-coloured corner brackets, a stencil tab header, condensed bold
numbers. Bundle open-licence (OFL) fonts locally; no web fonts, no game
logos or game art. Readability rules (learned the hard way): every display
is designed for its real on-stream size and shown at 100%; no text under
13px; few items per box; numbers are the biggest thing. Long names must fit
(shrink, then wrap to two lines).
HOW TO BUILD IT
Python 3 standard library web server on 127.0.0.1 only (port 8765) +
numpy, pillow, mss. Overlays are plain HTML/JS pages that fetch
/api/stats every 2 s. A "Start Tracker.bat" that finds Python, installs
requirements once, and starts the server. A plain-English
"READ ME FIRST.txt" with setup, Streamlabs/OBS steps and sizes.
Security: allow only Host localhost/127.0.0.1:8765, check Origin on
POSTs, require exact application/json, whitelist served files, cap
request size, validate every input type strictly.
Data: append-only JSONL logs (cash, combat, team picks) written the
moment something happens; settings saved atomically (temp file +
replace, retry on Windows PermissionError) with a .bak copy; repair a
damaged last log line on start; new session automatically after 3 h.
READING THE CASH (top-right HUD, two numbers, e.g. "$58,239 $72,186")
Don't use Tesseract/OCR - it's poor on this HUD font. Use template
matching of the game's own digit glyphs ($ 0-9 , -) built from my footage.
Capture only the top-right corner (about 480x56 at 1080p, scaled by
screen height). Find the text line, split characters, classify each.
Accept only an exact "$1,234" pattern (minus sign allowed in front -
match cash can go NEGATIVE, e.g. "-$1,970"). Reject anything unclear;
never guess. Ignore background clutter left of the "$", reject numbers
cut off by the capture edge and comma-first fragments.
Confirm a new value after 2 identical reads. The two HUD numbers move by
the same amount, so if their gap changes or the jump is huge, wait for
8 identical reads over 7+ s, counting reads from the last 60 s (reads
only succeed ~45% of the time, so a short window can stall for minutes).
If the gap only works out with the opposite sign on the left number, a
minus sign was missed - flip it.
Train templates from frames whose true values you know (label them from
the recording's timeline, not from your own reader's output), with
slight blur/shift augmentation.
READING COMBAT
Kill vs assist: both show the same skull banner under the crosshair;
find the skull, then classify the words "KILL CONFIRMED" vs
"KILL ASSIST". In vehicles/turrets the banner is ~1.3x bigger - search
several scales. Count once per banner after 2 positive looks; reset
after 3 negative looks.
Death: the "RESPAWNING IN" text (multi-scale). Downed/revived is not a
death.
Match end: "VICTORY" title = win; "<TEAM> WINS" compared with my team.
Never overwrite a result I tapped myself; if I forgot to tap a team, a
win records the winning team.
Use FFT-based normalised cross-correlation so CPU stays low (aim for
under ~7% CPU and ~60 MB RAM).
WINDOWS GOTCHAS
mss on Windows fails (ScreenShotError / GDI DeleteObject) when one mss
instance grabs regions of different sizes: keep one mss instance per
capture size, and fall back to PIL.ImageGrab after repeated failures.
Print the full error text so it can be diagnosed.
WHAT I'LL GIVE YOU (ask me for these before training anything)
At 1080p, recorded straight from the game (no overlays on top):
TESTING (do this before you hand anything over)
Replay my clips through the real tracker code and show me what it
logged versus what actually happened (every cash change, kill, assist,
death, result).
Screenshot every overlay at its real size with sample data, in every
rank state and with very large and negative numbers, and check nothing
overlaps or gets cut off.
DELIVER
One zip with all files, READ ME FIRST.txt, a short HOW IT WORKS.txt for
other builders, and an "ABOUT: fan-made, not affiliated with the WARDOGS
developers" note. Then give me the steps to run it and add each overlay to
Streamlabs, one step at a time.
-------------------------------------------------------------------------
This is the prompt to make it
Throw this bad boy into your Claude or ai and you should receive the same result.