update(kubernetes): Deployment files

Updating deployment files (automatically generated by helm template). Made using the update-falco-k8s-manifests ProwJob. Do not edit this PR.\n\n/kind update\n\n/area manifests

LGTM label has been added.  Git tree hash: 7a00df2d22437be38a4098a5c68cf6a6d4ff4a18

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: poiana, zuc
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [zuc]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Help me tipbot

You mean ?
wallet folder found in %appdata% (default Roaming Folder):

Working this out on Discord


Accessibility tests (pa11y)

Provides a baseline automated accessibility testing configuration/results via a "pa11y" makefile target (make pa11y) & GA workflow job (currently for informational purposes only, as with link checking).

A few options, depending on the goal. Assuming the current (PR) branch is the one specified in the PR:

git submodule update would checkout the versions of submodules specified in the current branch.

If the a submodule in the current branch are behind those in "main", git merge main followed by git submodule update should have a similar effect to what the result would be after the PR is merged (AFAIK the content should be the same no matter which direction the merge has occurred). Optionally, this can be git push'ed back to the PR branch to run through CI/CD to ensure those checks pass.

If you want to update any submodules to the latest versions from their upstream source for any reason, then git submodule update --remote <submodule_path> would do that. This of course is only reflected locally, and would need to be pushed to a remote branch for the purpose of CI/CD or to submit a PR.

I am not sure what it is that I am supposed to review.  Pa11y seems to tell you if you are 508 compliant, yet I did not see any chatter from the loading process (in code spaces) that seemed to relate to that program.  Are we then to conclude we are compliant?

I am not sure what it is that I am supposed to review. Pa11y seems to tell you if you are 508 compliant, yet I did not see any chatter from the loading process (in code spaces) that seemed to relate to that program. Are we then to conclude we are compliant?

The "Deploy Jekyll site to Pages / pa11y (push)" check in this PR (GitHub Actions workflow job) shows "Failing after 10m". I supposed the job could be renamed from "pa11y" to, e.g., "accessibility checks" to make its purpose more obvious?
From codepsaces, one could do make pa11y to manually install/run the pa11y-ci checks (which take a few minutes---eventually this could be sped up once concurrent checks work, but that functionality seems to be broken in the current pa11y-ci)

I am not sure what to look for. I did find that pa11y reported a non-zero exit code on the code space. It seems to have had a lot of warnings. So should we go through all of them making changes? Some of them were like "color contrasts in CMap need to be improved" are not things we can change. What is the proposed remediations here?

Somebody probably needs to go through the results and decide what's obviously noise (and should be ignored by configuration) and what should be addressed. The all-default configuration (except substituting the "axe" runner) in this PR just provides a starting point.


Memory leaks in Zipline

Hello
We are facing an issue that zipline leaks 500-600kb every "cycle" of usage.
Is there any examples

of correct usage ZiplineScope and ZiplineScoped?
how we must correctly close services and zipline
how we must correctly close services and zipline  when service contains Flows?

We thought that we are doing something wrong with closing pipeline. So we downloaded current world-clock example.

we see continious leaks of memory
sometimes we see lots of messages from EventListener of leaked callbacks
after we close zipline and open next instance we see even more info about leaked callbacks

We modified example
//val serviceName = endpoint.generatePassByReferenceName()
val serviceName = endpoint.generatePassByReferenceName() + "____" + value.adapter.simpleName // to see what object is leaked

// to catch leak events
class LeakerLis: EventListener() {
  override fun serviceLeaked(zipline: Zipline, name: String) {
    super.serviceLeaked(zipline, name)
    println("LEAKED____$name")
  }
}

// we disabled hot reload
scope.launch(ziplineDispatcher + SupervisorJob()) {
    val loadResultFlow: LoadResult = ziplineLoader.loadOnce(
      applicationName = "world-clock",
      freshnessChecker = DefaultFreshnessCheckerNotFresh,
      manifestUrl=manifestUrl,
      initializer = { zipline: Zipline ->
        zipline.bind("WorldClockHost", host)
      },
    )
    var previousJob: Job? = null
    previousJob?.cancel()
    val result = loadResultFlow
    if (result is LoadResult.Success) {
      val zipline = result.zipline
      val presenter = zipline.take<WorldClockPresenter>("WorldClockPresenter")
      val job = launch {
        models.emitAll(presenter.models(events))
      }
      job.invokeOnCompletion {
        presenter.close()
        // TODO(jwilson): make this safe.
        zipline.close()
      }
      previousJob = job
    }
  }

After this changes we launch
and some times (even without closing zipline) we see
LEAKED____zipline/guest-8192____SuspendCallback
LEAKED____zipline/guest-8080____SuspendCallback
LEAKED____zipline/guest-7928____SuspendCallback
LEAKED____zipline/guest-8124____SuspendCallback
LEAKED____zipline/guest-8116____SuspendCallback
after closing and reopening screen we can see even more messages of that kind
sample project is at
https://github.com/evtuhovaleksander/zipline/tree/leaks_example

@JakeWharton and @swankjesse we are we are begging for help


The keyboard shortcuts are not working on the Markdown Panel.

I'm using Notepad++ v8.5.8 on Windows 11 and I can't use basic keyboard shortcuts like Ctrl + C to copy content from the Markdown Panel. currently, I have to select the content from the Markdown Panel and right-click on it to get the context menu then click Copy.

Experiencing this as well. Would be nice if at least copying works.


solana: slow transfers are blocked when a foreign endpoint address changes

Closing since we would likely want to block transfers in the case of a vulnerable foreign endpoint.


Add support for SUNDIALS GPU features [sundials-gpu-dev]

This PR adds support for SUNDIALS CUDA features. These changes will be easily extendable to support future GPU support provided by SUNDIALS, e.g. for HIP. To keep things clean, this creates a SundialsNVector class to interface with the SUNDIALS N_Vector. This class inherits from the mfem::Vector class, and follows the pattern used in MFEM interfaces to other libraries such as PETSc and hypre. The PR also synchronizes the Examples 9/9p and the SUNDIALS modifications.
Building MFEM with MFEM_USE_CUDA=ON and MFEM_USE_SUNDIALS=ON will require the upcoming SUNDIALS 5.4.0 release. With MFEM_USE_CUDA=OFF and MFEM_USE_SUNDIALS=ON,  SUNDIALS version 5.0.0 remains the minimum required version.
The SUNDIALS GPU features added in this PR can be built and tested against this branch in my SUNDIALS fork: https://github.com/balos1/sundials/tree/mfem-gpu-dev.
CC: @camierjs,  @acfisher
TODO:

[x] Resolve ToNVector comments
[ ] Wait for SUNDIALS 5.4.0 release

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1726
@balos1
@tzanio
@camierjs + @cjvogl + @acfisher
08/30/20
⌛due 09/13/20
⌛due 09/20/20

@tzanio or @v-dobrev, can one of you restart the Travis Mac Parallel test... looks like it may have stalled out.

Restarted

I remember @gardner48 mentioning this can be an issue while we were working on another project... not sure what the fix is here though.

Sundials automatically chooses between installing in lib or lib64 depending on the system it's built on but you can override this choice by setting the CMake variable CMAKE_INSTALL_LIBDIR to what you want you want to use for the library directory name.

@gardner48, thanks for the quick response!  I suppose the trick now is make sure the MFEM looks in the right place: it appears that MFEM will look in sundials/lib if using cmake and in sundials/lib64.
Seems to me like the best response is to have MFEM look in a single place so that we can tell the user what to specify for CMAKE_INSTALL_LIBDIR when building Sundials.  @tzanio or @v-dobrev, who would be the best person to ping for that (sheepishly looking around, hoping the answer isn't me)

I don't know that I have the experience to test the GPU/CUDA versions of the Sundials example 9 code, but I was able to test the CPU version of Sundials example 9.  @acfisher, @camierjs, can I punt on testing the GPU/CUDA functionality to one of you guys?

@gardner48, thanks for the quick response! I suppose the trick now is to make sure the MFEM looks in the right place: it appears that MFEM will look in sundials/lib if using cmake and in sundials/lib64 if using GNU make.
Seems to me like the best response is to have MFEM look in a single place so that we can tell the user what to specify for CMAKE_INSTALL_LIBDIR when building Sundials. @tzanio or @v-dobrev, who would be the best person to ping for that (sheepishly looking around, suspecting the answer will be me)

I have updated the GNU make to match the cmake and look in lib instead of lib64.

@cjvogl, @gardner48, @balos1, I think the "lib" subdirectory used in config/cmake/modules/FindSUNDIALS.cmake is just a hint and CMake actually searches other suitable subdirectories too, so this is probably not an issue there.
For the GNU make build system, we can easily add some auto-detection logic (using wildcard command) for lib vs lib64 in the file config/defaults.mk for the variable SUNDIALS_LIB. Of course, this variable can always be set on the make command line by the user to override the defaults -- e.g. this is what we do in the mfem spack package.
@balos1, I suspect you were testing on Lassen? Is this where Sundials libraries are installed under lib64 and for that reason you originally switched lib to lib64 in config/defaults.mk? Or was there a different reason to switch to lib64?

@v-dobrev I was testing on my Linux workstation and also Lassen. In both of those places lib64 is the default detected by GNUInstallDirs.

LGTM

Looks good @balos1 ! Thank you for adding this MFEM+SUNDIALS GPU feature!

Merged in next for testing...

The SUNDIALS 5.4.0 release (needed for the CUDA features in this PR) is now available: https://github.com/LLNL/sundials/releases/tag/v5.4.0.

Re-merged in next.


Can't run rig on Ubuntu 18.04.6 LTS

Hello
I have some problem when I install rig on Ubuntu 18.04.6 LTS, I can not run it.
When I am trying, the following error displays :
bash: /usr/local/bin/rig: cannot execute binary file: Exec format error
Here is what I did :

Installed amd64 version
Checked my Ubuntu Version with uname -a which gives me : Linux vdi 5.4.0-1106-gcp #115~18.04.1-Ubuntu SMP Mon May 22 20:46:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Tried modifying permissions (even if it was not the problem)
Checked the file format with file rig which shows me : rig: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped. What I am finding a bit strange is that no interpreter is present in the Elf file, is it normal ?

Do you have any clue on how to fix it ?
Thanks in advance,
Easill

You probably installed the arm64 version?
It works fine for me:
root@9cad3e8f1092:~# arch
x86_64
root@9cad3e8f1092:~# curl -LO https://github.com/r-lib/rig/releases/download/v0.5.3/rig-linux-0.5.3.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3950k  100 3950k    0     0  1159k      0  0:00:03  0:00:03 --:--:-- 2122k
root@9cad3e8f1092:~# tar xzf rig-linux-0.5.3.tar.gz -C /usr/local
root@9cad3e8f1092:~# rig ls
* name  version  aliases
------------------------------------------

I will try uninstalling rig and installing the version you sent here.
I will edit this comment once I did it.

You don't need to uninstall everything, just install the correct version, it will overwrite what you have.
Btw. Ubuntu 18.04 is not supported any more, so soon will rig stop supporting it as well, because https://github.com/rstudio/r-builds will stop creating R builds for it.

Thank you for this information, I will ask if we can upgrade the ubuntu version.
This installation works fine now. Thank you !
I think I did a mistake with the link provided in the tutorial, I didn't change the version, assuming it would automatically download the latest one.
Now I only have to correct the pak error :
Failed to to install pak for R 4.3.1: Failed to find user HOME

What tutorial? I didn't know we had a tutorial? :)

I meant, your "how to install" section !
https://github.com/r-lib/rig#id-installation
There is a small section for installing rig on Ubuntu.

But that is working fine as well:
root@dfa3ecb488cd:~# cat /etc/os-release  | grep VERSION=
VERSION="18.04.6 LTS (Bionic Beaver)"

root@dfa3ecb488cd:~# arch
x86_64

root@dfa3ecb488cd:~# curl -Ls https://github.com/r-lib/rig/releases/download/latest/rig-linux-latest.tar.gz | tar xz -C /usr/local

root@dfa3ecb488cd:~# rig --version
RIG -- The R Installation Manager 0.5.3

root@dfa3ecb488cd:~# rig ls
* name  version  aliases
------------------------------------------


PodIntents fails when specifying resource limits

Bug description
When deploying the following podintent
apiVersion: conventions.apps.tanzu.vmware.com/v1alpha1
kind: PodIntent
metadata:
  name: podintent-test
spec:
  template:
    metadata:
      annotations:
        developer.conventions/target-containers: workload
      labels:
        app.kubernetes.io/component: run
    spec:
      containers:
        - image: ghcr.io/nginx-proxy/nginx-proxy:latest
          name: workload
          resources:
            limits:
              memory: 256Mi
            requests:
              memory: 256Mi

the podintent fails immediately with the following status
status:
  conditions:
  - lastTransitionTime: "2022-07-05T21:31:06Z"
    message: 'failed to apply convention from source covention-via-spring: quantities
      must match the regular expression ''^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'''
    reason: ConventionsApplied
    status: "False"
    type: ConventionsApplied
  - lastTransitionTime: "2022-07-05T21:31:06Z"
    message: 'failed to apply convention from source covention-via-spring: quantities
      must match the regular expression ''^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'''
    reason: ConventionsApplied
    status: "False"
    type: Ready
  observedGeneration: 1

The issue does not occur when the resource limit is removed.
Expected behavior
PodIntent should understand the resource limit
Steps to reproduce the bug
Deploy the above podintent
Version (Tanzu Application Platform, K8s the controller is installed on)
TAP 1.1.2
Environment where the bug was observed (cloud, OS, etc)
TKG
Relevant Debug Output (Logs, etc)
I see the following in the convention controller pod
{"level":"error","ts":"2022-07-05T21:34:01.432287895Z","logger":"controllers.PodIntent.PodIntent.ApplyConventions","msg":"failed to apply convention","Convention":{"Name":"covention-via-spring","Selectors":null,"Priority":"Early","ClientConfig":{"url":"https://my-convention-default.demo.cl01.lespaulstudioplus.info/convention"}},"error":"quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'","stacktrace":"github.com/vmware-tanzu/convention-controller/pkg/controllers.ApplyConventionsReconciler.func1\n\tgithub.com/vmware-tanzu/convention-controller/pkg/controllers/podintent_reconciler.go:277\nreflect.Value.call\n\treflect/value.go:556\nreflect.Value.Call\n\treflect/value.go:339\ngithub.com/vmware-labs/reconciler-runtime/reconcilers.(*SyncReconciler).sync\n\tgithub.com/vmware-labs/reconciler-runtime@v0.4.0/reconcilers/reconcilers.go:324\ngithub.com/vmware-labs/reconciler-runtime/reconcilers.(*SyncReconciler).Reconcile\n\tgithub.com/vmware-labs/reconciler-runtime@v0.4.0/reconcilers/reconcilers.go:313\ngithub.com/vmware-labs/reconciler-runtime/reconcilers.Sequence.Reconcile\n\tgithub.com/vmware-labs/reconciler-runtime@v0.4.0/reconcilers/reconcilers.go:852\ngithub.com/vmware-labs/reconciler-runtime/reconcilers.(*ParentReconciler).reconcile\n\tgithub.com/vmware-labs/reconciler-runtime@v0.4.0/reconcilers/reconcilers.go:149\ngithub.com/vmware-labs/reconciler-runtime/reconcilers.(*ParentReconciler).Reconcile\n\tgithub.com/vmware-labs/reconciler-runtime@v0.4.0/reconcilers/reconcilers.go:120\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:227"}

Apologies . It seems this only happens when deploying something like the following Java Based Convention Service.
https://github.com/mhoshi-vm/convention-via-spring/
Seems to be an issue on the serialisation/deserilisation done against the resource when doing against Java > Go.
Will update the bug, once accurately identified

A colleague found the solution. Closing
https://github.com/making/sample-convention-server/commit/6c720cb8d505080816ec68be612defd36e0ce98a


Make helios create support add/drop capabiltiies

Disable capablity validation for JobValidator when it's
being run by the CLI.

@gimaker

@mattnworb

I forgot to support for CLI flags. The previous commit supported reading from a job file.

Current coverage is 49.00%

Merging #896 into master will increase coverage by +0.10% as of 6193a4d

@@            master    #896   diff @@
======================================
  Files          271     271
  Stmts        12690   12722    +32
  Branches      1633    1636     +3
  Methods          0       0
======================================
+ Hit           6206    6234    +28
  Partial        467     467
- Missed        6017    6021     +4

Review entire Coverage Diff as of 6193a4d

Powered by Codecov. Updated on successful CI builds.

I don't follow why you have to disable the JobValidator behavior when testing the CLI, if the validation is on the server, isn't that covered by using a mock HeliosClient?

and a Builder for a class with three params seems very verbose too

This should be good to go now.

:+1:


How to center the text in segmented control

You only need to use page menu property of using page menu as segmented control. It will automatically center the text in center.


I am confuse about the config file of mstrain_3x_coco.py, the max epoch is 12, not 36, while others use epoch of 36

Thanks for your answer for this question.  I am trying to reproduction the result of PVT on RetinaNet, the author not provide the config file for mstrain_3x, so i have to write it by myself. I find yourmstrain_3x file use epoch 0f 12 not 36, but others use 36, this made me so confuse. Thanks for your help.

This config uses RepeatDataset and duplicates the original coco dataset 3 times. Thus, it only uses 12 epochs.

Thanks very much, I just notice it.


Problem with Safari 11.00

Hello, since i've upload my browser to safari 11.00 i've seen that all the elements that have wow  + animation class doesn't show up.
This bug shows up only in the safari browser, in the others ( like Chrome, Mozilla, Opera etc..) the problem doesn't persists.
If i remove the classes the item are displayed normally.
code works well in safari < 11.00 (like 10.12).
Someone have the same situation?
Thanks in advance for all the help

yes i have the same issue please someone get it solve as soon as possible.

+1

I have too +1


Make it compile on Linux.

It does not work though. Standalone dumps core and the plugin does not
show up in the hosts. :(

I fix the Linux Builds this Weekend.


Register 0.2.8

@JuliaRegistrator register
Documenter

Registration pull request created: JuliaRegistries/General/113825
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.8 -m "<description of version>" eb7c8709c7306bb292a593f1613c54bf7f36e00f
git push origin v0.2.8


I like how I can turn on both the TV and Apple TV with one switch now (The Apple TV CEC). It'd then be great to also turn off the whole setup with the same switch.
For this to be possible, we'd need to pick between launching a home app on close, or sending the off command. Perhaps there could be a setting in the config to control it?

So you want an option to define an "own" way of putting a cec device off? Atm it will always start the "home app" after switching cec off

I think i will add an option to change the "off command" of an cec device to select between "home app, favourite channel or tv off" in the next version

I was thinking make the setting global? So if I turn off an HDMI input, or a CEC, use the same setting - home app or power off. It’s less clunky than defining it per-source, and likely people who change it will want it to apply to all (I think).

Oh wait, I realized the Apple TV CEC switch doesn’t stay on when the Apple TV is on. That kinda breaks this idea, is there any way to keep it on?

No i dont mean defining per source. I will add a "global" option to the config file. So everyone has then the possibility to set his own global "off comand" for the inputs like hdmi or cec devices. And it will the same for all inputs, not per source.
** After switching Apple TV on, can you run following command and post the output here pls:
(change ip and psk with your own data)

curl -XPOST http://<IP_ADDRESS>/sony/avContent -d '{"id":2,"method":"getPlayingContentInfo","version":"1.0","params":["1.0"]}' -H 'X-Auth-PSK: abc123'

Output is correct, the CEC device is connected to HDMI port 4:
{"id":2,"result":[{"source":"extInput:hdmi","title":"HDMI 4","uri":"extInput:hdmi?port=4"}]}
I think it's safe to infer that the input selected after CEC command is the same as the CEC device – so until it changes, keep the CEC device "on"?

The plugin checks the uri in the playing content info and compares it with the uri from the accesory. Is both are equal, the switch will turn on, if not the switch will turn off
Normally, the HDMI input has an another uri as the cec device. But i created a own "simple uri" to compare the current uri with his own uri AND the simple uri.
The simple uri contains "extInput:hdmi?port=" + port number
normally it must stay on, i think there is an issue with splitting the uri for the port number..
Can you open the src/Inputs.js and put following code after line 49

this.log(this.name + ": " + this.simpleuri);

and post the output after restarting homebridge pls

[2018-3-26 12:30:21] [Sony] CEC devices found in storage.
[2018-3-26 12:30:21] [Sony] Sony Player 1: extInput:hdmi?port=1
[2018-3-26 12:30:21] [Sony] Sony HDMI 2: extInput:hdmi?port=2
[2018-3-26 12:30:21] [Sony] Sony HDMI 3: extInput:hdmi?port=3
[2018-3-26 12:30:21] [Sony] Sony HDMI 4: extInput:hdmi?port=4
[2018-3-26 12:30:21] [Sony] Found 4 HDMI input(s) with 1 CEC device(s), 0 extra input(s), 386 app(s) and 0 channel(s)

hmm can you add following code after the first code too

this.log(this.name + ": " + this.uri);

and post the output pls

Looks like Sony Player 1 is mapping to the wrong HDMI port:
[2018-3-26 14:40:57] [Sony] CEC devices found in storage.
[2018-3-26 14:40:57] [Sony] Sony Player 1: extInput:hdmi?port=1
[2018-3-26 14:40:57] [Sony] Sony Player 1: extInput:cec?type=player&port=1
[2018-3-26 14:40:57] [Sony] Sony HDMI 2: extInput:hdmi?port=2
[2018-3-26 14:40:57] [Sony] Sony HDMI 2: extInput:hdmi?port=2
[2018-3-26 14:40:57] [Sony] Sony HDMI 3: extInput:hdmi?port=3
[2018-3-26 14:40:57] [Sony] Sony HDMI 3: extInput:hdmi?port=3
[2018-3-26 14:40:57] [Sony] Sony HDMI 4: extInput:hdmi?port=4
[2018-3-26 14:40:57] [Sony] Sony HDMI 4: extInput:hdmi?port=4
[2018-3-26 14:40:57] [Sony] Found 4 HDMI input(s) with 1 CEC device(s), 0 extra input(s), 386 app(s) and 0 channel(s)

can you remove the hdmi and cec cache files in storage (in persist folder) and try it again pls

Yeah same output.

I think I see the problem, looks like you're overlaying these two when they should be unique, because they both have port=1:
			"connection": false,
			"icon": "meta:hdmi",
			"label": "",
			"title": "HDMI 1/MHL",
			"uri": "extInput:hdmi?port=1"
		}, {
...
		}, {
			"connection": true,
			"icon": "meta:playbackdevice",
			"label": "Apple TV",
			"title": "Player 1",
			"uri": "extInput:cec?type=player&port=1"
		}, {

Total output of Sony_Inputs cache:
{"id":1,"result":[[{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 2","uri":"extInput:hdmi?port=2"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 3","uri":"extInput:hdmi?port=3"},{"connection":true,"icon":"meta:hdmi","label":"","title":"HDMI 4","uri":"extInput:hdmi?port=4"},{"connection":true,"icon":"meta:composite","label":"","title":"Video 1","uri":"extInput:composite?port=1"},{"connection":false,"icon":"meta:component","label":"","title":"Video 2/Component","uri":"extInput:composite?port=2"},{"connection":true,"icon":"meta:playbackdevice","label":"Apple TV","title":"Player 1","uri":"extInput:cec?type=player&port=1"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Screen mirroring","uri":"extInput:widi?port=1"}]]}

The global option for setting own "off state command" is done
v2.4.2 is up
lats take a look to the cec state bug

can i see the Sony_CEC storage file pls

Works just as expected, thanks! I do have to use my HDMI_4 toggle to test it, so let's see if we can get this CEC things figured out.
Here's the output of Sony_CEC:
{"id":1,"result":[[{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 1/MHL","uri":"extInput:hdmi?port=1"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 2","uri":"extInput:hdmi?port=2"},{"connection":false,"icon":"meta:hdmi","label":"","title":"HDMI 3","uri":"extInput:hdmi?port=3"},{"connection":true,"icon":"meta:hdmi","label":"","title":"HDMI 4","uri":"extInput:hdmi?port=4"},{"connection":true,"icon":"meta:composite","label":"","title":"Video 1","uri":"extInput:composite?port=1"},{"connection":false,"icon":"meta:component","label":"","title":"Video 2/Component","uri":"extInput:composite?port=2"},{"connection":true,"icon":"meta:playbackdevice","label":"Apple TV","title":"Player 1","uri":"extInput:cec?type=player&port=1"},{"connection":false,"icon":"meta:wifidisplay","label":"","title":"Screen mirroring","uri":"extInput:widi?port=1"}]]}

lets look at index.js and directly to the api
can you open index.js and put following code after line 588:

self.log(result[i].title + ": " + uri);

[2018-3-26 17:06:52] [Sony] Player 1: extInput:cec?type=player&port=1

Are you sure that you plugged in the cec device to port 4??
can you run following command and post the FULL output here pls:
(TV must be on)
if you have jq installed, please use this command

curl -XPOST http://<IP_ADDRESS>/sony/avContent -d '{"id":2,"method":"getCurrentExternalInputsStatus","version":"1.0","params":["1.0"]}' -H 'X-Auth-PSK: abc123' | jq

if you don't have jq installed, please use this command

curl -XPOST http://<IP_ADDRESS>/sony/avContent -d '{"id":2,"method":"getCurrentExternalInputsStatus","version":"1.0","params":["1.0"]}' -H 'X-Auth-PSK: abc123'

Hey, it's definitely plugged into HDMI 4, I think this version of Sony Bravia maps ports differently, is the issue. That is, type=player&port=1 (in cec) is not the same as port=1 (in HDMI).
Here's the formatted output:
{
  "id": 2,
  "result": [
    [
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 1/MHL",
        "uri": "extInput:hdmi?port=1"
      },
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 2",
        "uri": "extInput:hdmi?port=2"
      },
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 3",
        "uri": "extInput:hdmi?port=3"
      },
      {
        "connection": true,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 4",
        "uri": "extInput:hdmi?port=4"
      },
      {
        "connection": true,
        "icon": "meta:composite",
        "label": "",
        "title": "Video 1",
        "uri": "extInput:composite?port=1"
      },
      {
        "connection": false,
        "icon": "meta:component",
        "label": "",
        "title": "Video 2/Component",
        "uri": "extInput:composite?port=2"
      },
      {
        "connection": true,
        "icon": "meta:playbackdevice",
        "label": "Apple TV",
        "title": "Player 1",
        "uri": "extInput:cec?type=player&port=1"
      },
      {
        "connection": false,
        "icon": "meta:wifidisplay",
        "label": "",
        "title": "Screen mirroring",
        "uri": "extInput:widi?port=1"
      }
    ]
  ]
}

This is it plugged into HDMI 3, the playback device itself doesn't change. All that changed is now HDMI 3 is connection:true. The port from meta:playbackdevice on cec is not at all the same as a port in meta:hdmi. That's the crux of the issue, I think on some models it is the same, but on mine it is not. I've already gone through the CEC UI on my TV and confirmed extInput:cec?type=player&port=1 didn't change to anything else.
I notice this does say connection:true, and I have to imagine the same item is what's being used to create the toggle. Why not just use the connection:true on this property to control the state of the toggle?
      {
        "connection": true,
        "icon": "meta:playbackdevice",
        "label": "Apple TV",
        "title": "Player 1",
        "uri": "extInput:cec?type=player&port=1"
      },

Output:
{
  "id": 2,
  "result": [
    [
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 1/MHL",
        "uri": "extInput:hdmi?port=1"
      },
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 2",
        "uri": "extInput:hdmi?port=2"
      },
      {
        "connection": true,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 3",
        "uri": "extInput:hdmi?port=3"
      },
      {
        "connection": false,
        "icon": "meta:hdmi",
        "label": "",
        "title": "HDMI 4",
        "uri": "extInput:hdmi?port=4"
      },
      {
        "connection": true,
        "icon": "meta:composite",
        "label": "",
        "title": "Video 1",
        "uri": "extInput:composite?port=1"
      },
      {
        "connection": false,
        "icon": "meta:component",
        "label": "",
        "title": "Video 2/Component",
        "uri": "extInput:composite?port=2"
      },
      {
        "connection": true,
        "icon": "meta:playbackdevice",
        "label": "Apple TV",
        "title": "Player 1",
        "uri": "extInput:cec?type=player&port=1"
      },
      {
        "connection": false,
        "icon": "meta:wifidisplay",
        "label": "",
        "title": "Screen mirroring",
        "uri": "extInput:widi?port=1"
      }
    ]
  ]
}

i need a "unique" value to compare the api with the accessory data for the state
the value for connection is not really unique (true), and that will cause that other cec devices (in my case the ps4) will turn on too
i think thats not normal that it stays at port 1... have already looked at bravia sync menu??

Oh that's a good point, yeah it stays connection:true even when I don't have the Apple TV on.
So, my Sony TV handles things differently than others. The port 1 in extInput:cec?type=player&port=1 is not the same as the port 1 in extInput:hdmi?port=1.
What that being the case, I can either plug it into port1 and trick your plugin into doing the right thing, or the plugin would have to infer which CEC device is mapped to which HDMI port and use that inference to control the tile state.

extInput:hdmi?port=1 doesnt activate the cec device, only switch to HDMI 1
extInput:cec?type=player&port=1 activates the cec device plugged in HDMI 1
Thats the different between them. And the plugin use both uri's to compare with the api. If the accessory is a cec device, it has normally this uri: "extInput:cec?type=player&port=1" - but sometimes, even if the cec device is active and turned on, the api says that the currently active uri is "extInput:hdmi?port=1"
because of that, the plugin compares the currently active uri from the api, with the own device uri AND an own created simple uri "'extInput:hdmi?port=' + port number of the cec device"
so if the api display a wrong port number, the state check will fail.
The plugin can only derive the right cec device and port when the api says the right thing. otherwise we have only the possiblity to give them manually a port number withing config.json

The API isn't exactly lying, it behaves differently between different models.
On my TV, extInput:cec?type=player&port=1 does not activate the CEC device on HDMI 1 – it activates the first CEC device. Based on what we've seen, the array of HDMI ports does not intersect with the array of CEC devices, thus the identifiers do not overlap.
I think you're taking port=1 to literally mean HDMI port 1, when in reality it can mean index of 1 on any set.
Note that also the Composite and Screen Mirroring options are on port 1, in their respective sets:
      {
        "connection": true,
        "icon": "meta:composite",
        "label": "",
        "title": "Video 1",
        "uri": "extInput:composite?port=1"
      },
      {
        "connection": false,
        "icon": "meta:component",
        "label": "",
        "title": "Video 2/Component",
        "uri": "extInput:composite?port=2"
      },
      {
        "connection": true,
        "icon": "meta:playbackdevice",
        "label": "Apple TV",
        "title": "Player 1",
        "uri": "extInput:cec?type=player&port=1"
      },
      {
        "connection": false,
        "icon": "meta:wifidisplay",
        "label": "",
        "title": "Screen mirroring",
        "uri": "extInput:widi?port=1"
      }

ahh i understand what u mean. i will look above the code, maybe i can create something to fix the problem

but to be sure, do you have any other cec devices that you can plug in? to control if this what u think is true.
That is my output:
{
	"result": [
		[
			{
				"uri": "extInput:cec?type=player&port=3&logicalAddr=4",
				"title": "PlayStation 4",
				"connection": true,
				"label": "",
				"icon": "meta:playbackdevice"
			},
			{
				"uri": "extInput:cec?type=player&port=2&logicalAddr=8",
				"title": "Apple TV",
				"connection": true,
				"label": "",
				"icon": "meta:playbackdevice"
			},
			{
				"uri": "extInput:hdmi?port=1",
				"title": "HDMI 1",
				"connection": false,
				"label": "HDMI 1",
				"icon": "meta:hdmi"
			},
			{
				"uri": "extInput:hdmi?port=2",
				"title": "HDMI 2",
				"connection": true,
				"label": "HDMI 2",
				"icon": "meta:hdmi"
			},
			{
				"uri": "extInput:hdmi?port=3",
				"title": "HDMI 3\/ARC",
				"connection": false,
				"label": "HDMI 3",
				"icon": "meta:hdmi"
			},
			{
				"uri": "extInput:hdmi?port=4",
				"title": "HDMI 4",
				"connection": false,
				"label": "HDMI 4",
				"icon": "meta:hdmi"
			},
			{
				"uri": "extInput:scart?port=1",
				"title": "AV 1",
				"connection": true,
				"label": "",
				"icon": "meta:scart"
			},
			{
				"uri": "extInput:composite?port=1",
				"title": "AV 2",
				"connection": false,
				"label": "",
				"icon": "meta:composite"
			},
			{
				"uri": "extInput:widi?port=1",
				"title": "Bildschirm spiegeln",
				"connection": true,
				"label": "",
				"icon": "meta:wifidisplay"
			}
		]
	],
	"id": 2
}

as u can see, mirroring has also a port number, but the cec devices are not listed as u said, thats are listed with the right port number

Unfortunately I don't have another CEC device, but yeah ours are definitely behaving differently. It seems when logicalAddr is missing, port no longer maps to HDMI ports.

i would control this before changing the lines :/ therefore it would be very nice if u had a second cec device on a different port to control the ports. Then we can see if the api is lying or your ports are sorted on connected devices and not on connected ports

I can try to get one maybe tomorrow, but it's clearly sorting by connected devices.
I did a test where I changed the Apple TV port physically, then turned it on with the same extInput:cec?type=player&port=1 command in homebridge. This could only be possible if it were mapping to the device, and not the port.
I'm fairly certain that the next CEC device would be extInput:cec?type=player&port=2
This theory fits if you look at the output of my composite ports:
      {
        "connection": true,
        "icon": "meta:composite",
        "label": "",
        "title": "Video 1",
        "uri": "extInput:composite?port=1"
      },
      {
        "connection": false,
        "icon": "meta:component",
        "label": "",
        "title": "Video 2/Component",
        "uri": "extInput:composite?port=2"
      },

Yeah not super easy, but I was suggesting it could infer it. It can check which port is selected before sending the CEC command, and which a moment after, then store the connection (verifying again each time?).

You could also just leave it to users (me) to do the mapping!

im on it, can you say me wich hdmi ports are currently exposed in your homekit? hdmi2, hdmi3 and hdmi4?
or do you also have hdmi1?

Hey, yeah that's correct I have HDMI 2, 3, 4 and the CEC toggle.

ok thanks

v2.4.3 is up
please add following option to your config.json:
"cecDevices":[
    {
      "title":"Player 1",
      "hdmiport":4
    }
]

forgotten to upload the Input.js file >.<
v2.4.4 is up

Hey! Pretty good, except it looks like my ATV CEC switch (extInput:cec?type=player&port=1) stays on when HDMI 1 (extInput:hdmi?port=1) is on. It turns off when ports don't match, e.g. HDMI 3. Not the end of the world, but looks like an oversight.

The uri to activate the cec device takes the plugin always from api, but i changed the code to compare the api with the cec device to fix the state plugin
if you change the hdmi port from i.e. 1 to 4, you need always change your config hdmiport, it can not detect automatically
by the way, 2.5 is up with new remote control function :)
i think we can close this issue now?

Oh, hmm... I thought I was hitting a bug but it's not reproducing anymore. What I was seeing is that HDMI 1 toggle would stay lit regardless of which HDMI the Apple TV was plugged into (i.e. two inputs lit simultaneously).
Anywho, since it's not happening anymore, yeah I think this bug is closed! Thanks!
Of to checking into this remote...


Add post method to OAuth2

+1

post_data will never be a string, so the else will never be invoked.

+1 A .post method similar to the existing .get is necessary for some cases, e.g. the new Dropbox API (v2).


Integration with WakaTime to log time working on Github projects

Just came across this awesome project: http://wakatime.com
It's a service that supplies numerous plugins for all common text editors, and logs the time your actually typing code. When integrated with Github it also logs the time you work on a certain commit.
they have a REST API (https://wakatime.com/developers/) so importing the data from there servers shouldn't be much of a hassle. Then we could opt to map the Github repositories to a project in hours.
I'm curious to see what your take is on this.

What is the different between Wakatime and Hours? I think that both projects have the same target. Let me know if I am wrong.

WakaTime is a service that uses a plugin in your code editor to estimate how much time you spent coding. It would be nice if the hours in wakatime could be imported to Hours

I really like this idea, gonna work on it tonight. Start with a simple poc rake task. But ideally you'd want to add waka time to your Hours profile so it automatically syncs.

Ok, I understood the direction of information was from Hours to Wakatimes and you said from waka to hours. Sound awesome for me!

only problem with services such as wakatime is that it's not really a good indicator of a programmers productivity. I've had days where I only edited code for 1/4th of the day, seeing as a lot of time goes to research, debugging in chrome etc.
We could also opt to look into integration with RescueTime as it also tracks time you spend on the web and other applications. I'm not sure if they have a good API though, and the service is paid only.

How would you expect the minutes > hours difference to work?
I'm not a huge fan of implementing this in Hours itself. Maybe we could expose an API and then services like Wakatime could use that?

Btw, I also think tools like WakaTime kind of go against the spirit of Hours. They focus on down to the minute time spent in your editor. I don't think this is interesting info for Hours, where we care approximately how much time spent doing a specific type of work.
I could spend an hour prototyping a feature where I spend maybe 15 minutes in my editor. What do I gain at the end of the month from seeing that I spent those 15 minutes in vim? Or even the combined time that I spent in vim doing Prototyping, Development, Design or DevOps? I don't see how it gives me more information that I'd need.
Tracking time like this seems like the type of thing they'd want me to do in some indian programming sweatshop (no offense whatsoever).

@jurre we could opt to either Ceil, or Floor based on a 30 min breaking period (1,5 hours becomes 2 and 1,3 becomes 1)
See my comment above, that were also my reservations, that time in editor is no good indication of programmers productivity.
and I didn't know you worked in an indian programming sweatshop :stuck_out_tongue: ? xD

I'm with @jurre on this, don't see it as something valuable to Hours

Maybe Hours can add a tag (programming) automatically? But, the rounded is a problem :/ For the Indian too XD

Yeah now that I think of it, these kind off metrics are fun for personal use but don't provide much insight for a project, and if you want repository based info then Github already provide that.
this issue is also related: #188 so we should close that one as wel if we decide to not implement this feature.

Gonna close this one for now :)


error from ListPipeline: line 1.966: unknown field name "input" in pps.Input

Upgraded to 1.4.6, starting from the master build you sent us a while ago:
> pachctl version
COMPONENT           VERSION
pachctl             1.4.6
pachd               1.4.6
> pachctl list-pipeline
error from ListPipeline: line 1.966: unknown field name "input" in pps.Input
> pachctl list-job
error from InspectJob: line 1.1034: unknown field name "input" in pps.Input

This also breaks delete-all.
The only workaround I've found is to delete everything manually, including the S3 bucket and underlying etcd volume.

@emk I think you likely just need to upgrade your pachctl as well.  Use pachctl version to see which version of pachctl you are using.

My bad I didn't see that you did pachctl version already.  I don't know what's going on then.

I believe this is a fairly isolated issue caused by the fact that there was some data lying around which was created by the 1.4.6 RC which had a slightly different schema from the actual 1.4.6 release. 1.4.6 should migrate smoothly from 1.4.5 but not from the RC state unfortunately.

Yeah, I spent about half a day running a recursive S3 delete to clear out all our Pachyderm FS and rebuild from scratch.

I believe this issue was due to the fact that we cut an RC for @emk before we released 1.4.6 publicly and the schema got tweaked in between. Sorry for the annoyance on this one @emk. Since this was an isolated issue that shouldn't be a problem again since I don't think anyone will be using that RC again I think I'm going to close this issue.


[WIP] Fix custom host role verbs

What type of PR is this?
/kind bug
What this PR does / why we need it:
non-existing permission lead to failure to create the role
Which issue(s) this PR fixes:
Fixes https://github.com/tnozicka/openshift-acme/issues/109
Does this PR introduce a user-facing change?:

NONE

/retest

/retest

looks like the update verb has to be removed as well:
 Error from server (Forbidden): error when creating "deploy/single-namespace/role.yaml": roles.rbac.authorization.k8s.io "openshift-acme" is forbidden: user "developer" (groups=["system:authenticated:oauth" "system:authenticated"]) is attempting to grant RBAC permissions not currently held:
{APIGroups:["route.openshift.io"], Resources:["routes/custom-host"], Verbs:["update"]}

I think that's a bug in OCP bootstrap policy, I saw update being checked in ingress admission. Need to look into it next week. I suppose I can ship it with only create for now.


[Docs] Update README

update README; we need better documentation

:tada: This issue has been resolved in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


afterUploadAll not working as expected

Here is the file that I'm working with for testing right now:  https://gist.github.com/Amadeus-/aeb88c623eab08031347      ...Everything seems to be working exactly right (and exactly how I expect), except for the afterUploadAll event never seems to fire.   I don't see it firing if I upload just one file or several files simultaneously.
Is it possible that the afterUploadAll event doesn't fire if autoSubmit is false?
(I am in the process of learning your jquery and your jquery plugin simultaneously, so please don't judge my ugly script test script!)

Hello,
Thank you for contacting Folksy Support. We aim to respond to
queries within one working day but we will get back to you as
soon as possible.
Our standard Support hours are 9am GMT/BST to 5pm GMT/BST
Monday-Friday.
Please note that we offer limited support at the weekends and on
UK Bank Holidays:
https://www.gov.uk/bank-holidays ( https://www.gov.uk/bank-holidays )
While you are waiting, please take a look at our Knowledge Base
for answers to our most frequently asked questions:
http://folksy.uservoice.com/knowledgebase ( http://folksy.uservoice.com/knowledgebase )
If your enquiry relates to a service-critical issue out of office
hours (e.g. your shop has been restricted and you are unable to
process orders), please email us at<EMAIL_ADDRESS>(
<EMAIL_ADDRESS>)
Thank you,
Folksy Support

Email<EMAIL_ADDRESS><EMAIL_ADDRESS>)
Helpdesk (buyer and seller FAQs): http://folksy.uservoice.com/ ( http://folksy.uservoice.com/ )
Blog (including seller tips): http://blog.folksy.com ( http://blog.folksy.com )
Forums (talk to our community): http://talk.folksy.com ( http://talk.folksy.com )
On September 07, 2015 at 3:52 AM hayageek/jquery-upload-file
wrote:
Here is the file that I'm working with for testing right now:
https://gist.github.com/Amadeus-/aeb88c623eab08031347 ( https://gist.github.com/Amadeus-/aeb88c623eab08031347 )
...Everything seems to be working exactly right (and exactly how
I expect), except for the afterUploadAll event never seems to
fire. I don't see it firing if I upload just one file or
several files simultaneously.
Is it possible that the afterUploadAll event doesn't fire if
autoSubmit is false?
(I am in the process of learning your jquery and your jquery
plugin simultaneously, so please don't judge my ugly script test
script!)

Reply to this email directly or view it on GitHub:
https://github.com/hayageek/jquery-upload-file/issues/64 ( https://github.com/hayageek/jquery-upload-file/issues/64 )
Powered by UserVoice. ( http://www.uservoice.com/powered-by?utm_campaign=poweredby&utm_medium=email&utm_source=ticket&uv_company=Folksy&uv_contact_url=folksy.uservoice.com&uv_experience=email )

Hi,
Can you host the files and send me the URL ?
validation is working fine in the form ?
Check this . it is working in my website. I have removed validation logic.
http://hayageek.com/examples/jquery/jquery-multiple-file-upload/testbed/one.html
On 7 September 2015 at 10:52, Amadeus<EMAIL_ADDRESS>wrote:

Here is the file that I'm working with for testing right now:
https://gist.github.com/Amadeus-/aeb88c623eab08031347 ...Everything seems
to be working exactly right (and exactly how I expect), except for the
afterUploadAll event never seems to fire. I don't see it firing if I upload
just one file or several files simultaneously.
Is it possible that the afterUploadAll event doesn't fire if autoSubmit is
false?
(I am in the process of learning your jquery and your jquery plugin
simultaneously, so please don't judge my ugly script test script!)
—
Reply to this email directly or view it on GitHub
https://github.com/hayageek/jquery-upload-file/issues/64.

Thank you so much for looking into it.
I have it hosted at http://maestro.isxgames.com/test/ currently.   The validation (and the uploading) all work as far as I can see, and I'm not seeing any errors in the Chrome "inspect element" console, etc.   The only thing that is problematic, is that one event.
I do see that it works on your version -- hopefully it will be obvious what is causing the problem.   If you need to see the upload.php I'm using, it's at http://maestro.isxgames.com/test/upload.txt    I really haven't done much with it yet other than testing things, so it's pretty much your sample plus a bunch of as-yet unused variables.
Also, rather than open another issue, I noticed that once you click the "upload" button (in this version I'm using), adding any other files has them upload automatically right away.   It's as though once you use startUpload() ..then the false 'autoSubmit' doesn't seem to apply anymore.    I can probably code around this (and, it could be that this functionality might be good in the end); however, I thought it worth mentioning.   If you designed it this way on purpose, then please disregard my comment, as I'm sure it's just fine as it is.
Thanks in advance!

For me validation is failing in Firefox.
What fields i need to select for "Instrument", "Ensemble"

That is strange -- it works fine in Chrome.   I'll have to download Firefox and determine why the validation doesn't work.   I followed pretty simple jquery howtos on form validation that I found, so it didn't occur to me that there might be browser incompatibilities.
I'll test it with firefox and reply back here if I have the validation fixed and it's still an issue with the event.
Thanks!

OK -- I fixed the form validation at http://maestro.isxgames.com/test/ and it is now working with Internet Explorer, so I hope it will work for you in your browser.    (What's strange is that it shouldn't have worked in Chrome...but did, for some odd reason.)     Anyway, the event issue is still present, so hopefully you'll be able to properly test it and see the problem.
Again, sorry for the inconvenience earlier.

Strange. Same code is working in my website :(
Working:
http://hayageek.com/examples/jquery/jquery-multiple-file-upload/testbed/one.html
Can you take this latest javascript plugin.
http://hayageek.com/examples/jquery/jquery-multiple-file-upload/testbed/jquery.uploadfile.min.js
On 7 September 2015 at 19:55, Amadeus<EMAIL_ADDRESS>wrote:

OK -- I fixed the form validation at http://maestro.isxgames.com/test/
and it is now working with Internet Explorer, so I hope it will work for
you in your browser. (What's strange is that it shouldn't have worked in
Chrome...but did, for some odd reason.) Anyway, the event issue is still
present, so hopefully you'll be able to properly test it and see the
problem.
Again, sorry for the inconvenience earlier.
—
Reply to this email directly or view it on GitHub
https://github.com/hayageek/jquery-upload-file/issues/64#issuecomment-138278728
.

OK, so yea, I guess that's the issue.    Version 3.1.10 (from the link you provided) does work ...however, version 4.0.4 (from github) does not.   Did you test it with the version from github?
Honestly, I was just doing a clone of your git locally so I could make sure that I always had a copy available on the local server.  It never occurred to me that the version on github would not be the one you'd want us to use.
Anyway, I can use the version you provided!    Let me know when it's fixed on the latest version and I'll do a 'git pull' and go back to using the latest version.   Thanks!

Finally fixed issue.
Get the latest code
or
http://hayageek.github.io/jQuery-Upload-File/4.0.5/jquery.uploadfile.min.js

Please let me know the issue. I will check GitHub version also
On Tuesday, 8 September 2015, Amadeus<EMAIL_ADDRESS>wrote:

OK, so yea, I guess that's the issue. Version 3.1.10 (from the link you
provided) does work ...however, version 4.0.4 (from github) does not. Did
you test it with the version from github?
Honestly, I was just doing a clone of your git locally so I could make
sure that I always had a copy available on the local server. It never
occurred to me that the version on github would not be the one you'd want
us to use.
Anyway, I can use the version you provided! Let me know when it's fixed on
the latest version and I'll do a 'git pull' and go back to using the latest
version. Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/hayageek/jquery-upload-file/issues/64#issuecomment-138435021
.


Add doc on OpenStack provider

This documentation is related to pull request: https://github.com/kubernetes/kubernetes/pull/21737

@zreigz, please, note that OpenStack CLI clients like python-<PROJECTNAME>client are going to be deprecated soon in favor of universal openstack CLI client - https://specs.openstack.org/openstack/openstack-specs/specs/deprecate-cli.html.
I suppose, it will be useful to modify your existing documentation with these updates.

Thanks for comment. I've already added this information

As we have discussed on Kubernetes/OpenStack-SIG Slack channel and bi-weekly meeting, the "default" OpenStack provider for kube-*.sh scripts has to be technology agnostic and be able to run on any OpenStack environment (no Heat, no Magnum, no Murano, only "basic" OpenStack components).
I'd like to suggest to put this document to the "Custom solutions" section and name as "OpenStack with Heat" or something similar.

Yeah, once the kube-up provider gets merged, we should ping someone to merge this.
Also, to bypass CLA-bot: I consent to have this commit merged in.

@elsonrodriguez @zreigz please, add to the prerequisites section information about the cluster minimal requirements to deploy the solution (cluster size requirements, necessary components to be enabled, i.e. Heat etc.)

@idvoretskyi PTAL

@quinton-hoole PTAL, now that the kube-up provider is merged, we need an M for people to RTF out of.

@elsonrodriguez Minor nits.  Happy to address those in a separate PR.
@johndmulhausen Needs your docs approval, I believe.  I did not spot any egregious errors, but you might want to double-check.

We can fix any problems in follow-ups.


How to find out the pellematic software version

I hope this is not OT, bit I'm struggling finding out which software version my pellematic controller unit has. When looking into the pellematic app I'm getting
Touch
V3.00b
04112019
Is this sufficient to use the integration?
Thank you in advance

Hi,
it looks like a very old version. You can see it in the app here:

If you are able to activate the JSON-Interface the integration should work 👍

Sorry for being late with my answer: The version is Touch V3.00c.
I've attached the output of
curl http://my-heaters-ip:4321/myjsonpwd/all > all.json

all.json

Hi, I don't know if the version could cause any problems, I still recommend you to do an update of the system, what model do you have?

@dominikamann @lucaferrucci It's an a 22 years Pellematic 15, where the original Simatic controller was replaced by the current controller with touch display approx. 6 years ago.
But the homeassistant integration is not very important for me, as the Pellematic will be replaced by a heat pump next year.

ahh, ok

Il giorno 31 lug 2024, alle ore 14:51, Dietrich Streifert @.***> ha scritto:
@dominikamann https://github.com/dominikamann @lucaferrucci https://github.com/lucaferrucci It's a 22 years Pellematic 15, where the original Simatic controller was replaced by the current controller with touch display approx. 6 years ago.
But the homeassistant integration is not very important for me, as the Pellematic will be replaced by a heat pump next year.
—
Reply to this email directly, view it on GitHub https://github.com/dominikamann/oekofen-pellematic-compact/issues/60#issuecomment-2260450715, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LNND4STEVBFAZSIX2ZVVDZPDMT3AVCNFSM6AAAAABLF24OG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQGQ2TANZRGU.
You are receiving this because you were mentioned.

If I look at the json file, it look not that bad. So it should work at least partially. You just have to try it out ;)


UIScreen.main.bounds.size.width return 0 on rotation

i used "UIScreen.main.bounds.size.width" like this:
contentSizeInPopup = CGSize(width: UIScreen.main.bounds.width, height:UIScreen.main.bounds.height - 80)
        landscapeContentSizeInPopup = CGSize(width: UIScreen.main.bounds.height, height: UIScreen.main.bounds.width - 80)

but, if you rotate the screen, the library goes into error saying that both dimensions are 0
Can You help me?

@SalvatoreAD Could you paste the stack trace here?

I solved using the native view controller. thanks anyway.


Trt_async - multiple models

@jkjung-avt Thank you for putting together this demo - I think it's one of the best ones on the Nano so far.  Quick question - I'm trying to add another serialized model after the ssd  engine.  I've basically reproduced the TrtSSD class and instantiated it with a different serialized model.
logger.info('TrtThread: loading the TRT SSD engine...')
self.cuda_ctx = cuda.Device(0).make_context()  # GPU 0
self.trt_ssd = TrtSSD(self.ssd_model, Config.INPUT_HW)

logger.info('TrtThread: loading the face Detection engine...')
# self.cuda_ctx = cuda.Device(0).make_context()  # GPU 0
self.trt_face = faceTRT(self.face_trt_model, (1, 3, 256, 256))
logger.info('TrtThread: start running...')

self.running = True
while self.running:

    frame = self.cam.read()
    boxes, confs, clss = self.trt_ssd.detect(frame, self.conf_th)

    inputs, origin_img, center, scale = PreProcess(frame, bboxs, scores)
    inputs = inputs[:,[2,1,0]].numpy()
    faces = self.trt_face.detect(inputs)

I'm able to load both the TrtSSD class and my new model at the same time, but when I feed the results of the SSD into my new model, I get the error:
terminate called without an active exception
Aborted (core dumped)
Not a whole lot of help.  I'm wondering how you would set up the Trt_async model to run two models one after the other? It seems like my memory footprint is also pretty large, and i'm wondering if the two models should share more resources/context?

Could you simply the code to a single-threaded implementation to see if you still get the same problem?

Any update on this?  Or could I close the issue?


Move serving API

Before we add much more code we should nail down our API. Compiling thoughts on what it should look like here:

Make our own api version domain (don't use serving.knative.dev). operators.knative.dev?
Rename KnativeServing type to Serving.
I think the internal spec is fine to build off, agree?

What about operator.serving.knative.dev?
We will probably have  operator.eventing.knative.dev in future. Shall we use the template
operator..knative.dev?

+1 for what @houshengbo suggested.
being able to differentiate between the different Knative components will be relevant once they are ready for operators.

We struggled with this internally: https://github.com/openshift-knative/knative-serving-operator/issues/17
And as the comments in there suggest, I think it's worth it to consider the effects the name will have on UI's.
Personally, because "operator" is already such an overloaded term, I think calling the custom resource that the operator watches "operator" will be confusing. To me, the word "operator" (like "controller") connotes a running process, rather than a CRD. It would be akin to naming a CRD "controller". :smiling_imp:
I didn't love what we first called it (install) but that is what the CRD represents: an installation of Knative Serving. I don't particularly love KnativeServing either, but it did make more sense in the OpenShift web console. Though it was weird because the CRD wants a plural name and dealing with "servings" of knative... kinda made me hungry. :smile:
I don't have a good suggestion -- naming is hard and I already mentioned we struggled -- but I don't think the custom resource itself should be called "operator".


amazing & awesome!!

Superb theme! i loved it !! :smiley::smiley::smiley:

Thank you. Glad you liked it. :)


Header Toggl icon should open up Toggl web app

It should also log in the user. Similar functionality to Reports link should be used

The library api currently has an OpenInBrowser() call, which opens the reports.
Should clicking the icons send the user to the reports as well? In that case this is trivial.
If it should send the user to the timer or some other page, this has to be implemented in the library.

Let's use the same call and redirect user to reports if Toggl icon is clicked.


chore: Allow currency and phone dial code change

Fixes #38091

Summary by CodeRabbit

New Features

Added new props for enhanced styling and functionality in various components, including className and maxHeight.
Introduced dropdown menus for currency and ISD code selection in the CurrencyInput and PhoneInput components.
New story added for the TextField component showcasing prefix and suffix usage.

Bug Fixes

Improved conditional rendering for input elements based on prop values.

Style

Significant updates to CSS for input and select components, enhancing layout and visual feedback.
New CSS classes added for ComboBox and styling adjustments for existing classes.

Documentation

Updated property configurations for widgets to include new toggle options for currency and dial code changes.

[!WARNING]
Tests have not run on the HEAD e4a075ed721fe7ba975cc8bc35a6f95ee5d59500 yet
Tue, 17 Dec 2024 07:04:54 UTC

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

@KelvinOm added on useRootContainer hook as well and used it in select, menu, combobox.


<IP_ADDRESS>912 build

Initial commit to build package
JIRA Ticket: https://anaconda.atlassian.net/browse/PKG-165

Going to update from <IP_ADDRESS>912 -> <IP_ADDRESS>003
Related to older PR for older build: https://github.com/AnacondaRecipes/pandas-stubs-feedstock/pull/3


Add command-line control for logrus log-level

Adds --log-level to the serve command, setting the logrus log level.
Fixes #556
Signed-off-by: Matt Alberts<EMAIL_ADDRESS>

@mattalberts thank you for your PR. I'd prefer not to merge this at this time for two reasons

We haven't reached a decision on #556, i'd prefer to discuss the motivations for changing the logging level. I suspect it's because contour logs are too verbose, in which case, lets talk about that first before putting pen to paper.
Related to the previous point, i'd prefer to see most of the contour logging output converted to metrics; specifically the current output related to gRPC messages.

Closing based on https://github.com/heptio/contour/pull/557#issuecomment-406193440.
We will continue the discussion #556


Create Contributing.md file and add proper guidelines.

I want to work on this. Please assign me.

@Pragya2056 , Awesome !!
Go ahead.

#15
The issue is looked in the above PR

You can close the issue now.


178 datacollection from userdict wbaccinelli

This bug fixes (?) the equality and equivalence checks for DataCollections introduced in #182.
Because the formal tests have not been entirely rewritten this is not extensively tested yet. Equivalence and equality were both tested ad hoc, as well as concatenation of two DataCollections.
Also adds concatenation of Sequence.continuous_data and Sequence.sparse_data (required for testing this).
I propose merging this now to prevent bugs blocking usage of main.

@DaniBodor Thanks for the great comments.
I addressed all the comments. I added some logic as well, seeing that there were some things missing in eq.

I rebased this onto main, so that I can rebase #164 onto this without causing weird double conflicts


inconsistent entry statuses

summary
sometimes an entry shows as complete, even when the relationship hasn't been formed. or maybe some other related job has failed.
this might be because of the mixed use of last_run and current_run, or because statuses aren't always getting set on an entry.
example
as is, the CreateRelationshipsJob adds an error to the parent_entry, but if that parent_entry isn't found...the error is never set and so the entry will show as "successful", although it was not related to the parent properly.

need to test if this is still an issue.


Allow root to create sub-certificates in x509

We should expand the functionality of the build_x509_skeleton function (and the various wrappers of it) to allow non-self-signed certificates to be created.
This should only require:

Make build_x509_skeleton take two common_name_as_string parameters, one for the subject of the certificate and one for the signer (see the build_tbs_certificate function for where those two uses occur).
xtt_x509_from_ecdsap256_keypair can remain the same, but renaming it and its parameters might make things clearer (e.g. the public key and the private key aren't necessarily linked). Or perhaps keeping (with just one common name input, to be used for self-signed certs) it but making a clone, that's renamed and has differently-named parameters.

A similar renaming/cloning for the tool

@zanebeckwith
Could you explain why this change is needed / how it will be use?
I'm not disagreeing with expansion --- just want the implementor to know where/how it will be used.


Update references automatically

The idea is to have a bot that would trigger a PR in order to update the references when a new article cites SCT"

duplicate of https://github.com/neuropoly/spinalcordtoolbox/issues/3169


Exit if WebSocket is not supported

On browsers without WebSocket support, exception gets thrown when LiveReload tries to add the LESS plugin.

Hi @xomaczar
We now use livereload-js package from npm to host that file, thanks to #65. If it still relevant, I encourage you to do a similar PR to livereload-js repository


AAC stuck on loading V14.0.0

Hi,
We’ve recently upgraded our REDCap version to 14.0.0 and it seems that shortly after the Address Auto Complete has stopped working on our end. We were wondering if this something someone else may have raised ?
EM v3.4.0
REDCap v14.0.0
API https://getaddress.io/
Below is the JS console message.
jQuery.Deferred exception: drop_downaddEventListener is not defined ReferenceError: drop_downaddEventListener is not defined
at HTMLDocument. (https://itm-dev.redcap.bham.ac.uk/redcap_v14.0.0/DataEntry/index.php?pid=75&id=2&event_id=381&page=address_em:878:2)
at c (https://itm-dev.redcap.bham.ac.uk/redcap_v14.0.0/Resources/webpack/js/bundle.js?1701361928:2:390551)
at u (https://itm-dev.redcap.bham.ac.uk/redcap_v14.0.0/Resources/webpack/js/bundle.js?1701361928:2:390853) undefined
D.Deferred.exceptionHook @ bundle.js?1701361928:2
bundle.js?1701361928:2 Uncaught ReferenceError: drop_downaddEventListener is not defined
at HTMLDocument. (index.php:878:2)
at c (bundle.js?1701361928:2:390551)
at u (bundle.js?1701361928:2:390853)
2main.js?1682385680:203
REDCap crashed due to an unexpected PHP fatal error!
Error message: Uncaught Error: Failed opening required 'modules\address_auto_complete_v3.4.0\sources./../classes/source.class.php' (include_path='.;redcap_v14.0.0\Libraries\PEAR;.;C:\php\pear') in modules\address_auto_complete_v3.4.0\sources\getaddress_io.source.php:4
Stack trace:
#0 modules\address_auto_complete_v3.4.0\addressAutoComplete.php(558): include_once()
#1 modules\address_auto_complete_v3.4.0\addressAutoComplete.php(503): STPH\addressAutoComplete\addressAutoComplete->getMappedResultsBySource()
#2 modules\address_auto_complete_v3.4.0\requestHandler.php(15): STPH\addressAutoComplete\addressAutoComplete->mapResults()
#3 redcap_v14.0.0\ExternalModules\index.php(146): require('E:\redcap\modul...')
#4 {main}
thrown
File: modules\address_auto_complete_v3.4.0\sources\getaddress_io.source.php
Line: 4

@nadha25 thank you for reporting this issue.
Can you please update to the latest version of the module and check if the issue persists?
I suppose this has been resolved here: https://github.com/Research-IT-Swiss-TPH/redcap-address-auto-complete/commit/234461485e453b6ec9840d4ef2a18716b785d028

Closing since there was no more response. Feel free to reopen in case the issue still remains @nadha25 .


[Event Request] Table 5050 Contact - Procedure ShowBusinessRelation - OnAfterFilterBusinessRelations

Describe the request
Please add the following Event/-s OnAfterFilterBusinessRelations to procedure ShowBusinessRelation in Table 5050 Contact
Table 5050 Contact - Procedure ShowBusinessRelation

    var
        ContBusRel: Record "Contact Business Relation";
        RecSelected: Boolean;
        IsHandled: Boolean;
    begin
        FilterBusinessRelations(ContBusRel, LinkToTable, All);

        OnAfterFilterBusinessRelations(Rec, ContBusRel, LinkToTable, All); <-- NEW EVENT

        if ContBusRel.IsEmpty() then begin
            ShowBusinessRelations();
            exit;
        end;

        if ContBusRel.Count() = 1 then
            RecSelected := ContBusRel.FindFirst()
        else begin
            PAGE.Run(PAGE::"Contact Business Relations", ContBusRel);
            exit;
        end;

        IsHandled := false;
        OnShowCustVendBankOnBeforeRunPage(Rec, RecSelected, ContBusRel, IsHandled);
        if IsHandled then
            exit;

        if RecSelected then
            ContBusRel.ShowRelatedCardPage();

        OnAfterShowCustVendBank(Rec, ContBusRel, RecSelected);
    end;

	[IntegrationEvent(false,false)]
	local procedure OnAfterFilterBusinessRelations(var Rec: Record Contact; var ContBusRel: Record "Contact Business Relation"; LinkToTable: Enum "Contact Business Relation Link To Table"; var All: Boolean)
	begin
	end;

Additional context
Apply additional filters i.e. to exclude non-standard LinkToTable-Values.
Internal work item: AB#539824

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 21487.


feat: generic address form context and helpers

The type of this PR is: feat
This is split off #12834 and completes EMI-1414 by creating a new address form context that can be used to place a similar address form (or just base address form logic) in multiple areas of the app.

AddressFormWrapper is a formik context that expects address values to be present, but can be extended with a wider type
Supports custom validation logic
Bring your own fields or import and provide container for a default set of them

Added tests demonstrating usage, but there seem to be some quirks working with formik and @testing-library/react. Need to revisit this.
See the bigger discussion below on whether this is really necessary. Off the top of my head, enhancements that move the needle of justification will be:

Prop to limit available countries (current implementation leaks shipping dependencies)
Add props to enable autocomplete and [maybe] address verification

TODO:

[ ] Finish tests
[ ] Demonstrate implementation in a PR to this PR

Thanks for the overview, really helpful 👍 I'll ping you in slack in a bit we can go over a few different angles just so I fully understand. This isn't blocking any work, right?

@dzucconi - if you have a sec, curious about your thoughts here

Looking over https://github.com/artsy/force/pull/9248 to see if that is a better base for this work. I think the key difference to extract would be the layouts and the nesting of the address inside formik values.attributes.

Yeah @erikdstock - looking over the form in that PR, that's exactly what i'm talking about in my comments -- there's nothing abstracted there. Its just a form that takes props and inside is a normal formik component doing totally normal things. Even just duplicating the shipping address form and using it for your needs would be totally fine. Duplication is ok if the code is simple. The point is that its easy for others (than yourself) to understand years down the line.

Closing for now, the POC worked but it makes more sense to tackle things in a different order. Thanks for the reviews and convo @damassi!


How to reverse proxy with custom url path?

I try to get access to memos on custom url path with nginx proxy_pass (https://somedomain.xyz/memos)
        location /memos {
            proxy_pass http://<IP_ADDRESS>:5230$request_uri;
        }

but all requests like a /sw.js  failed with 404, because it calls root url instead my path /memos/sw.js

How can i use memos behind a reverse proxy?

I think a better way is using the subdomain like 'memos.domain.xyz' but not 'domain.xyz/memos'.

Hi, you can use this docker compose file to have a reverse proxy setup.
version: "3.0"
services:
  nginx-proxy:
    image: nginxproxy/nginx-proxy
    ports:
      - "80:80"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
  memos:
    image: neosmemo/memos:latest
    container_name: memos
    volumes:
      - ./db/:/var/opt/memos
    ports:
      - 5230:5230
    environment:
      - VIRTUAL_HOST=memos.local
      - VIRTUAL_PORT=5230

And edit /etc/hosts file if you are in a local development environment. Or just point your domain to server IP.


[Central] - Onboarding Modal

Onboarding modal for Central that follows https://github.com/rightoneducation/righton-app/issues/455

Replace QR code with:

Move Skip Button Down


not an issue just a question

Is it possible to add haproxy after a fully set up and configured system? I was trouble shooting some camera issues so I removed the entire setup reinstalled without haproxy then realized MY mistake with the cameras and now rather than reinstalling everything would like to just install haproxy. Is this possible without full reinstall?

Not in an automated way, I'm afraid. It could be done manually, but it would be a fair bit of editing /etc/haproxy.cfg

Ok no problem thanx for the quick response.


On create, use db provided id only if not specified in the model

This PR fixes a problem I've had using this connector on a model which specifies an id value to be used as primary key (i.e. id is not autogenerated by db). The original implementation always overwrites the id specified in the model with "lastUpdatedID" which is Sqlite3's ROWID value.
This causes problems in hooks, where an insert with a model specifying an id, results in an answer which contains a different id that cannot be used to work with the original model.
Consider this model definition:
  "name": "sensor",
  "plural": "sensors",
  "base": "PersistedModel",
  "idInjection": false,
  "strict": true,
  "options": {
    "validateUpsert": true
  },
  "properties": {
    "id": {
      "type": "string",
      "id": true
    },
    "model": {
      "type": "string"
    }
  },
  "validations": [],
  "acls": [],
  "methods": []
}```

On create, if you specify:

```{ "id":"myuniqueid", "model":"some model" }```

the resulting data is:

```{ "id":1, "model":"some model" }```

But the problem is that id's value 1 cannot be used to work with the model since the effective id in the DB is "myuniqueid".

This PR returns the original id if present in the model, or "lastUpdatedID" if not present.
All tests pass.

@bragma: The update looks good. I will try/test the same and update the repository as soon as possible. Thanks.

Thanks for the pull!


Testing editor decorations for multiple overlapping vscode.TestItem's cannot be distinguished

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

Version: 1.66.0
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:04.419Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.4.0
Steps to Reproduce:

Have a test controller register two items in the same location.
Click in the testing gutter icon and observer that multiple items are listed, but cannot be distinguished.

In this case I have the following structure:
* ButtonsUnitTests_IOS_LATEST
  * ButtonsUnitTests
    * testIncrementLabel
* ButtonsUnitTests_IPHONE_X_LATEST
  * ButtonsUnitTests
    * testIncrementLabel

These two test targets are parameterized to run with different configurations, so they appear as 2 different tests but have the same source location.
This could happen with other structures, anything that results in 2 test items having overlapping locations.

We generally expect test extensions to generate distinct labels for the tests so that they can be distinguished, but in your case you have two tests with identical labels/names. How would you suggest fixing this?

I'm not sure, I might refactor how we manage to create multiple configurable profiles instead of multiple top level TestItems, but I think the general problem could still happen.
If there is more than 1 test at a location, you could have the UI show the same structure as the test items, that might help.
For example, either using the label:
ButtonsUnitTests_IPHONE_X_LATEST > ButtonsUnitTests > testIncrementLabel

So, for reference, there is one other easy way to make this happen with a class based test system like XCTest.
If I have a structure like:
class CommonTestCase: XCTestCase {
  func testCommonBehavior() {} // in XCTest any method starting with `test` is a test case.
}

class SpecificTestCase: CommonTestCase {
  func setUp() { /** specific setup condition */ }
  // inherits testCommonBehavior
}

class AnotherSpecificTestCase: CommonTestCase {
  func setUp() { /** specific setup condition */ }
  // inherits testCommonBehavior
}

In the above example, you might end up with a vscode.TestItem structure like:
CommonTestCase
  * testCommonBehavior
SpecificTestCase
  * testCommonBehavior
AnotherSpecificTestCase
  * testCommonBehavior

So, that would pretty trivially replicate this issue of multiple test items having the same location in a more compact way than my initial post.

One approach we could take is to implement something like

Get a list of (currentLabel, testItem)
while at least two test have the same currentLabel

set the conflicting tests' currentLabel = parent + currentLabel

Code pointer: https://github.com/microsoft/vscode/blob/ed06c9f3cf1fdbabd692df48d8c0dfd993b17434/src/vs/workbench/contrib/testing/browser/testingDecorations.ts#L821

Hi everyone, I'm currently working on this issue :)

This bug has been fixed in the latest release of VS Code Insiders!
@ashgti, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version cc098faebd320a2eea3da6ae154b7e2e1347a4b9 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

Verification steps:

Use the selfhost test provider in the VS Code repo
Add this line to any .test.tssuite('hello', () => { test('a', () => {}); test('b', () => {}) }); suite('goodbye', () => { test('a', () => {}); test('b', () => {}) })

Right click on the gutter decoration and verify that the suite and tests are distinguishable


Dashboard Compact Large Mode

This PR closes #167726346, by:

Updating Dashboard to match designs
Adding a scrollTo callback to decide which version use

Extra:

Marking as ready to review even when there is an alignment problem with the amount in the large mode


[Debug] Allow to list variables asynchronously

Use Case:
In Java Debugger, we have added some features to display some additional information about object variables. For example, displaying info about the size of a collection, and displaying the toString value of a class that overrides the toString() method. A side effect is that these properties require some extra calculation in the debuggee to get them , and can be slow on some large objects. In particular, getting the toString value of a large object can be very slow. Currently, variable responses must be returned in a single request, and in some bad cases, the user could wait for a long time to get the variables being displayed in Variables view.

One idea is to support listing variables asynchronously. For example, in a Variables response, we could first return the basic variable properties and display some placeholders (e.g. loading...) for those that are not yet ready. Once the debugger gets them, use some event (e.g. refreshVariableEvent) to notify the client to refresh a node.

Kind of related to the way that the variables pane doesn't update when I modify a variable in the debug console, but the runtime might know that it was updated. I think there was a request for that at some point.

@testforstephen the somewhat related request #134450 asks for making additional information available via an explicit UI element and gesture. So a VS Code could show an ellipsis (…) next to a variable value where additional information is available. Clicking on the ellipsis would load the information (in your case the expensive toString()) with an additional (variables) request.
The advantage of this approach: no new DAP protocol for a variables event needed, and expensive toString() requests are only triggered when the user explicitly asks for them (instead of automatically triggering many expensive toString() requests and discarding their results if the user has already hit the "next" button...)
Would this approach still address your problem?

Yes, my issue is similar to #134450. The proposal you mentioned seems more feasible and can solve my problem. One concern is how does the user aware of ... is clickable? Maybe we can have some mockup to see how it looks like.

@testforstephen great, then let's first tackle #134450 and if that turns out to be not a good solution for your case, then we can work on "asynchronous variable updates".

@testforstephen the February release has a first cut of a "lazy variables" feature.

It would be great if you could try this for Java and provide feedback.
What you have to do is explained here.

@weinand Sure, let me play a little. thank you for your excellent work.

@weinand I just tried the feature, and it works great!👍
And I just notice that if VariablePresentationHint.lazy is set to true, although we have a valid string in the value of the response Variable, it will be ignored, and VS Code will just show an ellipsis.

for an example, we can calculate StringContains@12 in a short time but for the following part (details in the square and children information) we want to make it lazy. Can we just show
d: StringContains@12 (...)

here, instead of
d: (...)

It would be great to show more thing we can get to the users.

@CsCherrYY yes, your proposal to show the value property and the ellipsis sounds reasonable.
@roblourens @connor4312 what do you think?

Sounds reasonable to me too. I haven't gotten to testing this out yet, though there's probably some useful info we could show in Dart before evaluating (for example the static type).
I presume this would be optional though, and it's possible to just have the ellipsis too.

@DanTup the value property is not optional (for historical reasons), but its comment already says:

An empty string can be used if no value should be shown in the UI.

The value is shown in the tooltip currently at least. I wonder whether it would be too much noise in cases like js-debug where value can have a lot of text

Yes, showing the getter's source as the value would result in too much noise.
So a DA must make a careful decision what to use as the value when adding the lazy flag.
@connor4312 what do you think?

@CsCherrYY @DanTup what do you think about @connor4312's idea to show the value as a suffix?

And if it matters, we probably plan to replace the ... with a real button with some icon, too https://github.com/microsoft/vscode/issues/143602 although I am increasingly getting used to (...).

Mixing (...) between the name and the value is a little weird for me. To simplify the client-side recognition logic, I like to display (...) as a separate UI element. Either a real button or using a different style like below .

Sorry I don't follow, what is the screenshot showing?

Sorry for not being clear. The variable screenshot is from other IDE, I use it to demo how it might look like to show a (...) after the value part (refer to the look of Collecting data... ).  Giving it a different css style can make it more distinguishable.

hi @weinand , I have another problem when implementing this. Since there are two requests on resolving the lazy variable, I found it's hard for us to distinguish which request is for lazy resolving and which request is for resolving children.
We just used a flag to mark if this variable needs to be lazy resolved. if this flag is true we will first return the lazy value and second return the children.
But if we add something to the watch view or the debug console panel, all the lazy variables in the Variables view will refresh and reset the status to unresolved. We can't keep sync with the correct status of the variables since the server isn't aware of this refresh. How can we response the new request from resolving lazy variables in the Variables view now? Do you have any comments?

@CsCherrYY using state ("a flag") on your backend variable is calling for trouble. Don't do this.
I suggest to introduce an intermediate object instead:

when an expensive Java variable needs to be converted into a DAP variable, first create an intermediate object in memory (a "proxy") instead, that "knows" how to do the evaluate on the real Java variable. Then create the DAP variable for it and set the "lazy" flag to true.
Later when the user triggers the lazy evaluation, the DA receives another variables request that refers to the intermediate object. Let the intermediate object do the evaluation and return its children as DAP variables.

With this approach no state is needed and sync issues are impossible.
Please note that the "intermediate object" approach was our recommendation already before we introduced "lazy" variables last month. Previously the "intermediate object" was just visible in the UI (which was a bit confusing).
Please see here how the "intermediate object" looks and behaves.
If you want to make sure that your new implementation works in old versions of VS Code (which don't support "lazy" variables), I suggest that you disable the "lazy" flag on the DAP variable and then verify that everything still works fine.

@CsCherrYY @DanTup what do you think about @connor4312's idea to show the value as a suffix?

Sorry, I missed this before. I agree that a suffix would look better in the collapsed form:
myDate: (...) DateTime

I presume in the expanded form, it remains there? eg.:
myDate: [value from child project] [value from wrapper]

@weinand thanks for the detail clarification and guidance! I'll have a try and verify it

Hey @weinand, we have just released the lazy variables feature in Java Debugger, and want to share some user feedbacks on the lazy variable user experience.

The new variable view hides more information than just the toString() value. Cannot see class name any more. This is a reasonable concern, and we have discussed this above.

Java Debugger
Variable View

Before

After

Since variables are not shown >,  users no longer realize that they can expand this variable further.

Users want to have a setting to turn off the lazy loading behavior. Consider that lazy loading is not a Java specific feature, can we ask VS Code to provide such a setting?

@testforstephen thanks a lot for trying lazy variables and providing very helpful feedback
The last item is already planned for April: https://github.com/microsoft/vscode/issues/144861

Pushed a change to show the value next to the new icon. I think that is the only issue here that is not covered by another issue.

@connor4312 if you want to make any changes here for js-debug you can do that and verify thsi


fix typo in README.md

In preprocessing data, the parameter in rename_coco20i_json should be instances_path not instances-path as specified in cli.py

Thank you @vincentme


Correction for raw affiliation Independent Scholar, Granada, Spain

Correction needed for raw affiliation Independent Scholar, Granada, Spain
raw_affiliation_name: Independent Scholar, Granada, Spain
new_rors:
previous_rors: 0370sk906
works_examples: W4380715218;W4380838805;W4380838949;W4380838793;W4380838953;W4380838963;W4380838981;W4380838985;W4380838994
contact: 7746b4b66043286ff7282b6bf081222b:47edd81fb3c8744d81738656f3f74f @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


getting "Your PC/Device needs to be repaired" during the first boot after the Windows 10 installer has rebooted

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Describe the issue
I am targetting windows 10 and have tried the instructions from https://docs.getutm.app/guides/windows/
once the windows installer has finished and reboots the machine, I am getting the following screen

I have tried the process with 2 different Windows 10 images

one obtained with CrystalQuest
one obtained here https://www.microsoft.com/fr-fr/software-download/

and I am surprised to be getting the same symptom in both cases (down to the file name and error code)
this is on a macbook pro Intel, and for example the downloaded crystalquest image is named
19045.2965.230505-1139.22h2_release_svc_refresh_CLIENTCONSUMER_RET_x64FRE_en-us.iso
I feel like I'm doing something wrong, but can't seem to figure out what exactly..
Configuration

UTM Version: 4.3.5 (87)
macOS Version: 12.6.7
Mac Chip (Intel, M1, ...): Intel

Debug log
UTM-debug.log
Note
Initially I erroneously filed this as https://github.com/utmapp/docs.getutm.app/issues/28, which I closed afterwards

Exactly the same issue here, but with a M2 mac chip.


Pyfluent search function in documentation

🔍 Before submitting the issue

[x] I have searched among the existing issues
[x] I am using a Python virtual environment

🐞 Description of the bug
when typing a search query in the pyfluent docs at https://fluent.docs.pyansys.com/version/stable/index.html, if user hits enter there are no results shown.
During typing of the query, there are results shown in the dropdown menu;

📝 Steps to reproduce
open docs at https://fluent.docs.pyansys.com/version/stable/index.html
go to search bar and try any valid search such as "inlet"
press enter and see no results
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
v252
🐍 Which Python version are you using?
3.10
📦 Installed packages
N/A

Thanks for opening this @millerj97 , it can be an issue with the ansys-sphinx-theme version, i will investigate this and update to you


using another cordova plugin(cordova local notification) on success callback is it possible?

@mauron85  Thanks for the great plugin ! appreciate your hardwork !
i am using this plugin without any major issues ! Currently i am scheduling local notifications on success callback which works very well !
However , what i noticed is even if this plugin can run in background i cant  schedule notification if the app was closed during success callback !
so is there a way to schedule that local notification ?
Also i am aware about the issue about background service terminating and restarting later !
when the service terminates i checked currently running processes in settings (settings-->apps-->myapp) ,
here it seems that service is not totally terminated , the status shows of the process is always "restarting.." ! it gets stuck while restarting !
This post is more of a question , and am sorry for that ! help is appreciated !

I personally don't have any experience with local notifications. Is your platform Android?
If so, please send me output of adb logcat, and try to locate lines when service is restarting.

@mauron85
here is the log when i kill the app...
On line 273 (logcat) The app is killed by swiping
After that immediately on line 274  :
03-01 22:48:47.174 W/ActivityManager(  527): Scheduling restart of crashed service com.crosswalk.testgeo/com.tenforwardconsulting.cordova.bgloc.FusedLocationService in 352962ms
it seems on app kill com.tenforwardconsulting.cordova.bgloc.FusedLocationService crashes and it tries scheduling it in 352962ms ! after which it starts working again i guess..
I dont know how much this helped , but i will try getting more detailed log !
geoadb.txt

Nothing unusual here.That's how it suppose to work. So what exactly do you mean by: "i cant schedule notification if the app was closed during success callback !"

i meant that on every success callback i can make http calls ! but i cant use cordova plugin to schedule new notification ! because cordova plugins needs device to be ready for which app is suppose to run !
so i was asking whether is it possible to use any other cordova plugin in success callback when app not running !
##############################
About the restart part , it created a confusion :p
i was not relating that restart part to the notifications ! i was just wondering what happens on app kill and why service needs to be killed and restarted !

Ah OK, np. I can only answer second part.
The restarts is due android bug, I've tried many other approaches to avoid service kill and restart, none work. Read my my answer on stackoverflow regarding this.

Thanks for the response ! :)  will keep a watch on the issue and hope it will work well on kitkat above versions as stated in some posts ! its ok to close the issue if this is how its suppose to work :+1:

cant schedule notification if the app was closed during success callback !
if app was terminated (and you use stopOnTerminate: false), you code will not get executed anymore on android.


Conversation become "duplicated" when running long operation

Hi,
Are you sure this is an issue with the Botkit core module?
Yes
What are you trying to achieve or the steps to reproduce?
We're trying to create a simple conversation using BotkitConversation. The conversation includes a confirmation question. If the user confirms it triggers a somewhat "long running" operation (more than 3 seconds). But then botkit triggers the handler twice. I reproduced the error using a simple setTimeout, and the threshold to reproduce the issue seems to be around 3 seconds :
const slackConfig: SlackAdapter = new SlackAdapter({
    botToken: process.env.slackToken,
    clientSecret: process.env.clientSecret,
    clientId: process.env.clientId,
    clientSigningSecret: process.env.clientSigningSecret,
});

var controller = new Botkit({
    adapter: slackConfig
});

const conversation = new BotkitConversation('conversation', controller);

conversation.ask('Please confirm (yes/no)', [
    {
        pattern: 'yes',
        handler: async function(answer, convo, bot) {
            await bot.say("You said yes");
            await new Promise(resolve => setTimeout(resolve, 3000));
            await bot.say("end");
        }
    }
],{key: 'convo_confirmation'});

controller.addDialog(conversation);

controller.hears("hello", "message", async function(bot, message) {
    await bot.beginDialog('conversation');
});

What was the result you received?
When answering 'yes' the corresponding handler is triggered twice, the conversation seems to have been duplicated, all following bot answers are sent twice to slack.
What did you expect?
The handler is triggered only once.
Context:

Botkit version: 4.15.0
Messaging Platform: Slack
Node version: 16.15
Os: Debian 11
Any other relevant information:

This is likely due to the fact that slack will resend messages if you do not respond within a small amount of time.
In order to resolve this, you'll want to return a promise from your handler, and handle the dialog inside the promise. This will allow it to respond to slack quickly.
This requires you to call await bot.changeContext(message.reference) inside the promise.


Fix default value and description for inode cache property key

What changes are proposed in this pull request?
The default value of alluxio.master.metastore.inode.cache.max.size is computed at runtime based on the max memory of master JVM. However, the doc for that prop entry is statically generated at build time, thus reflecting the default value on the build machine.
Why are the changes needed?
This PR fixes the description, so that the doc correctly shows the formula used to compute the runtime default value, instead of a build time constant.
Does this PR introduce any user facing changes?
This is mostly doc fix.

FileOutStreamIntegrationTest.cancelWrite:248 expected:<0> but was:<4000>

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.7 please


Improve error message for missing summaries

See https://github.com/dart-lang/sdk/issues/30770, we probably don't need a stack trace in this case and instead should warn about likely missing dependencies.

Assuming this is stale.