Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Submission + - New methodology for using LLMs to modify code files using ASTs. (github.com)

mmiscool writes: aiCoder is a software tool designed to address the challenges associated with integrating AI-generated JavaScript code into existing projects. Traditional line-based code merging techniques often result in conflicts, overwrites, and loss of functionality due to their inability to account for the structural and logical relationships within the codebase. By employing Abstract Syntax Tree (AST) analysis, aiCoder enables code modifications to be performed at a syntactic level. This approach ensures that the integration of new code snippets preserves the original structure and functionality of the codebase, minimizing disruption and reducing the risk of errors.

The use of ASTs allows aiCoder to parse the codebase into a hierarchical tree structure, representing its syntax and logical relationships. Modifications are applied by traversing this tree and performing targeted edits at the appropriate nodes. This methodology ensures that new code is inserted or replaced in a manner consistent with the original code's context. Additionally, the preservation of comments and other non-functional elements is a core feature of the tool, maintaining the clarity and readability of the codebase throughout the integration process.

aiCoder provides a systematic solution to the problem of integrating AI-generated code into software projects. By automating the merging process and ensuring syntactic and contextual accuracy, the tool reduces manual intervention and the likelihood of introducing errors. This functionality is particularly beneficial in collaborative development environments where multiple contributors and frequent updates can increase the complexity of code management. aiCoder represents a practical application of AST-based methodologies to enhance the reliability and efficiency of modern software development workflows.

Comment No ubuntu or debian support (Score 1) 29

hmmmmmmmmmmm. Flathub: dev.zed.Zed Arch: zed Arch (AUR): zed-git, zed-preview, zed-preview-bin Alpine: zed (aarch64) (x86_64) Nix: zed-editor (unstable) Fedora/Ultramarine (Terra): zed, zed-preview, zed-nightly Solus: zed Parabola: zed Manjaro: zed ALT Linux (Sisyphus): zed AOSC OS: zed openSUSE Tumbleweed: zed

Comment This guy was verry cool and friendly (Score 4, Interesting) 16

I reached out and was able to track him down a few years ago and got him to record a few lines. He recorded "You've got toast" and "You've got charcoal" for me. The toaster project never went anywhere but here are the wav files. https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fdrive.google.com%2Fdrive...

Submission + - Terminator is here. 3D printers can print parts with out human intervention.

mmiscool writes: 3d printing has always held great promises for putting a factory on your desk. Until this point there has been a problem with running 3d printers continuously. They require human interaction to scrape the 3d printed object off the print bed.
The next step in 3d printing has started. Autopdrop3d is an open source system that solves the problem of needing a human to remove a 3d print from its print bed. Implemented as an open source hardware and software system it allows for web based, multi user print queue ( https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fyoutu.be%2FNrBJSemYO7k ), automatic notifications, and web based cad design tools ( https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fyoutu.be%2FB7PJGwByXzg ) to all be integrated in one open source system.

There is a video ( https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fyoutu.be%2FoFxgBpFyO_k ) that shows the hardware in operation and a lin to the web site ( http://autodrop3d.com/ )with git repository for the software and hardware components.

Slashdot Top Deals

"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini

Working...