Re: How to Maintain a Nim Chinese Community

2019-12-02 Thread lxdong
Don't worry, Status.im is free to access as I tried, but Blockchain like 
Bitcoin and Etherum are banned for some reasons, the clients are unlikely to be 
used in China. TLS is a common technology, decryption to see the traffic is 
hard and pointless.


Re: How to Maintain a Nim Chinese Community

2019-12-02 Thread lxdong
the attempt to access what was banned is banned too.


Re: How to Maintain a Nim Chinese Community

2019-12-02 Thread lxdong
IPFS is banned in China.


Re: How to Maintain a Nim Chinese Community

2019-12-02 Thread lxdong
耿直boy,我喜欢


Re: Announcement: Use Nim for programming on Bluetooth chips

2019-11-14 Thread lxdong
It's very exciting to hear this anncouncement. We are Chinese Nim community 
aims to promote Nim practice globally.As PMunch mentioned, these kind of 
platforms using Nim are really rare by far, your production would be a great 
encourage for Nim. I have send you our QQ group number of community on Zhihu, 
welcome to join and discuss Nim further.


Re: How to get Nim running on iOS and Android using GLFM.

2019-09-19 Thread lxdong
This would be great help!Your work like typography is also fundamental and 
awesome!I have shared this post to our QQ group to see whether someone could 
help.


Re: CORS in Jester

2019-07-09 Thread lxdong
Why doesn't my code work? It's the same with


resp(Http200, {"Access-Control-Allow-Origin":"*"} ,"ok")


Run


Re: CORS in Jester

2019-06-05 Thread lxdong

routes:
get re"/(.*)":
cond request.matches[0].splitFile.ext == ""
resp(Http200, {"Access-Control-Allow-Origin":"*"}, 
readFile("index.html"))
post "/login":
var body = parseJson request.body()
var name = body["name"].getStr
var password = body["password"].getStr
var target = db.getValue(sql SELECT "password".FROM 
"user".WHERE"name=?", name)
if password != "" and password  == target:
resp(Http200, {"Access-Control-Allow-Origin":"*"},"success")


Run

seems doesn't solve this problem, do we literally need 
{"Access-Control-Allow-Origin":"*"} for every response?


break immediately

2019-01-27 Thread lxdong
It's still full of excitement when seeing this after three years, what I 
expected comes true step by step, I'm fortunate to stick with Nim and applied 
it to production , seeing the light of future sheds more on reality.