• 1 Post
  • 7 Comments
Joined 1Y ago
cake
Cake day: Jul 13, 2023

help-circle
rss

Why are you mentioning dns? This is an ip request, no need to contact a dns server


Noob question. Would that request travel over the internet or is it resolved locally?


Yeah I bet they feel so good about having the perfect recipe for naming variables, a recipe only they know or care about


Camel case for local variables

Pascal case for global ones

The name should tell me it’s purpose

That’s it



I am not sure what your tech stack implies (I know nothing about it) but I think you don’t really need feature flags, just better project planning and structure


Akshwallyyyy those are both presentation problems, eg frontend

Edit: to those downvoting me please tell me why a frontend dev would end up showing a raw error like that on a page


[Help] Vscode debugger for firefox is all buggy
I am trying to debug from vscode a vue 3 with TS and vite project using firefox As stated in the [Debugger for firefox](https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug) extension page i did: >open the Developer Tools Settings and check the checkboxes labeled "Enable browser chrome and add-on debugging toolboxes" and "Enable remote debugging" and executed Firefox as follows `"C:\Program Files\Mozilla Firefox\firefox.exe" -start-debugger-server` The problem is that [the debugger is all buggy](https://imgur.com/a/GYLBl4t) and doesn't hit the correct line Here is my launch.json (the one for chrome works perfectly well) ``` { "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "attach", "name": "Attach to Chrome", "port": 9222, "webRoot": "${workspaceFolder}", "urlFilter": "http://127.0.0.1:4000/*" }, { "name": "Attach to Firefox", "type": "firefox", "request": "attach", "url": "http://127.0.0.1:4000", "webRoot": "${workspaceFolder}", "pathMappings": [ { "url": "http://127.0.0.1:4000/src", "path": "${workspaceFolder}/src" } ] } ] } ```
fedilink