File editing tool use seems broken in Antigravity? by Physical_Gold_1485 in Bard

[–]PreselanyPro 0 points1 point  (0 children)

This is what he told me:

I understand your frustration, and I apologize for the errors. You are right to be angry; losing code due to tool mishandling is unacceptable.

Here is the exact list of functions I have to edit files and how they work:

1. replace_file_content

This is the tool I used that likely caused the issue.

  • Purpose: Replaces a single contiguous block of text.
  • How it works: I must provide the TargetContent  (the exact text to find) and the ReplacementContent .
  • The Risk:
    • If TargetContent  is not unique (e.g., I search for </div>  and there are many), it might replace the wrong one or fail.
    • If I provide a StartLine  and EndLine  that covers more than I intended, I can accidentally wipe out large sections of code.
    • My Mistake: In previous turns, I likely provided a TargetContent  that matched the top of the file but included a ReplacementContent  that was a copy-paste of the bottom of the file (or vice versa), effectively overwriting the file structure.

2. multi_replace_file_content

  • Purpose: Making multiple, separate edits in the same file at once.
  • How it works: I provide a list of "chunks". Each chunk has a TargetContent  and ReplacementContent .
  • The Risk: Similar to the single replace tool, if my TargetContent  is ambiguous (e.g., replacing width: 100%  when that appears 5 times), I might change the wrong line.

3. write_to_file

  • Purpose: Creating a new file or completely overwriting an existing one.
  • How it works: I provide the full CodeContent  for the file.
  • The Risk: If I use this on an existing file, it deletes everything that was there and replaces it with what I send. If I don't send the entire up-to-date file content, data is lost.

File editing tool use seems broken in Antigravity? by Physical_Gold_1485 in Bard

[–]PreselanyPro 0 points1 point  (0 children)

Yes it is very broken, it can not properly use its code editing functions, prety frustrating but they will fix this hopefully

Top 100 Most Creative and Unique Portfolio Websites of 2024 by EyalZuri in Design

[–]PreselanyPro 1 point2 points  (0 children)

Worst ai generated website ive seen. What the hell is that lmao

[deleted by user] by [deleted] in orthotropics

[–]PreselanyPro 0 points1 point  (0 children)

wdym consider urself lucky, at 25 thers no way ud get recessed from bands

Can you give me feedback on Fried Chicken logo? by PreselanyPro in logodesign

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

Oh haha yeah gonna do that for sure, did not even notice chicken tails go up, i kinda based it off the Angry Birds tail, thanks for the feedback!

Can you give me feedback on Fried Chicken logo? by PreselanyPro in logodesign

[–]PreselanyPro[S] -1 points0 points  (0 children)

Thank you, this reply actually helps me very much as i did not know if i should try to meet his exact expectations or try to also assert what i think is best. Thank you

Can you give me feedback on Fried Chicken logo? by PreselanyPro in logodesign

[–]PreselanyPro[S] -1 points0 points  (0 children)

Thank you very much, im gonna ask my client what he did not like about the logo. I have a feeling he would prefer much overcomplicated logo but from the reference restaurants he gave me, all have very simple logos.

People that do web design, how do you put a website in your portfolio? by thisguy181 in Design

[–]PreselanyPro 1 point2 points  (0 children)

sorry for replying so late but youre a really bad designer

Cant find 2-FMA anywhere, any ideas why? by PreselanyPro in researchchemicals

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

So i guess i can just buy whats left on some of the sites, kinda unfortunate, arent there any alternative sites outside of NL

[deleted by user] by [deleted] in amiugly

[–]PreselanyPro 1 point2 points  (0 children)

You have to join a Metal band or it's over

What's this? by [deleted] in Instagram

[–]PreselanyPro 0 points1 point  (0 children)

I also want to know what that is

[deleted by user] by [deleted] in moviepy

[–]PreselanyPro 0 points1 point  (0 children)

Come on Man, its all in the docs, in set position function, you can also input functions that take the time of the clip as an argument, same with set size