Skip Navigation
The return
  • It's called speed of lobsters

  • World Incarceration Rates If Every U.S. State Were A Country (No other country even makes the first page)
  • 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.

  • What is your preferred API error response and why?
  • 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.

  • What is your preferred API error response and why?
  • 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.

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

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

  • Child medicine
  • 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.

  • SQL Has Problems. We Can Fix Them: Pipe Syntax In SQL
  • This should be done with font ligatures, not replacing character combinations with other characters that can't be typed normally

  • mfw you're trying to take the Fourier Transform of a distribution
  • 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

  • xkcd #2974: Storage Tanks
  • I'm stuck on the homological algebra exercise

  • Do you know the .vscode/tasks.json file? You can add it to your project, and will run your configured commands automatically when you open the project ✨
  • You'd still need to manually install the git hooks though, the .git folder isn't part of the repo

  • Do you know the .vscode/tasks.json file? You can add it to your project, and will run your configured commands automatically when you open the project ✨
  • 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

  • I don't know what this style is, but it's amazing 🤩
  • You look like you could turn runes into strength

  • Locked
    You should be able to see your reflection in it!
  • Once every 50 years or so

  • Locked
    You should be able to see your reflection in it!
  • If my cooking senses are right, it would be like cooking bacon in a stainless steel pan, which is sticky and burny but not impossible

  • Google pulls the plug on uBlock Origin, leaving over 30 million Chrome users susceptible to intrusive ads
  • Don't think it saves bandwidth unless it's a DNS level block, which IT should also do but separately from uBO

  • It's probably time to stop recommending Clean Code @ Things Of Interest
  • You're making assumptions about the control flow in a hypothetical piece of code...

  • It's probably time to stop recommending Clean Code @ Things Of Interest
  • What you're saying is "descriptive method names aren't a substitute for knowing how the code works." That's once again just a basic fact. It's not "hiding," it's "organization." Organization makes it easier to take a high level view of the code, it doesn't preclude you from digging in at a lower level.

  • kogasa Kogasa @programming.dev
    Posts 0
    Comments 818