Onboard migration.exs test suite

The other thing that needs to be rectified is deleting the old database file before running the test suite. Sometimes it gets stored in a bad state.
     14:52:13.841 [warn]  You are running migration 1000649 but an older migration with version 1006275 has already run.

     This can be an issue if you have already ran 1006275 in production because a new deployment may migrate 1000649 but a rollback command would revert 1006275 instead of 1000649.

     If this can be an issue, we recommend to rollback 1000649 and change it to a version later than 1006275.

This is supposed to do that but I don't know if it is actually working
#
#  integration_test/exqlite/test_helper.exs
#
# Load up the repository, start it, and run migrations
_ = Ecto.Adapters.Exqlite.storage_down(TestRepo.config())
:ok = Ecto.Adapters.Exqlite.storage_up(TestRepo.config())

_ = Ecto.Adapters.Exqlite.storage_down(PoolRepo.config())
:ok = Ecto.Adapters.Exqlite.storage_up(PoolRepo.config())

One test caught my eye
EXQLITE_INTEGRATION=true mix test deps/ecto_sql/integration_test/sql/migration.exs:590

** (Exqlite.Error) near "database": syntax error

Query emitted
create database ecto_prefix_test

Now what this should probably be is attach database ":memory:" as foo or attach database "./path" as ecto_prefix_test
Command it is failing on
execute TestRepo.create_prefix(@prefix)

Yeah that one is incorrect for sure.
One thing to note is that doing either :memory: or a tmp path will not quite work for the PoolRepo, as it does not necessarily use a single connection for the duration of the test. We may need to change the tests that rely on PoolRepo with a prefix to use a TestRepo instead.

I don't think we'll be able to get that test working for now. the attach only works for the current connection obviously so the pooled connections won't know about the other already connecting. Shame.


Add zsh completion for 'docker network ls -f {id,name,type}'

Ref. #17782
@thaJeztah

Awesome! I wonder; should we split this up into two PRs? One for id, name and type, because those are supported in 1.11 (see https://docs.docker.com/engine/reference/commandline/network_ls/#filtering), and one that adds driver?
If there will be another patch release (not planned currently), that would allow us to cherry-pick just those changes in the release branch.
LGTM otherwise!

@thaJeztah Done, the 'driver' filter is ready in another branch.

thanks!
LGTM
ping @albers @vincentbernat PTAL

LGTM

LGTM


Adds superagent-throttle and configuration to avoid 429 Too Many Requests (#217)

Spotify does not publish its rate limits.
I tested many different rates for the throttling.
The best performance that worked consistently for my test case was:

10 requests per rate period
1000ms rate period
2 concurrent requests

This resulted in 317 superagent calls in 33 seconds. Any faster, and I would intermittently receive 429 errors. I could increase some numbers (example (10/1000/4 or 20/2000/6) but no numbers were faster than 33 seconds, so I recommend the lower numbers. Many numbers were much slower: 5/1000/2 = 62 seconds (corresponds pretty much linearly to half the request rate = 2x the time).
My test case was:
node.js app running on the command line (not served via the web).
Download list of 287 playlists.
Download all of the tracks from each of the 287 playlists
Using oauth2 authentication (I have read that certain authentication schemes receive higher rate limits).
Suggestions: we could make these numbers configurable in some way?

I think we should wait for #217 and that may solve the problem

My test case was:
node.js app running on the command line (not served via the web).
Download list of 287 playlists.
Download all of the tracks from each of the 287 playlists
Using oauth2 authentication (I have read that certain authentication schemes receive higher rate limits).

Can you provide the test file?

I'd like to add superagent-throttle in an upcoming version. This PR needs testing, and there needs to be a way for the client to opt-in to throttling behaviour as well as changing it if needed. Throttling should be turned off by default imo.

I think throtteling should be done in user-land 😅


SINGA-8 Implement distributed Hogwild

Generally, both the Downpour framework of Google Brain [1] and the Caffe's distributed Hogwild implementation are extensions of the shared memory Hogwild training. In this pull request, we refer to the second one.
In specific, each server group masters a subset of parameters. When synchronizing with other server groups, it aggregates all updates for its subset from other server groups and sends back (e.g., broadcast) the updated parameters back to all other server groups. The synchronization is conducted asynchronously. The synchronization is triggered as long as the network bandwidth is not fully utilized.
[1]J. Dean, G. Corrado, R. Monga, K. Chen, M. Devin, Q. V. Le, M. Z. Mao, M. Ranzato, A. W. Senior, P. A. Tucker, K. Yang, and A. Y. Ng. Large scale distributed deep networks. In NIPS, pages 1232{1240, 2012.

To run the distributed Hogwild framework, configure the cluster.conf as:
nworker_groups: 2
nserver_groups: 2
and start one process as,
./bin/singa-run.sh -model=... -cluster=...

and then start another process as,
./singa -model=... -cluster=...

Note that the two command are different! The first one will start the zookeeper.
TODO, create a script to start multiple processes.


tests/drivers/counter/counter_basic_api: allow equality in assert

Since introduction of #24374, test tests/drivers/counter/counter_basic_api  fails on STM32 boards.
Due to 1Hz frequency of RTC used, the 'diff' could be 0.
But then 'counter_us_to_ticks(dev, processing_limit_us)' is also 0.

Done


Update Datasette alternativeto listening with details

Hello,
I recently learned about Datasette from an old hackernews post. It seems like an awesome project and I actually have use case I might be trying out in the coming months.
Alas, to get a better understanding of your project I looked it up on alternativeto to see what it is similar too. I promise it's not spam, it's reputable enough to have a Wikipedia page. There was no listing on the website so I went ahead and created a listing that is now approved.
I encourage anyone who likes this project and hopes to spread the word to help update the listing by:

Adding to the list of software it compares to
Uploading screenshots
Writing a review
Adding "features"

I know this may seem spammy but I promise I have no affiliation with alternativeto I'm just a happy user and know it's a popular site for discovering software.
Here is the listing for datasette:
https://alternativeto.net/software/datasette/about/
Cheers

Thanks for doing this - I've used alternativeto.net a bunch in the past, it's great to see Datasette listed there.
This does raise some interesting philosophical questions: three years into the project I'm still not entirely sure what Datasette competes with! Could be SQLite desktop packages, could be visualization software like Tableau, could even be something like Airtable (given a few more plugins).
It will be interesting to see how the alternativeto listing evolves, maybe it will help me answer that question!


[RFC] Supports jsx file extensions

How do you envision this feature/change to look/work like?
Currently, background.ts, content.tsx and popup.tsx are the name conventions to create different type of pages. It would be great to also support background.js, content.js and popup.js.
What is the purpose of this change/feature? Why?
To support dev languages other than TypeScript, for example Flow or ReScript
(OPTIONAL) Example implementations
No response
(OPTIONAL) Contact Details
No response
Verify canary release

[X] I verified that the issue exists in plasmo canary release

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Thanks for the RFC! Would you like to spearhead this initiative? @pd4d10

Sure, I'll try to look into it

A couple challenges on top of my mind:

We will need to make sure the file extension auto-resolver for each ui library can recognize js files
We need to handle .js extension file generation. If we can be smart about how we handle the file path, we can just pass the path directly into the import statement?

Technically... you can just use Rescript or Flow in a separate bundling process and import your files into an entry file within Plasmo. It's an extra build step but it will allow you to use js/whatever you like in your extension. The key part that need to be ts and tsx are really the entry files. Try it out - you can import .js file in those entry files.

So a quick note from #363 - js extension doesn't work since we want to leverage the use UI libraries. jsx extension makes more sense since it indicate the use of template syntax.
For ReScript, see #367


macOS build error

λ brew list --versions |egrep '(cmake|ninja)'
cmake 3.28.1
ninja 1.11.1
(base)
awrit on  main via 🅒 base
λ xcodebuild -version
Xcode 15.2
Build version 15C500b

Please see https://github.com/chase/awrit/issues/27

I updated the readme to be more clear, but for now, try using xcodes to install and use Xcode 14.3 to build:
https://github.com/XcodesOrg/xcodes


Wrong results in Action Recognition task.

Hi!
I have tried Internvideo2-1B-clip in the action recognition task on K400 dataset, I try to use the model without the dataset class you designed.
So what I do in vision is catching 8 frames from video, transform it using test_transform, feed the processed clip into the vision encoder to get the 1x768 feature.
In text I just use the k400_categories.txt and kinetics_prompt you offered, after the text encoder it's 400x16x768 features.
Finally I get these two features in get_sim, and get a rank of the categories, but the result is very bad.
the answer is always not in the top5 choices, the model seems to randomly rank the categories.
I don't know if there is any wrong.
the model I use is chinese_alpaca_lora_7b, InternVideo2-stage2_1b-224p-f4.pt, internvl_c_13b_224px.pth, InternVideo2_CLIP_1B.pth.

I also don't use flashattn, deepspeed,fused_rmsnorm and fused_mlp, but I don't think it will influence the inference result.

Hi! Can you try to reproduce the results for some small dataset like UCF101? Thus you can check whether you have load the weights correctly.

@zhengrongz Would you kindly provide a code snipped about loading the model form a pth file? I am still struggling without and can not find a proper documentaion.

@zhengrongz , can you point out to the inference code script that you have used ?

^, please put a method to test the code, and make to make inferences, its very hard to reproduce the results.


--preserve-fds hangs podman

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description

Steps to reproduce the issue:

podman run --rm -it --name whatever busybox

New terminal: podman exec --preserve-fds=1 -ti whatever sh

Describe the results you received:
The podman exec command hangs for about two minutes, then exits with Error: container creation timeout: internal libpod error.  While exec hangs, the initial session is unresponsive as well, but it resumes afterwards.
Describe the results you expected:
podman exec enters the container without any hangs.
Additional information you deem important (e.g. issue happens only occasionally):
I believe this also breaks the container support of Gnome Builder.
Output of podman version:
podman version 1.5.1

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.7
  podman version: 1.5.1
host:
  BuildahVersion: 1.10.1
  Conmon:
    package: podman-1.5.1-3.fc30.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.0, commit: d728afa06cd2df86a27f32a4692c7099a56acc97-dirty'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree:<PHONE_NUMBER>2
  MemTotal:<PHONE_NUMBER>4
  OCIRuntime:
    package: runc-1.0.0-93.dev.gitb9b6cc6.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: e3b4c1108f7d1bf0d09ab612ea09927d9b59b4e3
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>2
  SwapTotal:<PHONE_NUMBER>2
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: podstation
  kernel: 5.2.13-200.fc30.x86_64
  os: linux
  rootless: true
  uptime: 16m 17.29s
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /var/home/poduser/.config/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: overlay
  GraphOptions:
  - overlay.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /var/home/poduser/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 5
  RunRoot: /run/user/1000
  VolumePath: /var/home/poduser/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.5.1-3.fc30.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora Silverblue 30:
● ostree://fedora:fedora/30/x86_64/silverblue
                   Version: 30.20190912.0 (2019-09-12T20:42:50Z)
                    Commit: 6eab3e7e6afb27f6c3271c85242d744cba11287b39c08484b68d64cf85c01f9f

Damn. Did we miss this one when we implemented conmon exec? @haircommander

I thought i implemented it but I forgot to verify it worked

Regression: this is back. I don't know if it's podman, conmon, runc, or something else:

tool
works
hangs

podman
1.7.0-3.fc30
1.8.0-4.fc30

conmon
2.0.2-1.fc30
2.0.13-1.fc30

runc
1.0.0-95.rc9.gitc1485a1.fc30
1.0.0-102.dev.gitdc9208a.fc30

Bizarrely, I dnf-upgraded the 'works' system to match all the versions in 'hangs' --- and everything still works. I know it's not just my systems because this is causing CI failures
Symptom:
# podman run --name test1 -d docker.io/library/alpine:latest top
39c9fd570fe7634acfd66140de740472ff611f7d6be6f302927fe38bdfc816ca
# podman exec --preserve-fds 1 test1 date
Sat Mar 28 14:55:36 UTC 2020
[hangs]

If I try a ^C - !! loop, sometimes it exits cleanly, sometimes it hangs with no output at all, but usually it just does the same thing: echo one line, hang.

oddly, the conmon version in that CI run is 2.0.3 (according to the podman info tests). I have also run
I ran manually, and wasn't able to hit it with conmon 2.0.13 and podman 1.7.0, so I think this has to do with the exec rework and not conmon

Thanks for looking, @haircommander. I've filed new issue #5666 and will close this one.


Unable to select text.

How do we select text in the terminal, in order to copy it? When I try, it does not select anything.

Please look around the open issues.
See https://github.com/platformio/platformio-atom-ide-terminal/issues/523#issuecomment-386700780
also this project is no longer developed.

@ivankravets this has been fixed in https://github.com/platformio/platformio-atom-ide-terminal/commit/ec07fd7d6f3ac0af22aa045be916de1b3ce043a0, please close.


Infinite refreshing icon

When you pull down to refresh, the refresh icon will stay displayed.

@jacobgonzales20 does it happen all the time?

@jacobgonzales20 does it happen all the time?

yes

@jacobgonzales20 ok i fixed it. Big update coming!

Fixed on version 1.10.0


WIP - Service limits action - formatting the request

Modifications:

Create a single case for each main service type while including all the sub service types in the same case
Include the current limit, current usage and new requested limit in the created request.
Replace the limit increase percentage with a quantifiable amount to be increased, depending on the current limit
Included the account ID # in the subject (currently when AWS responds, the emails will not carry the account name, making it difficult to locate the account in order to log in and close the relevant case once resolved).

e.g. Case
subject---  [Account:134135245324]Raise the following limit(s) of EBS in us-east-1
Please raise the below account limit(s);
Increase Active volumes by 1000 in us-east-1
Current Limit: 5000
Current Usage: 250
Set New Limit to: 6000
Increase Provisioned IOPS by 20000 in us-east-1
Current Limit: 100000
Current Usage: 21000
Set New Limit to: 120000

re ci failure you have a doc string issue thats causing a problem
Warning, treated as error:
/home/travis/build/capitalone/cloud-custodian/c7n/resources/account.py:docstring of c7n.resources.account.RequestLimitIncrease:22:Block quote ends without a blank line; unexpected unindent.
make[1]: *** [html] Error 1
make[1]: Leaving directory `/home/travis/build/capitalone/cloud-custodian'
make: *** [sphinx] Error 2
ERROR: InvocationError: '/usr/bin/make sphinx'```

for 2. i think we need a new option for this, we want to maintain backward compatibility, and reusing the percent-increase option as a not a percent is non-intuitive. adding a amount-increase as a delta value or resource-count as an absolute would be better.

WIP

Added new option to be enable to specify an exact value to be raised (either one of percent-increase or amount-increase can be used in the policy)

i almost feel like we want an additional option here, if your creating an account you want to be able to increase to a set number/value.. ie set this value to 2000, but this is probably workable even in that context.


tf.reduce_max returns wrong answers on large tensors e.g., (2048,2048,1024)

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
TensorFlow installed from (source or binary): docker run nvcr.io/nvidia/tensorflow:20.12-tf2-py3
TensorFlow version (use command below): 2.3.1
Python version: 3.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11
GPU model and memory: RTX 3090, 24GB

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
Computing the max of a large 3d matrix returns the incorrect answer
Describe the expected behavior
I would expect the value of the function to correct!
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
for i in range(12):
    n = 2**i
    x = np.arange(n*n*1024, dtype=np.float32).reshape((n,n,1024))
    print(x.shape, np.max(x), tf.reduce_max(x).numpy())

(1, 1, 1024) 1023.0 1023.0
(2, 2, 1024) 4095.0 4095.0
(4, 4, 1024) 16383.0 16383.0
(8, 8, 1024) 65535.0 65535.0
(16, 16, 1024) 262143.0 262143.0
(32, 32, 1024) 1048575.0 1048575.0
(64, 64, 1024) 4194303.0 4194303.0
(128, 128, 1024) 16777215.0 16777215.0
(256, 256, 1024) 67108864.0 67108864.0
(512, 512, 1024) 268435460.0 268435460.0
(1024, 1024, 1024)<PHONE_NUMBER>.0<PHONE_NUMBER>.0

(2048, 2048, 1024)<PHONE_NUMBER>.0 -3.4028235e+38

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

It seems there is a maximum size tensor after which tensorflow will give silently give incorrect results?
How can I avoid exceeding this limit or detect when this occurs?

It seems there is a maximum size tensor after which tensorflow will give silently give incorrect results?
How can I avoid exceeding this limit or detect when this occurs?

This seems to happen when the tensor input to reduce_max is greater than 4gb in size (in the case of tf.float32).
In [54]: tf_sector.device
Out[54]: '/job:localhost/replica:0/task:0/device:GPU:0'

In [55]: tf.reduce_max(tf_sector[:2**31])
Out[55]: <tf.Tensor: shape=(), dtype=float32, numpy=-3.4028235e+38>

In [56]: tf.reduce_max(tf_sector[:2**30])
Out[56]: <tf.Tensor: shape=(), dtype=float32, numpy=448851.8>

In [57]: np.max(sector_rct[:2**31])
Out[57]: 655147.94

In [58]: np.max(sector_rct[:2**30])
Out[58]: 448851.8

This seems to happen when the tensor input to reduce_max is greater than 4gb in size (in the case of tf.float32).
In [54]: tf_sector.device
Out[54]: '/job:localhost/replica:0/task:0/device:GPU:0'

In [55]: tf.reduce_max(tf_sector[:2**31])
Out[55]: <tf.Tensor: shape=(), dtype=float32, numpy=-3.4028235e+38>

In [56]: tf.reduce_max(tf_sector[:2**30])
Out[56]: <tf.Tensor: shape=(), dtype=float32, numpy=448851.8>

In [57]: np.max(sector_rct[:2**31])
Out[57]: 655147.94

In [58]: np.max(sector_rct[:2**30])
Out[58]: 448851.8

I tried the same thing in pytorch and it works correctly.
So I do not think this is a problem with my drivers, or the basic formulation of my setup.
In [14]: torch_sector = torch_sector.cuda()
In [15]: torch_sector.dtype
Out[15]: torch.float32
In [16]: torch_sector.device
Out[16]: device(type='cuda', index=0)
In [17]: torch_sector.max()
Out[17]: tensor(856689.3750, device='cuda:0')
In [18]: sector_rct.max()
Out[18]: 856689.4

I tried the same thing in pytorch and it works correctly.
So I do not think this is a problem with my drivers, or the basic formulation of my setup.
In [14]: torch_sector = torch_sector.cuda()
In [15]: torch_sector.dtype
Out[15]: torch.float32
In [16]: torch_sector.device
Out[16]: device(type='cuda', index=0)
In [17]: torch_sector.max()
Out[17]: tensor(856689.3750, device='cuda:0')
In [18]: sector_rct.max()
Out[18]: 856689.4

@varung,
Could you please update TensorFlow to the latest stable version v2.4.1 and check if you are facing the same issue. Thanks!

@varung,
Could you please update TensorFlow to the latest stable version v2.4.1 and check if you are facing the same issue. Thanks!

I tested on tf_nightly_version:
2.5.0-dev20210122
tf.reduce_max seems to only process the first 2**30 entries of the tensor, ignoring the remainder.

I tested on tf_nightly_version:
2.5.0-dev20210122
tf.reduce_max seems to only process the first 2**30 entries of the tensor, ignoring the remainder.

import numpy as np
import numpy as np

flat = np.zeros((2,2**30), dtype=np.float32)
flat[1] = 1
flat = flat.reshape(-1)
print("numpy_cpu", flat.shape, np.max(flat), np.max(flat[:2**30]))
if True:
    import tensorflow as tf
    print(tf.version.VERSION)
    tf_flat = tf.identity(flat)
    print(tf_flat.device, tf_flat.shape, tf.reduce_max(tf_flat), tf.reduce_max(tf_flat[:2**30]))
else:
    import torch
    torch_flat = torch.from_numpy(flat).cuda()
    print(torch_flat.device, torch_flat.shape, torch.max(torch_flat), torch.max(torch_flat[:2**30]))

python tf_error_case.py >> output.txt
If I run with Tensorflow:
2.5.0-dev20210122
numpy_cpu<PHONE_NUMBER>,) 1.0 0.0
/job:localhost/replica:0/task:0/device:GPU:0<PHONE_NUMBER>,) tf.Tensor(-3.4028235e+38, shape=(), dtype=float32) tf.Tensor(0.0, shape=(), dtype=float32)

If I flip the True to False to run with Torch:
numpy_cpu<PHONE_NUMBER>,) 1.0 0.0
cuda:0 torch.Size([2147483648]) tensor(1., device='cuda:0') tensor(0., device='cuda:0')

import numpy as np
import numpy as np

flat = np.zeros((2,2**30), dtype=np.float32)
flat[1] = 1
flat = flat.reshape(-1)
print("numpy_cpu", flat.shape, np.max(flat), np.max(flat[:2**30]))
if True:
    import tensorflow as tf
    print(tf.version.VERSION)
    tf_flat = tf.identity(flat)
    print(tf_flat.device, tf_flat.shape, tf.reduce_max(tf_flat), tf.reduce_max(tf_flat[:2**30]))
else:
    import torch
    torch_flat = torch.from_numpy(flat).cuda()
    print(torch_flat.device, torch_flat.shape, torch.max(torch_flat), torch.max(torch_flat[:2**30]))

python tf_error_case.py >> output.txt
If I run with Tensorflow:
2.5.0-dev20210122
numpy_cpu<PHONE_NUMBER>,) 1.0 0.0
/job:localhost/replica:0/task:0/device:GPU:0<PHONE_NUMBER>,) tf.Tensor(-3.4028235e+38, shape=(), dtype=float32) tf.Tensor(0.0, shape=(), dtype=float32)

If I flip the True to False to run with Torch:
numpy_cpu<PHONE_NUMBER>,) 1.0 0.0
cuda:0 torch.Size([2147483648]) tensor(1., device='cuda:0') tensor(0., device='cuda:0')

Sorry, I don't have time to try this on 2.4, but, since an extremely recent nightly version has the bug, there is still something to fix here.

Sorry, I don't have time to try this on 2.4, but, since an extremely recent nightly version has the bug, there is still something to fix here.

Ok! It turns out this minimal version was easy enough to test on colab.
https://colab.research.google.com/drive/1-A0fWC9U2Dlt8FvzVVeFb8l1TY360EiU?usp=sharing

Ok! It turns out this minimal version was easy enough to test on colab.
https://colab.research.google.com/drive/1-A0fWC9U2Dlt8FvzVVeFb8l1TY360EiU?usp=sharing

Related to https://github.com/NVIDIA/cub/issues/212.  TensorFlow invokes NVIDIA's cub library for scalar reduction. However, it so far only supports 32 bits indexing. In your case, 2 ** 31 > std::numeric_limits<int>::max() and overflow to -2147483648, which means num_items to be reduced becomes negative or 0. Therefore, there is no reduction happending, and returns minimum float32 (-3.4028235E+38).
https://github.com/tensorflow/tensorflow/blob/79715317b315feb1687e83cccc76fe78f199ed0e/tensorflow/core/kernels/reduction_gpu_kernels.cu.h#L697-L698
https://github.com/NVIDIA/cub/blob/8128ac8489e0f2d3dd82425bac24020367f72fe8/cub/device/device_reduce.cuh#L153

Related to https://github.com/NVIDIA/cub/issues/212.  TensorFlow invokes NVIDIA's cub library for scalar reduction. However, it so far only supports 32 bits indexing. In your case, 2 ** 31 > std::numeric_limits<int>::max() and overflow to -2147483648, which means num_items to be reduced becomes negative or 0. Therefore, there is no reduction happending, and returns minimum float32 (-3.4028235E+38).
https://github.com/tensorflow/tensorflow/blob/79715317b315feb1687e83cccc76fe78f199ed0e/tensorflow/core/kernels/reduction_gpu_kernels.cu.h#L697-L698
https://github.com/NVIDIA/cub/blob/8128ac8489e0f2d3dd82425bac24020367f72fe8/cub/device/device_reduce.cuh#L153

ah. How does pytorch do it? Since it seems to work correctly there.

ah. How does pytorch do it? Since it seems to work correctly there.

Pytorch instead uses its own CUDA kernel.
https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Reduce.cuh

Pytorch instead uses its own CUDA kernel.
https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/cuda/Reduce.cuh

Is there a workaround for this?

Is there a workaround for this?

renamed it back to "wrong answers", because it seems to depend on the precise roll over of the integer type. For instance, numbers > 2**32 would roll over again, may result in arbitrary undetectable answers.

renamed it back to "wrong answers", because it seems to depend on the precise roll over of the integer type. For instance, numbers > 2**32 would roll over again, may result in arbitrary undetectable answers.

@amahendrakar this is not just v2.3, it is also v2.4 and v2.5

@amahendrakar this is not just v2.3, it is also v2.4 and v2.5

Colab session crashes on running the code with TF v2.3, TF v2.4 and TF-nightly. Please find the gist of it here. Thanks!

Colab session crashes on running the code with TF v2.3, TF v2.4 and TF-nightly. Please find the gist of it here. Thanks!

Colab session crashes on running the code with TF v2.5,please find the gist here..Thanks !

@sushreebarsa That crash is probably not the issue that's reported here.  The colab is crashing because it is running out of memory on an older GPU.  The bug reported here manifests when reducing large tensors, which will only fit in newer GPUs that have more than 16G of memory.
My initial hunch is that address arithmetic is going wrong somewhere; TF uses 32bit indices in many places which will overflow with large tensors.
@varung Are you running into this issue in realistic situations, or is this more of a theoretical concern at the moment?

Yes I am running into it on a real situation on a RTX 3090. I'm switched to pytorch instead which does not have the error.

i also meet the error in tf2.11, do you have any   @sanjoy @WindQAQ @tensorflowbutler


[SPARK-38997][SPARK-39037][SQL][FOLLOWUP] PushableColumnWithoutNestedColumn need be translated to predicate too

What changes were proposed in this pull request?
https://github.com/apache/spark/pull/35768 assume the expression in And, Or and Not must be predicate.
https://github.com/apache/spark/pull/36370 and https://github.com/apache/spark/pull/36325 supported push down expressions in GROUP BY and ORDER BY. But the children of And, Or and Not can be FieldReference.column(name).
FieldReference.column(name) is not a predicate, so the assert may fail.
Why are the changes needed?
This PR fix the bug for PushableColumnWithoutNestedColumn.
Does this PR introduce any user-facing change?
'Yes'.
Let the push-down framework more correctly.
How was this patch tested?
New tests

ping @huaxingao cc @cloud-fan

thanks, merging to master/3.3!

@cloud-fan @huaxingao Thank you for the review.


feat: Support ACK response via SlackCommandEventResponse

Slack supports 'ACK' response type, which does not return any message to the user. SlackCommandEventResponse and their SlackMessageContent was required to return a response, even if I want to return only ACK.
Also Slack returned a '{}' as a message to the user since the server responses '{}' with Content-Type: application/json header.
This pull request fixes the behaviour of ACK responses, handling them as a really empty response with only 200 OK status when command_service_fn returned None. They returned Some or SlackCommandEventResponse itself, it will be handled as normally as before.
It is documented about ACK responses in: https://api.slack.com/interactivity/slash-commands#responding_to_commands .

Interesting, I was trying to send empty messages a few years ago and it didn't work that time. Probably now they are more tolerant or I messed up with my previous experiments.

And thanks for the efforts for avoiding breaking changes 🏆


Typescript Support

Hey! Recently discovered the project. Really great stuff!
I was wondering if there is any plan to add TS support the project.

As of now no, reason - soon react-table v8 will be coming which is in all TS, making this project deprecated.


send a quit when the app quits

i'm guessing it currently does like a [quit] Remote host closed the connection
some apps seem to [quit] here's an ad for my IRC client so we could do that

I will want to work on this since it seems to be quiet a good beginner issue for somebody who hasn't previously been working with Electron before 🥂


'smartcase' should be optional

I actually find the default behavior of * or # to ignore 'smartcase' more useful in practice, which certainly varies from person to person. Could you provide an option to ignore 'smartcase'?

I agree with you. I'll implement it.

Bump? Like, more than two years have passed already... :)


Added runtime chart style editor

Added a new class to edit properties of a chart: ChartStylePanel.java

Uses reflection to find all properties of the chart & styler
Uses a table to display & edit the properties of the chart
When a property is edited the chart is redrawn
Demonstrates runtime tweaking of chart properties (maybe issue #131?)

Added a new class that extends XChart demo & integrates the style editor: XChartStyleDemo

That's really cool. Thanks!

This panel can be extended with a text area that has the new style code that has changed. Eg:
chart.setTitle("AreaChart01323);
chart.getStyler().setLedengPosition(LegendPosition.InsideNE);

This can be done in line 238. But we need some constructor code for some of the objects.
Just a quick note, while refactoring (axis alignment => axis group position) you forgot to change get method  name. It is currenly getYAxisAlignment where as the setter is setYAaxisGroupPosition. If you change that method name you should also change hardcoded value in ChartStylePanel.java at line 553.

Thanks. I like the text box idea. I fixed the refactored name like you suggested.

That's great stuff. Any reason not to include it in the "main" demo app?
Or at least advertise it in the README.md?
Otherwise it's hard to find this gem.

We could "promote" it to the same directory as the main demo and write about it in the demo if you think it's valuable. I personally haven't used it too much, but I'm happy if it helps devs like yourself be more effective!

-> #566


Add automatic certificate renewal with lego

Simplifies certificate management on the Cantus DB production server. Removes the use of certbot for certificate renewal and introduces lego.

Removes constantly-restarting certbot container and associate cron job.
Intalls lego in the nginx container, removing need for certificate renewal process to touch multiple containers.
Updates timing of certificate renewal in cron job (Thinking: we can check for renewal once-per-month and only renew if certificate expires within 45 days).

@ahankinson This introduces lego for certificate management and reduces the need for additional containers just for certificate management. What do you think?

If staging is set-up with a host name, then we could test once it makes it's way there. On production, we'll want to test and make sure to re-register the cron job. On both, we'll want to make sure to get rid of the existing certbot containers. But nothing standing in our way of merging the code, I don't think.

If staging is set-up with a host name, then...

is http://staging.cantusdatabase.org sufficient as a host name?

Don’t forget that the path to your certificates will change in your nginx conf…

Don’t forget that the path to your certificates will change in your nginx conf…

You're right...that should be changed in the codebase. I'll take care of it.

Don’t forget that the path to your certificates will change in your nginx conf…

You're right...that should be changed in the codebase. I'll take care of it.

Going to mark this PR as a draft until this is complete, to prevent accidental merging. Thanks @ahankinson, @dchiller!

I just updated the --path option for the lego renew command in cron.txt to match roughly where we are currently storing certificates...however, I can't figure out what lego names the certificate files (and a way to pass a custom name looks like it is deprecated), nor can I verify if/what subdirectories are created as part of the process.
I propose we merge now, and when we update staging, we get a certificate for staging, determine the filenames, and come back to make changes through a new PR at that point.

I propose we merge now, and when we update staging, we get a certificate for staging, determine the filenames, and come back to make changes through a new PR at that point.

I'll put this change up on staging now.

I'll put this change up on staging now.

Thanks! Happy to help troubleshoot if anything comes up.


Updating Matlab nomenclature for standardisation

Might update further once crosscheck can run

Can you pull from origin so we can make sure the tests are passing?


Launching Championify causes it to spawn mulitple processes of itself

I believe it has to do with the fact that there's a new update for Championify? It attempts to download it and then it creates more and more processes of itself (recursively?).
Manually installing the latest version over the previous results in the application working.
I'm running Windows 10 for what it's worth.

This is a problem I've had a hard time recreating. It has something to do with incorrect permissions on the Windows system if I'm right. Could you mention what AV you have installed as well, please?

I have Panda AV but there's some weird bug I've got where it thinks it's disabled.
Could you elaborate a bit more about what you think is the problem and what might cause it. I was opening with administrative privileges so it in theory has executable permissions.

Also, I can try again with 1.3.5 after work today.

The current (and a tad dirty) implementation for updating Championify on Windows is executing a batch script that moves files and then restarts the app. The correct permissions are verified before hand, and I have a feeling the script believes it has the correct permissions, reboots, doesn't have them and tries over and over to get them again.

That might be it. It does spawn a cmd window and attempts to run something. It seems like it fails and then tries again.

I've planned to write a very small Go application that I can build for OSX and Windows that'll handle updating Championify files, but haven't found the time to do it yet.

Imgur Link
It very much reminds me of a forkbomb... This happened while trying to update to 1.3.5 from 1.3.4.

I have the same problem right now and I have no idea how to fix it, any ideas? :C

@Radifog https://github.com/dustinblackman/Championify/blob/master/FAQ.md#the-app-opens-with-a-white-box-infinite-loops-i-just-see-the-background-or-nothing-happens

@dustinblackman Aw damn, I got over that! Thanks a lot for the reply and for the help, I will try to fix it. Have a nice one! c:

Fixed in 2.0.0


ZG wrong date for 2020-06-08

The CSV of ZG has todays data with the wrong date (2020-02-08). I'll disable the scraper until the source CSV is fixed.

Problem should be resolved. I fixed the source.


docs(auth): clarify anonymous auth

Description
When you sign-out of an anonymous auth account, the account details are wiped from the device/browser and can't be reclaimed.
Context: https://stackoverflow.com/q/65158467
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Thanks @puf for the PR ✨
I have confirmed with the below snippet on Web, iOS & Android that UID indeed is different after every signOut & signInAnonymously, so I'm not sure where this came from originally 🙈
  await Firebase.initializeApp();
  if (FirebaseAuth.instance.currentUser != null) {
    await FirebaseAuth.instance.signOut();
  }
  await FirebaseAuth.instance.signInAnonymously();
  print('1: ${FirebaseAuth.instance.currentUser.uid}');
  await FirebaseAuth.instance.signOut();
  await FirebaseAuth.instance.signInAnonymously();
  print('2: ${FirebaseAuth.instance.currentUser.uid}');

Thanks for the quick merge Mike!
On Sun, Dec 6, 2020 at 11:48 AM Mike Diarmid<EMAIL_ADDRESS>wrote:

Merged #4336 https://github.com/FirebaseExtended/flutterfire/pull/4336
into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/pull/4336#event-4076939053,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG7BXZHSVXN3PVIDX2YM7DSTPNYBANCNFSM4UOTYBQA
.


The app gets stuck forever when waiting for Core.Initialize

Hey,
I went through all the setups on the oculus dev console and did all the setup for the photon. A few days ago, it was working ok, but now it gets stuck when it calls  await Core.AsyncInitialize().Gen() seems like it never returns that call. I tried building it and adding a few debug log lines, but still, it gets stuck at that line. Any solutions? Could it be an issue with Oculus servers, or is it something else?
Thanks.

All of the sudden, it started to work. Probably some issue with servers or networking.


[Feature] Applying CSS snippets through codeblocks.

Is your feature request related to a problem? Please describe.
No.
Describe the feature you'd like
A toggleable option in BBD settings which adds a button to codeblocks. This button when clicked will automatically append the content of said codeblock below the users custom CSS effectively applying the snippet.
Additional context
Quick mockup, could be changed, ie moved to a context menu or in the actions box or minimized into an icon until it's hovered.

probably not the best to integrate straight into the client


No stdout with wfreerdp.exe windows

When connecting using wfreerdp.exe there is no output to stdout, no matter if the connection is successful or not your prompt will return without giving you any output.
I am using wfreerdp.exe from
https://ci.freerdp.com/job/freerdp-nightly-windows/arch=win64,label=windows/lastSuccessfulBuild/artifact/build/wfreerdp.exe

@mkrusen Windows detaches started GUI applications from the terminal. https://stackoverflow.com/questions/54536/win32-gui-app-that-writes-usage-text-to-stdout-when-invoked-as-app-exe-help has quite a good explanation. If you require the logging output, configure WLog to write to a file or modify the windows startup code to create the process without DETACHED_PROCESS flag.

We can close this one I think, @akallabeth ?

@hardening agree.


Missing specification for Parameter values

Although examples are given for some valid parameter values, no spec is given for each parameter type.
Questions include:

For IsLengthRange methods, are both Minimum and Maximum required? (If you want no max, just use a huge Maximum value?) Is a Minimum of zero allowed?
For CharacterSet, is it defined as a regex Character Class specification?
For IsDateRange, what are the allowed date syntaxes? Is it only "YYYY-MM-DD?" "Today" seems to be a special value - are there any others? Are minimum and maximum both required?

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

ID: e08541b0-1458-2764-0a1c-d78301c01e93
Version Independent ID: 421d276b-2f52-5372-5978-124b77b162cc
Content: Predicates and PredicateValidations - Azure AD B2C
Content Source: articles/active-directory-b2c/predicates.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@dotnetgator Thanks for the feedback! We are currently investigating and will update you shortly.

@dotnetgator Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.
@mmacy can you please help adding some information around the ask.

@yoelhor Another one we're looking for details on.


Do not group accessors having rbs-inline annotations in Style/AccessorGrouping

rbs-inline is a utility to embed RBS type declarations into Ruby code as comments.
This avoids to group accessors having rbs-inline annotation comments in Style/AccessorGrouping.
refs: https://github.com/soutaro/rbs-inline/wiki/Syntax-guide

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic Thank you for the quick and exact review!

Seems like a reasonable change. Thanks!


Keeps hanging: TypeError: fetch failed     at node:internal/deps/undici/undici:13392:13

Type: Bug
Chat keeps failing. See "Sorry, your request failed. Please try again. Request id: e06234e0-3530-440a-8f5b-550713d60e33". Logs show errors like:
2024-12-17 18:40:47.280 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:763:5811)
    at Mat (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:2212:5824)
    at OO.fetchMany (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:2213:1912)
    at OO.fetchOne (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:2213:959)
    at Hw.fetchConversationResponse (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:1072:22350)
    at Hw.getResult (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:1072:20348)
    at wD.getResult (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:1075:8718)
    at o$.y (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.1/dist/extension.js:2212:1764)
    at fh.$invokeAgent (file:///nail/home/evanm/.vscode-server/cli/servers/Stable-138f619c86f1199955d53b4166bef66ef252935c/server/out/vs/workbench/api/node/extensionHostProcess.js:138:46609): Error on conversation request

Extension version: 0.23.1
VS Code version: Code 1.96.0 (Universal) (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Darwin arm64 23.6.0
Modes:
Remote OS version: Linux x64 6.2.0-1016-aws

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
3, 4, 4

Memory (System)
16.00GB (0.07GB free)

Screen Reader
no

VM
0%

Connection to 'SSH: dev' could not be established  Canceled
Connection to 'SSH: dev' could not be established  Canceled

Item
Value

Remote
SSH: dev

OS
Linux x64 6.2.0-1016-aws

CPUs
Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz (32 x 0)

Memory (System)
247.74GB (197.32GB free)

VM
0%

Connection to 'SSH: dev' could not be established  Canceled

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

Can you do F1 -> GitHub Copilot Chat Diagnostics and attach that output

GitHub Copilot Chat

Extension Version: 0.23.1 (prod)
VS Code: vscode/1.96.0
OS: Linux
Remote Name: ssh-remote

Network
User Settings:
  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": false,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:

DNS ipv4 Lookup: timed out after 10 seconds
DNS ipv6 Lookup: timed out after 10 seconds
Proxy URL: None (1 ms)
Electron fetch: Unavailable
Node.js https: timed out after 10 seconds
Node.js fetch (configured): timed out after 10 seconds
Helix fetch: timed out after 10 seconds

Connecting to https://api.business.githubcopilot.com/_ping:

DNS ipv4 Lookup: timed out after 10 seconds
DNS ipv6 Lookup: timed out after 10 seconds
Proxy URL: None (0 ms)
Electron fetch: Unavailable
Node.js https: timed out after 10 seconds
Node.js fetch (configured): timed out after 10 seconds
Helix fetch: timed out after 10 seconds

Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.

Please append the Copilot Chat and the Remote Extension Host log from when this happens. (F1 > Output: Show Output Channels... > GitHub Copilot Chat / Remote Extension Host)
Have you tried updating WSL as suggested in the discussion you linked to?

@chrmarti correct.  WSL should not apply, but I do think it is a possible clue.  Are you able to confirm the remote Linux machine has been updated?

Missed that you're not on Windows. Could you try adding the following to your user settings (F1 > Preferences: Open User Settings (JSON)):
"github.copilot.advanced.debug.useNodeFetcher": true

Then reload VS Code and retry.

update: I rebooted the remote linux host, and so far, copilot + chat are working again  🎉
wish I had tried that earlier  😊   appreciate the help y'all provided.
If I start having trouble again, I will try useNodeFetcher as you recommend @chrmarti  and report back.

I'm experiencing the same issue. It appears related to VS Code's extension server. Whenever Copilot malfunctions, I also encounter problems launching the Python debugger. I've tried clearing VS Code's cache, uninstalling and reinstalling all extensions, and even reinstalling VS Code itself. Unfortunately, nothing has resolved the problem.
System Information
Apple M3 Max (16 x 2400)
Load (avg)	3, 3, 3
Memory (System)	128.00GB (85.95GB free)
Extensions
copilot v1.253.0
copilot-chat v0.23.2
debugpy	v2024.14.0
python	v2024.22.0
vscode-pylance v2024.12.1
datawrangler	v1.14.0
wolfram	v2.0.0
Here's Copilot's diagnostic report:
GitHub Copilot Chat

Extension Version: 0.23.2 (prod)
VS Code: vscode/1.96.1
OS: Mac

Network
User Settings:
  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": true,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:

DNS ipv4 Lookup: timed out after 10 seconds
DNS ipv6 Lookup: timed out after 10 seconds
Proxy URL: None (5 ms)
Electron fetch (configured): HTTP 200 (61 ms)
Node.js https: timed out after 10 seconds
Node.js fetch: timed out after 10 seconds
Helix fetch: timed out after 10 seconds

Connecting to https://api.individual.githubcopilot.com/_ping:

DNS ipv4 Lookup: timed out after 10 seconds
DNS ipv6 Lookup: timed out after 10 seconds
Proxy URL: None (9 ms)
Electron fetch (configured): HTTP 200 (105 ms)
Node.js https: timed out after 10 seconds
Node.js fetch: timed out after 10 seconds
Helix fetch: timed out after 10 seconds

Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.
I have no network issues or whatsoever.

I'm sad to report it's happening again to me.

@ahmadomira Since you mention SCM: There is an issue in the Python extension that seems to affect SCM. Could you try without the Python extension or update to its latest pre-release version that has a fix to check if that affects this issue? (https://github.com/microsoft/vscode-python/pull/24611)

Hi @chrmarti,
Updating the Python extension to the latest pre-release version (microsoft/vscode-python#24611) appears to have fixed all issues immediately. Copilot, SCM, and the Python debugger are all working correctly. I've been using it for a couple of hours without encountering any problems. Thank you!

@etmoore Could you try the same? The timeouts you are seeing in the diagnostics suggest this might be the same problem.

@chrmarti :(  switched to Python plugin pre-release version, but unfortunately did not fix the issue.  Still seeing the same error:

2024-12-23 09:01:34.581 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:454:9)
    at ek._fetch (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at Mat (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2212:5858)
    at OO.fetchMany (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2213:1912)
    at CD.detectIntent (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:1072:27728)
    at wD.selectIntent (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:1075:10638)
    at wD.getResult (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:1075:8080)
    at o$.y (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2212:1798)
    at fh.$invokeAgent (file:///nail/home/evanm/.vscode-server/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/server/out/vs/workbench/api/node/extensionHostProcess.js:138:46609): Error on conversation request
2024-12-23 09:02:08.662 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at Mat (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2212:5858)
    at OO.fetchMany (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:2213:1912)
    at CD.detectIntent (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:1072:27728)
    at CD.provideParticipantDetection (/nail/home/evanm/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:1072:26566): Error on conversation request

@chrmarti Same problem here. I tried the pre-release Python extension, but the problem was not solved. I also tried disabling all extensions except Copilot, but the problem was not solved.
I think this problem may be related to the proxy. Copilot did not use the proxy correctly.，I used SSH connect to a remote machine, it is network-isolated and can only access the network through a proxy, and I set env http_proxy and https_proxy.
I tested my connection according to https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-network-errors-for-github-copilot#diagnosing-network-issues.
curl use my proxy, no error. My proxy is correct and can connect to Copilot.
curl --verbose https://copilot-proxy.githubusercontent.com/_ping

* Uses proxy env variable https_proxy == 'http://<IP_ADDRESS>:7892'
*   Trying <IP_ADDRESS>:7892...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 7892 (#0)
* allocate connect buffer
* Establish HTTP proxy tunnel to copilot-proxy.githubusercontent.com:443
> CONNECT copilot-proxy.githubusercontent.com:443 HTTP/1.1
> Host: copilot-proxy.githubusercontent.com:443
> User-Agent: curl/7.87.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 Connection established
<
* CONNECT phase completed
* CONNECT tunnel established, response 200
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /opt/anaconda3/ssl/cacert.pem
*  CApath: /usr/lib/ssl/certs
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):

* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, CERT verify (15):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Finished (20):
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=*.githubusercontent.com
*  start date: Jun 20 00:00:00 2024 GMT
*  expire date: Jun 19 23:59:59 2025 GMT
*  subjectAltName: host "copilot-proxy.githubusercontent.com" matched cert's "*.githubusercontent.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /_ping]
* h2h3 [:scheme: https]
* h2h3 [:authority: copilot-proxy.githubusercontent.com]
* h2h3 [user-agent: curl/7.87.0]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x9e23b0)
> GET /_ping HTTP/2
> Host: copilot-proxy.githubusercontent.com
> user-agent: curl/7.87.0
> accept: */*
>
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 200
< content-security-policy: default-src 'none'; sandbox
< content-type: application/json
< strict-transport-security: max-age=31536000
< content-length: 48
< date: Thu, 26 Dec 2024 08:44:45 GMT
< x-github-backend: Kubernetes
< x-github-request-id: 35D3:1379B9:5E540C:605FCC:676D177D
<
{"now":1735202685,"status":"ok","ns1":"200 OK"}
* Connection #0 to host <IP_ADDRESS> left intact

But when I try GitHub Copilot Chat Diagnostics and attach that output
## GitHub Copilot Chat

- Extension Version: 0.23.2 (prod)
- VS Code: vscode/1.96.2
- OS: Linux
- Remote Name: ssh-remote

## Network

User Settings:

  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": false,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:
- DNS ipv4 Lookup: Error (6160 ms): getaddrinfo EAI_AGAIN api.github.com
- DNS ipv6 Lookup: timed out after 10 seconds
- Proxy URL: None (1 ms)
- Electron fetch: Unavailable
- Node.js https: Error (6949 ms): getaddrinfo EAI_AGAIN api.github.com
- Node.js fetch (configured): timed out after 10 seconds
- Helix fetch: timed out after 10 seconds

Connecting to https://api.githubcopilot.com/_ping:
- DNS ipv4 Lookup: timed out after 10 seconds
- DNS ipv6 Lookup: timed out after 10 seconds
- Proxy URL: None (0 ms)
- Electron fetch: Unavailable
- Node.js https: timed out after 10 seconds
- Node.js fetch (configured): timed out after 10 seconds
- Helix fetch: timed out after 10 seconds

## Documentation

In corporate networks: [Troubleshooting firewall settings for GitHub Copilot](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-firewall-settings-for-github-copilot).

with "github.copilot.advanced.debug.useNodeFetcher": true
## GitHub Copilot Chat

- Extension Version: 0.23.2 (prod)
- VS Code: vscode/1.96.2
- OS: Linux
- Remote Name: ssh-remote

## Network

User Settings:

  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": true,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:
- DNS ipv4 Lookup: timed out after 10 seconds
- DNS ipv6 Lookup: timed out after 10 seconds
- Proxy URL: None (1 ms)
- Electron fetch: Unavailable
- Node.js https (configured): timed out after 10 seconds
- Node.js fetch: timed out after 10 seconds
- Helix fetch: timed out after 10 seconds

Connecting to https://api.githubcopilot.com/_ping:
- DNS ipv4 Lookup: timed out after 10 seconds
- DNS ipv6 Lookup: timed out after 10 seconds
- Proxy URL: None (0 ms)
- Electron fetch: Unavailable
- Node.js https (configured): timed out after 10 seconds
- Node.js fetch: timed out after 10 seconds
- Helix fetch: timed out after 10 seconds

## Documentation

In corporate networks: [Troubleshooting firewall settings for GitHub Copilot](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-firewall-settings-for-github-copilot).

If more information is required, please do tell me! I earnestly hope this problem can be resolved properly and satisfactorily! 😊


Modify How Principal Sub-Organization's are Displayed

When a principal organization has subordinate organizations, modify how the subordinate organizations are displayed in the parent organization's page.
Current Display
The colloquial organization name (organizations.shortName) and unit code (organizations.code) are displayed.  The two pieces of data are bunched together without separation or white space.  The information is difficult to read.
Proposed Display
Display the official organization name (organizations.longName) in one column.  Display the unit code in a second column.
The principal organization name that has common understanding amongst all users should be displayed as the subordinate organization instead of a local name.

@midmarch @gjvoosten @cemalettin-simsoft
This is still a valid requirement.
Only the principal's shortName and identificationCode should be displayed.  The longName (aka the description) should not be displayed.


Doesn't actually say how to change the framework.

Also the error message says „NU1201: Project  is not compatible with net40“ but I don't us net40. Both frameworks are <TargetFramework>net461</TargetFramework> and I nave no idea where the net40 comes from.

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

ID: 64341f8e-3f83-a6f2-f100-5bab3c6e6c77
Version Independent ID: bf00b11d-1dcc-45c4-fbf8-929305fe49c6
Content: NuGet Error NU1201
Content Source: docs/reference/errors-and-warnings/NU1201.md
Product: nuget
GitHub Login: @zhili1208
Microsoft Alias: lzhi

See https://docs.microsoft.com/en-us/visualstudio/ide/visual-studio-multi-targeting-overview for more information on targeting different frameworks.
The error is mentioning that there is a mismatch between the package and the project. We would need more information to help out further, but this channel is for product feedback and not for support. Please see https://github.com/NuGet/Home/wiki/Submitting-Bugs-and-Suggestions#before-submitting-an-issue with instructions on where to get support using NuGet.


https!  Need it ASAP

Done!

Specifically we already support https, the link in the repo was just to http: and I changed it to https:
:shipit:


Add more posts authors

For now we have only one admin: Jane Doe. Latest posts with more than one author look more naturally.

Why not just use https://github.com/nelmio/alice.
It would alleviate the code above and make it all more understandable.

I wouldn't add the Alice bundle for such a simple demo application as this one. We want to showcase the main Symfony features ... but not turn this into a too large and too slow app.

It took me a long time, but this is finally merged! Thanks voronkovich


OSError: [Errno 22] Invalid argument

Hi Andrew,
First thank you for your great youtube content. Love the way you teach.
I however encountered a problem after downloading and using your docker setup. When I run docker-compose up -d --build
all is pulled from DockerHub and I was able to install Laravel following your instructions without any problem.
The problem begins when I run docker-compose down and then docker-compose up -d --build again. This does not work anymore giving the following error:
Building php
Traceback (most recent call last):
  File "site-packages\docker\utils\build.py", line 96, in create_archive
OSError: [Errno 22] Invalid argument: '\\\\?\\D:\\code\\docker-compose-laravel\\src\\vendor\\bin\\carbon'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose\cli\main.py", line 67, in main
  File "compose\cli\main.py", line 126, in perform_command
  File "compose\cli\main.py", line 1070, in up
  File "compose\cli\main.py", line 1066, in up
  File "compose\project.py", line 615, in up
  File "compose\service.py", line 346, in ensure_image_exists
  File "compose\service.py", line 1125, in build
  File "site-packages\docker\api\build.py", line 160, in build
  File "site-packages\docker\utils\build.py", line 31, in tar
  File "site-packages\docker\utils\build.py", line 100, in create_archive
OSError: Can not read file in context: \\?\D:\code\docker-compose-laravel\src\vendor\bin\carbon
[10928] Failed to execute script docker-compose

I do not know how to remedy this and cannot find a solution on the internet.
I am running the latest Docker Desktop on Windows 10.
Thanks,
Rob

I also hit this issue on Windows 10 with the same package.
I created a .dockerignore file and added in src/vendor/, seemed to solve it for me. Looks to be something path related in Windows. Not sure exactly, but ignoring the vendor directory should prevent this error.


getComputedStyle not working in IE8

On line 94 eq.js uses getComputedStyle which doesn't exist in IE8 and I haven't seen any mention about it in the docs. Do we need to supply a polyfill for that function for IE8 or is it a bug?

Whoops, I totally didn't think of IE8 when I wrote the CSS stuff. I need to fix that.


[Teams] Adding image or link to card duplicates the answer

Teams connector duplicates the answer  when we add a Image or a Link in the demo interface!
I try it in Test Interface and in Teams convesations but it's the same problem.

Hello @Haitamchaoui I cannot reproduce on the demo platform (screenshot attached).
Could you show the configuration of your story / card?


Revisit DISTANCE_TIMEOUT for proxies that stop reporting adverts, and sudden departures.

Raised in particular consideration of Shelly's that might be dropping out or not reporting adverts for upwards of 30 seconds.
DEVTRACKER_TIMEOUT only applies to device_tracker entities, and since departure on those is typically less latency-sensitive, a simple timeout up to or beyond 180 seconds is typically adequate for dealing with advert gaps (and especially since we can get a perfectly valid Home indication from any proxy).
However, the simplistic Area detection is using the filtered rssi_distance, which currently uses the hard-coded default DISTANCE_TIMEOUT of 30 seconds to persist a "valid" measurement for 30 seconds after a proxy stops reporting that device.
Smoothing/filtering is still done over that time, so if the last report happened to be more distant than the one before, the smoothed value will approach that latest reading over the 30 seconds.
This works ok-ish when a proxy gets a weak advert as the device leaves the area, but can make the area "too sticky" if the device leaves quickly enough that the proxy doesn't hear any distant adverts - the stale "close" reading prevents another proxy from winning the device until it gets closer to that proxy than it was to the old one, at least for the next 30 seconds.
For users with misbehaving proxies that go offline for long periods, it would be helpful to be able to increase DISTANCE_TIMEOUT to compensate for longer reporting delays, although the core issue is probably with the proxy or its backhaul (wifi).
Revisit the logic, as it adds more latency than it should (when proxies are behaving well), but shortening it will make proxy drop-outs more annoying.
Perhaps have it assume the device left at peak velocity, and assume increasing distances on that basis, which might still give time for a slow/delayed/rebooting proxy to reclaim the device before it switches, but will also allow other proxies to "win" sooner if they are starting to see closer readings.
The above only applies to the simplistic area matching we do currently, for trilateration we should be able to weight the reading with decreasing confidence as the reading ages. I think.

This absolute mess, believe it or not, illustrates the issue of a working proxy not catching a distant measurement as I departed, so it caused the area to "stick" longer than it should have..

Two proxies in studio, camfront and prox-studio, at first camfront is closest (mustard, orange), but it detects me moving away, so its filtered distance (orange) starts rising gradually over time (probably too slowly).
However, prox-studio (lime) didn't see any of my retreat, so just left a fairly close reading, which sat there for 30 seconds. That reading "won" after camfront's filtered distance rose enough, and it then prevented the dining room from winning until it was very close. Not shown are the lounge and kitchen sensors which were along the way, but they never got close enough to beat out prox-studio, but would have shown up if it weren't hogging the stats.
The muddy-peach (?!) line at the bottom is from a different device, showing that prox-studio was still receiving and forwarding adverts during the timeout.


Add WhatsApp Chatbot to Replace Doubt Section

Description:
I propose implementing a WhatsApp chatbot to replace the current doubt section of the application. This chatbot will provide users with instant responses to their queries and enhance user engagement.
Proposed Solution:
Set up a WhatsApp Business account and integrate it with the application.
Develop a chatbot using a suitable platform (e.g., Twilio, Dialogflow) to handle user inquiries.
Configure the bot to respond to frequently asked questions and provide relevant resources.
Allow users to escalate issues to a human representative if needed.
Ensure that the chatbot is user-friendly and accessible.
Benefits:
Provides immediate assistance to users, improving overall user experience.
Reduces the workload on support staff by handling common inquiries automatically.

Fix Spelling of "Punjab" in Footer and Update README File

Fix Spelling of "Punjab" in Footer and Update README File

the spelling there is correct as it's the college name.

I like to add chatbot which can generated by using google gemini APi key which give faster response to the users , Assign me @yatulearn

ok

i want to work on this project please assign me


HTML comment in markdown is not supported

It just render the commented content and the comment syntax is ignored.
You can run example and reproduce it.

please produce a reprodicible example

please produce a reprodicible example

repro

This should work in 0.19.10; please let me if you are continuing to have this issue

The issue still occurs after bumping to 0.19.11.
Besides, introduced a new issue missing module @rollup/pluginutils so that Vite failed to start the dev server and had to install it manually.

Sorry that the issue still presents. I'll have another look at that and add a test for the specific use case.
WRT to @rollup/pluginutils ... it's listed as a peer dependency of vite-plugin-md and at this point it would appear it needs to be as that library has some CJS-only deps that play poorly with Vite3.

if you don't know ... you can add an entry to .npmrc to make all peer dependencies get automatically installed (like they always used to be). I'd suggest that you do this if you don't like the manual install process (which of course you can still do if you want to even with this setting in place).

Ok, it appears this is the default behavior of the gray-matter package so I'm presuming this was never working in an earlier version.

update: on further testing it is NOT gray-matter but either happy-dom or my wrapper around it. I'll get this fixed today.

ok, really should be fixed this time in 0.20.0; please re-open if you feel it's not working as expected.


telling Swarm Manager to listen on a unix socket creates a directory instead of a socket

starting Docker Swarm with the following config should create a socket /var/run/swarm.sock. Instead it creates a directory with this name.
docker run --name swarm-manager2 \
--expose=3376 \
-v /var/lib/boot2docker:/var/lib/boot2docker \
-v /var/run/swarm.sock:/var/run/swarm.sock \
-p 3376:3376 \
swarm:latest m --tlsverify \
--tlscacert=/var/lib/boot2docker/ca.pem \
--tlscert=/var/lib/boot2docker/server.pem \
--tlskey=/var/lib/boot2docker/server-key.pem \
-H tcp://<IP_ADDRESS>:3376 \
-H unix:///var/run/swarm.sock \
--strategy spread \
--advertise <IP_ADDRESS>:3376 consul://vm4:8500

the error Message is:
time="2016-03-17T16:10:07Z" level=info msg="Initializing discovery without TLS"
time="2016-03-17T16:10:07Z" level=info msg="Listening for HTTP" addr="/var/run/swarm.sock" proto=unix
time="2016-03-17T16:10:07Z" level=fatal msg="is a directory"

docker version: 1.10.2
host: virtual-box

@nfoonf I guess your intention to start a swarm manager in a container and want the unix socket available on the host machine. In that case you just pass the directory /var/run to the container. swarm.sock will be created inside the container. Because the directory is mapped, you can access it from host. Skipping other options, it's something like:
ubuntu@manager:~$ docker run -v /var/run:/var/run swarm manage -H unix:///var/run/swarm.sock consul://vm4:8500

Oh I tried what you said. Classical Layer8 Problem :) Thanks for nudging me in the right direction ;-)


OpenMP continuation not triggering correctly

While I was testing the OpenACC directive support I discovered that the OpenMP continuation (and thus the OpenACC continuation) does not highlight properly if the optional & appears on the continued line's sentinel. I tried to debug this myself as a part of the PR, but even with a few sets of eyes on it I wasn't able to get it working.
!$omp parallel &
!$&omp do

For the above code, if either & is left off the do will appropriately highlight, but if both are in place it does not. The specification allows for the ampersand on the sentinel and this is how I've seen it used in every code I've encountered.

I think the solution to that might be similar (or hopefully identical to https://github.com/krvajal/vscode-fortran-support/pull/203).
If that is the case and you decide to fix it yourself would you mind to mention https://github.com/krvajal/vscode-fortran-support/pull/203 in the commit message so this code duplication is somewhat traceable in the git logs?
We really ought to find a better way to implement the syntax highlighting

It looks like re-using that fix did do the trick. I had intended to submit a separate PR, but accidentally included the fix in #224 .

Glad to hear that. I will have a look at the PR


v12: Fix issue with gfdl qs_table

NOTE:
I'm keeping draft right now just to make sure the CI works with this. If it does, I will undraft.

Today, I was trying to fix the v12 CI in GEOSgcm and once I patched up some Docker image issues, it crashed with:
forrtl: error (182): floating invalid - possible uninitialized real/complex variable.
Image              PC                Routine            Line        Source
libpthread-2.31.s  0000153E0848A910  Unknown               Unknown  Unknown
GEOSgcm.x<PHONE_NUMBER>2F3DA1  gfdl2_cloud_micro        4105  gfdl_cloud_microphys.F90
GEOSgcm.x<PHONE_NUMBER>2E1B01  gfdl2_cloud_micro        3473  gfdl_cloud_microphys.F90

Prints show that table is filled with NaN which then dies during:
        table (i + 1200) = wice * table (i + 1200) + wh2o * esupc (i)

when it tries to use it on the right-hand side.
This is true with even the latest v12 updates from @wmputman and @atrayano. So, I took a look, and yep a bug. To wit in gfdl_cloud_microphysics we have in qs_table (truncated to look at table):
    ! -----------------------------------------------------------------------
    ! compute es over ice between - 160 deg c and -40 deg c.
    ! -----------------------------------------------------------------------

    do i = 1, 1200
        table (i) = e00 * exp (fac2)
    enddo

    ! -----------------------------------------------------------------------
    ! compute es over water between - 40 deg c and 102 deg c.
    ! -----------------------------------------------------------------------

    do i = 1, es_table_length-1200
        if (i <= 400) then
            esupc (i) = esh40
        else
            table (i + 1200) = esh40
        endif
    enddo

    ! -----------------------------------------------------------------------
    ! derive blended es over ice and supercooled water between - 40 deg c and 0 deg c
    ! -----------------------------------------------------------------------

    do i = 1, 400
        table (i + 1200) = wice * table (i + 1200) + wh2o * esupc (i)
    enddo

The comments make it seem like we want to do:

-160 → -40
0 → 102
-40 → 0

This seems to be slightly altered from the "canonical" GFDL code which does:

-160 → 0
-20 → 102
-20 → 0

But notice the issue. The first loop in our code fills table(1) to table(1200). The second one fills table(1601) to table(2621). The third tries to fill table(1201) to table(1600) by blending.
We NEVER set table(1201) to table(1600) in the first loop to then blend with in the third.
My proposed solution is to extend the first loop to 1600 so that table is filled from 1200 to 1600 with something for the blend.

Ugh. Coupled having issues with my restarts:
 Character Resource Parameter: CATCH_INTERNAL_RESTART_FILE:catch_internal_rst
 Using parallel NetCDF to read file: catch_internal_rst
pe=00002 FAIL at line=03377    NCIO.F90                                 <Could not find field SNOWALB in catch_internal_rst  >

I will consult with @biljanaorescanin tomorrow. I'm sure I've done something dumb!

Ugh. Coupled having issues with my restarts:
 Character Resource Parameter: CATCH_INTERNAL_RESTART_FILE:catch_internal_rst
 Using parallel NetCDF to read file: catch_internal_rst
pe=00002 FAIL at line=03377    NCIO.F90                                 <Could not find field SNOWALB in catch_internal_rst  >

This happens if restart file was not remapped to v12 boundary conditions... Your starting restart file should have SNOWALB variable.  If you started from NL3 you first remap to v12 and than you also need to turn in GEOS_SurfaceGridComp.rc : SNOW_ALBEDO_INFO: 1 .
This is now issue only due to that limbo of waiting Bill's branch to come to develop. GCM v12 already has this RC setup as default. We just need to remap all current testing restarts to v12 to include this info. I'm not sure when is right time to do that.

@biljanaorescanin It was my fault. I was forcing NL3 landbcs because for some reason I thought I needed that for MOM6. Nope. So I just needed to undo that and make sure I had the mom6 v12 bits in the image. Works now!


By XPath Does Not Find Legacy Attributes

Using an xpath selector cannot find elements by the legacy|Accessible attributes (using the pattern of LegacyName or LegacyValue) .
//does not work
private By childOfEdit= By.XPath("//Pane[@AutomationId='6']/Pane/Edit[@LegacyValue='foo']")

// but a partial xpath then linq query using get attribute does work.
private By editBoxes= By.XPath("//Pane[@AutomationId='6']/Pane/Edit")

var thisOneWorks= editBoxes.First(x=>x.GetAttribute("LegacyValue")=="foo");

While Linq works, it limits the options available. For example you can't get the parent of the element I found via linq...

Hi @brendanconnolly, can you please share what version of WinAppDriver are you running?

v1.0-RC2 haven't tried on the official release yet.

Hi @brendanconnolly , those attributes are currently not supported through xpath, but we've noted this as a feature enhancement.

Hi @hassanuz
Is there any progress on this feature enhancement. The issue is opened since 2 years :(


show registration status for carriers that require register

When defining a carrier that requires jambonz to send outbound registrations the relevant panel looks like this:

I would like to enhance this view so that under "Use public IP in Contact" there is a label "Registration status:" with a value showing the current status (ie the most recent response to a register request).  So for success it would show:
Registration status: successfully registered (200 OK)
or
Registration status: failed (408 Request TImeout)
This will require changes in the api-server and also possibly in sbc-sip-sidecar as well

As a further enhancement, it would be nice if the status was a link such that when you click it downloads the pcap for that most recent register request.  This will require us to figure out the proper http request to make to homer

Start contributing to this.

actually, in thinking about this I think it would be better for the status to be shown on the carrier list, e.g.

Alongside or next to "active" we could show "registered OK" or "register failed", again each being a link to download a pcap

Hi @davehorton I finished the work here. Please help to review related PRs:
https://github.com/jambonz/db-helpers/pull/11/files
https://github.com/jambonz/sbc-sip-sidecar/pull/19
https://github.com/jambonz/jambonz-api-server/pull/141
https://github.com/jambonz/jambonz-webapp/pull/226

all looks good, I've merged all but sbc-sip-sidecard which just needs an update to package.json for latest db-helpers

Closed this issue as it's done


Update to version 4.1.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Delete on Server

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
When reading mail on K9, mail doesn't appears anymore on other device (POP acccount)
Actual behavior
looks like mail are deleted from server  even with optin set to do not delete on server when deleted
Steps to reproduce
1.open mail on K9
2.try to see the mail on my outlook account on PC
3.mail is not present
Environment
K-9 Mail version:
5.208
Android version:5.5
Account type (IMAP, POP3, WebDAV/Exchange):
POP3

Please use the mailing list for support requests.

Could you please consider my bug message as I'm not entitled to publish on the group
Best regards
Luc
+33673396660
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
Le 5 novembre 2017 17:56:37 GMT+01:00, cketti<EMAIL_ADDRESS>a écrit :

Please use the mailing list
for support requests.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/k9mail/k-9/issues/2902#issuecomment-341987704


Enhance fiat onramp options to support BTC purchases

In addition to STX for direct deposit into wallet
cc @jonastgerber

See relevant Wert docs here in case we want to add them alongside other providers: https://docs.wert.io/docs/introduction

@fbwoolf Curious if the tokens selector component as built for the swaps modal could be reused for this feature by prompting the user with "Choose asset to buy" upon selecting "Buy" from the home screen and before taking them to the buy screen itself, with the token value populated in the page (e.g. Choose an exchange to fund your account with Bitcoin (BTC) instead of STX etc.)

And @fabric-8 @mica000 if this approach strikes you as the easiest / best path to supporting BTC (and, in the future, other tokens for purchase as well)

@fbwoolf Curious if the tokens selector component as built for the swaps modal could be reused for this feature by prompting the user with "Choose asset to buy" upon selecting "Buy" from the home screen and before taking them to the buy screen itself, with the token value populated in the page (e.g. Choose an exchange to fund your account with Bitcoin (BTC) instead of STX etc.)

Yeah, I think this could likely be refactored and shared ...we also have a 'choose asset' list on the send form. We should prob just have one choose asset dropdown. I think the intention here long term was to have it be a dropdown not a popup.

This list component was refactored to become a dropdown if Im not mistaken? If we want to trigger a list from the home screen, then I am afraid a dropdown like the one developed for swaps, that uses radix as a base, wont work. We might need to refactor this component also on the design side


JAMES-3711 Cleanup the OpenSearch migration

Rename classes, configuration file and options, where not dome maven modules.

read it


AMLStudio: Combobox for connection selection

Change the "Change" Button into a Combobox. See #5

Since you can double click an item in the editor to select it (or use Ctrl+O > arrow keys > Enter if you are keyboard-minded), I feel that the current UI is nearly as efficient as a combobox with the added usability that added and/or modifying connections does not require going to a separate UI.  Therefore, I am going to close this for now.


Out of date

[Enter feedback here]
10.0.33 has been GA for a week now. This page still refers to "preview" and is also missing the crucial section which lists which features have become mandatory (refer to the 10.0.32 page for comparison).
When can we expect the 10.0.34 page?

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

ID: e1ae3fe5-d77c-0012-fd68-73ca7875b0e3
Version Independent ID: e1ae3fe5-d77c-0012-fd68-73ca7875b0e3
Content: What's new or changed in Dynamics 365 Finance 10.0.33 (April 2023) - Finance | Dynamics 365
Content Source: articles/finance/get-started/whats-new-changed-changed-10-0-33.md
Service: dynamics-365-finance
Product: ****
Technology: ****
GitHub Login: @twheeloc
Microsoft Alias: twheeloc

Bug 805708 has been logged to address this issue.

@jimwillsher, thank you for the feedback. The What's new for 10.0.34 is available here:  https://learn.microsoft.com/en-us/dynamics365/finance/get-started/whats-new-changed-10-0-34


EntrustUserTrait now requires a cache which allows for tags

There's no documentation for the change, but the EntrustUserTrait no longer works without a caching mechanism set up that supports tags.
Attempting to use Entrust without this causes a fatal error
call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Cache\FileStore' does not have a method 'tags'

oops, already has an issue open, closing

@imnotjames Please, kindly provide the link to the opened issue. I'm having this issue too.

#422

Thanks @imnotjames


Enabling dependency injection by adding a set method

By being able to change the internal string of the Stringy object it's possible to use it like a string manipulation factory/service.
Example:
class MyClass
{
    public function __construct(Stringy $str) {
        $this->manipulated_class_name = $str->set(__CLASS__)->toLowerCase();
    }
}

new MyClass(Stringy::create(''));

Thanks for the PR! I'm not sure if this is really necessary, since it does break the interface by making Stringy objects mutable. The README highlights that it's immutable, and all other methods return new instances of the class. I really wouldn't want to introduce a single method that breaks this contract.

I don't think it is a good idea too. I don't see the benefits over the current API.
With DI and a resolved instance, here is how I would do:
$str->create(__CLASS__)->toLowerCase();

It's a little embarrassing that i missed the create method, that was what I was looking for.
Please close this pull request and thanks for the info.
Have a good day!

No problem, I didn't think of this way at first glance too. For the record, calling a static method as an instance method is just fine.


Trigger on family to select color

This package looks great, and thanks for the acknowledgement!
One way I would like to use this would be to be able to select from a color family. So if I trigger on :blue I could select from all the HTML colors in the blue family. I don't usually know which HTML color I want to use, but I usually do know if I want a blue or a brown or a gray or a pink, etc. From that key word, I'd love to see my standard options.
Thank you! Nice product!

Hi Jenny,
I'm really glad you liked it! 😊
I believe a similar feature is already available in Espanso. It includes a pop-up window or search bar that allows you to search for triggers by keyword (like blue). You can also configure it to appear whenever the system detects a trigger.


Update Schnorrsig and MuSig

The current schnorrsig and musig module are not compatible with bip-schnorr anymore. This PR cherry-picks the following commits from https://github.com/bitcoin-core/secp256k1/pull/558:
84308855d6e6562bd8d52677f681ab68735d3467 f remove nonce_is_negated parameter
639a8599ec97121970566c3a1f9e6fb763471c83 f use tagged hashes in nonce derivation and signature hash
2e76c5dc6d6ff4e30aac481820648ae95353abcf f don't allow counter != 0 in nonce function
7eeb3aa49832015a8aa8caf17a008d263f373fc0 f add xonly pubkey struct which is serialized as 32 byte and whose Y coordinate is a quadratic residue
add8e78542e29c3aab0d462425a4988689cdb331 f use xonly_pubkeys in schnorrsig sign and verify
2e4ed392e1fd8cb7c64787bde9b67ddc0b463e3d f add tweak functions for xonly_pubkeys
84fe42737d9f915a53e3e682ebd11021e24bfd52 f address some of pieter's comments
e28b61c290f4549dfeb94b421310ff68b661fea0 f const casting
5764b2b2b7e9d96c7704364e55c17ed064217398 f test that pubkey is zeroed after xonly_pubkey_parse returned 0
74bb3b4318b4c17b8cb01fa9d42ee776094b1743 f don't use secp256k1_pubkeys in xonly_tweak api and instead use is_positive flag
dfce048bdec171fa76384a28136c59acd80f9b5a f remove xonly_pubkey_to_pubkey
2b36bf7db30d399878f8b32abf3fe29039f79809 f sign -> is_positive
26f95c556a088dc9e83e587d96534429a1974737 f feed seckey that is actually signed with (i.e. perhaps negated) into nonce functions
538052c95039e84c2f6b2790b826b86765f8d2c3 f reenable test vectors
b5fcf541495d78595c0bcbecdba58219a866b7f3 f uninitialized memory in tests
affa6e87e972b7d2f48a60b79b9360f8b15db021 f rename is_positive in xonly_pubkey api to has_square_y
44881b21e3876fd63a4674fdc1375709e31cd694 f rename is_positive in schnorrsig module to has_square_y
9d5373307cfad5fa1b53820d417a8155d2d557dc f add new bip-schnorr test vector 14
a87a0576dcc7188f8babc3fc9ec5f2a68522ff6d f Move most of ec_pubkey_absolute into ge_absolute to make it available to functions which don't operate on pubkeys but on group elements.
7dbb2e8f9bc942c0d1ae5efdcbf9e9636c975be3 f add macro SECP256K1_LEN_XONLY_PUBKEY equal to 32 to allow reducing magic numbers in calling code
19c144cccac293a1814cef36db198b176d237072 f rename schnorrsig_real_verify because it doesn't verify
4a81b4ac88e917f87c4bcf1f002bfa2671fd895e f don't use ec_pubkey_parse indirection in xonly_pubkey_parse
93dc57ad0b6c60be773621734af9fbcb78c5bfd0 f don't use ec_pubkey_parse indirection in xonly_pubkey_parse
b3b1a204f6d4b403b4d9b53d622c0348a35b811c f rename xonly_pubkey_tweak_verify to xonly_pubkey_tweak_test and add a few notes that this does not verify anything cryptographically
f76092bad771505b882f799547670a8979786e80 f pubkey_tweak_verify -> pubkey_tweak_test in secp256k1.h
ed442f6f6c44bcf8de21932a76ad4566da30e52b f add secp256k1_xonly_pubkey_load and secp256k1_xonly_pubkey_save to avoid casting (especially accidentally casting const away)
ae143ddbbebeb243b4ea89ced5bb1fd740dada78 f remove unnecessary schnorrsig_verify_helper, check for return values of pubkey_serialize, and add tests for zeroized pubkeys in schnorrsig_verify and schnorrsig_verify_batch
e7d599c77c188931d29707e28f0c38297a8f12de f maximize branch coverage in schnorrsig module
b58720789f0a3abe8ffa91f9ddc07908ea4b6c89 f full branch coverage in xonly_pubkey functions
9f9a918cacf6bd3c9abf292d53a4d6d4ec498d25 f rename has_square_y to is_negated
2579495e9f8b798e767eed262dfc2dd338e3c9c4 f rename has_square_y to is_negated
84e748d3446f0446793de8157506b5faed3ee241 f tweak_test doc
192f9c593cc5697c4278dbb13e5f7a330ad951d8 f address tim's xonly comments
e806b4e39c926c2647528eca8ed32020deea126e f address tim's schnorrsig comments
2b13861de8a8e2f3c02502d0b17f3b90c4bc60ba f unused argument warning (VERIFY_CHECK is side effect safe)
f3aaf4faa76a8e6f10b6cc7388e60cd49a981e1a f remove unnecessary normalize in xonly
cfcaf2f823d14a3e12a69f9eab715d8b72fa3b54 f remove unnecessary normalize in schnorrsig

The files in src/modules/schnorrsig/ should be identical to the ones in the upstream PR.
As for the MuSig updates see the commit message:
Fix the MuSig module after integrating bip-schnorr updates
    1.  using xonly_pubkeys in MuSig for input public keys and the combined
        pk. For that to work we need to store whether the MuSig aggregated point
        has a square y in the session, may need to negate each signers secret
        key and may need to negate each signers public key in
        musig_partial_sig_verify.
    2.  using a tagged hash for the message hash.

    The tweak_test is removed because this doesn't work anymore.

Note that adaptors are still normal pubkeys and not xonly (not sure what's better). I thought about adding some of the rationale to the musig.md, but that one doesn't even explain the need to negate the nonce (yet). Instead, I added comments about what happens to the code. I think we should have a followup PR that renames nonce_is_negated to nonce_has_square_y (which is more established now) and change the type of public nonces either to a new nonce type or xonly_pubkeys.
EDIT: Also we'll need a follow up PR to allow adding taproot tweaks to musig combined keys again. The method we've used previously (just use ec_tweak_add on the combined public key) doesn't work with xonly pubkeys. We'll need to specify the tweak in pubkey_combine and carry it over to the session. (EDIT: Added a commit with tweaking)
EDIT 2: Just fyi, we need an additional scalar mult in session_initialize that we previously didn't need in order to figure out if the signer's public key point has a square Y.

Force pushed with a squashed commit that introduces a pre_session struct instead of a byte array to pass information from pubkey_combine into the session. This paves the way for adding tweaks again.

I grabbed a few new fixups from upstream schnorrsig and added a commit to reintroduce tweaking.

I cherry-picked more fixup commits from the upstream PR and squashed. The easiest way to review this PR is to compare the files with the upstream PR files. They should match (mostly).
vimdiff ./src/modules/schnorrsig/main_impl.h ../secp256k1/src/modules/schnorrsig/main_impl.h
vimdiff ./src/modules/schnorrsig/tests.h ../secp256k1/src/modules/schnorrsig/tests.h
vimdiff ./src/modules/schnorrsig/tests_impl.h ../secp256k1/src/modules/schnorrsig/tests_impl.h
vimdiff ./src/secp256k1.c ../secp256k1/src/secp256k1.c
vimdiff ./include/secp256k1.h ../secp256k1/include/secp256k1.h
vimdiff ./include/secp256k1_schnorrsig.h ../secp256k1/include/secp256k1_schnorrsig.h

Hey, just curious... where are these commits from originally? For example
84308855d6e6562bd8d52677f681ab68735d3467 f remove nonce_is_negated parameter

I don't see that in bitcoin-core/secp256k1
Thanks, just trying to follow schnorr integration in both repos...

@pinheadmz I squashed the fixups both here and upstream to simplify review. You can find them in this branch: https://github.com/jonasnick/secp256k1-zkp/tree/schnorrsig-updates-backup5

Updated with upstream fix 6e0290679cea29c5671574f378cb8377e51ad79f f is_negated and added test

Replaced by #92


Update change log

Motivation
The 2.0.0-alpha56 Change log does not make mention to the breaking change with plugin imports. The GitHub release does. This has meant that dependabot has missed this change in it's pull requests (which seemed to use the changelog in some cases)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
N/A Doc change
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

thanks


Adding alternative repo url and a little tweak :)

I added a server list: https://github.com/strukturart/kaiOs-alt-app-store/blob/a12a4a5e1209bc557d684a76491717f25d5310f4/application/app.js#L10
what do think about this solution ?

May you please add https://farooqkz.github.io/data.json instead of the NotABug thing?
A server list is a good idea.


False positive about Data directory being accessible

RainLoop version, browser, OS:
Rainloop 1.12.1
OpenLiteSpeed 1.4.36
Expected behavior and actual behavior:
Rainloop displays an error about the data directory being accessible. But when I point my browser at /data I see a 403 forbidden error.
Steps to reproduce the problem:
Fresh install of both, minimal virtual host configuration

Hi, what about /data/VERSION file?

I respectfully stand corrected. That file is accessible.
But I do have an .htaccess file with denial commands... I guess it's in the wrong syntax. Sorry to bother!


Use Case: Link Papers to Script and Model Runs

Use Case: Link Papers to Script Runs and scripts

Contributors: Matt Jones (@mbjones), Chris Jones (@csjx)

Goal and Summary
A scientist can provide citation links to scholarly papers that were derived from particular executions of a script or model.  These links can take the form of links to published identifiers for the execution trace, or from the trace to the paper via e.g., a DOI. As a scientist using e.g., R or Matlab, The goal is to link a paper to a given script run to document the exact process used to derive published data, figures, or tables. In R or Matlab, after executing a script and recording provenance information about the run, a researcher can later update the execution's provenance information by providing a link to a permanent identifier (such as a DOI) of a published document. Other researchers can discover the papers from links of the script executions.
Why is it important and to whom?

It is critical to computational reproducibility
It improves discovery via finding all papers related to particular analyses

Why hasn’t it been solved yet?

Repositories for execution traces are rare, and those that exist are not well established
Tools for generating execution traces are not widely adopted
Standards for representing traces have been in flux (e.g., OPM, PROV, etc)

Actionable Outcomes

Additional Information and Links

DataONE Use Case 42A: Link Papers to Script Runs

Could the "Code as a research object" project (https://github.com/mozillascience/code-research-object) from Mozillascience be a useful tool?

@alesarrett Yes, absolutely.  See the work we've already done as part of that project in my codemeta repository, which has crosswalks among existing software metadata efforts and a proposed JSON-LD context for software metadata.  We also have a working PROV extension in DataONE. For an example of the kind of provenance tracing I think needs to be widespread, see the Ma et al. paper titled Capturing provenance of global change information, doi:10.1038/nclimate2141.


Released with (9.0.2)[https://package.elm-lang.org/packages/Confidenceman02/elm-select/latest/]