HNHacker News
TopNewBestAskShowJobs

ngalaiko

82 karma · joined August 18, 2021

meet.hn/city/57.7072326,11.9670171/Gothenburg

Socials: - bsky.app/profile/galaiko.rocks - github.com/ngalaiko - galaiko.rocks

---

submissionscomments
ngalaiko··on Track your workout from the iPhone Lock Screen
i am using a very similar app https://steady.rocks - it's great. when scrolling this page i almost thought to give it a try, but then at the end was disappointed by community thing. i don't really need this in a utility app
ngalaiko··on Show HN: HackerNows – Native iOS HN Client
great app, neat and native, but unfortunately the website still loads faster, which beats the whole purpose to me
ngalaiko··on HashiCorp co-founder says GitHub 'no longer a place for serious work'
tangled, forgejo, radicle, sourcehut - to name a few
ngalaiko··on Ask HN: How do you catch OpenAPI drift before the UI breaks?
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

ngalaiko··on Ask HN: How do you catch OpenAPI drift before the UI breaks?
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/
ngalaiko··on Trunk Based Development
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

ngalaiko··on Ask HN: Share your personal website
https://nikita.galaiko.rocks
ngalaiko··on CLI tool to check the Git status of multiple projects
things people do instead of having a monorepo
ngalaiko··on Programmer in Berlin: Culture
it’s called lobbying
ngalaiko··on Documentation for the JSON Lines text file format
can't get over the fact that this page uses

> Tactile theme by Jason Long

and the format extension is .jsonl

ngalaiko··on I worked in Amazon HR and was disgusted at what I was seeing with PIP plans
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

ngalaiko··on Ask HN: Concepts that clicked only years after you first encountered them?
i don't care about idealistic concepts
ngalaiko··on Ask HN: Concepts that clicked only years after you first encountered them?
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.

ngalaiko··on Unovis: Data visualization for React, Angular, Svelte, TypeScript, JavaScript
why not? it seem to be svg based
ngalaiko··on Apple Rankings
a system that ranks Jazz apples as mediocre is obviously flawed
ngalaiko··on Need some advice, feeling depressed about the direction of our industry
How can you write code if you don't know where and how it would be running? For me it's extremely uncomfortable to know that there are "they" who will do the "unsexy" "dirty" work to make _my_ code run.

> I've been painfully aware of spreading myself too thin trying to handle both feature development, CI/CD maintenance and DevOps-related tasks ensuring our cloud-based environments are deployed to and operate smoothly.

Reduce complexity.

ngalaiko··on Need some advice, feeling depressed about the direction of our industry
> As a code developer ... You don't have to deal with infra or packaging/deployment

This is false (and wrong). As a software engineer, you must understand and own what you do end-to-end, including:

* how to write your code

* software/hardware that your code relies on (databases, k8s, aws, whatever)

* protocols your software uses for communication

* 3rd party libraries that your software depends on

* how to build and deploy your software and environment for it (bare metal, clouds, mobile app stores - whatever necessary)

* setup testing + write tests for all of the above

* setup monitoring + monitor all of the above

at any company, at any scale.

ngalaiko··on Why I Don't Like Golang (2016)
another person who can’t get over his java stockholm syndrome in three (!) years

one particular thing that tells that is the attitude to interfaces:

while in java (and most languages) interfaces are used to tell which contracts a class implements, in go it’s reversed. you must declare interfaces to _require_ certain contracts, for arguments in your functions

for example:

type interface Operator { Operate(int, int) int }

func IntOparation(a, b int, op Operator) int { return op.Operate(a, b) }

this is a major difference highlighting the ownership boundaries: * when I write a package and rely on a 3rd party contract, instead of referencing it and adhering to it, I will copy-paste parts that I need to my package and be independent

ngalaiko··on GitHub Is Down Again
do you think this is incorrect https://www.githubstatus.com/history?
ngalaiko··on Ask HN: Is GitHub Down?
yes from sweden
ngalaiko··on Ask HN: Share your personal site
great domain name!
ngalaiko··on Ask HN: Share your personal site
https://galaiko.rocks

landing page doesn't have links, but the website contains some low quality blog posts that receive some traffic via google

it's a hugo website hosted on cloudflare pages. I've also made sure it looks ok without css and js

ngalaiko··on Hacking sum types with Go generics
sure. but usage of generics in go is heavily discouraged both by best practices and by the api

generics however are more available to an average gopher

i believe that such availability will eventually produce a go version of spring, or a typescript-like type system, or something even worse

ngalaiko··on Hacking sum types with Go generics
well, here it comes...

introducing generics was a mistake. give it a couple of years and golang would be indistinguishable from java