Hacker Newsnew | past | comments | ask | show | jobs | submit | ngalaiko's commentslogin

by drift, do you mean breaking api changes? if you control the spec, do not allow that / flag them to give clients time to update. there are plenty of tools to catch that, i.e. https://quobix.com/vacuum/commands/change-detection/

By “drift” I don’t just mean breaking changes between spec versions.

I mean the spec and the live API behavior fall out of sync (often because implementation changes land first and the spec lags, or vice-versa). The first time we notice is when a real UI flow breaks and someone has to spelunk Devtools to see what the server actually returned (missing fields, nullability changes, new enum values, shape differences...)

So spec-diff tools like Vacuum help once you’re comparing two OpenAPI files, but my pain is earlierm catching “spec vs reality” from normal dev/staging usage (real accounts + data) and getting an actionable report (which operation, what mismatch, request id/response snippet) before it turns into a broken UI + an hour of debugging.


did you consider using code-generators to make sure spec and implementation are aligned?

openapi is really meant to be either generated from code, or server-code is meant to be generated from openapi spec


trunk based is the way to go, especially for small teams building web / backend services

especially combined with monorepo

amount of time people spend updating dependencies between internal services and libraries in a pursuit of semver for now reason is just absurd


Thats my situation. We're 5 devs for 5 years on a monorepo with about 50 services and worked on master without problems. Just from time to time a merge conflict. The only difficulty is to manage Release branch(es) with hotfixes. Discipline, Thinking and Working together, that's the magic source.



things people do instead of having a monorepo


my projects are for different stacks, different people. they sometimes are themselves monorepo;

the aim of check-projects is just to keep track of the work still not fully done and pushed.


What if people work in different, totally unrelated projects and thus cant have the same repo?


it’s called lobbying


can't get over the fact that this page uses

> Tactile theme by Jason Long

and the format extension is .jsonl


Does anyone find themselves accidentally mispronouncing Jason like "JSON"? It must be as annoying as mispronouncing Aaron like "A-A-Ron".

https://www.youtube.com/watch?v=Dd7FixvoKBw


It's always been odd to me that "Jason" and "JSON" didn't end up homophonous. But as an A-A-Ron, if anyone named Jason ever quotes the Key & Peele sketch at me, I'll no longer need to think about how to retort!


Within my circle of friends, all Aarons get Key & Peele's "A-A-Ron" sketch quoted to them as often as all Daves get Cheech & Chong's "Dave's Not Here" sketch quoted to them.


Wait, isn't that exactly how you say JSON??


Here’s how I’d pronounce the two:

JSON: /ˈdʒeɪˌsɒn/ (ɒ like the o in dog, and secondary stress on the “son” part)

Jason: /ˈdʒeɪsən/ (ə, schwa, like the first a in bazaar)


Jaysen- Jay-s-on


6% target for people to leave sounds very much to me like inflation targeting [1] modern economies use. i wonder if the reasoning is similar

[1]: https://en.wikipedia.org/wiki/Inflation_targeting


for me it was functional programming. and not just fp as is, but it's relation to another popular concept - oop.

i was properly introduced only to oop, and grasped a little of fp here and there, especially learning go and javascript.

what i consider a 'click' for me is when i realised that all of these paradigms are interchangeable. like, an abstract method is just a function, or a function signature is the same as in interface with a single method.

after that i write code however it feels more appropriate for the situation i am in and don't think too much about fancy words and patterns. it really feels like programming languages are becoming 'native' for me.


You should learn Haskell, that's what I'm doing now, in order to learn functional programming from the ground up. Languages like JS which have FP concepts aren't really functional programming fully.


i don't care about idealistic concepts


Not sure what is idealistic, it's a useful programming language.


why not? it seem to be svg based


a system that ranks Jazz apples as mediocre is obviously flawed


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: