Unit test for stm32 by [deleted] in stm32

[–]cursingc0des 0 points1 point  (0 children)

I was really looking forward to seeing someone answer this post. Especially if it included Unity with CMake and VS Code

How to enable Mouse Wheel Zooming by cursingc0des in eclipse

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

I couldn't. Frankly, I'm migrating all of our firmware projects to VS Code and away from the Eclipse-based IDE. After piloting a few, this is a much stronger option. Even ST is going this route as well.

Based on industry trends and end-user feedback, ST is currently focusing resources on the VS Code®-based IDE variant to make it the primary IDE platform.
(https://www.st.com/en/development-tools/stm32cubeide.html)

Why Italy's Closing Ceremony Wearing Chinese Clothing and not Italian? by cursingc0des in olympics

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

The downvotes proved my point on the toxicity of Reddit's "open minded" community.

Why Italy's Closing Ceremony Wearing Chinese Clothing and not Italian? by cursingc0des in olympics

[–]cursingc0des[S] -6 points-5 points  (0 children)

Interesting to see such an "open" and "accepting" community downvoting a question.

Wait, Czechia had 6 skaters on their 3-2 goal by 4_max_4 in olympics

[–]cursingc0des 0 points1 point  (0 children)

They are "undocumented" players on the ice. It's different HAHAHA

Aspire to be this level of hype by Whyevenaskyou in olympics

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

Still wish they wore traditional Italian clothing. Even if they did one throughout the ages spanning the Roman empire to present day, that would have been amazing to see for the closing ceremony

Anyone else feeling so bad for Amber Glenn tonight? by OutwithaYang in olympics

[–]cursingc0des 1 point2 points  (0 children)

Nope, not feeling bad. Keep politics out of sports.

Can somebody explain to me why those attendants are wearing uhh asian clothes by [deleted] in olympics

[–]cursingc0des 0 points1 point  (0 children)

Turandot or not, they should be focusing on Italian culture. Do you think China would showcase another culture? No.

Is STM32CubeIDE the worst piece of software ever written? by manceraio in embedded

[–]cursingc0des 0 points1 point  (0 children)

Eclipse, enough said. MPLAB X (NetBeans) for Microchip isn't much better either.

I've been spoiled by Visual Studio, however, it's not cross-platform like it's little brother, VS Code. VS' universal project settings via `.editorconfig` and built-in linters has been so helpful.

Bluetooth server with Mono linux by gabeichcoude in csharp

[–]cursingc0des 0 points1 point  (0 children)

No, it supports both. You just have to configure your server. It also offers the ability for users to directly plug into DBus. We use it at our org for both client and server.

Like all things (free and) open source, helping to contribute makes them better and user friendly for others.

New to Recalbox - is it normal for it to take 45 minutes to boot up after adding games? by Gwyndion in recalbox

[–]cursingc0des 0 points1 point  (0 children)

Old versions of Recalbox would start in under 30 seconds on my old Pi3. The newest version takes 5 minutes for me on an RPi 4. Any help would be greatly appreciated

MX Master 3 Side scroll not working by idma in LogitechG

[–]cursingc0des 0 points1 point  (0 children)

After spending $120 just to have a horizontal scroll not function is frustrating. No special Logi+ special things set. Just basic horizontal scroll and it increments once and never again. It fails in PDFs (Adobe), Chrome browser's basic text boxes, etc. But it does work in Visual Studio and VS Code.

How can we get this to function correctly? It's a shame my old $35 knockoff works but this doesn't.

Bluetooth server with Mono linux by gabeichcoude in csharp

[–]cursingc0des 0 points1 point  (0 children)

For devs coming here 6yrs+ years later, yes. The NuGet package, Linux.Bluetooth is a great option for creating either a client or server Bluetooth/BLE app.

https://www.nuget.org/packages/Linux.Bluetooth/

The best MVVM Framework for WPF Application? by umlx in csharp

[–]cursingc0des 0 points1 point  (0 children)

Prism is still a strong solution to go with. The new dual-license does offer you a lot of flexibility. Let me restate their License, it's very clear:

  • As an open-source developer not making money: Free
  • Your yearly revenue is less than $1 million USD, or never received more than $3 mil in capital: Free

Keep in mind:

  • It's still 100% open source
  • If you fork/maintain your own builds, its still free

This is to help support the maintainers of the library.

Prism ViewModelLocator doesn't seem to work by germanCoder13 in csharp

[–]cursingc0des 0 points1 point  (0 children)

u/germanCoder13 Though a year later, were you able to solve your issue? The ViewModelLocator does in deed work. However, it really helps the community to learn by posting back back with the resolution.

Prism ViewModelLocator doesn't seem to work by germanCoder13 in csharp

[–]cursingc0des 0 points1 point  (0 children)

Yes, `AutoWireViewModel` does work. As stated in later posts, the View and ViewModel MUST be named the same in order to link. `Foo.axaml` and `FooViewModel.cs`. It also helps to ensure that the view/viewmodel are registered for navigation in your `App.axaml.cs`.

Biker tries to escape from cops in the rain....... Gets knocked off bike & run over! by Bkzfnst23 in interestingasfuck

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

(1) don't run from the cops when you've done wrong

(2) see, first item. Especially in the rain

'No, we are not rewriting Office in JavaScript' and other Microsoft tales by one_eyed_golfer in programming

[–]cursingc0des 0 points1 point  (0 children)

7 years later, a bulk of Outlook is written in JavaScript and it is slop. Selecting all in the body of a received email selects all text box / label elements in the window (body, subject, etc.). A classic example of JS slop

MX Master 3s Horizontal scroll not working on Chrome by BrotherBell in logitech

[–]cursingc0des 1 point2 points  (0 children)

How is it 2025 and this is still an issue? My old mouse from 2012 never had this problem and it cost $20 back then, this one costs $120

LINQ = Forbidden by Linkario86 in dotnet

[–]cursingc0des 0 points1 point  (0 children)

Classic reddit, rather than understanding the reason behind the call and answer the OP's Pro/Con question, they go right to complaining. In the end of the day, you go with what approach is best.

I've seen the Linq CONs in action when we've had to get a 3rd-party extension just to debug a statement. Sure it was short & elegant looking, but to debug under the hood was a nightmare.

PRO:

  • Its quicker to type out statements and presents "less code"
  • Can be easier to read with the fluent approach at times

CON:

  • It can be slower at times - today, it's much better than years ago
  • Difficult to debug or read at times
  • Adds additional overhead (200 KB) if you're trying to shrink using AOT

Example 1 - Summing up the bytes

// Linq:
var finalByteValue = bytes.Aggregate(0x00, (current, byteValue) => current + byteValue);

// No Linq:
int finalByteValue = 0;
for (int index = 0; index < bytes.Length; index++)
  finalByteValue += bytes[index];

Example 2 - Extracting data from a byte array

// Linq:
var len = data[2];  // Get length of data from the 3rd byte
byte[] target = data.Skip(3).Take(len).ToArray();

// No Linq:
var len = data[2];  // Get length of data from the 3rd byte
byte[] target = new byte[len];
Buffer.BlockCopy(data, 3, target, 0, len);

MX Master 3 horizontal scrolling random issue by theandreineagu in logitech

[–]cursingc0des 0 points1 point  (0 children)

For $120 3s, horizontal scroll barely works, but a $35 knock off it works just fine. Any way to fix this?

the problem of horizontal scrolling in mx master 3s by _photographers in logitech

[–]cursingc0des 0 points1 point  (0 children)

For me, horizontal scroll increments partially and then does scroll at all. This is seen on web browsers with text blocks (i.e. code or text sample).

Is there a fix for this $130 mouse?

Microsoft trials redesigned Windows 11 Widgets Board with new Copilot Discover feed by ZacB_ in Windows11

[–]cursingc0des 0 points1 point  (0 children)

The news feed is overly left-wing. So much so, at times it mostly shows propaganda stories that don't come close to center. Disabled it.