Putting Blocks in Boxes Untill th height is met Using Dynamic Programming

I am pretty new in the field of DP. My friend recently gave me a question from one of his old assignments to solve and practice and I am stuck at it.

The question says:

Given n blocks of same height and width but the different thickness and list B = (b_1, . . . , b_n) of the thickness of the block, define a DP algorithm to fit all the blocks in k boxes where each box can fit t thickness of blocks at most.

I was thinking of putting as many blocks in the first 2 boxes and the third one will be filled with the left blocks. But I have no idea how to break it down into the subproblems and create the base cases to define the time required. Any help will be appreciated. The given time complexity is O(nt^2).

Thanks!

Does hiding variables work in terms of blocks or line-by-line?

Let’s assume I have the following code:

declaration of a declaration of b ..a..b {   ..a..b   declaration of a    declaration of b   ..a } 

In this code {} represent the inner block. declaration represents binding occurrence, and .. represent applied occurrence.

So my question is that is it legal to use the outer scope variables inside an inner scope and then redeclare them ? If so how does the hiding of outer variables system work (Does it start to work when it sees a redeclaration)? Thanks in advance.

Wrapping Gutenberg Blocks with a div/section/article

I would like to be able to create sections of blocks from within the Gutenberg editor. This way I can apply styles around groups of blocks.

The idea would be to either:

  • Nest one or more blocks within a container div/section/article
  • Add an opening tag before a block or group of blocks and a closing tag afterwards

I have tried adding a ‘Custom HTML’ block before and afterwards with opening/closing tags. This works apart from when revisiting the editor the you’re welcomed with a ‘This block contains unexpected or invalid content’ warning.

How can I achieve this?

Hello Every One, Can a Coroutine blocks a Ui-tread and main thread? Here is my anr reports…:)

"main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x76124000 self=0xb8c90630   | sysTid=14257 nice=-6 cgrp=apps sched=0/0 handle=0xb6f3cec8   | state=S schedstat=( 17722980711 3926538577 33817 ) utm=1401 stm=371 core=0 HZ=100   | stack=0xbe193000-0xbe195000 stackSize=8MB   | held mutexes=   #00  pc 0000000000039cc0  /system/lib/libc.so (__ioctl+8)   #01  pc 000000000003f3d9  /system/lib/libc.so (ioctl+14)   #02  pc 000000000001cbbb  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)   #03  pc 000000000001d1d7  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+42)   #04  pc 000000000001d379  /system/lib/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+124)   #05  pc 000000000001860f  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+30)   #06  pc 00000000000875f3  /system/lib/libandroid_runtime.so (???)   #07  pc 0000000000a88b99  /system/framework/arm/boot.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+144)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:496)   at aq.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):38) - locked <@addr=0x12f9a200> (a java.lang.Object)   at an.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):3)   at ap.a (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):3)   at ah.c (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):8)   at ak.handleMessage (com.google.android.gms.dynamite_measurementdynamite@200414028@20.04.14 (020304-0):29)   at android.os.Handler.dispatchMessage (Handler.java:102)   at android.os.Looper.loop (Looper.java:135)   at android.app.ActivityThread.main (ActivityThread.java:5753)   at java.lang.reflect.Method.invoke! (Native method)   at java.lang.reflect.Method.invoke (Method.java:372)   at com.android.internal.os.ZygoteInit$  MethodAndArgsCaller.run (ZygoteInit.java:1405)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)     "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x75271f70 self=0xa8005400   | sysTid=23701 nice=-4 cgrp=default sched=0/0 handle=0xaacb9534   | state=S schedstat=( 0 0 0 ) utm=667 stm=316 core=0 HZ=100   | stack=0xbe1ff000-0xbe201000 stackSize=8MB   | held mutexes=   #00  pc 00000000000484d8  /system/lib/libc.so (__epoll_pwait+20)   #01  pc 000000000001a19d  /system/lib/libc.so (epoll_pwait+60)   #02  pc 000000000001a1cd  /system/lib/libc.so (epoll_wait+12)   #03  pc 0000000000011c87  /system/lib/libutils.so (android::Looper::pollInner(int)+118)   #04  pc 0000000000011b83  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+26)   #05  pc 000000000008f169  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int)+22)   #06  pc 000000000061c5bd  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+96)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:323)   at android.os.Looper.loop (Looper.java:136)   at android.app.ActivityThread.main (ActivityThread.java:6146)   at java.lang.reflect.Method.invoke! (Native method)   at com.android.internal.os.ZygoteInit$  MethodAndArgsCaller.run (ZygoteInit.java:865)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)      "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 obj=0x75781708 self=0xb0085400   | sysTid=16356 nice=-4 cgrp=default sched=0/0 handle=0xb2d18534   | state=S schedstat=( 0 0 0 ) utm=81 stm=59 core=0 HZ=100   | stack=0xbe670000-0xbe672000 stackSize=8MB   | held mutexes=   #00  pc 00000000000173f4  /system/lib/libc.so (syscall+28)   #01  pc 00000000000b713d  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+92)   #02  pc 00000000003f23ab  /system/lib/libart.so (art::GoToRunnable(art::Thread*)+230)   #03  pc 00000000003f229b  /system/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+8)   #04  pc 0000000000621b8f  /system/framework/arm/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+106)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:323)   at android.os.Looper.loop (Looper.java:136)   at android.app.ActivityThread.main (ActivityThread.java:6216)   at java.lang.reflect.Method.invoke! (Native method)   at com.android.internal.os.ZygoteInit$  MethodAndArgsCaller.run (ZygoteInit.java:887)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:777)       "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x72ff3770 self=0xa803f000   | sysTid=14677 nice=-10 cgrp=default sched=0/0 handle=0xaca064a4   | state=S schedstat=( 2405664844 1074645320 2868 ) utm=79 stm=160 core=1 HZ=100   | stack=0xbe153000-0xbe155000 stackSize=8MB   | held mutexes=   #00  pc 0000000000018cc4  /system/lib/libc.so (syscall+28)   #01  pc 00000000000b71cd  /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+80)   #02  pc 00000000003e0911  /system/lib/libart.so (art::GoToRunnable(art::Thread*)+300)   #03  pc 00000000003e07b5  /system/lib/libart.so (art::JniMethodEnd(unsigned int, art::Thread*)+8)   #04  pc 0000000000772161  /system/framework/arm/boot-framework.oat (Java_android_os_BinderProxy_transactNative__ILandroid_os_Parcel_2Landroid_os_Parcel_2I+144)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:776)   at android.app.IActivityManager$  Stub$  Proxy.refContentProvider (IActivityManager.java:4841)   at android.app.ActivityThread.incProviderRefLocked (ActivityThread.java:6225)   at android.app.ActivityThread.acquireExistingProvider (ActivityThread.java:6288) - locked <0x00829d09> (a android.util.ArrayMap)   at android.app.ActivityThread.acquireProvider (ActivityThread.java:6166)   at android.app.ContextImpl$  ApplicationContentResolver.acquireProvider (ContextImpl.java:2526)   at android.content.ContentResolver.acquireProvider (ContentResolver.java:1733)   at android.content.ContentResolver.query (ContentResolver.java:779)   at android.content.ContentResolver.query (ContentResolver.java:704)   at android.content.ContentResolver.query (ContentResolver.java:662)   at com.google.android.gms.dynamite.DynamiteModule.zzc (unavailable:122)   at com.google.android.gms.dynamite.DynamiteModule.zza (unavailable:96)   at com.google.android.gms.dynamite.DynamiteModule.getRemoteVersion (unavailable:149)   at com.google.android.gms.internal.ads.zzus.zzd   at com.google.android.gms.internal.ads.zzxd.zza   at com.google.android.gms.ads.InterstitialAd.loadAd   at com.google.unity.ads.Interstitial$  2.run (Interstitial.java:152)   at android.os.Handler.handleCallback (Handler.java:795)   at android.os.Handler.dispatchMessage (Handler.java:99)   at android.os.Looper.loop (Looper.java:166)   at android.app.ActivityThread.main (ActivityThread.java:6861)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit$  MethodAndArgsCaller.run (RuntimeInit.java:450)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)        "main" prio=5 tid=1 Waiting   | group="main" sCount=1 dsCount=0 obj=0x85921000 self=0xb4827800   | sysTid=32088 nice=0 cgrp=default sched=0/0 handle=0xb6f36bec   | state=S schedstat=( 0 0 0 ) utm=287 stm=134 core=0 HZ=100   | stack=0xbe303000-0xbe305000 stackSize=8MB   | held mutexes=   at java.lang.Object.wait! (Native method) - waiting on <0x2e0733ff> (a java.lang.Object)   at java.lang.Thread.parkFor (Thread.java:1220) - locked <0x2e0733ff> (a java.lang.Object)   at sun.misc.Unsafe.park (Unsafe.java:299)   at java.util.concurrent.locks.LockSupport.park (LockSupport.java:157)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt (AbstractQueuedSynchronizer.java:813)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly (AbstractQueuedSynchronizer.java:973)   at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly (AbstractQueuedSynchronizer.java:1281)   at java.util.concurrent.CountDownLatch.await (CountDownLatch.java:202)   at android.app.SharedPreferencesImpl$  EditorImpl$  1.run (SharedPreferencesImpl.java:363)   at android.app.QueuedWork.waitToFinish (QueuedWork.java:88)   at android.app.ActivityThread.handleStopActivity (ActivityThread.java:3866)   at android.app.ActivityThread.access$  1200 (ActivityThread.java:177)   at android.app.ActivityThread$  H.handleMessage (ActivityThread.java:1454)   at android.os.Handler.dispatchMessage (Handler.java:102)   at android.os.Looper.loop (Looper.java:135)   at android.app.ActivityThread.main (ActivityThread.java:5910)   at java.lang.reflect.Method.invoke! (Native method)   at java.lang.reflect.Method.invoke (Method.java:372)   at com.android.internal.os.ZygoteInit$  MethodAndArgsCaller.run (ZygoteInit.java:1405)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)       "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x741d4730 self=0x6f354c2a00   | sysTid=9741 nice=-10 cgrp=default sched=0/0 handle=0x6fba6d99a8   | state=S schedstat=( 1881119592 824547978 3737 ) utm=137 stm=51 core=0 HZ=100   | stack=0x7fe16a2000-0x7fe16a4000 stackSize=8MB   | held mutexes=   #00  pc 000000000001e4ac  /system/lib64/libc.so (syscall+28)   #01  pc 00000000000e7620  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+152)   #02  pc 0000000000346158  /system/lib64/libart.so (art::JNI::CallObjectMethod(_JNIEnv*, _jobject*, _jmethodID*, ...)+552)   #03  pc 00000000000eede0  /system/lib64/libandroid_runtime.so (android::NativeDisplayEventReceiver::dispatchVsync(long, int, unsigned int)+48)   #04  pc 0000000000048514  /system/lib64/libandroidfw.so (android::DisplayEventDispatcher::handleEvent(int, int, void*)+164)   #05  pc 0000000000016260  /system/lib64/libutils.so (android::Looper::pollInner(int)+816)   #06  pc 0000000000015ea0  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+108)   #07  pc 000000000011b610  /system/lib64/libandroid_runtime.so (???)   #08  pc 00000000001f6aac  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:325)   at android.os.Looper.loop (Looper.java:170)   at android.app.ActivityThread.main (ActivityThread.java:7055)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit$  MethodAndArgsCaller.run (RuntimeInit.java:523)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:836)         "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0x72756c68 self=0x750cc5fe00   | sysTid=7355 nice=-10 cgrp=default sched=0/0 handle=0x75929b69a8   | state=S schedstat=( 1434359968 1175390232 4126 ) utm=73 stm=70 core=0 HZ=100   | stack=0x7fedfcc000-0x7fedfce000 stackSize=8MB   | held mutexes=   #00  pc 000000000007a1c0  /system/lib64/libc.so (__epoll_pwait+8)   #01  pc 00000000000201d8  /system/lib64/libc.so (epoll_pwait+48)   #02  pc 0000000000015f9c  /system/lib64/libutils.so (android::Looper::pollInner(int)+148)   #03  pc 0000000000015e78  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+108)   #04  pc 0000000000117434  /system/lib64/libandroid_runtime.so (???)   #05  pc 00000000001e7e6c  /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)   at android.os.MessageQueue.nativePollOnce (Native method)   at android.os.MessageQueue.next (MessageQueue.java:329)   at android.os.Looper.loop (Looper.java:150)   at android.app.ActivityThread.main (ActivityThread.java:6702)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit$  MethodAndArgsCaller.run (RuntimeInit.java:549)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:826)         "main" prio=5 tid=1 Native   | group="main" sCount=1 dsCount=0 flags=1 obj=0xec01358 self=0xa79d0000   | sysTid=21324 nice=-20 cgrp=default sched=1073741825/1 handle=0xab8514a4   | state=S schedstat=( 12419814912 272368784 4478 ) utm=1186 stm=55 core=0 HZ=100   | stack=0xbe7fe000-0xbe800000 stackSize=8MB   | held mutexes=   #00  pc 00000000000486cc  /system/lib/libc.so (__ioctl+8)   #01  pc 000000000001d09f  /system/lib/libc.so (ioctl+38)   #02  pc 000000000004267f  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+170)   #03  pc 0000000000043039  /system/lib/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+236)   #04  pc 000000000003d535  /system/lib/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+36)   #05  pc 00000000000bc995  /system/lib/libandroid_runtime.so (???)   #06  pc 0000000000410079  /system/lib/libart.so (art_quick_generic_jni_trampoline+40)   #07  pc 000000000040bb75  /system/lib/libart.so (art_quick_invoke_stub_internal+68)   #08  pc 0000000000410ce7  /system/lib/libart.so (art_quick_invoke_stub+230)   #09  pc 00000000000b0ab7  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+138)   #10  pc 0000000000205e79  /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+220)   #11  pc 0000000000201395  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+588)   #12  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #13  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #14  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #15  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #16  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #17  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #18  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #19  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #20  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #21  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #22  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #23  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #24  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #25  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #26  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #27  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #28  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #29  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #30  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #31  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #32  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #33  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #34  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #35  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #36  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #37  pc 00000000003f6d3d  /system/lib/libart.so (MterpInvokeStatic+184)   #38  pc 00000000003fe114  /system/lib/libart.so (ExecuteMterpImpl+14612)   #39  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #40  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #41  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #42  pc 00000000003f691b  /system/lib/libart.so (MterpInvokeInterface+1078)   #43  pc 00000000003fe194  /system/lib/libart.so (ExecuteMterpImpl+14740)   #44  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #45  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #46  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #47  pc 00000000003f6271  /system/lib/libart.so (MterpInvokeSuper+1148)   #48  pc 00000000003fe014  /system/lib/libart.so (ExecuteMterpImpl+14356)   #49  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #50  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #51  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #52  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #53  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #54  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #55  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #56  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #57  pc 00000000003f5d3b  /system/lib/libart.so (MterpInvokeVirtual+482)   #58  pc 00000000003fdf94  /system/lib/libart.so (ExecuteMterpImpl+14228)   #59  pc 00000000001e820d  /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)   #60  pc 00000000001ec9c3  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)   #61  pc 000000000020137d  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+564)   #62  pc 00000000003f6d3d  /system/lib/libart.so (MterpInvokeStatic+184)   #63  pc 00000000003fe114  /system/lib/libart.so (ExecuteMterpImpl+14612)   at android.os.BinderProxy.transactNative (Native method)   at android.os.BinderProxy.transact (Binder.java:792)   at android.app.IActivityManager$  Stub$  Proxy.unbindService (IActivityManager.java:5007)   at android.app.ContextImpl.unbindService (ContextImpl.java:1641)   at android.content.ContextWrapper.unbindService (ContextWrapper.java:703)   at mc.a (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268:3)   at ld.handleMessage (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268:10) - locked <0x01ea765f> (a java.util.HashMap)   at android.os.Handler.dispatchMessage (Handler.java:102)   at oz.a (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268)   at oz.dispatchMessage (com.google.android.gms.policy_ads_fdr_dynamite@21207000@21207000.283464268.283464268)   at android.os.Looper.loop (Looper.java:164)   at android.app.ActivityThread.main (ActivityThread.java:6747)   at java.lang.reflect.Method.invoke (Native method)   at com.android.internal.os.RuntimeInit$  MethodAndArgsCaller.run (RuntimeInit.java:449)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:807) 

Convert all CPT Imported posts to Gutenberg editor blocks

I went ahead and imported like 1,000+ posts using the ‘WordPress Import’ button and I added them to my ‘recipe’ custom post type.

All of the posts were imported using the Classic Editor, which is giving me issues on templating, instead of going through 1,000+ posts and clicking on ‘Convert to blocks’, is there an easier method using code/etc?

Creating a Fortress that Allows Owner to Scry, but Blocks Others

I’m a GM designing the remote fortress of an ancient-but-still-living archmage (>=20th level?). The archmage lives in society at present, and only returns to his fortress a few times per year, or as needed, via a permanent teleportation circle.

Previously, the archmage hid in this fortress for centuries to escape persecution from…well…pretty much everyone, so the fortress needs to be protected against even high-level divination magic. For this reason, I plan to line the fortress with a layer of lead and have some permanent spells like Mage’s Private Sanctum, Nondetection, and similar, to prevent most/all divination magic.

At the same time, because the archmage has begun living in society again (in disguise), it makes sense that he would place some kind of alarm that would warn him, even at great distances, of intruders. Furthermore, it makes sense that he’d have a sort of permanent scrying system set up so that he alone could observe what’s going on in his fortress.

(Note: The archmage’s INT score is way above my own, so I figured I’d do the best I can by crowdsourcing…)

My Question

  • Is there any rules-as-written avenue for the archmage to simultaneously prevent others from successfully using divination spells on his fortress but also permit divination spells of his own?
    • If so, how could that be done?
    • If not, what might be the closest thing to it?

ESET Internet Security blocks GSA SER communication

No matter, that the GSA SER is put into the ESET’s whitelist off applications, my ESET still reports malicious connectivity – see the attached image. This one shows probably the check of current version, but when I use the Proxy Scraper, it frequently recognize the connection to the bing.com portal as Coin-Miner.JS threat.

If this activity is no harm, I can create the rule within, however I am quite sure, that to contact the ESET with the request to reevaluate the activity sorting, would be from their side considered as something kinda ilegal.

Any clue? 

What are all the creatures related to the Far Realms that have stat blocks in 5e?

I’m looking for any and all creatures–specifically those that have stat blocks in 5e (so I’m excluding things from previous editions that don’t have stat blocks in 5e, largely just to narrow the scope of this question)–that are related in some way to the Far Realm.

(What I’m actually after are all of the Lovecraftian creatures, but “what do you think has Lovecraftian influences?” is opinion-based, whereas concrete links in the lore to the Far Realm is objective, hence I’m asking that instead. Furthermore, in the adventure I’m planning, the creatures will have a link to the Far Realm anyway, so the Far Realm link is still relevant to what I’m after.)

Those I know of already (with what evidence I could find from 5e sources of lore) are:

  • Mind Flayers (and other associated creatures, such as Elder Brains, Mindwitnesses, etc):

    Aberrations such as mind flayers and beholders are either from this plane or shaped by its strange influence.

    – p. 68, The Far Realm, Dungeon Master’s Guide

  • Beholders (and other variations, such as Spectators, Gazers, Death’s Kiss, etc):

    Aberrations such as mind flayers and beholders are either from this plane or shaped by its strange influence.

    – p. 68, The Far Realm, Dungeon Master’s Guide

  • Aboleth (I know of no other variations, so this is just “the Aboleth”):

    “Could it be that aboleths are older than the gods … that before the divine ones came to be, such horrors shaped the multiverse? Now there’s a chilling thought.”
    — Vaqir Zekh’r, githzerai philosopher and author of THE FAR REALM: REAL YET UNREAL

    – p. 14, Aboleth, Monster Manual

  • Star Spawn (all 5 variations given in Mordenkainen’s Tome of Foes):

    Heralds of Doom. The creatures known as the star spawn are the heralds, servants, foot soldiers, and lieutenants of the Elder Evils […]

    – p. 234, Star Spawn, Mordenkainen’s Tome of Foes

    Some Elder Evils are alleged to be creatures of the Far Realm […]

    – p. 237, Elder Evils sidebar, Mordenkainen’s Tome of Foes

Are there any other creatures that I’ve missed? Note, that last quote shows that not all “Elder Evils” are related to the Far Realm, so a link to an Elder Evil isn’t by itself enough (although it might still deserve an honourary mention); I’m looking for links to the Far Realm specifically, even if the link is really weak or indirect, such as my Aboleth quote above.


If the setting matters, let’s assume Forgotten Realms, although if the Greyhawk setting or whatever has anything relevant, I’ll accept that too (but it might be the case that the Far Realm is specifically only a thing in the Forgotten Realms setting anyway, in which case this paragraph is redundant).

The link to the Far Realm doesn’t have to be from 5e (for example, if it was established that, for some reason, Gnolls were somehow related to the Far Realm in, say, 3e, then they are valid for this question because there are stat blocks for Gnolls in 5e, even though there is no link between Gnolls and the Far Realm in 5e; however, if 3e said that Bladelings were related to the Far Realm, that would not be a valid answer, since AFAIK there are no official stats for Bladelings in 5e).

Incidentally, the links to the Far Realm I found are quite weak, but this is all 5e has to offer, it seems (at least, from the DMG, MM, VGtM, and MToF), so if anyone wants to include any stronger links to the Far Realms from previous editions’ lore for the creatures I’ve already included, that would be appreciated, but not if that’s all the answer contains, since then it wouldn’t actually answer the question asked, which is “what other creatures are related to the Far Realms?” (unless your answer was also saying “Nope, you’ve found them all”, in which case it would still be a valid answer).