John Luk

Results 11 issues of John Luk

Work in progress

Hi, I'm working on merging this tool to Lua53. And I found https://github.com/richardhundt/lua-marshal/blob/master/test.lua#L64 failed because print is C function. Does it suppose to work or fail?

```bash curl -vv -F data=@run http://127.0.0.1/server/ -F _json='{"live_id":"a3608f","is_finish":true,"data_index":"a_2"}' ``` gives: ```golang package main import ( "fmt" "io/ioutil" "log" "net/http" ) func main() { client := &http.Client{} req, err := http.NewRequest("POST",...

incorrect output

working in progress

reviewer wanted

lua version: 5.3.5 build from source, downloaded from lua.org gcc: 7.4.0 cmake: 3.13.4 luarocks: 3.0.4 ``` $ make [ 20%] Linking CXX shared module rapidjson.so CMakeFiles/lua-rapidjson.dir/src/Document.cpp.o:在函数‘pushParseResult’中: /home/Dell/opensource/lua-rapidjson/src/Document.cpp:62:对‘lua_pushboolean’未定义的引用 /home/Dell/opensource/lua-rapidjson/src/Document.cpp:62:(.text+0x16): 截断重寻址至相符: R_X86_64_PC32...

https://github.com/caronc/apprise/blob/9c145a842ed605ecd9452a2999fd88b632d74cee/apprise/plugins/NotifyBark.py#L216-L217 This code would generate url like this: ```Python #generate by -vvv Bark POST URL: http://localhost/push:8080 (cert_verify=True) ``` which should be: ``` http://localhost:8080/push/``` according to [Bark API v2](https://github.com/Finb/bark-server/blob/master/docs/API_V2.md#python)

通过内存快照对比,可以找出可能存在的内存泄漏,详见[云风的博客](https://blog.codingnow.com/2012/12/lua_snapshot.html)。一般是通过mem和cmem指令找出内存占用异常的服务,然后对服务的可疑接口调用前打一次snapshot,调用后打一次snapshot,比较diff看看残留的内存对象是否正常。 lua-snapshot.c 来源于[云风的lua-snapshot](https://github.com/cloudwu/lua-snapshot),新添加了类型输出。前后两次内存快照对比出来的diff,会尝试用来组成树以方便阅读,深度限制同lua-seri,方便传送到其他服务。 组成树(森林)的大致过程:先将没有任何引用的叶节点放入a,然后将叶节点的上一层节点放入a,对应叶节点移出a。然后循环,直到所有被引用的节点都在数组为止。a_set和b_set相互倒来倒去是希望尽可能少的发生内存分配

![sproto_protocol_test_failed](https://user-images.githubusercontent.com/29256416/41903857-8cb82028-7969-11e8-84c8-091787ce9802.png)

**Is your feature request related to a problem? Please describe.** According to [fileinfo.com](https://fileinfo.com/extension/hif), .hif is variation of HEIC format, with support of 4:2:2 depth per color channel. **Describe the solution...

good first issue
feature
API
scanner
high priority