Hacker Newsnew | past | comments | ask | show | jobs | submit | lauritzsh's commentslogin

Your project is a bit similar to mine and I am very curious about how you use Blockstack.

I have been hosting a CouchDB instance myself on a VPN but considered moving to Firebase while prototyping since it seems easier to use. Considering Firebase since it offers offline-first support. However, only today I was made aware of Blockstack and I have seen it mentioned multiple places.

How do you like working with Blockstack and what made you choose it? Does your app work offline? Does it synchronize automatically between devices?

I also want to take data privacy very seriously, since I am dealing with personal and sensitive data (just like a person's journal is very sensitive to them).


Blockstack is very easy to get started with and provide user authentication and encrypted data storage out of the box.

About offline-mode, I am about to implement it by my side as this feature is not part of the Blockstack SDK for now.

I am happy that you are taking data privacy very seriously and I guess Blockstack is a good solution to go.


Does anyone have experience using Fulcro just for frontend (no backend)? I have been considering it versus Reagent and Rum for building a heavy client-side app that doesn't need a server (nothing to store in a database, local storage is fine). At some point I might add users for data sync between client and server but I don't plan to do SSR for SEO purposes at least.

What I am curious about is if I use Fulcro, will I write a lot more code to do the same as in Reagent/Rum because it's supposed to play well with a backend that's (for now) non-existent? Does it provide better tools for client-side state management compared to Rum/Reagent (+ re-frame)?

Right now I am using just Rum with its built-in cursors and derived atoms and the experience is okay. I did try DataScript but ended up just with a simple atom for now.


I think Fulcro would shine for your client-side state management use-case: http://book.fulcrologic.com/#_the_secret_sauce_normalizing_t...

Please also see the links from my reply elsewhere in this thread: https://news.ycombinator.com/item?id=19522998

I am exploring using Fulcro remotes to persist data locally using https://github.com/replikativ/datahike (and sync via https://github.com/replikativ/replikativ)


I haven't looked much into lit-html but is it possible to type check your templates like you can do with JSX? That is one big advantage I found for JSX compared to template-based frameworks.


All components, expressions, etc are in template curlies `${}` so type checking works out of the box. If you mean type checking on HTML properties, no it does not.

Lit HTML seems very extensible, so it should be possible to add support for thus.


It's possible. There's a VS Code extension that does this already called lit-plugin. If it becomes easier to add TypeScript compiler plugins via configuration, then I'm sure one will appear, allowing errors at build time.


This really depends on definitions of strong and weak and this might be another point but C could be considered a static and weak language. Not sure of any other language like this.


Not in JavaScript. \n is treated as a newline in both cases. Try it out in the console.


> That being said, I intend to replace reagent soon with just raw React + a few helpers

Do you intend to keep using ClojureScript or use JavaScript/TypeScript? I read pure React with ClojureScript is rather painful (mostly due to the props conversion but maybe that's what your helpers are for?)

I am asking since I am still considering between React (JS/TS) and Reagent/Rum (CLJS) for a side project of mine.


OP said the primary reason was hiring -- "The primary reason stated was hiring and the secondary was build times."


These sounds like exceptions rather than errors to me. Difference being, exceptions truly are exceptional and not anticipated; like running out of memory. How do you even handle that? Would probably let it crash and restart (Erlang model). Errors is something you anticipate can happen, such as getting 4xx-5xx back from the server and know what to do in those cases.

Then it's fair to say that you definitely can't get an error by adding two numbers.


> How do you even handle that?

You request a smaller block of memory? Not everyone is always requesting the minimum they need right now.

> Would probably let it crash and restart (Erlang model)

The Erlang model is to let a partial failure trigger a less complex part of the system to resume that logic based on a strategy.

> Then it's fair to say that you definitely can't get an error by adding two numbers.

I mean, you can also accept garbage back, I guess?


Each YouTube channel also has an RSS feed you can subscribe to. That way you don't tell Google who you are.

  1. Go to any YouTube channel you wish to subscribe to (such as youtube.com/user/YouTube).
  2. View source.
  3. Search for rssUrl or channel_id.
There should be a link to an ordinary RSS feed you can use with any reader. Hope this is useful for you.


Thanks for this! I am pretty fed up with the subscriptions dashboard in YouTube since they introduced posts.


Brilliant! Thank you.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: