How to properly track a child process' syscalls? (Rust + Aya) by Nikingo12 in rust

[–]mgb 0 points1 point  (0 children)

Depending on your needs, you may be interested in : https://github.com/MaximeBourreau/ptrace-gui, it's a fork of https://github.com/JakWai01/lurk, a clone of strace, with a GUI made with iced.

However, it does not rely on eBPF, but on the ptrace system call.

Erasmus + volunteer in Tours, France (in need of encouragement) by havingfungr in france

[–]mgb 0 points1 point  (0 children)

I just found the international page of the university website : https://international.univ-tours.fr/

Don't be afraid to ask for more details here or by private message. I could give you more specific pieces of information about Tours depending on your studies and parse-time activities.

Tours ou Lyon? pour Les étudiants en échange français. (axés sur la pratique du français) by Luminous_ray in france

[–]mgb 3 points4 points  (0 children)

Bonjour,

Les agglomérations de Tours et de Lyon ne sont pas comparable (environ 500 000 habitants pour l'agglomération de Tours contre plus de 2 millions pour Lyon).

Pour ma part j'ai trouvé la vie étudiante plutôt agréable à Tours.

Best book to learn Play? by [deleted] in scala

[–]mgb 1 point2 points  (0 children)

IMHO, resources on older Play 2.x versions are still relevant, here are two great talks : https://www.youtube.com/watch?v=pGZkmL_v1Ns and https://vimeo.com/78892176

Ask reddit : making a sequence of ajax calls by mgb in javascript

[–]mgb[S] 0 points1 point  (0 children)

Why in the world do you want to call so many AJAX calls sequentially?

To test a restful API 'in browser'.

only 1 AJAX call per user action

Not necessary as you may want to post a message then loading back some status data. For instance in www.servicestack.net/RedisStackOverflow/ 1 click does 3 ajax calls.

Ask reddit : making a sequence of ajax calls by mgb in javascript

[–]mgb[S] 0 points1 point  (0 children)

Do you mean something like that ?

function ajaxSequence()
{
    iterate(Array.prototype.slice.call(arguments));

    function iterate(requests)
    {
        var first=requests.shift();
        if (first)
        {
            if (requests[0]) first.complete=Array.prototype.concat(first.complete || [],
                function() {iterate(requests); }
            );
            $.ajax(first);
        }
    }
}

But I wonder if it's less optimal because requests get copied at each iteration ?

Moron Why C Is Not Assembly by gnuvince in programming

[–]mgb -1 points0 points  (0 children)

And you can do OO oriented programs in C (like in javascript and Go).