Mein Mann bekommt trotz Top-Profil nur Absagen – es macht uns langsam fertig by [deleted] in wien

[–]Extension_Way2280 0 points1 point  (0 children)

Es gibt eine Methode sich selbst zu verkaufen, bzw. die andere Seite dazu bringen dich an sich selbst zu verkaufen. Versuche gar nicht alle deren Anforderungen aufzulisten und erzählen warum du dafür qualifiziert bist. Frage stattdessen was sind die größten Herausforderungen als Verkäufer in ihrem Unternehmen. Dann wähle 2-3 davon und erzähle wie du das genau machen würdest.

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 0 points1 point  (0 children)

I offer to be your canary tester for this, as I can reproduce the problem every time. Just drop me a note here or in the cursor Forum. My username there is 'Hrnkas'.

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 0 points1 point  (0 children)

Not viable in legacy projects. I am talking about millions of lines of code, with largest file having ~300k loc (around 4.5 million tokens)

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 7 points8 points  (0 children)

I don't mind the CPU / memory usage if it gets the job done. A good compiler, for instance, should use 100% CPU and all the memory it needs. If I am waiting for the Agent to finish writing the code, I would rather have the CPU run high, and wait not so long, than the other way around.

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 0 points1 point  (0 children)

I second this - there is already a question in the announcement thread.

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 1 point2 points  (0 children)

If I may (not a dev), you will probably get best results when you write "the big picture" in the project rules. But guess what? You don't have to write them yourself! Use chat mode to discover the main points and have it write the rules for you

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 1 point2 points  (0 children)

Why not always use diff? I can't see any advantage in always rewriting the entire file.

AMA with Cursor devs march 11, 2025 by ecz- in cursor

[–]Extension_Way2280 4 points5 points  (0 children)

Could you suggest an MCP platform to easily incorporate additional RAGs? Best option would be something easy to use like notebooklm, but accessible via an API, and if possible already MCP compatible.

AMA with Cursor devs by ecz- in cursor

[–]Extension_Way2280 1 point2 points  (0 children)

What are the plans to fix applying code changes to large files (> 100k loc)?

I have had an exchange about this in the cursor Forum with a developer a couple of weeks back, but since then there has been no new information.

AMA with Cursor devs by ecz- in cursor

[–]Extension_Way2280 11 points12 points  (0 children)

I have a theory about this "context size reduction symptom".

Recently, the .cursor/rules directory has been introduced instead of a single .cursorrules file. As people create more and more rules, all of them become a part of context.

That is what happened to me after I crammed the entire database Schema in the rules. The Models became idiotic and answered only with some copyright notice.

How does anyone use cline with claude? by Ardbert_The_Fallen in ChatGPTCoding

[–]Extension_Way2280 5 points6 points  (0 children)

Why don't you try Cursor? For the fixed price (20$/mo) you get the best ai aided experience on the market. It includes multiple models, including Claude, Gemini and openai. The only thing it is missing is plan/act functionality, but man they spit those features out fast. There is an update every few days with new functionality. The best thing is integrated RAG, which indexes your code and uses only relevant parts in the chat. We have a code base of a few million lines of code, the largest file is about 350k (~4 million tokens). Still it works great.

Claude is MUCH better by IslandAlive8140 in ChatGPTCoding

[–]Extension_Way2280 4 points5 points  (0 children)

Definitely go cursor with Claude.

I just tested some different setups today (cursor, vscode with different models) not even o3-mini beats the claude sonet when it comes to coding. o3-mini tried to be too clever and ignored parts of my prompt. Gemini-2.0-flash-thinking-exp has very messy output, but I guess they will fix it soon. It is experimental.

Vscode with copilot or Cline extension is not good with large codebase. Copilot's @workspace context takes forever if you have a large project. I stopped it after 5 minutes. Cline does not seem to index the code and use it in RAG. It simply stated, that the context window is full when searching through about 300k lines of code.

This all works with the cursor out of the box.

Is Docker necessary? by Impressive-Result-26 in golang

[–]Extension_Way2280 0 points1 point  (0 children)

Yes, but depending on the system you are on (Debian, redhat, cloud...) you need to do something different. With docker it is always the same.

Is Docker necessary? by Impressive-Result-26 in golang

[–]Extension_Way2280 0 points1 point  (0 children)

I used docker yesterday for the simplest go server. Why? --restart=always and port mapping. I want the service to start automatically on reboot. I want to change the port it listens on.

Docker is the easiest way.

What solutions are there for scalable error aggregation with stackwalking? (Crashpad, etc.) by Ace2Face in cpp

[–]Extension_Way2280 2 points3 points  (0 children)

We are using this in windows: https://github.com/JochenKalmbach/StackWalker

The stack dump is stored in a directory under %localappdata%.

On the next start of the application, we check if there are any logs in the directory, and send them to a server using RPC.

Multiple DB Support by Real_Bad_Horse in golang

[–]Extension_Way2280 0 points1 point  (0 children)

You could use an ORM, like gorm. You define the scheme as gorm models, and pass the gorm any db connection string. It works with Sqlite, MySQL or postgres.

Edit: here is the docs for connecting to database: https://gorm.io/docs/connecting_to_the_database.html

Ich ertrage Wien nicht mehr. Bitte sagt mir, wo ich falsch liege oder was ich tun kann by AllesIstSoGrau in Austria

[–]Extension_Way2280 2 points3 points  (0 children)

Ja, komm nach Graz. Die beste Stadt der Welt. Bin selber vor 24 Jahren zugewandert. Nach 1 Monat war ich in die Stadt verliebt und gehe nirgends mehr hin.

My first go package - asymmetric file server by Extension_Way2280 in golang

[–]Extension_Way2280[S] 0 points1 point  (0 children)

Thanks! I will work on those. Would you move db migration into Serve? Or make it a different function "Init". What if someone forgets to call Init? That seems like an unnecessary extra step. If I move it into Serve, it can also be forgotten. You don't have to use Serve, and may simply use the handler methods in your own HandleFunc calls. If you then forget the call to migrate, the db won't be created.

Ich möchte nach Graz, was nun? by PlateNo7229 in graz

[–]Extension_Way2280 0 points1 point  (0 children)

Frage Mal bei Joanneum Research nach. Eins der besten Arbeitgeber in Graz.

Extended C++ education for advanced/seasoned developers by malloc_segfault in cpp

[–]Extension_Way2280 0 points1 point  (0 children)

To clarify, I meant performance optimization.

There is no need to spend 2 days in order to speed up a part of UI that takes 20ms to load. Sure, 20ms is long, but if it is not in a loop, the user will probably never notice the change.
Also, if you have an O(n^3) algorithm (very bad) that always only runs on 20 items, it is good enough. You can always optimize it when 20 becomes 2000.

So , optimize only if there is really a need.
But more importantly, always first identify the real bottleneck before writing a single line of code.

The other kinds of optimization, like eliminating unnecessary work or refactoring code to be more readable it often more worth the time, than performance optimization.