Feature request : Offline template compiling

Short description of the feature:
It seems like Offline Template Compiling (OTC) is now possible. This means precompiling the templates into optimized code so there's less to zero compiling at runtime. I think this should be included into the Gulp workflow (maybe with the release option).
Here's an article explaining it : http://www.syntaxsuccess.com/viewarticle/offline-compilation-in-angular-2.0
Which Ionic Version? 2.x

Hello @Bouzmine yep, we are working extremely hard on getting offline template compiling, treeshaking and minifying into our build process. You can follow the progress here. This is one of our biggest goals to have before our release candidate, so you can be assured its very high priority. Thanks for using Ionic!


Wrong Explanation for "Until" in point 3

Hello,
Point 3 in explanation says opposite of how actually Until works. -
"If the expression evaluates to true, the Until activity will execute all its child activities again. When it evaluates to false, the Until activity will complete."
But In realty -
"If the expression evaluates to False, the Until activity will execute all its child activities again. When it evaluates to True, the Until activity will complete."_
I hope I am pointing it out right.
Thanks
Sameer

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 73ff4df3-ae31-335a-bf60-b97dbe98fa58
Version Independent ID: 1c769558-db53-2e3d-f3b7-cdb23c2689d8
Content: Until activity - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/control-flow-until-activity.md
Service: data-factory
Sub-service: orchestration
GitHub Login: @chez-charlie
Microsoft Alias: chez

@sameerjyani Thank you for your feedback . We will investigate and update the thread.

@sameerjyani Thank you for pointing this bug. I created PR for this.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/185222

@sameerjyani PR merged too. Document will be updated in upcoming build soon. Thank you.

@ShaikMaheer-MSFT - Thank you . If I am not mistaking you are the creator behind wafastudies . Thanks for all the content . It's my go to channel whenever I am stuck anywhere . Good Luck


Redirect override does not work

In this commit, the constructor should have been setting the $meta_key property to what it gets passed.
Currently, this leads to the whole meta cache being returned in Mlp_Redirect_Filter::filter_redirect(), which is truthy, and eventually disables the redirect altogether.

Closed with https://github.com/inpsyde/multilingual-press/commit/d0b97a1d615905f995787185e5257c2585613d12.


Is there an alternative for React Native?

Hello!
This library keeps crashing using a presence channel on iOS.
The last crash from Crashlytics is telling me that: Unhandled JS Exception: TypeError: Cannot read property 'members' of undefined, js engine: hermes. caused by the onAuthorize function after a previous error digesting HASH.
These errors does not happen in Android.
I would like to know if there is another library supporting Pusher and React Native out there. Perhaps Pusher JS?
Many thanks.

+1

Finally I installed Pusher JS and it works much better and no errors.

wow, that's good. The official docs recommend "pusher-websocket-react-native" on README. How do you install Pusher JS?

@raphadcout just use the JS repo: https://github.com/pusher/pusher-js and import it.
import Pusher from 'pusher-js';
Remember to unsubscribe o disconnect when the app goes on background or out of focus.

You may need into install netinfo as well.
npm install --save @react-native-community/netinfo
The error message from metro can be cryptic, but this fixed a similar looking dependency issue for me.

Closing this issue, let us know if installing the above doesn't fix your dependency issue.


[bug]: Image Generation Never Starts

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
amd
VRAM
8GB
What version did you experience this issue on?
3.0.2post1
What happened?
Using the Manual install and the Automated Install gives the same results.
The installation is successful and the WebUI start up and is accessible.
I can see the models I downloaded as options.
But when I type "banana sushi" and click Invoke, the button starts scrolling like it is working, but it stays here at this point indefinitely. I have left it for over an hour and the status still shows "Generating" but never shows even the first pass/sample of the image.
Below is the console output from the time I started the WebUI to the point where it hangs indefinitely.
Generate images with a browser-based interface
[2023-08-25 20:12:26,926]::[InvokeAI]::INFO --> Patchmatch initialized
/root/invokeai/.venv/lib/python3.10/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
  warnings.warn(
[2023-08-25 20:12:28,697]::[uvicorn.error]::INFO --> Started server process [3918]
[2023-08-25 20:12:28,698]::[uvicorn.error]::INFO --> Waiting for application startup.
[2023-08-25 20:12:28,699]::[InvokeAI]::INFO --> InvokeAI version 3.0.2post1
[2023-08-25 20:12:28,699]::[InvokeAI]::INFO --> Root directory = /root/invokeai
[2023-08-25 20:12:28,706]::[InvokeAI]::INFO --> GPU device = cuda AMD Radeon RX 5700 XT
[2023-08-25 20:12:28,736]::[InvokeAI]::INFO --> Scanning /root/invokeai/models for new models
[2023-08-25 20:12:29,361]::[InvokeAI]::INFO --> Scanned 6 files and directories, imported 0 models
[2023-08-25 20:12:29,389]::[InvokeAI]::INFO --> Model manager service initialized
[2023-08-25 20:12:29,678]::[uvicorn.error]::INFO --> Application startup complete.
[2023-08-25 20:12:29,679]::[uvicorn.error]::INFO --> Uvicorn running on http://<IP_ADDRESS>:9090 (Press CTRL+C to quit)
[2023-08-25 20:12:31,246]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "GET /socket.io/?EIO=4&transport=polling&t=OekKx2P HTTP/1.1" 200
[2023-08-25 20:12:31,261]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "POST /socket.io/?EIO=4&transport=polling&t=OekKx2a&sid=a9GXgm7q-8ToYsSQAAAA HTTP/1.1" 200
[2023-08-25 20:12:31,267]::[uvicorn.error]::INFO --> ('<IP_ADDRESS>', 58760) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=a9GXgm7q-8ToYsSQAAAA" [accepted]
[2023-08-25 20:12:31,269]::[uvicorn.error]::INFO --> connection open
[2023-08-25 20:12:31,270]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58762 - "GET /socket.io/?EIO=4&transport=polling&t=OekKx2b&sid=a9GXgm7q-8ToYsSQAAAA HTTP/1.1" 200
[2023-08-25 20:12:31,275]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "GET /socket.io/?EIO=4&transport=polling&t=OekKx2w&sid=a9GXgm7q-8ToYsSQAAAA HTTP/1.1" 200
[2023-08-25 20:12:31,286]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "POST /socket.io/?EIO=4&transport=polling&t=OekKx35&sid=a9GXgm7q-8ToYsSQAAAA HTTP/1.1" 200
[2023-08-25 20:12:31,346]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "GET /socket.io/?EIO=4&transport=polling&t=OekKx3r&sid=a9GXgm7q-8ToYsSQAAAA HTTP/1.1" 200
[2023-08-25 20:12:31,359]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58762 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&model_type=main HTTP/1.1" 200
[2023-08-25 20:12:31,365]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58756 - "GET /api/v1/models/?model_type=vae HTTP/1.1" 200
[2023-08-25 20:12:31,367]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58762 - "GET /api/v1/app/version HTTP/1.1" 200
[2023-08-25 20:12:31,373]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58778 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200
[2023-08-25 20:12:31,381]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58784 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200
[2023-08-25 20:12:31,385]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58794 - "GET /api/v1/models/?model_type=embedding HTTP/1.1" 200
[2023-08-25 20:12:37,517]::[InvokeAI]::INFO --> NSFW checker initialized
[2023-08-25 20:12:37,518]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58808 - "GET /api/v1/app/config HTTP/1.1" 200
[2023-08-25 20:12:37,810]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58762 - "POST /api/v1/sessions/ HTTP/1.1" 200
[2023-08-25 20:12:38,017]::[uvicorn.access]::INFO --> <IP_ADDRESS>:58762 - "PUT /api/v1/sessions/6bcd07f1-fbb5-4cdd-b783-50c08c038994/invoke?all=true HTTP/1.1" 202
[2023-08-25 20:12:38,416]::[InvokeAI]::INFO --> Loading model /root/invokeai/models/sd-1/main/Analog-Diffusion, type sd-1:main:tokenizer
[2023-08-25 20:12:39,295]::[InvokeAI]::INFO --> Loading model /root/invokeai/models/sd-1/main/Analog-Diffusion, type sd-1:main:text_encoder

This is where it just stays indefinitely while the WebUI looks like it should be Generating.
Screenshots

Additional context
No response
Contact Details
No response

Could you try selecting a different model and running? Looks like it never actually starts generating, and is only loading the model

me too,  never starts whatever i change a  different model and  different data. Please help.

Please check the browser's JS console for errors or warnings. If there are any, please copy them here:

Open your browser's JavaScript console
Find the red error message at the bottom of the console's output
Right click the Object -> Copy Object
Paste the object here

I am experiencing the same issue with a similar setup.
The browser console (both Firefox and Chromium) do no throw any error.
The output looks like the following:
Firefox:

Chromium:

@puresick what operating system, gpu and python version do you have?

Browser Console does not show any errors. The Console just stops here with these messages. The InvokeAI interface still looks like it is "Generating" but never even gives a preview of the first step.

Maybe it's nothing, but I'm suspicious of how both you @puresick and @tokenwizard are on AMD. We may be doing something wrong somehow.
Can you please try forcing CPU? If you run the configure script, it should have an option to force CPU. Then try generating. It'll be slow as hell but if it works, we have a clue.
Also can you please activate the venv (easy way is run the script to start the app and choose developer console) and run python --version

I will say I ran this on my AMD CPU desktop in CPU mode and it worked. Trying to run it now in a Proxmox LXC with the AMD GPU pass through.
I'll try these suggestions tomorrow.
Sent from Proton Mail mobile
-------- Original Message --------
On Sep 5, 2023, 7:31 PM, psychedelicious wrote:

Maybe it's nothing, but I'm suspicious of how both you @.(https://github.com/puresick) and @.(https://github.com/tokenwizard) are on AMD. We may be doing something wrong somehow.
Can you please try forcing CPU? If you run the configure script, it should have an option to force CPU. Then try generating. It'll be slow as hell but if it works, we have a clue.
Also can you please activate the venv (easy way is run the script to start the app and choose developer console) and run python --version
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Ah, yeah I meant both of you having an AMD GPU caught my eye. If CPU works for you, and GPU doesn't, we may have some issues related to AMD GPUs.

@psychedelicious Here are my system specs:
OS: Arch Linux
Kernel: 6.4.12-arch1-1
CPU: AMD Ryzen 7 3700X
GPU: AMD ATI Radeon RX 5500 XT 8GB VRAM
Python: 3.11.5
Generating images on my CPU runs fine.

Hi!
Let’s see if it is an InvokeAI problem or an issue with the upstream diffusers library on AMD.

Using a text editor, please enter the following script:

from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_safetensors=True)
pipeline.to("cuda")
image = pipeline("An image of a squirrel in Picasso style").images[0]
image.save("image_of_squirrel_painting.png")

(This is the “getting started” script for Diffusers from Hugging Face: https://huggingface.co/docs/diffusers/quicktour)

Save the script as test_diffusers.py

Activate the InvokeAI virtual environment, either by starting the launcher script and selecting the “developer’s console” option, or by giving the command source ~/invokeai/.venv/bin/activate (where ~/invokeai is the location of your InvokeAI directory).

Run the script with python test_diffusers.py

The script may re-download stable-diffusion-v1.5 (sorry, but it’s more foolproof) and then start generating. Generation should be fast - no more than 10s.

If all goes well, it will leave you with a PNG named image_of_a_squirrel_painting.png.

If this works, then the bug is in InvokeAI. If not, then there is a problem with some library, such as pytorch, ROCM, or diffusers itself.

This is what I get when I try to run that script from the Developer Console:

@tokenwizard
That's... weird...
Let's grab some additional diagnostic data:

Run the invoke script like you did before
Select developer console
Run pip list, copy and paste the output here for us

Next, while still in the dev console, we will try running the test code differently:

Run python to enter the python REPL
Copy, paste and run each line of the test script individually
After it's finished (successfully or not), copy everything from when you ran python onwards and paste here
Quit the REPL by running quit() at the >>> prompt

Here is the output of pip list:
`(InvokeAI) root@AI-Server ~/invokeai> pip list
Package                 Version

absl-py                 1.4.0
accelerate              0.21.0
addict                  2.4.0
aiohttp                 3.8.5
aiosignal               1.3.1
albumentations          1.3.1
antlr4-python3-runtime  4.9.3
anyio                   3.7.1
async-timeout           4.0.3
attrs                   23.1.0
basicsr                 1.4.2
bidict                  0.22.1
boltons                 23.0.0
cachetools              5.3.1
certifi                 2023.7.22
cffi                    1.15.1
charset-normalizer      3.2.0
click                   8.1.7
clip-anytorch           2.5.2
cmake                   3.27.2
coloredlogs             15.0.1
compel                  2.0.2
contourpy               1.1.0
controlnet-aux          0.0.6
cycler                  0.11.0
datasets                2.14.4
diffusers               0.20.2
dill                    0.3.7
dnspython               2.4.2
dynamicprompts          0.29.0
easing-functions        1.0.4
einops                  0.6.1
eventlet                0.33.3
exceptiongroup          1.1.3
facexlib                0.3.0
fastapi                 0.88.0
fastapi-events          0.8.0
fastapi-socketio        0.0.10
filelock                3.12.2
filterpy                1.4.5
Flask                   2.1.3
Flask-Cors              3.0.10
Flask-SocketIO          5.3.0
flaskwebgui             1.0.3
flatbuffers             23.5.26
fonttools               4.42.1
frozenlist              1.4.0
fsspec                  2023.6.0
ftfy                    6.1.1
future                  0.18.3
gfpgan                  1.3.8
google-auth             2.22.0
google-auth-oauthlib    1.0.0
greenlet                2.0.2
grpcio                  1.57.0
h11                     0.14.0
httptools               0.6.0
huggingface-hub         0.16.4
humanfriendly           10.0
idna                    3.4
imageio                 2.31.1
importlib-metadata      6.8.0
invisible-watermark     0.2.0
InvokeAI                3.1.0
itsdangerous            2.1.2
Jinja2                  3.1.2
joblib                  1.3.2
kiwisolver              1.4.5
lazy_loader             0.3
lightning-utilities     0.9.0
lit                     16.0.6
llvmlite                0.40.1
lmdb                    1.4.1
Markdown                3.4.4
markdown-it-py          3.0.0
MarkupSafe              2.1.3
matplotlib              3.7.2
mdurl                   0.1.2
mediapipe               0.10.3
mpmath                  1.3.0
multidict               6.0.4
multiprocess            0.70.15
networkx                3.1
npyscreen               4.10.5
numba                   0.57.1
numpy                   1.24.4
oauthlib                3.2.2
omegaconf               2.3.0
onnx                    1.14.0
onnxruntime             1.15.1
opencv-contrib-python   <IP_ADDRESS>
opencv-python           <IP_ADDRESS>
opencv-python-headless  <IP_ADDRESS>
packaging               23.1
pandas                  2.0.3
picklescan              0.0.11
Pillow                  10.0.0
pip                     22.0.2
platformdirs            3.10.0
prompt-toolkit          3.0.39
protobuf                3.20.3
psutil                  5.9.4
pyarrow                 13.0.0
pyasn1                  0.5.0
pyasn1-modules          0.3.0
pycparser               2.21
pydantic                1.10.12
Pygments                2.16.1
Pympler                 1.0.1
pyparsing               3.0.9
PyPatchMatch            1.0.1
pyperclip               1.8.2
pyreadline3             3.4.1
python-dateutil         2.8.2
python-dotenv           1.0.0
python-engineio         4.6.1
python-multipart        0.0.6
python-socketio         5.8.0
pytorch-lightning       2.0.7
pytorch-triton-rocm     2.0.2
pytz                    2023.3
PyWavelets              1.4.1
PyYAML                  6.0.1
qudida                  0.0.4
realesrgan              0.3.0
regex                   2023.8.8
requests                2.28.2
requests-oauthlib       1.3.1
rich                    13.5.2
rsa                     4.9
safetensors             0.3.1
scikit-image            0.21.0
scikit-learn            1.3.0
scipy                   1.11.2
Send2Trash              1.8.2
setuptools              59.6.0
six                     1.16.0
sniffio                 1.3.0
sounddevice             0.4.6
starlette               0.22.0
sympy                   1.12
tb-nightly              2.15.0a20230825
tensorboard             2.14.0
tensorboard-data-server 0.7.1
test-tube               0.7.5
threadpoolctl           3.2.0
tifffile                2023.8.12
timm                    0.6.13
tokenizers              0.13.3
tomli                   2.0.1
torch                   2.0.1+rocm5.4.2
torchmetrics            0.11.4
torchsde                0.2.5
torchvision             0.15.2+rocm5.4.2
tqdm                    4.66.1
trampoline              0.1.2
transformers            4.31.0
typing_extensions       4.7.1
tzdata                  2023.3
urllib3                 1.26.16
uvicorn                 0.21.1
uvloop                  0.17.0
watchfiles              0.20.0
wcwidth                 0.2.6
websockets              11.0.3
Werkzeug                2.3.7
wheel                   0.37.1
xxhash                  3.3.0
yapf                    0.40.1
yarl                    1.9.2
zipp                    3.16.2
`
I just realized when I copied the script content I somehow missing the first line that imports the diffusers module. I updated the script and it seems to be running now. I assume it is downloading SD 1.5 which will take some time on my current connection.

So it has been "stuck" here for the past half hour. Should I see some sort of output when it completes?

I manually exited with CTRL-Z and I do not see the expected output file.

So it has been "stuck" here for the past half hour. Should I see some sort of output when it completes?

I manually exited with CTRL-Z and I do not see the expected output file.

Well, I let it sit there for over two hours and it never seems to complete. I do see that the CPU usage on the server spikes for the entire time I leave it running, but it never generates the image.

I should also add that before I transferred the AMD GPU into my server, I had it in my desktop and Automatic1111 was running on the GPU just fine.

So it has been "stuck" here for the past half hour. Should I see some sort of output when it completes?
I manually exited with CTRL-Z and I do not see the expected output file.

It shouldn't get stuck like that.
I think this is pointing to a problem with either torch or with ROCm driver that is installed on your machine. Could you try running the following command from your terminal and pasting a screenshot of the result?
rocm-smi

There's some additional ROCm debugging tips here: https://invoke-ai.github.io/InvokeAI/installation/030_INSTALL_CUDA_AND_ROCM

Hmmm, In Ubuntu 22.04 it seems I don't have rocm-smi. I do have the rocm-utils package installed. I have the rocminfo tool and the output is below. I will check the link you provided for additional troubleshooting.
The Agent 3 section shows the GPU details.
root@AI-Server:~/invokeai# rocminfo
ROCk module is loaded
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:
  Uuid:                    CPU-XX
  Marketing Name:
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  ASIC Revision:           0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3300
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            16
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: FINE GRAINED
      Size:                    32911484(0x1f6307c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32911484(0x1f6307c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 3
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    32911484(0x1f6307c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
*******
Agent 2
*******
  Name:
  Uuid:                    CPU-XX
  Marketing Name:
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  ASIC Revision:           0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3300
  BDFID:                   0
  Internal Node ID:        1
  Compute Unit:            16
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: FINE GRAINED
      Size:                    49500392(0x2f350e8) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    49500392(0x2f350e8) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 3
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    49500392(0x2f350e8) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
*******
Agent 3
*******
  Name:                    gfx1010
  Uuid:                    GPU-XX
  Marketing Name:          AMD Radeon RX 5700 XT
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          64(0x40)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    2
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
    L2:                      4096(0x1000) KB
  Chip ID:                 29471(0x731f)
  ASIC Revision:           2(0x2)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2100
  BDFID:                   17408
  Internal Node ID:        2
  Compute Unit:            40
  SIMDs per CU:            2
  Shader Engines:          2
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      TRUE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        40(0x28)
  Max Work-item Per CU:    1280(0x500)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    8372224(0x7fc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1010:xnack-
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

Hi!
Let’s see if it is an InvokeAI problem or an issue with the upstream diffusers library on AMD.
1. Using a text editor, please enter the following script:

from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", use_safetensors=True)
pipeline.to("cuda")
image = pipeline("An image of a squirrel in Picasso style").images[0]
image.save("image_of_squirrel_painting.png")

(This is the “getting started” script for Diffusers from Hugging Face: https://huggingface.co/docs/diffusers/quicktour)
2. Save the script as `test_diffusers.py`

3. Activate the InvokeAI virtual environment, either by starting the launcher script and selecting the “developer’s console” option, or by giving the command `source ~/invokeai/.venv/bin/activate` (where `~/invokeai` is the location of your InvokeAI directory).

4. Run the script with `python test_diffusers.py`

5. The script may re-download `stable-diffusion-v1.5` (sorry, but it’s more foolproof) and then start generating. Generation should be fast - no more than 10s.

6. If all goes well, it will leave you with a PNG named `image_of_a_squirrel_painting.png`.

If this works, then the bug is in InvokeAI. If not, then there is a problem with some library, such as pytorch, ROCM, or diffusers itself.

@lstein I tried your python test script above running it inside of the Invoke AI developer console. It becomes stuck with the following screen:

`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["bos_token_id"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["eos_token_id"]` will be overriden.
Loading pipeline components...: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:00<00:00, 11.07it/s]
/pytorch/aten/src/ATen/native/hip/Indexing.hip:1148: iiiiiiiieeeeeeeeIndex: Device-side assertion `ssssssss        llllllllize' failed.
/pytorch/aten/src/ATen/native/hip/Indexing.hip:1148: iiiiiiiieeeeeeeeIndex: Device-side assertion `ssssssss        llllllllize' failed.
/pytorch/aten/src/ATen/native/hip/Indexing.hip:1148: iiiiiiiieeeeeeeeIndex: Device-side assertion `ssssssss        llllllllize' failed.
/pytorch/aten/src/ATen/native/hip/Indexing.hip:1148: iiiiiiiieeeeeeeeIndex: Device-side assertion `ssssssss        llllllllize' failed.
/pytorch/aten/src/ATen/native/hip/Indexing.hip:1148: iiiiiiiieeeeeeeeIndex: Device-side assertion `ssssssss        llllllllize' failed.

Downloading the model works fine and I assume loading the model at least into the GPUs VRAM also seems to work. With radeontop (https://github.com/clbr/radeontop) I observed the GPU usage hitting 100% and the VRAM usage increasing until it stops at ~ 5 GB.
rocm-smi outputs the following:
========================= ROCm System Management Interface =========================
=================================== Concise Info ===================================
GPU  Temp (DieEdge)  AvgPwr  SCLK  MCLK    Fan  Perf  PwrCap  VRAM%  GPU%
0    49.0c           4.0W    0Mhz  100Mhz  0%   auto  135.0W   19%   4%
====================================================================================
=============================== End of ROCm SMI Log ================================

I should also add that I need to set the environment variable HSA_OVERRIDE_GFX_VERSION=10.3.0 before executing/running InvokeAI or the test script to not end in a SEGFAULT. As far as I know that is needed in general if you use this generation of AMD GPUs to get them working at all with ROCm.

Invoke 3.2.0 still has the same issue.

@puresick Sorry for the late follow-up. The test script has no invokeai code in it - it's from the diffusers library: https://github.com/huggingface/diffusers
diffusers is the library that powers stable diffusion generation for invokeai.
I think this issue needs to be raised with them. I'm not sure if anybody on the invokeai team has access to an amd gpu to test.
Would you mind raising an issue with diffusers? Please link back to this issue. Thanks.

Since we do not maintain older versions of Invoke, has this user tested other, more recent versions of Invoke? In the contrary, I think this bug report should be closed, and eventually a new one opened after testing with the latest version (currently 5.4.2).


Block confirming dangerous actions

Disables Confirm button in https://github.com/oasisprotocol/oasis-wallet-ext/pull/236 for the following warnings:

confirmTransferringToValidator
confirmDepositingToParatimeToForeignAccount
confirmWithdrawingFromParatimeToForeignAccount
confirmDepositingToParatimeToLedgerAccount

Related to https://github.com/oasisprotocol/oasis-wallet-web/pull/734/commits/699336f4272841c001db9991fb531932a507fb09

users who must still do these non-recommended transactions using this software: for the time being, un-disable the button in the dev tools. in the longer term, migrate to using the CLI for these "I know what I'm doing" actions


Simpler closure definitions

Similarly to what Pimple did in v2 this PR makes declaring entries using closures simpler.
Before:
return [
    'foo' => DI\factory(function () {
        return new Foo();
    }),
];

After (DI\factory() is optional):
return [
    'foo' => function () {
        return new Foo();
    },
];

Closures will be automatically casted to factory definitions.
This only works with closures, it doesn't work with other callable types (e.g. invokable object, ['MyClass', 'method'], …)
If one wants to inject a callable (i.e. not execute it), DI\value() needs to be used:
return [
    'foo' => DI\value(function () {
        return new Foo();
    }),
    'bar' => DI\object('stdClass')
        ->constructor(DI\link('foo')),
];

This is more complex, but I don't think it's a problem as I've never ever seen that been used (same argument was used in Pimple).
@tsteur, @diosmosis thoughts?

I think specifying application logic in DI config (ie, injecting closures w/ logic) defeats the purpose of inversion of control, and I think in general defining callback properties is an anti-pattern, so I see no issues.

@diosmosis we are getting out of topic, but configuration is not application logic, it's configuration. By putting all the configuration and wiring outside of the code, it lets us focus on the actual application logic in the code.
If configuration needs to be PHP code, then so be it.

:+1:

:+1:


System.IO.EndOfStreamException with AssetViewer

When trying to read PlayerSettings in globalgamemanagers, an EndOfStreamException gets thrown
File: globalgamemanagers.zip
Exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
   at System.IO.BinaryReader.ReadByte()
   at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, UInt64 filePos, AssetTypeValueField valueField, Boolean bigEndian)
   at AssetsTools.NET.AssetTypeTemplateField.ReadType(AssetsFileReader reader, UInt64 filePos, AssetTypeValueField valueField, Boolean bigEndian)
   at AssetsTools.NET.AssetTypeInstance..ctor(UInt32 baseFieldCount, AssetTypeTemplateField[] ppBaseFields, AssetsFileReader reader, Boolean bigEndian, UInt64 filePos)
   at AssetsTools.NET.Extra.AssetsManager.GetATI(AssetsFile file, AssetFileInfoEx info, Boolean fromTypeTree)
   at AssetsView.Winforms.StartScreen.assetList_CellDoubleClick(Object sender, DataGridViewCellEventArgs e)
   at System.Windows.Forms.DataGridView.OnCellDoubleClick(DataGridViewCellEventArgs e)
   at System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4069.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AssetsView
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/AssetsToolsNET_AssetsView/AssetsView.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
AssetsTools.NET
    Assembly Version: <IP_ADDRESS>
    Win32 Version: <IP_ADDRESS>
    CodeBase: file:///C:/AssetsToolsNET_AssetsView/AssetsTools.NET.DLL
----------------------------------------
System.Configuration
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: <IP_ADDRESS>
    Win32 Version: 4.8.3761.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

You can tell this is a UABE cldb problem because UABE can't open it either.

Why this problem exists, I'm not sure, but apparently the place where the cldbs come from doesn't always exactly match up with what the assets files actually have in them. It could be a bad cldb version, but I tried with 2018.3 and had the same issue.

^ I was eventually able to load the assets file with some changes to the cldb. I can send that file later if you'd like.

^ I was eventually able to load the assets file with some changes to the cldb. I can send that file later if you'd like.
I would very much appreciate it if you could. Do you know how the cldb is generated in the first place?

DerPopo said they are made from the player exe (and maybe pdb) files using an unreleased tool he made (I do have a tool that should do the same thing though). They are extracted from the type tree functions (I believe because it's easier than the plain serialization) but sometimes they are slightly different for whatever reason. In this case, I just manually edited the cldb in the class database editor in uabe by just guessing what fields were added/removed.

Try replacing the classdata.tpk with this. (Or use classdata-uabe.tpk for uabe)
classdata-U2018.4.10f1.zip

Ignore the older messages. Replace the classdata.tpk with this. This should be more accurate.
classdata-U2018.4.10f1.zip

I'm closing this since it's not really a problem with this library but with the cldbs. Feel free to reopen if you still have issues/questions.


Added de translations

@itchix something wrong with the build but i merge anyway because only contains translations files.

yes there is an issue with travis and Java 8 syntax... (Lambda expression)


Activity id is not required by get()

If not given, get() returns all activities within the other query params

While I originally was wanting to see something like this, realized that the API already has "athlete.listActivities", and that supports Strava's pagination.

I think this should be closed. I think there was some confusion between these two endpoints:

get a single activity: GET https://www.strava.com/api/v3/activities/:id (:id is required here)
get a list of activities: GET https://www.strava.com/api/v3/athlete/activities (notice the inclusion of athlete here).

This project already supports both endpoints. Neither has a documented variation that works with or without an /:id

I see now the poor docs made this unclear. I submitted 09c0bb80c42dc90a341fcb6c92f63e318f79bc73 to a branch I'm working on to clarify this.
The branch also adds Promise support and supports Oauth use-cases without passing the access_tokens to every call. Check it out: https://github.com/UnbounDev/node-strava-v3/pull/55

I'm closing this, but plan to merge my referenced documentation patch which clarifies the docs.


加载时报错

11-26 13:13:07 [ERROR] nonebot | Failed to import "nonebot_plugin_memes"
Traceback (most recent call last):
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 511, in loads
ret = decoder.load_line(line, currentlevel, multikey,
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 778, in load_line
value, vtype = self.load_value(pair[1], strictly_valid)
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 880, in load_value
return (self.load_array(v), "array")
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 1026, in load_array
nval, ntype = self.load_value(a[i])
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 910, in load_value
raise ValueError("This float doesn't have a leading "
ValueError: This float doesn't have a leading digit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 14, in
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\load.py", line 133, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\load.py", line 67, in load_all_plugins
return manager.load_all_plugins()
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\manager.py", line 205, in load_all_plugins
return set(
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\manager.py", line 206, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))

File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\manager.py", line 169, in load_plugin
module = importlib.import_module(self.third_party_plugin_ids[name])
File "C:\Program Files\Python312\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in find_and_load_unlocked
File "", line 935, in load_unlocked
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot\plugin\manager.py", line 257, in exec_module
super().exec_module(module)
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot_plugin_memes_init.py", line 11, in
from . import matchers, migrations  # noqa
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot_plugin_memes\matchers_init.py", line 1, in
from . import info, manage, search, help, command, statistics  # noqa
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot_plugin_memes\matchers\info.py", line 6, in
from .utils import find_meme
File "D:\qqcat\bot2.venv\Lib\site-packages\nonebot_plugin_memes\matchers\utils.py", line 3, in
from meme_generator import Meme
File "D:\qqcat\bot2.venv\Lib\site-packages\meme_generator_init.py", line 3, in
from meme_generator.config import meme_config as config
File "D:\qqcat\bot2.venv\Lib\site-packages\meme_generator\config.py", line 70, in
meme_config = Config.load()
File "D:\qqcat\bot2.venv\Lib\site-packages\meme_generator\config.py", line 59, in load
return type_validate_python(cls, toml.load(config_file_path))
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 134, in load
return loads(ffile.read(), _dict, decoder)
File "D:\qqcat\bot2.venv\Lib\site-packages\toml\decoder.py", line 514, in loads
raise TomlDecodeError(str(err), original, pos)
toml.decoder.TomlDecodeError: This float doesn't have a leading digit (line 3 column 1 char 46)
11-26 13:13:07 [SUCCESS] nonebot | Running NoneBot...
11-26 13:13:07 [INFO] uvicorn | Started server process [22876]
11-26 13:13:07 [INFO] uvicorn | Waiting for application startup.
11-26 13:13:07 [INFO] nonebot_plugin_orm | 没有检测到新的升级操作
11-26 13:13:07 [INFO] uvicorn | Application startup complete.
11-26 13:13:07 [INFO] uvicorn | Uvicorn running on http://<IP_ADDRESS>:5140 (Press CTRL+C to quit)
11-26 13:13:09 [INFO] uvicorn | ('<IP_ADDRESS>', 63812) - "WebSocket /onebot/v11/ws" [accepted]

已解决，问题在于配置文件的浮点数问题


Show Community Samples

Show community created samples that are fed by the following repo https://github.com/NativeScript/code-samples
Includes showing samples with filter on top.
Clicking on a sample, opens a playground link.
Initially show just one screenshot.
Screenshots have fixed height of 1080px. Width may vary.
UX: https://ux.telerik.com/wireframes/NSPluginsMarketplace/#g=1&p=n__marketplace-_home_samples
Samples data: https://github.com/NativeScript/code-samples

AC:

In preview the TS icon should be replaced with Vue
"Frameworks" + "Categories" filters should work together
Clicking "Sample Preview" should open link in new tab for the specific "Framework" filter
All data from (https://github.com/NativeScript/code-samples/blob/master/categories/all.json) should be visible in the "Samples" section
Screenshot should be the first one from the "screenshots" of the all.json
Screenshot should be with height 1080px
Screenshot width may vary
Clicking "Submit your sample" should lead to github contributing guide (https://github.com/NativeScript/code-samples/blob/master/CONTRIBUTING.md)
"Frameworks" filter should be single selection
"Categories" filter should be single selection
Default selection of "Frameworks" should be "Angular" and for "Categories" should be "All"

Scrolls are shown on low resolutions over categories and frameworks labels.
Categories values and samples categories values are not aligned. Filtration by category is working though.
Screenshot preview of "Build a good looking login form" sample is broken


Changed docker image organization to fabric8-services

related to this https://github.com/fabric8io/keycloak-deployment/issues/35

[test]

@alexeykazakov I am closing this PR cause it doesn't exist any docker org for fabric8-services. So we stick to use fabric8


Polar area chart resizes oddly

It seems that the scale of a polar area chart does not resize when the chart resizes.

This appears to have already been fixed


Log файлы https://github.com/alleksandrgall/metalampBot/issues/12

If provided log file doesn't have a .log extention it will be appended. If provided file does already exist and doesn't have an extention it will be renamed.

Хорошо. Аппрув


Adding imports-loader

The imports-loader allows us to include modules that were not designed to be consumed with webpack.

Coverage remained the same at 86.8% when pulling fb7dea5034d2e04b1f87f3f1e7226a52a4a7282d on job13er:add-imports-loader into 4bd02295574e002092c27e7c60de876feaf7f1c2 on cyaninc:master.

@sandersky Self-merging.

:thumbsup: Only suggestion would be add imports-loader to the README as well.


FinalMinLevel documentation

I thought it would be useful to have a page fully describing how FinalMinLevel works. It would have helped me before, so I wrote one: https://github.com/Aaronmsv/NLog/wiki/FinalMinLevel Do you think it would be good to include it in the NLog wiki?
Since NLog's documentation is in Wikis I can't make a PR for this.
Edit: I haven't tested the examples yet.

I was actually looking today for a documentation of finalMinLevel.
It's still quite confusing to me. Consider this rules sequence:
        <logger name="Microsoft.EntityFramework*" finalMinLevel="Warn" writeTo="console" />
        <logger name="Microsoft*" finalMinLevel="Info" writeTo="console" />

I'd expect it to have the following behavior:

Log Microsoft.EntityFrameworkCore.Database.Command if Warn or more severe, ignore if Info or less severe
Log Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor if Info or more severe, ignore if Debug or less severe

But it actually logs Microsoft.EntityFrameworkCore.Database.Command logs even in Info severity.
What am I missing?

@Aaronmsv Yes right now one can only find this as docs:

https://nlog-project.org/2021/08/25/nlog-5-0-preview1-ready.html#nlogextensionslogging-without-any-filter

And the currenct config-api docs, only mentions that finalMinLevel exists:

https://github.com/NLog/NLog/wiki/Configuration-file#rules

I like the idea with some breakout-page that explains with more examples. Same could be useful for minLevel + maxLevel + final + logger-name-pattern.
The docs page looks great. I only found one place, that needs to be fixed:

It can be simplified with FinalMinLevel and the order wouldn't matter between the first two:
<logger name="Microsoft.*" finalMinLevel="Warn" />
<logger name="Microsoft.Hosting.Lifetime*" finalMinLevel="Info" />

The order of NLog logging-rules are very important. And finalMinLevel will override any previous rules, and the following will cause Microsoft.Hosting.Lifetime-loggers to have finalMinLevel="Warn"
    <logger name="Microsoft.Hosting.Lifetime*" finalMinLevel="Info" />
    <logger name="Microsoft.*" finalMinLevel="Warn" /> <!-- Changes minLevel for all loggers matching including the above  -->

The docs page looks great. I only found one place, that needs to be fixed:

It can be simplified with FinalMinLevel and the order wouldn't matter between the first two:

<logger name="Microsoft.*" finalMinLevel="Warn" />
<logger name="Microsoft.Hosting.Lifetime*" finalMinLevel="Info" />

The order of NLog logging-rules are very important. And finalMinLevel will override any previous rules, and the following will cause Microsoft.Hosting.Lifetime-loggers to have finalMinLevel="Warn"

Fixed and also added a few more details.

Fixed and also added a few more details.

Looks great. Notice NLog Wiki is open for editing - https://github.com/NLog/NLog/wiki/_new
You are wellcome to create a new page with title "Logging Rules FinalMinLevel"

Thank you very much for creating
https://github.com/NLog/NLog/wiki/Logging-Rules-FinalMinLevel
Sent from my Galaxy
-------- Original message --------
From: Aaron Mousavi @.>
Date: 31/03/2023 14:15 (GMT+02:00)
To: NLog/NLog @.>
Cc: Rolf Kristensen @.>, Comment @.>
Subject: Re: [NLog/NLog] FinalMinLevel documentation (Issue #5184)
Done!
—
Reply to this email directly, view it on GitHubhttps://github.com/NLog/NLog/issues/5184#issuecomment-1491762277, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXZ7HFCY5RVCDVSTQJFR3DW624GBANCNFSM6AAAAAAWMONBMU.
You are receiving this because you commented.Message ID: @.***>

Have updated NLog Config Tutorial with link to the new wiki-page.
Thank you again.


TSMessages Customisation overrides

The version of TS Messages that Pods is installing for me is 0.9.12 (which I think is the latest?).
However, my TSMessagesView.h does NOT contain these lines of code:
/** Customize title font using Apperance */
@property (nonatomic,strong) UIFont *titleFont UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIColor *titleTextColor UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIFont *contentFont UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIColor *contentTextColor UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIImage *messageIcon UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIImage *errorIcon UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIImage *successIcon UI_APPEARANCE_SELECTOR;
@property (nonatomic,strong) UIImage *warningIcon UI_APPEARANCE_SELECTOR;
I can see these lines in the files for the example project but they do not appear in mine (meaning I cant override these properties in my AppDelegate).
What am I doing wrong?  (this is the first time I have used Pods so I expect I am doing something wrong)

Ya, looks like those simply got removed, but the docs did not get updated.  I believe we are supposed to use the JSON design file now.


Questions about seed synthesis

Describe the bug
Due to the unfixed prerequisites, I set the Jewel of Harmony to drop directly. Now a bug occurs when synthesizing seeds. After clicking the synthesis button, all items do not change or disappear, and no seeds are generated. I have queried There is no problem with the synthesis formula of Seed Master in the website data.
I would like to ask if the entire Seed Sphere synthesis system has not been repaired?
Expected behavior
Looking forward to fixing the following crafting systems:
Jewel of Harmony -> Seed -> Seed Sphere -> Inlay gems into equipment
Btw, the Gemstone refining system can be slowed down without any rush :)

It's a small error in the configuration. The server is configured to require a blue option (from jewel of life) on the excellent and ancient items. However, the client doesn't require that these items have that option. I'll fix that soon 😅


[App Insights] Adding Data Plane SDK

Adding Application Insights Data plane Operations

https://github.com/Azure/azure-rest-api-specs/pull/2404
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

The directory structure needs to be modified here as below

Create two directories under src/SDKs/ApplicationInsights, Management and DataPlane
Move Management.ApplicationInsights and ApplicationInsights.Tests under Management
Move Data.ApplicationInsights and Data.ApplicationInsights.Tests  under DataPlane
Rename Data.ApplicationInsights to ApplicationInsights

The code has not be generated using generate.cmd Please use the script to generate the code, this also generates some additional artifacts required for the CI builds

@alexeldeib You probably need to pull latest changes from psSdkJson6 and run the generate.cmd command again


Handle Unsave charity  functionality on Portfolio page and backend

Removed local storage functionality from explore tab and Handle button text based on logged user charities data.
When user click on unsaved button, charity is deleted from user in backed and frontend and also changed saved button status on explore tab.


First day of month doesn’t display any courses

On Day view on the App (in the French version), if you select any first day of a month the app will tell you there is no course for that day.
Weirdly enough, you see theses courses in the Week view.
How to reproduce:

Open the app
Set the langage to French
Find a group that has classes on first day of month (4TYB703S and 4TNV703S for instance)
Go into day view and select the first day of the month
See there isn’t any courses
Go into week view and see there are courses
Go on Celcat to verify and see that there is a disparity

Hey !
Thanks for reporting the bug! :)
I'll take a look at the bug this afternoon. It must be something with the request sender and dates sent to Celcat.
Stay tuned!


firestarter: 1.7.3 -> 1.7.4

Motivation for this change
New version update
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
I am maintainer of this package in nixpkgs.

@GrahamcOfBorg build firestarter

@astro in a future update, you may add runHook preInstall and runHook postInstall to you installPhase override


Any plans to publish MathJSON on NPM? Its quite cumbersome to build it yourself...

First, thank you for this very interesting library!
It would be really good if one could install it by just using NPM, what is the reason to keep it unpublished? Still not ready for prime-time?

Thank you! The project is ready for prime time, although there are many extensions to it I have planned.
It is available on npm at https://www.npmjs.com/package/@cortex-js/math-json
I haven't published frequent updates, as there doesn't seem to be a lot of interest in the project yet. As you can see it's got a single star on github...

Hey @arnog, thanks for the quick response! Wow, so it's already published! And you've updated the readme! 👍
Going off to play with new shiny things... ;)

Feel free to star the repo when you get the chance...

Done : )


Fix source.UrlTile URL expansion

Fix the issue and add a test for spotting regressions.

Closes #4765 (replace).
Fixes #4764.

Thanks @gberaudo.

Since I'm involved here as commit author, I'd appreciate a review from someone from @openlayers/core. Thanks.

Looks great.  Thanks for the fix and the tests.  Please merge.

Thanks for the quick review and merging.


What about media playing?

Silverlight was used a lot to do rich Media Player experiences in particular when there was the need of DRM. I imagine that if Blazor will support this it will have yet more success, doing this things with HTLM5+JS is really complex and indeed a lot of sites continue to use Flash for these type of things.
So what do you think?

I think that's way outside the scope of a SPA framework. It's a very niche things that the vast majority of users will never need.
You should be able to handle those things with third party tools, or native HTML+JS. Maybe this is what you're looking for? https://developer.mozilla.org/en-US/docs/Web/API/Encrypted_Media_Extensions_API

The whole point of WebAssembly and HTML5 before it - I thought - is to reduce or eliminate the need for plugins. The HTML5 media player is quite sophisticated and I'm sure a C# wrapper class in the Blazor framework is possible and probably easy once the JS interop is nailed down.

Indeed, it's certainly possible to interact with the built-in HTML/JS media players from Blazor code. In general Blazor attempts to mesh neatly with existing standards rather than trying to replace them.


Replace Circe with uJson, add CypherValue.toJson

Fixes #485

@DarthMax Does Zeppelin network visualisation support String IDs? Couldn't get a definitive answer in the documentation. Converting a Long to a JavaScript Number is not safe: JavaScript has a Number type which is a 64 bit floating point number.

Mhh I have no idea. For the visualization case it would not really have an implication if the reverse operation of to json is not safe

We should probably have a more efficient Json table representation. Array of header names, then rows that are arrays.

I think it was used for the simple web service we had build as a show case once.
I think we can keep it as it is. The strength of JSON is readability and accessibility not memory efficient storage.

Removed CypherRecords.toJson after additional conversation with @DarthMax


ERROR in Metadata version mismatch for module 'ng2-tooltip-directive.d.ts', found version 4, expected 3

Initially, I didn't get any errors after I installed this library and used it in my project. Next day, when I tried to  start the server, I started getting the following error message.
ERROR in Metadata version mismatch for module <project_path>/node_modules/ng2-tooltip-directive/ng2-tooltip-directive.d.ts, found version 4, expected 3.
Here is the version info.
@angular/cli: 1.3.2
node: 8.11.2os: win32 x64
@angular/animations: 4.3.6
@angular/common: 4.3.6@angular/compiler: 4.3.6@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/platform-server: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.3.2
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6

Try downgrading to version 2.0.0 of the ng2-tooltip-directive

Initially, I didn't get any errors after I installed this library and used it in my project. Next day, when I tried to start the server, I started getting the following error message.
ERROR in Metadata version mismatch for module <project_path>/node_modules/ng2-tooltip-directive/ng2-tooltip-directive.d.ts, found version 4, expected 3.
Here is the version info.
@angular/cli: 1.3.2
node: 8.11.2os: win32 x64
@angular/animations: 4.3.6
@angular/common: 4.3.6@angular/compiler: 4.3.6@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/platform-server: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.3.2
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6

Hi,
I having same issue did you find any solution so far ?


monkey patch console?

Does anything speak against monkey-patching all console logging relevant methods by say, calling a logger.install() function?
This way one would not even have to import a logger into each module but it would simply work for all code using console.info etc?

Indeed, this change could solve a large part of the current problems. however it is a little different from the original idea of this package. let me think a bit.

Added a patchConsole experimental method in v 5.0.0


fix: bump revm-inspectors to 0.7.4

Motivation
Fixes #8895. Upstream semver issue in alloy caused downstream issues in proof-of-sql which uses forge-script which requires us to bump revm-inspectors to 0.7.4.

Solution
See above.

messed up semver due to reasons...
sorry about this will be taken care of asap

@mattsse Hmm this is bizarre: https://github.com/foundry-rs/foundry/actions/runs/10928189079/job/30336889257?pr=8896
https://github.com/paradigmxyz/revm-inspectors/blob/v0.7.4/src/tracing/mux.rs#L232-L234
Let me check whether it works with a tag instead.

Please approve the workflow again. Thanks!

Closed in favor of #8902 .


OpenCV+PyKinect show color frame in the same time

finally solved it
code：
from pykinect2 import PyKinectV2
from pykinect2.PyKinectV2 import *
from pykinect2 import PyKinectRuntime
import cv2
import ctypes
import _ctypes
import pygame
import sys
import numpy as np
kinect = PyKinectRuntime.PyKinectRuntime(PyKinectV2.FrameSourceTypes_Color)
if sys.hexversion >= 0x03000000:
import _thread as thread
else:
import thread
class BodyGameRuntime(object):
def init(self):
pygame.init()
    # Used to manage how fast the screen updates
    self._clock = pygame.time.Clock()
    # Set the width and height of the screen [width, height]
    self._infoObject = pygame.display.Info()
    self._screen = pygame.display.set_mode((self._infoObject.current_w >> 1, self._infoObject.current_h >> 1),
                                           pygame.HWSURFACE | pygame.DOUBLEBUF | pygame.RESIZABLE, 32)

    pygame.display.set_caption("Kinect for Windows v2 Body Game")

    # Loop until the user clicks the close button.
    self._done = False

    # Used to manage how fast the screen updates
    self._clock = pygame.time.Clock()

    # Kinect runtime object, we want only color and body frames
    self._kinect = PyKinectRuntime.PyKinectRuntime(
        PyKinectV2.FrameSourceTypes_Color | PyKinectV2.FrameSourceTypes_Body)

    # back buffer surface for getting Kinect color frames, 32bit color, width and height equal to the Kinect color frame size
    self._frame_surface = pygame.Surface(
        (self._kinect.color_frame_desc.Width, self._kinect.color_frame_desc.Height), 0, 32)

    # here we will store skeleton data
    self._bodies = None

def draw_color_frame(self, frame, target_surface):
    target_surface.lock()
    address = self._kinect.surface_as_array(target_surface.get_buffer())
    ctypes.memmove(address, frame.ctypes.data, frame.size)

    del address
    target_surface.unlock()

def run(self):
    # -------- Main Program Loop -----------
    while not self._done:
        # --- Main event loop
        for event in pygame.event.get():  # User did something
            if event.type == pygame.QUIT:  # If user clicked close
                self._done = True  # Flag that we are done so we exit this loop

            elif event.type == pygame.VIDEORESIZE:  # window resized
                self._screen = pygame.display.set_mode(event.dict['size'],
                                                       pygame.HWSURFACE | pygame.DOUBLEBUF | pygame.RESIZABLE, 32)

        # --- Game logic should go here

        # --- Getting frames and drawing
        # --- Woohoo! We've got a color frame! Let's fill out back buffer surface with frame's data
        if self._kinect.has_new_color_frame():
            frame = self._kinect.get_last_color_frame()

            self.draw_color_frame(frame, self._frame_surface)
            frame = None

        # --- copy back buffer surface pixels to the screen, resize it if needed and keep aspect ratio
        # --- (screen size may be different from Kinect's color frame size)
        h_to_w = float(self._frame_surface.get_height()) / self._frame_surface.get_width()
        target_height = int(h_to_w * self._screen.get_width())
        surface_to_draw = pygame.transform.scale(self._frame_surface, (self._screen.get_width(), target_height));

        pygame.image.save(surface_to_draw,"1.png")
        img = cv2.imread("1.png")
        cv2.imshow('img',img)
        self._screen.blit(surface_to_draw, (0, 0))
        surface_to_draw = None

        pygame.display.update()

        # --- Go ahead and update the screen with what we've drawn.
        pygame.display.flip()

        # --- Limit to 60 frames per second
        self._clock.tick(60)

    # Close our Kinect sensor, close the window and quit.
    self._kinect.close()
    pygame.quit()

main = "Kinect v2 Body Game"
game = BodyGameRuntime();
game.run();
result：

but there are some problem that the  video looks not very smooth, somebody know how to overcome it？？

Hi,
Can u look into this issue?
https://github.com/Kinect/PyKinect2/issues/67

嗨，
你能看看这个问题吗？
＃67

hello


I am using ruby-git to check that there are no local changes before the deployment.
Recently I found out that it requires too much time for this part of the deployment process
In the rails console:
git = Git.open('.')
t = Time.now
git.status.changed.empty?
puts(Time.now - t)

=> 11.062845

Is it possible to improve performance for git status some way?
Thank you

After a bit of investigation I found out that I have a lot of ignored files in
./node_modules*
./documents
./tmp
so this part of the construct_status works slow:
<EMAIL_ADDRESS>do
  Dir.glob('**/*', File::FNM_DOTMATCH) do |file|
    next if @files[file] || File.directory?(file) || ignore.include?(file) || file =~ /^.git\/.+/

    @files[file] = {:path => file, :untracked => true}
  end
end

After I removed the most of the ignored files Git.init('.').status takes about 0.5 seconds


Update list of vocabs in README

I think this has been done, right? @acoburn

Yes, it is complete (and thanks for the helpful rake vocabs:list task!)


Note Due to browser implementation differences, you may need to be at 100% zoom to pass the tests on this challenge.

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Can we please remove the text in the instructions:

Note
Due to browser implementation differences, you may need to be at 100% zoom to pass the tests on >this challenge.

It is extremely confusing for new campers. They keep trying to figure out what they should do. We field 3-4 questions about this text every day. It would be way easier to fix the issue if they have it because of the setting in the browser than having them ask when there is no issue to begin with.
Thank you

I tend to agree. I would hazard a guess that most users don't mess with their zoom settings for it to be an issue.

Do you guys need someone to remove the text in the instructions? if so I'd love to help.

@tadake We'll let a few more people weigh in, but if so, it's yours.

cc @FreeCodeCamp/issue-moderators

:+1:

:+1:
@tadake, you have the go ahead!

this needs to be removed ASAP

woo hoo!

i've inputed the correct code for this challenge and still can't get past it.

So how do we get past this step?

Still facing the issue with this step.

Separating the the paragraph style will fix it up.


clip_gradient with clip_grad_value

🚀 Feature

Same issue with #4927
The current clip_gradient uses clip_grad_norm; can we add clip_grad_value?
https://github.com/PyTorchLightning/pytorch-lightning/blob/f2e99d617f05ec65fded81ccc6d0d59807c47573/pytorch_lightning/plugins/native_amp.py#L63-L65

Hey @dhkim0225,
Sounds like a great feature. Would you mind making a PR to enable it ?
Best regards,
T.C

Hey @dhkim0225,
Sounds like a great feature. Would you mind making a PR to enable it ?
Best regards,
T.C

@tchaton I'm really glad to do that !
Renaming the clip_grad_value variable to clip_grad_norm and,
adding a new clip_grad_value feature seems most intuitive,
but this is BC-breaking.
Do you have any good ideas?
Sincerely,
Anthony Kim.

@tchaton I'm really glad to do that !
Renaming the clip_grad_value variable to clip_grad_norm and,
adding a new clip_grad_value feature seems most intuitive,
but this is BC-breaking.
Do you have any good ideas?
Sincerely,
Anthony Kim.

Hey @dhkim0225,
I just checked. You can pass those arguments directly to the Trainer.
trainer = Trainer(gradient_clip_val=10, track_grad_norm=2) and they will be used in NativeAMP clip_gradient

Hey @dhkim0225,
I just checked. You can pass those arguments directly to the Trainer.
trainer = Trainer(gradient_clip_val=10, track_grad_norm=2) and they will be used in NativeAMP clip_gradient

Hi @tchaton,
There are two popular gradient clipping methods: one that limits the maximum gradient value of each model parameter and the other one that scales the gradient value based on the p-norm of a (sub-)set of model parameters.
PyTorch Lightning implements the second option which can be used with Trainer's gradient_clip_val parameter as you mentioned.
This clipping algorithm is useful when the norm of gradients is large, but not when a small set of model parameters have abnormal gradient values since the norm will still be reasonably small considering the number of all model parameters.
I think that @dhkim0225 wants an alternative gradient clipping method that uses torch.nn.utils.clip_grad_value_() instead of torch.nn.utils.clip_grad_norm_() for such a scenario.
By the way, I don't think that this functionality is something that can break BC.
What about to add gradient_clip_algorithm parameter to Trainer, which is by default 'norm' but can be set to 'value'?

Hi @tchaton,
There are two popular gradient clipping methods: one that limits the maximum gradient value of each model parameter and the other one that scales the gradient value based on the p-norm of a (sub-)set of model parameters.
PyTorch Lightning implements the second option which can be used with Trainer's gradient_clip_val parameter as you mentioned.
This clipping algorithm is useful when the norm of gradients is large, but not when a small set of model parameters have abnormal gradient values since the norm will still be reasonably small considering the number of all model parameters.
I think that @dhkim0225 wants an alternative gradient clipping method that uses torch.nn.utils.clip_grad_value_() instead of torch.nn.utils.clip_grad_norm_() for such a scenario.
By the way, I don't think that this functionality is something that can break BC.
What about to add gradient_clip_algorithm parameter to Trainer, which is by default 'norm' but can be set to 'value'?


Use pyproject.toml instead of setup.py

Enables pip install git+https://github.com/PietroPasotti/jhack
Note that MANIFEST.in and [tool.setuptools.package-dir] in pyproject.toml are used since jhack uses a non-standard repository layout for a Python package

Nice! It was on the todo-list :) Thanks for the good work. Will try it out shortly


Style guide/user research

https://www.figma.com/file/Ejq2QLCf1dHh2jNlgXKiaC/Project-Team-8-Design?node-id=521%3A3

I designed the style guide, conducted user research that was used for the empathy map and user flow. I also design the wireframe layout.

I also worked on the team's documentation file
AUTH_WIKI TEAM 8 DOCUMENTATION.docx

I also worked on the user research.
Wiki Auth Project 8 Research .pdf


Create some linters?

Considering this is basically a styleguide, we should make some linter configurations!  I've been wanting to make an ESLint configuration for myself for while, so this is a perfect opportunity.

:+1:


RFI: Baker versus Apache Camel

Could somebody make a comparison of Baker and Apache Camel? I’m wondering what added benefits Baker offers. Camel also has a DSL, supports REST services and implements a lot of integration patterns.

Hi,
I do not see that many commonalities between Baker and Apache Camel. They're tools to solve different problems I think.

Baker is designed to describe and execute process flows in a distributed/persistent/clustered environment, but Camel is a library to make "integration" between various types of systems easier.

Baker is an event-based process flow orchestration library, so you fire some events to Baker which may have also ingredients (data) in them, and all interactions with dependencies to those events or ingredients are executed automatically in order or in parallel. Camel just consumes data from endpoints, transforms data and sends to other endpoints.

A Baker recipe is compiled/validated against loops, unused events, or interactions which may never fire.  A visual recipe is also auto-generated from code so you can print and discuss your process flow with other non-tech stakeholders as well.

I know Camel is a huge library with many ready-to-use components, supports various endpoints, but the core of the library is for integration.
On the other hand, the core of Baker is a mathematical model of a process flow (PetriNet), persistence with event sourcing pattern, horizontal scalability with the help of clustering features of Akka library.
I hope this short comparison helps,
Bekir

Hi,
Thanks for your explanation. So Baker is a sort of workflow engine for short-lived STP processes.


Map visualizations

Hello,
Sorry for the newbie question. Is map visualization like the following supported?
If so, can you please add some example in the example notebooks?
https://vega.github.io/vega/examples/county-unemployment/

I don't think you can do that with vegas.
My understanding is that this library is wrapper/fascade around Vega-Lite rather than Vega itself. Vega-Lite only lets you do a small support of what vega does (but in an easier/more concise way).

Vega lite 2.x may support this (looking like after 2.0, possibly 2.1):
https://github.com/vega/vega-lite/milestone/30

Willium's request for geo spatial plots will be merged into vega-lite master soon
https://github.com/vega/vega-lite/pull/2734

any update on this, it seems the request vega/vega-lite#2734 has been merged and closed

Hello, any news on the map support in Vegas? Can we use the latest Vegas library to plot data on a map?


Added Syncfusion & HBase

Hey, added a section for HBase. Disclaimer: I wrote the book!

Cool! Could you please link directly to the book instead of linking to the portal?

Wouldn´t it be better to add the overview page over/from this "Succinctly"-Series in the ´Meta-Lists´ section?

There are two changes in this PR - @switchhax the Succinctly list is in the Meta section, and @vhf the direct book link is in a new HBase section. Thanks!


[Viewquery]Allow View Query Screen to move around

When the View Query Option is selected, the screen pops up in the middle of the web page and obscures the chart I'm working on. I'd like to be able to move it around so I can see the chart results and the query at the same time. It would be nice to also be able to resize the view query screen to minimize its' presence on the web page. There's a lot of blank space on the right side of the view query screen which further obscures the chart.

great idea! I can see how users can benefit from both of your suggestion. This may not be prioritized anytime soon from the development team, however, if you would like to contribute to the project, we are more than happy to help get it through. :) 🙏

Sorry, I'm not a coder, at least not in python, etc. I'm a data warehouse guy so I'm on the DBA/SQL side of the code. I could be useful as a QA tester however, since I've done that role in the past.
Thanks. Kevin
On Wednesday, August 11, 2021, 1:28:35 PM PDT, Junlin Chen<EMAIL_ADDRESS>wrote:

great idea! I can see how users can benefit from both of your suggestion. This may not be prioritized anytime soon from the development team, however, if you would like to contribute to the project, we are more than happy to help get it through. :) 🙏
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Great! we need QA help for Superset releases for sure. How much time would you be able to contribute? @kevin-struckhoff

This should be fairly simple using something like
https://github.com/DylanVann/ant-design-draggable-modal

Right now I could spare about 10-12 hours a week. Is that enough? I'm in California and I usually get started w/ my superset work around 10:30 am PDT/PT. Right now I'm converting my OpenOffice charts to superset.
Thanks. Kevin
On Wednesday, August 11, 2021, 2:06:02 PM PDT, Junlin Chen<EMAIL_ADDRESS>wrote:

Great! we need QA help for Superset releases for sure. How much time would you be able to contribute? @kevin-struckhoff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

That's exactly the behavior I'm looking for.
Thanks. Kevin
On Wednesday, August 11, 2021, 2:07:38 PM PDT, ʈᵃᵢ<EMAIL_ADDRESS>wrote:

This should be fairly simple using something like
https://github.com/DylanVann/ant-design-draggable-modal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Right now I could spare about 10-12 hours a week. Is that enough? I'm in California and I usually get started w/ my superset work around 10:30 am PDT/PT. Right now I'm converting my OpenOffice charts to superset.

Definitely enough! That will be great if you can contribute 10-12 hours per release! we just kick off the release vote in 1.3 but we lack QA help to push it through. Do you want to get on the release branch and start poking around? I can provide you with the basic test case :) 🙏🙏🙏🙏🙏🙏🙏🙏🙏
We will take care of the feature request :) Let's do it @geido 🙏, we should implement it ideally to all modal, if not possible, at least the view query in Dashboard :)

Ok how do I get on the release branch?
I did create a git clone on my test server and after a couple of hours getting the mysql_config file dependency error from make resolved and re-ran make again it seems to be working. I haven't tested anything yet.
Btw when I ran the command superset version it said 0.0.0dev.
Did I install it correctly? I'm not happy about the mysql_config file dependency issue. I had to install the community server V8 plus the mariadb-dev package which installed mysql_config finally. I found the missing file solution on stack overflow.com thankfully.
In any case let me know what I need to do to get started.
Sent from Yahoo Mail on Android
On Wed, Aug 11, 2021 at 6:31 PM, Junlin @.***> wrote:
Right now I could spare about 10-12 hours a week. Is that enough? I'm in California and I usually get started w/ my superset work around 10:30 am PDT/PT. Right now I'm converting my OpenOffice charts to superset.
Definitely enough! That will be great if you can contribute 10-12 hours per release! we just kick off the release vote in 1.3 but we lack QA help to push it through. Do you want to get on the release branch and start poking around? I can provide you with the basic test case :) 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏 🙏
We will take care of the feature request :) Let's do it @geido 🙏 , we should implement it ideally to all modal, if not possible, at least the view query in Dashboard :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@villebro can you direct @kevin-struckhoff to the right branch? @jinghua-qa can you provide the regression test case(the excel sheet)?
🙏

Thank you for helping! This is the spread sheet we used for testing, please feel free to let me know if you have any questions. https://docs.google.com/spreadsheets/d/1ghbmLdCkoaykAnoHPWpeXt-ow_PLitgTCOwtZeNSKBI/edit#gid=0

Hi, I'm building a new VM which will be running CentOS 8 for these tests. I'm reviewing the CONTRIBUTING.md file build the sofatware stack needed. Since this is my first time, any help would be appreciated. After the server is  built, I'll install any needed OS dependencies and upgrade python and pip. Also, it appears that I'll need to install postgres, mysq, mariadb and docker-compose at least. Did I miss anything?
After that, I should be ready to install the Superset app. Which is the right way? I'm not going to make any code changes, just testing, at least for the time being. I may get involved in documentation updates later.
Thanks. Kevin
On Monday, August 23, 2021, 09:25:37 AM PDT, Junlin Chen<EMAIL_ADDRESS>wrote:

@villebro can you direct @kevin-struckhoff to the right branch? @jinghua-qa can you provide the regression test case(the excel sheet)?
🙏
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hi Jinghua, I've downloaded the spreadsheet. As soon as my test server is built, I'll start testing. I should be done withe build tomorrow.
Thanks. Kevin
On Monday, August 23, 2021, 09:37:47 AM PDT, jinghua-qa<EMAIL_ADDRESS>wrote:

Thank you for helping! This is the spread sheet we used for testing, please feel free to let me know if you have any questions. https://docs.google.com/spreadsheets/d/1ghbmLdCkoaykAnoHPWpeXt-ow_PLitgTCOwtZeNSKBI/edit#gid=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Add 1.17, 1.16.2, 1.16.7, 1.15.10

This commit updates the buildpack to make 1.17, 1.16.7, 1.16.6, and 1.15.10 available, and updates 1.16.7 as the default for 1.16 and 1.15.10 for 1.15.
It also updates the base URL for the archives to be https://dl.google.com/go, as the old storage.googleapis.com host does not contain new versions of Go. This also aligns with the official Docker image source.
It also updates the S3 bucket storage location which was out of sync with the name in lastpass.
Ref: https://groups.google.com/g/golang-announce/c/uHACNfXAZqk,
https://blog.golang.org/go1.17

[ ] Upload assets to S3

Synced to S3:
All files verified, syncing to s3

upload: ./go1.16.6.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.16.6.linux-amd64.tar.gz
upload: ./go1.16.7.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.16.7.linux-amd64.tar.gz
upload: ./go1.17.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.17.linux-amd64.tar.gz

Three more synced to S3:
All files verified, syncing to s3

upload: ./go1.16.3.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.16.3.linux-amd64.tar.gz
upload: ./go1.16.4.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.16.4.linux-amd64.tar.gz
upload: ./go1.16.5.linux-amd64.tar.gz to s3://heroku-golang-prod/go1.16.5.linux-amd64.tar.gz


copy & paste components, maintaining properties

Rather than having to drag out multiple instances of a component, particularly user interface components, it would be great to be able to copy an existing component & paste it, and have it maintain state of properties.

Possible duplicate of #726?

Yes, it appears to be.
I’m not sue the other notes that the properties should be maintained, but perhaps that’s obvious
================
Josh Sheldon
Director of Programs – MIT App Inventor
MIT Center for Mobile Learning
32 Vassar St., Room 32-G528
http://whereis.mit.edu/?go=32
Cambridge, MA 02139
mobile phone:<PHONE_NUMBER>
http://appinventor.mit.edu - @MITAppInventorhttp://twitter.com/MITAppInventor
From: "Evan W. Patton"<EMAIL_ADDRESS>Reply-To: mit-cml/appinventor-sources<EMAIL_ADDRESS>Date: Monday, September 19, 2016 at 10:01 AM
To: mit-cml/appinventor-sources<EMAIL_ADDRESS>Cc: Josh Sheldon<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [mit-cml/appinventor-sources] copy & paste components, maintaining properties (#840)
Possible duplicate of #726https://github.com/mit-cml/appinventor-sources/issues/726?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mit-cml/appinventor-sources/issues/840#issuecomment-247899516, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABzWrDPAfhpcuMEDocFMRK56fsBYfL2yks5qre0KgaJpZM4JwofM.


Racy SIGSEGV when closing window under Wayland

I recently started playing around with Screen 13 and quite like the API and how flexible and powerful it is.
Anyway I noticed under Wayland when the window is closed I often get the following log message:
wl_display@1: error 0: invalid object 17

Sometimes (seems to be racy) the application will SIGSEGV when closing the window, e.g. when running multipass-example:
Thread 50 "multipass" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa773e640 (LWP 1489027)]
0x00007ffff7af4360 in wl_list_insert () from /nix/store/fs8vvfl6jgvzrjbgzbc7ysp1byw3n0w4-wayland-1.21.0/lib/libwayland-client.so
(gdb) bt full
#0  0x00007ffff7af4360 in wl_list_insert ()
   from /nix/store/fs8vvfl6jgvzrjbgzbc7ysp1byw3n0w4-wayland-1.21.0/lib/libwayland-client.so
No symbol table info available.
#1  0x00007ffff7af0f48 in wl_display_read_events ()
   from /nix/store/fs8vvfl6jgvzrjbgzbc7ysp1byw3n0w4-wayland-1.21.0/lib/libwayland-client.so
No symbol table info available.
#2  0x00007ffff7af1689 in wl_display_dispatch_queue ()
   from /nix/store/fs8vvfl6jgvzrjbgzbc7ysp1byw3n0w4-wayland-1.21.0/lib/libwayland-client.so
No symbol table info available.
#3  0x00007ffff7af195f in wl_display_roundtrip_queue ()
   from /nix/store/fs8vvfl6jgvzrjbgzbc7ysp1byw3n0w4-wayland-1.21.0/lib/libwayland-client.so
No symbol table info available.
#4  0x00007fffeba9054b in ?? () from /nix/store/pr7lp4lcsa6jskb7jc7hh0i9xrjlpq28-amdvlk-2022.Q2.2/lib/amdvlk64.so
No symbol table info available.
#5  0x00007fffeba96789 in ?? () from /nix/store/pr7lp4lcsa6jskb7jc7hh0i9xrjlpq28-amdvlk-2022.Q2.2/lib/amdvlk64.so
No symbol table info available.
#6  0x00007fffeb89e0ad in ?? () from /nix/store/pr7lp4lcsa6jskb7jc7hh0i9xrjlpq28-amdvlk-2022.Q2.2/lib/amdvlk64.so
No symbol table info available.
#7  0x00007ffff7c2de86 in start_thread ()
   from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
No symbol table info available.
#8  0x00007ffff7cb4ce0 in clone3 () from /nix/store/ayfr5l52xkqqjn3n4h9jfacgnchz1z7s-glibc-2.35-224/lib/libc.so.6
No symbol table info available.

A quick Google search revealed nothing, but I do not encounter these issues running bevy-, wgpu- or vulkano-examples, which effectively leverage winit and ash as well.
This is not a showstopper for me personally and can be circumvented by defining WINIT_UNIX_BACKEND=x11, but I felt the need to document this behaviour.

Interesting! I have not tested under wayland yet; and now that I do I am running into similar but different issues using Nvidia driver version 525 (proprietary version, not open). I'll be looking into this and #52 - I don't have an AMD iGPU but I do have an Intel iGPU and an AMD GPU that I can test with.
I will put a note on the README about what platforms are tested regularly.

As the stacktrace references amdvlk64.so my unfounded suspicion would be that resources are freed too early / in the wrong order.


fix(cli): add try/catch block to create config file

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests
[ ] Other

Why is it needed?

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have ran pnpm change and documented my changes
[ ] I have add necessary docs (if needed)
[ ] Added new tests to cover the fix / functionality

It's unix tradition that cli programs that error out send a positive integer value to stdout or stderr. If this script is very close to the user, it probably makes sense to send the error message to stdout. If the script is further away, or it runs in the background, stderr is usually the go to.
It appears that this is convention is already being used through this function:
function exitWithError(message: string) {
  log.error(message);
  cancel();
  process.exit(1);
}

Do you think it would make sense to throw an error that writes to stdout if the config file is not written? And if not, what exactly is the point of a try catch that only sends a console log? If the error is worth catching I would think it's worth throwing too.


Checkpointing / Serialization best practices

Are there best practices around checkpointing (and more generally, serializing) torchrec models?  I'm thinking in particular about an EmbeddingBagCollection that is sharded across multiple devices.

The public api for accessing internal state via state_dict method.  For sharded model case, you would need to call on all devices in the respective Process, and the state_dict for that Process would contain a ShardedTensor if a shard for a given parameter is on that device.
Example in tests on how to access internal state: https://github.com/pytorch/torchrec/blob/7e33aaf857b9a7cf72e13a15a50a93b46dcb0fe6/torchrec/distributed/tests/test_model_parallel.py#L570
To checkpoint, you want to serialize the output of the state_dict call, then deserialize, reload via load_state_dict call.   Effectively you need distributed checkpointing w/ ShardedTensor support, which is in active development tin PyTorch right now: https://github.com/pytorch/pytorch/pull/76123

3 approaches

if 'resharding' is not needed, simply using the default torch.load() torch.save() apis of each ranks DMP.state_dict()

using save_state_dict using the shardedTensor APIs linked above  by @dstaay-fb  if 'resharding' is needed

long term, pytorch is building a 'snapshot' API to handle both use cases in a easy -to-use API. This is bout 2 weeks away from being OSS and we will include an example which uses it at that time

I'm closing this for now


Game generates pawns using the Shard of Grignr Xenotype that aren't Named Grignr

May be worth swapping the xenotype / pawnkind labels bc people of Grignr's line that aren't directly a Grignr shouldn't really have the shard moniker


gutentags & openBSD

Hello,
I would like to use this plugin on openBSD; I 've installed universal-ctags, per your document.
I've updated the update_tags.sh script to the correct program:
CTAGS_EXE=uctags
but when opening a c file, I always see:
gutentags: gutentags: ctags job failed, returned: 1
Running the script, I get only this in the file:
$ cat tags
!_TAG_FILE_FORMAT       2       /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED       1       /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_OUTPUT_MODE       u-ctags /u-ctags or e-ctags/
!_TAG_PROGRAM_AUTHOR    Universal Ctags Team    //
!_TAG_PROGRAM_NAME      Universal Ctags /Derived from Exuberant Ctags/
!_TAG_PROGRAM_URL       https://ctags.io/       /official site/
!_TAG_PROGRAM_VERSION   0.0.0   //

What more can I do to troubleshoot this and have gutentags work with openBSD?
openBSD -current
VIM - Vi IMproved 8.1 (2018 May 17, compiled Jul 21 2018 10:15:01)
Included patches: 1-26
Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl               -dnd               +listcmds          +postscript        +timers
+arabic            -ebcdic            +localmap          +printer           +title
+autocmd           +emacs_tags        -lua               +profile           -toolbar
-autoservername    +eval              +menu              -python            +user_commands
-balloon_eval      +ex_extra          +mksession         +python3           +vertsplit
+balloon_eval_term +extra_search      +modify_fname      +quickfix          +virtualedit
-browse            +farsi             +mouse             +reltime           +visual
++builtin_terms    +file_in_path      -mouseshape        +rightleft         +visualextra
+byte_offset       +find_in_path      +mouse_dec         -ruby              +viminfo
+channel           +float             -mouse_gpm         +scrollbind        +vreplace
+cindent           +folding           -mouse_jsbterm     +signs             +wildignore
-clientserver      -footer            +mouse_netterm     +smartindent       +wildmenu
-clipboard         +fork()            +mouse_sgr         +startuptime       +windows
+cmdline_compl     +gettext           -mouse_sysmouse    +statusline        +writebackup
+cmdline_hist      -hangul_input      +mouse_urxvt       -sun_workshop      -X11
+cmdline_info      +iconv             +mouse_xterm       +syntax            -xfontset
+comments          +insert_expand     +multi_byte        +tag_binary        -xim
+conceal           +job               +multi_lang        +tag_old_static    -xpm
+cryptv            +jumplist          -mzscheme          -tag_any_white     -xsmp
+cscope            +keymap            +netbeans_intg     -tcl               -xterm_clipboard
+cursorbind        +lambda            +num64             +termguicolors     -xterm_save
+cursorshape       +langmap           +packages          +terminal
+dialog_con        +libcall           +path_extra        +terminfo
+diff              +linebreak         -perl              +termresponse
+digraphs          +lispindent        +persistent_undo   +textobjects

I think I've figured this out.
my .vimrc file:
" tell gutentags to use uctags
let g:gutentags_ctags_executable="/usr/local/bin/uctags"
let g:gutentags_cache_dir="~/.vim/gutentags"
let g:airline#extensions#gutentags#enabled = 1

sorry for possibly commenting in the wrong place but is gutentags actually compatible with universal-ctags (this one: .https://github.com/universal-ctags)? gutentags is generating a command and trying to add wildignore using the flag -x but in universal-ctags -x is used to print the tags in a tabular fashion while --exclude is used for excluding files/dirs
just in case, my ctags:
$ brew info universal-ctags
universal-ctags/universal-ctags/universal-ctags: HEAD
Maintained ctags implementation
https://github.com/universal-ctags/ctags
Conflicts with:
  ctags (because this formula installs the same executable as the ctags formula)
/usr/local/Cellar/universal-ctags/HEAD-00be957 (325 files, 4.3MB) *
  Built from source on 2018-07-08 at 17:27:10
From: https://github.com/universal-ctags/homebrew-universal-ctags/blob/master/universal-ctags.rb