Live data from Hacker News

Viewing profile — marcuswestin

marcuswestin

HN member
Joined
Mon, Jun 28, 2010, 7:06 PM UTC
HN karma
433
Public activity
108 items

About marcuswestin

http://marcuswest.in

[ my public key: https://keybase.io/marcuswestin; my proof: https://keybase.io/marcuswestin/sigs/WYXCFq2ZdmUKksmgntn6sK9Gmb90IVwNjVvHo-N_eEA ]

Recent public activity

  1. comment
    Comment #47030540

    “Please study the material on https://modern-css.com/ and write a skill.md and an AGENTS.md that succinctly utilizes all the content” Or maybe even! “ https://modern-css.com/ is ve…

  2. story
    Tell HN: Ask your AI, "What can you tell me that you know about me?" to see ...

    ... to get an interesting glimpse into what they know about you already. At least, I did. I then followed up with: "That’s fascinating, thank you. Please tell me more things that y…

  3. comment
    Comment #42710046

    Soundboks 4 sync wirelessly with each other. They’re also battery driven and absurdly loud, so perfect for bringing outdoors or a dance party somewhere. They just had a 30% sale fo…

  4. comment
    Comment #15158995

    - Deep Work - Sapiens

  5. comment
    Comment #13757428

    Store.js is here to make life easier for all web devs, beginners and pros :) I've concluded that adding an async API in addition to the sync one for access to the more powerful sto…

  6. comment
    Comment #13757394

    Bonus points for best use case on the page :))) Eclectic as it is, I think we should totally consider making it a plugin/storage! If you open an issue with links to the relevant ma…

  7. comment
    Comment #13756083

    Totally! I created an issue to pull this info together: https://github.com/marcuswestin/store.js/issues/189 Check back in coming days for more details. Store.js will soon have plug…

  8. comment
    Comment #13755718

    I'm genuinely interested in supporting all use cases! If you create an issue at https://github.com/marcuswestin/store.js and describe your use case in more detail we'll figure out …

  9. comment
    Comment #13755076

    I created an issue to investigate viability and usefulness :) https://github.com/marcuswestin/store.js/issues/193

  10. comment
    Comment #13755058

    Except when a value has already been stored previously without JSON.stringify (in which case JSON.parse will throw), or you need a default value if unset (e.g `store.get('username'…

  11. comment
    Comment #13755016

    On the other hand, synchronous interfaces tend to be less error prone and simpler to work with (and more enjoyable...? :) There is an active issue to add the async indexdb/websql s…

  12. comment
    Comment #13754567

    I think something like store.js ends up being genuinely useful for anyone building functionality that depends on localStorage. More often than not you find yourself either having t…

  13. comment
    Comment #13753815

    Yes, simpleStorage is good too! I believe store.js addresses all the use cases of simpleStorage, and then some (E.g Safari private mode, etc). If that's not the case I will make it…

  14. comment
    Comment #13753768

    Thank you :)

  15. comment
    Comment #13753765

    Hey, I'm not sure what an angular2 version would look like or do. Could you please open an issue with a more detailed description of what you need? I'll help if I can! Cheers

  16. comment
    Comment #13753758

    Created issue: https://github.com/marcuswestin/store.js/issues/183 Will tackle a bit down the road.

  17. comment
    Comment #13753738

    Let's create a plugin that automatically does compression!

  18. comment
    Comment #13753724

    I believe syncing could live in a plugin! Would you be up for creating an issue and quickly describing your requirements? I'm genuinely interested in supporting every real use case…

  19. comment
    Comment #13753713

    Duh, of course! Sorry, 3am and not too sharp in the nut at the time :) I'm genuinely interested in supporting every needed use case. Off the top of my head, I could see e.g get ret…

  20. comment
    Comment #13753692

    Duh, of course! Sorry, 3am and not too sharp in the nut at the time :) I'm genuinely interested in supporting every needed use case - would you be up for creating an issue? Either …

  21. comment
    Comment #13753673

    That's really nice to read :) thanks!

  22. comment
    Comment #13753661

    Hi! Allowing users to add the plugin behavior they want is the whole idea, so let's do it :) Could you please open an issue? If you include a short snippet with the rationale for w…

  23. comment
    Comment #13752095

    You can back it with any storage you want :) See https://github.com/marcuswestin/store.js#write-your-own-stor... for a quick explanation of how you'd do that.

  24. comment
    Comment #13752089

    Almost! Except if you want to store objects/arrays/numbers (localStorage only supports strings), or want your site to work in Safari Private mode (where localStorage breaks), or if…

  25. comment