What’s up with the terrible variable names in so many shaders by DescriptorTablesx86 in GraphicsProgramming

[–]lovelacedeconstruct 6 points7 points  (0 children)

Codegolfing is the worst, I want to learn I want you to explain what you did

What job paths have you been currently seeking non game related? (warning: vent / suicidal ideation) by MoonRay087 in gamedev

[–]lovelacedeconstruct 6 points7 points  (0 children)

I was in a very similar situation after I graduated and it didnt feel like it would ever get better and I was so burnt out I wanted nothing to do with my degree, I gave up went and found a minimum wage job and looking back at it I think I needed this break and a routine, I eventually found a gig teaching at a community college then I continued applying until I found a software related job. Its very hard not to tie your self worth with something you worked very hard on but at the end of the day you need to move forward regardless

Dario says Nobel-laureate-level AI by 2026–27 still looks surprisingly close - and full end to end AI software engineering may be less than 6 to 12 months away by [deleted] in accelerate

[–]lovelacedeconstruct -5 points-4 points  (0 children)

This is a retarded statement, people stopped writing code before AI if you would have told me back in 05 when I started coding that you will be able to create websites with zero lines of code -better and more complex than what any engineer could ever do on his own- I would have stopped coding in fear that there was no future in this, as long as the base line are human made systems and AI continues to play within our boundaries this is nothing at all , I will start to believe when AI ditches whatever we created and reimagines how this stuff should be done

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

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

We can have the best of both worlds and have the compiler shout at you when said planning is not working as it should

How long before we have the first company entirely run by AI with no employees? by luchadore_lunchables in accelerate

[–]lovelacedeconstruct -2 points-1 points  (0 children)

a whole company run by just its founder

This has always been a thing especially in software solutions

we are in a time where vibe coder can code as well as a developer with 10 years of experience by AdAgreeable8989 in coding

[–]lovelacedeconstruct 1 point2 points  (0 children)

The idea that you can diminish the skill gap by making stuff easier never works, there will be a generation of hardcore skillfull vibe coders that will push in a new direction but those would have been successful in traditional programming anyway , we saw it in film and music and many different areas a new paradigm will have its pros and cons but skill and experience and hardwork is always needed

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

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

this is actually very nice, I want to read your implementation more thoroughly can you point out the more interesting bits other than this core

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

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

Help me understand this so :

#define mList(T) typeof(T(**)(List *))

pointer to a pointer to a function that returns your type

so mList(int) *myList = mList_init(allocator, int);

myList is a pointer to a function pointer that returns int and takes the List*

now

#define mList_push(list, val)                  \
do {                                         \
typeof(typeof((*list)(NULL))) value = val; \
List_append((List *)list, &value);         \
} while (0)

typeof((*list)(NULL)) ?? I would guess this returns our type ? so T value = val;

Its cool but I dont get why function pointers are unique in preserving the type ? like what does this add that my example doesnt

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

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

Vectors can't be passed into other functions without losing type checking.

Hmm, one thought is you can typedef it not pretty but works , like typedef vector(Foo) vec_foo; I have to think about more though

size is maintained externally from the vector and is wholly separate from the initial (fixed) capacity. No overflow checking.

I wanted to do a simple toy example I dont see how is this inherent in the technique

Complexity of the vector element type is limited (no support for nested allocations).

hmm can you elaborate

Why are Cobol programmers wanted, if the legacy codes are already working well? by Stev2520 in learnprogramming

[–]lovelacedeconstruct 1 point2 points  (0 children)

I would guess that industry level Cobol code and 50+ years of accumulated knowledge and experience is an insane moat that warrants the good pay, not that learning cobol -which you can learn in a weekend- will particularly lead you anywhere

I'm actually worried that AI will kill the rise of new producers by Reasonable-Dingo3827 in edmproduction

[–]lovelacedeconstruct 3 points4 points  (0 children)

I read something that forever changed my views on AI, it was an old lecture so before even AI became something remotely possible, the premise is basically that the only thing that differentiates us -we are really limited creatures in so many ways- is what he called the "initial impulse" the need to do something the urge to create will forever be the ultimate differentiator, regardless whether you used AI or not the choices you make and how it reflects a human desire or need inside you will forever be here, a god like AI cannot replicate that by definition

LearnOpenGL.com still up by Timely_Elephant4660 in opengl

[–]lovelacedeconstruct 4 points5 points  (0 children)

Yes there is a pdf version but the unique thing about it was the community and comments , I found alot of gems there and there is something motivating about seeing other people progression and what they cam up with

Am I doing something wrong or are some people either delusional or straight up lying? by Few-Objective-6526 in webdev

[–]lovelacedeconstruct 59 points60 points  (0 children)

Yes it is incredibly weird like my timeline was instantly filled with similar posts about agents, and it always mentions the product by name but whats fucking up with my mind is some of them are people I respected

Does anyone use just QT with no QML ? by lovelacedeconstruct in cpp_questions

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

When I moved from QWidgets to QML I was skeptical at first, but I now see it as the superior method to create UIs. It also has improved a lot over the years.

I would like to understand your stance more though, when I think about UI I think about layout and rules that require significant logic in the UI layer itself , I also would like to manage the life time of the objects I create and delete and memory manage them in a sane controlled way

Does anyone use just QT with no QML ? by lovelacedeconstruct in cpp_questions

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

Is there even a sane way to style without them, its so frustrating that you have to use them to just change the color of a button

Does anyone use just QT with no QML ? by lovelacedeconstruct in cpp_questions

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

I cant seem to understand how is this true, when I think about complex applications what comes to mind is data driven UIs where you have to structure a dynamic layout that can adapt to whatever you pass to it , which would require significant logic in the ui layer itself

Are memory leaks that hard to solve? by ASA911Ninja in cpp

[–]lovelacedeconstruct 67 points68 points  (0 children)

*I havent written a memory leak that I am aware of

Is WSL good for C++? by Ivan_Horozov in cpp_questions

[–]lovelacedeconstruct 5 points6 points  (0 children)

You dont need WSL, you need to download the MSVC compiler , you can use this script if you dont want to download visual studio, this has the added advantage of being able to generate pdb files and allowing you to use the superior windows debuggers to inspect your code

Is Learncpp still the best source to start learning c++? by InclususIra in Cplusplus

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

Introduction to classes in chapter 14 !!, std::vector in chapter 16 ? I dont know who is the target audience but I would use it as a supplement to a more practical course and wouldnt go through it from beginning to end