profile
viewpoint

issue commentflutter/flutter

[web build] webdev could not run for this project

flutter pub get 

then

flutter packages pub global run webdev serve

Try this.

it doesn't work

Kermit-Xuan

comment created time in 4 days

issue commentflutter/flutter

[web build] webdev could not run for this project

@Kermit-Xuan I was facing the same problem when I was running "webdev serve" command, so as per the documentation I tried following command which worked: flutter packages pub global run webdev serve

Worked perfect, thanks!

@Kermit-Xuan Did you try flutter packages pub global activate webdev ?

I followed the instructions from this site: medium - Create and Deploy Flutter for Web

I try it. But it appears the same error.

Kermit-Xuan

comment created time in 4 days

issue commentflutter/flutter

[web build] webdev could not run for this project

@Kermit-Xuan I was facing the same problem when I was running "webdev serve" command, so as per the documentation I tried following command which worked:

flutter packages pub global run webdev serve

image

It don't work in my computer.

Kermit-Xuan

comment created time in 8 days

issue openedflutter/flutter

[web build] webdev could not run for this project

After running pub get and flutter packages pub global run webdev build in flutter_web/examples/gallery, it appears following error msg:

image

created time in 11 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha efedb7ee5f3e9967e01af4631d09bc8022fe5bc0

add 81.search-in-rotated-sorted-array-ii

view details

push time in 23 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha b778d5acebae1fe8591d6cdc9e3ed1982c5c3687

add 74.search-a-2-d-matrix

view details

push time in 24 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 1a2bee9f9fcbf708d7b9c043885fb1c2b9c3353c

optimize 50.pow-x-n

view details

push time in 24 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 937699fa9bda361822c4b96cf9a5d53a30f81455

optimize 53.maximum-subarray

view details

push time in 24 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha f7bf4d98f666073af294d3cc1f841f99c587b740

add 34.find-first-and-last-position-of-element-in-sorted-array

view details

push time in 25 days

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 2d50540e08ef4aa2e8036a6dbdb8a14dd0fe824d

add 29.divide-two-integers

view details

push time in a month

startedswituo/openbilibili-go-common

started time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha cbf9e1574252c22b0bb31fd01de085db8a18787b

add palindrome-partitioning

view details

push time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 99090b099f115ca80b2cfe293a4cd3c2d2717770

add combination-sum-ii、letter-combinations-of-a-phone-number

view details

push time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 31d1a3b5011c116cccaeaafe36c4ac844a52d6d8

add permutation-ii

view details

push time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 84fcf168ff8c0f944a121f6d22b2255b140a9a8d

add permutations、subsets ii

view details

push time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 71997f0a5129d6eb6606e35332ab6e677674aa2c

add 78.subsets

view details

push time in a month

pull request commentdenoland/deno

Upgrade Typescript to 3.4.3

#40

Kermit-Xuan

comment created time in a month

push eventKermit-Xuan/deno_third_party

Kermit

commit sha ddebb319b71fc0ad3d1b4017232a9029522243ad

Upgrade Typescript to 3.4.3

view details

push time in a month

PR opened denoland/deno_third_party

Upgrade Typescript to 3.4.3
+200739 -115155

0 comment

1147 changed files

pr created time in a month

create barnchKermit-Xuan/deno_third_party

branch : ts343

created branch time in a month

PR opened denoland/deno

Upgrade Typescript to 3.4.3

<!-- Before submitting a PR read https://deno.land/manual.html#contributing -->

+1 -1

0 comment

1 changed file

pr created time in a month

push eventKermit-Xuan/deno

Ryan Dahl

commit sha 4c831f1eb5e5eae4d56c82c941260f5b18940369

Add more async module loading function (#1974) * get_source_code_async * fetch_module_meta_data_async * fetch_module_meta_data_and_maybe_compile_async

view details

Ryan Dahl

commit sha 8f334ae56887cc5291be20da8b9288fe7054410e

Improve pretty printing of objects If an object has more than 5 elements, it is printed in abbeviated form displaying only the keys. This is useful in the REPL when inspecting large objects like the Deno namespace: > Deno { args, noColor, pid, env, exit, isTTY, execPath, chdir, cwd, File, open, stdin, stdout, stderr, read, write, seek, close, copy, toAsyncIterator, SeekMode, Buffer, readAll, mkdirSync, mkdir, makeTempDirSync, makeTempDir, chmodSync, chmod, removeSync, remove, renameSync, rename, readFileSync, readFile, readDirSync, readDir, copyFileSync, copyFile, readlinkSync, readlink, statSync, lstatSync, stat, lstat, symlinkSync, symlink, writeFileSync, writeFile, ErrorKind, DenoError, libdeno, permissions, revokePermission, truncateSync, truncate, connect, dial, listen, metrics, resources, run, Process, inspect, build, platform, version, Console, stringifyArgs, DomIterableMixin }

view details

Ryan Dahl

commit sha 842627d6b905f71aea821c426a886022b07270a5

pretty-print long strings

view details

Ryan Dahl

commit sha 9444bd71a0b9165ef1a900f19b08a88592d2bb5c

Website and manual improvements (#1967)

view details

Ryan Dahl

commit sha 9831a440ca0f2186c4a1afe981a31dabf6084099

Disable arm test again getting this failure on travis: https://travis-ci.com/denoland/deno/jobs/186518015 $ $CARGO_TARGET_DIR/aarch64-unknown-linux-gnu/release/deno tests/002_hello.ts qemu: Unsupported syscall: 278 qemu: Unsupported syscall: 278 Compiling file:///home/travis/build/denoland/deno/tests/002_hello.ts

view details

Ryan Dahl

commit sha 223a2adbb46cb33e75ffe861ecaff6ff7e6d555e

v0.3.4

view details

Ryan Dahl

commit sha 94405bb61722142e8c4d90bb5f31038fc9aa5f72

Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945)

view details

Simon Menke

commit sha 93793dc45504fcc7927354c7e4f39d6de406e9d4

core: Allow terminating an Isolate from another thread (#1982)

view details

andy finch

commit sha 1499d57490f2d928e57b21c992e559fc403cad42

Remove dead code (#1983)

view details

Ryan Dahl

commit sha 12753e492f924e32be2a74d94720213f1d5c6b66

Website updates (#1984)

view details

迷渡

commit sha efe9c18b459dbec71b213e8dc87e2e1b02477139

remove `console` constructor (#1985)

view details

Bartek Iwańczuk

commit sha 129eae0265e3bd93c26c272d253ae9cbc6b88991

Handle overflown shared queue (#1992) Fixes #1988

view details

Bernard Lin

commit sha 3cc90d9bcf4be58bf88b433ae410f42fa4ad69c7

Add benchmark for max latency (#1975)

view details

Bartek Iwańczuk

commit sha 5ae78eb1de378f04d0b9d54842bcb898053467d6

Update ts_library_builder (#1920)

view details

Ryan Dahl

commit sha d8714281b40f457420608c7e766fe787609c7afb

Resolve callback moved from Behavior to mod_instantiate() (#1999) This simplifies the Behavior trait and makes it more explicit where the resolve callback is being made. Also s/StartupScript/Script

view details

迷渡

commit sha ed2977d3c0e9ab3295a3bb47b844b2953d608197

Check `Event` constructor params (#1997)

view details

Kitson Kelly

commit sha c43cfedeba5d6ac96e1b1febed8549e750606e3f

namespace reorg: libdeno and DenoCore to Deno.core (#1998)

view details

0xflotus

commit sha d78b4112c65b77dbf1839f06c0776a7e4691fb25

fixed typo (#2001)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 5c4189a3b8aa80e05088a4b01ecd5eccdd1540fb

Do not close file on invalid seek mode (#2004)

view details

ztplz

commit sha 989e86c8de70b75dcb89abf119879b55a80eb008

Fix some typos (#2005)

view details

push time in a month

startedrehooks/awesome-react-hooks

started time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha ebd16bf87c5c1bb9cbd4672f9dcfa224fd4d68d2

add 39.combination-sum

view details

push time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 113fa07f2bff559a4db5275bfeb94db8135081a7

add 121.best-time-to-buy-and-sell-stock

view details

push time in a month

startedUnknwon/the-way-to-go_ZH_CN

started time in a month

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 7560941761dab5c629e84be531d4ef499d68300f

update search-in-rotated-sorted-array

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 9388dc8872b6a788527822eaf6ba13d1a1578ac0

add search-in-rotated-sorted-array

view details

push time in 2 months

startedGokuMohandas/practicalAI

started time in 2 months

startedbtroncone/learn-rxjs

started time in 2 months

pull request commentdenoland/deno

WIP: Max latency

@bernard-lin , you should add req_per_sec and max_latency keys to {} in http_benchmark.py

def http_benchmark(deno_exe, hyper_hello_exe, core_http_bench_exe):
    r = {}
    # TODO Rename to "deno_tcp"
    r["deno"] = deno_http_benchmark(deno_exe)
    r["deno_net_http"] = deno_net_http_benchmark(deno_exe)
    r["deno_core_single"] = deno_core_single(core_http_bench_exe)
    r["deno_core_multi"] = deno_core_multi(core_http_bench_exe)
    r["node"] = node_http_benchmark()
    r["node_tcp"] = node_tcp_benchmark()
    r["hyper"] = hyper_http_benchmark(hyper_hello_exe)
    return r

Example:

def http_benchmark(deno_exe, hyper_hello_exe, core_http_bench_exe):
    r = {}
    m = {}
    # TODO Rename to "deno_tcp"
    r["deno"] = deno_http_benchmark(deno_exe)["req_per_sec"]
    r["deno_net_http"] = deno_net_http_benchmark(deno_exe)["req_per_sec"]
    r["deno_core_single"] = deno_core_single(core_http_bench_exe)["req_per_sec"]
    r["deno_core_multi"] = deno_core_multi(core_http_bench_exe)["req_per_sec"]
    r["node"] = node_http_benchmark()["req_per_sec"]
    r["node_tcp"] = node_tcp_benchmark()["req_per_sec"]
    r["hyper"] = hyper_http_benchmark(hyper_hello_exe)["req_per_sec"]

    m["deno"] = deno_http_benchmark(deno_exe)["max_latency"]
    m["deno_net_http"] = deno_net_http_benchmark(deno_exe)["max_latency"]
    m["deno_core_single"] = deno_core_single(core_http_bench_exe)["max_latency"]
    m["deno_core_multi"] = deno_core_multi(core_http_bench_exe)["max_latency"]
    m["node"] = node_http_benchmark()["max_latency"]
    m["node_tcp"] = node_tcp_benchmark()["max_latency"]
    m["hyper"] = hyper_http_benchmark(hyper_hello_exe)["max_latency"]

    return { "req_per_sec": r, "max_latency": m }

Thanks @Kermit-Xuan! I'm just realizing now that I missed that. I'm not too familiar with Python - would that result in calling each benchmark function (e.g. deno_http_benchmark(deno_exe)) twice? Or would it use the same result?

You are right, it should call once and use the same result.

bernard-lin

comment created time in 2 months

pull request commentdenoland/deno

WIP: Max latency

@bernard-lin , you should add req_per_sec and max_latency keys to {} in http_benchmark.py

def http_benchmark(deno_exe, hyper_hello_exe, core_http_bench_exe):
    r = {}
    # TODO Rename to "deno_tcp"
    r["deno"] = deno_http_benchmark(deno_exe)
    r["deno_net_http"] = deno_net_http_benchmark(deno_exe)
    r["deno_core_single"] = deno_core_single(core_http_bench_exe)
    r["deno_core_multi"] = deno_core_multi(core_http_bench_exe)
    r["node"] = node_http_benchmark()
    r["node_tcp"] = node_tcp_benchmark()
    r["hyper"] = hyper_http_benchmark(hyper_hello_exe)
    return r

Example:

def http_benchmark(deno_exe, hyper_hello_exe, core_http_bench_exe):
    r = {}
    m = {}
    # TODO Rename to "deno_tcp"
    r["deno"] = deno_http_benchmark(deno_exe)["req_per_sec"]
    r["deno_net_http"] = deno_net_http_benchmark(deno_exe)["req_per_sec"]
    r["deno_core_single"] = deno_core_single(core_http_bench_exe)["req_per_sec"]
    r["deno_core_multi"] = deno_core_multi(core_http_bench_exe)["req_per_sec"]
    r["node"] = node_http_benchmark()["req_per_sec"]
    r["node_tcp"] = node_tcp_benchmark()["req_per_sec"]
    r["hyper"] = hyper_http_benchmark(hyper_hello_exe)["req_per_sec"]

    m["deno"] = deno_http_benchmark(deno_exe)["max_latency"]
    m["deno_net_http"] = deno_net_http_benchmark(deno_exe)["max_latency"]
    m["deno_core_single"] = deno_core_single(core_http_bench_exe)["max_latency"]
    m["deno_core_multi"] = deno_core_multi(core_http_bench_exe)["max_latency"]
    m["node"] = node_http_benchmark()["max_latency"]
    m["node_tcp"] = node_tcp_benchmark()["max_latency"]
    m["hyper"] = hyper_http_benchmark(hyper_hello_exe)["max_latency"]

    return { "req_per_sec": r, "max_latency": m }
bernard-lin

comment created time in 2 months

pull request commentdenoland/deno

add max latency time for benchmark(#1963)

@ry, I'm sorry, i don't know there's another PR for this when working for this issue and i see there are many errors in PR #1975. Can i fix them?

Kermit-Xuan

comment created time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 454c564069334abc6811e191fb6a682e3861f8dc

add 4-sum

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha ff1f1248df0717d08d226680682060f597476ba6

add 3-sum-closest

view details

push time in 2 months

PR opened denoland/deno

add max latency time for benchmark(#1963)

#1963

+48 -13

0 comment

7 changed files

pr created time in 2 months

push eventKermit-Xuan/deno

Kermit

commit sha 5f0563137f1dbf293c25a9cff64e9da1f2ef0216

add max latency time for benchmark()

view details

push time in 2 months

fork Kermit-Xuan/deno

A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio

https://deno.land/

fork in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 01e3af2d49bd86434527a2ac2e52b8a7077868af

add 3-sum

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 488c15ff6fff61111a84188a192c2fc9ed5c73fd

add container-with-most-water

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha be59b6879e7fb8082573aeb7a72934e697742aec

add median-of-two-sorted-arrays

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha f8ac96b99f735d277b7614da102fd2713870b579

add pascals-triangle

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha b34d5177fa58868c2053155a37416b9db63e4b76

add path-sum、pascals-triangle

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha b5bfb964f6d57fb18349ba0cd1154f4c720a3800

add binary-tree-level-order-traversal-ii、balanced-binary-tree

view details

Kermit

commit sha d6cd68103ee0e38a966548305ac405001c64025e

add minimum-depth-of-binary-tree

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha c2f9563154288ce0b2fc57e3b039b15e42fce3dc

add convert-sorted-array-to-binary-search-tree

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 19e180e1337fe6cc6adf389abbf0b6e12024e20f

add maximum-depth-of-binary-tree

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 37fc668e08cb00329df1a90142b47a8ce19de755

add symmetric-tree

view details

push time in 2 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 78ea7763c196c1c7838d936e506cdfd836b90434

add same-tree

view details

push time in 3 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha ffeb964042a841310b12c75bfbcd082b854babb1

add climbing-stairs

view details

push time in 3 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 6b002103493ced0cbb06f9f4c4d5a0c790a37bc0

add merge-sorted-array

view details

push time in 3 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 273b21eb20bbdc849f109112f6b74eeb5f646b07

add remove-duplicates-from-sorted-list

view details

push time in 3 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 1f350701f617a7fca05b71c378a37f21a18fddfd

add add-binary、sqrt-x

view details

push time in 3 months

push eventKermit-Xuan/leetcode-js

Kermit

commit sha 92eb40039d4adaf605148c1ddfc11a66a13128a4

add valid-numer、plus-one

view details

push time in 3 months

create barnchKermit-Xuan/leetcode-js

branch : master

created branch time in 3 months

created repositoryKermit-Xuan/leetcode-js

LeetCode Solution for Javascript

created time in 3 months

startedMicrosoft/frontend-bootcamp

started time in 3 months

more