Better HN
topnewbestaskshowjobs
Log inSign up

protoduction

864 karma · joined Nov 10, 2014 (12y ago) · 178 submissions

https://guido.io, e-mail me at me@guido.io.

Co-founder and CTO of https://friendlycaptcha.com.

Github: https://github.com/gzuidhof

Submissions

91.

Show HN: Magic Login – Passwordless login and transactional emails as a service(magiclogin.net ↗)

1 points · by protoduction · 5y ago · discuss

comment 5y ago · link · parent

It's just a landing page you are looking at for which I wanted to put down some numbers. The product [1] is very much pay-per-use (per e-mail sent), so the number shown here is more of a minimum monthly charge.

That said, I will probably double that number (and the included usage) prior to launching.

I expect there is a large difference in the quality of your users whether it's actually free or it's $4 per month.

[1]: https://magiclogin.net

comment 5y ago · link · parent

Interesting article, and I think we (I'm the author of the submission) may both be right to some degree. I wrote the article with an small/indie SaaS business in mind, which often targeting other small-medium businesses and developers where the goal is not necessarily to become market leader.

The intent was to say in a convoluted way: focus on those that value your business, and in particular focus on paying customers (the higher the better). In general it's better to have fewer customers that pay more and pamper them.

If you have millions of users the story is very different of course.

comment 5y ago · link · parent

Hi, author of the page here. I didn't expect this to end up so high on HN.

You're right that there is a place for free plans, the article I wrote is probably too one-sided. I planned on adding an extra section near the end for some cases when a free plan does make sense (I will wait until it is no longer discussed here).

Other than the "influencer" angle you mentioned, it also makes sense for products where you can offer the first X units for free, and many will have the desire for more (2 free designs for a website builder, or the first 10 levels free in a video game).

95.

Don't Offer a Free Plan(nofreeplan.com ↗)

540 points · by protoduction · 5y ago · 221 comments

96.

Don't Offer a Free Plan(nofreeplan.com ↗)

2 points · by protoduction · 5y ago · discuss

comment 5y ago · link · parent

So it depends a bit on what you are hosting, but a real concern for myself at least is the value that free users bring to your service.

I'm not talking about the costs of running your service to support them, but everything else. A part of your free userbase will expect the world for free and start demanding more, and as they outnumber your paid users by so much it can just be a huge distraction. The question is how many of these free users will convert to paying users?

I personally add a free tier to my products because I want to make the tool accessible to hobby and other small projects without a budget, but it's probably not a good business decision.

Something I've been considering: charge some small one-time payment, say $10, for a lifetime 'try-out' plan. Then when they want to upgrade to a subscription you give them that $10 as a discount for their subscription. It may filter those users that will never upgrade anyway.

comment 5y ago · link · parent

I don't think that's fair, the author is not selling anything - they took the effort to put together a good resource for others to use and are sharing it for free.

comment 5y ago · link · parent

Merry Christmas, and to those who don't celebrate Christmas I hope you also have a wonderful time and are able to take a break from work.

comment 5y ago · link · parent

The pricing is listed on the website, but it's about 10-20% of that. You would pay around 0.50 per 1000 emails. Depending on how often your users sign in and how long you keep them logged in for the the percentage may be lower or higher.

Not offering SAML/SSO/OIDC etc simplifies the problem a lot allowing me to offer it cheaply. The largest cost is sending the e-mails reliably, for which I am wrapping Amazon SES.

comment 5y ago · link · parent

You can extend this idea to include a one time code in the email that can be manually typed on another device.

Including a QR code of the link also helps.

comment 5y ago · link · parent

The base idea is the same yes, but the pricing and featureset are different.

Magic.link is venture funded with steep pricing per user. This makes sense for their enterprise target market, but for a hobby project I can't remotely afford it. They keep a record for you of your users, in my product that's your own responsibility (which imo is a good thing).

tldr: What I'm building is simpler, and much more affordable, but not enterprise-feature complete.

comment 5y ago · link · parent

I'm toying with the idea of building this as a service (I made a landing page last week [0]), but I'm not sure enough would pay for the convenience of having this as a service. The service would handle token generation, verification, and e-mail sending through an API.

[0]: https://magiclogin.net

comment 5y ago · link · parent

I realize this may bring in a few dollars per month for the domain owners, but do these websites provide any real value?

If you are scraping the content from the web anyhow the user would be better off going to the original source, or a moderated environment like Reddit I would say?

comment 6y ago · link · parent

I've been embracing Cloudflare workers for more and more small websites and APIs, so much so that I ended up writing a small Koa/Express-like framework for it to make it more similar to 'normal' Node/Deno development [0]. Currently working on a starter template [1].

Cloudflare Pages sounds like a competitor to Netlify/Vercel mostly - paired with Workers it makes it very compelling. Slowly it's becoming a one-stop shop for me for small-medium projects that don't require any real compute.

[0]: https://github.com/gzuidhof/sunder [1]: https://github.com/gzuidhof/sunder-worker-template

106.

Show HN: Sunder – A framework for Cloudflare Workers with strictly typed routes(guido.io ↗)

1 points · by protoduction · 6y ago · discuss

comment 6y ago · link · parent

You can give Starboard Notebook [0] a shot (a tool I'm building). It doesn't have reactivity which is as powerful as Observable - it's closer to normal web programming.

Here's an example notebook that shows p5.js use (with Python interop as a bonus): https://starboard.gg/nb/n3DYopT

It supports local or self-hosted editing and viewing [1] and is all open source.

[0]: https://starboard.gg [1]: https://github.com/gzuidhof/starboard-notebook and https://github.com/gzuidhof/starboard-cli

comment 6y ago · link · parent

Have you considered something like Discourse[0] for this usecase, or are you looking for something more minimal? I'm trying to understand the usecase better.

[0]: https://www.discourse.org/

comment 6y ago · link · parent

It's not perfect, and you are right about the downsides. These resources that spammers have can be applied as easily to re/hcaptcha (either through ML or clickfarms). No CAPTCHA will actually lock out targeted attacks.

The difficulty increase per IP can be seen as a form of soft rate limiting, it's shared between all websites (which is where it's different from ordinary rate limiting). In the future we may use IP reputation lists to guide the initial difficulty too - but we haven't implemented that yet.

I think that no perfect captcha can exist, which is inherent to the problem. Proof of work makes different fradeoffs, and perhaps it is cheaper to attack still - I think it's a much more friendly solution for users though (accessibility, privacy, simplicity, fairness, UX).

Maybe in the future the solution would be something like this: a long PoW-based captcha that runs in the background as well as a vision task for the user, whichever gets solved first.

comment 6y ago · link · parent

You're right that there is an electricity cost to solving this type of captcha - the same as there is an electricity cost to loading 2MB of JS+images and clicking the pictures with the fire hydrants (and the infrastructure behind that). It's hard to estimate how they compare (and what value you assign to the human labor performed and privacy loss).

20 seconds would be a fairly high difficulty. It's up to the site owner to decide what makes sense for them.

If anybody comes up with a useful computational task with a small bundle size that can be verified cheaply that would be the holy grail - until then the computation is only there as a form of hashcash.

comment 6y ago · link · parent

We don't disable the service if a protected site goes over their limit.

Right now we manually look at the limits and are reasonable with overages - also we can see how many captchas were unsolved.

comment 6y ago · link · parent

You can change this behavior of the widget (data-start="auto" instead of default data-start="focus"), or you can start it programmatically.

The reason you wouldn't always want to start it in the background is if the user may not intend to submit the form (perhaps it's a form that is in your footer of every page and only a small percentage of users intend on sending it). Starting it on focus of the form is a good default.

comment 6y ago · link · parent

That's not good, could you maybe provide more details in the Github repo [0]? The widget is open source, hopefully we can figure out what is blocking it here.

We test the captcha in browsers up to 8 years old and on many devices, do you perhaps have background workers disabled entirely? Here is a link to the widget on its own [1], does that have the same behavior? How about a minimal worker example [2]?

[0]: https://github.com/FriendlyCaptcha/friendly-challenge [1]: https://unpkg.com/friendly-challenge@0.6.1/index.html [2]: https://jsfiddle.net/christopheviau/90syrp0q/

comment 6y ago · link · parent

Judging by the downvotes (despite answering the question truthfully), I see it's not a good way to present ourselves, and frankly we don't have to make that claim. It's hard to estimate the real percentage, our customers are happy but measuring what is no longer there is tricky in the real world.

I will change the wording on the website and remove the percentage.

comment 6y ago · link · parent

Everybody gets the same difficulty initially which you determine as a site admin, so one should base this on their audience (e.g. Gitlab would have a different device profile from a government website).

The solving can be a few times slower on a low end device which you should keep in mind. To aid with this when setting the difficulty for your website it shows you an estimate for various device types. This is indeed a downside of PoW approaches.

There is one factor that helps: you can start solving as soon as the form loads, so as the user enters their details/comment it can start solving - I have a hunch that people on mobile devices are inherently slower at entering their data which should help a bit..

Anyway - if you set the difficulty quite high and the solving takes 30 seconds, it takes the user 15 seconds to enter the form - the user would still have to wait 15 seconds. That's not very different from the time to solve image captchas (it's actually lower and doesn't come with a 2MB payload download which isn't great on phones either, and they can keep their privacy + sanity). You could give the user something to do that makes sense for your website (ask them for feedback?).

comment 6y ago · link · parent

Admittedly it's not calculated so it may be a stretch, it's based on the assumption that the vast majority of spam out there just looks for forms to submit without smarts (which is also why honeypots can be pretty effective, especially if you have a small website that nobody will take the effort to work around it.)

I've seen people report that they have reduced spam to near nothing already with just a honeypot, but of course I can't verify those claims.

comment 6y ago · link · parent

I built an alternative[0] that takes a proof of work approach. As a site owner you set the difficulty that makes sense for you: so perhaps you would want 20 seconds of computation before you can submit. The nice thing is that this can happen entirely in the background while the user fills in the form.

Also with multiple requests from the same IP in a short timespan, the difficulty increases.

There are downsides to to any captcha, but in my opinion make a much better tradeoff. Accessibility and privacy are respected, and there are no annoying tasks.

[0]: https://friendlycaptcha.com

comment 6y ago · link · parent

* I'm not planning on shutting it down at any point, the cost to operate it is very low (it's just a bunch of static files at its core). But I am personally also always weary to put stuff in online services, that's why I made it all open source: other than observable actually all the pieces are there (including editor and offline support), not just runtime/parser. You can download the files and check them into git, and edit them, and host them trivially. There's no "download all" button yet but if there's a demand for that why not :)

* Private notebooks make a lot of sense, and perhaps this is where it can be a viable product as well instead of just a useful open source tool? I have plenty of runway, but still it would be more sustainable if it could eventuallu pay my rent.. Similar to the (old) github model I mean (pay for team features / private notebooks you can share with some) with some reasonable limits? My main goal right now is to raise awareness for it. I think many many web developers especially would find the notebook paradigm really useful, but how do I show that?

* A lot of stuff.. auto save, I store every revision but currently you only can retrieve the latest, social features (e.g. recent notebooks, avatars), actual documentation (in notebooks of course).

If you have ideas or thoughts on where I should take this, do reach out! Email in my profile.

comment 6y ago · link · parent

I think one of the main reasons was the lack of dynamic import support until fairly recently [0], being able to import code dynamically without crazy <script> hacks is very useful in a notebook. The tools you mentioned all pre-date that I think.

Secondly notebooks have to run sandboxed. Most notebooks run the output/code in an iframe but the editor is in the main window (e.g. JSFiddle). The moment you do that you can no longer support notebook style output (cell-output-cell-output) without some serialization step as you can only embed the iframe in one place (so there would be a single output pane). This is also how Project Iodide worked [1].

Starboard's approach is to put the entire editor/runtime in the sandbox which I think is a superior approach for a notebook. It only talks to the outside frame over a thin API (for saving notebooks, refreshing, syncing the content).

[0]: https://caniuse.com/es6-module-dynamic-import [1]: https://alpha.iodide.io/

comment 6y ago · link · parent

Well, you need at least two for something like this.

For sandboxing user content they need to be on their own origin, otherwise by opening the wrong notebook your account could be taken over. Ideally you also have a unique origin per user as well, as otherwise they would share LocalStorage and cookies. So here every user gets <username>.notebook.host for their notebooks (in the future I might completely randomly generate it instead). This is also the domain used for static embedding.

starboard.gg is used as the main entrypoint: it is just a static website (SPA-like). And the APIs are hosted on starboardapi.com. Those two could technically be combined.

And finally there's another one.. starboardproxy.com which acts as a CORS proxy for use in notebooks.

123456