Yeah, the new pipeline is based HEAVILY on object inheritance and method/property calls so there is a paper trail for ALL of it. Also using Abstract Base Classes so future developers are forced to adhere to the architecture. It has to be in Python, but I am also trying to use the type hinting as much as humanly possible to force things into something resembling a typed codebase.
- 2 Posts
- 110 Comments
I literally told my boss that I was just going to rebuild the entire pipeline from the ground up when I took over the codebase. The legacy code is a massive pile of patchwork spaghetti that takes days just to track down where things are happening because someone, in their infinite wisdom, decided to just pass a dictionary around and add/remove shit from it so there is no actual way to find where or when anything is done.
You mentioned the areas being countries. This leads me to believe that they are concave figures, correct? If you are unfamiliar, a concave figure is something that has a space that doubles back into the interior of the shape. So an o is convex, and a c is concave, as an example. Convex shapes are much simpler to find the area of. You can use a Riemann Sum as others have suggested. I would probably just pick a point inside the shape and do a bunch of triangles around with the point as an apex and the bases as two points on the edge of the surface, then sum up the areas of each triangle. You could even probably use a triangulation algorithm built into the engine to do this. (I am unfamiliar with the specifics of the Godot engine).
For concave shapes it becomes a little more complex. It has been mentioned that you can draw a bounding box around the shape, so that would allow you to calculate it using a numerical method. Take random samples inside the bounding box and count up the number that are inside the shape and divide by the total number of samples. The value you get will be the % of the area of the bounding rectangle that the shape takes up, so just multiply the easy area by the % and you will get an answer that is close enough. It may take a bit to get the sample count right, but it will get there. Try to make sure the samples are as uniform as possible. You could even scatter the sample points then relax them for a couple iterations before counting to increase accuracy without increasing samples.
Adalast@lemmy.worldto
Comic Strips@lemmy.world•Superpowers or Now You're Breathing Consciously
4·3 months agoThe word copulate has been around since the late 1400’s (before the colonization of North America by Europe) and Old English had the word hǽmed which dates back to the middle ages.
You are confusing euphemism with language and applying puritanical systemic manipulation to language. That is censorship and it does not mean that the words don’t exist in the language. Whole different can of worms.
Yes, it has been proven that language and having words to describe things changes the way the brain processes things. There are languages without a word to describe the color Blue, and in fact the people who speak that language struggle to differentiate it from green when tested. Once teaching them a language which includes a word for the color, eventually their brain begins to be able to differentiate it. https://www.bbc.com/future/article/20180419-the-words-that-change-the-colours-we-see
Adalast@lemmy.worldto
Games@lemmy.world•'An embarrassing failure of the US patent system': Videogame IP lawyer says Nintendo's latest patents on Pokémon mechanics 'should not have happened, full stop'English
1·3 months agoI have a real issue here too. Though mine more centers around the purchase of IP to bury it because it would be competition. How many amazing creations that would benefit humanity and make all of our lives more livable are buried in archives at these big corpos?
This is what I would like to see fixed, in the most aggressive way possible. I want a clock on the ownership to bring a product to market based on the purchased patant and if that clock runs out, ownership reverts back to the creator.
There is a species of fungus that parasitically infects ants and after killing them zombie puppets their bodies to the tops of trees so they can sprout and spore to give them the best spread possible on their spores.
I made this comment on a previous post. Vibe Coding is to Coding as Previsualization (Previs is to Visual Effects. (Previs description) A quick slap job that is used to make sure timing is correct, on set assets will all work, and to communicate to artists, directors, producers, and on-set operators what is expected. It is entirely separate from the final product and nothing ever crosses the barrier between Preproduction and Production.
I have seen like 2 movies where the hacker just ran a script and danced around the room until the progress bar got to the top, then he hit a couple inputs and ran another script and went back to dancing. It was so surreal to see something so much closer to real than the feverish hammering in a keyboard.
Adalast@lemmy.worldto
Games@lemmy.world•Steam: Updates to User Review Scores Based on LanguageEnglish
6·3 months agoI kinda hope they also weight reviews based in hours in the game. If ten people with 1000 hours I’m a fame recommend and 1000 people with <10 hours don’t recommend, I really hope the score is better than 50%.
Adalast@lemmy.worldto
Games@lemmy.world•Steam: Updates to User Review Scores Based on LanguageEnglish
1·3 months agoI don’t seem to have this problem as much. That said, I didn’t on Reddit either. Maybe it is because my feeds are mostly science, weird maps, and things discovered on lemmy.nsfw.
Adalast@lemmy.worldto
Programmer Humor@programming.dev•The vibecoders are becoming sentient
1·3 months agoI wasn’t attempting to attack what you said, merely pointing out that once you cross the line into philosophy things get really murky really fast.
You assert that LLMs aren’t taught the rules, but every word is not just a word. The tokenization process includes part of speech tagging, predicate tagging, etc. The ‘rules’ that you are talking about are actually encapsulated in the tokenization process. The way the tokenization process for LLMs, at least as of a few years ago when I read a textbook on building LLMs, is predicated on the rules of the language. Parts of speech, syntax information, word commonality, etc. are all major parts of the ingestion process before training is done. They may not have had a teacher giving them the ‘rules’, but that does not mean it was not included in the training.
And circling back to the philosophical question of what it means to “learn” or “know” something, you actually exhibited what I was talking about in your response on the math question. Putting to piles of apples on a table and counting them to find the total is a naïve application of the principals of addition to a situation, but it is not describing why addition operates the way it does. That answer does not get discussed until Number Theory in upper division math courses in college. If you have never taken that course or studied Number Theory independently, you do not know ‘why’ adding two numbers together gives you the total, you know ‘that’ adding two numbers together gives you the total, and that is enough for your life.
Learning, and by extension knowledge, have many forms and processes that certainly do not look the same by comparison. Learning as a child is unrecognizable when compared directly to learning as an adult, especially in our society. Non-sapient animals all learn and have knowledge, but the processes for it are unintelligible to most people, save those who study animal intelligence. So to say the LLM does or does not “know” anything is to assert that their “knowing” or “learning” will be recognizable and intelligible to the lay man. Yes, I know that it is based on statistical mechanics, I studied those in my BS for Applied Mathematics. I know it is selecting the most likely word to follow what has been generated. The thing is, I recognize that I am doing exactly the same process right now, typing this message. I am deciding what sequence of words and tones of language will be approachable and relatable while still conveying the argument I wish to levy. Did I fail? Most certainly. I’m a pedantic neurodivergent piece of shit having a spirited discussion online, I am bound to fail because I know nothing about my audience aside from the prompt to which you gave me to respond. So I pose the question, when behaviors are symmetric, and outcomes are similar, how can an attribute be applied to one but not the other?
Adalast@lemmy.worldto
Programmer Humor@programming.dev•I created the weirdest political compass
4·3 months agoThe Cult of Pythagoras would like to have a word with you.
Adalast@lemmy.worldto
Programmer Humor@programming.dev•I created the weirdest political compass
128·3 months agoThat doesn’t stop them from being obsolete, it just means that people who have the “if it ain’t broke, don’t fix it” mentality can get fucked.
Adalast@lemmy.worldto
Programmer Humor@programming.dev•The vibecoders are becoming sentient
1·3 months agodeleted by creator
Adalast@lemmy.worldto
Programmer Humor@programming.dev•The vibecoders are becoming sentient
11·3 months agoSee, I agree with everything up to the end. There you are getting into the philosophy of cognition. How do humans answer a question? I would argue, for many, the answer for most topics would be "I am repeating what I was taught/learned/read. An argument could be made that your description of responding with “What would a realistic answer to this question look like?” is fundamentally symmetric with “This is what I was taught.” Both are regurgitating information fed to them by someone who presumably (hopefully) actually had a firm understanding of the material themselves. As an example: we are all taught that 2+2=4, but most people are not taught WHY 2+2=4. Even fewer are taught that 2+2=11 in base 3 or how to convert bases at all. So do people “know” that 2+2=4 or are they just repeating the answer that they were told was correct?
I am not saying that LLMs understand or know anything, I am saying that most humans don’t either for most topics.
Adalast@lemmy.worldto
Programmer Humor@programming.dev•The vibecoders are becoming sentient
11·3 months agoI have never used an AI to code and don’t care about being able to do it to the point that I have disabled the buttons that Microsoft crammed into VS Code.
That said, I do think a better use of AI might be to prepare PRs in logical and reasonable sizes for submission that have coherent contextualization and scope. That way when some dingbat vibe codes their way into a circle jerk that simultaneously crashes from dual memory access and doxxes the entire user base, finding issues is easier to spread out and easier to educate them on why vibe coding is boneheaded.
I developed for the VFX industry and I see the whole vibe coding thing as akin to storyboards or previs. Those are fast and (often) sloppy representations of the final production which can be used to quickly communicate a concept without massive investment. I see the similarities in this, a vibe code job is sloppy, sometimes incomprehensible, but the finished product could give someone who knew what the fuck they are doing a springboard to write it correctly. So do what the film industry does: keep your previs guys in the basement, feed them occasionally, and tell them to go home when the real work starts. (No shade to previs/SB artists, it is a real craft and vital for the film industry as a whole. I am being flippant about you for commedic effect. Love you guys.)
Adalast@lemmy.worldOPto
Open Source@lemmy.ml•Looking for a FOSS alternative to Google Docs for remote collaboration
1·4 months agoDropboxAPI was a standalone cloud storage that Dropbox seems to have repurposed, because of course they did.
Adalast@lemmy.worldOPto
Open Source@lemmy.ml•Looking for a FOSS alternative to Google Docs for remote collaboration
2·4 months agoYeah, I managed to get it by saving it from Libre as a docx.
Adalast@lemmy.worldOPto
Open Source@lemmy.ml•Looking for a FOSS alternative to Google Docs for remote collaboration
1·4 months agoThis one looks cool. I have essentially settled on Cryptpad, but I like the look of this one too.



Any chance for people playing things like Factorio? Maybe Rift Breaker?