Better HN
topnewbestaskshowjobs
Log inSign up

gouggoug

2,324 karma · joined Feb 1, 2012 (14y ago) · 450 submissions

SRE
Submissions

comment 2w ago · link · parent

What in my comment exactly are you answering to?

comment 2w ago · link · parent

Me: “is it possible to file your taxes yourself electronically?”

Them: “Yes! Use AI and paper mail them”

You can’t make that stuff up.

comment 2w ago · link · parent

I'm not entirely sure, but I think it was forms related to foreign partnerships and foreign real estate income

comment 2w ago · link · parent

I wanted to electronically file my own taxes last year instead of paying turbotax or an actual accountant.

While my situation isn't particularly complex (but complex enough that I did need help from an accountant the first times), none of the free filing services online (IRS FreeFile included) offered the more complex forms I need.

"Not a problem!" I thought. Except, even if I could download the forms from the IRS and do all the work myself, I could not for the life of me find a way to electronically submit (and had to hire my accountant again).

Is it possible in the US to electronically file your own taxes?

comment 2w ago · link · parent

What’s Conductor?

comment 3w ago · link · parent

This article is about a weekend project and not a serious product, so what I'm saying below is not criticizing the author's approach — I'm making a point about something tangential.

The post touches on my biggest pet peeves about how many software engineers currently use AI at work: they ask it to "write out a problems.md file describing the problem we want to solve" then lob the output over the fence for the rest of the engineering org to review, often times without even disclosing they used AI to generate it (it's, of course, obvious).

AI can not do the reasoning for us; thinking that because it is great at writing code that works, the same applies to documents whose primary purpose is to demonstrate critical thinking, explore trade-offs, and reason through a problem is absurd.

In fact (or IMO?), this "problems.md" document is entirely unnecessary. In many cases, simply describing the issue and providing the relevant context is enough for AI to come up with a working solution.

AI can not do critical thinking (yet), so don't ask it to (and stop sending your fellow software engineers AI-slop RFCs).

comment 1mo ago · link · parent

true — they only are immutable by convention and because the git command refuses by default to modify/push an existing tag.

comment 1mo ago · link · parent

One step further: use `git tag` for what it's for: tagging a given commit with an immutable reference (say, a version number like `v1.0.23`), and generate and publish "build artifacts" (`my-application-v1.0.23.tar.gz`, `my-application-v1.0.23` binary, `my-application-v1.0.23.tar.gz` helm chart, `my-application-v1.0.23` container image, `my-application-v1.0.23` ... whatever binary artifact)

comment 1mo ago · link · parent

> Nearly half of this year's survey respondents had experienced job insecurity and insufficient wages.

Insufficient wages, really? I understand you might be underpaid compared to your peers, but do developer really suffer from "insufficient wages"?

edit: I assumed this was US centric. It isn't. I could see insufficient wages outside the US.

comment 3mo ago · link · parent

A good reminder that satire really is an art.

comment 3mo ago · link · parent

I came here for this comment.

"A file format that corrupts itself a little every time you open it" simply isn't possible.

It's almost like the author is ragebaiting with this AI generated non-sense.

comment 4mo ago · link · parent

Because most users aren’t computer savvy and victims in a hurry probably don’t have time for a lesson.

On top of that, informing users requires them to open up the website in the first place… leaving it in… the history.

comment 5mo ago · link · parent

From the linked article, it was a press release, not just to his employees.

> The incident began Monday when ATI, which supplies graphics cards for all Apple's current models, issued a four-paragraph news release that stated its Radeon processor would be featured in three new Mac models -- none of which were announced by Apple (Nasdaq: AAPL) until CEO Steve Jobs' Wednesday morning keynote address.

comment 8mo ago · link · parent

I recently got into 3D printing and, of course, after seeing countless ads on YouTube for OnShape, that was my first choice.

Anyone having used both can share their thoughts about how solvespace and OnShape compare?

On my end I’ve been loving OnShape and find it pretty intuitive. I also tried fusion360 but closed it after 5 minutes, it felt too sluggish.

comment 9mo ago · link · parent

Let my geriatric self rephrase this for you and make the point more obvious: "[...] who just discovered [insert latest design pattern trend of your choice] and insists on trying it everywhere"

comment 9mo ago · link · parent

> Is that an easy mistake to make and a hard one to recover from, in your experience?

If you're alone in a codebase? Probably not.

In a company with many contributors of varying degrees of competence (from your new grad to your incompetent senior staff), yes.

In large repositories, without extremely diligent reviewers, it's impossible to prevent developers from creating the most convoluted anti-patterny spaghetti code, that will get copy/pasted ad nauseam across your codebase.

Terraform as a tool and HCL as a programming language leave a lot to be desire (in hindsight only, because, let's be honest, it's been a boon for automation), but their constrained nature makes it easier to reign in the zealous junior developer who just discovered OOP and insists on trying it everywhere...

comment 9mo ago · link · parent

Not an opinion on Pulumi specifically, but an opinion on using imperative programming languages for infrastructure configuration: don't do it. (This includes using things like CDKTF)

Infrastructure needs to be consistent, intuitive and reproducible. Imperative languages are too unconstrained. Particularly, they allow you to write code whose output is unpredictable (for example, it'd be easy to write code that creates a resources based on the current time of day...).

With infrastructure, you want predictability and reproducibility. You want to focus more on writing _what_ your infra should look like, less _how_ to get there.

comment 10mo ago · link · parent

I wish timoni[1] would take off.

It’s based on Cue and doesn’t rely on templating.

[1] timoni.sh

comment 10mo ago · link · parent

There’s a difference between passively listening to a meeting and actively participating, while being in the bathroom.

I would never do either. But one is less weird than the other.

comment 11mo ago · link · parent

I wonder who the target is for such language.

What's difficult with programming isn't the language itself, it's everything else: understanding concepts, algorithms, programming patterns, the science.

It feels a bit like trying to reinvent the language of mathematics. It'd be really inefficient writing math in plain English.

comment 1y ago · link · parent

This past month, I have spent a decent amount of hours (7+) trying to setup nix on my mac with nix-darwin, and failed.

Most tutorial out there encourage you to download someone else's configuration to get going. I don't want to do that. I want to understand at its core how this thing works.

I've read the official nix language documentation, watched YouTube tutorials, read 3rd party tutorials, and still couldn't get going with a simple configuration that would install a few packages.

The nix language is also really unpalatable to me. But I could deal with that if the examples out there showed a consistent way of doing things – that's not the case. It seems one same thing can be done many different ways – but I want to know and do it the right way. I would generally turn myself to the official best practices documentation, except nix' is very short and doesn't help much.

I really want to use nix. There's no question about its advantages. But nix just won't let me (or maybe I'm too old to learn new things).

That being said, I'll probably give it another try this month...

comment 1y ago · link · parent

what are you trying to say here?

comment 1y ago · link · parent

> but would fail hard if you intend to support multiple release versions of an app, which happens often in the embedded world with multiple hardware targets, or self-hosted, large enterprise apps that require qualification sign-offs.

I don't have experience in this world, indeed.

But isn't "multiple release versions of an app" just "one application, with multiple different configurations"? The application code is the same (same version), the configuration (which is external to the application) is different.

Your build system takes your application code and the configuration as input, and outputs artifacts for that specific combination of inputs.

comment 1y ago · link · parent

Branches are mutable and regularly point to a new commit. Branching is selecting an active line of development, a set of commits that change over time.

That's why git also offer tags. Tags are immutable.

That's an important distinction.

comment 1y ago · link · parent

> There's nothing inherently wrong with having per-env branches

There is when you stop thinking in terms of dev, staging and prod, and you realize that you might have thousands of different environments, all named differently.

Do you create a branch for each one of them?

Using the environment name as branch name is coupling your repository with the external infrastructure that's running your code. If that infrastructure changes, you need to change your repository. That in itself is a cue it's a bad idea to use branches this way.

Another issue with this pattern is that you can't know what's deployed at any given time in prod. Deploying the "production" branch might yield a different result 10 minutes from now, than it did 25 minutes ago. (add to the mix caching issues, and you have a great recipe for confusing and hard to debug issues)

If you use tags, which literally are meant for that, combined with semver (though not necessarily a requirement, but a strong recommendation), you decouple your code and the external environment.

You can now point your "dev" environment to "main", point staging to ">= v1.25.0" and "prod" to "v1.25.0", "dev-alice" to "v2.0.0", "dev-john" to "deadb33f".

When you deploy "v1.25.0" in prod, you _know_ it will deploy v1.25.0 and not commit deadb33f that so happened to have been merged to the "production" branch 30 seconds ago.

comment 1y ago · link · parent

> Tools are just there, it's people who misuse them.

Absolutely. And it doesn't help when people write guides actively encouraging mis-using tools

comment 1y ago · link · parent

Somewhat related...

At [company x] someone wrote a starter guide that tells developers to create a "production", "staging" and "dev" branch for any new repo. We have tons of repositories that follow this pattern.

For many of them, each branch has taken of its own life and could be considered its own completely different codebase. It's a nightmare to manage and it confuses developers on a regular basis.

Don't do this.

If you want to deploy different versions of your software in different environments, use SEMVER and git tags. Don't create 1 branch per environment...

I have since edited that starter guide and crossed out this recommendation.

comment 1y ago · link · parent

As a bilingual, non-native, English speaker, grug brain is particularly hard to read and understand.

I don’t understand what « grug » is supposed to mean for example.

That being said I still enjoy the blog.

comment 1y ago · link · parent

Since when? Where did you get this information from?
12345
15