prg318's comments

prg318 | 4 years ago | on: Korn Meets KoRN

I've worked at a shop with a lot of legacy code and a very fragile build environment. The myriad of scripts that source scripts that source other scripts to produce a working build were all written in KSH - as well as the majority of the tools to set up an environment to actually run the software. Since these scripts were intended to be sourced, adding a shebang doesn't solve the issue at all.

Fortunately, zsh can operate in ksh emulation mode [1] so I was able to leverage zsh while I was there to some extent.

The system I worked on there is still being actively used and developed today and still relies on a fragile set of ksh scripts to build and run in certain environments.

[1] https://zsh.sourceforge.io/Doc/Release/Invocation.html#Compa...

prg318 | 7 years ago | on: World of Goo Update, 10 Years Later

SDL1 can be installed alongside of SDL2. Same with GTK and Qt. I really fail to see the issue here. If a developer of a Qt4 application doesn't feel like updating to Qt5, users can still use the Qt4 version with Qt5 installed in their system. Most Linux distributions still package Qt5, Qt4, Gtk3, Gtk2, Gtk1.2, SDL1.2, SDL2...

On top of that, if a binary-only application really wanted to stand the test of time, it could statically link the libraries.

prg318 | 7 years ago | on: How to Enable Autocomplete in Mac Terminal

Lucky for you. I have really come to love zsh's sh and ksh emulation features for this very reason. I have worked in various work environments where setting up a build environment or a testing environment required sourcing ksh scripts that sourced even more ksh scripts. The majority of the engineers on these teams would "deal with" ksh for this reason but a few of the "geekier" engineers would set up zsh with ksh emulation in order to work in a more usable shell.

prg318 | 7 years ago | on: How to Enable Autocomplete in Mac Terminal

So long as you don't need to "source" any of these POSIX-compliant scripts into your environment... A shebang'd script cannot affect the environment of the parent process

prg318 | 10 years ago | on: Firefox makes click-to-activate Flash the default

Firefox is blocking the external javascript because the site is being served over https but the scripts are not. You can see this in the console:

Blocked loading mixed active content "http://examples.phaser.io/embed.php?f=arcade+physics/angle+b... [1]

HTML5 is less to blame here; the administrator of phaser.io should configure their service to serve these javascript files over HTTPS

[1] https://developer.mozilla.org/en-US/docs/Security/MixedConte...

prg318 | 12 years ago | on: Privacy Badger

Tldr: this guy doesn't like when people use tldr

Edit: oops didn't see he was a mod now his post makes more sense

page 1