Matt Freeman - nonuby

Thailand, SE Asia

Asking stupid questions is my game...twitter @nonuby

1d
awarded Popular Question
Nov
19
awarded Yearling
Nov
19
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Nov
4
awarded Autobiographer
Sep
27
awarded Popular Question
Sep
19
comment ClojureScript, Om and Core.async: How to handle events properly
Interesting. I started with the same distinction between app state and local state, but now I consider local state information that I would throw away should the browser crash, everything else is app state to me. It became problematic when one equated app state with domain model. Like MS Word, if crashed and reopened, I'd expected the browser to remember current page and cursor position, so my app state would look like {:document [] :view { :page 1 :line 3 :char 4 } }, local state I might use for say Find dialog { :termSearched "blah" :match 4 :results 10 }.
Jul
2
awarded Curious
Jul
2
awarded Curious
Jun
28
comment Do Typescript generics use type erasure to implement generics?
What an awesome question... hoping it doesnt closed SO style
Jun
26
comment Is this a safe way to empty a list in Golang?
@twotwotwo does it keep a reference to underlying array so if you have b = make(int[], 100) and a = b[:0] even when b is garbage collected a internally will still maintain a reference to that big ass array?
Jun
4
awarded Popular Question
1 2 3 4 5