The Least Secure Programming Languages

· · Link

C++ code

The design, structure and syntax of a programming language can lead the average programmer into a minefield of unsuspected programming errors. Those errors lead to vulnerabilities.

But which languages are the most and least secure in the end?

To answer this question, the report compiled information from WhiteSource’s database, which aggregates information on open source vulnerabilities from sources including the National Vulnerability Database (NVD), security advisories, GitHub issue trackers, and popular open source projects issue trackers.

This TechRepublic article presents the list.

How to Use JavaScript When Creating Shortcuts

· · Link

Redditor u/keveridge put together a nice guide on how to use JavaScript when creating Shortcuts. JavaScript lets you perform complex actions that would be hard to do with regular shortcut actions.

We make use of the Safari web browser, running within the shortcut, in order to execute the JavaScript. To do so, we:

  • make an HTML file that contains our code and provides an output;

  • pass the contents of the file to Safari as a Data URL;

  • use Get Contents of Web Page to render the page provide the output to the shortcut.