Better HN
topnewbestaskshowjobs
Log inSign up

deltaci

64 karma · joined Mar 1, 2021 (5y ago) · 17 submissions

[XnZBvjpQ3R]
Submissions

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

this is already the third time github actions is down this week at wednesday morning

comment 4y ago · link · parent

congratulations on the launch. it looks pretty much like a self-hosted version of https://buildjet.com/for-github-actions

comment 4y ago · link · parent

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

comment 4y ago · link · parent

Estonia is also a really good choice within EU. With their digital residency card, everything can be managed online with digital signatures only.

comment 4y ago · link · parent

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");

comment 4y ago · link · parent

You just need to do File.OpenRead instead of OpenText to get a FileStream, then you can read the buffer

comment 4y ago · link · parent

but it makes function calls, it's not neglectable as it's called as many time as the bytes the file has

9.

Vue-CLI might contain malware from a dependency(github.com ↗)

2 points · by deltaci · 4y ago · discuss

10.

Node-ipc spreading malware with NPM packages(github.com ↗)

10 points · by deltaci · 4y ago · 3 comments

comment 4y ago · link · parent

A similar comparison on CI workloads between desktop CPUs and Cloud(Azure) here: https://buildjet.com/for-github-actions/blog/a-performance-r...

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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...

comment 5y ago · link · parent

Even the status page is down for me. Please don't host your status page in same network/domain.

comment 5y ago · link · parent

can someone explain in layman terms what is headless UI?

comment 5y ago · link · parent

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.