Readit News logoReadit News
gravlaks commented on GitHub Actions could be so much better   blog.yossarian.net/2023/0... · Posted by u/woodruffw
andix · 2 years ago
I'm really not sure if we are using CI correctly. Sometime i think all those CI Templates should be replaced by just one executable that does everything, like a modern alternative to Makefiles (and there are a lot of build tools).

So the CI pipeline would only call the build tool, like "./build containers push-to-registry release:1.0.0 run-tests"

Those scripts can be tested and debugged everywhere. Also migrating to a different CI platform would be really easy.

gravlaks · 2 years ago
https://dagger.io/

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

gravlaks commented on HashiCorp adopts Business Source License   hashicorp.com/blog/hashic... · Posted by u/rpadovani
fishnchips · 2 years ago
Spacelift co-founder here - please don’t panic. We will make sure you can continue to use Spacelift :)
gravlaks · 2 years ago
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 commented on Cloud, why so difficult? (2022)   winglang.io/blog/2022/11/... · Posted by u/fagnerbrack
deathanatos · 3 years ago
We have a similar setup: Terraform, and the repository is open to any eng to make pull requests against.

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¹.

We don't have a "reference", as things are still changing sufficiently that it isn't clear what a reference would be. (I know sometimes people have base VMs or similar, and write TF about that; we run on k8s, so the various teams essentially don't have to worry about the host VM at all — or at least, much.)

It all comes back to engineering quality, I fear.

¹with knowledge acquisition itself; TF is not particularly unique here. In fact, I'd argue skills in knowledge acquisition is what separates good engineers from not.

gravlaks · 2 years ago
> 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 commented on Cloud, why so difficult? (2022)   winglang.io/blog/2022/11/... · Posted by u/fagnerbrack
danjac · 3 years ago
Pretty much, yes. An application developer should be able to focus on data model, business logic and user interface, and everything else at a minimum. If you are burning your available hours working on issues with your infrastructure - whether it's cloud or hosted or on-prem - that's not delivering business value.
gravlaks · 3 years ago
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 commented on Cloud, why so difficult? (2022)   winglang.io/blog/2022/11/... · Posted by u/fagnerbrack
eladbenisrael · 3 years ago
Elad here (the author). That's a very good point. If a developer decides to use `bucket.list().filter(x => x == myFile)` instead of `bucket.get(myFile)` the result will be fundamentally different both from a security perspective (e.g. `ListObjects` instead of `GetObject` on AWS), but also from a performance perspective (`list` is O(n) but `get` is O(1)).

If you think about this is primarily an issue of software engineering quality. The fact that today we are forcing the developer to go their devops team to request these permissions creates an organizational workflow that increases quality. That's why most of the teams I worked at requires code reviews.

I believe the right approach is to enable devops teams to put up boundaries and rules that will get enforced downstream (build => deployment => production). This will allow both developers and devops teams to be be more independent but still be in control.

Curious what people think about winglang's compiler plugin system as a way to help streamline these boundaries (https://www.winglang.io/docs/tools/compiler-plugins).

gravlaks · 3 years ago
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 commented on Show HN: Instant access to ChatGPT on any Mac app   atua.app... · Posted by u/yudax
mxstbr · 3 years ago
Raycast Pro[0] has this + much more built-in for $8/mo. I have Capslock + A assigned as the hotkey and have superfast AI at my fingertips. 11/10 would recommend!

(on top of Raycast being a better Alfred/Spotlight anyway)

[0]: https://www.raycast.com/pro

gravlaks · 3 years ago
$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 commented on Ask HN: I've run Linux for 13 years. Is it time to switch to a Mac?    · Posted by u/eschluntz
gravlaks · 3 years ago
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 commented on My shell setup with Fish and Tmux (2021)   milanvit.net/post/my-ulti... · Posted by u/behnamoh
artdigital · 3 years ago
Also a fish user here, but didn't find a need for Fisher yet. What packages did you install? I used it to install z but every upgrade with fisher just messed things up, so I killed it from my setup and settled on zoxide which has proper fish bindings

Now I just use fish + starship and don't mess around with packages

gravlaks · 3 years ago
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 commented on The hotel I booked online became a homeless shelter and no one told me   nytimes.com/2022/10/25/tr... · Posted by u/lxm
steelframe · 3 years ago
My elderly mother and her (also elderly) friend recently booked a place in Lyon, France using a well-known online travel agency (OTA). The taxi cab driver dumped their stuff on the sidewalk and spun out of the area as quickly as he could get away. Apparently the "accommodations" were a collection of small apartments in a bad part of town. They punched in a code to open the door and get into the hallway, only to find that there was nothing there but a bunch of doors and a staircase leading to another floor with nothing but a bunch of doors. This went up for a few stories. There apparently was no way to turn the lights on.

They had no indication as to which door they were supposed to go through or how to get through it. There was nobody in sight at the facility. After trudging up a few flights of stairs and back down again, they elected to ask some students passing by where they could find a hotel. Fortunately they were able to find a place that had a vacancy.

Then they had to fight the OTA for a refund. Fortunately they are retired and had nothing better to do all day long than call them until they finally gave a refund.

I've had a couple of really obnoxious problems with OTAs involving event tickets. In one case I bought the wrong type of Disneyland tickets. I had to purchase different tickets once I got to the park. Then trying to get a refund from the OTA was a living nightmare. After about a week of daily calls I finally reverse-engineered enough of their process of moving money between them and the park and what not to convince them to refund me for the wrong (and unused) tickets. Another time an OTA with a customer service stand at a hotel in Hawaii had worked with me for 20 minutes to book tickets for an event, and then at the very end they said, "The booking fee is $250. But we'll waive that if you attend a 1-hour sales pitch!"

My strategy these days is to use an online travel agency to learn about hotels with vacancies and events in the area and then to go directly to the hotel or event web sites to purchase. If there's no way to book except through the OTA, I'm not going to have anything to do with said hotel or event.

gravlaks · 3 years ago
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.

u/gravlaks

KarmaCake day20March 6, 2015View Original