Ask HN: What projects are you working on now?
809 pointsWith the quarantine being placed in effect in a lot of cities across the world, we all likely have a little bit more time to focus on personal projects or learning something new from the comfort of our homes. What are you guys up to these days?
Comments (1,237) 697 threads
Earlier commentsI've been recoding my HTML5 library from scratch[1]. Most of the work is done - I'm now onto the fun documentation bit[2].
Something I'm particularly proud of achieving in the recode? Dynamically responsive bendy images in the web browser - with added animation capability![3]
[1] Scrawl-canvas v8 code base - https://github.com/KaliedaRik/Scrawl-canvas/tree/v8-alpha [2] Scrawl-canvas v8 code documentation (incomplete) - https://github.com/KaliedaRik/Scrawl-canvas/tree/v8-alpha/do... [3] Youtube video showing dynamically responsive bendy images in the web browser - https://www.youtube.com/watch?v=LebxNhVWyOQ&t=3s
Can scrawl-canvas run in a Web Worker and render to an Offscreen Canvas? You'd lose integration with DOM events for interactivity, but you'd be able to perform image processing in a background thread and not block the main renderer thread so that UI elements are responsive.
The majority of the code runs in the main thread; filters use a web worker. OffscreenCanvas currently has less than 70% support (caniuse says), so most of the work is done in regular canvas elements which are created but not added to the DOM, then copied over to the DOM canvas once per RequestAnimationFrame tick
[1] https://www.frontiersin.org/articles/10.3389/frai.2020.00003...
https://arxiv.org/abs/1803.03635
Some pruning methods have recently been added in the latest feature release of PyTorch.
Another difference with the LT hypothesis is that the pruning there is very specific to neural networks.
Thanks!
Lottery tickets on the other hand are configurations of weights that rival the full network in performance when both are trained from scratch, with the ticket having far fewer parameters to optimize. Pruning is only the method to find the tickets for now, but the ideal would be to have a weight init strategy that can create winning tickets in one-shot. There is work being done on this front, and also to see if winning tickets for one image classification task generalize to image classification as a whole. This would do a lot to reduce the size of networks from the start, and so far results are promising.
But yes, this is all very specific to neural networks. Do you have a blog or other place where you post about some of the things you’re working on? It would be nice to read about.
Continue this thread — 1 reply
Someone nerd-sniped me and I added in the ability to record a video as well. Technically, you could use it to do quick 5-10 minute drawing/narrated lessons and export them for educational purposes.
Site: https://joeblau.com/doodle/
Source: https://github.com/joeblau/doodle
AppStore: https://itunes.apple.com/app/id1503601939
PencilKit — which provides all of the UI for drawing and selecting drawing tools.
ReplayKit - which is designed for games but, I'm using it to just record the whole screen.
There is really not that much code outside of just calling into those frameworks which is what allowed me to make this in such a short time. If these types of libraries exist on Android, I could probably create something, but I'm not super familiar with Android's library ecosystem.
It has native support for all commonly used data types, so you don't need to artificially specify custom encodings just to get your data across.
It's a twin text / binary format, where the text format can be transparently converted to the binary format, and vice versa. This means that you can use the binary format for storage and communication, and only convert to/from the text format when humans get involved.
I'm currently building a reference implementation in go [2], which is now running faster than the JSON codec in my experimental branch [3].
[1] https://github.com/kstenerud/concise-encoding#concise-encodi...
[2] https://github.com/kstenerud/go-cbe
[3] https://github.com/kstenerud/go-cbe/tree/new-implementation
All comments shown.
Couldn't load more comments. Check your connection and try again.