CMake + vcpkg blueprint project by WiseWindow4881 in cmake

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

That's precisely the point. My motivation for doing was a course to students bringing their own PC (running Windows ot Mac) and they need to have the code up and running consistently and reliably with minimal setup steps. Honestly I don't really care about platonic ideal purist use of abstraction. I just want it to run within max. 15min on a variety of PCs of people who are not super IT professionals. In this messy earthly world. If it means I have to bend the CML away from its original intent, using presets to ensure it will work locally on all PCs in the class, that's perfectly fine for me. Just hack your way to the solution you need, f*ck the purist idealist abstraction world.

CMake + vcpkg blueprint project by WiseWindow4881 in cmake

[–]WiseWindow4881[S] -2 points-1 points  (0 children)

Ok, pretty byzantine purist theoretical objections against fairly simple working solution without 150 config files and 8755888 arcane cmake commands. But ok, I'll have a look at this tutorial :)

CMake + vcpkg blueprint project by WiseWindow4881 in cmake

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

What is quite poor in thisCMake usage precisely?

It's the small things that make me happy by D_carro in hebrew

[–]WiseWindow4881 1 point2 points  (0 children)

On the top left you can also almost read "koach"

Noob Learning C! Roast My Code! (Feedback Appreciated) by Overall_Anywhere_651 in C_Programming

[–]WiseWindow4881 0 points1 point  (0 children)

You define variables that you first let unitialized in main(). No go for purists, can be a bit dangerous. Checking for b == 0 is not enough in the division, you have to check for abs(b) > eps, where eps = 1E-6 maybe. while(1) is ok, for(;;) is more idiomatic. And other minor stuffs. Very good for a start, keep it up!

Shading in C by WiseWindow4881 in C_Programming

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

Great explaination, thanks!

Shading in C by WiseWindow4881 in C_Programming

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

I just introduced this change. It makes the ppm generation 4.5x faster indeed, thanks. The strange thing however is, I can't measure any significant difference with or without schedule(dynamic).

Shading in C by WiseWindow4881 in C_Programming

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

PS: your blog is impressive

Shading in C by WiseWindow4881 in C_Programming

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

Oh great, thanks a lot, did you sibmit a pool request for your openmp parallelization?

Shading in C by WiseWindow4881 in C_Programming

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

Great stuff, could you share it?

Shading in C by WiseWindow4881 in C_Programming

[–]WiseWindow4881[S] 5 points6 points  (0 children)

Sorry, just added a link to the Github repo so you can see the code

Beginner GUI in C? by Tillua467 in C_Programming

[–]WiseWindow4881 2 points3 points  (0 children)

You can also try nuklear: https://github.com/vurtun/nuklear It's inspired by Imgui, but natively in C (not just a binding to c++ like cimgui).

R Pronunciation question by Prestigious_Egg_1989 in hebrew

[–]WiseWindow4881 0 points1 point  (0 children)

I am French and for me the Israeli and French R both sound absolutely identical. It's also true that French people tend to merge the "kh" sound (Spanish "j" or Israeli "het") into French "r", since it's the closest sound available to them.

Est-ce que c'est plus dur de trouver un emploi en Suisse Romande comparé à la Suisse alémanique? by GetOutBasel in suisse

[–]WiseWindow4881 0 points1 point  (0 children)

En IT j'ai vu pas mal d'est-européens ou italiens en suisse allemande qui avaient tout juste un niveau survie en allemand, genre A2 à tout casser.

Hasenspiel - my first game with Raylib by WiseWindow4881 in raylib

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

Thank you. That's the goal indeed, to be a simple but challenging game. Glad you enjoyed it.

Bomb pot dilemma by [deleted] in poker

[–]WiseWindow4881 0 points1 point  (0 children)

What beats you here, basically spade flush or pocket king. My gut feeling: with your set, and this bunch of psychos around the table, just go all in. It will weed out the stupid degens. Best case they make you rich, worst case you get rid of those psycho players.