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

Andrew from TakeShape here! The primary author of this library. We tired a number of different form libraries before settling on writing our own. You can check out a full talk I gave on ShapeForm (https://www.youtube.com/watch?v=iplY8Le1zK0) or you can just read my slides (https://shape-form-talk.netlify.com/) from the talk.

ShapeForm has several nice features that make it perfect for our use case, and may yours:

JSON Schema validation - Easily share the same form validation frontend and backend

️ Fast - Pure components for fast rendering even with large forms

Redux / Standalone state management - Choose your own adventure

Custom widgets - Widgets are simply React components

Form reducers - Useful for async validation, data normalization, the sky's the limit.

If you find ShapeForm useful or want to make it more useful I'd love for you to contribute to the project!


Oi! Thanks for this. Really great work. Forms and Data tables are two major sore points for me in react land. I've been wanting to see something with json schema other than the mozilla project (which as you said, has weird dependencies).

Any reason for not building around react-final-form as a basis? So far, I've found that one to be my favorite. Zero dependencies and tiny (especially compared with the alternatives).

https://github.com/final-form/react-final-form

I couldn't easily find a demo of your stuff, but one thing they've really gotten right is the renders for field updates...

https://final-form.org/docs/react-final-form/examples/subscr...


What is a high level example of why I'd use this?


Hi! I work on Vector. For a motivating example, let's say you have an application fronted by nginx. Using Vector would allow you to ingest your nginx logs off disk, parse them, expose status code and response time distributions to prometheus, and store the parsed logs as JSON on S3.

There are obviously plenty of ways to accomplish that same thing today, but we believe Vector is somewhat unique in allowing you to do it with one tool, without touching your application code or nginx config, and with enough performance to handle serious workloads. And Vector is far from done! There's a ton more we're working to add moving forward (thinking about observability data from an ETL and stream processing perspective should give you a rough idea).


Our company uses Splunk. I am not on admin/ops side so possibly missing details. The way I understand is that there is Splunk forwarder running on our app servers. And then there is Splunk server URL from there I get consolidated logs in browser where I can search and run many other statistical function.

So is Vector like Splunk forwarder or more than that?


Vector can act as a Splunk forwarder, but is designed to be much more flexible.

In addition to forwarding to more storage systems (S3, Elasticsearch, syslog, etc), Vector can do things like sampling logs, parsing them, and aggregating them into metrics. Depending on your needs, this makes it easier to reduce your Splunk volume and reduce costs, transition to something like an ELK stack, etc.

We're also working to build up the metrics side of Vector's capabilities. In a way, you can think of Vector as a stream processing system for observability data, capable of feeding into a variety of storage backends.


Thanks. This is all very interesting. I should try it on our app servers.


Thanks for your interest! And please feel free to get in touch if you have any questions or feel there are things we could do to better support your use case: https://vector.dev/community/


This project has a really pretty website to go along with it, which includes a section on Use Cases: https://docs.vector.dev/use-cases


This is why TakeShape also provides a built-in static site generator[0] using Nunjucks templating (think Django, Twig, Swig, etc). If you are trying to build a simple site this is a great option. The great part of a Headless CMS is that you can choose whatever frontend you want and your solution can evolve with your product.

(Full disclosure I'm a Co-Founder of TakeShape)

[0] https://www.takeshape.io/docs/quickstart/


Fixed! Thanks for bringing this to our attention.


abstinence is the best form of cyber-security


What happens when the honeymoon phase with your VC backers is over?


Seriously though, you should read "Lost and Founder"[0] by Rand Fishkin of Moz for some insight on what's in store. VC's expect very high multiples on their return 10x is not even close, even small seed funds look for 40x+. That said I am not totally convinced of either model something like TinySeed[1] looks like a step in the right direction. At the end of the day it's about the fit for your business you're not going to escape burnout based on how you are funded.

[0] https://www.goodreads.com/book/show/35957156-lost-and-founde... [1] https://tinyseedfund.com


You're right on the 10x being low asprouse, I probably shouldn't have included that.

Agree Tiny Seed looks interesting, I actually recommended someone that earlier this afternoon. Great to see new takes on funding businesses and I'm excited to see what it can unlock for those who need a little boost but don't want to chase the unicorn.

Lost and founder is already on my Audible wishlist, expect to get to it in the next month after finishing Scott Belsky's Messy Middle.[0]

https://www.amazon.com/Messy-Middle-Finding-Through-Hardest/...


New medium post, s/bootstrap/VC/g, and back to bootstrapping.


:%s/bootstrap/VCNew/g

:%s/VC/bootstrap/g

:%s/VCNew/VC/g


"Why I switched sides: from bootstrapNewping to bootstrap"


Haha! Yes, indeed. A UUID would be better :b


It gets messy. As are all startups to one extent or another. You ride out the highs and lows and keep moving forwards. I wasn't trying to say that going the VC route is necessarily easier or better (I hope I made that clear), just that there are different upsides and downsides to each, one isn't objectively better than the other.

More on the messy parts: https://www.amazon.com/Messy-Middle-Finding-Through-Hardest/...


The sixers are to blame for these missteps!


Very cool. I have a bunch of code to parse the info param in various projects. Glad you took the time to publish it as a library.


Thank you! Hope it would be helpful.


What happens when there is a power or ISP outage?


Email has several retries. Something like 6hr, 1day, 2days... After that the sender receives a delivery error.

All that is managed by the SMTP servers and the numbers change, but normally just losing internet connection or power for some hours doesnt make emails dissapear. By design.


You don't have independent redundant internet connections and reliable backup power at your home?


I suspect everyone here has at least multiple redundant internet connections if they have a cell phone.


While I have a cellphone, and can and do use it as a hotspot, I wouldn't exactly say it could provide a fallback connection for a server in my home, because it usually spends a significant part of the day out of WiFi reach of my home.


Redundant internet connections? Oh, come on!


MTAs will retry delivery for up to a week. There are other options for more advanced usage though, e.g. one can configure multiple mail servers with different priorities, `the helm` having the highest priority and if it's down a MTA would try the next mail server which could be just a forwarder like mailgun.


They have a sort of FAQ on their shop page that provides info about this: https://thehelm.com/pages/shop

See under the question: What happens to my email if my power or Internet service goes out?


Odd that they hide their FAQ in the shop page and hidden below the fold on a 13" screen. I looked everywhere but there. You'd think you most customers would want their questions answered before buying.


Most email servers are set up to resend automatically for a while, potentially for a couple of days.


Isn't this just an iPhone SE?


I think you meant to say "Apple Watch".


It’s trying to be a phone companion, like a smart watch but in your pocket. Phones are getting bigger and bigger so this is a way to get a second screen experience without constraining that experience to a 1” screen on your wrist.

I think that’s what they are trying to do. It instantly reminds me of the memory cards of the Dreamcast.


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

Search: