Page 18 of 20

Re: Random off-topic stuff

Posted: March 20th, 2022, 6:55 pm
by Norbert
Some of this made me chuckle.

Re: Random off-topic stuff

Posted: April 9th, 2022, 11:09 pm
by Norbert
Norbert wrote: July 30th, 2012, 11:49 pm I was just browsing YouTube an ran into this behind the scenes of Mortal Kombat 1 video.
Kinda fun to see some of the people that were involved and how they recorded stuff.
Here's a, surprisingly high quality, free, making of documentary that was released January this year.

Re: Random off-topic stuff

Posted: April 25th, 2022, 9:45 pm
by Norbert
Twitter has now accepted Elon Musk's offer to buy the service for approximately $44 billion.

Re: Random off-topic stuff

Posted: April 26th, 2022, 12:11 pm
by atrueprincefanfrom18
Norbert wrote: April 25th, 2022, 9:45 pm Twitter has now accepted Elon Musk's offer to buy the service for approximately $44 billion.
Now OpenAI can get more data to feed into their AI algorithm :lol:

Re: Random off-topic stuff

Posted: April 28th, 2022, 10:17 pm
by Norbert
Norbert wrote: April 9th, 2022, 11:09 pm
Norbert wrote: July 30th, 2012, 11:49 pm I was just browsing YouTube an ran into this behind the scenes of Mortal Kombat 1 video.
Kinda fun to see some of the people that were involved and how they recorded stuff.
Here's a, surprisingly high quality, free, making of documentary that was released January this year.
[video]
Also, it's funny to see that the Mortal Kombat (1995) film theme song, which is pretty basic in many ways, has 139 million views on YouTube. Some funny comments under the video as well, such as that the song is more 90s than the 90s themselves.

You know, it is interesting how nostalgic the "Mortal Kombat" scream/yell - that's in the song - is for many, including myself. This video has the scream's origin (at 0:15; not the kid):

The scream as a separate sound bite here. Once spoken by Kyle Wyatt, I think.

Re: Random off-topic stuff

Posted: May 2nd, 2022, 9:58 am
by Norbert
Man, some insects are large.
Attached images of the elephant beetle.

Re: Random off-topic stuff

Posted: May 8th, 2022, 7:40 am
by Norbert

Re: Random off-topic stuff

Posted: June 7th, 2022, 5:24 am
by Norbert
https://en.wikipedia.org/wiki/Copyright ... ion_rights
Apparently, in US law, if you've licensed something, then up to 35 years later, the licensor (that grants the license) can terminate the license.
Recent example: https://deadline.com/2022/06/tom-cruise ... 235039026/

Re: Random off-topic stuff

Posted: June 27th, 2022, 2:48 pm
by Norbert

Re: Random off-topic stuff

Posted: June 28th, 2022, 2:54 pm
by Norbert

Re: Random off-topic stuff

Posted: November 19th, 2022, 3:22 pm
by Norbert
How do I undo a - the last applied - commit from within the GitHub interface?

And how do I reassign commits that were already made to another GitHub account?
(This and this should've been done by user "EndeavourAccuracy" and not by "apoplexy".)

Re: Random off-topic stuff

Posted: November 26th, 2022, 12:06 pm
by David
Norbert wrote: November 19th, 2022, 3:22 pm How do I undo a - the last applied - commit from within the GitHub interface?
I only know how to do so in your local copy:

Code: Select all

$ git reset --hard HEAD^
You can replace HEAD^ with the commit ID of the last commit you want to keep.

The you need to force push it:

Code: Select all

$ git push --force
Norbert wrote: November 19th, 2022, 3:22 pm And how do I reassign commits that were already made to another GitHub account?
I managed to change the author of the *last* commit in a test repo with this:

Code: Select all

$ git filter-branch --env-filter 'GIT_AUTHOR_NAME=TEST_AUTHOR_NAME ; GIT_AUTHOR_EMAIL=TEST_AUTHOR_EMAIL ; GIT_COMMITTER_NAME=TEST_COMMITTER_NAME ; GIT_COMMITTER_EMAIL=TEST_COMMITTER_EMAIL' HEAD^..HEAD --
(Only the GIT_AUTHOR_* fields show up in git log, it seems.)

Unfortunately, I can't find a way to specify any commit other than the last.

If I specify a range with specific commit IDs then git says "You must specify a ref to rewrite."

I searched for that error message, and found this post which says that the end of the range must be HEAD.

And here is the official documentation about how to change existing commits: https://git-scm.com/book/en/v2/Git-Tool ... ng-History
"Changing Email Addresses Globally" is at the bottom.

Re: Random off-topic stuff

Posted: November 26th, 2022, 12:17 pm
by Norbert
David wrote: November 26th, 2022, 12:06 pm
Norbert wrote: November 19th, 2022, 3:22 pm How do I undo a - the last applied - commit from within the GitHub interface?
[information]
Norbert wrote: November 19th, 2022, 3:22 pm And how do I reassign commits that were already made to another GitHub account?
[more information]
Thanks for the pointers.

Re: Random off-topic stuff

Posted: December 27th, 2022, 10:43 pm
by Norbert
May I ask how I can prevent the attached test program from triggering printf on Alt+Tab?
The SDL_FlushEvents() lines don't do the trick...
I considered posting this question at discourse.libsdl.org, but maybe the solution is super simple. :oops:

I know there's also something like
if ((!(event.key.keysym.mod & KMOD_LALT)) && (!(event.key.keysym.mod & KMOD_RALT)))
but that doesn't work either, if Alt is released at a (slightly) different time.

Re: Random off-topic stuff

Posted: December 28th, 2022, 7:42 pm
by David
Norbert wrote: December 27th, 2022, 10:43 pm May I ask how I can prevent the attached test program from triggering printf on Alt+Tab?
The SDL_FlushEvents() lines don't do the trick...
I considered posting this question at discourse.libsdl.org, but maybe the solution is super simple. :oops:

I know there's also something like
if ((!(event.key.keysym.mod & KMOD_LALT)) && (!(event.key.keysym.mod & KMOD_RALT)))
but that doesn't work either, if Alt is released at a (slightly) different time.
I get a "Tab down" printout only if I release Alt but keep Tab down for the length of repeat delay (maybe half a second).

I tried to use the same fix which SDLPoP uses, but it doesn't work here *or* in SDLPoP!
(May be that fix was only for Linux? I am testing this on Windows.)

Strangely, if I release Tab before I get a "Tab down" printout, then the code sees Tab as not pressed, and doesn't see a keyup event for Tab.

I attached my fix attempt.