Assertion failed: (0 != cs), function GEOSCoordSeq_getSize_r

Geometry must be a Point or LineString
Assertion failed: (0 != cs), function GEOSCoordSeq_getSize_r, file geos_ts_c.cpp, line 3991.
Abort trap: 6

Steps to reproduce the problem.
from shapely.geometry.polygon import LinearRing
ring = LinearRing([(0, 0), (1, 1), (1, 0)])
list(ring.coords)

Operating system
Mac OS X 10.12.6
Shapely version and provenance
1.6.4.post1 installed from PyPI using pip

@balzer82 I can't reproduce the problem
$ python
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from shapely.geometry.polygon import LinearRing
>>> ring = LinearRing([(0, 0), (1, 1), (1, 0)])
>>> list(ring.coords)
[(0.0, 0.0), (1.0, 1.0), (1.0, 0.0), (0.0, 0.0)]

I'm using the binary wheel from PyPI (pip install shapely).
$ pip list | grep Shapely
Shapely (1.6.4.post1)

Did you, by chance, install from an sdist using the GEOS library installed on your system by running pip install --no-binary shapely shapely?

 Uninstalled it, reinstalled it with pip install shapely and now it works.


an include feature for justfiles

This design takes all lines that look like this:
@include "relative/path/to/file"
and replaces them with the contents of the pointed-to file. The resulting buffer is passed along to be parsed and executed as before. That's it: no attempt to look at the file or do anything with the contents. This is pure concatenation.
Feel free to tweak as needed!
Implements #1407

@mihaigalos This is just a draft, no need to review. I'll probably just use it as a starting point. I'd like to integrate include into the parser, instead of as a preprocessor step.

@mihaigalos This is just a draft, no need to review. I'll probably just use it as a starting point. I'd like to integrate include into the parser, instead of as a preprocessor step.

That's fine. I would really like this feature.

Rebased on the latest master. Thanks @casey! Let me know if there's anything you'd like me to help with or change to make it easier for you.

Okay! I hoped to use this as a basis for a version that would parse included justfiles, and then include the token stream, instead of doing literal text inclusion, but I've been swamped and I know that this has been a long requested feature, so instead of delaying it, let's get this in.
Some comments:

This should have a test, maybe in tests/include.rs
How about ! instead of @? @ is used for quiet recipes, so ! seems more unambiguous. Also open to other suggestions!
How about !include PATH_TO_FILE instead of !include "PATH_TO_FILE"? The argument to include isn't an actual just string, e.g. you can't use single quotes, so the quotes might be more confusing than anything else.
This should have require the --unstable flag. I'm open to stabilizing it as-is, since it doesn't conflict with a future version of the feature which uses different syntax, but I'd like to get some testing beforehand.

In the interest of getting #1407 closed and this functionality working ASAP, I've made a PR https://github.com/casey/just/pull/1470 that solves the same problem. It's loosely based off of this one, but I had to make the code a bit more complicated to handle recursive justfile inclusion.

How about !include PATH_TO_FILE instead of !include "PATH_TO_FILE"? The argument to include isn't an actual just string, e.g. you can't use single quotes, so the quotes might be more confusing than anything else.

Why have any characters before the include? Since if you don't have a colon (:) in the line when specifying an include, you are not defining a recipe.
Good idea on dropping the quotes, they only add noise.

Why have any characters before the include? Since if you don't have a colon (:) in the line when specifying an include, you are not defining a recipe.

Without the ! If the path contains a :, then it's ambiguous whether it's an include or a recipe named include, e.g.:
include :foo

If the path contains a :

I'm very biased since no ':' in Linux paths afaik. Ok.

I'm very biased since no ':' in Linux paths afaik, but can imagine C:\ on Windows. Ok. 😅

Ultimately, linux paths are arbitrary strings, and can include any byte except nulls.

This has been implemented by @neunenak in #1470! For now it's just in master, but I'll cut a release soon so people can play with it.


fix: 🐛 annotations leaking between aliased subcharts

What does this PR do?

When using multiple traefik setups as subcharts, this prevents annotations to be leaking from one alias to another.
Motivation
Relates to https://github.com/helm/helm/issues/11891 .
Merge mutates its first parameter and this is not isolated between multiple aliased subcharts.
I have this Chart.yaml
apiVersion: v2
name: inf-traefik
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
dependencies:
  - name: traefik
    version: ">0"
    repository: https://helm.traefik.io/traefik
    alias: traefik-external
  - name: traefik
    version: ">0"
    repository: https://helm.traefik.io/traefik
    alias: traefik-internal

And this values.yaml
traefik-external:
  ingressRoute:
    dashboard:
      annotations:
        kubernetes.io/ingress.class: traefik-ext

  service:
    annotations:
      external-dns.alpha.kubernetes.io/hostname: "*.lb-ext.alpha.example.com"

traefik-internal:
  ingressRoute:
    dashboard:
      annotations:
        kubernetes.io/ingress.class: traefik-int

  service:
    name: traefik-int
    annotations:
      external-dns.alpha.kubernetes.io/hostname: "*.lb-int.alpha.example.com"

When running template I would expect that each aliased subchart receives only its specific values.
❯ helm3 template . | grep hostname:
    external-dns.alpha.kubernetes.io/hostname: '*.lb-ext.alpha.example.com' # not an actual result
    external-dns.alpha.kubernetes.io/hostname: '*.lb-int.alpha.example.com'

But rendering the template, I get both services with same value.
❯ helm template . | grep hostname:
    external-dns.alpha.kubernetes.io/hostname: '*.lb-int.alpha.example.com'
    external-dns.alpha.kubernetes.io/hostname: '*.lb-int.alpha.example.com'

More

[ ] Yes, I updated the tests accordingly
[x] Yes, I ran make test and all the tests passed

Hello @romeuhcf,
Thanks for this PR. It looks good.


Auto-detection of serial port

The tkey-runapp program features autodetection of the tkey serial port (on my laptop, it automatically selects /dev/ttyACM0, which works fine).
It would be nice if the tkeyclient package also had this autodetect logic.

tkey-runapp uses the functions from tkeyclient to achieve this.
See ports.go, functions DetectSerialPort and GetSerialPorts .

Thanks! I think I was looking at an old checkout where that code was still in internal/util.


oscm-integrationtests-mockproduct information are not in Readme for sample of external billing

[version]
v16.0 GA1
[Frequency]
Always
[How to reproduce]
See Readme.html in oscm-integration-pack\samples\billingPlugin\doc\BillingPlugin
[Expected result]
The information which oscm-file-adapter need oscm-integrationtests-mockproduct to use are in Readme
[Observed result]
No information of oscm-integrationtests-mockproduct are in Readme
[Note]
oscm-integrationtests-mockproduct is provided in oscm-integrationtests-pack. But we should put this example war in oscm-integration-pack\samples\billingPlugin in order only to use mock app for external billing as ESCM.
Please put oscm-integrationtests-mockproduct in billingPlugin sample directory and write about this exanple in Readme of external billing sample.

The oscm-integrationtests-mockproduct is an application for general testing purposes particularly by development. In my opinion, it is now not in a state that allows to include it in a package that has product quality. Clean-up and review is required.
It would probably be helpful to have an application and technical service as a sample. But then we should give more thought to what we want to include and how this should look in detail. It should not only be included in the billing adapter sample, but as a sample of its own.
For testing purposes, there is no need to include the mockproduct with the billing sample. It can be obtained from the oscm-integrationtests-mockproduct package.
The billing plugin sample is focussed on the implementation of a billing adapter, not on the provisioning of applications. We should not mix things too much in my opinion.

I agree with @SuessI. Providing a general-purpose application which implements the provisioning and operation service is better long-term solution. It may be derived from the existing mock product, but as written in the previous comment, review and renaming are necessary. The mocks are developed for test purposes for development team, and have no sample quality.
The test teams can use the mocks since they are provided with the optional integrationtests package.


Include animal metadata in colData()

Animals have metadata. For example, a salmon here, or chicken here under Sample --> Sample metadata.
Some algorithms like MOFA can use colData variables as group variables (see OMA book), so this data can included as metadata.
Chickens also have "Pen" metadata.

https://github.com/EBI-Metagenomics/HoloFoodR/pull/17


Update requirements.txt

Inclusive ordered comparison clause >=
Required Tensorflow version equal to or greater than 1.4.0

Since it has not been tested for every version of TF >= 1.4.0, it'd never be safe to use other versions.
Thus, it'd be better to stick on the current requirement.txt, and let users modify it with their awareness and their own risk.


STREAMLINE-739: Embed jar name along with UUID

Added 'streamline-functions' and 'notifiers' prefix while storing the udfs and notifiers.

+1


Alpha ignores second input file if -i is missing

If a user accidentally calls java -jar Alpha.jar -i program.asp instance.asp instead of java -jar Alpha.jar -i program.asp -i instance.asp, the input from instance.asp is silently ignored.

Issue should be resolved now, thanks to #164. Please confirm whether this is the case @rtaupe. Thanks.

Fixed by e51364e7a9ec7f1e4792236609c698b92e353a05. Thanks @madmike200590!


RELATED: RAIL-1690 prepare GA version

This sets the gooddata-react-components to latest stable release.

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/49/ : SUCCESS in 3m 47s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-oss-check/45/ : SUCCESS in 19s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-merge-compliance-check/22/ : SUCCESS in 18s
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/50/ : SUCCESS in 1m 25s


Generates TypeScript definition

SSIA. It's really nice if TypeScript definitions (.d.ts) are also generated and distributed.

PLEASE.


No Lean and Lean4 Debugger

I have just recently installed lean prover and upon clicking run, it would state that lean has no debugger. What must I do?
Add info: There are no debuggers available for lean in the marketplace.

@RucelleCG you will have to develop a "lean" debugger extension by yourself or find someone who does it for you ;-)


[BUG] Library not loaded: '/opt/homebrew/opt/unixodbc/lib/libodbc.2.dylib'

Describe your system

odbc Package Version: 2.4.6
Database OS: mac 12.6 (m1)
Node.js Version: 16.18.1
Node.js OS: mac/electron

Describe the bug
I am able to successfully package my electron application for mac with node-odbc, but when I actually open the application, I get the following fatal error:
Uncaught Error: dlopen(/Volumes/WebshipLink 0.1.5-arm64/WebshipLink.app/Contents/Resources/app.asar.unpacked/node_modules/odbc/lib/bindings/napi-v6/odbc.node, 0x0001): Library not loaded: '/opt/homebrew/opt/unixodbc/lib/libodbc.2.dylib'
  Referenced from: '/Volumes/WebshipLink 0.1.5-arm64/WebshipLink.app/Contents/Resources/app.asar.unpacked/node_modules/odbc/lib/bindings/napi-v6/odbc.node'
  Reason: tried: '/opt/homebrew/opt/unixodbc/lib/libodbc.2.dylib' (code signature in <567F0218-30B5-32A0-8400-BCCAEB9E27C0> '/opt/homebrew/Cellar/unixodbc/2.3.11/lib/libodbc.2.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/libodbc.2.dylib' (no such file), '/opt/homebrew/Cellar/unixodbc/2.3.11/lib/libodbc.2.dylib' (code signature in <567F0218-30B5-32A0-8400-BCCAEB9E27C0> '/opt/homebrew/Cellar/unixodbc/2.3.11/lib/libodbc.2.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/libodbc.2.dylib' (no such file)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5)
    at Module.load (node:internal/modules/cjs/loader:988)
    at Module._load (node:internal/modules/cjs/loader:829)
    at Function.c._load (node:electron/js2c/asar_bundle:5)
    at Function.o._load (node:electron/js2c/renderer_init:33)
    at Module.require (node:internal/modules/cjs/loader:1012)
    at require (node:internal/modules/cjs/helpers:94)
    at Object.<anonymous> (/Volumes/WebshipLink 0.1.5-arm64/WebshipLink.app/Contents/Resources/app.asar/node_modules/odbc/lib/odbc.js:6)

I'm able to install the library but I do get some warnings:
⠇ Building modules: 2/3  CXX(target) Release/obj.target/odbc/src/odbc_statement.o
⠙ Building modules: 2/3../src/odbc_statement.cpp:98:21: warning: private field 'odbcStatement' is not used [-Wunused-private-field]
    ODBCStatement  *odbcStatement;
                    ^
../src/odbc_statement.cpp:99:21: warning: private field 'odbcConnection' is not used [-Wunused-private-field]
    ODBCConnection *odbcConnection;
                    ^
../src/odbc_statement.cpp:225:21: warning: private field 'odbcStatement' is not used [-Wunused-private-field]
    ODBCStatement  *odbcStatement;
                    ^
../src/odbc_statement.cpp:226:21: warning: private field 'odbcConnection' is not used [-Wunused-private-field]
    ODBCConnection *odbcConnection;
                    ^
⠦ Building modules: 2/34 warnings generated.
  CXX(target) Release/obj.target/odbc/src/odbc_cursor.o
⠸ Building modules: 2/3  CXX(target) Release/obj.target/odbc/src/dynodbc.o
  SOLINK_MODULE(target) Release/odbc.node
⠼ Building modules: 2/3ld: warning: dylib (/opt/homebrew/lib/libodbc.dylib) was built for newer macOS version (12.0) than being linked (11.0)
  COPY /Users/alex/Desktop/webship-link-2022/release/app/node_modules/odbc/lib/bindings/napi-v{napi_build_version}/odbc.node
  TOUCH Release/obj.target/action_after_build.stamp

Do I need to build from a different version of mac? I've already installed unixodbc

To better demonstrate the issue, I created a repo based on this boilerplate https://github.com/todbot/electron-hid-test-erb
Here is a fairly minimal example that demonstrates the issue:
https://github.com/rocksolidinternet/electron-odbc-mac-demo
when I run yarn start I see output that contains the row as a result of select 1 however, when I run yarn package, I get a fatal error when the app launches

I found a workaround that allows me to build while including node-odbc as a native dependency. I followed the steps here: https://stackoverflow.com/questions/71699960/signing-electron-build-for-m1-macs-causes-renderer-to-crash/71759691#71759691
Then I deleted both node_module directories, ran yarn and now I am able to successfully package the application.


Support PR|push personal repo and branch

PR|push could be either of AdoptOpenJDK/openjdk-test or AdoptOpenJDK/TKG
Close #13
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Test:
Push to TKG ( similar to openjdk-tests)
https://github.com/sophia-guo/TKG/runs/616601714?check_suite_focus=true
Push to others
https://github.com/sophia-guo/runaqaTest/runs/616603617?check_suite_focus=true

@sophia-guo - sorry I seemed to have missed this one, can you resolve conflicts in this PR please?

#13 updated . This PR is not applicable. Close it.


Correct minor typographical errors

Ahoy, @koppor / @socadk! 👋

Thank you so much! This is what open source is for!


Image-size-independent regularization factors

This is a follow-up to the discussion in #270. Discussion link https://github.com/PyAbel/PyAbel/pull/270#discussion_r401357196
Both the basex and rbasex method can accept regularization factors, which can be used to produce much lower noise in the resulting images. For basex, and the "L2" and "diff" methods in rbasex, the regularization factor is strongly dependent on the size of the image. For the SVD method in rbasex, it seems to be less size dependent. Ideally, the appropriate regularization factor would not depend on the size of the image (in my opinion).
We should look into this and, if possible, make the regularization factors not depend on the size of the image.

While looking at the work of Daun et al. (for #326), I've found that they also did some research on “automatic” selection of the regularization parameter:

E. O. Åkesson, K. J. Daun, “Parameter selection methods for axisymmetric flame tomography through Tikhonov regularization”,      Appl. Opt. 47, 407–416 (2008) https://doi.org/10.1364/AO.47.000407.

(+ references therein).
While this is not exactly about size-independent parameters, it can at least provide some reference value for each particular image. The procedure also should be useful by itself, so I'm planning to take a closer look at it...


TreeItem text is not correctly shown while modifying text if embed subwindows is off and allways on top is on.

Godot version
4.2 beta
System information
Windows 10
Issue description
The bug occurs only with a combination of some project settings :

is_on_top is on
AND
embed subwindows is off

When modifying the text of a TreeItem by double clicking on it, the LineEdit isn't shown during modification.
After validating with Enter key, the new name appears.
Here is what is the bug :

Here is what is expected (I've disabled always_on top to capture the correct bahaviour) :

This bug is very similar to OptionButton's issue : https://github.com/godotengine/godot/issues/80691
Steps to reproduce
In project settings, enable display/window/size/always_on_top and disable display/window/subwindows/embed_subwindows.
Add a Tree node and create a TreeItem with some text. Make it editable.
Run the app and try modifying the text of the TreeItem by double clicking on it.
Minimal reproduction project
treeItem_bug.zip

This is likey happening because in Tree when embed_subwindows is disabled, the line edit and multiline edit controls are invoked inside their own popup, which will popup behind the main window if always_on_top is enabled.
The tree popup_edit is transient and therefore can't be set to always_on_top, so I'm not sure what the fix should be.


Support java.util.StringJoiner

It would be nice to have support for java.util.StringJoiner, I sometimes find it useful vs mkString in imperative code.

Awesome, thanks!
On Wed, May 31, 2023, 11:15 PM Sébastien Doeraene @.***>
wrote:

Closed #4872 https://github.com/scala-js/scala-js/issues/4872 as
completed via a4d9801
https://github.com/scala-js/scala-js/commit/a4d9801bed67f564a825fd020abe26edc39cd19f
.
—
Reply to this email directly, view it on GitHub
https://github.com/scala-js/scala-js/issues/4872#event-9398739823, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQOKNV4FMJMCIQE7U5XCBTXJAXQRANCNFSM6AAAAAAYRTAC5Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


seeing reconcile error for validation webhook

Description
Observed Behavior:
Seeing the following error in our logs

Expected Behavior:
no error
Reproduction Steps (Please include YAML):
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: karpenter
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
  labels:
    component: karpenter
  annotations:
    argocd.argoproj.io/sync-wave: "1"
spec:
  project: default
  destination:
    namespace: karpenter
    server: https://kubernetes.default.svc
  source:
    chart: karpenter
    repoURL: public.ecr.aws/karpenter
    targetRevision: "v0.30.0"
    helm:
      releaseName: karpenter
      parameters:
        - name: "logLevel"
          value: "info"
        - name: "logEncoding"
          value: "json"
        - name: "controller.logLevel"
          value: "info"
        - name: "controller.logEncoding"
          value: "json"
        - name: "controller.resources.requests.cpu"
          value: "120m"
        - name: "controller.resources.limits.cpu"
          value: "120m"
        - name: "controller.resources.requests.memory"
          value: "320Mi"
        - name: "controller.resources.limits.memory"
          value: "320Mi"
        - name: 'serviceAccount.annotations.eks\.amazonaws\.com/role-arn'
          value: "arn:aws:iam::335881249174:role/KarpenterIRSA-k1-xx"
        - name: "settings.aws.clusterName"
          value: "k1"
        - name: "settings.aws.clusterEndpoint"
          value: "https://xx.yl4.us-east-1.eks.amazonaws.com"
        - name: "settings.aws.defaultInstanceProfile"
          value: "Karpenter-k1-xx"
        - name: "settings.aws.interruptionQueueName"
          value: "Karpenter-k1"
      values: |
        podAnnotations:
          ad.datadoghq.com/controller.checks: |
            {
              "openmetrics": {
                "init_config": {},
                "instances": [
                  {
                    "openmetrics_endpoint": "http://%%host%%:8000/metrics",
                    "namespace": "karpenter",
                    "metrics": ["karpenter_provisioner.*", "karpenter_nodes_created", "karpenter_nodes_terminated"],
                    "max_returned_metrics": 80
                  }
                ]
              }
            }
        topologySpreadConstraints:
          - maxSkew: 1
            minDomains: 3
            topologyKey: kubernetes.io/hostname
            whenUnsatisfiable: DoNotSchedule
          - maxSkew: 1
            minDomains: 3
            topologyKey: topology.kubernetes.io/zone
            whenUnsatisfiable: DoNotSchedule
  syncPolicy:
    syncOptions:
      - CreateNamespace=true
    automated:
      prune: true
      selfHeal: true
  ignoreDifferences:
    - group: "*"
      kind: Secret
      name: karpenter-cert
      namespace: karpenter
      jqPathExpressions:
        - .data
    - group: "*"
      kind: MutatingWebhookConfiguration
      name: defaulting.webhook.provisioners.karpenter.sh
      jqPathExpressions:
        - .webhooks[0].rules[]
    - group: "*"
      kind: ValidatingWebhookConfiguration
      name: validation.webhook.provisioners.karpenter.sh
      jqPathExpressions:
        - .webhooks[0].rules[]

Versions:

Chart Version: karpenter 0.30
Kubernetes Version (kubectl version):  1.27

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Having the same error logs in v.0.29.2

We're working on removing the webhooks which will resolve this. Closing as a duplicate of https://github.com/aws/karpenter/issues/2902


Invite collaborators

[x] identify subject matter experts (spreadsheet)
[ ] invite people

@rebeccawoodbury let's figure out how best to incorporate this into our check-ins. Would be great to pick off chapters in the backlog for specific people or to promote one each week.


refactor: Use fs.FS interface instead of os file access

Description of your changes
Replace all IO operations based on the os package with the ones from the abstract fs package and pass a fsys parameter down to functions that need it.
Use embed.FS in tests.
Depends on https://github.com/crossplane-contrib/function-go-templating/pull/62
I have:

[x] Read and followed Crossplane's contribution process.
[x] Added or updated unit tests for my change.

Updated this PR and removed the dependency on #62.


Clean up duplicate qualifications (Old 215)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:09
Some members seem to have duplicate qualifications.  These need fixing, as it's just annoying.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:15
Duplicate of #488466 (166).
ALawrence66 - 2015-01-18T19:31:59.633934+00:00


poretools: command not found

I am trying to install poretools on my home directory (unix system of school super computer). I installed like:
git clone https://github.com/arq5x/poretools
cd poretools
python setup.py install
python setup.py install --user
export PATH=$PATH:/home/arq5x/.local/bin
All the installation seems to be successful. Then I run poretools , it shows command not found.
I don't know what's the problem.
Could anyone help me?

I have the same problem but on a local mac installation.


loading files local to the igv-webapp

Hello,
I was wondering if it would be possible to load bams from a dir local to the igv web app (i.e. on the server)? or do I have to serve these?
Thanks
Matt

You can use the menu to load them.   You can't use a path (file url or
otherwise),  that is not allowed in a web app.
On Mon, Mar 30, 2020 at 4:50 AM Matthew Parker<EMAIL_ADDRESS>wrote:

Hello,
I was wondering if it would be possible to load bams from a dir local to
the igv web app (i.e. on the server)? or do I have to serve these?
Thanks
Matt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-webapp/issues/130, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HDJOSJSCJAR7AFCJUDRKCBQVANCNFSM4LWQTTHA
.

Thanks... I get this.... however, is there no workaround? The webserver can see all of the bams, so is there a way of populating a drop down or something that would load a selected bam? I guess the only way is to provide users with a link that directs the browser to the served file?

I'm not sure what you are asking.     What webserver?
If the file is loadable by URL then of course you can provide the user a
link.   If you want to scan directories from your webserver and build a
menu that is possible, but would require custom coding.
On Tue, Mar 31, 2020 at 12:16 AM Matthew Parker<EMAIL_ADDRESS>wrote:

Thanks... I get this.... however, is there no workaround? The webserver
can see all of the bams, so is there a way of populating a drop down or
something that would load a selected bam? I guess the only way is to
provide users with a link that directs the browser to the served file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-webapp/issues/130#issuecomment-606445795,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HDGYBCWQXOKBM3DCY3RKGKFFANCNFSM4LWQTTHA
.

For example: a server  installed this igv-webapp,  and there is also a bam file on this server with path /data/xxx/xxx/xx.bam .   Add a menu using server path directly, but not download from the server to local at first as now.

@chenlin0802  First of all igv-webapp is a client application, it has nothing to do with a server, it runs 100% on the client web browser.  I assume you understand that just pointing it out.   Given that I don't really understand what you are suggesting.

Closing this.   See my answer to #138


Set default behavior for multiple sources

Some versions ago, Clappr used to treat multiple sources as as sequence, playing one after another. This behavior has been removed to allow plugins to control how the player works when there are multiple sources, but there should be a default behavior when there are no plugins set to control this.
Currently, when there are multiple sources, the player instantiates a container for each source and sets the first one as being the "selected". The MediaControl is set to control the selected container and the others are ignored. This way, there could be a case when the primary source is be unsupported by the browser, but the second is valid. Instead of displaying a valid video, the player would show the no_op playback.
I recently received a suggestion from @moret to make the multiple sources a fallback chain. We have considered this idea before, but we postponed the decision, but since Flash has become a bigger target for browser blocking, I think we should revisit this. Please share your opinions here. What do you think? @bernardocamilo , @flavioribeiro, @leandromoreira, @thiagopnts

This could be a default core plugin that could be overridden by the user.

Currently the behaviour on vanilla Firefox - which comes without Flash - is already the one @towerz describes.
Not only that, when using multiple sources on other browsers with Flash enabled the player seems to be playing both sources simultaneously.
Test source;

Firefox:

Chrome:

:sunglasses: Professionals are already using loop :sunglasses:

We don't use multiple sources, but knowing that it was an options, I always assumed that it would work like a fallback chain. :smile:  I would be in favor of that being the default functionality.
We have a flash app that plays multiple sources in sequence, but in general, our video needs don't call for that functionality, so I would agree with it being an option enabled via a plugin.

I remember we didn't implement that because we wanted to keep the ideia of, given a source, find a playback this browser can play. Originally, you would always pass a single source, and an array when using pip or the playlist plugin. I think we can have a workaround for this with a core plugin until we have flash-free solution for all major browsers as @towerz suggested.

Any work started on this yet?
We will need this functionality in some form for https://github.com/LA1TV/Website/issues/628 because we have multiple encodes for some of our content.

@tjenkinson I've already started working on this, mostly for playing fallbacks/sequences. Still need to polish the plugins a little bit, but I'll add it as soon as possible.

:+1:

This is awesome, cause it's the major reason that forced me to switch to videojs. Waiting to get back to Clappr

Just updating, I implemented a basic version of a fallback plugin, but I think the container/playback creation and rendering could use some refactoring.
In order to make it possible to control whether containers should be rendered or playbacks loaded, there should be a way to allow rendering these components in a later time, not at player instantiation. This way we could instantiate the containers, create their playbacks (to evaluate whether or not the source is supported) and discard invalid sources before rendering video/object tags.

:+1:

@towerz how's this going? This is the last thing I need now before I can switch to clappr for VOD at LA1:TV.

@tjenkinson actually, implementing the behavior was quite easy, it's already done in a branch. I didn't merge it yet because of the no_op playback flashing before falling back to a valid source,
I have some refactoring proposals to implement to solve this issue and some others, but it will take a while to finish them. If you need it, we can merge this plugin implementation. It's fully functional, and can be replaced by external plugins if needed.

@towerz I've just been thinking about this myself and have thought of a slightly different solution.
I like the plugin architecture but maybe something like this may be more suited integrated into the core player and not as a plugin.
At the moment if you load several sources my understanding is that a container gets created for each source, and this may be useful to do cool things like picture in picture.
I think it would be nice if the player could support several encodes of the same media, and pick the first one that is supported, but still also support creating multiple containers. For example you might want to do picture in picture, but you have 3 encodes for the main feed, and 3 encodes for the picture in picture feed.
I am thinking that the load() method could work like this
player.load([
   ["main.m3u8", "main.mp4", "main.webm"],
   ["pip.m3u8", "pip.mp4", "pip.webm"]
]);

So if an item is an array the player will then check if it has a playback that canPlay each item in order, and stop at the first one that can, and each item in the array will map to one container.
player.load([
  "layer1.mp4",
  "layer2.mp4"
]);

would automatically be converted to
player.load([
  ["layer1.mp4"],
  ["layer2.mp4"]
]);

for backwards compatibility.
With this method the playbacks should only be created to check if they canPlay.
The advantages to this would be:

Playbacks are only created when necessary. Containers aren't created for all sources and unnecessary ones destroyed.
The user can load multiple items into different containers, and have multiple sources for each container with the player automatically picking the best one.
It might not need the rendering in playbacks separating out because the rendering would only happen if the playback could play the media anyway, and if it can then the render is fine.

I think if it was a plugin it might not be possible to make it this flexible, like the new load argument structure?
Let me know what you think :)

One issue that comes in mind immediately is playing HLS with hlsjs. It is absolutely possible to play HLS streams on unsupported systems with hlsjs, but it won't be optimal comparing to native mp4 mpeg-dash support.
I don't know what @towerz means by "player core" but I see it perfectly fits tech selection mechanism which is pretty straightforward at the moment and could be more intelligent.

@towerz sounds good to me. How will the load() method work then though?
Are you suggesting a plugin will be responsible for constructing the containers (and the default included one will essentially do what the core does now, creating them all and making the first one active)?
In which case the format of the arguments passed to load would be whatever format the loader plugin is expecting?

Or maybe it could be a pipeline system?
So by default the data passed to load() is left as is and what happens now remains the same.
But I could insert a custom loader plugin into the pipeline which would manipulate the data in some way, and then pass it on. E.g. it would get the multidemensional array I proposed above, pick the item from each inner array that is supported, and then pass that on to the built in load()

@AlexRevin when I mentioned "player core" I meant everything that's not a plugin. As for source selection, it's determined by the playback priority. The player will attempt to load the source first using the playbacks provided externally by the caller (considering the array order as priority), and then falls back to it's internal list of playbacks, using their order as priority as well. This feature would not affect this selection, but only determine how the player should handle the sources.
@tjenkinson that's exactly what I suggested. A plugin would be responsible for handling the container creation, and by default it would be the single-source fallback plugin I was working on. It could be overridden by an user provided plugin, which in turn would define what format the load() method should support.

@towerz great I think I understand and that makes sense to me.
Anything I could do to help with this?
If not given you've already planned it all out that's fine, I just need to figure out a temporary work around to get it working for LA1:TV because I'd rather not have the unsupported message flash up. Maybe the current plugin could hide the
 the containers are placed in until onContainersCreated() has finished?

About the pipeline system, I think it's a good idea, but it could add a lot of complexity to source handling. Perhaps we should try only with a single plugin with overrides, then check whether this is necessary.About th

@tjenkinson I think you already helped bringing your ideas here, thanks.
I'll try the solution you suggested, of hiding the containers
s, and see if it removes the 'no_op' flashing before the containers are finished.

Just a quick update. I implemented a basic version of the lazy rendering of containers I mentioned, so that now when loading multiple sources as a fallback chain will stop flashing the no_op playback.

:clap: :clap: :clap: :clap: :clap: :clap:

Awesome!!

On 12 Dec 2015, at 20:38, Leandro Moreira<EMAIL_ADDRESS>wrote:
—
Reply to this email directly or view it on GitHub.

155bbcc458d4f8cbaa4f57d755d05e6b3e636e27 finishes the first implementation of the sources plugin, adding the fallback behavior for multiple sources as the default. It can be overriden by any external plugin named 'sources'.

:+1:

lol congrats :) so much great things from this


Qustion about Offline Data Preprocess

Hi, @nicklashansen
Thanks for your wonderful work!
I read your code for loading the offline multitask dataset and have a question. Specifially, as shown above, you make one timestep shift for action and reward w.r.t. obs. Does it means $a_{t+1}$ and $r_{t+1}$ correspond to $s_t$ in your data organization? And thus the first action and reward in an episode is useless (no corresponding state)?
https://github.com/nicklashansen/tdmpc2/blob/f3139291e2dc8e47480184a4a1bce05e8980caa3/tdmpc2/common/buffer.py#L28

Hi @yueyang130, I just wanted to let you know that commit https://github.com/nicklashansen/tdmpc2/commit/1f6c7771b92edd8d5502f910d5582ebf8ee88675 has now changed the default behavior to assign nan values to all filler indices (along with various other code improvements). Closing this issue, but feel free to reopen or open another issue if you have any other questions.

Hi, Nicklas, I got it!
Thanks for your reminder!


Failed to run az aks browse command

Describe the bug
az aks browse command was failed with the following error messages,
$ az aks browse --resource-group loadTestPOC --name loadTestPOC
Merged "loadTestPOC" as current context in /var/folders/j0/t3gr2t0n2vn9x6y9ygsk6yww438dz0/T/tmpaq66zxl2
Proxy running on http://<IP_ADDRESS>:8001/
Press CTRL+C to close the tunnel...
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/Cellar/azure-cli/2.0.42/libexec/lib/python3.7/site-packages/azure/cli/command_modules/acs/custom.py", line 93, in wait_then_open
    urlopen(url, context=_ssl_context())
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1345, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1320, in do_open
    r = h.getresponse()
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 278, in _read_status
    raise BadStatusLine(line)
http.client.BadStatusLine: <?xml version="1.0" encoding="utf-8" ?>

Forwarding from [::1]:8001 -> 9090

To Reproduce

Create azure kubernetes cluster (version 1.10.5)
Run az aks browse command

Expected behavior
The command will be finished successfully.
Environment summary
I've installed azure-cli with homebrew. And, I use zsh.
$ az --version
azure-cli (2.0.42)

acr (2.1.0)
acs (2.2.0)
advisor (0.6.0)
ams (0.2.0)
appservice (0.2.0)
backup (1.2.0)
batch (3.3.0)
batchai (0.4.0)
billing (0.2.0)
cdn (0.1.0)
cloud (2.1.0)
cognitiveservices (0.2.0)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.0)
core (2.0.42)
cosmosdb (0.2.0)
dla (0.2.0)
dls (0.1.0)
dms (0.1.0)
eventgrid (0.2.0)
eventhubs (0.2.0)
extension (0.2.0)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.26)
iot (0.2.0)
keyvault (2.2.0)
lab (0.1.0)
maps (0.3.0)
monitor (0.2.0)
network (2.2.0)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.0)
rdbms (0.3.0)
redis (0.3.0)
reservations (0.3.0)
resource (2.1.0)
role (2.1.0)
servicebus (0.2.0)
servicefabric (0.1.0)
sql (2.1.0)
storage (2.1.0)
vm (2.1.0)

Python location '/usr/local/opt/python/bin/python3.7'
Extensions directory '/Users/takaaki.furukawa/.azure/cliextensions'

Python (Darwin) 3.7.0 (default, Jul 23 2018, 20:24:19)
[Clang 9.0.0 (clang-9<IP_ADDRESS>)]

Legal docs and information: aka.ms/AzureCliLegal

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G1314

Dupe of #6811

//CC: @mboersma, another one on az aks browse


deprecate warning

Describe the bug
to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead
(from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
To Reproduce
Steps to reproduce the behavior:

run "kg_pipeline.tune()"
See warning

this should be fixed in #114.


Support learning rate for zero-hessian objectives.

Extract the train param into gbtree.
Pass learning rate into the objective.

let me add some more tests .


pull request for e2e test at 11/09/2016 00:45:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Support suppression of validation issues

From @ApiSecRay on March 27, 2015 12:8
Copied from original issue: restful-api-description-language/radl-core#2

Now that validation is in a separate stylesheet, this issue is no longer relevant.

Ignoring validation issues has nothing to do with who generates the issues. We still need to be able to ignore issues.


fix(components): Add exports for Native ESM support

This adds exports config to the package.json so Node in Native ESM mode can resolve imports to the right files.
Closes #513

This will be enough for me since I just install this package, but for folks wanting to use native ESM for the other packages they'll need this config added to all the others as well. But again, this unblocks me.

Thanks @kentcdodds, I'll add to the other components.

Thank you!


No templates for raising an issue or making a pull request

Adding these templates should be considered in order to make it easier to contribute to this as an open source project and provide uniformity. The need for these are outlined here. These files are also suggested on the Community page.

It should be noted that maintainer status is needed to properly implement these kinds of templates.

Travis added


Reenable editor after hiding and showing

This also removes a small about of duplication.

aside from the jenkins failure (what's going on with these?) I think this is good to merge


Get UserId of Currently Logged In User

I want to create a profile for users that they can update. I'd like to query the existing user data from the database and populate the profile form and let the user change the information. However, I can't seem to find a way to get the user id to query that data from the postgresql database.
Do I need to find a way to save it when the user initially logs in?

Basically when you log in, your user information should be saved in the session.
Try to print out req.user and see what it contains (should contain the current logged in user)

It was coming up undefined. Thanks though.


Replace sdf asdf

See #34

Can't use restriction here, because the restricted user can't reply to the Bot greetings message.


Provide Windows ARM and ARM64 binaries in releases

Currently releases provide only x86 and x64 Windows binaries, since Windows 10 also supports ARM CPUs, it would be nice to also have builds for those provided.

GitHub Actions does not currently support Windows ARM.

You can build for ARM from x64 though, and as I can see the actions do that?

I forgot about that. We do cross compile so it may be possible to deliver binaries, but we don't run any tests because there is no ARM platform.

AARCH64 compiler is still unreliable for Windows... I have been working with Microsoft for long before it was introduced. There is some cases where ARM and AARCH64 compilers won't trigger error even when they should and some intrinsics are still missing.

This should be resolved for the next release.


Bridge Discord to #librephotos on IRC

Oh, I forgot there was a Discord server... we could do that too although honestly because Discord does not respect my privacy or freedom it would be great to avoid it. I wonder how difficult it is to bridge Discord and IRC - I'll file a separate GitHub issue for that so we don't clutter this one up.
Originally posted by @strugee in https://github.com/LibrePhotos/librephotos/issues/57#issuecomment-753384023

We found two possible tools to do that
https://github.com/reactiflux/discord-irc
https://github.com/qaisjp/go-discord-irc
@DigitalWarrior Could you try these tools and connect the irc with discord?

We found two possible tools to do that
https://github.com/reactiflux/discord-irc
https://github.com/qaisjp/go-discord-irc
@DigitalWarrior Could you try these tools and connect the irc with discord?

@derneuere on it.

@derneuere on it.

We are now on Freenode. We have 3 channels on Freenode that map back to discord.

Discord
Freenode IRC

#chit-chat
#Libre-Photos

#community-support
#Libre-Photos-Support

#dev
#Libre-Photos-dev

Freenode server address is chat.freenode.net

We are now on Freenode. We have 3 channels on Freenode that map back to discord.

Discord
Freenode IRC

#chit-chat
#Libre-Photos

#community-support
#Libre-Photos-Support

#dev
#Libre-Photos-dev

Freenode server address is chat.freenode.net


build(build-tools): Upgrade oclif

Upgrades all oclif packages to the latest except oclif/test, which will require further test changes to upgrade. See #21920.
I also deleted the custom oclif readme wrapper we had, because it doesn't work with the new version of oclif. What we lose is the automatic "usage" section in the README. Now that section is hardcoded. The reason is that oclif readme always outputs the platform and version, and the version is always unique when running in the CI pipeline. I don't think this is a big loss.

Can we get rid of aws before this?

Done in https://github.com/microsoft/FluidFramework/pull/22032

There are a lot of dependencies that became non-dev dependencies (according to lockfile). (There were also a lot of prod deps that became devDeps; no concerns there. :) ) I would like to understand why they are prod deps now. I picked on one that change<EMAIL_ADDRESS>and found that it had been a devDep via eslint plugins. Example via eslint-config-oclif-typescript. I don't know why this PR would change this. Please have a look. pnpm why -r --prod<EMAIL_ADDRESS>should point out an example.

I checked some, and every one I checked is coming from the prod dep chain of oclif/plugin-commands. The ones I checked:

typed-array-byte-offset
array.prototype.flat
arraybuffer.prototype.slice
available-typed-arrays
camelcase
es-to-primitive
is-boolean-object
object-keys
safe-regex-test
which-typed-array

Most of them seem to come through a dep called es-abstract, which plugin-commands now depends on.

There are a lot of dependencies that became non-dev dependencies (according to lockfile). (There were also a lot of prod deps that became devDeps; no concerns there. :) ) I would like to understand why they are prod deps now. I picked on one that change<EMAIL_ADDRESS>and found that it had been a devDep via eslint plugins. Example via eslint-config-oclif-typescript. I don't know why this PR would change this. Please have a look. pnpm why -r --prod<EMAIL_ADDRESS>should point out an example.

I checked some, and every one I checked is coming from the prod dep chain of oclif/plugin-commands. The ones I checked:

typed-array-byte-offset
array.prototype.flat
arraybuffer.prototype.slice
available-typed-arrays
camelcase
es-to-primitive
is-boolean-object
object-keys
safe-regex-test
which-typed-array

Most of them seem to come through a dep called es-abstract, which plugin-commands now depends on.

Thanks for looking - at least they won't be production in client/server.


Added the ability to set a custom stub cell value instead of np.nan

This should resolve (most of) #62. Rather than set the stub/non-tracked cells as np.nan, tobac.tracking.linking_trackpy now accepts stub_set_number as a parameter for the value of cell to set the stub/non-tracked cells to, with a default value of -1.

I tested this (after porting to v2.0-dev), and it resolves the float-coercion problem in #62.
By definition, the lists of segmentation IDs and feature IDs  are separate, so I agree segmentation is a separate discussion.
Is "stub" a term in the public API, or a term internal to the implementation? For symmetry with other kwargs, I think I'd prefer something like cell_number_unassigned instead of stub_set_number. That mirrors cell_number_start.

Also, thinking about metadata: it would be good to capture the user's chosen stub/unassigned number as an attribute. I could propose how to do that for xarray, but not sure if iris supports such metadata.
I'm very interested in having the metadata. When working with a combined dataset (features, the feature mask, and cells) one would need to know which ID to ignore, and this function seems like the right place to add that metadata so it can be used appropriately downstream. While the user knows the ID when creating the dataset, that information is lost when those data are saved to an archive apart from the software.
If we think about shipping those data to an archive,

"stub" is indeed used in the public API (see tobac.tracking.linking_trackpy), although it definitely shouldn't be as the language isn't intuitive. I'll switch to cell_number_unassigned as you suggest here.
The issue with metadata here is actually with pandas rather than iris, as in v1.x, the feature/tracking data comes out as a pandas DataFrame. Pandas has the DataFrame.attrs dict, but it is described as experimental. For now, I'm going to add the selected unassigned cell value there as cell_number_unassigned.
I (or someone else) will need to port this to v2.x, but I'm hesitant to make any ports until we get to v1.5.

I've moved this to the v1.3 milestone to match the issue (#62).

Per our discussion last week, waiting on #78 to be merged before merging this.

Now that #89 has been merged, I need to update this PR to avoid the conflicts.

I've updated it to avoid the conflict and I will re-request a review to keep with good practices before merging.


There seems to be a missing key in a returned status object rovi

I'm getting a key error when it looks for something called headband, from what I can guess its a guid returned but I look at the object and there is no guid
from xfinity_control.py its this parameter
self._headend = self._profile["UnifiedVal"]["uisTvPrefs"]["rovi"]["headend"]
the values of
dict: {u'requestUri': u'https://uis-prod.codebig2.net/users/{removedforsecurity}Comcast.USRIMS/preferences/tv', u'cache': u'CACHE_MISS', u'result': u'GUID Not Found In UIS'}
Here is the error that is being output:
Not sure whats going on, am I missing something with my comcast service my device has remote enabled true. Not really sure what "headband" is...
pydev debugger: starting (pid: 70092)
Enter xfinity credentials.
Traceback (most recent call last):
  File "C:\eclipse\plugins\org.python.pydev_<IP_ADDRESS>605051159\pysrc\pydevd.py", line 1530, in <module>
    globals = debugger.run(setup['file'], None, None, is_module)
  File "C:\eclipse\plugins\org.python.pydev_<IP_ADDRESS>605051159\pysrc\pydevd.py", line 937, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:\Users\Administraor\workspace\Scripts\alexa-automation\XfinityControlWeb\__main__.py", line 16, in <module>
    xfinity_control = XfinityControl(username, password)
  File "C:\Users\Administraor\workspace\Scripts\alexa-automation\XfinityControlWeb\xfinity_control_web\xfinity_control.py", line 32, in __init__
    self._headend = self._profile["UnifiedVal"]["uisTvPrefs"]["rovi"]["headend"]
KeyError: 'rovi'

I can see both the devices in my house, and I can tell which one can and which one cant be controlled in variable explore but I'm not sure whats missing.

The traceback seems to indicate that your profile payload (returned by http://xfinitytv.comcast.net/xtv/authkey/user) is missing the "rovi" key. The "headend" parameter is only used for fetching the channel listings, so the API should work fine for you with my changes landed at e0769ea, however the XfinityControl::get_lineup() function will not return anything - which means you will only be able to change channel by number and not by name...
I can only assume that your local Comcast uses a different API for providing channel lineup/listing information. I would recommend logging into your Comcast account and finding the channel listing page - this should be on the same page that allows you to change channels. If you look at the "network" tab in the developer tools in Google Chrome you should be able to see the relevant API calls.
If you find any more information about your local channels API, please let me know and I will attempt to incorporate it into the codebase. Regardless, the latest commit should allow you to use the API successfully.
Let me know how it goes! Please close if this resolves your issue.

I used version 0.1.9 maybe its a windows thing. Should I try to use mac or linux ? I can probably toss a vm up and try it. I manually changed all the files to not have the deployment on them and still the same error.

Can you delete the entire directory and re-clone? If you hit an error please post the trace back.

Was this issue resolved?


Extra whitespace around binary operators

Demangler sometimes produces symbols with extra whitespace surrounding binary operators.
Example:
foo . bar

Fixed in 2.1.2409-dev.


Couldn't create the ssl-cache mutex

ISSUE TYPE

Bug Report

Checklist

[x] .env file is attached
[x] ./check-config.sh output is added below
[x] docker-compose logs output is added below
[x] docker-compose.override.yml is attached (if exists)
[x] Custom configs from cfg/ dir are attached (if exist)
[x] I've looked through the docs: https://devilbox.readthedocs.io/en/latest/
[x] I've looked through existing issues: https://github.com/cytopia/devilbox/issues
[x] I've read troubleshooting: https://devilbox.readthedocs.io/en/latest/support/troubleshooting.html

OS / ENVIRONMENT

Host operating system and version: Macos 12.2
(Macos 12.2 only) Docker Desktop for M1:
Docker version: 4.4.2
Docker Compose version: 2.2.3
(Linux) Is SELinux enabled?:
What git commit hash are you on?: 9272bfec922589ba7783a2bd8c81befd12ce55f4

SUMMARY

After pulling last changes from repository httpd service doesnt start and display this error message:
devilbox-httpd-1  | [Mon Jan 31 15:43:10.749810 2022] [core:emerg] [pid 2222:tid<PHONE_NUMBER>60] (95)Operation not supported: AH00023: Couldn't create the ssl-cache mutex
devilbox-httpd-1  | AH00016: Configuration Failed
Minutes before i was developing normally but after upgrading devilbox repository that error appears
STEPS TO REPRODUCE
1- Pull last repository commits
2- docker-compose up httpd mysql php
EXPECTED BEHAVIOUR
Can access to web site
ACTUAL BEHAVIOUR
httpd service is down

Switching to v1.9.2 tag work perfectly.
Thanks

[x]  .env file is attached
[x]  ./check-config.sh output is added below
[x]  docker-compose logs output is added below

These checkboxes should actually only be ticked, if their criteria is fulfilled. Let me know if this is unclear and how I can better formulate this to make it more clear.
When checking google for AH00023: Couldn't create the ssl-cache mutex it tells me that "semaphores are running short on count / space". Not sure If this is a host issue, or an issue on the Apache container:

https://serverfault.com/questions/991946/no-space-left-on-device-ah00023-couldnt-create-the-mpm-accept-mutex-when-re
https://webake.ro/2018/04/26/fix-ssl-cache-mutex-issue-centos/

Thanks @cytopia , sorry for that checks, my fault.
I think that should be a problem with apache container, on host i have enought space:
overlay         61255492  32678616  25435552  57% /
tmpfs              65536         0     65536   0% /dev
shm                65536         0     65536   0% /dev/shm
grpcfuse       971350180 179114772 792235408  19% /ca
/dev/vda1       61255492  32678616  25435552  57% /var/mail
tmpfs            4063132         0   4063132   0% /sys/firmware
Only switching to tag 1.9.2 all works perfect, i will try to checkout again to master and change httpd image to 0.36 to determine if that is the problem.
Thanks again for your effort

Here is another one which might indicate an issue with M1: webdevops/Dockerfile#433

I try with a 2019 Macbook pro with intel processor and works correctly, so its clearly M1 processor fail.
Thanks

@acoalex can you give the upcoming release a try. Had an explicit fix for the ssl-cache mutex on Apache: https://github.com/cytopia/devilbox/pull/865

@cytopia Yes, give me a while and i will try again.
Thanks a lot.

@cytopia Hi!! I have make a pull request to repository and launch again docker but the same errors appears:
devilbox-httpd-1  | [Tue Feb 15 12:48:20.479133 2022] [core:emerg] [pid 5685:tid<PHONE_NUMBER>60] (95)Operation not supported: AH00023: Couldn't create the ssl-cache mutex
devilbox-httpd-1  | AH00016: Configuration Failed
Thanks

I have make a pull request to repository and launch again docker...

Not sure what this means. Did you checkout branch release/v1.10.4 ?

It is not merged yet, as the PR is stull open. You need to try it by checking out the above specified branch

@cytopia Its Works!!! Thanks a lot.

@cytopia given your commit, it's not clear what you did to fix Mutex SSL. Is there a specific configuration/setting you modified either in a Dockerfile or [httpd|apache|*].conf that you could share?
I'm not using your software, but I'm having similar problem on M1 and setting Mutex posixsem stops the error from the log but I keep loosing requests - and given the frequency and timing, I believe it's related to SSL.
Thanks in advance,
Henrique


setup_tools.sh failure

I have all the required packages and I've tried the python3 fix described in the readme, but upon running the script I get the following error:
CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2471:EVAL:2 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-ranlib>

  Target "llvm-ranlib" is not an executable or library.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:2471 (cmake_language)
  cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
  runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
  runtimes/CMakeLists.txt:275 (builtin_default_target)

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2471:EVAL:2 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-strip>

  Target "llvm-strip" is not an executable or library.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:2471 (cmake_language)
  cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
  runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
  runtimes/CMakeLists.txt:275 (builtin_default_target)

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2471:EVAL:2 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-ranlib>

  Target "llvm-ranlib" is not an executable or library.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:2471 (cmake_language)
  cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
  runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
  runtimes/CMakeLists.txt:275 (builtin_default_target)

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:2471:EVAL:2 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_FILE:llvm-strip>

  Target "llvm-strip" is not an executable or library.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/ExternalProject.cmake:2471 (cmake_language)
  cmake/modules/LLVMExternalProjectUtils.cmake:239 (ExternalProject_Add_Step)
  runtimes/CMakeLists.txt:216 (llvm_ExternalProject_Add)
  runtimes/CMakeLists.txt:275 (builtin_default_target)

this is on arch linux

Thanks! It looks like there are multiple failures in the log. Can you do cmake --version?

cmake version 3.24.1

I'm afraid I'm a bit stumped. It appears a number of things are failing.
In the interim, there is a Docker image with the tool chain here: https://hub.docker.com/r/jeffbush001/nyuzi-build. The CI script demonstrates how to use it: https://github.com/jbush001/NyuziProcessor/blob/master/.github/workflows/ci.yml.

ah i see, thank you

This is actually an issue in https://github.com/jbush001/NyuziToolchain.

I encountered the same issue and fixed it by changing cmake from version 3.26.3 to 3.16.3.


lib3mf requires AutomaticComponentToolkit not available for raspbian/ARM

In trying to build OpenSCAD for Raspbian Buster, I see that
https://github.com/koendv/openscad-raspberrypi
has a procedure for building lib3mf.  When I tried to use that
procedure, it failed, apparently because lib3mf requires
the AutomaticComponentToolkit and act.linux assumes an
x86-based Linux.
I read about building the AutomaticComponentToolkit on raspbian;
apparently the process starts with having an already-built act.something.
If the only thing missing is an ARM-based act.raspbian, could you provide it
in this repository?
If not, any detailed advice on how to build an act.raspbian on Raspbian Buster
would be appreciated.

Hi @cwuebker2 ,
yes, we are missing an arm executable of ACT. Can you try building the content of this PR https://github.com/Autodesk/AutomaticComponentToolkit/pull/76 (by running Build/build.sh or Build/build.bat)?
Or you can test this binary here:
act.arm.zip

I did a git clone of PR #76, added the latest stable golang to the Raspbian Buster OS and -- using your instructions -- quickly built the 3 files, act.darwin, act.exe & act.linux.  I then copied the 3 files under lib3mf/AutomaticComponentToolkit/bin and build lib3mf.  Thanks for the fast & working fix.  I hope that act.arm will be part of the main ACT branch in the future.
After the build, I copy/edited lib3mf/lib3MF.pc.in to /usr/share/pkgconfig/lib3MF.pc so OpenSCAD's qmake-qt4 could find the /usr/local/lib/lib3mf.so library.  After that file was in place, OpenSCAD built several modules before its Preferences.cc compile failed -- it couldn't convert a const QString to a const &string, and I'm pretty sure that problem isn't related to your fix.
Thanks for the quick & excellent fix -- I'm ready to close this with the comment "User happy!" but am new to reporting problems here & not sure whether I should close this or you should.
Carl

Great! I am happy that this works for you.
After the next release of ACT, I'll add the new act.arm-binary to the lib3mf-repo.
If you find/need more binaries for OpenSCAD to build on other platforms, let me know by creating another issue here!


Some refactoring

Some small refactoring. ;-)
I will continue this work after about two weeks...

Coverage increased (+0.7%) to 83.028% when pulling 08388c626675d3f8eac7d90f238f8b3f4f761302 on rename-classes-aleksi into 51fc19f05e985de83b163a75bebe24a3bb2f974d on master.

Coverage increased (+0.7%) to 83.028% when pulling 441c95bbfa7b2d47a34f9e8a1bab0e51b503cb67 on rename-classes-aleksi into 51fc19f05e985de83b163a75bebe24a3bb2f974d on master.

I don't mind if this pull request is merged to master. I will then just create new branch after my trip.

There is no rush to merge this massive refactoring yet, since it's not currently actively developed.


Destroy not working with AJAX

Love this plugin but I have ran into an anomaly.
I know it's not best practice, but bare with me.
AJAX-Page.html

Button that uses AJAX  to load AJAX-Content.html

AJAX-Content.html

Call ripple function on element in THIS page.

Even if you change AJAX-Content.html to:
AJAX-Content.html

Call Destroy ripple on same as below element.
Call ripple function on element in this page.

You end up with multiple ripples functions running on the same element.
In other words, Destroy doesn't seem to work when used with AJAX loaded content.

It's kinda hard to tell without seeing the code if this is an error in the plugin or in your code. I'm suspecting the latter. Are you sure you are destroying the plugin properly before applying it to an element?

Here is a rough demo for you.
http://www.bryan-myers.com/demo/ripple/
demo.html

    <title>Demo</title>

content.html

Reload In Container

As a side note, in Chrome, if you bring up the developer tools, you can see that after a few clicks of the button you will get this error:
WARNING: Too many active WebGL contexts. Oldest context will be lost.

I will update the demo.

I have moved the script include to the index.html page.
I have fixed the typo in the destroy call.
index.html

    <title>Demo</title>

content.html

Reload

Ok, maybe I misinterpreted the problem. What am I supposed to see?

Couple of other notes...  I have tried clearing the loader element a couple of ways as well.
$("#btnReload").click(function(event) {
$('#loader').html("");
$('#loader').load('content.html');
});
And
$("#btnReload").click(function(event) {
$('#loader').load('content.html');
});
myRipple = "";
var myRipple = $('#myRipple').ripples({
resolution: 512,
dropRadius: 10,
perturbance: 0.04
});

Hit the reload button a bunch of times with or without the Chrome developer console open.  You will see that it is just instantiating multiple ripple objects.

I have also tried this with the random drop feature.  What you will end up with is multiple drops occurring at the same interval.  I can create a demo if you like.

If you get the warning, a refresh of the browser will reset the number of instances of the ripple object.

Another note, this is worsened by using a background image. I am guessing because each instance of the ripple object requires a lot more cpu with a background. I didn't include a background in the demo, but can easily add one.

Initially I thought you meant you'd actually see multiple canvases in the DOM, but you meant that there are multiple canvases being painted on, even after destroy, right?
I looked around a bit and I think I found the issue: by calling destroy the original element is restored to the original state and the canvas removed from the DOM. However, the 'process' which does the painting actually isn't stopped. It still updates the canvas, even though it's not part of the DOM anymore.
Good find! I think I'll fix it this weekend.

Damn dude! You are awesome! Web <3 my friend.

I released a version with a fix. Now it no longer continues rendering after it's destroyed, but do note it can take a while before the garbage collector actually removes the canvas.

Hi, I have a completely identical problem - destroy method does not destroy the WebGL context behind itself. I use the latest version of the library. Can you fix it please? The library is awesome!


Remove deprecation warnings in Wagtail 4.0

In Wagtail 3.0, ImageChooserPanel was deprecated; plain FieldPanel is smart enough to handle regular and image fields now. In Wagtail 4.0, use of ImageChooserPanel produces RemovedInWagtail50Warning. This PR removes the use of ImageChooserPanel.

@seb-b do you have a timeframe to get this in?


drpm files required

Testing an upgrade from sles12 sp3 to sp4 during the zypper dup process, it asks about some *.drpm files which are not present in the repos.
These files *drpm are needed to perform the zypper dup, including them in the download scope will solve this problem.

https://github.com/catay/rrst/blob/1c8e69c5ab7e2af3933400e470092ad2e488af96/repository/repository.go#L559
Not sure if it will accept wilcard for including drpm files
if info.Mode().IsRegular() && strings.HasSuffix(path, "*rpm") {

Setting the option
download.use_deltarpm = false
in the file /etc/zypp/zypp.conf will fix this problem
No delta rpm will be required.
Thanks Mr Catay :)

Currently delta RPM support is not included. Will add it as a future enhancement.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @


No way of setting attributes on the Input.text element

First of, reeeally nice that you've created this package for elm-ui. I've needed this a couple of times, but the effort to write something myself didn't fit into my time constraints!
Thanks! :+1:
So, my issue is about setting attributes on the Input.text element here: https://github.com/FabHof/elm-ui-datepicker/blob/1.0.0/src/DatePicker.elm#L381
I'm using a special style for my forms and sadly I can't fit the datepicker into that.
Maybe Settings could include a inputAttributes field which is added to the list beginning on line 382 (https://github.com/FabHof/elm-ui-datepicker/blob/1.0.0/src/DatePicker.elm#L382)?

You are right, this is missing. I fear that this could interfere with the attributes that are required for the date picker to work and it could lead to unexpected behavior.
I will have to think about this and at least document any unexpected behavior.

@valberg #3 should fix this. The wrapper is removed, so the attributes are directly on the Input.text. However some Events are not usable, because they are used internally by the date picker.
I would love some feedback on this idea.

@FabHof Very nice indeed! I think it's not a problem, until it becomes a problem for someone ;) My desire was just to be able to style the input field.


[NamedLazyMemberLoading] Avoid clobbering XREF-set DeclIDs when loading.

Fix the next bug in line preventing testsuite-passing with named lazy member loading turned on. Still doesn't pass the whole suite, but gets closer (and is able to build a toolchain).

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test and merge


nr-157313 TensorFlow

Ticket URL: https://issues.newrelic.com/browse/NR-157313
Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include a Data source and Documentation reference?
[ ] Are all documentation links publicly accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?
[ ] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

Closing this PR because merged into below PR
https://github.com/newrelic/newrelic-quickstarts/pull/2044

Closing this PR because merged into below PR
https://github.com/newrelic/newrelic-quickstarts/pull/2044


Mark feeds as visited immediatley (#17)

@evilpie Something that could help with memory usage would be not storing urls that already been visited. What do you think?

That seems like a good idea, one idea that I had was to use the origin instead, assuming most feed links are actually different pages at the same origin.

On the other hand with "origin" it seems likely that we would refresh too often. I think we should add a separate function that just marks livebookmarks as read/unread without actually updating/fetching or doing anything else.

I now introduced hashing to avoid keeping the URL strings alive. I also changed the the map to Int32 -> String | Array [String] to handle hash collusion, but also multiple livemarks with the same URL.
There is only one problem left: When to clear the itemURLHashToFeeds Map. The old code I had for this was not valid, because without forceUpdate, we might never reach the code that actually updates the map.

@nt1m I hope you have some idea for clearing the Map.

@evilpie Can we do this.itemURLHashToFeeds.delete(hash); on historyOnVisited ? It wouldn't cover the case of a feed getting removed or one or two URLs getting replaced, but this should happen infrequently enough to be acceptable.
Alternatively, since we have a HashMap, feeds with the same URLs would have the same hash prefix right ? Can't we use that fact to remove the relevant entries when a feed is forceUpdated with new entries replacing old ones ?

Okay this should be enough. The only case where we now leak hash entries is when a livemark is deleted.
Should we release a test version or something like that?

@evilpie A test version seems like a great idea! Thanks for your work on this!


Deprecate rust-releases built-in Bisect

Does not fit within the rust-releases libraries, and has been replaced by bisector in cargo-msrv.

bors r+


Add external dependencies option

Add support to use external dependencies instead of vendorized ones. The new CMake option USE_SYSTEM_DEPENDENCIES, uses find_package to include (mandatory) fmt and gtest. In case that option is enabled, and the compiler has std::format supported, CMake will use the external dependencies, because the user configured it explicitly.
Added a new CI job to validate the configuration.
closes #546

@cieslarmichal The current error is due -Werror with unused variable:
FAILED: CMakeFiles/faker-cxx.dir/src/modules/string/String.cpp.o
/usr/bin/g++-13  -I/home/runner/work/faker-cxx/faker-cxx/include -isystem /home/runner/.conan2/p/b/fmt808a6edee61f6/p/include -m64 -O3 -DNDEBUG -std=c++20 -Wall -Wextra -Wpedantic -Wconversion -Wformat -Werror -MD -MT CMakeFiles/faker-cxx.dir/src/modules/string/String.cpp.o -MF CMakeFiles/faker-cxx.dir/src/modules/string/String.cpp.o.d -o CMakeFiles/faker-cxx.dir/src/modules/string/String.cpp.o -c /home/runner/work/faker-cxx/faker-cxx/src/modules/string/String.cpp
In file included from /usr/include/c++/13/map:62,
                 from /home/runner/work/faker-cxx/faker-cxx/include/faker-cxx/String.h:4,
                 from /home/runner/work/faker-cxx/faker-cxx/src/modules/string/String.cpp:1:
In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_lower_bound(_Link_type, _Base_ptr, const _Key&) [with _Key = char; _Val = std::pair<const char, faker::CharCount>; _KeyOfValue = std::_Select1st<std::pair<const char, faker::CharCount> >; _Compare = std::less<char>; _Alloc = std::allocator<std::pair<const char, faker::CharCount> >]’,
    inlined from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::find(const _Key&) [with _Key = char; _Val = std::pair<const char, faker::CharCount>; _KeyOfValue = std::_Select1st<std::pair<const char, faker::CharCount> >; _Compare = std::less<char>; _Alloc = std::allocator<std::pair<const char, faker::CharCount> >]’ at /usr/include/c++/13/bits/stl_tree.h:2532:36,
    inlined from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = char; _Tp = faker::CharCount; _Compare = std::less<char>; _Alloc = std::allocator<std::pair<const char, faker::CharCount> >]’ at /usr/include/c++/13/bits/stl_map.h:1220:25,
    inlined from ‘static std::string faker::String::generateStringWithGuarantee(faker::GuaranteeMap&, std::set<char>&, unsigned int)’ at /home/runner/work/faker-cxx/faker-cxx/src/modules/string/String.cpp:96:37:
/usr/include/c++/13/bits/stl_tree.h:1952:9: error: ‘item’ may be used uninitialized [-Werror=maybe-uninitialized]
 1952 |         if (!_M_impl._M_key_compare(_S_key(__x), __k))
      |         ^~
In file included from /home/runner/work/faker-cxx/faker-cxx/src/modules/string/String.cpp:9:
/home/runner/work/faker-cxx/faker-cxx/include/faker-cxx/Helper.h: In static member function ‘static std::string faker::String::generateStringWithGuarantee(faker::GuaranteeMap&, std::set<char>&, unsigned int)’:
/home/runner/work/faker-cxx/faker-cxx/include/faker-cxx/Helper.h:92:11: note: ‘item’ was declared here
   92 |         T item;
      |           ^~~~
cc1plus: all warnings being treated as errors

Not sure what best approach here, it could ignore Werror (remove from CMake), ignore that specific error (add pragma in String.cpp), or fixing it in the code (I don't know should be fixed in that case.

I think we can disable werror flag.

@cieslarmichal Done, without -Werror everything passed.


Add endpoint definition for create case

(Note: first commit is minor cleanup)
Following the inheritance pattern for the entities, since I expect that the case that we POST will be a strict subset of what we GET/LIST, although both are just {} right now:

Docs: https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/
Example: https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v3.0/petstore-expanded.yaml

Screencast:

 Implement dataserver API (minus Case entity)

Well gif'd.

you honor me


Codegen operator

Add dapper codegen-operator script

In such way we can regenerate the operator code by just running
make codegen-operator without installing any operator related
stuff in our system.

I still think we are at the right moment to rip just commit the operator scaffold source to the repo

I agree, no reason to regenerate each time since it's more trouble than it's worth IMO.
The gen script is still useful as an automated way to generate the operator entirely, but the scaffold can be thrown away and we can use the existing controllers instead.

@dfarrell07 I seem to have no write access to this repo, can you check?,
github says: "Only those with write access to this repository can merge pull requests."

Give it a try, you can run:
make codegen-operator
then
make build-operator

This works great for me btw, thanks! :+1:

Using it more, I think there are two issues (with the build/push logic) this change introduces:
Pushing Operator images in new containerized build env fails due to lack of auth: https://jira.coreos.com/browse/HYCLD-268
Fix/doc Operator version/push_image vars in new containerized build env: https://jira.coreos.com/browse/HYCLD-269
But otherwise it's still wonderful, thanks again @mangelajo! :pray:


Feature request: Policy retry at least 3 times.

Hi Dan , it a new idea about the policy event if in case failed the policy can we do retry at least 3 times it may some time failed due to internet or some internal issues so here the example logical to retry the policy if possible it will help some how failed counts

#!/bin/bash

# Define the policy and event to run
policy="Sudo JAMF policy"
event="setup"

# Define the number of times to retry if the policy fails
retry_count=3

# Loop through the retries
for (( i=1; i<=${retry_count}; i++ ))
do
    # Run the policy
    jamf policy -event "${event}"

    # Extract the success or failure message for the last run of the policy
    log_message=$(grep -A 1 "${policy}" /var/log/jamf.log | grep -A 1 "${event}" | tail -n 1)

    # Check the JAMF log for success or failure
    if echo "${log_message}" | grep -q "Policy succeeded"; then
        echo "Policy ran successfully"
        break
    elif echo "${log_message}" | grep -q "Policy failed"; then
        echo "Policy failed (retry ${i}/${retry_count})"
    else
        echo "Unknown error occurred (retry ${i}/${retry_count})"
    fi
done

This would be helpful for security apps that you wouldn't want to rely on the user going to SS to install

Well, @mani2care, this finally happened to me today:
Tue Aug 29 10:55:46 Dan's Laptop jamf[5236]: Could not connect to the JSS. Looking for cached policies...
Tue Aug 29 10:47:34 Dan's Laptop jamf[4388]: Checking for policies triggered by "sophosEndpoint" for user "dan"...
Tue Aug 29 10:47:37 Dan's Laptop jamf[4388]: Executing Policy Sophos Endpoint: Workforce (1.0.4)
Tue Aug 29 10:50:31 Dan's Laptop jamf[4836]: Checking for policies triggered by "globalProtect" for user "dan"...
Tue Aug 29 10:50:34 Dan's Laptop jamf[4836]: Executing Policy Enrollment: Palo Alto GlobalProtect (5.2.10-6)
Tue Aug 29 10:50:36 Dan's Laptop jamf[4836]: Verifying package integrity...
Tue Aug 29 10:50:36 Dan's Laptop jamf[4836]: Installing GlobalProtect-5.2.10-6.pkg...
Tue Aug 29 10:50:42 Dan's Laptop jamf[4836]: Successfully installed GlobalProtect-5.2.10-6.pkg.
Tue Aug 29 10:50:45 Dan's Laptop jamf[5236]: Checking for policies triggered by "microsoftOffice365" for user "dan"...
Tue Aug 29 10:55:46 Dan's Laptop jamf[5236]: Could not connect to the JSS. Looking for cached policies...
Tue Aug 29 10:55:49 Dan's Laptop jamf[5337]: Checking for policies triggered by "symvMicrosoftOffice365" for user "dan"...
Tue Aug 29 10:55:54 Dan's Laptop jamf[5337]: Executing Policy Setup Your Mac Validation: Microsoft Office 365 (0.0.2)


restructure StubbedChain to be more typesafe

argh, StubbedChain is not well written but it's probably massive diff to rewrite to be as StubbedBeaconDb so ignore for now
Originally posted by @mpetrunic in https://github.com/ChainSafe/lodestar/pull/1658#discussion_r505265588

unstale


Expected and Received values are swapped in the test output

Describe the bug
The error output reverses expected and received:
 FAIL  src/lib/storage/Test.test.ts > Test > case
 AssertionError: expected 1 to deeply equal 2

 - Expected
 + Received

 - 1
 + 2

  ❯ src/lib/storage/Test.test.ts:40:15
      38|     }
      39|
      40|     expect(1).toEqual(2);
        |               ^
      41|
      42|     const js = 'ouch';

It states that Expected = 1 and Received = 2, but it is the other way around.
This seems to be related to #3309
Reproduction
import { describe, expect, it } from 'vitest';

describe('Test', () => {
  it('case', () => {
    expect(1).toEqual(2);
  });
});

System Info
System:
    OS: Linux 5.10
    CPU: (8) x64 Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
    Memory: 12.90 GB / 15.16 GB
    Container: Yes
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.1/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
    pnpm: 8.6.9 - ~/.nvm/versions/node/v18.16.1/bin/pnpm
  npmPackages:
    @vitejs/plugin-basic-ssl: ^1.0.1 => 1.0.1
    @vitejs/plugin-react: ^4.0.0 => 4.0.1
    @vitest/coverage-v8: ^0.33.0 => 0.33.0
    vite: ^4.3.9 => 4.3.9
    vitest: ^0.32.2 => 0.32.2

### Used Package Manager

npm

### Validations

- [X] Follow our [Code of Conduct](https://github.com/vitest-dev/vitest/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://vitest.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/vitest-dev/vitest/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitest-dev/vitest/discussions) or join our [Discord Chat Server](https://chat.vitest.dev).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

Use latest Vitest


Read service logs without stream using follow: false

is there a way to read logs with follow: false without opening a stream?
as far as I know Swarm api has a follow: false that returns the response as a 200 OK with the the log string in the reply body, is there a method available for such a call?

The Docker API makes it sound like it would be possible to simply return a string. Unfortunately, all working examples I've seen using this API use follow: true and streams.

I've found a way to do it:
container.logs({
		stdout: true,
		stderr: true,
		since: since
	},
	(err, result) => {
		logs = result.toString('utf8')
	}
)

However, you need to split the lines of the log entries yourself as it's just one long string returned by the Docker API, which is passed through by dockerode


[ENG-892] Allow users to configure which Python to use

Currently works with environment variable. I don't know how the Python runtime can access ak configuration other than creating a dummy python service.
@itayd Ideas?

@daabr , @efiShtain I change the logic according to discussion in ENG-892. Please re-review.


Disable periodic jobs in forked repository

See https://github.com/Goooler/github-actions-kotlin-dsl/actions?query=is%3Afailure

Please rebase and use the new feature for conditionally running the consistency job.

Superceded by https://github.com/krzema12/github-actions-kotlin-dsl/commit/34cba820197f72e6876fc9ea7127c9a81bca4f7b


Some questions about the train program.

I'm very grateful to the authors for their contributions, and I'm very interested in the paper you've written. So I come to you for help: can you provide more training and loss programs and more details for the text2program?
Thank you! @tiangeluo

Hi @LJXCMQ ,
Thank you for your interests. I am happy to provide more details, while the code needs efforts to clean up. Please expect this will take some time.


Support Terraform Data to pull data from the Port Catalog

Hello !
It would be awesome if we could query Port and use that data in our terraform, right now we can still do it with some terraform variables or by using the http data provider but it would be nice if that would be supported natively.
I post here the workaround I am using in case someone is interested in the same feature :
data "http" "my_datatacenters" {
  url = "https://api.getport.io/v1/blueprints/terraform_output/entities/my_datatacenters"
  request_headers = {
    Content-Type = "application/json; charset=utf8"
    Authorization: "Bearer XXXX"
  }
  method = "GET"
}

output "my_datatacenters" {
  value = jsondecode(data.http.my_datatacenters.response_body).entity.properties.raw_json_output.pprd.eus1.0
}

Thank you 😃
I would be interested in contributing in case you think this feature is interesting

Hey @dexter0195 👋
That sounds like a great idea!!! and definitely a feature we are planning to implement in the future.
It will be amazing if you would contribute that capability.
Let me know if you would also like to schedule a meeting to go over the provider 😄

Hey @dexter0195 👋
We just released support to use search as datasource in the provider.  #153
It was released in 2.0.6 😄


Unit tests needs external device.

If unit test need some external device that have some unknown state then we don't have unit tests, but maybe system tests.
Unit tests shall execute as fast as possible, without any external device and possible before each commit.
Proposal: mock sockets, and classes to have control over states.

@Galoshi Any plan of action for doing that and migration to pytest?


feat: Add a builder image

This introduces a builder image. This is necessary to create automations, such as a cloudbuild trigger to automatically update generated sources with the latest openapi definitions.

It's possible that automatically updating generated sources could break react when not expected (since endpoints can be deprecated, or fields changed). We might still want to keep the manual verification as a separate PR, but open to discussion.

@dionlow "automatic" may be a bit of an oversimplification on my part. It's automated in the sense that it reacts to changes in the openapi repo by opening a PR. There will still be an approval / merge step by an actual human. It just automates most of the busy work.