HNHacker News
TopNewBestAskShowJobs

gravlaks

20 karma · joined March 6, 2015

submissionscomments
gravlaks··on GitHub Actions could be so much better
https://dagger.io/

may be an alternative. You can run it in GitHub actions somehow as well.

gravlaks··on HashiCorp adopts Business Source License
I don't know the details of BSL, but can HashiCorp now require compensation/$$$ from Spacelift, Scalr, Env0, etc? In that case, these products can be forced to offer similar pricing as Terraform Cloud.
gravlaks··on Cloud, why so difficult? (2022)
> The problem we hit is knowledge: while Terraform is not a huge knowledge hurdle to mount … it is still apparently enough. While good engineers will have no problem picking TF up, … more mediocre ones seem to struggle with it¹.

That sounds just like one of our problems too. Some engineers arent really to keen on learning it either.

But my platform team spends some time on going on 1-1 sessions where we develop new things together with them (mob programming), which gives us possibility to teach and get insights. That mitigates this problem somewhat.

gravlaks··on Cloud, why so difficult? (2022)
https://fly.io/
gravlaks··on Cloud, why so difficult? (2022)
As long as it's part of the required steps to delivering business value, it doesn't matter that much if it's application code or infrastructure (as code). Both are required, hence both are delivering business value.
gravlaks··on Cloud, why so difficult? (2022)
In my organization, we teach developers Terraform, and give them a reference Terraform setup (IaC repository) for running their apps in.

They also have broad permissions in their own, isolated AWS account.

There are some tradeoffs, but one pro is that they don't need to request permissions from a devops teams.

gravlaks··on Show HN: Instant access to ChatGPT on any Mac app
$8/mo is also much higher than one time $19 payment.

And $8/mo is only if you pre-pay one year, or else it's $10/mo.

gravlaks··on Ask HN: I've run Linux for 13 years. Is it time to switch to a Mac?
How come nobody has mentioned the endless hazzle in Linux to make multiple displays work as expected?

On most setups, I find myself lucky if _something_ doesn't go wrong when connecting my displays with a mix of USB-C and HDMI. And of course I cannot place my second screen to the right, it has to go to the left (in XFCE).

In Windows this just works, and I believe Mac is better as well.

gravlaks··on My shell setup with Fish and Tmux (2021)
Here's mine:

fisher install PatrickF1/fzf.fish fisher install urbainvaes/fzf-marks

# These two to get sdkman and nvm to work in fish, IIRC fisher install reitzig/sdkman-for-fish@v1.4.0 fisher install jorgebucaran/nvm.fish

gravlaks··on The hotel I booked online became a homeless shelter and no one told me
When flying, I will avoid using an online travel agency (OTA) as well if I can .

I booking with Gotogate.com, but the flight was canceled. Then when trying to get a refund Gotogate systematically try to stall time as much as possible. You have to call support, and are answered by people with very thick Indian accent which is impossible to understand.

Luckily I had paid with Paypal, so I could request a refund through there.

Unfortunately, when booking flights that needs connections, you have to use an OTA. If one flight is cancelled, the others should be too, which an OTA fixes.

gravlaks··on Show HN: Circumflex, browse HN in your terminal
Pretty nice!
gravlaks··on GitHub's Missing Merge Option
> having everything squashed into one commit can be annoying if the commit is too large, because it can be hard to identify why a specific change was made via git blame.

True, you can't via git blame. You can however go to the Github pull request, and look at the individual commits there. (If the the squashed commits containthes the PR/issue number.)

gravlaks··on Finishing what you start makes teams more productive and predictable
Totally agree. And so does my team. We solve this by running daily Slack-ups, i.e. just tell what you're doing on Slack, which is much, much faster.

We only use daily standups when there are new people on the team.

gravlaks··on Finishing what you start makes teams more productive and predictable
What kind of micromanagement did you experience / E.g. do you have an example?

I'm in the position where I as tech lead don't fully know if I can trust my team (yet) to do the right decisions. One of the reason is that our product is quite new, and we haven't discussed developing principles yet. And some people tend to over engineer stuff all the time. But I also don't want to micromanage.

gravlaks··on Ask HN: How do you have fun without alcohol?
I play FPS games, and I perform worse when I'm drinking, and I get sleepy. So for me it works better to stay sober. Actually I prefer to stay sober even while watching a show, because I don't like the dizzy feeling, unless if drinking socially.
gravlaks··on The Big DevOps Misunderstanding
Yeah I don't really get the hate on Kubernetes. Run it managed with EKS, GKE or similar, set it up with the needed controller (ingress, external secret, whatmpt). The development afterward is as you say straight forward.
gravlaks··on Software Development Waste
Why do you hate them? I find them very useful. Everybody gets to voice their frustrations and what works, which we can learn from and improve upon.

What if I our team has a concern that isn't mentioned in a checklist?

gravlaks··on JWT should not be your default for sessions
One reason is if you store refreshTokens in localStorage, a hacker's XSS attack can send the refreshToken to himself, and keep refresing the token forever (or until somebody actively invalidates the session) - and thus use the token for whatever evil purpose.
gravlaks··on The 15-Minute City–No Cars Required
The article is behind a paywall.
gravlaks··on Ask HN: Why isn’t finance a part of the core curriculum at schools?
Oh my god, which country is this?
gravlaks··on Ask HN: Those making over $300k/year, how did you achieve it?
Capgemini, Accenture.
gravlaks··on Angular 4.0.0 Now Available
In 2014 I used Typescript on a four month long project. I liked it alot compared to using just JS, however compiling was slow.

I retried using Typescript 1 month ago. Compiling took 6-7 seconds for about 8 files. I could not find a solution and gave up using TS. I hope that's just me doing not good enough research.

gravlaks··on Ask HN: What're the best-designed things you've ever used?
Norton Commander back in the DOS days. It was soo fast to use. Which is why I use Total Commander today.
gravlaks··on Career-Changing Programming Books
I agree. I have been programming for many years, working in the industry for four years, and have always been interested in improving with clean code, testing and whatnot.

I read the Pragmatic Programmer last year, and it was .. very boring. Most of the tips were like "doh, of course". It's a beginner's book, not for someone who have been trying to improve their code (and processes around it) already for some years.