heliping

heliping

Member Since 5 years ago

Experience Points
1
follower
Lessons Completed
2
follow
Lessons Completed
52
stars
Best Reply Awards
10
repos

27 contributions in the last year

Pinned
⚡ Mahchine Leaning in Action (python)
⚡ Easy Machine Learning is a general-purpose dataflow-based system for easing the process of applying machine learning algorithms to real world tasks.
⚡ TensorFlow Tutorials with YouTube Videos
⚡ 2048 game
⚡ Zadig is a cloud native, distributed, developer-oriented continuous delivery product.
Activity
Jan
27
1 day ago
started
started time in 1 day ago
Jan
26
2 days ago
started
started time in 1 day ago
Jan
25
3 days ago
started
started time in 3 days ago
Jan
21
1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
Jan
15
1 week ago
started
started time in 1 week ago
Jan
13
2 weeks ago
started
started time in 2 weeks ago
started
started time in 2 weeks ago
Jan
11
2 weeks ago
started
started time in 2 weeks ago
Jan
10
2 weeks ago
started
started time in 2 weeks ago
Jan
9
2 weeks ago
started
started time in 2 weeks ago
Jan
8
2 weeks ago
started
started time in 2 weeks ago
Jan
5
3 weeks ago
started
started time in 3 weeks ago
Activity icon
issue

heliping issue comment flutterchina/dio

heliping
heliping

when response is a json array, the quotation lost, and the jsondecode get error.

when response json is ok. 收到了数据: {"A":"bbbb","B":"11817"} but when the respones is json array, the response delete the quotation. 收到了数据: [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}] so the json decode return the error. FormatException: Unexpected character (at character 3) [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}] ^

my code: response = await dio.post(url, data: queryP);

heliping
heliping

just set a server, with response a list json struct. I changed to flutter http pub package, the error disappeared.

Jan
3
3 weeks ago
Activity icon
issue

heliping issue flutterchina/dio

heliping
heliping

when response is a json array, the quotation lost, and the jsondecode get error.

when response json is ok. 收到了数据: {"A":"bbbb","B":"11817"} but when the respones is json array, the response delete the quotation. 收到了数据: [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}] so the json decode return the error. FormatException: Unexpected character (at character 3) [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}] ^

my code: response = await dio.post(url, data: queryP);

Jan
2
3 weeks ago
Activity icon
issue

heliping issue dart-lang/convert

heliping
heliping

jsonarray decode gets error: flutter: FormatException

the json string like this : [ { "A": "bbbb", "B": "11817" }, { "A": "bbbb", "B": "11817" } ]

when decode by convert, the error found:

flutter: FormatException: Unexpected character (at character 3) [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}] ^ json: [{A: bbbb, B: 11817}, {A: bbbb, B: 11817}]

Dec
27
1 month ago
Activity icon
issue

heliping issue xvrh/puppeteer-dart

heliping
heliping

Is there a docker image for puppeteer-dart?

When use in the linux by docker , I got a mistake like this?

ProcessException: No such file or directory Command: unzip .local-chromium / 901912_chrome-linux.zip -d .local-chromium / 901912

Is there some images support the puppeteer-dart?

started
started time in 1 month ago
Activity icon
issue

heliping issue comment xvrh/puppeteer-dart

heliping
heliping

process error

ProcessException: No such file or directory Command: unzip .local-chromium / 901912_chrome-linux.zip -d .local-chromium / 901912

On linux there is such a problem

heliping
heliping

why close? I meet the same issue.

started
started time in 1 month ago
Dec
25
1 month ago
Dec
23
1 month ago
started
started time in 1 month ago
started
started time in 1 month ago
Dec
21
1 month ago
started
started time in 1 month ago
Dec
20
1 month ago
Activity icon
issue

heliping issue comment flutter/flutter

heliping
heliping

when onpressed a async function, the app pending.

Steps to Reproduce

onpressed -----> Future Function ----> use while loop---->the app pending cannot press anywhere---> the loop stop, the app recovery

I want start a mqtt client to send mqtt message for loop. but when pressed the function, the while loop pended the app.

Expected results: the loop works in an async work, and the app can work rightly.

Actual results: the app is pending.

#200), MaterialButton( child: Text('发送'), onPressed: () { BtnsendMsg(); },

####onpressed function mc = new MqttClient(false);

BtnsendMsg() async { mc.MsgSend(clientid, topic, msgname, '3'); print("back"); }

####loop function class MqttClient { bool isStop;

MqttClient(this.isStop); Future MsgSend(clientid, topic, msgname, interval) async { isStop = false; var cc = await clientGet(clientid); var msg = await msgGet(msgname); String host = "1.1.1.1"; String msgdata = "1111"; if (cc != null) { host = cc.host!; } if (msg != null) { msgdata = msg.msgdata!; } Future future = Future(() { while (isStop == false) { SendMsgOnce(host, clientid, topic, msgdata); sleep(Duration(seconds: 3)); } }); sleep(Duration(seconds: 30));

isStop = true;

}

heliping
heliping

got it, thanks very much.

started
started time in 1 month ago
Activity icon
issue

heliping issue ggdream/bindgo

heliping
heliping

run build c lib, but get the exit code 255, and nothing generate

PS D:\hlp\src\myflutter\gommq> flutter pub run bindgo:run BindGo: windows amd64 starting... Unhandled exception: ShellException(go build -buildmode=c-shared -ldflags "-s -w" -o D:\hlp\src\myflutter\gommq\windows\libgolbi.dll ./golib, exitCode 1, workingDirectory: D:\hlp\src\myflutter\gommq) Instance of '_StringStackTrace'pub finished with exit code 255 PS D:\hlp\src\myflutter\gommq>

Previous