News for hackers. Stuff that matters.
Re:I'm not burned out, I'm pissed off by finnthehuman on Wednesday November 27, 2019 @10:08AM (#21648438)
I'm a recovering security guy.

When I listen to security people rant, I can see their points and it's a bit of fun, I like a good rant. But I get the impression that they're continuously discovering new and exciting ways that individual facets of individual pieces of software (and the processes around them) suck. All without ever accepting that the entirety of the software ecosystem sucks (and that they're rarely moving the needle on that front).

All software and the internet combined is a giant ball of mud that just grows and grows as more people add onto it. There's no architecture more than the strict minimum to keep the whole thing from falling apart the moment someone breaths too heavily near it. And that's not even including when commercial interests keep trying to design their chunks of the mudball in unique ways that make themselves more money at the cost of everyone else's chunk getting more complex.

Like everyone else adding mud, security wants to get in, hit their requirements, and get out. I just don't like the chip on their shoulder that nobody else is doing enough to fix the system throughout in a way that helps them achieve their goals with the least fuss.

Re:I'm not burned out, I'm pissed off by platz on Wednesday November 27, 2019 @11:45AM (#21649448)
Not really security, but regarding software in general, Mud is one of the reasons I gravitated torwards pure FP languages. It doesn't solve everything, but the added guarantees help shift some of the cognitive burden away from having to dig into every method to have to see what's going on, and I can spend that mental budget elsewhere.
Re:I'm not burned out, I'm pissed off by TheFiend7 on Wednesday November 27, 2019 @01:31PM (#21650547)
Maybe FP forces some degree of added conformity to the code. But I find code maintenance and readability has more to do with the person writing it than the tool they used IMHO.

FYI I am in fact an FP fan, and I use FP principles in a large amount of my code. But I've seen some seriously convoluted and confusing FP code just like I've seen behemoths of objects with twisted internal state manipulation balancing on blind assumptions and false guarantees of order.

Re:I'm not burned out, I'm pissed off by FpUser on Wednesday November 27, 2019 @04:52PM (#21652515)
This reminds me that "but think of the children" mantra. From my observation programmers often tend to justify / promote their languages/tools/etc under pretense of solving security problems.
Re:I'm not burned out, I'm pissed off by platz on Wednesday November 27, 2019 @05:37PM (#21652860)
"Not really security"
Re:I'm not burned out, I'm pissed off by MrBuddyCasino on Wednesday November 27, 2019 @11:26AM (#21649239)
> and that they're rarely moving the needle on that front

This is key. They're not the ones pushing to replace C/C++, even though you'd think that would logically follow. In that way, infosec is the DEA of IT.

Re:I'm not burned out, I'm pissed off by quantumfoam on Thursday November 28, 2019 @04:36PM (#21660339)
I'm supplying a +1 for this comment because it's hilarious to think of our industry as useless as the DEA.
Re:I'm not burned out, I'm pissed off by dehrmann on Wednesday November 27, 2019 @11:24AM (#21649208)
> I get the impression that they're continuously discovering new and exciting ways that individual facets of individual pieces of software (and the processes around them) suck

As a software engineer, I think this is my experience at every job I've had around systems in general.

Re:I'm not burned out, I'm pissed off by sowbug on Wednesday November 27, 2019 @12:44PM (#21650079)
<OT>

As a person sometimes overly distracted by grammar, I would like to thank you for using the "As a [description of subject], [subject] [rest of sentence]" construction correctly. Getting this wrong, which is called a "dangling modifier" error, is common. Examples from today's front-page HN discussions:

As a new (1 year) coder starting out at 39 years old, this sounds very similar to the path I envision for myself.

As another former Googler, yes, searching the entire monorepo was a frequent occurrence.

Corrected:

As a new (1 year) coder starting out at 39 years old, I envision a very similar to the path for myself.

I'm another former Googler. Yes, searching the entire monorepo was a frequent occurrence.

</OT>

Re:I'm not burned out, I'm pissed off by greedo on Wednesday November 27, 2019 @12:53PM (#21650185)
If you're going to pedant, at least fix your first "correction" so that it includes its subject.
Re:I'm not burned out, I'm pissed off by sowbug on Wednesday November 27, 2019 @08:16PM (#21653867)
Ha! You got me. Poor editing. Please delete "to the" in the corrected example.

(or maybe I was just adhering to Muphry's law https://en.wikipedia.org/wiki/Muphry%27s_law.)

Re:I'm not burned out, I'm pissed off by YeGoblynQueenne on Wednesday November 27, 2019 @01:19PM (#21650405)
I read the examples of dangling modifiers you give as assuming "Speaking" at the start of the sentence. So, e.g. "Speaking as a new (1 year) coder ... this sounds very similar...".
Re:I'm not burned out, I'm pissed off by sowbug on Wednesday November 27, 2019 @10:12PM (#21654328)
That's still a dangling modifier, because "this" is the subject of the sentence, and "speaking" doesn't modify "this"; rather, it's meant to modify an "I" that's not in the sentence.
Re:I'm not burned out, I'm pissed off by ckrailo on Wednesday November 27, 2019 @07:48PM (#21653737)
Would_you_like_to_know_more.gif?

https://en.wikipedia.org/wiki/Dangling_modifier

(I found this mildly interesting!)

Re:I'm not burned out, I'm pissed off by frogpelt on Wednesday November 27, 2019 @01:32PM (#21650553)
As a fellow Hacker News commenter, thanks for pointing this out.
Re:I'm not burned out, I'm pissed off by lidHanteyk on Wednesday November 27, 2019 @12:08PM (#21649672)
There is a paper on "balls of mud" that I feel is essential reading for our discipline. http://www.laputan.org/mud/
Re:I'm not burned out, I'm pissed off by tanseydavid on Wednesday November 27, 2019 @03:35PM (#21651829)
Thank you for reminding of this paper.

It is fascinating to me that the content (written 20 years ago) reads like an up-to-the-minute description of the madness of IT today.

The continual repetition of anti-patterns is so widespread and commonplace that it is clear to me that expediency will almost always win-out against any engineering prudence.

Expediency gets assigned highest priority -- typically without any real reasoning. The negative effects accrue slowly but consistently -- and correcting for the shortcoming gets consistently more difficult.

The condition is then self-perpetuating.

Re:I'm not burned out, I'm pissed off by Asooka on Wednesday November 27, 2019 @10:31AM (#21648660)
I don't understand what "accept" is meant to mean here. If we accept that everything sucks, the only thing left to do is leave the field, since it will always suck no matter what we do. If we try to make it better, then we're not accepting that it sucks. I think there is a better way to phrase what you mean.
Re:I'm not burned out, I'm pissed off by majormajor on Wednesday November 27, 2019 @01:30PM (#21650526)
Leaving the field won't help, the whole damn world sucks.

You have to accept that there's no perfect alternative out there, you won't tomorrow magically find a system with no flaws, and system design is hard because the world is constantly changing and you don't have perfect information. If you just chase "something better" because you can't accept things, you'll continue to be disappointed.

Once you accept it, you can start trying to make your little corner of the world better. Not perfect, but better. It's more satisfying than shouting into the void.

Re:I'm not burned out, I'm pissed off by finnthehuman on Wednesday November 27, 2019 @01:44PM (#21650677)
Thank you. I think I sounded too pessimistic in the grandparent post but you saw where I was coming from.

There's always more work to do. On almost everything. As a former co-worker liked to say: If it wasn't hard, they wouldn't pay us to do it.

Re:I'm not burned out, I'm pissed off by Aeolun on Wednesday November 27, 2019 @11:01AM (#21648955)
You kind of need to accept that it sucks for you to want to make it better.

If you thought it was already perfect there would be no reason to.

Re:I'm not burned out, I'm pissed off by rhizome on Wednesday November 27, 2019 @01:16PM (#21650377)
The problem is interpreting what "it" means when someone says "it sucks." All software and the internet, like GP uses it? I don't think that's a fruitful line of thinking.
Re:I'm not burned out, I'm pissed off by Aeolun on Wednesday November 27, 2019 @07:13PM (#21653526)
From experience I know it’s not all, but very close to 99%
Re:I'm not burned out, I'm pissed off by mike_max on Wednesday November 27, 2019 @01:18PM (#21650396)
you can acknowledge that it sucks, refuse to accept it and try to make it better
Re:I'm not burned out, I'm pissed off by rymohr on Wednesday November 27, 2019 @12:09PM (#21649689)
I hate when I see people throwing in the towel like this.

As a two developer company with four separate products doing nearly $500k in ARR collectively, Kumu [1] is a living example that it doesn’t have to be this way.

We rely heavily on bash, docker and cloudformation.

We only use Ubuntu LTS and we lag a release behind so there are plenty of tutorials available when it comes time to upgrade.

After experimenting with backbone, coffee script, flow, vue and multiple redux libraries we’ve settled on rewriting everything in typescript and developing our own thin redux abstraction.

Embrace new tech that makes developers’ lives easier while hopefully making things more secure too.

I get it if that’s not possible in large enterprise companies, but please don’t throw all software under the bus. Software is and will always be fun and there are still fun companies to work for if you’re willing to take a little risk.

[1]: https://kumu.io

Re:I'm not burned out, I'm pissed off by finnthehuman on Wednesday November 27, 2019 @01:22PM (#21650449)
I'm a bad writer. I'm not trying to throw in the towel, say software can't be fun, or that useful products can't be built within the status quo.

I can look at the product I develop and rattle off an impressive list of capabilities, talk about how well it is designed, say why it's the best product for the job on the market and talk about successes in the field. But I can also look at it and see a laundry list of design flaws, architectural limitations and unrealized enhancements that may never get time on the schedule.

The second side of the fence exists, and security people inherently spend a lot of time there. Spend enough time there and you see how the system that is the sum of all software is a mess. I'm not even saying it's a bad thing, just that it's the inescapable reality.

Your architecture is like swimming in a school of fish. By moving with the group you benefit from the successes of the group. Ubuntu, docker, typescript and delivering your product as webapp brings a lot of benefits in featureset, maintenance and training that come at a reduced cost. For the same reasons I also prefer to use as much popular off-the-shelf tooling as possible and stick to familiar designs wherever possible.

You're probably doing better than most. But even with all that benefit, the components of your system are fraught with defects and limitations that in a perfect world would already be solved problems. Both in the stack you use and your own software. And you make it work despite that. Great. That's not my point.

Re:I'm not burned out, I'm pissed off by tanseydavid on Wednesday November 27, 2019 @03:48PM (#21651958)
Your writing is just fine.

To me, most of the critical comments seem to miss the point that your frustration centers around the foolishness of trying "go as fast as possible" while at the same time "your shoelaces are tied together."

Re:I'm not burned out, I'm pissed off by rymohr on Wednesday November 27, 2019 @01:57PM (#21650812)
Not a bad writer at all. And I think all the problems you describe do exist. I'm just saying keep your head up and look too the bright side.

Be happy that you have a job that compensates you well, aligns with your values, is flexible to your personal needs, allows you to grow professionally, and enables you to reach for the goals you've set while you're here on earth.

And if that doesn't describe your job, please quit and come work with us or any other company that respects you as a human being first and a sysadmin second. Life's too short to do otherwise.

Re:I'm not burned out, I'm pissed off by cyphar on Wednesday November 27, 2019 @07:57PM (#21653772)
Docker has its own security nightmares and mis-designs -- for instance, are you using user namespaces? With LXC and LXD user namespaces are the default (and unlike Docker's design, they can use different ID mappings which blocks inter-container attacks). There are plenty of other missteps I can think of.

(I am a maintainer of runc and have contributed to Docker for a long time, as well as collaborated with the LXC folks.)

Re:I'm not burned out, I'm pissed off by psanford on Wednesday November 27, 2019 @11:53PM (#21654667)
I love lxc/lxd. Its really a shame that there is little to no interest by the lxd team in supporting the oci container format.
Re:I'm not burned out, I'm pissed off by cyphar on Thursday November 28, 2019 @02:32AM (#21655318)
I assume you're referring to the OCI image format (not the runtime spec). This is because the OCI image format doesn't quite meet what they want for LXD -- in particular the whole layering design that OCI uses (which was inherited from Docker) is simply wrong for them. In fact there is a strong argument that the layering design doesn't even match what OCI really wants (it effectively embeds an optimisation for "docker build" into the storage format).

I am actually working on improving the current state of OCI images[1] by using a snapshot-based tree structure -- which will also solve many problems we have in OCI that are independent from LXD. But it is possible that the LXD folks would be more interested if the OCI format more closely matched what they need.

Though it should be noted that LXC has had an OCI template for several years now[2] (and it actually uses a tool I wrote -- umoci -- to extract the OCI image).

[1]: https://www.youtube.com/watch?v=bbTxdzbjv7I [2]: https://github.com/lxc/lxc/blob/lxc-3.2.1/templates/lxc-oci....

Re:I'm not burned out, I'm pissed off by psanford on Thursday November 28, 2019 @04:24PM (#21660286)
Yeah I am aware of the oci-template. I was mostly thinking of discussions like this[1] where Stéphane says there are no plans to support anything like that in LXD.

I find the distinction between "system containers" and "application containers" to be a bit arbitrary from a technical perspective. What does it matter what I'm running as PID 1? I find both system containers and application containers to be useful.

It seems like LXD would see larger adoption if it were easy to run docker container images directly (built into the LXD tooling).

[1]: https://discuss.linuxcontainers.org/t/using-oci-templates-in...