Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marcuswestin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
marcuswestin
7mo ago
“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 very cool. Could you include
2.
▲
Tell HN: Ask your AI, "What can you tell me that you know about me?" to see ...
4 points
by
marcuswestin
8mo ago
|
3 comments
3.
▲
by
marcuswestin
2y ago
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 for the holidays though, so might not be worth getting them at
4.
▲
by
marcuswestin
9y ago
- Deep Work - Sapiens
5.
▲
by
marcuswestin
10y ago
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 storages makes total sense though! Off the top of my head
6.
▲
by
marcuswestin
10y ago
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 material I'd really appreciate that. Thanks!
7.
▲
by
marcuswestin
10y ago
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 pluggable support for localForag
8.
▲
by
marcuswestin
10y ago
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 what the right answer is. Th
9.
▲
by
marcuswestin
10y ago
I created an issue to investigate viability and usefulness :) https://github.com/marcuswestin/store.js/issues/193
10.
▲
by
marcuswestin
10y ago
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', 'anonymous')`, or ... :) But I also se
11.
▲
by
marcuswestin
10y ago
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 storages to Store.js ( https://github.com/
12.
▲
by
marcuswestin
10y ago
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 to deal with issues that store.js solves for you (E.g not bre
13.
▲
by
marcuswestin
10y ago
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 work for your use case :)
14.
▲
by
marcuswestin
10y ago
Thank you :)
15.
▲
by
marcuswestin
10y ago
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.
▲
by
marcuswestin
10y ago
Created issue: https://github.com/marcuswestin/store.js/issues/183 Will tackle a bit down the road.
17.
▲
by
marcuswestin
10y ago
Let's create a plugin that automatically does compression!
18.
▲
by
marcuswestin
10y ago
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.
▲
by
marcuswestin
10y ago
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 returning a promise in some cases, or passing an optional
20.
▲
by
marcuswestin
10y ago
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 way I'll have it in the back of my head and see wh
21.
▲
by
marcuswestin
10y ago
That's really nice to read :) thanks!
22.
▲
by
marcuswestin
10y ago
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 what and why you need it that would help guide the discu
23.
▲
by
marcuswestin
10y ago
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.
▲
by
marcuswestin
10y ago
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 you have to support legacy environments with old
25.
▲
by
marcuswestin
10y ago
I don't know when WebSQL would be better than other storage alternatives, but yes, you could easily add WebSQL storage :) The rationale behind the new architecture is to make it trivial to write new backing storages - see https:/
26.
▲
by
marcuswestin
10y ago
Store.js was originally released on HN in 2010 :) https://news.ycombinator.com/item?id=1468802 It's live on tens of thousands of websites (like cnn.com!) and has seen lots of improvements over the years. Store.js versi
27.
▲
Show HN: Store.js v2.0 – Cross-browser storage for all use cases
(github.com)
162 points
by
marcuswestin
10y ago
|
54 comments
28.
▲
by
marcuswestin
11y ago
Hi Matt :)
29.
▲
by
marcuswestin
11y ago
ASAPP - asapp.com/adventure - NYC ONSITE Reinventing human computer interaction, starting with customer service. What do the best software engineers, PhD's in Physics, Mathematics, Computer Science, and industry designers have to
30.
▲
Web's random numbers are too weak, researchers warn
(bbc.com)
1 points
by
marcuswestin
11y ago
|
0 comments
More ›