Jonas Sicking
Jonas Sicking
I'm not a big fan of having an explicit .unlock() function. It makes it all to easy to forget to unlock which will cause the storage area to be unusable....
The reason IDB doesn't have explicit transaction lifetime support is for the same reason mentioned in my comment above. I.e. it's too easy to screw up resulting in databases being...
The distinction is, what would the following do: ``` javascript storage.transact(function(txnStorage) { setTimeout(function() { txnStorage.set("b", 1); }, 10); return txnStorage.get("a"); }).done(displaySuccessUI); ``` would the key "b" be set to 10...
Actually, nevermind the network request part. Any asynchronous actions, no matter how quickly they perform, will be racing with the database operations. For example the .get() above might execute quickly...
I've reimplemented the AI here in rust. It's available here: https://github.com/sicking/2048-deepsearch I ended up using two tables. One to "sliding" left and one for "sliding" right. Sliding up and down...
I don't work on these things any more so I can't really provide implementation feedback. However the feature sounds sensible to me. Though sounds like we should have more than...
Yeah, I think doing this through a generic low-level "wake up a SW on a given time" API is the way to go. In part because I suspect it'll be...
The fact that you'd want to remove the notification seems like a perfect example of why a generic low-level "wake up a SW at this time" API is a good...
Yes, we definitely need this!
We aimed for a different approach with regards to lists, but in the end I think doing a list might be simpler. With regards to notifications that ask for input,...