STEEM POWER retention ratio of top 50 witnesses

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/steem-power-retention-ratio-of-top-50-witnesses Hello, this is @joviansummer(witness: @jswit). Some time ago there was a bit of discussion on discord witness chanel about witnesses' power-down/cashing-out. So out of curiosity I just checked current ratio of witnesses' own STEEM POWER(VESTS) and all-time producer reward(VESTS). The ratio is calculated by the following simple formula: ratio(%) = account's own SP(MV) / all-time producer reward SP(MV) * 100% Ratio value less than 100% indicates power-down. If witness does additional power-up or gets other types of reward(e.g., curation reward), the ratio may exceed 100%. This does not take witness' other accounts into consideration. All-time producer reward data is from @steemchiller's SDS API. Here is the result: rank account own_sp prod_sp ratio 1 justyy 2188.411MV 1284.2MV 170.41% 2 steemchiller 982.134MV 124...

수동으로 json 형식 파일을 만들 때 따옴표에 관한 주의점

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/6nac8a-json


json 형식은 파이썬의 딕셔너리(dict) 형식으로 가져와서 곧바로 활용 가능합니다. 관련 내용은 아래의 링크입니다.

파이썬에서 json 파일 읽기/쓰기 https://steemit.com/hive-141029/@joviansummer/json

따라서, 파이썬에서 딕셔너리로 작업하고 싶은 데이터를 json 파일로 만들어 두면 파이썬에서 읽어서 편리하게 활용할 수 있습니다.

json에서 키(key) 또는 값(value)이 문자열(string)일 경우에는(키는 문자열이고, 값은 문자열이 아닐 수도 있겠죠) 큰 따옴표(")로 묶어 주어야 합니다. 작은 따옴표(')는 안됩니다.

{ "my_key":"my_value", "my_number":123 }

만약 값이 문자열인데 해당 문자열에 큰 따옴표가 포함되어 있는 경우에는 역슬래시()로 처리해 주어야 합니다. 위의 예시에서 "my_key"에 대응하는 값인 my_value를 my_"value"라고 수정하고 싶다면 아래와 같이 되어야 합니다.

{ "my_key":"my_\"value\"", "my_number":123 }

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기