HNHacker News
TopNewBestAskShowJobs

suralind

464 karma · joined August 13, 2020

https://rcwz.pl
submissionscomments
suralind··on Apple reverses course on death of Progressive Web Apps in EU
Now I'm glad I wrote that email to Tim Cook about this. Seems like the general backslash they got was so big that even Apple (which, I would add, always knows better) bent.
suralind··on A smarter CD command. Supports all major shells
zoxide is great, but I find it sometimes annoying when I have directories similarly named and it goes to the historically-more accurate directory than I wanted
suralind··on Unison Cloud
OK, maybe this is a silly question, but if a function that is written once always refer to the same hash as when it was written, how do you update functions?

For example, if I have function A that calls function B, in today's languages updating function B would just work (A will call updated function). My understanding is that updated function B (we can call it B'), would not be used.

suralind··on Ask HN: Show me your half baked project
My temporary mail service: https://instamail.dev/
suralind··on My frugal indie dev startup stack (2022)
Clearly, not, but doesn't require flipping the switch to save two bucks.
suralind··on My frugal indie dev startup stack (2022)
Have you ever considered Cloudflare R2? It's so much cheaper (no networking).
suralind··on My frugal indie dev startup stack (2022)
Talos Linux is great.
suralind··on A beginner's guide to Git version control
The scrolling is indeed terrible.
suralind··on A beginner's guide to Git version control
You may be interested in difftastic for doing diffs based on the AST. One problem with this approach is that when you have a lot of changes (tens of lines, maybe hundreds), it gets slow.

The tool is great thou, and is my default diffing tool.

suralind··on Vscode.dev: Local Development with Cloud Tools
Can anybody share resources how to setup a state of the art devcontainers locally? I've done it once per repository, but couldn't find a way to have "user" owned extensions/themes/settings automatically installed when the container starts (I'm talking about bits that each dev may want to customize).
suralind··on What dif­fer­enti­ates front-end frame­works
Served via service worker, but still Cloudflare serves it faster than my very minimalistic static blog. Perhaps it uses paid Cloudflare plan?
suralind··on Lazydocker: a lazier way to manage everything Docker
I use lazygit made by the same person and it's great.
suralind··on Gopher Wrangling: Effective error handling in Go
Do not wrap your errors like in the article. A better way to do it is to create your own error type where you can pass additional values alongside message. It means that you can actually handle the error and not just log it.
suralind··on IKEA-Oriented Development
javascript
suralind··on Firefox may soon reject Cookie prompts automatically
there's a chrome extension which I think is called "I don't care about cookies" :)
suralind··on Don't write clean code, write CRISP code
What an excellent post! What I would add though, is that you can gain some simplicity by removing abstractions (e.g. interfaces) and sometimes it's just worth it. For example, a good practice may be to abstract away all implementations and use interfaces instead, but for things like logger (which may be a bit complex to abstract depending on it's API), you may be just fine logging to some buffer instead of maintaining mocks (and in Go you'll probably make expectations what they should be called with). Focus on things that matter - if you want to check logs in your tests too, make it as effortless as it can be (e.g. use snapshots for those).
suralind··on Building GitHub with Ruby on Rails
This make so much sense, I think every company should update deps frequently and Dependabot and other services like that can help with that. It probably would be too costly to attempt what GH is doing for smaller orgs.
suralind··on Carnac: Keystroke and Mouse Visualizer
Anything like that for Mac?
suralind··on Europe drastically cut its energy consumption this winter
Somehow I don't see this, I thought that here in Poland they would react by e.g. disabling lights in storefronts where these are closed, or turn of lights in places which are not visited at night, or just turn off billboard lights to save even tiniest bits of energy. Nope, none of that happened. Instead the electricity costs skyrocketed.
suralind··on Is It Imperative to Be Declarative?
But it's also limiting, for example, you may want to run some perform an action before a resource is deleted and then you have two options: a) create your own provider that will will handle the provisioning and deprovisioning under the hood b) use provisioner (e.g. local-exec)

The first option is great if you have time and resources so create your own provider. The second option is what you're more likely to use if you are small and don't have a dedicated team. Also it's convenient if you can achieve 99% with existing providers just need to run one command, but doesn't always work (Terraform has many limitations regarding this).

suralind··on Kubernetes is hard
That's true, but I'd argue that TF is not as powerful as k8s. You could combine it with auto scaling services offered by cloud providers, but then you need to understand plugins and with k8s it often is a single value. For example, you can "add" Prometheus scraper just by adding labels. You won't have that with TF.
suralind··on Kubernetes is hard
I think it may appear so because Kubernetes promotes good practices. Do logging, do metrics, do traces. That list quickly grows and while these are good practices, there's a real cost to implement them. But I wouldn't agree that Kubernetes means building tech debt - on the contrary, if you see the tech debt, k8s makes it easier to get rid of it, but that of course takes time and if you don't do it regularly that tech debt is only gonna grow.
suralind··on Kubernetes is hard
Regarding the second part, I totally agree, either use cloud or don't. For some reason, most companies want to be cloud-agnostic and so they stay away from things that are too difficult to migrate between cloud providers.
suralind··on Kubernetes is hard
I think you could push that setup far. I'm not familiar with GCP or Cloud Run, but it probably integrates nicely with other services GCP offers (for debugging, etc.).

I'd be curious to read if anybody has that setup and what scale they have.

suralind··on Ask HN: Who wants to be hired? (March 2023)

  Location: Wrocław, Poland
  Remote: yes, preferred
  Willing to relocate: yes
  Technologies: React, TypeScript, Next.js, Go, Kubernetes, AWS, Postgres, NATS, 
  Résumé/CV: https://www.linkedin.com/in/artur-rychlewicz/
  Email: hn@rcwz.pl
I also have some DevOps experience. Resume on my LinkedIn profile, or you can email me for a PDF version.
suralind··on Gitlab to lay off 7% of staff
It's Gitlab, not GitHub tho.
suralind··on IBM to Cut About 3,900 Workers, Still Hiring in ‘Higher Growth’ Areas
I don't understand the rationale for this. Just... move people internally? There's no way a company as big as IBM can't find a way to move some people internally to some other matching positions.
suralind··on Gitpod Layoffs Announcement
It's one of the better written messages IMO. At least the CEO admits it's his mistake, not the mistake of employees.
suralind··on Ask HN: What do I do about LastPass and how do I switch?
You can export your data from LastPass and import it in e.g. 1Password. I did that ~2 years ago. No regrets.
suralind··on Ask HN: Is it okay to ask employer why the application was rejected
Ok, not that I have read the email again, it does look like an automated response.
← PreviousPage 4 of 5Next →