Bilal Bassam

Results 43 issues of Bilal Bassam

This is discussing the stream module's future and design. `stream` is one of the most important modules in Luvit, it is the main puzzle piece that when done correctly it...

https://user-images.githubusercontent.com/38175840/132256486-7831b41b-1b2e-4aa5-bc7b-ff86621a8633.mp4 Edit: If video is not showing up correctly try [this one](https://streamable.com/mon0qc)

https://user-images.githubusercontent.com/38175840/132255563-f3641933-0298-4551-8a1b-4f6ccd7accb0.mp4 Edit: If the video is not showing correctly try this one https://streamable.com/eb7qih

Pressing backspace/arrow keys while writing a code that's longer than the terminal width will result in duplicated lines. According to @truemedian on luvit's Discord server, this is caused by this...

bug
repl

Nodejs's url lib behavior would be: ![Nodejs](https://i.imgur.com/t7SvhD3.png) -------------------------- Luvit's url lib behavior is: ![Luvit](https://i.imgur.com/1BeoHDu.png) -------------------------- Q: What is the results am i expecting? A: Same as nodejs results.

api

Running the tests yields the following error: ``` Uncaught exception: ...e/Dev/Luvit/discordia/discordia-fork/tests/test-date.lua:179: expected: "date could not be converted to time", received: "...l/home/Dev/Luvit/discordia/discordia-fork/libs/class.lua:16: expected minimum 0, received -31536000" stack traceback: [C]: in...

When setting an overload for some function with different returns, the suggested returns are always the sum of all possible returns no matter the used overload used. For example: ![image](https://user-images.githubusercontent.com/38175840/168589088-0aa2e6f4-a3fa-4fca-b13e-feab35b2bf87.png)...

enhancement

# The Pull Request This is an initial PR of many planned PRs aiming at polishing the Lit experience. In this PR I wrote the basics of getting a `lit...

`coro_http.request("GET", "https://google.com", {}, "")` would error with; ``` cannot resume running coroutine stack traceback: /mnt/data/bilal/deps/coro-channel.lua:16: in function 'assertResume' /mnt/data/bilal/deps/coro-channel.lua:126: in function 'callback' /mnt/data/bilal/deps/secure-socket/biowrap.lua:43: in function 'write' /mnt/data/bilal/deps/coro-channel.lua:148: in function 'write'...

This should fix #303 by tracking the state of the thread. We might want to patch and update the coro-channel package on Lit as fast as we can, I've seen...