kogasa

joined 1 year ago
[–] kogasa@programming.dev 0 points 2 weeks ago* (last edited 2 weeks ago)

No other country even makes the first page

If every state in America were only 1% worse than every other country, then again the first 50 entries would be the American states. This is barely saying more than "America has the highest incarceration rate," so it shouldn't be a surprise.

[–] kogasa@programming.dev 4 points 2 weeks ago

Status 200 for errors is common for non-REST HTTP APIs. An application error isn't an HTTP error, the request and response were both handled successfully.

[–] kogasa@programming.dev 5 points 2 weeks ago (3 children)

There may be a need for additional information, there just isn't any in these responses. Using a basic JSON schema like the Problem Details RFC provides a standard way to add that information if necessary. Error codes are also often too general to have an application specific meaning. For example, is a "400 bad request" response caused by a malformed payload, a syntactically valid but semantically invalid payload, or what? Hence you put some data in the response body.

[–] kogasa@programming.dev 2 points 2 weeks ago

I'm speaking my truth. XR Adderall, crack em open and pour em on me tongue. The caviar of stimulants

[–] kogasa@programming.dev 6 points 2 weeks ago (3 children)

My only time-release capsule is filled with little beads, I just pop it open and eat the beads like pop rocks

[–] kogasa@programming.dev 20 points 2 weeks ago (6 children)

I've been taking 6+ pills a day for years and still can't get myself to swallow them. I just chew everything. Tasty painkillers and caffeine.

[–] kogasa@programming.dev 3 points 3 weeks ago

This should be done with font ligatures, not replacing character combinations with other characters that can't be typed normally

[–] kogasa@programming.dev 5 points 3 weeks ago

It's a reach, but the Fourier transformation of a Schwarz (rapidly decaying) function is also a Schwarz function. Compact support is a strictly stronger condition than Schwarz (the function must eventually decay to 0) but doesn't have this nice property with respect to Fourier transforms, i.e. the FT of a compactly supported function is Schwarz but not necessarily compactly supported

[–] kogasa@programming.dev 2 points 3 weeks ago

I'm stuck on the homological algebra exercise

[–] kogasa@programming.dev 1 points 4 weeks ago

You'd still need to manually install the git hooks though, the .git folder isn't part of the repo

[–] kogasa@programming.dev 1 points 4 weeks ago (2 children)

Pre-commit hooks aren't committed to the repo though. What's to disable? Unless it's something like python's precommit module I guess

[–] kogasa@programming.dev 6 points 4 weeks ago

You look like you could turn runes into strength

view more: next ›