andykais
solid-js with Deno
@iobdas maybe post your findings here and see if its a library issue? https://github.com/solidjs/solid/discussions/332
15 replies
how to hash very large files
fwiw, web devs outside of deno have been feeling this pain as well https://lists.w3.org/Archives/Public/public-webcrypto/2016Nov/0000.html
15 replies
how to hash very large files
I think heres the crux of it. I can make a very simple function that hashes my file chunkwise, appending files as I go. I will have consistency within my app, because I will always hash it the same way. However, that will not be the same standard sha256 that I might get out of the linux command line, or any number of tools. I need to reimplement the standard sha256 hash algorithm for chunks, which is going to take a bit of doing
15 replies
how to hash very large files
I found this, which seems to say it cant https://github.com/w3c/webcrypto/issues/73
15 replies
what is import.meta.url on implicit version
thinking about it more...I will probably need a better solution long term, in case this code is imported from somewhere besides github or deno.land. For now at least, here is how I am managing binary releases https://github.com/andykais/sqlite-native/blob/main/src/binary_manager.ts#L52
3 replies
what is import.meta.url on implicit version
alrighty. It took some finagling, but I figured out that the hashes are sha256, so I just edited the correc file, found the hash with
sha256sum
and then edited deno.lock. It turns out that an implicit import does redirect to the latest and that latest does appear in the import.meta.url, so I can use this as a reliable way to find the version from deno.land3 replies
third party module - edit webhook subdirectory
oh snap! I was just thinking hmm itd be great if subdirectories were just encoded into the url. After fiddling with the add a module page on deno.land I see that they are! That makes much more sense. I can just edit my webhook to be
https://api.deno.land/webhook/gh/sqlite_native?subdir=src
2 replies
npm specifier import types
@.bartlomieju / @dsherret are npm types supported in 1.28? It seems like they are https://github.com/denoland/deno/issues/15960, but imports like
or
seem to still have
any
types14 replies