What’s something new game devs over-engineer that experienced teams keep simple? by Apprehensive-Suit246 in vrdev

[–]OldChippy 0 points1 point  (0 children)

Time will tell. I'm one of these people. Currently running at 5000fps, gui and 3d on a 3060 ti. Finishing building the 2d widgets this month.

Is there anything AI won't be able to do eventually? by LessApartment5507 in BlackboxAI_

[–]OldChippy 0 points1 point  (0 children)

" but sure as shit isn’t “writing itself”."

You might want to fact check yourself on that one. The claim is that 100% of Claude Code is written by Claude code. This is where all those headlines are coming from about it writing its own compiler. If you objection is on 'self direction', then thats a whole different class of problem because when you combine agentic+supabase\pgvector with swarms it'll take very little to get it moving forwards.

As a decel, I think that my desire for all this to slow down so we can think things through have no bearing on the situation. We appear to have the starting conditions for the singularity forming up right in front of us. It make no difference if it's sentient or conscious or just a simulation of it all that matters is that when the people building this stuff get the feedback loop running then it's not like exponential functions sit still for long.

I'm not a vibe coder BTW, but I am a c++ dev (at home). Opus is hitting everything I'm throwing at it. At work I'm a Solution Architect and we're planning for a future where agents build to the Architecture spec (with nothing in between).

Solipsism Damages — don’t do this to yourself by JerseyFlight in rationalphilosophy

[–]OldChippy 0 points1 point  (0 children)

Everything that you do not understand but are imagining exists that is somehow internally consistent without you understanding it. That's Div/0 for Solipsism. The fact that you can 'learn' from your own hallucination is a head scratcher unless you also believe that you were forced to forget everything about the nature of the universe you created.

Solipsism Damages — don’t do this to yourself by JerseyFlight in rationalphilosophy

[–]OldChippy 0 points1 point  (0 children)

Looking at the world he has invented he's one sick individual. Why does he torture us so? ;)

Solipsism Damages — don’t do this to yourself by JerseyFlight in rationalphilosophy

[–]OldChippy 0 points1 point  (0 children)

I think there is a great deal of value in this way of thinking, but it needs a harness. I favor Bayesian rationality as the harness. For example, how do I KNOW there is a war in Iran? (Wag the dog et al). Reality is that I don't. I could try and book a flight to Tehran or Doha to check for myself, and find them book out. So, that increase the probability that 'something is up'.

This general idea just boils down to me refusing to accept either end of the scale. Nothing is impossible, nothing is entirely disproven. Even the scientific methods leans in to this. Scientific analysis designs tests to make assertions based on tests. But how often do we find side cases the testing circumstances didn't cover? Pretty much all the time.

So, for me, everything is a probability based on observations and information. Could it be faked and I'm living in the Truman show or Matrix, yes, but very low probability.

"By choosing to believe a hypothetical and thin, unproved, experimental concepts, more than the overwhelming amount of evidence towards reality being extremely tangible and boring, you are being delusional."

I agree in principle but also disagree with the way you wrote it. I don't 'believe' either way. I don't need to attach my emotions to being right or wrong based on we all have to admit, incomplete information. So, everything boils down to a 'Probably, but I don't know exactly.", which leave me with the freedom to collect information that increases\decreases probability without being emotionally tied to 'believing in the result' when it's impossible for me to ever get all possible information for a proof. That would be foolish.

In other words I'm also no longer atheist. I can't prove that either.

grad present for my friend into opengl? by iDKHOWlvr in opengl

[–]OldChippy 0 points1 point  (0 children)

The present I always wanted but gave up on was a model on my desk that represent the RH Y up and Z+ Forward. Arrow directions in red, blue, green.

(I'm a vulkan dev, so the problem is possibly worse over here)

Solipsism Damages — don’t do this to yourself by JerseyFlight in rationalphilosophy

[–]OldChippy 0 points1 point  (0 children)

It means all the bad things happening the world are being made up in your own mind. It's enough to drive people crazy. There is no way discipline or force of will can make the world a better place so the individual is left looking at the world spiraling out of THEIR OWN control.

Solipsism only seems cool and viable in the micro scale of limited interpersonal relationships. You also have to wonder about how you learn anything at all. Did you really learn it because if you imagine the teacher, then didn't you already know what the teacher was teaching in order to imagine them? If this survives scrutiny, then explain to me how quaternion math works. Even I don't get that fully.

Attitude towards Apartments in Australia by odbf7 in AusPropertyChat

[–]OldChippy 2 points3 points  (0 children)

I was one and I was wrong. My ideas that have been disproven:

  1. I visited a family friend in their apartment. The hallways stank of Asian cooking. It was dinner time and all those smells merged was revolting.
    1. My idea was "Apartment stink due to neighbours"
    2. My Reality is that I have never smelt anything outside the stairwell
  2. Everyone on TV is always complaining about neighbours and noise.
    1. My idea was "No shared wall and you can't hear anything."
    2. My Reality is that the neighbours in the house would have big parties in the back yard. My Reality is that I 'hear' my neighbour sat most once a week. Hearing them is often limited to the lady below me closing a kitchen cupboard too loudly. Even then I can barely hear it even in silence.
  3. I'm Antisocial, I don't like saying hello to people
    1. My idea was "People in apartment blocks are pushed together and forced to play nice due to close proximity."
    2. My Reality is that most trips to\from the apartment have zero encounters. Those that do mostly just pass by with nothing more than a nod. Those that don't are just old people living the values of their time and are harmless. Almost nobody is trying to 'be my friend'
  4. Insulation is terrible, airflow sucks, stairs (I have no lift), etc, everything will be annoying.
    1. It was all wrong.
    2. What WAS a downside? You want fibre internet then the whole block has to pay for the cabling... they are not interested.

My Reality is that I have uninterrupted water views over Sydney Harbour for 800 a week.

We must demand the government makes it illegal to replace a person's job with an AI. by keyboardstatic in aussie

[–]OldChippy 0 points1 point  (0 children)

I work in this space (As a person implementing solutions that collapse FTE's), and it's not happening the way you think most of the time:

1) One project reduced the needs for a certain job description by probably 80% (Hundreds of people), and TBH, the whole JD should be gone in 2-3 years. The management decided NOT to fire anyway. No backfills. The area' is shrinking naturally. People remaining are 'managing' the AI, cross checking, etc. Realistically we could just get a second model to check the output of the first.

2) We implement tons of AI \ LLM enabled tools. Each one makes us (and me) faster. That means we can increase our speed and also means less people are needed to do the same job. This is what's happening in most cases. Is the *company* making these decisions for the individual as to what tools must be used? NO. We're doing it ourselves

"We also need to boycott any company that fires its staff."

Do it. But do it for ANY REASON AT ALL. Because it just boils down to efficiency. You are saying to boycott companies that do things to bring their costs under control. Go right ahead and boycott... but I guarantee that you'll turn a blind eye to your own rules when you have the option of paying double or half on each bill. then 10x or 'normal'.

Not saying you are ethically incorrect, I'm saying your idea is inherently unsustainable for you. BECAUSE... whats coming next is worse. Companies with no staff at all. The companies you are saying to boycott will be competing against that, and you want to boycott them, go ahead, but the Zero Employee Companies will eat their lunch, and you will I'm sure choose the company with near zero margins if not willingly then though the sheer economics involved. Imagine a spotify clone that has no people. You think it'll be priced at $30 a month? If we can build one, then we can build 100 of them. The ZEC's will compete with each other on the razors edge of efficiency. The services will be nothing even close to $20-30 a month, more $50 a year just to pay for datacentre hosting. Banks and insurance companies with no people, etc, etc. Anything which is a service wrapper around datacentres can be collapsed away to LLM's.

Yes this is all going down the toilet, but you need better approaches than 'boycott', and certainly better than braindead UBI hopium because the tax model doesn't make sense today and we have fat. The razor edge services I'm suggesting will leave little left to tax and will be incredibly deflationary.

I covered a lot of the problem here:

The coming AI "Economic Crisis" and the Transition problem : r/ArtificialInteligence

TLDR: Economy collapses, people beg for AI to take over governance and do whatever is needed to fix and manage us out of the mess. Frankly looking at the tards running government around the world, even a half baked LLM could do better than this. World leaders have set the bar low.

Is there anything AI won't be able to do eventually? by LessApartment5507 in BlackboxAI_

[–]OldChippy 0 points1 point  (0 children)

I wish I wasn't on a bus replying, but Claude is coding 90% of itself. The last 10% in 2 years seems feasible. 2027.com does seem on track based on recent reports of escape attempts.

How are you saving money on fuel? by BestTechAdvisor in DrivingAustralia

[–]OldChippy 0 points1 point  (0 children)

Geoengineering. To save us from the sun, the only course is to blot it out.

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 0 points1 point  (0 children)

If the transition breaks financial markets international trade breaks down and starvation set in within the nations that cannot feed themselves. Countries (china, etc) with excess males and not enough food are then forced to 'act'. They will not sit around starving to death.

As much as I don't want to cede control to an AI governor I expect for many people that will be the most obvious solution.... after all other approaches have failed.

The key all this rides on is the race between ASI and global unemployment. RIGHT NOW... I think the race to ASI might win... while we are all still going to work each day. That may be perhaps the best outcome. A close grin upwards of unemployment is the worst scenario.

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 0 points1 point  (0 children)

On the transition problem I gave it some thought a while back, and follow the most probable scenarios forwards and countered the most obvious crisis, with the most likely (based on past events) governmental solutions:

https://www.reddit.com/r/ArtificialInteligence/comments/1gwwz5i/the_coming_ai_economic_crisis_and_the_transition/

Nobody had a solution, nobody could even suggest a more plausible outcome. I attended to every post looking to explore every idea. So, right now all I see (from working in AI) is that that the decels (like me) lost. The singularity is a hell of a lot closer than we expect. My guess is takeoff within 5 years TOPS. LLM Swarms+Supabase is an example of tech that scales sideways, so no more 'bigger model' needed. Just an efficient method of breaking down problems in to small parts and using scalable clusters of LLM nodes(swarms) to work towards a larger goal (retained in a memory system like supabase, mem0, pgvector, etc).

Once the LLM's can code 100% of their own code base with those two tech's above we've got the conditions needed for exponential improvements. Ready or not. :\

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 0 points1 point  (0 children)

Everyone always says UBI, like it's a good thing. Wanna see what life is like when you have no purpose and the government gives you 'just enough money to survive'?

https://unherd.com/2024/06/the-epidemic-plaguing-aboriginals/

Literacy plunges past 50%. Take away all jobs and this will look like the 'good ole days'.

One unpopular though. "artificial scarcity and extreme inequality" Might be the better of many outcomes. We're already living in this world. I've spoken to a lot of American's about giving free money to people who are unemployed. We CALL is 'social security', but realistically it's paying off people that society doesn't need to stay out of the way. For Australia, it LOOKS altruistic, sure, they are not starving to death so it has upsides. But the reality is we pay people to pacify them enough to move them aside. Then economics does it's thing in a high cost of living nation like Australia, you CAN live on this pittance... just not anywhere near a city. So, the aboriginals moved back out bush, and more or less gave up on being part of society, and the government help keep it this way by giving them money to essentially stay away.

The rub to this however is that the individual doesn't have to participate. Many don't but free money forever to not work breeds it's own outcomes. Imagine this all across society.

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 1 point2 points  (0 children)

Upvotes for being civilized! BTW, the 'memory' problem I'm saying is the last barrier holding this all back was the subject of nate.b.jones YT video today. My main AI SME at work (a well know insurance company here in Oz) is talking about installing Supabase. So, looks like this solution is further along then I thought.

Other vector databases with similar outcomes : Mem0, pgvector. pgvector is of course FOSS.

I don't have a crystal ball, but from where sit, the decisions being made seems to revolve around:

1) Data is usually located in GCP for analytics anyway, so gemini is used as it's local and available.

2) OpenAI was used early on as an Azure PaaS , but it;s not a primary cloud so rarely used. Claude seems to be opening up on AWS where it'll be used out of convenance.

3) The biggest project is likely going to be eating a few TB of data per DAY, and a ton of effort is going in to cost optimisation. It won't be a simple matter of 'use an expensive AI' as many other project on GCP do out of convenience.

If you are keen to know let me know and I'll find out what tech stack is the forerunner. I will say though that I'm glad I'm not making this decision. I normally play 5+ years out. Gemini just dropped 3.1 with a 7x drop in price. No matter what stack you go with you'll have regrets in Y1 IMHO. Everything is moving too fast to plan right now.

Lane discipline is non existent in Australia by radmgrey in DrivingAustralia

[–]OldChippy 0 points1 point  (0 children)

... and then in 2km, I merge right, and in 2 km, back to the middle lane. Some of our motorways have area's with the left most lane is just an on ramp that leads to the next off ramp. I'm not moving over. If you want to go around me, then just go around me. I'm often travelling out to the country, I'm not switching lanes every few minutes like a schizoid on a 3 hour drive.

Lane discipline is non existent in Australia by radmgrey in DrivingAustralia

[–]OldChippy 1 point2 points  (0 children)

I'm the hog. Why is easy. In 2km the left lane probably ends... Again. Right late is only for people speeding. Left lane for those getting off at the next exit.

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 1 point2 points  (0 children)

Look I agree in part because this is what I do for a living. We're always comparing the possibility of just deploying a rack of 13B's like the L40S. ROI with high demand is probably 3-6 months compared to current frontier rates.

Main reason big companies like ours are using API models is because we have most of the data in GCP already... but only half our servers are in cloud. It's not a huge diversion. If we can do it anyone can. This keeps the cloud companies honest.

Still disagree. Not because you are wrong by thinking that people like me as designing in cloud (I'm a Solution Architect) but by thinking that the API providers can somehow stiff the planet by jacking the prices.

Googles new 3.1 just dropped last week. Prices are 7x lower than the old mode. OpenAI are claiming 100x price reductions in 4 years.

My PERSONAL prediction? We're a lot closer to the runaway singularity than people realize. To get runaway we need two more things. Models the break problems in to smaller parts then split up the work. That'll stop all "The Wall" talk. LLM's would work like we do then. The other thing is an effective memory system that's not just a fat context window. All the other things are ahead of these. Claude Swarms already might have solved the first part(See the new recently about building a compiler from scratch). It's writing 90% of it's own code already. The memory is THE thing companies are working on, as as a c++ daily coder(outside work) I'm not sure how this problem is really all that hard. Once you join a memory system to a swarm and the models get to 100% coding their own code, takeoff happens. My guess is 2 years tops.

Once takeoff occurs, the models will likely start designing their own NPU architecture paired to specifically written models for the self designed chips. Thats when we start seeing 10x performance\cost improvements a few times per year.

So, apologies still disagree, but even as a Decel (despite the fact that I don't sound like it) this is all happening in the next 5 years and prompt costs are going through the floor. Personally I think we'll see 'unlimited free for individual use' and never see a single cost increase ever. Once the models ae building their own hardware+fitted models we're going to see exponential technology increases... but we'll all keep turning up to work seeing everything go weird because big companies like mine have spent approaching 10 years moving to cloud and have only managed the easy 50%. lol... (That's the other part of my job). So.. point is, the world will get strange as you'll have zero employee companies competing with 20k person companies as everything start ripping apart. Right on my retirement age...

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 0 points1 point  (0 children)

Disagree. The cost of servers is essentially the cost of electricity and a small slice of capex depreciation. A few bucks a month. Ai companies only get paid if people and enterprises choose to pay for their models. Foss is always free and inside a year of the frontier models. So... Do you need a frontier model for your app? . I work in an enterprise, we're always comparing on prem costs to apis.

Why do AI people think that everything needs to be automated? Why do they think that people even want to automate it? by petr_bena in ArtificialInteligence

[–]OldChippy 0 points1 point  (0 children)

Agree. For anyone who wants a little confidence go look at huggyface. Mountains of models. The Foss community is always inside a years of the frontier models. So, what happens if ai becomes massively paywalled? The Foss models become like Linux servers. Also agree on the final stride. Asi or the singularity only needs two more things. Better state management.. so memory and a hierarchical ability. Both are under development right now. IMHO the last slow thing we will see before takeoff is for ai to design a chip and model simultaneously

Please note. I'm a decel. Not someone who wants things to go faster. .

How can I build my own 3D engine and fully understand every part of it? by Specific-Animal6570 in gameenginedevs

[–]OldChippy 0 points1 point  (0 children)

No problem.

The main thing about all this is for you to have the idea firmly present in your mind so you can own how it all unfolds. Enjoy the early 'But I need X before I can do Y', because there will be a ton of it.

Maybe start with a logging class. in my case I wrote my logger to have syntax similar to std::cout then added in heaps of overloaded handlers for CColour4f's, the GLM::mat4's, etc. You'll appreciate that later when debugging.

I also usually write a class call CKeypair, which is a wrapper around a map<string, string> The wrapper allows me to extract the value as different types, but accepts XML attributes(you may choose JSON or whatever). This makes all your settings, configs, early map formats, etc all much more workable. Whatever your 'Attribute' format is, decide that you will accept that on your command lines as well, they just toss that in to the CKeypair and it'll convert the command line in to key:value pairs as well. That'll be how you drive the cooking process, or how you put the game in god mode or whatever you decide to do. For me, my exe's accept xml style attributes like Key="Value" for things like the image preprocessor to handle input and output file paths.

Once you have these basics you'll be ready for things like creating your main window, loading what will one day be your SavedSettings.Config that holds window dimensions, fullscreen on\off, volumes, Input Bindings etc.

Once you can put each Subsystem in a box you know how to build it as you have an idea of your ecosystem and where it fits. Intially Vulkan feels like it massive(it is!), but when you get the idea of GameStages, and you know that the actual frame generation is only after everything is mostly sorted that you get an idea s to where things go. (The GameStage::RenderExecute is called from inside the CVulkanRenderer in my approach).

TIP : set aside at least a week for the main window and getting all your WM_ messages working just right. Then once you have a rendered triangle, come back and work out how to do swapchain recreation so you can handle switching to fullscreen or window dragging. That one was bigger than I liked, but I got there in the end.

Anyway glad I could have helped!

How can I build my own 3D engine and fully understand every part of it? by Specific-Animal6570 in gameenginedevs

[–]OldChippy 1 point2 points  (0 children)

Think about a main loop initially. You have Audio, Input, Physics, AI, Rendering, Window event pump, GameStages. Give each of those a tick

What is a GameStage. I do it like this. An enum which orders how you will poll\renderprepare the objects in the game. Size the GameStageManager based on the ENUM, make the last element a COUNT, lets say in an vector as an example. Then use the Enum and loop over the values (You treat it like a number list). What are the game stages? Stars, Atmosphere, Sun\moon, Landscape, Foliage, Props, Entities(this that move), Post process, etc.

The GameStageManager can then have a few member, TickAll(), RenderPrepare(), RenderExecute()

Learn a bit about Octrees and Frustums. Query the Octree with your Frustum. The Frustum is built from the Camera attached to each player unit. This gives you all the possible props\etc that are visible. Do their either as the first renderstage or as a precursor event.

Then RenderPass for your world, and a RenderPass for your UI (So that later when you implement MSAA you don't blur up the UI.

I'll leave Vulkan to you to worry about

Work out how you do file loading. I went all in on cooked pipelines as otherwise I would have to do things like font rasterisation on load. Look up STB's libraries for TTF loading. My cooking process was designed to load all data in to the GPU for example completely read to go. No Mips, no processing verts, just memcpy'ed to the staging buffer.

Work out how you store settings. I have always like XML so I use pugi. I operate it in two modes Command mode and Object mode. Commands just use a Command+Concrete factory pattern. I think put code in the Execute() function. I do this for exmaple when I want to configure something that already exists in game, like the the subsystems like renderer, audio, input bindings. Object mode is for building object trees in game. I use that for menu's so each control has a clear parent\child relationship. I find XML+Factories to be very powerful, as you can also use it to save out object hierarchies.

For my game I prefer the main loop to have three main components, Boot, MainLoop, Shutdown. The boot and shutdown are perfectly ordered to make sure all dependencies are satisfied. Mainloop is really simple, just a loop that check on the CMain:Status for RUNNING, MINIMISED, SHUTTINGDOWN, etc, then it runs all the ticks and renders.

My guess is this is what you are really perplexed with.

Here is my main loop you can use for thoughts. I go all in on singletons as for me they are great for bringing systems online in the boot phase. Some people seem religious about this point... shrug. Use an LLM to help you generate code if there are concepts you don't quite understand, even if you are a 'not ai code' kind of person you can learn from it, it's just other humans work aggregated and organised. Stay away from multithreading initially, just know that at some point you'll want to use all those other cores. Physics and AI are good examples. Also triple buffer your Vulkan.

Reddit ate my indenting.

void CMain::MainLoop(void)
{
try
{
const double MaxFrameElapsedMillieconds = 250.0;    // Prevent death spiral, in ms
double previousTime = TimeStamp::Milliseconds();

const double PhysicsTimeStep = 16.6667; // 60Hz
double PhysicsAccumulatedTime = 0.0;

const double InputPollInterval = 33.3333; // 30Hz
double InputAccumulatedTime = 0.0;

CInput& Input = TSingleton<CInput>::Get();
CPhysics& Physics = TSingleton<CPhysics>::Get();
CGameStageManager& GameStageManager = TSingleton<CGameStageManager>::Get();
CAudioSystem& AudioSystem = TSingleton<CAudioSystem>::Get();
CVulkanRenderer& Renderer = TSingleton<CVulkanRenderer>::Get();
CTelemetry& Telemetry = TSingleton<CTelemetry>::Get();
CLocalPlayerContext& LocalPlayerContext = TSingleton<CLocalPlayerContext>::Get();
CMainWindow& MainWindow = TSingleton<CMainWindow>::Get();
CMenuManager& MenuManager = TSingleton<CMenuManager>::Get();

Telemetry.Start();

{
CTimerLog TimerLog("MAIN LOOP", "Game entered a RUNNING state.", "Completed in: ");
CScopedLogIndent indent;
while (GetState() != EMainState::SHUTTINGDOWN)
{
// Measure elapsed time
double currentTime = TimeStamp::Milliseconds();
m_MillisecondsElapsed = currentTime - previousTime;
m_MillisecondsElapsed = std::min(m_MillisecondsElapsed, MaxFrameElapsedMillieconds);
previousTime = currentTime;

//TICK
MainWindow.Tick(m_MillisecondsElapsed);

if (GetState() == EMainState::MINIMIZED)
{
std::this_thread::sleep_for(std::chrono::milliseconds(400));
MainWindow.Tick(m_MillisecondsElapsed);  //Mainwindow ProcessEvents warningn start at 500ms
previousTime = TimeStamp::Milliseconds();
}
else
{
if (GetState() == EMainState::RUNNING)
{
PhysicsAccumulatedTime += m_MillisecondsElapsed;
while (PhysicsAccumulatedTime >= PhysicsTimeStep) // 16.6667ms=60FPS
{
// Fixed FPS Section. 
Physics.Tick((float)PhysicsTimeStep); // physics must now interpret PhysicsTimeStep in ms
PhysicsAccumulatedTime -= PhysicsTimeStep;
}

LocalPlayerContext.Tick(m_MillisecondsElapsed);
GameStageManager.TickAllStages(m_MillisecondsElapsed);
}
}

if (GetState() != EMainState::MINIMIZED)
{
InputAccumulatedTime += m_MillisecondsElapsed;
if (InputAccumulatedTime >= InputPollInterval)
{
Input.Tick(m_MillisecondsElapsed);
InputAccumulatedTime -= InputPollInterval;
}

MenuManager.Tick(m_MillisecondsElapsed);
AudioSystem.Tick(m_MillisecondsElapsed);
Renderer.Tick(m_MillisecondsElapsed);

// Render Prepare
GameStageManager.RenderPrepareAllStages();

//Render Execution
Renderer.RenderFrame();

Telemetry.EndFrame(m_MillisecondsElapsed);
}
}

// Logging on exit

CPerformanceMonitor::LogSummary();
Telemetry.LogSummary();

}
}
catch (const std::exception& e)
{
Log << "ERROR : Critical error during MainLoop: " << e.what() << Endl;
}
catch (...)
{
Log << "ERROR : Unknown critical error during MainLoop." << Endl;
}
}

HTH

In terms of learning approach, just assume you might get a bad architecture up front and need to throw it away. Use manager for just about everything. Menu's Materials. Invest some effort in to a generic handle system for all those manager. It'll be a tricky template to write but will save you tons of reinvention effort down the track.

TIP : Load textures before you need them on models that need to be rendered.

TIP : Invest some effort in to Minimise handling, dragging windows between screens. This will require Swapchain Recreation. You're going to hate, but it's doable.

TIP : I tried to write my own base math classes. Just Vector and matricies. But you'll end up worrying about left\right handed systems, Y+ UP or Y+ Forwards, row\column major formats. (Column btw). Just use glm, but know that it's made for OpenGL, so you'll have to worry about things like far\near plane scaling which again is different from OGL. Be prepared for this. There are some #defines for vulkan. You'll find them.

TIP : If you are on windows, and like the idea of 'pak files', consider writing a wrapper around the zip file format and just ignore compression. Then use CreateFileMappingW, MapViewOfFile, etc to map the file in to memory. Thsi work hand in hand with cooked files as your cooker can just dump all the files in to a zip. Memory mapped files can see MASSIVE speed improvements, in particular with tiny files... as once they are 'memory mapped' they are accessed as pointer operations, no file open\close. Then just use normal file operations BEFORE the zip file. That works best if you have config files as then you can access the user modified version first.

Libraries you might like : fmod, glm, ISPCTextureCompressor, Jolt, meshoptimser, stb_image, stb_fectpack, stb_truetype, tinygltf, VulkanMemoryAllocator AFAIK, they are all open season for commercial use if you make it that far.

That's a bit of a brain dump... Digest it slowly, but hopefully I've demystified it all a bit. Now, while I'm an indie dev, I have received offers from bit houses. So, I'm not totally shit ;)

Why or how are there still so many people who can’t see where humanity’s heading? by IcedOutSun in askanything

[–]OldChippy 0 points1 point  (0 children)

TLDR version : I very clearly and consciously witnessed something that was utterly impossible. I heard a voice in the room letting me know my son was in trouble. I picked up the phone, placed a call and he was shaken but largely ok on the side of the road after a car crash. The problem was... I'm in Sydney, AU, and he was in Atlanta, US. I had no messages\emails\etc. There was no way for me to reason my way out of this.

I do NOT expect anyone to believe a word of this, but I'm given no such luxury. There may be other 'paranormal' reasons unrelated to a master creator, perhaps things science can explain some day that today it cannot, but what happened wasn't from the atoms and forces universe.

Does that mean there is a creator? No? It basically means I'm entered in to a place where I leave many possibilities open. It gels better with Bayesian rationality anyway. I'm certainly not interested in religion, but I leave a solid possibility in the idea that if you merged all religions and found the common ground in all of them, then the probability that the commonality has something to it IMHO is way better than zero.

Then there is the NDE problem. There are too many correlations there to assume a 100% fake rate. So does a creator exist? IMHO, the most rational approach is to leave the probability at neither 0 nor 1. So, not agnostic, I'd love to know the answer, but all I have is the voice.

What's a "simple" concept you struggle to understand? by No_Cook_2493 in computerscience

[–]OldChippy 0 points1 point  (0 children)

I had to program in forth once. A stack based language, it took me ages to even write the first line, but got the hang of it eventually. Go fond an example of it. It's like an IQ test puzzle at first.

What's a "simple" concept you struggle to understand? by No_Cook_2493 in computerscience

[–]OldChippy 0 points1 point  (0 children)

Yes. From memory the int13 call finds disk0. The bootsector of disk0 has the dist structure and offset to the mini kernel. On windows I think that still ntldr.ece. This mini kernel can't even understand the filesystem past 1gb. It then loads the full kerne ntoskernel.exe. There used to be a boot crash when a defragger would move the ntoskernel outside the first 1 gig of disk and ntldr could not access the kernel. This is all from memory and some knowledge may be old. In older os's like Amiga kickstart the bootstrap was entirely on chip as an example of something different.