News for hackers. Stuff that matters.

kodebrew

Show HN: Rust Library to atomically swap a reference counted pointer (Arc)

https://github.com/colinjfw/arc-atomic

I created this library as an alternative to a commonly used solution in the rust ecosystem called 'arc-swap' https://docs.rs/arc-swap/. I figured this could be done with a simpler and (depending on the use-case) more performant mechanism for swapping out an Arc.

( Read More... | no comments | 2 points | on HN )
Re:Show HN: A Webpack replacement written in Go on Sunday February 23, 2020 @02:45PM (#22399057)
Shortcomings are listed quite clearly in the README.
Re:Show HN: A Webpack replacement written in Go on Sunday February 23, 2020 @01:59PM (#22398759)
Found myself wanting to build something like for a long time. Pretty much every time I work on any sort of significantly sized Javascript project I'm frustrated with the speed and fragility of the tools.

This isn't a replacement for webpack yet as it doesn't have a full featureset.

Re:A new way to review pull requests on GitHub on Monday December 30, 2019 @12:54AM (#21911129)
Ever struggled reviewing a large pull request in GitHub? PRHero is an open source alternative UI for reviewing pull requests.

I'm playing around with a lot of ideas here, feedback welcome.

Re:Show HN: A better way to review pull requests on Saturday December 28, 2019 @08:11PM (#21903113)
Huh interesting. I do agree that this is also a problem for me.

Would it follow naturally from just being able to see the files that are affected? I'll look at the model file first and then move onto the controller file for example.

Re:Show HN: A better way to review pull requests on Friday December 27, 2019 @08:59PM (#21896531)
It should handle large PR's quite well. It probably doesn't right now but that's more a function of the code being hacky.

I think the problem with the GitHub UI is you have so much scrolling that it's a large amount for the browser to try and paint out and for a user to parse through. Since this is only showing a diff on a file at a time it's not subject to that issue.

Understand what "cost" means to an economist.

To understand cost in economics you'll learn topics like externalities (positive and negative) as well as internalities and their meaning. You'll dive into concepts like opportunity cost as well as fixed vs sunk costs.

Once you get at truly what cost means to an economist you will be so much better informed in making business and personal decisions. In my line of work (software development) so many products and daily decisions hit the sunk cost fallacy of wanting to hang onto projects we are in love with. Other ideas like negative externalities really are the underpinning of understanding why climate change is out of control.

Cost is always oversimplified. Spending some time to understand it deeply and learn the concepts and common language is incredibly valuable.

Ask HN: What are your biggest pain points working with Kubernetes?

I've worked with Kubernetes at a small startup now and we've had some challenges with it. Wiring up a deployment pipeline and figuring out how to work effectively with Helm took us some time. We also had to invest a lot more than we expected in working with other developers to teach Kubernetes concepts. It really, in hindsight, was probably overkill for our use case.What are some of the biggest...

( Read More... | no comments | on HN )
Re:Ask HN: What are the gaps in current infrastructure software? on Wednesday October 02, 2019 @12:47AM (#21133508)
Yep usability. Some sort of common patterns for all of these tools.
Re:Ask HN: What are the gaps in current infrastructure software? on Wednesday October 02, 2019 @12:46AM (#21133505)
I've found deploying to all these new infrastructure tools is a big gap. I've been open sourcing a tool https://deliverybot.dev that I built internally at my current org.

Older »