CookiesOnMyDesk

Joined 5 years ago

Karma
54
Submissions
25
Member since
Jan 24
View on Hacker News

Recent submissions

Comment · 2 months ago
Comment · 2 months ago
Sounds odd. Works just fine for me. I'm blocked if I disable it, but can access when I enable it.
Comment · 2 months ago
Comment · 2 months ago
In my experience McCarthy can spend an entire book without getting to the subject.
Comment · 1 year ago
It’s covered in the article

>It means the decline you would normally expect in one year would take four years after treatment, giving patients decades of "good quality life", Prof Sarah Tabrizi told BBC News.

>The first symptoms of Huntington's disease tend to appear in your 30s or 40s and is normally fatal within two decades – opening the possibility that earlier treatment could prevent symptoms from ever emerging.

Comment · 1 year ago
two-ple, tri-ple, quadru-ple
Comment · 1 year ago
>Why can't I just cast the music from my Youtube music app?

Because the YouTube app developers haven't implemented it? Casting via spotify works flawlessly in my experience, whether using airplay or letting spotify discover the speakers. No app hopping required.

Comment · 1 year ago
Something like this, depending on how you want your input and output to be supplied.

    public async IAsyncEnumerable<HttpResponseMessage> SendTwelveRequestsAtATimeAsync(IAsyncEnumerable<HttpRequestMessage> requests)
    {
        HttpClient client = new();
        List<HttpRequestMessage> requestsBatch = [];

        await foreach (var req in requests)
        {
            if (requestsBatch.Count < 12)
            {
                requestsBatch.Add(req);
            }
            else
            {
                foreach (var res in await Task.WhenAll(requestsBatch.Select(client.SendAsync)))
                {
                    yield return res;
                }

                requestsBatch = [];
            }
        }
    }
Comment · 2 years ago
He means that the price of the bonds backing the mortgage fall. Since the bonds are fixed interest, when interest rates rise, new bonds at a higher interest rate are more profitable than the old bonds at a lower interest rate. As such the free market price of the old bonds will drop to until the selling-at-a-loss reaches an equilibrium with the expected increased profit from higher interest rates of the new bonds over the lifetime of the bond.

This lets the loan taker buy back their own bonds for less than what they were paid (the loaned amount) when the bonds were issued.

Comment · 2 years ago
Comment · 2 years ago
The official client.
Comment · 2 years ago
Discord uses 0% CPU (4770k) and 85mb ram on my pc currently, while being in an active call. What would it take for it to no longer be "too bloated" to have idling in the background?
Comment · 2 years ago
Do you use a well named function like and(), or do you use the double ampersand (&&) syntax trick? What about a not() function, or the exclamation mark syntax trick (!)? :)

Every use of operators can be considered a syntax trick until it becomes common, which is what the author hopes will happen to ~~

Comment · 3 years ago
>Every time I start “New Teams,” it asks me if I want to go back to Old Teams

Are you sure you’re not accidentally opening the old Teams application? When you update to new Teams it leaves the old version in place so you have both, and if you open Teams with the new shortcut/application you won’t get prompted to switch back.

Comment · 3 years ago
You probably want to be closer to 7,500 messages/second before Kafka becomes worthwhile.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton