CodyC
high memory usage using compiled binary in docker
I just mean, you said you can compile it and run it outside of docker and it only takes 70mb. that's 1/10th the size. I wonder if you're compiling a very different set of dependencies. (and that --include dist/ looks like a likely cuplrit.)
15 replies
high memory usage using compiled binary in docker
They have eventually dropped a bitHave links for that? I'm interested in containerized performance. That almost sounds like a bug. (ex: JVMs used to use the OS memory, not the container memory, to allocate initial heap.)
15 replies
How Node.js SQLite works on Deno?
if those will be reflected in Deno once Node.js deploys themIf you see a bug in Node.js, it might be interesting to test Deno's implementation to see if it's also present there. And I imagine the Deno team would appreciate a bug report if that's the case. I think one of the open issues/requests is for Node.js is to add async APIs, and I definitely hope Deno will implement that too once Node.js specifies the API. (Alternatively, I wouldn't mind Deno-specific async sqlite APIs, but I can see why it's simpler to just let Node design it so there aren't 2 to support.)
5 replies
Deno check/lint doesn't warn against obvious bugs
As for:
// Should warn on points[3] possibly being undefinedUnfortunately, even typescript "strict" mode doesn't enable this check. There is a LOT of code that just assumes your indexes are in-bounds. It can become tedious to check undefined for all cases. If you want that check, you have to enable: https://www.typescriptlang.org/tsconfig/#noUncheckedIndexedAccess
8 replies
Deno check/lint doesn't warn against obvious bugs
Didn't find it. Created one:
https://github.com/denoland/deno/issues/28433
8 replies
Native file selector for Deno
BTW, since you'll be working with commands, if you haven't seen it yet, Dax is a much nicer interface for that than Deno.Command. I use it all the time.
https://jsr.io/@david/dax#executing-commands
14 replies
Native file selector for Deno
That does seem like a useful tool. Some googling found https://pymotw.com/2/EasyDialogs/ but that seems to be deprecated.
You might be able to just pipe some AppleScript into osascript on MacOS to prompt the user to select a file.
See: https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/PromptforaFileorFolder.html
And: https://support.apple.com/lt-lt/guide/terminal/trml1003/mac
14 replies
Cookie issues
What API are you using to set the cookie?
Can you verify the cookie header was received by your browser?
Why do you think it's not stored by your browser? (How did you verify?)
Have any code/screenshots? It's hard to debug with just the info you have provided.
4 replies
Typescript monorepo LSP performance
I definitely recommend opening an issue at https://github.com/denoland/deno/issues/ then. They've mentioend LSP performance improvements in the last 2 minor releases now, IIRC, so seem to be interested in making it fast. Include a link to that repo and give them some reproduction steps. 🙂
15 replies