@anderseknert@hachyderm.io
@anderseknert@hachyderm.io avatar

anderseknert

@anderseknert@hachyderm.io

Developer relations at #Styra. Cloud native security, identity and access control. All things #OpenPolicyAgent. Creator of #Regal the #Rego linter. Problems architect. 0.10X engineer. Maintainer of two kids. Based in Stockholm 🇸🇪

This profile is from a federated server and may be incomplete. Browse more on the original instance.

anderseknert, to random
@anderseknert@hachyderm.io avatar

Big tech now arguing that the platforms they’ve built can’t be held accountable for e.g. racism, as racism has been around for all of human history. Well yes, you know what else has? Nipples. Interesting how easy those were to ban, but racism? “Content moderation is just so hard!”

Get the fuck out of here.

anderseknert, to random
@anderseknert@hachyderm.io avatar

If you don’t want advertisements in your physical mailbox in Sweden, all you have to do is put a sticker or sign on it saying “No ads, please”. People carrying mail are obliged to respect that. As simple as that.

And you know, that’s how it should work on the internet too.

anderseknert, to random
@anderseknert@hachyderm.io avatar

Question: what's the max time that you'd find acceptable for your unit tests to run?

And I'm well aware that there's a bunch of considerations, no right answer, and so on. Just curious to learn what people think.

anderseknert, to Kubernetes
@anderseknert@hachyderm.io avatar

> The Go monorepo is the largest codebase at Uber, comprising 90 million lines of code (and growing)

Come again? The #Kubernetes project is 4 MLOC, the #Linux Kernel is 17.5 MLOC. How on earth is a fucking taxi app 22.5 times the size of Kubernetes?

https://www.uber.com/en-SE/blog/nilaway-practical-nil-panic-detection-for-go/

#Uber #Madness #golang

anderseknert, to linux
@anderseknert@hachyderm.io avatar

Any users using to manage (at least a few of their) packages? Developing on Mac myself and it feels really convenient being able to target both Mac OS and Linux using a single tool, but I have honestly no idea if anyone on Linux is using brew. Are they?

If not, what would be the best way to distribute CLI tools for Linux? My apps are mostly written in Go, so basically just a binary without dependencies.

anderseknert, to random
@anderseknert@hachyderm.io avatar

Maybe if I work really hard

Go above and beyond

Never use sick days or vacation days

The company will notice and appreciate

anderseknert, (edited ) to random
@anderseknert@hachyderm.io avatar

After you follow someone, they have this long to follow you back before you unfollow.

anderseknert, to programming
@anderseknert@hachyderm.io avatar

What's your / of choice, and why is it so? Do you use that for all tasks and languages, or do you switch between editors depending on what you're working on?

I mostly use / for large projects, and for simpler ones. But tbh, I find myself increasingly using VS Code even for projects where I'd previously would reach for IntelliJ. And their poor story around language server integrations makes them feel less relevant today than they used to be.

anderseknert, to Stockholm
@anderseknert@hachyderm.io avatar

Writing and reviewing blogs all day, but now the sun is shining over , and the weather is supposed to be crap for the rest of the week, so...

anderseknert, to random
@anderseknert@hachyderm.io avatar

Hotels will hate you for this one weird trick! But did you know there aren’t any magnetic sensors in those hotel room light switches? So if you’re only issued a single key card and would like to leave the room for a bit, while keeping your electronic equipment charging, or have someone else stay in the room — just use any card to keep the lights on.

anderseknert, to golang
@anderseknert@hachyderm.io avatar

Anyone hacking code aware of any marshaller implementation that will let me have any say in what's "pretty"? The default one is waaay to spacious for anything but the most simple of objects. I can't believe I'm coming up with nothing searching for this. Kinda hoping it's just me being a boomer with no idea about how to use the internet? Please say it's so.

anderseknert, to random
@anderseknert@hachyderm.io avatar

While there are still vocal proponents of , , & variations, it struck me today that people getting into software development now probably don’t realize how hyped those concepts were a decade-ish ago. These days they feel more like a personal preference for some than an organizational, or even team, decision.

I’d attribute some of that to the shift towards statically types languages, but also that the developer role today feels more individualistic in general.

anderseknert, to github
@anderseknert@hachyderm.io avatar

Does anyone know if #GitLab has anything similar to the "workflow commands" ( https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions ) that #GitHub has?

I'd love to integrate my linter #Regal in GitLab CI pipelines, and it would be sweet if the output could actually annotate the #Rego source code at the location of a violation.

Looking at the GitLab docs I'm thinking "no", but I'd love to be wrong about that!

anderseknert, to opensource
@anderseknert@hachyderm.io avatar

A surprisingly common mistake people do when contributing to projects is to forget the (often required) sign-off on their commit, and then close the PR only to open a new one where the sign-off is included. This isn’t needed! Next time, just:

git commit --amend --signoff
git push --force

And your signoff will be added to the commit in your PR.

anderseknert, to random
@anderseknert@hachyderm.io avatar

People still use #dropbox? Feels like a decade since I heard about it, but I'm not sure what people use instead these days. What do you all use?

anderseknert, to DuckDuckGo
@anderseknert@hachyderm.io avatar

What's everyone using to search the web these days? I've been using #DuckDuckGo for the past 5 years and I'm pretty happy with it. I do wish there was an option to block some domains from ever showing up in the results, but that would of course require having an account. Any good alternatives to consider?

anderseknert, to OpenAI
@anderseknert@hachyderm.io avatar

Someone on LinkedIn pointed out that doesn’t use an LLM for their support chat, but has instead opted to use some extremely limited decision tree. Which is both understandable, telling, and fucking hilarious.

anderseknert, to random
@anderseknert@hachyderm.io avatar

Call me old fashioned, but a pair of well placed googly eyes is still one of my favorite acts of vandalism. Used here to improve local real estate ads.

anderseknert, to OCD
@anderseknert@hachyderm.io avatar

I know it’s #OCD, but I can’t stand it when #GitHub and other sites present dates as “one week ago” or “two months ago”. Sorry but I need a DATE or better a DATETIME. You are happily presenting me commit hashes, FFS, but think I can’t handle a dates and time? Get out of here.

anderseknert, to twitter
@anderseknert@hachyderm.io avatar

Comparing my list to followers/following here to what it looked like on #Twitter, I don't see a lot of people from #India, or that region of the world, here on #Mastodon? This is a bit surprising to me. I can't remember having seen any discussions on this either, so I'd be interested to hear why people think that is, or even better, that I'm wrong!

anderseknert, to random
@anderseknert@hachyderm.io avatar

Anyone starting a side project in the holidays? I’ll take a shot a language server for #Rego myself.

#development

anderseknert, to random
@anderseknert@hachyderm.io avatar

Devs boasting about pushing to prod on a Friday afternoon isn’t indicative of robust procedures or resilient systems. More likely to indicate an unhealthy work culture.

anderseknert, to golang
@anderseknert@hachyderm.io avatar

I'll just say it — the forced "unused variable" compiler check is one of my least favorite features of . That shit is for linters to deal with.

anderseknert, to Bash
@anderseknert@hachyderm.io avatar

The only time I reach for #bash scripts these days is when I need to call a few external commands in sequence, often with a few pipes in between them. IMHO there aren’t really that many other use cases left where some more competent scripting language isn’t a better choice. OTOH, why is that (evidently very common) use case still such a chore to do in basically any other language?

anderseknert, to github
@anderseknert@hachyderm.io avatar

Unpopular #boomer #developer opinion: #GitHub actions “jobs” should only ever run the same #Make (insert your build system here) tasks or scripts that you run on your own machine. Using actions from the “marketplace” that do anything more than to fetch dependencies means you can’t easily reproduce what happens in those actions. And there is nothing* as repugnant in this field as pushing fake commits to GH in order to debug a failing action.

  • OK, about 500 other things
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines