HN user

Rican7

344 karma
Posts19
Comments17
View on HN
github.com 2y ago

Show HN: Benchmarks of UUID bintext codecs in Go

Rican7
1pts0
github.com 2y ago

Show HN: Lieut – An opinionated, zero dependency, framework for CLI apps in Go

Rican7
3pts0
github.com 7y ago

Show HN: Conjson – A simple, functional way to transform JSON, consistently

Rican7
2pts0
github.com 8y ago

Show HN: Define – A command-line dictionary app written in Go

Rican7
22pts19
github.com 9y ago

Uber's Cherami Server Is Open Sourced

Rican7
2pts0
github.com 9y ago

Protocol Buffers v3.0.0 released

Rican7
278pts123
github.com 10y ago

Show HN: Retry – A stateless, functional way to perform actions until successful

Rican7
4pts1
github.com 10y ago

Show HN: Schemabuf – Generate a protobuf schema from a MySQL database schema

Rican7
10pts0
aws.amazon.com 10y ago

AWS Database Migration Service Is Now Generally Available

Rican7
1pts0
source.android.com 10y ago

Jack (Java Android Compiler Kit)

Rican7
2pts0
robots.thoughtbot.com 10y ago

Markoff: A Free Markdown Previewer for OS X

Rican7
5pts0
forums.aws.amazon.com 10y ago

Amazon RDS now supports MySQL 5.7

Rican7
2pts0
www-03.ibm.com 10y ago

IBM to Bring Swift to the Cloud

Rican7
52pts12
arstechnica.com 11y ago

Google’s Eddystone – a flexible, open-source iBeacon alternative

Rican7
146pts44
hashicorp.com 11y ago

Packer 0.8 released – WinRM, Windows AWS, SSH agents, SSH bastions, and more

Rican7
1pts1
twitter.com 11y ago

ES6 “shorthand properties” are just begging to create hard-to-find bugs

Rican7
3pts0
twitter.com 11y ago

GitHub teasing a new announcement

Rican7
9pts1
github.com 12y ago

Introducing Mathematician – a multi-adapter mathematics and big number library

Rican7
3pts1
github.com 12y ago

Thanking people for wishing you a happy birthday... like a programmer should

Rican7
2pts0
PostgreSQL 17 2 years ago

Wow, yea, the performance gains and new UX features (JSON_TABLE, MERGE improvements, etc) are huge here, but these really stand out to me:

PostgreSQL 17 supports using identity columns and exclusion constraints on partitioned tables.

PostgreSQL 17 also includes a built-in, platform independent, immutable collation provider that's guaranteed to be immutable and provides similar sorting semantics to the C collation except with UTF-8 encoding rather than SQL_ASCII. Using this new collation provider guarantees that your text-based queries will return the same sorted results regardless of where you run PostgreSQL.

Ha, that's such a classic HN comment.

I appreciate you taking the time to look at the source. I used this, like I do most of my side projects, as an opportunity to learn a few things.

I wanted a generic abstraction so that multiple sources could be used. Originally I didn't want or think of the need to support multiple sources, but it quickly became apparent how necessary that was when looking at the quality of free vs paid vs personal-key-required sources.

In any case, thanks for checking it out!

I was looking for a well made and reusable "retry" library, but all I could find were libraries with awkward interfaces/APIs, overuses of state/pointers, a lack of extensibility, or they'd somehow opinionate themselves towards a specific purpose (HTTP retry libraries are in a major abundance).

So, I figured I'd take a stab at creating a retry library that worked in a simple loop with functional composition that would allow for easy extensibility. I ended up writing an API that somewhat heavily used the functional option pattern described so well by Dave Cheney in his blog post: "Functional options for friendly APIs" (http://dave.cheney.net/2014/10/17/functional-options-for-fri...).

Ideally, the library's packages can be used separately, so you could use the `jitter` transformations even if you don't want to use the actual `retry` mechanism. That is why the library is split into a few packages.

Anyway, I'm curious as to what HN thinks about this library. Anything that I could definitely improve? Is there anything awkward about the API in particular? Something that I missed?

I appreciate the feedback! Thanks!

Full disclosure: I work for Robin. :)

Eventboard is one of a bunch that do tablet and analytics. They take a different approach on a few things, we build heavily for mobile and employee-facing apps and not just facilities managers.

Its not just inconsistent with other languages, its consistent with their own language.

Property types are declared before the property name, while function return types are declared after (and with a colon).

Very strange.