echotest i see my local stream (video) but nothing related to remotestream

Hi,  I changed code in echotest .
from:
private final String JANUS_URI = "ws://****:8188";
to:
private final String JANUS_URI = "http://****:8088/janus";
on echotest i see my local stream (video, without sound) but nothing related to remotestream.
Could you help me solve this problem?
and   I've  added  ICE server in echotest.java but it doesnt help.
Janus server  show this line in log
[ERR] [transports/janus_http.c:janus_http_handler:1276] Invalid session (null)
Creating new session:<PHONE_NUMBER>045424
Creating new handle in session<PHONE_NUMBER>045424:<PHONE_NUMBER>792271
[5983132445792271] Creating ICE agent (ICE Full mode, controlled)
[WARN] [5983132445792271]  Hashing algorithm not the one we expected (sha-1 instead of sha-256), but that's ok
[WARN] [5983132445792271]  Hashing algorithm not the one we expected (sha-1 instead of sha-256), but that's ok
[WARN] [5983132445792271] Still waiting for the DTLS stack for component 1 in stream 1...
[ERR] [ice.c:janus_ice_cb_component_state_changed:1552] [5983132445792271] ICE failed for component 1 in stream 1...
No WebRTC media anymore
and ,i use the same way  to change VideoRoomTest.java.    ws  -.>  http  .   on VideoRoomTest i  do not see my local stream and  remotestream.
Thanks.

Hi
I also have same problem, my configuration like this
VideoRendererGui.setView(vsv, new MyInit());
// VideoRendererGui.createGuiRenderer()
localRender = VideoRendererGui.create(0, 72, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, false);
remoteRenders=new VideoRenderer.Callbacks[6];
int x=0;
int y=0;
remoteRenders[0] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
x+=26;
remoteRenders[1] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
x+=26;
remoteRenders[2] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
x=0;
y+=26;
remoteRenders[3] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
x+=26;
remoteRenders[4] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
x+=26;
remoteRenders[5] = VideoRendererGui.create(x,y, 25, 25, VideoRendererGui.ScalingType.SCALE_ASPECT_FILL, true);
I see only my camera, another participant not appear... anyone can help what wrong... i dont' get any messsage error

@azzahrah I am confused? You are referencing the video room plugin but commented on an echo test issue? If you are having a bug with more than one other remote stream, please open another issue and supply your potential fix for this one in its own comment.

Helo
Iam sorry mistake commant... i have solve my problem...


dv.sectionLink works only when executed in the main thread

What happened?
Assuming that the AAA note exists and has the Department header, I am trying to embed it.
The following code will render a string 'AAA > Department' rather than the embed. The same happens when I try to use promises, async/await OR setTimeout in the code.
If async / promise / setTimeout is removed the sectionLink is rendered correctly.
DQL
No response
JS
const val = async () => "AAA";
dv.paragraph(dv.sectionLink(val, "Department", true));

Dataview Version
0.5.61
Obsidian Version
1.4.14
OS
MacOS

setTimeout(() => { 	dv.paragraph(dv.sectionLink("AAA", "Department", true)); })

The same happens when I try to:
setTimeout(() => {
	dv.paragraph("![[AAA#Department]]");
})

But when I remove the setTimeout the embed is correctly rendered.

On the contrary links work just fine regardless of the method used:
setTimeout(() => {
	dv.paragraph("[[AAA#Department|Test]]");
})

I am only having problem with embeed '!'

The DataviewJS rendering was not really designed with async timeouts in mind; when the view re-renders it clears the view and will break any setTimeout calls, so this only works if the view does not update and the dv object is still valid.

What was your original use case for using timeouts here?

What was your original use case for using timeouts here?

Originally I tried to read the file content using dv (which has no sync equivalent). It seems impossible to render ![[]] when I do so. Anything other than that renders correctly.

This seems to also affect dv.view

This Works

Embedded page content is rendered.

./Example.md
---
SomeLink: "[[Path/To/SomeLink]]"
---

```dataviewjs
dv.paragraph(dv.sectionLink(dv.current().SomeLink.path, "Header", true))
```

This Doesn't

Path is rendered instead of embedded page content.

./Example.md
---
SomeLink: "[[Path/To/SomeLink]]"
---

```dataviewjs
await dv.view("./SomeView")
```

./SomeView/view.js
dv.paragraph(dv.sectionLink(dv.current().SomeLink.path, "Header", true))

@blacksmithgu

What was your original use case for using timeouts here?

Dunno about OP's use case, but I just ran into another use case where this occurs in addition to my previous post.
It also happens while trying to use embeds in conjunction with Metadata Menu's fieldModifier function, which creates editable cells in tables (*demo here.

```dataviewjs

  const {fieldModifier} = this.app.plugins.plugins["metadata-menu"].api

  const pages = dv.pages(`"Data/Planner/Habits"`)

  const columns = [
    "Habit",
    "Some Editable Prop",
    "Some Section To Render",
  ]

  const data =
    await Promise.all(
      pages.map(async (page) => [
        page.file.link,
        await fieldModifier(dv, page, "Some Editable Prop"),
        dv.paragraph(dv.sectionLink(page.file.path, "Some Section", true)),
      ])
    )

  dv.table(columns, data)

```

@blacksmithgu

What was your original use case for using timeouts here?

Dunno about OP's use case, but I just ran into another use case where this occurs in addition to my previous post.
It also happens while trying to use embeds in conjunction with Metadata Menu's fieldModifier function, which creates editable cells in tables (demo here).

```dataviewjs

  const {fieldModifier} = this.app.plugins.plugins["metadata-menu"].api

  const pages = dv.pages(`"Some/Folder/Path"`)

  const columns = [
    "File",
    "Some Editable Prop",
    "Some Section To Render",
  ]

  const data =
    await Promise.all(
      pages.map(async (page) => [
        page.file.link,
        await fieldModifier(dv, page, "Some Editable Prop"),
        dv.paragraph(dv.sectionLink(page.file.path, "Some Section", true)),
      ])
    )

  dv.table(columns, data)

```


[ssr] Replace window proxy in global DOM shim

Addresses part of the problem surfaced by #2393.
The proxy was causing unexpected behavior when attempting to assign to window.global after the shim is installed. Making globalThis.window a reference to globalThis should achieve the same thing the proxy was meant to handle.

Nice!

@kevinpschaaf what was the original reason for the Proxy? I kind of remember something about it vs globalThis.window = window...


MMS - Forced Alignment: 'torchaudio.functional' does not have the function 'forced_align'

🐛 Bug
I was trying to run the forced aligner with this command: python align_and_segment.py --audio_filepath 27_20_Apocalypse.wav --text_filepath B27_20_Apocalypse.txt --lang ful --outdir output --uroman uroman/bin.
But the function force_align (i also tried forced_align) does not exist in torchaudio.functional. Maybe the pull request for this function was not merged by torchaudio. Any solution ? Thanks for the help.

Hi @yaya-sy, can you share the environment you use for running the alignment script? You can get the info via this command
wget https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

@nateanl the output:

--2023-05-23 21:16:52--  https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21676 (21K) [text/plain]
Saving to: ‘collect_env.py’

collect_env.py      100%[===================>]  21.17K  --.-KB/s    in 0s

2023-05-23 21:16:52 (142 MB/s) - ‘collect_env.py’ saved [21676/21676]

Collecting environment information...
PyTorch version: 2.0.1+cu118
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: 10.0.0-4ubuntu1
CMake version: version 3.25.2
Libc version: glibc-2.31

Python version: 3.10.11 (main, Apr  5 2023, 14:15:10) [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.107+-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 11.8.89
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A100-SXM4-40GB
Nvidia driver version: 525.85.12
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.7.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          12
On-line CPU(s) list:             0-11
Thread(s) per core:              2
Core(s) per socket:              6
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           85
Model name:                      Intel(R) Xeon(R) CPU @ 2.20GHz
Stepping:                        7
CPU MHz:                         2200.160
BogoMIPS:                        4400.32
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       192 KiB
L1i cache:                       192 KiB
L2 cache:                        6 MiB
L3 cache:                        38.5 MiB
NUMA node0 CPU(s):               0-11
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Vulnerable; SMT Host state unknown
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Vulnerable
Vulnerability Retbleed:          Vulnerable
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers
Vulnerability Spectre v2:        Vulnerable, IBPB: disabled, STIBP: disabled, PBRSB-eIBRS: Vulnerable
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Vulnerable
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat avx512_vnni md_clear arch_capabilities

Versions of relevant libraries:
[pip3] numpy==1.22.4
[pip3] torch==2.0.1+cu118
[pip3] torchaudio==2.0.2+cu118
[pip3] torchdata==0.6.1
[pip3] torchsummary==1.5.1
[pip3] torchtext==0.15.2
[pip3] torchvision==0.15.2+cu118
[pip3] triton==2.0.0
[conda] Could not collect

I see. Thanks. forced_align function is only supported in the nightly version of torchaudio so far, you can try uninstall the stable version and install the nightly by pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118

Thank you very much, I needed to uninstall this version of torch before installing the nightly version. Everything works fine now. Thanks for the help.

using this leads to the problem of torchaudio.load not working . is there any other solution ?


Formatting of this page needs sorting out

As of right now the sample is incomplete and the text on the page doesn't really match up with the code sample being shown, just needs a bit of reformatting

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

ID: 7cf376a4-4551-ef9d-f7dc-da6e8850398c
Version Independent ID: e5023416-823e-62bc-2c32-d6e829eead18
Content: Manage Azure Cosmos DB SQL API resources using .Net V4 SDK
Content Source: articles/cosmos-db/create-sql-api-dotnet-v4.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @ealsur
Microsoft Alias: maquaran

@griff1000 Could you specify what is incomplete and what parts require reformatting and what would that imply?

@griff1000 Thank you for pointing out, we noticed the code referencing didn't populate the code blocks correctly. It was working fine, but something changed in the backend which messed up the format. I fixed in this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/106419
Changes should be live tomorrow.

The fixes are live, we will now close this issue.
#please-close


How about solutions of renowned problems of interview round??

For example:
Stock buy and sell problem
Kadane's Algorithm
String rotation
Look and say
and many more....

How about Leet Code's ?

How about geeksforgeeks and leetcode🔥❓

@hr1shu @Devansh252 No Leetcode or gfg for now. @hr1shu Sure, that'll be great. Please create a new folder in root directory Important Algorithms and then the problem name folder such as Stock Buy and Sell Problem and write your solution as solution.py inside that.

@hr1shu @Devansh252 No Leetcode or gfg for now. @hr1shu Sure, that'll be great. Please create a new folder in root directory Important Algorithms and then the problem name folder such as Stock Buy and Sell Problem and write your solution as solution.py inside that.

On it buddy


test: Add NodeClaim e2e tests

Description

These tests were derived from similar tests created for the AWS Karpenter provider.
Two tests relied on checking underlying instance state (via VMClient). These will be circled back to in the future once we add support for calling Azure APIs directly via the test environment.

How was this change tested?

make test
make az-e2etests

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[X] No

I'm seeing one case fail due to garbage collection. Investigating now...
 {"level":"INFO","time":"2023-11-07T22:36:50.001Z","logger":"controller.nodeclaim.lifecycle","message":"launched nodeclaim","commit":"58975a5-dirty","nodeclaim":"soarerboom-19-lrvave4f6g","nodepool":"","provider-id":"azure:///subscriptions/***/resourceGroups/mc_karpenter-e2e-nodeclaim-rg-46813590_nodeclaim-mc-46813590_westus2/providers/Microsoft.Compute/virtualMachines/aks-soarerboom-19-lrvave4f6g","instance-type":"Standard_D2pls_v5","zone":"","capacity-type":"on-demand","allocatable":{"cpu":"1900m","ephemeral-storage":"128G","memory":"2014Mi","pods":"110"}}
        {"level":"DEBUG","time":"2023-11-07T22:37:03.399Z","logger":"controller.nodeclaim.garbagecollection","message":"garbage collecting nodeclaim with no cloudprovider representation","commit":"58975a5-dirty","nodeclaim":"soarerboom-19-lrvave4f6g","provider-id":"azure:///subscriptions/***/resourceGroups/mc_karpenter-e2e-nodeclaim-rg-46813590_nodeclaim-mc-46813590_westus2/providers/Microsoft.Compute/virtualMachines/aks-soarerboom-19-lrvave4f6g","nodepool":""}


Moving stuff around

Piazza post from Ross said no to having a "paper_draft_1" repo, so I've deleted it. Also separated the two versions of our progress report into "progress.md" and "final.md".
Also tagged the commit for our previous paper draft (not viewable in the pull request).

Looks good.

Yeah, gonna merge now because this did not require much critical thinking or any coding, and leaving the pull request open for too long will probably lead to merge conflicts.


Debuger pannel fail on show export objects

At this pic when debuger show export variable override_mat_image the table jump to next variable!

Can you still reproduce this issue in the current master branch? If so, could you provide an example project that triggers it?

@marcosbitetti can you still reproduce this issue master branch or even in Godot 2.0 ? can you provide us with a project that trigger this issue?

The code is lost. But when I post it are a ordinary matrix.
But in next releases I not notice it.

@marcosbitetti then we close this issue for now, @akien-mga can you please close this issue?

Assumming it has been fixed then, if somebody spots the issue again, he might open a new one.


Cannot delete service that is linked to another service

I deployed an app while testing straight from the kontena/examples repo: redis-sentinel
I did add an additional very simple service just to play with the etcdctl tool:
  etcdtest:
    build: .
    image: registry.kontena.local/etcdctl:latest

I then tried to stop and remove the app:
~/kontena-test # kontena app stop
stopping redis-sentinel-node
stopping redis-sentinel-monitor
stopping redis-sentinel-lb
stopping redis-sentinel-etcdtest
~/kontena-test # kontena app rm
Destructive command. Are you sure? (y/n) or re-run this command with --force option.
> y
deleting node ... fail
/usr/local/rvm/gems/ruby-2.1.1/gems/kontena-cli-0.15.5/lib/kontena/client.rb:209:in `handle_error_response': {"service":"Cannot delete service that is linked to another service (redis-sentinel-monitor)"} (Exception)
        from /usr/local/rvm/gems/ruby-2.1.1/gems/kontena-cli-0.15.5/lib/kontena/client.rb:130:in `delete'
        from /usr/local/rvm/gems/ruby-2.1.1/gems/kontena-cli-0.15.5/lib/kontena/cli/services/services_helper.rb:251:in `delete_service'
        from /usr/local/rvm/gems/ruby-2.1.1/gems/kontena-cli-0.15.5/lib/kontena/cli/apps/remove_command.rb:48:in `block in delete'
        from /usr/local/rvm/gems/ruby-2.1.1/gems/shell-spinner-1.0.4/lib/shell-spinner.rb:48:in `block in with_spinner'

Looks like it might be because one of the containers (the one I added) did not deploy and the stop command didn't stop it:
~/kontena-test # kontena service ls
NAME                                                         INSTANCES  STATEFUL STATE      EXPOSED PORTS
⊝ redis-sentinel-etcdtest                                    0 / 1      no       deploying
⊝ redis-sentinel-monitor                                     0 / 5      yes      stopped
⊝ redis-sentinel-node                                        0 / 5      yes      stopped
⊝ redis-sentinel-lb                                          0 / 2      no       stopped
⊝ registry                                                   1 / 1      yes      running

The Dockerfile for the "etcdtest" image is this:
FROM alpine:3.2

# Install etcdctl
RUN apk add --update-cache curl tar \
    && curl -sSL https://github.com/coreos/etcd/releases/download/v2.2.1/etcd-v2.2.1-linux-amd64.tar.gz \
    | tar -vxz -C /usr/local/bin --strip=1 etcd-v2.2.1-linux-amd64/etcdctl \
    && chown root:root /usr/local/bin/etcdctl \
    && apk del --purge curl tar \
    && rm -rf /var/cache/apk/*

CMD ["/usr/local/bin/boot"]

I honestly don't even know what /usr/local/bin/boot does, I just wanted to run a container with etcdctl installed so I could run etcdctl and inspect keys in Kontena's etcd server.

Most likely this is a bug in the kontena cli (it does not resolve service dependencies correctly). Fix is coming: https://github.com/kontena/kontena/pull/1160

Sorting should be fixed now via stacks functionality.


[release-v1.88] Automated cherry pick of #9357: Improve API discovery for generating read-only ClusterRole for shoots/viewerkubeconfig subresource

/kind bug
/area usability
Cherry pick of #9357 on release-v1.88.
#9357: Improve API discovery for generating read-only ClusterRole for shoots/viewerkubeconfig subresource
Release Notes:
An issue has been fixed which caused `Shoot` reconciliation to get stuck because the API discovery used to generate the read-only `ClusterRole` for `shoots/viewerkubeconfig` subresource failed.

/lgtm
/approve

/test pull-gardener-e2e-kind-ha-multi-zone-upgrade-release-v1-88


fixed css in mobile view #1245

Pull Request
#1245  solved
Description
fixed CSS in mobile view
https://github.com/jfmartinz/ResourceHub/assets/14298#1245 0d37553d-b0d6-4891-bd72-5eebbe31b021
Closes #1245
Type of change

[ ] Adding a new Resource
[ ] Adding a new Category
[X] Documentation enhancement or fixes
[ ] Website enhancement or fixes

Checklist:

[X] I read carefully CONTRIBUTING.md
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation

Screenshots (if appropriate):
Please add screenshots to help explain your changes.
Additional

please merge it with gssoc label @jfmartinz

Please resolve the conflict and also give me  mp4

Please resolve the conflict and also give me mp4

how can you assign a PR created by me to someone else @jfmartinz

Assign this PR to me @jfmartinz

Resolve the conflict.

Also provide the output, we dont have preview yet

@jfmartinz check it now done
https://github.com/jfmartinz/ResourceHub/assets/142989448/38fbcab5-2d42-45a0-9af1-fd2e8ebd259d

@jfmartinz please merge PR


[Draft]Add Multimodal RAG notebook

@openvino-dev-samples for me everything looks good, thanks.
Couple of comments: Possibly it is better to move on accuracy aware quantization for VLM using optimum-cli, need to provide --weight-format int4 --dataset contextual options for that (fyi @nikita-savelyevv)
Is there any plans to integrate OV Visual Language models directly in llama-index?

Thanks for your review, the integration is already done in llama-index
https://docs.llamaindex.ai/en/stable/examples/multi_modal/openvino_multimodal/

Couple of comments: Possibly it is better to move on accuracy aware quantization for VLM using optimum-cli, need to provide --weight-format int4 --dataset contextual options for that (fyi @nikita-savelyevv)

I'll add that an algorithm itself needs to be specified, e.g. --weight-format int4 --dataset contextual --awq.
Also, the default number of samples of 128 might be too large, so it can be reduced with --num-samples 32.

Couple of comments: Possibly it is better to move on accuracy aware quantization for VLM using optimum-cli, need to provide --weight-format int4 --dataset contextual options for that (fyi @nikita-savelyevv)

I'll add that an algorithm itself needs to be specified, e.g. --weight-format int4 --dataset contextual --awq.
Also, the default number of samples of 128 might be too large, so it can be reduced with --num-samples 32.

Hi, as my test, the accuracy with this configuration is not satisfied:
optimum-cli export openvino --model {vlm_model_id}  {vlm_model_path} --trust-remote-code --weight-format int4 --dataset contextual --awq --num-samples 32

Couple of comments: Possibly it is better to move on accuracy aware quantization for VLM using optimum-cli, need to provide --weight-format int4 --dataset contextual options for that (fyi @nikita-savelyevv)

I'll add that an algorithm itself needs to be specified, e.g. --weight-format int4 --dataset contextual --awq.
Also, the default number of samples of 128 might be too large, so it can be reduced with --num-samples 32.

Hi, as my test, the accuracy with this configuration is not satisfied: optimum-cli export openvino --model {vlm_model_id} {vlm_model_path} --trust-remote-code --weight-format int4 --dataset contextual --awq --num-samples 32

Thanks for the information! Have you compared it against the configuration below?
compression_config = {
    "mode": nncf.CompressWeightsMode.INT4_SYM,
    "group_size": 64,
    "ratio": 0.6,
}

hi @eaidova looks the CI is out of resource to validate this notebook, any suggestions ? thanks

@openvino-dev-samples I can suggest to try internvl2-1b-instruct for ci testing, it is small enough to fit into precommit

--trust-remote-code --weight-format int4 --dataset contextual --awq --num-samples 32

Sorry, I made a mistake before. The result looks good with this accuracy aware config now

--trust-remote-code --weight-format int4 --dataset contextual --awq --num-samples 32

Sorry, I made a mistake before. The result looks good with this accuracy aware config now

However I find it impossible to run this quantization method in a client PC with 32GB RAM

--trust-remote-code --weight-format int4 --dataset contextual --awq --num-samples 32

Sorry, I made a mistake before. The result looks good with this accuracy aware config now

However I find it impossible to run this quantization method in a client PC with 32GB RAM

Could you please verify that NNCF 2.14 is installed? It was released recently and it contains significant improvements in terms of peak RAM during data-aware compression.


storage_create needs either type or conf

in both fluent 1.3.3 and 1.4.0 the function storage_create sets both type and conf to be nil by default, and expects ONE of them at least to be set or it will throw an ArgumentError, "BUG: both type and conf are not specified"
/lib/fluent/plugin_helper/storage.rb line 32: def storage_create(usage: '', type: nil, conf: nil, default_type: nil)

This doesn't look right ... we should be getting these from the config ...

Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.

I ran into the same issue. It was very hard to figure out what was going on... then I decided to write down like the following:
  <storage>
    @type local
    persistent true
    path /var/log/td-agent/systemd.pos
  </storage>

Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.

Er, hello?
This Pull Request is too damn old! Merge or close this, sucka.


WIP: Basic implementation of commonmark’s AST & Environment code

@colinodell this is more or less what I was thinking. It would be nice if there were a common namespace that both projects could inherit from, that way other libraries could pass along their own Node objects. As it stands now, I think this may be the direction I want to go in, cause it would allow us to create a TwemojiExtension that adds a custom renderer for all \UnicornFail\Emoji\Node\Inline\Unicode objects.

@colinodell any further thoughts on this?

@colinodell any further thoughts on this?

My apologies!  I still owe you a review and feedback on everything else here - I'll try to get that done this weekend. I appreciate the ping!

I'll give you some initial, high-level feedback now :)
At this point, I don't have a strong desire to split parts of league/commonmark into separate packages.  The only parts I'd be somewhat inclined to split out would be the configuration and event systems, as they are very general-purpose.  I don't envision splitting the AST or environment-specific code out as most of that is tightly coupled to the league/commonmark engine.
In terms of parsing input, I'm thinking about this mostly in the context of how it would fit integrate with league/commonmark.  In my mind there are two possible ways you might parse emoji:

Making a custom inline parser to handle things like :alias: shortcode input
Making a custom event observer to check for emoji characters or emoticons inside of parsed Text elements

In the first case, your parser tells the engine to stop at any : - you then try to parse the next few characters as an alias.  In the second case, you're looking for any Unicode characters that are valid emoji or emoticons that match a specific sequence of characters.
I believe the following hold true for both cases:

You don't need to worry about splitting things into lines - if there's a \n character somewhere it simply fails to match either :alias: or an emoji character. Therefore, \n behaves just like any other character and doesn't need special treatment.
If you find an :alias:, emoji, or emoticon you'll be splitting that out into an Emoji node of some kind.  Everything else will be left as Text.  Therefore you don't need a nested AST implementation, just the ability to split strings into Emoji or Text and put those into some kind of flat, linear list.

For those reasons, I don't think your input parsing approach or AST has to align with league/commonmark.  You can still use some kind of AST and/or node types internally, though.  Emoji nodes in a league/commonmark extension could still directly embed objects from this library in the nodes' properties if desired.
I have not reviewed the environment stuff here, and I'm sure I missed a few points you mentioned above, so I'll circle back to those (and any other thoughts you have) later this week.

A lot of this work was based on the previous conversations we had about extracting non-commonmark specific code. Things, like environment and config, are certainly not commonmark specific.
In any case, if there's no interest in sharing code then I can certainly simplify it to be less abstract here. My goal was only to stop having to constantly create many of these common requirements. In hindsight and given the amount of time that has passed, it probably makes more sense to (at least now) to not try and change everything.
Re: parsing/line splitting, the primary goal of this particular project is to be a standalone implementation for parsing and converting emojis, emoticons and shortcodes. This has nothing really to do with commonmark and users may need/want to parse a multiline document on its own.
While we could parse things in commonmark at a character level, I believe it's just easier to register DocumentParsedEvent in commonmark and then walk over all the text elements found (as https://github.com/thephpleague/commonmark/pull/546 shows). Given the various types of emojis, emoticons and shortcodes that need to be supported, commonmark doesn't need to know how to parse these; just integrate with this implementation and let it do its own thing.

I've gone ahead and extracted the configuration stuff into its own repo/project and added you as an admin:
https://github.com/unicorn-fail/configuration
Once you deem that it's ready, it should be relatively easy to transfer into the league namespace.

I'm starting to pair down the environment stuff and went ahead and added a Twemoji extension so we can use a real use case scenario to help build it out to determine what is actually needed. Needless to say, this is still a WIP, so I'll ping you once its ready again so you don't accidentally waste your time reviewing.

All tests/coverage is 100% again locally. Need to figure out what's going on with GH actions. I think it may be due to a PHP version/serialization discrepancy (pretty sure the archives need to be serialized in PHP 7.2 as things changed in 7.4).
@colinodell I know this is a lot of code to review, so I'm thinking I'm going to go ahead and merge it and we can follow-up with smaller issues/PRs?


Change signature of schema to enable extraConfig when pulling

Addresses possible fix mentioned in #549
Due to not being able to setup the development environment (see #564). I was unable to run pnpm run tests.
This fix changes the signature of the schema function the vite plugin. This change allows users to define additional user config via the vite plugin. This is beneficial for the end-user as it adds an additional layer of security, through the use of environment variables that are loaded through .env files. Currently, must use system-wide environment variables in order to keep data private.
// vite.config.ts
import { sveltekit } from '@sveltejs/kit/vite';
import houdini from 'houdini/vite';
import { defineConfig, loadEnv } from 'vite';

const config = defineConfig(({ mode }) => {
	// loads env files e.g.
	const env = loadEnv(mode, process.cwd());
	return {
		plugins: [houdini({
			schemaPollHeaders: {
				'X-Header': env.API_KEY
			}
		}), sveltekit()]
	};
});

export default config;

The above example shows an example config which would allow environment variables to be loaded using vite's loadEnv function.
Please do delete this pull request if you find that my lack of testing is an issue. I would be happy to test this once #564 is resolved, however if anyone has a functional dev environment I would be very happy if they could test it as well.
Sorry and thank you in advance.

Thanks for adding this @sjcobb2022 - seems like a totally reasonable thing to do 👍  No need to worry about adding a new test for this, it's very harmless and as long as we didn't break anything we should be good to go

Thanks for adding this @sjcobb2022 - seems like a totally reasonable thing to do 👍  No need to worry about adding a new test for this, it's very harmless and as long as we didn't break anything we should be good to go

@AlecAivazis should I add a changeset? I can also run prettier.

Thank would be awesome! Thanks @sjcobb2022

Hi @AlecAivazis I accidentally merged main into my fork, however the new changeset is added and formatted with prettier. I can make another pull request later for the integration testing.

@AlecAivazis ok should be good now.


TypeError: unhashable type: 'numpy.ndarray'

Hello,
I was following through the RNN documentation while attempting to implement the PaLM model from this library. I have previously contributed to some of lucidrains PyTorch implementations before and was working on an example for the JAX version of PaLM. When using eqx.filter_jit on the train_step function I receive the error:
ValueError: Non-hashable static arguments are not supported. An error occured during a call to 'train_step' while trying to hash an object of type <class 'tuple'>... The error was: TypeError: unhashable type: 'numpy.ndarray'
Do you have any idea why this may occur?
I greatly appreciate your time and help.
Thank you,
Enrico
The enwik8 data was downloaded from the Hutter prize page: http://prize.hutter1.net/
Code:
from random import randrange
import tqdm
import gzip
import numpy as np

from torch.utils.data import DataLoader, Dataset

import jax
from jax import nn
from optax import adam, clip_by_global_norm, chain, apply_every

# https://github.com/lucidrains/PaLM-jax
from palm_jax import PaLM

import equinox as eqx

# constants

NUM_BATCHES = int(1e5)
BATCH_SIZE = 4
GRADIENT_ACCUMULATE_EVERY = 4
LEARNING_RATE = 2e-4
MAX_GRAD_NORM = 0.5
VALIDATE_EVERY  = 100
SAMPLE_EVERY  = 500
SEQ_LEN = 1024

# helpers

def cycle(loader):
    while True:
        for data in loader:
            yield data

def decode_token(token):
    return str(chr(max(32, token)))

def decode_tokens(tokens):
    return ''.join(list(map(decode_token, tokens)))

# prepare enwik8 data

with gzip.open('../datasets/enwik8.gz') as file:
    X = np.fromstring(file.read(int(95e6)), dtype=np.uint8)
    data_train, data_val = np.split(X, [int(90e6)])

class TextSamplerDataset(Dataset):
    def __init__(self, data, seq_len):
        super().__init__()
        self.data = data
        self.seq_len = seq_len

    def __getitem__(self, index):
        rand_start = randrange(0, self.data.shape[0] - self.seq_len - 1)
        return self.data[rand_start: rand_start + self.seq_len + 1]

    def __len__(self):
        return self.data.shape[0] // self.seq_len

train_dataset = TextSamplerDataset(data_train, SEQ_LEN)
train_loader  = cycle(DataLoader(train_dataset, batch_size = BATCH_SIZE))

# setup model and params

key = jax.random.PRNGKey(0)

model = PaLM(
    num_tokens = 256,
    dim = 512,
    depth=12,
    heads=8,
    dim_head=64,
    key = key
)

# cross entropy loss

def cross_entropy(logits, targets, axis = -1):
    logprobs = nn.log_softmax(logits, axis = axis)
    nll = np.take_along_axis(logprobs, np.expand_dims(targets, axis = axis), axis = axis)
    ce = -np.mean(nll)
    return ce

@eqx.filter_value_and_grad
def loss_fn(model, data):
    inp, labels = data[:, :-1], data[:, 1:]
    logits = jax.vmap(model)(inp)
    return cross_entropy(logits, labels, axis = -1)

# optimizer

optim = chain(
    clip_by_global_norm(MAX_GRAD_NORM),
    adam(LEARNING_RATE),
    apply_every(GRADIENT_ACCUMULATE_EVERY)
)

optim_state = optim.init(model)

# train step

@eqx.filter_jit
def train_step(model, data, optim_state):
    loss, grads = loss_fn(model, data)
    updates, optim_state = optim.update(grads, optim_state)
    model = eqx.apply_updates(model, updates)
    return model, optim_state, loss

# training

for i in tqdm.tqdm(range(NUM_BATCHES), mininterval=10., desc='training'):
    data = next(train_loader).numpy()
    model, optim_state, loss = train_step(model, data, optim_state)
    if i % GRADIENT_ACCUMULATE_EVERY == 0:
        print(f'loss: {loss.item()}')

Hey there. So JAX's JIT compiler works by separating arguments into those that are:

"traced". These are inputs into the compiled XLA computation graph, which is a DAG of operations between arrays. When you call your Python-level function, all traced arguments are replaced with special tracer objects that record the computations applied to them; the resulting recording is what is lowered to XLA and compiled.
"static". These are inputs to the Python function that are passed through unchanged. Typically their values will determine the structure of the computation graph that is built. (In whatever way you see fit.) It is a requirement that all static arguments be hashable and eq-able.

By default jax.jit requires that you manually specify which arguments are traced and which are static. (jax.jit(..., static_argnums=...). Equinox aims to be more ergonomic by determining this automatically, using the filtering rules provided. By default this corresponds to tracing all JAX arrays and static'ing everything else; in practice this is what is desired 99% of the time.
Now NumPy arrays aren't JAX arrays, so according to the above default they're static. But NumPy arrays aren't hashable.
You should either change the filter rule used with eqx.filter_jit so as to trace them, or wrap the array in a hashable wrapper to static them.
Equinox deliberately doesn't provide a default either way as both approaches are reasonable, so it's better to raise an error and let the user explicitly specify which behaviour is desired.

Hi @patrick-kidger ,
Thank you for taking the time to answer my question.
I re-reviewed the equinox documentation and changed the filtering rule in eqx.filter_jit to include data: @eqx.filter_jit(kwargs=dict(data=True)). This seems to have resolved the value error above and loss decreases normally. I will have to do a further review of the JAX documentation to ensure everything is running optimally.
I am working on a full pre-training example integrated with HuggingFace, tfds, etc., and will link it after if it proves to be beneficial for showing a use-case with the equinox library.
I appreciate the information and help.
Thank you,
Enrico


Get the project ready to work with the new React devtools

child of https://github.com/frontity/saturn-theme/issues/93

:tada: This issue has been resolved in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 0.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


hyperion for cubox-i with arduino ws2801 setup

Hi everybody.
I am using a cubox-i4 with geexbox xbmc.
I build an ambilight using an arduino UNO connected to a ws2801 led strip.
As neither boblight nor hyperion is available for cubox yet i would like to ask wether it would be possible to convert hyperion to geexbox, xbian or Open elec on cubox-i.
At the Moment i think geexbox is the Most potent candidate, as it already runs really smoothly.
What would i Need to do to compile hyperion to geexbox.
As i am pretty much a beginner in Programming.
Some advises would be much apreaciated.
Ps: I wrote allready in sephil's post from two months ago but thougth it might Got overlooked :-)
If you mind just get rid of this post ;-)
Thanks
Cheers mat

Happy new Year. I would also love to see a version for openelec or geexbox.

I'm working on it. Would be nice if you could help testing. I got it currently running on OpenELEC 5.0.
Here how to test:

install hyperion RPi build using script as described in Wiki/Installation
replace hyperiond in /storage/hyperion/bin with that version: https://github.com/Gamadril/hyperion/raw/master/test/hyperiond

Hey @gamadriel
Nice to hear!
I would Try it out :-)
I just saw in my email, that you already uploaded hyperiond but seemed to deleted it again.
Looking forward to hyperion on my cubox!
Thanks for your effort!
Cheers mat

The framebuffer grabber was merged int the main source tree, so try to compile it (see https://github.com/tvdzwan/hyperion/blob/master/CompileHowto.txt for flags) and test.

Hey gamadriel thanks for the answer. I saw yesterday the new framegrabber as well.
I was just wondering how to integrate hyperion into openelec. Do I need to compile it on xbian first? Or simply following the install script for openelec raspberry? Thanks for your help!

I did it that way: used installation script for openelec and then replaced hyperiond by one compiled on xbian. But that is not very comfortable. The better way would be to deploy a imx6 version parallel to the RPI build and update the installation script to detect the system and download the right binaries...

Ok thanks! I will try my luck then as well!
Is it possible, that you can upload your cubox hyperiond somewhere?
Then I would not have to get xbian up.
Or am I getting something wrong?
I think you had that in the beginning when I remember your original post from jan 15th

Follow the installation guide for openelec but take my fork of the repo:
    curl -L --output install_hyperion.sh --get https://raw.githubusercontent.com/Gamadril/hyperion/master/bin/install_hyperion.sh
    sh ./install_hyperion.sh

If it works I'll send a pull request

First i Tried compiling by myself in xbian. Seemed too work. Did not get any failures.
Then installed with the Script from Wiki and copied hyperiond from xbian usr/bin to openelec hyperion and overwrote the old one and changed the config to my settings.
After reboot i got the Message failed to Start setup user config dir and kodi did not boot up.
After trying your fork of the repo i get the Same Message but kodi does at least boot up.
After reboot my ssh Connection fails though and I cannot connect anymore
Do You have an idea what I'm doing wrong?

I'm not sure if the new script works on xbian properly. I tested it only on openelec. The only issue with XBian I had that hyperiond was not started as process. I guess because xbian uses sysctl

I think You got me wrong. I did not use the script for xbian. I compiled on xbian and copied Hyperiond to openelec where I used the script before to install Hyperion... after that reboot open elec failed.
Was I right to use your fork of the repo without copying  precompiled. Xbian hyperiond over
Don't know whether this sounds clear enouth?!? :-)

What I meant is that on my fork I commited the compiled version for cubox and updated the install_hyperion.sh to detect cubox and download the right binaries from my fork. So what you should try is to get install_hyperion.sh from my repo directly on OpenELEC and execute it like described in the wiki.. :-)

That's what I tried yesterday just installing with
curl -L --output install_hyperion.sh --get https://raw.githubusercontent.com/Gamadril/hyperion/master/bin/install_hyperion.sh
sh ./install_hyperion.sh
As you wrote.
Installation went through.
After that I configured the config file overwriting the old one and restarted
But after that on boot I got the error "failed to Start setup user config dir"
Kodi boots but after that my ssh connection is dead and I cannot connect to the Kodi setup program.

Strange, worked for my out of the box. I'll try it out on a clean OpeneELEC installation. Is it possible that the .config folder was unintentionally deleted or overwritten?

Did following:

installed OpenELEC on a new sd card
enabled SSH after bootup
login:

ssh openelec -l root

got install script:

curl -L --output install_hyperion.sh --get https://raw.githubusercontent.com/Gamadril/hyperion/master/bin/install_hyperion.sh

run install script:

sh ./install_hyperion.sh

copied config file to device:

scp hyperion.config.json root@openelec:/storage/.config/hyperion.config.json

if not already done, fix the effects path:

sed -i -e 's|/opt/hyperion/effects|/storage/hyperion/effects|g' /storage/.config/hyperion.config.json

reboot device

Thank you very much again for your detailed explanation!
This is exactly what I tried yesterday! and again today to make sure I did not make any mistakes...
Still I get the same error...
Is it possible that my config file is wrong. I am not sure if this could already curt booting.
Second idea. What cubox did you compile on? I have a cubox-i4
Just in case here my config file. Sorry for just copying it in here.
Did not know how to make a drop down menu for it :-/
// Automatically generated configuration file for 'Hyperion daemon'
// Generated by: HyperCon (The Hyperion deamon configuration file builder
{
/// Device configuration contains the following fields:
/// * 'name'       : The user friendly name of the device (only used for display purposes)
/// * 'type'       : The type of the device or leds (known types for now are 'ws2801', 'ldp8806',
///                  'lpd6803', 'sedu', 'adalight', 'lightpack', 'test' and 'none')
/// * 'output'     : The output specification depends on selected device. This can for example be the
///                  device specifier, device serial number, or the output file name
/// * 'rate'       : The baudrate of the output to the device
/// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
"device" :
{
"name"       : "MyPi",
"type"       : "adalight",
"output"     : "/dev/ttyACM0",
"rate"       : 115200,
"colorOrder" : "bgr"
},
/// Color manipulation configuration used to tune the output colors to specific surroundings.
/// The configuration contains a list of color-transforms. Each transform contains the
/// following fields:
///  * 'id'   : The unique identifier of the color transformation (eg 'device_1')	///  * 'leds' : The indices (or index ranges) of the leds to which this color transform applies
///             (eg '0-5, 9, 11, 12-17'). The indices are zero based.	///  * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following
///            tuning parameters:
///            - 'saturationGain'  The gain adjustement of the saturation
///            - 'valueGain'       The gain adjustement of the value
///  * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the
///                           following tuning parameters for each channel:
///            - 'threshold'       The minimum required input value for the channel to be on
///                                (else zero)
///            - 'gamma'           The gamma-curve correction factor
///            - 'blacklevel'      The lowest possible value (when the channel is black)
///            - 'whitelevel'      The highest possible value (when the channel is white)
///
/// Next to the list with color transforms there is also a smoothing option.
///  * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning
///                  parameters:
///            - 'type'            The type of smoothing algorithm ('linear' or 'none')
///            - 'time_ms'         The time constant for smoothing algorithm in milliseconds
///            - 'updateFrequency' The update frequency of the leds in Hz
"color" :
{
	"transform" :
	[
		{
			"id"   : "default",
			"leds" : "*",
			"hsv" :
			{
				"saturationGain" : 1.0000,
				"valueGain"      : 1.0000
			},
			"red" :
			{
				"threshold"  : 0.0000,
				"gamma"      : 1.0000,
				"blacklevel" : 0.0000,
				"whitelevel" : 1.0000
			},
			"green" :
			{
				"threshold"  : 0.0000,
				"gamma"      : 1.0000,
				"blacklevel" : 0.0000,
				"whitelevel" : 1.0000
			},
			"blue" :
			{
				"threshold"  : 0.0000,
				"gamma"      : 1.0000,
				"blacklevel" : 0.0000,
				"whitelevel" : 1.0000
			}
		}
	],
	"smoothing" :
	{
		"type"            : "none",
		"time_ms"         : 200,
		"updateFrequency" : 20.0000
	}
},

///  The configuration for each individual led. This contains the specification of the area
///  averaged of an input image for each led to determine its color. Each item in the list
///  contains the following fields:
///  * index: The index of the led.  Contains the following fields:
///  * xbmcAddress       : The IP address of the XBMC-host
///  * xbmcTcpPort       : The TCP-port of the XBMC-server
///  * grabVideo         : Flag indicating that the frame-grabber is on(true) during video playback
///  * grabPictures      : Flag indicating that the frame-grabber is on(true) during picture show
///  * grabAudio         : Flag indicating that the frame-grabber is on(true) during audio playback
///  * grabMenu          : Flag indicating that the frame-grabber is on(true) in the XBMC menu
///  * grabScreensaver   : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
///  * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
"xbmcVideoChecker" :
{
	"xbmcAddress" : "<IP_ADDRESS>",
	"xbmcTcpPort" : 9090,
	"grabVideo" : true,
	"grabPictures" : true,
	"grabAudio" : true,
	"grabMenu" : false,
	"grabScreensaver" : true,
	"enable3DDetection" : true
},

/// The configuration of the Json server which enables the json remote interface
///  * port : Port at which the json server is started
"jsonServer" :
{
	"port" : 19444
},

/// The configuration of the Proto server which enables the protobuffer remote interface
///  * port : Port at which the protobuffer server is started
"protoServer" :
{
	"port" : 19445
},

/// The configuration of the boblight server which enables the boblight remote interface
///  * port : Port at which the boblight server is started

// 	"boblightServer" :
// 	{
// 		"port" : 19333
// 	},
"endOfJson" : "endOfJson"

}

Can't see any problems with your config file. I compiled on Cubox-i2, but that actually does not matter... Try another sd card

Is Hyperion works on the HummingBoard without arduino UNO? With just GPIO ports? Like Raspberry:
https://raw.githubusercontent.com/wiki/tvdzwan/hyperion/hardware_ws2801_connection.png
And if its work, Can i give power for the LEDS with the normal Micros USB DC or i must to add power for LEDS with another adapter? Maybe 5V / 5A  micro USB adapter is gave enough power for HUmmingboard and LEDS to?? This is my plan, but i don't know is it working this way.

I don't have a HummingBoard and only ws2812b leds so cannot test it at all. However hyperion does not use any rpi specific code to access SPI, so it should work if the distribution you use has working SPI drivers.

So I Tried to setup hyperion again two days ago.
I used another microsd card as you mentioned.
The one I used before actually was a cheap 62gb card from china....
I could not install your fork of hyperion due to an error occurring.
Therefore I used the fork of tvdzwan and copied the precompiled hyperiond from xbian.
This worked for me!
Runs nicely. Standard colors are much better than in boblight.
Need to optimize my config but besides that nice:-)
Just one issue, the LEDs stay on when the screensaver is set to dim
(Set the grabber to screensaver false)
So for now I use a combination of screensaver black and a power timer.
Not perfect but ok for now!
Thanks for the awesome work!
Don't know what goes wrong for me with your install.sh
Cheers mat

Setup wise, Hyperion is running now really nicely.
I really do get the Philips ambilight feeling now :-)
Still having one issue though.
I am using the frame grabber for everything besides screensaver. (Grab screensaver false)
When Kodi gets into screensaver mode it still gets grabbed though.
What I did to shut down Hyperion is using this tutorial to manually switch it of via constellation app https://www.facebook.com/notes/batuhan-topbaş/how-to-enabledisable-hyperion-on-openelec-with-remote/10153093444127977.
Not so confi as I need to always use my iPad ;-)
Is there an easier way? For example telling Hyperion to switch of after 10min of screensaver?
I know this should just work with the setting (grabscreensaver false) but it at least does not for me.
Thanks for the help!
Cheers mat

I was trying to install the hyperion from your fork however, the installation is failing as it seems to be missing - hyperion.deps.openelec_imx6.tar.gz
What should I do to complete the installation so it would work?
I tried installing it from the original tvdzwan and it almost worked :) but the lights that did turn on was reflecting only subtitles and OSD elements - no movie reflections...

Working on the builds for x86 platform I did some modification of the deployment script, which also affect other architectures. However I never did a new build for the cubox after it. So the behaviour is expected... You should use the install script from the main repo.
Problem with the Leds  see: https://github.com/tvdzwan/hyperion/issues/298
But not only the framebuffer device changed with the latest verion, also the color order of its pixels. There is a fix for that in my repo, but I had no time yet to recompile...

Thanks! will try it once I get home...
Regarding the color order - is this something I can manually change in the config file somehow?

No, it is managed in code

damn :(
then I hope you'd get around to it sometime soon... :)
Thanks for all the help!

F.Y.I - I switched the colorOrder parameter to bgr - seems to do the trick - while not perfect, much better then the default rgb value.

@derechtedude can be closed?

Closed due to age. Please open a new one, of problems still exists.
Thank you


TextField active paste request for Clipboard access

https://github.com/flutter/flutter/blob/6ec444506375cfa94535a45c2320e01094c295e0/packages/flutter/lib/src/widgets/editable_text.dart#L2282
When using TextField, iOS will request paste permission when the user initiates the paste. But it seems that active pasting shouldn't need to request Clipboard permissions, it's a user action. I hope it will has a field in TextField to control it.

I have the same problem, the Flutter iOS app always ask for Paste Permission (iOS 16.2 with Simulator).

Flutter iOS app always ask for Paste Permission (the sample project source code):

https://user-images.githubusercontent.com/10546774/224204834-085e3ad1-8dd8-45a9-a3d2-c88ad50ba562.mov

Native (SwiftUI) iOS app not ask for Paste Permission(the sample project source code):

https://user-images.githubusercontent.com/10546774/224205488-7d24407a-686e-41d1-a36e-58ece00495fb.mov

Hi @neilwangweili, @gaoshanyu, this issue is known and is being tracked in https://github.com/flutter/flutter/issues/103163.
Kindly follow up in the original issue for updates.
Closing from here as duplicate.
Thank you
PS: The reason the SwiftUI Textfield does not ask for permissions is that the Textfield does not use the clipboard for copy-paste. If you try to access the clipboard in the SwiftUI app, you'll experience the same thing as the flutter app.


[bug] Unable to init server on wsl2

Describe the bug
When I create a tauri app with the create tauri-app and I try to initialize the dev script (yarn, npm or cargo), the cli returns Unable to init server: Could not connect: Connection refused. Also when I try to access the localhost directly in the browser, it says that " The connection has been reset". I think this is a tauri bug, because when I run dev another normal react project, localhost can be accessed normaly.
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
  › OS: Ubuntu 20.04 X64
  › Node.js: 18.3.0
  › npm: 8.11.0
  › pnpm: 6.11.0
  › yarn: 1.22.15
  › rustup: 1.24.3
  › rustc: 1.61.0
  › cargo: 1.61.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.0.0
  › @tauri-apps/api [NPM]: 1.0.1
  › tauri [RUST]: 1.0.0,
  › tauri-build [RUST]: 1.0.0,
  › tao [RUST]: 0.11.2,
  › wry [RUST]: 0.18.3,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../build
  › devPath: http://localhost:3000/
  › framework: React

Stack trace
No response
Additional context
No response

This error is not talking about the frontend devserver or something from tauri.
It's an x11 error that happens when it tries to open/display the gui (the actual tauri app). This specific error should mean that you don't have an xserver installed (on windows) and/or don't have DISPLAY configured to point to it.
Hopefully that's enough of a pointer for you to figure it out 😅
Btw, we currently don't support (as in "help") for developing tauri apps in wsl, mainly because it only really works "good enough" in Windows 11 with wslg.

Also when I try to access the localhost directly in the browser, it says that " The connection has been reset"

This is probably because the devserver shuts down when the app itself can't start or crashes.

Yep, that was good enough. Thanks!


We get the same WiFi Mac on all our ESP32 chip (IDFGH-5704)

Environment

Development Kit: -
Kit version -
Module or chip used:  [ESP32-WROOM-32U]
IDF version v4.4-dev-1254-g639e7ad49
Build System: [idf.py]
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: [Windows/Linux]
(Windows only) environment type: [Plain Command Prompt].
Using an IDE?: [No]
Power Supply: [24V DC]

Problem Description
We get the same WiFi Mac address on all boards.
Expected Behavior
Different WiFi Mac on each board.
Actual Behavior
Same WiFi Mac (3FFBC37A) on each board.
Steps to reproduce

Use the code below.

Code to reproduce this issue
uint8_t chipid[10] = {0};

esp_read_mac(chipid, ESP_MAC_WIFI_STA);
// Or
esp_efuse_mac_get_default(chipid);
// Or
esp_wifi_get_mac(ESP_IF_WIFI_STA, chipid);

printf("The Mac address is: %X", chipid);

Debug Logs
The Mac address is: 3FFBC37A

We use the same binary build on all our ESP32 boards, and all print the same MAC address, which it should be different.

Hello @hassandraga
I think you aren't printing the full MAC as a MAC address has 6 bytes. Try something like this:
  uint8_t mac[6];

  ESP_ERROR_CHECK(esp_efuse_mac_get_default(mac));
  printf("%02X:%02X:%02X:%02X:%02X:%02X\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);

Thanks
Felix

Hi @felmue, Yeah I miss this one, Thank you.

@felmue Thanks for the notes.


Multi-record forms

I setup a form, following the multi-record form example, but it seems that when I submit one of the forms and my store gets updated, some of the other forms on the multi-record  form update with the same information as the form that is filled out, not all, but some. I know this is not much information but wondering if anyone else has experienced this? I am using formKey and everything just like the multi-record form example but maybe I am misunderstanding what that is supposed to be used for? Any help is appreciated. Thanks!

Never mind own mistake. Great work by the way, makes complicated forms easier.

Thanks, @TonyVeigel!


"Description" in task edit is not supported

Currently REST API does not support "description" field when reconfiguring a task.
URL of the request:
PUT http://example.com/tasks/simple_task/configuration
Accepts data only in this format:
{ "input": "file description ID", feedback: { ... }, "primaryBase": { "name": "DBpedia" } }
i.e. there is no 'description'.

Currently REST API does not support "description" field when reconfiguring a task.
URL of the request:
PUT http://example.com/tasks/simple_task/configuration
Accepts data only in this format:
{ "input": "file description ID", feedback: { ... }, "primaryBase": { "name": "DBpedia" } }
i.e. there is no 'description'.

Hi, this is not a bug, but a result of confusion.
The task itself has a following structure:
{    "id": "complex task",    "description": "Muhaha",    "created": "2016-11-14 21:34",    "configuration": {       "input": "books.csv",       "feedback": {...},       "primaryBase": {       "name": "DBPedia"    } }
What you attempted to put was the configuration, but the description is located in the task object, not in the configuration object.


[Bug]: Plugin Error Azure DevOps Pipeline

Terraform CLI Version
1.0.0
Terraform Provider Version
0.99.0
Company Name
No response
Terraform Configuration
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "3.116.0"
    }
    snowflake = {
      source  = "Snowflake-Labs/snowflake"
      version = "0.99.0"
    }
  }

  backend "azurerm" {
    subscription_id      = ""
    resource_group_name  = ""
    storage_account_name = ""
    container_name       = ""
    key                  = "state.tfstate"
  }
}

provider "azurerm" {
  skip_provider_registration = true
  features {}
}

provider "snowflake" {
  account       = var.SNOWFLAKE_ACCOUNT
  role          = var.SNOWFLAKE_ROLE
  authenticator = var.SNOWFLAKE_AUTHENTICATOR
}

Category
category:other
Object type(s)
No response
Expected Behavior
Expected a terraform plan to run
Actual Behavior
github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/provider.go:296 +0x1b8

github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc000701da0, {0x24b1158?, 0xc000aae570?}, 0xc0009fec60)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/grpc_provider.go:611 +0x3a9
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ConfigureProvider({{0x24c7ea0?, 0xc000701da0?}}, {0x24b1158?, 0xc000aae570?}, 0xc0009fec00?)
github.com/hashicorp/terraform-plugin-mux@v0.15.0/tf5to6server/tf5to6server.go:86 +0x182
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ConfigureProvider(0xc000a60af0, {0x24b1158?, 0xc000aae270?}, 0xc000aae240?)
github.com/hashicorp/terraform-plugin-mux@v0.15.0/tf6muxserver/mux_server_ConfigureProvider.go:28 +0x14f
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ConfigureProvider(0xc0001ff720, {0x24b1158?, 0xc000a83a40?}, 0xc000a3d400)
github.com/hashicorp/terraform-plugin-go@v0.22.2/tfprotov6/tf6server/server.go:558 +0x2db
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ConfigureProvider_Handler({0x20639e0?, 0xc0001ff720}, {0x24b1158, 0xc000a83a40}, 0xc000600280, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.22.2/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:464 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000a24000, {0x24b1158, 0xc000a839b0}, {0x24c30c0, 0xc000136780}, 0xc000a81440, 0xc000880540, 0x348acf0, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xe23
google.golang.org/grpc.(*Server).handleStream(0xc000a24000, {0x24c30c0, 0xc000136780}, 0xc000a81440)
google.golang.org/grpc@v1.63.2/server.go:1780 +0x1016
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 34
google.golang.org/grpc@v1.63.2/server.go:1030 +0x135
Error: The terraform-provider-snowflake_v0.94.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
##[error]Error: Terraform Plan failed with exit code: 1
Steps to Reproduce
Run terraform plan with "TerraformTaskV4@4" in azure devops
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hey @nate-lema-trinity. Thanks for reaching out to us.
You claim to be using v0.99.0; however, from your logs, I can see v0.94.0 plugin crashed!. So which one is it?
Also, Terraform CLI should be bumped at least to at least 1.1.5 (check https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CREATING_ISSUES.md#old-terraform-cli-version).
Also, the logs seem redacted because I can't see the origin in our provider's code. Please provide full execution logs with the TF_LOG=DEBUG flag enabled.


Minor corrections

closed the review because I was seeing conflicts between Dell-Networking:master and tjbalaji:master


⚠ Bofrost.at has degraded performance

In f958caf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1537 ms

Resolved: Bofrost.at performance has improved in d1fc3b2.


Add warning note to platform ops and devops for blank sub coverage

Overview/Summary
Add warning note to platform ops and devops for blank sub coverage
This PR fixes/adds/changes/removes

AB#26516

Breaking Changes
None
Testing Evidence
Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
Testing URLs
Azure Public

As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Ensured contribution guidance is followed.
[x] Updated relevant and associated documentation.
[x] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

Happy with this, will approve once tests finish

Test cleanup failing due to https://github.com/actions/runner-images/issues/7034


Draft: Native Implementation for NodeJS

Checklist for new indicators

[ ] Indicator is documented and implemented by extending BigIndicatorSeries
[ ] A "faster" version of this indicator is implemented by extending NumberIndicatorSeries
[ ] Tests for getResult are present
[ ] Tests for highest and lowest result caching are present (if not already existent for base class)
[ ] Tests for error handling are present (if not already existent for base class)
[ ] Indicators (standard & faster version) are exposed in src/index.ts
[ ] Indicators (standard & faster version) are added to startBenchmark.ts
[ ] Indicator is listed in README.md

Hi @bennycode i'll push my work on this draft PR.
NAPI-RS suggest to push a new npm package for the native version to support binaries variations correctly.
Since the native version could have some little difference on interfaces and also it's not suitable for browser i can suggest to publish the native directly under a new npm package like @trading-signals/native.
My goal here with the native directory on this repo is to recycle all tests. A real mono repo could be more appropriate for the current use case but i think it's currently overkill.

I tried the benchmark script i got an interesting result:
DEMA x 39.91 ops/sec ±1.13% (51 runs sampled)
NativeDEMA x 30,283 ops/sec ±0.88% (85 runs sampled)
FasterDEMA x 70,241 ops/sec ±2.48% (88 runs sampled)

I also tried a new console.time on MACD test and now
      const arr = Array.from({length: 100000}).map(() => Math.random() * 100);
      const arr2 = [...arr];
      console.time('fast');
      arr.forEach(v => {
        fasterMACD.update(v);
      });
      console.timeEnd('fast');
      console.time('native');
      arr2.forEach(v => {
        nativeMACD.fastUpdate(v);
      });
      console.timeEnd('native');

    fast: 11 ms
    native: 23 ms

Okay @bennycode  i'l close this one, my first results on the discussion are wrong, i think i missed something like disabling nyc.
The benchmark script is right and you were right too, the communication between node and native bin is not fast enough.


fix issue #48 & #51

Can one of the admins verify this patch?

yes, please review this pull request and approve as soon as can be, this fixes a very bad problem that we ran into on CallbackConnection throwing jvm into OOM after losing network access for a while and then regaining it, thank you very much looluo!


[Improvement]: Use the relative path of the package in bal new command output

Description
Improve the bal new command output.
Describe your problem(s)
Here is the current bal new command output:
sameera@sameera eggplant % bal new content-based-message-routing
package name is derived as 'content_based_message_routing'. Edit the Ballerina.toml to change it.

Created new package 'content_based_message_routing' at /Users/sameera/work/<bla/bla/bla>/eggplant/content-based-message-routing.

I think there is no need to show the absolute path when the package is created inside the current directory.
Also, you need to upper case the package here.
Describe your solution(s)
Can we improve the output as follows when the package is created within the current directory?
sameera@sameera eggplant % bal new content-based-message-routing
Package name is derived as 'content_based_message_routing'. Edit the Ballerina.toml to change it.

Created new package 'content_based_message_routing' at content-based-message-routing.

Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Hi can I pick this up

Hi can I pick this up

Sure, I assigned you.

@azinneera when i do bal new, i get the message
➜ bal new test
Created new package 'test' at test.

I cannot reproduce the above issue

@azinneera when i do bal new, i get the message
➜ bal new test
Created new package 'test' at test.

I cannot reproduce the above issue

Hi @roysti10
I checked with Update 8 on Ubuntu, MacOS and Windows. The issue is reproducible in all 3. Can I know the ballerina version you are using?

@azinneera
On linux
> bal new test
Created new package 'test' at /mnt/c/Users/tauro/Documents/test.
> bal version
Ballerina 2201.8.2 (Swan Lake Update 8)
Language specification 2023R1
Update Tool 1.4.2

on windows
➜ bal new test
Created new package 'test' at C:\Users\tauro\test.
   19:28:47  ~  ﮫ 1.427s 
➜ bal version
Ballerina 2201.8.2 (Swan Lake Update 8)
Language specification 2023R1
Update Tool 1.4.2

I can now reproduce the path problem but the message mentioned above is not reproducible

@azinneera have raised a PR for this


Inconsistency: directory required in query mode but not in linter mode.

When using the linter mode, if the user does not specify a directory, the program uses the current one. On the other hand, when using the query mode, the program raises an error if the user does not specify a directory.

I agree with this one, I will prepare a patch


include function...

include
Description

i cannot load to scripts at the same time
like is i use include 2 times only the first one to be called will loaded
and it looks like if i dont add ; after it it will not load

Version

<0.9BETA>

Platform

Web Version [X]
Windows [X]
Linux [X]

The editor now supports loading multiple files properly should work.
Thanks a lot!

thank you
On Tue, Feb 18, 2020 at 6:01 AM Tentone<EMAIL_ADDRESS>wrote:

The editor now supports loading multiple files properly should work.
Thanks a lot!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tentone/nunuStudio/issues/328?email_source=notifications&email_token=AK47ZPVIMEMV2YGYPVPA5CDRDO5ZRA5CNFSM4KLZVRH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMBROEI#issuecomment-587405073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK47ZPR3U535SAVPV4Q5YSTRDO5ZRANCNFSM4KLZVRHQ
.


Issue with k8s.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive/

This is a Bug Report

Problem:
The "Deploy our app" section talks about kubectl run command but the example code actually uses kubectl create command. This is confusing.
Proposed Solution:
Stick to kubectl create command to be consistent
Page to Update:
https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive/

/kind cleanup
/priority important-longterm
/help

I can (try to) guide anyone who would like to work on this issue.

I would like to work on this issue.
However, I cannot find the inconsistent point about kubectl create command.
Could you guide me?
Has this issue been solved already?

@KobayashiD27, I think you're right: I can't see anything to fix either.
/close


Add CI/CD

As part of the hackathon this project was created from zio-web but without ci/cd.
Task will include

adding circle ci setup like other projects
updating zio-web to resolve from sonotype instead of from git

@jdegoes I wouldn't mind picking this up in the next day or two.


feat: add tests for special IP in --add-host flag

Signed-off-by: Ziwen Ning<EMAIL_ADDRESS>Issue #, if available:
https://github.com/runfinch/finch/issues/209
Description of changes:
Start a server in host and try to curl it from container with --add-host test-host:host-gateway
Testing done:
make run with the change https://github.com/runfinch/finch/pull/216

[ X ] I've reviewed the guidance in CONTRIBUTING.md

License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Tests look good, but should they go into the finch e2e package for now since this won't work with regular nerdctl right now?

IMO, whether it goes into common-tests depends on if it is part of common container development workflow instead of Finch special thing. Special IP is in Docker now and is being added to nerdctl. So I think it is fine to add to common-tests.


Add logic to handle existing records

Add logic to gracefully overwrite existing records on create.

@estenrye you closed this mate?


Add Timeout support

I added an short implementation to support timeouts.
All checks passed (running _example/main.go and a custom modification of it to support Timed pings)
Added the new NewTimed method to not overwrite the existing method

Added examples and removed Debug

Thank you!
Looks great over all, but I'm wondering if perhaps context.Context could be used instead, which would give mc-pinger timeout support for "free" while also adding support for other ways to cancel the ping.
What do you think?

changed from net.DialTimeout to a use of context.WithTimeout. I don't know if that's what you wanted but I think it comes close :-)

I was thinking that perhaps a PingContext function could accept a context, where the user of the api can pass their own context in which could have a timeout or be tied to some other deadline. This would be in line with how many other apis (Like Dial vs DialContext) works.

The DialContext Method is not officially exposed, but can be called if you use your own ˋvar d Dialˋ. But I get what you mean.
I will try to implement it later

Added a new Constructor that accepts a Context. Function with just the Timeout still works
Added a new Example for how to use it with Context

Fixed

Thank you for working on this @Herobone :)


Add descriptions to classes in IW folder

For https://github.com/microsoft/vscode-jupyter-internal/issues/309
Also consolidated the interactiveWindowCommandListener class into the commands/commandRegistry. They were doing the same thing so put them into one class.

Codecov Report

Merging #10854 (6f9fd03) into main (599ade0) will decrease coverage by 0%.
The diff coverage is 36%.

@@          Coverage Diff           @@
##            main   #10854   +/-   ##
======================================
- Coverage     63%      63%   -1%
======================================
  Files        482      481    -1
  Lines      33652    33654    +2
  Branches    5488     5503   +15
======================================
- Hits       21304    21267   -37
- Misses     10306    10335   +29
- Partials    2042     2052   +10

Impacted Files
Coverage Δ

...-window/debugger/interactiveWindowDebugger.node.ts
68% <ø> (ø)

...ve-window/debugger/jupyter/debugCellControllers.ts
96% <ø> (ø)

...tive-window/debugger/jupyter/kernelDebugAdapter.ts
58% <ø> (ø)

...teractive-window/editor-integration/cellMatcher.ts
100% <ø> (ø)

...-window/editor-integration/codeGeneratorFactory.ts
100% <ø> (ø)

...tive-window/editor-integration/codelensprovider.ts
84% <ø> (ø)

...teractive-window/editor-integration/codewatcher.ts
71% <ø> (ø)

...interactive-window/editor-integration/decorator.ts
86% <ø> (ø)

...-window/editor-integration/generatedCodeStorage.ts
100% <ø> (ø)

.../editor-integration/generatedCodeStorageFactory.ts
94% <ø> (ø)

... and 25 more

@microsoft/datascience-vsc-team-reviewers does anybody want any changes?


Add RBNF

NOTE: Not ready for merging yet. Some things need to be discussed / cleaned up.

To facilitate testing RBNF for multiple locales, there is a separate test bundle loaded only during tests. This contains resources for all locales.
[Fixed] However, the RBNF tests only test in the en locale because the NumberFormatter resources are also tied to the locale.

Suggested workaround: Inject the NumberFormatter symbols for all locales for tests, just like the RBNF test resources.

Allowed failures haven't been incorporated yet. I'll do that once we decide the best way to write tests. Skipped the locales with failures for now.
Docs aren't ready yet. I'll work on that as the code review takes place.
Also, the other build files need to be updated before the merge. I'll do that after the rest of the review is over.

Oh no! something seems to be up with the tests. It seems to be fine on my local machine. I'm investigating.

I just got the same failure after updating History.txt in master :( Looking into it as well.

The build was failing because of a new version of coffee-script-source gem that we indirectly depend on. I froze its version to 1.8.0 in master, we should be good now. The issue is already reported as jashkenas/coffeescript#3829

@camertron @KL-7 Apart from the issue about the tests taking time, the rest of the PR is ready for merging. The documentation is done and the assets in the build have been updated. Once the tests are sorted out, we can have the final comments and merge :)

Overall this looks good to me, leaving detailed review for @camertron. Amazing work, @radzinzki!

Just a few really small remaining comments @radzinzki. Let me know once they've been addressed and I'll merge right away :)

@camertron updated the PR as per your review. If you're ok with the changes and there are no further comments, then I think we're good to go.


Update .gitignore and remove files that don't belong

You should put the .next and build folders in your .gitignore. They are not required to be version controlled and as the error states, too big to store on GitHub.
Since files in the .next directory got committed to the repo, remove them.

Requested Changes are done and pushed to main


[release-0.41] make-generate: updated license header year

Signed-off-by: Igor Bezukh<EMAIL_ADDRESS>What this PR does / why we need it:
fix make generate leftovers
Release note:
NONE

/cc @dhiller

Every change in this PR is in a comment? There are no code changes?

Every change in this PR is in a comment? There are no code changes?

@stu-gott Yep, you are correct, why trigger all the lanes.


Extension to DeepHit

Hello,
This is great work!
I was wondering if SurvSHAP can be applied to Deep Learning survival Networks such as DeepHit that can produce survival function estimates without being constrained by the "Proportional Hazards (PH)" assumption.
Please let me know. I am keen to try it out.
Ani

Hi, thanks for your interest!
SurvSHAP(t) can definitely be used for deep learning models, there are no theoretical counter-arguments for that. In fact, it is a good idea because the lack of PH assumption makes DL models more flexible, but thus also more complex and complicated - it is useful to know what is going on inside such a black-box model.
As for the practical side of this problem - currently this Python package is adapted to work with models from the scikit-survival package, where no DL models are available. Other models can, of course, be explained, but their prediction interface must then be adapted to return predictions in the form of sksurv.functions.StepFunction.

This is an important contribution. Do you have an example implementation of survival models such as DeepHit or Cox-Time?


Error: The process '/opt/hostedtoolcache/node/16.19.1/x64/bin/npm' failed with exit code 1

When I try to deploy a project in gh-pages, I get this error, I used vite-deploy:
name: Deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
  - name: Checkout repo
    uses: actions/checkout@v2

  - name: Setup Node
    uses: actions/setup-node@v1
    with:
      node-version: 16

  - name: Install dependencies
    uses: bahmutov/npm-install@v1

  - name: Build project
    run: npm run build

  - name: Upload production-ready build files
    uses: actions/upload-artifact@v2
    with:
      name: production-files
      path: ./dist

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
  - name: Download artifact
    uses: actions/download-artifact@v2
    with:
      name: production-files
      path: ./dist

  - name: Deploy to GitHub Pages
    uses: peaceiris/actions-gh-pages@v3
    with:
      github_token: ${{ secrets.GITHUB_TOKEN }}
      publish_dir: ./dist

In vite.config.js I wrote my repository name in the base, when I go into actions, it gives an error, when in build it tries to install dependencies: Error: The process '/opt/hostedtoolcache/node/16.19.1/x64/bin/npm' failed with exit code 1
how to prevent this error in gh-pages?

app: https://github.com/twers1/twers1.github.io

@twers1
I cannot see any mention of a call to cypress-io/github-action in your workflow, so it seems you have posted your issue to the wrong repository issue list.
I did notice though that you are using old versions of some GitHub actions, so  you should look at updating those.
Also in order to find out why your error is occurring you will need to look into the logs. You might find the GitHub hints Monitoring and troubleshooting workflows helpful.

@MikeMcC399
Can you tell me how to update the action versions on Github, I just searched all over the internet and couldn't find anything of mine

@twers1
You need to write actions/checkout@v3 instead of actions/checkout@v2 for instance.
You should however close this issue because it is the wrong place to be asking for help with your problems.


clarification

Just a question regarding install_extra.bat.
Is this inteded to be used with comfyui portable, or manual installed using venv?

Well, If the batch does not find the portable environment then launch the installation in the global environment where the terminal is located.
So if you are in a venv and do not have the portable enviroment then it should still work

Thanks for the explanation. I think it is better to use pip install -r requirements.txt in my venv
Am I right?

Actually, it shouldn't be necessary. When you start the node for the first time, it automatically installs all the requirements. The additional batch file only includes 'pip install transformers==4.36.2' since it's necessary for the Moondream model to function. However, if you don't use that model, you can completely skip installing that version of transformers.

Awesome, thank you!


Reactivate MD010 to check for hard tabs

I deactivated rule MD010 of markdownlint which checks for hard tabs. We need this at least in the CMake chapter #51 which code blocks of Makefiles which depend on hard tabs.
We should be able to activate this rule again when/if https://github.com/markdownlint/markdownlint/pull/396 gets into markdownlint and there is a new release.

MD010 is still failing. Let's close this issue and reopen if we actually have any concrete reason and something we can do about it.


Problem with BooleanEquals

Similar issue to #14, this is valid JSON for a choice step assuming that DoSomething was defined as Boolean input parameter:
             {
                "name": "DoSomethingCheck",
                "action": "aws:branch",
                "inputs": {
                   "Choices": [
                      {
                         "NextStep": "DoSomething",
                         "Variable": "{{DoSomething}}",
                         "BooleanEquals": true
                      },
                      {
                         "NextStep": "DoSomethingElse",
                         "Variable": "{{DoSomething}}",
                         "BooleanEquals": false
                      }
                   ]
                }
             },

This fails for the same reason: "Failed to update resource. Input true is of type String, but expected type is Boolean."

Hi Charles,
does this actually work when you define the doc in the console? After I fixed #14 I was able to create documents with boolean parameters, but was unable to execute them. When executing, it complained that Boolean is an invalid parameter type... I contacted the AWS support and their response was quite interesting:

We stated it in our documentation that you can use Boolean type but have not seen it work

So as I see it, fixing this will only allow you to create a document which cannot be executed.
AWS support suggested to only use String parameters and limit the possible values to "true" and "false".
Daniel

Ah wait, aws:branch... that's an Automation document. I haven't tried that. Above experience is related to Command documents. Maybe boolean types are supported in Automation documents.

The fix has been released with v2.1.2

Yes, I'm sorry, this was in an Automation document, and it did work from the console. Thanks for the quick response, I've verified that it's working now.


when i run  train_3d.py ,i will  get trouble

发生异常: RuntimeError
Expected object of scalar type Float but got scalar type Double for argument #2 'other'
File "/home/wu/voxelpose-pytorch/lib/models/project_layer.py", line 80, in get_voxel
bounding[i, 0, 0, :, c] = (xy[:, 0] >= 0) & (xy[:, 1] >= 0) & (xy[:, 0] < width) & (xy[:, 1] < height)
File "/home/wu/voxelpose-pytorch/lib/models/project_layer.py", line 107, in forward
cubes, grids = self.get_voxel(heatmaps, meta, grid_size, grid_center, cube_size)
File "/home/wu/voxelpose-pytorch/lib/models/cuboid_proposal_net.py", line 103, in forward
self.grid_size, [self.grid_center], self.cube_size)
File "/home/wu/voxelpose-pytorch/lib/models/multi_person_posenet.py", line 65, in forward
root_cubes, grid_centers = self.root_net(all_heatmaps, meta)
File "/home/wu/voxelpose-pytorch/lib/core/function.py", line 126, in validate_3d
input_heatmaps=input_heatmap)
File "/home/wu/voxelpose-pytorch/run/train_3d.py", line 135, in main
precision = validate_3d(config, model, test_loader, final_output_dir)
File "/home/wu/voxelpose-pytorch/run/train_3d.py", line 161, in
main()

the error in voxelpose-pytorch/lib/models/project_layer.py

@WuYue99 Try to upgrade Pytorch to 1.4.0
Or you can transform the data type to float using .float()

transform which data to flaot?

Could someone help ?
I get the idea that the data is not being loaded ?
Traceback (most recent call last):
  File "run/train_3d.py", line 169, in <module>
    main()
  File "run/train_3d.py", line 92, in main
    pin_memory=True) #Error
  File "/home/chava/Kyutech/Anaconda/envs/VoxelPose/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 213, in __init__
    sampler = RandomSampler(dataset)
  File "/home/chava/Kyutech/Anaconda/envs/VoxelPose/lib/python3.6/site-packages/torch/utils/data/sampler.py", line 94, in __init__
    "value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0

Could someone help ?
I get the idea that the data is not being loaded ?
Traceback (most recent call last):
  File "run/train_3d.py", line 169, in <module>
    main()
  File "run/train_3d.py", line 92, in main
    pin_memory=True) #Error
  File "/home/chava/Kyutech/Anaconda/envs/VoxelPose/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 213, in __init__
    sampler = RandomSampler(dataset)
  File "/home/chava/Kyutech/Anaconda/envs/VoxelPose/lib/python3.6/site-packages/torch/utils/data/sampler.py", line 94, in __init__
    "value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0


A site-based approach

In this issue we comment on the description of properties in a site-based approach.
pros:

intuitive and straightforward definition of the properties (just a list where for each site we define the property)
no "interference" between properties (successive kind redefinition if one property is set, may create ambiguities)
Hubbard parameters are naturally site-based: some property is complicated to be defined via kinds.
intersite properties (e.g. Hubbard) are easy to define in a site-based approach

cons:

need a mapping into kinds by means of thresholds(like magmoms), and this can be done on the fly in the plugin or as method in our StructureData ->may results in unexpected behaviors (too many starting magnetizations, i.e. too many kinds); however, we can do it in a self-consistent way (if kinds>10, increase the thresholds...)
duplication of information with respect to kinds, which are more compact

The get_kinds method
If we adopt the sites based approach, the sites-to-kinds mapping can be provided via a get_kinds method of the StructureData. This can support tolerances for the definition of new kinds.
However, such procedure can be also done by hands for specific cases (for example, we may want a specific order of the kinds)

In trying to adapt PwCalculation to use the new StructureData, I noticed a potential issue:
(1) When we set the pseudos via the aiida_pseudo.groups.family.pseudo.get_pseudos method, this needs to know the kinds associated to the structure - this is still the old implementation.
(2) Then, in the input file preparation for a PwCalculation, we need again the kinds.
If we think about the new implementation, the kinds are obtained on the fly (not stored in the node) via the get_kinds method of the StructureData, which allows to define specific thresholds (or fallback into default ones) for each property.
However, considering the specific PwCalculation case,  we should call two times the get_kinds, both to set the pseudos, so before the PwCalculation submission, and then after the submission (i.e. inside the PwCalculation routine for the input file generation).
But this means that, as we need to have in both cases the same kinds, we should always define beforehand - during the StructureData instance creation - the thresholds used in the kinds definition and attach them to the StructureData: this is needed to avoid inconsistencies when we call the same methods in different places.
But in this way, we are then defining the kinds when we generate the StructureData object, due to the fact that, given the thresholds, the kinds are uniquely determined.
So, in the end, we are still storing information about kinds. However, now the kinds are a site-based property: for each site we have a given kind, which can be the same as the one of other sites.
In conclusion: we should always compute the kinds property when we generate the StructureData. Then, the user can decide to create a new StructureData with new thresholds or override explicitly the kinds (providing a corresponding input in the constructor).

After an in person chat with @giovannipizzi, we decided that indeed the the kind should be generated when the instance is created. This can happen using thresholds (custom or default) or an explicit list of kinds. In the latter case, a check on the consistency of the value of the properties should be done, but I have some idea (I will discuss with @giovannipizzi these days).
If the user is not happy with the generated kinds, can always generate a new structuredata with the correct ones.

I am trying to remember exactly what the problems were with the kinds-centric approach of the original StructureData because there was some motivation to move away from it. If we were to reintroduce it, albeit as a derived property in essence, I wonder if the original problem remains unsolved.
One example that I seem to recall is that specifying magnetic moments in PwCalculation are necessarily kinds based, and so if one wanted to change the moments for certain sites, a new StructureData had to be created with new matching kinds. I think the argument was that if the structure was merely site-based, the magnetic moments could be specified independent of any kinds. But with the new design where magnetic moments are directly stored on the structureData, this whole discussion is moot anyway, because regardless of whether kinds are used, changing the moments would require creating a new StructureData. So maybe in the end the original objections to kinds are moot anyway when properties are stored on the StructureData. @mbercx do you recall more problems the old kinds-approach would result in?

Additional comment on why I think is better to provide kinds in the StructureData and not to generate them on-the-fly (on-demand) every time:
suppose we generate on the fly the kinds, this means that we then have to do it multiple times for different plugins. For example, aiida-pseudo and aiida-quantumespresso require this kind generation.
This means that, if the user wants to provide custom thresholds to detect kinds, he should do it for each plugin. This means that:

we should keep track of these thresholds in the provenance
for each plugin I need to add an input which defines these thresholds

Moreover, the kinds detection will change the value of the properties and so modify the StructureData, in such sense. But then this is out of the user control, so it may introduce indeed unwanted effects.
I don't think this is the correct way to deal with kinds.


Add Ruby support

This PR adds support for Ruby using the excellent rbspy project.
It's built with the same bitnami/minideb:stretch image that JVM profiling optionally uses, as some crates imported by rbspy didn't compile gracefully in Alpine even when standard glibc was added to the image.
Following this PR it may be worth combining the Kubernetes job definitions into a single function but for this PR it's more or less a copy-paste of the existing definitions.
--imagePullSecret flag has been added in this PR as I required it for testing. If preferred I can remove that commit and re-raise.
Closes #44.

@alowde This looks great!
I tested it on a few ruby applications that run on our staging env and it worked very well.
Refactoring the Kubernetes job code to a single file is something that we should definitely do in the future.
Thanks for the contribution! merging.


TypeError: selectorParser(...).processSync is not a function

I am getting this issue, when building the code.

Here is repo link - https://github.com/ujjwalguptaofficial/idbstudio

Could it be related to PostCSS version?

not sure, but as far as I see it seems.

@ujjwalguptaofficial Hi, can you try to upgrade dependencies ?

updating 'vue-loader' worked.
Thanks.


[CS] Define a class for every locator path element kind

This is a follow-up to https://github.com/apple/swift/pull/26297. This PR uses macros to define the different kinds of locator path elements, which then allows us to define a LocatorPathElt subclass for each one. ConstraintLocator::isLastElement is then changed to take a LocatorPathElt subclass, making it consistent with the other last-element casting members.
Finally this PR renames the Requirement path element to ProtocolRequirement in order to help avoid confusion with AnyRequirement.

@swift-ci please smoke test


Fix build on clang 17

We're seeing a clang 17 build failure:
... struct.h:15:30: error: constexpr variable cannot have non-literal type 'const std::string' (aka 'const basic_string<char>')
   15 | static constexpr std::string RETVAL_FIELD_NAME = "$retval";
      |                              ^
... bits/basic_string.h:85:11: note: 'basic_string<char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
   85 |     class basic_string
      |           ^
1 error generated.

Seems correct - std::string is not very const. Fix by changing it to raw string which should construct temporary std::string& correctly.

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

Harmless change that unblocks build stuff, so merging. Feel free to yell at me if it goes pear shaped

Thanks!


Upload cve dB

After downloading, please add the functionality to upload as well , the dB gets refreshed everyday,so it should download and upload as well .

This looks relatively straight forward with the DTR api ->
curl -X PUT "https://docs.docker.com/api/v0/imagescan/scan/update?online=false" -H "accept: application/json" -H "content-type: multipart/form-data" -d {}


adapt oauth2-proxy-boshrelease to work with new oauth2_proxy fork

In order to deliver the updated oauth2_proxy fork, we'll need to adapt the oauth2-proxy-boshrelease.
Acceptance criteria:

[ ] When we build oauth2-proxy-boshrelease, it incorporates the new oauth2_proxy fork

Priority in the next few sprints, blocked by the fork-switch issue.


Formatting buttons don't work when editing another user post

I also get this error, I don't know if iot is related:

Another related error:
Permission denied to access property "pmViewDesc"


Make GBDT overfitting example more illustrative

Current example in Exercise M6.04 does not clearly show an increasing gap between training and testing validation curves.
This fixes it while taking care of keeping short running times.

I pushed some minor tweaks. This one is good to merge when CI is green

The figure looks like this with this change: