Page 131 of 238

C++ template usages

Posted: November 8th, 2019, 2:24 am
by PHPBB12345

Re: Random posts

Posted: November 8th, 2019, 3:27 am
by JP21
How do I convert LifeHistory to Life the fastest way? I want to know because I get tired by removing extra cells everytime the patterns are using LifeHistory.

Transactional memory demo

Posted: November 8th, 2019, 4:25 am
by PHPBB12345

Code: Select all

section .text
    global _start       ;must be declared for using gcc
_start:                     ;tell linker entry point
    mov eax, -1
    xbegin _fallback
    push '*'
    pop ebx
    xend
    mov byte [msg+8], bl

_fallback:
    mov ecx, 8
    mov edi, msg
    mov ebx, eax
_loop:
    shld eax, ebx, 4
    shl ebx, 4
    and eax, 15
    or al, 48
    stosb
    loop _loop
    mov edx, len    ;message length
    mov ecx, msg    ;message to write
    mov ebx, 1      ;file descriptor (stdout)
    mov eax, 4      ;system call number (sys_write)
    int 0x80        ;call kernel
    mov eax, 1      ;system call number (sys_exit)
    int 0x80        ;call kernel

section .data

msg db  '        .',0xa ;our dear string
len equ $ - msg         ;length of our dear string

Re: Random posts

Posted: November 9th, 2019, 4:09 am
by gameoflifemaniac
lol

Re: Random posts

Posted: November 9th, 2019, 7:06 am
by Gustone
JP21 wrote: November 8th, 2019, 3:27 am How do I convert LifeHistory to Life the fastest way? I want to know because I get tired by removing extra cells everytime the patterns are using LifeHistory.
toLife.lua

Re: Random posts

Posted: November 9th, 2019, 8:10 am
by Moosey
You're supposed to drink ah_10{gamma_0(@@{gamma_0@gamma_0})gamma_0} glasses of water a day

Re: Random posts

Posted: November 9th, 2019, 10:16 am
by PHPBB12345
Passionflower, means "suffering" flower
Passionfruit, fruit for one of passionflower species

Re: Random posts

Posted: November 9th, 2019, 10:22 am
by Moosey

Code: Select all

x = 28, y = 9, rule = B3aijnq4a/S2-c3-a4aqw
23b2o$21bo4bo2$20bo6bo$21bo4bo$21b2o2b2o$4o19b2o$o2bo$b2o!

Re: Random posts

Posted: November 9th, 2019, 10:35 pm
by PHPBB12345
EmbedViewer, means Embedded LifeViewer

Re: Random posts

Posted: November 10th, 2019, 8:55 am
by Moosey

Re: Random posts

Posted: November 10th, 2019, 10:25 am
by Moosey
Siri is clever.
276ED74B-C1A9-4948-8798-CA9DA9CDB683.jpeg
276ED74B-C1A9-4948-8798-CA9DA9CDB683.jpeg (156.94 KiB) Viewed 6985 times
I'll remember to ask the airspeed velocity of an african swallow carrying a coconut.

(By the way, Møøse would likely be pronounced muh-eus-- according to Wikipedia, ø is the sound eu in the French bleu)

Re: Random posts

Posted: November 10th, 2019, 8:49 pm
by EvinZL

Code: Select all

x = 270, y = 5, rule = B/S012345678
2bo4b4o4b4o2b4o3b5o2b5o3b4o2bo3bo2b5o2b5o2bo2b2o2bo6bo3bo2bo3bo3b3o3b
4o4b3o3b4o4b4o2b5o2bo3bo2bo3bo2bo3bo2bo3bo2bo3bo2b5o9b5o2b5o3b2o5b3o3b
5o2bo3bo3b3o3b4o2b5o3b3o4b3o4b3o$bobo3bo3bo2bo6bo3bo2bo6bo6bo6bo3bo4bo
6bo4bobo4bo6b2ob2o2b2o2bo2bo3bo2bo3bo2bo3bo2bo3bo2bo8bo4bo3bo2bo3bo2bo
3bo3bobo4bobo6bo11b3o6bo3bobo4bo3bo6bo2bo3bo2bo5bo9bo3bo3bo2bo3bo2b2o
2bo$b3o3b4o3bo6bo3bo2b4o3b4o3bo2b2o2b5o4bo6bo4b2o5bo6bobobo2bobobo2bo
3bo2b4o3bo3bo2b4o4b3o5bo4bo3bo3bobo3bobobo4bo6bo6bo13bo6bo6bo6b2o4b4o
2b5o3b2o3b4o5bo5b3o4b4o2bobobo$o3bo2bo3bo2bo6bo3bo2bo6bo6bo3bo2bo3bo4b
o4bobo4bobo4bo6bo3bo2bo2b2o2bo3bo2bo6bo2b2o2bobo8bo4bo4bo3bo3bobo3b2ob
2o3bobo5bo5bo28bo5bo9bo6bo5bo2bo3bo3bo5bo3bo6bo2bo2b2o$o3bo2b4o4b4o2b
4o3b5o2bo7b3o3bo3bo2b5o3bo5bo2b2o2b5o2bo3bo2bo3bo3b3o3bo7b4o2bo2b2o2b
4o5bo5b3o5bo4bo3bo2bo3bo4bo4b5o4bo6bo6bo4b5o2b5o2b5o6bo2b3o4b3o3bo7b3o
3b4o4b3o!
[[ ZOOM 29 X -135 TRACK 1/6 0 LOOP 1620 ]]

Re: Random posts

Posted: November 11th, 2019, 7:11 am
by Moosey
You can make a nonisotropic rule that does that, by making it so that the only cell that matters for birth/survival is the one directly to the right:

Code: Select all

x = 11, y = 15, rule = LifeHistory
5.A$2A.4A2.AB$5.A2$5.A$AB.4A2.2B$5.A2$5.A$BA.4A2.AB$5.A2$5.A$2B.4A2.
2B$5.A!
This is equivalent to the 1D CA rule 170:

Code: Select all

x = 11, y = 15, rule = W170
obo2b2o4bob3o

Googolism symbols

Posted: November 12th, 2019, 12:23 am
by PHPBB12345

Code: Select all

x
x#x
x#x#x
x#x#x#x
x#x#x#x#x
x#x#x#x#x#x
x#x#x#x#x#x#x
x#x#x#x#x#x#x#x
x#x#x#x#x#x#x#x#x
x#x#x#x#x#x#x#x#x#x
x#x#x#x#x#x#x#x#x#x#x
x##x
x##x#x
x##x#x#x
x##x#x#x#x
x##x#x#x#x#x
x##x#x#x#x#x#x
x##x#x#x#x#x#x#x
x##x#x#x#x#x#x#x#x
x##x#x#x#x#x#x#x#x#x
x##x#x#x#x#x#x#x#x#x#x
x##x#x#x#x#x#x#x#x#x#x#x
x##x##x
x##x##x##x
x##x##x##x##x
x##x##x##x##x##x
x##x##x##x##x##x##x
x##x##x##x##x##x##x##x
x##x##x##x##x##x##x##x##x
x###x
x###x###x
x###x###x###x
x###x###x###x###x
x###x###x###x###x###x
x###x###x###x###x###x###x
x####x
x#####x
x######x
x#######x
x########x
x#########x
x##########x
x#^#x
x#^#x#x
x#^#x#x#x
x#^#x#x#x#x
x#^#x#x#x#x#x
x#^#x#x#x#x#x#x
x#^#x#x#x#x#x#x#x
x#^#x#x#x#x#x#x#x#x
x#^#x#x#x#x#x#x#x#x#x
x#^#x#x#x#x#x#x#x#x#x#x
x#^#x#x#x#x#x#x#x#x#x#x#x
x#^#x##x
x#^#x###x
x#^#x####x
x#^#x#####x
x#^#x######x
x#^#x#######x
x#^#x########x
x#^#x#########x
x#^#x##########x
x#^#x#^#x
x#^#x#^#x#^#x
x#^#x#^#x#^#x#^#x
x#^#x#^#x#^#x#^#x#^#x
x#^#x#^#x#^#x#^#x#^#x#^#x
x#^#*#x
x#^#*#x#x
x#^#*#x#x#x
x#^#*#x#x#x#x
x#^#*#x#x#x#x#x
x#^#*#x#x#x#x#x#x
x#^#*#x#x#x#x#x#x#x
x#^#*#x#x#x#x#x#x#x#x
x#^#*#x#x#x#x#x#x#x#x#x
x#^#*#x#x#x#x#x#x#x#x#x#x
x#^#*##x
x#^#*###x
x#^#*####x
x#^#*#####x
x#^#*######x
x#^#*#######x
x#^#*########x
x#^#*#########x
x#^#*##########x
x#^#*#^#x
x#^#*#^#*#^#x
x#^#*#^#*#^#*#^#x
x#^#*#^#*#^#*#^#*#^#x
x#^#*#^#*#^#*#^#*#^#*#^#x
x#^##x
x#^###x
x#^####x
x#^#####x
x#^######x
x#^#######x
x#^########x
x#^#########x
x#^##########x
x#^#^#x
x#^#^#*#^#^#x
x#^#^#*#^#^#*#^#^#x
x#^#^#*#^#^#*#^#^#*#^#^#x
x#^(#^#*#)x
x#^(#^#*##)x
x#^(#^#*###)x
x#^(#^#*####)x
x#^(#^#*#####)x
x#^(#^#*######)x
x#^(#^#*#######)x
x#^(#^#*########)x
x#^(#^#*#########)x
x#^(#^#*##########)x
x#^(#^#*#^#)x
x#^(#^#*#^#*#^#)x
x#^(#^#*#^#*#^#*#^#)x
x#^#^##x
x#^#^###x
x#^#^####x
x#^#^#####x
x#^#^######x
x#^#^#######x
x#^#^########x
x#^#^#########x
x#^#^##########x
x#^#^#^#x
x#^#^#^#^#x
x#^#^#^#^#^#x
x#^#^#^#^#^#^#x
x#^#^#^#^#^#^#^#x
x#^#^#^#^#^#^#^#^#x
x#^#^#^#^#^#^#^#^#^#x
x#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#}#}#}#x
x#{#,#,1,2}#x
x#{#,#+1,1,2}#x
x#{#,#+2,1,2}#x
x#{#,#+3,1,2}#x
x#{#,#+4,1,2}#x
x#{#,#+5,1,2}#x
x#{#,#+6,1,2}#x
x#{#,#+7,1,2}#x
x#{#,#+8,1,2}#x
x#{#,#+9,1,2}#x
x#{#,#+10,1,2}#x
x#{#,#(1)2}#x
===========================================

Re: Random posts

Posted: November 12th, 2019, 7:00 am
by PHPBB12345

Code: Select all

{
	intptr_t *tmp = aPtr + aOffset;
	if ((intptr_t)funcPtr & 1)
	{
		result = ((cfunc*)((intptr_t)funcPtr - 1 + *tmp))(tmp, args, ...);
	}
	else
	{
		result = funcPtr(tmp, args, ...);
	}
}

Re: Random posts

Posted: November 12th, 2019, 7:06 am
by PkmnQ
I just realized it is possible to make brainfuck into a CA.

Re: Random posts

Posted: November 12th, 2019, 7:19 am
by Moosey
PkmnQ wrote: November 12th, 2019, 7:06 am I just realized it is possible to make brainfuck into a CA.
viewtopic.php?f=11&t=3277&p=62509&hilit=Bf#p62509

Re: Random posts

Posted: November 12th, 2019, 7:45 am
by Moosey
Apparently this thread has more than 20% (over 500) of my posts! This means about one sixth of the posts in this thread are mine.

Re: Random posts

Posted: November 12th, 2019, 8:34 am
by PHPBB12345

Code: Select all

reversible_operations:
	mode (5 bits):
		00000 forward_operation
		00010 backward_operation
		01110 toggle (condition = (cond_expr))
		01111 toggle (condition = not (cond_expr))
		10000 forward_operation (condition = CFLAG)
		10001 forward_operation (condition = not CFLAG)
		10010 backward_operation (condition = CFLAG)
		10011 backward_operation (condition = not CFLAG)
		10100 jump (condition = (cond_expr))
		10101 jump (condition = not (cond_expr))
		10110 jump (condition = CFLAG xor (cond_expr))
		10111 jump (condition = not (CFLAG xor (cond_expr)))
		11000 jump (condition = CFLAG and (cond_expr))
		11001 jump (condition = not (CFLAG and (cond_expr)))
		11010 jump (condition = CFLAG and (not (cond_expr)))
		11011 jump (condition = (not CFLAG) or (cond_expr))
		11100 jump (condition = (not CFLAG) and (cond_expr))
		11101 jump (condition = CFLAG or (not (cond_expr)))
		11110 jump (condition = CFLAG or (cond_expr))
		11111 jump (condition = not (CFLAG or (cond_expr)))
	opcode (27 bits):
		toggle_or_jump:
			0x0 false
			0x1 A == 0
			0x2 B == 0
			0x3 A == B
			0x4 A < B (signed)
			0x5 A > B (signed)
			0x6 A < B (unsigned)
			0x7 A > B (unsigned)
			0x8 (A & B) == 0
		0x00 nop/skip
		0x01 ip_delta++
		0x02 A += 1
		0x03 A <-> B
		0x04 A <-> [B]
		0x05 A += B
		0x06 A += [IP+1]
		0x07 A += B * C
		0x08 A := -A
		0x09 A := B - A
		0x0A A := ~A
		0x0B A ^= B
		0x0C A ^= (B & C)
		0x0D A ^= (B & ~C)
		0x0E A ^= (B | C)
		0x0F A := Rotl(A, B)
		0x10 EnterSubroutine
		0x11 Return
		0x12 Push(A, B)
		0x1F Clear(A)

Re: Random posts

Posted: November 12th, 2019, 9:41 am
by Moosey
Based on this:

Code: Select all

https://googology.wikia.org/wiki/User_blog:Qq1010903229/Ordinals_Beyond_%5C(%5Cvarepsilon_0%5C)_And_Its_BEAF_Approximation
Phi_n(0) = w{n+1}w, n>0
Phi_w(0) = w{w}w
Gamma_0 = w{{1}}w

Re: Random posts

Posted: November 12th, 2019, 1:46 pm
by gameoflifemaniac
This is the one-and-only fatest growing function

y = 1/(1-x)

Re: Random posts

Posted: November 12th, 2019, 3:35 pm
by Moosey
gameoflifemaniac wrote: November 12th, 2019, 1:46 pm This is the one-and-only fatest growing function

y = 1/(1-x)
But it's eventually dominated by y=x

Re: Random posts

Posted: November 12th, 2019, 5:13 pm
by gameoflifemaniac
Moosey wrote: November 12th, 2019, 3:35 pm
gameoflifemaniac wrote: November 12th, 2019, 1:46 pm This is the one-and-only fatest growing function

y = 1/(1-x)
But it's eventually dominated by y=x
bruh

Re: Random posts

Posted: November 12th, 2019, 6:16 pm
by Moosey
Fun fact: every large number YouTube video in the world has their comments stuffed with naïve extensions (and occasionally salad numbers(. They absolutely never go beyond one additional level in the fgh.

Re: Random posts

Posted: November 12th, 2019, 6:45 pm
by Moosey