eager_eagle

joined 2 years ago
[–] eager_eagle 3 points 8 hours ago* (last edited 8 hours ago)

It depends on the context. If it's an URL that is easy to guess and reflects user-created content, your system is leaking information about their users if it returns 403. The example that comes to mind is GitHub returning 404s for both nonexisting and private repos when the authenticated user doesn't have access to it.

[–] eager_eagle 33 points 14 hours ago (3 children)

implementation without design

[–] eager_eagle 4 points 14 hours ago (5 children)

and to just send “Bad request” when it’s a good request - does not make sense

That's when you use a 5xx status, then. The client doesn't care how many other services you reach out to in order to fulfill their request. A 5xx code also covers failures in other parts of the system.

[–] eager_eagle 8 points 15 hours ago* (last edited 15 hours ago) (7 children)

A 2xx means success to its requester. If you have an error in step 6 out of 13 that breaks the resource action, you shouldn't be returning a success.

You might argue what to return and what kind of information to include in the response (like tracking numbers), but it shouldn't be a 2xx and I don't see how a misleading 200 would be more helpful than a 400 bad request.

[–] eager_eagle 43 points 18 hours ago (23 children)

That's not what HTTP errors are about, HTTP is a high level application protocol and its errors are supposed to be around access to resources, the underlying QUIC or TCP will handle most lower level networking nuances.

Also, 5xx errors are not about incorrect inputs, that's 4xx.

[–] eager_eagle 1 points 19 hours ago (1 children)

Why can you not run git on the server? If it's a credential thing, you can forward it through the SSH connection.

[–] eager_eagle 7 points 19 hours ago* (last edited 19 hours ago)

Well, GUIs are even more distro-specific, so it's either generalisability or user-friendliness. It doesn't mean that guis don't have the option.

[–] eager_eagle 2 points 1 day ago

still more real than thoughts and prayers

[–] eager_eagle 55 points 2 days ago (1 children)

hey, at least it's not a 200 with { "error": "Bad request" }

[–] eager_eagle 8 points 2 days ago (1 children)

damn, are we already there? The only place I saw ads in an elevator was in cyberpunk 2077

[–] eager_eagle 37 points 2 days ago (1 children)

heheh

ah wait, this is not the onion

 

7
submitted 1 month ago* (last edited 1 month ago) by eager_eagle to c/[email protected]
573
 
1
Visual Studio Code November 2024 (code.visualstudio.com)
submitted 3 months ago by eager_eagle to c/vscode
5
VS Code Release 1.94 (code.visualstudio.com)
 
  • Find in Explorer - Quickly find files in the Explorer view with the improved Find control.
  • Source Control Graph - More filtering options and interactivity in the Source Control Graph.
  • Python test coverage - Run Python tests with coverage and get rich results in the editor.
  • ESM - Faster VS Code startup thanks to the migration to ESM.
  • Account preference - Specify which account to use for an extension.
  • Copilot in Native REPL - Get code completions and Inline Chat in the Native REPL.
  • Improved chat context - Drag & drop files or use IntelliSense for more relevant chat context.
  • Test environment setup - Get help with setting up a test framework for your workspace.
4
VS Code Release 1.94 (code.visualstudio.com)
submitted 5 months ago by eager_eagle to c/vscode
 
  • Find in Explorer - Quickly find files in the Explorer view with the improved Find control.
  • Source Control Graph - More filtering options and interactivity in the Source Control Graph.
  • Python test coverage - Run Python tests with coverage and get rich results in the editor.
  • ESM - Faster VS Code startup thanks to the migration to ESM.
  • Account preference - Specify which account to use for an extension.
  • Copilot in Native REPL - Get code completions and Inline Chat in the Native REPL.
  • Improved chat context - Drag & drop files or use IntelliSense for more relevant chat context.
  • Test environment setup - Get help with setting up a test framework for your workspace.
 

GitHub Copilot Workspace didn't work on a super simple task regardless of how easy I made the task. I wouldn't use something like this for free, much less pay for it. It sort of failed in every way it could at every step.

9
submitted 1 year ago* (last edited 1 year ago) by eager_eagle to c/[email protected]
 

I've just upgraded to Plasma 6 on EndeavourOS and X11 works, but booting on Wayland via SDDM gives me a blank screen. The display enters power saving mode and switching to a TTY doesn't wake it up.

Anyone else having this problem, or with a workaround suggestion?

NVIDIA Driver 550.54.14-4
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
17
1000 capacity! (www.youtube.com)
25
submitted 1 year ago* (last edited 1 year ago) by eager_eagle to c/[email protected]
view more: next ›