Francisco Rubin

Results 16 comments of Francisco Rubin

I created a small extension to add this feature, while we wait for an official implementation from Microsoft. https://marketplace.visualstudio.com/items?itemName=pancho111203.vscode-ipython It basically adds two commands: - ipython.sendFileContentsToIPython - send whole file...

@tsando No, it doesn't. I could add the ability to use breakpoints but I don't see the point. In my opinion the debugger vscode provides works perfectly for that use...

I tried updating and unfortunately the error persists. The command you mentioned outputs 7401.

@njean78 I am running Linux Ubuntu 16.04, so it looks like the error is os-independent.

The code should be a no-op if it's running on the server... Also, I upgraded to node 17 and still have the same error. I can't upgrade to 18+ due...

https://github.com/jetbridge/cdk-nextjs/blob/861c86da30943043e24390ddc81a6583d59c0307/src/Nextjs.ts#L160 https://github.com/jetbridge/cdk-nextjs/blob/861c86da30943043e24390ddc81a6583d59c0307/src/Nextjs.ts#L443 Is there any particular reason you disabled the cache on the lambda functions?

Ah I see, if the same lambda is used for the API it cannot be cached. I've done some more testing, and got the following results: Using cdk-nextjs: - the...

> The line you linked has the cachePolicy for the lambda (eg api), which we don't want to cache. > > https://github.com/jetbridge/cdk-nextjs/blob/main/src/Nextjs.ts#L493, maybe something is wrong here? Would changing it...

Happy to help! I looked at how [serverless-next.js](https://github.com/serverless-nextjs/serverless-next.js) does this, and it seems to be the solution I mentioned above: - moving pages into static-pages folder: https://github.com/serverless-nextjs/serverless-next.js/blob/ca7f7f72e3b1e5fcb49ffc4a3f6d6f629e644b20/packages/libs/core/src/build/builder.ts#L411 - uploading static-pages...

@khuezy That's great to hear! I will re-do the bench testing and post it here as soon as it's merged.