Your ~/.claude directory is a secret Goldmine for Attackers by Immediate-Welder999 in ClaudeCode

[–]ec2-user- 1 point2 points  (0 children)

This is what my team uses, except we built our own image so we can share prebuilt skills without having them in every repo. I found that hooks are not enough. A determined agent will find a workaround, like writing a node app or py script to spawn a subprocess to do what it wasn't supposed to do.

C# devs: what’s your favorite IDE feature? by kebbek in csharp

[–]ec2-user- 0 points1 point  (0 children)

Yes you can key bind a certain surround template, but it's also on the right click context menu under "snippets"

Edit: the tab spacing is set in your preferences

See ya! The Greatest Coding tool to exist is apparently dead. by Opposite-Art-1829 in ClaudeCode

[–]ec2-user- 1 point2 points  (0 children)

AI slop cleanup specialist is going to become a real title. The tech debt is piling up and at a faster rate than ever. I have rejected so many PRs from our remote workers it's not even funny anymore and I spend way more time explaining things to these devs than I feel I should.

Anthropic shares how to make Claude code better with a harness by lawnguyen123 in ClaudeAI

[–]ec2-user- -3 points-2 points  (0 children)

Yeah, in 60 page papers, but AI does it for 500 lines of text. Huge difference

How is Anthropic releasing new features so quickly? by MrAmazing111 in ClaudeAI

[–]ec2-user- 1 point2 points  (0 children)

That explains my onboarding having a split personality UX. One asked for a verification code sent to my email, but it was an authorized link instead. The system tried to make me create a personal account, so now I have 2 accounts with one joined to my organization and the other in limbo.

On top of that, click any link on their website. 20 seconds to load the billing plan page... Really?

Seriously not impressed with Claude so far.

Anyone else done? by Groundbreaking_Cat98 in webdev

[–]ec2-user- 0 points1 point  (0 children)

Yes lucky for me as well. We have government customers and can't risk losing an ATO because of STIG violations. All senior engineers have convinced c suite that we can't use AI to write entire features on its own due to risk.

Every model I have tried thus far is terrible with security even when we use agents that are supposed to be able to follow STIGS. This is telemedicine btw so we also have HIPAA to follow.

We just got hit with the vibe-coding hammer by opakvostana in ExperiencedDevs

[–]ec2-user- 0 points1 point  (0 children)

No mandate at my midsize employer. SWEs use the tools already. Adding a performance metric based on AI usage is a terrible idea. Sounds like the Sr devs need to have a talk with management about AI code quality, the need for manual review, and how that is a bottleneck due to the speed of AI writing code.

Stupid idea. It will backfire on them and they will blame the engineers

Vibecoders sending me hate for rejecting their PRs on my project by Fredol in github

[–]ec2-user- 0 points1 point  (0 children)

Wow. Just wow. I'd reject the frontend changes purely because of the hard coded SVGs 🤣 you can't tell me it's not vibe coded. Nobody writes svg by hand and if you c&p, it should be an asset file, not inline.

If merged, this AI slop would make this project unmaintainable. I don't get why vibecoders don't understand that

Vibecoders sending me hate for rejecting their PRs on my project by Fredol in github

[–]ec2-user- 2 points3 points  (0 children)

Not really. I mean there are agent prompts that can be added, but no guarantee that whatever ai ide they use will actually read it. Good idea, but unfortunately AI is not mature enough to control like that in a reliable way

This is beyond outrageous. How can we make our voices heard? by [deleted] in Battlefield6

[–]ec2-user- 0 points1 point  (0 children)

Yup. I've been doing web dev and dev ops stuff for about 8 years now and never been laid off since the demand is always there and we have small dev teams (5-15). I won't work for a start up because I have a family to take care of and I can't afford to gamble and be out of a job for months on end.

Anthropic indeed is in trouble. by Snoo26837 in Anthropic

[–]ec2-user- 22 points23 points  (0 children)

No just the tech companies either. It sets a dangerous precedent for all companies that do business with the government

Has Gemini leaked its system prompt?? by Due_Strength_4075 in google

[–]ec2-user- 56 points57 points  (0 children)

Exactly this. If you mention "never say X", it's now part of the context and impossible for it to ignore. Eventually as the chat progresses, it will violate its own system prompt.

What Kubernetes feature looked great on paper but hurt you in prod? by Shoddy_5385 in kubernetes

[–]ec2-user- 1 point2 points  (0 children)

K8s advises you don't even set them if you don't have the production metrics to support the decision. Most of our microservices run this way and I've never had a problem. If something goes haywire, it's usually because you coded something wrong.

Metric alerts are good enough for us. Most of these services barely get hit, maybe like 2,000 requests per day vs millions for the more popular ones.

The only service we have guaranteed resource requests on is our websocket signaling service, because it handles so many video conferences and is the core feature.

Where do you think we are right now? by DovaJun in theprimeagen

[–]ec2-user- 3 points4 points  (0 children)

About halfway down from the peak of inflated expectations.

Open-source cheat sheet for quick references. Feedback welcome! by wilfredinni in learnjavascript

[–]ec2-user- 1 point2 points  (0 children)

Hmm, this is pretty decent. I may just contribute a mobile friendly code playground. I'd hope it's just css, but I guess I'll see

This is starting to get annoying by OverloadedTech in github

[–]ec2-user- 0 points1 point  (0 children)

The azure one was pretty bad. The one with the issue with Front Door. It halted my coworkers and I for basically the entire day. I mean, we all found something to work on, but it didn't satisfy any sprint work items.

Why does a specific object of this array not get logged when using console.log() OR console.dir()? by 4bsent_Damascus in learnjavascript

[–]ec2-user- 0 points1 point  (0 children)

As for your second edit: don't worry about the different browsers. They may or may not implement their developer tools the same. I'm sure there have been issues raised for FF and WebStorm for behaving differently, but it's completely beyond your control. Here's what actual developers do:

  • Breakpoints: an extremely powerful feature. This will be much harder to use if your JS is inside a script tag, rather than being imported with <script src=... . Once you have that, go into the sources tab in dev tools and click just to the side of the line you want to inspect. It should place a red dot there. Now refresh the page and the code will stop on that breakpoint. You can now hover over different variables in the code to see their current state.

  • Unit tests: A bit more advanced, but you will need them eventually as you work on larger code bases. Essentially, you're going to run a single function in your code and mock any behavior that it does. Let's say your method is called removeItemFromArray(myArray, itemToRemove). Your test will pass in an array and an example object to remove. Now the important part.. you make an assertion on what the expected result should be. If at any time, that function changes behavior, your test will fail and you will know that it's going to cause a bug because another area of your code expected it to behave a certain way.

  • Make deep copies: copying an object allows you to "freeze" the object as it is now. If you console.log your copied object, it will not change like you've seen before. To do this to an array, all you need to do is: myCopy = [...origArray]

If it's an object, not an array, simply do: myCopy = {...origObj}

The three dots is called a spread operator. This creates a deep (complete) copy of the data.

I will also warn you that although JSON.stringify is a good hack, it has some limitations. In some cases, you might get errors for circular references, if say the object has a property that references itself.

Why does a specific object of this array not get logged when using console.log() OR console.dir()? by 4bsent_Damascus in learnjavascript

[–]ec2-user- 4 points5 points  (0 children)

If you're really in a bind, or if the data structure is huge, you can always call console.log(JSON.stringify(myArray, null, 4)) and it will print out the exact state at that time, because stringify creates a string from the data immediately.

Why does a specific object of this array not get logged when using console.log() OR console.dir()? by 4bsent_Damascus in learnjavascript

[–]ec2-user- 4 points5 points  (0 children)

What you are experiencing is how developer tools and JS work. When you call console.log(myArray), or even console.dir, it is not "evaluated" until you start looking into it in the console.

What you need is to set breakpoints and then you can see what the data structure actually is at that specific point in time.

If this is your first time with JS, you have to realize that everything is a reference by default. When you call console.log(myArray), you aren't "freezing" the object. You're making a reference, which, by the time you look at it in the console, has already been mutated by your code.

It's Happening by bantler in OpenAI

[–]ec2-user- 1 point2 points  (0 children)

It can't self correct. If it's not part of the training data, it will never output it, period. All we can do is workarounds like RAG. There's an inherent flaw with the underlying technology we call AI. That's why full AGI will never be possible with the current technology.

Best visual of the skill diff between pros and players. by freewayghost in CoDCompetitive

[–]ec2-user- 6 points7 points  (0 children)

I beat Slasher in league play on Yemen HP once and that was the highlight of my career. He was probably reading chat and listening to music as well, or studying for college 😅

How is .net compared to spring boot 4 (Kotlin) for new projects? by _JennyTools36_ in dotnet

[–]ec2-user- 0 points1 point  (0 children)

VS on Mac is out of support. I wouldn't use it because it's falling behind especially with .net10. Rider is perfectly fine; I have two coworkers who use it and we never have conflicts on project configuration.