News for hackers. Stuff that matters.

lauritzsh

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).

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.

Re:Alternatives to JSX on Monday February 25, 2019 @10:16AM (#19246175)
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.
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.
Re:Show HN: Learn and practice modern JavaScript on Friday January 04, 2019 @05:36AM (#18823057)
Not in JavaScript. \n is treated as a newline in both cases. Try it out in the console.
Re:Why Do React Hooks Rely on Call Order? on Thursday December 13, 2018 @10:55AM (#18673213)
> 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.

Re:Escaping the SPA rabbit hole with modern Rails on Sunday July 08, 2018 @10:30AM (#17483954)
OP said the primary reason was hiring -- "The primary reason stated was hiring and the secondary was build times."
Re:Railway-Oriented Programming (2015) on Monday June 18, 2018 @02:36PM (#17340548)
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.

Re:Steve Wozniak on why he is leaving Facebook [video] on Tuesday April 10, 2018 @10:28AM (#16801610)
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.
Re:Ask HN: Is Meteor.js still a thing? on Saturday November 04, 2017 @03:06PM (#15626399)
The official Redux documentation [0] mentions using RxJS with Redux. According to the docs they work great together but you might not need Redux with RxJS.

I haven't come across a project using only React and RxJS though. There is redux-observable [1] if you haven't seen yet that combines Redux and RxJS.

[0]: http://redux.js.org/docs/introduction/PriorArt.html#rxjs

[1]: https://github.com/redux-observable/redux-observable

Re:BuckleScript: An OCaml to JavaScript compiler on Sunday August 27, 2017 @08:56PM (#15113736)
How could I incrementally migrate a TypeScript React project to a BuckleScript (maybe using Reason bindings) React project using webpack? Could I easily add the bs-loader and just import BuckleScript components into my TypeScript components? Can BuckleScript share types with TypeScript or would that require an external TypeScript type definition file?

It looks very interesting and I am really missing some of the features when working with TypeScript. It could be useful if I could slowly transform the codebase from TypeScript to BuckleScript.

Re:How it feels to learn JavaScript in 2017 on Sunday August 27, 2017 @07:38AM (#15110311)
It is currently in development for Safari https://webkit.org/status/#specification-service-workers
gitflow is comparing OOP and FP. If git is C then hub is C++. I don't believe you can compare the two. hub just adds some convenient commands to git for working with GitHub.
Re:New paint colors invented by neural network on Friday May 19, 2017 @08:10AM (#14374811)
I am from Denmark; I thought this was much more common in the world. Definitely way more than being part of the eight countries to have these strict laws apparently.

Always thought it was strange you could call your child McBurger if you wanted or apparently Number 16 Bus Shelter.

I know one who got Jazz rejected even though people still plus twenty years later call her Jazz.

Re:Swift is like Kotlin on Thursday May 18, 2017 @07:59AM (#14366495)
How would you feel about

  > 1 through 3
  # [1, 2, 3]

  > 1 until 3 # or 1 to 3
  # [1, 2]
as explicit word range notation?
Re:Electron 1.0 is here on Wednesday May 11, 2016 @03:36AM (#11673302)
Re:Docker for Mac Beta Review on Tuesday April 26, 2016 @03:24AM (#11570021)
I have been really interested in giving Docker for Mac a go for a personal, open source project. lauritzsh. Thanks!
Re:Introducing the Keybase filesystem on Friday February 05, 2016 @06:34PM (#11045528)
I would like one very much, thanks! mail at lauritz dot me
Re:A Simple Way to Route with Redux on Thursday November 26, 2015 @07:01AM (#10632574)
I am curious too, really refreshing look. I would guess it's hand-drawn with something like Paper, the "smudges" reminds me of that app.

https://www.fiftythree.com/paper