[-] Kissaki@programming.dev 9 points 2 weeks ago* (last edited 2 weeks ago)

Data-driven grant model. There’s no perfect model for distributing OSS grants. Our approach is an open, measurable, algorithmic (but not automatic) model, […] We’re finalizing the first version of the selection model after the public launch, and its high-level description is at osendowment/model.

The fund invests all donations in a low-risk portfolio and uses only the investment income for grants, making it independent of annual budgets and market volatility. Even a modest $10M fund at this rate would generate ~$500K every year — enough for $10K grants to 50 critical open source projects.

Currently standing at $700k.

Regarding the model:

We aim to focus our support on the core of open-source ecosystems — like ~1% of packages accounting for 99% of downloads and dependencies. Our model shall be a data-driven approximation of the global usage of the open-source supply chain, helping to detect its most critical but underfunded elements.

[-] Kissaki@programming.dev 9 points 1 month ago* (last edited 1 month ago)

Making XML schemas work was often a hassle. You have a schema ID, and sometimes you can open or load the schema through that URL. Other times, it serves only as an identifier and your tooling/IDE must support ID to local xsd file mappings that you configure.

Every time it didn't immediately work, you'd think: Man, why don't they publish the schema under that public URL.

[-] Kissaki@programming.dev 9 points 2 months ago

by Dr. Wolfgang Gehring, August 02, 2021

Manifesto from 2021.

183 public repos on GitHub

[-] Kissaki@programming.dev 9 points 5 months ago

Primary source / Official news post is at https://www.fsf.org/news/fsf-turns-forty-with-a-new-president-and-a-new-campaign

Regarding LibrePhone:

In the afternoon, FSF executive director Zoë Kooyman announced an exciting new project: Librephone.

Librephone is a new initiative by the FSF to bring full computing freedom to mobile computing environments. The LibrePhone Project is a partnership with Rob Savoye, a developer who has worked on free software (including the GNU toolchain) since the 1980s. "Since mobile phone computing is now so ubiquitous, we're very excited about LibrePhone and think it has the potential to bring software freedom to many more users all over the world."

No links or references to the project. Seemingly no page on the website, or on the campaigns page [yet].

[-] Kissaki@programming.dev 9 points 7 months ago

Enable squash commits. Each PR should be squashed to a single commit. This makes the master branch linear and simple. This ensures each individual commit on master has been reviewed and is in a working state.

In non-minimal changesets, I would miss information/documentation about individual logical changes that make up the changeset. Commit separation that is useful for review will also be useful for history.

I prefer a deliberate, rebase- and rewrite-heavy workflow with a semi-linear history. The linear history remains readable, while allowing sum-of-parts changesets/merges.

It's an investment, but I think it guides into good structuring and thoughts, and whenever you look at history, you have more than a squashed potential mess.

Squash-on-merge is simpler to implement and justify, of course. Certainly much better than "never rebase, never rewrite, always merge", which I am baffled some teams have no problem doing. The history tree quickly becomes unreadable.

[-] Kissaki@programming.dev 9 points 9 months ago

Unfortunately, that poisons not only the AI.

[-] Kissaki@programming.dev 9 points 1 year ago

Check what? They're right.

[-] Kissaki@programming.dev 9 points 1 year ago* (last edited 1 year ago)

Really cool

I see; it's not button keys, but axis inputs

/edit: Apparently not just axis, but "3D" / free joypad/stick

[-] Kissaki@programming.dev 9 points 1 year ago

Maybe all bunnies are actually snails with a fur coat on.

[-] Kissaki@programming.dev 9 points 1 year ago* (last edited 1 year ago)

Using early returns and ternary conditional operator changes

private boolean meetsRiderPreferences(Rider rider, Driver driver) {
    if (driver.rating >= 4.5) {
        if (rider.preferences.includes('Premium Driver')) {
              return driver.isPremiumDriver;
        } else {
              return true;
        }
    } else if (driver.rating >= 4.0) {
        return true;
    } else {
        return false;
    }
}

to

private boolean meetsRiderPreferences(Rider rider, Driver driver) {
    if (driver.rating < 4.0) return false;
    if (driver.rating < 4.5) return true;

    return rider.preferences.includes('Premium Driver') ? driver.isPremiumDriver : true;
}

dunno if java has them, but in C# switch expressions could put more of a case focus on the cases

private boolean meetsRiderPreferences(Rider rider, Driver driver) {
    return driver.rating switch {
        < 4.0 => false,
        < 4.5 => true,
        _      => rider.preferences.includes('Premium Driver') ? driver.isPremiumDriver : true,
    };
}

or with a body expression

private boolean meetsRiderPreferences(Rider rider, Driver driver) => driver.rating switch {
    < 4.0 => false,
    < 4.5 => true,
    _      => rider.preferences.includes('Premium Driver') ? driver.isPremiumDriver : true,
};

The conditional has a true result so it can be converted to a simple bool condition as well.

private boolean meetsRiderPreferences(Rider rider, Driver driver) => driver.rating switch {
    < 4.0 => false,
    < 4.5 => true,
    _      => !rider.preferences.includes('Premium Driver') || driver.isPremiumDriver,
};
[-] Kissaki@programming.dev 9 points 2 years ago

I recently watched a presentation (on YouTube from a conference/offline presentation) about Systemd which also went into its focus/baseline of Linux, not Unix, and how NT supported a stronger service concept from the beginning. It was quite interesting to learn about the differences and the presenter's assessment and reasoning of the necessity of Systemd or something else that replaces or extends init and rc.d.

[-] Kissaki@programming.dev 9 points 2 years ago

The Roast my profile in question.

Your 105 repos resemble a crowded yard sale, filled with half-baked ideas and a couple of dusty gems.

lol

view more: ‹ prev next ›

Kissaki

joined 2 years ago