Trying to interpret a VMF file - plane

I read a question about a similar topic on stackoverflow and I have part of the solution to my problem, let me explain what the problem is;
I need to know each and every block's position, and on the question that I read the questioner mentioned that the 3 vectors for "plane" are the determinants of the position, but I read the 1 answer that was there, and also checked the webpage the questioner provided and I couldn't understand it fully, could anyone please simplify it for me, this is holding me back from parsing VMF files.

Related

CE/ which approach should i do for this case?

ive been learning tutorials and i now understand how to find address for such as damage, speed, xp and others
but if you take a look at the video below (basically its to find a guy with medal)
https://i.imgur.com/82bEMTH.mp4
some guy uploaded an explanation video of how to do it(the link below)
i guess
but i really dont understand since all i can do is changing the value(that has numbers)
https://i.imgur.com/OiHMdQE.mp4
so my question is is this (the explanation video above) doable in CE
and if so, what value should i look for? i would appreciate any tips!

Creating a drawn audio reactive visual

I'm looking to create this project in processing, however, I'm finding the terminology a bit hard. I'm not sure how to call the effect where the line is staying permanently throughout the song to 'draw' the music data.
I would appreciate any guidance on what tutorials I could look at or an answer from someone.
My aim is to create something as close to this as possible:
https://www.youtube.com/watch?v=Bb5PTitqtlc&t=58s
Stack Overflow isn't really designed for general "how do I do this" type questions. It's for specific "I tried X, expected Y, but got Z instead" type questions. But I'll try to help in a general sense:
You need to break your problem down into smaller pieces and then take those pieces on one at a time. Write down exactly what you want to happen, in English, and that will be an algorithm that you can think about implementing with code.
Get something simple working. Can you write a simple sketch that plays a song? Then work your way forward in small steps. Can you write a simple sketch that prints out some numeric values based on the song that's playing? Separately from that, can you create a very simple visualization using hard-coded numbers? Get all of that working separately before you think about combining them into a sketch that shows a visualization based on a song that's playing.
Then if you get stuck, you can post a more specific question along with a MCVE. Good luck.

My excel file keeps freezing

I have a file with the usual sumifs and vlookups. Nothing complicated computationally!
It has a lot of conditional formatting
As I remove the formulas the wait cursor remains there for shorter and shorter.
When I remove all the formulas and the formatting the file is fine as in I do not get the wait cursor. What is left is a file with no calculations and flat data.
Even with calculations that are just summing I am getting the wait cursor
I have tried excel open and repair. This does not work.
My sumifs have been changed to refer to a finite array as opposed to whole columns (which are also finite for the pedantic! but say these are infinite)
I think what I want to know, is what is known to cause a wait cursor to appear in excel? What can I do to minimize the time that the wait cursor appears?
I have looked on google and am not finding anything useful or relevant to my problem
I am starting to realise that wait cursor seems to always appear for a split second when I insert a column! however with my few sumifs formulas the wait cursor is getting longer and longer. Is it possible for sumifs formulas to calculate quickly but add to the wait cursor time the more sumifs you add?
Old question :
I have an excel file that keeps freezing
It calculates and saves very quickly. it is only 3090kb
Every time I insert a column or add a sheet for example I get the egg timer and if I click it starts to say 'not responding'
It only happens with this file so I don't believe it is my computer or excel version
the file was working fine before. I extended the formulas in about ten tabs (although not that many calcs added) and then it started to freeze
even if I delete every tab so there is just a blank sheet in the file it still freezes
Please help. Thanks
Please do not answer yet, I am still investigating and will get back to this. thank you
EDIT: The WAIT cursor not egg timer
Check if there are any hidden sheets with the data that is slowing it down.
Right click on sheet tab and unhide.
Make this practice to use this Macro or set Row Height to 15 so they don't Wrap. Wraptext in large excel files causes it to slow down to the point of freezing:
activesheet.cells.wraptext = false
#Jasmine - I wasn't suggesting that you are making anything up, nor was I my comment intended to be facetious. My point was that your question sounds self-contradictory to me.
When learning a new coding language, learning which questions to ask and how to phrase and share your problem is a skill in itself.
The fact that your file functions (a.k.a. calculates) 'properly'
until more identical formulas are added, sounds to me like it's no longer calculating properly, so I was unsure what you meant.
As for the `size doesn't matter' comment, it's another valid point about how some people ask questions when mistakenly thinking that file size has any significance. I've encountered and solved thousands of [seemingly unique] issues over the years but the last time I looked at the size of my file would have been back when it would've had to fit on a diskette.
Similarly, I often see questions here where the "asker" includes irrelevant statistics like the number of records in their database, as if you need to code differently for 10 records versus 10,000,000 (which isn't generally true, btw). I can't help but chuckle at some questions where the O.P. spends more time describing the formatting of a cell than the formula it contains (that's causing the issue). But from their point of view, it's significant.
Think of the people reading your question as sitting in your office blindfolded while you explain your problem. If you're asking for (free) help from others who cannot see what you can, with zero previous knowledge, does it not make sense to make a question absolutely as clear as possible -- even if that involves Googling a word to update your terminology that you know is incorrect? (or is the onus on the reader to figure out what you mean?
**Did you click the links I posted for you (above) to learn how to better communicate your problem and edit your question to add more specific examples and more information as requested and described in those links? (or was that a "waste of time" as well?) There were specific questions for you as well.
This site was frustrating for me when I first joined too but the rules and posting etiquette were not made immediately known to me by a stranger with a few seconds to spare. I had a major learning curve and some pretty nasty comments from people since I was breaking rules I wasn't even aware of. I am actually breaking a major rule right now, can you identify it perhaps by familiarizing yourself with the site in the Help Center?
Hint: I'm probably going to get "scolded" for the method I am using to give you this advice as opposed to the short comments and links I would normally post on a question that needs more information so I or others can give an informed answer. Some people don't like posting a question and not getting a custom written set of code promptly written just for them. Some people are grateful for every bit of advice they can get from a stranger, others never come back and find a site more suited to their needs.
Remember, there is a ton of existing information on this site and others because it's very unlikely that whatever problem you're having has been experienced - and solved - by many, many people before you. By researching as much as possible, you learn both about your problem and about which questions get "better" answers than others.
Anyhow I hope you read fast, this answer might not be here long (I wanted to be clear but without a whole whack of comments back and forth...)
Jasmine, if you're still angry with me, you can "get me back" if you can find the correct Flag button. The answer to my question for you in is there too... (It's not option #2, as lest not intentionally!)
Good luck & happy holidays to all!

Excel SUMPRODUCT and ROW Function Error

I keep getting a #NAME? error with this function:
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
(EulerPhi is a user defined function that does Euler's Totient function)
Does anyone know what could be causing this? Or is there a better way to sum up this from i=1-24 such that
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/i),1)=GCD(A5,B4)/i,1,0)*EulerPhi(i)*COMBIN(A5/i,B4/i)))
Thanks for your help!
The correct answer to your question "what could be causing this" is: lack of troubleshooting.
Asking why a formula isn't working, without sharing the data that it's looking at, or the code for custom functions, is like if I were to call you and say "what color is that thing?" ... You'd have no idea what I was asking (even though you know what colors are).
Troubleshooting
Your question's title indicates that the problem is [SUMPRODUCT] or [ROW]. I can only assume those terms were randomly chosen since:
you didn't indicate why you suspect those functions specifically
explanation as to why those are any more of an issue than others in the formula like [ROW], [COMBIN] or even custom function [EulerPhi]
you haven't checked back to answer questions about your post since a few minutes after posting.
Troubleshooting Steps
The five-step troubleshooting process consists of the following:
((More detail from the [source])(https://www.myodesie.com/wiki/index/returnEntry/id/2956#Troubleshooting%20Steps))
Verify that a problem actually exists.
Isolate the cause of the problem.
Correct the cause of the problem.
Verify that the problem has been corrected.
Follow up to prevent future problems.
You stopped at Step 1. Even if the next step was:
Post the problematic line as a question on Stack Overflow.
. . . you still couldn't expect a reliable solution since nobody else has the information required for steps 2,3 & 4. (Also, this isn't SO's purpose. Please see the tour.)
Isolating the Problem
Normally, I wouldn't have spent this much time on an "unattended" Question, missing information required to solve the problem, but I'm documenting my troubleshooting steps and this works as a partial an example.
For the sake of illustration I've broken this down into all 25 formula sections. (15 without repeats). Obviously it's not necessary to go this extent, when checking such a simple formula.
(Download a copy of the worksheet here.)
Thus, I can't know for sure where the problem lies without knowing:
- the value of A5
- the value of B5
- the contents of ROW(1:24)
- the code behind custom function EulerPhi
. . . but I can almost guarantee it comes down to:
1. The custom function EulerPhi, and
2. Unintended effects of referring to range ROW(1:24).
You can confirm my theory by checking if this formula calculates properly:
=EulerPhi(ROW(1:24))
If that happens to be working as it should, then copy-and-paste the following 15 forumlas to a blank area of the same worksheet where the data is. Your problem lies with the errors you get:
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=(IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24)))
=IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))
=IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)
=FLOOR((GCD(A5,B4)/ROW(1:24)),1)
=GCD(A5,B4)/ROW(1:24)
=GCD(A5,B4)
=EulerPhi(ROW(1:24))
=COMBIN(A5/ROW(1:24),B4/ROW(1:24))
=A5
=B4/ROW(1:24)
=B4
=ROW(1:24)
(The formulas were just copies from the image, with duplicates removed.)
By this point, you will have either solved the problem, or at least, have a specific question to ask. Please, read tips on what example information needs to be included here: How to create a Minimal, Complete, and Verifiable example.
Proper troubleshooting methods seem time consuming but the elimination process gets quicker with practice, and will save a lot of time and frustration (for yourself and others) in the long run.

S3 NodeJS -ListObjects always returns 0

The code for this question is already here:
Does writing to S3(aws-sdk nodeJS) conflict with listing objects in a bucket?
Please be sympathetic, I've been on this problem for days and I'm a complete rookie. I am trying to poll for a list of objects(haveFilesBeenWrittenToBucket method) and then read the file when there are objects (readFile method). If I place a breakpont on the callback(items) in the haveFilesBeenWrittenToBucket, everything works fine. If I don't, I always get 'number of items 0' written out to the console. It is not predictable exactly when the stuff will be written to S3, but it should be within a minute. There appears to be a race condition, and I would be very grateful if anyone could help me out here. I'm desperate for ideas. Thanks so much.
P.S. I was advised to make this a separate question to the one asked in the link.
In the end, I was barking up the wrong tree- my error had nothing to do with node.

Resources