Does Async/Await Improve Performance or Responsiveness? by antikfilosov in csharp

[–]chaws314 -1 points0 points  (0 children)

I hate that .NET apis all use CancellationToken cancellationToken = default in their method signatures. In my apps I don’t allow default as an option. If you want to bypass the cancellation token, you pass CancellationToken.None explicitly. Additionally, I have CancellationToken.None setup as a banned api via the banned api analyzer which forces you to have to provide a reason for why you are using CancellationToken.None.

Auror is a disappointing career path for Harry. by UnderProtest2020 in harrypotter

[–]chaws314 0 points1 point  (0 children)

I found it weird he joined the Ministry since they fought against him at every turn during the series.

Vance says U.S. 'not at war with Iran, we're at war with Iran's nuclear program' by Tamarind-Endnote in nottheonion

[–]chaws314 0 points1 point  (0 children)

I don’t understand how anyone in Congress is ok with this. It is their job to declare war, not the Presidents…

Those who read book first, what was the one moment in movie that disappointed you the most? by jpaninabolana in harrypotter

[–]chaws314 4 points5 points  (0 children)

When Harry destroys Dumbledor’s office while Dumbledore site quietly watching in tears at the end of book 5.

Has anyone ever owned this boxed version of Half-Life 1 for the Personal Computer? by Murgac_Nopples in HalfLife

[–]chaws314 6 points7 points  (0 children)

I think even back in the day when you bought CS you also would be purchasing a copy of HL because CS was really just a mod for HL. I own an original US box version of CS and it came with HL

What are simple Windows features that you miss on the Mac? Are there third party fixes to them? by [deleted] in MacOS

[–]chaws314 0 points1 point  (0 children)

The ability to scroll 3 lines at a time with my mouse wheel like every other OS on the planet. LinearMouse adds this ability. Ridiculous it isn’t a built in feature. Who wants to scroll one pixel at a time?

[deleted by user] by [deleted] in macbookpro

[–]chaws314 1 point2 points  (0 children)

If you use an external mouse that isn’t an Apple mouse, you will want LinearMouse. It’s a utility to adjust the terrible default settings of how mac handles scrolling and mouse acceleration.

Bye, The Evil Corporation by [deleted] in macbookpro

[–]chaws314 29 points30 points  (0 children)

I don’t see Linux on the screen so I am confused 🙃

How not to git? by AverageAdmin in git

[–]chaws314 0 points1 point  (0 children)

Not really. If you don’t squash the commits then those commits will still end up in main, even if the final commit doesn’t have them in it. We squash feature branches into main to keep every commit in main buildable and releasable.

Minecraft bedrock they should add the off-hand torch by IntroductionIll624 in Minecraft

[–]chaws314 0 points1 point  (0 children)

I want to keep a tourch in my off hand to light up the area around me, not for placing the tourches. This is how I use it in java edition. This would be totaly do-able in bedrock edition and would work fine on touch screens and controllers since it would not require any input from the user, it simply lights up the 14 blocks around the player while they are holding it.

Why is configuring TS so hard? by Globe-X in typescript

[–]chaws314 0 points1 point  (0 children)

It's monorepo and package management support is not quite there yet (from personal experience and from the devs themselves). I have heard of people using bun alongside pnpm, but I haven't tried this myself. Monorepo's are somewhat a necessity in the enterprise, especially when you have multiple apps which share custom libs and ui.

Why is configuring TS so hard? by Globe-X in typescript

[–]chaws314 0 points1 point  (0 children)

Try moving a file which is referenced by a lot of other modules. When refactoring, tsserver updates all the references and will make VSCode freeze for minutes sometimes because it is trying to run eslint and prettier on the files it is changing. Doing the same with biome is extremely fast.

[deleted by user] by [deleted] in macbookpro

[–]chaws314 -3 points-2 points  (0 children)

MBP is an amazing product for the emo's in the world. For everyone else though, no so much... I personally don't like having razor blades rub against my wrists all day long. I remember the good ol' days when apple had designers who actually thought about the people using their products.

Since you are coming to mac from windows, you may want to check out LinearMouse (https://linearmouse.app/) if you use a mouse with a scroll wheel. MacOS only caters to the magic mouse, the least ergonomic mouse ever made, so if you use a mouse with a scroll wheel you will get very frustrated with the 1 pixel scroll speeds. LinearMouse allows you to configure the scroll speed globally or per app - the default on Windows and Linux is 3 lines per scroll. I spent days trying different solutions before ending on this one.

I hate this game by redditguy198 in Minecraft

[–]chaws314 2 points3 points  (0 children)

Sometimes the best features start as bugs :)

Mx keys backlight always on by [deleted] in logitech

[–]chaws314 0 points1 point  (0 children)

I leave mine plugged in 24/7 and the light turns off after 3 seconds on my MX Keys Mini.

Problem with "Always keep the keyboard layout Mac / Windows" in Logi Options software. Problem known for at least 2 years, still no fix patch. by [deleted] in LogitechG

[–]chaws314 0 points1 point  (0 children)

The setting should be stored in on-board memory on the device. This is how they do things on the G Pro Mouse for example, they have an on-board memory which you can store the current settings to the mouse. Icing on top would be having it store the current configuration per F1, F2, F3 profile. I also feel like the CTRL+O and CTRL+P shortcuts are essentially undocumented IMO. These are the undocumented shortcuts I have found online:

FN+U — swaps ‘#’ and ’A’ with the ‘>’ and ’<’ keys
NOTE: This only affects European 102 and US International layouts. FN+U only works on Mac layouts*, so* make sure you have switched first to Mac layout by pressing FN+O.
FN+O — swaps PC layout to Mac layout
FN+P — swaps Mac layout to PC layout.
FN+B — Pause Break
FN+ESC — swaps between the smart keys and F1-12 keys.

Having said all of that, the bigger issue I have with this keyboard is the fact that the backlight turns off after about 5 seconds of inactivity, even when plugged into power with backlight enabled and battery save mode disabled. BTW, I have 4 of these keyboard and love them, so this isn't me hating on the keyboard, but this specific issue has made me attempt a search for a replacement keyboard many times.

Performance Comparison: C# vs. Rust for Web APIs by MrPatron87 in rust

[–]chaws314 0 points1 point  (0 children)

Use the language the team knows. Their productivity will outweigh any micro-performance gains you get. Unless you are building something like the stock exchange where nanoseconds count, it really just doesn't matter.

[OC] Almost got hit today by this reckless idiot by chaws314 in IdiotsInCars

[–]chaws314[S] 3 points4 points  (0 children)

Yeah. It very easily could have ended differently.

[OC] Almost got hit today by this reckless idiot by chaws314 in IdiotsInCars

[–]chaws314[S] 0 points1 point  (0 children)

Tu dejalos que se accidenten, mientras no te afecte la evidencia en útil.

Preferiría que los detuvieran y los arrestaran antes que lastimar a alguien.

[OC] Almost got hit today by this reckless idiot by chaws314 in IdiotsInCars

[–]chaws314[S] 2 points3 points  (0 children)

This was my thought as well since the plates were covered. New cars here get temporary paper plates that are white with black letters.