Lisias Posted February 10 Share Posted February 10 (edited) On 2/9/2024 at 9:32 AM, corbeau217 said: interesting :O i had a feeling there was some weirdness with the conversion and type sizing for 64 bit the thing i was trying to explain was kinda what you mention a little at the start? like if you used approximations until you needed the precision then chose float for fast approximate precision and double for latency heavy precision That could work, but not due differences between floats and doubles, but from gains on using simpler algorithms. Using a very, very crude comparison (really, really crude): let's imagine you have a million records to be sorted and easily accessed in memory: Database Theory taught us that more often then seldom it's better to split the dataset in two (or more) using some criteria that allows an uniform distribution and keep them sorted in these subsets of data instead of trying to do it on the whole shebang. Problem: this same stunt will screw you royally if you have just about 100K records to keep sorted. Now, trying to save processing by relying on floats because they are smaller is not working anymore since 64 bits CPU became the norm. Unless we are talking about specialised hardware, no CPU wastes silicon on 32 bits math anymore - it's cheaper in silicon real state to promote smaller data into 64 bits, do the operation, and them demote the result back. And theses promotions and demotions waste CPU cycles. In the end, you need to know in advance who will munch the data: GPUs, at least until recently, are optimised to consume floats while the CPUs nowadays are optimised to consume doubles. And do a lot of benchmarks, because most of the time your bottlenecks are not in the math anyway. For example, if you are sorting a huge amount of data, your bottleneck is the sorting algorithm and not the data used as key. So, yeah - measure, don't guess. Implement both ways and check on the target platform what happens. On 2/9/2024 at 9:32 AM, corbeau217 said: honestly im curious what the difference become in the float algorithms to the double algorithms that make it that much faster. is it the size of the numbers or the fact we had more time with float and (sleepy brain cant think of other examples right now) fast inverse square root? I think this should explain it better than me: https://simplylaptop.com/unveiling-the-secrets-of-intel-processors-internal-conversion-of-floats-to-doubles/ Notice the extra steps the CPU does on rounding et all in an attempt to maintain accuracy. — POST EDIT — I'm completely ignoring the SIMD instructions, by the way, in order to keep the discussion simple. You usually have twice the number of float registers available than double ones, and depending on what you need to do, it may be better to take the promotion/demotion penalty and do your math on 32 bits SIMD registers… Edited February 10 by Lisias POST EDIT Link to comment Share on other sites More sharing options...
AtomicTech Posted April 22 Share Posted April 22 I think it's certainly be fun to see the "can it Doom" sometimes extend to "can it KSP?" Link to comment Share on other sites More sharing options...
Great Liao Posted April 23 Share Posted April 23 (edited) I can imagine a KSP 1.13 one day with all of the scrapped content added... and the kraken slain... It would be a ton of optimization, but the community is up for it. Edited April 23 by Great Liao Link to comment Share on other sites More sharing options...
AtomicTech Posted May 1 Share Posted May 1 With KSP 2 potentially getting the axe, now more than ever its imperative that we get the KSP source code so that we can fufill the promises made for KSP 2 in KSP. Link to comment Share on other sites More sharing options...
GGG-GoodGuyGreg Posted May 1 Share Posted May 1 2 minutes ago, AtomicTech said: With KSP 2 potentially getting the axe, now more than ever its imperative that we get the KSP source code so that we can fufill the promises made for KSP 2 in KSP. Which to me reads now even more reasons NOT to release the KSP1 source, if the rumours turn out to be true, then KSP1 would be the only way to make money off of the IP Link to comment Share on other sites More sharing options...
AtomicTech Posted May 1 Share Posted May 1 2 minutes ago, GGG-GoodGuyGreg said: Which to me reads now even more reasons NOT to release the KSP1 source, if the rumours turn out to be true, then KSP1 would be the only way to make money off of the IP There's gonna be a volumetric poop-ton of technical debt and it's going to cost a ton get it removed. At least if we do it then we've already got a start and it's free for PD. We've already outlined how we want to have access the source code and it's to the benefit of all parties involved. Link to comment Share on other sites More sharing options...
Lisias Posted May 1 Share Posted May 1 (edited) On 5/1/2024 at 12:06 PM, GGG-GoodGuyGreg said: Which to me reads now even more reasons NOT to release the KSP1 source, if the rumours turn out to be true, then KSP1 would be the only way to make money off of the IP Releasing the IP was never the objective. Only the Source Code. As a matter of fact, given the current status quo, Open Sourcing KSP¹ may be their best shot to make the franchise profitable again. See Doom, Quake, Half Life, Descent et all. The IP (including assets, as music, meshes and textures) are still being commercially explored by the current IP owners, besides the source code being released decades ago. See the recent Tomb Raider Remastered series - they even hired the dude from OpenLara to work on it. Things keep going as they are now, it's a matter of (short) time until things get really, really ugly - what may include, even, malicious 3rd parties trying to exploit the Community. There's no respect for the EULA already (between other problems I had detected, but can't disclose publicly), getting malware agents around here is a question of "When" and "Who", and not "If" anymore. Having the Source Code available will push away most malicious agents from the Scene, as everything will be openly available for inspection. Of course, you will still need to trust the tool that will deliver the binaries to you - but, frankly, the Linux Scene proved again and again that it's possible to have reliable and trustworthy distribution channels for such binaries. The worst problem, right now, is to gather trustworthy and competent people around the project. Too much damage was done in the last few years, some of them really nasty. EULAs are contracts, not licenses (no matter what they say to you) - do you will trust licensing your code to people that don't respect your EULAs? Open Source is based on Trust and Chain of Responsibilities. And every time one (or more) of these two pillars are broken, things goes South. Badly. (Jia Tan anyone?) Open Source is a development model, not a business model. Anyone trying to extract profit directly from Open Source sooner or later will try some scammy stunt - and, frankly, we are losing both the Trust and the Chain of Responsibility on this Scene. They need to tackle down this problem before going Open Source, otherwise the initiative will fail. Edited May 3 by Lisias Entertaining grammars made slightely less entertaining... Link to comment Share on other sites More sharing options...
AtomicTech Posted May 1 Share Posted May 1 23 minutes ago, Lisias said: Releasing the IP was never the objective. Only the Source Code. As a matter of fact, given the current status quo, Open Sourcing KSP¹ may be their best shot to make the franchise profitable again. See Doom, Quake, Half Live, Descent et all. The IP (including assets, as music, meshes and textures) are still being commercially exploited by the current IP owners, besides the source code being released decades ago. See the recent Tomb Raider Remastered series - they even hired the dude from OpenLara to work on it. Things keep going as they are now, it's a matter of (short) time until things get really, really ugly - what may include, even, malicious 3rd parties trying to exploit the Community. There's no respect for the EULA already (between other problems I had detected, but can't disclose publicly), getting malware agents around here is a question of "When" and "Who", and not "If" anymore. Having the Source Code available will push always most malicious agents from the Scene, as everything will be openly available for inspection. Of course, you will still need to trust the tool that will deliver the binaries to you - but, frankly, the Linux Scene proved again and again that it's possible to have reliable and trustworthy distribution channels for such binaries. The worst problem, right now, is to gather trustworthy and competent people around the project. Too much damage was done in the last few years, some of them really nasty. EULAs as contracts, not licenses (no matter what they say to you) - do you will trust licensing your code to people that don't respect your EULAs? Open Source is based on Trust and Chain of Responsibilities. And every time one of these two pillars are broken, things goes South. Badly. (Jia Tan anyone?) Open Source is a development model, not a business model. Anyone trying to extract profit directly from Open Source sooner or later will try some scammy stunt - and, frankly, we are losing both the Trust and the Chain of Responsibility on this Scene - they need to tackle down this problem before going Open Source, otherwise the initiative will fail. Yes. Link to comment Share on other sites More sharing options...
AtomicTech Posted May 2 Share Posted May 2 We're three folks away from getting 200 supporters Link to comment Share on other sites More sharing options...
Bej Kerman Posted May 3 Share Posted May 3 On 5/1/2024 at 4:12 PM, AtomicTech said: There's gonna be a volumetric poop-ton of technical debt and it's going to cost a ton get it removed I doubt that could be done effectively without completely rebuilding the game - after all, if KSP 1's techdebt could be reduced with less significant amendments to the source code, then the devs would have done so already. And the point of KSP 2 was exactly this goal, provide a new codebase without the gunk tolerated by KSP 1. Link to comment Share on other sites More sharing options...
Lisias Posted May 3 Share Posted May 3 (edited) 10 hours ago, Bej Kerman said: I doubt that could be done effectively without completely rebuilding the game - after all, if KSP 1's techdebt could be reduced with less significant amendments to the source code, then the devs would have done so already. I beg to differ. Some of the worst problems on KSP¹ were really, really silly mistakes buried into the code that only lived by so many years because nobody were looking for them, preferring to elect escape goats to take the blame instead. As why the devs didn't solved these problems before, well... I will left to an exercise to the reader. A chain is so strong as its weakest link - and corporate culture can be a Sun in your Beach. 10 hours ago, Bej Kerman said: And the point of KSP 2 was exactly this goal, provide a new codebase without the gunk tolerated by KSP 1. There're some gunk on KSP¹, but you would be surprised that most of the problems that plagued this scene didn't came from them. --- -- - POST EDIT - -- --- I HAD to quote this here! 8 hours ago, kerbiloid said: Sometimes a monkey squad can more than a division of privates. Edited May 3 by Lisias POST EDIT :) Link to comment Share on other sites More sharing options...
Shammyofwar Posted May 3 Share Posted May 3 (edited) On 2/25/2023 at 8:57 AM, WhatALovelyNick said: Literally that. Since the development team would and will be focused at KSP2, could you give us the source code, so we might look at it and, maybe, fix some things in it to make KSP1 a better game. I'm begging you to do it. I totally agree but , I think they fear if they OS KSP 1 it will become way better than KSP 2 could ever hope to be! Edited May 3 by Shammyofwar Link to comment Share on other sites More sharing options...
GGG-GoodGuyGreg Posted May 3 Share Posted May 3 22 minutes ago, Shammyofwar said: I totally agree but , I think they fear if they OS KSP 1 it will become way better than KSP 2 could ever hope to be! Sorry to break it to you, but it already has, and this is true even before the last couple of days. Link to comment Share on other sites More sharing options...
AtomicTech Posted May 3 Share Posted May 3 4 hours ago, Lisias said: I beg to differ. Some of the worst problems on KSP¹ were really, really silly mistakes buried into the code that only lived by so many years because nobody were looking for them, preferring to elect escape goats to take the blame instead. As why the devs didn't solved these problems before, well... I will left to an exercise to the reader. A chain is so strong as its weakest link - and corporate culture can be a Sun in your Beach. There're some gunk on KSP¹, but you would be surprised that most of the problems that plagued this scene didn't came from them. --- -- - POST EDIT - -- --- I HAD to quote this here! PREACH!! (I ran outta reactions lol) 4 hours ago, Lisias said: I beg to differ. Some of the worst problems on KSP¹ were really, really silly mistakes buried into the code that only lived by so many years because nobody were looking for them, preferring to elect escape goats to take the blame instead. As why the devs didn't solved these problems before, well... I will left to an exercise to the reader. A chain is so strong as its weakest link - and corporate culture can be a Sun in your Beach. There're some gunk on KSP¹, but you would be surprised that most of the problems that plagued this scene didn't came from them. --- -- - POST EDIT - -- --- I HAD to quote this here! I loved your write up on KSP's Autostruts; maybe what we wanna do is try to get rid of Autostrut and replace it with much stronger joints and the built-in struts in an open source KSP (or even in the current one)? Link to comment Share on other sites More sharing options...
Lisias Posted May 3 Share Posted May 3 1 hour ago, AtomicTech said: I loved your write up on KSP's Autostruts; maybe what we wanna do is try to get rid of Autostrut and replace it with much stronger joints and the built-in struts in an open source KSP (or even in the current one)? On an initial moment, fixing the auto-strut bug would be the best line of action. Adding a better mechanism would not be out of question, but initially, we should fix the problem on the features we already have. We build software in layers, one over the other. We left a bug lingering on a lower layer, it will bite our cheeks later for sure. Link to comment Share on other sites More sharing options...
AtomicTech Posted May 3 Share Posted May 3 Seeing as Dakota and Blackrack are out.... THE SOURCE MUST FLOW!!! Link to comment Share on other sites More sharing options...
Iapetus7342 Posted May 23 Share Posted May 23 The source shall flow for KSP2 is soon to fall 6 feet under. Link to comment Share on other sites More sharing options...
Lisias Posted May 24 Share Posted May 24 Given recent discoveries about the current zeitgeist: I want to say again: going Open Source (really Open Source now, as the future appears to be somewhat bleak right now) is the best outcome possible for the franchise, the current IP owners and for the future of the KSP Community. Link to comment Share on other sites More sharing options...
Fizzlebop Smith Posted May 24 Share Posted May 24 That's never going to happen. It would open too much challenge to their golden Goose IP. How about just lifting the ridiculous bans on speaking to experienced engineers that worked on the first. Or willingness to drop a couple graphic artists and combine their salaries to get a good lead developer with a foundational understanding on physics. Or not dumbing down every aspect of the game using the excuse of approachability to make up for inexperience of development team. Bah. Just about all aspects of this were done wrong. Nothing other than circumstantial evidence but sure feels that way. Link to comment Share on other sites More sharing options...
Lisias Posted May 24 Share Posted May 24 (edited) 38 minutes ago, Fizzlebop Smith said: That's never going to happen. It would open too much challenge to their golden Goose IP. Things change, people are replaced, golden gooses die. Sooner or later someone that doesn't have anything to hide neither to loose will remember this (or a similar thread) and will reach to the same conclusion as me: that there's nothing worthy left to be lost, and many possible things to be gained on this stunt. Nothing is risk free - but sooner or later, there will not too much things left to be risked. And we are significantly near this point today. Heck, Classic Tomb Raider are being sold in PHYSICAL MEDIA! And they would not had managed to do that in a cost effective way without open source - see who they hired to the job (hint: Open Lara). Someone, somewhere, still owns this IP and is willing to get some bucks back. It's a matter of time until this person decide to play again Tomb Raider (what they almost surely did when a teenager) and then connect some dots. And if they don't do it, someone else will do it at their expenses - and then someone else will profit with it. People are not respecting the EULA today, what do you think will happen in 6 to 12 months? Edited May 24 by Lisias It was the autocomplete this time, I swear! Link to comment Share on other sites More sharing options...
Fizzlebop Smith Posted May 24 Share Posted May 24 When the current paradigm shift is one toward ever increasing greed, my deep seeded cynism sees a future more shadowrun / cyberpunk where the corporate overlords own everything Link to comment Share on other sites More sharing options...
Lisias Posted May 24 Share Posted May 24 (edited) 36 minutes ago, Fizzlebop Smith said: When the current paradigm shift is one toward ever increasing greed, my deep seeded cynism sees a future more shadowrun / cyberpunk where the corporate overlords own everything And, yet, someone will be in the shadows, hacking KSP¹ on an custom cyber-deck and publishing it on the dark web. Spoiler KSP¹'s Source Code is already on the wild - just see around, there're decompiled code being used everywhere. This is a fact, fait accompli. The only thing still remaining to be decided is how (and who) people will be able to explore and expand this code - it's the C-Suits' best interest that whoever is looking into the code could contribute something back to them and, well, this can't be done under the law without Open Source. Edited May 24 by Lisias Entertaining grammars made slightely less entertaining... Link to comment Share on other sites More sharing options...
Fizzlebop Smith Posted May 24 Share Posted May 24 8 minutes ago, Lisias said: And, yet, someone will be in the shadows, hacking KSP¹ on an custom cyber-deck and publishing it on the dark web. Hide contents KSP¹'s Source Code is already on the wild - just see around, there're decompiled code being used everywhere. This is a fact, fait accompli. The only thing still remaining to be decided is how (and who) people will be able to explore and expand this code - it's the C-Suits' best interest that whoever is looking into the code could contribute something back to them and, well, this can't be done under the law without Open Source. That's a different story.. I can see some blurry future where the Kerbal IP gets liberated. Legions of script kiddies wiedling AI daemons. A couple competent codeslingers coordinating from...oh excrements yea.. #freejebfromcyberspace Link to comment Share on other sites More sharing options...
Lisias Posted May 26 Share Posted May 26 (edited) I was following this one for some time, but frankly, I didn't believed it would fructify. But it did. And this is terrible. In a nutshell, Bungie (a Game Studio own by Sony, and makers of some heavy hitters in the market) sued a cheat maker and won. I'm not siding with the cheat maker (besides there's nothing intrinsically illegal on it, and I don't see a problem when the cheats are not used on online PvP games), but what's making me excrements on my pants is in which grounds they won the lawsuit. They are literally creating precedence to make (direct) Reverse Engineering illegal - i.e., anyone that had ever decompiled a copyrighted binary material would be infringing the Copyright, and so being liable to respond to the infringement as a Copyright Violation. The relevant parts of the lawsuit were summarized by Game File as follows (emphasis are mine): Quote There is no law specifically against cheating in a video game, so both sides will be asking the jury in Seattle this week to consider something else, the thing that game companies commonly sue cheat-makers/sellers over: copyright. Bungie’s position, like that of GTA-maker Take Two, World of Warcraft studio Blizzard and others before it, is that to make a tool to see through walls in a game or get instant kills, the cheat maker has to violate the game company’s copyright. Bungie alleges that the creation of a cheat for Destiny 2 involves “accessing a local copy of the client software of Destiny 2 to reverse engineer it, copying code, and making derivative works.” Dear sirs, these three paragraphs essentially summarized what modders do around here for some time already. This crap is going to bite our collective asses badly, be you the one that decompiled some code to understand what's happening, be you the one directly using this knowledge to do something. WORST. This also make users liable. Also from the same article above: Quote (Bungie has also argued in its legal filings that these kinds of cheats cause the players using them to also breach copyright, but it has yet to sue a player who simply bought and used them.) Every law will be (ab)used to its maximum extent. There's not a single exception from this rule - once the you open the gate, holding the flood is near impossible. Nintendo anyone? To learn more (some links under paywall or registerwall): PC Gamer: Bungie wins a little walkin' around money in first of its kind jury trial against Destiny 2 cheat maker Law 360: Bungie's Code Copying Claims Questioned At Seattle Trial Torrenk Freak: Destiny 2 Creator Bungie & Cheat Maker AimJunkies Go Head-To-Head at Trial casetext search for the subject (missing the court's decision at the time this post was written) From my best knowledge, the defendant's Attorney is called "Mann Law Group". So, Fellow Kerbonauts, we may be in the verge of an inflection point. Having formally legal, authorized access to the Source Code is risking not being a question of convenience or even mutual assistance, but a matter of mere survival. Direct Reverse Engineering is not a viable option anymore (IMHO, it was always risky), as this is not about only the EULA and the Forum Publishing Guidelines. Now, we have a AAA Game Studio, Bungie, paving the way to make illegal the very foundation of modding in general (besides not targeting modding in special), and this is the base for some important ones on this Scene (I prefer not to nominate them here). Copyright Infringement is serious business, and this case have the potential to be enforced even on countries where Reverse Engineering is authorized by law - Copyright treaties as the Berne Convention establishes that Copyright works from foreign countries should have their home country Copyright respected. This also puts non USA citizens on a tight spot when dealing with USA's Intellectual Property. Unless this court decision is reverted, we need the Source Code to prevent some serious disruption on the KSP¹ modding scene! Edited May 28 by Lisias adding link to pc gamer Link to comment Share on other sites More sharing options...
Fizzlebop Smith Posted May 28 Share Posted May 28 (edited) I love the opening line... Lead security engineer at bungee is not sure if the accused ever had access to the decompiled source code and indeed.. has not evaluated the 3rd party addon source code ... These kind of things really make my nhilism rear its ugly head and threaten to swallow my outlook on the future. This is indeed some scary excrements. I'm old enough to remember the Napster fallout with Kazaa and the subpoena that were launched in the wake. The official and unofficial powers that be will always seek to consolidate their holds over various sectors of the world / market. As governments collapse from corrupt dynasties and policy makers fall ever deeper into the pockets of corporate interests, this is the natural evolution. They want to own EVERYTHING eventually... and we lease whatever privileges or amenities. Part of this was evidenced (For Gaming) by the rise of micro transactions. As the power players consolidate more and more market share, in addition to fiercely competing there is a need to monetize every cent from any potential revenue stream possible. I was always worried at the outset of KSP2 that there would be some back end need to monetize.. per mission points of sale or extra parts. Hell lets charge for all those amazing mods that people developed for free... There is still a modicum of power in the consumer, in those rare instances when outrage results in change. Edited May 28 by Fizzlebop Smith Link to comment Share on other sites More sharing options...
Recommended Posts