Jonathan Chappelow
Jonathan Chappelow
Still make sense to me. I can see that with addresses too. e.g. "Dcur2" as a search string: ```sql select distinct(address) from addresses where address like 'Dcur2%'; ``` That kind...
Partially resolved by https://github.com/decred/dcrdata/pull/924, although the websocket stress test is needed.
Resizing the window does cause some surprisingly jumpy behavior. The tx hash still being hidden when the screen is maximized is just because the max width of the I/O tables...
Can we recheck the behavior on say https://alpha.dcrdata.org/tx/d9d7e708ed730bb697ce2734b43d5b9964f2bd658368c28e608a561e699f106e I think we are doing everything right here, but if there are specific improvements to be made we should detail them again.
Interesting suggestion. For reference, here's the toggle on that page:  
Turns out a CSP with `script-src` set to `self` only (no more `unsafe-inline`) does **not** break with turbolinks after all. The change in https://github.com/decred/dcrdata/pull/1832 was sufficient it seems. So I...
Just saw that Turbo 7 was released a few days ago. https://world.hey.com/hotwired/turbo-7-0dd7a27f https://github.com/hotwired/turbo/releases
Considerations: - which text encodings to try. - how to optimize decoding and detection of encoding - how to recognize a sensible result? - limiting length of data to decode
That is why this is a bit of a research project. There's UTF-8, ASCII, ANSI, etc. To start, my suggestion is to look into how sites like https://cryptograffiti.info/ approach this...
I'm thinking along the lines of: - https://github.com/h2non/filetype - https://golangcode.com/get-the-content-type-of-file/ - https://stackoverflow.com/q/25959386/2778484 - https://github.com/saintfish/chardet - https://grokbase.com/t/gg/golang-nuts/144xcwy3ne/go-nuts-how-to-detect-and-convert-charset - http://dominik.honnef.co/posts/2012/04/dealing_with_encodings_in_go/ Then there are the considerations of doing everything efficiently (memory and CPU).