sapcc/limes
View on GitHub ↗ ★ 31 Go
OpenStack-compatible quota/usage tracking service
14 mentions on Hacker News by 1 person: 0 stories, 14 comments · first 2017-04-04 · latest 2024-10-09
20082026
-
…got to be a particular mess of a Python API that led to me implementing "type veryFlexibleUint64": https://github.com/sapcc/limes/blob/9ea9d1f86383f8a5fe0fa1d1...
comment by majewsky · 2024-10-09 · in Don't let dicts spoil your code -
…for json.Marshaler if encoding is required). This is a real-world example from one of my codebases: https://github.com/sapcc/limes/blob/d833228e976ac1ddc4b95779...
comment by majewsky · 2021-04-25 · in Green vs. Brown Programming Languages -
…untrue. For example, these are the invocations for the test suite for one of my Go programs: https://github.com/sapcc/limes/blob/364317fa9a25065bcf9384c8... Why should I have to enter all of this manually every single time? (And before you…
comment by majewsky · 2019-12-10 · in Using Makefile(s) for Go -
…sent as strings and others as integers in the same JSON. So what? Just use a veryFlexibleUint64: https://github.com/sapcc/limes/blob/d51ecdbb763318da146b9f32... ;)
comment by majewsky · 2019-02-19 · in Why I Prefer Dynamic Typing Over Static Typing (2017) -
…that run in completely separate DBs. With SQLite, the test suite runs through in 1 second: $ time go test github.com/sapcc/limes/... | grep -v 'no test files' ok github.com/sapcc/limes 0.004s ok github.com/sapcc/limes/pkg/api 0.515s ok…
comment by majewsky · 2019-01-24 · in Why We Chose Rails to Build Gitlab -
…API. Representative example from my own code that has to deal with it: the veryFlexibleUint64. https://github.com/sapcc/limes/blob/dac0e2019ed2a6006585c2a3...
comment by majewsky · 2018-07-19 · in The Java type system is broken -
…For my app that uses Postgres, I wrote some extra code to do that. Feel free to copy if you like: https://github.com/sapcc/limes/blob/ab4245a8f195672b808f990f...
comment by majewsky · 2018-02-16 · in Ask HN: Which stack do you use at your startup? -
…I always feel like I know more SQL than the people who designed the ORM. [1] For example: https://github.com/sapcc/limes/blob/ab4245a8f195672b808f990f...
comment by majewsky · 2018-02-16 · in Ask HN: Which stack do you use at your startup? -
…and 2. a longer explanation of the how and why in one or two paragraphs. Representative example: https://github.com/sapcc/limes/tree/master/README.md
comment by majewsky · 2017-11-03 · in Yes, but what does your startup do? -
…the build rule, which is why % does not need to show up in the prerequisites list.) Examples from https://github.com/sapcc/limes/blob/62e07b430e2019a6c1891443...
comment by majewsky · 2017-08-21 · in A Tutorial on Portable Makefiles -
> Make's syntax is quite simple. I'll just leave this here: https://github.com/sapcc/limes/blob/62e07b430e2019a6c1891443... (then used in line 42)
comment by majewsky · 2017-08-18 · in Afraid of Makefiles? Don't be -
…rewrite from Postgres to SQLite syntax [2]. [1] https://godoc.org/github.com/majewsky/sqlproxy [2] https://github.com/sapcc/limes/blob/205f9980a41d75fc0315e0ac...
comment by majewsky · 2017-06-21 · in What the heck is a parser-combinator? -
…JSON-emitting RESTy API, and my JSON serialization layer is two functions for a total of 20 limes: https://github.com/sapcc/limes/blob/0735bd6de4e49f900ab8d97a... (ignore the unrelated function inbetween; I cannot select non-contiguous…
comment by majewsky · 2017-05-19 · in The State of Go – Where we are in May 2017 -
I'm implementing a quota and usage tracking service for OpenStack: https://github.com/sapcc/limes We already have something like that in our own OpenStack web dashboard, but it's a crude hack in many ways, so I'm now splitting it out into…
comment by majewsky · 2017-04-04 · in Ask HN: What are you working on?