Intro
A new IDE called Cursor has come out.
Cursor is something like a (half-)sibling of VS Code. It's built on the same open source, Code – OSS (Open Source Software).
The difference is that VS Code uses Code Builder integrated with AWS, while Cursor uses ChatGPT.
For reference, GitHub is owned by MS, and MS is the major shareholder of ChatGPT.
Usage example
VS Code also has many ChatGPT extensions. The experience isn't bad, either. The thing is, it has an interface that sits between snippets and ChatGPT. Cursor, on the other hand, is just a ChatGPT-based interface from the start.
If you install the IDE, you'll see — it has the same interface as VS Code, with a ChatGPT interface area on the right side.
The example above is functionality that uses the multiprocessing module to spawn multiple processes and generate pseudo-random numbers.
The generate_random_number function uses the system time to generate a pseudo-random number, and by adding the unique ID of each process, it produces and outputs 10 different random numbers. It was first provided as a JavaScript example, and then I was able to convert this code into Rust through ChatGPT.
In the process, for the very first time in my life, I installed Rust, set the dependencies in cargo.toml, and was able to build and run the project.
And then,, coding tests
cursor IDE coding test01 - https://normalstory.tistory.com/m/entry/cursor-IDE-coding-test01
cursor IDE coding test01
Building a simple HTML page that uses an open API to show today's weather. 1. Create an HTML file. 2. Press html-Enter to scaffold the basic frame. 3. Select a section inside the body with the mouse and click Add to Chat
normalstory.tistory.com
cursor IDE coding test02 - https://normalstory.tistory.com/entry/cursor-IDE-coding-test02
cursor IDE_coding test 02 - Solid protocol
Prompt: @https://solidproject.org/TR/protocol Using HTML and JavaScript, 1) when the login button is clicked, implement the login flow using the Solid protocol. 2) However, communication errors between the login popup and the main window
normalstory.tistory.com
