Lukasz Czerwinski
Lukasz Czerwinski
tag: Somewhat related to #254
Example 1. I wanted to translate the following program from Javascript to AskScript and got blocked. Javascript: ``` const sum_pairs = function (ints, s) { const leftMostPosition = {}; for...
> Very interesting experiment, @czerwinskilukasz1! Couple points: > > * why not use forOf here for iterating arrays? Simply I wanted to change as little code as possible. > *...
Example 2. I wanted to translate the following Javascript example to AskScript and needed to write more lines of code when using cache. (Also, `hasKey` would be useful, but I...
"swap" is the name you used, @mhagmajer  We could find a better word later on, I am asking about the functionality itself, not the wording. Swapping variable values is...
@pkarw **Topic 1. Read.** Let's clarify how the secrets could be read and how they couldn't: 1. read from AskScript variables in AskScript code: NO 1. read from JavaScript variables...
By watching Activity Monitor. It was enough for the first estimate. Did you get different results yourself?
@mhagmajer How about `/usr/bin/time -l` (and `time -v` on Linux)? ``` Lukaszs-MacBook-Pro:askql milimetr$ /usr/bin/time -l npm run cli > [email protected] cli /Users/milimetr/Desktop/askql/askql > node dist/cli.js 🦄 .editor // Entering editor...
We could plug `time` to `npm run ask ` as soon as issue https://github.com/xFAANG/askql/issues/248 is solved.
@cpelican , good catch. After I submitted this error, mhagmajer reduced the allowed operation limit to just 10 000 operations (which is roughly around 600 iterations of a while loop,...