Aspect | Edit Mode | Chat Mode | Agent Mode |
---|---|---|---|
Purpose | Code/text modification | Discussion and explanation | Autonomous problem-solving |
Interaction Style | Directive | Conversational | Delegative |
Input Format | Specific edit instructions | Questions and discussion points | Task descriptions and goals |
Output Format | Modified code snippets | Explanations and examples | Analysis, solutions, and recommendations |
Scope | Narrow, focused changes | Conceptual understanding | End-to-end solutions |
Use Cases | Bug fixes, refactoring, ownership issues | Learning concepts, brainstorming | Crate architecture, performance analysis |
User Involvement | High (specific instructions) | Medium (ongoing dialogue) | Low (initial direction only) |
Contextual Needs | Existing code/content | Problem description | Problem and environment context |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>The HTML5 Herald</title> | |
<meta name="description" content="The HTML5 Herald"> | |
<meta name="author" content="SitePoint"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class S{public static void main(String...a){int i=a[0].indexOf(48),j;char | |
k=48,c[]=a[0].toCharArray();if(i<0)System.out.print(c);else | |
for(;++k<58;){for(j=81;j-->0&&((j-i)%9*(j/9^i/9)*(j/27^i/27|j%9/3^i%9/3) | |
|c[j]^k)!=0;);c[i]=k;if(j<0)main("".valueOf(c));}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dolmisani.puzzles; | |
import java.time.MonthDay; | |
import java.time.Month; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.function.Predicate; | |
import java.util.stream.Collectors; | |
import static java.time.Month.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.Arrays; | |
import java.util.Comparator; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SmoothHistogram[Legended[First /@ StringPosition[Import["https://dl.dropboxusercontent.com/u/1290362/promessisposi.txt"], #],#] & /@ {"Renzo", "Lucia","Cristoforo"}, Filling -> Axis] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch pidstat -p `pidof <process name>` -t -w |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watch cat /proc/interrupts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 FOR I=0 TO 15 | |
20 : FOR J=0 TO 15 | |
30 : : POKE 53280,I : POKE 53281,J | |
35 : : PRINT "{CLEAR}{HOME}BORDER:"I", PAPER:"J | |
38 : : FOR K=0 TO 500 : NEXT K | |
40 : NEXT J | |
50 NEXT I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 PRINT CHR$(205.5+RND(.));:GOTO |
NewerOlder