u/KayEss
-
0points
KayEss
KayEss
Fully explained code for a basic neural network (the sort of thing that LLMs use): https://kirit.com/Tiny%20Classifiers/tiny-classifier.cpp
KayEss
Normally they intimidate. Nobody who holds a patent wants to go to court to defend it, so it's generally based around bullying and who has access to the most expensive lawyers
KayEss
Yeah, this seems to happen if you find it before you've finished the earlier upgrade stages. Upgrade Victor further and then when you return you'll get the proper message
KayEss
Any more bust.....
KayEss
Back in the 90s I had a video production company in London. We were in the vanguard of using cheap PCs instead of Silicon Graphics workstations to do graphics work. We used Lightwave on Amigas, and rendered on networked PCs (486s and 386s mostly, with one Pentium P90). We used PovRay, some software I wrote and a load of other bits and bobs to do the work. A load of our stuff was on Box TV, MTV, Cartoon Network and other places. Fun times
KayEss
Very appreciative of the feedback. Thank you! Just to let you know, the highest scores I've seen are over 1000.
My code that guesses at a font size needs to take into account narrow screens better -- that'll be coming in a future update.
KayEss
Our first game is in early access now. It's available on Itch for Android, Linux and Windows and is on the Android Play store as well: https://blue5alamander.com/Games/
The game is entirely C++, including procedural generation for the graphics. A lot of the engine code is open source at https://github.com/Blue5alamander with lower level libraries at https://github.com/Felspar
KayEss
Factorio is one
KayEss
If you want to try something that is designed around coroutines and io_uring on Linux you can look at https://github.com/Felspar/io
If you go with ASIO (which is also an excellent library), you will find the coroutine forms much easier to work with than the callbacks -- the code will be significantly simpler to write and you're far less likely to add bugs as a result.
KayEss
I'm Kubuntu 22.10 right now, so I'm using whatever that is shipping. I did notice that there were tabs on kwrite now.
Thanks for the heads up on the new features. I'll do some experimenting and see if there's a better work flow there
KayEss
Oh cool! I have a 4K screen that's quite close to me, so I find lots of small windows scattered all over the place to be much better than a giant window which wastes nearly the whole screen. On git-cola's file viewer and can see the files in the repo, clicking on one and hitting ctrl-e opens kwrite with that file and KDE spreads the windows out over the desktop -- I keep them quite small compared to the screen size,
KayEss
Editor is kwrite, konsole for terminal, git-cola's file viewer for source navigation and git commits
KayEss
You can change the mode be editing a file
KayEss
Yes, it could happen in single player as well. I think there should be some monitoring in Windows that will let you see the disk IO, and you should be able to confirm that there's a lot of disk activity when you have the problem.
KayEss
Glad you worked out what it is.
I'm not that familiar with Windows, but there used to be a disk setting for "write through cache" that you could turn on.
You should only do this if there's nothing else important being done on the machine -- it can greatly increase the chances of getting disk corruption if there's a power outage. With the save files the worst that should happen is that the last save didn't finish and you'll have to go back an extra ten minutes.
That setting will only help you though if you have plenty of spare RAM.
KayEss
How often is the auto save? Maybe the disk can't keep up and you don't have the spare ram to cache the write
KayEss
Sleep in your coffin, then the blood won't deplete
KayEss
This is a 15 year old thread, but OK :-)
I think "objects are responsible for their behaviour" is a better way of looking at what you call polymorphism and is certainly more fundamental.
That objects only communicate through messages means that they are naturally encapsulated. Encapsulation isn't the point, message passing is the point.
It's also worth noting that Joe Armstrong significantly changed his mind about OOP once he fully embraced the view of OOP as not being about inheritance, but rather aligned with the three pillars in the article, and ended up agreeing that Erlang was in fact a great OOP language.
KayEss
epoll
I've been sorely tempted to write one using io_uring, which would also make it Linux only. I expect I'd be the only person to ever play it though :-)
KayEss
Better to replace the last && with a semi colon so turning the compositor back on happens even if the game doesn't exit cleanly
KayEss
I have the g29 and foot pedals. I just plugged it in and it all worked fine. In Euro Truck Simulator 2 you have to manually map the controls because it gets them wrong. Same in F1 2017. Force feedback in F1 2017 worked perfectly as far as I could tell (I've never used the wheel under Windows so don't know if it should do anything else). I think those are the only two games I've really had a chance to use it with so far -- only recently got it and been busy with other things.
There is some software that you can use to test the wheel and manage some settings on it, but I didn't find any need to use it. Just in case though, here's the repo: https://github.com/berarma/oversteer
I'm not on reddit so very often, so expect a delay in answers if you have more questions to ask :-)
KayEss
The loop has to be written to go with the coroutines that you're using. Here's one example of some tests for a task coroutine: https://github.com/Felspar/coro/blob/main/test/run/task.cpp and here is one for an IO loop https://github.com/Felspar/poll/blob/main/test/run/basics.cpp#L112-L116 (the `run` method executes the loop until the passed in coroutine is done)
KayEss
It's a reasonable point. I like the keyboards otherwise and the Linux drivers are great, but maybe it is time to try something else. I'll have to do some looking around for something else that I might like too
Nice to see it's even blended in the correct colour space. Well done!