Software Developer Mega Thread

My awk is not great.

2 Likes

My only problem with bash is when people are really good at it people abuse it and start using more bash than deployment plugins and suddenly random files are being sed that you are not expecting.

I figured out a new way to pack non-extended ascii C chars into 7 bit blocks.


My previous approach had involved C structs and using the 8th leftmost bit to store the kth bit of the 8th byte for the 7 preceding it.

On a more practical note I banged out some scripts (shell for *nix, batch for Windows) that will auto generate a project directory, with subdirectories src and obj, a Makefile, and some stub C/C++ source files in src. Saves some steps when starting a new C/C++ project on the command line. *nix usage ./genproj.sh projectname, Windows cmd genproj projectname

2 Likes

There is a really great book (that is insanely relevant today) that will completely revamp your skill set with awk.

3 Likes

Thank you. I was going to ask if there was a seminal text, but got sidetracked.

1 Like

Yep, the orly books are typically fairly good.

1 Like

Just don’t get the Terraform one :stuck_out_tongue_winking_eye: (yet).

1 Like

Fucking terraform.

Every “devopsey” company ever: We don’t like using unstable programs, because stability

Also them: Uses Terraform, version 0.11.7

I would honestly rather use straight Python.

1 Like

We’re using Fabric right now.

http://www.fabfile.org/

Every “devopsey” company ever: We don’t like using unstable programs, because stability

Also them: Uses Terraform, version 0.11.7

Lmfao. Yeah. It is what it is.

Looks more like an ansible replacement to me.

1 Like

Column A, Column B. We have some people obsessed with Python and AWS Lambda, so we’re introducing things to get them more Build/Release. I used this at my last job for a bit so decided to implement it here.

1 Like

Ah, that sounds good. Not sure how I feel about lambda though. I really want to investigate the ability to get into other people’s shit from Lambda.

1 Like

My job (stupidly) gave us two options: Give devs production access or give devs AWS Lambda.

I was overridden on giving senior dev teams production access. Some aspects of this place are still in the 90s :expressionless:

A great discussion involves many voices and perspectives. Can you get anybody else involved?

@oO.o What are your thoughts? Would you rather give some devs prod or let them lose with AWS Lambda?

We don’t allow devs access to anything, except logs.

If they need to query a DB, they write the query and send it to us.

Honestly, I’d give them prod access, at least there, I’d have control over what they do to my databases.

And maybe Christmas will come early and I’ll get them to take down prod for a couple hours. From there, I’ll be able to justify “logs only” access.

3 Likes

That’s how we are too. I much prefer a third option/more gray area of giving limited teams/members access to production. Or generating a team of specialists that can write software and know the infrastructure… We’ll call them… DevOps Engineers…

At least during code freeze or off of peak season I don’t see the harm in it. But what do I know, I’m just a doc’tor.

Lmfao.

Do you have a moment to talk about The Phoenix Project? :wink:

Chaotic neutral, my friend.

lmao

1 Like

I have no idea. I support content creators/editors on a small scale, so that’s beyond my expertise.

2 Likes

So Brent? :troll:

To be fair, I prefer the term “Systems Engineer” or “Site Reliability Engineer” because DevOps is culture :troll:


Also, can’t hate on the framework I’m using at work. It caused me to buy “Fluent Python” lol. If you want to bridge the gap between writing scripts and writing software in Python, that book’ll do it :wink:

I was trying to take Discourse up on the invite to include more people :frowning:

Sounds like a badass job, though. You work for Jupiter Broadcasting?

1 Like

Hey guys. I have a question

insert that weird fox meme

Oracle now has that bullshit of charging a subscription per core/instance/whatever running java, but how about openjdk? Can we use it free of charge?

Yeah, just use openjdk. It’s not affiliated and it’s 100% free.

@oracle

image

4 Likes