Better HN
topnewbestaskshowjobs
Log inSign up

codegangsta

158 karma · joined Jul 22, 2013 (13y ago) · 80 submissions

Submissions

31.

Screencast: Getting Started with NATS(rethink.synadia.com ↗)

5 points · by codegangsta · 4y ago · 2 comments

comment 4y ago · link · parent

I'm loving where the WASM world is going, and really do see something like NATS totally simplify the WASM/serverless use case in so many ways. Thanks for sharing!

comment 4y ago · link · parent

disclosure: I work at Synadia

We do have a hosted version of NATS called NGS that is multi-cloud, multi-geo and is really easy to set up https://synadia.com/ngs

comment 4y ago · link · parent

I think NATS is an excellent, and very easy to run and deploy. Pretty much has a "just works" attribute I like to assign to boring technology

comment 4y ago · link · parent

I think that’s what the OP is getting at though. Writing can be really fun, but we like to play mind tricks on ourselves and inevitably make it harder

comment 4y ago · link · parent

I generally agree with this. I think the rust community is one of the first to wholly embrace wasm as a compile target, hence what you are seeing. But Wasm does for sure go beyond rust and has some very interesting implications for for future of development IMO

comment 4y ago · link · parent

You now get durability on whatever subjects you want via NATS Jetstream: https://docs.nats.io/nats-concepts/jetstream

No additional infrastructure, just enable it on the nodes you want persistence on and create a stream. Publishers don't even have to change, consumers have a great api with lots of options

comment 4y ago · link · parent

Have you tried nats.io and it’s new streaming tech, Jetstream? Night and day difference in terms of management and ease of use. In my last org I was fighting so hard against folks wanting to adopt Kafka, and then I found out about nats, total game changer

comment 4y ago · link · parent

This better explains how ruthlessly focused UI design needs to be. User Interface design needs to know the person on the other side, what their motives are and what makes them feel like they have superpowers. OpenSSL is a system. A GUI needs to bridge the gap between the system and the user, and it can’t be done in one implementation, because the types of user is super diverse. Makes the whole act of UI design increasingly challenging and fun all at the same time

comment 4y ago · link · parent

I’ve been journaling daily for the past few years and it’s been really fun to tick through each day around a year previous to observe my current state. Most of it seems trite or meaningless, but collated it feels like a meaningful picture of who I was back then — what my struggles were and how they split between the distant and close.

TLDR; I highly recommend journaling daily. It forces you to slow down and plug into feelings which is automatically a better start to your day than usual

comment 11y ago · link · parent

Yup. This is a completely different, independent course. This serves as a quick, efficient introduction to Go

comment 11y ago · link · parent

Author here. I'm super stoked to release this to the wild. I know I've gotten feedback from a few of you guys and I am super appreciative of the great community we got here! My hope is that this video course will be a great resource for people wanting to get into Go.

As always, this course has the signature codegangsta quality and some other nice features from the Kajabi platform.

If you have any friends that are interested in learning Go this way let me know! I'm always interested in finding great ways to get people excited about the language!

43.

Essential Go: A Screencast from the Author of Martini and Negroni(screencasts.codegangsta.io ↗)

15 points · by codegangsta · 11y ago · 3 comments

comment 12y ago · link · parent

Great idea. Added an issue https://github.com/codegangsta/web-development-in-go/issues/...

comment 12y ago · link · parent

Thanks for the feedback guys! The book is still a work in progress. It started as curriculum for the workshop I gave a couple days ago at DotGo. The plan is to continue making it awesome and to make the examples more complete.

comment 12y ago · link · parent

I'm really excited to get these screencasts out the door. I'm also interested in episode suggestions from you guys who are either using Go or wanting to learn Go.

47.

Go Screencasts by codegangsta are Coming Soon(screencasts.codegangsta.io ↗)

19 points · by codegangsta · 12y ago · 5 comments

comment 12y ago · link · parent

Looks neat. Very I think it was a smart choice to pick an existing HTTP router. Like was mentioned above, the name was unfortunately used beforehand. https://github.com/codegangsta/gin

comment 12y ago · link · parent

Thanks for the positive feedback guys!

The Go community overall has made me a better developer, and I'm so excited to see where the community takes the language in the next couple years!

comment 12y ago · link · parent

Nice post Matt! I would love to see more of these eyewitness accounts of refactoring in the go community. Maybe a refactoring video should be in the works ;)

comment 12y ago · link · parent

I can't speak for Goji. But one popular open source Martini app is Gogs https://github.com/gogits/gogs

comment 12y ago · link · parent

Looks very nice. I do appreciate having more clean, well thought out web frameworks in the Go space. Type switches for your handlers is a good way to approach the net/http compatibility.

There are some people that find that Martini is a bit too magical for them, and that is completely okay. It's great to see another minimal framework that will suit their needs.

comment 12y ago · link · parent

I launched Martini with a nice clean website and a fun little video to get people excited about it. I think it had a pretty good launch.

http://martini.codegangsta.io/

and the video

https://vimeo.com/79487342

comment 12y ago · link · parent

This is very true. It is a real issue in the open source world. http://github.com/codegangsta/martini tries to pride itself on minimalism. Thankfully the modularity of the project allows me to tell people to add features via other packages and repositories. Even though the product is solid it is difficult to communicate that the project is still active without having so many commits.

This is one of the reasons that I find the Golang package management philosophy refreshing in theory. "Master should never break" really prevents feature creep from coming in and promotes the use of solid packages that aren't always being actively worked on. Of course there are some major drawbacks wrt lack of versioning in Go, but I think the philosophy there overall is a very good thing for open source development.

comment 12y ago · link · parent

Nope. I own that one :) We are working on the first few videos atm

comment 12y ago · link · parent

`go run` compiles your app already. In the case that you have multiple files in your package you will need to run `go build`

comment 12y ago · link · parent

Author here. One question I often get about Martini is how to hook it up to a database. I hope this post helps explain the Martini workflow a bit more!

comment 12y ago · link · parent

Agreed. I really like how gocraft does contexts. Very cool way to structure your app

comment 12y ago · link · parent

I find the args approach the most appealing to me. Yeah you lose some compile time safety. Like you said the other option is a global context with mutexes which still somewhat misses some compile time safety. It basically boils down to reflection over type assertions.

I think Martini handles this pretty darn well if I do say so myself ;)

comment 13y ago · link · parent

We just merged in a glob like feature for routes so you can accomplish things like route filtering or virtual servers. Eg m.Get("/hello/", ...)
123