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've lost count of how many "I've learned how to code in Python and I still don't know how to create anything" posts I've seen.
And learning just barely enough to build something is not the same as understanding how to design the data architecture correctly. How to design to have a minimal attack surface. How to make your code robust.
You can "learn to code" and know how to solve Leetcode, or you can "learn to code" and know how to wire fields in HTML to a form, and those are only the first steps toward becoming a software engineer. Learning to code is the gateway, and the hard part is everything that comes after.
More to the point, I'm still a strong software engineer despite the fact that AI is writing most of my code. Code was only ever an expression of what I wanted to create, and being fluent in code makes it easier to read what the AI creates, but knowing exactly what the overarching goal should be is far more important than typing out a for loop by hand.
Put it this way: I was never the fastest developer on a team because of my typing speed. I was the fastest because I'd write out the exact code we needed the first time where other developers would make mistakes and miss bugs and not quite handle all the cases. All of us were coding. I knew exactly what to write and they didn't though.
I'd argue that it's worse: That most developers today barely understand what they're doing and achieve almost all of their results through trial and error. They are still coding. They're getting the syntax right. But they are just meandering toward a destination rather than taking a direct path, and their resulting code shows their lack of understanding of that path.
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.
I started playing around with code in the 1990s or around 2000 as a kid. BASIC, Visual Basic, HTML, tiny bit of JavaScript. mIRC script.
As an adult, I stayed mostly away from coding except HTML/PHP for my own website, an may have picked up a contract or three doing other websites. Had no real practical use for anything else coding until my next employer started wanting us to turn everything into PowerShell scripts.
After that I learned C# watching a boring, unalgorithmic C# engineer recreate a classic arcade game, then went line by line and made sure I understood the concepts being taught.
I did NOT start with ez-pz how-to in Unity videos that barely scratch the surface of code, most of them just telling you what to write.
I've found it much easier to learn when I have a purpose already in mind. On the other hand I've probably "started learning Python" 3x in my life, and never got out of the early tutorials, bc personally I have no use case for it. Having something to build (like a game) turns on the light bulbs in my head and I can start grasping & retaining concepts a lot better.
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.
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?
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.
33
Looking for a real persistent memory setup for Claude (no AI gurus)
u/ThePsyPaul_
in
r/ClaudeAI
•
14d 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
4
Unpopular opinion: (good)Senior software engineers will be in reasonable demand
u/TimMensch
in
r/cscareerquestions
•
1d ago
No, it really isn't.
I've lost count of how many "I've learned how to code in Python and I still don't know how to create anything" posts I've seen.
And learning just barely enough to build something is not the same as understanding how to design the data architecture correctly. How to design to have a minimal attack surface. How to make your code robust.
You can "learn to code" and know how to solve Leetcode, or you can "learn to code" and know how to wire fields in HTML to a form, and those are only the first steps toward becoming a software engineer. Learning to code is the gateway, and the hard part is everything that comes after.
More to the point, I'm still a strong software engineer despite the fact that AI is writing most of my code. Code was only ever an expression of what I wanted to create, and being fluent in code makes it easier to read what the AI creates, but knowing exactly what the overarching goal should be is far more important than typing out a for loop by hand.
Put it this way: I was never the fastest developer on a team because of my typing speed. I was the fastest because I'd write out the exact code we needed the first time where other developers would make mistakes and miss bugs and not quite handle all the cases. All of us were coding. I knew exactly what to write and they didn't though.
I'd argue that it's worse: That most developers today barely understand what they're doing and achieve almost all of their results through trial and error. They are still coding. They're getting the syntax right. But they are just meandering toward a destination rather than taking a direct path, and their resulting code shows their lack of understanding of that path.
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
•
13d 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
•
13d 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.
1
How did you learn to code?
u/FoaRyan
in
r/unity
•
5d ago
I started playing around with code in the 1990s or around 2000 as a kid. BASIC, Visual Basic, HTML, tiny bit of JavaScript. mIRC script.
As an adult, I stayed mostly away from coding except HTML/PHP for my own website, an may have picked up a contract or three doing other websites. Had no real practical use for anything else coding until my next employer started wanting us to turn everything into PowerShell scripts.
After that I learned C# watching a boring, unalgorithmic C# engineer recreate a classic arcade game, then went line by line and made sure I understood the concepts being taught.
I did NOT start with ez-pz how-to in Unity videos that barely scratch the surface of code, most of them just telling you what to write.
I've found it much easier to learn when I have a purpose already in mind. On the other hand I've probably "started learning Python" 3x in my life, and never got out of the early tutorials, bc personally I have no use case for it. Having something to build (like a game) turns on the light bulbs in my head and I can start grasping & retaining concepts a lot better.
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.
1
What’s the story behind Adam’s song?
u/tritian
in
r/Blink182
•
7d 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
•
19d 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?
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.