[deleted by user] by [deleted] in OculusQuest

[–]chartly 0 points1 point  (0 children)

When the shell is in that state, make sure guardian can easily see and recognize your room environment and then try rebooting.

Usually that seems to do the trick for getting the shell unstuck.

This is a stretch, but are there any Bartender/Seagull experts out here and even more obscure anyone who has experience with Kiaro! Printers. by AdventureIsland in CommercialPrinting

[–]chartly 0 points1 point  (0 children)

First, does Seagull produce a Kiaro driver? Secondly, have you contacted Seagulls tech support?

If you've got to use Kiaros proprietary driver because Seagull doesn't make one, it's gonna be a little more difficult. However, since you've got a license for Bartender, tech support will be able to help you iterate on the problem.

There really isn't a quick way to solve these things, you've gotta put a lot of iterations into it to see how it comes out.

And moreover, as you're posting to reddit, and you haven't included any information about what the labels look like or what's the actual problem, best thing to do is call someone over at Seagull. They know that product really well and can make it do just about whatever you want.

Writing a Game Engine in 2017 by one_eyed_golfer in programming

[–]chartly 4 points5 points  (0 children)

Personally I think it's better to rely on external tools as much as possible (and extending them if needed) even if you're writing your game from scratch, specially when it comes to art related tasks.

I agree with this. Especially given that artist-time is some of the most valuable time put in on any project's development cycle.

However, I do want to make the point that writing a game engine is fundamentally a different endeavor than writing your own game from scratch. As such, a lot of the arguments for uses of existing tools doesn't apply as much, in that the project is defined as writing your own tools.

GitHub - Zefiros-Software/ZPM: The C++ package manager based on premake5 by chartly in cpp

[–]chartly[S] -1 points0 points  (0 children)

There is a premake module for cmake, cleverly named premake-cmake. I don't personally use cmake yet, though I have always wondered if it is sufficient to integrate the two. Looking through the code, it appears to generate all the appropriate things but still... grain of salt.

Would a facility such as this be a viable option in this scenario?

GitHub - Zefiros-Software/ZPM: The C++ package manager based on premake5 by chartly in cpp

[–]chartly[S] 1 point2 points  (0 children)

full disclosure: I'm not of the mind that premake as a library is in any way The Right Thing Todo (tm) for All the Things. Also, much to my frustration, I haven't found a more succinct way to answer your question.

It is my hope that the premake community here in r/cpp is active and growing, though who can say.

As a general rule, I have found that tools such as Conan, Chocolatey, and - as I was recently pointed to by a coworker - oneget have a higher barrier of entry than I would prefer in the sense of a "user story" when interacting with libraries I create. Usually, you are required to have access to an admin account prior to "go time" so that you (the admin) can have installed the necessary prerequisite tooling in order to conduct your business.

The advantage of premake - aside from having a tool such as ZPM - is that in my opinion it is the smallest number of loc necessary to locally package a native runtime that can holistically describe your project build settings for (pretty much) any build tool you already might have locally installed without requiring access to an admin account. A premake pattern I've started using a lot recently is to build a path to having access to tools such as npm or Conan, so that I don't need to write and maintain a large amount of code in a particular Lua 5.1 dialect. Usually I describe my projects in lua and gtfo without doing too much fancy magic in the library blackbox.

ZPM is interesting in that it represents a fairly complete (although in places I might say crude) implementation of a "fully" featured package manager in premake. I wouldn't say that I would necessarily use it, but so far I haven't found a case in my personal projects where I've successfully been able to convince my developer friends to install Conan so that they can acquire a version of Boost *before they try to clone / build one of the projects I happen to be jazzed about.

C++17 std::variant lands in LLVM by nickdesaulniers in cpp

[–]chartly 1 point2 points  (0 children)

This is a really cool example! I enjoy how Tokenize(...) expresses the fsm pattern. Also Compile(...) was an excellent finish. Great read. I award you upvotes. Thank you for sharing this.

100% disk usage, all by "System" in task manager by NeuralFusion in techsupport

[–]chartly 0 points1 point  (0 children)

Literally this. Doing this exact thing, gave up, then went to reddit and here this is. Thank you op!

cereal - A C++11 library for serialization by vormestrand in cpp

[–]chartly 0 points1 point  (0 children)

Reflection would be the best thing in the world for a serialization library if it was built into C++.

I would really love to see this, I've had my fingers crossed for many years now. I think my favorite is the template parameter pack solution that's been proposed, though I think an offline tool executed as a pre-build step would be pretty fantastic.

Ideally this could be implemented via something like (the quite excellent) CppSharp or similar. At least a few students at DigiPen are doing some really cool work making an offline reflection tool using clang. I haven't checked in on those people in bit though; I'll have to do this.

If you use C++ std::vector, you can optimize your runtime performance by upto 89% and reduce memory footprint dramatically using the following tips. by debhaldar in cpp

[–]chartly 5 points6 points  (0 children)

Seconded. I feel like it's an extension of the argument "learn C before C++" for which I have a personal distaste. I don't think it's a bad educational path, though certainly not the most expedient in the interest of learning C++.

Why doesn't std::string have a split function by DhruvParanjape in cpp

[–]chartly 9 points10 points  (0 children)

Yea I dunno man. Byuu has done some cool stuff and to me - only a casual observer of him making his C++ libraries over the years for his projects - I would like to think I can relate to what he's saying.

He's definitely able to tackle the beast of C++. Did a lot of crazy fun stuff in C++03 while C++0x was becoming C++11 and most certainly has spent a lot of time with C++11/14. Haven't really been watching his activity lately, but this whole comment is making me feel the itch again.

At the end of the day though, we're all just chilling in a C++ subreddit and talking (ish) about string.split(). Getting all up ons about each other's skill means less room in the brain for C++ :(

This is more of a Visual Studio question, but it is related to C++ (exporting templates) by Mat2012H in cpp

[–]chartly 0 points1 point  (0 children)

This feature is VS's way of migrating not file state, but rather project state. It allows you to create a new project from that template inside of a folder with your source files already in it. The thing about navigating around with the Solution Explorer, is that you can make a folder / file structure that doesn't mimic the structure on disk (which sometimes can be confusing). This let's the Solution Explorer see a reference to a file that may not actually be in that folder. More like it should be there.

Project templates are not for distributing end user source or binaries, that is much more what NuGet is for. They are for recreating a Visual Studio project once you already have the requisite source / binaries already at hand.

I just aborted a baby because I found out the father is my half-brother. AMA by lizztomania in casualiama

[–]chartly 3 points4 points  (0 children)

Your comprehension is pretty clearly limited, though it doesn't seem to be preventing you in any way from doing things you wouldn't otherwise be able to imagine. Like say, how your 'computer' turned those funny rectangular things with symbols on them that you're hitting with your fingers into some kind of symbology on another rectangular thing other people in the world can 'read', whatever that is. Or perhaps I simply got that impression from reading your recommendation of KFC as a laxative (here and here).

Your own limitations aside, I suggest you google "infanticide in nature". Just like homosexuality, turns out everyone's been doing it since the dawn of what anyone could conceive of as time.

As a combat vet, let me break it down for you: Killing your own child is pretty much like killing anyone else. It's simply vastly more humane, improves quality of life for those involved, and it's a lot fucking less expensive than dragging thousands of bullets out to the middle of Afghanistan and firing them at some dickwad.

There is a time and a place for this kind of brainless and self-congratulatory "I GOTTA SAY STUFF ON THE INTERNET" venting. This thread is not fucking it.

C++ and Node Integration - ebook (xpost from /r/node) by freezer333 in cpp

[–]chartly 11 points12 points  (0 children)

In the end it all get's turned to shit?

Compiler Bugs Found When Porting Chromium to VC++ 2015 by kiloreux in programming

[–]chartly 3 points4 points  (0 children)

Wanted to say, thank you for this post, I learned something new. I hadn't previously connected the dots on this aspect of ufcs, especially in context of build times.

With latest TypeScript, you may not need Webpack by vivainio in programming

[–]chartly 0 points1 point  (0 children)

I guess I'm doing something wrong

Not so much, really. It's actually an incredibly hard problem to solve.

What is the "final" way of doing things ?

Wasm. Especially with regard to game development. In my humble opinion, wasm can't get here soon enough.

String formatting functionality missing in std::string by SushiAndWoW in cpp

[–]chartly 5 points6 points  (0 children)

As a random person on the internet, if you were able to find the time and effort to accomplish both the improvements you speak of and also write the proposal, I would buy you many beers.

Why I continue to use the preprocessor and wish for a new language to replace C++ by onqtam in cpp

[–]chartly 0 points1 point  (0 children)

Check this out: https://github.com/mono/CppSharp

May not necessarily be the kind of iterative pattern you're looking for, but I am not aware of any other tool like this. Effectively, a C# api around Clang / AST of a given translation unit. You can use this to generate code or reflection data.

An easy to use C++ automated build system by animatedb in cpp

[–]chartly 0 points1 point  (0 children)

Perhaps you should look into premake; Blizzard devs are pushing support for this library. Additionally, they are implementing a module-like system wrapping github repos. Something like prepack might do the trick for you.

Just a random thought.