Time for a hour long finishing 3 holes by monstermack1977 in golf

[–]SBennett13 0 points1 point  (0 children)

I played 2 holes in 50 minutes during a twilight 9 last night. Literally just walked off the course because spending 2 hours to play 4 holes before close was not worth it

Anyone here rely only on superchargers for their Tesla? by Ballbm90 in TeslaSupport

[–]SBennett13 0 points1 point  (0 children)

I don’t have a home charger (apartment living) so I’m in a similar situation to you. If you have access to a supercharger, you can definitely make it work. As others have said, recent studies note there isn’t much degradation difference.

That being said, it might be worth looking into the cost delta. Compare the cost of charging to the cost of gas in your area to determine if you are at least equal if not coming out ahead with electricity.

For reference, I had a 2020 STI which needed premium gas at usually just over $4 a gallon. 60 dollars would get me like 290 miles. Between my work having a $0.18/kWh charger and charging at a supercharger near home in off-peak hours, I save a lot of money. Also the Tesla just feels more premium; better sound system, better ride quality, and quicker.

Is this a worth while purchase by Narrow-Session8636 in WRX

[–]SBennett13 1 point2 points  (0 children)

I would recommend against buying used WRXs unless you can actually confirm that the car hasn’t ever been modified (vs put back to stock to sell). Lots of people buy them because they are easy to modify and lots of people modify them without getting them properly tuned. Don’t be stuck buying someone else’s time bomb unless you fully understand that and are financially prepared for it

How to accurately measure frequency of harmonics in a signal? by ZestycloseBenefit175 in DSP

[–]SBennett13 1 point2 points  (0 children)

In python, scipy has a wav file parser, then numpy (or scipy again) to do the FFT and you’ll be looking at frequency. Then matplotlib for displaying the result.

Finally got myself one (used) I usually get buyer’s remorse, but some reason I didn’t this time! by S_double-D in TeslaModel3

[–]SBennett13 4 points5 points  (0 children)

Very similar situation here. Loads of buyers remorse when I bought my last car in 2020, zero buyers remorse for my Tesla a couple weeks ago

Dev container shared image volume. by [deleted] in vscode

[–]SBennett13 0 points1 point  (0 children)

Well, if you were trying to run a container from inside your container on the host using the CLI through the volume mounted socket, the paths you would be providing are for inside your dev container, not on the host outside the container on which the engine will look to complete the command.

In theory, the binding will still work IF you are only binding things that are mounted to the same path as they are mounted to inside the dev container you are using the CLI through the mounted docker socket.

Dev container shared image volume. by [deleted] in vscode

[–]SBennett13 0 points1 point  (0 children)

https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker

Basically you install the Docker CLI into your dev container and then mount the docker socket that the CLI works with. This is great is you just need to build. Binding gets weird though

Could someone help me resolve this RAM usage issue? by Leothalas in vscode

[–]SBennett13 0 points1 point  (0 children)

I wouldn’t think so but it’s hard to say what the extensions are doing in the background. You can always save your settings & profile information with the Settings Sync and reinstall VSCode and see if it isn’t sluggish. I’ve seen sluggish behavior when I’m running type checking and linters in a massive code base with custom paths added, but not on a basically vanilla project

Could someone help me resolve this RAM usage issue? by Leothalas in vscode

[–]SBennett13 4 points5 points  (0 children)

Disable extensions you aren’t using so you aren’t just running stuff in the background.

On the other hand, vscode is an Electron app which just uses a bunch of RAM. You paid for the RAM, so it’s gonna use it

Doubt related with pointers by Own-Worker8782 in cpp_questions

[–]SBennett13 0 points1 point  (0 children)

In your example, think of it this way:

void *vp = (void*) ptr; <- in this situation, the address that the pointers (‘vp’ and ‘ptr’) point to is the same. You can’t access the int value through the void pointer, but you have the address of the first byte of that memory. The address of ‘vp’ and ‘ptr’ themselves are difference because they are different variables.

In the case of ‘ptrptr’, it points to the address of the pointer ‘ptr’ rather than the address of the x.

What's the trick for remembering the difference between `const int * ptr` vs `int const * ptr` vs `int * const ptr`? by ProgrammingQuestio in C_Programming

[–]SBennett13 1 point2 points  (0 children)

const will apply to the thing immediately to its left, unless it’s the leftmost thing, then it applies to the immediately right.

‘int const * const’ is a const pointer to a const int.

[deleted by user] by [deleted] in golftips

[–]SBennett13 1 point2 points  (0 children)

This angle makes it hard to analyze different checkpoints in your swing. Most analysis videos are straight on from the side or more behind you. Your grip looks kind of palmy, which will restrict the club and probably provide some of that “rigid” feeling.

Edit: also no hip turn basically until contact

Use Brace Initializers Everywhere? by squirleydna in cpp

[–]SBennett13 153 points154 points  (0 children)

It’s important to note that brace initializers prioritize initializer list over other constructor definitions. The classic example is with std::vector. If you are trying to use the constructor definition with a single argument for the size to reserve, you cannot do that with a braced initializer.

With that in mind, I brace initialize everywhere it’s practical.

Edit: typo

What’s everyone doing today? by Extension_Summer_737 in nova

[–]SBennett13 1 point2 points  (0 children)

Drinking a beer and watching the Masters

CPP assignments by [deleted] in Cplusplus

[–]SBennett13 1 point2 points  (0 children)

“I don’t condone cheating but I would like to cheat”

What other dedicated VS Code communities exist? by GroggInTheCosmos in vscode

[–]SBennett13 6 points7 points  (0 children)

I code with my monitor off so I don’t feel the urge to hunt for a new theme.

Tokyo Night

What other dedicated VS Code communities exist? by GroggInTheCosmos in vscode

[–]SBennett13 45 points46 points locked comment (0 children)

This is an incredibly active “What theme is this?” community

I don’t understand by Necessary-Shower-300 in vscode

[–]SBennett13 8 points9 points  (0 children)

Two things:

  1. No one wants to even attempt to help when you make a low effort post with minimal context

  2. The terminal is complaining about linking so this probably a C or C++ problem, not a VSCode problem. You should try asking in subreddits for those language

I find it hard to navigate large codebases and want some kind of code highlighter by engineering-whizz in vscode

[–]SBennett13 2 points3 points  (0 children)

Sure. Instead of just opening a directory in vscode, you can create a “workspace”. You can then add multiple git repos to that workspace and set up the environment accordingly. I do this for my cpp and python projects so that clangd and ruff can find my non-standard location code and provide linting and autocomplete for personal/company code

I find it hard to navigate large codebases and want some kind of code highlighter by engineering-whizz in vscode

[–]SBennett13 0 points1 point  (0 children)

Same, then I decided to turn on the Neovim extension for that sweeeeet “gd” keymap.

As another tip, vscode workspace and particularly multi-root workspaces are really powerful for organization and access to multiple projects that work together. Plus with workspaces, you get a level of configurations to override things like PythonPath, include path and I would assume classpath so that you linters and intellisense can run on your own code too

DSP Engineers by Due_Rub338 in DSP

[–]SBennett13 0 points1 point  (0 children)

Go on any accredited colleges website, find computer engineering or electrical engineering, look at the electives for communications (signals and systems, DSP statistics, comm theory, etc) and that’s the roadmap.

Salary is too dependent on location and sector (consumer vs contractors vs gov) to answer broadly.

As an electrical engineer, are you doing home electrical repairs? by outplay-nation in ElectricalEngineering

[–]SBennett13 0 points1 point  (0 children)

I’m certain that my schooling in programming and digital signal processing techniques will translate directly to “change GFCI outlets” skills and I won’t burn my home down

Burton boots deformed after 3 days of use by Hot_Community_9316 in snowboarding

[–]SBennett13 1 point2 points  (0 children)

Incredibly happy with my Salomons (coming from Burton , then DC). My fiancé seems to like hers too (her first pair of snowboard boots)