LogFAQs > #979567030

LurkerFAQs, Active Database ( 12.01.2023-present ), DB1, DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicWriting an NES emulator ama
Yellow
03/26/24 3:48:05 AM
#25:


Sahuagin posted...
I don't think what you've said about floats and bools is correct. floats are 4 bytes/32 bits. doubles are 8 bytes/64 bits.

bools are in many places 4 bytes/32 bits, except in arrays they are 1 byte (each).

I don't have a hexdump of memory to confirm this, but some quick tests do seem to confirm it: https://ideone.com/4ELLjh
Hmm, ok, that probably checks out, but I'll have to look into it later. I hope you're at least a little bit impressed by my habit of assuming everyone else is wrong about something basic except me (I swear it's not an ego thing). "I'm not wrong the compiler is" syndrome.

Sahuagin posted...
hmm, I sort of know what you mean, a real "fork" is meant to permanently diverge.

but from my past understanding the last time I used github to contribute it is necessary to work on a fork, I think. I fork your repo (on github) and then I clone my fork. I keep my fork updated against yours, and I keep my local PC updated against my fork. I then push to my fork (since I have write access to it and not yours) and then I make a pull request to your repo from my fork. (I don't think you can make a pull request from CLI git? or maybe you can? in that case I don't know why I'd use a fork then. (didn't get it to work))

the "fork" in this case is just a temporary place to give me write access to github and a place on github from which to send a pull request.

let me know if I have a part of this wrong.

I will try to do something simple today and you can reject it if it's not working for you.
Yeah forks are necessary if you don't have permission, if you accept the organization invite you should be able to push directly to the repo. Then you can ask for forgiveness and not permission.

---
https://www.youtube.com/watch?v=5C_Wrt6pNSw
... Copied to Clipboard!
Topic List
Page List: 1