Search found 871 matches

by PHPBB12345
July 19th, 2021, 11:44 pm
Forum: The Sandbox
Topic: Computer programs
Replies: 3
Views: 285

Re: Computer programs

SSE2 hypot/hypotf (i386 fasm assembly): format PE Console 4.0 entry start include 'win32a.inc' section '.text' code readable executable start: push dword 3.0 push dword 4.0 call hypotf_sse2 push $40100000 push 0 push $40080000 push 0 call hypot_sse2 ud2 align 4 hypotf_sse2: push ebp mov ebp, esp sub...
by PHPBB12345
July 16th, 2021, 3:57 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

Re: Random posts 2

Logic circuits:
by PHPBB12345
July 15th, 2021, 6:20 am
Forum: The Sandbox
Topic: Testing Grounds
Replies: 386
Views: 134999

Re: Testing Grounds

function Knext (X) { let Y, Z, Kstep = 1; X = BigInt(X); for (;;) { switch (Kstep) { case 1: Y = Number(X / BigInt(1e9)); break; case 2: Z = Number((X / BigInt(1e8)) % BigInt(10)); Kstep = 3 + Z; continue; case 3: if (X < BigInt(5000000000)) X = X + BigInt(5000000000); break; case 4: X = (X ** BigI...
by PHPBB12345
July 12th, 2021, 2:32 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

LifeViewer's rand() function

/* Generalized Arc4Random */ const int RAND_MAX = 256; int key[RAND_MAX]; int key_i = 0, key_j = 0; void srand (const char *seed, int len) { int i, j, t; for (i = 0; i < RAND_MAX; i++) key[i] = i; for (i = j = 0; i < RAND_MAX; i++) { t = key[i]; j = (j + t + seed[i % len]) % RAND_MAX; key[i] = key[...
by PHPBB12345
July 10th, 2021, 10:25 am
Forum: Other Cellular Automata
Topic: Flow6
Replies: 18
Views: 7833

Re: Flow6

11->10 converter:

Code: Select all

x = 76, y = 14, rule = Flow6
35.3A$34.2A.A$ABE6ABE6ABE6ABE11A$35.A.39A7$35.3A$34.2A.A$ABE14ABE6ABE
11A$35.A.39A!
by PHPBB12345
July 9th, 2021, 11:15 pm
Forum: The Sandbox
Topic: RLE copy/paste thread - PHPBB12345
Replies: 112
Views: 52819

Re: RLE copy/paste thread - PHPBB12345

x = 174, y = 174, rule = B3/S23 27b3o3b2o$33bobo10b2o$21b2o12bo10b2o$20bo2bo11bob2o$20b3o2b7obobob2o$ 23b2o8bobo$22bo10bobo20b2o$22b2obo4bo3bo21bobo$27bo25b2obobo60b2o10b2o $53bobobo60bo2bo8bo2bo$55bo62b3o2b6o2b3o$54bo2bo63b2o6b2o$54bo65bo10bo $15b2o37bo5bo42bo16b2obo4bob2o$15b2o37bo5bo38b2o2b2ob3o...
by PHPBB12345
July 9th, 2021, 9:24 am
Forum: The Sandbox
Topic: Testing Grounds
Replies: 386
Views: 134999

Re: Testing Grounds

Notepad++ style transform (color inversion): (function (xml) { function XMLDecode(s) { return s.replace(/&([^;]*);/g,function($0,$1) { return ({ "AMP": "&", "LT": "<", "GT": ">", "QUOT": "\"", "APOS": "'", })[$1.toUpperCase()]; }); } function XMLEncode(s) { return s.replace(/[&<>"']/g,function($0) {...
by PHPBB12345
July 9th, 2021, 6:04 am
Forum: Other Cellular Automata
Topic: Sticky: a 4 state isotropic photon-based Moore rule
Replies: 76
Views: 13061

Re: Sticky: a 4 state isotropic photon-based Moore rule

AND gates (repeat time = 3+): #C Minimal variant x = 399, y = 83, rule = Sticky 395.B$395.C5$394.A.A$393.A3.A$394.A.A.A$395.A$392.A$393.A.A15$394.A.A $393.A3.A$388.BC4.A.A.A$395.A$392.A$393.A.A9$395.B$395.C5$394.A.A$ 393.A3.A$388.BC4.A.A.A$395.A$392.A$393.A.A22$395.A$BC.BC4.BC13.BC.BC. BC.BC.BC7.BC4...
by PHPBB12345
July 6th, 2021, 8:20 am
Forum: The Sandbox
Topic: Flat assembler thread
Replies: 0
Views: 117

Flat assembler thread

For example, Win64 SEH implementation : UNW_FLAG_NHANDLER = 0 UNW_FLAG_EHANDLER = 1 UNW_FLAG_UHANDLER = 2 UNW_FLAG_CHAININFO = 4 __SEH64_REG.rax = 0 __SEH64_REG.rcx = 1 __SEH64_REG.rdx = 2 __SEH64_REG.rbx = 3 __SEH64_REG.rsp = 4 __SEH64_REG.rbp = 5 __SEH64_REG.rsi = 6 __SEH64_REG.rdi = 7 __SEH64_REG...
by PHPBB12345
July 1st, 2021, 9:06 am
Forum: Other Cellular Automata
Topic: Sticky: a 4 state isotropic photon-based Moore rule
Replies: 76
Views: 13061

Re: Sticky: a 4 state isotropic photon-based Moore rule

Diagonal wire using only one CGoL still life: x = 85, y = 82, rule = Sticky 9.2A$8.A.A$7.A$8.2A$BC8.A$8.2A.A$7.A2.A.A$7.2A2.A.A$12.A.A$13.A.A$14. A.A$15.A.A$16.A.A$17.A.A$18.A.A$19.A.A$20.A.A$21.A.A$22.A.A$23.A.A$ 24.A.A$25.A.A$26.A.A$27.A.A$28.A.A$29.A.A$30.A.A$31.A.A$32.A.A$33.A.A $34.A.A$35.A.A$3...
by PHPBB12345
July 1st, 2021, 2:50 am
Forum: Patterns
Topic: Thread for your unsure discoveries
Replies: 2352
Views: 1219225

Re: Thread for your unsure discoveries

Arbitrary-period 14tick inserter RLE Use syringe: x = 128, y = 175, rule = B3/S23 125bobo$125b2o$126bo20$13bo$11bobo$12b2o5$60b2o$60b2o$45b2o$46bo$46bob o$36bo10b2o$34b3o$33bo$33b2o$18b2o$19bo46b2o$19bob2o43bo$20bo2bo23bo 19b3o$21b2o24bo21bo$36b2o9b3o$36b2o11bo14b2o$64b2o4$44bo3b2o$43bobo3bo $39b2o...
by PHPBB12345
June 30th, 2021, 6:54 am
Forum: Other Cellular Automata
Topic: Sticky: a 4 state isotropic photon-based Moore rule
Replies: 76
Views: 13061

Re: Sticky: a 4 state isotropic photon-based Moore rule

Constructor usage: x = 229, y = 37, rule = Sticky 213.A6$211.A.A.A$210.A.3A.A$208.3A5.A$207.A4.A2.A$207.2A.2A3.A$207.A 6.A5.2A$210.2A.A5.A2.A$210.3A8.A$197.A5.A6.A10.2A5.A$196.A7.A7.A6.A.A $215.4A3.A$202.A13.A2.3A$202.A9.A.A2.A$202.A10.2A$202.A7.A.A$202.A6. 3A2.A4.A$BC9.BC33.BC7.BC35.BC5.BC37.BC3.BC...
by PHPBB12345
June 30th, 2021, 5:55 am
Forum: The Sandbox
Topic: RLE copy/paste thread - PHPBB12345
Replies: 112
Views: 52819

Re: RLE copy/paste thread - PHPBB12345

Edge shooters: x = 66, y = 44, rule = B3/S23 2bo$obo$b2o$51b2o$47bobo2bo$45b3ob2o$44bo$45b3ob2o$47bob2o12b2o$63bo$ 61bobo$61b2o$25bo$23b3o$22bo$22b2o$7b2o$8bo$8bob2o$9bo2bo23bo$10b2o24b o$25b2o9b3ob2o$25b2o11bob2o5$64b2o$64b2o$28b2obo2b2obo$28b2ob4ob2o2$ 28b2ob2o13b2o$29bobo14b2o$17b2o10bobo$17b2o11...
by PHPBB12345
June 30th, 2021, 5:11 am
Forum: Patterns
Topic: Oscillator Discussion Thread
Replies: 2124
Views: 865568

Re: Oscillator Discussion Thread

p74. I just started, and it came up in less than one second — I may find more like these! Minimum population 84 cells. Should probably be added to the wiki. x = 35, y = 35, rule = B3/S23 9bo15bo$9b3o11b3o$12bo9bo$11b2o9b2o6$2o31b2o$bo31bo$bobo27bobo$2b2o27b 2o$13b2o5b2o$13b3o3b3o$12bo2bo3bo2bo$13b2...
by PHPBB12345
June 28th, 2021, 10:36 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

Win32 thread lifetime (not exact)

Call TLS Initializers (DLL_THREAD_ATTACH) Jump to BaseThreadStartup Call Original Entry Point Call ExitThread Call TLS Initializers (DLL_THREAD_DETACH) Call kernel mode API (NtTerminateThread) to notify thread scheduler ExitProcess: Acquire the Loader Lock Acquire the PEB Lock Acquire the Process H...
by PHPBB12345
June 25th, 2021, 12:16 am
Forum: Bugs & Errors
Topic: Nonrandom random fill in Golly?
Replies: 7
Views: 9729

Re: Nonrandom random fill in Golly?

Have stripes:
nonrandom.png
nonrandom.png (200.86 KiB) Viewed 232 times
Another PRNG suggestion:
Brent's XORGEN algorithm
by PHPBB12345
June 24th, 2021, 11:01 am
Forum: The Sandbox
Topic: Computer programs
Replies: 3
Views: 285

Computer programs

Unbias a random generator (Javascript): function biased(n){return Math.random()<(1/n)}; function unbiased(n){var a;while((a=biased(n))==biased(n));return a}; Kogge-Stone adder (Javascript): function KoggeStoneAdd (A, B) { // Addition without "+" operator var G, P; G = A & B; P = A ^ B; G |= P & (G ...
by PHPBB12345
June 23rd, 2021, 2:34 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

Base Phi Notation

https://oeis.org/A001175 1/2 = basephi(0.(010)) 1/3 = basephi(0.(00101000)) 2/3 = basephi(0.(10000010)) 1/4 = basephi(0.(001000)) 3/4 = basephi(0.(100010)) 1/5 = basephi(0.(00010010101001001000)) 2/5 = basephi(0.(01000000100101010010)) 3/5 = basephi(0.(01010100100100000010)) 4/5 = basephi(0.(1001001...
by PHPBB12345
June 20th, 2021, 7:08 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

Catagolue ping result

C:\Users\Administrator>ping catagolue.hatsya.com Pinging ghs.googlehosted.com [172.217.160.115] with 32 bytes of data: Reply from 172.217.160.115: bytes=32 time=71ms TTL=108 Reply from 172.217.160.115: bytes=32 time=71ms TTL=108 Reply from 172.217.160.115: bytes=32 time=71ms TTL=108 Reply from 172....
by PHPBB12345
June 17th, 2021, 4:23 am
Forum: Patterns
Topic: Crawlers
Replies: 52
Views: 16875

Re: Crawlers

well there is this x = 47, y = 90, rule = B3/S23 45b2o$45b2o27$45b2o$45b2o27$45b2o$45b2o21$37bo$bo34b3o$b2o33bo$obo6$21b 3o$23bo$22bo! x = 192, y = 283, rule = B3/S23 190b2o$190b2o27$190b2o$190b2o27$190b2o$190b2o27$190b2o$190b2o27$190b2o $190b2o27$190b2o$190b2o27$190b2o$3o187b2o$2bo$bo5$21b2o$22b2o...
by PHPBB12345
June 17th, 2021, 3:16 am
Forum: The Sandbox
Topic: RLE copy/paste thread - PHPBB12345
Replies: 112
Views: 52819

Re: RLE copy/paste thread - PHPBB12345

x = 231, y = 465, rule = B3/S23 o$b2o$2o19$229b2o$229b2o$169b2o$169b2o25$22bo206b2o$20bobo206b2o$21b2o 146b2o$169b2o25$229b2o$229b2o$169b2o$169b2o18$41bobo$42b2o$42bo5$229b 2o$229b2o$169b2o$169b2o25$229b2o$229b2o$169b2o$169b2o10$63bo$64bo$62b 3o13$229b2o$229b2o$169b2o$169b2o25$229b2o$229b2o$169b2o$...
by PHPBB12345
June 17th, 2021, 2:55 am
Forum: Patterns
Topic: Oscillator Discussion Thread
Replies: 2124
Views: 865568

Re: Oscillator Discussion Thread

Completed... sort of: x = 88, y = 51, rule = B3/S23 61b2o$62bo$62bobo13b3o$58b2o3b2o3bo8bo3bo$58b2o7bob2o6bo4bo$66bo4bo6b 2obo$67bo3bo8bo3b2o$53b2o3b3o7b3o13bobo$53b2o3bobo25bo$58b3o25b2o4$58b 2o$44b2o12b2o$44b2o12b2o3$39b2o6b3o2b3o$39b2o6bobo2bobo6b2o$47b3o2b3o 6b2o3$42b2o12b2o$42b2o12b2o$30b2o10b...
by PHPBB12345
June 12th, 2021, 9:22 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

CRC32 hacker

00000000 (00000000) DB710641 (00000001) 6D930AC3 (00000002) DB261586 (00000004) 6D3D2D4D (00000008) DA7A5A9A (00000010) 6F85B375 (00000020) DF0B66EA (00000040) 6567CB95 (00000080) CACF972A (00000100) 4EEE2815 (00000200) 9DDC502A (00000400) E0C9A615 (00000800) 1AE24A6B (00001000) 35C494D6 (00002000)...
by PHPBB12345
June 5th, 2021, 4:51 am
Forum: The Sandbox
Topic: Random posts 2
Replies: 134
Views: 9694

How to determines memory protection?

For Win32 users, use VirtualQuery API For Linux users, no API equivalents, try sigaction + sigsetjmp/siglongjmp To determine read access (example: 1 byte): *(volatile char*)ptr; To determine write access (example: 1 byte): __sync_fetch_and_or((volatile char*)ptr, (char)0); To determine execute acces...
by PHPBB12345
June 3rd, 2021, 7:42 am
Forum: The Sandbox
Topic: Developing windows caution
Replies: 0
Views: 361

Developing windows caution

Memory access: Problem #1 (user mode): Thread A calls VirtualQuery (Address = X) returns "Accessible" Thread B terminated with release memory (Address = X) Thread C created with allocate memory (Address = X, Status = Guarded) Thread A tried access memory (Address = X) failed Thread C tried expands s...