HackerTrans
TopNewTrendsCommentsPastAskShowJobs

deltaci

no profile record

Submissions

Vue-CLI might contain malware from a dependency

github.com
2 points·by deltaci·4 years ago·0 comments

Node-ipc spreading malware with NPM packages

github.com
10 points·by deltaci·4 years ago·3 comments

comments

deltaci
·3 years ago·discuss
It's a benchmark of GitHub Actions(Azure) vs a really old Macbook Pro 15, not exactly what you are looking for, but it tells the vibe already.

https://buildjet.com/for-github-actions/blog/a-performance-r...
deltaci
·3 years ago·discuss
this is already the third time github actions is down this week at wednesday morning
deltaci
·4 years ago·discuss
congratulations on the launch. it looks pretty much like a self-hosted version of https://buildjet.com/for-github-actions
deltaci
·4 years ago·discuss
It's amazing to see big company can throw so much engineering effort into it, while for majority of the CI users, just getting a 2x faster CI machine can achieve the same outcome with much less cost.

[0] https://buildjet.com/for-github-actions/blog/a-performance-r...

edited: wrong link
deltaci
·4 years ago·discuss
Estonia is also a really good choice within EU. With their digital residency card, everything can be managed online with digital signatures only.
deltaci
·4 years ago·discuss
this is very naive reimplentation of the C# version. I managed to reduce the runtime of the same file from 5.7 seconds to just 800ms

    using var file = File.OpenRead("file.bin");
    var counter = 0;
    var sw = Stopwatch.StartNew();
    var buf = new byte[4096];
    while (file.Read(buf,0,buf.Length) > 0)
    {
        foreach (var t in buf)
        {
            if (t == '1')
            {
                counter++;
            }
        }
    }

    sw.Stop();
    Console.WriteLine($"Counted {counter:N0} 1s in {sw.Elapsed.TotalMilliseconds:N4} milliseconds");
deltaci
·4 years ago·discuss
You just need to do File.OpenRead instead of OpenText to get a FileStream, then you can read the buffer
deltaci
·4 years ago·discuss
but it makes function calls, it's not neglectable as it's called as many time as the bytes the file has
deltaci
·4 years ago·discuss
A similar comparison on CI workloads between desktop CPUs and Cloud(Azure) here: https://buildjet.com/for-github-actions/blog/a-performance-r...
deltaci
·4 years ago·discuss
most of the latency comes from network layer. my naiive guess is they probably switched from a standard ethernet setup to a infiniband setup to achieve 600us of total latency.
deltaci
·5 years ago·discuss
It's revenue already lost. No tournament was happening since October 2020 already. Source: https://www.forbes.com/sites/adamzagoria/2020/07/23/wta-to-c...
deltaci
·5 years ago·discuss
Even the status page is down for me. Please don't host your status page in same network/domain.
deltaci
·5 years ago·discuss
can someone explain in layman terms what is headless UI?
deltaci
·5 years ago·discuss
newer MacBooks have both the SSD and RAM soldered on board, it's no longer user upgradable, unless you have a BGA rework station and knows how to operate it.