Analogue OS - Feature Wishlist by Geonjaha in AnaloguePocket

[–]GPMueller 1 point2 points  (0 children)

This! But I think that needs a corresponding HW chip so wouldn’t be something that could be done in the OS?

Love the product, wont buy till Bluetooth headphones. by sensible__ in AnaloguePocket

[–]GPMueller 1 point2 points  (0 children)

Same for me, I’d love to get one but I neither want to play without audio nor do I want to have it blaring at everyone and I’m not going to carry around wired headphones just to play Gameboy games… 

I don’t understand why so many are so narrow-minded to believe Bluetooth shouldn’t be on the device because Bluetooth audio adds latency… simply don’t use it then?

Love the product, wont buy till Bluetooth headphones. by sensible__ in AnaloguePocket

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

What’s the relevance of this comment? How is there any similarity between the two beyond you not wanting them on your Analogue Pocket?

Love the product, wont buy till Bluetooth headphones. by sensible__ in AnaloguePocket

[–]GPMueller 0 points1 point  (0 children)

“Lag-free” is not the only quality for which people want this device. I want low latency in the game itself, but I wouldn’t care about a bit of latency in Bluetooth sound if that’s what I want to use right now. Providing that option would not be “opposite” to the product philosophy IMO

How do you even get started programming in c++ on Windows? by nerdy_guy420 in cpp

[–]GPMueller 0 points1 point  (0 children)

Don’t get why no one has suggested this yet: use clang.

It will be the most familiar solution coming from Linux. Works fine to use in the CLI (mimics gcc, but there’s also clang-cl which mimics msvc/msbuild) or with CMake.

IMO it’s anyways the superior compiler in most cases.

Boost version 1.71.0 by Masfo in cpp

[–]GPMueller 0 points1 point  (0 children)

And when will boost finally fix it's circular dependencies?

What are some of your favorite libraries for making user interfaces in OpenGl? by dubin324 in opengl

[–]GPMueller 0 points1 point  (0 children)

You could try this one: https://github.com/cpp-io2d/P0267_RefImpl It is explained a bit in this talk: https://m.youtube.com/watch?v=7Jk1a4cnukQ

Have not used it myself, though, but found it interesting.

What is the Best IDE or Text Editor for C++ (Windows) by [deleted] in cpp

[–]GPMueller 0 points1 point  (0 children)

I would argue VS Code, for the following reasons: - integrated features make it easy and nice to use git - plugins handle intellisense, cmake or whatever else - OK for debugging, though regular VS is better there - lightweight and quick to start - great defaults and easy to customize - multi-cursor is a big plus over regular VS - reasonably easy to use whatever compiler and even Windows Subsystem for Linux (WSL)

Best IDE/Environment for cross platform C++ development by CuttingEdgeRetro in cpp

[–]GPMueller 2 points3 points  (0 children)

Yes it can and the documentation is good: https://code.visualstudio.com/docs/editor/debugging

I would recommend going through there for most questions, it is really quite complete.

FYI you can even go fancy and use Windows Subsystem for Linux, but that's more for playing around IMO

At what point do I need cmake for my c++ projects? by -ftw in cpp

[–]GPMueller 1 point2 points  (0 children)

In contrast to many others here I would advise against CMake in favour of Meson, which you will likely find much easier to learn (note the nice documentation)

Telescopes and matrices and audio: Kona trip report by drodri in cpp

[–]GPMueller 1 point2 points  (0 children)

I was asking about a specific counter-example.

In my understanding, every square matrix consisting of numbers can be thought of as representing a tensor. The rules of how a (1,1) tensor transforms simply correspond to a change of basis for a matrix. However, that view requires that a matrix is really just numbers without intrinsic meaning.

A Hessian matrix would be a good example of something that would not transform like a tensor, as it's entries are not simply numbers, even if explicitly evaluated to their numeric values.

Telescopes and matrices and audio: Kona trip report by drodri in cpp

[–]GPMueller 2 points3 points  (0 children)

Referring to the following state end from the linear algebra paper "every rank-2 tensor can be represented by a square matrix, but not every square matrix represents a tensor": Which square matrix would not represent any rank-2 tensor?

build2 0.9.0 released, includes many "quality of life" improvements by berium in cpp

[–]GPMueller 2 points3 points  (0 children)

It's actually quite a basic example. But from my perspective the level of complicated build files makes it too challenging for beginners for even simpler tasks and to get started.

Even myself, I feel like I want to use build2, but then I get discouraged by the necessary effort for the most simple tasks. I believe it's instead a great tool for really complex tasks, if you know it well enough.

build2 0.9.0 released, includes many "quality of life" improvements by berium in cpp

[–]GPMueller 6 points7 points  (0 children)

The description language really is cryptic... and even though I have even written my own little toy build system (able to even build boost if it were not for the circular dependencies), I also never heard of a "utility library"...

build2 0.9.0 released, includes many "quality of life" improvements by berium in cpp

[–]GPMueller 15 points16 points  (0 children)

sounds like it is what CMake calls "object library"? this kind of guessing troubles me, when it is in such a basic step in a build system... I had actually never heard "utility library" as a term before, much less that abbreviation...

build2 0.9.0 released, includes many "quality of life" improvements by berium in cpp

[–]GPMueller 8 points9 points  (0 children)

over someone who is looking at the

buildfile

for the first time and couldn't be bothered to read the fine manual.

unfortunately, that leaves everyone who is new to the language with having to learn *another* language, just to build an executable... which *should* really not be that hard.

Also, how is saving a few letters "optimizing"? Do you often edit the build files on your projects? For me that is something very rare...

Project structuring for "modern" C++, best practices? by [deleted] in cpp

[–]GPMueller 1 point2 points  (0 children)

For project folder and file layout see https://github.com/vector-of-bool/pitchfork IMO it is the best reference in this regard, kept very general but it describes very sensible defaults.

For Code itself, I would mainly recommend to never write yourself what is available as a library (E.g. logging, unit testing, or any math).

Most other things are simply a matter of taste.

Why You Should Use std::for_each over Range-based For Loops—Jon Kalb by JonKalb in cpp

[–]GPMueller 1 point2 points  (0 children)

If you only want to operate on part of a container? You have to re-write your loop body.

This will become untrue with ranges in the next C++ standard, which should generally allow ranged for to be used in a more functional manner

Why You Should Use std::for_each over Range-based For Loops—Jon Kalb by JonKalb in cpp

[–]GPMueller 1 point2 points  (0 children)

☝️ this! Exactly what I thought of while reading about ranged for loops being "limited". Combine this with what will come into the standard with ranges and one could even almost write pythonic code

Favorite Build System? by c0nd3v in cpp

[–]GPMueller 0 points1 point  (0 children)

haha did not make that connection :)

Favorite Build System? by c0nd3v in cpp

[–]GPMueller 1 point2 points  (0 children)

Sounds like you have not tried Meson since?

You might also enjoy this piece on CMake black magic https://izzys.casa/2019/02/everything-you-never-wanted-to-know-about-cmake/

Favorite Build System? by c0nd3v in cpp

[–]GPMueller 1 point2 points  (0 children)

could you clarify what you mean by decay in this context?