browser-policy 'unsafe-eval'

As far as I can tell, unless you state in the server that you'll allow evals to run on the client --
BrowserPolicy.content.allowEval()
you'll get an error from angular-meteor like so:
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'
But I don't want to allow evals on my client if I can help it! ng-csp didn't seem to make a difference. Maybe it's because it's not on the html tag? IDK. I'm pretty new to this XSS security stuff.
Any help appreciated!

Can you share more information?
maybe a reproduction so it will be easier for me to understand?
thanks

@srtucker22 are you trying maybe to add a

So I'm using the browser-policy package.
I've created a barebones example app here
I'm guessing the error has to do with this default policy in the browser policy package -- BrowserPolicy.content.disallowEval()
As the documentation explains: "your app's client code will not be able to use functions such as eval() that convert strings to code. Users' browsers will only let your app be framed by web pages on the same origin as your app."
This makes sense because I wouldn't want a user to inject some malicious XSS in a post for example. It might look something like this:
a href="javascript: eval(String.fromCharCode(77, 101, ...))"> {{ username }}'s website
when evaluated could do whatever the malicious user wanted like get a victim's local storage.
Emily Stark from the Core team talks about browser-policy here and the slides are here
Thanks for looking into this!

@srtucker22 that's good point and should be documented.
As I understand, Meteor thinks Angular's evals are breaking the policy.
Looking at your code, the error goes to an Angular.js internal code that checks if csp is active by actually running a code that breaks that and catches that:

You should let Angular handle the CSP now because it's your front end and Meteor doesn't know what Angular does.  so I think you should allow eval in Meteor and then use Angular to verify with ngCsp.
adding @asafdav to the conversion to verify.

Closing for now, but still waiting for your confirmation

Makes sense. Thanks for looking into this!

On Mar 20, 2015, at 5:00 AM, Uri Goldshtein<EMAIL_ADDRESS>wrote:
Closing for now, but still waiting for your confirmation
—
Reply to this email directly or view it on GitHub.

Hi guys, I don't think Angular's $eval could be the reason for this specific error message. $eval doesn't evaluate js at all, but instead it evaluates AngularJS expressions, that's is exactly why $eval exists.

Yes, we are not saying that is the cause, we are saying Angular's check if it's active is the cause.
and also we think letting Angular alone handling eval with ngCsp is enough and there is no need for Meteor to do that as well, do you agree?

Hi, It might good enough to use Angular CSP but you need to compare Meteor's solution to Angular's in order to make sure. mustache-security is a great reference to start from.
It could also be a smart idea to open an issue to Angular.

@srtucker22 I think there is no reason we couldn't use both - as Asaf said, maybe you can open an issue in Angular so they will change the way they check if it's active to a different way and then there will be no problem to use both for extra security (in case Meteor covers things that Angular doesn't)

Potentially would using BrowserPolicy.content.allowEval('self'); be an improvement? Does that only allow me to do Eval()?


Grok deployment on Akash Network

Grok on Akash Network
Grok repository: https://github.com/xai-org/grok-1
This deployment uses 4 CPU and 8 GPU (using H100 each). If you are trying to use 1 GPU would result to an error. Currently, this deployment requires /dev/shm to be enabled by the provider or this error will occur:
OSError: [Errno 28] No space left on device: './checkpoints/ckpt-0/tensor00000_000' -> '/dev/shm/tmp238nenvh'

Some modifications:

Uses jax[cuda12_pip]==0.4.23 instead of jax[cuda12_pip]==0.4.25
Models downloaded from huggingface instead of torrent for faster download

/dev/shm is part of the checkpoint.py code.
I think it should be pretty straightforward to sed /dev/shm for /root/fake_shm in the SDL
https://github.com/xai-org/grok-1/blob/e50578b5f50e4c10c6e7cff31af1ef2bedb3beb8/checkpoint.py#L43-L49
alternatively, can probably try mounting a persistent volume over /dev/shm directory.

added a workaround to /dev/shm (=> /root/shm):
sed -i "s;/dev/shm/;/root/shm/;g" /grok-1/checkpoint.py;

[WIP] testing updated SDL right now [WIP]
---
version: "2.0"
services:
  app:
    image: nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04
    expose:
      - port: 8080
        as: 80
        proto: tcp
        to:
          - global: true
    command:
      - bash
      - "-c"
    args:
      - >-
        apt-get update ; apt-get upgrade -y ;
        apt-get install pip wget git -y;
        pip install dm_haiku==0.0.12;
        pip install jax[cuda12_pip]==0.4.23 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
        pip install numpy==1.26.4;
        pip install sentencepiece==0.2.0;
        pip install -U "huggingface_hub[cli]";
        git clone https://github.com/xai-org/grok-1;
        wget https://github.com/yudai/gotty/releases/download/v2.0.0-alpha.3/gotty_2.0.0-alpha.3_linux_amd64.tar.gz;
        tar -zxvf gotty_2.0.0-alpha.3_linux_amd64.tar.gz ; chmod +x gotty ; rm -rf gotty_2.0.0-alpha.3_linux_amd64.tar.gz ; mv gotty /usr/local/bin/;
        huggingface-cli download xai-org/grok-1 --repo-type model --include ckpt/tensor* --local-dir /grok-1/checkpoints --local-dir-use-symlinks False;
        mv /grok-1/checkpoints/ckpt /grok-1/checkpoints/ckpt-0;
        sed -i "s;/dev/shm/;/root/shm/;g" /grok-1/checkpoint.py;
        cd /grok-1 && gotty -w python3 ./run.py;
        sleep infinity
profiles:
  compute:
    app:
      resources:
        cpu:
          units: 4
        memory:
          size: 15Gi
        storage:
          - size: 600Gi
        gpu:
          units: 1
          attributes:
            vendor:
              nvidia:
  placement:
    akash:
      pricing:
        app:
          denom: uakt
          amount: 1000000
deployment:
  app:
    akash:
      profile: app
      count: 1

Would it make more sense to replace ; with && in args to make the entrypoint pail when a step fails?

Could you also add in the root readme under AI - GPU like this please? It will make it importable automatically in Cloudmos/Akash Console.

Grok

Would it make more sense to replace ; with && in args to make the entrypoint pail when a step fails?

Thanks! This is just PoC so the code gonna look very dirty; the goal is to make it run first ;)
As I am testing it right now it has failed multiple times either due to networking DNS issue or huggingface was unable to get the checkpoints for some period of time.

Looks like no go without /dev/shm :/

E0318 16:47:55.478626    4452 pjrt_stream_executor_client.cc:2804] Execution of replica 0 failed: INTERNAL: external/xla/xla/service/gpu/nccl_api.cc:501: NCCL operation ncclGroupEnd() failed: unhandled system error (run with NCCL_DEBUG=INFO for details). Last NCCL warning(error) log entry (may be unrelated) 'Error while creating shared memory segment /dev/shm/nccl-qp7mSW (size 9637888)'.
jax.errors.SimplifiedTraceback: For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/grok-1/./run.py", line 72, in <module>
    main()
  File "/grok-1/./run.py", line 67, in main
    print(f"Output for prompt: {inp}", sample_from_model(gen, inp, max_len=100, temperature=0.01))
  File "/grok-1/runners.py", line 597, in sample_from_model
    next(server)
  File "/grok-1/runners.py", line 481, in run
    rngs, last_output, memory, settings = self.prefill_memory(
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: external/xla/xla/service/gpu/nccl_api.cc:501: NCCL operation ncclGroupEnd() failed: unhandled system error (run with NCCL_DEBUG=INFO for details). Last NCCL warning(error) log entry (may be unrelated) 'Error while creating shared memory segment /dev/shm/nccl-qp7mSW (size 9637888)'.: while running replica 0 and partition 0 of a replicated computation (other replicas may have failed as well).

Update 3
It seem to be getting past-thru the /dev/shm related error when I update the deployment on the host to support /dev/shm of a larger size.
Not sure if that's the final phase, but it "hangs" at this point of screenshot (uses 800% cpu threads):

FWIW: It needed about 50+ GiB of /dev/shm ; and /dev/shm had to be SHM; not just a filesystem mounted over /dev/shm

Explanation on /dev/shm
In Kubernetes, the default size of /dev/shm is set to 64MiB, and currently, there's no direct support to change this.
As a workaround, Kubernetes users can set the Memory as the medium for mounting /dev/shm from the host.
Additionally, they should adjust the sizeLimit to 50% of the Pod's requested memory limit (the memory directive in Akash's SDL or resources.limits.memory in the Kubernetes)
However, this workaround isn't applicable in Akash (Yet!), as it doesn't yet support custom storage settings (emptyDir->medium: Memory).
In this case, only Akash Providers have the ability to manually adjust these settings. They can do so if they have access to specific deployment details like the correct Deployment Sequence (DSEQ) and the owner's address.
There are also certain drawbacks of using the emptyDir, medium: Memory workaround, see Disadvantages of using empty dir in https://www.sobyte.net/post/2022-04/k8s-pod-shared-memory/ for more details.
Refs.

https://github.com/kubernetes/kubernetes/issues/28272#issuecomment-1001441171
https://www.sobyte.net/post/2022-04/k8s-pod-shared-memory/

Example
    volumeMounts:
    - mountPath: /dev/shm
      name: shm
  volumes:
    - name: shm
      emptyDir:
        medium: Memory
        sizeLimit: 512Mi  # if Pod requests memory of 1024 MiB; I.e. `sizeLimit` should be adjusted to 50% of the Pod's requested memory limit (the `memory` directive in Akash's SDL or `resources.limits.memory` in the Kubernetes)

In Grok case I've used 640Gi sizeLimit because my deployment requested 1280Gi RAM in SDL

Update 4 - python processes exitted eventually

Not much of the logs:

I can quickly restart the process now as I am in the pod:
pkill gotty
cd /grok-1
gotty -w python3 ./run.py

Opened a thread there, seeking for help https://github.com/xai-org/grok-1/issues/164

PyTorch-based version (~590 GiB) is working on Akash. No need to tweak /dev/shm at all.
Details here:
https://github.com/xai-org/grok-1/issues/164#issuecomment-2015507877
How-to here:
https://github.com/xai-org/grok-1/issues/274#issuecomment-2015415953
SDL I've used:

make sure to change SSH public key to yours.
also can probably reduce the CPU down to 8 CPU and RAM down to 32 or 64 GiB (I've seen it was spiking only up to about 26 GiB - the PyTorch version)

---
version: "2.0"

services:
  grok-1:
    image: ubuntu:22.04
    env:
      - 'SSH_PUBKEY=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCyJDv8e1KMytZI+tQTxvEqrAm5TTvNx8E3VM499Yh1vU13F11z5FabgDiYb4n6hIY2tfTf1Wi+6wwd7/xO0cmIaQ9lRXftbR8Bx9sw+tc9oomRulZZx8pxKYFp7m7ETwtPlR4GY7dHboxKu+6yxaBsTyXu4GkSAW/Q9fN3BLZnZavQMQiUPtJ2w65dIScx/OrxY2Ua203wYzTqy2tKGnz9iGK2RZusb/1/JmSoqVRKMuynAp9iB99TL2uqUbQzTqsqRtoplA6DyiFGRkv1cUKNHZFucnmFEEqgwg56tCg+6KC84e3RTOaKh+hWcms3ossJCG1N4n4D6MKLx2zcnjakLDUKwCXH4FsTzv/CMygH2YEEdGlgSQMLkABqyl6J3j0yEOa+F7y+Tqq9wllipGw/SlPf2wLnpN2V6vR/ZVVRXLuWKZ1Crg7y/pYLID5GOwr8Qg/PhOQyfjJCQE0HK/9aKsqPZ4wze0Hp66P3q1LL1d7S221DodYE6PJfnVcogp8= andrey@stealth'
    command:
      - "sh"
      - "-c"
    args:
      - 'apt-get update;
      apt-get install -y --no-install-recommends -- ssh speedtest-cli netcat-openbsd curl wget ca-certificates jq less iproute2 iputils-ping vim bind9-dnsutils nginx;
      mkdir -p -m0755 /run/sshd;
      mkdir -m700 ~/.ssh;
      echo "$SSH_PUBKEY" | tee ~/.ssh/authorized_keys;
      chmod 0600 ~/.ssh/authorized_keys;
      ls -lad ~ ~/.ssh ~/.ssh/authorized_keys;
      md5sum ~/.ssh/authorized_keys;
      exec /usr/sbin/sshd -D'
    expose:
      - port: 8080
        as: 80
        to:
          - global: true
      - port: 22
        as: 22
        to:
          - global: true

profiles:
  compute:
    grok-1:
      resources:
        cpu:
          units: 128
        memory:
          size: 1280Gi
        storage:
          size: 2048Gi
        gpu:
          units: 8
          attributes:
            vendor:
              nvidia:
                - model: h100
  placement:
    akash:
      attributes:
        #host: akash
        #organization: overclock
      pricing:
        grok-1:
          denom: uakt
          amount: 1000000

deployment:
  grok-1:
    akash:
      profile: grok-1
      count: 1

that's good. i will also try using this:
https://github.com/hpcaitech/ColossalAI/tree/main/examples/language/grok-1

I have updated the SDL but not tested yet because I can't get the bidders when trying to deploy it, will try later. I also have uploaded the dockerfile.
Here is the SDL:
---
version: "2.0"
services:
  app:
    image: cvpfus/grok-akash:0.6
    expose:
      - port: 8080
        as: 80
        proto: tcp
        to:
          - global: true
profiles:
  compute:
    app:
      resources:
        cpu:
          units: 64
        memory:
          size: 640Gi
        storage:
          size: 2048Gi
        gpu:
          units: 8
          attributes:
            vendor:
              nvidia:
                - model: h100
  placement:
    akash:
      attributes:
        host: akash
      pricing:
        app:
          denom: uakt
          amount: 1000000
deployment:
  app:
    akash:
      profile: app
      count: 1

I'm testing this out
Hi, just to confirm that my twitter handle is cvpfus_id. This is my akash wallet. Thanks!

akash19qhrxhz275t9trslwsp95nz33ry6tlgt8lpgwk

Update
Here is recent SDL I used and sometimes it's working and sometimes it's not (stuck when loading the model). According to this, loading the model takes twice the size of the model in RAM. So maybe increasing the RAM to about 1.5Ti might solve that (not tried yet, because I'm not getting the bidders when deploying on Akash, will try when it's back normal).
---
version: "2.0"
services:
  app:
    image: cvpfus/grok-akash:0.19
    env:
      - MAX_NEW_TOKENS=100
    expose:
      - port: 8080
        as: 80
        proto: tcp
        to:
          - global: true
profiles:
  compute:
    app:
      resources:
        cpu:
          units: 64
        memory:
          size: 640Gi
        storage:
          size: 2048Gi
        gpu:
          units: 8
          attributes:
            vendor:
              nvidia:
                - model: h100
  placement:
    akash:
      attributes:
        host: akash
      pricing:
        app:
          denom: uakt
          amount: 1000000
deployment:
  app:
    akash:
      profile: app
      count: 1

I recorded when it worked
https://github.com/akash-network/awesome-akash/assets/47532266/2ff45dc3-bfed-40ca-afda-3618f2e3708a

Please do not use this image (or any xai-org's grok-1 image) on H100's !
It still locks up the latest nvidia drivers 550.54.15 which then forces us to reboot these nodes.
Details
https://github.com/xai-org/grok-1/issues/164#issuecomment-2022572399

I'm testing this out

Hi, just to confirm that my twitter handle is cvpfus_id. This is my akash wallet. Thanks!
akash19qhrxhz275t9trslwsp95nz33ry6tlgt8lpgwk

Thank you @yusufpraditya and congrats! Here's you 1,000 AKT


[Blog] Partner Highlight: Using OpenSearch to set up a hybrid system that uses text and vector search

Describe the blog post your would like to write
Summary of a blog written by Noam Schwartz of Searchium.ai titled,“Text search vs. Vector search: Better together?"
What is the title of the blog post?
Partner Highlight: Using OpenSearch to set up a hybrid system that uses text and vector search
Who are the authors?
Patti Juric (summary) of Noam Schwartz's blog
What is the proposed posting date?
2/24/2023

@krisfreedain  - we're good to publish. Meta is incoming.

https://opensearch.org/blog/OpenSearch-Partner-Highlight-Searchium-text-vs-vector/
Done!


x/sys/unix: openbsd/arm does not build

What version of Go are you using (go version)?
1.8.3
What operating system and processor architecture are you using (go env)?
Linux amd64
What did you do?
It's also broken on openbsd/arm6:
GOOS=openbsd GOARCH=arm GOARM=6 go build -ldflags='-s -w -X main.version=1.0.4 -X main.commit=1dcb5944c3de638dfa22f8c19728820f33118496 -X main.date=2017-07-31T09:47:18Z' -o dist/openbsd-arm-filemanager/filemanager cmd/filemanager/main.go

What did you expect to see?
No errors.
What did you see instead?
travis@d282747cb28c:~/gopath/src/github.com/hacdias/filemanager$ GOOS=openbsd GOARCH=arm GOARM=6 go build -ldflags='-s -w -X main.version=1.0.4 -X main.commit=1dcb5944c3de638dfa22f8c19728820f33118496 -X main.date=2017-07-31T09:47:18Z' -o dist/openbsd-arm-filemanager/filemanager cmd/filemanager/main.go
# golang.org/x/sys/unix
../../../golang.org/x/sys/unix/flock.go:16: undefined: Flock_t
../../../golang.org/x/sys/unix/sockcmsg_unix.go:37: undefined: Cmsghdr
../../../golang.org/x/sys/unix/sockcmsg_unix.go:43: undefined: Cmsghdr

~It works without the ldflags.~ It doesn't

Can you reproduce this with go1.9rc1?

I'll check it out.

A bigger trace on 1.9rc1:
travis@c9f042511ef7:~/gopath/src/github.com/hacdias/filemanager$ GOOS=openbsd GOARCH=arm GOARM=6 go build -ldflags='-s -w -X main.version=1.0.4 -X main.commit=1dcb5944c3de638dfa22f8c19728820f33118496 -X main.date=2017-07-31T09:47:18Z' -o dist/openbsd-arm-filemanager/filemanager cmd/filemanager/main.go
# golang.org/x/sys/unix
../../../golang.org/x/sys/unix/flock.go:16:42: undefined: Flock_t
../../../golang.org/x/sys/unix/sockcmsg_unix.go:37:18: undefined: Cmsghdr
../../../golang.org/x/sys/unix/sockcmsg_unix.go:43:9: undefined: Cmsghdr
../../../golang.org/x/sys/unix/syscall_openbsd.go:32:6: missing function body for "Syscall9"
../../../golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body for "Syscall"
../../../golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body for "Syscall6"
../../../golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body for "RawSyscall"
../../../golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body for "RawSyscall6"

What happens with 1.9rc1 if you don't use -ldflags?
I don't understand how -ldflags could have anything to do with this.  These errors are being reported by the compiler, before the linker has even been invoked.
I get exactly the same errors by running
GOOS=openbsd GOARCH=arm go build golang.org/x/sys/unix

I think this is just a problem with x/sys/unix, and I'm going to adjust it accordingly.

Looks like there is no support for openbsd/arm in golang.org/x/sys/unix at all.
CC @4a6f656c

@ianlancetaylor, yes, it doesn't build without ldflags too. Yes, I just tested it again with both 1.8.3 and 1.9rc1. I must have seen wrong.

Ah-ha, this is a duplicate issue of #10826.

@hacdias
" Part of the problem at least is that we
filter out non ".go" files while building the package."
please click this link https://lists.hyperledger.org/pipermail/hyperledger-fabric/2017-June/001254.html
and see this version diff:
 ;;-----------------------------------------------------------------
 (defn- golang-src? [path]
   (when (-> (fs/extension path)
-            #{".go" ".c" ".h"})
+            #{".go" ".c" ".h" ".s"})
     true))

 ;;-----------------------------------------------------------------


Wallet filters by publish title

Is your feature request related to a problem? Please describe.
It's not related to a problem but as a publisher, when you look at your published pieces it's difficult to be able to see which posts have what tips and support. It makes sense to be able to either add filters or clickable column titles so that you can filter or sort each published item in the wallet so that you can better manage the tips/support.
Describe the solution you'd like
Either some filters to show wallet type content (tips, support, abandon, etc) by each item. A simple way to handle this would be to add a sorting feature by the column title (s la Excel) but the better more robust way is to add filtering by publish title so you can see exactly all the actions against each published piece.
Describe alternatives you've considered
Reviewing my wallet, the pagination only shows a few at a time and are chronological - so it is difficult to see all the actions against each publish. The pagination also only shows a truncated part of the publish title - so difficult to know one from another.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the issue and idea! This will probably be part of https://github.com/lbryio/lbry-desktop/issues/3159

It's now easier to filter for all tips on the transaction page, and we'll work on another view / way to see only claims with tips.


GLTF export crashing upon exceeding allocations

Godot version
v3.4.beta3.official
System information
Windows 10 GTX 1060 6gb Intel 4690k
Issue description
GLTF Export crashing upon use. Trying to export with either gltf or glb results in crash and no file.
Steps to reproduce
Open MeshSmall.tscn
Export to any directory you want
Editor Will Crash.
Minimal reproduction project
GLTF EXPORT BUG.zip

See also https://github.com/godotengine/godot/issues/51132.

The scene is too large, it needs 64662 GLTFAccessors. Each GLTFAccessor has two PoolVector, but the actual alloc count does not reach the limit thanks to COW. Later in the export process, each accessor needs to write to an empty PoolVector, so it triggers COW and reaches the 65535 limit.
All memory pool allocations are in use.

And crashes on further null pointer access.

So is that something that needs to be worked around or can it be fixed?

I changed the COW number to be something above 65535, but need to find the exact place again and check on your input.

I don't understand the semantics of this line.
$ cat git.diff
diff --git a/core/pool_vector.h b/core/pool_vector.h
index 83e9fd243a..9d51150e20 100644
--- a/core/pool_vector.h
+++ b/core/pool_vector.h
@@ -38,6 +38,8 @@
 #include "core/safe_refcount.h"
 #include "core/ustring.h"

+#include <climits>
+
 struct MemoryPool {
        //avoid accessing these directly, must be public for template access

@@ -71,7 +73,7 @@ struct MemoryPool {
        static size_t total_memory;
        static size_t max_memory;

-       static void setup(uint32_t p_max_allocs = (1 << 16));
+       static void setup(uint32_t p_max_allocs = UINT_MAX);
        static void cleanup();
 };

For your character model and using the constantt 1 << 20 I was able to export.
There are some other bugs in the gltf2 according to https://github.khronos.org/glTF-Validator/, but here's the output from godot engine.
MeshSmall.zip

We can document this as a existing limitation of godot engine.
Numbers mentioned above: Exceeding 65535 GLTFAccessors


[BUG] Package 'ms' not found in deploy actions.

When I try to use manim-slides-starter. my deploy proceeding encountered an error. It said:
| PackageNotFound: Some packages not found in the repository
|     at Object.install (setup-texlive-action/v3/packages/texlive/src/tlmgr/actions/install.ts:35:13)
|     at setup-texlive-action/v3/packages/action/src/runs/main/index.ts:74:7 {
|   action: 'install',
|   packages: [
|     'ms'
|   ]
| }
Error: PackageNotFound: Some packages not found in the repository

Should I update the Tex version or do anything else, could you please give me a hint, thx a lot!

Nice catch @semikernel! It looks like this package was removed in a recent version of TeXLive, so #2 should fix this.


File not found (access denied on S3) on example 2 from README

What is the problem?
Got access denied when executing this code from README:
from serenata_toolbox.datasets import fetch, fetch_latest_backup
    fetch('2016-12-06-reibursements.xz', './')

How can this be addressed?
Upload the file again or make it public.
Who could help with this issue?
Who has access to serenata's S3 bucket.
Labels
[first-timers-only]  [bug]

THe filename is incorrect: missing 'm'.

Ooops, I've created the issue in the wrong repository. Closing it (correct one: https://github.com/datasciencebr/serenata-toolbox/issues/171).


fix(#185): [Adityan] fix the get UIN/VID button not working in iOS

issue - 185 -  Unable to get UIN/VID using AID.
It was not particularly working in iOS devices. It was mentioned that iOS does not support loading of one modal over another.
I made a fix for that by adding a condition.

looks good to me.


Error Post Installation

Description
[cord.nvim] Could not find the compiled dynamic library at: /home/zach/.local/share/nvim/lazy/cord.nvim/cord.so. Please re-run
the build script
Operating system
Ubuntu 24.04
Neovim version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1724512491

Steps to reproduce

Install Cord via the lazy package manager in NVChad in .config/nvim/lua/plugins
Create a new file, copy and paste the config to .config/nvim/lua/configs
Allow Lazy to install cord.nvim
Close and reopen nvim

Expected behavior
Expected Discord rich presence to work
Actual behavior
Received error:

Minimal configuration
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    'https://github.com/folke/lazy.nvim.git',
    '--branch=stable',
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require('lazy').setup({
  {
    'vyfor/cord.nvim',
    build = './build',
    opts = {},
  },
}, {})

Closing due to inactivity, let me know if you encounter any other issues.

Hello @vyfor! I was experiencing this issue on Windows and was able to fix it by running build.bat in %LOCALAPPDATA%/nvim-data/lazy/cord.nvim :)


make_all_devices crashes if it finds dict in a module

If dict exists in the root of a module, eg
a = dict

make_all_devices crashes with ValueError: no signature found for builtin type <class 'dict'>

Relevant bit of stack trace

  File "/dls/athena/blueapi/src/blueapi/core/context.py", line 112, in with_device_module
    self.with_dodal_module(module)
  File "/dls/athena/blueapi/src/blueapi/core/context.py", line 117, in with_dodal_module
    for device in make_all_devices(module).values():
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/dls/athena/blueapi/env/lib/python3.11/site-packages/dodal/utils.py", line 117, in make_all_devices
    factories = collect_factories(module)
                ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/dls/athena/blueapi/env/lib/python3.11/site-packages/dodal/utils.py", line 157, in collect_factories
    if callable(var) and _is_device_factory(var) and not _is_device_skipped(var):
                         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/dls/athena/blueapi/env/lib/python3.11/site-packages/dodal/utils.py", line 169, in _is_device_factory
    return_type = signature(func).return_annotation
                  ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/inspect.py", line 3279, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/inspect.py", line 3027, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/inspect.py", line 2587, in _signature_from_callable
    raise ValueError(
ValueError: no signature found for builtin type

I think this is also the case if you're importing e.g. Ophyd Exceptions in your Device module. I'll attempt a fix as it's related to how I'm also trying to call make_all_devices.


Add a read aloud feature!!!?

Would you please add a way to read aloud selected text on Copilot Chat, in a right click options?
Thank you!

If you turn on screen reader optimized mode, that will happen automatically!

Could you provide more info abt what you would want to select and your use case?

As a modest linguist, I am asking for info. in various languages, to perpetually broaden my vocabulary quickly.  Having the Outlook 365 'Read Aloud' functionality would be very useful.  It would also help those who are blind and use 'Jaws'.  Also, for those with better audial (rather than eidetic) memory, it would be an excellent improvement.

https://github.com/microsoft/vscode/issues/196261


dist directory missing when using bower install

I'm using your library in my webapp (on the browser).
I did a bower install --save ajv which did as expected, pulled the ajv repo into my bower_components directory.  The dist directory & ajv.min.js file are missing (in your bower.json you have the following: "main": "dist/ajv.min.js",).  Is this a bug or do I need to pull the library into my app a different way?

dist directory is not in the repo and bower does not need its own storage. You can

npm install - the dist is there
npm run build after you install from bower
use cdnjs

my company does not allow loading from cdn's unfortunately :( lame!
the npm run build task, did you mean to run it from the bower_components/ajv dir or create my own build task in my own app's package.json?
I looked at your build task in your package.json & it's running "build": "node scripts/compile-dots.js", That's what will build out the dist dir?

Sorry, you need to run npm run build && npm run bundle-all.
compile-dots.js only converts dots to js, then you need to bundle it for the browser.
It's a shame that bower stopped allowing to automate it with post-install script without providing their own storage like npm. See #132 and #171.
I simply stopped using bower because of that...

I ran into issues w/the npm install timing out trying to get phantomJS & consequently none of the other devDependencies installed after that.  As expected ran into issues with the npm run build && npm run bundle-all since the other devDependencies weren't installed.
I gave up & included the ajv.min.js file into our app off of the node_modules/ajv/dist directory (instead of bower)
On a different note, in our build process we min all js files into one; as a result I get an error in the browsers console where ajv.min.js references dist/ajv.min.js.map.  I suppose we can fork and update.
Btw, your library rocks!  Thanks for your quick help! 👍 👍

Thank you. If you do npm install you don't need to run this script, all the bundles are included in the npm package already.
Closing this issue until we come up with some better ideas...

One common strategy I've seen is to commit dist/*.js in the repo for the tagged release commit, then delete it afterwards in a followup commit. This keeps bower usage simple as long as you are using release commits. I think it will be a little while before bower dies off completely.


Docs - Add sequence/expression language examples to parser docs

This contribution adds new code example files that can be integrated in the docs to demonstrate how to implement string/structured and structuredZod parsers with LCEL / Sequence.
Because this is my first commit to this repo I would like to get feedback first before I continue further.
If this contribution is welcome I would like to go continue with:

Convert more code examples to Sequence / LCEL
Intergrate a Toggle option between the current "Classic" and "LCEL/Sequence" code examples in the docs. (Similar to the tab switcher between Python and JS/TS in Langsmith docs: https://docs.smith.langchain.com/evaluation/datasets)

Twitter:
https://twitter.com/SimonNom1

Thanks @SimonPrammer!
Thanks for this - they good, just linked them in the actual .mdx files and separated the chain initialization from the actual .invoke() step.


incompatability with orbital ion cannon update

it gives an error message regarding 5d gun turret 2, and forces us to disable the mod.

posible fix in future

the straightest way is probably to exclude it from changes:
“ion-cannon-targeter”
“orbital-ion-cannon”

it should work now

the straightest way is probably to exclude it from changes: “ion-cannon-targeter” “orbital-ion-cannon”
or simply anything that has “ion-cannon” in its name, which then also includes future things if it is easier i can consolidate the names so that everything starts with “orbital-ion-cannon”. so far these are all still the original names from superchees 0.18 version. which I have not changed

this happens because you are changing fast_replaceable_group to orbital-ion-cannon-mk2 in the radar, and I can't control it from 5Dim mods (I'm assuming you are the mod creator too).

no I set it to nil
local ion_cannon_targeter = util.table.deepcopy(data.raw["ammo-turret"]["gun-turret"])
ion_cannon_targeter.fast_replaceable_group=nil

but i think a lot of problems come because your mods are loaded first due to the name and the other mods read your prototypes changes , because the vanilla protypes has been changed.
could you add a (hidden) dependency to “Kux-OrbitalIonCannon” so i can read prototypes bevor your mods change it?
or alternatively you could refer you own that is alphabetically at the end. that's how i would do it at least if my goal was to adapt existing protoypes to my system

you mean rename it to z5dim or so to "force" load the last? maybe i can use data update instead of data? maybe thats better than a name change, what do you think?

please recheck compatibility to confirm if the new changes are working

I think you might have missed the 2nd option there, of making an optional dependency to the orbital ion cannon mod; this would achieve the same goal of ion cannon loading first, then 5dims loading after. I think creating entities in data-updates will break more than it will fix (see latest 5dims update breaking compatibility with Vehicle Equipment Grid )

I think you might have missed the 2nd option there, of making an optional dependency to the orbital ion cannon mod; this would achieve the same goal of ion cannon loading first, then 5dims loading after.
I think creating entities and stuff in data-updates will break more than it will fix (see latest 5dims update breaking compatibility with Vehicle Equipment Grids, though I can easily fix that bit from my end anyways)

this afternoon i will revert this changes


Add an easier way of enchanting salve amulets

Is your feature request related to a problem? Please describe.
Enchanting salve amulets at the moment is a pain and you need a lot of salve amulets(e) for Theatre of Blood.
Describe the solution you'd like
Maybe able to hold shift/ctrl/alt to make the first option on tarn's diary to "use"
Describe alternatives you've considered
None.
Additional context
None.

Use shift-click reordering for this

To add to this, this is how you do it:
After enabling the menu entry swapper plugin, you can customize your shift-click settings per item like this:

Alright sweet, thanks guys

Super quick responses :)


Increase Unit Test Coverage for Monitoring Plan API (files w/30% to 40% Coverage)

Increase Unit Test Coverage for Monitoring Plan API for the following:
30% to 40% Coverage
src/maps/monitor-plan.map.ts
src/monitor-location/monitor-location.service.ts
src/monitor-location-workspace/monitor-location.service.ts

Increase coverage of files in this ticket to above 80%, increasing branch coverage by 0.9%


added generalized nubs over any Foldable

I wrote some generalized nub functions, let me know what you guys think! Would love your thoughts on whether these are useful, and how to best comment them.

Hi, @johnchandlerburnham! Could you provide some details on the status of this issue? I still think that this is a good improvement 🙂 And I would love to see these changes in the library!

Sorry! I've been super busy with the new job at camlCase. I will try to take a look at this issue later this week. Definitely don't want to leave this hanging!

@johnchandlerburnham Friendly ping :slightly_smiling_face:

@chshersh Hi, sorry, have no free bandwidth to look at this. Doing a new startup around https://gitlab.com/moonad/whitepaper and it is requiring all my attention.
Someone else should take this issue, since I think it was definitely an interesting idea.

@johnchandlerburnham Thanks for the heads up! Good luck with the startup :+1: I understand that it might be time-consuming indeed. Don't worry, we will take it from here :slightly_smiling_face:

🙏

I'm closing this for now since I can't add commits to the fork. So I will just cherry-pick them and create a separate branch.


feat(cart): shard packages

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[x] Yes
[ ] No

Moves many imports. Removes DaffCartModule.
Other information

The DaffInMemoryBackendCartRootService | Unit tests are pointing to source files instead of dist.

@lderrickable good catch, changed.

I think the injection tokens for the DaffCartResolver and DaffEmptyCartResolver tests should come from dist instead of source.

I think the tsconfig.dev.json needs updated. ng serve demo-dev doesn't work right now

@lderrickable

I think the injection tokens for the DaffCartResolver and DaffEmptyCartResolver tests should come from dist instead of source.

done. I made this change in the guard tests as well.

I think the tsconfig.dev.json needs updated. ng serve demo-dev doesn't work right now

Good call, I was able to use wildcard paths for that as well. fixed

lgtm


Added challenge #191 to respond to issue #14

Asks user to return a string with special characters ("String")

This is a great start.  I appreciate the help.  Below I have a handful of changes that I would prefer before I pull in your change.
Your description shows two tests.
Passing in Hello World! and Some string
The method GetQuotation doesn't have any parameter passed in.
Then you have one test "Test1".  You should have 2 tests to match your description.
The sumResult variable should show what the method returned instead of if it passed or failed.
Also since it is level one, move where you add the test closer to the top in the challenges class.

Ok I was not aware the description was meant to mimic the tests, sadly I don't really see what to test more ?
The method GetQuotation doesn't need to have anything passed, it only returns. Is this not what you wanted ? I feel like the other points you give me to work on are all related to this.
Right now I am only asking people to return a string that starts and ends with quotation marks, do you want me to ask them to make a function that adds the quotation marks to any string passed to it instead ?
Thanks !

If you can have your description examples be the tests, thus passing in Hello World! and looking for "Hello World!" and Some string to "Some string"
If the tests fail show what they entered verse what you expect the result should look like.

But then I'm not testing anything done in the challenge with those two ?

I think I understood better what you wanted now ! Please let me know if not :)
If its what you wanted, do you mind adding the HACKTOBERFEST-ACCEPTED label to the PR ?


Inconsistent behavior for Runtime & Resources sliders

Bug description
When you try to "Duplicate/Edit" a container, the tab Runtime & Resources  shows the already selected value for CPU limit slider, but Memory reservation  and Memory limit sliders are always reset to zero.

Expected behavior
I expect the same behavior for all sliders when I "Duplicate/Edit" a container.
Memory reservation  and Memory limit sliders should reflect the values selected for the original container, just like CPU limit.
Portainer Logs
None. See print screen.
Steps to reproduce the issue:

Go to 'Containers';
Select one container created with limited resources (clicking on the container name);
Click on 'Duplicate/Edit' button;
Scroll down to 'Advanced container settings' section;
Select 'Runtime & Resources' tab;
See error

Technical details:

Portainer version: 2.14.0
Docker version (managed by Portainer): 20.10.17 (API: 1.41)
Kubernetes version (managed by Portainer): -
Platform (windows/linux): Linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer): -
Browser: all
Use Case (delete as appropriate): Home setup
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
The container should be created with limited resources before you try to replicate the issue.

I'm not able to replicate what you're seeing here - if I create a container with resource limits then edit that container, I can see the sliders and text boxes set to the values that were previously set.
I've made a video of this here:

Strange... I'll run more tests tomorrow to see what is happening.

I'm not what is different in my case.

@rdwebdesign - 2.14.2 has been released. You might want to update and the check those sliders again.

I just tested in Portainer 2.14.2.
I see the same behavior. The sliders return to zero when I try to "Duplicate/Edit" a container with memory limitation. The CPU info always returns correctly.

Note1:
I'm not sure if this is related, but I noticed "Memory Usage" graph always shows Zero, for every container.

Note2:
I don't usually need this functionality. I only used it for a few tests, saw the problem and reported it.
This is not a serious problem. It's just a little annoying. Feel free to close the issue if you aren't able to reproduce or fix the problem.

@goatatwork
I think I may have figured out what is the problem here (it's a guess, but I hope this helps):
I ran docker info on the host OS and the output looks like this:
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support

Apparently the problem is Docker isn't able to handle memory limits on my system.
In this case, Portainer will obviously fail to set memory limits.
If you can confirm this is the reason the controls failed, my suggestion is:
disable the controls when docker functionality isn't available (or at least show a warning message).

@rdwebdesign
Thank you for the update and additional information.  I am going to forward for review.
Have a great weekend!

Apparently the problem is Docker isn't able to handle memory limits on my system.

@rdwebdesign I'd be interested in trying to understand why your system doesn't support memory limits. Are you running Docker in a non-standard way? What OS are you running, and what kernel version? This might be useful to us for identifying those cases automatically in the future.

I don't know why either.
This machine details:
Hardware: Raspberry Pi 4B - 8GB
OS: Raspbian GNU/Linux 10 (buster) - armv7l.
Kernel version: 5.10.103-v7l+
Using docker in a standard way, nothing was changed.
I read about a similar case here.

I decided to try the suggested modifications to cmdline.txt and the results are:

No more warnings at the docker info output;

Memory reservation and Memory limit sliders keep their values when I try to "Duplicate/Edit" a container.

Memory usage graphs started to work:

Regarding this issue:

I think my suspicions were almost correct. The problem is: the kernel wasn't able to handle memory limits without the new settings.
I think I found a solution for my case. This issue can be closed.

It would be nice if Portainer disabled the sliders (or show a message) when this capability is not present.

If you think the issue is still relevant, the issue title should be changed to something like:
"Resources sliders should be disabled if the functionality is unavailable on the host system"
(or something shorter).


Change root path for API to display an informative landing message/page

Currently, navigating to the root of the API (/) displays a {"detail": "not found"} message by default.
We want to update our path config in FastAPI to instead show a page that displays a simple welcome message and directs users to visit the API docs for more information should be sufficient, e.g.:

Welcome to the Neurobagel REST API!
Please visit the documentation at /docs to view available API endpoints.

(If /docs part could be made a link to the <base-url>/docs, that would also be cool but is not a necessity.)

Hi @alyssadai , can i work on this task too :)

:rocket: Issue was released in v0.2.0 :rocket:


Potential Interval vs Duration Operations During Constraint Propagation

Is your feature request related to a problem or challenge?
After changing the resulting datatype of timestamp - timestamp operations from time interval to duration, we may encounter a scenario like this in the constraint propagation algorithm:
Parent Node: Timestamp
Left Node: Timestamp - Operator: Plus - Right Node: Interval
In this case, when we propagate to the right child, we subtract the updated value of the left child from the parent and then intersect it with the right child. During this intersection operation, one of the interval types is a time interval, and the other one is a duration, causing problems in the interval library. Similar issues may arise in different placements like this.
We want to provide this support in order not to deprive users of using values such as 1 month in filters.
Describe the solution you'd like
In the propagate_arithmetic function (also in propagate_comparison), if there is a time interval child, we follow such a path:
a. If the time interval is a singleton, we do not need to propagate over it. We leave it unchanged and only propagate to the other child.
b. If the time interval is a columnar data, we check its interval type. If it contains a month field, we can return an error because we can't accurately convert it to a duration type without a valid timestamp reference (this check can be performed in one of the outer scopes). Otherwise, we simply convert the time interval type to a duration type, and after the propagation, we convert the duration back to the time interval type again.
Describe alternatives you've considered
No response
Additional context
No response

I'm afraid I am not familiar with how the range analysis framework is implemented, so I am quite possibly missing something, but I'm not really sure how intervals can reliably be used in range analysis.
In particular the basic identities below do not hold for intervals
a < b <=> a - b < 0
a + b = c <=> a = c - b

The only circumstances where these hold is for intervals that are durations, i.e. that are entirely encoded as a number of seconds or nanoseconds. If they contain a non-zero number of days, months or years, etc... they are no longer meaningful outside the context of a particular timestamp.
That being said if the range analysis framework is only interested in bounding computation, we could potentially just use the maximum values for each of the constituent parts, so 25 hours for a day, 31 days for a month, etc... :thinking:

I'm afraid I am not familiar with how the range analysis framework is implemented, so I am quite possibly missing something, but I'm not really sure how intervals can reliably be used in range analysis.
In particular the basic identities below do not hold for intervals
a < b <=> a - b < 0
a + b = c <=> a = c - b

The only circumstances where these hold is for intervals that are durations, i.e. that are entirely encoded as a number of seconds or nanoseconds. If they contain a non-zero number of days, months or years, etc... they are no longer meaningful outside the context of a particular timestamp.
That being said if the range analysis framework is only interested in bounding computation, we could potentially just use the maximum values for each of the constituent parts, so 25 hours for a day, 31 days for a month, etc... 🤔

Thanks for thinking about it. We also do not prefer to do range analysis on intervals, that's why I suggested converting to duration where conversions are possible. However, there may be joins having a filter predicate of "timestamp_column - 1 month". Currently, pruning of tables with that kind of filter does not work safely, and we want to fix this where possible.

What do you think of using the maximum/minimum possible values when converting, might that work?

What do you think of using the maximum/minimum possible values when converting, might that work?

I believe this PR properly handles the cases where the interval value is a scalar, not an array (because we don't shrink). Your proposed convention can be useful when we want to handle interval-type columns, but I prefer to do it on the following PRs.

What do you think of using the maximum/minimum possible values when converting, might that work?

This is possible theoretically and will produce better results than refusing to propagate. The latter (and current) approach is safe, but may miss some pruning opportunities.
I will keep this in mind and probably scope this work and get it implemented in the upcoming months.


Option to hide the "rail"

By "rail" I mean the vertical bar on the left where the > shows the selected item.
For me, the different background of the selection is enough to indicate which is the selected item and the rail with the > pointer doesn't feel necessary.

The closest you can do is to set the color of bg+ to match that of bg as suggested by @cevhyruz. Since bg by default uses the default background color of the terminal. You can just set bg+ to -1 to have the same effect.
fzf --color=bg+:-1

I'm not planning to add more options for tweaking minor visual elements, trying not to bloat fzf with ni che features few people actually use.


Transaction signatures are included if specified in blockHashMetaInfo

The blockhash now depends on the signatures of any transaction specified in the blockHashMetaInfo (except for Invoke transaction types which are always included).

An additional field ''TxTypesForCommitment map[Transaction]bool" has been included in the blockHashMetaInfo struct. This is where  transaction types whose signatures are to be included in the blockhash are specified.
Note that for backwards compatibility the Invoke-transaction type does not need to be specified in 'TxTypesForCommitment' as it is implicitly included by default (respecting the pre-post 07 Hash logic).
The blockHashMetaInfo data is passed to pre07Hash(), post07Hash() and transactionCommitment() so that transactionCommitment() knows which transaction signatures to include in the root Hash.

The blockhash now depends on the signatures of any transaction specified in the blockHashMetaInfo (except for Invoke transaction types which are always included).

I don't know what you are trying to do here. If the block hash calculation were incorrect then our tests would have failed. Please look at this function for block hash verification.
Also, have a look at this file for tests.

The PR is for this issue. @rianhughes please link the issue in the PR so people can have context.


bump once_cell

Thank you, can you check if there are more dependencies that can be bumped?
This way I will accept and publish a version with all these dependencies bumped!


As a Developer I want to maintain new lines when formatting the code in order to achieve better readability. (PP-002)

As a Developer I want to maintain new lines when formatting the code in order to achieve better readability. (PP-002)


Handle unreleased checks for agent reqs validation

Motivation
https://travis-ci.com/DataDog/integrations-core/builds/93059070#L752

Codecov Report

Merging #2664 into master will decrease coverage by 6.74%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2664      +/-   ##
==========================================
- Coverage   83.95%   77.21%   -6.75%
==========================================
  Files         644       21     -623
  Lines       36434      610   -35824
  Branches     4431       65    -4366
==========================================
- Hits        30588      471   -30117
+ Misses       4547      113    -4434
+ Partials     1299       26    -1273


Login and sign-up page frontend

This is the sample of a login page built by me .
Kindly assign me the same to work on it.

You don't have to create a sign up page to contribute, you just have to add your name in contributions list.


files for beta testnet

Is fault proof ready for beta testnet?

Is fault proof ready for beta testnet?

Haven't tweaked this part yet, is https://github.com/ethstorage/pm/issues/157 supposed to prepare the steps?


Release branch 0.9 merge to master

Codecov Report

Merging #696 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #696   +/-   ##
=========================================
  Coverage     99.49%   99.49%
  Complexity     1859     1859
=========================================
  Files           285      285
  Lines          5545     5545
  Branches        278      278
=========================================
  Hits           5517     5517
  Misses            5        5
  Partials         23       23

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e67c27...7b72e6b. Read the comment docs.


Backend Google Login need id_token

Hi, in backend when you are going to login, Google request you an id_token. Can we have access to this token when use manager.authorize?

@auser any idea?

Same here, can we get an id_token?

I've created a pull request for this here: https://github.com/fullstackreact/react-native-oauth/pull/108

+1
Having access to the idToken would be awesome.


feat(api): default decodePath behavior

Issue #, if available:
Description of changes:
GraphQL responses are returned in the format of
{ "data": { }
  "errors": [ ] }

A GraphQL request can specify a decodePath to extract a specific part of the object at data out from the response. In Android, the default behavior is to take the first element at the data object. See comment
Before, we would always have to use the decodePath, for example
{
 "data": {
   "getTodo": {
      "id": 111
  }
 }
}

will require a decodePath = "getTodo" to get to the object { "id": 111} and deserialize successfully when the Todo Model is passed as responseType. This PR first

defaults to the first value of the object under "data" to automatically retrieve { "id": 111 }.

Customer impact

If the customer is using Model-based GraphQLRequest builders - no change, decodePath is removed from the internal implementation
If the customer is building their own GraphQLRequest with decodePath - no change required, however if they are deserializing to a single model, which is usually the case when using GraphQLTransform provisioned API, then they can also remove decodePath which is in alignment with Android
If customer is building their own GraphQLRequest without decodePath and deserialize to a single object - Change is required since now the nested object is returned so their responseType should be updated, for example

struct TodoResponse: Decodable {
    let getTodo: Todo
    struct Todo: Decodable {
      let id: String
    }
}

the response type let responseType = TodoResponse.self can be updated to let responseType = Todo.self
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

we have decided to hold off on this due to the breaking change on customers (3rd point under customer impact, in the description)


bug: Duplicate fetch = +refs/heads/main:refs/remotes/origin/main is added to lazy.nvim/.git/config every time :Lazy update/sync runs if lazy.nvim is cloned with --branch=stable

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
Arch Linux (rolling)
Describe the bug
If lazy.nvim is cloned with --branch, every time I run :Lazy update/sync, a fetch = +refs/heads/main:refs/remotes/origin/main is added to lazy.nvim/.git/config's [remote "origin"] section.
Steps To Reproduce

nvim -u repro.lua repro.lua
:Lazy update a few times
cat .repro/plugins/lazy.nvim/.git/config

Expected Behavior
I understand it's harmless, but still it'd be nice to avoid this.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

This seems like a git bug tbh. Lazy doesn't change that file.

Thanks for the quick response! I'm AFK right now and I'll have a closer look later. But I'm guessing that this is caused by the git remote set-branches call at https://github.com/folke/lazy.nvim/blob/2ca68f9979dca1a9911b0f7397550a06854ebb27/lua/lazy/manage/task/git.lua#L134. If this is true, since it uses --add, arguably git it's just doing what it's asked to do?
I'm not sure how M.branch is used, but maybe we can skip it if git config --get-all remote.origin.fetch already contains the branch?

That's needed when a plugin's branch changes in its spec.
But yes, that's definitely it!

Fixed!


DappKit/WalletConnect should return the phone number identifier for a Valora wallet

Certain dapps like ImpactMarket would like to check the verification status and uniqueness of a phone number for one of their users. This can help with simple fraud prevention if a user is creating multiple accounts with the same phone number or claiming to own a number that is not truly verified. Today the Dapp developer will have to process events to see the address->PN identifier relationship since the only mapping that's stored on chain is from PN Identifier->Address.
DappKit/WalletConnect should return the phone number identifier for a Valora wallet. This allows easy lookup of verification status for an account.

Should be super easy to add.

@nambrot queued it up🏌♂
https://github.com/celo-org/celo-monorepo/compare/nambrot/dappkit-pepper?expand=1
https://github.com/celo-org/wallet/compare/nambrot/pepper-dappkit?expand=1

@nambrot is anything needed to make these pull requests? ^ were you hoping for someone else to test it?

Oh I didn't just want to drive-by create PRs without consulting y'all, but IMO these should be pretty straightiforward, so happy to just create them and get them merged

sounds good. looks like your impl returns the pepper rather than identifier. as part of this, can you could add a blurb under here about how the dappkit will:

return both phoneNumber and pepper
how to derive the identifier
how to confirm request mappings from onchain in a way the dev can confirm if its a singular mapping (https://docs.celo.org/developer-guide/sdk-code-reference/summary-2/modules/wrappers_attestations.attestationswrapper#lookupidentifiers)

@nambrot ^ just wanted to make sure we also have the documentation for how devs can access this new feature

Also made a separate ticket to add this functionality to WalletConnect as well
https://app.zenhub.com/workspaces/devx-backlog-board-6009f3d1a7a39b001018f159/issues/celo-org/celo-monorepo/7584

Was this what you were envisioning? https://github.com/celo-org/celo-monorepo/pull/7546/commits/6160f74b7409b5af1f4e869db07fe4fc29cbec53

@nambrot added a comment


readWithType and readNullableWithType have type and key reversed in code gen

The methods readWithType and readNullableWithType take first the type and then the key as arguments:
https://github.com/simolus3/drift/blob/d770c16d8d9790479fde55ef8d870c05beadcd3b/drift/lib/src/runtime/query_builder/statements/select/custom_select.dart#L93-L95
https://github.com/simolus3/drift/blob/d770c16d8d9790479fde55ef8d870c05beadcd3b/drift/lib/src/runtime/query_builder/statements/select/custom_select.dart#L111-L113
However the code generation seems to generate the type last:
https://github.com/simolus3/drift/blob/d770c16d8d9790479fde55ef8d870c05beadcd3b/drift_dev/lib/src/writer/queries/query_writer.dart#L210-L214
I think $dartLiteral and $typeImpl need to be reversed.
This currently causes compile time errors in generated files when using Custom SQL types with generated queries.

Well, that's embarrassing. This has been fixed in e79124e5afbdd0d4f637a8c6f6073fdb8f44e25b, I'll try to release a version with the fix this weekend. Thanks for the report!

Fixed in drift_dev version 2.13.2.


Feature Request: Collection-level Metadata for better execution-environment handling

Dear maintainers,
Please add and maintain the python requirements (modules: spotinst-sdk2) of the collection in its "Collection-level Metadata" so that people can more easily use the collection in execution-environments when using it with awx or ansible automation controller.
The Collection-level Metadata makes it more easy to include the collection in execution-environments, since the python dependencies will be automatically installed, when building the execution-environment with ansible-builder.
As you are already maintaining the requirements.txt file, this would simply require a few more lines of yaml in form of an execution-environment.yml file. I would be glad to contribute a pull request with the necessary lines of code later today. I'm also willing to contribute to testing and building example execution environments in the future, even if it involves an increase in dependencies.
If you need further information about the Collection-level Metadata here is some documentation from the ansible-builder project Documentation.
Thanks in advance

@nwerker - Thanks for posting this. It is a good idea. I will incorporate your PR.

Hi @nwerker - I have released this PR as part of one of my other PRs. Please check. Shall I close the PR created by you.

@anuragsharma-123 looks great! Thank you for incorporating it! Feel free to close the PR :)

closed with #15


fix(lang): add cmakelint to ensure installed list

mason/cmakelang install bin/cmake-lint
nvim-lint only recognize bin/cmakelint
mason/cmakelint install bin/cmakelint

so we need mason/cmakelint installed to using nvim-lint to perform formatting

thanks!


Update operation parser to use a static array

https://github.com/ncatelli/mainspring/blob/main/src/cpu/mos6502/operations/mod.rs#L902

resolved in #352 which drastically improves perf


This is a brazen insult to open source community

Meta released LLLaMA under GPLv3, you took their code did some irrelevant changes and claim it to be yours and relicensed it. You could also do the same to other open source contributors, steal their work and rebrand it as yours. As a company, you also ignored the safety issue from LLaMA and just want to promote your framework without putting any safety measures.
As the paper describes, LLaMA is essentially GPT with 2 modifications: rotary encoding and RMSNorm.
As you can see from the source code (it's out there, you can look at it), what we did is

start from github.com/karpahty/nanoGPT (Apache 2.0)
add rotary encoding starting from the RoPE paper implementation (see reference in the source code)
add RMSNorm starting from from the RMSNorm paper implementation (see reference in the source code)
We share zero code with the original implementation.

I don't understand your remark on safety issues though. I haven't seen any implementation that addresses safety (original repo, HF transformers, gpt-neox), and on top of that we are not distributing weights.


Quick open now matches any character (not continuous/ camel case)

VSCode Version: 1.44
OS Version: Ubuntu 19.10

Steps to Reproduce:

Open a project that contains multiple named tasks
Open quick-open with CTRL+P and type a something like task re
Observe the matched tasks

Expected result:
Only tasks with the letters re continuously in their name or that would match camel case RE (such as ReadElement) are matched and displayed
Actual result:
All tasks that merely contain the letters r and e (in that order) are displayed

Does this issue occur when all extensions are disabled?: Yes

cc @bpasero


functions: [Go113 runtime] Environment Variables

Can't get GCP_PROJECT form os env vars on Go113 runtime as mention for others runtimes on https://cloud.google.com/functions/docs/env-var#environment_variables_set_automatically
// projectID is set from the GCP_PROJECT environment variable, which is
// automatically set by the Cloud Functions runtime.
var projectID = os.Getenv("GCP_PROJECT")

The same code run on Go111 runtime.

This is documented here: https://cloud.google.com/functions/docs/env-var#nodejs_10_and_subsequent_runtimes
But, we should definitely get that sample updated -- that's a bug. Thank you for reporting this!

Sorry, I didn’t see that. Thank you very much to share.

All good! Sorry it wasn't more clear. Reopening so we can track fixing that comment.

Reopening so we can track fixing that comment.

Created a PR to fix the comment.


Show current progress

This pull request shows current progress on this charm for calibre-web.
See README.md for details on how to run, actions, etc.
I wanted to integrate with cos-lite and query the calibre-web logs with loki via grafana but bailed on that plan after sinking too much time into trying to get anything to show up in grafana, so currently you can just deploy calibre-web, write and query an ebook library, and configure how writing works (see README.md).
Integration tests currently cover pretty much everything, I think.
Unit tests are in a much more minimal state, and will need to be updated. There are a couple of tests using harness. I'd like to try using scenario for some unit tests too, but I haven't gotten to that yet.

@tonyandrewmeyer

The integration tests are still running (charmcraft test is always very slow) but everything else I've tried works great!

This ended up failing, as did a plain tox -e integration, oddly on building the charm even though doing that manually worked fine. Could just be my system?

Just to confirm:

You can manually run charmcraft pack and that works?
You were able to deploy the charm and interact with it after that?
I didn't know about charmcraft test! But tox -e integration fails on test_build_and_deploy for you?

I've been running my integration tests with tox -e integration -- --keep-models --model=calibre-web-model --no-deploy for a while now, so it's possible that something is broken in test_build_and_deploy, and I'll look into that.

You can manually run charmcraft pack and that works?

Yes.

You were able to deploy the charm and interact with it after that?

Yes. My interaction was running the action to get the list in a couple of formats, and logging in and reading the one provided book.

I didn't know about charmcraft test!

It's the spread thing that is oddly hidden.

But tox -e integration fails on test_build_and_deploy for you?

Yes. I just tried again and it still fails, but with:
2024-09-19 18:36:03.448 :: 2024-09-19 18:36:03.056 :: E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::101). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::102). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out Could not connect to security.ubuntu.com:80 (<IP_ADDRESS>), connection timed out
2024-09-19 18:36:03.448 :: 2024-09-19 18:36:03.056 :: E: Some index files failed to download.

I'm not sure if that was the error previously as well, but if it is then I assume that it's either a problem with my VM or with the upstream server. I'm unsure why charmcraft pack worked locally but maybe when pytest-operator does it it's using a different, slightly older image?


fit-content is not correctly prefixed in inline-style

Version
3.2.4
Reproduction link
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgPGRpdiBjbGFzcz1cImxhcmdlXCI+XG4gICAgICBMYXJnZVxuICAgIDwvZGl2PlxuICAgIDxkaXYgY2xhc3M9XCJzbWFsbFwiPlxuICAgICAgU21hbGwsIGNsYXNzXG4gICAgPC9kaXY+XG4gICAgPGRpdiBzdHlsZT1cImhlaWdodDogZml0LWNvbnRlbnQ7IGJhY2tncm91bmQ6IHJlZDtcIj5cbiAgICAgIFNtYWxsLCBpbmxpbmVcbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L3RlbXBsYXRlPlxuXG48c3R5bGU+XG4gIC5yb3cge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gIH1cbiAgXG4gIC5sYXJnZSB7XG4gICAgYmFja2dyb3VuZDogbGlnaHRibHVlO1xuICAgIGhlaWdodDogMTIwcHg7XG4gIH1cbiBcbiAgLnNtYWxsIHtcbiAgICBoZWlnaHQ6IC1tb3otZml0LWNvbnRlbnQ7XG4gICAgaGVpZ2h0OiBmaXQtY29udGVudDtcbiAgICBiYWNrZ3JvdW5kOiBsaWdodGdyZWVuO1xuICB9XG48L3N0eWxlPlxuIn0=
Steps to reproduce
Include fit-content in inline-style for any sizing property like height.
What is expected?
-moz-fit-content is used for Firefox.
What is actually happening?
Property is completely omitted in Firefox.

Vue doesn't do autoprefixing. This is the responsibility of the css tolling you choose in your build setup, i.e. postcss-loader + autoprefixer plugin with webpack.

@LinusBorg I think he's referring to https://v3.vuejs.org/guide/class-and-style.html#auto-prefixing.
For example this version works

Oh. I was honestly unaware we do this in Vue 3. Apologies ^^

The catch is that this issue is a static inline style="height: fit-content", whereas my understanding is that Vue performs some style auto-prefixing in bound values only: :style="{ height: 'fit-content' }".
At least that's what the docs seem to say, and doing the former would be expansive as it would defeat the static hoisting.

The catch is that this issue is a static inline style="height: fit-content", whereas my understanding is that Vue performs some style auto-prefixing in bound values only: :style="{ height: 'fit-content' }".

If this is the case, I'd expect this modified playground to work in Firefox.

For example this version works

Thanks for the workaround!

Vue only prefixes property names. fit-content is a property value. Unfortunately I don't think there is a way to automatically detect values that need prefixing at runtimes.

Btw re @jods4 's comment - static string style bindings are in fact pre-compiled into constant objects so they work the same with object bindings.


Request for contribution

Hi Spencer!
i like your project please tell me how can i contribute in it?
Thanks
Kind regards

Thank you for the offer! There's nothing I can think of right now but keep an eye out on the issues, I'm sure something will come up!


Class "Settings" button not showing sometimes

** Update **
See the comments below- rather than this being a specific issue with a class file displaying on mobile, it seems that this is an issue with some icons registered in lucide.dev not showing in obsidian (differentially for mobile and desktop).

Original issue description:
As shown in the attached images, I have a Classes folder that has the fileClass files for a Project class and a Task class. In the Desktop view, the Project correctly has a kanban icon next to it and also the files in the Test folder below (which are all assigned to this class, except the 0 Database file). However, on the mobile view, you can see that only the Task file and it's corresponding Tasks folder instances have the icon, but none of the Project files do.
It's worth noting that I had added the Task class 2 days after adding the Project class. Specifically, 1/24/24 vs 1/22/24. I don't believe I saw an update for Obsidian or Metadata Menu come through during this time, but I would've expected an update to have corrected the Project class anyway if that were the case.
As for my versions, I believe I'm current on everything but noting below as of creating this issue:

Metadata Menu: v0.7.7
Obsidian desktop: v1.5.3
Obsidian mobile: v1.4.16 (114)

this is true for both iPhone and iPad

Desktop view:

Mobile view:

I've also attached the two class files here in case that is helpful:
Project.md
Task.md

Actually.. it appears that a subset of the icons just aren't available in mobile..
I created a new class file and the default package icon showed up, so then I changed that to the kanban-square that my previous Project class was, and it disappeared. Then changing the existing Project class back to package icon allowed it to show on mobile.
I tried kanban-square and kanban, and neither worked on mobile. Curious if this is a known issue or not. Is this correct to report here or should it be reported elsewhere? I'm not sure if loading those icons is a part of this plugin or not..

Playing around with this even further, it also appears that there are some icons that don't show in desktop either. The panels-top-left and similar icons don't show in desktop.
I'll update the issue title to better reflect the issue

It depends on the Lucide version that was included in de build of Obsidian. This allows for the icons to work when working offline but has the disadvantage that not every icon is available. I'm not sure if it's possible to easily check the version that is included.

you can look for "activity-square" in the source of app.js (in the console log / Sources tab)
the whole list available with the given version of obsidian is there

oh that's good to know! Thanks for the tip there


Payment failure triggers channel closure

Background
I am trying to send two payments from my lnd node to the ACINQ (03864ef025fde8fb587d989186ce6a4a186895ee44a926bfc370e2c366597a3f8f) node. The payments were created by lightning loop. Several routes are tried and fail.
Then lnd received this error from peer: "cannot sign when there are no changes". The other side force-closes the channel. As the channel is closed, the HTLC are still in flight and I need to wait for the timeout to recover the coins.
May 01 17:34:36 lnd[24172]: 2019-05-01 17:34:36.664 [ERR] CRTR: Attempt to send payment 3631efbaddf6c2824542ffd632daf0647ac0445167934e837bdae27a028875a3 failed: FeeInsufficient(htlc_amt==14791014 mSAT, update=(lnwire.ChannelUpdate) {
May 01 17:34:36 lnd[24172]:  Signature: (lnwire.Sig) (len=64 cap=64) {
May 01 17:34:36 lnd[24172]:   00000000  b1 23 20 c2 5d 61 9f 37  90 72 fe 61 ba 15 44 c2  |.# .]a.7.r.a..D.|
May 01 17:34:36 lnd[24172]:   00000010  9b 0c 93 31 d6 ed 99 38  db 23 d2 bc e2 cc e2 86  |...1...8.#......|
May 01 17:34:36 lnd[24172]:   00000020  61 e3 f8 e1 86 6a f1 9a  a3 6f 59 da 2f c0 7f 37  |a....j...oY./..7|
May 01 17:34:36 lnd[24172]:   00000030  d4 2b ad 0c d5 41 8e 35  84 d9 59 72 9c e7 e4 53  |.+...A.5..Yr...S|
May 01 17:34:36 lnd[24172]:  },
May 01 17:34:36 lnd[24172]:  ChainHash: (chainhash.Hash) (len=32 cap=32)<PHONE_NUMBER>19d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f,
May 01 17:34:36 lnd[24172]:  ShortChannelID: (lnwire.ShortChannelID) 573938:1426:1,                                                                      May 01 17:34:36 lnd[24172]:  Timestamp: (uint32)<PHONE_NUMBER>,
May 01 17:34:36 lnd[24172]:  MessageFlags: (lnwire.ChanUpdateMsgFlags) 00000001,                                                                         May 01 17:34:36 lnd[24172]:  ChannelFlags: (lnwire.ChanUpdateChanFlags) 00000001,
May 01 17:34:36 lnd[24172]:  TimeLockDelta: (uint16) 30,                                                                                May 01 17:34:36 lnd[24172]:  HtlcMinimumMsat: (lnwire.MilliSatoshi) 1000 mSAT,
May 01 17:34:36 lnd[24172]:  BaseFee: (uint32) 0,                                                                                May 01 17:34:36 lnd[24172]:  FeeRate: (uint32) 2,
May 01 17:34:36 lnd[24172]:  HtlcMaximumMsat: (lnwire.MilliSatoshi)<PHONE_NUMBER> mSAT,                                                                     May 01 17:34:36 lnd[24172]:  ExtraOpaqueData: ([]uint8) <nil>
May 01 17:34:36 lnd[24172]: }
May 01 17:34:39 lnd[24172]: 2019-05-01 17:34:39.378 [ERR] HSWC: ChannelLink(574105:489:0) Failing link: ChannelPoint(298cd458a2a5c42a6c0658c627212929566a5355db74bc6e13d993085892d7b3:0): received error from peer: cannot sign when there are no changes
May 01 17:34:39 lnd[24172]: 2019-05-01 17:34:39.378 [ERR] HSWC: ChannelLink(574105:489:0) link failed, exiting htlcManager
May 01 17:34:39 lnd[24172]: 2019-05-01 17:34:39.378 [INF] HSWC: ChannelLink(298cd458a2a5c42a6c0658c627212929566a5355db74bc6e13d993085892d7b3:0) has exited
May 01 17:34:39 lnd[24172]: 2019-05-01 17:34:39.378 [INF] HSWC: Removing channel link with ChannelID(b3d792580893d9136ebc74db55536a5629292127c658066c2ac4a5a258d48c29)
May 01 17:34:39 lnd[24172]: 2019-05-01 17:34:39.378 [INF] HSWC: ChannelLink(298cd458a2a5c42a6c0658c627212929566a5355db74bc6e13d993085892d7b3:0) is stopping
May 01 17:34:40 lnd[24172]: 2019-05-01 17:34:40.911 [INF] LNWL: Inserting unconfirmed transaction ed554fdb94c1ad12976337c445c7b54a992f3136de521db7421d7ab0a5c87b24

Your environment

version of lnd
lnd version 0.6.0-beta commit=v0.6.0-beta-107-g42b081bb37ce2cba3ac0452ae73407fbfde4a1d6
which operating system (uname -a on *Nix)
Linux 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend
Bitcoin Core Daemon version v<IP_ADDRESS>
any other relevant environment details
These two payments were in flight:
lnbc9924270n1pwvn0rfpp550rrhuhvl6cwrkprzz4k52a6fu85jpkdq468y9u0ev27mue8zhgsdq8wdmkzuqcqzryxq97zvuqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z96xqqqg9cqqyqqqqlgqqqqqqgq9qrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9aryqq3fqqqqqqqqlgqqqqqqgq9qrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9t3vqq8dsqqqqqqqlgqqqqqqgqjqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9aryqq38qqqyqqqqlgqqqqqqgq9qz4julgyht7eerngjj5mzrerum60qknpf22a277k7lpgu50297v04tmrf3d4288vzx2y96jeunc7dsucm54ujqgk0w8ka0pshz24nf6cq9wf2cv
lnbc147900n1pwvn0rfpp5xcc7lwka7mpgy32zlltr9khsv3avq3z3v7f5aqmmmt385q5gwk3sdq2wpex2urp0ycqzryxq97zvuqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z96xqqqg9cqqyqqqqlgqqqqqqgq9qrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9aryqq3fqqqqqqqqlgqqqqqqgq9qrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9t3vqq8dsqqqqqqqlgqqqqqqgqjqrzjqgwf02g2gy0l9vgdc25wxt0z72wjlfyagxlmk54ag9hyvrdsw37s6z9aryqq38qqqyqqqqlgqqqqqqgq9qfkn42jv7cnr76r8an34kllg2krld7rxgsydz4pkdrd8g4ewap3uxpqwqzlr8lug82smxtg2kka7vhyl7prud2eywd4xghxphv8vvjjsqx293a2

Steps to reproduce
Create channel with ACINQ (0.02 BTC)
loop out 1000000
Expected behaviour
Channel stays open even if payments fail
Actual behaviour
Channel is force-closed by the other side

Looks like #1127, although that issue was claimed to be fixed long ago.

The force close is due to acinq force closing the channel. The underlying issue will be resolved by #3012.


PrepareMergeSupportForChangeFeedProcessor

Description
Prepare changeFeedProcessor for merge support.
From high level overview, separate internal changeFeedProcessor into v0 and v1.
v0 -> use partitionKeyRangeBased lease
v1 -> use epkRangeBased lease
Note: Only v1 will support merge due to the lease requirements.
public API mapping:
handleChanges -> v0
handleAllVersionsAndDeletesChanges -> v1
handleLatestVersionChanges -> v1
Major Changes included

new API handleLatestVersionChanges
All files under incremental folder is moved to v0
All files under fullFidelity folder is moved to v1
FeedRangeGoneHandler, FeedRangeGoneMergeHandler, FeedRangeGoneSplitHandler added for merge/split handling
Others to documented

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

Run the following tests locally and passed:
readAllItems
createItem_withBulk
before_ParallelDocumentQueryTest
before_ReadFeedStoredProceduresTest
before_UserDefinedFunctionQueryTest
createRecoversFrom410GoneClientGeneratedOnPartitionSplitDuringIdleTime

/check-enforcer override


Please restore visited style for hyperlinks

Previous one can quickly tell whether she has seen a problem before by checking the color of the hyperlink. This is no longer possible after the recent update. Please consider restoring the "visited" style of hyperlinks, otherwise one has to click through each link to be sure. Thanks.

The feature is a default setting for <a href></a> in html. The latest version uses Vue framework instead so it is not a default setting anymore. It is not what I designed "explicitly" in the previous version.
May I ask what is the purpose of showing "whether a problem is seen before or not"? A "clicked" link may indicate a seen problem, a try-to-solve but failed problem, a solved problem. I have no idea why a "seen" problem is important, based on another fact that a browser history is easily cleaned.

Well, since this is just a static site, it cannot display a check mark beside the problem like the main site do. A styled visited link is the closest alternative one can get. Styling visited links seems to be a long-lost practice.
Any way, I found ratings.txt is all I need. You can close this issue if styling these links was never your intention.

Sure! As in #12, my proposal for this project is not something like a LeetCode or a mini-LeetCode website. Its target is to visualize the ratings.txt in a human-friendly format. The ratings.txt itself is also pretty well-formatted as an input file, so anyone can use the data to customize their own LeetCod-ing goals.
I will close this issue and start a new one to tell all the users that rating.txt is a good source to use, for everything in their mind.


Add efibootmgr to support dual booting with Windows

Add efibootmgr to support dual booting with Windows

By adding the efibootmgr, we can use cli or desktop shortcuts to restart the system and boot to Windows Boot Manager. This is very useful for dual system users.

How does adding this help with dual booting Windows?

Got it. Thank you.


another bugs and a suggestion

My config:
glitch.zip
So whenever i hold my triggerbot key and go up to a enemy they will flicker between backtrack chams position (video)
hl2_3bo3c6cFL2.zip
And sometimes backtrack just becomes weird and either does 4-20 dmg up close from a shotgun or doesn't even hit (the same config)
(Suggestion) Team based chams - And a var to switch between custom colour and team based chams colours

This isn't really bug, more of a side effect of the way we're making the existing auto backstab work with backtrack

Your config doesn't even have backtrack on?

Your config doesn't even have backtrack on?

yeah because at the time i had the config saved it was disabled, i mostly only use aim at backtrack with backtrack enabled, same with triggerbot. I can upload the updated config if it matters that much

Backtrack doesn't apply with triggerbot (yet)

Backtrack doesn't apply with triggerbot (yet)

yeah ik, its that by triggerbot i meant auto backstab

Regardless, I can't get it to do the 4-20 damage in testing with your config

Your config also doesn't even have any triggerbot stuff configured at all

Your config also doesn't even have any triggerbot stuff configured at all

yeah sorry about that here's the updated one with all the changes that i didn't save
glitch.zip
and for that low dmg shotgun shots
so i was playing soldier on 2fort and whenever i launched someone in the air i just use shotgun on them and when i try to shoot someone who's falling i'll miss due to aimbot aiming at the backtrack ghost forcing me to disable it

Yeah I can't even play on a non local server with your config, I just crash :)

Yeah I can't even play on a non local server with your config, I just crash :)

I think its caused by me having a different version of fedoraware but I was on hvh.tf with normal fedoraware and I didn't crash

No it's my fault (I am retarded)

Man no offense, but your config is actually awful, I'm surprised you manage to hit any shots with projectiles

Man no offense, but your config is actually awful, I'm surprised you manage to hit any shots with projectiles

For me works completly fine I hit good airshots and overall hits most of the time

Well I can't use this shit, but still can't someone "up close and in the air" with a shotgun to do low damage

the backtrack is really bad.


Refactor project 4 (as needed)

Kevin, if you want, @katiepark could lend a hand with this too.

Trying to figure out a cleaner way to write a unicode csv in python 2.x. There has to be a better way than doing this: https://github.com/ireapps/pycar/blob/master/project4/step_3_complete.py#L32-L35
I currently see two options (please add more if you see more):

Include a sane UnicodeCsvWriter class in this repository
Include a PyPI dependency, like python-unicodecsv

In the first option, do you mean that we would walk through writing a UnicodeCsvWriter class with the attendees? I think that could be a little too far into the weeds.
python-unicodecsv looks reasonable to me, though I haven't used it before.

On this branch, I made a few small changes to the readme and updated the GovTrack URL/json we're scraping to reference the most recent Congress.
In Steps 2 and 3, we're unnecessarily importing requests. @kevinschaul -- Is this just because the internet was bad and you switched to using a local version of the json? Should we plan to make the actual API requests or just reference the local file?
The unicode issue in Step 3 asks the attendees to use their debugging skills to address the issue. If we want to specifically use the python-unicodecsv module, do we still approach it in that way?

I'm hoping we can figure out a way to completely hide text encoding issues from our poor beginners. Seems like something they ideally won't need to worry about their first day of programming. Do you think it's a good problem for debugging?
If I remember correctly, our thinking was we shouldn't really ping GovTrack every time each of us runs the script, but we should make sure the code can be pretty easily modified for real-world use. Not sure how I feel about this. If nothing else, we could make it much clearer that a real-world use would probably involving using requests.

I think avoiding explicit encoding issues as much as possible is a fantastic idea.
fwiw, unicodecsv is included in the Anaconda Python distribution we're using. So we can include it in requirements.txt, but won't need to have anyone pip install it.

Oh, awesome! Let's just use that then.

Removed the extraneous requests imports and updated step 3 to use unicodecsv. Those changes are on the branch dev-kp -- @kevinschaul, want to take a look before we merge into master?
So, as Kevin and I discussed, it might make sense to approach the unicode issue like this -- encourage attendees to use their debugging skills to figure out what the error is and find a possible solution. But instead of everyone implementing whatever solution they find, we can say "we're going to use this specific module to fix the problem" and continue working from there. It can keep things simple while still encouraging debugging practices.

@katiepark looks good to me!

Hey Kevin and Katie, how's your branch going? Are you ready to merge it with master?

Whoops, sorry -- this is merged!


How to install it ? (speaking French is possible)

I don't understand what i need to do to install CS RIN RU Enhanced mod in Google Chrome.
Is someone can help me please ?
Thanks.

I don't speak French, sorry, but I'll try to explain as simple as possible. Two steps should be enough:

instal Violentmonkey
click on this link: https://raw.githubusercontent.com/SubZeroPL/cs-rin-ru-enhanced-mod/master/cs-rin-ru-enhanced-mod.user.js

And it should work

Thank you it works !

I just don't understand the difference between before and after.

google traduction n'est pas si mauvais ;)

je ne l'ai pas utilisé pour une phrase si courte et si simple !!

Je voulais parler de SubZeroPL ;)


Review comments:

Some changes to #100 in separate PR to s.t. other PRs (#104, #105 etc) don't need to rebase / merge

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

Merging this as it's probably better to have only one open PR regarding the light client instead of several.


refactor(TopNavigation.js): changed class based comp to function based

I have refactored this class based component into functional based and improved its implementation.
Please Review :)
Signed-off-by: Arteev Raina<EMAIL_ADDRESS>

@DianaLease PR is ready for review..


Examples: feature matrix table to know what's where

Akin to e.g. wgpu's feature matrix

we have an example doc page by now but a feature matrix would still be nice

Related:

https://github.com/rerun-io/rerun/issues/2270

I think the proper way to achieve this would be to have either a dedicated front matter property in the examples, or some custom feat:point3d-style tags. What do you think @jprochazk?


Unused argument

https://github.com/cryptocorrosion/cryptocorrosion/blob/8bd2124d05c774febb90a6f0cc1b6bb875668037/utils-simd/ppv-lite86/src/generic.rs#L67
Tell me this isn't a bug?

Yeah that's broken. Luckily, nothing in the crate uses it.


Cannot create colour maps where the opacity or color plane only has one point

Proved this by the failing test case. Cannot be merged until it's properly fixed.

Noticed that there's also no support for having no points. I've added to give a map default points if no points has been provided.


Note Creation Formatting not working on Mobile

When running the create periodic note commands (for any time scale), it names the folder "YYYY" instead of the actual year, and does this same thing in the title of the note. This does not occur on desktop for me, but does on mobile

@heph3astus This works for me on mobile, do you still encounter this problem?

I forgot to close this. It fixed itself in one of the recent updates.