Recent submissions

Comment · 6 years ago
see https://github.com/FastCGI-Archives

where you will be able to find FastCGI Developer's Kit sources and documentations

Comment · 6 years ago
see here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/e...

plenty of basic examples with execv, execve, execvp, etc.

if the execv() call succeed then it completely replaces the program running in the process that calls it

you can do plenty of tricks with that ;)

Comment · 6 years ago
what if you need to distribute a .deb containing binaries that target other operating system ?

example: I got a tool that allow from any Windows/macOS/Linux to package a runtime+script to any Windows/macOS/Linux

the Windows .exe can not be compiled from sources under Linux, so this particular runtime can never be distributed on Debian official?

Comment · 6 years ago
moving from CGi to FastCGI is pretty easy
Comment · 6 years ago
Comment · 6 years ago
Comment · 6 years ago
> The closest thing we had for ES4, was probably Flash Actionscript 3.

No.

Flash = a browser plugin

ActionScript 3 = a programming language

ActionScript 3 can run in other runtimes than just Flash

Adobe AIR is another runtime, target desktop (Windows, macOS) and mobile (iOS, Android).

Redtamarin is yet another runtime (based on the avmplus) target the command-line and server-side (Windows, macOS, Linux).

Comment · 6 years ago
And yet a good part of ES4 been realistically implemented in ActionScript 3 and used by many developers for over a decade.

And those namespaces in AS3 (much simpler than in ES4) I think are quite a good idea, they allow to control what is visible or not and/or to switch which implementation you use.

For example when some AS3 builtins do not support some methods defined later in ES5.1 then ES6 etc.

    ES5 function trim():String
    ES6 function repeat(count:Number):String
So yeah you not gonna use namespaces everyday for everything, but they do have allow to solve specific problems while "programming in the large".
Comment · 6 years ago
Comment · 6 years ago
WebAssembly not gonna give you access to syscall that are simply not there in the Web API
Comment · 6 years ago
well that very same attack vector aka "visiting a web site" is what everyone had against Flash

how convenient to consider that "pretty slim" now

Comment · 6 years ago
Comment · 6 years ago
Yep, I use Google Analytics

server-side you can track using the measurement protocol

few years ago I did a prototype test with PHP, example here https://pastebin.com/PQCRcJXq

with something like Slim PHP you can add a middleware and automatically track everything, but you can also customize on a needed basis

I use the same logic with different PL on different backends etc.

for a starter it is cheap to implement and put in place, and cover almost everything

Comment · 6 years ago
Does it support Flash ?
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton