[-] Static_Rocket@lemmy.world 9 points 18 hours ago* (last edited 13 hours ago)

I find it commendable that you wrote code so horrible other libraries started throwing more errors wondering what the hell you were doing.

[-] Static_Rocket@lemmy.world 6 points 18 hours ago* (last edited 18 hours ago)
> Do you like what you've build?
Inspirational or condescending? [i/C] █
[-] Static_Rocket@lemmy.world 1 points 3 days ago

Sorry, it was, just not for exploring all of those instances at once. Should have called out the tiling function. Screen also built in a serial terminal emulator and started playing with a few other things.

[-] Static_Rocket@lemmy.world 1 points 3 days ago

Executing a command, capturing all terminal formatting and escape codes so I can do some light manipulation on leading whitespace before dumping it back to the terminal.

[-] Static_Rocket@lemmy.world 4 points 4 days ago

Tmux was purpose built for terminal multiplexing. You can assign session names for organizing and manipulating multiple instances. Send keys to and read output from detached sessions. It's easy to script.

[-] Static_Rocket@lemmy.world 6 points 4 days ago

People always sleep on script. It's badass and let's you do goofy things like this while keeping standard terminal formatting: https://github.com/StaticRocket/dotfiles/blob/043e9a56cc9515060188ec4642e4048c0dd6c000/dot_bashrc#L79-L94

[-] Static_Rocket@lemmy.world 14 points 4 days ago

I'd recommend tmux for that particular use. Screen has a lot of extras that are interesting but don't really follow the GNU mentality of "do one thing and do it well."

[-] Static_Rocket@lemmy.world 5 points 4 days ago* (last edited 4 days ago)

+1 to caddy. There are some services that set safe headers following the recommendations outlined by Mozilla but others don't control headers as strictly. Caddy is the only web server that I found that supports loose default header values. These values will be selected unless the upstream application specifies their own values.

You can do something similar in nginx but it requires playing with maps and has a little more indirection than I'd like.

Just wish caddy was capable of starting as root and stepping down permissions like Nginx. I have certs being managed by other tools and have to make sure they are installed and chowned for caddy's use when they are cycled.

[-] Static_Rocket@lemmy.world 3 points 4 days ago

I assumed from the start that they were purposefully holding back promo codes, or scraping them from users and holding the affected sites ransom (in a sense). "We'll stop serving this cupon if you become a member." Scummy, but ultimately still slightly beneficial to the end user, a Robbin Hood crime. (Ignoring the people who work with genuinely good companies to get discount codes for things like student projects. Unrecognized casualties.)

It's the affiliate link stealing that's become the source of outcry. That was more stealthy and essentially flipped the script. Now everyone publicly in support of it is being burned.

If you were never involved in it, it really is just funny to see how quickly a corporate Robin Hood figure can flip sides. It's not like we haven't seen numerous examples before, some of them literally taking the namesake.

[-] Static_Rocket@lemmy.world 120 points 6 months ago* (last edited 6 months ago)

I was working at a company at one point that got a contract to build something I viewed equivalent to malware. Immediately I brought it up to several higher-ups that this was not something I was willing to do. One of them brought up the argument "If we don't do it someone else will."

This mentality scares the shit out of me, but it explains a lot of horrible things in the industry.

Believing in that mentality is worse than the reality of the situation. At least if you say no there's a chance it doesn't happen or it gets passed to someone worse than you. If you say yes then not only are you complicit, you are actively enforcing that gloomy mentality for other engineers. Just say no.

[-] Static_Rocket@lemmy.world 118 points 11 months ago

significant economic harm to our company

Oh! I have a solution! Make it a local API you fucking goofs.

[-] Static_Rocket@lemmy.world 177 points 1 year ago

0.0.0.0/0 0::0/0

You didn't specify it couldn't be in CIDR block notation...

view more: next ›

Static_Rocket

joined 2 years ago