Software Developer Mega Thread

I thought there was another thread than this one but apparently not.

Found this. Thought was cool.


that’s true


Seriously though I now wish I could go replace all the obnoxious || true with that


There’s a good legibility argument for || true

1 Like

So. New project, I’m dissecting ssh in hopes of providing some better auditing, access control and authentication procedures.

Initial thoughts:

  • SSH has been beautifully designed.
  • Twisted is complex.
  • hopefully this isn’t just a lot of wasted effort

For job or your own endeavors?

Kinda both. We need it at my job, but I’m going to try to release it MIT.

Since the idea was conceived during a meeting and it’s been developed mainly on company time, they might want to own the IP, but at the same time, the company is new and doesn’t have a clause in my employment contract, so I might be able to get away with owning rights, since I’m the only one who’s touched the code so far.

I’m not going to mention that I’m actually doing this until my boss asked where my productivity went and I won’t let anyone else touch the code until the ownership situation is handled.


this mofo right there built a game engine for DOS with ray-tracing from scratch…

that’s some real genious right there

EDIT: Here’s the link:


Okay, update. I wanted to have an interrupt sequence to execute commands against the software when you’re in session. Additionally, I need to have the ability to forward all keystrokes to the remote client. Given that requirement I may need to rewrite (or at the very least extend and heavily modify) the base terminal protocol.

This is turning out to be a really fun project. I think I’m gonna wait on a full rewrite and interrupt integration until I have the proxy itself working. I also want to rip the management shell commands out of the protocol class and make it fully pluggable.


Here’s the repo you wanted.

Keep an eye on it as I flesh it out more.


Sweet, thanks. I’ll have a look when I get a minute.

I finished laying the ground work last night. :slight_smile:

1 Like

Vue.js is bae <3

I’ve been playing with Clojure and Java w/Spring. I need to go to that Java Sux thread I made and apologize/eat crow >_>

There. Now to tell my wife I have proof that I don’t “never apologize”


Java jobs here in Tupiniquim Lands are abundant and well-paid, everyday I consider moving back to learn Java, but some bullshit like the way it handles linked-lists/array-lists… specially knowing about vectors in C++ and arrays in JS.

1 Like

One person just cannot do everything by themselves without a little help.

Speaking of… I’m not much of a dev, but surely this idiotic?

function include_set_faillock_option {


Meh idiotic is a bit harsh, it looks like it’s vestigial.

1 Like

This is readable right? lol

# reverse dns lookup the default gateway to find short hostname of the gateway
# lookup the ip of the gateway on the mgmt subdomain
# set the variable to the /24 of that ip
declare MGMT_NET="$(host \
  "$(host $(ip route |
        grep default | 
        awk '{ print $3 }') | 
      head -n 1 | 
      awk '{ print $NF }' | 
      cut -d "." -f 1).mgmt.$(hostname -d | 
        sed 's/^[[:alnum:]]*\.//')" |
    awk '{ print $NF }' |
    sed 's/[[:digit:]]*$//')0/24"

Look at those sexy regex (is it called like that in english? )


Yeah we call it regex and I guess it’s both singular and plural?

grep default | 
        awk '{ print $3 }'


awk '/default/ { print $3 }'