소스 검색

Added some more golang notes.

Michael Hope 4 년 전
부모
커밋
9ef917dcc8
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      NOTES

+ 11 - 0
NOTES 파일 보기

@@ -7,6 +7,9 @@ Bugs
7 7
 2. The rover side halts after ~30s.
8 8
    Seems to have cleared after changing the serial port read to all
9 9
    bytes instead of 1 by 1.
10
+   Nope, still present.  Perhaps noise causing a break or other error?
11
+   Added a watchdog to see if it's the inputs
12
+   Checked against pyserial.  Match fine.
10 13
 
11 14
 3. FIXED: Communication is unreliable until reflashed.
12 15
    Running avrdude flash makes all frames come through.  Before that
@@ -75,3 +78,11 @@ to a float to multiply it by another float.
75 78
 select across channels is nice.
76 79
 
77 80
 The %+v struct-with-field-names formatter is nice.
81
+
82
+No easy test for 'x in map'.
83
+
84
+Strings are a funny mix of bytes and runes.  Most work on bytes, but
85
+range works on runes.  Popping a rune from a string is messy.
86
+
87
+The built-in types are good and generic and do things like return
88
+specific polymorphisim.  You can't do that on anything else.