Home / Companies / Cockroach Labs / Blog / July 2017

July 2017 Summaries

2 posts from Cockroach Labs

Filter
Month: Year:
Post Summaries Back to Blog
At Cockroach Labs, the role of a product designer is multifaceted, encompassing research, facilitation, and translation to ensure effective product development and communication. The design team, recently expanded, addresses the diverse responsibilities of product design, which vary significantly based on the company and individual. Product designers at Cockroach Labs not only engage in traditional design tasks but also take on research duties due to the absence of dedicated researchers, conducting user feedback sessions to inform product improvements. They act as facilitators by coordinating meetings to align stakeholders on project goals and employing design thinking to foster team creativity. Additionally, product designers serve as translators, transforming complex product requirements into accessible visual formats that convey the intended message to new audiences. These roles collectively contribute to the ongoing evolution and refinement of the product design process at Cockroach Labs, underscoring the importance of adaptable skills and team collaboration in a growing startup environment.
Jul 20, 2017 1,190 words in the original blog post.
Rounding in Go, particularly rounding float64 numbers, is a complex task that has proven difficult to implement correctly across different programming scenarios. The blog post explores various implementations of rounding in Go, revealing that many of them fail to handle special values, large inputs, and edge cases accurately. Despite numerous community suggestions, including methods like int(f + 0.5), floor + 0.5, and using strconv, most proposed solutions exhibit flaws when tested against a comprehensive set of cases. The post highlights that even well-known developers' contributions often miss the mark, underscoring the challenges posed by floating-point arithmetic. While Go's math package initially lacked a Round function due to these complexities, the decision to eventually include it in Go 1.10 reflects the need for reliable rounding mechanisms. The blog further discusses the intricacies of floating-point representation and rounding strategies, emphasizing how even subtle errors can lead to significant inaccuracies. Ultimately, it acknowledges the difficulty of achieving precise rounding in programming, a challenge not unique to Go but prevalent in many languages, including Java, which faced similar issues for years.
Jul 06, 2017 3,123 words in the original blog post.