Curl works but envoy as ingress-controller not in a kubernetes cluster

We are trying envoy with contour as kubernetes' ingress controller in a Kind provisioned local cluster.
Inside envoy‘s container, we can curl auth-service:5000 with a 200, but when access through the ingress, curl  localhost/auth, it will end with a 404.
Totally new to envoy, not even know how to begin to resolve this issue, please help！
The log inside envoy is like this:

[2021-01-04T10:31:22.593Z] "GET /auth HTTP/1.1" 404 - 0 0 19 18 "<IP_ADDRESS>" "curl/7.64.0" "4f7e876a-aec1-45ba-a0c6-9b9cad5b41c2" "localhost" "<IP_ADDRESS>:5000"

Our service and pods are like the following.
$ kubectl get svc
NAME                   TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
contour-ingres         ClusterIP      <IP_ADDRESS>    <none>        8001/TCP                     128m
contour-ingres-envoy   LoadBalancer   <IP_ADDRESS>     <pending>     80:31369/TCP,443:32664/TCP   128m
auth-service   ClusterIP      <IP_ADDRESS>    <none>        5000/TCP                     17m
$ kubectl get pods -o wide
NAME                                      READY   STATUS    RESTARTS   AGE     IP            NODE                    NOMINATED NODE   READINESS GATES
bar-app                                   1/1     Running   0          144m    <IP_ADDRESS>   ingress-control-plane   <none>           <none>
contour-ingres-contour-6f989674f4-f7dd8   1/1     Running   0          116m    <IP_ADDRESS>   ingress-control-plane   <none>           <none>
contour-ingres-contour-6f989674f4-pvx96   1/1     Running   0          116m    <IP_ADDRESS>   ingress-control-plane   <none>           <none>
contour-ingres-envoy-8586x                2/2     Running   0          113m    <IP_ADDRESS>   ingress-control-plane   <none>           <none>
auth-deployment-785b9994d-xnrmc   1/1     Running   0          6m23s   <IP_ADDRESS>   ingress-control-plane   <none>           <none>

Ingress config:
   http:
      paths:
      - backend:
          serviceName: auth-service
          servicePort: 5000
        path: /auth
        pathType: ImplementationSpecific"

Seems like Envoy is responding, however, you need to provide "host" to the ingress CRD and the "Host" header to the request (for example, let's name the host: "auth-service.local"), something like:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: auth
  namespace: default
spec:
  rules:
  - host: auth-service.local
    http:
      paths:
      - backend:
          serviceName: auth-service
          servicePort: 5000
...

And then the request:
$ curl -H "Host: auth-service.local" localhost/auth

(This is under the assumption that you have setup the kind cluster correctly, which I think you have since envoy is responding to your request).

Seems like Envoy is responding, however, you need to provide "host" to the ingress CRD and the "Host" header to the request (for example, let's name the host: "auth-service.local"), something like:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: auth
  namespace: default
spec:
  rules:
  - host: auth-service.local
    http:
      paths:
      - backend:
          serviceName: auth-service
          servicePort: 5000
...

And then the request:
$ curl -H "Host: auth-service.local" localhost/auth

(This is under the assumption that you have setup the kind cluster correctly, which I think you have since envoy is responding to your request).

@dio Thanks. It turns out related to Header Rewrite.
I switched ingress-controller to nginx-ingress, and add the rewrite annotations, then it works.
`
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
...
path: /something(/|$)(.*)
`

@dio Thanks. It turns out related to Header Rewrite.
I switched ingress-controller to nginx-ingress, and add the rewrite annotations, then it works.
`
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
...
path: /something(/|$)(.*)
`


[scaffolder] Expose formData to fields

Right now, the complete formData isn't accessible to field implementations.
Feature Suggestion
Expose formData to fields to allow context dependent behavior. I've been thinking about both defaults and validation, but if #6932 is about scaffolder, it could also be used to populate options dynamically.
Possible Implementation
Create a React context for formData and expose it to fields. Maybe even together with a setFormData entry point to change status.
Context
I would like to create repository name defaults based on metadata for the created project, and validate some constraints while still being able to adjust the name manually.
Having a setFormData could allow a field to add computed values, which could be helpful for actions. I'm also seeing a lot of opportunity for shooting yourself in the foot here, though.

I'd be happy to take a look at this, but I'd like to get some feedback on the proposal first. And possibly an example to follow. I think I found at least two different ways on where to put the code that exposes a context on a plugin api.

Like @freben says, it feels a little unfortunate to have these invisible dependencies between fields, I wonder if it's possible to have a Custom Field Extension that can render multiple input fields and track the state between them in that component instead? Does that work for you use case @pike?

TBH, I've tabled this as "not part of the demo". In the end, if we write a frontend for a scaffolder, it'll be the same kinda work independent of scaffolder-backend or not. If a mostly-full-page field is engineering-wise and ux-wise a good option would be for another day. Surely an option to look at, though.


Added chat screens

Created whole UI of messaging component.
Updated the app bar. Now there is separate app bar for different screens.

The background in chat bubble needs more attention.

PS: Fix the linting errors too


BUILD FAILED (CentOS 7.0.1406 using ruby-build 20160130-6-g9e57fb0)

$rbenv install 2.3.0
Installing ruby-2.3.0...

BUILD FAILED (CentOS 7.0.1406 using ruby-build 20160130-6-g9e57fb0)

Inspect or clean up the working tree at /tmp/ruby-build.20160218034541.29318
Results logged to /tmp/ruby-build.20160218034541.29318.log

Last 10 log lines:
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [parse.o] Error 4

You might have not enough RAM to complete the build, or there might be not enough disk space in /tmp. Can you check that the partition where /tmp is mounted has at least 500 MB free?

Also try with RUBY_CONFIGURE_OPTS=--disable-install-doc.


ViewPager layout breaks when detaching and attaching it again

Environment info
react-native: 0.61.5

Library version: 3.2.0
Steps To Reproduce
See the issue:

Reproducible sample code
Repro: https://github.com/ferrannp/react-native-viewpager-detach-example
When navigating to another screen with react-navigation (e.g to another tab), onDetachedFromWindow is called. When we come back to the view that has the ViewPager, this code is called:
https://github.com/react-native-community/react-native-viewpager/blob/master/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPager.java#L212-L219
However, it seems to be called too late and the Pager gets broken. I tried the following solution:
  @Override
  protected void onAttachedToWindow() {
    super.onAttachedToWindow();
    // The viewpager reset an internal flag on this method so we need to run another layout pass
    // after attaching to window.
    this.requestLayout();
    // CODE CHANGES BELOW
    measure(
            MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.EXACTLY),
            MeasureSpec.makeMeasureSpec(getHeight(), MeasureSpec.EXACTLY));
    layout(getLeft(), getTop(), getRight(), getBottom());
  }

And it works. However, I am not sure this is the best solution. I know @kmagiera did something similar before with Pager so I am just CCing you here. Maybe @satya164 @NoemiRozpara you found this before when working with react-navigation and ViewPager? I'll also CC @ruiaraujo which implemented this piece of code 2 years ago 😄 .

FYI I will not be able to help. This was one of the last bug fixes I did and I recall nothing. :man_shrugging:

Using this for now, can't comment on whether or not it's the best solution but can confirm it works! Thanks @ferrannp

How to fix in Expo?

@sparsityc I think this is the same bug right?

@troZee this is a really strange bug do you know how to fix this?


Core Validation: Invalid "Descriptor in binding #X at global descriptor index Y requires an image view of type (none) but got VK_IMAGE_TYPE_.." error debug call-back fired at draw call time

I'm seeing an interesting, yet presumably invalid, error call-back if my vertex shader uses input attachments:

If this matters, the shader defines two input attachments and two color attachments, each binding pointed at the same tuple of images. Might also be useful to point out I'm using a copy of validation layers taken yesterday from the master branch.
I can provide a Windows binary which reproduces this issue.

@chrisforbes can you take a look at this first? In a quick check it seems like we're gathering descriptor_req from all shader stages in validate_pipeline_shader_stage() but is there some hole related to VS?

Yeah, we're not quite doing the right thing here. I'll fix.
On 27 Aug. 2016 2:42 am, "Tobin Ehlis"<EMAIL_ADDRESS>wrote:

@chrisforbes https://github.com/chrisforbes can you take a look at this
first? In a quick check it seems like we're gathering descriptor_req from
all shader stages in validate_pipeline_shader_stage() but is there some
hole related to VS?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/890#issuecomment-242754831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH3bdjChnTIQJnO-CIogXeU7e0A5bRuks5qjvtfgaJpZM4Jtx7l
.

@tobine this check produced a false positive if there was /no/ view type requirement coming out of SC.

Fixed in master.


An idea for the alternate history timeline maker

I still use the old version of the alternate history timeline maker. I use it because you can play the timeline automatically and even on different speeds. It's just an idea, but could this be added to the new version too?

I've added the feature on the new version. Closing this issue.


Text disappear when switching between two tabs

All the text disappear after switching several times between two tabs,
and if I scroll or adjust the size of terminus interface, the text will be back.
screengif is here
OS: Win 10,  Ver: 1.0.75

oh it's same as #755


"no-unnecessary-callback-wrapper" too strict when applying to functions with optional arguments

When rule no-unnecessary-callback-wrapper is on,
array.map(arg => functionWithOptionalSecondArg(arg))
needs to be converted into
array.map(functionWithOptionalSecondArg)
These are semantically different in that the first one does not pass the array index to the function while the second one does.
Ideally, the rule would detect this condition and not trigger.

Duplicate of #2430


Error With Int32 Field Conversion

Set root to /sitecore/content and set breakpoint on AzureUpdateContext's Commit method.  Rebuild indexes to causes error (assuming multiple versions of 1 or more content items)

Was an issue w/ the configuration, which was set to Int32 for the 'version' field, when it should have been System.List


Additional unit tests for GeneratedInternalRowToCudfRowIterator

Adding some additional tests to GeneratedInternalRowToCudfRowIteratorRetrySuite.
The existing GPU OOM retry tests were actually testing CPU ooms, after the CPU Host Memory retry changes went in.
Now that we have improved the forced OOM interfaces, we can fix these.
I changed the existing tests to target the correct GPU operations, and added some new tests for the Host Memory allocations.

build

Just FYI, some of the tests that were added with this PR are failing in the premerge tests. It appears to be for -Dbuildver=333
[2023-12-20T22:05:23.226Z] - a split and retry when allocating dataBuffer is handled *** FAILED ***
[2023-12-20T22:05:23.227Z]   com.nvidia.spark.rapids.jni.CpuSplitAndRetryOOM: CPU OutOfMemory: could not split inputs and retry
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$AutoCloseableAttemptSpliterator.split(RmmRapidsRetryIterator.scala:460)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryIterator.next(RmmRapidsRetryIterator.scala:588)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryAutoCloseableIterator.next(RmmRapidsRetryIterator.scala:517)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$.drainSingleWithVerification(RmmRapidsRetryIterator.scala:291)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$.withRetryNoSplit(RmmRapidsRetryIterator.scala:132)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.$anonfun$loadNextBatch$1(GpuColumnarToRowExec.scala:262)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.$anonfun$loadNextBatch$1$adapted(GpuColumnarToRowExec.scala:260)
[2023-12-20T22:05:23.227Z]   at scala.Option.foreach(Option.scala:437)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.loadNextBatch(GpuColumnarToRowExec.scala:260)
[2023-12-20T22:05:23.227Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.hasNext(GpuColumnarToRowExec.scala:304)
[2023-12-20T22:05:23.227Z]   ...
[2023-12-20T22:05:24.594Z] - a split and retry when allocating offsetsBuffer is handled *** FAILED ***
[2023-12-20T22:05:24.595Z]   com.nvidia.spark.rapids.jni.CpuSplitAndRetryOOM: CPU OutOfMemory: could not split inputs and retry
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$AutoCloseableAttemptSpliterator.split(RmmRapidsRetryIterator.scala:460)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryIterator.next(RmmRapidsRetryIterator.scala:588)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryAutoCloseableIterator.next(RmmRapidsRetryIterator.scala:517)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$.drainSingleWithVerification(RmmRapidsRetryIterator.scala:291)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.RmmRapidsRetryIterator$.withRetryNoSplit(RmmRapidsRetryIterator.scala:132)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.$anonfun$loadNextBatch$1(GpuColumnarToRowExec.scala:262)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.$anonfun$loadNextBatch$1$adapted(GpuColumnarToRowExec.scala:260)
[2023-12-20T22:05:24.595Z]   at scala.Option.foreach(Option.scala:437)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.loadNextBatch(GpuColumnarToRowExec.scala:260)
[2023-12-20T22:05:24.595Z]   at com.nvidia.spark.rapids.ColumnarToRowIterator.hasNext(GpuColumnarToRowExec.scala:304)
[2023-12-20T22:05:24.595Z]   ...

build

I am having trouble reproducing the premerge failure locally.   I can step through the unit tests in the debugger, and the CpuSplitAndRetryOOM appears to be throwing on the correct allocation, but clearly in the premerge test it is hitting in an allocation in ColumnarToRowIterator.loadNextBatch.  It doesn't seem to be a count issue, because it's hitting for both of these unit tests.

I figured out what was happening here.  In premerge, another test (HostAllocSuite) was calling HostAlloc.initialize(), which was setting the default allocator in cudf.  When I was running this test in isolation, that wasn't happening, so the alloc that was hitting the exceptions in premerge was not using going through our host memory code.
I added a call to HostAlloc.initialize() in RmmSparkRetrySuiteBase, and verified that the other tests that derive from it still pass.

build

@revans2 this should be good now.

build


Udocker pulls image for the wrong processor architecture

udocker pull pulls image for the wrong processor architecture.
When running under arm64, amd64 (aka. x86-64) image is pulled, even though a native arm64 image is available for that container. Correct behavior should match that of "docker pull" command: try to pull image for the host machine architecture first and if it isn't available, display a warning and pull image for a different architecture, usually amd64.
Platform: Android (Termux)

I am encountering the same problem trying to use udocker in termux. I tried to figure out what's wrong by running udocker -D pull hello-world. Looking at the debug output, it seems like udocker is fetching manifest v2 version 1 instead of version 2. I think this is probably the problem because according to docker docs I read, it looks like multi arch requires manifest v2 version 2. But CMIIW.

I've noticed the manifest issue as well. Did some digging in the code but could not find a reason why.
I work-arounded this issue by adding support for pulling images by their SHA256 hashes (Docker syntax: docker pull imagename@sha256:).
This allows me to force udocker to request a specific image instead of a tag. Not the most convenient way, but it does the job.
I can upload a patched version if anyone needs it (the code would require some cleaning-up for a proper PR).

@ddscentral Nice! I am interested with your patched  version of udocker. I will be thankful if you can share it somewhere.

Link: udocker-1.3.7-patched-DDSC.tar.gz
Changes:

Support for pulling images by sha256 hash.
Support for QEMU user-mode emulation. Set QEMU_PATH environment variable to your qemu-user binary (eg qemu-x86_64) before executing "udocker run" command.

I made this fork for my own uses and will not provide support for it. Code cleanup is welcome.

@ddscentral I have a couple of questions about your fork.

You added qemu multiarch stuff, so the use case is to run x86 image on arm, am i understanding it correctly?

Why did you add proot link2symlink here? What problem you are trying to solve here?

Yes, this allows to run images made for a different processor architecture (eg. x86 on ARM).
Similar to https://github.com/tonistiigi/binfmt but in userspace and without requiring binfmt support.
Sorry, my comment probably isn't the clearest. Proot with link2symlink is required to workaround permission issues when extracting Docker images which contain hardlinks. This option converts them to symlinks.

Another note: when running udocker under Termux, you will need to replace "proot" binary installed by Udocker with Termux version as the stock one will not work on Android.

This issue should be fixed in release 3.9.

release 1.3.11 created


Environment variables not included after running adapter-node build using node build/index.js

Describe the bug
When creating a project setting env vars and accessing them via $env/dynamic/private.
The env vars appear fine when running npm run dev and running npm run preview after build, but are not accessible when running the app using node build/index.js.
I provided a minimal repo for reproduction.
Reproduction
https://github.com/xpluscal/svelte-env-test
Logs
No response
System Info
System:
    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 974.33 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.8.0 - ~/.nvm/versions/node/v18.8.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v18.8.0/bin/yarn
    npm: 8.18.0 - ~/.nvm/versions/node/v18.8.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 108.0.5359.94
    Firefox: 92.0.1
    Safari: 16.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.90
    @sveltejs/adapter-node: ^1.0.0-next.102 => 1.0.0-next.102
    @sveltejs/kit: next => 1.0.0-next.572
    svelte: ^3.53.1 => 3.54.0
    vite: ^3.2.4 => 3.2.5

Severity
blocking all usage of SvelteKit
Additional Information
No response

This works for me with your repro. Are you sure the environment variables are actually set in the application? If you run
FOO=bar
node build/index.js

the environment variable won't actually be passed down to the child process. You either need to use export FOO=bar or you need to run FOO=bar node build/index.js.
Also, if you are setting env vars with a .env file, those aren't loaded by the production app - you need to have the variables actually set when running it.

Thank you for the swift feedback.
I did run a test run with FOO=bar node build/index.js, which worked.

Also, if you are setting env vars with a .env file, those aren't loaded by the production app - you need to have the variables actually set when running it.

Could you explain that?
In our production app we have a .env file set and the app doesn't seem to recognize it.
Do we need to separately run dotenv config or does svelte do that?

We previously used dotenv, but have ditched that in favor of the new svelte env logic.
Aka importing it using
import { env } from '$env/dynamic/private'

And then we only have a .env file in the root folder above the build and are running node build/index.js
Previously those envs would be picked up, after switching to the new env paths they are not. Any thing we are missing?
The env vars are set in the environment.
Thank you!

We previously used dotenv, but have ditched that in favor of the new svelte env logic.
Is there a way to get them into the app just using the .env file?

dotenv is still the way to go if you need to load the contents of an .env file in production. (SvelteKit does this in dev and preview, but in production you're expected to provide the environment.)
Instead of running node build, you can do node -r dotenv/config build. Opened #8020 to document this.

dotenv is still the way to go if you need to load the contents of an .env file in production. (SvelteKit does this in dev and preview, but in production you're expected to provide the environment.)
Instead of running node build, you can do node -r dotenv/config build. Opened #8020 to document this.

Thank you that was super helpful and exactly the information I needed. Much appreciated!

The interesting thing is that while the dotenv will work for all other envs, for ORIGIN it will not.
I’m not entirely clear how adapter-node pulls in that var, but the only solution was to prefix it in the npm start command. Not pretty since this has to be changed depending on the environment.

We'd need a specific reproduction for that. It doesn't make a lot of sense to me, because ORIGIN is grabbed right off process.env the way any other variable would be. https://github.com/sveltejs/kit/blob/master/packages/adapter-node/src/env.js


Clean Installation problem with this new version

Hi,
There are a lot of improvements and fixes so I decided to make a fresh installation.
Downloaded compiled and published the code, uploaded to PRD folder.
Replaced the connection string from my old config file.
Deleted the old database.

When I seed the data, I can see the tables created and I also see the admin user added to users table. But there are no sample posts created, it is just empty.
I can successfully login to admin but none of the functionalities are working. I cannot create a new blog post. If I try to change the theme, page refreshes but setting change is not applied, returns back to default theme.

Thanks in advance.
Br
Gokhan

Hi @gkaya,
Are you using SqlServer?
Have you followed the advice given in the troubleshooting doc?

Yes I'm using SqlServer.
SQL user and other settings are all good, those are reused and was working fine in previous installation.
I also tried with default sqllite installation. Problem 1) does not exist, I can see the sample posts, Problem 2) persist, I still cannot save/change settings at admin although authentication works flawlessly.
I can try local installation but that will need a lot of configuration and will be time consuming.
PS: I also tried publishing with "portable" and "win64" profiles, same results.

There seems to be a log folder, I was expecting to see some errors generated when I click action buttons from Admin, there was nothing logged to the file.

attaching 40sec video
2020-05-08_15-06-37.zip

Hope you dont mind I logged in onto your site from the URL in the video.
It all seems to be working fine on my end.
You will see I added a test post which I shall delete shortly.

super, thank you very much, this is a very valuable piece of information.
I'll check with different browsers and laptops, I'll share the results.
PS: I was using latest version of Firefox on Win10.

@jwmxyz  I have tested with my second laptop (again with Win10), all is good.
on company laptop it doesn't work for some reason. (but was working fine in previous release).
I don't think we need to dig into this, It is probably a network device on company network that is blocking something.
Thanks for the hint.
Btw: sample blog post not seeded to SQL seems still valid but again not a big deal.
You may want to check that for cosmetic reasons.
I'll close the ticket now.


Fix unstable kademlia test

For now, it's disabled
Example stack trace:
$ (cd _build/default/lib/kademlia && .kademlia.inline-tests/run.exe inline-test-runner kademlia -source-tree-root ../.. -diff-cmd -)
File "lib/kademlia/membership.ml", line 626, characters 8-2332: connect with ban logic threw
(monitor.ml.Error "Assert_failure lib/kademlia/membership.ml:669:14"
("")).
Raised at file "src/result.ml" (inlined), line 168, characters 17-26
Called from file "src/thread_safe.ml", line 125, characters 2-36
Called from file "lib/kademlia/membership.ml", line 541, characters 12-16
Re-raised at file "lib/kademlia/membership.ml", line 541, characters 41-48
Called from file "runtime-lib/runtime.ml", line 486, characters 15-19
Called from file "runtime-lib/runtime.ml", line 327, characters 8-12
Re-raised at file "runtime-lib/runtime.ml", line 330, characters 6-13
Called from file "runtime-lib/runtime.ml", line 343, characters 15-52
Called from file "runtime-lib/runtime.ml", line 430, characters 52-83
in TEST_MODULE at file "lib/kademlia/membership.ml", line 602, characters 4-3184: Trust
in TEST_MODULE at file "lib/kademlia/membership.ml", line 393, characters 0-10603: Tests

let's just say we're not doing this, since libp2p is happening.


Upgrade to Compose 1.7.0

We are on 1.6, but should update to 1.7 to unlock new APIs and fixes

Closed by #421


Little util

Signed-off-by: Miek Gieben<EMAIL_ADDRESS>

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

@pires commented on this pull request.
Is the goal to replace the code that cleans-up during DeletePod?

yes, and the pre-setup, chowning directories and creating the configmap/secrets dirs.
(moving anything that touches the FS out of systemk proper)

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

@pires commented on this pull request.
Is the goal to replace the code that cleans-up during DeletePod?

yes, and the pre-setup, chowning directories and creating the configmap/secrets dirs.
(moving anything that touches the FS out of systemk proper)

I'm not sure I understand why would a separate binary be called to create Secrets/ConfigMaps. I understand if we do it for chowning/cleaning up as mentioned in #53

I'm not sure I understand why would a separate binary be called to create Secrets/ConfigMaps. I understand if we do it for chowning/cleaning up as mentioned in #53

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

I'm not sure I understand why would a separate binary be called to create
Secrets/ConfigMaps. I understand if we do it for chowning/cleaning up as
mentioned in #53

mostly to not have a separation of duties, although systemk will still populate said
directies w/ the data from the api server.

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

I'm not sure I understand why would a separate binary be called to create
Secrets/ConfigMaps. I understand if we do it for chowning/cleaning up as
mentioned in #53

mostly to not have a separation of duties, although systemk will still populate said
directies w/ the data from the api server.

OK this may be me misunderstanding your original comment. I read this new binary would create the Secrets/ConfigMaps but what you're really saying is that it will create te directories alone. Gotcha!

OK this may be me misunderstanding your original comment. I read this new binary would create the Secrets/ConfigMaps but what you're really saying is that it will create te directories alone. Gotcha!

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

OK this may be me misunderstanding your original comment. I read this new
binary would create the Secrets/ConfigMaps but what you're really saying is
that it will create the directories alone. Gotcha!

yep, sorry for not being clear. This should create a dir layout, ready to be used by
unit. The only remaining bit for systemk is populating it with content.

[ Quoting<EMAIL_ADDRESS>in "Re: [virtual-kubelet/systemk] Littl..." ]

OK this may be me misunderstanding your original comment. I read this new
binary would create the Secrets/ConfigMaps but what you're really saying is
that it will create the directories alone. Gotcha!

yep, sorry for not being clear. This should create a dir layout, ready to be used by
unit. The only remaining bit for systemk is populating it with content.

Nah, I think you were. I should've read twice.

Nah, I think you were. I should've read twice.

We've had some discussion off-line and this doesn't seem to be worth while (yet). Let's keep it in systemk, as most likely health checks will also be in that binary.

We've had some discussion off-line and this doesn't seem to be worth while (yet). Let's keep it in systemk, as most likely health checks will also be in that binary.


test with go-1.16, use linter action, fix linter issues

Codecov Report

Merging #66 (7c5c15d) into master (043b608) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #66   +/-   ##
======================================
  Coverage    4.46%   4.46%
======================================
  Files          14      14
  Lines        1076    1076
======================================
  Hits           48      48
  Misses       1022    1022
  Partials        6       6

Impacted Files
Coverage Δ

network.go
0.00% <0.00%> (ø)

size.go
0.00% <ø> (ø)

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 043b608...7c5c15d. Read the comment docs.


Request a means of using it without requiring a service user account

e.g. create a GitHub app that can be deployed to an organization that has permission, or it’s own tokens that allow for non-human use.
I was asked to open an issue with fuzzbucket requesting a means of using it without requiring a service user account as we are trying to create a Jenkins service user for our team.

I'd like to introduce a delegated/robot account concept that I think will strike a reasonable balance between convenience and security. Feedback wanted! (pinging @astayleraz @jspiewak @statik)

⚠ The commands shown below are proposed/aspirational vaporware ⚠

As an existing logged-in human user, one would create a "robot" account like this:
fuzzbucket-client create-robot bb8 path/to/id_ed25519_bb8.pub

This command would ensure that the robot account and given SSH public key are created and then write a new entry to ~/.cache/fuzzbucket/credentials that could be used locally:
fuzzbucket-client create --name applepie2 --as-robot bb8 ubuntu22

On the server side, this robot account would be authenticated via the secret provided by the client and also the human associated with the robot would be checked via the auth provider (GitHub, Okta, etc.). In this way, the human would still be required to exist and authorize access, but the robot credentials and SSH key pair could be used in an automation context:
$ fuzzbucket-client export-robot bb8
FUZZBUCKET_CREDENTIALS=humanperson+bb8:td6LoVGlcYL5yVEdWFBllO83rPdhNMpSpvDVQOn6MX

Other approaches that I thought would be less great:

statically-defined (non-expiring) user:secret credentials via deployment configuration
creation of standalone robot accounts via API with non-expiring credentials stored in the database

@jspiewak this is true! Is it acceptable? Would it be better (convenience/security wise) to support non-expiring standalone robot accounts?

My preference would be to start with non-expiring tokens for robot accounts, and to then consider enhancing it with expiring tokens that an authorized human user is able to generate, and to keep robots unassociated with the human who created it (other than to record who create it).
All this being said, if Okta is supported, the IDE team has a service account user there (rstudio-ide-test@posit.co). That user could be used to create the robot account so that the authorization browser flow is not needed from a CI pipeline.

Given that I'm planning to get the IDE team's deployment of fuzzbucket migrated to one that uses Okta, I'll focus on getting the<EMAIL_ADDRESS>account working before considering any further changes 👍🏼


Changing requiredSystemFeatures changes hash

In our setup, a hydra instance provides pre-built packages for all our necessary NixOS configuration, CI, etc...
We encountered a problem when we needed finer control over which build host gets assigned certain build steps.  Specifically rustc was repeatedly assigned to a machine that could not handle it.  (big-parallel had not been added to rustc on that nixpkgs channel).  To work around that, we changed the requiredSystemFeatures attribute in an overlay, to make sure the build does not fail because of resource restrictions.
Unfortunately, this changes the hash of the derivation, and thus all downstream dependencies.  This means that the official binary cache cannot serve these packages anymore, as only our local binary cache produces them, although nothing in the final artifacts is different from the original package(s).
As far as I can tell, requiredSystemFeatures should not have any influence on the artifact itself, only on the way it is built.  If that is the case, would it be feasible to have it not influence the resulting hash?
If not, is there any other way to influence per-package hydra behavior?
Possibly related: #16263

cc @spacefrogg

As far as I can tell, requiredSystemFeatures should not have any influence on the artifact itself, only on the way it is built.  If that is the case, would it be feasible to have it not influence the resulting hash?

If you pass it to mkDerivation, it is a variable available to the build script via environment.
Maybe this indeed should be changed (but this would also be a Hydra change, I guess)

This is a Nix issue.

Done.


confluent-kafka-dotnet does not produce to partitions by default the same way the Java client produces

Description
Confluent produces with the underlying librdkafka consistent_random which does not match the Java client.  Since Java is the standard, can we please set to murmur2_random by default (and of course allow overrides).
How to reproduce
Publish with confluent-kafka-dotnet.  Publish with Java.  See the same key go to different partitions.  This is the case on all versions, all OSes.
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

thanks for the feedback. it's a big decision to change this because many existing application using the default librdkafka partitioner (and there are lots of them) would need to explicitly update their configuration or break. we need to weigh up this inconvenience against the confusion/inconvenience caused to new users by having a different default partitioner to the java producer. which has highest impact? I'm not sure.

Perhaps you could start by calling it out in the README along with a code example of how to set it to use the same partitioner as Java clients?

yes, sorry our docs are currently very poor across the board for the clients. we're going to do something about this.


x/tools/gopls: incorporate pgo into release process

Reminder issue: we should use pgo with gopls.
We can either calibrate using our benchmarks, or by collecting/merging real editing sessions.

I have looked into optimizing gopls with pgo, but there are few benchmarks in gopls, so it is difficult to measure the performance gains from pgo.
I'm curious how to measure the optimization that pgo brings to gopls?

@qiulaidongfeng there are benchmarks for performance critical operations, across a variety of open-source repositories, defined in the x/tools/gopls/internal/regtest/bench package. These produce the dashboard I linked above, which we monitor to detect performance regressions.
Can you explain why these are inadequate for evaluating pgo? (serious question: perhaps I'm missing something).

@findleyr
I didn't see before x/tools/gopls/internal/regtest/bench, because I use of pgo from go1.21 released just a few months.
I have been using go test-bench =. Maybe I fell into a mindset, sorry to make you confused.

Ah, those benchmarks are failing because they use /bin/sh (the perf builders are linux). We can and should fix this.


Add files via upload

Scraping the details from a category and storing it in a csv file .
What the program do ?
Scraps the the image link ,tag and price of all the items from mens category and stores it in a csv file.
In what programming language it is written?
Written using python + scrapy

This pull request do not contains files in specific folders. Please fix it and reopen


Using java objects in conditions with "or"

Describe the bug
When you try to compare an object with more than one java objects condition fails.
To reproduce
set {_ice} to Material.ICE
if {_ice} is (Material.ICE or Material.STONE):
  broadcast "ICE"
else:
  broadcast "NOT ICE"

Expected behavior
Using javaobjects with skript's conditions properly.
Server information

skript-reflect: 2.3
Skript: 2.6.3
Bukkit: Purpur-1770
Minecraft: 1.19.2
Java: 17
OS: CentOS 7

Additional context
I know you can simply replace if {_ice} is (Material.ICE or Material.STONE): with if (Material.ICE and Material.STONE) contains {_ice}:
but that's totally different condition.

Yes, I also encountered this bug, I solved it in the same way as the author

This occurs because Skript parses the input as if {_ice} is ((Material.ICE or Material).STONE) (i.e. gets the STONE field of Material.ICE or MATERIAL). You can add parentheses as such: (Material.ICE) and (Material.STONE).
I don't think I can / should do anything about this. Although it doesn't make much sense with the context of Material class and these fields, in general this could be desired.
Same in terms of the Skript side of this, I don't think the parser should be changed. It currently prefers a single expression over a list of expressions, which causes this behaviour.


Contextual Boundary manifest tag is deprecated

Setting the meta export setting for Boundary Mode to Contextual adds
<uses-feature
        android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP"
        android:required="true" />

to the android manifest. However, Meta does not allow this in the Quest store, as it is a "experimental" feature. Forums report that changing it to just BOUNDARYLESS_APP fixes this issue, however the point of the boundary being contextual is for it to be disabled only in passthrough. The Meta docs suggest that a flag should be set instead in the OVManager in Unity, however I don't think such a flag exists in Godot's implementation.
    ovrManager.shouldBoundaryVisibilityBeSuppressed = enabled;

Any ideas on how we can get this to work?
Sources:
https://developers.meta.com/horizon/documentation/unity/unity-boundaryless/
https://communityforums.atmeta.com/t5/Ideas/Allow-apps-to-disable-boundary-CONTEXTUAL-BOUNDARYLESS-APP/idi-p/1166852/page/2#comments

I think I will try and tackle implementing the pieces of the API being used in this OpenXR sample from the meta SDK, as it appears to name the functions that turn the boundary on and off, which would normally be called in Unity. However, any advice on where to look for examples of this being done in the past would be appreciated!
https://github.com/meta-quest/Meta-OpenXR-SDK/blob/b986077c113eeb6b45cd21384cc2d426511485cf/Samples/XrSamples/XrSceneModel/README.md?plain=1#L14

I'll check on the status of the CONTEXTUAL_BOUNDARYLESS_APP attribute, and see if the Godot implementation is missing logic as you mentioned.

@noahlessard I can confirm that CONTEXTUAL_BOUNDARYLESS_APP should no longer be used, so we need to update the plugin to remove its use.
Instead as you mentioned, developers need to either use the BOUNDARYLESS_APP feature to fully disable the boundary, or they need to use the apis exposed by the XR_META_boundary_visibility extension in order to disable / enable the boundary at runtime.
cc @devloglogan @dsnopek

they need to use the apis exposed by the XR_META_boundary_visibility extension in order to disable / enable the boundary at runtime

XR_META_boundary_visibility isn't part of the OpenXR spec yet - it's only part of the Meta headers:
https://github.com/meta-quest/Meta-OpenXR-SDK/blob/main/OpenXR/meta_openxr_preview/meta_boundary_visibility.h
So, in order to support this, we'll need to make a final decision about whether or not we can include extensions that (perhaps, optionally) build using these headers.

Excited to see the discussion here :) What kinds of factors would go into that decision about including extensions?

It's mostly stuff about copyright and licenses. We've discussed this a couple times before, but never came to a definitive conclusion. I've added something about it to the agenda of the next Godot XR team meeting.

I just posted PR https://github.com/GodotVR/godot_openxr_vendors/pull/223 which removes the deprecated option


Or3907

Delete nets that are no longer needed when undoing gate cloning.

Fixes #3907

This removes the floating nets in name only. The iterms of the instances are still floating:
foreach iterm [[ord::get_db_block] getITerms] {
if { [ $iterm getIoType ] == "INPUT" && [ $iterm getNet ] == "NULL" } {
puts "Floating iterm: [[$iterm getInst] getName]/[[$iterm getMTerm] getName]"
}
}

There are a ton of them

Thank you @gadfort. I guess there are intricacies of ODB I still need to understand. I will work on this.

@gadfort Thanks for catching this. Should be all fixed now. I still have an issue in one of the regressions (repair_fanout7) where we are left with 2 floating iterms but that is unrelated to gate cloning.
@maliberty  I will debug/fix that as well but it need not block this PR.

ORFS results here:
https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/1404

@maliberty @openroadie what kind of verification for correctness has been done on this functionality? Any kind of formal verification / lec?

@maliberty @openroadie what kind of verification for correctness has been done on this functionality? Any kind of formal verification / lec?

I think that is a good idea but it shouldn't hold up this PR.


Add Pyodide development compat flag

Garrett already added the logic to consume this flag in workerd. We will want to test with the flag both on and off. Downstream we also need some additional code to consume the flag.

I seem to have accidentally made two PRs that did almost the same thing. This was superseded by #2560.


Neovim lsp integration

I installed @volar/server globally and enabled the server in my config, but it seems to be returning Null?

I have tried it in my environment and there is no problem. Is your Vue project TS or JS?
Neovim buitlin LSP seems to require the typescript package to be installed if the project is JS.
If the problem is specific to nvim-lspconfig, please report the issue to nvim-lspconfig.
@3nuc ping

My project setup is Vue 3 , TS, Vite
I've installed TS globally and I have tsserver lsp working
Can you share your config files? @yaegassy

Please refer to nvim-lspconfig and try to configure it for your environment! https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/volar.lua
If you are using nvim-lspconfig, this should work by itself.
lua << EOF
require'lspconfig'.volar.setup{}
EOF

Let's track this in https://github.com/neovim/nvim-lspconfig/issues/1261, I doubt it's volar related

Let's track this in neovim/nvim-lspconfig#1261, I doubt it's volar related

Sure, I think so too


ARIA: Hide page content when popup is on (#23)

When popup opens, tab navigation is confined to the dialog. However, all
page content is still accessible to screen readers, which do not know
that it has been occluded by an overlay. Without explicit aria-hidden
attributes, screen readers will navigate and read all of the page
content while the popup is on.
This fix adds aria-hidden attributes to all body child elements before
the popup is shown, and removes them when the popup is closed. Original
values (if present) are preserved in data-aria-hidden attributes.
Tested with ChromeVox on Chromium 32. Attributes are added and removed
correctly in Firefox 28 and IE9, but not tested with a screen reader.

+1


Replace isprintable() in keySimulator.py with validation consistent with LegalKey

Seems like isprintable() is a good solution for generating a keystroke, so I've added it as an additional check in validation.py instead of removing it from the simulator. This means that obscure unicode chars like 'u\2028' will now fail is_key_valid because they cannot be printed.


Visibility too restrictive for externally defined C++ nodes & adapters

Describe the bug
This PR introduced hidden visibility for most symbols in the build on non-windows machines. Unfortunately, this hides too many symbols that would be used in external C++ adapters and node definitions.
Error Message
(from build then run of the c++ example nodes, for instance)
symbol not found in flat namespace __________

Can you paste the actual link error that you hit

symbol not found in flat namespace '__ZN3csp4EnumINS_7CspType10TypeTraitsEE7mappingEv'

From this example
symbol not found in flat namespace '__ZN3csp14CycleStepTable8scheduleEPNS_8ConsumerE'

Thanks Will - I can repro this using our CPP examples. As @svatasoiu is out for the next 2 weeks I'll try to take a look at a fix.

No problem. I'll try to produce a repro using an adapter or types sometime this week.


Remove empty_wait configuration parameter

Don't think it's that useful to tune it, we just use max_wait as the sleep time now. Also increased the default from 5ms to 25ms.

Can you update pipelinedb.conf.sample? Otherwise looks good!


Enum Entity Columns

For now, Entity Columns that end up to be of enum type are not supported for the Any packing reasons.
It's worth notifying the user about this.
Also, we should come up with the policy of handling the enum types. The options are:

making them invalid and throwing an exception;
making them work through the int ordinal or String name representation (the way it's done in Hibernate etc.);
handling them invisibly from the user using the strategy defined above.

Let's mimic @Enumerated behavior.

Currently, the Java Enum type of Entity Columns will be supported. The Protobuf Enum type support can be added later after the functionality supporting Java enums is ready.

Done.


Pings don't work on click, need to leave and rejoin party

I believe this is just related to a failed match re-connection #153, so this issue should be closed as that's the parent problem.


Taxii collectionId is not valid

Describe the bug
When adding a new Threat intelligence - TAXII connector, i run into a Taxii collectionId (uuidv4) is not valid. issue..

To Reproduce
Steps to reproduce the behavior:

Go to Sentinel > Data connectors > Threat intelligence - TAXII > add
Fill in the information
'Add'
See error

Expected behavior
I have integrated a lot of connectors.
I even tried to set up the exact same values as i did in previous configurations, that are working today.
Screenshots

New conf

Error

Working conf
Desktop (please complete the following information):
N/A.
Smartphone (please complete the following information):
N/A.
Additional context
N/A.

Hi @FormindMPO, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

Hi @FormindMPO, We have checked this issue with our respective data connector team, and to assign this ticket to them we kindly request you to open an Azure support case.
closing this issue from GitHub. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Use MediaStreamTrack.stop() rather than MediaStream.stop()

per https://developers.google.com/web/updates/2015/07/mediastream-deprecations
Hi, I've been seeing deprecation warnings in Google Chrome about MediaStream.stop(), claiming that it will not be supported as of version 47, coming out around "November 2015."
I'm not well-versed in MediaStreams, so this might not be the ideal fix. But I thought I'd share it as a pull request rather than just send a support inquiry.
Thanks (again) for the WebCall client code. We're enjoying being able to just click a button to join a conference.

Amy,
An update with the fix for this issue is coming within next two weeks.


Use babel latest preset

Update es2015 preset to latest, see issue #1013

Coverage remained the same at 98.953% when pulling 1b7f98fd9a4788010a54d87c6e2bde9321909312 on samit4me:babel-preset-latest into f5616f889898ca5f4f4f5d303bdf15048fc67a5a on mxstbr:dev.

I think it would be good if you could rebase

Coverage remained the same at 98.953% when pulling 6080ee57ee25b9584c93601ce6ebf0b906b1431f on samit4me:babel-preset-latest into 304f93628f68ff41c4d223ffdc6966449049f7d1 on mxstbr:dev.

Coverage remained the same at 98.953% when pulling 6080ee57ee25b9584c93601ce6ebf0b906b1431f on samit4me:babel-preset-latest into 304f93628f68ff41c4d223ffdc6966449049f7d1 on mxstbr:dev.

Hi @amilajack , I'm not very comfortable with rebase, so I just merged to latest changes, it is now up-to-date. This part of the git docs has always made me afraid to use it rebase "Do not rebase commits that exist outside your repository". If you have a good learning resource, please share, I would like to not be afraid of rebase.

@mxstbr @gihrig is this okay?

Considering that GitHub has a "Squash and merge" mode, which is the default, I think merge is fine. I also echo @samit4me's feelings about rebase.
The official word for this project can found here, note that it allows for either.

Locally merge (or rebase) the upstream dev branch into your topic branch:

git pull [--rebase] upstream dev

(emphasis mine).

@gihrig Thanks for the clarification. Merged 🎉

Thank you both @gihrig @amilajack


Missing visual feedback for gestures in examples/layers/widgets/gesture.dart?

I'm missing any sort of visual feedback for the gestures when running examples/layers/widgets/gesture.dart. From looking at the code, I think there should be text that is resized and styled based on input, but none of that appears for me.
Steps to Reproduce
> % cd examples/layers
> % flutter run -t widgets/gestures.dart -v

I get this on both a real device and an API 25 emulator: https://blog.vczf.io/vid/flutter_gesture-example.mp4
Logs
Nothing interesting in the logs AFAICT.
[  +19 ms] [/home/crasm/code/clone/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +23 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] [/home/crasm/code/clone/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] [/home/crasm/code/clone/flutter/] git log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] acf102be959ae7fa04fec0349ad4d804a5221a9b
[        ] [/home/crasm/code/clone/flutter/] git log -n 1 --pretty=format:%ar
[   +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 55 minutes ago
[ +283 ms] /home/crasm/opt/android-sdk/platform-tools/adb devices -l
[   +5 ms] Exit code 0 from: /home/crasm/opt/android-sdk/platform-tools/adb devices -l
[        ] List of devices attached
           04b9fff1ca8df523       device usb:1-2 product:g2_vzw model:VS980_4G device:g2
[  +12 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 shell getprop
[ +566 ms] Launching widgets/gestures.dart on VS980 4G in debug mode...
[ +217 ms] Using gradle from /home/crasm/opt/android-studio-dev/gradle/gradle-3.4.1/bin/gradle.
[  +21 ms] [android/] /home/crasm/opt/android-studio-dev/gradle/gradle-3.4.1/bin/gradle app:properties
[ +758 ms] Exit code 0 from: /home/crasm/opt/android-studio-dev/gradle/gradle-3.4.1/bin/gradle app:properties
[   +1 ms] /home/crasm/opt/android-sdk/build-tools/25.0.2/aapt dump badging build/app/outputs/apk/app.apk
[  +14 ms] Exit code 0 from: /home/crasm/opt/android-sdk/build-tools/25.0.2/aapt dump badging build/app/outputs/apk/app.apk
[        ] package: name='io.flutter.examples.Layers' versionCode='1' versionName='0.0.1' platformBuildVersionName='7.1.1'
           sdkVersion:'16'
           targetSdkVersion:'21'
           uses-permission: name='android.permission.INTERNET'
           application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
           application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
           application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
           application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
           application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
           application: label='' icon='res/mipmap-mdpi-v4/ic_launcher.png'
           application-debuggable
           launchable-activity: name='io.flutter.examples.Layers.MainActivity'  label='' icon=''
           feature-group: label=''
             uses-feature: name='android.hardware.faketouch'
             uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
           main
           supports-screens: 'small' 'normal' 'large' 'xlarge'
           supports-any-density: 'true'
           locales:
           densities: '160' '240' '320' '480' '640'
           native-code: 'armeabi-v7a' 'x86' 'x86_64'
[   +8 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 logcat -v time -t 1
[ +148 ms] Exit code 0 from: /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 logcat -v time -t 1
[        ] --------- beginning of system
           04-28 15:32:50.966 D/PowerService( 2036): isFastChargerType: false, isCharging: false, isFastChargerConnected: false
[   +3 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 logcat -v time
[ +251 ms] DependencyChecker: nothing is modified after 2017-04-28 15:32:23.603.
[   +3 ms] /home/crasm/opt/android-sdk/platform-tools/adb version
[  +23 ms] Android Debug Bridge version 1.0.39
           Revision 5943271ace17-android
[   +3 ms] /home/crasm/opt/android-sdk/platform-tools/adb start-server
[   +8 ms] Building APK
[ +130 ms] Using gradle from /home/crasm/opt/android-studio-dev/gradle/gradle-3.4.1/bin/gradle.
[   +1 ms] Running 'gradle assembleDebug'...
[   +1 ms] [android/] /home/crasm/opt/android-studio-dev/gradle/gradle-3.4.1/bin/gradle -Ptarget=/home/crasm/code/clone/flutter/examples/layers/widgets/gestures.dart assembleDebug
[ +819 ms] The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
[   +3 ms] The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
[  +58 ms] :app:flutterBuildX86Jar UP-TO-DATE
[   +1 ms] :app:preBuild UP-TO-DATE
[        ] :app:preDebugBuild UP-TO-DATE
[   +9 ms] :app:checkDebugManifest
[        ] :app:prepareDebugDependencies
[        ] :app:compileDebugAidl UP-TO-DATE
[        ] :app:compileDebugRenderscript UP-TO-DATE
[        ] :app:generateDebugBuildConfig UP-TO-DATE
[  +14 ms] :app:flutterBuildDebug UP-TO-DATE
[   +1 ms] :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] :app:compileDebugShaders UP-TO-DATE
[        ] :app:generateDebugAssets UP-TO-DATE
[   +1 ms] :app:mergeDebugAssets UP-TO-DATE
[   +3 ms] :app:copyFlutterAssetsDebug UP-TO-DATE
[   +1 ms] :app:generateDebugResValues UP-TO-DATE
[        ] :app:generateDebugResources UP-TO-DATE
[        ] :app:mergeDebugResources UP-TO-DATE
[   +1 ms] :app:processDebugManifest UP-TO-DATE
[  +22 ms] :app:processDebugResources UP-TO-DATE
[        ] :app:generateDebugSources UP-TO-DATE
[        ] :app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
[   +1 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] :app:compileDebugNdk NO-SOURCE
[        ] :app:compileDebugSources UP-TO-DATE
[        ] :app:transformClassesWithDexForDebug UP-TO-DATE
[        ] :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] :app:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
[        ] :app:processDebugJavaRes NO-SOURCE
[        ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[        ] :app:validateSigningDebug
[        ] :app:packageDebug UP-TO-DATE
[   +1 ms] :app:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL
[        ] Total time: 0.846 secs
[ +376 ms] calculateSha: build/app/outputs/apk/app.apk
[ +316 ms] Built build/app/outputs/apk/app-debug.apk (21.5MB).
[        ] /home/crasm/opt/android-sdk/build-tools/25.0.2/aapt dump badging build/app/outputs/apk/app.apk
[   +5 ms] Exit code 0 from: /home/crasm/opt/android-sdk/build-tools/25.0.2/aapt dump badging build/app/outputs/apk/app.apk
[        ] package: name='io.flutter.examples.Layers' versionCode='1' versionName='0.0.1' platformBuildVersionName='7.1.1'
           sdkVersion:'16'
           targetSdkVersion:'21'
           uses-permission: name='android.permission.INTERNET'
           application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
           application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
           application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
           application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
           application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
           application: label='' icon='res/mipmap-mdpi-v4/ic_launcher.png'
           application-debuggable
           launchable-activity: name='io.flutter.examples.Layers.MainActivity'  label='' icon=''
           feature-group: label=''
             uses-feature: name='android.hardware.faketouch'
             uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
           main
           supports-screens: 'small' 'normal' 'large' 'xlarge'
           supports-any-density: 'true'
           locales:
           densities: '160' '240' '320' '480' '640'
           native-code: 'armeabi-v7a' 'x86' 'x86_64'
[        ] Stopping app 'app.apk' on VS980 4G.
[        ] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 shell am force-stop io.flutter.examples.Layers
[ +605 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 shell pm list packages io.flutter.examples.Layers
[ +802 ms] package:io.flutter.examples.Layers
[   +4 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 shell cat /data/local/tmp/sky.io.flutter.examples.Layers.sha1
[  +15 ms] 56c69c4b0c866095654f35eb059621eae8556c53
[        ] Latest build already installed.
[        ] VS980 4G startApp
[   +1 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true io.flutter.examples.Layers/io.flutter.examples.Layers.MainActivity
[ +730 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=io.flutter.examples.Layers/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +529 ms] Diagnostic server Uri on device: http://<IP_ADDRESS>:39326/
[   +7 ms] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 forward tcp:8111 tcp:39326
[   +6 ms] Forwarded host port 8111 to device port 39326 for Diagnostic server
[   +8 ms] Observatory Uri on device: http://<IP_ADDRESS>:37976/
[        ] /home/crasm/opt/android-sdk/platform-tools/adb -s 04b9fff1ca8df523 forward tcp:8110 tcp:37976
[   +7 ms] Forwarded host port 8110 to device port 37976 for Observatory
[  +23 ms] Connected to service protocol: http://<IP_ADDRESS>:8110/
[+1973 ms] DevFS: Creating new filesystem on the device (null)
[  +59 ms] DevFS: Created new filesystem on the device (file:///data/data/io.flutter.examples.Layers/cache/layersfYfNQ6/layers/)
[   +1 ms] Updating assets
[  +75 ms] Syncing files to device VS980 4G...
[   +1 ms] DevFS: Starting sync from LocalDirectory: '/home/crasm/code/clone/flutter/examples/layers'
[        ] Scanning project files
[   +2 ms] Scanning package files
[  +59 ms] Scanning asset files
[        ] Scanning for deleted files
[   +3 ms] Updating files
[+5431 ms] DevFS: Sync finished
[        ] Synced 5.6MB.
[  +25 ms] Connected to _flutterView/0xa7529ba0.
[   +3 ms] 🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
[        ] An Observatory debugger and profiler on VS980 4G is available at: http://<IP_ADDRESS>:8110/
[        ] For a more detailed help message, press "h". To quit, press "q".
[+3074 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +17 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[+1388 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[ +100 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +281 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +70 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +628 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +40 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[ +276 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +333 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[  +33 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[ +311 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +172 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +27 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[  +52 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[  +56 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +240 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +39 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[  +31 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[ +186 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[  +25 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +99 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[ +250 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[ +109 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[  +12 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[  +10 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +278 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[ +157 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[   +1 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +407 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(2)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(3)
[  +18 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(2)
[  +19 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[  +13 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +281 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(2)
[  +22 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(3)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(4)
[ +123 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(2)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(2)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[  +14 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP
[ +309 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_DOWN
[  +51 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(1)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(2)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(3)
[        ] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_DOWN(4)
[  +82 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(2)
[ +374 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(1)
[   +1 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(2)
[  +10 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_POINTER_UP(0)
[   +2 ms] I/ViewRootImpl(11868): ViewRoot's Touch Event : ACTION_UP

flutter analyze
Not sure how helpful this is since it's not my code.
Analyzing 1040 files...
[warning] Undefined class 'md.NodeVisitor'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 63, col 34)
[warning] Undefined class 'md.Element'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 107, col 27)
[warning] Undefined class 'md.Element'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 121, col 26)
[error] Classes can only implement other classes. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 63, col 34)
[warning] The name 'md.Node' isn't a type so it can't be used as a type argument. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 80, col 27)
[error] Target of URI doesn't exist: 'package:markdown/markdown.dart'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 7, col 8)
[hint] Method doesn't override an inherited method. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 121, col 8)
[hint] Method doesn't override an inherited method. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 107, col 8)
[warning] Undefined class 'md.Node'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 88, col 10)
[warning] Undefined class 'md.Text'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 98, col 18)
[hint] Method doesn't override an inherited method. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/builder.dart, line 98, col 8)
[warning] Undefined class 'md.Document'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/widget.dart, line 105, col 11)
[warning] Undefined class 'md.Document'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/widget.dart, line 105, col 38)
[error] Target of URI doesn't exist: 'package:markdown/markdown.dart'. (/home/crasm/code/clone/flutter/packages/flutter_markdown/lib/src/widget.dart, line 7, col 8)
(Ran in 29.5s)

Flutter Doctor
[✓] Flutter (on Linux, channel master)
    • Flutter at /home/crasm/code/clone/flutter
    • Framework revision acf102be95 (59 minutes ago), 2017-04-28 11:37:36 -0700
    • Engine revision 7c699ce772
    • Tools Dart version 1.23.0-dev.11.11

[✓] Host Executable Compatibility
    • Downloaded executables execute on host

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
    • Android SDK at /home/crasm/opt/android-sdk
    • Platform android-25, build-tools 25.0.2
    • ANDROID_HOME = /home/crasm/opt/android-sdk
    • Java binary at: /home/crasm/opt/android-studio-dev/jre/bin/java
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)

[✓] Android Studio (version 2.3)
    • Android Studio at /home/crasm/opt/android-studio
    • Gradle version 3.2
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] Android Studio (version 2.4)
    • Android Studio at /home/crasm/opt/android-studio-dev
    • Gradle version 3.4.1
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b736)

[✓] Android Studio (version unknown)
    • Android Studio at /opt/android-studio
    • Gradle version 3.2
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1)
    • Dart plugin version 171.4424
    • Flutter plugin version 13.0

[✓] Connected devices
    • VS980 4G • 04b9fff1ca8df523 • android-arm • Android 5.0.2 (API 21)

@Hixie wrote this example iirc.

This issue seems to be not actual, this is how the gestures example looks like now

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.129, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.129 at /Users/nevercode/dev/flutter
    • Framework revision 30aef0a3b9 (12 hours ago), 2020-07-30 14:20:21 -0700
    • Engine revision a9910e409c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (5 available)
    • Redmi Note 7 (mobile)       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.6
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

closing


Add Hacked Wallet checking to sample XMTP App

@NikitaVr love how simple this is to implement!
I think we should keep this PR open for now as a reminder that we want to have a standalone example that spotlights BMW.


Prevent pressing Record two times

When pressing the Record button two times on the GUI, videos are corrupted.

Done


weird log check error

I do get a weird error. First I am running the server a the user csgo without a valid shell. Normally I do use sudo -u csgo everything works the server starts up and no errors or anything. But when I restart the server with the intention to clean out old log files i get these errors no abort though.
`find: pred.c:1932: launch: Assertion starting_desc >= 0' failed.
/home/csgo/linuxgsm/CounterStrikeGlobalOffensive/lgsm/functions/logs.sh: line 100: 15601 Aborted                 find "${scriptlogdir}"/ -mtime +"${logdays}" -type f -exec rm -f {} \;

find: pred.c:1932: launch: Assertion starting_desc >= 0' failed.
/home/csgo/linuxgsm/CounterStrikeGlobalOffensive/lgsm/functions/logs.sh: line 100: 15607 Aborted                 find "${gamelogdir}"/ -mtime +"${logdays}" -type f -exec rm -f {} \;

find: pred.c:1932: launch: Assertion starting_desc >= 0' failed.
/home/csgo/linuxgsm/CounterStrikeGlobalOffensive/lgsm/functions/logs.sh: line 100: 15613 Aborted                 find "${consolelogdir}"/ -mtime +"${logdays}" -type f -exec rm -f {} \;

find: pred.c:1932: launch: Assertion starting_desc >= 0' failed.
/home/csgo/linuxgsm/CounterStrikeGlobalOffensive/lgsm/functions/logs.sh: line 100: 15619 Aborted                 find "${sourcemodlogdir}"/ -mtime +"${logdays}" -type f -exec rm -f {} \;

find: pred.c:1932: launch: Assertion starting_desc >= 0' failed.
/home/csgo/linuxgsm/CounterStrikeGlobalOffensive/lgsm/functions/logs.sh: line 100: 15625 Aborted                 find "${legacyserverlogdir}"/ -mtime +"${logdays}" -type f -exec rm -f {} \;`

When I then just switch to the user csgo everything works fine.
I will attach the complete log with the first sudo -u csgo try and directly after that the su csgo try.
https://paste.xinu.at/QHfCKk/

Im not sure on this one. I have had a quick google but nothing useful :/

Paste expired.
I'd suggest using a valid shell as it's the intended way for LGSM to work.
Also, what distro are you using ?

I don't know what happend there the paste is still active but github is not redirecting properly.
https://paste.xinu.at/QHfCKk
I am using Debian Jessie 64bit.
The shell I am using is just for the security. The user does have all rights in all folders and for all files. That'S why this issue is that wierd.

To me, seems like your user doesn't have access to the proper command used to sort logs by date.
Here https://github.com/dgibbs64/linuxgsm/blob/master/lgsm/functions/logs.sh#L29
HF finding which one it is ! :p

What is the default shell for your csgo user?
getent passwd csgo | cut -d: -f7
You're likely running the find commands using /bin/sh on Debian when the user is created without a specified shell.  /bin/sh won't expand the script variables the same way as the bash shell does.
You'll have the same issue with ksh, rsh, and dash.
Change the csgo user's shell to /bin/bash and see if that fixes the issue.

@cedarlug Do you know if there a way of preventing this within LGSM to allow users to run shells like dash without LGSM having issues?

Closing as no feedback and isolated issue.
BTW, lgsm is a bash script, not a dash. So ofc expect errors if you're not using bash.
Feel free to submit fixes that would help if you wish to use something else than bash.


Submit endpoint

See for details: https://github.com/CodaProtocol/coda/blob/develop/rfcs/0038-rosetta-construction-api.md#submit-1

Done #5749


NameChange

Changing the whole codebase from Jira link commenter to Auto link commenter.

Please keep a habbit of writer proper PR summary

Too many issues. Please have a habit of self reviewing before creating PRs.

@sbimochan Hi actually it is my first PR I will review first now and then create a PR in some time.


AttributeError: 'NonStreamedChatResponse' object has no attribute 'token_count'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
The following code:
from langchain_community.chat_models import ChatCohere
from dotenv import load_dotenv
import os

load_dotenv()
COHERE_API_KEY= os.getenv("COHERE_API_KEY")
chat_model = ChatCohere(cohere_api_key=COHERE_API_KEY, model="command-r")
test = await chat_model.ainvoke("test")
print(test)

Error Message and Stack Trace (if applicable)

AttributeError                            Traceback (most recent call last)
Cell In[4], line 8
6 COHERE_API_KEY= os.getenv("COHERE_API_KEY")
7 chat_model = ChatCohere(cohere_api_key=COHERE_API_KEY, model="command-r",offline=False)
----> 8 test = await chat_model.ainvoke("test")
9 print(test)
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py:175, in BaseChatModel.ainvoke(self, input, config, stop, **kwargs)
166 async def ainvoke(
167     self,
168     input: LanguageModelInput,
(...)
172     **kwargs: Any,
173 ) -> BaseMessage:
174     config = ensure_config(config)
--> 175     llm_result = await self.agenerate_prompt(
176         [self._convert_input(input)],
177         stop=stop,
178         callbacks=config.get("callbacks"),
179         tags=config.get("tags"),
180         metadata=config.get("metadata"),
181         run_name=config.get("run_name"),
182         run_id=config.pop("run_id", None),
183         **kwargs,
184     )
185     return cast(ChatGeneration, llm_result.generations[0][0]).message
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py:566, in BaseChatModel.agenerate_prompt(self, prompts, stop, callbacks, **kwargs)
558 async def agenerate_prompt(
559     self,
560     prompts: List[PromptValue],
(...)
563     **kwargs: Any,
564 ) -> LLMResult:
565     prompt_messages = [p.to_messages() for p in prompts]
--> 566     return await self.agenerate(
567         prompt_messages, stop=stop, callbacks=callbacks, **kwargs
568     )
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py:526, in BaseChatModel.agenerate(self, messages, stop, callbacks, tags, metadata, run_name, run_id, **kwargs)
513     if run_managers:
514         await asyncio.gather(
515             *[
516                 run_manager.on_llm_end(
(...)
524             ]
525         )
--> 526     raise exceptions[0]
527 flattened_outputs = [
528     LLMResult(generations=[res.generations], llm_output=res.llm_output)  # type: ignore[list-item, union-attr]
529     for res in results
530 ]
531 llm_output = self._combine_llm_outputs([res.llm_output for res in results])  # type: ignore[union-attr]
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py:707, in BaseChatModel._agenerate_with_cache(self, messages, stop, run_manager, **kwargs)
705 else:
706     if inspect.signature(self._agenerate).parameters.get("run_manager"):
--> 707         result = await self._agenerate(
708             messages, stop=stop, run_manager=run_manager, **kwargs
709         )
710     else:
711         result = await self._agenerate(messages, stop=stop, **kwargs)
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_community/chat_models/cohere.py:242, in ChatCohere._agenerate(self, messages, stop, run_manager, **kwargs)
240 generation_info = None
241 if hasattr(response, "documents"):
--> 242     generation_info = self._get_generation_info(response)
243 return ChatResult(
244     generations=[
245         ChatGeneration(message=message, generation_info=generation_info)
246     ]
247 )
File ~/Desktop/AI/.venv/lib/python3.11/site-packages/langchain_community/chat_models/cohere.py:194, in ChatCohere._get_generation_info(self, response)
187 def _get_generation_info(self, response: Any) -> Dict[str, Any]:
188     """Get the generation info from cohere API response."""
189     return {
190         "documents": response.documents,
191         "citations": response.citations,
192         "search_results": response.search_results,
193         "search_queries": response.search_queries,
--> 194         "token_count": response.token_count,
195     }
AttributeError: 'NonStreamedChatResponse' object has no attribute 'token_count'
Description
I realized that recently, all of my code for Cohere through langchain has broken due to API errors.  Is this possibly due to this change?
https://docs.cohere.com/changelog/python-sdk-v520-release
currently, it fails on even the most basic test of just using invoke on the chat model
System Info
langchain==0.1.16
langchain-anthropic==0.1.4
langchain-community==0.0.32
langchain-core==0.1.42
langchain-text-splitters==0.0.1
langchainhub==0.1.15
cohere==5.2.5
Platform: Linux
python version: 3.11.8

It seems if you dig into that last "cohere.py", and comment out token_count, then the basic testing query will work.  But idk if that breaks other stuff in a more complex integration.
Would be nice to fix the token_count rather than just remove it.
here is the band-aid solution for anybody who needs it though:
/.venv/lib/python3.11/site-packages/langchain_community/chat_models/cohere.py:194, in ChatCohere._get_generation_info(self, response)
    def _get_generation_info(self, response: Any) -> Dict[str, Any]:
        """Get the generation info from cohere API response."""
        return {
            "documents": response.documents,
            "citations": response.citations,
            "search_results": response.search_results,
            "search_queries": response.search_queries,
            # "token_count": response.token_count,  <- Comment it out
        }

code now:
from langchain_community.chat_models import ChatCohere
from dotenv import load_dotenv
import os

load_dotenv()
COHERE_API_KEY= os.getenv("COHERE_API_KEY")
chat_model = ChatCohere(cohere_api_key=COHERE_API_KEY, model="command-r")
test = chat_model.invoke("test")
print(test)

output:
content='This is a test response to ensure that the chatbot is functioning properly. If you have any questions or requests, please let me know!' response_metadata={'documents': None, 'citations': None, 'search_results': None, 'search_queries': None} id='run-e0bf23cc-eb06-4ad4-8b71-dddab236a331-0'

Hey @Fuehnix. We recently launched our partner package langchain_cohere that contains some of the latest changes in our API along with the release of our V5 SDK https://twitter.com/LangChainAI/status/1775889394916049230.
I tried running your snippet with
from langchain_cohere import ChatCohere

and was successful. When it comes to from langchain_community.chat_models import ChatCohere although usage is not suggested it should still work. My hunch would be that you are using the V5 version of the Cohere SDK which is incompatible with the langchain_community class?

Hey @Fuehnix. We recently launched our partner package langchain_cohere that contains some of the latest changes in our API along with the release of our V5 SDK https://twitter.com/LangChainAI/status/1775889394916049230.
I tried running your snippet with
from langchain_cohere import ChatCohere

and was successful. When it comes to from langchain_community.chat_models import ChatCohere although usage is not suggested it should still work. My hunch would be that you are using the V5 version of the Cohere SDK which I believe is incompatible with the langchain_community class?

Thanks for the response! Yes, it turns out you had a good hunch, because I didn't know that langchain_community was no longer in use.  I must have followed an old guide/example at some point and installed the wrong libraries.  Everything was working up until I tried to update to be able to use Cohere Rerank v3.  That was when I apparently updated from like Cohere v4 to v5.2.5 which broke things.
The code fix I was trying to do isn't needed in this case.  Currently, I'm now using a mix of cohere's SDK and langchain_cohere, so that I am able to use rank fields in the newer version that isn't yet supported by langchain_cohere.

There is an open PR for that field here https://github.com/langchain-ai/langchain-cohere/pull/12


Methods to rank feature importance

Here are a few for a closer look:
from sklearn.feature_selection import SelectKBest
from sklearn.feature_selection import chi2
from sklearn.feature_selection import RFE
from sklearn.feature_selection import SelectFromModel
Plot:
df.drop('churn', axis=1).corrwith(df.churn).sort_values().plot(kind='barh', figsize=(10, 30))
Implementation example:
https://github.com/Ela-Bo/HR-Analytics-Employee-Attrition/blob/main/employee attrition.ipynb


#64 fix 'GPU' of ProcessInfo in GetProcessInfo

field 'GPU' of process info should related with gpu

@berkaroad Thank you for the fix. Can you sign your commit and push again? Go-DCGM requires all commits to be signed.

ok. done

ok, done


docs: just testing if github ci works

Only for testing github ci, don't merge!

I guess this can be closed


setup phonekit version is not correct    '3.6.6' instead of 3.5.10

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
2.0.1
Platforms

[ ] Android
[X] iOS
[ ] Linux
[ ] MacOS
[ ] Web
[ ] Windows

Flutter doctor
no related with flutter or doctor )
Minimal code example
pod 'PhoneNumberKit/PhoneNumberKitCore', :git => 'https://github.com/marmelroy/PhoneNumberKit', :tag => '3.6.6'
Current Behavior
unable to install pod
[!] CocoaPods could not find compatible versions for pod "PhoneNumberKit/PhoneNumberKitCore":
  In Podfile:
    PhoneNumberKit/PhoneNumberKitCore (from `https://github.com/marmelroy/PhoneNumberKit`, tag `3.6.6`)

    phone_number (from `.symlinks/plugins/phone_number/ios`) was resolved to 2.0.1, which depends on
      PhoneNumberKit/PhoneNumberKitCore (= 3.5.10)

Expected Behavior
no failure upon pod install
Steps To Reproduce
run pod install after update podfile with setup instructions provided in this github
Aditional information
the correct pod file content is
pod 'PhoneNumberKit/PhoneNumberKitCore', :git => 'https://github.com/marmelroy/PhoneNumberKit', :tag => '3.5.10'

Hi, I am experiencing the same issue.

Hi, I am experiencing the same issue.

just change tag version to 3.5.10 in your podfile and it will work

face same issue like
[!] CocoaPods could not find compatible versions for pod "PhoneNumberKit/PhoneNumberKitCore":
In Podfile:
phone_number (from .symlinks/plugins/phone_number/ios) was resolved to 2.0.1, which depends on
PhoneNumberKit/PhoneNumberKitCore (= 3.5.10)
None of your spec sources contain a spec satisfying the dependency: PhoneNumberKit/PhoneNumberKitCore (= 3.5.10).


No focus + No labels on the newsletter subscribe form

It's not possible to fill in the newsletter subscription form. Also, there are no labels on it.
(tested on Firefox 28)

So this has somehow been fixed now, hurray :) :)


Switch back to resolving symlinks for rbenv executable

Considerations:

./libexec/rbenv executable is the entrypoint to the program;

BASH_SOURCE might be the path to a symlink that has activated ./libexec/rbenv;

We must resolve the symlink to learn where rbenv's libexec directory is;

It's not guaranteed that rbenv commands will always remain directly under their own "libexec" directory, since a package maintainer can change that, e.g. rbenv commands are sometimes placed into /usr/libexec/rbenv/*;

Resolving symlinks might fail and in that case we just assume rbenv project layout.

Fixes https://github.com/rbenv/rbenv/issues/1437 /cc @konsolebox
Reverts parts of https://github.com/rbenv/rbenv/pull/1428, therefore reintroducing ~4ms overhead at runtime to properly detect the location of rbenv scripts. I could not find a simpler way to do this; suggestions welcome!

I could not find a simpler way to do this; suggestions welcome!

How about the solution I suggested where bin/rbenv is changed to a calling script instead?

readlink=$(type -p greadlink readlink 2>/dev/null | head -n1)

Can be changed to readlink=$(type -P readlink) || readlink=$(type -P greadlink) avoiding the use of
head and a pipe which likely summons another subshell.

resolved="$($readlink "$rbenv_bin" 2>/dev/null)"

$readlink here might be worth quoting.
libexec_dir and RBENV_ROOT might also be worth converting to their canonical paths since they are being compared.

Excellent suggestions; thank you!

How about the solution I suggested where bin/rbenv is changed to a calling script instead?

That is also valid and I experimented with changing the bin/rbenv that ships with rbenv to be a script instead of a symlink to libexec/rbenv. However, for backwards compatibility with other rbenv setups that may be using symlinks already, I thought it would be a nice touch that libexec/rbenv goes back to resolving symlinks, and if it has that ability, then I would rather keep bin/rbenv as a symlink.

Master version is working again thank you.  Just a minor thing to consider: If greadlink or readlink exists as an exported function, type -p will print nothing but still return 0 exit status.  type -P otoh will only return 0 if executable is found in path.  Is there a reason why type -p is preferred?

Ah, I didn't know that; thanks for explaining the distinction.
I have been using type -p for testing support for executables in all my bash scripts for years, and never have I encountered a bug report with that. I did not even know about type -P. I don't feel strongly enough about fixing this right now, so let's see if we can get away with this. If someone exports a function called readlink from bash, I hope that they make that function behave like readlink.

Ah, only now I understand what you were saying: if someone did export a function called greadlink, the result will be an empty string. I will quickly fix this; thanks!


Automatically delete +1 comments

Feature requests are riddled with "+1" comments that spam everyone's emails unless notifications are disabled.
I suggest you to use something like this to automatically delete them.

+1
But seriously, I was actually going to recommend that. It seems that no matter how many times people are told they continue to do it. Some issues end up with dozens of them in a row.
I have also seen people justify the +1's saying the developers arent guarenteed to address highly upvoted issues and the extra nagging of email alerts makes them more aware of it. IMO that probably just annoys the developers and distracts them.

Commenters are pretty good in the meantime to use reactions.  There is no pressing need for us to do this anymore. So, I'll close this as out-of-scope.


Useful Errors if directory isn't available on Dameon startup

#3270
I wasn't sure what dev branch it should be pulled into.
Any suggestions or edits?

Thanks so much for the PR, we'll get a review on it soon!
Can we show you some appreciation for your contribution?

Replaced by #3276


[Action]: Find kubernetes services with unreachable endpoints or no endpoints

Contact Details
No response
HealthCheck

[ ] Is this Action a Check Action?

Action Name
k8s_get_services_with_unreachable_endpoints
Action Inputs
namespace
Action Outputs
list of services, status of output
Comments
https://classic.shoreline.io/solutions/endpoints-unreachable
Code of Conduct

[X] I agree to follow this project's Code of Conduct

We already have a lego for this action- https://github.com/unskript/Awesome-CloudOps-Automation/blob/master/Kubernetes/legos/k8s_get_service_with_no_associated_endpoints/k8s_get_service_with_no_associated_endpoints.py

Closing this issue


tooltip BS on full screen

Fixes #11369
thank you to check if the english is correct in docs

From the command line:
git pull --rebase openlayers main
git push --force origin tooltipbsfullscreen

@tschaub sorry  i'm  really lost ...
jpb@PowerBookSSDjpb openlayers % git pull --rebase openlayers main
fatal: 'openlayers' does not appear to be a git repository
fatal: Impossible de lire le dépôt distant.

Look inside the file .git/config for the line
url = https://github.com/openlayers/openlayers.git
or
url = git@github.com:openlayers/openlayers.git
should look like this:
[remote "openlayers"]
    url = https://github.com/openlayers/openlayers.git

The name of the remote is what you need. For me it is 'openlayers' might be different for you.

thanks !  i have this  ...
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = true
[submodule]
	active = .
[remote "origin"]
	url = https://github.com/jipexu/openlayers.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master
[remote "upstream"]
	url = https://github.com/openlayers/openlayers.git
	fetch = +refs/heads/*:refs/remotes/upstream/*
[branch "retest"]
	remote = origin
	merge = refs/heads/retest
[branch "tooltipbsfullscreen"]
	remote = origin
	merge = refs/heads/tooltipbsfullscreen
[branch "main"]
	remote = origin
	merge = refs/heads/main

[remote "upstream"]
	url = https://github.com/openlayers/openlayers.git

For you the openlayers remote is called 'upstream'. So you should substitute 'openlayers' with 'upstream' in the commands above by @tschaub.

many thanks @ both i retry ! ..

You should remove the changes you made to your origin/main branch first.
For this to work you need to run git from the command line. If you are unsure, just make a copy of the complete openlayers folder as a backup if something goes wrong so you can restore everything from there.
Be sure to have any changes you want to keep committed to a different branch before you continue! Any uncommitted changes will be deleted.
This deletes any commits from your main branch:

change to your main branch: git checkout main
Remove commits that are not from openlayers: git reset --hard upstream/main

As your changes are minimal I think the easiest way to resolve your merge conflicts is this:

make a copy of the button-title.html and button-title.js files with your changes to somewhere outside of your openlayers folder
Run these commands to reset your branch to the same state as the main branch:
This will delete all commits from this branch and remove any uncommitted changes!
git checkout tooltipbsfullscreen
git reset --hard main
copy the button-title.html and button-title.js files back to the examples folder and make a commit
force push to github with the new commit

oh fail again ....

You need to remove the last three commits from your main branch:
https://github.com/jipexu/openlayers/commits/main
otherwise rebasing will always mess with your commit history.

thank @MoonE  and @tschaub for your support :   finally delete all my repository and make a new PR (it's incredible how to lost so much time for me and by my fault for you ...)  to change some line of code ...