News for hackers. Stuff that matters.

tusharsoni

> mCaptcha is basically a rate-limiter

This is a much better explanation of what it does than captcha where I expect "proof-of-human". A PoW based rate-limiter is a really interesting idea! Usually, the challenge with unauthenticated endpoints (ex. signups) is that the server has to do more work (db queries) than the client (make an http request) so it is really easy for the client to bring the server down. With PoW, we're essentially flipping that model where the client has to do more work than the server. Good work!

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @05:06PM (#31962421)
haha yeah, gotta keep the tradition going
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @04:05PM (#31961887)
Thank you! Go supports embedding static files natively [1]. Copper builds on top of it and provides the tooling to do it seamlessly for web projects.

[1]: https://pkg.go.dev/embed

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @04:03PM (#31961871)
Thank you, so much to do in this space! Bud looks great and I see we share many common goals. The dependency injection piece looks interesting. Did you build it custom or integrated an existing solution?
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @12:48PM (#31960549)
They're on top of my list to add to Copper. As soon as we get sqlite support!
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @12:42PM (#31960483)
I think that remains a very valid use case. In Copper, you can create one of those with the CLI. For example `copper create -frontend=vite:react github.com/nasa/starship` will create a react app with a JSON backed API ready to go
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @11:19AM (#31959759)
This is a good observation. One trend I'm noticing is that the "old way" (PHP, Rails, etc.) of doing things is making a comeback. Go is very well positioned for this but lacks the frameworks.

I'm hoping to add something like Phoenix to Copper. It should help with the "heavily API only side" problem. I've already added integrations for Tailwind and added some utilities on top of the templating (going to add more) to fix the lack of good templating.

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @11:07AM (#31959645)
ha, add me to that list :) I think it's fine if CLIs are optional and I've tried to do that with Copper. Of course, your initial setup will be longer without scaffolding so it's not a great first time developer experience
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @11:03AM (#31959604)
Code generation is an awesome alternate, I'm more familiar with sqlc.dev. They're doing some really interesting work.

My goal with Copper is to provide out-of-the-box integrations with popular solutions to various problems. For now, I picked GORM but I definitely see adding support for other tools.

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @11:00AM (#31959567)
Oh that's fun! In my demo video [1], I build a (minimal) HN clone so hopefully that answers your question in detail.

But the tldr is - you'll need a lot more than just templating for a production ready app. To name a few things - server, storage, migrations, logging, configs. IMO there's a huge benefit in having a batteries included toolkit that stays close to the stdlib - so you can totally keep your templates as is!

[1] https://vimeo.com/723537998

Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @10:08AM (#31959109)
Please do! If nothing else, it's definitely a fun language to learn. We're also setting up a community of folks who are learning Go/Copper. Check the project readme link for the link.
Re:Show HN: Copper – A Go framework for your projects on Saturday July 02, 2022 @10:07AM (#31959103)
It kinda does but there's a lot of boilerplate that goes in before we actually get to the app logic. And, understandably, there's no structure provided by the Go stdlib. Once I made many projects with just using stdlib, I started taking common packages out. And Copper is essentially that. I can start writing my app code with minimal setup / boilerplate.

Show HN: Copper – A Go framework for your projects

https://github.com/gocopper/copper

Hey HN! I've been working with Go for the last 5+ years at large-ish companies building products that many of you may use regularly.A ton of people say that Go's standard library is really powerful and usually enough to get by without external dependencies. I think that's true for companies that have the resources to build and maintain packages to reduce code duplication. For everyone else,...

( Read More... | 80 comments | 146 points | on HN )
Because not all cookies are regulated (such as session cookies). It would be hard for browser to tell what the cookie is for.
Can't load the page, getting too many redirects: ERR_TOO_MANY_REDIRECTS
Thank you! ListMonk looks great but I'm not sure what their future plans are so it would be hard to do a fair comparison. For DropList, the plan is to move towards email automation using drip campaigns.
Hi HN!

Author here. I work on several projects that require me to stay in touch with the customers and keep them up-to-date on new initiatives that we are taking. I have tried several marketing platforms such as Mailchimp and Sendy. However, they can be really expensive or hard to maintain/set-up.

The goal with DropList is to have an open-source [1] marketing platform that can be easily self-hosted. But, we do provide a hosted version [2] for convenience at a very low cost. Over time, I want to add features for email automation, complex segmentation, and more.

If you have suggestions or any other feedback, please leave comments here.

[1] https://github.com/tusharsoni/droplist

[2] https://droplist.email

- No good reason really. I prefer having "app" in the URL and I was already using app.autogradr.com subdomain for an older version. During the migration, I had to keep both of them running so I opted to get the new domain.

- That's a good point about the role. Surprisingly, it is not common for users to switch roles. I had punted this functionality until I would need it but even after a lot of usage, no one has requested for this feature. However, as an instructor you can get the "student" view.

Yup! Keep an eye out for it in the next week or so.

This is a Go service so it should be a lot simpler to get it running.

These are so well thought out!

It's funny you mention dropping some letters because my other project is AutoGradr :D

This is awesome! Definitely shortlisting senditall.email and droplist.

Ask HN: Suggest names for an open-source, self-hosted Mailchimp alternative?

I have a tool that I use to send email campaigns. It integrates with AWS SES and sends these emails at a fraction of the cost. I am planning to open source it in the next couple of weeks.Can this awesome community suggest some names that have available domains? I’m open to using the .email, .app, and .dev TLDs.

( Read More... | 11 comments | 8 points | on HN )

Older »