[Question]:  How to access other oauth？

Describe your problem
I need to access enterprise oauth2, but I am not familiar with the umi and don’t know where to modify it.

For the front end, you just need to put a link on the page of sign-in.
For the backend, you can search github/feishu in the entire project.
These places need to be taken care of.


Python and Ruby implementation for 99 bottles problem.

Added a ruby implementation for the 99 bottles problem. Also added a different take on the python implementation.

Both Ruby and Python, nice. Thanks!


[stable/aws-alb-ingress-controller] Adding liveness probe timeout variable ➕

Summoning @bigkraig and/or @M00nF1sh  per the PR template. Thanks for taking the time to review this, it's much appreciated!
####Special notes for your reviewer:
I tested this by installing this change on an EKS cluster, I set the enableLivenessProbe: true and livenessProbeTimeout: 3. This change was successful as both were visible on the deployment.
What this PR does / why we need it:
Adding livenessProbeTimeout default value as a variable. This is mainly so it can be overridden by other users of this helm chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/lgtm
/approve


Issue 35 Initial check in (#1321)

Initial commit Issue 35 (#1321)

(first header in the message is HEADERS_START and last is HEADERS_END).
AV = assume valid header, CP1,CP2 - checkpointed headers. '---' some headers.
LAST_CP = last checkpoint.
----CP1-----HEADERS_START----LAST_CP----AV-----HEADERS_END
All headers until HEADERS_END (including it) are marked for download.

Preferred: @Aprogiena @noescape00

Looks good to me.


Added power_off control to AC200M

AC200M supports power off over bluetooth - see #43

@slash5k1 Can you please update the CHANGELOG.md file to add a new bullet under the FUTURE section? Feel free to add your Github username to the change note if you'd like.


Add a Wiki for FAQ's and other utilities

Since there's so many repeated questions with the same usual answers, might as well use that as one of the reasons to open a wiki for simplified access to FAQ's related to common problems with the engine, as well as a proper place for the ModChart documentation.
Also, with it, we could implement a section with streamlined methods of adding common things to the engine such as characters and weeks in a "official" way. This could make the process of troubleshooting faster and might also prevent more duplicated/easily fixable issues such as "why does the engine do that" when it was already fixed or "how to add this" when there's no "official" way of doing it with the latest source code (since it might change drastically every official release or nightly version).

yes

+1
@KadeDev needs to enable the wiki feature though
(also we could probably move BUILDING.md and ModCharts.md to the wiki)

added in #428


DrawText and DrawImage Compensating Page Rotation

Hi, I'm trying to add text and images to different pages that may or may not be rotated. I want to be able to define a universal position (top right, top left, etc) and automatically compensate for the page orientation.
I tried the solution offered by @kevinswartz in #65 but it doesn't seem to work in my case:
For drawText I tried the following:
const page = pdfDoc.getPage(i);
const dimensions = page.getSize();
const pageRotation = page.getRotation();
const topRightPosition = {
  x: dimensions.width - 100,
  y: dimensions.height - 40
}

const textLocation = compensateRotation(pageRotation, topRightPosition.x, topRightPosition.y, 1, dimensions, 32);
imagePage.drawText(customOptions.label, {
        x: textLocation.x,
        y: textLocation.y,
        size: 32,
        rotate: pageRotation,   // Tried with and without this
});

// ======== kevinswartz's code =========
const compensateRotation = (pageRotation, x, y, scale, dimensions, fontSize) => {
  let rotationRads = (pageRotation.angle * Math.PI) / 180;

  let coordsFromBottomLeft = {
    x: x / scale,
  };
  if (pageRotation.angle === 90 || pageRotation.angle === 270) {
    coordsFromBottomLeft.y = dimensions.width - (y + fontSize) / scale;
  } else {
    coordsFromBottomLeft.y = dimensions.height - (y + fontSize) / scale;
  }

  let drawX = null;
  let drawY = null;
  if (pageRotation.angle === 90) {
    drawX =
      coordsFromBottomLeft.x * Math.cos(rotationRads) -
      coordsFromBottomLeft.y * Math.sin(rotationRads) +
      dimensions.width;
    drawY =
      coordsFromBottomLeft.x * Math.sin(rotationRads) +
      coordsFromBottomLeft.y * Math.cos(rotationRads);
  } else if (pageRotation.angle === 180) {
    drawX =
      coordsFromBottomLeft.x * Math.cos(rotationRads) -
      coordsFromBottomLeft.y * Math.sin(rotationRads) +
      dimensions.width;
    drawY =
      coordsFromBottomLeft.x * Math.sin(rotationRads) +
      coordsFromBottomLeft.y * Math.cos(rotationRads) +
      dimensions.height;
  } else if (pageRotation.angle === 270) {
    drawX =
      coordsFromBottomLeft.x * Math.cos(rotationRads) -
      coordsFromBottomLeft.y * Math.sin(rotationRads);
    drawY =
      coordsFromBottomLeft.x * Math.sin(rotationRads) +
      coordsFromBottomLeft.y * Math.cos(rotationRads) +
      dimensions.height;
  } else {
    //no rotation
    drawX = coordsFromBottomLeft.x;
    drawY = coordsFromBottomLeft.y;
  }

  return { x: drawX, y: drawY };
};

I've also seen the use of low-level operators (pushOperators, translate, etc) and I'm wondering if there is an easier way to accomplish this?
Any advice would be very much appreciated.
Thanks.

No one? @Hopding ? Anyone? :-(

I get the same probleme. My document get a 270 Rotation, but display in a portrait. When i draw an image the coordonate and the direction are not good

Related to #587

@alxAgu did you ever find a work around for this? Same issue here!

@alxAgu did you ever find a work around for this? Same issue here!

@considine - Not really, I ended up using a different library (ImageMagick) to convert the page into a rotated image and then changed the dimensions of the page to match that of the rotated image. This creates a page that 'looks' rotated but in reality, it is not. You can then place your text or whatever on top of the page and the coordinates will work ok.
The HUGE disadvantage of this approach (besides the extra processing and extra libraries) is that you may end up with pages with a lot lower resolution than the original ones. You'll have to tweak the ImageMagick conversion method to match your ideal resolution.

@alxAgu did you ever find a work around for this? Same issue here!

@considine - Not really, I ended up using a different library (ImageMagick) to convert the page into a rotated image and then changed the dimensions of the page to match that of the rotated image. This creates a page that 'looks' rotated but in reality, it is not. You can then place your text or whatever on top of the page and the coordinates will work ok.
The HUGE disadvantage of this approach (besides the extra processing and extra libraries) is that you may end up with pages with a lot lower resolution than the original ones. You'll have to tweak the ImageMagick conversion method to match your ideal resolution.

@alxAgu have you found the solution for drawImage on rotated Pages?

@alxAgu have you found the solution for drawImage on rotated Pages?

@considine have you found the solution for drawImage on rotated Pages?

@alxAgu did you ever find a work around for this? Same issue here!

@considine have you ?

Need help for drawImage also.

Added this to the roadmap for tracking: https://github.com/Hopding/pdf-lib/discussions/998.


Remove extraneous namespace access

This removes the unnecessary namespace access earlier in the logic
which causes the plugin to error out and return early before the
namespace try / except block is ever reached
By removing the early access, we delegate the namespace handling to
the code following immediately after fetching the base context fields.

This PR now has some scope creep but I've added the ability to specify a custom kube config location, with kube_config_path.


Error node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/ ?

> sudo npm install google-cloud --unsafe-perm
> ><EMAIL_ADDRESS>install /home/projects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/node
> _modules/grpc
> > node-pre-gyp install --fallback-to-build --library=static_library
> node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.7.3/
> node-v64-linux-x64-glibc.tar.gz
> node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, glibc) (falling back to
>  source compile with node-gyp)
grpc.target.mk:399: recipe for target 'Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o' fail
ed
make: *** [Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o] Error 1
make: Leaving directory '/home/projects/upi_no_student/node_modules/@google-cloud/firestore/node_modules/google-gax/
node_modules/grpc/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.
js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.9.0-6-amd64
gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp
/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/projects/upi_no_student/n
ode_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-lin
ux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/projects/upi_no_student/node_modules/@go
ogle-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc"
gyp ERR! cwd /home/projects/upi_no_student/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules
/grpc

> gyp ERR! node -v v10.1.0
> gyp ERR! node-gyp -v v3.6.2
> gyp ERR! not ok
> node-pre-gyp ERR! build error

> node-pre-gyp ERR! stack Error: Failed to execute '/opt/bitnami/nodejs/bin/.node.bin /opt/bitnami/nodejs/lib/node_mod
> ules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/pro
> jects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extensi
> on_binary/node-v64-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/projects/projec
> t/node_modules/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-
> linux-x64-glibc' (1)
> node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/projects/project/node_modules/@google-cloud/fi
> restore/node_modules/google-gax/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
> node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
> node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:957:16)
> node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
> node-pre-gyp ERR! System Linux 4.9.0-6-amd64
> node-pre-gyp ERR! command "/opt/bitnami/nodejs/bin/.node.bin" "/home/projects/project/node_modules/@google-cl
> oud/firestore/node_modules/google-gax/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-bui
> ld" "--library=static_library"
> node-pre-gyp ERR! cwd /home/projects/project/node_modules/@google-cloud/firestore/node_modules/google-gax/nod
> e_modules/grpc
> node-pre-gyp ERR! node -v v10.1.0
> node-pre-gyp ERR! node-pre-gyp -v v0.6.39
> node-pre-gyp ERR! not ok
> Failed to execute '/opt/bitnami/nodejs/bin/.node.bin /opt/bitnami/nodejs/lib/node_modules/npm/node_modules/node-gyp/
> bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/projects/project/node_modul
> es/@google-cloud/firestore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-gl
> ibc/grpc_node.node --module_name=grpc_node --module_path=/home/projects/project/node_modules/@google-cloud/fi
> restore/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc' (1)
> npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
> npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":
> "any"} (current: {"os":"linux","arch":"x64"})
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build --library=static_library`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the<EMAIL_ADDRESS>install script.
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /root/.npm/_logs/2018-06-10T19_10_00_247Z-debug.log

Wanted to add that I'm running into a similar issue but on Node 8, not 10.
node-pre-gyp http GET https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v0.14.1/node-v57-linux-x64.tar.gz
node-pre-gyp http 403 https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v0.14.1/node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v0.14.1/node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v57 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v0.14.1/node-v57-linux-x64.tar.gz

It then tries to compile it and fails due to this error
../src/node/ext/call.cc:616:20: error: ‘class v8::Object’ has no member named ‘SetHiddenValue’; did you mean ‘IntegerValue’?
       info.This()->SetHiddenValue(Nan::New("channel_").ToLocalChecked(),
                    ^~~~~~~~~~~~~~
                    IntegerValue
../src/node/ext/call.cc:625:19: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         argc, argv);
                   ^
In file included from /root/.node-gyp/8.11.1/include/node/v8.h:26:0,
                 from /root/.node-gyp/8.11.1/include/node/node.h:63,
                 from ../src/node/ext/call.cc:38:
/root/.node-gyp/8.11.1/include/node/v8.h:3847:31: note: declared here
                 Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
                               ^
/root/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
make: Leaving directory '/home/app/node_modules/grpc/build'
make: *** [grpc_node.target.mk:133: Release/obj.target/grpc_node/src/node/ext/call.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.9.87-linuxkit-aufs
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/app/node_modules/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/app/node_modules/grpc/src/node/extension_binary"
gyp ERR! cwd /home/app/node_modules/grpc
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/app/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/home/app/node_modules/grpc/src/node/extension_binary' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/app/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.9.87-linuxkit-aufs
node-pre-gyp ERR! command "/usr/bin/node" "/home/app/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/app/node_modules/grpc
node-pre-gyp ERR! node -v v8.11.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.28
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/app/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/home/app/node_modules/grpc/src/node/extension_binary' (1)

This happens both on my Macbook Pro running OSX 10.13.3 and a Docker container running Debian Jessie<EMAIL_ADDRESS>installs without any errors when I switch to Node 6.14.2.

Greetings!  Generally, you don't want to install the top level google-cloud package, but rather use the individual packages for each service.
Are you seeing errors like this if you use something like npm install @google-cloud/bigquery?

Hi @JustinBeckwith. Yeah, I’m trying to install just the bigquery package. It gives the error above.

I tried to install these versions with --unsafe-perm and now there is no error.

Grpc-1.7.3, google-cloud-0.57.0

How does having to install something with --unsafe-perm solve an issue?

I am not saying --unsafe-perm did anything, just used them because otherwise, I was getting root access error when trying to install some packages.

So why was this issue closed?

@mpaw is spot on, why was this closed? Should we reopen with a new issue and the same conditions?
Anyone have a workaround?

@mpaw @oshalygin Sorry I didn't know how github works, I just thought as my issue was solved that's why I thought of closing it, Sorry for that I have reopened it OK :)

We're tracking this in #2830!

I had similar issue with Node v10, changing node to the stable version works for me.

I had similar issue with Node v10, changing node to the stable version works for me.

Same worked for me!

Don't think this issue should be closed, I'm running the node 8 LTS and gcloud fails to install at all. Your software is broken!

👋 @jk89.  Can you share details?  What npm module are you trying to install?  What version of nodejs are you using?  What error are you getting?

I was gone through same problem solved after lot efforts. It is because of npm version is not compatible with gprc version.
So we need to update the npm.
1 - npm update
2 - npm install
this solve my issue.
Thank you

Greetings folks!  If you're still running into this, please create a new issue :)


Add michaelwillis/dragonfly-reverb

Based on the AV report, the following file hosted on github is detected as potentially dangerous by some common vendors:

dragonfly-reverb-win64-3.2.7.zip: https://www.virustotal.com/gui/file-analysis/MGVlODBkMzlkMDU3NGRiM2Q1MmQxMjNhZDk2Mjg1NTg6MTY3NDAzMTc3Nw==/detection

This PR should not be merged for now.


file:/// urls don't work with apoc.export.*

 Issue by jexp
Tuesday Aug 17, 2021 at 11:00 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/2179

neo4j@neo4j> call apoc.export.csv.all("file:///movies.csv",{});
Failed to invoke procedure `apoc.export.csv.all`: Caused by: java.io.FileNotFoundException: /var/lib/neo4j/import/file:/movies.csv (No such file or directory)
neo4j@neo4j> call apoc.export.csv.all("file://movies.csv",{});
Failed to invoke procedure `apoc.export.csv.all`: Caused by: java.io.FileNotFoundException: /var/lib/neo4j/import/file:/movies.csv (No such file or directory)

This seems to have been fixed :)


Even more widgets tweaks

i reverted b473a9124edd80b3bc7c2ed2485c00fab1db925e bc it was a bit too quick n dirty, but @mishig25 let's keep it in mind for a potential future codebase evolution

Merging to unblock my moon-landing PR before the weekend 😇


Update ClientListener.cs with the new property name MaximumReceiveSize

Hello, It seems that this file wasn't correctly updated during the last refactory of the MaximumReceiveSize property name.

Oh yes, thank you. I had first committed this file too early, then reverted it with another computer to fix the build and things got messed up with my last change :S

@sven-n I'm glad to help. I hope to give a major help in the improment of this fantastic project.

Thank you :) I’m grateful for any kind of help.
I’m currently working on extending the admin panel, so I can add/remove more connect and game servers at run time. I think it’ll be amazing when it finally works.
After that, I’ll concentrate on game features again and on a proper build/release/deploy pipeline.

@sven-n At the moment I'm tryng to get get a big picture of the whole thing. My intention is to start somewhere like the issue "Rule engine for item price calculation" since it seems something not soo complicated (But maybe I'm wrong). However, If there's something more important that you can point me out, maybe I can help you in a better way; unfortunately for you, I'm a full stack developer (AngularJS/Java), I started to learn React some days ago and I know very few things about Asp Net Core.

👍🏻 just work on something which makes you happy ;)
The item price calculation is a good start since it’s pretty isolated and has some unit tests already. It can be confusing, though 😅


Large queue on Travis CI

Hey Guys,
I didn't know who best to contact to discuss this issue.
I see from your build history on Travis CI that the majority of build are either erroring or failing. Plus I see your queue is around 900 jobs long.
Looking at the history, it seems as though you have a consistent offender. Have you investigated why it continues to fail or error out?
Also, if you would like to talk about dedicated infrastructure to make sure jobs run in a timely manner, please let us know and we can discuss options available.
Thanks,
Josh

@joshk Sorry I only noticed this ticket now when you closed it. Can we chat about this at some point?


Request: Built-in cleanup utility

Is your feature request related to a problem? Please describe.
I have a module via which I can deploy arbitrary PowerShell deployment scripts to execute and I use this quite often in my average deployment (e.g. submit Kusto scripts for which there is a PowerShell, but no ARM equivalent, validate that RBAC assignments have propagated, validate the deployment status of various Azure resources, etc.)
It was to my surprise then that these Deployment Scripts are all saved in my resource group even though I have no use for them after the template has completed deployment.
The only way I'm aware of to delete these is to run yet another deployment script and pass in the names of each of these deployment scripts and delete them via another Powershell script (e.g. Remove-AzDeploymentScript), but it seems like that would still leave this script that's deleting all the others, so even if I corralled up all the names of the scripts I've deployed, I'd still be left with one in the resource group. That's better than what I have now, but still not ideal.
Describe the solution you'd like
Rather, I'd like to request that there exist a keyword or decorator that ensures that after a resource has completed deployment, ensures that the resource is deleted. Best I can figure, this would only ever be applicable to deployment scripts as you generally want all other resources to deploy and stay there, but it would still resolve the issue of umpteen deployment scripts in my resource group as I'm experiencing today.
Thank you!

@WhitWaldo I believe you are referring to the DeploymentScript resource itself ?
Essentially there are 3 resources that get spun up:

deploymentscripts resource
containerGroup resource
storageAccount resource

There are autocleaunup settings for all of these.
https://docs.microsoft.com/en-us/azure/templates/microsoft.resources/deploymentscripts?tabs=bicep#azurepowershellscriptproperties

The benefit of keeping this around is decreased provisioning time on subsequent deployments within a short period of time.
Given these autocleanup, and the settings are configurable, does this cover your needs in this case?
Also there are settings to delete the storage/container based on success or failure, in case you need to review the logs.
resource deploymentUser 'Microsoft.Resources/deploymentScripts@2020-10-01' = {
  name: 'getDeploymentUser'
  identity: {
    type: 'UserAssigned'
    userAssignedIdentities: {
      '${resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', userAssignedIdentityName)}': {}
    }
  }
  location: resourceGroup().location
  kind: 'AzurePowerShell'
  properties: {
    azPowerShellVersion: '6.2.1'
    arguments: ' -ResourceGroupID ${resourceGroupID} -DeploymentName ${deployment} -StartTime ${logStartMinsAgo}'
    scriptContent: loadTextContent('../bicep/loadTextContext/setCDNServicesCertificates.ps1')
    forceUpdateTag: now
    cleanupPreference: 'OnSuccess'          //<-------------------- storage/container cleanup
    retentionInterval: 'P1D'                       //<-------------------- deploymentScript cleanup
    timeout: 'PT${logStartMinsAgo}M'
  }
}

https://github.com/brwilkinson/AzureDeploymentFramework/blob/main/ADF/bicep/x.setCDNServicesCertificates.ps1.bicep

That does indeed cover my needs. I must have mis-read the documentation on those options as I didn't realize they had to do with the Deployment Script resource as created in the resource group.
Thank you very much!


Add demangling and directive hiding for asm

Implements symbol demangling and the option to hide assembler directives (e.g. ".loc 2 338 0 prologue_end") from the generated assembly.  Both options default to on and are editable using the Config dialog.
New - Demangled with Directives Removed:
playground::main:
	sub	rsp, 56
	lea	rax, [rip + ref.2]

Existing - Mangled with Directives:
	.text
	.intel_syntax noprefix
	.file	"playground.cgu-0.rs"
	.section	.text._ZN10playground4main17hf4c1d0e5656172f7E,"ax",@progbits
	.p2align	4, 0x90
	.type	_ZN10playground4main17hf4c1d0e5656172f7E,@function
_ZN10playground4main17hf4c1d0e5656172f7E:
	.cfi_startproc
	sub	rsp, 56
.Lcfi0:
	.cfi_def_cfa_offset 64
	lea	rax, [rip + ref.2]

/cc #15

Wonderful, thank you very much!


Top Issue On Servers

When looking at Sieves on servers, instead of the Mesh being used being displayed, you get an error.

There should be a oneProbe log somewhere I think, could you maybe send me
that please? ^^
EmosewaPixel<EMAIL_ADDRESS>schrieb am Mi., 27. Juni 2018,
12:18:

When looking at Sieves on servers, instead of the Mesh being used being
displayed, you get an error.
[image: image]
https://user-images.githubusercontent.com/25333164/41968253-21279a0a-7a04-11e8-9181-b0133d04fa38.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/96, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwpZiwM2i-BBwa7KmzghxB7bwYY4mc7ks5uA1vggaJpZM4U5cSB
.

It doesn't seem to have itso wn log


go-migrate in Dockerfile

Follow up to #521, realized the chart scripts also were downloading go-migrate as well so this adds that.
Definitely further re-enforces @peterbroadhurst's comment about a separate utiltity tag or image for firefly in the future.

See https://github.com/hyperledger/firefly-helm-charts/pull/20 for more information of about how these utilities were previously downloaded and how they are used.

Codecov Report

Merging #524 (ed154af) into main (57c43c4) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head ed154af differs from pull request most recent head 425f97f. Consider uploading reports for the commit 425f97f to get more accurate results

@@            Coverage Diff            @@
##              main      #524   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          275       275
  Lines        15812     15812
=========================================
  Hits         15812     15812

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 57c43c4...425f97f. Read the comment docs.


add minio many buckets, how to set in configs

I want  to add minio many different buckets in config, not to execute multiple commands（eg. bin/alluxio fs mount /docs s3a://apc999/docs  ....）

It is convenient to add many buckets by multiple command. Are there any special requirements that have to add buckets by configuration?


TAZ optional usb stick packages

In case the Nix community is interested:
perhaps the TAZ_optional_usb_stick code can be used for nix (packaged somehow and made available for Nix). See https://github.com/Sharrisii
Also read the TAZ repo readme (besides the TAZ optional usb stick readme) to read about how the whole thing works

Is this is a Gentoo-based distro?
I never used Gentoo, but I heard about it before using Arch Linux many years ago.

Yes, it's Gentoo-based and focused on making it as light-weight as possible (runs from RAM) and making it still practical for everyday use.
https://github.com/Sharrisii/TAZ/blob/master/README.md
https://github.com/Sharrisii/TAZ/blob/master/live_cd_overview.txt
The idea here however is just allow NixOS to use some of its special features
https://github.com/Sharrisii/TAZ_optional_usb_stick

(Triaging)
I see no activity about this, and frankly, I'm unsure there are actionable goals. As such this issue can't be "resolved".
These look like misc. personal opinionated customizations for another distro's live environment. Furthermore, the project hasn't seen activity since 2020.
If there is anything actionable about this, please feel free to open an issue describing precise goals.


Cannot type-hint dependencies in prepareForValidation()

Description:

Laravel Version: 8.50.0
PHP Version: 7/4/23
Database Driver & Version:

In Laravel form requests the authorize() method allows dependencies to be injected from the container by type-hinting the method args. However, the prepareForValidation() method does not allow this and throws the following error:
Method 'App\Http\Requests\ExampleRequest::prepareForValidation()' is not compatible
with method 'Illuminate\Foundation\Http\FormRequest::prepareForValidation()'

Steps To Reproduce:
It would be useful to to inject dependencies into a form request class during the prepareForValidation() method.
For example:
class ExampleRequest extends FormRequest
{
    private ExampleModel $resource;

    public function prepareForValidation(ExampleRepository $repository)
    {
        $resourceId = $this->route('resourceId');
        $resource = $repository->find($resourceId);

        if (!$resource) {
            throw new NotFoundHttpException();
        }

        $this->resource = $resource;
    }

    public function authorize()
    {
        if ($this->user()->can('update', $this->resource)) {
            return true;
        }

        return false;
    }
}

From the prepareForValidation() docs:

If you need to prepare or sanitize any data from the request before you apply your validation rules...

This example is loading dependencies for authorizing the request, unrelated to validation, and it uses prepareForValidation() like a constructor/setter. Shouldn't that resource dependency come through the authorize() arguments that support method injection? Global helper app() is also an option:
class ExampleRequest extends FormRequest
{
    private $resource;

    public function authorize(ExampleRepository $repository)
    {
        $this->resource = $repository->findOrFail($this->resourceId);
        // $this->resource = app(ExampleRepository::class)->findOrFail($this->resourceId);

        return $this->user()->can('update', $this->resource);
    }
}

FormRequest already allows method injection in validator(), authorize(), and rules(). A prepareForValidation() change would have to be introduced in 9.x since it breaks the current method signature:
https://github.com/laravel/framework/blob/21de9d5e8a2db323c9273d67358678158b7ed549/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php#L15-L17
https://github.com/laravel/framework/blob/21de9d5e8a2db323c9273d67358678158b7ed549/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php#L32-L40
trait ValidatesWhenResolvedTrait
{
    public function validateResolved()
    {
        if (method_exists($this, 'prepareForValidation')) {
            return $this->container->call([$this, 'prepareForValidation']);
        }

        // ...
    }

    // empty prepareForValidation() definition removed

    // Since $this->container doesn't exist on the trait, need to assume
    // the trait-using class has this method? Anti-pattern time.
    abstract public function setContainer(Container $container);

I think this will require a stronger example if such a breaking change were to be introduced. Either way, this is a feature request and not a bug report: https://github.com/laravel/framework/discussions

Thanks @derekmd for your reply.
My take-home from your response......move the NotFoundHttpException logic into the repository and happily load the resource in the authorize() method of the form request.


E3031 CidrIp contains invalid characters fails when Fn::Sub is present

cfn-lint version: (cfn-lint --version)
cfn-lint 0.16.0
Description of issue.
When CidrIp value is !Subed from Parameters - E3031 lint error is raised. Sample template:
AWSTemplateFormatVersion: 2010-09-09

Description: AMI Builder Stack

Parameters:

  BuilderCidr:
    Type: String

Resources:

  SecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupDescription: Description
      VpcId: vpc-id
      SecurityGroupIngress:
      - IpProtocol: tcp
        FromPort: 1
        ToPort: 65535
        CidrIp: !Sub ${BuilderCidr}

Expected output: successful lint
Actual output:
E3031 CidrIp contains invalid characters (Pattern: x.x.x.x/y) at Resources/SecurityGroup/Properties/SecurityGroupIngress/0/CidrIp/Fn::Sub

Cfn-lint uses the CloudFormation Resource Specifications as the base to do validation. These files are included as part of the application version. Please update to the latest version of cfn-lint or update the spec files manually (cfn-lint -u)

The problem still persists after running cfn-lint -u

Variables are replaced with ""... In this case a !Ref would be more "logical" btw, but the rule should not break ofcourse

Ah, you're right about the !Ref - I will update my templates as well.


Develop

I changed variable name.
This code should not be erased.
This is because it is an event listener when a node is tapped.


ReactiveUI with Xamarin.Forms

I am trying to write some small application with ReactiveUI and Xamarin.Forms. I am getting the following error message when I run
“You are referencing the Portable version of ReactiveUI in an App. Reference the platform-specific version.”
It compiles fine and only gives this error when starting to load the form.
Does ReactiveUI support Xamarin.Forms..
here is the whole stack trace for the error message. Thanks for your help.
System.TypeInitializationException was unhandled by user code
HResult=-2146233036
Message=The type initializer for 'ReactiveUI.ReactiveNotifyPropertyChangedMixin' threw an exception.
Source=ReactiveUI
TypeName=ReactiveUI.ReactiveNotifyPropertyChangedMixin
StackTrace:
at ReactiveUI.ReactiveNotifyPropertyChangedMixin.ObservableForProperty[TSender,TValue](TSender This, Expression1 property, Boolean beforeChange, Boolean skipInitial)        at ReactiveUI.WhenAnyMixin.WhenAny[TSender,TRet,T1](TSender This, Expression1 property1, Func`2 selector)
at RxUIPoc.ViewModels.MyFirstRxViewModel..ctor()
at RxUIPoc.Views.MyFirstRxView..ctor()
at RxUIPoc.App..ctor()
at RxUIPoc.WinPhone.MainPage..ctor()
InnerException:
HResult=-2146233036
Message=The type initializer for 'ReactiveUI.RxApp' threw an exception.
Source=ReactiveUI
TypeName=ReactiveUI.RxApp
StackTrace:
at ReactiveUI.RxApp.EnsureInitialized()
at ReactiveUI.ReactiveNotifyPropertyChangedMixin..cctor()
InnerException:
HResult=-2146233088
Message=You are referencing the Portable version of ReactiveUI in an App. Reference the platform-specific version.
Source=ReactiveUI
StackTrace:
at ReactiveUI.DependencyResolverMixins.InitializeReactiveUI(IMutableDependencyResolver resolver)
at ReactiveUI.RxApp.<.cctor>b__0()
at Splat.Locator.RegisterResolverCallbackChanged(Action callback)
at ReactiveUI.RxApp..cctor()
InnerException:

@rajanranjit you need to add ReactiveUI to all of your projects, including the Xamarin.iOS and Xamarin.Android projects.

Thanks.. it works fine now


ref and reactive options

Hey,
I noticed that if you have values which are already a ref the options parameter doesn't recognise a change on those values. Is there a proper way to get around this?
Example
// enabled is externally changed
const enabled = ref(false);

const options = reactive({ enabled: enabled.value });

// if enabled is changed to true, the query does not fire
const q = useQuery('query', myFunction, options)

Hey,
I noticed that if you have values which are already a ref the options parameter doesn't recognise a change on those values. Is there a proper way to get around this?
Example
// enabled is externally changed
const enabled = ref(false);

const options = reactive({ enabled: enabled.value });

// if enabled is changed to true, the query does not fire
const q = useQuery('query', myFunction, options)

I have a few questions.
Why are you mixing ref & reactive?
Do options really need to be reactive as a whole?
I think this will work if you remove options variable altogether and and just pass plain object as options.
const q = useQuery('query', myFunction, { enabled: enabled.value });

Heyo thanks for replying.
I'd have not used the reactive wrapper, but given the docs mentioned wrapping dynamic options in a reactive call I'd thought it fix the problem.
With the plain implementation as you've mentioned, it didn't work.

Well, checkout this comment and the discussion around it from other issue. It has the code with the use of enabled, and that's a working code. Might help you.

Hi, you might want to try something similar to this test: https://github.com/DamianOsipiuk/vue-react-query/blob/main/tests/useQuery.test.ts#L174
Basically, if you unwrap the ref for the reactive manually, it will lose reactivity, so updates would not be detected.
Let me know if it works

Your example works because the reactive you check does not rely on any refs, however, for my case, I need to rely on a computed ref.

Hi, you might want to try something similar to this test: https://github.com/DamianOsipiuk/vue-react-query/blob/main/tests/useQuery.test.ts#L174
Basically, if you unwrap the ref for the reactive manually, it will lose reactivity, so updates would not be detected.
Let me know if it works

Yea this worked. Was trying to avoid wrapping the flag as a computed property but there seems no way around it.
Cheers

Hmm, I think whether you use computed, or ref should not matter. Just try passing the ref directly without unwrapping it by value

Yeah that works as well. But for example if you would need to use it as its converse value E.g. ! some Ref you would need to create a computed property for that right?

If you mean something like
const enabled = ref(false)
const options = reactive({
  enabled,
})

...

enabled.value = !enabled.value

It should still work

Modified basic example below. The query is relying on the falsiness of enabled. In this case it would need to be a computed ref right?
setup() {
    const enabled = ref(true);
    const opts = reactive({
      retry: 0,
      staleTime: 1000,
      cacheTime: 2000,
      enabled: !enabled.value
    });

    onMounted(() => {
      setTimeout(() => (enabled.value = false), 4000);
    });

    const { isLoading, isError, isFetching, data, error, refetch } = useQuery(
      'todos',
      todoFetcher,
      opts
    );

    return { isLoading, isError, isFetching, data, error, refetch };
  }```

Hmm in this case something like this should work for you:
setup() {
    const opts = reactive({
      retry: 0,
      staleTime: 1000,
      cacheTime: 2000,
      enabled: false
    });

    onMounted(() => {
      setTimeout(() => (opts.enabled = true), 4000);
    });

    const { isLoading, isError, isFetching, data, error, refetch } = useQuery(
      'todos',
      todoFetcher,
      opts
    );

    return { isLoading, isError, isFetching, data, error, refetch };
  }

Indeed, just need to make sure to use computed properties in those scenarios.

I found that
// It's work √√√√√√√√√√√
const uid = ref(0);
const bid = ref(0);
const enabled = ref(false);

// share Data
const {data: shareData} = useQuery('share', () => getShareData(uid.value, bid.value), reactive({
    enabled: enabled
}));

setTimeout(() => {
  enabled.value = true
}, 1000)

// It's not work ××××××××
const uid = ref(0);
const bid = ref(0);

// share Data
const {data: shareData} = useQuery('share', () => getShareData(uid.value, bid.value), reactive({
    enabled: uid
}));

setTimeout(() => {
  uid .value = 12345
}, 1000)

should we code like react-query？
√ drop reactive options
√ enabled support like：enabled: !!uid.value && !!bid.value

const uid = ref(0);
const bid = ref(0);

// share Data
const {data: shareData} = useQuery('share', () => getShareData(uid.value, bid.value), {
    enabled:  !!uid.value && !!bid.value
});

@lizy0329 I always do it like your 3rd example but something like this:
const uid = ref(0);
const bid = ref(0);

// share Data
const {data: shareData} = useQuery('share', () => getShareData(uid.value, bid.value), {
    enabled: !!uid && !!bid
});

setTimeout(() => {
  uid.value = 12345
  bid.value = 45678
}, 1000)


feature: support running inside swoole coroutines

Q
A

Bugfix?
❌

Breaks BC?
❌

New feature?
compatible swoole coroutine

Issues
closes: 1951

Docs PR
spiral/docs#...

Associate a static seq variable with a link handle instead of an RPC static variable

Looks ok.
Could you add a test with concurrent requests?

@shellphy Thank you for the PR 👍
Could you please add docs with a simple example of using as well to the github.com/roadrunner-server/docs repository?

I added swoole's test case, but there are two problems that can't be tested.
One is the exception problem, because swoole's exception handling is a little different from phpunit's, so I don't know how to test it.
The other is the test of long raw body. The socket message length seems to be limited in the swoole environment.
However, this does not affect the use of most cases.

@shellphy All CI tests are red 😉 Needs to be green 🟢

Could you please add docs with a simple example of using as well to the github.com/roadrunner-server/docs repository?

The change itself does not require documentation. Do you mean an example of usage with Swoole?

Could you please add docs with a simple example of using as well to the github.com/roadrunner-server/docs repository?

The change itself does not require documentation. Do you mean an example of usage with Swoole?

The CI environment lacks the swoole extension:
Error: Class 'Swoole\Coroutine' not found

Could you please add docs with a simple example of using as well to the github.com/roadrunner-server/docs repository?

The change itself does not require documentation. Do you mean an example of usage with Swoole?

docs with a simple example of using

Could you please add docs with a simple example of using as well to the github.com/roadrunner-server/docs repository?

The change itself does not require documentation. Do you mean an example of usage with Swoole?

docs with a simple example of using

roadrunner itself does not rely on swoole, and this patch I made is only compatible with swoole's coroutine environment in rpc project. I think this is not the core function of this project, and few people use swoole and roadrunner at the same time, so I don't think it is necessary to write a special document

@shellphy

roadrunner itself does not rely on swoole, and this patch I made is only compatible with swoole's coroutine environment in rpc project.

Certainly. You may create a separate pipeline or job and include Swoole extension in it and run the particular tests (concurrent, if you want) in it.
Or, and this is up to you, add concurrent tests (since your core fix is about that) and remove Swoole coroutines test and "ext-swoole": "Swoole gocoroutine support", from your PR.
If you decide to leave Swoole, I would appreciate it if you add a simple example of using it with some brief explanation and links on how to install this extension.
If you decide to remove it, docs are not needed for sure, but you need to test concurrent request via CI.

@shellphy we discussed internally, sorry for the confusion, I appreciate what you have done. Since I am not a PHP dev, I thought that Swoole is required to properly test this functionality. Since it is not required, could you please remove this dependency from the suggest block, CI and write a regular PHP tests?

@shellphy we discussed internally, sorry for the confusion, I appreciate what you have done. Since I am not a PHP dev, I thought that Swoole is required to properly test this functionality. Since it is not required, could you please remove this dependency from the suggest block, CI and write a regular PHP tests?

OK

@shellphy Thanks!


Generate custom controller using native k8s resources.

Feature Request
Is your feature request related to a problem? Please describe.
I want to create a custom controller using native resource like I want to watch for Event for that is there any way to create controller using operator-sdk. To create one Controller we need to pass api group, api version, resource kind. In my case Event belongs to core/v1 native group. I am not able to pass those arguments using flag.
Describe the solution you'd like
There should be some way to create custom controller using native resources.

@imazik had the same use case and same failure with v0.7.0. However this looks to be allowed now on master.  See #1313
I ran go run $GOPATH/src/github.com/operator-framework/operator-sdk/commands/operator-sdk/main.go add controller --api-version=apps/v1 --kind=Deployment without errors so far

Yes this is fixed on the master and should be in the next release. Thanks for confirming @PhilipGough

@hasbro17 @estroz I tried this out and noticed that the scaffolded controller has an import for an api package that doesn't exist, so an additional change is required in pkg/controller/<kind>/<kind>_controller.go to update the API import from a local, non-existent package to the correct k8s.io/api package.
Is there a good way for us to check if the API is a kubernetes-provided API? And if so, to derive its import path?
Looking at the output of kubectl api-resources, I see four patterns:

Empty string maps to k8s.io/core
Single domain segment group maps to k8s.io/group
Multi-domain segment with .k8s.io suffix maps to k8s.io/<firstSegment>
Everything else is provided by an external CRD

Is it reasonable to include this mapping logic in our controller scaffolding?

@joelanford if we're going to support adding controllers for kubernetes-provided API we should require a --k8s-api boolean flag be passed to add controller. Additionally an optional --k8s-import-path flag  would be nice for API import paths with multiple domains or that are different than k8s.io/api. By default we can assume k8s.io/api since this will be the use case most of the time.

Created #1343 to track the follow-on updates.


Fix weasyprint on darwin (x86_64 and aarch64)

add FONTCONFIG_FILE also for executable
deactivate http_test due to permission denied in sandbox
remove unused dependencies that caused build problems
fix responses dependency by allowing local networking for tests

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Hi @elohmeier and @fabaff, is there anything I can do to get this merged?
It was multiple days of work for me, since I am neither a nix nor a python expert. But I really needed weasyprint to work on mac. I made sure the changes fit the style present as good as I could. But I am happy to improve... I'd really like to stop using my own nixpkgs fork.

@janvogt please rebase master so I can run nixpkgs-review in Darwin.

Closed by https://github.com/NixOS/nixpkgs/pull/207348


Not deleting heartbeats makes stream parsing fail

The current parsing algorithm means that if a couple of heartbeats are received, and then a update event is received, the value of chunk will be something like
:thump
:thump
event: update
data: {...}

But then, the check for the heartbeat is applied to the whole chunk of data, and for the case described just above, the behaviour is to ignore the whole payload.

Thank you very much for reporting this issue and the pull request! :)

You're welcome :-D And thanks for this library, which is an important part of a project of mine (https://gitlab.com/IvanSanchez/soclial)

nice, I'll definietly check it out! :)
I wrote a Twitter CLI and already thought about supporting Mastodon and Gnu social https://github.com/vanita5/birdknife

Wait, are you a former TTYtter user too? :-D

yes, of course :D
and when TTYtter started to be annoying thanks to new Twitter features I thought it'd be fun to write a Twitter CLI by myself.


Duplicate updates with weird data

Bear with me because I'm not sure if this is due to elixometer, exometer_core, exometer_influxdb, or some combination of the three.
Here's what my config looks like:
config :exometer_core,
  report: [
    reporters: [
      exometer_report_influxdb: [
        protocol: :https,
        host: "influxdb.appcues.net",
        username: System.get_env("INFLUXDB_USER"),
        password: System.get_env("INFLUXDB_PASS"),
        port: 8086,
        db: "metrics",
        timestamping: true
      ]
    ]
  ]

config :elixometer,
    reporter: :exometer_report_influxdb,
    env: Mix.env,
    metric_prefix: "event_ingester"

I then call this once:
update_spiral("web.ping", 1)

When I query the measurement in InfluxDB, it looks like this:
SELECT * FROM event_ingester_spirals_web_ping

time
count
host
one

2016-11-03T20:06:18.995495995Z
1
"65b56de2e2b2"

2016-11-03T20:06:19.76431866Z
1
"65b56de2e2b2"

2016-11-03T20:06:19.768817958Z

"65b56de2e2b2"
1

2016-11-03T20:06:20.764425275Z

"65b56de2e2b2"
1

2016-11-03T20:06:20.768760131Z
1
"65b56de2e2b2"

2016-11-03T20:06:21.764176139Z
1
"65b56de2e2b2"

2016-11-03T20:06:21.775893812Z

"65b56de2e2b2"
1

2016-11-03T20:06:22.763868246Z

"65b56de2e2b2"
1

2016-11-03T20:06:22.768669734Z
1
"65b56de2e2b2"

2016-11-03T20:06:23.764132114Z
1
"65b56de2e2b2"

It looks like there are two measurements sent every second and for some reason the value is under count for some and one for others. If I change the measurements to a count, something similar happens with the count being sent in one instance and ms_since_reset being sent in the other instance.

count and one are different things. count is the global count of an action, one is the per minute count and is probably what you want.

Ok thank you for this explanation, I guess I was confused by the name (maybe QPS or RPS would be better, I don't know) and the fact that they're separate records/sends, but that makes sense now that I think more about it.

@ianwalter that's from exometer; I don't think I can change them.


ISPN-12516 server directory

https://issues.redhat.com/browse/ISPN-12516
Needs backport to 11.0.x

@tristantarrant if you're OK with it, I'd like to merge this PR so I can sync up with https://github.com/infinispan/infinispan/pull/8882

Merged


Add GitHub Actions workflow to automate release

Add a GitHub Action job to trigger a release process which includes operations of:

Deleting an existing release and tag, if the same tag is being re-released.
Creating and pushing the release tag to the repository
Verifying the pushed tag (performing a diff with the commit ID which is tagged)
Creating a ZIP for the release asset.
Verifying the ZIP by performing a diff check and running unit tests on the unzipped files. 5. Creating a release on the repository for the tag, and uploading the ZIP as the release asset

The workflow can be manually triggered and takes the input values of Commit ID (to create a release for) and the Version string for tagging the release with
Testing
Here are example runs of the release job on my fork repository that created the tag and release:

Releasing the v1.0.0 tag - https://github.com/aggarw13/coreMQTT-Agent/actions/runs/745933055
Re-releasing the same tag - https://github.com/aggarw13/coreMQTT-Agent/actions/runs/746241995

Is there a way to make it so that this workflow becomes a part of the shared actions repo? It looks exactly the same as what exists in coreMQTT and other spoke repos.

That's a valid question. The issue is that GitHub Actions cannot contain logic to invoke another action, so the functionality of uploading artifacts cannot be commonized; though the functionality of Zipping and uploading tag can be.


fix: Add page for proxy configuration

Documentation change in order to avoid confusion. Requested in ADDON-61727.

I have read the CLA Document and I hereby accept the CLA

I have read the Code of Conduct and I hereby accept the Terms

I'm closing this PR and will reopen it as the first commit is not signed.

I'm closing this PR and will reopen it as the first commit is not signed.

You can rebase and sign your commit.

@kkedziak-splunk docs would be a better fit for this PR. fix and feat are for changes in the actual
Python package.
This is important because release notes and changelog are generated based on the commit messages.

@kkedziak-splunk docs would be a better fit for this PR. fix and feat are for changes in the actual Python package.
This is important because release notes and changelog are generated based on the commit messages.

I was going to use docs at first but the jira task was marked as a bug so I changed it to fix. But this is a good idea, I will change it to docs.


updated reference for fn source and sink

Some other Go doc files are also updated after running make generate.
https://github.com/GoogleContainerTools/kpt/pull/1981#discussion_r631498688

Dup with #2013


delayBody doesn't trigger timeout or sockettimeout unlike testing against an actual http server

When I run https://github.com/request/request against an actual HTTP server that delays closing the HTTP request after sending headers, I get a timeout or socket timeout. When I run it against nock configured to perform a delayBody with the same time, I do not get a timeout or socket timeout.
Take a look at https://github.com/jeffcharles/nock-timeout-testcase for an executable example. Running it on my machine results in:
Request sent back error: Error: ESOCKETTIMEDOUT
Nock should have failed with timeout but didn't

How can I configure Nock to timeout the socket given headers being sent back but the response not having been ended?

+1
i believe i tried same thing, following code will return then block should not execute:  Hello from Google! while i would expect ETIMEDOUT
mocha test/force-req-timeout.test.js --timeout=10000
'use strict'

const chai = require('chai')
const expect = chai.expect
const nock = require('nock')
const rp = require('request-promise')

describe('force request timeout with nock', () => {
  it('should return ETIMEDOUT', (done) => {

    nock('http://www.google.com')
    .get('/')
    .delay(8000)
    .reply(200, 'Hello from Google!')

    rp({
      url: 'http://www.google.com',
      timeout: 5000
    })
    .then((data) => {
      console.log('then block should not execute: ', data)
      ...
    })
    .catch((err) => {
      expect(err.cause.code).to.equal('ETIMEDOUT')
      ...
    })
  })
})

http://stackoverflow.com/questions/36533807/how-to-etimedout-with-nock-and-request-library

For properly testing timeouts with the request library, you should use at least these 3 error scenarios with replyWithError:
nock(...)...
.replyWithError({code: 'ETIMEDOUT', connect: true});
nock(...)...
.replyWithError({code: 'ETIMEDOUT', connect: false});
nock(...)...
.replyWithError({code: 'ESOCKETTIMEDOUT'});

Any news on this?

Trying to look at this but I'm not understanding what's wrong. Has anyone looked at the source code and tried to find the issue?


Cannot use Firebaseui 6.0v with Firebase 9.9v .

Describe the bug
Cannot use Firebaseui 6.0 v with Firebase 9.9 v .
Versions
next-firebase-auth version: .1.0.0-canary.9
Firebase JS SDK: 9.9.0
react-firebaseui": 6.0.0"
To Reproduce
Steps to reproduce the behavior:

In firebase 8.9 v work ,  didn't work in firebase 9.9

Error Message
Uncaught FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app-compat/no-app).
at app (index.esm2017.js?ad1f:230:1)
at Object.serviceNamespace [as auth] (index.esm2017.js?ad1f:264:1)
at FirebaseAuth (FirebaseAuth.js?a1c5:92:27)
at renderWithHooks (react-dom.development.js?ac89:16305:1)
Additional context
Is there any Solution?

Experiencing the same bug

The canary example app uses Firebase JS SDK v9.8.0 and react-firebaseui v6.0.0. Could you try running it to see if you still see the problem? If so, please provide a live reproduction.

Can You Tell me your issue? So I can Help


Missing package dependency on redhat-lsb for RedHat systems when using source instance

When installing from source on a minimal RedHat box, a required package dependency on redhat-lsb is missing otherwise the service will not start.

@schrepfler could you provide the error message you got?


Sonoff Cam does execute every command

Hi! Thank you for your work!
I have the problem that not every command is executed by the camera. I cannot specify it further. Sometimes every command is executed immediately, but sometimes there's just nothing.
Do you have any idea?
log below: (attention to #comment )
2021-01-24 13:30:54  DEBUG    main          SysInfo: {'version': '2021.1.2', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.7', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.4.79-v8', 'supervisor': '2021.01.7', 'host_os': 'Home Assistant OS 5.10', 'docker_version': '19.03.13', 'chassis': 'embedded'}
2021-01-24 13:30:54  DEBUG    main          AUTO mode start
2021-01-24 13:30:57  DEBUG    sonoff_cloud  1 devices loaded from the Cloud Server
2021-01-24 13:30:57  DEBUG    main          a63000cedb == Init   | {'uiid': 87, 'extra': {'manufacturer': 'coolkit', 'model': 'GK-200MP2B', 'sw_version': 'GK-200MP2B'}, 'params': {'romVersion': '24520191030', 'version': 7, 'cloud': 'online'}}
2021-01-24 13:31:00  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1611491459657'}
2021-01-24 13:32:10  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:32:14  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:32:17  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:32:17  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:32:17  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:32:17  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:32:17  DEBUG    sonoff_camera  Send Command left
2021-01-24 13:33:14  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:33:14  DEBUG    sonoff_camera  Send Command left
2021-01-24 13:33:14  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:14  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:33:14  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:33:21  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:21  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:25  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:27  DEBUG    sonoff_camera  Send Command up
2021-01-24 13:33:28  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:30  DEBUG    sonoff_camera  Send Command down
2021-01-24 13:33:32  DEBUG    sonoff_camera  Send Command left
2021-01-24 13:33:33  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:33:34  DEBUG    sonoff_camera  Send Command up
2021-01-24 13:34:14  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:34:20  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:34:21  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send HELLO
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send UID Session Open Request
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Init Command
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Command left
#from around here it started working
2021-01-24 13:34:30  DEBUG    sonoff_camera  Send Command up
2021-01-24 13:34:35  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:34:37  DEBUG    sonoff_camera  Send Command left
2021-01-24 13:34:40  DEBUG    sonoff_camera  Send Command up
2021-01-24 13:34:42  DEBUG    sonoff_camera  Send Command down
2021-01-24 13:34:44  DEBUG    sonoff_camera  Send Command down
2021-01-24 13:34:46  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:34:48  DEBUG    sonoff_camera  Send Command right
2021-01-24 13:34:50  DEBUG    sonoff_camera  Send Command right

I experience the same. It looks like the connection needs to be opened before the command can be send.
How can I help debugging?

Have same problem


Feature 74 weather regime plots

Pull Request Testing

[x] Describe testing already performed for these changes:
The testing performed was running the use case to ensure that the plotting worked and came out the same as the original user's version

[ ] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Run the weather regime use case (s2s/UserScript_obsERA_obsOnly_WeatherRegime.conf) which is in branch 569 of METplus.  The output should be 3 plots, obs_eof.png, obs_kmeans.png and obs_elbow.png

[ ] Do these changes include sufficient documentation and testing updates? [Yes or No]

[ ] Will this PR result in changes to the test suite? [Yes or No]
If yes, describe the new output and/or changes to the existing output:
No, the weather regime use case changed the test suite

Pull Request Checklist
See the METplus Workflow for details.

[ ] Complete the PR definition above.
[ ] Ensure the PR title matches the feature or bugfix branch name.
[ ] Define the PR metadata, as permissions allow.
Select: Reviewer(s), Project(s), and Milestone
[ ] After submitting the PR, select Linked Issues with the original issue number.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

Where is the data located?  I generated the docs for this use case and it only indicates:

Forecast dataset: GEFS Forecast 500 mb height.

Observation dataset: ERA Reanlaysis 500 mb height.

I looked under the /d1/projects/METplus/METplus_Data/model_applications/s2s on kiowa and eyewall and didn't find any data that match with the above description.

The data is on mohawk.   I had to have eofs installed on cheyenne to use the script.  I'm guessing we may need to add it to METplotpy/METcalcpy?

I think I have most of the template filled out for issue 74, though there are not unit tests for this code yet.

Hi Minna:
Ah, I had a bad path in the use case that George found.  That error was the same one he was getting.  I pushed an update to branch 569 of METplus to fix this error.  I should probably add an error message so it's more clear to the user what is going on in this case.  But, I think you will just need to pull the new version of branch 569 to get it to run.


Heads aren't showed when seeing encryped messages with Chat Heads

Modloader
Fabric
Minecraft Version
1.21
Modloader Version
Fabric Loader 0.15.11 / API 0.100.4
No Chat Reports Version
1.21-v2.8.0
Modpack Info
No response
The latest.log File
No response
Bug Description
Heads are not showed if the message is encrypted with Chat Heads mod.
Maybe it is a bug of Chat Heads, so I also reported it to Chat Heads.
Steps to Reproduce
No response
Other Information
No response

Just a heads up: We're going to fix this on Chat Heads' end.
It's an issue of how Chat Heads sets a message's owner. Currently it just sets the owner on the first GuiMessage constructor call.
Decrypted messages call the constructor again and thus do not get an owner.
There's tons of way to fix this on our end, it's just a question of which way to choose.
Issue link: https://github.com/dzwdz/chat_heads/issues/99

Issue is fixed.
(Was apparently only a thing on 1.20.5+ or maybe 1.20.4 if I could test it)


Attenuation model of AudioStreamPlayer3D breaks when using AnimationPlayer with web build

Tested versions

Reproducible v4.3.stable.official [77dcf97d8]

System information
Windows 10 - v4.3.stable.official [77dcf97d8]
Issue description
Attenuation model emits sound globally with max_distance setting only on the web build
Steps to reproduce

Create AudioStreamPlayer3D, AnimationPlayer
Add Audio Playback track to animation and play animation with AnimationPlayer
Configure moving camera to check if max_distance and attenuation model works properly
Build for web, sound is emitted globally for some reason.

Compare Web build to debug play, you will see that's only web build issue
Minimal reproduction project (MRP)
TestAudioStream3D.zip

Related to https://github.com/godotengine/godot/issues/97558.

Not sure if it's related because it's a matter of using AnimationPlayer, with different setups it works fine, for example like this one:
testaudiostream3d.zip


http_responses_total missing exported_service label

Hello there,
following metrics missing exported_service label:
haproxy_frontend_http_responses_total
haproxy_backend_http_responses_total
haproxy_backend_connections_total

The exported_ prefix is added by the Prometheus server itself when it detects duplicated labels (target labels and metric labels). The haproxy_exporter doesn't export any "service" label though, available metrics are backend, frontend and server following the semantics of HAProxy.
I assume you have confused some labels set by Prometheus via your service discovery mechanism. Feel free to provide detailed information about your issue (Prometheus config for your HAProxy job, HAProxy exporter version, HAProxy exporter flags) and reopen this issue.


Unified Address z_exportviewingkey Equivalent

Feature Request: Equivalent of z_exportviewingkey available in zcash-cli for Unified addresses?

Not sure if this is directly needed  - but would be nice - as this viewing key information could be part of the "export" command as in zecwallet-cli.
However, currently "export" returns
Key export currently unimplemented, please use seed phrase to backup/restore keys

Is there an ETA on when export will be implemented?

@fluidvanadium can you please sanity check that zingo-cli provides this functionality, and then (when you confirm that it does) close this issue?


Decrease shot glass max volume

About the PR
Screenshots

Changelog

:cl:

tweak: Shot glasses can now only hold 10u of liquid.

Might be cool to make it such that you always drink the entire shot glass in one go, as opposed to drinking 5u each time.

yeah im pretty sure this is easy to do as well

done


integration_test plugin was not detected is always shown after patrol drive

A message like this is always shown after a executing a single test file completes (either successfully or not).
Warning: integration_test plugin was not detected.
If you're running the tests with `flutter drive`, please make sure your tests
are in the `integration_test/` directory of your package and use
`flutter test $path_to_test` to run it instead.
If you're running the tests with Android instrumentation or XCTest, this means
Failed to stop app
that you are not capturing test results properly! See the following link for
how to set up the integration_test plugin:
https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
00:32 +2: All tests passed!
flutter_driver exited with code 0

Looks like this bug was previously reported to the Flutter team, but they forgot about it. See https://github.com/flutter/flutter/issues/71594 for more.

More logs
Running dark_mode_test.dart with flutter_driver on iPhone 14...
VMServiceFlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:59380/GRCp7KnxgSY=/
VMServiceFlutterDriver: Isolate found with number:<PHONE_NUMBER>110195
VMServiceFlutterDriver: Isolate is paused at start.
VMServiceFlutterDriver: Attempting to resume isolate
Patrol: creating NativeAutomator, host: localhost, port: 8081, packageName: pl.leancode.patrol.example, bundleId: pl.leancode.patrol.Example
Patrol: Initializing PatrolBinding...
00:00 +0: disables and enables dark mode twice
VMServiceFlutterDriver: Connected to Flutter application.
Patrol: disableDarkMode() started
Patrol: disableDarkMode() succeeded
Patrol: enableDarkMode() started
Patrol: enableDarkMode() succeeded
Patrol: disableDarkMode() started
Patrol: disableDarkMode() succeeded
Patrol: enableDarkMode() started
Patrol: enableDarkMode() succeeded
00:32 +1: (tearDownAll)
Warning: integration_test plugin was not detected.
If you're running the tests with `flutter drive`, please make sure your tests
are in the `integration_test/` directory of your package and use
`flutter test $path_to_test` to run it instead.
If you're running the tests with Android instrumentation or XCTest, this means
Failed to stop app
that you are not capturing test results properly! See the following link for
how to set up the integration_test plugin:
https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
00:32 +2: All tests passed!
flutter_driver exited with code 0

This should be fixed when we replace flutter drive with flutter test in #421.

@bartekpacia
Hi!
I have the same problem. How can I solve this?
I can't do patrolTest method.
Detail
Execute the following command.
patrol drive --target=integration_test/all_test.dart --driver=test_driver/integration_test_driver.dart

The following log will then be output.
The process ends without actually executing the contents of patrolTest.
Patrol: creating NativeAutomator
Patrol: Initializing PatrolBinding...
00:00 +0: (tearDownAll)
VMServiceFlutterDriver: Connected to Flutter application.
Warning: integration_test plugin was not detected.
Failed to stop app
If you're running the tests with `flutter drive`, please make sure your tests
are in the `integration_test/` directory of your package and use
`flutter test $path_to_test` to run it instead.
If you're running the tests with Android instrumentation or XCTest, this means
that you are not capturing test results properly! See the following link for
how to set up the integration_test plugin:
https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
00:00 +1: All tests passed!

Please help me, thanks😭

Hi @Yokoi-K!
This issue is about only a false positive warning being printed at the end of the test – it does not affect running the test in any way. So, I'm pretty sure your problem with contents of patrolTest() not executing is not related to this problem.
Do you mind sharing your test with me so I can take a look and maybe see what's wrong with your test?

@bartekpacia
Sorry, This problem has been resolved!
No problem.

@Yokoi-K Great! How did you resolve it?

@bartekpacia
The problem I had was different from the following. I misunderstood the use of patrolTest.

If you're running the tests with flutter drive, please make sure your tests
are in the integration_test/ directory of your package and use
flutter test $path_to_test to run it instead.
If you're running the tests with Android instrumentation or XCTest, this means
that you are not capturing test results properly! See the following link for
how to set up the integration_test plugin:
https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
00:00 +1: All tests passed!

So I have not been able to solve the issue problem.
Sorry for not being able to help.

Not relevant anymore in Patrol 1.0.


callback passing to marked seems unsupported

Perhaps I don't grok it, but it seems that cb should be passed in after options at module.exports = function (options)
gulp-marked had the problem it never actually called the cb and my pull request fixed it there.
Would be great to learn how I can pass the callback already, for what I try to do here or if this feature could be implemented if indeed missing.
Thanks!

It doesn't need a callback as it returns a stream.
For what you're trying to do you can just use https://github.com/geejs/gulp-tap and modify the file.contents. This is out of the scope of this plugin.

Thanks for the quick reply.
Adding yet another node package for working around a lacking feature of a marked wrapper seems wrong to me.
I'll just stay with gulp-marked instead.

Ok, good luck. You're missing the point of gulp, though; Small focused plugins doing one thing.
Why even use multiple plugins? You could just have one master plugin called anaran that does everything from making you breakfast to compiling markdown from sheep wool.


Certificate errors

Hey,
when I try to install the apk from the release page, I get the error
App not installed as package appears to be invalid.

When I try to install with adb
adb: failed to install build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl415444750.tmp/base.apk: Attempt to get length of null array]

Searching the web I found, that it has to do with singingConfig in android/app/build.gradle.
When compiling with
buildTypes {
    release {
        signingConfig signingConfigs.debug
    }
}

in android/app/build.gradle I can install it with adb no problem.

Great, thanks for the quick response :)


Update Zowe CLI Web Help for v1.27

Signed-off-by: Andrew W. Harn<EMAIL_ADDRESS>Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[X] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
This pull request updates the Zowe CLI Web-Help content for the Zowe v1.27 release. Additionally, the pull request modifies the downloadable files Javascript on the main Zowe Docs page to provide a more intuitive experience. The Web-Help download link next to the Online interactive version link downloads the web-help ZIP instead of the PDF file, which is more clearly made available under the PDF format heading.
:heart:Thank you!

@awharn is there anything specific that you would like me to review? This PR changes a large number of files. If it is just to let me know that the web-help is being updated to include web-help of some Zowe Conformant Plug-ins, then please proceed 👍

I added you for quick review of DownloadableFiles.js, in particular the ZIP -> PDF change, and any discussion that might come up regarding that change.

Hi all, we'll publish 1.27 tomorrow. I'll merge this PR for now but if you have any further updates to make, please continue to push to docs-staging before the end of day Jan 24. Thank you!


Cache the node_modules directory in Travis to speed up runs

Dead simple. Exactly as it says on the tin.

Travis definitely ran faster the second time.


fix: panic when ws deserialization

Codecov Report

Merging #256 (36e9eda) into main (97f8b4c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #256   +/-   ##
=======================================
  Coverage   60.14%   60.14%
=======================================
  Files         102      102
  Lines       25312    25312
=======================================
  Hits        15225    15225
  Misses      10087    10087

Files
Coverage Δ

taos-ws/src/consumer/messages.rs
96.92% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Some questions in step function

Thank you for your impressive work. I have some questions in your adan.py about step function.
In line 179-180, that is:
for p, copy_grad in zip(group['params'], copy_grads):
    self.state[p]['pre_grad'] = copy_grad

It seems that you want to save the corresponding pre_grad. But I have the following bug:

I think this is because the former contains all parameters, while the latter only contains parameters with gradient. So I made the following changes:
for p, copy_grad in zip(params_with_grad, copy_grads):
    self.state[p]['pre_grad'] = copy_grad

With this modification, I can run normally. Do you think what problems I have encountered and that this modification is correct? @XingyuXie

@RookieXwc   Thanks a lot you are right.
It seems that some of your parameters are set to requires_grad=False, right? Since I do not meet this problem, but your modification is right.

Yes, some of my parameters are set to requires_grad=False. Therefore, the lengths of group['params'] and copy_grads are inconsistent. I noticed that this error will not occur in the timm version. Could you clearly check in your repo and make corresponding modifications? Thank you!

Done, thanks again @RookieXwc .
BZW, the newer version is faster than the older or timm version, especially on a single node.


Add domain name to online repl description

@zoffixznet I have no design skills whatsoever, think this is better?


Use rocket_db_pools

Is your feature request related to a problem? Please describe.
Using a database behind State could bottleneck use.
Describe the solution you'd like
Instead, use the provided rocket_db_pools contrib library. It allows you guard requests with individual connections to the database rather than the connection pool. There is first class support for MongoDB.
Additional context
https://api.rocket.rs/v0.5-rc/rocket_db_pools/

Irrelevant


Can't continue due to errors on dependencies

I'm seeing the following error in the next-ls server logs when starting up Zed. I've tried deleing .elixir-tools and deps, running mix deps.get, reopening Zed, still seeing this error. The app compiles with no issue. I'm using Zed 0.107.6. I'm on  Erlang/OTP 25 [erts-13.1.2] and Elixir 1.14.2.
[NextLS] NextLS v0.13.4 has initialized!
[NextLS] Booting runtimes...
[NextLS] Beginning DB migration...
[NextLS] Database is on the latest version: 5
[NextLS] Finished DB migration...
[NextLS] Using `elixir` found at: /Users/me/.asdf/shims/elixir
[NextLS] Connected to node nextls-runtime-1697306638853324875@Michaels-MacBook-Pro
[NextLS] Runtime for folder  is ready...
[NextLS] Unchecked dependencies for environment dev:
* dynasaur (apps/dynasaur)
  the dependency is not available
[NextLS] * mix_audit (Hex package)
  the dependency is not available, run "mix deps.get"
* gen_stage (Hex package)
[NextLS]   the dependency is not available, run "mix deps.get"
* argon2_elixir (Hex package)
  the dependency is not available, run "mix deps.get"
* tasks (apps/tasks)
  the dependency is not available
* middleware (apps/middleware)
[NextLS]   the dependency is not available
[NextLS] * event_consumers (apps/event_consumers)
  the dependency is not available
* support_tool (apps/support_tool)
  the dependency is not available
* telemetry (Hex package)
  the dependency is not available, run "mix deps.get"
* serializers (apps/serializers)
  the dependency is not available
* cowboy (Hex package)
  the dependency is not available, run "mix deps.get"
* api (apps/api)
  the dependency is not available
* phoenix (Hex package)
  the dependency is not available, run "mix deps.get"
* core (apps/core)
  the dependency is not available
* retry (Hex package)
  the dependency is not available, run "mix deps.get"
* dialyxir (Hex package)
  the dependency is not available, run "mix deps.get"
* db (apps/db)
  the dependency is not available
* hackney (Hex package)
  the dependency is not available, run "mix deps.get"
[NextLS] * credo (Hex package)
[NextLS]   the dependency is not available, run "mix deps.get"
* ecto (Hex package)
  the dependency is not available, run "mix deps.get"
* events (apps/events)
  the dependency is not available
* hertz (apps/hertz)
[NextLS]   the dependency is not available
* styler (Hex package)
  the dependency is not available, run "mix deps.get"
* munger (apps/munger)
  the dependency is not available
[NextLS] * seeder (apps/seeder)
[NextLS]   the dependency is not available
* ecto_sql (Hex package)
  the dependency is not available, run "mix deps.get"
* wal_to_elasticsearch (apps/wal_to_elasticsearch)
[NextLS]   the dependency is not available
[NextLS] * httpoison (Hex package)
  the dependency is not available, run "mix deps.get"
* email (apps/email)
  the dependency is not available
[NextLS] Unexpected compiler response: {:error, %{message: "Can't continue due to errors on dependencies", __struct__: Mix.Error, __exception__: true, mix: 1}}

Closing my own issue, this solved it https://github.com/JakeBecker/elixir-ls/issues/71#issuecomment-407174183

Might be a zed root path detection issue for umbrella apps, I'll have to play around with it later and report upstream if I'm correct.

I played around with an umbrella app, it seems to work on my end.
I am curious to know if there is anything special about your umbrella app that is different from a basic one?

FWIW this also happens to me on vscode and elixir 1.15.5 after installing NextLS and disabling ElixirLS

Can you share the rest of the "specs"?
Elixir, OTP version, how you install them (asdf, brew), OS, CPU arch, etc

@mhanberg Yep! Let me know if I'm missing something :)
I'm on a M1 Pro macbook running Ventura 13.1. Elixir and Erlang/OTP are installed through asdf's plugin.
I first tried it out on vscode and it wouldn't download the missing deps (see logs below), then I tried it on zed and it worked perfectly. Not sure what's different between the integrations but since it was able to compile on zed now it works fine on vscode too 🤔 .
> elixir -v
Elixir 1.15.7 (compiled with Erlang/OTP 25)

> erl
Erlang/OTP 25 [erts-13.2] ...

NextLS logs:
[NextLS] NextLS v0.13.5 has initialized!
[NextLS] Booting runtimes...
[NextLS] Beginning DB migration...
[Info  - 3:09:32 PM] [NextLS] Database is on the latest version: 5
[NextLS] Finished DB migration...
[NextLS] Using `elixir` found at: /Users/nico/.asdf/shims/elixir
[NextLS] Connected to node nextls-runtime-1697652572210874417@MacBook-Pro
[NextLS] Runtime for folder my-app is ready...
[NextLS] Unchecked dependencies for environment dev:
Unchecked dependencies for environment dev:
* grpcbox (Hex package)
* grpcbox (Hex package)
  the dependency is not available, run "mix deps.get"
* file_system (Hex package)
  the dependency is not available, run "mix deps.get"
  the dependency is not available, run "mix deps.get"
* connection (Hex package)

bump
Any progress on this?

Can you answer the question I asked previously:

I am curious to know if there is anything special about your umbrella app that is different from a basic one?

Not that I'm aware of. Anything specific you have in mind that I can answer?

Would you mind updating to 0.19.1 and trying it out again?
I've introduced a new feature that will detect when your deps have changed since you opened the editor (like if you change branches, etc) and then prompt you with a message to ask if you want it to fetch deps again and restart the internal runtime.
I tested in Zed and it seems to work, would you mind testing on your end to see if it helps with the issues you were seeing?

Also seeing issues with an umbrella in 0.19.1. I saw similar messages to those in this thread prior to updating next_ls. After update, I'm still having trouble.
Logs excerpt that may help 🤞 (umbrella app names redacted):
[NextLS] Connected to node nextls-runtime-1709771229246617144@Q0YJVVX2HN
[NextLS] Runtime for folder  is ready...
[NextLS] Unchecked dependencies for environment dev:
* XXXX1 (apps/XXXX1)
  the dependency is not available
[NextLS] Runtime for folder  failed to initialize
[NextLS] * XXXX2 (apps/XXXX2)
  the dependency is not available
* XXXX3 (apps/XXXX3)
  the dependency is not available
* XXXX4 (apps/XXXX4)
  the dependency is not available
* XXXX5 (apps/XXXX5)
  the dependency is not available
* XXXX6 (apps/XXXX6)
  the dependency is not available
* XXXX7 (apps/XXXX7)
  the dependency is not available
[NextLS] * XXXX8 (apps/XXXX8)
  the dependency is not available
[NextLS] The runtime for  has successfully shut down.
[NextLS] Bad RPC call to node nextls-runtime-1709771229246617144@Q0YJVVX2HN: :nodedown

I'm wondering if next_ls is having issues with inter-app deps? e.g.
defp deps do
    [
      {:an_app_in_the_umbrella_i_depend_on, in_umbrella: true},
      {:another_app_in_the_umbrella_i_depend_on, in_umbrella: true},
      # ...
     ]
end

Thanks for the report!
I have a new hypothesis, will be investigating over the coming days.

I think I was able to reproduce this in the wild, but not in a test. I haven't tested my suspicion yet but I'm hopeful

I believe https://github.com/elixir-tools/next-ls/pull/401 should close out this issue, I will likely release it in v0.20.2, please update and let me know if you can still reproduce.
I'll close the issue if I don't hear back in a while, but feel free to comment and I'll re-open

Just installed it last night, I was able to use find references (wow is it fast) so it seems to be up and running, I’ll file a new ticket if I hit any other issues


Shadow Beta - Fedora 28  - try enqueue failed, queue full

Hi,
I used the "lazy" method (at first) in order to test Shadow on my laptop running on Fedora28.
Result: Shadow start the  welcome screen, the automatic bandwitch check works, etc …
But the moment I click on Start, I go to 3/3 without an issue then the computer completly fails, and I cannot do anything else than rebooting.
Tried all shortcuts proposed, even tried some fancy ones,  just some kind of black  screen or sometimes partial image of my Shadow Windows, with some green on it.
I tried the stable 2.0.4 version AND the nightly build, same shit :(
$ vainfo
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
failed to open /usr/lib64/dri/hybrid_drv_video.so
Failed to wrapper hybrid_drv_video.so
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 2.1.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
$ cat /etc/fedora-release
Fedora release 28 (Twenty Eight)

Logs:
[4624] [2019-02-13 15:22:48.739] [info] vaapi: I-frame

[4620] [2019-02-13 15:22:49.342] [warning] video: try enqueue failed, queue full (queue size: 7)
[4620] [2019-02-13 15:22:49.342] [warning] video: asking for IDR
[4620] [2019-02-13 15:22:49.599] [warning] video: try enqueue failed, queue full (queue size: 7)
[4620] [2019-02-13 15:22:49.599] [warning] video: asking for IDR

Thx for any help :)

Well,
I saw on other issues that it might be linked to XFCE 4.12 which I'm using.
I tried on LXCE,Gnome. Now I always see the screen, sometimes with green sometimes not, but not usable and logs:
[2019-02-13 16:01:03.008] [info] (Video) error 1
[2019-02-13 16:01:03.008] [info] (Video) error 1
[2019-02-13 16:01:03.009] [info] (Video) error 1
[2019-02-13 16:01:03.009] [info] (Video) error 1
[2019-02-13 16:01:03.010] [info] (Video) error 1
[2019-02-13 16:01:03.010] [warning] video: try enqueue failed, queue full (queue size: 7)
[2019-02-13 16:01:03.010] [warning] video: asking for IDR
[2019-02-13 16:01:03.010] [info] (Video) error 1
[2019-02-13 16:01:03.011] [info] (Video) error 1
[2019-02-13 16:01:03.011] [info] (Video) error 1
[2019-02-13 16:01:03.012] [info] (Video) error 1
[2019-02-13 16:01:03.012] [info] (Video) error 1
[2019-02-13 16:01:03.013] [info] (Video) error 1
[2019-02-13 16:01:03.013] [info] (Video) error 1
[2019-02-13 16:01:03.014] [info] (Video) error 1
[2019-02-13 16:01:03.015] [info] (Video) error 1
[2019-02-13 16:01:03.015] [info] (Video) error 1

Hi mate !
Which OS do you use ? As the application were developped for Ubuntu, it can worth the shot to try with Ubuntu 18.04.
Can we have more information about your hardware as well ? Thanks :)

Hoi,
[devaf@lp-20140015-linux ~]$ cat /etc/fedora-release
Fedora release 28 (Twenty Eight)
[devaf@lp-20140015-linux ~]$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
[devaf@lp-20140015-linux ~]$

It seems with a closer look that the VA API fails to use the driver without error. I guess this should be fixed first to finally have the stream.
I don't know Fedora at all, but I guess you should install the i965 drivers for VA API.
By the way, you have 2 GPUs. You re currently trying with the Intel one that does not support h265. But it also meens that the gpu is probably weak for h264 with high quality. Did you try to use the lowest bandwidth?

I have the same problem with arch-linux btw.
[4446] [2019-03-25 10:43:49.095] [warning] video: try enqueue failed, queue full (queue size: 7)
[4446] [2019-03-25 10:43:49.095] [warning] video: asking for IDR
[4446] [2019-03-25 10:43:49.132] [warning] video: try enqueue failed, queue full (queue size: 7)
[4446] [2019-03-25 10:43:49.132] [warning] video: asking for IDR
[4446] [2019-03-25 10:43:49.142] [warning] video: try enqueue failed, queue full (queue size: 7)
[4446] [2019-03-25 10:43:49.142] [warning] video: asking for IDR

Each enqueue failed induce a huge freeze whatever the windows.
Here my conf graphic controller :
        Subsystem: Lenovo 3rd Gen Core processor Graphics Controller
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

And I use 'i3' :
i3 version 4.16.1 (2019-01-27)

Bandwidth 5mb/s

Hi,
Similar problem here, but with GeForce GT 1030. I also have an APU graphic card that I can't disable (the readeon):
~$ lspci | grep -i vga
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660D]
01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
Of course, I use the GeForce.  vainfo:
~$ vainfo
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple            : VAEntrypointVLD
VAProfileMPEG2Main              : VAEntrypointVLD
VAProfileMPEG4Simple            : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
               : VAEntrypointVLD
VAProfileH264Main               : VAEntrypointVLD
VAProfileH264High               : VAEntrypointVLD
VAProfileVC1Simple              : VAEntrypointVLD
VAProfileVC1Main                : VAEntrypointVLD
VAProfileVC1Advanced            : VAEntrypointVLD
Any help is welcome.

@Pivert GT 1030 has been confirmed to work with your discrete gpu (GT1030)  https://gitlab.com/aar642/libva-vdpau-driver, you just need this patch.


Update release note v0.9.14

What this PR does / why we need it:
Manual update release note v0.9.14
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve